diff --git a/.devcontainer.json b/.devcontainer.json index 10a610b4e7..c2812d7b6b 100644 --- a/.devcontainer.json +++ b/.devcontainer.json @@ -2,13 +2,12 @@ // For format details, see https://aka.ms/vscode-remote/devcontainer.json { "name": "docs.github.com", - "service": "container-doc", "settings": { "terminal.integrated.shell.linux": "/bin/bash", "cSpell.language": ",en" }, - // Install pre-requisites, and start to serve docs.github.com locally - "postCreateCommand": "npm install && npm start", + // Install pre-requisites and run a build to ensure we are ready to start serving docs.github.com locally (via `npm start`) + "postCreateCommand": "npm ci && npm run build", "forwardPorts": [4000], // Visual Studio Code extensions which help authoring for docs.github.com. "extensions": [ diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index a498ff0383..b07cb1e945 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -1,6 +1,6 @@ # Order is important. The LAST matching pattern has the MOST precedence. # gitignore style patterns are used, not globs. -# https://help.github.com/articles/about-codeowners +# https://docs.github.com/articles/about-codeowners # https://git-scm.com/docs/gitignore # Engineering diff --git a/.github/ISSUE_COMMENT_TEMPLATE/target-date.yml b/.github/ISSUE_COMMENT_TEMPLATE/target-date.yml new file mode 100644 index 0000000000..1aaa0e3a08 --- /dev/null +++ b/.github/ISSUE_COMMENT_TEMPLATE/target-date.yml @@ -0,0 +1,14 @@ +--- +name: Target Date Update +about: Target date update +body: + - type: input + attributes: + name: Target completion date + placeholder: With context if the target completion date has changed + inputType: text + - type: input + attributes: + name: 'Attribution' + value: '_created with :heart: by typing_ `/status`' + inputType: text diff --git a/.github/ISSUE_TEMPLATE/partner-contributed-documentation.md b/.github/ISSUE_TEMPLATE/partner-contributed-documentation.md new file mode 100644 index 0000000000..825dc55db8 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/partner-contributed-documentation.md @@ -0,0 +1,48 @@ +--- +name: Partner-owned product documentation +about: Initiate a set of tasks to be completed by a GitHub partner wishing to document how their product works with GitHub +title: '' +labels: +- partner +assignees: '' +--- + + + +## Pre-requisites + +- [ ] Prior to submitting documentation, please apply to join the GitHub Technology Partner Program: [partner.github.com/apply](https://partner.github.com/apply?partnershipType=Technology+Partner). Please feel free to proceed once your application is approved. + +## What information would you like to add to docs.github.com? + + +## Tasks + +Please be sure to complete each of the following: + +**Third-party product documentation:** + +- [ ] MUST follow our [general contributing guidelines](CONTRIBUTING.md) for voice and markup format. +- [ ] MUST emphasize how the third-party product works with GitHub. +- [ ] MUST be written in Markdown format, using [one of the templates provided](contributing/github-partners/README.md#templates) +- [ ] MUST include the name and URL of the GitHub technology partner responsible for maintenance of the documentation being contributed. This should be added via the `contributor.name` and `contributor.URL` properties in the template's YAML frontmatter. +- [ ] MUST be proposed via a pull request to this repo following [the GitHub Flow](https://guides.github.com/introduction/flow/). +- [ ] MUST be located in the root of [the `content` folder](content). Your filename MUST match the GitHub technology partner name, and use the `.md` file extension. + +**The `Pull Request`:** + +- [ ] MUST reference this issue, e.g. via `closes #` +- [ ] MUST pass the automated CI checks +- [ ] MUST include links to supporting material demonstrating the functionality being documented (this can be a link to a public GitHub repo, _or_ a video / screencast walkthrough) + +Once all tasks are completed, please mention `@github/docs-content` for next steps. + +/cc @github/partner-engineering for :eyes: diff --git a/.github/ISSUE_TEMPLATE/production-config-change.md b/.github/ISSUE_TEMPLATE/production-config-change.md new file mode 100644 index 0000000000..5096b3c64e --- /dev/null +++ b/.github/ISSUE_TEMPLATE/production-config-change.md @@ -0,0 +1,24 @@ +--- +name: Change production configuration +about: Track changes to the production docs.github.com site +title: '' +labels: engineering +assignees: '' +--- + +A configuration change would be something outside of our code that we change with our production environment, such as environment variables, virtual machine tier or quantity, or service providers. + +- _Primary person_: +- _Second person_: +- _When_: +- _Zoom URL_: + +### What is the configuration change? + +### Why are we updating this configuration? + +### What risks are there with this configuration change? + +### If an issue happens, how do we roll back? + +Once the change is verified good, please close this issue. diff --git a/.github/allowed-actions.js b/.github/allowed-actions.js index 9aa23de0a6..2aaed21b79 100644 --- a/.github/allowed-actions.js +++ b/.github/allowed-actions.js @@ -11,6 +11,8 @@ module.exports = [ "actions/setup-node@c46424eee26de4078d34105d3de3cc4992202b1e", //actions/setup-node@v2.1.4 "ruby/setup-ruby@fdcfbcf14ec9672f6f615cb9589a1bc5dd69d262", //ruby/setup-ruby@vv1.64.1 "actions/stale@9d6f46564a515a9ea11e7762ab3957ee58ca50da", //actions/stale@v3.0.16 + "alex-page/github-project-automation-plus@fdb7991b72040d611e1123d2b75ff10eda9372c9", + "andymckay/labeler@22d5392de2b725cea4b284df5824125054049d84", "archive/github-actions-slack@d368c5a4ad757515a9344918f84c490b05777d94", "ashley-taylor/regex-property-action@93a24f845cd20790924208225cc72da8b4c6d46d", "crowdin/github-action@fd9429dd63d6c0f8a8cb4b93ad8076990bd6e688", @@ -37,6 +39,6 @@ module.exports = [ "repo-sync/pull-request@33777245b1aace1a58c87a29c90321aa7a74bd7d", "someimportantcompany/github-actions-slack-message@0b470c14b39da4260ed9e3f9a4f1298a74ccdefd", "tjenkinson/gh-action-auto-merge-dependency-updates@4d7756c04d9d999c5968697a621b81c47f533d61", - "EndBug/add-and-commit@9358097a71ad9fb9e2f9624c6098c89193d83575", + "EndBug/add-and-commit@b3c7c1e078a023d75fb0bd326e02962575ce0519", "dorny/paths-filter@eb75a1edc117d3756a18ef89958ee59f9500ba58", ]; diff --git a/.github/workflows/60-days-stale-check.yml b/.github/workflows/60-days-stale-check.yml index f81e63bd5e..18e4333f9a 100644 --- a/.github/workflows/60-days-stale-check.yml +++ b/.github/workflows/60-days-stale-check.yml @@ -1,4 +1,9 @@ name: 60 Days Stale Check + +# **What it does**: Pull requests older than 60 days will be flagged as stale. +# **Why we have it**: We want to manage our queue of issues and pull requests. +# **Who does it impact**: Everyone that works on docs or docs-internal. + on: schedule: - cron: '40 16 * * *' # Run each day at 16:40 UTC / 8:40 PST diff --git a/.github/workflows/auto-label-prs.yml b/.github/workflows/auto-label-prs.yml index 619219770b..2081af1f15 100644 --- a/.github/workflows/auto-label-prs.yml +++ b/.github/workflows/auto-label-prs.yml @@ -1,5 +1,9 @@ name: Auto label Pull Requests +# **What it does**: Automatically adds the engineering label when specific files change. +# **Why we have it**: Other automation applies specifically to engineering label issues and pull requests. +# **Who does it impact**: Automation that relies on the engineering label. + on: pull_request: diff --git a/.github/workflows/automerge-dependencies.yml b/.github/workflows/automerge-dependencies.yml index fd09a91dee..6e4448a09c 100644 --- a/.github/workflows/automerge-dependencies.yml +++ b/.github/workflows/automerge-dependencies.yml @@ -1,5 +1,9 @@ name: Auto Merge Dependency Updates +# **What it does**: Automatically merge pull requests from dependabot. +# **Why we have it**: To keep our dependencies up-to-date, to avoid security issues. +# **Who does it impact**: It helps docs engineering focus on higher value work. + on: pull_request: paths: diff --git a/.github/workflows/automerge.yml b/.github/workflows/automerge.yml index 59d26dcb79..693238947d 100644 --- a/.github/workflows/automerge.yml +++ b/.github/workflows/automerge.yml @@ -1,4 +1,9 @@ name: automerge + +# **What it does**: Pull requests with label "automerge" or "autosquash" will automatically merge. +# **Why we have it**: While now this is a feature built into GitHub, we still use it as part of other automation. +# **Who does it impact**: Any workflows that depend on automerge or autosquash labels. + on: pull_request: types: diff --git a/.github/workflows/autoupdate-branch.yml b/.github/workflows/autoupdate-branch.yml index 0e0729da46..fcd5e6c7ca 100644 --- a/.github/workflows/autoupdate-branch.yml +++ b/.github/workflows/autoupdate-branch.yml @@ -1,5 +1,9 @@ name: autoupdate branch +# **What it does**: Any pull requests with "autoupdate" label will get main branch updates. +# **Why we have it**: Our repo-sync automation relies on it. +# **Who does it impact**: Our ability to support the open-source repository. + # # This workflow checks all open PRs targeting `main` as their base branch and # will attempt to update them if they have the `autoupdate` label applied. @@ -17,8 +21,6 @@ on: push: branches: - main - schedule: - - cron: '*/30 * * * *' # every 30 minutes jobs: autoupdate: diff --git a/.github/workflows/browser-test.yml b/.github/workflows/browser-test.yml index 70f518555a..53a74e6259 100644 --- a/.github/workflows/browser-test.yml +++ b/.github/workflows/browser-test.yml @@ -1,5 +1,9 @@ name: Browser Tests +# **What it does**: This runs our browser tests on pull requests. +# **Why we have it**: This is the only way we currently test our browser JavaScript. +# **Who does it impact**: Docs engineering, open-source engineering contributors. + on: workflow_dispatch: push: diff --git a/.github/workflows/build-docker-image.yml b/.github/workflows/build-docker-image.yml index dda06fef44..2949d26179 100644 --- a/.github/workflows/build-docker-image.yml +++ b/.github/workflows/build-docker-image.yml @@ -1,7 +1,9 @@ -# Make sure the Docker container still builds - name: Build Docker image +# **What it does**: This builds our Docker container. +# **Why we have it**: We don't use the Docker container internally, but other teams depend on our Docker container. +# **Who does it impact**: Enterprise customers. + on: push: branches: @@ -14,7 +16,7 @@ env: jobs: build: # Do not run this job for translations PRs - if: ${{ github.ref != 'refs/heads/translations' }} + if: ${{ github.head_ref != 'translations' && github.ref != 'refs/heads/translations' }} runs-on: ubuntu-latest steps: diff --git a/.github/workflows/check-all-english-links.yml b/.github/workflows/check-all-english-links.yml index 9dd45e7651..9b6ae76a8f 100644 --- a/.github/workflows/check-all-english-links.yml +++ b/.github/workflows/check-all-english-links.yml @@ -1,5 +1,9 @@ name: Check all English links +# **What it does**: This script once a day checks all English links and reports in issues. +# **Why we have it**: We want to know if any links break. +# **Who does it impact**: Docs content. + on: workflow_dispatch: schedule: diff --git a/.github/workflows/check-for-spammy-issues.yml b/.github/workflows/check-for-spammy-issues.yml index 7a9c278c30..12ad0f9706 100644 --- a/.github/workflows/check-for-spammy-issues.yml +++ b/.github/workflows/check-for-spammy-issues.yml @@ -1,4 +1,9 @@ name: Check for Spammy Issues + +# **What it does**: This action closes low value pull requests in the open-source repository. +# **Why we have it**: We get lots of spam in the open-source repository. +# **Who does it impact**: Open-source contributors. + on: issues: types: [opened] @@ -32,7 +37,7 @@ jobs: return } catch(err) { // An error will be thrown if the user is not a GitHub employee - // If a user is not a GitHub employee, we should check to see if title has at least the minimum required number of words in it and if it does, we can exit the workflow + // If a user is not a GitHub employee, we should check to see if title has at least the minimum required number of words in it and if it does, we can exit the workflow if(titleWordCount > titleWordCountMin) { return @@ -42,7 +47,7 @@ jobs: // // Assuming the user is not a GitHub employee and the issue title // has the minimum number of words required, proceed. - // + // // Close the issue and add the invalid label await github.issues.update({ diff --git a/.github/workflows/close-external-repo-sync-prs.yml b/.github/workflows/close-external-repo-sync-prs.yml index c94e0cf889..40f95738a4 100644 --- a/.github/workflows/close-external-repo-sync-prs.yml +++ b/.github/workflows/close-external-repo-sync-prs.yml @@ -1,5 +1,9 @@ name: Check for External Repo Sync PR +# **What it does**: If someone made a repo sync pull request other than Octomerger, close it. +# **Why we have it**: Another form of spam in the open-source repository. +# **Who does it impact**: Open-source contributors. + on: pull_request: types: @@ -11,7 +15,7 @@ on: jobs: invalid-repo-sync-check: name: Close external Repo Sync PRs - if: ${{ github.repository == 'github/docs' && github.ref == 'refs/heads/repo-sync' }} + if: ${{ github.repository == 'github/docs' && github.head_ref == 'repo-sync' }} runs-on: ubuntu-latest steps: - uses: actions/github-script@626af12fe9a53dc2972b48385e7fe7dec79145c9 diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index b343ca8d52..eb3ec3087b 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -1,5 +1,9 @@ name: CodeQL analysis +# **What it does**: This runs CodeQL on our repository. +# **Why we have it**: Security scanning. +# **Who does it impact**: Docs engineering. + on: push: branches: diff --git a/.github/workflows/confirm-internal-staff-work-in-docs.yml b/.github/workflows/confirm-internal-staff-work-in-docs.yml index 3745163fd0..60dc9fa9bc 100644 --- a/.github/workflows/confirm-internal-staff-work-in-docs.yml +++ b/.github/workflows/confirm-internal-staff-work-in-docs.yml @@ -1,5 +1,9 @@ name: Confirm internal staff meant to post in public +# **What it does**: If a GitHub staff makes an issue/pull request in the open-source repo, creates an issue in the internal one to verify intent. +# **Why we have it**: We don't want GitHub staff accidentally making issues/pull requests in the wrong repository. +# **Who does it impact**: GitHub staff. + on: issues: types: diff --git a/.github/workflows/crowdin.yml b/.github/workflows/crowdin.yml index 48edbafa9a..eaff2762cf 100644 --- a/.github/workflows/crowdin.yml +++ b/.github/workflows/crowdin.yml @@ -1,5 +1,9 @@ name: Crowdin Sync +# **What it does**: +# **Why we have it**: +# **Who does it impact**: Docs localization. + on: workflow_dispatch: schedule: diff --git a/.github/workflows/dry-run-sync-algolia-search-indices.yml b/.github/workflows/dry-run-sync-algolia-search-indices.yml index c877d8209d..578a93b05e 100644 --- a/.github/workflows/dry-run-sync-algolia-search-indices.yml +++ b/.github/workflows/dry-run-sync-algolia-search-indices.yml @@ -1,5 +1,9 @@ name: (Dry run) Algolia +# **What it does**: On request, dry run Algolia to check for issues with search indexing. +# **Why we have it**: It helps us debug issues with search indexing. +# **Who does it impact**: Docs engineering. + on: workflow_dispatch: diff --git a/.github/workflows/first-responder-docs-content.yml b/.github/workflows/first-responder-docs-content.yml index 64e2d5ea1a..a1ba7e7b9d 100644 --- a/.github/workflows/first-responder-docs-content.yml +++ b/.github/workflows/first-responder-docs-content.yml @@ -1,4 +1,9 @@ name: First responder docs-content + +# **What it does**: New pull requests automatically add to the content first responder board. +# **Why we have it**: So we don't lose track of new pull reuqests for docs-content to review. +# **Who does it impact**: Docs content. + on: pull_request: types: diff --git a/.github/workflows/js-lint.yml b/.github/workflows/js-lint.yml index 7c75dd7fc5..f3e182ffbf 100644 --- a/.github/workflows/js-lint.yml +++ b/.github/workflows/js-lint.yml @@ -1,5 +1,9 @@ name: Lint JS +# **What it does**: Lints our JavaScript to ensure the code matches the specified code style. +# **Why we have it**: We want some level of consistency to our JavaScript. +# **Who does it impact**: Docs engineering, open-source engineering contributors. + on: workflow_dispatch: push: diff --git a/.github/workflows/link-check-dotcom.yml b/.github/workflows/link-check-dotcom.yml index bb057dd262..399655cf86 100644 --- a/.github/workflows/link-check-dotcom.yml +++ b/.github/workflows/link-check-dotcom.yml @@ -1,5 +1,9 @@ name: 'Link Checker: Dotcom' +# **What it does**: This checks links for dotcom version of docs. +# **Why we have it**: We want to know if links break. +# **Who does it impact**: Docs content. + on: workflow_dispatch: push: @@ -47,7 +51,7 @@ jobs: # run: npm run heroku-postbuild # env: # DOCUBOT_REPO_PAT: ${{ secrets.DOCUBOT_REPO_PAT }} - # GIT_BRANCH: ${{ github.ref }} + # GIT_BRANCH: ${{ github.head_ref || github.ref }} - if: ${{ needs.see_if_should_skip.outputs.should_skip != 'true' }} name: Build diff --git a/.github/workflows/link-check-ghae.yml b/.github/workflows/link-check-ghae.yml index ea35077e55..e5dd16853b 100644 --- a/.github/workflows/link-check-ghae.yml +++ b/.github/workflows/link-check-ghae.yml @@ -1,5 +1,9 @@ name: 'Link Checker: GitHub AE' +# **What it does**: This checks links for GHAE version of docs. +# **Why we have it**: We want to know if links break. +# **Who does it impact**: Docs content. + on: workflow_dispatch: push: @@ -47,7 +51,7 @@ jobs: # run: npm run heroku-postbuild # env: # DOCUBOT_REPO_PAT: ${{ secrets.DOCUBOT_REPO_PAT }} - # GIT_BRANCH: ${{ github.ref }} + # GIT_BRANCH: ${{ github.head_ref || github.ref }} - if: ${{ needs.see_if_should_skip.outputs.should_skip != 'true' }} name: Build diff --git a/.github/workflows/link-check-ghes.yml b/.github/workflows/link-check-ghes.yml index 36ed88e942..4371f129fb 100644 --- a/.github/workflows/link-check-ghes.yml +++ b/.github/workflows/link-check-ghes.yml @@ -1,5 +1,9 @@ name: 'Link Checker: Enterprise Server' +# **What it does**: This checks links for GHES version of docs. +# **Why we have it**: We want to know if links break. +# **Who does it impact**: Docs content. + on: workflow_dispatch: push: @@ -47,7 +51,7 @@ jobs: # run: npm run heroku-postbuild # env: # DOCUBOT_REPO_PAT: ${{ secrets.DOCUBOT_REPO_PAT }} - # GIT_BRANCH: ${{ github.ref }} + # GIT_BRANCH: ${{ github.head_ref || github.ref }} - if: ${{ needs.see_if_should_skip.outputs.should_skip != 'true' }} name: Build diff --git a/.github/workflows/merged-notification.yml b/.github/workflows/merged-notification.yml index fa49a204d0..9812c6d391 100644 --- a/.github/workflows/merged-notification.yml +++ b/.github/workflows/merged-notification.yml @@ -1,4 +1,9 @@ name: Merged notification + +# **What it does**: When we merge an open-source pull request, we want to set expectations that deployment may take awhile. +# **Why we have it**: We deploy to production from docs-internal, not docs. +# **Who does it impact**: Open-source contributors. + on: pull_request_target: types: diff --git a/.github/workflows/move-help-wanted-issues.yml b/.github/workflows/move-help-wanted-issues.yml new file mode 100644 index 0000000000..d0ca9aff92 --- /dev/null +++ b/.github/workflows/move-help-wanted-issues.yml @@ -0,0 +1,22 @@ +name: Move help wanted issues + +# **What it does**: In the open source repo, when the "help wanted" or "good first issue" labels are added to an issue, the issue is added to the "Help wanted" column on the project board. +# **Why we have it**: To keep track of help wanted issues. +# **Who does it impact**: Open-source contributors. + +on: + issues: + types: + - labeled + +jobs: + move_issues: + if: github.repository == 'github/docs' && (github.event.label.name == 'help wanted' || github.event.label.name == 'good first issue') + runs-on: ubuntu-latest + + steps: + - uses: alex-page/github-project-automation-plus@fdb7991b72040d611e1123d2b75ff10eda9372c9 + with: + project: Docs team reviews + column: Help wanted + repo-token: ${{ secrets.DOCUBOT_FR_PROJECT_BOARD_WORKFLOWS_REPO_ORG_READ_SCOPES }} diff --git a/.github/workflows/move-ready-to-merge-issues.yaml b/.github/workflows/move-ready-to-merge-issues.yaml new file mode 100644 index 0000000000..c3102b10a4 --- /dev/null +++ b/.github/workflows/move-ready-to-merge-issues.yaml @@ -0,0 +1,27 @@ +name: Move and unlabel ready to merge issues + +# **What it does**: This moves ready to merge issues on the project board for the open source repo. When an issue in the open source repo is labeled "ready to merge," the "waiting for review" label is removed and the issue is moved to the "Triage" column. +# **Why we have it**: To help with managing our project boards. +# **Who does it impact**: Open source contributors, open-source maintainers. + +on: + pull_request: + types: + - labeled + +jobs: + unmark_for_review: + if: github.repository == 'github/docs' && github.event.label.name == 'ready to merge' + runs-on: ubuntu-latest + steps: + - name: move issue + uses: alex-page/github-project-automation-plus@fdb7991b72040d611e1123d2b75ff10eda9372c9 + with: + project: Docs team reviews + column: Triage + repo-token: ${{ secrets.DOCUBOT_FR_PROJECT_BOARD_WORKFLOWS_REPO_ORG_READ_SCOPES }} + - name: remove label + uses: andymckay/labeler@22d5392de2b725cea4b284df5824125054049d84 + with: + remove-labels: 'waiting for review' + repo-token: ${{ secrets.GITHUB_TOKEN }} diff --git a/.github/workflows/openapi-decorate.yml b/.github/workflows/openapi-decorate.yml index 435bfac1d0..115d53e000 100644 --- a/.github/workflows/openapi-decorate.yml +++ b/.github/workflows/openapi-decorate.yml @@ -1,5 +1,9 @@ name: OpenAPI generate decorated schema files +# **What it does**: +# **Why we have it**: +# **Who does it impact**: + on: workflow_dispatch: pull_request: @@ -25,13 +29,10 @@ jobs: run: script/rest/update-files.js --decorate-only - name: Check in the decorated files - uses: EndBug/add-and-commit@9358097a71ad9fb9e2f9624c6098c89193d83575 + uses: EndBug/add-and-commit@b3c7c1e078a023d75fb0bd326e02962575ce0519 with: # The arguments for the `git add` command add: 'lib/rest/static/decorated' # The message for the commit message: 'Add decorated OpenAPI schema files' - - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Leave this line unchanged diff --git a/.github/workflows/openapi-schema-check.yml b/.github/workflows/openapi-schema-check.yml index e78c351a0b..25c4003fd9 100644 --- a/.github/workflows/openapi-schema-check.yml +++ b/.github/workflows/openapi-schema-check.yml @@ -1,5 +1,9 @@ name: OpenAPI dev mode check +# **What it does**: +# **Why we have it**: +# **Who does it impact**: + on: workflow_dispatch: push: diff --git a/.github/workflows/pa11y.yml b/.github/workflows/pa11y.yml index e8ebc103ea..a9a254a405 100644 --- a/.github/workflows/pa11y.yml +++ b/.github/workflows/pa11y.yml @@ -1,4 +1,9 @@ name: Pa11y + +# **What it does**: Runs a static accessibility check on high traffic docs pages. +# **Why we have it**: We want accessibility support for the docs. +# **Who does it impact**: Docs engineering, users who need accessibility features. + on: workflow_dispatch: schedule: diff --git a/.github/workflows/ping-staging-apps.yml b/.github/workflows/ping-staging-apps.yml index 400c0c00dd..f1bad5755b 100644 --- a/.github/workflows/ping-staging-apps.yml +++ b/.github/workflows/ping-staging-apps.yml @@ -1,5 +1,9 @@ name: Ping staging apps +# **What it does**: This keeps our staging applications from automatically spinning down. +# **Why we have it**: Staging applications can hiberate without use. +# **Who does it impact**: Anyone with a pull request in docs-internal. + on: schedule: - cron: '*/20 * * * *' # every twenty minutes diff --git a/.github/workflows/post-status-updates-to-slack.yml b/.github/workflows/post-status-updates-to-slack.yml index bec7cfb879..8b73476946 100644 --- a/.github/workflows/post-status-updates-to-slack.yml +++ b/.github/workflows/post-status-updates-to-slack.yml @@ -1,4 +1,9 @@ name: Epic Status Update + +# **What it does**: For our epic issue status comments, also ping us in Slack. +# **Why we have it**: So that we can write one status update and have it show up in two places. +# **Who does it impact**: GitHub docs staff. + on: issue_comment: types: [created] diff --git a/.github/workflows/ready-for-doc-review.yml b/.github/workflows/ready-for-doc-review.yml new file mode 100644 index 0000000000..74243dac55 --- /dev/null +++ b/.github/workflows/ready-for-doc-review.yml @@ -0,0 +1,22 @@ +name: Ready for docs-content review + +# **What it does**: Adds pull requests in the docs-internal repository to the docs-content first responder project board +# **Why we have it**: So that other GitHub teams can easily request reviews from the docs-content team, and so that writers can see when a PR is ready for review +# **Who does it impact**: Writers working in the docs-internal repository + +on: + pull_request: + types: [labeled] + +jobs: + request_doc_review: + name: Request a review from the docs-content team + if: github.event.label.name == 'ready-for-doc-review' && github.repository == 'github/docs-internal' + runs-on: ubuntu-latest + steps: + - name: Add pull request to FR project board + uses: rachmari/actions-add-new-issue-to-column@1a459ef92308ba7c9c9dc2fcdd72f232495574a9 + with: + action-token: ${{ secrets.DOCUBOT_FR_PROJECT_BOARD_WORKFLOWS_REPO_ORG_READ_SCOPES }} + project-url: 'https://github.com/orgs/github/projects/1367' + column-name: 'Docs-internal external contributor PRs' diff --git a/.github/workflows/remove-from-fr-board.yaml b/.github/workflows/remove-from-fr-board.yaml index 03ce33d94f..d25e87a2d3 100644 --- a/.github/workflows/remove-from-fr-board.yaml +++ b/.github/workflows/remove-from-fr-board.yaml @@ -1,8 +1,12 @@ name: Remove card from FR board +# **What it does**: Removes the triggering issue or PR from the docs-content first responder board. This workflow is expected to trigger from a slash command. +# **Why we have it**: To help with first responder duties +# **Who does it impact**: Docs-content team first responders + on: repository_dispatch: - types: remove_from_FR_board + types: remove_from_docs_FR_board jobs: remove_from_FR_board: diff --git a/.github/workflows/remove-unused-assets.yml b/.github/workflows/remove-unused-assets.yml index c64a3163af..1f42684cb9 100644 --- a/.github/workflows/remove-unused-assets.yml +++ b/.github/workflows/remove-unused-assets.yml @@ -1,5 +1,9 @@ name: Remove unused assets +# **What it does**: +# **Why we have it**: +# **Who does it impact**: + on: schedule: - cron: '20 15 * * 0' # run every Sunday at 20:15 UTC / 12:15 PST diff --git a/.github/workflows/repo-freeze-check.yml b/.github/workflows/repo-freeze-check.yml index c9c892e2a3..978e31e9bc 100644 --- a/.github/workflows/repo-freeze-check.yml +++ b/.github/workflows/repo-freeze-check.yml @@ -1,5 +1,9 @@ name: Repo Freeze Check +# **What it does**: Prevent pull requests from merging during freezes. +# **Why we have it**: Sometimes we need to freeze deployments for various reasons. +# **Who does it impact**: Anyone working on docs. + on: workflow_dispatch: pull_request_target: diff --git a/.github/workflows/repo-freeze-reminders.yml b/.github/workflows/repo-freeze-reminders.yml index f3b166cd87..31bf10320a 100644 --- a/.github/workflows/repo-freeze-reminders.yml +++ b/.github/workflows/repo-freeze-reminders.yml @@ -1,5 +1,9 @@ name: Repo Freeze Reminders +# **What it does**: This reminds us that the repository is frozen for deploys. +# **Why we have it**: To remind us to turn off the freeze after the freeze period is over. +# **Who does it impact**: Docs engineering. + on: schedule: - cron: '00 11 * * *' # once per day around 11:00am UTC diff --git a/.github/workflows/repo-sync-stalls.yml b/.github/workflows/repo-sync-stalls.yml index 8a83dd9777..79e1da8c9c 100644 --- a/.github/workflows/repo-sync-stalls.yml +++ b/.github/workflows/repo-sync-stalls.yml @@ -1,5 +1,9 @@ name: Repo Sync Stalls +# **What it does**: This lets us know in Slack if repo-sync doesn't happen in a timely manner. +# **Why we have it**: We want repo-sync to keep the two repositories in sync with each other. +# **Who does it impact**: Open-source contributors, docs engineering. + on: workflow_dispatch: schedule: @@ -30,7 +34,7 @@ jobs: return } - // Remove all pull requests that don't have the + // Remove all pull requests that don't have the // 'automated-reposync-pr' label pulls.data = pulls.data.filter(pr => pr.labels.some(label => label.name === 'automated-reposync-pr') @@ -42,7 +46,7 @@ jobs: const minutesOpen = timeDelta / 1000 / 60; if (minutesOpen > 180) { - core.setFailed('Repo sync appears to be stalled') + core.setFailed('Repo sync appears to be stalled') } }) - name: Send Slack notification if workflow fails diff --git a/.github/workflows/repo-sync.yml b/.github/workflows/repo-sync.yml index 050c46045d..7bb8872f5e 100644 --- a/.github/workflows/repo-sync.yml +++ b/.github/workflows/repo-sync.yml @@ -6,6 +6,10 @@ name: Repo Sync +# **What it does**: Syncs docs and docs-internal. +# **Why we have it**: To keep the open-source repository up-to-date, while still having an internal repository for sensitive work. +# **Who does it impact**: Open-source. + on: workflow_dispatch: schedule: @@ -40,7 +44,7 @@ jobs: destination_branch: main pr_title: 'repo sync' pr_body: "This is an automated pull request to sync changes between the public and private repos.\n\n:robot: This pull request should be merged (not squashed) to preserve continuity across repos, so please let a bot do the merging!" - pr_label: autoupdate,automated-reposync-pr + pr_label: automerge,autoupdate,automated-reposync-pr github_token: ${{ secrets.OCTOMERGER_PAT_WITH_REPO_AND_WORKFLOW_SCOPE }} - name: Find pull request @@ -88,32 +92,6 @@ jobs: console.log(`Branch is already up-to-date`) } - - name: Enable GitHub auto-merge - if: ${{ steps.find-pull-request.outputs.number }} - uses: actions/github-script@626af12fe9a53dc2972b48385e7fe7dec79145c9 - with: - github-token: ${{ secrets.GITHUB_TOKEN }} - script: | - const pull = await github.pulls.get({ - ...context.repo, - pull_number: parseInt(${{ steps.find-pull-request.outputs.number }}) - }) - - const pullNodeId = pull.data.node_id - console.log(`Pull request GraphQL Node ID: ${pullNodeId}`) - - const mutation = `mutation ($id: ID!) { - enablePullRequestAutoMerge(input: { - pullRequestId: $id, - mergeMethod: MERGE - }) - }` - const variables = { - id: pullNodeId - } - await github.graphql(mutation, variables) - console.log('Auto-merge enabled!') - - name: Send Slack notification if workflow fails uses: someimportantcompany/github-actions-slack-message@0b470c14b39da4260ed9e3f9a4f1298a74ccdefd if: failure() diff --git a/.github/workflows/send-crowdin-prs-to-boards.yml b/.github/workflows/send-crowdin-prs-to-boards.yml new file mode 100644 index 0000000000..be074f88bd --- /dev/null +++ b/.github/workflows/send-crowdin-prs-to-boards.yml @@ -0,0 +1,38 @@ +name: Send Crowdin PRs to boards + +on: + pull_request: + types: + - opened + +jobs: + triage: + if: github.repository == 'github/docs-internal' && github.event.pull_request.head.ref == 'translations' + runs-on: ubuntu-latest + steps: + - uses: actions/github-script@626af12fe9a53dc2972b48385e7fe7dec79145c9 + with: + github-token: ${{ secrets.DOCUBOT_READORG_REPO_WORKFLOW_SCOPES }} + script: | + var squadBoardColumnId = 13447153; // Add to the team backlog/squad board + + try { + await github.projects.createCard({ + column_id: squadBoardColumnId, + content_id: context.payload.issue.id, + content_type: "Issue" + }); + } catch (error) { + console.log(error); + } + + var prBoardColumnId = 10095775; // Add to the pull requests board + try { + await github.projects.createCard({ + column_id: prBoardColumnId, + content_id: context.payload.issue.id, + content_type: "Issue" + }); + } catch (error) { + console.log(error); + } diff --git a/.github/workflows/send-eng-issues-to-backlog.yml b/.github/workflows/send-eng-issues-to-backlog.yml deleted file mode 100644 index 11ca0afd2f..0000000000 --- a/.github/workflows/send-eng-issues-to-backlog.yml +++ /dev/null @@ -1,30 +0,0 @@ -name: Send Issue to EPD backlog - -on: - issues: - types: - - labeled - - reopened - -jobs: - triage: - if: github.repository == 'github/docs-internal' - runs-on: ubuntu-latest - continue-on-error: true - steps: - - name: Add issues with engineering label to project board - if: contains(github.event.issue.labels.*.name, 'engineering') || contains(github.event.issue.labels.*.name, 'design') || contains(github.event.issue.labels.*.name, 'Design') - uses: actions/github-script@626af12fe9a53dc2972b48385e7fe7dec79145c9 - with: - github-token: ${{ secrets.DOCUBOT_FR_PROJECT_BOARD_WORKFLOWS_REPO_ORG_READ_SCOPES }} - script: | - var column_id = 9659080; - try { - github.projects.createCard({ - column_id: column_id, - content_id: context.payload.issue.id, - content_type: "Issue" - }); - } catch (error) { - console.log(error); - } diff --git a/.github/workflows/send-issues-to-how-how-we-work-boards.yml b/.github/workflows/send-issues-to-how-how-we-work-boards.yml new file mode 100644 index 0000000000..7b8b794b06 --- /dev/null +++ b/.github/workflows/send-issues-to-how-how-we-work-boards.yml @@ -0,0 +1,63 @@ +name: Send Issue to How We Work Boards + +# **What it does**: +# **Why we have it**: +# **Who does it impact**: + +on: + issues: + types: + - labeled + - opened + - reopened + +jobs: + triage: + runs-on: ubuntu-latest + continue-on-error: true + steps: + - if: contains(github.event.issue.labels.*.name, 'engineering') && !contains(github.event.issue.labels.*.name, 'feature') && !contains(github.event.issue.labels.*.name, 'epic') + uses: actions/github-script@626af12fe9a53dc2972b48385e7fe7dec79145c9 + with: + github-token: ${{ secrets.DOCUBOT_READORG_REPO_WORKFLOW_SCOPES }} + script: | + var column_id = 9659080; + try { + github.projects.createCard({ + column_id: column_id, + content_id: context.payload.issue.id, + content_type: "Issue" + }); + } catch (error) { + console.log(error); + } + - if: contains(github.event.issue.labels.*.name, 'engineering') && contains(github.event.issue.labels.*.name, 'feature') + uses: actions/github-script@626af12fe9a53dc2972b48385e7fe7dec79145c9 + with: + github-token: ${{ secrets.DOCUBOT_READORG_REPO_WORKFLOW_SCOPES }} + script: | + var column_id = 13445681; + try { + github.projects.createCard({ + column_id: column_id, + content_id: context.payload.issue.id, + content_type: "Issue" + }); + } catch (error) { + console.log(error); + } + - if: contains(github.event.issue.labels.*.name, 'engineering') && contains(github.event.issue.labels.*.name, 'epic') + uses: actions/github-script@626af12fe9a53dc2972b48385e7fe7dec79145c9 + with: + github-token: ${{ secrets.DOCUBOT_READORG_REPO_WORKFLOW_SCOPES }} + script: | + var column_id = 13445932; + try { + github.projects.createCard({ + column_id: column_id, + content_id: context.payload.issue.id, + content_type: "Issue" + }); + } catch (error) { + console.log(error); + } diff --git a/.github/workflows/site-policy-sync.yml b/.github/workflows/site-policy-sync.yml index d7c168b18a..e1a3a1d7b9 100644 --- a/.github/workflows/site-policy-sync.yml +++ b/.github/workflows/site-policy-sync.yml @@ -1,5 +1,9 @@ name: site-policy-sync +# **What it does**: Updates our site policy docs when changes happen to site policy. +# **Why we have it**: We want up to date site policy docs. +# **Who does it impact**: Site policy team. + # Controls when the action will run. on: # Triggers the workflow pull requests merged to the main branch diff --git a/.github/workflows/start-new-engineering-pr-workflow.yml b/.github/workflows/start-new-engineering-pr-workflow.yml index 6cd6c6c75e..1ea1d24514 100644 --- a/.github/workflows/start-new-engineering-pr-workflow.yml +++ b/.github/workflows/start-new-engineering-pr-workflow.yml @@ -1,5 +1,9 @@ name: Start new engineering PR workflow +# **What it does**: +# **Why we have it**: +# **Who does it impact**: + on: pull_request_target: types: diff --git a/.github/workflows/sync-algolia-search-indices.yml b/.github/workflows/sync-algolia-search-indices.yml index 541235ab34..24d7391d8f 100644 --- a/.github/workflows/sync-algolia-search-indices.yml +++ b/.github/workflows/sync-algolia-search-indices.yml @@ -1,5 +1,9 @@ name: Algolia +# **What it does**: This updates our search indexes after each deployment. +# **Why we have it**: We want our search indexes kept up to date. +# **Who does it impact**: Anyone using search on docs. + on: workflow_dispatch: push: diff --git a/.github/workflows/sync-single-english-algolia-index.yml b/.github/workflows/sync-single-english-algolia-index.yml index 7a7fad756e..ebfe40eeed 100644 --- a/.github/workflows/sync-single-english-algolia-index.yml +++ b/.github/workflows/sync-single-english-algolia-index.yml @@ -1,5 +1,9 @@ name: Algolia Sync Single English Index +# **What it does**: +# **Why we have it**: +# **Who does it impact**: + on: pull_request: types: diff --git a/.github/workflows/test-windows.yml b/.github/workflows/test-windows.yml index a30d60173a..57fed9a965 100644 --- a/.github/workflows/test-windows.yml +++ b/.github/workflows/test-windows.yml @@ -1,17 +1,25 @@ -# NOTE: Changes to this file should also be applied to './test.yml' and './test-translations.yml' +# NOTE: Changes to this file should also be applied to './test.yml' name: Node.js Tests - Windows +# **What it does**: This runs our tests on Windows. +# **Why we have it**: We want to support Windows contributors to docs. +# **Who does it impact**: Anyone working on docs on a Windows device. + on: workflow_dispatch: pull_request: schedule: - cron: '50 19 * * *' # once a day at 19:50 UTC / 11:50 PST +env: + CI: true + jobs: test: runs-on: windows-latest if: (github.event_name != 'pull_request') || (github.event_name == 'pull_request' && (contains(github.event.pull_request.labels.*.name, 'Windows') || contains(github.event.pull_request.labels.*.name, 'windows'))) + timeout-minutes: 60 strategy: fail-fast: false matrix: @@ -19,6 +27,9 @@ jobs: steps: - name: Check out repo uses: actions/checkout@5a4ac9002d0be2fb38bd78e4b4dbde5606d7042f + with: + # Enables cloning the Early Access repo later with the relevant PAT + persist-credentials: 'false' - name: Setup node uses: actions/setup-node@c46424eee26de4078d34105d3de3cc4992202b1e @@ -41,7 +52,15 @@ jobs: - name: Install dependencies run: npm ci - - name: Run build script + - if: ${{ github.repository == 'github/docs-internal' }} + name: Clone early access + run: npm run heroku-postbuild + env: + DOCUBOT_REPO_PAT: ${{ secrets.DOCUBOT_REPO_PAT }} + GIT_BRANCH: ${{ github.head_ref || github.ref }} + + - if: ${{ github.repository != 'github/docs-internal' }} + name: Run build script run: npm run build - name: Run tests diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 978b6ed29b..beb039ae6c 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -2,6 +2,10 @@ name: Node.js Tests +# **What it does**: Runs our tests. +# **Why we have it**: We want our tests to pass before merging code. +# **Who does it impact**: Docs engineering, open-source engineering contributors. + on: workflow_dispatch: push: @@ -77,7 +81,7 @@ jobs: run: npm run heroku-postbuild env: DOCUBOT_REPO_PAT: ${{ secrets.DOCUBOT_REPO_PAT }} - GIT_BRANCH: ${{ github.ref }} + GIT_BRANCH: ${{ github.head_ref || github.ref }} - if: ${{ needs.see_if_should_skip.outputs.should_skip != 'true' && github.repository != 'github/docs-internal' }} name: Run build script diff --git a/.github/workflows/translations.yml b/.github/workflows/translations.yml index 34622c3122..b17ee503bf 100644 --- a/.github/workflows/translations.yml +++ b/.github/workflows/translations.yml @@ -1,5 +1,9 @@ name: Translations +# **What it does**: +# **Why we have it**: +# **Who does it impact**: Docs localization + on: schedule: - cron: '20 19 * * *' # once a day at 19:20 UTC / 11:20 PST diff --git a/.github/workflows/triage-issue-comments.yml b/.github/workflows/triage-issue-comments.yml index 2d609b758f..e6bb349760 100644 --- a/.github/workflows/triage-issue-comments.yml +++ b/.github/workflows/triage-issue-comments.yml @@ -1,4 +1,9 @@ name: Triage new issue comments + +# **What it does**: +# **Why we have it**: +# **Who does it impact**: + on: issue_comment: types: diff --git a/.github/workflows/triage-issues.yml b/.github/workflows/triage-issues.yml index 61280b5154..7a8b15a06d 100644 --- a/.github/workflows/triage-issues.yml +++ b/.github/workflows/triage-issues.yml @@ -1,4 +1,9 @@ name: Triage new issues + +# **What it does**: +# **Why we have it**: +# **Who does it impact**: + on: issues: types: diff --git a/.github/workflows/triage-pull-requests.yml b/.github/workflows/triage-pull-requests.yml index abff3a84c3..3ff6abcc5b 100644 --- a/.github/workflows/triage-pull-requests.yml +++ b/.github/workflows/triage-pull-requests.yml @@ -1,4 +1,9 @@ name: Triage new pull requests + +# **What it does**: +# **Why we have it**: +# **Who does it impact**: + on: pull_request: types: diff --git a/.github/workflows/triage-stale-check.yml b/.github/workflows/triage-stale-check.yml index 97e487d51e..9d57c44065 100644 --- a/.github/workflows/triage-stale-check.yml +++ b/.github/workflows/triage-stale-check.yml @@ -1,4 +1,9 @@ name: Public Repo Stale Check + +# **What it does**: Provides more aggressive stale checks in the open repo. +# **Why we have it**: In the open repo, we want more aggressive stale checking. +# **Who does it impact**: Anyone working in the open repo. + on: schedule: - cron: '45 16 * * *' # Run each day at 16:45 UTC / 8:45 PST diff --git a/.github/workflows/triage-unallowed-contributions.yml b/.github/workflows/triage-unallowed-contributions.yml index 06deb2c38b..6f3a293a44 100644 --- a/.github/workflows/triage-unallowed-contributions.yml +++ b/.github/workflows/triage-unallowed-contributions.yml @@ -1,5 +1,9 @@ name: Check unallowed file changes +# **What it does**: If someone changes some files in the open repo, we prevent the pull request from merging. +# **Why we have it**: Some files can only be changed in the internal repository for security and workflow reasons. +# **Who does it impact**: Open source contributors. + on: pull_request_target: paths: diff --git a/.github/workflows/update-graphql-files.yml b/.github/workflows/update-graphql-files.yml index 7e61137b57..14ab84001e 100644 --- a/.github/workflows/update-graphql-files.yml +++ b/.github/workflows/update-graphql-files.yml @@ -1,5 +1,9 @@ name: Update GraphQL files +# **What it does**: This updates our GraphQL schemas. +# **Why we have it**: We want our GraphQL docs up to date. +# **Who does it impact**: Docs engineering, people reading GraphQL docs. + on: workflow_dispatch: schedule: diff --git a/.github/workflows/workflow-lint.yml b/.github/workflows/workflow-lint.yml index a94f548316..a3f3c57ede 100644 --- a/.github/workflows/workflow-lint.yml +++ b/.github/workflows/workflow-lint.yml @@ -1,5 +1,9 @@ name: Lint workflows +# **What it does**: This lints our workflow files. +# **Why we have it**: We want some level of consistency in our workflow files. +# **Who does it impact**: Docs engineering. + on: workflow_dispatch: push: diff --git a/.github/workflows/yml-lint.yml b/.github/workflows/yml-lint.yml index 36ccd787b5..f74bf200b5 100644 --- a/.github/workflows/yml-lint.yml +++ b/.github/workflows/yml-lint.yml @@ -1,5 +1,9 @@ name: Lint Yaml +# **What it does**: This lints our yaml files in the docs repository. +# **Why we have it**: We want some level of consistent formatting for YAML files. +# **Who does it impact**: Docs engineering, docs content. + on: workflow_dispatch: push: diff --git a/app.json b/app.json index 4373896fff..75a201a8b6 100644 --- a/app.json +++ b/app.json @@ -3,7 +3,8 @@ "env": { "NODE_ENV": "production", "NPM_CONFIG_PRODUCTION": "true", - "ENABLED_LANGUAGES": "en" + "ENABLED_LANGUAGES": "en", + "WEB_CONCURRENCY": "1" }, "buildpacks": [ { "url": "heroku/nodejs" } diff --git a/assets/images/help/billing/ghas-seats-org.png b/assets/images/help/billing/ghas-seats-org.png deleted file mode 100644 index 14b78d9e4f..0000000000 Binary files a/assets/images/help/billing/ghas-seats-org.png and /dev/null differ diff --git a/assets/images/help/dependabot/dependabot-secrets.png b/assets/images/help/dependabot/dependabot-secrets.png new file mode 100644 index 0000000000..74aba9a0bb Binary files /dev/null and b/assets/images/help/dependabot/dependabot-secrets.png differ diff --git a/assets/images/help/dependabot/secret-repository-access.png b/assets/images/help/dependabot/secret-repository-access.png new file mode 100644 index 0000000000..a4bd312861 Binary files /dev/null and b/assets/images/help/dependabot/secret-repository-access.png differ diff --git a/assets/images/help/dependabot/update-remove-org-secret.png b/assets/images/help/dependabot/update-remove-org-secret.png new file mode 100644 index 0000000000..94b7a0b804 Binary files /dev/null and b/assets/images/help/dependabot/update-remove-org-secret.png differ diff --git a/assets/images/help/dependabot/update-remove-repo-secret.png b/assets/images/help/dependabot/update-remove-repo-secret.png new file mode 100644 index 0000000000..dcbc3a0df4 Binary files /dev/null and b/assets/images/help/dependabot/update-remove-repo-secret.png differ diff --git a/assets/images/help/enterprises/click-advanced-security.png b/assets/images/help/enterprises/click-advanced-security.png new file mode 100644 index 0000000000..121742271f Binary files /dev/null and b/assets/images/help/enterprises/click-advanced-security.png differ diff --git a/assets/images/help/enterprises/select-advanced-security-individual-organization-policy.png b/assets/images/help/enterprises/select-advanced-security-individual-organization-policy.png new file mode 100644 index 0000000000..b29beb0f85 Binary files /dev/null and b/assets/images/help/enterprises/select-advanced-security-individual-organization-policy.png differ diff --git a/assets/images/help/enterprises/select-advanced-security-organization-policy.png b/assets/images/help/enterprises/select-advanced-security-organization-policy.png new file mode 100644 index 0000000000..ffa948bb54 Binary files /dev/null and b/assets/images/help/enterprises/select-advanced-security-organization-policy.png differ diff --git a/assets/images/help/notifications-v2/mobile-watch-button.png b/assets/images/help/notifications-v2/mobile-watch-button.png new file mode 100644 index 0000000000..b5a3fa3af0 Binary files /dev/null and b/assets/images/help/notifications-v2/mobile-watch-button.png differ diff --git a/assets/images/help/notifications-v2/mobile-watch-settings.png b/assets/images/help/notifications-v2/mobile-watch-settings.png new file mode 100644 index 0000000000..9b6a485bfa Binary files /dev/null and b/assets/images/help/notifications-v2/mobile-watch-settings.png differ diff --git a/assets/images/help/package-registry/add-repository-button.png b/assets/images/help/package-registry/add-repository-button.png new file mode 100644 index 0000000000..58eb5f8202 Binary files /dev/null and b/assets/images/help/package-registry/add-repository-button.png differ diff --git a/assets/images/help/package-registry/container-creation-org-settings.png b/assets/images/help/package-registry/container-creation-org-settings.png new file mode 100644 index 0000000000..50f2c5c3fd Binary files /dev/null and b/assets/images/help/package-registry/container-creation-org-settings.png differ diff --git a/assets/images/help/package-registry/ghes-packages-diagram.png b/assets/images/help/package-registry/ghes-packages-diagram.png deleted file mode 100644 index 7006ce5c96..0000000000 Binary files a/assets/images/help/package-registry/ghes-packages-diagram.png and /dev/null differ diff --git a/assets/images/help/package-registry/inherit-repo-access-for-package.png b/assets/images/help/package-registry/inherit-repo-access-for-package.png new file mode 100644 index 0000000000..019af1c4ce Binary files /dev/null and b/assets/images/help/package-registry/inherit-repo-access-for-package.png differ diff --git a/assets/images/help/package-registry/organization-repo-access-for-a-package.png b/assets/images/help/package-registry/organization-repo-access-for-a-package.png new file mode 100644 index 0000000000..725d5c21e3 Binary files /dev/null and b/assets/images/help/package-registry/organization-repo-access-for-a-package.png differ diff --git a/assets/images/help/package-registry/packages-overview-diagram.png b/assets/images/help/package-registry/packages-overview-diagram.png index adf499d586..50f07869cc 100644 Binary files a/assets/images/help/package-registry/packages-overview-diagram.png and b/assets/images/help/package-registry/packages-overview-diagram.png differ diff --git a/assets/images/help/package-registry/repository-permission-options-for-package-access-through-actions.png b/assets/images/help/package-registry/repository-permission-options-for-package-access-through-actions.png new file mode 100644 index 0000000000..cba8410bb2 Binary files /dev/null and b/assets/images/help/package-registry/repository-permission-options-for-package-access-through-actions.png differ diff --git a/assets/images/help/repository/code-scanning-branch-dropdown.png b/assets/images/help/repository/code-scanning-branch-dropdown.png index c78415529f..9671a8c891 100644 Binary files a/assets/images/help/repository/code-scanning-branch-dropdown.png and b/assets/images/help/repository/code-scanning-branch-dropdown.png differ diff --git a/assets/images/help/repository/code-scanning-click-alert.png b/assets/images/help/repository/code-scanning-click-alert.png index b546930cfd..f62f131530 100644 Binary files a/assets/images/help/repository/code-scanning-click-alert.png and b/assets/images/help/repository/code-scanning-click-alert.png differ diff --git a/assets/images/marketplace/apps-with-unverified-publisher-badge-tooltip.png b/assets/images/marketplace/apps-with-unverified-publisher-badge-tooltip.png new file mode 100644 index 0000000000..1e5630ab45 Binary files /dev/null and b/assets/images/marketplace/apps-with-unverified-publisher-badge-tooltip.png differ diff --git a/assets/images/marketplace/apps-with-verified-publisher-badge-tooltip.png b/assets/images/marketplace/apps-with-verified-publisher-badge-tooltip.png new file mode 100644 index 0000000000..cb769090f8 Binary files /dev/null and b/assets/images/marketplace/apps-with-verified-publisher-badge-tooltip.png differ diff --git a/assets/images/marketplace/apps-with-verified-publisher-badge.png b/assets/images/marketplace/apps-with-verified-publisher-badge.png index 00305224d4..70317b6c25 100644 Binary files a/assets/images/marketplace/apps-with-verified-publisher-badge.png and b/assets/images/marketplace/apps-with-verified-publisher-badge.png differ diff --git a/assets/images/marketplace/publisher-verification-checklist.png b/assets/images/marketplace/publisher-verification-checklist.png index e1cac1449f..03bba15611 100644 Binary files a/assets/images/marketplace/publisher-verification-checklist.png and b/assets/images/marketplace/publisher-verification-checklist.png differ diff --git a/content/README.md b/content/README.md index 5659f2928a..45b571c323 100644 --- a/content/README.md +++ b/content/README.md @@ -25,6 +25,7 @@ See the [contributing docs](/CONTRIBUTING.md) for general information about work - [`includeGuides`](#includeGuides) - [`type`](#type) - [`topics`](#topics) + - [`contributor`](#contributor) - [Escaping single quotes](#escaping-single-quotes) - [Autogenerated mini TOCs](#autogenerated-mini-tocs) - [Versioning](#versioning) @@ -227,10 +228,22 @@ includeGuides: - Optional. ### `topics` -- Purpose: Indicate the topics covered by the article. -- Type: `String` +- Purpose: Indicate the topics covered by the article. The topics are used to filter guides on some landing pages. For example, the guides at the bottom of [this page](https://docs.github.com/en/actions/guides) can be filtered by topics and the topics are listed under the guide intro. Topics are also added to all search records that get created for each page. The search records contain a `topics` property that is used to filter search results by topics. For more information, see the [Search](/contributing/search.md) contributing guide. Refer to the content models for more details around adding topics. A full list of existing topics is located in the [allowed topics file](/data/allowed-topics.js). If topics in article frontmatter and the allow-topics list become out of sync, the [topics CI test](/tests/unit/search/topics.js) will fail. +- Type: Array of `String`s +- Optional: Topics are preferred for each article, but, there may be cases where existing articles don't yet have topics or a adding a topic to a new article may not add value. + +### `contributor` +- Purpose: Indicate an article is contributed and maintained by a third-party organization, typically a GitHub Technology Partner. +- Type: `Object`. Properties are `name` and `URL`. - Optional. +Example: + +```yml +contributor: + name: ACME, inc. + URL: https://acme.example.com/ +``` ### Escaping single quotes diff --git a/content/actions/guides/about-continuous-integration.md b/content/actions/guides/about-continuous-integration.md index a249137af6..305d9cbdee 100644 --- a/content/actions/guides/about-continuous-integration.md +++ b/content/actions/guides/about-continuous-integration.md @@ -53,6 +53,26 @@ For a definition of common terms, see "[Core concepts for {% data variables.prod Browse the complete list of CI workflow templates offered by {% data variables.product.product_name %} in the {% if currentVersion == "free-pro-team@latest" %}[actions/starter-workflows](https://github.com/actions/starter-workflows/tree/main/ci) repository{% else %} `actions/starter-workflows` repository on {% data variables.product.product_location %}{% endif %}. +### Skipping workflow runs + +If you want to temporarily prevent a workflow from being triggered, you can add a skip instruction to the commit message. Workflows that would otherwise be triggered `on: push` or `on: pull_request`, won't be triggered if you add any any of the following strings to the commit message in a push, or the HEAD commit of a pull request: + +* `[skip ci]` +* `[ci skip]` +* `[no ci]` +* `[skip actions]` +* `[actions skip]` + +Alternatively, you can end the commit message with two empty lines followed by either `skip-checks: true` or `skip-checks:true`. + +You won't be able to merge the pull request if your repository is configured to require specific checks to pass first. To allow the pull request to be merged you can push a new commit to the pull request without the skip instruction in the commit message. + +{% note %} + +**Note:** Skip instructions only apply to the `push` and `pull_request` events. For example, adding `[skip ci]` to a commit message won't stop a workflow that's triggered `on: pull_request_target` from running. + +{% endnote %} + ### Notifications for workflow runs {% data reusables.repositories.workflow-notifications %} diff --git a/content/actions/guides/adding-labels-to-issues.md b/content/actions/guides/adding-labels-to-issues.md new file mode 100644 index 0000000000..618af66b80 --- /dev/null +++ b/content/actions/guides/adding-labels-to-issues.md @@ -0,0 +1,68 @@ +--- +title: Adding labels to issues +intro: You can use {% data variables.product.prodname_actions %} to automatically label issues. +product: '{% data reusables.gated-features.actions %}' +versions: + free-pro-team: '*' + enterprise-server: '>=2.22' + github-ae: '*' +type: 'tutorial' +topics: + - 'Workflows' + - 'Project management' +--- + +{% data reusables.actions.enterprise-beta %} +{% data reusables.actions.enterprise-github-hosted-runners %} +{% data reusables.actions.ae-beta %} +{% data reusables.actions.ae-self-hosted-runners-notice %} + +### Introduction + +This tutorial demonstrates how to use the [`andymckay/labeler` action](https://github.com/marketplace/actions/simple-issue-labeler) in a workflow to label newly opened or reopened issues. For example, you can add the `triage` label every time an issue is opened or reopened. Then, you can see all issues that need to be triaged by filtering for issues with the `triage` label. + +In the tutorial, you will first make a workflow file that uses the [`andymckay/labeler` action](https://github.com/marketplace/actions/simple-issue-labeler). Then, you will customize the workflow to suit your needs. + +### Creating the workflow + +1. {% data reusables.actions.choose-repo %} +2. {% data reusables.actions.make-workflow-file %} +3. Copy the following YAML contents into your workflow file. + + {% raw %} + ```yaml{:copy} + name: Label issues + on: + issues: + types: + - reopened + - opened + jobs: + label_issues: + runs-on: ubuntu-latest + steps: + - name: Label issues + uses: andymckay/labeler@1.0.2 + with: + add-labels: "triage" + ``` + {% endraw %} +4. Customize the parameters in your workflow file: + - Change the value for `add-labels` to the list of labels that you want to add to the issue. Separate multiple labels with commas. For example, `"help wanted, good first issue"`. For more information about labels, see "[Managing labels](/github/managing-your-work-on-github/managing-labels#applying-labels-to-issues-and-pull-requests)." +5. {% data reusables.actions.commit-workflow %} + +### Testing the workflow + +Every time an issue in your repository is opened or reopened, this workflow will add the labels that you specified to the issue. + +Test out your workflow by creating an issue in your repository. + +1. Create an issue in your repository. For more information, see "[Creating an issue](/github/managing-your-work-on-github/creating-an-issue)." +2. To see the workflow run that was triggered by creating the issue, view the history of your workflow runs. For more information, see "[Viewing workflow run history](/actions/managing-workflow-runs/viewing-workflow-run-history)." +3. When the workflow completes, the issue that you created should have the specified labels added. + +### Next steps + +- To learn more about additional things you can do with the `andymckay/labeler` action, like removing labels or skipping this action if the issue is assigned or has a specific label, see the [`andymckay/labeler` action documentation](https://github.com/marketplace/actions/simple-issue-labeler). +- To learn more about different events that can trigger your workflow, see "[Events that trigger workflows](/actions/reference/events-that-trigger-workflows#issues)." The `andymckay/labeler` action only works on `issues`, `pull_request`, or `project_card` events. +- [Search GitHub](https://github.com/search?q=%22uses:+andymckay/labeler%22&type=code) for examples of workflows using this action. diff --git a/content/actions/guides/building-and-testing-net.md b/content/actions/guides/building-and-testing-net.md index 7f7e55175d..3e9c947754 100644 --- a/content/actions/guides/building-and-testing-net.md +++ b/content/actions/guides/building-and-testing-net.md @@ -48,7 +48,7 @@ jobs: steps: - uses: actions/checkout@v2 - - name: Setup .NET Core SDK ${{ matrix.dotnet }} + - name: Setup .NET Core SDK ${{ matrix.dotnet-version }} uses: actions/setup-dotnet@v1.7.2 with: dotnet-version: ${{ matrix.dotnet-version }} diff --git a/content/actions/guides/closing-inactive-issues.md b/content/actions/guides/closing-inactive-issues.md new file mode 100644 index 0000000000..461ef0aca2 --- /dev/null +++ b/content/actions/guides/closing-inactive-issues.md @@ -0,0 +1,77 @@ +--- +title: Closing inactive issues +intro: You can use {% data variables.product.prodname_actions %} to comment on or close issues that have been inactive for a certain period of time. +product: '{% data reusables.gated-features.actions %}' +versions: + free-pro-team: '*' + enterprise-server: '>=2.22' + github-ae: '*' +type: 'tutorial' +topics: + - 'Workflows' + - 'Project management' +--- + +{% data reusables.actions.enterprise-beta %} +{% data reusables.actions.enterprise-github-hosted-runners %} +{% data reusables.actions.ae-beta %} +{% data reusables.actions.ae-self-hosted-runners-notice %} + +### Introduction + +This tutorial demonstrates how to use the [`actions/stale` action](https://github.com/marketplace/actions/close-stale-issues) to comment on and close issues that have been inactive for a certain period of time. For example, you can comment if an issue has been inactive for 30 days to prompt participants to take action. Then, if no additional activity occurs after 14 days, you can close the issue. + +In the tutorial, you will first make a workflow file that uses the [`actions/stale` action](https://github.com/marketplace/actions/close-stale-issues). Then, you will customize the workflow to suit your needs. + +### Creating the workflow + +1. {% data reusables.actions.choose-repo %} +2. {% data reusables.actions.make-workflow-file %} +3. Copy the following YAML contents into your workflow file. + + {% raw %} + ```yaml{:copy} + name: Close inactive issues + on: + schedule: + - cron: "30 1 * * *" + + jobs: + close-issues: + runs-on: ubuntu-latest + steps: + - uses: actions/stale@v3 + with: + days-before-issue-stale: 30 + days-before-issue-close: 14 + stale-issue-label: "stale" + stale-issue-message: "This issue is stale because it has been open for 30 days with no activity." + close-issue-message: "This issue was closed because it has been inactive for 14 days since being marked as stale." + days-before-pr-stale: -1 + days-before-pr-close: -1 + repo-token: ${{ secrets.GITHUB_TOKEN }} + ``` + {% endraw %} +4. Customize the parameters in your workflow file: + - Change the value for `on.schedule` to dictate when you want this workflow to run. In the example above, the workflow will run every day at 1:30 UTC. For more information about scheduled workflows, see "[Scheduled events](/actions/reference/events-that-trigger-workflows#scheduled-events)." + - Change the value for `days-before-issue-stale` to the number of days without activity before the `actions/stale` action labels an issue. If you never want this action to label issues, set this value to `-1`. + - Change the value for `days-before-issue-close` to the number of days without activity before the `actions/stale` action closes an issue. If you never want this action to close issues, set this value to `-1`. + - Change the value for `stale-issue-label` to the label that you want to apply to issues that have been inactive for the amount of time specified by `days-before-issue-stale`. + - Change the value for `stale-issue-message` to the comment that you want to add to issues that are labeled by the `actions/stale` action. + - Change the value for `close-issue-message` to the comment that you want to add to issues that are closed by the `actions/stale` action. +5. {% data reusables.actions.commit-workflow %} + +### Expected results + +Based on the `schedule` parameter (for example, every day at 1:30 UTC), your workflow will find issues that have been inactive for the specified period of time and will add the specified comment and label. Additionally, your workflow will close any previously labeled issues if no additional activity has occurred for the specified period of time. + +{% data reusables.actions.schedule-delay %} + +You can view the history of your workflow runs to see this workflow run periodically. For more information, see "[Viewing workflow run history](/actions/managing-workflow-runs/viewing-workflow-run-history)." + +This workflow will only label and/or close 30 issues at a time in order to avoid rate limit abuse. You can configure this with the `operations-per-run` setting. For more information, see the [`actions/stale` action documentation](https://github.com/marketplace/actions/close-stale-issues). + +### Next steps + +- To learn more about additional things you can do with the `actions/stale` action, like closing inactive pull requests, ignoring issues with certain labels or milestones, or only checking issues with certain labels, see the [`actions/stale` action documentation](https://github.com/marketplace/actions/close-stale-issues). +- [Search GitHub](https://github.com/search?q=%22uses%3A+actions%2Fstale%22&type=code) for examples of workflows using this action. diff --git a/content/actions/guides/commenting-on-an-issue-when-a-label-is-added.md b/content/actions/guides/commenting-on-an-issue-when-a-label-is-added.md new file mode 100644 index 0000000000..50f5ad45a4 --- /dev/null +++ b/content/actions/guides/commenting-on-an-issue-when-a-label-is-added.md @@ -0,0 +1,70 @@ +--- +title: Commenting on an issue when a label is added +intro: You can use {% data variables.product.prodname_actions %} to automatically comment on issues when a specific label is applied. +product: '{% data reusables.gated-features.actions %}' +versions: + free-pro-team: '*' + enterprise-server: '>=2.22' + github-ae: '*' +type: 'tutorial' +topics: + - 'Workflows' + - 'Project management' +--- + +{% data reusables.actions.enterprise-beta %} +{% data reusables.actions.enterprise-github-hosted-runners %} +{% data reusables.actions.ae-beta %} +{% data reusables.actions.ae-self-hosted-runners-notice %} + +### Introduction + +This tutorial demonstrates how to use the [`peter-evans/create-or-update-comment` action](https://github.com/marketplace/actions/create-or-update-comment) to comment on an issue when a specific label is applied. For example, when the `help-wanted` label is added to an issue, you can add a comment to encourage contributors to work on the issue. + +In the tutorial, you will first make a workflow file that uses the [`peter-evans/create-or-update-comment` action](https://github.com/marketplace/actions/create-or-update-comment). Then, you will customize the workflow to suit your needs. + +### Creating the workflow + +1. {% data reusables.actions.choose-repo %} +2. {% data reusables.actions.make-workflow-file %} +3. Copy the following YAML contents into your workflow file. + + {% raw %} + ```yaml{:copy} + name: Add comment + on: + issues: + types: + - labeled + jobs: + add-comment: + if: github.event.label.name == 'help-wanted' + runs-on: ubuntu-latest + steps: + - name: Add comment + uses: peter-evans/create-or-update-comment@v1 + with: + issue-number: ${{ github.event.issue.number }} + body: | + This issue is available for anyone to work on. **Make sure to reference this issue in your pull request.** :sparkles: Thank you for your contribution! :sparkles: + ``` + {% endraw %} +4. Customize the parameters in your workflow file: + - Replace `help-wanted` in `if: github.event.label.name == 'help-wanted'` with the label that you want to act on. If you want to act on more than one label, separate the conditions with `||`. For example, `if: github.event.label.name == 'bug' || github.event.label.name == 'fix me'` will comment whenever the `bug` or `fix me` labels are added to an issue. + - Change the value for `body` to the comment that you want to add. GitHub flavored markdown is supported. For more information about markdown, see "[Basic writing and formatting syntax](/github/writing-on-github/basic-writing-and-formatting-syntax)." +5. {% data reusables.actions.commit-workflow %} + +### Testing the workflow + +Every time an issue in your repository is labeled, this workflow will run. If the label that was added is one of the labels that you specified in your workflow file, the `peter-evans/create-or-update-comment` action will add the comment that you specified to the issue. + +Test your workflow by applying your specified label to an issue. + +1. Open an issue in your repository. For more information, see "[Creating an issue](/github/managing-your-work-on-github/creating-an-issue)." +2. Label the issue with the specified label in your workflow file. For more information, see "[Managing labels](/github/managing-your-work-on-github/managing-labels#applying-labels-to-issues-and-pull-requests)." +3. To see the workflow run triggered by labeling the issue, view the history of your workflow runs. For more information, see "[Viewing workflow run history](/actions/managing-workflow-runs/viewing-workflow-run-history)." +4. When the workflow completes, the issue that you labeled should have a comment added. + +### Next steps + +- To learn more about additional things you can do with the `peter-evans/create-or-update-comment` action, like adding reactions, visit the [`peter-evans/create-or-update-comment` action documentation](https://github.com/marketplace/actions/create-or-update-comment). diff --git a/content/actions/guides/index.md b/content/actions/guides/index.md index 38acc21679..85043ac3f7 100644 --- a/content/actions/guides/index.md +++ b/content/actions/guides/index.md @@ -62,6 +62,13 @@ includeGuides: - /actions/learn-github-actions/migrating-from-gitlab-cicd-to-github-actions - /actions/learn-github-actions/migrating-from-jenkins-to-github-actions - /actions/learn-github-actions/migrating-from-travis-ci-to-github-actions + - /actions/guides/using-github-actions-for-project-management + - /actions/guides/closing-inactive-issues + - /actions/guides/scheduling-issue-creation + - /actions/guides/adding-labels-to-issues + - /actions/guides/commenting-on-an-issue-when-a-label-is-added + - /actions/guides/moving-assigned-issues-on-project-boards + - /actions/guides/removing-a-label-when-a-card-is-added-to-a-project-board-column --- @@ -87,3 +94,11 @@ includeGuides: + + + + + + + + diff --git a/content/actions/guides/moving-assigned-issues-on-project-boards.md b/content/actions/guides/moving-assigned-issues-on-project-boards.md new file mode 100644 index 0000000000..650cbea90d --- /dev/null +++ b/content/actions/guides/moving-assigned-issues-on-project-boards.md @@ -0,0 +1,75 @@ +--- +title: Moving assigned issues on project boards +intro: You can use {% data variables.product.prodname_actions %} to automatically move an issue to a specific column on a project board when the issue is assigned. +product: '{% data reusables.gated-features.actions %}' +versions: + free-pro-team: '*' + enterprise-server: '>=2.22' + github-ae: '*' +type: 'tutorial' +topics: + - 'Workflows' + - 'Project management' +--- + +{% data reusables.actions.enterprise-beta %} +{% data reusables.actions.enterprise-github-hosted-runners %} +{% data reusables.actions.ae-beta %} +{% data reusables.actions.ae-self-hosted-runners-notice %} + +### Introduction + +This tutorial demonstrates how to use the [`alex-page/github-project-automation-plus` action](https://github.com/marketplace/actions/github-project-automation) to automatically move an issue to a specific column on a project board when the issue is assigned. For example, when an issue is assigned, you can move it into the `In Progress` column your project board. + +In the tutorial, you will first make a workflow file that uses the [`alex-page/github-project-automation-plus` action](https://github.com/marketplace/actions/github-project-automation). Then, you will customize the workflow to suit your needs. + +### Creating the workflow + +1. {% data reusables.actions.choose-repo %} +2. In your repository, choose a project board. You can use an existing project, or you can create a new project. For more information about creating a project, see "[Creating a project board](/github/managing-your-work-on-github/creating-a-project-board)." +3. {% data reusables.actions.make-workflow-file %} +4. Copy the following YAML contents into your workflow file. + + {% raw %} + ```yaml{:copy} + name: Move assigned card + on: + issues: + types: + - assigned + jobs: + move-assigned-card: + runs-on: ubuntu-latest + steps: + - uses: alex-page/github-project-automation-plus@v0.3.0 + with: + project: Docs Work + column: In Progress + repo-token: ${{ secrets.PERSONAL_ACCESS_TOKEN }} + ``` + {% endraw %} +5. Customize the parameters in your workflow file: + - Change the value for `project` to the name of your project board. If you have multiple project boards with the same name, the `alex-page/github-project-automation-plus` action will act on all projects with the specified name. + - Change the value for `column` to the name of the column where you want issues to move when they are assigned. + - Change the value for `repo-token`: + 1. Create a personal access token with the `repo` scope. For more information, see "[Creating a personal access token](/github/authenticating-to-github/creating-a-personal-access-token)." + 1. Store this personal access token as a secret in your repository. For more information about storing secrets, see "[Encrypted secrets](/actions/reference/encrypted-secrets)." + 1. In your workflow file, replace `PERSONAL_ACCESS_TOKEN` with the name of your secret. +6. {% data reusables.actions.commit-workflow %} + +### Testing the workflow + +Whenever an issue in your repository is assigned, the issue will be moved to the specified project board column. If the issue is not already on the project board, it will be added to the project board. + +If your repository is user-owned, the `alex-page/github-project-automation-plus` action will act on all projects in your repository or user account that have the specified project name and column. Likewise, if your repository is organization-owned, the action will act on all projects in your repository or organization that have the specified project name and column. + +Test your workflow by assigning an issue in your repository. + +1. Open an issue in your repository. For more information, see "[Creating an issue](/github/managing-your-work-on-github/creating-an-issue)." +2. Assign the issue. For more information, see "[Assigning issues and pull requests to other GitHub users](/github/managing-your-work-on-github/assigning-issues-and-pull-requests-to-other-github-users)." +3. To see the workflow run that assigning the issue triggered, view the history of your workflow runs. For more information, see "[Viewing workflow run history](/actions/managing-workflow-runs/viewing-workflow-run-history)." +4. When the workflow completes, the issue that you assigned should be added to the specified project board column. + +### Next steps + +- To learn more about additional things you can do with the `alex-page/github-project-automation-plus` action, like deleting or archiving project cards, visit the [`alex-page/github-project-automation-plus` action documentation](https://github.com/marketplace/actions/github-project-automation). diff --git a/content/actions/guides/removing-a-label-when-a-card-is-added-to-a-project-board-column.md b/content/actions/guides/removing-a-label-when-a-card-is-added-to-a-project-board-column.md new file mode 100644 index 0000000000..7ab58f6308 --- /dev/null +++ b/content/actions/guides/removing-a-label-when-a-card-is-added-to-a-project-board-column.md @@ -0,0 +1,75 @@ +--- +title: Removing a label when a card is added to a project board column +intro: You can use {% data variables.product.prodname_actions %} to automatically remove a label when an issue or pull request is added to a specific column on a project board. +product: '{% data reusables.gated-features.actions %}' +versions: + free-pro-team: '*' + enterprise-server: '>=2.22' + github-ae: '*' +type: 'tutorial' +topics: + - 'Workflows' + - 'Project management' +--- + +{% data reusables.actions.enterprise-beta %} +{% data reusables.actions.enterprise-github-hosted-runners %} +{% data reusables.actions.ae-beta %} +{% data reusables.actions.ae-self-hosted-runners-notice %} + +### Introduction + +This tutorial demonstrates how to use the [`andymckay/labeler` action](https://github.com/marketplace/actions/simple-issue-labeler) along with a conditional to remove a label from issues and pull requests that are added to a specific column on a project board. For example, you can remove the `needs review` label when project cards are moved into the `Done` column. + +In the tutorial, you will first make a workflow file that uses the [`andymckay/labeler` action](https://github.com/marketplace/actions/simple-issue-labeler). Then, you will customize the workflow to suit your needs. + +### Creating the workflow + +1. {% data reusables.actions.choose-repo %} +2. Choose a project that belongs to the repository. This workflow cannot be used with projects that belong to users or organizations. You can use an existing project, or you can create a new project. For more information about creating a project, see "[Creating a project board](/github/managing-your-work-on-github/creating-a-project-board)." +3. {% data reusables.actions.make-workflow-file %} +4. Copy the following YAML contents into your workflow file. + + {% raw %} + ```yaml{:copy} + name: Remove labels + on: + project_card: + types: + - moved + jobs: + remove_labels: + if: github.event.project_card.column_id == '12345678' + runs-on: ubuntu-latest + steps: + - name: remove labels + uses: andymckay/labeler@master + with: + remove-labels: "needs review" + ``` + {% endraw %} +5. Customize the parameters in your workflow file: + - In `github.event.project_card.column_id == '12345678'`, replace `12345678` with the ID of the column where you want to un-label issues and pull requests that are moved there. + + To find the column ID, navigate to your project board. Next to the title of the column, click {% octicon "kebab-horizontal" aria-label="The horizontal kebab icon" %} then click **Copy column link**. The column ID is the number at the end of the copied link. For example, `24687531` is the column ID for `https://github.com/octocat/octo-repo/projects/1#column-24687531`. + + If you want to act on more than one column, separate the conditions with `||`. For example, `if github.event.project_card.column_id == '12345678' || github.event.project_card.column_id == '87654321'` will act whenever a project card is added to column `12345678` or column `87654321`. The columns may be on different project boards. + - Change the value for `remove-labels` to the list of labels that you want to remove from issues or pull requests that are moved to the specified column(s). Separate multiple labels with commas. For example, `"help wanted, good first issue"`. For more information on labels, see "[Managing labels](/github/managing-your-work-on-github/managing-labels#applying-labels-to-issues-and-pull-requests)." +6. {% data reusables.actions.commit-workflow %} + +### Testing the workflow + +Every time a project card on a project in your repository moves, this workflow will run. If the card is an issue or a pull request and is moved into the column that you specified, then the workflow will remove the specified labels from the issue or a pull request. Cards that are notes will not be affected. + +Test your workflow out by moving an issue on your project into the target column. + +1. Open an issue in your repository. For more information, see "[Creating an issue](/github/managing-your-work-on-github/creating-an-issue)." +2. Label the issue with the labels that you want the workflow to remove. For more information, see "[Managing labels](/github/managing-your-work-on-github/managing-labels#applying-labels-to-issues-and-pull-requests)." +3. Add the issue to the project column that you specified in your workflow file. For more information, see "[Adding issues and pull requests to a project board](/github/managing-your-work-on-github/adding-issues-and-pull-requests-to-a-project-board)." +4. To see the workflow run that was triggered by adding the issue to the project, view the history of your workflow runs. For more information, see "[Viewing workflow run history](/actions/managing-workflow-runs/viewing-workflow-run-history)." +5. When the workflow completes, the issue that you added to the project column should have the specified labels removed. + +### Next steps + +- To learn more about additional things you can do with the `andymckay/labeler` action, like adding labels or skipping this action if the issue is assigned or has a specific label, visit the [`andymckay/labeler` action documentation](https://github.com/marketplace/actions/simple-issue-labeler). +- [Search GitHub](https://github.com/search?q=%22uses:+andymckay/labeler%22&type=code) for examples of workflows using this action. diff --git a/content/actions/guides/scheduling-issue-creation.md b/content/actions/guides/scheduling-issue-creation.md new file mode 100644 index 0000000000..b261b2a667 --- /dev/null +++ b/content/actions/guides/scheduling-issue-creation.md @@ -0,0 +1,89 @@ +--- +title: Scheduling issue creation +intro: You can use {% data variables.product.prodname_actions %} to create an issue on a regular basis for things like daily meetings or quarterly reviews. +product: '{% data reusables.gated-features.actions %}' +versions: + free-pro-team: '*' + enterprise-server: '>=2.22' + github-ae: '*' +type: 'tutorial' +topics: + - 'Workflows' + - 'Project management' +--- + +{% data reusables.actions.enterprise-beta %} +{% data reusables.actions.enterprise-github-hosted-runners %} +{% data reusables.actions.ae-beta %} +{% data reusables.actions.ae-self-hosted-runners-notice %} + +### Introduction + +This tutorial demonstrates how to use the [`imjohnbo/issue-bot` action](https://github.com/marketplace/actions/issue-bot-action) to create an issue on a regular basis. For example, you can create an issue each week to use as the agenda for a team meeting. + +In the tutorial, you will first make a workflow file that uses the [`imjohnbo/issue-bot` action](https://github.com/marketplace/actions/issue-bot-action). Then, you will customize the workflow to suit your needs. + +### Creating the workflow + +1. {% data reusables.actions.choose-repo %} +2. {% data reusables.actions.make-workflow-file %} +3. Copy the following YAML contents into your workflow file. + + {% raw %} + ```yaml{:copy} + name: Weekly Team Sync + on: + schedule: + - cron: 20 07 * * 1 + + jobs: + create_issue: + name: Create team sync issue + runs-on: ubuntu-latest + steps: + - name: Create team sync issue + uses: imjohnbo/issue-bot@v3.0 + with: + assignees: "monalisa, doctocat, hubot" + labels: "weekly sync, docs-team" + title: "Team sync" + body: | + ### Agenda + + - [ ] Start the recording + - [ ] Check-ins + - [ ] Discussion points + - [ ] Post the recording + + ### Discussion Points + Add things to discuss below + + - [Work this week](https://github.com/orgs/github/projects/3) + pinned: false + close-previous: false + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + ``` + {% endraw %} +4. Customize the parameters in your workflow file: + - Change the value for `on.schedule` to dictate when you want this workflow to run. In the example above, the workflow will run every Monday at 7:20 UTC. For more information about scheduled workflows, see "[Scheduled events](/actions/reference/events-that-trigger-workflows#scheduled-events)." + - Change the value for `assignees` to the list of {% data variables.product.prodname_dotcom %} usernames that you want to assign to the issue. + - Change the value for `labels` to the list of labels that you want to apply to the issue. + - Change the value for `title` to the title that you want the issue to have. + - Change the value for `body` to the text that you want in the issue body. The `|` character allows you to use a multi-line value for this parameter. + - If you want to pin this issue in your repository, set `pinned` to `true`. For more information about pinned issues, see "[Pinning an issue to your repository](/articles/pinning-an-issue-to-your-repository)." + - If you want to close the previous issue generated by this workflow each time a new issue is created, set `close-previous` to `true`. The workflow will close the most recent issue that has the labels defined in the `labels` field. To avoid closing the wrong issue, use a unique label or combination of labels. +5. {% data reusables.actions.commit-workflow %} + +### Expected results + +Based on the `schedule` parameter (for example, every Monday at 7:20 UTC), your workflow will create a new issue with the assignees, labels, title, and body that you specified. If you set `pinned` to `true`, the workflow will pin the issue to your repository. If you set `close-previous` to true, the workflow will close the most recent issue with matching labels. + +{% data reusables.actions.schedule-delay %} + +You can view the history of your workflow runs to see this workflow run periodically. For more information, see "[Viewing workflow run history](/actions/managing-workflow-runs/viewing-workflow-run-history)." + +### Next steps + +- To learn more about additional things you can do with the `imjohnbo/issue-bot` action, like rotating assignees or using an issue template, see the [`imjohnbo/issue-bot` action documentation](https://github.com/marketplace/actions/issue-bot-action). +- [Search GitHub](https://github.com/search?q=%22uses%3A+imjohnbo%2Fissue-bot%22&type=code) for examples of workflows using this action. diff --git a/content/actions/guides/using-github-actions-for-project-management.md b/content/actions/guides/using-github-actions-for-project-management.md new file mode 100644 index 0000000000..d023cb4e2c --- /dev/null +++ b/content/actions/guides/using-github-actions-for-project-management.md @@ -0,0 +1,40 @@ +--- +title: Using GitHub Actions for project management +intro: You can use {% data variables.product.prodname_actions %} to automate many of your project management tasks. +product: '{% data reusables.gated-features.actions %}' +versions: + free-pro-team: '*' + enterprise-server: '>=2.22' + github-ae: '*' +type: 'overview' +topics: + - 'Project management' +--- + +You can use {% data variables.product.prodname_actions %} to automate your project management tasks by creating workflows. Each workflow contains a series of tasks that are performed automatically every time the workflow runs. For example, you can create a workflow that runs every time an issue is created to add a label, leave a comment, and move the issue onto a project board. + +### When do workflows run? + +You can configure your workflows to run on a schedule or be triggered when an event occurs. For example, you can set your workflow to run when someone creates an issue in a repository. + +Many workflow triggers are useful for automating project management. + +- An issue is opened, assigned, or labeled. +- A comment is added to an issue. +- A project card is created or moved. +- A scheduled time. + +For a full list of events that can trigger workflows, see "[Events that trigger workflows](/actions/reference/events-that-trigger-workflows)." + +### What can workflows do? + +Workflows can do many things, such as commenting on an issue, adding or removing labels, moving cards on project boards, and opening issues. + +You can learn about using {% data variables.product.prodname_actions %} for project management by following these tutorials, which include example workflows that you can adapt to meet your needs. + +- "[Adding labels to issues](/actions/guides/adding-labels-to-issues)" +- "[Removing a label when a card is added to a project board column](/actions/guides/removing-a-label-when-a-card-is-added-to-a-project-board-column)" +- "[Moving assigned issues on project boards](/actions/guides/moving-assigned-issues-on-project-boards)" +- "[Commenting on an issue when a label is added](/actions/guides/commenting-on-an-issue-when-a-label-is-added)" +- "[Closing inactive issues](/actions/guides/closing-inactive-issues)" +- "[Scheduling issue creation](/actions/guides/scheduling-issue-creation)" diff --git a/content/actions/hosting-your-own-runners/about-self-hosted-runners.md b/content/actions/hosting-your-own-runners/about-self-hosted-runners.md index 78f44b9d93..1c76fa56cf 100644 --- a/content/actions/hosting-your-own-runners/about-self-hosted-runners.md +++ b/content/actions/hosting-your-own-runners/about-self-hosted-runners.md @@ -66,6 +66,10 @@ There are some limits on {% data variables.product.prodname_actions %} usage whe {% data reusables.github-actions.usage-api-requests %} - **Job matrix** - {% data reusables.github-actions.usage-matrix-limits %} +### Workflow continuity for self-hosted runners + +{% data reusables.github-actions.runner-workflow-continuity %} + ### Supported architectures and operating systems for self-hosted runners The following operating systems are supported for the self-hosted runner application. @@ -131,7 +135,12 @@ github.com api.github.com *.actions.githubusercontent.com github-releases.githubusercontent.com +github-registry-files.githubusercontent.com codeload.github.com +*.pkg.github.com +pkg-cache.githubusercontent.com +pkg-containers.githubusercontent.com +pkg-containers-az.githubusercontent.com ``` If you use an IP address allow list for your {% data variables.product.prodname_dotcom %} organization or enterprise account, you must add your self-hosted runner's IP address to the allow list. For more information, see "[Managing allowed IP addresses for your organization](/github/setting-up-and-managing-organizations-and-teams/managing-allowed-ip-addresses-for-your-organization#using-github-actions-with-an-ip-allow-list)" or "[Enforcing security settings in your enterprise account](/github/setting-up-and-managing-your-enterprise/enforcing-security-settings-in-your-enterprise-account#using-github-actions-with-an-ip-allow-list)". diff --git a/content/actions/learn-github-actions/finding-and-customizing-actions.md b/content/actions/learn-github-actions/finding-and-customizing-actions.md index 2badabf205..c44792eb81 100644 --- a/content/actions/learn-github-actions/finding-and-customizing-actions.md +++ b/content/actions/learn-github-actions/finding-and-customizing-actions.md @@ -114,6 +114,12 @@ outputs: description: "Path to results file" ``` +{% if currentVersion == "github-ae@latest" %} +### Using the actions included with {% data variables.product.prodname_ghe_managed %} + +By default, you can use most of the official {% data variables.product.prodname_dotcom %}-authored actions in {% data variables.product.prodname_ghe_managed %}. For more information, see "[Using actions in {% data variables.product.prodname_ghe_managed %}](/admin/github-actions/using-actions-in-github-ae)." +{% endif %} + ### Referencing an action in the same repository where a workflow file uses the action If an action is defined in the same repository where your workflow file uses the action, you can reference the action with either the ‌`{owner}/{repo}@{ref}` or `./path/to/dir` syntax in your workflow file. diff --git a/content/actions/learn-github-actions/security-hardening-for-github-actions.md b/content/actions/learn-github-actions/security-hardening-for-github-actions.md index 5880ba20fd..9e6ea648c4 100644 --- a/content/actions/learn-github-actions/security-hardening-for-github-actions.md +++ b/content/actions/learn-github-actions/security-hardening-for-github-actions.md @@ -26,7 +26,7 @@ This guide explains how to configure security hardening for certain {% data vari Sensitive values should never be stored as plaintext in workflow files, but rather as secrets. [Secrets](/actions/configuring-and-managing-workflows/creating-and-storing-encrypted-secrets) can be configured at the organization{% if currentVersion == "free-pro-team@latest" or currentVersion ver_gt "enterprise-server@3.0" or currentVersion == "github-ae@latest" %}, repository, or environment{% else %} or repository{% endif %} level, and allow you to store sensitive information in {% data variables.product.product_name %}. -Secrets use [Libsodium sealed boxes](https://libsodium.gitbook.io/doc/public-key_cryptography/sealed_boxes), so that they are encrypted before reaching {% data variables.product.product_name %}. This occurs when the secret is submitted [using the UI](/actions/configuring-and-managing-workflows/creating-and-storing-encrypted-secrets#creating-encrypted-secrets-for-a-repository) or through the [REST API](/rest/reference/actions#secrets). This client-side encryption helps the minimize risks related to accidental logging (for example, exception logs and request logs, among others) within {% data variables.product.product_name %}'s infrastructure. Once the secret is uploaded, {% data variables.product.product_name %} is then able to decrypt it so that it can be injected into the workflow runtime. +Secrets use [Libsodium sealed boxes](https://libsodium.gitbook.io/doc/public-key_cryptography/sealed_boxes), so that they are encrypted before reaching {% data variables.product.product_name %}. This occurs when the secret is submitted [using the UI](/actions/configuring-and-managing-workflows/creating-and-storing-encrypted-secrets#creating-encrypted-secrets-for-a-repository) or through the [REST API](/rest/reference/actions#secrets). This client-side encryption helps minimize the risks related to accidental logging (for example, exception logs and request logs, among others) within {% data variables.product.product_name %}'s infrastructure. Once the secret is uploaded, {% data variables.product.product_name %} is then able to decrypt it so that it can be injected into the workflow runtime. To help prevent accidental disclosure, {% data variables.product.product_name %} uses a mechanism that attempts to redact any secrets that appear in run logs. This redaction looks for exact matches of any configured secrets, as well as common encodings of the values, such as Base64. However, because there are multiple ways a secret value can be transformed, this redaction is not guaranteed. As a result, there are certain proactive steps and good practices you should follow to help ensure secrets are redacted, and to limit other risks associated with secrets: @@ -123,6 +123,24 @@ For example, you can use the audit log to track the `org.update_actions_secret` The following tables describe the {% data variables.product.prodname_actions %} events that you can find in the audit log. For more information on using the audit log, see "[Reviewing the audit log for your organization](/github/setting-up-and-managing-organizations-and-teams/reviewing-the-audit-log-for-your-organization#searching-the-audit-log)." +{% if currentVersion == "free-pro-team@latest" %} +#### Events for environments + +| Action | Description +|------------------|------------------- +| `environment.create_actions_secret` | Triggered when a secret is created in an environment. For more information, see ["Environment secrets](/actions/reference/environments#environment-secrets)." +| `environment.delete` | Triggered when an environment is deleted. For more information, see ["Deleting an environment](/actions/reference/environments#deleting-an-environment)." +| `environment.remove_actions_secret` | Triggered when a secret is removed from an environment. For more information, see ["Environment secrets](/actions/reference/environments#environment-secrets)." +| `environment.update_actions_secret` | Triggered when a secret in an environment is updated. For more information, see ["Environment secrets](/actions/reference/environments#environment-secrets)." +{% endif %} + +{% if currentVersion == "free-pro-team@latest" or currentVersion ver_gt "enterprise-server@2.21" %} +#### Events for configuration changes +| Action | Description +|------------------|------------------- +| `repo.actions_enabled` | Triggered when {% data variables.product.prodname_actions %} is enabled for a repository. Can be viewed using the UI. This event is not visible when you access the audit log using the REST API. For more information, see "[Using the REST API](#using-the-rest-api)." +{% endif %} + #### Events for secret management | Action | Description |------------------|------------------- @@ -135,11 +153,15 @@ The following tables describe the {% data variables.product.prodname_actions %} #### Events for self-hosted runners | Action | Description -|------------------|------------------- +|------------------|-------------------{% if currentVersion ver_gt "enterprise-server@2.21" %}{% else %} | `enterprise.register_self_hosted_runner` | Triggered when a new self-hosted runner is registered. For more information, see "[Adding a self-hosted runner to an enterprise](/actions/hosting-your-own-runners/adding-self-hosted-runners#adding-a-self-hosted-runner-to-an-enterprise)." -| `enterprise.self_hosted_runner_updated` | Triggered when the runner application is updated. Can be viewed using the REST API and the UI; not visible in the JSON/CSV export. For more information, see "[About self-hosted runners](/actions/hosting-your-own-runners/about-self-hosted-runners#about-self-hosted-runners)." +| `enterprise.remove_self_hosted_runner` | Triggered when a self-hosted runner is removed. +| `enterprise.runner_group_runners_updated` | Triggered when a runner group's list of members is updated. For more information, see "[Set self-hosted runners in a group for an organization](/rest/reference/actions#set-self-hosted-runners-in-a-group-for-an-organization)." +| `enterprise.self_hosted_runner_updated` | Triggered when the runner application is updated. Can be viewed using the REST API and the UI. This event is not included when you export the audit log as JSON data or a CSV file. For more information, see "[About self-hosted runners](/actions/hosting-your-own-runners/about-self-hosted-runners#about-self-hosted-runners)" and "[Reviewing the audit log for your organization](/github/setting-up-and-managing-organizations-and-teams/reviewing-the-audit-log-for-your-organization#exporting-the-audit-log)."{% endif %} | `org.register_self_hosted_runner` | Triggered when a new self-hosted runner is registered. For more information, see "[Adding a self-hosted runner to an organization](/actions/hosting-your-own-runners/adding-self-hosted-runners#adding-a-self-hosted-runner-to-an-organization)." | `org.remove_self_hosted_runner` | Triggered when a self-hosted runner is removed. For more information, see [Removing a runner from an organization](/actions/hosting-your-own-runners/removing-self-hosted-runners#removing-a-runner-from-an-organization). +| `org.runner_group_runners_updated` | Triggered when a runner group's list of members is updated. For more information, see "[Set self-hosted runners in a group for an organization](/rest/reference/actions#set-self-hosted-runners-in-a-group-for-an-organization)." +| `org.runner_group_updated` | Triggered when the configuration of a self-hosted runner group is changed. For more information, see "[Changing the access policy of a self-hosted runner group](/actions/hosting-your-own-runners/managing-access-to-self-hosted-runners-using-groups#changing-the-access-policy-of-a-self-hosted-runner-group)." | `org.self_hosted_runner_updated` | Triggered when the runner application is updated. Can be viewed using the REST API and the UI; not visible in the JSON/CSV export. For more information, see "[About self-hosted runners](/actions/hosting-your-own-runners/about-self-hosted-runners#about-self-hosted-runners)." | `repo.register_self_hosted_runner` | Triggered when a new self-hosted runner is registered. For more information, see "[Adding a self-hosted runner to a repository](/actions/hosting-your-own-runners/adding-self-hosted-runners#adding-a-self-hosted-runner-to-a-repository)." | `repo.remove_self_hosted_runner` | Triggered when a self-hosted runner is removed. For more information, see "[Removing a runner from a repository](/actions/hosting-your-own-runners/removing-self-hosted-runners#removing-a-runner-from-a-repository)." @@ -150,13 +172,13 @@ The following tables describe the {% data variables.product.prodname_actions %} |------------------|------------------- | `enterprise.runner_group_created` | Triggered when a self-hosted runner group is created. For more information, see "[Creating a self-hosted runner group for an enterprise](/actions/hosting-your-own-runners/managing-access-to-self-hosted-runners-using-groups#creating-a-self-hosted-runner-group-for-an-enterprise)." | `enterprise.runner_group_removed` | Triggered when a self-hosted runner group is removed. For more information, see "[Removing a self-hosted runner group](/actions/hosting-your-own-runners/managing-access-to-self-hosted-runners-using-groups#removing-a-self-hosted-runner-group)." -| `enterprise.runner_group_runner_removed` | Triggered when a self-hosted runner is removed from a group. +| `enterprise.runner_group_runner_removed` | Triggered when the REST API is used to remove a self-hosted runner from a group. | `enterprise.runner_group_runners_added` | Triggered when a self-hosted runner is added to a group. For more information, see "[Moving a self-hosted runner to a group](/actions/hosting-your-own-runners/managing-access-to-self-hosted-runners-using-groups#moving-a-self-hosted-runner-to-a-group)." | `enterprise.runner_group_updated` |Triggered when the configuration of a self-hosted runner group is changed. For more information, see "[Changing the access policy of a self-hosted runner group](/actions/hosting-your-own-runners/managing-access-to-self-hosted-runners-using-groups#changing-the-access-policy-of-a-self-hosted-runner-group)." | `org.runner_group_created` | Triggered when a self-hosted runner group is created. For more information, see "[Creating a self-hosted runner group for an organization](/actions/hosting-your-own-runners/managing-access-to-self-hosted-runners-using-groups#creating-a-self-hosted-runner-group-for-an-organization)." | `org.runner_group_removed` | Triggered when a self-hosted runner group is removed. For more information, see "[Removing a self-hosted runner group](/actions/hosting-your-own-runners/managing-access-to-self-hosted-runners-using-groups#removing-a-self-hosted-runner-group)." | `org.runner_group_runners_added` | Triggered when a self-hosted runner is added to a group. For more information, see "[Moving a self-hosted runner to a group](/actions/hosting-your-own-runners/managing-access-to-self-hosted-runners-using-groups#moving-a-self-hosted-runner-to-a-group)." -| `org.runner_group_runner_removed` | Triggered when a self-hosted runner is removed from a group. +| `org.runner_group_runner_removed` | Triggered when the REST API is used to remove a self-hosted runner from a group. For more information, see "[Remove a self-hosted runner from a group for an organization](/rest/reference/actions#remove-a-self-hosted-runner-from-a-group-for-an-organization)." #### Events for workflow activities diff --git a/content/actions/reference/authentication-in-a-workflow.md b/content/actions/reference/authentication-in-a-workflow.md index 8805da3d9f..eac1b060d0 100644 --- a/content/actions/reference/authentication-in-a-workflow.md +++ b/content/actions/reference/authentication-in-a-workflow.md @@ -40,7 +40,7 @@ This example workflow uses the [labeler action](https://github.com/actions/label ```yaml name: Pull request labeler on: - - pull_request + - pull_request_target jobs: triage: runs-on: ubuntu-latest diff --git a/content/actions/reference/events-that-trigger-workflows.md b/content/actions/reference/events-that-trigger-workflows.md index 9f3e2327e2..79c9f5bfbc 100644 --- a/content/actions/reference/events-that-trigger-workflows.md +++ b/content/actions/reference/events-that-trigger-workflows.md @@ -43,11 +43,7 @@ The following steps occur to trigger a workflow run: The `schedule` event allows you to trigger a workflow at a scheduled time. -{% note %} - -Note: Due to load, the `schedule` event may be delayed - -{% endnote %} +{% data reusables.actions.schedule-delay %} #### `schedule` @@ -169,7 +165,9 @@ on: ### Webhook events -You can configure your workflow to run when webhook events are created on {% data variables.product.product_name %}. Some events have more than one activity type that triggers the event. If more than one activity type triggers the event, you can specify which activity types will trigger the workflow to run. For more information, see "[Webhooks](/webhooks)." +You can configure your workflow to run when webhook events are generated on {% data variables.product.product_name %}. Some events have more than one activity type that triggers the event. If more than one activity type triggers the event, you can specify which activity types will trigger the workflow to run. For more information, see "[Webhooks](/webhooks)." + +Not all webhook events trigger workflows. For the complete list of available webhook events and their payloads, see "[Webhook events and payloads](/developers/webhooks-and-events/webhook-events-and-payloads)." #### `check_run` @@ -602,7 +600,7 @@ This event runs in the context of the base of the pull request, rather than in t | Webhook event payload | Activity types | `GITHUB_SHA` | `GITHUB_REF` | | --------------------- | -------------- | ------------ | -------------| -| [`pull_request`](/webhooks/event-payloads/#pull_request) | - `assigned`
- `unassigned`
- `labeled`
- `unlabeled`
- `opened`
- `edited`
- `closed`
- `reopened`
- `synchronize`
- `ready_for_review`
- `locked`
- `unlocked`
- `review_requested`
- `review_request_removed` | Last commit on the PR base branch | PR base branch | +| [`pull_request_target`](/webhooks/event-payloads/#pull_request) | - `assigned`
- `unassigned`
- `labeled`
- `unlabeled`
- `opened`
- `edited`
- `closed`
- `reopened`
- `synchronize`
- `ready_for_review`
- `locked`
- `unlocked`
- `review_requested`
- `review_request_removed` | Last commit on the PR base branch | PR base branch | By default, a workflow only runs when a `pull_request_target`'s activity type is `opened`, `synchronize`, or `reopened`. To trigger workflows for more activity types, use the `types` keyword. For more information, see "[Workflow syntax for {% data variables.product.prodname_actions %}](/articles/workflow-syntax-for-github-actions#onevent_nametypes)." @@ -725,12 +723,14 @@ on: {% data reusables.github-actions.branch-requirement %} | Webhook event payload | Activity types | `GITHUB_SHA` | `GITHUB_REF` | -| --------------------- | -------------- | ------------ | -------------| -| [`workflow_run`](/webhooks/event-payloads/#workflow_run) | - n/a | Last commit on default branch | Default branch | +| --------------------- | -------------- | ------------ | -------------| +| [`workflow_run`](/webhooks/event-payloads/#workflow_run) | - `completed`
- `requested` | Last commit on default branch | Default branch | + +{% data reusables.developer-site.limit_workflow_to_activity_types %} If you need to filter branches from this event, you can use `branches` or `branches-ignore`. -In this example, a workflow is configured to run after the separate “Run Tests” workflow completes. +In this example, a workflow is configured to run after the separate "Run Tests" workflow completes. ```yaml on: @@ -744,6 +744,27 @@ on: {% endif %} +To run a workflow job conditionally based on the result of the previous workflow run, you can use the [`jobs..if`](/actions/reference/workflow-syntax-for-github-actions#jobsjob_idif) or [`jobs..steps[*].if`](/actions/reference/workflow-syntax-for-github-actions#jobsjob_idstepsif) conditional combined with the `conclusion` of the previous run. For example: + +```yaml +on: + workflow_run: + workflows: ["Build"] + types: [completed] + +jobs: + on-success: + runs-on: ubuntu-latest + if: {% raw %}${{ github.event.workflow_run.conclusion == 'success' }}{% endraw %} + steps: + ... + on-failure: + runs-on: ubuntu-latest + if: {% raw %}${{ github.event.workflow_run.conclusion == 'failure' }}{% endraw %} + steps: + ... +``` + ### Triggering new workflows using a personal access token {% data reusables.github-actions.actions-do-not-trigger-workflows %} For more information, see "[Authenticating with the GITHUB_TOKEN](/actions/configuring-and-managing-workflows/authenticating-with-the-github_token)." diff --git a/content/actions/reference/usage-limits-billing-and-administration.md b/content/actions/reference/usage-limits-billing-and-administration.md index c59edbf101..2ab089a0ed 100644 --- a/content/actions/reference/usage-limits-billing-and-administration.md +++ b/content/actions/reference/usage-limits-billing-and-administration.md @@ -8,6 +8,8 @@ versions: free-pro-team: '*' enterprise-server: '>=2.22' github-ae: '*' +topics: + - billing --- {% data reusables.actions.enterprise-beta %} diff --git a/content/actions/reference/workflow-syntax-for-github-actions.md b/content/actions/reference/workflow-syntax-for-github-actions.md index 9883e1bca3..c5431f7372 100644 --- a/content/actions/reference/workflow-syntax-for-github-actions.md +++ b/content/actions/reference/workflow-syntax-for-github-actions.md @@ -314,7 +314,6 @@ Available {% data variables.product.prodname_dotcom %}-hosted runner types are: {% data reusables.github-actions.supported-github-runners %} -{% data reusables.github-actions.ubuntu-runner-preview %} {% data reusables.github-actions.macos-runner-preview %} ##### Example diff --git a/content/actions/using-github-hosted-runners/about-ae-hosted-runners.md b/content/actions/using-github-hosted-runners/about-ae-hosted-runners.md index 671310fe96..e64ad9dd84 100644 --- a/content/actions/using-github-hosted-runners/about-ae-hosted-runners.md +++ b/content/actions/using-github-hosted-runners/about-ae-hosted-runners.md @@ -25,6 +25,13 @@ Each workflow job is executed in a fresh instance of the {% data variables.actio To add {% data variables.actions.hosted_runner %}s to your organization or enterprise, see ["Adding {% data variables.actions.hosted_runner %}s](/actions/using-github-hosted-runners/adding-ae-hosted-runners)." +### Pool assignments for {% data variables.actions.hosted_runner %}s + +Your {% data variables.actions.hosted_runner %}s are allocated to the same pool as your {% data variables.product.prodname_ghe_managed %} instance. No other customers have access to this pool, and as a result, {% data variables.actions.hosted_runner %}s are not shared with any other customers. + +### Managing your {% data variables.actions.hosted_runner %}s + +During the {% data variables.actions.hosted_runner %} beta, you can manage your {% data variables.actions.hosted_runner %}s by contacting {% data variables.product.prodname_dotcom %} support. For example, {% data variables.product.prodname_dotcom %} support can assist you with adding a new {% data variables.actions.hosted_runner %}, assigning labels, or moving a {% data variables.actions.hosted_runner %} to a different group. ### Billing diff --git a/content/actions/using-github-hosted-runners/about-github-hosted-runners.md b/content/actions/using-github-hosted-runners/about-github-hosted-runners.md index bbcebb10c5..e31cad845d 100644 --- a/content/actions/using-github-hosted-runners/about-github-hosted-runners.md +++ b/content/actions/using-github-hosted-runners/about-github-hosted-runners.md @@ -34,6 +34,12 @@ You can specify the runner type for each job in a workflow. Each job in a workfl {% data variables.product.prodname_dotcom %} hosts macOS runners in {% data variables.product.prodname_dotcom %}'s own macOS Cloud. +#### Workflow continuity for {% data variables.product.prodname_dotcom %}-hosted runners + +{% data reusables.github-actions.runner-workflow-continuity %} + +In addition, if the workflow run has been successfully queued, but has not been processed by a {% data variables.product.prodname_dotcom %}-hosted runner within 45 minutes, then the queued workflow run is discarded. + #### Administrative privileges of {% data variables.product.prodname_dotcom %}-hosted runners The Linux and macOS virtual machines both run using passwordless `sudo`. When you need to execute commands or install tools that require more privileges than the current user, you can use `sudo` without needing to provide a password. For more information, see the "[Sudo Manual](https://www.sudo.ws/man/1.8.27/sudo.man.html)." @@ -42,7 +48,6 @@ Windows virtual machines are configured to run as administrators with User Accou ### Supported runners and hardware resources - Hardware specification for Windows and Linux virtual machines: - 2-core CPU - 7 GB of RAM memory @@ -55,7 +60,6 @@ Hardware specification for macOS virtual machines: {% data reusables.github-actions.supported-github-runners %} -{% data reusables.github-actions.ubuntu-runner-preview %} {% data reusables.github-actions.macos-runner-preview %} Workflow logs list the runner used to run a job. For more information, see "[Viewing workflow run history](/actions/managing-workflow-runs/viewing-workflow-run-history)." diff --git a/content/admin/authentication/allowing-built-in-authentication-for-users-outside-your-identity-provider.md b/content/admin/authentication/allowing-built-in-authentication-for-users-outside-your-identity-provider.md index c1ccb9a417..097850a133 100644 --- a/content/admin/authentication/allowing-built-in-authentication-for-users-outside-your-identity-provider.md +++ b/content/admin/authentication/allowing-built-in-authentication-for-users-outside-your-identity-provider.md @@ -6,6 +6,8 @@ redirect_from: - /enterprise/admin/authentication/allowing-built-in-authentication-for-users-outside-your-identity-provider versions: enterprise-server: '*' +topics: + - enterprise --- ### About built-in authentication for users outside your identity provider diff --git a/content/admin/authentication/authenticating-users-for-your-github-enterprise-server-instance.md b/content/admin/authentication/authenticating-users-for-your-github-enterprise-server-instance.md index e21b5d8ae4..cc0d48b47c 100644 --- a/content/admin/authentication/authenticating-users-for-your-github-enterprise-server-instance.md +++ b/content/admin/authentication/authenticating-users-for-your-github-enterprise-server-instance.md @@ -11,5 +11,7 @@ redirect_from: mapTopic: true versions: enterprise-server: '*' +topics: + - enterprise --- diff --git a/content/admin/authentication/changing-authentication-methods.md b/content/admin/authentication/changing-authentication-methods.md index b3f8f58c05..b9a864ebe2 100644 --- a/content/admin/authentication/changing-authentication-methods.md +++ b/content/admin/authentication/changing-authentication-methods.md @@ -6,6 +6,8 @@ redirect_from: - /enterprise/admin/authentication/changing-authentication-methods versions: enterprise-server: '*' +topics: + - enterprise --- User accounts on {% data variables.product.product_location %} are preserved when you change the authentication method and users will continue to log into the same account as long as their username doesn't change. diff --git a/content/admin/authentication/disabling-unauthenticated-sign-ups.md b/content/admin/authentication/disabling-unauthenticated-sign-ups.md index 5987411ce0..cd9861decc 100644 --- a/content/admin/authentication/disabling-unauthenticated-sign-ups.md +++ b/content/admin/authentication/disabling-unauthenticated-sign-ups.md @@ -7,6 +7,8 @@ redirect_from: intro: 'If you''re using built-in authentication, you can block unauthenticated people from being able to create an account.' versions: enterprise-server: '*' +topics: + - enterprise --- {% data reusables.enterprise_site_admin_settings.access-settings %} diff --git a/content/admin/authentication/index.md b/content/admin/authentication/index.md index deacdaf76f..b55ee5094f 100644 --- a/content/admin/authentication/index.md +++ b/content/admin/authentication/index.md @@ -1,11 +1,13 @@ --- title: Authentication -intro: You can configure how users sign into {% data variables.product.product_name %}. +intro: 'You can configure how users sign into {% data variables.product.product_name %}.' redirect_from: - /enterprise/admin/authentication versions: enterprise-server: '*' github-ae: '*' +topics: + - enterprise --- diff --git a/content/admin/authentication/using-built-in-authentication.md b/content/admin/authentication/using-built-in-authentication.md index 4df510e488..0e05f30cd0 100644 --- a/content/admin/authentication/using-built-in-authentication.md +++ b/content/admin/authentication/using-built-in-authentication.md @@ -6,6 +6,8 @@ redirect_from: - /enterprise/admin/authentication/using-built-in-authentication versions: enterprise-server: '*' +topics: + - enterprise --- You can create custom messages that users will see on the sign in and sign out pages. For more information, see "[Customizing user messages on your instance](/enterprise/admin/user-management/customizing-user-messages-on-your-instance)." diff --git a/content/admin/authentication/using-cas.md b/content/admin/authentication/using-cas.md index fa765d66b8..d5c2985090 100644 --- a/content/admin/authentication/using-cas.md +++ b/content/admin/authentication/using-cas.md @@ -8,6 +8,8 @@ redirect_from: intro: 'CAS is a single sign-on (SSO) protocol for multiple web applications. A CAS user account does not take up a {% if currentVersion ver_gt "enterprise-server@2.16" %}user license{% else %}seat{% endif %} until the user signs in.' versions: enterprise-server: '*' +topics: + - enterprise --- {% data reusables.enterprise_user_management.built-in-authentication %} diff --git a/content/admin/authentication/using-ldap.md b/content/admin/authentication/using-ldap.md index 959c6df2fb..53858a708b 100644 --- a/content/admin/authentication/using-ldap.md +++ b/content/admin/authentication/using-ldap.md @@ -11,6 +11,8 @@ redirect_from: intro: 'LDAP lets you authenticate {% data variables.product.prodname_ghe_server %} against your existing accounts and centrally manage repository access. LDAP is a popular application protocol for accessing and maintaining directory information services, and is one of the most common protocols used to integrate third-party software with large company user directories.' versions: enterprise-server: '*' +topics: + - enterprise --- {% data reusables.enterprise_user_management.built-in-authentication %} diff --git a/content/admin/authentication/using-saml.md b/content/admin/authentication/using-saml.md index e4cdd3808e..2da3fd18cc 100644 --- a/content/admin/authentication/using-saml.md +++ b/content/admin/authentication/using-saml.md @@ -8,6 +8,8 @@ redirect_from: intro: 'SAML is an XML-based standard for authentication and authorization. {% data variables.product.prodname_ghe_server %} can act as a service provider (SP) with your internal SAML identity provider (IdP).' versions: enterprise-server: '*' +topics: + - enterprise --- {% data reusables.enterprise_user_management.built-in-authentication %} diff --git a/content/admin/configuration/about-enterprise-configuration.md b/content/admin/configuration/about-enterprise-configuration.md index 8f90db0622..1436036526 100644 --- a/content/admin/configuration/about-enterprise-configuration.md +++ b/content/admin/configuration/about-enterprise-configuration.md @@ -4,6 +4,8 @@ intro: 'You can use the site admin dashboard{% if enterpriseServerVersions conta versions: enterprise-server: '*' github-ae: '*' +topics: + - enterprise --- {% if enterpriseServerVersions contains currentVersion %} diff --git a/content/admin/configuration/accessing-the-administrative-shell-ssh.md b/content/admin/configuration/accessing-the-administrative-shell-ssh.md index 73cf3530c7..939c25bd37 100644 --- a/content/admin/configuration/accessing-the-administrative-shell-ssh.md +++ b/content/admin/configuration/accessing-the-administrative-shell-ssh.md @@ -13,6 +13,8 @@ redirect_from: intro: '{% data reusables.enterprise_site_admin_settings.about-ssh-access %}' versions: enterprise-server: '*' +topics: + - enterprise --- ### About administrative shell access diff --git a/content/admin/configuration/accessing-the-management-console.md b/content/admin/configuration/accessing-the-management-console.md index 94a312d877..62921a128c 100644 --- a/content/admin/configuration/accessing-the-management-console.md +++ b/content/admin/configuration/accessing-the-management-console.md @@ -12,6 +12,8 @@ redirect_from: - /enterprise/admin/configuration/accessing-the-management-console versions: enterprise-server: '*' +topics: + - enterprise --- ### About the {% data variables.enterprise.management_console %} diff --git a/content/admin/configuration/command-line-utilities.md b/content/admin/configuration/command-line-utilities.md index d10388e2f9..6abacadb3c 100644 --- a/content/admin/configuration/command-line-utilities.md +++ b/content/admin/configuration/command-line-utilities.md @@ -9,6 +9,8 @@ redirect_from: miniTocMaxHeadingLevel: 4 versions: enterprise-server: '*' +topics: + - enterprise --- You can execute these commands from anywhere on the VM after signing in as an SSH admin user. For more information, see "[Accessing the administrative shell (SSH)](/enterprise/{{ currentVersion }}/admin/guides/installation/accessing-the-administrative-shell-ssh/)." diff --git a/content/admin/configuration/configuring-a-hostname.md b/content/admin/configuration/configuring-a-hostname.md index 3e7bd4b662..981e4abd9f 100644 --- a/content/admin/configuration/configuring-a-hostname.md +++ b/content/admin/configuration/configuring-a-hostname.md @@ -7,6 +7,8 @@ redirect_from: - /enterprise/admin/configuration/configuring-a-hostname versions: enterprise-server: '*' +topics: + - enterprise --- If you configure a hostname instead of a hard-coded IP address, you will be able to change the physical hardware that {% data variables.product.product_location %} runs on without affecting users or client software. diff --git a/content/admin/configuration/configuring-advanced-security-features.md b/content/admin/configuration/configuring-advanced-security-features.md index e9a8a1113f..353c1e4246 100644 --- a/content/admin/configuration/configuring-advanced-security-features.md +++ b/content/admin/configuration/configuring-advanced-security-features.md @@ -7,5 +7,7 @@ redirect_from: - /enterprise/admin/configuration/configuring-advanced-security-features versions: enterprise-server: '>=2.22' +topics: + - enterprise --- diff --git a/content/admin/configuration/configuring-an-outbound-web-proxy-server.md b/content/admin/configuration/configuring-an-outbound-web-proxy-server.md index 8a398553fa..b58ca8f400 100644 --- a/content/admin/configuration/configuring-an-outbound-web-proxy-server.md +++ b/content/admin/configuration/configuring-an-outbound-web-proxy-server.md @@ -7,6 +7,8 @@ redirect_from: - /enterprise/admin/configuration/configuring-an-outbound-web-proxy-server versions: enterprise-server: '*' +topics: + - enterprise --- When a proxy server is enabled for {% data variables.product.product_location %}, outbound messages sent by {% data variables.product.prodname_ghe_server %} are first sent through the proxy server, unless the destination host is added as an HTTP proxy exclusion. Types of outbound messages include outgoing webhooks, uploading bundles, and fetching legacy avatars. The proxy server's URL is the protocol, domain or IP address, plus the port number, for example `http://127.0.0.1:8123`. diff --git a/content/admin/configuration/configuring-applications.md b/content/admin/configuration/configuring-applications.md index 534c4c76d9..da0908fc88 100644 --- a/content/admin/configuration/configuring-applications.md +++ b/content/admin/configuration/configuring-applications.md @@ -6,6 +6,8 @@ redirect_from: - /enterprise/admin/configuration/configuring-applications versions: enterprise-server: '*' +topics: + - enterprise --- ### Adjusting image caching diff --git a/content/admin/configuration/configuring-backups-on-your-appliance.md b/content/admin/configuration/configuring-backups-on-your-appliance.md index dbea15fc26..62754fac24 100644 --- a/content/admin/configuration/configuring-backups-on-your-appliance.md +++ b/content/admin/configuration/configuring-backups-on-your-appliance.md @@ -15,6 +15,8 @@ redirect_from: intro: 'As part of a disaster recovery plan, you can protect production data on {% data variables.product.product_location %} by configuring automated backups.' versions: enterprise-server: '*' +topics: + - enterprise --- ### About {% data variables.product.prodname_enterprise_backup_utilities %} diff --git a/content/admin/configuration/configuring-built-in-firewall-rules.md b/content/admin/configuration/configuring-built-in-firewall-rules.md index 1ee5bcda80..73415a9df1 100644 --- a/content/admin/configuration/configuring-built-in-firewall-rules.md +++ b/content/admin/configuration/configuring-built-in-firewall-rules.md @@ -7,6 +7,8 @@ redirect_from: - /enterprise/admin/configuration/configuring-built-in-firewall-rules versions: enterprise-server: '*' +topics: + - enterprise --- ### About {% data variables.product.product_location %}'s firewall diff --git a/content/admin/configuration/configuring-code-scanning-for-your-appliance.md b/content/admin/configuration/configuring-code-scanning-for-your-appliance.md index 7b579bfe1d..65c147cfb7 100644 --- a/content/admin/configuration/configuring-code-scanning-for-your-appliance.md +++ b/content/admin/configuration/configuring-code-scanning-for-your-appliance.md @@ -8,6 +8,8 @@ redirect_from: - /enterprise/admin/configuration/configuring-code-scanning-for-your-appliance versions: enterprise-server: '>=2.22' +topics: + - enterprise --- {% data reusables.code-scanning.beta %} @@ -50,25 +52,35 @@ For the users of {% data variables.product.product_location %} to be able to ena You must ensure that Git is in the PATH variable on any self-hosted runners you use to run {% data variables.product.prodname_codeql %} actions. -{% if currentVersion == "enterprise-server@2.22" %} #### Provisioning the actions + +{% if currentVersion ver_gt "enterprise-server@2.22" %} +If you want to use actions to run {% data variables.product.prodname_code_scanning %} on {% data variables.product.prodname_ghe_server %}, the actions must be available on your appliance. + +The {% data variables.product.prodname_codeql %} action is included in your installation of {% data variables.product.prodname_ghe_server %}. If {% data variables.product.prodname_ghe_server %} has access to the internet, the action will automatically download the {% data variables.product.prodname_codeql %} bundle required to perform analysis. Alternatively, you can use a synchronization tool to make the {% data variables.product.prodname_codeql %} analysis bundle available locally. For more information, see "[Configuring {% data variables.product.prodname_codeql %} analysis on a server without internet access](#configuring-codeql-analysis-on-a-server-without-internet-access)" below. + +You can also make third-party actions available to users for {% data variables.product.prodname_code_scanning %}, by setting up {% data variables.product.prodname_github_connect %}. For more information, see "[Configuring {% data variables.product.prodname_github_connect %} to sync {% data variables.product.prodname_actions %}](/enterprise/admin/configuration/configuring-code-scanning-for-your-appliance#configuring-github-connect-to-sync-github-actions)" below. + +#### Configuring {% data variables.product.prodname_codeql %} analysis on a server without internet access +If the server on which you are running {% data variables.product.prodname_ghe_server %} is not connected to the internet, and you want to allow users to enable {% data variables.product.prodname_codeql %} {% data variables.product.prodname_code_scanning %} for their repositories, you must use the {% data variables.product.prodname_codeql %} action sync tool to copy the {% data variables.product.prodname_codeql %} analysis bundle from {% data variables.product.prodname_dotcom_the_website %} to your server. The tool, and details of how to use it, are available at [https://github.com/github/codeql-action-sync-tool](https://github.com/github/codeql-action-sync-tool/). + +If you set up the {% data variables.product.prodname_codeql %} action sync tool, you can use it to sync the latest releases of the {% data variables.product.prodname_codeql %} action and associated {% data variables.product.prodname_codeql %} analysis bundle. These are compatible with {% data variables.product.prodname_ghe_server %}. + +{% endif %} + +{% if currentVersion == "enterprise-server@2.22" %} To run {% data variables.product.prodname_code_scanning %} on {% data variables.product.prodname_ghe_server %} with {% data variables.product.prodname_actions %}, the appropriate actions must be available locally. You can make the actions available in three ways. - **Recommended**: You can use [{% data variables.product.prodname_github_connect %}](/enterprise/admin/configuration/connecting-github-enterprise-server-to-github-enterprise-cloud) to automatically download actions from {% data variables.product.prodname_dotcom_the_website %}. The machine that hosts your instance must be able to access {% data variables.product.prodname_dotcom_the_website %}. This approach ensures that you get the latest software automatically. For more information, see "[Configuring {% data variables.product.prodname_github_connect %} to sync {% data variables.product.prodname_actions %}](/enterprise/admin/configuration/configuring-code-scanning-for-your-appliance#configuring-github-connect-to-sync-github-actions)." - If you want to use the {% data variables.product.prodname_codeql_workflow %}, you can sync the repository from {% data variables.product.prodname_dotcom_the_website %} to {% data variables.product.prodname_ghe_server %}, by using the {% data variables.product.prodname_codeql %} Action sync tool available at [https://github.com/github/codeql-action-sync-tool](https://github.com/github/codeql-action-sync-tool/). You can use this tool regardless of whether {% data variables.product.product_location %} or your {% data variables.product.prodname_actions %} runners have access to the internet, as long as you can access both {% data variables.product.product_location %} and {% data variables.product.prodname_dotcom_the_website %} simultaneously on your computer. -- You can create a local copy of an action's repository on your server, by cloning the {% data variables.product.prodname_dotcom_the_website %} repository that contains the action. For example, if you want to use the actions for {% data variables.product.prodname_codeql %} {% data variables.product.prodname_code_scanning %}, you can create a repository in your instance called `github/codeql-action`, then clone the [repository](https://github.com/github/codeql-action) from {% data variables.product.prodname_dotcom_the_website %}, and then push that repository to your instance's `github/codeql-action` repository. You will also need to download any of the releases from the repository on {% data variables.product.prodname_dotcom_the_website %} and upload them to your instance's `github/codeql-action` repository as releases. +- You can create a local copy of an action's repository on your server, by cloning the {% data variables.product.prodname_dotcom_the_website %} repository that contains the action. For example, if you want to use the actions for {% data variables.product.prodname_codeql %} {% data variables.product.prodname_code_scanning %}, you can create a repository in your instance called `github/codeql-action`, then clone the [repository](https://github.com/github/codeql-action) from {% data variables.product.prodname_dotcom_the_website %}, and then push that repository to your instance's `github/codeql-action` repository. You will also need to download any of the releases from the repository on {% data variables.product.prodname_dotcom_the_website %} and upload them to your instance's `github/codeql-action` repository as releases. +{% endif %} -##### Configuring {% data variables.product.prodname_github_connect %} to sync {% data variables.product.prodname_actions %} +#### Configuring {% data variables.product.prodname_github_connect %} to sync {% data variables.product.prodname_actions %} 1. If you want to download action workflows on demand from {% data variables.product.prodname_dotcom_the_website %}, you need to enable {% data variables.product.prodname_github_connect %}. For more information, see "[Enabling {% data variables.product.prodname_github_connect %}](/enterprise/admin/configuration/connecting-github-enterprise-server-to-github-enterprise-cloud#enabling-github-connect)." 2. You'll also need to enable {% data variables.product.prodname_actions %} for {% data variables.product.product_location %}. For more information, see "[Getting started with {% data variables.product.prodname_actions %} for {% data variables.product.prodname_ghe_server %}](/admin/github-actions/getting-started-with-github-actions-for-github-enterprise-server)." 3. The next step is to configure access to actions on {% data variables.product.prodname_dotcom_the_website %} using {% data variables.product.prodname_github_connect %}. For more information, see "[Enabling automatic access to {% data variables.product.prodname_dotcom_the_website %} actions using {% data variables.product.prodname_github_connect %}](/enterprise/admin/github-actions/enabling-automatic-access-to-githubcom-actions-using-github-connect)." 4. Add a self-hosted runner to your repository, organization, or enterprise account. For more information, see "[Adding self-hosted runners](/actions/hosting-your-own-runners/adding-self-hosted-runners)." -{% endif %} - -{% if currentVersion ver_gt "enterprise-server@2.22" %} -#### Configuring {% data variables.product.prodname_codeql %} on a server without internet access -If the server on which you are running {% data variables.product.prodname_ghe_server %} is not connected to the internet, and you want to allow users to enable {% data variables.product.prodname_codeql %} {% data variables.product.prodname_code_scanning %} for their repositories, you must use the {% data variables.product.prodname_codeql %} Action sync tool to copy the {% data variables.product.prodname_codeql %} actions and query bundle from {% data variables.product.prodname_dotcom_the_website %} to your server. The tool, and details of how to use it, are available at [https://github.com/github/codeql-action-sync-tool](https://github.com/github/codeql-action-sync-tool/). -{% endif %} #### Enabling code scanning for individual repositories After you configure a self-hosted runner, {% if currentVersion == "enterprise-server@2.22" %}and provision the actions,{% endif %} users can enable {% data variables.product.prodname_code_scanning %} for individual repositories on {% data variables.product.product_location %}. For more information, see "[Setting up {% data variables.product.prodname_code_scanning %} for a repository](/github/finding-security-vulnerabilities-and-errors-in-your-code/setting-up-code-scanning-for-a-repository)." diff --git a/content/admin/configuration/configuring-dns-nameservers.md b/content/admin/configuration/configuring-dns-nameservers.md index 5e3dd8edbf..89d69a723c 100644 --- a/content/admin/configuration/configuring-dns-nameservers.md +++ b/content/admin/configuration/configuring-dns-nameservers.md @@ -7,6 +7,8 @@ redirect_from: - /enterprise/admin/configuration/configuring-dns-nameservers versions: enterprise-server: '*' +topics: + - enterprise --- The nameservers you specify must resolve {% data variables.product.product_location %}'s hostname. diff --git a/content/admin/configuration/configuring-email-for-notifications.md b/content/admin/configuration/configuring-email-for-notifications.md index 665d0177ca..25ae0e9c52 100644 --- a/content/admin/configuration/configuring-email-for-notifications.md +++ b/content/admin/configuration/configuring-email-for-notifications.md @@ -1,6 +1,6 @@ --- title: Configuring email for notifications -intro: To make it easy for users to respond quickly to activity on {% data variables.product.product_name %}, you can configure {% data variables.product.product_location %} to send email notifications for issue, pull request, and commit comments. +intro: 'To make it easy for users to respond quickly to activity on {% data variables.product.product_name %}, you can configure {% data variables.product.product_location %} to send email notifications for issue, pull request, and commit comments.' redirect_from: - /enterprise/admin/guides/installation/email-configuration/ - /enterprise/admin/articles/configuring-email/ @@ -10,6 +10,8 @@ redirect_from: versions: enterprise-server: '*' github-ae: '*' +topics: + - enterprise --- {% if currentVersion == "github-ae@latest" %} diff --git a/content/admin/configuration/configuring-github-pages-for-your-enterprise.md b/content/admin/configuration/configuring-github-pages-for-your-enterprise.md index 29a92ff609..3a27d659cc 100644 --- a/content/admin/configuration/configuring-github-pages-for-your-enterprise.md +++ b/content/admin/configuration/configuring-github-pages-for-your-enterprise.md @@ -11,6 +11,8 @@ redirect_from: versions: enterprise-server: '*' github-ae: '*' +topics: + - enterprise --- ### Enabling public sites for {% data variables.product.prodname_pages %} diff --git a/content/admin/configuration/configuring-network-settings.md b/content/admin/configuration/configuring-network-settings.md index b5d7abf7e0..fe94a7b2b0 100644 --- a/content/admin/configuration/configuring-network-settings.md +++ b/content/admin/configuration/configuring-network-settings.md @@ -11,5 +11,7 @@ intro: 'Configure {% data variables.product.prodname_ghe_server %} with the DNS mapTopic: true versions: enterprise-server: '*' +topics: + - enterprise --- diff --git a/content/admin/configuration/configuring-rate-limits.md b/content/admin/configuration/configuring-rate-limits.md index 5cffccdf16..46f56ef79e 100644 --- a/content/admin/configuration/configuring-rate-limits.md +++ b/content/admin/configuration/configuring-rate-limits.md @@ -6,6 +6,8 @@ redirect_from: - /enterprise/admin/configuration/configuring-rate-limits versions: enterprise-server: '*' +topics: + - enterprise --- ### Enabling rate limits for {% data variables.product.prodname_enterprise_api %} diff --git a/content/admin/configuration/configuring-secret-scanning-for-your-appliance.md b/content/admin/configuration/configuring-secret-scanning-for-your-appliance.md index b806b45f29..361702b4b3 100644 --- a/content/admin/configuration/configuring-secret-scanning-for-your-appliance.md +++ b/content/admin/configuration/configuring-secret-scanning-for-your-appliance.md @@ -6,6 +6,8 @@ product: '{% data reusables.gated-features.secret-scanning %}' miniTocMaxHeadingLevel: 4 versions: enterprise-server: '>=3.0' +topics: + - enterprise --- {% data reusables.secret-scanning.beta %} diff --git a/content/admin/configuration/configuring-the-ip-address-using-the-virtual-machine-console.md b/content/admin/configuration/configuring-the-ip-address-using-the-virtual-machine-console.md index c8b25b42dc..f814b48cf9 100644 --- a/content/admin/configuration/configuring-the-ip-address-using-the-virtual-machine-console.md +++ b/content/admin/configuration/configuring-the-ip-address-using-the-virtual-machine-console.md @@ -6,6 +6,8 @@ redirect_from: - /enterprise/admin/configuration/configuring-the-ip-address-using-the-virtual-machine-console versions: enterprise-server: '*' +topics: + - enterprise --- {% note %} diff --git a/content/admin/configuration/configuring-time-synchronization.md b/content/admin/configuration/configuring-time-synchronization.md index d9042f873d..a71272ab86 100644 --- a/content/admin/configuration/configuring-time-synchronization.md +++ b/content/admin/configuration/configuring-time-synchronization.md @@ -10,6 +10,8 @@ redirect_from: - /enterprise/admin/configuration/configuring-time-synchronization versions: enterprise-server: '*' +topics: + - enterprise --- ### Changing the default NTP servers diff --git a/content/admin/configuration/configuring-tls.md b/content/admin/configuration/configuring-tls.md index fd106938d1..4b9d1bb375 100644 --- a/content/admin/configuration/configuring-tls.md +++ b/content/admin/configuration/configuring-tls.md @@ -8,6 +8,8 @@ redirect_from: - /enterprise/admin/configuration/configuring-tls versions: enterprise-server: '*' +topics: + - enterprise --- ### About Transport Layer Security diff --git a/content/admin/configuration/configuring-your-enterprise.md b/content/admin/configuration/configuring-your-enterprise.md index 5afbbe1751..641f5e6109 100644 --- a/content/admin/configuration/configuring-your-enterprise.md +++ b/content/admin/configuration/configuring-your-enterprise.md @@ -1,6 +1,6 @@ --- title: Configuring your enterprise -intro: "After {% data variables.product.product_name %} is up and running, you can configure your enterprise to suit your organization's needs." +intro: 'After {% data variables.product.product_name %} is up and running, you can configure your enterprise to suit your organization''s needs.' redirect_from: - /enterprise/admin/guides/installation/basic-configuration/ - /enterprise/admin/guides/installation/administrative-tools/ @@ -12,5 +12,7 @@ mapTopic: true versions: enterprise-server: '*' github-ae: '*' +topics: + - enterprise --- diff --git a/content/admin/configuration/connecting-github-enterprise-server-to-github-enterprise-cloud.md b/content/admin/configuration/connecting-github-enterprise-server-to-github-enterprise-cloud.md index f3e412341c..30be76ad51 100644 --- a/content/admin/configuration/connecting-github-enterprise-server-to-github-enterprise-cloud.md +++ b/content/admin/configuration/connecting-github-enterprise-server-to-github-enterprise-cloud.md @@ -10,6 +10,8 @@ redirect_from: permissions: 'Site administrators for {% data variables.product.prodname_ghe_server %} who are also owners of a {% data variables.product.prodname_ghe_cloud %} organization or enterprise account can enable {% data variables.product.prodname_github_connect %}.' versions: enterprise-server: '*' +topics: + - enterprise --- ### About {% data variables.product.prodname_github_connect %} diff --git a/content/admin/configuration/enabling-alerts-for-vulnerable-dependencies-on-github-enterprise-server.md b/content/admin/configuration/enabling-alerts-for-vulnerable-dependencies-on-github-enterprise-server.md index 8d25c497ef..3311ca6605 100644 --- a/content/admin/configuration/enabling-alerts-for-vulnerable-dependencies-on-github-enterprise-server.md +++ b/content/admin/configuration/enabling-alerts-for-vulnerable-dependencies-on-github-enterprise-server.md @@ -8,6 +8,8 @@ redirect_from: permissions: 'Site administrators for {% data variables.product.prodname_ghe_server %} who are also owners of the connected {% data variables.product.prodname_ghe_cloud %} organization or enterprise account can enable {% if currentVersion ver_gt "enterprise-server@2.21" %}{% data variables.product.prodname_dependabot %}{% else %}security{% endif %} alerts for vulnerable dependencies on {% data variables.product.prodname_ghe_server %}.' versions: enterprise-server: '*' +topics: + - enterprise --- ### About alerts for vulnerable dependencies on {% data variables.product.prodname_ghe_server %} diff --git a/content/admin/configuration/enabling-and-scheduling-maintenance-mode.md b/content/admin/configuration/enabling-and-scheduling-maintenance-mode.md index 832241da5f..52dfaa160b 100644 --- a/content/admin/configuration/enabling-and-scheduling-maintenance-mode.md +++ b/content/admin/configuration/enabling-and-scheduling-maintenance-mode.md @@ -12,6 +12,8 @@ redirect_from: - /enterprise/admin/configuration/enabling-and-scheduling-maintenance-mode versions: enterprise-server: '*' +topics: + - enterprise --- ### About maintenance mode diff --git a/content/admin/configuration/enabling-automatic-user-license-sync-between-github-enterprise-server-and-github-enterprise-cloud.md b/content/admin/configuration/enabling-automatic-user-license-sync-between-github-enterprise-server-and-github-enterprise-cloud.md index a320a62917..3c161a3171 100644 --- a/content/admin/configuration/enabling-automatic-user-license-sync-between-github-enterprise-server-and-github-enterprise-cloud.md +++ b/content/admin/configuration/enabling-automatic-user-license-sync-between-github-enterprise-server-and-github-enterprise-cloud.md @@ -7,6 +7,8 @@ redirect_from: permissions: 'Site administrators for {% data variables.product.prodname_ghe_server %} who are also owners of the connected {% data variables.product.prodname_ghe_cloud %} organization or enterprise account can enable automatic user license synchronization.' versions: enterprise-server: '*' +topics: + - enterprise --- ### About license synchronization diff --git a/content/admin/configuration/enabling-private-mode.md b/content/admin/configuration/enabling-private-mode.md index 831e440b7f..1e32ab673f 100644 --- a/content/admin/configuration/enabling-private-mode.md +++ b/content/admin/configuration/enabling-private-mode.md @@ -9,6 +9,8 @@ redirect_from: - /enterprise/admin/configuration/enabling-private-mode versions: enterprise-server: '*' +topics: + - enterprise --- You must enable private mode if {% data variables.product.product_location %} is publicly accessible over the Internet. In private mode, users cannot anonymously clone repositories over `git://`. If built-in authentication is also enabled, an administrator must invite new users to create an account on the instance. For more information, see "[Using built-in authentication](/enterprise/{{ currentVersion }}/admin/guides/user-management/using-built-in-authentication)." diff --git a/content/admin/configuration/enabling-subdomain-isolation.md b/content/admin/configuration/enabling-subdomain-isolation.md index 76012af69f..782d4033e7 100644 --- a/content/admin/configuration/enabling-subdomain-isolation.md +++ b/content/admin/configuration/enabling-subdomain-isolation.md @@ -7,6 +7,8 @@ redirect_from: - /enterprise/admin/configuration/enabling-subdomain-isolation versions: enterprise-server: '*' +topics: + - enterprise --- ### About subdomain isolation diff --git a/content/admin/configuration/enabling-unified-contributions-between-github-enterprise-server-and-githubcom.md b/content/admin/configuration/enabling-unified-contributions-between-github-enterprise-server-and-githubcom.md index 7c85654bea..2d609c74fb 100644 --- a/content/admin/configuration/enabling-unified-contributions-between-github-enterprise-server-and-githubcom.md +++ b/content/admin/configuration/enabling-unified-contributions-between-github-enterprise-server-and-githubcom.md @@ -10,6 +10,8 @@ redirect_from: permissions: 'Site administrators for {% data variables.product.prodname_ghe_server %} who are also owners of the connected {% data variables.product.prodname_ghe_cloud %} organization or enterprise account can enable unified contributions between {% data variables.product.prodname_ghe_server %} and {% data variables.product.prodname_dotcom_the_website %}.' versions: enterprise-server: '*' +topics: + - enterprise --- As a site administrator, you can allow end users to send anonymized contribution counts for their work from {% data variables.product.prodname_ghe_server %} to their {% data variables.product.prodname_dotcom_the_website %} contribution graph. diff --git a/content/admin/configuration/enabling-unified-search-between-github-enterprise-server-and-githubcom.md b/content/admin/configuration/enabling-unified-search-between-github-enterprise-server-and-githubcom.md index 33130ca6fe..d34e2ebdba 100644 --- a/content/admin/configuration/enabling-unified-search-between-github-enterprise-server-and-githubcom.md +++ b/content/admin/configuration/enabling-unified-search-between-github-enterprise-server-and-githubcom.md @@ -10,6 +10,8 @@ redirect_from: permissions: 'Site administrators for {% data variables.product.prodname_ghe_server %} who are also owners of the connected {% data variables.product.prodname_ghe_cloud %} organization or enterprise account can enable unified search between {% data variables.product.prodname_ghe_server %} and {% data variables.product.prodname_dotcom_the_website %}.' versions: enterprise-server: '*' +topics: + - enterprise --- When you enable unified search, users can view search results from public and private content on {% data variables.product.prodname_dotcom_the_website %} when searching from {% data variables.product.product_location_enterprise %}. diff --git a/content/admin/configuration/index.md b/content/admin/configuration/index.md index ee042551f2..1cfa0079a8 100644 --- a/content/admin/configuration/index.md +++ b/content/admin/configuration/index.md @@ -1,12 +1,14 @@ --- title: Configuring GitHub Enterprise shortTitle: Configuring GitHub Enterprise -intro: "You can configure your enterprise to suit your organization's needs." +intro: You can configure your enterprise to suit your organization's needs. redirect_from: - /enterprise/admin/configuration versions: enterprise-server: '*' github-ae: '*' +topics: + - enterprise --- {% if currentVersion ver_gt "enterprise-server@2.21" %} diff --git a/content/admin/configuration/managing-connections-between-github-enterprise-server-and-github-enterprise-cloud.md b/content/admin/configuration/managing-connections-between-github-enterprise-server-and-github-enterprise-cloud.md index 63e4e25bee..1fd17e838e 100644 --- a/content/admin/configuration/managing-connections-between-github-enterprise-server-and-github-enterprise-cloud.md +++ b/content/admin/configuration/managing-connections-between-github-enterprise-server-and-github-enterprise-cloud.md @@ -11,5 +11,7 @@ redirect_from: - /enterprise/admin/configuration/managing-connections-between-github-enterprise-server-and-github-enterprise-cloud versions: enterprise-server: '*' +topics: + - enterprise --- diff --git a/content/admin/configuration/managing-github-for-mobile-for-your-enterprise.md b/content/admin/configuration/managing-github-for-mobile-for-your-enterprise.md index 66de92b8f4..fb7b3fe2dc 100644 --- a/content/admin/configuration/managing-github-for-mobile-for-your-enterprise.md +++ b/content/admin/configuration/managing-github-for-mobile-for-your-enterprise.md @@ -1,9 +1,11 @@ --- title: Managing GitHub for mobile for your enterprise -intro: You can decide whether authenticated users can connect to {% data variables.product.product_location %} with {% data variables.product.prodname_mobile %}. -permissions: Enterprise owners can manage {% data variables.product.prodname_mobile %} for an enterprise on {% data variables.product.product_name %}. +intro: 'You can decide whether authenticated users can connect to {% data variables.product.product_location %} with {% data variables.product.prodname_mobile %}.' +permissions: 'Enterprise owners can manage {% data variables.product.prodname_mobile %} for an enterprise on {% data variables.product.product_name %}.' versions: enterprise-server: '>=3.0' +topics: + - enterprise --- {% if enterpriseServerVersions contains currentVersion %} diff --git a/content/admin/configuration/network-ports.md b/content/admin/configuration/network-ports.md index 9a4688b5f2..22f578d8d3 100644 --- a/content/admin/configuration/network-ports.md +++ b/content/admin/configuration/network-ports.md @@ -10,6 +10,8 @@ redirect_from: intro: 'Open network ports selectively based on the network services you need to expose for administrators, end users, and email support.' versions: enterprise-server: '*' +topics: + - enterprise --- ### Administrative ports diff --git a/content/admin/configuration/site-admin-dashboard.md b/content/admin/configuration/site-admin-dashboard.md index da953a8cd3..df0c325292 100644 --- a/content/admin/configuration/site-admin-dashboard.md +++ b/content/admin/configuration/site-admin-dashboard.md @@ -7,6 +7,8 @@ redirect_from: - /enterprise/admin/configuration/site-admin-dashboard versions: enterprise-server: '*' +topics: + - enterprise --- To access the dashboard, in the upper-right corner of any page, click {% octicon "rocket" aria-label="The rocket ship" %}. diff --git a/content/admin/configuration/troubleshooting-ssl-errors.md b/content/admin/configuration/troubleshooting-ssl-errors.md index 61c4bb3ce9..8271cc47b2 100644 --- a/content/admin/configuration/troubleshooting-ssl-errors.md +++ b/content/admin/configuration/troubleshooting-ssl-errors.md @@ -8,6 +8,8 @@ redirect_from: - /enterprise/admin/configuration/troubleshooting-ssl-errors versions: enterprise-server: '*' +topics: + - enterprise --- ### Removing the passphrase from your key file diff --git a/content/admin/configuration/using-github-enterprise-server-with-a-load-balancer.md b/content/admin/configuration/using-github-enterprise-server-with-a-load-balancer.md index 539b679d73..869cc35ff0 100644 --- a/content/admin/configuration/using-github-enterprise-server-with-a-load-balancer.md +++ b/content/admin/configuration/using-github-enterprise-server-with-a-load-balancer.md @@ -7,6 +7,8 @@ redirect_from: - /enterprise/admin/configuration/using-github-enterprise-server-with-a-load-balancer versions: enterprise-server: '*' +topics: + - enterprise --- {% data reusables.enterprise_clustering.load_balancer_intro %} diff --git a/content/admin/configuration/validating-your-domain-settings.md b/content/admin/configuration/validating-your-domain-settings.md index 1c731a310c..581679b205 100644 --- a/content/admin/configuration/validating-your-domain-settings.md +++ b/content/admin/configuration/validating-your-domain-settings.md @@ -6,6 +6,8 @@ redirect_from: - /enterprise/admin/configuration/validating-your-domain-settings versions: enterprise-server: '*' +topics: + - enterprise --- {% data reusables.enterprise_site_admin_settings.access-settings %} {% data reusables.enterprise_site_admin_settings.management-console %} diff --git a/content/admin/enterprise-management/about-cluster-nodes.md b/content/admin/enterprise-management/about-cluster-nodes.md index 74a1a75fe3..463b8781a0 100644 --- a/content/admin/enterprise-management/about-cluster-nodes.md +++ b/content/admin/enterprise-management/about-cluster-nodes.md @@ -6,6 +6,8 @@ redirect_from: - /enterprise/admin/enterprise-management/about-cluster-nodes versions: enterprise-server: '*' +topics: + - enterprise --- {% data reusables.enterprise_clustering.clustering-requires-https %} diff --git a/content/admin/enterprise-management/about-clustering.md b/content/admin/enterprise-management/about-clustering.md index 8b3345da85..1a1157bb0d 100644 --- a/content/admin/enterprise-management/about-clustering.md +++ b/content/admin/enterprise-management/about-clustering.md @@ -8,6 +8,8 @@ redirect_from: - /enterprise/admin/enterprise-management/about-clustering versions: enterprise-server: '*' +topics: + - enterprise --- ### Clustering architecture diff --git a/content/admin/enterprise-management/about-geo-replication.md b/content/admin/enterprise-management/about-geo-replication.md index dfa868e556..b72945375b 100644 --- a/content/admin/enterprise-management/about-geo-replication.md +++ b/content/admin/enterprise-management/about-geo-replication.md @@ -6,6 +6,8 @@ redirect_from: - /enterprise/admin/enterprise-management/about-geo-replication versions: enterprise-server: '*' +topics: + - enterprise --- Multiple active replicas can provide a shorter distance to the nearest replica. For example, an organization with offices in San Francisco, New York, and London could run the primary appliance in a datacenter near New York and two replicas in datacenters near San Francisco and London. Using geolocation-aware DNS, users can be directed to the closest server available and access repository data faster. Designating the appliance near New York as the primary helps reduce the latency between the hosts, compared to the appliance near San Francisco being the primary which has a higher latency to London. diff --git a/content/admin/enterprise-management/about-high-availability-configuration.md b/content/admin/enterprise-management/about-high-availability-configuration.md index 724be83b78..19b5449371 100644 --- a/content/admin/enterprise-management/about-high-availability-configuration.md +++ b/content/admin/enterprise-management/about-high-availability-configuration.md @@ -6,6 +6,8 @@ redirect_from: - /enterprise/admin/enterprise-management/about-high-availability-configuration versions: enterprise-server: '*' +topics: + - enterprise --- When you configure high availability, there is an automated setup of one-way, asynchronous replication of all datastores (Git repositories, MySQL, Redis, and Elasticsearch) from the primary to the replica appliance. diff --git a/content/admin/enterprise-management/accessing-the-monitor-dashboard.md b/content/admin/enterprise-management/accessing-the-monitor-dashboard.md index a83ec1d359..b7182b0edf 100644 --- a/content/admin/enterprise-management/accessing-the-monitor-dashboard.md +++ b/content/admin/enterprise-management/accessing-the-monitor-dashboard.md @@ -6,6 +6,8 @@ redirect_from: - /enterprise/admin/enterprise-management/accessing-the-monitor-dashboard versions: enterprise-server: '*' +topics: + - enterprise --- ### Accessing the monitor dashboard diff --git a/content/admin/enterprise-management/cluster-network-configuration.md b/content/admin/enterprise-management/cluster-network-configuration.md index b11cc7bb1f..80f91507d7 100644 --- a/content/admin/enterprise-management/cluster-network-configuration.md +++ b/content/admin/enterprise-management/cluster-network-configuration.md @@ -6,6 +6,8 @@ redirect_from: - /enterprise/admin/enterprise-management/cluster-network-configuration versions: enterprise-server: '*' +topics: + - enterprise --- ### Network considerations diff --git a/content/admin/enterprise-management/configuring-clustering.md b/content/admin/enterprise-management/configuring-clustering.md index 6fc9f34af1..6752ddf050 100644 --- a/content/admin/enterprise-management/configuring-clustering.md +++ b/content/admin/enterprise-management/configuring-clustering.md @@ -9,5 +9,7 @@ redirect_from: mapTopic: true versions: enterprise-server: '*' +topics: + - enterprise --- diff --git a/content/admin/enterprise-management/configuring-collectd.md b/content/admin/enterprise-management/configuring-collectd.md index 4196beb841..7ce2e846c8 100644 --- a/content/admin/enterprise-management/configuring-collectd.md +++ b/content/admin/enterprise-management/configuring-collectd.md @@ -7,6 +7,8 @@ redirect_from: - /enterprise/admin/enterprise-management/configuring-collectd versions: enterprise-server: '*' +topics: + - enterprise --- ### Set up an external `collectd` server diff --git a/content/admin/enterprise-management/configuring-high-availability-replication-for-a-cluster.md b/content/admin/enterprise-management/configuring-high-availability-replication-for-a-cluster.md index 9cf229f154..deb7ebbf60 100644 --- a/content/admin/enterprise-management/configuring-high-availability-replication-for-a-cluster.md +++ b/content/admin/enterprise-management/configuring-high-availability-replication-for-a-cluster.md @@ -6,6 +6,8 @@ redirect_from: - /enterprise/admin/enterprise-management/configuring-high-availability-replication-for-a-cluster versions: enterprise-server: '>2.21' +topics: + - enterprise --- ### About high availability replication for clusters diff --git a/content/admin/enterprise-management/configuring-high-availability.md b/content/admin/enterprise-management/configuring-high-availability.md index 84b7b0ae9f..bd994c7848 100644 --- a/content/admin/enterprise-management/configuring-high-availability.md +++ b/content/admin/enterprise-management/configuring-high-availability.md @@ -10,5 +10,7 @@ intro: '{% data variables.product.prodname_ghe_server %} supports a high availab mapTopic: true versions: enterprise-server: '*' +topics: + - enterprise --- diff --git a/content/admin/enterprise-management/creating-a-high-availability-replica.md b/content/admin/enterprise-management/creating-a-high-availability-replica.md index 9c124a1eb8..8a032953fb 100644 --- a/content/admin/enterprise-management/creating-a-high-availability-replica.md +++ b/content/admin/enterprise-management/creating-a-high-availability-replica.md @@ -6,6 +6,8 @@ redirect_from: - /enterprise/admin/enterprise-management/creating-a-high-availability-replica versions: enterprise-server: '*' +topics: + - enterprise --- ### Creating a high availability replica diff --git a/content/admin/enterprise-management/differences-between-clustering-and-high-availability-ha.md b/content/admin/enterprise-management/differences-between-clustering-and-high-availability-ha.md index 9ac3ba2f73..59d4847dd9 100644 --- a/content/admin/enterprise-management/differences-between-clustering-and-high-availability-ha.md +++ b/content/admin/enterprise-management/differences-between-clustering-and-high-availability-ha.md @@ -6,6 +6,8 @@ redirect_from: - /enterprise/admin/enterprise-management/differences-between-clustering-and-high-availability-ha versions: enterprise-server: '*' +topics: + - enterprise --- ### Failure scenarios diff --git a/content/admin/enterprise-management/enabling-automatic-update-checks.md b/content/admin/enterprise-management/enabling-automatic-update-checks.md index 07f741e1bc..3c53bfa0a5 100644 --- a/content/admin/enterprise-management/enabling-automatic-update-checks.md +++ b/content/admin/enterprise-management/enabling-automatic-update-checks.md @@ -6,6 +6,8 @@ redirect_from: - /enterprise/admin/enterprise-management/enabling-automatic-update-checks versions: enterprise-server: '*' +topics: + - enterprise --- When an upgrade package is automatically downloaded for {% data variables.product.product_location %}, you'll receive a message letting you know you can upgrade {% data variables.product.prodname_ghe_server %}. Packages download to the `/var/lib/ghe-updates` directory on {% data variables.product.product_location %}. For more information, see "[Upgrading {% data variables.product.prodname_ghe_server %}](/enterprise/{{ currentVersion }}/admin/guides/installation/upgrading-github-enterprise-server)." diff --git a/content/admin/enterprise-management/evacuating-a-cluster-node.md b/content/admin/enterprise-management/evacuating-a-cluster-node.md index c429e92707..a93e152668 100644 --- a/content/admin/enterprise-management/evacuating-a-cluster-node.md +++ b/content/admin/enterprise-management/evacuating-a-cluster-node.md @@ -6,6 +6,8 @@ redirect_from: - /enterprise/admin/enterprise-management/evacuating-a-cluster-node versions: enterprise-server: '*' +topics: + - enterprise --- If you only have three nodes in your data services cluster, you can't evacuate the nodes, because `ghe-spokes` doesn’t have another place to make a copy. If you have four or more, `ghe-spokes` will move all the repositories off of the evacuated node. diff --git a/content/admin/enterprise-management/increasing-cpu-or-memory-resources.md b/content/admin/enterprise-management/increasing-cpu-or-memory-resources.md index 70ad38778a..ce3e4a1acd 100644 --- a/content/admin/enterprise-management/increasing-cpu-or-memory-resources.md +++ b/content/admin/enterprise-management/increasing-cpu-or-memory-resources.md @@ -6,6 +6,8 @@ redirect_from: - /enterprise/admin/enterprise-management/increasing-cpu-or-memory-resources versions: enterprise-server: '*' +topics: + - enterprise --- {% data reusables.enterprise_installation.warning-on-upgrading-physical-resources %} diff --git a/content/admin/enterprise-management/increasing-storage-capacity.md b/content/admin/enterprise-management/increasing-storage-capacity.md index 2c893b226e..1db8208731 100644 --- a/content/admin/enterprise-management/increasing-storage-capacity.md +++ b/content/admin/enterprise-management/increasing-storage-capacity.md @@ -6,6 +6,8 @@ redirect_from: - /enterprise/admin/enterprise-management/increasing-storage-capacity versions: enterprise-server: '*' +topics: + - enterprise --- {% data reusables.enterprise_installation.warning-on-upgrading-physical-resources %} diff --git a/content/admin/enterprise-management/index.md b/content/admin/enterprise-management/index.md index faaf069973..cc6f503d0a 100644 --- a/content/admin/enterprise-management/index.md +++ b/content/admin/enterprise-management/index.md @@ -5,6 +5,8 @@ redirect_from: - /enterprise/admin/enterprise-management versions: enterprise-server: '*' +topics: + - enterprise --- diff --git a/content/admin/enterprise-management/initializing-the-cluster.md b/content/admin/enterprise-management/initializing-the-cluster.md index 1fc88c484a..4ada134284 100644 --- a/content/admin/enterprise-management/initializing-the-cluster.md +++ b/content/admin/enterprise-management/initializing-the-cluster.md @@ -6,6 +6,8 @@ redirect_from: - /enterprise/admin/enterprise-management/initializing-the-cluster versions: enterprise-server: '*' +topics: + - enterprise --- {% data reusables.enterprise_clustering.clustering-requires-https %} diff --git a/content/admin/enterprise-management/initiating-a-failover-to-your-replica-appliance.md b/content/admin/enterprise-management/initiating-a-failover-to-your-replica-appliance.md index 208fe0e10d..7a9d0c47f5 100644 --- a/content/admin/enterprise-management/initiating-a-failover-to-your-replica-appliance.md +++ b/content/admin/enterprise-management/initiating-a-failover-to-your-replica-appliance.md @@ -6,6 +6,8 @@ redirect_from: - /enterprise/admin/enterprise-management/initiating-a-failover-to-your-replica-appliance versions: enterprise-server: '*' +topics: + - enterprise --- The time required to failover depends on how long it takes to manually promote the replica and redirect traffic. The average time ranges between 2-10 minutes. diff --git a/content/admin/enterprise-management/initiating-a-failover-to-your-replica-cluster.md b/content/admin/enterprise-management/initiating-a-failover-to-your-replica-cluster.md index 2b0406038c..baa4b482d3 100644 --- a/content/admin/enterprise-management/initiating-a-failover-to-your-replica-cluster.md +++ b/content/admin/enterprise-management/initiating-a-failover-to-your-replica-cluster.md @@ -5,6 +5,8 @@ redirect_from: - /enterprise/admin/enterprise-management/initiating-a-failover-to-your-replica-cluster versions: enterprise-server: '>2.21' +topics: + - enterprise --- ### About failover to your replica cluster diff --git a/content/admin/enterprise-management/migrating-from-github-enterprise-1110x-to-2123.md b/content/admin/enterprise-management/migrating-from-github-enterprise-1110x-to-2123.md index 5369335124..f28668eb3a 100644 --- a/content/admin/enterprise-management/migrating-from-github-enterprise-1110x-to-2123.md +++ b/content/admin/enterprise-management/migrating-from-github-enterprise-1110x-to-2123.md @@ -12,6 +12,8 @@ redirect_from: intro: 'To migrate from {% data variables.product.prodname_enterprise %} 11.10.x to 2.1.23, you''ll need to set up a new appliance instance and migrate data from the previous instance.' versions: enterprise-server: '*' +topics: + - enterprise --- Migrations from {% data variables.product.prodname_enterprise %} 11.10.348 and later are supported. Migrating from {% data variables.product.prodname_enterprise %} 11.10.348 and earlier is not supported. You must first upgrade to 11.10.348 in several upgrades. For more information, see the 11.10.348 upgrading procedure, "[Upgrading to the latest release](/enterprise/11.10.340/admin/articles/upgrading-to-the-latest-release/)." diff --git a/content/admin/enterprise-management/monitoring-cluster-nodes.md b/content/admin/enterprise-management/monitoring-cluster-nodes.md index da5fcdd1c9..4916df38ad 100644 --- a/content/admin/enterprise-management/monitoring-cluster-nodes.md +++ b/content/admin/enterprise-management/monitoring-cluster-nodes.md @@ -6,6 +6,8 @@ redirect_from: - /enterprise/admin/enterprise-management/monitoring-cluster-nodes versions: enterprise-server: '*' +topics: + - enterprise --- ### Manually checking cluster status diff --git a/content/admin/enterprise-management/monitoring-using-snmp.md b/content/admin/enterprise-management/monitoring-using-snmp.md index 2ef67fbbef..bcc5821b39 100644 --- a/content/admin/enterprise-management/monitoring-using-snmp.md +++ b/content/admin/enterprise-management/monitoring-using-snmp.md @@ -7,6 +7,8 @@ redirect_from: - /enterprise/admin/enterprise-management/monitoring-using-snmp versions: enterprise-server: '*' +topics: + - enterprise --- SNMP is a common standard for monitoring devices over a network. We strongly recommend enabling SNMP so you can monitor the health of {% data variables.product.product_location %} and know when to add more memory, storage, or processor power to the host machine. diff --git a/content/admin/enterprise-management/monitoring-your-appliance.md b/content/admin/enterprise-management/monitoring-your-appliance.md index e8adac6a11..a73f9c02e3 100644 --- a/content/admin/enterprise-management/monitoring-your-appliance.md +++ b/content/admin/enterprise-management/monitoring-your-appliance.md @@ -9,5 +9,7 @@ redirect_from: mapTopic: true versions: enterprise-server: '*' +topics: + - enterprise --- diff --git a/content/admin/enterprise-management/recommended-alert-thresholds.md b/content/admin/enterprise-management/recommended-alert-thresholds.md index ceae6ab760..3898e09a0b 100644 --- a/content/admin/enterprise-management/recommended-alert-thresholds.md +++ b/content/admin/enterprise-management/recommended-alert-thresholds.md @@ -8,6 +8,8 @@ redirect_from: - /enterprise/admin/enterprise-management/recommended-alert-thresholds versions: enterprise-server: '*' +topics: + - enterprise --- ### Monitoring storage diff --git a/content/admin/enterprise-management/recovering-a-high-availability-configuration.md b/content/admin/enterprise-management/recovering-a-high-availability-configuration.md index 879390f390..cc9cd0027e 100644 --- a/content/admin/enterprise-management/recovering-a-high-availability-configuration.md +++ b/content/admin/enterprise-management/recovering-a-high-availability-configuration.md @@ -6,6 +6,8 @@ redirect_from: - /enterprise/admin/enterprise-management/recovering-a-high-availability-configuration versions: enterprise-server: '*' +topics: + - enterprise --- You can use the former primary appliance as the new replica appliance if the failover was planned or was not related to the health of the appliance. If the failover was related to an issue with the primary appliance, you may prefer to create a new replica appliance. For more information, see "[Creating a high availability replica](/enterprise/{{ currentVersion }}/admin/guides/installation/creating-a-high-availability-replica/)." diff --git a/content/admin/enterprise-management/removing-a-high-availability-replica.md b/content/admin/enterprise-management/removing-a-high-availability-replica.md index 6002b89d1b..7f3ab841b7 100644 --- a/content/admin/enterprise-management/removing-a-high-availability-replica.md +++ b/content/admin/enterprise-management/removing-a-high-availability-replica.md @@ -6,6 +6,8 @@ redirect_from: - /enterprise/admin/enterprise-management/removing-a-high-availability-replica versions: enterprise-server: '*' +topics: + - enterprise --- ### Stopping replication temporarily diff --git a/content/admin/enterprise-management/replacing-a-cluster-node.md b/content/admin/enterprise-management/replacing-a-cluster-node.md index 4dde19d038..2f96afbd7d 100644 --- a/content/admin/enterprise-management/replacing-a-cluster-node.md +++ b/content/admin/enterprise-management/replacing-a-cluster-node.md @@ -6,6 +6,8 @@ redirect_from: - /enterprise/admin/enterprise-management/replacing-a-cluster-node versions: enterprise-server: '*' +topics: + - enterprise --- {% warning %} diff --git a/content/admin/enterprise-management/setting-up-external-monitoring.md b/content/admin/enterprise-management/setting-up-external-monitoring.md index f0163ff946..21031f8d8f 100644 --- a/content/admin/enterprise-management/setting-up-external-monitoring.md +++ b/content/admin/enterprise-management/setting-up-external-monitoring.md @@ -6,6 +6,8 @@ redirect_from: - /enterprise/admin/enterprise-management/setting-up-external-monitoring versions: enterprise-server: '*' +topics: + - enterprise --- ### About SNMP diff --git a/content/admin/enterprise-management/updating-the-virtual-machine-and-physical-resources.md b/content/admin/enterprise-management/updating-the-virtual-machine-and-physical-resources.md index 3c590160d0..b40afca279 100644 --- a/content/admin/enterprise-management/updating-the-virtual-machine-and-physical-resources.md +++ b/content/admin/enterprise-management/updating-the-virtual-machine-and-physical-resources.md @@ -9,5 +9,7 @@ redirect_from: mapTopic: true versions: enterprise-server: '*' +topics: + - enterprise --- diff --git a/content/admin/enterprise-management/upgrade-requirements.md b/content/admin/enterprise-management/upgrade-requirements.md index 60da0b3d30..c06792a751 100644 --- a/content/admin/enterprise-management/upgrade-requirements.md +++ b/content/admin/enterprise-management/upgrade-requirements.md @@ -7,6 +7,8 @@ redirect_from: - /enterprise/admin/enterprise-management/upgrade-requirements versions: enterprise-server: '*' +topics: + - enterprise --- {% note %} diff --git a/content/admin/enterprise-management/upgrading-a-cluster.md b/content/admin/enterprise-management/upgrading-a-cluster.md index 1be8e7d8b5..19fd10ebcd 100644 --- a/content/admin/enterprise-management/upgrading-a-cluster.md +++ b/content/admin/enterprise-management/upgrading-a-cluster.md @@ -6,6 +6,8 @@ redirect_from: - /enterprise/admin/enterprise-management/upgrading-a-cluster versions: enterprise-server: '*' +topics: + - enterprise --- ### Upgrading with a hotpatch {% data reusables.enterprise_installation.hotpatching-explanation %} The hotpatch installation script installs the hotpatch on every node in the cluster and restarts the services in their proper sequence to avoid downtime. diff --git a/content/admin/enterprise-management/upgrading-github-enterprise-server.md b/content/admin/enterprise-management/upgrading-github-enterprise-server.md index 0b430d3815..a839c03410 100644 --- a/content/admin/enterprise-management/upgrading-github-enterprise-server.md +++ b/content/admin/enterprise-management/upgrading-github-enterprise-server.md @@ -15,6 +15,8 @@ redirect_from: - /enterprise/admin/enterprise-management/upgrading-github-enterprise-server versions: enterprise-server: '*' +topics: + - enterprise --- ### Preparing to upgrade @@ -45,6 +47,12 @@ Increased requirements for {% data variables.product.prodname_ghe_server %} 3.0 | 5,000 to 8000 | **16**
_Up from 12_ | 96 GB | 750 GB | 200 GB | | 8,000 to 10,000+ | **20**
_Up from 16_ | **160 GB**
_Up from 128 GB_ | 1000 GB | 200 GB | +{% if currentVersion ver_gt "enterprise-server@2.21" %} + +For more information about hardware requirements for {% data variables.product.prodname_actions %}, see "[Getting started with {% data variables.product.prodname_actions %} for {% data variables.product.prodname_ghe_server %}](/admin/github-actions/getting-started-with-github-actions-for-github-enterprise-server#review-hardware-considerations)." + +{% endif %} + {% data reusables.enterprise_installation.about-adjusting-resources %} {% endif %} @@ -245,4 +253,4 @@ To roll back from a feature release, restore from a VM snapshot to ensure that r ### Further reading - "[About upgrades to new releases](/admin/overview/about-upgrades-to-new-releases)" -{% endif %} \ No newline at end of file +{% endif %} diff --git a/content/admin/enterprise-support/about-github-enterprise-support.md b/content/admin/enterprise-support/about-github-enterprise-support.md index 696ce3441c..f731cfec52 100644 --- a/content/admin/enterprise-support/about-github-enterprise-support.md +++ b/content/admin/enterprise-support/about-github-enterprise-support.md @@ -6,6 +6,8 @@ redirect_from: versions: enterprise-server: '*' github-ae: '*' +topics: + - enterprise --- {% note %} diff --git a/content/admin/enterprise-support/about-github-premium-support-for-github-enterprise-server.md b/content/admin/enterprise-support/about-github-premium-support-for-github-enterprise-server.md index ecdcf02322..de2131bec7 100644 --- a/content/admin/enterprise-support/about-github-premium-support-for-github-enterprise-server.md +++ b/content/admin/enterprise-support/about-github-premium-support-for-github-enterprise-server.md @@ -7,6 +7,8 @@ redirect_from: - /enterprise/admin/enterprise-support/about-github-premium-support-for-github-enterprise-server versions: enterprise-server: '*' +topics: + - enterprise --- {% note %} diff --git a/content/admin/enterprise-support/about-github-premium-support-for-github-enterprise.md b/content/admin/enterprise-support/about-github-premium-support-for-github-enterprise.md index b55487a008..8553ddf3da 100644 --- a/content/admin/enterprise-support/about-github-premium-support-for-github-enterprise.md +++ b/content/admin/enterprise-support/about-github-premium-support-for-github-enterprise.md @@ -5,6 +5,8 @@ redirect_from: - /enterprise/admin/enterprise-support/about-github-premium-support-for-github-enterprise versions: enterprise-server: '*' +topics: + - enterprise --- {% note %} diff --git a/content/admin/enterprise-support/about-support-for-advanced-security.md b/content/admin/enterprise-support/about-support-for-advanced-security.md index f1eadede3a..d9f8d78ef9 100644 --- a/content/admin/enterprise-support/about-support-for-advanced-security.md +++ b/content/admin/enterprise-support/about-support-for-advanced-security.md @@ -5,6 +5,8 @@ redirect_from: - /enterprise/admin/enterprise-support/about-support-for-advanced-security versions: enterprise-server: '*' +topics: + - enterprise --- {% note %} diff --git a/content/admin/enterprise-support/index.md b/content/admin/enterprise-support/index.md index d6f1ed9191..1393d3bc81 100644 --- a/content/admin/enterprise-support/index.md +++ b/content/admin/enterprise-support/index.md @@ -6,6 +6,8 @@ redirect_from: versions: enterprise-server: '*' github-ae: '*' +topics: + - enterprise --- ### Table of Contents diff --git a/content/admin/enterprise-support/overview.md b/content/admin/enterprise-support/overview.md index 67f3ad9d93..ce8e4498c5 100644 --- a/content/admin/enterprise-support/overview.md +++ b/content/admin/enterprise-support/overview.md @@ -7,4 +7,7 @@ redirect_from: versions: enterprise-server: '*' github-ae: '*' +topics: + - enterprise --- + diff --git a/content/admin/enterprise-support/preparing-to-submit-a-ticket.md b/content/admin/enterprise-support/preparing-to-submit-a-ticket.md index 9c70a25abf..4f0ebdb6d5 100644 --- a/content/admin/enterprise-support/preparing-to-submit-a-ticket.md +++ b/content/admin/enterprise-support/preparing-to-submit-a-ticket.md @@ -6,6 +6,8 @@ redirect_from: versions: enterprise-server: '*' github-ae: '*' +topics: + - enterprise --- Before submitting a ticket, you should: @@ -24,4 +26,4 @@ Especially for tickets with {% data variables.product.support_ticket_priority_ur - Be knowledgeable in your internal systems, tools, policies, and practices. - Be a proficient user of {% data variables.product.product_name %}. - Have full access and permissions to any services that are required to troubleshoot the issue. - - Be authorized to make the recommended changes to your network and any applicable products. \ No newline at end of file + - Be authorized to make the recommended changes to your network and any applicable products. diff --git a/content/admin/enterprise-support/providing-data-to-github-support.md b/content/admin/enterprise-support/providing-data-to-github-support.md index 2bb07afaab..3ea6981372 100644 --- a/content/admin/enterprise-support/providing-data-to-github-support.md +++ b/content/admin/enterprise-support/providing-data-to-github-support.md @@ -8,6 +8,8 @@ redirect_from: - /enterprise/admin/enterprise-support/providing-data-to-github-support versions: enterprise-server: '*' +topics: + - enterprise --- ### Creating and sharing diagnostic files diff --git a/content/admin/enterprise-support/reaching-github-support.md b/content/admin/enterprise-support/reaching-github-support.md index 7cf256ce56..51d55999d7 100644 --- a/content/admin/enterprise-support/reaching-github-support.md +++ b/content/admin/enterprise-support/reaching-github-support.md @@ -6,6 +6,8 @@ redirect_from: - /enterprise/admin/enterprise-support/reaching-github-support versions: enterprise-server: '*' +topics: + - enterprise --- ### Using automated ticketing systems diff --git a/content/admin/enterprise-support/receiving-help-from-github-support.md b/content/admin/enterprise-support/receiving-help-from-github-support.md index 98b3cd0eea..c700ae6897 100644 --- a/content/admin/enterprise-support/receiving-help-from-github-support.md +++ b/content/admin/enterprise-support/receiving-help-from-github-support.md @@ -8,4 +8,7 @@ mapTopic: true versions: enterprise-server: '*' github-ae: '*' +topics: + - enterprise --- + diff --git a/content/admin/enterprise-support/submitting-a-ticket.md b/content/admin/enterprise-support/submitting-a-ticket.md index 5f396e34ca..cb16823728 100644 --- a/content/admin/enterprise-support/submitting-a-ticket.md +++ b/content/admin/enterprise-support/submitting-a-ticket.md @@ -6,6 +6,8 @@ redirect_from: versions: enterprise-server: '*' github-ae: '*' +topics: + - enterprise --- ### About submitting a ticket diff --git a/content/admin/github-actions/about-using-actions-on-github-enterprise-server.md b/content/admin/github-actions/about-using-actions-on-github-enterprise-server.md index 3b3b6da7eb..e87d29f61f 100644 --- a/content/admin/github-actions/about-using-actions-on-github-enterprise-server.md +++ b/content/admin/github-actions/about-using-actions-on-github-enterprise-server.md @@ -6,6 +6,8 @@ redirect_from: - /admin/github-actions/about-using-githubcom-actions-on-github-enterprise-server versions: enterprise-server: '>=2.22' +topics: + - enterprise --- {% data reusables.actions.enterprise-beta %} diff --git a/content/admin/github-actions/advanced-configuration-and-troubleshooting.md b/content/admin/github-actions/advanced-configuration-and-troubleshooting.md index fa3f0a4aa7..609640ef99 100644 --- a/content/admin/github-actions/advanced-configuration-and-troubleshooting.md +++ b/content/admin/github-actions/advanced-configuration-and-troubleshooting.md @@ -4,4 +4,7 @@ intro: 'Configure high availability for {% data variables.product.prodname_actio mapTopic: true versions: enterprise-server: '>=3.0' +topics: + - enterprise --- + diff --git a/content/admin/github-actions/backing-up-and-restoring-github-enterprise-server-with-github-actions-enabled.md b/content/admin/github-actions/backing-up-and-restoring-github-enterprise-server-with-github-actions-enabled.md index a2556020e8..1a687f2e87 100644 --- a/content/admin/github-actions/backing-up-and-restoring-github-enterprise-server-with-github-actions-enabled.md +++ b/content/admin/github-actions/backing-up-and-restoring-github-enterprise-server-with-github-actions-enabled.md @@ -4,6 +4,8 @@ shortTitle: Backing up and restoring intro: '{% data variables.product.prodname_actions %} data on your external storage provider is not included in regular {% data variables.product.prodname_ghe_server %} backups, and must be backed up separately.' versions: enterprise-server: '>=3.0' +topics: + - enterprise --- {% data reusables.actions.enterprise-storage-ha-backups %} diff --git a/content/admin/github-actions/enabling-automatic-access-to-githubcom-actions-using-github-connect.md b/content/admin/github-actions/enabling-automatic-access-to-githubcom-actions-using-github-connect.md index 5be9397384..8235057e02 100644 --- a/content/admin/github-actions/enabling-automatic-access-to-githubcom-actions-using-github-connect.md +++ b/content/admin/github-actions/enabling-automatic-access-to-githubcom-actions-using-github-connect.md @@ -6,6 +6,8 @@ redirect_from: - /enterprise/admin/github-actions/enabling-automatic-access-to-githubcom-actions-using-github-connect versions: enterprise-server: '>=2.22' +topics: + - enterprise --- {% data reusables.actions.enterprise-beta %} diff --git a/content/admin/github-actions/enabling-github-actions-for-github-enterprise-server.md b/content/admin/github-actions/enabling-github-actions-for-github-enterprise-server.md index 886b40a786..1ab36ce2a1 100644 --- a/content/admin/github-actions/enabling-github-actions-for-github-enterprise-server.md +++ b/content/admin/github-actions/enabling-github-actions-for-github-enterprise-server.md @@ -4,4 +4,7 @@ intro: 'Learn how to configure storage and enable {% data variables.product.prod mapTopic: true versions: enterprise-server: '>=2.22' +topics: + - enterprise --- + diff --git a/content/admin/github-actions/enabling-github-actions-with-amazon-s3-storage.md b/content/admin/github-actions/enabling-github-actions-with-amazon-s3-storage.md index 1e94369d98..f545d49494 100644 --- a/content/admin/github-actions/enabling-github-actions-with-amazon-s3-storage.md +++ b/content/admin/github-actions/enabling-github-actions-with-amazon-s3-storage.md @@ -4,6 +4,8 @@ intro: 'You can enable {% data variables.product.prodname_actions %} on {% data permissions: 'Site administrators can enable {% data variables.product.prodname_actions %} and configure enterprise settings.' versions: enterprise-server: '>=3.0' +topics: + - enterprise --- ### Prerequisites diff --git a/content/admin/github-actions/enabling-github-actions-with-azure-blob-storage.md b/content/admin/github-actions/enabling-github-actions-with-azure-blob-storage.md index a9b21f3001..1245137438 100644 --- a/content/admin/github-actions/enabling-github-actions-with-azure-blob-storage.md +++ b/content/admin/github-actions/enabling-github-actions-with-azure-blob-storage.md @@ -4,6 +4,8 @@ intro: 'You can enable {% data variables.product.prodname_actions %} on {% data permissions: 'Site administrators can enable {% data variables.product.prodname_actions %} and configure enterprise settings.' versions: enterprise-server: '>=3.0' +topics: + - enterprise --- ### Prerequisites diff --git a/content/admin/github-actions/enabling-github-actions-with-minio-gateway-for-nas-storage.md b/content/admin/github-actions/enabling-github-actions-with-minio-gateway-for-nas-storage.md index d86f1a64b5..ba2c6c47ab 100644 --- a/content/admin/github-actions/enabling-github-actions-with-minio-gateway-for-nas-storage.md +++ b/content/admin/github-actions/enabling-github-actions-with-minio-gateway-for-nas-storage.md @@ -4,6 +4,8 @@ intro: 'You can enable {% data variables.product.prodname_actions %} on {% data permissions: 'Site administrators can enable {% data variables.product.prodname_actions %} and configure enterprise settings.' versions: enterprise-server: '>=3.0' +topics: + - enterprise --- ### Prerequisites diff --git a/content/admin/github-actions/enforcing-github-actions-policies-for-your-enterprise.md b/content/admin/github-actions/enforcing-github-actions-policies-for-your-enterprise.md index 82df246b43..b9f5e4fcf2 100644 --- a/content/admin/github-actions/enforcing-github-actions-policies-for-your-enterprise.md +++ b/content/admin/github-actions/enforcing-github-actions-policies-for-your-enterprise.md @@ -6,6 +6,8 @@ redirect_from: versions: enterprise-server: '>=2.22' github-ae: '*' +topics: + - enterprise --- {% data reusables.actions.ae-beta %} diff --git a/content/admin/github-actions/getting-started-with-github-actions-for-github-enterprise-server.md b/content/admin/github-actions/getting-started-with-github-actions-for-github-enterprise-server.md index 67f797d751..4cba468196 100644 --- a/content/admin/github-actions/getting-started-with-github-actions-for-github-enterprise-server.md +++ b/content/admin/github-actions/getting-started-with-github-actions-for-github-enterprise-server.md @@ -7,6 +7,8 @@ redirect_from: - /admin/github-actions/enabling-github-actions-and-configuring-storage versions: enterprise-server: '>=2.22' +topics: + - enterprise --- {% data reusables.actions.enterprise-beta %} @@ -31,9 +33,20 @@ This article explains how site administrators can configure {% data variables.pr {% endif %} -{% data reusables.actions.enterprise-hardware-considerations %} +The CPU and memory resources available to {% data variables.product.product_location %} determine the maximum job throughput for {% data variables.product.prodname_actions %}. -For more information about resource requirements for {% data variables.product.prodname_ghe_server %}, see the hardware considerations for your instance's platform. +Internal testing at {% data variables.product.company_short %} demonstrated the following maximum throughput for {% data variables.product.prodname_ghe_server %} instances with a range of CPU and memory configurations. You may see different throughput depending on the overall levels of activity on your instance. + +| vCPUs | Memory | Maximum job throughput | +| :--- | :--- | :--- | +| 4 | 32 GB | Demo or light testing | +| 8 | 64 GB | 25 jobs | +| 16 | 160 GB | 35 jobs | +| 32 | 256 GB | 100 jobs | + +If you {% if currentVersion == "enterprise-server@2.22" %}enabled the beta of{% else %}plan to enable{% endif %} {% data variables.product.prodname_actions %} for the users of an existing instance, review the levels of activity for users and automations on the instance and ensure that you have provisioned adequate CPU and memory for your users. For more information about monitoring the capacity and performance of {% data variables.product.prodname_ghe_server %}, see "[Monitoring your appliance](/admin/enterprise-management/monitoring-your-appliance)." + +For more information about minimum hardware requirements for {% data variables.product.product_location %}, see the hardware considerations for your instance's platform. - [AWS](/admin/installation/installing-github-enterprise-server-on-aws#hardware-considerations) - [Azure](/admin/installation/installing-github-enterprise-server-on-azure#hardware-considerations) diff --git a/content/admin/github-actions/high-availability-for-github-actions.md b/content/admin/github-actions/high-availability-for-github-actions.md index 26ccc90fba..c893e6c059 100644 --- a/content/admin/github-actions/high-availability-for-github-actions.md +++ b/content/admin/github-actions/high-availability-for-github-actions.md @@ -3,6 +3,8 @@ title: High availability for GitHub Actions intro: 'There are some special considerations for administering {% data variables.product.prodname_actions %} in a high availability configuration.' versions: enterprise-server: '>=3.0' +topics: + - enterprise --- ### Replication or redundancy of your {% data variables.product.prodname_actions %} data diff --git a/content/admin/github-actions/index.md b/content/admin/github-actions/index.md index e7917e912a..6caf9cf8e2 100644 --- a/content/admin/github-actions/index.md +++ b/content/admin/github-actions/index.md @@ -6,6 +6,8 @@ redirect_from: versions: enterprise-server: '>=2.22' github-ae: '*' +topics: + - enterprise --- {% data reusables.actions.ae-beta %} @@ -16,6 +18,7 @@ versions: {% topic_link_in_list /using-github-actions-in-github-ae %} {% link_in_list /getting-started-with-github-actions-for-github-ae %} + {% link_in_list /using-actions-in-github-ae %} {% topic_link_in_list /enabling-github-actions-for-github-enterprise-server %} {% link_in_list /getting-started-with-github-actions-for-github-enterprise-server %} diff --git a/content/admin/github-actions/managing-access-to-actions-from-githubcom.md b/content/admin/github-actions/managing-access-to-actions-from-githubcom.md index 51d601c89f..78e01a4ca3 100644 --- a/content/admin/github-actions/managing-access-to-actions-from-githubcom.md +++ b/content/admin/github-actions/managing-access-to-actions-from-githubcom.md @@ -6,5 +6,7 @@ redirect_from: - /enterprise/admin/github-actions/managing-access-to-actions-from-githubcom versions: enterprise-server: '>=2.22' +topics: + - enterprise --- diff --git a/content/admin/github-actions/manually-syncing-actions-from-githubcom.md b/content/admin/github-actions/manually-syncing-actions-from-githubcom.md index f36947c4bc..3f8f07e6ba 100644 --- a/content/admin/github-actions/manually-syncing-actions-from-githubcom.md +++ b/content/admin/github-actions/manually-syncing-actions-from-githubcom.md @@ -5,6 +5,8 @@ redirect_from: - /enterprise/admin/github-actions/manually-syncing-actions-from-githubcom versions: enterprise-server: '>=2.22' +topics: + - enterprise --- {% data reusables.actions.enterprise-beta %} diff --git a/content/admin/github-actions/setting-up-the-tool-cache-on-self-hosted-runners-without-internet-access.md b/content/admin/github-actions/setting-up-the-tool-cache-on-self-hosted-runners-without-internet-access.md index dfc57ac64b..a380a9961e 100644 --- a/content/admin/github-actions/setting-up-the-tool-cache-on-self-hosted-runners-without-internet-access.md +++ b/content/admin/github-actions/setting-up-the-tool-cache-on-self-hosted-runners-without-internet-access.md @@ -5,6 +5,8 @@ redirect_from: - /enterprise/admin/github-actions/setting-up-the-tool-cache-on-self-hosted-runners-without-internet-access versions: enterprise-server: '>=2.22' +topics: + - enterprise --- {% data reusables.actions.enterprise-beta %} diff --git a/content/admin/github-actions/troubleshooting-github-actions-for-your-enterprise.md b/content/admin/github-actions/troubleshooting-github-actions-for-your-enterprise.md index df08b0d047..5ef91e72d9 100644 --- a/content/admin/github-actions/troubleshooting-github-actions-for-your-enterprise.md +++ b/content/admin/github-actions/troubleshooting-github-actions-for-your-enterprise.md @@ -4,6 +4,8 @@ intro: 'Troubleshooting common issues that occur when using {% data variables.pr permissions: 'Site administrators can troubleshoot {% data variables.product.prodname_actions %} issues and modify {% data variables.product.prodname_ghe_server %} configurations.' versions: enterprise-server: '>=3.0' +topics: + - enterprise --- ### Configuring self-hosted runners when using a self-signed certificate for {% data variables.product.prodname_ghe_server %} diff --git a/content/admin/github-actions/using-a-staging-environment.md b/content/admin/github-actions/using-a-staging-environment.md index f2d387de55..d463c8a01c 100644 --- a/content/admin/github-actions/using-a-staging-environment.md +++ b/content/admin/github-actions/using-a-staging-environment.md @@ -3,6 +3,8 @@ title: Using a staging environment intro: 'Learn about using {% data variables.product.prodname_actions %} with {% data variables.product.prodname_ghe_server %} staging environments.' versions: enterprise-server: '>=3.0' +topics: + - enterprise --- It can be useful to have a staging or testing environment for {% data variables.product.product_location %}, so that you can test updates or new features before implementing them in your production environment. diff --git a/content/admin/github-actions/using-actions-in-github-ae.md b/content/admin/github-actions/using-actions-in-github-ae.md new file mode 100644 index 0000000000..4aa01e4d4e --- /dev/null +++ b/content/admin/github-actions/using-actions-in-github-ae.md @@ -0,0 +1,20 @@ +--- +title: Using actions in GitHub AE +intro: '{% data variables.product.prodname_ghe_managed %} includes most of the {% data variables.product.prodname_dotcom %}-authored actions.' +versions: + github-ae: '*' +--- + +{% data reusables.actions.ae-beta %} + +{% data variables.product.prodname_actions %} workflows can use _actions_, which are individual tasks that you can combine to create jobs and customize your workflow. You can create your own actions, or use and customize actions shared by the {% data variables.product.prodname_dotcom %} community. + +### Official actions bundled with {% data variables.product.prodname_ghe_managed %} + +Most official {% data variables.product.prodname_dotcom %}-authored actions are automatically bundled with {% data variables.product.prodname_ghe_managed %}, and are captured at a point in time from {% data variables.product.prodname_marketplace %}. When your {% data variables.product.prodname_ghe_managed %} instance is updated, the bundled official actions are also updated. + +The bundled official actions include `actions/checkout`, `actions/upload-artifact`, `actions/download-artifact`, `actions/labeler`, and various `actions/setup-` actions, among others. To see which of the official actions are included, browse to the following organizations on your instance: +- https://HOSTNAME/actions +- https://HOSTNAME/github + +Each action's files are kept in a repository in the `actions` and `github` organizations. Each action repository includes the necessary tags, branches, and commit SHAs that your workflows can use to reference the action. diff --git a/content/admin/installation/index.md b/content/admin/installation/index.md index ca489927cc..582246e33e 100644 --- a/content/admin/installation/index.md +++ b/content/admin/installation/index.md @@ -11,6 +11,8 @@ redirect_from: - /enterprise/admin/installation versions: enterprise-server: '*' +topics: + - enterprise --- For more information, or to purchase {% data variables.product.prodname_enterprise %}, see [{% data variables.product.prodname_enterprise %}](https://github.com/enterprise). diff --git a/content/admin/installation/installing-github-enterprise-server-on-aws.md b/content/admin/installation/installing-github-enterprise-server-on-aws.md index 50d3baa627..f6de6fe0ee 100644 --- a/content/admin/installation/installing-github-enterprise-server-on-aws.md +++ b/content/admin/installation/installing-github-enterprise-server-on-aws.md @@ -6,6 +6,8 @@ redirect_from: - /enterprise/admin/installation/installing-github-enterprise-server-on-aws versions: enterprise-server: '*' +topics: + - enterprise --- ### Prerequisites diff --git a/content/admin/installation/installing-github-enterprise-server-on-azure.md b/content/admin/installation/installing-github-enterprise-server-on-azure.md index be1006b3f7..008413e67e 100644 --- a/content/admin/installation/installing-github-enterprise-server-on-azure.md +++ b/content/admin/installation/installing-github-enterprise-server-on-azure.md @@ -6,6 +6,8 @@ redirect_from: - /enterprise/admin/installation/installing-github-enterprise-server-on-azure versions: enterprise-server: '*' +topics: + - enterprise --- You can deploy {% data variables.product.prodname_ghe_server %} on global Azure or Azure Government. diff --git a/content/admin/installation/installing-github-enterprise-server-on-google-cloud-platform.md b/content/admin/installation/installing-github-enterprise-server-on-google-cloud-platform.md index e21838d06a..6f80158971 100644 --- a/content/admin/installation/installing-github-enterprise-server-on-google-cloud-platform.md +++ b/content/admin/installation/installing-github-enterprise-server-on-google-cloud-platform.md @@ -6,6 +6,8 @@ redirect_from: - /enterprise/admin/installation/installing-github-enterprise-server-on-google-cloud-platform versions: enterprise-server: '*' +topics: + - enterprise --- ### Prerequisites diff --git a/content/admin/installation/installing-github-enterprise-server-on-hyper-v.md b/content/admin/installation/installing-github-enterprise-server-on-hyper-v.md index 42a146e2f9..eded2b581a 100644 --- a/content/admin/installation/installing-github-enterprise-server-on-hyper-v.md +++ b/content/admin/installation/installing-github-enterprise-server-on-hyper-v.md @@ -6,6 +6,8 @@ redirect_from: - /enterprise/admin/installation/installing-github-enterprise-server-on-hyper-v versions: enterprise-server: '*' +topics: + - enterprise --- ### Prerequisites diff --git a/content/admin/installation/installing-github-enterprise-server-on-openstack-kvm.md b/content/admin/installation/installing-github-enterprise-server-on-openstack-kvm.md index 2695c4d612..79453ba7f6 100644 --- a/content/admin/installation/installing-github-enterprise-server-on-openstack-kvm.md +++ b/content/admin/installation/installing-github-enterprise-server-on-openstack-kvm.md @@ -6,6 +6,8 @@ redirect_from: - /enterprise/admin/installation/installing-github-enterprise-server-on-openstack-kvm versions: enterprise-server: '*' +topics: + - enterprise --- ### Prerequisites diff --git a/content/admin/installation/installing-github-enterprise-server-on-vmware.md b/content/admin/installation/installing-github-enterprise-server-on-vmware.md index ce4f58e9bb..0646a0cdea 100644 --- a/content/admin/installation/installing-github-enterprise-server-on-vmware.md +++ b/content/admin/installation/installing-github-enterprise-server-on-vmware.md @@ -9,6 +9,8 @@ redirect_from: - /enterprise/admin/installation/installing-github-enterprise-server-on-vmware versions: enterprise-server: '*' +topics: + - enterprise --- ### Prerequisites diff --git a/content/admin/installation/installing-github-enterprise-server-on-xenserver.md b/content/admin/installation/installing-github-enterprise-server-on-xenserver.md index fb0341074d..7b87108661 100644 --- a/content/admin/installation/installing-github-enterprise-server-on-xenserver.md +++ b/content/admin/installation/installing-github-enterprise-server-on-xenserver.md @@ -6,6 +6,8 @@ redirect_from: - /enterprise/admin/installation/installing-github-enterprise-server-on-xenserver versions: enterprise-server: '*' +topics: + - enterprise --- ### Prerequisites diff --git a/content/admin/installation/setting-up-a-github-enterprise-server-instance.md b/content/admin/installation/setting-up-a-github-enterprise-server-instance.md index 92a5f510c9..865536adbe 100644 --- a/content/admin/installation/setting-up-a-github-enterprise-server-instance.md +++ b/content/admin/installation/setting-up-a-github-enterprise-server-instance.md @@ -10,5 +10,7 @@ redirect_from: mapTopic: true versions: enterprise-server: '*' +topics: + - enterprise --- diff --git a/content/admin/installation/setting-up-a-staging-instance.md b/content/admin/installation/setting-up-a-staging-instance.md index 972f5439d3..082e71f7fe 100644 --- a/content/admin/installation/setting-up-a-staging-instance.md +++ b/content/admin/installation/setting-up-a-staging-instance.md @@ -5,6 +5,8 @@ redirect_from: - /enterprise/admin/installation/setting-up-a-staging-instance versions: enterprise-server: '*' +topics: + - enterprise --- {% tip %} @@ -28,4 +30,4 @@ To thoroughly test a {% data variables.product.prodname_ghe_server %} appliance ### Further reading - "[About upgrades to new releases](/admin/overview/about-upgrades-to-new-releases)" -{% endif %} \ No newline at end of file +{% endif %} diff --git a/content/admin/overview/about-enterprise-accounts.md b/content/admin/overview/about-enterprise-accounts.md index 4c37b9eed5..42352b9ac1 100644 --- a/content/admin/overview/about-enterprise-accounts.md +++ b/content/admin/overview/about-enterprise-accounts.md @@ -7,6 +7,8 @@ redirect_from: versions: enterprise-server: '>=2.20' github-ae: '*' +topics: + - enterprise --- ### About enterprise accounts on {% data variables.product.product_name %} diff --git a/content/admin/overview/about-the-github-enterprise-api.md b/content/admin/overview/about-the-github-enterprise-api.md index 8f75a39a07..d79b6c703a 100644 --- a/content/admin/overview/about-the-github-enterprise-api.md +++ b/content/admin/overview/about-the-github-enterprise-api.md @@ -11,6 +11,8 @@ redirect_from: versions: enterprise-server: '*' github-ae: '*' +topics: + - enterprise --- With the APIs, you can automate many administrative tasks. Some examples include: diff --git a/content/admin/overview/about-upgrades-to-new-releases.md b/content/admin/overview/about-upgrades-to-new-releases.md index f25eeb31ca..475fea0e5f 100644 --- a/content/admin/overview/about-upgrades-to-new-releases.md +++ b/content/admin/overview/about-upgrades-to-new-releases.md @@ -5,6 +5,8 @@ intro: '{% if currentVersion == "github-ae@latest" %}Your {% data variables.prod versions: enterprise-server: '>=3.0' github-ae: '*' +topics: + - enterprise --- {% data variables.product.product_name %} is constantly improving, with new functionality and bug fixes introduced through major and minor releases. {% if currentVersion == "github-ae@latest" %}{% data variables.product.prodname_ghe_managed %} is a fully managed service, so {% data variables.product.company_short %} completes the upgrade process for your enterprise.{% endif %} diff --git a/content/admin/overview/github-ae-release-notes.md b/content/admin/overview/github-ae-release-notes.md index 2033e96399..38a619fc8e 100644 --- a/content/admin/overview/github-ae-release-notes.md +++ b/content/admin/overview/github-ae-release-notes.md @@ -15,25 +15,33 @@ versions: Please note that when {% data variables.product.prodname_actions %} is enabled during this upgrade, two organizations named "GitHub Actions" (@**actions** and @**github**) will appear in {% data variables.product.product_location %}. These organizations are required by {% data variables.product.prodname_actions %}. Users named @**ghost** and @**actions** appear as the actors for creation of these organizations in the audit log. - #### {% data variables.product.prodname_registry %} beta -[{% data variables.product.prodname_registry %}](https://github.com/features/packages) is a package hosting service, natively integrated with {% data variables.product.prodname_actions %}, APIs, and webhooks. Create an [end-to-end DevOps workflow](/github-ae@latest/packages/quickstart) that includes your code, continuous integration, and deployment solutions. During this beta, {% data variables.product.prodname_registry %} is offered free of charge to {% data variables.product.product_name %} customers. +[{% data variables.product.prodname_registry %}](https://github.com/features/packages) is a package hosting service, natively integrated with {% data variables.product.prodname_actions %}, APIs, and webhooks. Create an [end-to-end DevOps workflow](/github-ae@latest/packages/quickstart) that includes your code, continuous integration, and deployment solutions. For more information, see "[About {% data variables.product.prodname_registry %}](/packages/learn-github-packages/about-github-packages)." + +During this beta, {% data variables.product.prodname_registry %} is free of charge to {% data variables.product.product_name %} customers. #### {% data variables.product.prodname_GH_advanced_security %} beta -{% data variables.product.prodname_GH_advanced_security %} is available in beta and includes both code scanning and secret scanning. During this beta, {% data variables.product.prodname_GH_advanced_security %} features are being offered free of charge to {% data variables.product.product_name %} customers. Repository and organization administrators can opt-in to use {% data variables.product.prodname_GH_advanced_security %} in the Security and Analysis tab under settings. +{% data variables.product.prodname_GH_advanced_security %} is available in beta and includes both {% data variables.product.prodname_code_scanning %} and {% data variables.product.prodname_secret_scanning %}. Repository administrators and organization owners can opt into {% data variables.product.prodname_advanced_security %} features in the settings for a repository or organization, within the **Security and analysis** tab. For more information, see "[About {% data variables.product.prodname_GH_advanced_security %}](/github/getting-started-with-github/about-github-advanced-security)." -Learn more about {% data variables.product.prodname_GH_advanced_security %} [code scanning](/github/finding-security-vulnerabilities-and-errors-in-your-code/about-code-scanning) and [secret scanning](/github/administering-a-repository/about-secret-scanning) on {% data variables.product.prodname_ghe_managed %}. +During this beta, {% data variables.product.prodname_advanced_security %} features are free of charge to {% data variables.product.product_name %} customers. #### Manage teams from your identity provider (IdP) -Customers using SCIM (System for Cross-domain Identity Management) can now sync security groups in Azure Active Directory with {% data variables.product.company_short %} teams. Once a team has been linked to a security group, membership will be automatically updated in {% data variables.product.product_name %} when a user is added or removed from their assigned security group. +Customers using SCIM (System for Cross-domain Identity Management) can now sync security groups in Azure Active Directory with {% data variables.product.company_short %} teams. Once a team has been linked to a security group, membership will be automatically updated in {% data variables.product.product_name %} when a user is added or removed from their assigned security group. For more information, see "[Synchronizing a team with an identity provider group](/github/setting-up-and-managing-organizations-and-teams/synchronizing-a-team-with-an-identity-provider-group)." #### IP allow lists beta -[{% data variables.product.company_short %} IP allow lists](/admin/configuration/restricting-network-traffic-to-your-enterprise) provide the ability to filter traffic from administrator-specified IP ranges, defined by CIDR notation. The allow list is defined at the enterprise or organization account level in Security > Settings. All traffic that attempts to reach resources within the enterprise account and organizations are filtered by the IP allow lists. This functionality is provided in addition to the ability to request network security group changes that filter traffic to the entirety of the GHAE tenant. +Enterprise and organization owners can now use IP allow lists to restrict traffic to the enterprise or specific organizations. After you configure an IP allow list, only visitors from IP addresses on the list are permitted to access the resources protected by the list. +This functionality is provided in addition to the ability to request network security group changes that filter traffic to the entirety of the {% data variables.product.product_name %} tenant. + +For more information, see "[Restricting network traffic to your enterprise](/admin/configuration/restricting-network-traffic-to-your-enterprise)" and "[Managing allowed IP addresses for your organization](/github/setting-up-and-managing-organizations-and-teams/managing-allowed-ip-addresses-for-your-organization)." + +#### Pull request auto-merge + +With auto-merge, pull requests can be set to merge automatically when all merge requirements have been satisfied. This saves users from needing to constantly check the state of their pull requests just to merge them. Auto-merge can be enabled by a user with permission to merge and on pull requests that have unsatisfied merge requirements (like missing approvals or pending or failing required status checks). For more information, see "[Automatically merging a pull request](/github/collaborating-with-issues-and-pull-requests/automatically-merging-a-pull-request)." ### Changes @@ -47,7 +55,7 @@ Customers using SCIM (System for Cross-domain Identity Management) can now sync ##### Administration changes -- Enterprise owners can now publish a mandatory message. The message is shown to all users and they must acknowledge it. This can be used to display important information, terms of service or policies. +- Enterprise owners can now [publish a mandatory message](/admin/user-management/customizing-user-messages-for-your-enterprise#creating-a-mandatory-message). The message is shown to all users and they must acknowledge it. This can be used to display important information, terms of service or policies. - The {% data variables.product.prodname_github_app%} single file path permission can now [support up to ten files](/developers/apps/creating-a-github-app-using-url-parameters). - When configuring a {% data variables.product.prodname_github_app%}, the authorization callback URL is a required field. Now we will permit the integrator to specify multiple callback URLs. {% data variables.product.product_name %} denies authorization if the callback URL from the request is not listed. - A [new API endpoint](/rest/reference/apps#create-a-scoped-access-token) enables the exchange of a user to server token for a user to server token scoped to specific repositories. @@ -57,7 +65,7 @@ Customers using SCIM (System for Cross-domain Identity Management) can now sync ##### Default branch renaming -Enterprise and organization owners can now set the default branch name for new repositories. Enterprise owners can also enforce their choice of default branch name across all organizations or allow individual organizations to choose their own. +Enterprise and organization owners can now set the default branch name for new repositories. Enterprise owners can also enforce their choice of default branch name across all organizations or allow individual organizations to choose their own. For more information, see "[Enforcing repository management policies in your enterprise](/admin/policies/enforcing-repository-management-policies-in-your-enterprise#enforcing-a-policy-on-the-default-branch-name)" and "[Managing the default branch name for repositories in your organization](/github/setting-up-and-managing-organizations-and-teams/managing-the-default-branch-name-for-repositories-in-your-organization)." Existing repositories are unaffected by these settings, and their default branch name will not be changed. diff --git a/content/admin/overview/managing-billing-for-your-enterprise.md b/content/admin/overview/managing-billing-for-your-enterprise.md index 97c0ba8c03..8b8000cdc4 100644 --- a/content/admin/overview/managing-billing-for-your-enterprise.md +++ b/content/admin/overview/managing-billing-for-your-enterprise.md @@ -1,6 +1,6 @@ --- title: Managing billing for your enterprise -intro: 'You can view billing information for your enterprise.' +intro: You can view billing information for your enterprise. product: '{% data reusables.gated-features.enterprise-accounts %}' redirect_from: - /enterprise/admin/installation/managing-billing-for-github-enterprise @@ -9,6 +9,8 @@ redirect_from: versions: enterprise-server: '*' github-ae: '*' +topics: + - enterprise --- {% if currentVersion == "github-ae@latest" %} diff --git a/content/admin/overview/managing-your-github-enterprise-license.md b/content/admin/overview/managing-your-github-enterprise-license.md index b5c69a8999..5318d5ca08 100644 --- a/content/admin/overview/managing-your-github-enterprise-license.md +++ b/content/admin/overview/managing-your-github-enterprise-license.md @@ -14,6 +14,8 @@ redirect_from: - /enterprise/admin/overview/managing-your-github-enterprise-license versions: enterprise-server: '*' +topics: + - enterprise --- ### About {% data variables.product.prodname_enterprise %} licenses diff --git a/content/admin/overview/system-overview.md b/content/admin/overview/system-overview.md index c86afe795a..a84cc7b275 100644 --- a/content/admin/overview/system-overview.md +++ b/content/admin/overview/system-overview.md @@ -6,6 +6,8 @@ redirect_from: - /enterprise/admin/overview/system-overview versions: enterprise-server: '*' +topics: + - enterprise --- ### Storage architecture diff --git a/content/admin/packages/configuring-package-ecosystem-support-for-your-enterprise.md b/content/admin/packages/configuring-package-ecosystem-support-for-your-enterprise.md index 1f15dc49c2..b544920183 100644 --- a/content/admin/packages/configuring-package-ecosystem-support-for-your-enterprise.md +++ b/content/admin/packages/configuring-package-ecosystem-support-for-your-enterprise.md @@ -6,6 +6,8 @@ redirect_from: - /admin/packages/configuring-packages-support-for-your-enterprise versions: enterprise-server: '>=2.22' +topics: + - enterprise --- {% data reusables.package_registry.packages-ghes-release-stage %} diff --git a/content/admin/packages/enabling-github-packages-with-aws.md b/content/admin/packages/enabling-github-packages-with-aws.md index 4cfb1b0123..d1ac35a260 100644 --- a/content/admin/packages/enabling-github-packages-with-aws.md +++ b/content/admin/packages/enabling-github-packages-with-aws.md @@ -3,6 +3,8 @@ title: Enabling GitHub Packages with AWS intro: 'Set up {% data variables.product.prodname_registry %} with AWS as your external storage.' versions: enterprise-server: '>=2.22' +topics: + - enterprise --- {% warning %} diff --git a/content/admin/packages/enabling-github-packages-with-azure-blob-storage.md b/content/admin/packages/enabling-github-packages-with-azure-blob-storage.md index 65fd365621..913cfba14c 100644 --- a/content/admin/packages/enabling-github-packages-with-azure-blob-storage.md +++ b/content/admin/packages/enabling-github-packages-with-azure-blob-storage.md @@ -3,6 +3,8 @@ title: Enabling GitHub Packages with Azure Blob Storage intro: 'Set up {% data variables.product.prodname_registry %} with Azure Blob Storage as your external storage.' versions: enterprise-server: '>=3.0' +topics: + - enterprise --- {% warning %} diff --git a/content/admin/packages/enabling-github-packages-with-minio.md b/content/admin/packages/enabling-github-packages-with-minio.md index b0cec33688..9123b05147 100644 --- a/content/admin/packages/enabling-github-packages-with-minio.md +++ b/content/admin/packages/enabling-github-packages-with-minio.md @@ -3,6 +3,8 @@ title: Enabling GitHub Packages with MinIO intro: 'Set up {% data variables.product.prodname_registry %} with MinIO as your external storage.' versions: enterprise-server: '>=2.22' +topics: + - enterprise --- {% warning %} diff --git a/content/admin/packages/getting-started-with-github-packages-for-your-enterprise.md b/content/admin/packages/getting-started-with-github-packages-for-your-enterprise.md index 9f92df1f87..16aae55c86 100644 --- a/content/admin/packages/getting-started-with-github-packages-for-your-enterprise.md +++ b/content/admin/packages/getting-started-with-github-packages-for-your-enterprise.md @@ -6,6 +6,8 @@ redirect_from: - /admin/packages/enabling-github-packages-for-your-enterprise versions: enterprise-server: '>=2.22' +topics: + - enterprise --- {% if currentVersion == "enterprise-server@2.22" %} diff --git a/content/admin/packages/index.md b/content/admin/packages/index.md index 9808ef3fde..b4f90820e7 100644 --- a/content/admin/packages/index.md +++ b/content/admin/packages/index.md @@ -5,6 +5,8 @@ redirect_from: - /enterprise/admin/packages versions: enterprise-server: '>=2.22' +topics: + - enterprise --- {% data reusables.package_registry.packages-ghes-release-stage %} diff --git a/content/admin/packages/quickstart-for-configuring-your-minio-storage-bucket-for-github-packages.md b/content/admin/packages/quickstart-for-configuring-your-minio-storage-bucket-for-github-packages.md index 646d1454a2..fc418b26e2 100644 --- a/content/admin/packages/quickstart-for-configuring-your-minio-storage-bucket-for-github-packages.md +++ b/content/admin/packages/quickstart-for-configuring-your-minio-storage-bucket-for-github-packages.md @@ -3,6 +3,8 @@ title: Quickstart for configuring your MinIO storage bucket for GitHub Packages intro: 'Configure your custom MinIO storage bucket for use with {% data variables.product.prodname_registry %}.' versions: enterprise-server: '>=2.22' +topics: + - enterprise --- {% data reusables.package_registry.packages-ghes-release-stage %} diff --git a/content/admin/policies/about-pre-receive-hooks.md b/content/admin/policies/about-pre-receive-hooks.md index ec699e2ccf..effb31b1b4 100644 --- a/content/admin/policies/about-pre-receive-hooks.md +++ b/content/admin/policies/about-pre-receive-hooks.md @@ -6,6 +6,8 @@ redirect_from: - /enterprise/admin/policies/about-pre-receive-hooks versions: enterprise-server: '*' +topics: + - enterprise --- When a push occurs, each script runs in an isolated environment and can perform checks on the content of the push. The scripts will cause the push to be accepted if the exit status is 0, or rejected if the exit status is non-zero. diff --git a/content/admin/policies/creating-a-pre-receive-hook-environment.md b/content/admin/policies/creating-a-pre-receive-hook-environment.md index 64ab4099fc..f798129733 100644 --- a/content/admin/policies/creating-a-pre-receive-hook-environment.md +++ b/content/admin/policies/creating-a-pre-receive-hook-environment.md @@ -6,6 +6,8 @@ redirect_from: - /enterprise/admin/policies/creating-a-pre-receive-hook-environment versions: enterprise-server: '*' +topics: + - enterprise --- A pre-receive environment for {% data variables.product.prodname_ghe_server %} is a Linux [`chroot`](https://en.wikipedia.org/wiki/Chroot) environment. Because pre-receive hooks execute on every push event, they should be fast and lightweight. The environment needed for such checks will typically be minimal. diff --git a/content/admin/policies/creating-a-pre-receive-hook-script.md b/content/admin/policies/creating-a-pre-receive-hook-script.md index c501d76e58..9bb56024c8 100644 --- a/content/admin/policies/creating-a-pre-receive-hook-script.md +++ b/content/admin/policies/creating-a-pre-receive-hook-script.md @@ -1,69 +1,122 @@ --- title: Creating a pre-receive hook script intro: Use pre-receive hook scripts to create requirements for accepting or rejecting a push based on the contents. +miniTocMaxHeadingLevel: 4 redirect_from: - /enterprise/admin/developer-workflow/creating-a-pre-receive-hook-script - /enterprise/admin/policies/creating-a-pre-receive-hook-script versions: enterprise-server: '*' +topics: + - enterprise --- You can see examples of pre-receive hooks for {% data variables.product.prodname_ghe_server %} in the [`github/platform-samples` repository](https://github.com/github/platform-samples/tree/master/pre-receive-hooks). ### Writing a pre-receive hook script -A pre-receive hook script executes in a pre-receive hook environment on the {% data variables.product.prodname_ghe_server %} appliance. When you create a pre-receive hook script, consider the available input, output, exit-status and environment variables. +A pre-receive hook script executes in a pre-receive hook environment on {% data variables.product.product_location %}. When you create a pre-receive hook script, consider the available input, output, exit status, and environment variables. -#### Input (stdin) -After a push occurs and before any refs are updated on the remote repository, the `git-receive-pack` process invokes the pre-receive hook script with the standard input of one line per ref to be updated: +#### Input (`stdin`) +After a push occurs and before any refs are updated for the remote repository, the `git-receive-pack` process on {% data variables.product.product_location %} invokes the pre-receive hook script. Standard input for the script, `stdin`, is a string containing a line for each ref to update. Each line contains the old object name for the ref, the new object name for the ref, and the full name of the ref. -` SP SP LF` +``` + SP SP LF +``` -This string represents these arguments: +This string represents the following arguments. | Argument | Description | | :------------- | :------------- | -| `` | Old object name stored in the `ref`.
When you *create* a new `ref`, this equals 40 zeroes. | -| `` | New object name to be stored in the `ref`.
When you *delete* a `ref`, this equals 40 zeroes. | -| `` | The full name of the `ref`. | +| `` | Old object name stored in the ref.
When you create a new ref, the value is 40 zeroes. | +| `` | New object name to be stored in the ref.
When you delete a ref, the value is 40 zeroes. | +| `` | The full name of the ref. | -For more information on `git-receive-pack` see "[git-receive-pack](https://git-scm.com/docs/git-receive-pack)" in the Git documentation. -For more information about `refs` see "[Git References](https://git-scm.com/book/en/v2/Git-Internals-Git-References)" in *Pro Git*. +For more information about `git-receive-pack`, see "[git-receive-pack](https://git-scm.com/docs/git-receive-pack)" in the Git documentation. For more information about refs, see "[Git References](https://git-scm.com/book/en/v2/Git-Internals-Git-References)" in *Pro Git*. -#### Output (stdout) +#### Output (`stdout`) -The script output (`stdout`) is passed back to the client, so any `echo` statements are visible to the user on the command line or in the user interface. +The standard output for the script, `stdout`, is passed back to the client. Any `echo` statements will be visible to the user on the command line or in the user interface. -#### Exit-status +#### Exit status -The `exit-status` of a pre-receive script determines if the push will be accepted. +The exit status of a pre-receive script determines if the push will be accepted. -| Exit-status Value | Action | -| :-------------: | :-------------: | -| 0 | The push will be accepted. | +| Exit-status value | Action | +| :- | :- | +| 0 | The push will be accepted. | | non-zero | The push will be rejected. | #### Environment variables -Outside of the values that are provided to `stdin`, there are additional variables that are available to a pre-receive hook script running on {% data variables.product.prodname_ghe_server %}. -| Variable | Description | -| :------------- | :------------- | -| $GITHUB_USER_LOGIN | The user id who created the `ref`. | -| $GIT_DIR | The path of the remote repository on the appliance. | -| $GITHUB_USER_IP | The IP Address of the user performing the push. | -| $GITHUB_REPO_NAME | The name in `owner`/`repo` format of the repository being updated. | -| $GITHUB_PULL_REQUEST_AUTHOR_LOGIN | The user ID for the author of a pull request opened on your instance. | -| $GITHUB_REPO_PUBLIC | A boolean value that when `true` represents a public repository, and when `false` represents a private repository. | -| $GITHUB_PUBLIC_KEY_FINGERPRINT | The user's public key fingerprint. | -| $GITHUB_PULL_REQUEST_HEAD | A string in the format: `user:branch` for the HEAD of the PR.
Example: `octocat:fix-bug` | -| $GITHUB_PULL_REQUEST_BASE | A string in the format: `user:branch` for the BASE of the PR.
Example: `octocat:main` | -| $GITHUB_VIA | Method used to create the ref.
**Possible values:**
- `auto-merge deployment api`
- `blob edit`
- `branch merge api`
- `branches page delete button`
- `git refs create api`
- `git refs delete api`
- `git refs update api`
- `merge api`
- `pull request branch delete button`
- `pull request branch undo button`
- `pull request merge api`
- `pull request merge button`
- `pull request revert button`
- `releases delete button`
- `stafftools branch restore`
- `slumlord (#{sha})` | -| $GIT_PUSH_OPTION_COUNT | The number of push options that were sent by the client. For more information about push options, see "[git-push](https://git-scm.com/docs/git-push#git-push---push-optionltoptiongt)" in the Git documentation. | -| $GIT_PUSH_OPTION_N | Where N is an integer starting at 0, this variable contains the push option string that was sent by the client. The first option that was sent is stored in GIT_PUSH_OPTION_0, the second option that was sent is stored in GIT_PUSH_OPTION_1, and so on. For more information about push options, see "[git-push](https://git-scm.com/docs/git-push#git-push---push-optionltoptiongt)" in the Git documentation. |{% if currentVersion ver_gt "enterprise-server@2.21" %} -| $GIT_USER_AGENT | The user-agent string sent by the client that pushed the changes. |{% endif %} +In addition to the standard input for your pre-receive hook script, `stdin`, {% data variables.product.prodname_ghe_server %} makes the following variables available in the Bash environment for your script's execution. For more information about `stdin` for your pre-receive hook script, see "[Input (`stdin`)](#input-stdin)." + +Different environment variables are available to your pre-receive hook script depending on what triggers the script to run. + +- [Always available](#always-available) +- [Available for pushes from the web interface or API](#available-for-pushes-from-the-web-interface-or-api) +- [Available for pull request merges](#available-for-pull-request-merges) +- [Available for pushes using SSH authentication](#available-for-pushes-using-ssh-authentication) + +##### Always available + +The following variables are always available in the pre-receive hook environment. + +| Variable | Description | Example value | +| :- | :- | :- | +|
$GIT_DIR
| Path to the remote repository on the instance | /data/user/repositories/a/ab/
a1/b2/34/100001234/1234.git | +|
$GIT_PUSH_OPTION_COUNT
| The number of push options that were sent by the client with `--push-option`. For more information, see "[git-push](https://git-scm.com/docs/git-push#Documentation/git-push.txt---push-optionltoptiongt)" in the Git documentation. | 1 | +|
$GIT\_PUSH\_OPTION\_N
| Where _N_ is an integer starting at 0, this variable contains the push option string that was sent by the client. The first option that was sent is stored in `GIT_PUSH_OPTION_0`, the second option that was sent is stored in `GIT_PUSH_OPTION_1`, and so on. For more information about push options, see "[git-push](https://git-scm.com/docs/git-push#git-push---push-optionltoptiongt)" in the Git documentation. | abcd |{% if currentVersion ver_gt "enterprise-server@2.21" %} +|
$GIT_USER_AGENT
| User-agent string sent by the Git client that pushed the changes | git/2.0.0{% endif %} +|
$GITHUB_REPO_NAME
| Name of the repository being updated in _NAME_/_OWNER_ format | octo-org/hello-enterprise | +|
$GITHUB_REPO_PUBLIC
| Boolean representing whether the repository being updated is public |
  • true: Repository's visibility is public
  • false: Repository's visibility is private or internal
+|
$GITHUB_USER_IP
| IP address of client that initiated the push | 192.0.2.1 | +|
$GITHUB_USER_LOGIN
| Username for account that initiated the push | octocat | + +##### Available for pushes from the web interface or API + +The `$GITHUB_VIA` variable is available in the pre-receive hook environment when the ref update that triggers the hook occurs via either the web interface or the API for {% data variables.product.prodname_ghe_server %}. The value describes the action that updated the ref. + +| Value | Action | More information | +| :- | :- | :- | +|
auto-merge deployment api
| Automatic merge of the base branch via a deployment created with the API | "[Repositories](/rest/reference/repos#create-a-deployment)" in the REST API documentation | +|
blob edit
| Change to a file's contents in the web interface | "[Editing files in your repository](/github/managing-files-in-a-repository/editing-files-in-your-repository)" | +|
branch merge api
| Merge of a branch via the API | "[Repositories](/rest/reference/repos#merge-a-branch)" in the REST API documentation | +|
branches page delete button
| Deletion of a branch in the web interface | "[Creating and deleting branches within your repository](/github/collaborating-with-issues-and-pull-requests/creating-and-deleting-branches-within-your-repository#deleting-a-branch)" | +|
git refs create api
| Creation of a ref via the API | "[Git database](/rest/reference/git#create-a-reference)" in the REST API documentation | +|
git refs delete api
| Deletion of a ref via the API | "[Git database](/rest/reference/git#delete-a-reference)" in the REST API documentation | +|
git refs update api
| Update of a ref via the API | "[Git database](/rest/reference/git#update-a-reference)" in the REST API documentation | +|
git repo contents api
| Change to a file's contents via the API | "[Repositories](/rest/reference/repos#create-or-update-file-contents)" in the REST API documentation | +|
merge base into head
| Update of the topic branch from the base branch when the base branch requires strict status checks (via **Update branch** in a pull request, for example) | "[About protected branches](/github/administering-a-repository/about-protected-branches#require-status-checks-before-merging)" | +|
pull request branch delete button
| Deletion of a topic branch from a pull request in the web interface | "[Deleting and restoring branches in a pull request](/github/administering-a-repository/deleting-and-restoring-branches-in-a-pull-request#deleting-a-branch-used-for-a-pull-request)" | +|
pull request branch undo button
| Restoration of a topic branch from a pull request in the web interface | "[Deleting and restoring branches in a pull request](/github/administering-a-repository/deleting-and-restoring-branches-in-a-pull-request#restoring-a-deleted-branch)" | +|
pull request merge api
| Merge of a pull request via the API | "[Pulls](/rest/reference/pulls#merge-a-pull-request)" in the REST API documentation | +|
pull request merge button
| Merge of a pull request in the web interface | "[Merging a pull request](/github/collaborating-with-issues-and-pull-requests/merging-a-pull-request#merging-a-pull-request-on-github)" | +|
pull request revert button
| Revert of a pull request | "[Reverting a pull request](/github/collaborating-with-issues-and-pull-requests/reverting-a-pull-request)" | +|
releases delete button
| Deletion of a release | "[Managing releases in a repository](/github/administering-a-repository/managing-releases-in-a-repository#deleting-a-release)" | +|
stafftools branch restore
| Restoration of a branch from the site admin dashboard | "[Site admin dashboard](/admin/configuration/site-admin-dashboard#repositories)" | +|
tag create api
| Creation of a tag via the API | "[Git database](/rest/reference/git#create-a-tag-object)" in the REST API documentation | +|
slumlord (#SHA)
| Commit via Subversion | "[Support for Subversion clients](/github/importing-your-projects-to-github/support-for-subversion-clients#making-commits-to-subversion)" | +|
web branch create
| Creation of a branch via the web interface | "[Creating and deleting branches within your repository](/github/collaborating-with-issues-and-pull-requests/creating-and-deleting-branches-within-your-repository#creating-a-branch)" | + +##### Available for pull request merges + +The following variables are available in the pre-receive hook environment when the push that triggers the hook is a push due to the merge of a pull request. + +| Variable | Description | Example value | +| :- | :- | :- | +|
$GITHUB_PULL_REQUEST_AUTHOR_LOGIN
| Username of account that authored the pull request | octocat | +|
$GITHUB_PULL_REQUEST_HEAD
| The name of the pull request's topic branch, in the format `USERNAME:BRANCH` | octocat:fix-bug | +|
$GITHUB_PULL_REQUEST_BASE
| The name of the pull request's base branch, in the format `USERNAME:BRANCH` | octocat:main | + +##### Available for pushes using SSH authentication + +| Variable | Description | Example value | +| :- | :- | :- | +|
$GITHUB_PUBLIC_KEY_FINGERPRINT
| The public key fingerprint for the user who pushed the changes | a1:b2:c3:d4:e5:f6:g7:h8:i9:j0:k1:l2:m3:n4:o5:p6 | ### Setting permissions and pushing a pre-receive hook to {% data variables.product.prodname_ghe_server %} -A pre-receive hook script is contained in a repository on the {% data variables.product.prodname_ghe_server %} appliance. A site administrator must take into consideration the repository permissions and ensure that only the appropriate users have access. +A pre-receive hook script is contained in a repository on {% data variables.product.product_location %}. A site administrator must take into consideration the repository permissions and ensure that only the appropriate users have access. We recommend consolidating hooks to a single repository. If the consolidated hook repository is public, the `README.md` can be used to explain policy enforcements. Also, contributions can be accepted via pull requests. However, pre-receive hooks can only be added from the default branch. For a testing workflow, forks of the repository with configuration should be used. @@ -78,7 +131,7 @@ We recommend consolidating hooks to a single repository. If the consolidated hoo git update-index --chmod=+x SCRIPT_FILE.sh ``` -2. Commit and push to your designated pre-receive hooks repository on the {% data variables.product.prodname_ghe_server %} instance. +2. Commit and push to the designated repository for pre-receive hooks on {% data variables.product.product_location %}. ```shell $ git commit -m "YOUR COMMIT MESSAGE" @@ -88,36 +141,36 @@ We recommend consolidating hooks to a single repository. If the consolidated hoo 3. [Create the pre-receive hook](/enterprise/{{ currentVersion }}/admin/guides/developer-workflow/managing-pre-receive-hooks-on-the-github-enterprise-server-appliance/#creating-pre-receive-hooks) on the {% data variables.product.prodname_ghe_server %} instance. ### Testing pre-receive scripts locally -You can test a pre-receive hook script locally before you create or update it on your {% data variables.product.prodname_ghe_server %} appliance. One method is to create a local Docker environment to act as a remote repository that can execute the pre-receive hook. +You can test a pre-receive hook script locally before you create or update it on {% data variables.product.product_location %}. One method is to create a local Docker environment to act as a remote repository that can execute the pre-receive hook. {% data reusables.linux.ensure-docker %} 2. Create a file called `Dockerfile.dev` containing: - ```dockerfile - FROM gliderlabs/alpine:3.3 - RUN \ - apk add --no-cache git openssh bash && \ - ssh-keygen -A && \ - sed -i "s/#AuthorizedKeysFile/AuthorizedKeysFile/g" /etc/ssh/sshd_config && \ - adduser git -D -G root -h /home/git -s /bin/bash && \ - passwd -d git && \ - su git -c "mkdir /home/git/.ssh && \ - ssh-keygen -t ed25519 -f /home/git/.ssh/id_ed25519 -P '' && \ - mv /home/git/.ssh/id_ed25519.pub /home/git/.ssh/authorized_keys && \ - mkdir /home/git/test.git && \ - git --bare init /home/git/test.git" + ```dockerfile + FROM gliderlabs/alpine:3.3 + RUN \ + apk add --no-cache git openssh bash && \ + ssh-keygen -A && \ + sed -i "s/#AuthorizedKeysFile/AuthorizedKeysFile/g" /etc/ssh/sshd_config && \ + adduser git -D -G root -h /home/git -s /bin/bash && \ + passwd -d git && \ + su git -c "mkdir /home/git/.ssh && \ + ssh-keygen -t ed25519 -f /home/git/.ssh/id_ed25519 -P '' && \ + mv /home/git/.ssh/id_ed25519.pub /home/git/.ssh/authorized_keys && \ + mkdir /home/git/test.git && \ + git --bare init /home/git/test.git" - VOLUME ["/home/git/.ssh", "/home/git/test.git/hooks"] - WORKDIR /home/git + VOLUME ["/home/git/.ssh", "/home/git/test.git/hooks"] + WORKDIR /home/git - CMD ["/usr/sbin/sshd", "-D"] - ``` + CMD ["/usr/sbin/sshd", "-D"] + ``` - 3. Create a test pre-receive script called `always_reject.sh`. This example script will reject all pushes, which is useful for locking a repository: +3. Create a test pre-receive script called `always_reject.sh`. This example script will reject all pushes, which is useful for locking a repository: - ```shell - #!/usr/bin/env bash + ``` + #!/usr/bin/env bash echo "error: rejecting all pushes" exit 1 diff --git a/content/admin/policies/enforcing-policies-for-advanced-security-in-your-enterprise.md b/content/admin/policies/enforcing-policies-for-advanced-security-in-your-enterprise.md new file mode 100644 index 0000000000..7b9d29efd5 --- /dev/null +++ b/content/admin/policies/enforcing-policies-for-advanced-security-in-your-enterprise.md @@ -0,0 +1,22 @@ +--- +title: Enforcing policies for Advanced Security in your enterprise +intro: 'Enterprise owners can enforce policies to manage {% data variables.product.prodname_GH_advanced_security %} features for organizations on {% data variables.product.product_location %}.' +product: '{% data reusables.gated-features.ghas %}' +versions: + enterprise-server: '>=3.1' + github-ae: 'next' +--- + +### About {% data variables.product.prodname_GH_advanced_security %} + +{% data reusables.advanced-security.ghas-helps-developers %} + +### Enforcing a policy for {% data variables.product.prodname_advanced_security %} features + +{% data reusables.advanced-security.about-ghas-organization-policy %} + +{% data reusables.enterprise-accounts.access-enterprise %} +{% data reusables.enterprise-accounts.policies-tab %} +{% data reusables.enterprise-accounts.advanced-security-policies %} +{% data reusables.enterprise-accounts.advanced-security-organization-policy-drop-down %} +{% data reusables.enterprise-accounts.advanced-security-individual-organization-policy-drop-down %} diff --git a/content/admin/policies/enforcing-policies-for-your-enterprise.md b/content/admin/policies/enforcing-policies-for-your-enterprise.md index b3673275fc..c5583b723d 100644 --- a/content/admin/policies/enforcing-policies-for-your-enterprise.md +++ b/content/admin/policies/enforcing-policies-for-your-enterprise.md @@ -6,5 +6,7 @@ redirect_from: versions: enterprise-server: '*' github-ae: '*' +topics: + - enterprise --- diff --git a/content/admin/policies/enforcing-policy-with-pre-receive-hooks.md b/content/admin/policies/enforcing-policy-with-pre-receive-hooks.md index 49c8daec91..62f4721a65 100644 --- a/content/admin/policies/enforcing-policy-with-pre-receive-hooks.md +++ b/content/admin/policies/enforcing-policy-with-pre-receive-hooks.md @@ -7,5 +7,7 @@ redirect_from: - /enterprise/admin/policies/enforcing-policy-with-pre-receive-hooks versions: enterprise-server: '*' +topics: + - enterprise --- diff --git a/content/admin/policies/enforcing-repository-management-policies-in-your-enterprise.md b/content/admin/policies/enforcing-repository-management-policies-in-your-enterprise.md index de657754d3..adb7c0bf50 100644 --- a/content/admin/policies/enforcing-repository-management-policies-in-your-enterprise.md +++ b/content/admin/policies/enforcing-repository-management-policies-in-your-enterprise.md @@ -28,6 +28,8 @@ redirect_from: versions: enterprise-server: '*' github-ae: '*' +topics: + - enterprise --- ### Configuring the default visibility of new repositories in your enterprise @@ -242,4 +244,4 @@ If necessary, you can prevent repository administrators from changing anonymous ![Enforcement checkbox](/assets/images/help/business-accounts/default-branch-name-enforce.png) 5. Click **Update**. ![Update button](/assets/images/help/business-accounts/default-branch-name-update.png) -{% endif %} \ No newline at end of file +{% endif %} diff --git a/content/admin/policies/index.md b/content/admin/policies/index.md index 9c665ea894..a11386d423 100644 --- a/content/admin/policies/index.md +++ b/content/admin/policies/index.md @@ -7,6 +7,8 @@ redirect_from: versions: enterprise-server: '*' github-ae: '*' +topics: + - enterprise --- @@ -14,6 +16,7 @@ versions: {% topic_link_in_list /enforcing-policies-for-your-enterprise %} {% link_in_list /enforcing-repository-management-policies-in-your-enterprise %} + {% link_in_list /enforcing-policies-for-advanced-security-in-your-enterprise %} {% topic_link_in_list /enforcing-policy-with-pre-receive-hooks %} {% link_in_list /about-pre-receive-hooks %} {% link_in_list /creating-a-pre-receive-hook-environment %} diff --git a/content/admin/policies/managing-pre-receive-hooks-on-the-github-enterprise-server-appliance.md b/content/admin/policies/managing-pre-receive-hooks-on-the-github-enterprise-server-appliance.md index 806dd27df9..78a8dbb31f 100644 --- a/content/admin/policies/managing-pre-receive-hooks-on-the-github-enterprise-server-appliance.md +++ b/content/admin/policies/managing-pre-receive-hooks-on-the-github-enterprise-server-appliance.md @@ -7,6 +7,8 @@ redirect_from: - /enterprise/admin/policies/managing-pre-receive-hooks-on-the-github-enterprise-server-appliance versions: enterprise-server: '*' +topics: + - enterprise --- ### Creating pre-receive hooks diff --git a/content/admin/release-notes.md b/content/admin/release-notes.md index 4010feb879..3608580c91 100644 --- a/content/admin/release-notes.md +++ b/content/admin/release-notes.md @@ -1,7 +1,10 @@ --- title: Release notes -intro: The release notes for {{ allVersions[currentVersion].versionTitle }}. +intro: 'The release notes for {{ allVersions[currentVersion].versionTitle }}.' layout: release-notes versions: enterprise-server: '*' +topics: + - enterprise --- + diff --git a/content/admin/user-management/about-migrations.md b/content/admin/user-management/about-migrations.md index e04bdf4f4a..4761a77561 100644 --- a/content/admin/user-management/about-migrations.md +++ b/content/admin/user-management/about-migrations.md @@ -6,6 +6,8 @@ redirect_from: - /enterprise/admin/user-management/about-migrations versions: enterprise-server: '*' +topics: + - enterprise --- ### Types of migrations diff --git a/content/admin/user-management/activity-dashboard.md b/content/admin/user-management/activity-dashboard.md index 5fb4fce0d9..36572f7c90 100644 --- a/content/admin/user-management/activity-dashboard.md +++ b/content/admin/user-management/activity-dashboard.md @@ -1,6 +1,6 @@ --- title: Activity dashboard -intro: 'The Activity dashboard gives you an overview of all the activity in your enterprise.' +intro: The Activity dashboard gives you an overview of all the activity in your enterprise. redirect_from: - /enterprise/admin/articles/activity-dashboard/ - /enterprise/admin/installation/activity-dashboard @@ -8,6 +8,8 @@ redirect_from: versions: enterprise-server: '*' github-ae: '*' +topics: + - enterprise --- The Activity dashboard provides weekly, monthly, and yearly graphs of the number of: diff --git a/content/admin/user-management/adding-people-to-teams.md b/content/admin/user-management/adding-people-to-teams.md index 0a94dea0aa..cae2ec54c9 100644 --- a/content/admin/user-management/adding-people-to-teams.md +++ b/content/admin/user-management/adding-people-to-teams.md @@ -8,6 +8,8 @@ redirect_from: intro: 'Once a team has been created, organization admins can add users from {% data variables.product.product_location %} to the team and determine which repositories they have access to.' versions: enterprise-server: '*' +topics: + - enterprise --- Each team has its own individually defined [access permissions for repositories owned by your organization](/articles/permission-levels-for-an-organization). diff --git a/content/admin/user-management/audit-logging.md b/content/admin/user-management/audit-logging.md index 8a8da98e14..d4eb94ca04 100644 --- a/content/admin/user-management/audit-logging.md +++ b/content/admin/user-management/audit-logging.md @@ -8,6 +8,8 @@ redirect_from: versions: enterprise-server: '*' github-ae: '*' +topics: + - enterprise --- For a full list, see "[Audited actions](/admin/user-management/audited-actions)." For more information on finding a particular action, see "[Searching the audit log](/admin/user-management/searching-the-audit-log)." @@ -38,4 +40,4 @@ This example shows that commits were pushed to a repository. ``` Oct 26 02:19:31 github-ent github_audit: { "pid":22860, "ppid":22859, "program":"receive-pack", "git_dir":"/data/repositories/some-user/some-repository.git", "hostname":"github-ent", "pusher":"some-user", "real_ip":"10.0.0.51", "user_agent":"git/1.7.10.4", "repo_id":1, "repo_name":"some-user/some-repository", "transaction_id":"b031b7dc7043c87323a75f7a92092ef1456e5fbaef995c68", "frontend_ppid":1, "repo_public":true, "user_name":"some-user", "user_login":"some-user", "frontend_pid":18238, "frontend":"github-ent", "user_email":"some-user@github.example.com", "user_id":2, "pgroup":"github-ent_22860", "status":"post_receive_hook", "features":" report-status side-band-64k", "received_objects":3, "receive_pack_size":243, "non_fast_forward":false, "current_ref":"refs/heads/main" } ``` -{% endif %} \ No newline at end of file +{% endif %} diff --git a/content/admin/user-management/audited-actions.md b/content/admin/user-management/audited-actions.md index 57ed82a230..31cd867a5b 100644 --- a/content/admin/user-management/audited-actions.md +++ b/content/admin/user-management/audited-actions.md @@ -9,6 +9,8 @@ redirect_from: versions: enterprise-server: '*' github-ae: '*' +topics: + - enterprise --- #### Authentication @@ -51,9 +53,10 @@ Action | Description #### Enterprise configuration settings Action | Description ------------------------------------------------ | ------------------------------------------- -`business.update_member_repository_creation_permission` | A site admin restricts repository creation in organizations in the enterprise. For more information, see "[Enforcing repository management policies in your enterprise](/admin/policies/enforcing-repository-management-policies-in-your-enterprise#setting-a-policy-for-repository-creation)." -`business.clear_members_can_create_repos` | A site admin clears a restriction on repository creation in organizations in the enterprise. For more information, see "[Enforcing repository management policies in your enterprise](/admin/policies/enforcing-repository-management-policies-in-your-enterprise#setting-a-policy-for-repository-creation)."{% if enterpriseServerVersions contains currentVersion %} +----------------------------------------------- | -------------------------------------------{% if currentVersion ver_gt "enterprise-server@3.0" or currentVersion == "github-ae@next" %} +`business.advanced_security_policy_update` | A site admin creates, updates, or removes a policy for {% data variables.product.prodname_GH_advanced_security %}. For more information, see "[Enforcing policies for {% data variables.product.prodname_advanced_security %} in your enterprise](/admin/policies/enforcing-policies-for-advanced-security-in-your-enterprise)."{% endif %} +`business.clear_members_can_create_repos` | A site admin clears a restriction on repository creation in organizations in the enterprise. For more information, see "[Enforcing repository management policies in your enterprise](/admin/policies/enforcing-repository-management-policies-in-your-enterprise#setting-a-policy-for-repository-creation)." +`business.update_member_repository_creation_permission` | A site admin restricts repository creation in organizations in the enterprise. For more information, see "[Enforcing repository management policies in your enterprise](/admin/policies/enforcing-repository-management-policies-in-your-enterprise#setting-a-policy-for-repository-creation)."{% if enterpriseServerVersions contains currentVersion %} `enterprise.config.lock_anonymous_git_access` | A site admin locks anonymous Git read access to prevent repository admins from changing existing anonymous Git read access settings for repositories in the enterprise. For more information, see "[Enforcing repository management policies in your enterprise](/admin/policies/enforcing-repository-management-policies-in-your-enterprise#configuring-anonymous-git-read-access)." `enterprise.config.unlock_anonymous_git_access` | A site admin unlocks anonymous Git read access to allow repository admins to change existing anonymous Git read access settings for repositories in the enterprise. For more information, see "[Enforcing repository management policies in your enterprise](/admin/policies/enforcing-repository-management-policies-in-your-enterprise#configuring-anonymous-git-read-access)."{% endif %} diff --git a/content/admin/user-management/auditing-ssh-keys.md b/content/admin/user-management/auditing-ssh-keys.md index fca0dbe5be..fa8aee9730 100644 --- a/content/admin/user-management/auditing-ssh-keys.md +++ b/content/admin/user-management/auditing-ssh-keys.md @@ -7,6 +7,8 @@ redirect_from: versions: enterprise-server: '*' github-ae: '*' +topics: + - enterprise --- Once initiated, the audit disables all existing SSH keys and forces users to approve or reject them before they're able to clone, pull, or push to any repositories. An audit is useful in situations where an employee or contractor leaves the company and you need to ensure that all keys are verified. diff --git a/content/admin/user-management/auditing-users-across-your-enterprise.md b/content/admin/user-management/auditing-users-across-your-enterprise.md index 015fe8c7a2..d644c7cbeb 100644 --- a/content/admin/user-management/auditing-users-across-your-enterprise.md +++ b/content/admin/user-management/auditing-users-across-your-enterprise.md @@ -8,6 +8,8 @@ redirect_from: versions: enterprise-server: '*' github-ae: '*' +topics: + - enterprise --- ### Accessing the audit log diff --git a/content/admin/user-management/best-practices-for-user-security.md b/content/admin/user-management/best-practices-for-user-security.md index beae6174be..a0de18848f 100644 --- a/content/admin/user-management/best-practices-for-user-security.md +++ b/content/admin/user-management/best-practices-for-user-security.md @@ -6,6 +6,8 @@ redirect_from: versions: enterprise-server: '*' github-ae: '*' +topics: + - enterprise --- {% if enterpriseServerVersions contains currentVersion %} diff --git a/content/admin/user-management/configuring-git-large-file-storage-for-your-enterprise.md b/content/admin/user-management/configuring-git-large-file-storage-for-your-enterprise.md index e51686cb1f..bd22261272 100644 --- a/content/admin/user-management/configuring-git-large-file-storage-for-your-enterprise.md +++ b/content/admin/user-management/configuring-git-large-file-storage-for-your-enterprise.md @@ -15,6 +15,8 @@ redirect_from: versions: enterprise-server: '*' github-ae: '*' +topics: + - enterprise --- ### About {% data variables.large_files.product_name_long %} diff --git a/content/admin/user-management/configuring-visibility-for-organization-membership.md b/content/admin/user-management/configuring-visibility-for-organization-membership.md index 6551ad31f8..4b051cbd69 100644 --- a/content/admin/user-management/configuring-visibility-for-organization-membership.md +++ b/content/admin/user-management/configuring-visibility-for-organization-membership.md @@ -6,6 +6,8 @@ redirect_from: versions: enterprise-server: '*' github-ae: '*' +topics: + - enterprise --- {% if enterpriseServerVersions contains currentVersion %} diff --git a/content/admin/user-management/continuous-integration-using-jenkins.md b/content/admin/user-management/continuous-integration-using-jenkins.md index 8f1ebe6bda..74cc0fc964 100644 --- a/content/admin/user-management/continuous-integration-using-jenkins.md +++ b/content/admin/user-management/continuous-integration-using-jenkins.md @@ -6,6 +6,8 @@ redirect_from: - /enterprise/admin/user-management/continuous-integration-using-jenkins versions: enterprise-server: '*' +topics: + - enterprise --- ### Requirements diff --git a/content/admin/user-management/creating-teams.md b/content/admin/user-management/creating-teams.md index 96c25bbb5a..73de830082 100644 --- a/content/admin/user-management/creating-teams.md +++ b/content/admin/user-management/creating-teams.md @@ -5,6 +5,8 @@ redirect_from: - /enterprise/admin/user-management/creating-teams versions: enterprise-server: '*' +topics: + - enterprise --- Teams are central to many of {% data variables.product.prodname_dotcom %}'s collaborative features, such as team @mentions to notify appropriate parties that you'd like to request their input or attention. For more information, see "[Permission levels for an organization repository](/enterprise/{{ currentVersion }}/user/articles/repository-permission-levels-for-an-organization/)". diff --git a/content/admin/user-management/customizing-user-messages-for-your-enterprise.md b/content/admin/user-management/customizing-user-messages-for-your-enterprise.md index 8d20c8a7ad..fb040c543b 100644 --- a/content/admin/user-management/customizing-user-messages-for-your-enterprise.md +++ b/content/admin/user-management/customizing-user-messages-for-your-enterprise.md @@ -8,6 +8,8 @@ intro: 'You can create custom messages that users will see on {% data variables. versions: enterprise-server: '*' github-ae: '*' +topics: + - enterprise --- ### About user messages diff --git a/content/admin/user-management/disabling-git-ssh-access-on-your-enterprise.md b/content/admin/user-management/disabling-git-ssh-access-on-your-enterprise.md index 1578faba94..ed0284421e 100644 --- a/content/admin/user-management/disabling-git-ssh-access-on-your-enterprise.md +++ b/content/admin/user-management/disabling-git-ssh-access-on-your-enterprise.md @@ -13,10 +13,12 @@ redirect_from: - /enterprise/admin/installation/disabling-git-ssh-access-on-github-enterprise-server - /enterprise/admin/user-management/disabling-git-ssh-access-on-github-enterprise-server - /admin/user-management/disabling-git-ssh-access-on-github-enterprise-server -intro: 'You can prevent people from using Git over SSH for certain or all repositories on your enterprise.' +intro: You can prevent people from using Git over SSH for certain or all repositories on your enterprise. versions: enterprise-server: '*' github-ae: '*' +topics: + - enterprise --- ### Disabling Git SSH access to a specific repository diff --git a/content/admin/user-management/exporting-migration-data-from-githubcom.md b/content/admin/user-management/exporting-migration-data-from-githubcom.md index 7856792cb0..6112f4c241 100644 --- a/content/admin/user-management/exporting-migration-data-from-githubcom.md +++ b/content/admin/user-management/exporting-migration-data-from-githubcom.md @@ -11,6 +11,8 @@ redirect_from: - /enterprise/admin/user-management/exporting-migration-data-from-githubcom versions: enterprise-server: '*' +topics: + - enterprise --- ### Preparing the source organization on {% data variables.product.prodname_dotcom %} diff --git a/content/admin/user-management/exporting-migration-data-from-your-enterprise.md b/content/admin/user-management/exporting-migration-data-from-your-enterprise.md index da606dbe91..a777e740e3 100644 --- a/content/admin/user-management/exporting-migration-data-from-your-enterprise.md +++ b/content/admin/user-management/exporting-migration-data-from-your-enterprise.md @@ -11,6 +11,8 @@ redirect_from: - /enterprise/admin/user-management/exporting-migration-data-from-your-enterprise versions: enterprise-server: '*' +topics: + - enterprise --- ### Preparing the {% data variables.product.prodname_ghe_server %} source instance diff --git a/content/admin/user-management/importing-data-from-third-party-version-control-systems.md b/content/admin/user-management/importing-data-from-third-party-version-control-systems.md index 8a81872d82..4fce02539d 100644 --- a/content/admin/user-management/importing-data-from-third-party-version-control-systems.md +++ b/content/admin/user-management/importing-data-from-third-party-version-control-systems.md @@ -6,6 +6,8 @@ redirect_from: - /enterprise/admin/user-management/importing-data-from-third-party-version-control-systems versions: enterprise-server: '*' +topics: + - enterprise --- ### Importing projects from Mercurial diff --git a/content/admin/user-management/index.md b/content/admin/user-management/index.md index 73f0672568..6bbed26d46 100644 --- a/content/admin/user-management/index.md +++ b/content/admin/user-management/index.md @@ -11,6 +11,8 @@ redirect_from: versions: enterprise-server: '*' github-ae: '*' +topics: + - enterprise --- diff --git a/content/admin/user-management/log-forwarding.md b/content/admin/user-management/log-forwarding.md index 00ad4741f3..c30299376f 100644 --- a/content/admin/user-management/log-forwarding.md +++ b/content/admin/user-management/log-forwarding.md @@ -9,6 +9,8 @@ redirect_from: versions: enterprise-server: '*' github-ae: '*' +topics: + - enterprise --- Any log collection system that supports syslog-style log streams is supported (e.g., [Logstash](http://logstash.net/) and [Splunk](http://docs.splunk.com/Documentation/Splunk/latest/Data/Monitornetworkports)). diff --git a/content/admin/user-management/managing-dormant-users.md b/content/admin/user-management/managing-dormant-users.md index 9aaaccfb90..99c8980a2c 100644 --- a/content/admin/user-management/managing-dormant-users.md +++ b/content/admin/user-management/managing-dormant-users.md @@ -5,10 +5,12 @@ redirect_from: - /enterprise/admin/articles/viewing-dormant-users/ - /enterprise/admin/articles/determining-whether-a-user-account-is-dormant/ - /enterprise/admin/user-management/managing-dormant-users -intro: A user account is considered to be dormant if it has not been active for at least a month.{% if enterpriseServerVersions contains currentVersion %} You may choose to suspend dormant users to free up user licenses.{% endif %} +intro: 'A user account is considered to be dormant if it has not been active for at least a month.{% if enterpriseServerVersions contains currentVersion %} You may choose to suspend dormant users to free up user licenses.{% endif %}' versions: enterprise-server: '*' github-ae: '*' +topics: + - enterprise --- "Activity" includes, but is not limited to: diff --git a/content/admin/user-management/managing-global-webhooks.md b/content/admin/user-management/managing-global-webhooks.md index e34217f4ca..8dfcaa45e9 100644 --- a/content/admin/user-management/managing-global-webhooks.md +++ b/content/admin/user-management/managing-global-webhooks.md @@ -7,6 +7,8 @@ redirect_from: versions: enterprise-server: '*' github-ae: '*' +topics: + - enterprise --- ### About global webhooks diff --git a/content/admin/user-management/managing-organizations-in-your-enterprise.md b/content/admin/user-management/managing-organizations-in-your-enterprise.md index 08415450a9..0fddb06a87 100644 --- a/content/admin/user-management/managing-organizations-in-your-enterprise.md +++ b/content/admin/user-management/managing-organizations-in-your-enterprise.md @@ -10,4 +10,7 @@ mapTopic: true versions: enterprise-server: '*' github-ae: '*' +topics: + - enterprise --- + diff --git a/content/admin/user-management/managing-projects-using-jira.md b/content/admin/user-management/managing-projects-using-jira.md index fb919a1769..c6ea376e22 100644 --- a/content/admin/user-management/managing-projects-using-jira.md +++ b/content/admin/user-management/managing-projects-using-jira.md @@ -9,6 +9,8 @@ redirect_from: - /enterprise/admin/user-management/managing-projects-using-jira versions: enterprise-server: '*' +topics: + - enterprise --- ### Connecting JIRA to a {% data variables.product.prodname_enterprise %} organization diff --git a/content/admin/user-management/managing-repositories-in-your-enterprise.md b/content/admin/user-management/managing-repositories-in-your-enterprise.md index 4da07ed3b7..bf4eb99cac 100644 --- a/content/admin/user-management/managing-repositories-in-your-enterprise.md +++ b/content/admin/user-management/managing-repositories-in-your-enterprise.md @@ -1,6 +1,6 @@ --- title: Managing repositories in your enterprise -intro: 'You can manage the settings available to repository administrators in your enterprise.' +intro: You can manage the settings available to repository administrators in your enterprise. redirect_from: - /enterprise/admin/user-management/repositories - /enterprise/admin/user-management/managing-repositories-in-your-enterprise @@ -8,5 +8,7 @@ mapTopic: true versions: enterprise-server: '*' github-ae: '*' +topics: + - enterprise --- diff --git a/content/admin/user-management/managing-users-in-your-enterprise.md b/content/admin/user-management/managing-users-in-your-enterprise.md index 63a373005f..f5ee73f94a 100644 --- a/content/admin/user-management/managing-users-in-your-enterprise.md +++ b/content/admin/user-management/managing-users-in-your-enterprise.md @@ -1,6 +1,6 @@ --- title: Managing users in your enterprise -intro: 'You can audit user activity and manage user settings.' +intro: You can audit user activity and manage user settings. redirect_from: - /enterprise/admin/guides/user-management/enabling-avatars-and-identicons/ - /enterprise/admin/user-management/basic-account-settings @@ -10,5 +10,7 @@ mapTopic: true versions: enterprise-server: '*' github-ae: '*' +topics: + - enterprise --- diff --git a/content/admin/user-management/migrating-data-to-and-from-your-enterprise.md b/content/admin/user-management/migrating-data-to-and-from-your-enterprise.md index a3df463ac3..216d8e3aa4 100644 --- a/content/admin/user-management/migrating-data-to-and-from-your-enterprise.md +++ b/content/admin/user-management/migrating-data-to-and-from-your-enterprise.md @@ -9,5 +9,7 @@ redirect_from: - /enterprise/admin/user-management/migrating-data-to-and-from-your-enterprise versions: enterprise-server: '*' +topics: + - enterprise --- diff --git a/content/admin/user-management/migrating-data-to-your-enterprise.md b/content/admin/user-management/migrating-data-to-your-enterprise.md index e1a120ba63..47abddf047 100644 --- a/content/admin/user-management/migrating-data-to-your-enterprise.md +++ b/content/admin/user-management/migrating-data-to-your-enterprise.md @@ -13,6 +13,8 @@ redirect_from: - /enterprise/admin/user-management/migrating-data-to-your-enterprise versions: enterprise-server: '*' +topics: + - enterprise --- ### Applying the imported data on {% data variables.product.prodname_ghe_server %} diff --git a/content/admin/user-management/migrating-to-internal-repositories.md b/content/admin/user-management/migrating-to-internal-repositories.md index 509a9e1a11..c3abc3d40b 100644 --- a/content/admin/user-management/migrating-to-internal-repositories.md +++ b/content/admin/user-management/migrating-to-internal-repositories.md @@ -7,6 +7,8 @@ redirect_from: permissions: Site administrators can migrate to internal repositories. versions: enterprise-server: '>=2.20' +topics: + - enterprise --- ### About internal repositories diff --git a/content/admin/user-management/monitoring-activity-in-your-enterprise.md b/content/admin/user-management/monitoring-activity-in-your-enterprise.md index a72fde4deb..4c8ae9bd38 100644 --- a/content/admin/user-management/monitoring-activity-in-your-enterprise.md +++ b/content/admin/user-management/monitoring-activity-in-your-enterprise.md @@ -7,5 +7,7 @@ redirect_from: versions: enterprise-server: '*' github-ae: '*' +topics: + - enterprise --- diff --git a/content/admin/user-management/placing-a-legal-hold-on-a-user-or-organization.md b/content/admin/user-management/placing-a-legal-hold-on-a-user-or-organization.md index 20a81d080e..881f91d4b9 100644 --- a/content/admin/user-management/placing-a-legal-hold-on-a-user-or-organization.md +++ b/content/admin/user-management/placing-a-legal-hold-on-a-user-or-organization.md @@ -1,11 +1,13 @@ --- title: Placing a legal hold on a user or organization -intro: 'You can place a legal hold on a user or organization to ensure that repositories they own cannot be permanently removed from your enterprise.' +intro: You can place a legal hold on a user or organization to ensure that repositories they own cannot be permanently removed from your enterprise. redirect_from: - /enterprise/admin/user-management/placing-a-legal-hold-on-a-user-or-organization versions: enterprise-server: '*' github-ae: '*' +topics: + - enterprise --- Usually, if someone deletes a repository, it will be available on disk for 90 days and can be restored via the site admin dashboard. After 90 days the repository is purged and deleted forever. If you place a legal hold on a user or organization, repositories they own are available for restore indefinitely. diff --git a/content/admin/user-management/preparing-to-migrate-data-to-your-enterprise.md b/content/admin/user-management/preparing-to-migrate-data-to-your-enterprise.md index c6e85b46cc..b0b294e4ce 100644 --- a/content/admin/user-management/preparing-to-migrate-data-to-your-enterprise.md +++ b/content/admin/user-management/preparing-to-migrate-data-to-your-enterprise.md @@ -10,6 +10,8 @@ redirect_from: - /enterprise/admin/user-management/preparing-to-migrate-data-to-your-enterprise versions: enterprise-server: '*' +topics: + - enterprise --- ### Preparing the migrated data for import to {% data variables.product.prodname_ghe_server %} diff --git a/content/admin/user-management/preventing-users-from-creating-organizations.md b/content/admin/user-management/preventing-users-from-creating-organizations.md index 1a1f09c776..41355830c4 100644 --- a/content/admin/user-management/preventing-users-from-creating-organizations.md +++ b/content/admin/user-management/preventing-users-from-creating-organizations.md @@ -4,10 +4,12 @@ redirect_from: - /enterprise/admin/articles/preventing-users-from-creating-organizations/ - /enterprise/admin/hidden/preventing-users-from-creating-organizations/ - /enterprise/admin/user-management/preventing-users-from-creating-organizations -intro: 'You can prevent users from creating organizations in your enterprise.' +intro: You can prevent users from creating organizations in your enterprise. versions: enterprise-server: '*' github-ae: '*' +topics: + - enterprise --- {% data reusables.enterprise-accounts.access-enterprise %} diff --git a/content/admin/user-management/promoting-or-demoting-a-site-administrator.md b/content/admin/user-management/promoting-or-demoting-a-site-administrator.md index 8370cad870..225c8efd4b 100644 --- a/content/admin/user-management/promoting-or-demoting-a-site-administrator.md +++ b/content/admin/user-management/promoting-or-demoting-a-site-administrator.md @@ -7,6 +7,8 @@ redirect_from: intro: 'Site administrators can promote any normal user account to a site administrator, as well as demote other site administrators to regular users.' versions: enterprise-server: '*' +topics: + - enterprise --- {% tip %} @@ -52,4 +54,4 @@ For information about promoting a user to an organization owner, see the `ghe-or 2. Run [ghe-user-demote](/enterprise/{{ currentVersion }}/admin/guides/installation/command-line-utilities#ghe-user-demote) with the username to demote. ```shell $ ghe-user-demote username - ``` \ No newline at end of file + ``` diff --git a/content/admin/user-management/rebuilding-contributions-data.md b/content/admin/user-management/rebuilding-contributions-data.md index 12b6e32f28..8ad18007f0 100644 --- a/content/admin/user-management/rebuilding-contributions-data.md +++ b/content/admin/user-management/rebuilding-contributions-data.md @@ -6,6 +6,8 @@ redirect_from: - /enterprise/admin/user-management/rebuilding-contributions-data versions: enterprise-server: '*' +topics: + - enterprise --- Whenever a commit is pushed to {% data variables.product.prodname_enterprise %}, it is linked to a user account if they are both associated with the same email address. However, existing commits are *not* retroactively linked when a user registers a new email address or creates a new account. diff --git a/content/admin/user-management/removing-users-from-teams-and-organizations.md b/content/admin/user-management/removing-users-from-teams-and-organizations.md index 3887587f90..2d4d6eace6 100644 --- a/content/admin/user-management/removing-users-from-teams-and-organizations.md +++ b/content/admin/user-management/removing-users-from-teams-and-organizations.md @@ -5,6 +5,8 @@ redirect_from: - /enterprise/admin/user-management/removing-users-from-teams-and-organizations versions: enterprise-server: '*' +topics: + - enterprise --- Only owners or team admins can remove organization members. When a user is removed from a team or organization, their issues, pull requests, and comments in the organization's repositories remain intact and are still attributed to the user. diff --git a/content/admin/user-management/requiring-two-factor-authentication-for-an-organization.md b/content/admin/user-management/requiring-two-factor-authentication-for-an-organization.md index 32cff3f262..a60123ce08 100644 --- a/content/admin/user-management/requiring-two-factor-authentication-for-an-organization.md +++ b/content/admin/user-management/requiring-two-factor-authentication-for-an-organization.md @@ -5,6 +5,8 @@ redirect_from: - /enterprise/admin/user-management/requiring-two-factor-authentication-for-an-organization versions: enterprise-server: '*' +topics: + - enterprise --- When using LDAP or built-in authentication, two-factor authentication is supported on {% data variables.product.product_location %}. Organization administrators can require members to have two-factor authentication enabled. diff --git a/content/admin/user-management/searching-the-audit-log.md b/content/admin/user-management/searching-the-audit-log.md index 9495d0dc5c..aa9caf2db5 100644 --- a/content/admin/user-management/searching-the-audit-log.md +++ b/content/admin/user-management/searching-the-audit-log.md @@ -1,6 +1,6 @@ --- title: Searching the audit log -intro: 'Site administrators can search an extensive list of audited actions on the enterprise.' +intro: Site administrators can search an extensive list of audited actions on the enterprise. redirect_from: - /enterprise/admin/articles/searching-the-audit-log/ - /enterprise/admin/installation/searching-the-audit-log @@ -8,6 +8,8 @@ redirect_from: versions: enterprise-server: '*' github-ae: '*' +topics: + - enterprise --- ### Search query syntax diff --git a/content/admin/user-management/suspending-and-unsuspending-users.md b/content/admin/user-management/suspending-and-unsuspending-users.md index ce82b3bb93..ba313b6765 100644 --- a/content/admin/user-management/suspending-and-unsuspending-users.md +++ b/content/admin/user-management/suspending-and-unsuspending-users.md @@ -10,6 +10,8 @@ redirect_from: intro: 'If a user leaves or moves to a different part of the company, you should remove or modify their ability to access {% data variables.product.product_location %}.' versions: enterprise-server: '*' +topics: + - enterprise --- If employees leave the company, you can suspend their {% data variables.product.prodname_ghe_server %} accounts to open up user licenses in your {% data variables.product.prodname_enterprise %} license while preserving the issues, comments, repositories, gists, and other data they created. Suspended users cannot sign into your instance, nor can they push or pull code. @@ -92,4 +94,4 @@ You can create a custom message that suspended users will see when attempting to ``` ### Further reading -- "[Suspend a user](/rest/reference/enterprise-admin#suspend-a-user)" \ No newline at end of file +- "[Suspend a user](/rest/reference/enterprise-admin#suspend-a-user)" diff --git a/content/admin/user-management/troubleshooting-service-hooks.md b/content/admin/user-management/troubleshooting-service-hooks.md index 3ae71bf810..f7e8ea77c0 100644 --- a/content/admin/user-management/troubleshooting-service-hooks.md +++ b/content/admin/user-management/troubleshooting-service-hooks.md @@ -8,6 +8,8 @@ redirect_from: versions: enterprise-server: '*' github-ae: '*' +topics: + - enterprise --- ### Getting information on deliveries diff --git a/content/admin/user-management/viewing-push-logs.md b/content/admin/user-management/viewing-push-logs.md index 19fb572493..3481540a90 100644 --- a/content/admin/user-management/viewing-push-logs.md +++ b/content/admin/user-management/viewing-push-logs.md @@ -1,6 +1,6 @@ --- title: Viewing push logs -intro: 'Site administrators can view a list of Git push operations for any repository on the enterprise.' +intro: Site administrators can view a list of Git push operations for any repository on the enterprise. redirect_from: - /enterprise/admin/articles/viewing-push-logs/ - /enterprise/admin/installation/viewing-push-logs @@ -8,6 +8,8 @@ redirect_from: versions: enterprise-server: '*' github-ae: '*' +topics: + - enterprise --- Push log entries show: @@ -38,4 +40,4 @@ Push log entries show: ```shell ghe-repo owner/repository -c "less audit_log" ``` -{% endif %} \ No newline at end of file +{% endif %} diff --git a/content/github/administering-a-repository/about-securing-your-repository.md b/content/code-security/getting-started/about-securing-your-repository.md similarity index 98% rename from content/github/administering-a-repository/about-securing-your-repository.md rename to content/code-security/getting-started/about-securing-your-repository.md index e383cbb71e..82cbdf67b8 100644 --- a/content/github/administering-a-repository/about-securing-your-repository.md +++ b/content/code-security/getting-started/about-securing-your-repository.md @@ -1,10 +1,14 @@ --- title: About securing your repository intro: '{% data variables.product.product_name %} provides a number of ways that you can help keep your repository secure.' +redirect_from: + - /github/administering-a-repository/about-securing-your-repository versions: free-pro-team: '*' enterprise-server: '>=3.0' github-ae: '*' +topics: + - repositories --- ### Setting up your repository securely diff --git a/content/code-security/getting-started/index.md b/content/code-security/getting-started/index.md new file mode 100644 index 0000000000..86a94d883e --- /dev/null +++ b/content/code-security/getting-started/index.md @@ -0,0 +1,15 @@ +--- +title: Getting started with code security +shortTitle: Getting started +intro: 'Introduction to code security with {% data variables.product.product_name %}.' +versions: + free-pro-team: '*' + enterprise-server: '>=3.0' + github-ae: '*' +topics: + - security +--- + +### Table of Contents + +{% link_in_list /about-securing-your-repository %} \ No newline at end of file diff --git a/content/code-security/index.md b/content/code-security/index.md new file mode 100644 index 0000000000..42a457bc4d --- /dev/null +++ b/content/code-security/index.md @@ -0,0 +1,21 @@ +--- +title: Code security +shortTitle: Code security +intro: 'Learn how to keep the code stored in your repositories secure.' +versions: + free-pro-team: '*' + enterprise-server: '>=3.0' + github-ae: '*' +topics: + - security +--- + +{% link_with_intro /getting-started %} + +{% link_with_intro /secret-security %} + +{% link_with_intro /secure-coding %} + +{% link_with_intro /security-advisories %} + +{% link_with_intro /supply-chain-security %} diff --git a/content/github/administering-a-repository/about-secret-scanning.md b/content/code-security/secret-security/about-secret-scanning.md similarity index 98% rename from content/github/administering-a-repository/about-secret-scanning.md rename to content/code-security/secret-security/about-secret-scanning.md index 8835b2c460..68b1598540 100644 --- a/content/github/administering-a-repository/about-secret-scanning.md +++ b/content/code-security/secret-security/about-secret-scanning.md @@ -6,10 +6,13 @@ redirect_from: - /github/administering-a-repository/about-token-scanning - /articles/about-token-scanning - /articles/about-token-scanning-for-private-repositories + - /github/administering-a-repository/about-secret-scanning versions: free-pro-team: '*' enterprise-server: '>=3.0' github-ae: '*' +topics: + - repositories --- {% data reusables.secret-scanning.beta %} diff --git a/content/github/administering-a-repository/configuring-secret-scanning-for-your-repositories.md b/content/code-security/secret-security/configuring-secret-scanning-for-your-repositories.md similarity index 98% rename from content/github/administering-a-repository/configuring-secret-scanning-for-your-repositories.md rename to content/code-security/secret-security/configuring-secret-scanning-for-your-repositories.md index 27105cdd2f..ff7cd65eb8 100644 --- a/content/github/administering-a-repository/configuring-secret-scanning-for-your-repositories.md +++ b/content/code-security/secret-security/configuring-secret-scanning-for-your-repositories.md @@ -4,11 +4,14 @@ intro: 'You can configure how {% data variables.product.prodname_dotcom %} scans permissions: 'People with admin permissions to a repository can enable {% data variables.product.prodname_secret_scanning %} for the repository.' redirect_from: - /github/administering-a-repository/configuring-secret-scanning-for-private-repositories + - /github/administering-a-repository/configuring-secret-scanning-for-your-repositories product: '{% data reusables.gated-features.secret-scanning %}' versions: free-pro-team: '*' enterprise-server: '>=3.0' github-ae: '*' +topics: + - repositories --- {% data reusables.secret-scanning.beta %} diff --git a/content/code-security/secret-security/index.md b/content/code-security/secret-security/index.md new file mode 100644 index 0000000000..bf316ab2da --- /dev/null +++ b/content/code-security/secret-security/index.md @@ -0,0 +1,18 @@ +--- +title: Keeping secrets secure +shortTitle: Secret security +intro: 'Let {% data variables.product.company_short %} do the hard work of ensuring that tokens, private keys, and other code secrets are not exposed in your repository.' +product: '{% data reusables.gated-features.secret-scanning %}' +versions: + free-pro-team: '*' + enterprise-server: '>=3.0' + github-ae: '*' +topics: + - repositories +--- + +### Table of Contents + +{% link_in_list /about-secret-scanning %} +{% link_in_list /configuring-secret-scanning-for-your-repositories %} +{% link_in_list /managing-alerts-from-secret-scanning %} diff --git a/content/github/administering-a-repository/managing-alerts-from-secret-scanning.md b/content/code-security/secret-security/managing-alerts-from-secret-scanning.md similarity index 96% rename from content/github/administering-a-repository/managing-alerts-from-secret-scanning.md rename to content/code-security/secret-security/managing-alerts-from-secret-scanning.md index d6c7398e98..a0493f360a 100644 --- a/content/github/administering-a-repository/managing-alerts-from-secret-scanning.md +++ b/content/code-security/secret-security/managing-alerts-from-secret-scanning.md @@ -2,10 +2,14 @@ title: Managing alerts from secret scanning intro: You can view and close alerts for secrets checked in to your repository. product: '{% data reusables.gated-features.secret-scanning %}' +redirect_from: + - /github/administering-a-repository/managing-alerts-from-secret-scanning versions: free-pro-team: '*' enterprise-server: '>=3.0' github-ae: '*' +topics: + - repositories --- {% data reusables.secret-scanning.beta %} diff --git a/content/code-security/secure-coding/about-code-scanning.md b/content/code-security/secure-coding/about-code-scanning.md new file mode 100644 index 0000000000..d0bbcb16bc --- /dev/null +++ b/content/code-security/secure-coding/about-code-scanning.md @@ -0,0 +1,65 @@ +--- +title: About code scanning +intro: 'You can use {% data variables.product.prodname_code_scanning %} to find security vulnerabilities and errors in the code for your project on {% data variables.product.prodname_dotcom %}.' +product: '{% data reusables.gated-features.code-scanning %}' +redirect_from: + - /github/managing-security-vulnerabilities/about-automated-code-scanning + - /github/finding-security-vulnerabilities-and-errors-in-your-code/about-code-scanning +versions: + free-pro-team: '*' + enterprise-server: '>=3.0' + github-ae: '*' +topics: + - security +--- + +{% data reusables.code-scanning.beta %} +{% data reusables.code-scanning.enterprise-enable-code-scanning %} + +### About {% data variables.product.prodname_code_scanning %} + +{% data reusables.code-scanning.about-code-scanning %} + +You can use {% data variables.product.prodname_code_scanning %} to find, triage, and prioritize fixes for existing problems in your code. {% data variables.product.prodname_code_scanning_capc %} also prevents developers from introducing new problems. You can schedule scans for specific days and times, or trigger scans when a specific event occurs in the repository, such as a push. + +If {% data variables.product.prodname_code_scanning %} finds a potential vulnerability or error in your code, {% data variables.product.prodname_dotcom %} displays an alert in the repository. After you fix the code that triggered the alert, {% data variables.product.prodname_dotcom %} closes the alert. For more information, see "[Managing {% data variables.product.prodname_code_scanning %} alerts for your repository](/code-security/secure-coding/managing-code-scanning-alerts-for-your-repository)." + +To monitor results from {% data variables.product.prodname_code_scanning %} across your repositories or your organization, you can use webhooks and the {% data variables.product.prodname_code_scanning %} API. For information about the webhooks for {% data variables.product.prodname_code_scanning %}, see +"[Webhook events and payloads](/developers/webhooks-and-events/webhook-events-and-payloads#code_scanning_alert)." For information about API endpoints, see "[{% data variables.product.prodname_code_scanning_capc %}](/rest/reference/code-scanning)." + +To get started with {% data variables.product.prodname_code_scanning %}, see "[Setting up {% data variables.product.prodname_code_scanning %} for a repository](/code-security/secure-coding/setting-up-code-scanning-for-a-repository)." + +### About {% data variables.product.prodname_codeql %} + +You can use {% data variables.product.prodname_code_scanning %} with {% data variables.product.prodname_codeql %}, a semantic code analysis engine. {% data variables.product.prodname_codeql %} treats code as data, allowing you to find potential vulnerabilities in your code with greater confidence than traditional static analyzers. + +{% data variables.product.prodname_ql %} is the query language that powers {% data variables.product.prodname_codeql %}. {% data variables.product.prodname_ql %} is an object-oriented logic programming language. {% data variables.product.company_short %}, language experts, and security researchers create the queries used for {% data variables.product.prodname_code_scanning %}, and the queries are open source. The community maintains and updates the queries to improve analysis and reduce false positives. For more information, see [{% data variables.product.prodname_codeql %}](https://securitylab.github.com/tools/codeql) on the GitHub Security Lab website. + +{% data variables.product.prodname_code_scanning_capc %} with {% data variables.product.prodname_codeql %} supports both compiled and interpreted languages, and can find vulnerabilities and errors in code that's written in the supported languages. + +{% data reusables.code-scanning.supported-languages %} + +You can view and contribute to the queries for {% data variables.product.prodname_code_scanning %} in the [`github/codeql`](https://github.com/github/codeql) repository. For more information, see [{% data variables.product.prodname_codeql %} queries](https://codeql.github.com/docs/writing-codeql-queries/codeql-queries/) in the {% data variables.product.prodname_codeql %} documentation. + +{% if currentVersion == "free-pro-team@latest" %} + +### About billing for {% data variables.product.prodname_code_scanning %} + +{% data variables.product.prodname_code_scanning_capc %} uses {% data variables.product.prodname_actions %}, and each run of a {% data variables.product.prodname_code_scanning %} workflow consumes minutes for {% data variables.product.prodname_actions %}. For more information, see "[About billing for {% data variables.product.prodname_actions %}](/github/setting-up-and-managing-billing-and-payments-on-github/about-billing-for-github-actions)." + +{% endif %} + +### About third-party code scanning tools + +{% data reusables.code-scanning.you-can-upload-third-party-analysis %} + +{% data reusables.code-scanning.interoperable-with-tools-that-output-sarif %} + +{% data reusables.code-scanning.get-started-uploading-third-party-data %} + +### Further reading + +{% if currentVersion == "free-pro-team@latest" or currentVersion ver_gt "enterprise-server@2.22" %} +- "[About securing your repository](/github/administering-a-repository/about-securing-your-repository)"{% endif %} +- [{% data variables.product.prodname_security %}](https://securitylab.github.com/) +- [OASIS Static Analysis Results Interchange Format (SARIF) TC](https://www.oasis-open.org/committees/tc_home.php?wg_abbrev=sarif) on the OASIS Committee website diff --git a/content/code-security/secure-coding/about-integration-with-code-scanning.md b/content/code-security/secure-coding/about-integration-with-code-scanning.md new file mode 100644 index 0000000000..9d0a4e23ea --- /dev/null +++ b/content/code-security/secure-coding/about-integration-with-code-scanning.md @@ -0,0 +1,31 @@ +--- +title: About integration with code scanning +shortTitle: About integration +intro: 'You can perform {% data variables.product.prodname_code_scanning %} externally and then display the results in {% data variables.product.prodname_dotcom %}, or set up webhooks that listen to {% data variables.product.prodname_code_scanning %} activity in your repository.' +product: '{% data reusables.gated-features.code-scanning %}' +redirect_from: + - /github/finding-security-vulnerabilities-and-errors-in-your-code/about-integration-with-code-scanning +versions: + free-pro-team: '*' + enterprise-server: '>=3.0' + github-ae: '*' +topics: + - security +--- + +{% data reusables.code-scanning.beta %} +{% data reusables.code-scanning.enterprise-enable-code-scanning %} + +As an alternative to running {% data variables.product.prodname_code_scanning %} within {% data variables.product.prodname_dotcom %}, you can perform analysis elsewhere and then upload the results. Alerts for {% data variables.product.prodname_code_scanning %} that you run externally are displayed in the same way as those for {% data variables.product.prodname_code_scanning %} that you run within {% data variables.product.prodname_dotcom %}. For more information, see "[Managing {% data variables.product.prodname_code_scanning %} alerts for your repository](/code-security/secure-coding/managing-code-scanning-alerts-for-your-repository)." + +If you use a third-party static analysis tool that can produce results as Static Analysis Results Interchange Format (SARIF) 2.1.0 data, you can upload this to {% data variables.product.prodname_dotcom %}. For more information, see "[Uploading a SARIF file to GitHub](/code-security/secure-coding/uploading-a-sarif-file-to-github)." + +### Integrations with webhooks + +You can use {% data variables.product.prodname_code_scanning %} webhooks to build or set up integrations, such as [{% data variables.product.prodname_github_app %}s](/apps/building-github-apps/) or [{% data variables.product.prodname_oauth_app %}s](/apps/building-oauth-apps/), that subscribe to {% data variables.product.prodname_code_scanning %} events in your repository. For example, you could build an integration that creates an issue on {% data variables.product.product_name %} or sends you a Slack notification when a new {% data variables.product.prodname_code_scanning %} alert is added in your repository. For more information, see "[Creating webhooks](/developers/webhooks-and-events/creating-webhooks)" and "[Webhook events and payloads](/developers/webhooks-and-events/webhook-events-and-payloads#code_scanning_alert)." + +### Further reading + +* "[About {% data variables.product.prodname_code_scanning %}](/code-security/secure-coding/about-code-scanning)" +* "[Using {% data variables.product.prodname_codeql %} {% data variables.product.prodname_code_scanning %} with your existing CI system](/code-security/secure-coding/using-codeql-code-scanning-with-your-existing-ci-system)" +* "[SARIF support for {% data variables.product.prodname_code_scanning %}](/code-security/secure-coding/sarif-support-for-code-scanning)" diff --git a/content/code-security/secure-coding/automatically-scanning-your-code-for-vulnerabilities-and-errors.md b/content/code-security/secure-coding/automatically-scanning-your-code-for-vulnerabilities-and-errors.md new file mode 100644 index 0000000000..88add62dcb --- /dev/null +++ b/content/code-security/secure-coding/automatically-scanning-your-code-for-vulnerabilities-and-errors.md @@ -0,0 +1,16 @@ +--- +title: Automatically scanning your code for vulnerabilities and errors +shortTitle: Scanning automatically +intro: 'You can find vulnerabilities and errors in your project''s code on {% data variables.product.prodname_dotcom %}, as well as view, triage, understand, and resolve the related {% data variables.product.prodname_code_scanning %} alerts.' +mapTopic: true +product: '{% data reusables.gated-features.code-scanning %}' +redirect_from: + - /github/finding-security-vulnerabilities-and-errors-in-your-code/automatically-scanning-your-code-for-vulnerabilities-and-errors +versions: + free-pro-team: '*' + enterprise-server: '>=3.0' + github-ae: '*' +topics: + - security +--- + diff --git a/content/code-security/secure-coding/configuring-code-scanning.md b/content/code-security/secure-coding/configuring-code-scanning.md new file mode 100644 index 0000000000..88a106c919 --- /dev/null +++ b/content/code-security/secure-coding/configuring-code-scanning.md @@ -0,0 +1,323 @@ +--- +title: Configuring code scanning +intro: 'You can configure how {% data variables.product.prodname_dotcom %} scans the code in your project for vulnerabilities and errors.' +product: '{% data reusables.gated-features.code-scanning %}' +permissions: 'People with write permissions to a repository can configure {% data variables.product.prodname_code_scanning %} for the repository.' +miniTocMaxHeadingLevel: 4 +redirect_from: + - /github/finding-security-vulnerabilities-and-errors-in-your-code/configuring-code-scanning +versions: + free-pro-team: '*' + enterprise-server: '>=3.0' + github-ae: '*' +topics: + - security +--- + +{% data reusables.code-scanning.beta %} +{% data reusables.code-scanning.enterprise-enable-code-scanning-actions %} + +### About {% data variables.product.prodname_code_scanning %} configuration + +You can run {% data variables.product.prodname_code_scanning %} on {% data variables.product.product_name %}, using {% data variables.product.prodname_actions %}, or from your continuous integration (CI) system, using the {% data variables.product.prodname_codeql_runner %}. For more information about {% data variables.product.prodname_actions %}, see "[About {% data variables.product.prodname_actions %}](/actions/getting-started-with-github-actions/about-github-actions)." For more information about the {% data variables.product.prodname_codeql_runner %}, see "[Running {% data variables.product.prodname_code_scanning %} in your CI system](/code-security/secure-coding/running-codeql-code-scanning-in-your-ci-system)." + +This article is about running {% data variables.product.prodname_code_scanning %} on {% data variables.product.product_name %}. + +Before you can configure {% data variables.product.prodname_code_scanning %} for a repository, you must set up {% data variables.product.prodname_code_scanning %} by adding a {% data variables.product.prodname_actions %} workflow to the repository. For more information, see "[Setting up {% data variables.product.prodname_code_scanning %} for a repository](/code-security/secure-coding/setting-up-code-scanning-for-a-repository)." + +{% data reusables.code-scanning.edit-workflow %} + +{% data variables.product.prodname_codeql %} analysis is just one type of {% data variables.product.prodname_code_scanning %} you can do in {% data variables.product.prodname_dotcom %}. {% data variables.product.prodname_marketplace %}{% if currentVersion ver_gt "enterprise-server@2.21" %} on {% data variables.product.prodname_dotcom_the_website %}{% endif %} contains other {% data variables.product.prodname_code_scanning %} workflows you can use. {% if currentVersion == "free-pro-team@latest" %}You can find a selection of these on the "Get started with {% data variables.product.prodname_code_scanning %}" page, which you can access from the **{% octicon "shield" aria-label="The shield symbol" %} Security** tab.{% endif %} The specific examples given in this article relate to the {% data variables.product.prodname_codeql_workflow %} file. + +### Editing a {% data variables.product.prodname_code_scanning %} workflow + +{% data variables.product.prodname_dotcom %} saves workflow files in the _.github/workflows_ directory of your repository. You can find a workflow you have added by searching for its file name. For example, by default, the workflow file for {% data variables.product.prodname_codeql %} {% data variables.product.prodname_code_scanning %} is called _codeql-analysis.yml_. + +1. In your repository, browse to the workflow file you want to edit. +1. In the upper right corner of the file view, to open the workflow editor, click {% octicon "pencil" aria-label="The edit icon" %}. +![Edit workflow file button](/assets/images/help/repository/code-scanning-edit-workflow-button.png) +1. After you have edited the file, click **Start commit** and complete the "Commit changes" form. You can choose to commit directly to the current branch, or create a new branch and start a pull request. +![Commit update to codeql.yml workflow](/assets/images/help/repository/code-scanning-workflow-update.png) + +For more information about editing workflow files, see "[Learn {% data variables.product.prodname_actions %}](/actions/learn-github-actions)." + +### Configuring frequency + +You can configure the {% data variables.product.prodname_codeql_workflow %} to scan code on a schedule or when specific events occur in a repository. + +Scanning code when someone pushes a change, and whenever a pull request is created, prevents developers from introducing new vulnerabilities and errors into the code. Scanning code on a schedule informs you about the latest vulnerabilities and errors that {% data variables.product.company_short %}, security researchers, and the community discover, even when developers aren't actively maintaining the repository. + +#### Scanning on push + +By default, the {% data variables.product.prodname_codeql_workflow %} uses the `on.push` event to trigger a code scan on every push to the default branch of the repository and any protected branches. For {% data variables.product.prodname_code_scanning %} to be triggered on a specified branch, the workflow must exist in that branch. For more information, see "[Workflow syntax for {% data variables.product.prodname_actions %}](/actions/reference/workflow-syntax-for-github-actions#on)." + +#### Scanning pull requests + +The default {% data variables.product.prodname_codeql_workflow %} uses the `pull_request` event to trigger a code scan on pull requests targeted against the default branch. {% if currentVersion ver_gt "enterprise-server@2.21" %}The `pull_request` event is not triggered if the pull request was opened from a private fork.{% else %}If a pull request is from a private fork, the `pull_request` event will only be triggered if you've selected the "Run workflows from fork pull requests" option in the repository settings. For more information, see "[Disabling or limiting {% data variables.product.prodname_actions %} for a repository](/github/administering-a-repository/disabling-or-limiting-github-actions-for-a-repository#enabling-workflows-for-private-repository-forks)."{% endif %} + +For more information about the `pull_request` event, see "[Workflow syntax for {% data variables.product.prodname_actions %}](/actions/reference/workflow-syntax-for-github-actions#onpushpull_requestbranchestags)." + +#### Avoiding unnecessary scans of pull requests + +You might want to avoid a code scan being triggered on specific pull requests targeted against the default branch, irrespective of which files have been changed. You can configure this by specifying `on:pull_request:paths-ignore` or `on:pull_request:paths` in the {% data variables.product.prodname_code_scanning %} workflow. For example, if the only changes in a pull request are to files with the file extensions `.md` or `.txt` you can use the following `paths-ignore` array. + +``` yaml +on: + push: + branches: [main, protected] + pull_request: + branches: [main] + paths-ignore: + - '**/*.md' + - '**/*.txt' +``` + +{% note %} + +**Notes** + +* `on:pull_request:paths-ignore` and `on:pull_request:paths` set conditions that determine whether the actions in the workflow will run on a pull request. They don't determine what files will be analyzed when the actions _are_ run. When a pull request contains any files that are not matched by `on:pull_request:paths-ignore` or `on:pull_request:paths`, the workflow runs the actions and scans all of the files changed in the pull request, including those matched by `on:pull_request:paths-ignore` or `on:pull_request:paths`, unless the files have been excluded. For information on how to exclude files from analysis, see "[Specifying directories to scan](#specifying-directories-to-scan)." +* For {% data variables.product.prodname_codeql %} {% data variables.product.prodname_code_scanning %} workflow files, don't use the `paths-ignore` or `paths` keywords with the `on:push` event as this is likely to cause missing analyses. For accurate results, {% data variables.product.prodname_codeql %} {% data variables.product.prodname_code_scanning %} needs to be able to compare new changes with the analysis of the previous commit. + +{% endnote %} + +For more information about using `on:pull_request:paths-ignore` and `on:pull_request:paths` to determine when a workflow will run for a pull request, see "[Workflow syntax for {% data variables.product.prodname_actions %}](/actions/reference/workflow-syntax-for-github-actions#onpushpull_requestpaths)." + +#### Scanning on a schedule + +If you use the default {% data variables.product.prodname_codeql_workflow %}, the workflow will scan the code in your repository once a week, in addition to the scans triggered by events. To adjust this schedule, edit the `cron` value in the workflow. For more information, see "[Workflow syntax for {% data variables.product.prodname_actions %}](/actions/reference/workflow-syntax-for-github-actions#onschedule)." + +{% note %} + +**Note**: {% data variables.product.prodname_dotcom %} only runs scheduled jobs that are in workflows on the default branch. Changing the schedule in a workflow on any other branch has no effect until you merge the branch into the default branch. + +{% endnote %} + +#### Example + +The following example shows a {% data variables.product.prodname_codeql_workflow %} for a particular repository that has a default branch called `main` and one protected branch called `protected`. + +``` yaml +on: + push: + branches: [main, protected] + pull_request: + branches: [main] + schedule: + - cron: '20 14 * * 1' +``` + +This workflow scans: +* Every push to the default branch and the protected branch +* Every pull request to the default branch +* The default branch every Monday at 14:20 UTC + +### Specifying an operating system + +If your code requires a specific operating system to compile, you can configure the operating system in your {% data variables.product.prodname_codeql_workflow %}. Edit the value of `jobs.analyze.runs-on` to specify the operating system for the machine that runs your {% data variables.product.prodname_code_scanning %} actions. {% if currentVersion ver_gt "enterprise-server@2.21" %}You specify the operating system by using an appropriate label as the second element in a two-element array, after `self-hosted`.{% else %} + +If you choose to use a self-hosted runner for code scanning, you can specify an operating system by using an appropriate label as the second element in a two-element array, after `self-hosted`.{% endif %} + +``` yaml +jobs: + analyze: + name: Analyze + runs-on: [self-hosted, ubuntu-latest] +``` + +{% if currentVersion == "free-pro-team@latest" %}For more information, see "[About self-hosted runners](/actions/hosting-your-own-runners/about-self-hosted-runners)" and "[Adding self-hosted runners](/actions/hosting-your-own-runners/adding-self-hosted-runners)."{% endif %} + +{% data variables.product.prodname_codeql %} {% data variables.product.prodname_code_scanning %} supports the latest versions of Ubuntu, Windows, and macOS. Typical values for this setting are therefore: `ubuntu-latest`, `windows-latest`, and `macos-latest`. For more information, see {% if currentVersion ver_gt "enterprise-server@2.21" %}"[Workflow syntax for GitHub Actions](/actions/reference/workflow-syntax-for-github-actions#self-hosted-runners)" and "[Using labels with self-hosted runners](/actions/hosting-your-own-runners/using-labels-with-self-hosted-runners){% else %}"[Workflow syntax for GitHub Actions](/actions/reference/workflow-syntax-for-github-actions#jobsjob_idruns-on){% endif %}." + +{% if currentVersion ver_gt "enterprise-server@2.21" %}You must ensure that Git is in the PATH variable on your self-hosted runners.{% else %}If you use a self-hosted runner, you must ensure that Git is in the PATH variable.{% endif %} + +### Changing the languages that are analyzed + +{% data variables.product.prodname_codeql %} {% data variables.product.prodname_code_scanning %} automatically detects code written in the supported languages. + +{% data reusables.code-scanning.supported-languages %} + +The default {% data variables.product.prodname_codeql_workflow %} file contains a build matrix called `language` which lists the languages in your repository that are analyzed. {% data variables.product.prodname_codeql %} automatically populates this matrix when you add {% data variables.product.prodname_code_scanning %} to a repository. Using the `language` matrix optimizes {% data variables.product.prodname_codeql %} to run each analysis in parallel. We recommend that all workflows adopt this configuration due to the performance benefits of parallelizing builds. For more information about build matrices, see "[Managing complex workflows](/actions/learn-github-actions/managing-complex-workflows#using-a-build-matrix)." + +{% data reusables.code-scanning.specify-language-to-analyze %} + +If your workflow uses the `language` matrix then {% data variables.product.prodname_codeql %} is hardcoded to analyze only the languages in the matrix. To change the languages you want to analyze, edit the value of the matrix variable. You can remove a language to prevent it being analyzed or you can add a language that was not present in the repository when {% data variables.product.prodname_code_scanning %} was set up. For example, if the repository initially only contained JavaScript when {% data variables.product.prodname_code_scanning %} was set up, and you later added Python code, you will need to add `python` to the matrix. + +```yaml +jobs: + analyze: + name: Analyze + ... + strategy: + fail-fast: false + matrix: + language: ['javascript', 'python'] +``` + +If your workflow does not contain a matrix called `language`, then {% data variables.product.prodname_codeql %} is configured to run analysis sequentially. If you don't specify languages in the workflow, {% data variables.product.prodname_codeql %} automatically detects, and attempts to analyze, any supported languages in the repository. If you want to choose which languages to analyze, without using a matrix, you can use the `languages` parameter under the `init` action. + +```yaml +- uses: github/codeql-action/init@v1 + with: + languages: cpp, csharp, python +``` +{% if currentVersion == "free-pro-team@latest" %} +### Analyzing Python dependencies + +For GitHub-hosted runners that use Linux only, the {% data variables.product.prodname_codeql_workflow %} will try to auto-install Python dependencies to give more results for the CodeQL analysis. You can control this behavior by specifying the `setup-python-dependencies` parameter for the action called by the "Initialize CodeQL" step. By default, this parameter is set to `true`: + +- If the repository contains code written in Python, the "Initialize CodeQL" step installs the necessary dependencies on the GitHub-hosted runner. If the auto-install succeeds, the action also sets the environment variable `CODEQL_PYTHON` to the Python executable file that includes the dependencies. + +- If the repository doesn't have any Python dependencies, or the dependencies are specified in an unexpected way, you'll get a warning and the action will continue with the remaining jobs. The action can run successfully even when there are problems interpreting dependencies, but the results may be incomplete. + +Alternatively, you can install Python dependencies manually on any operating system. You will need to add `setup-python-dependencies` and set it to `false`, as well as set `CODEQL_PYTHON` to the Python executable that includes the dependencies, as shown in this workflow extract: + +```yaml +jobs: + CodeQL-Build: + + runs-on: ubuntu-latest + + steps: + - name: Checkout repository + uses: actions/checkout@v2 + - name: Set up Python + uses: actions/setup-python@v2 + with: + python-version: '3.x' + - name: Install dependencies + run: | + python -m pip install --upgrade pip + if [ -f requirements.txt ]; + then pip install -r requirements.txt; + fi + # Set the `CODEQL-PYTHON` environment variable to the Python executable + # that includes the dependencies + echo "CODEQL_PYTHON=$(which python)" >> $GITHUB_ENV + - name: Initialize CodeQL + uses: github/codeql-action/init@v1 + with: + languages: python + # Override the default behavior so that the action doesn't attempt + # to auto-install Python dependencies + setup-python-dependencies: false +``` +{% endif %} + +### Running additional queries + +{% data reusables.code-scanning.run-additional-queries %} + +To add one or more queries, add a `with: queries:` entry within the `uses: github/codeql-action/init@v1` section of the workflow. If the queries are in a private repository, use the `external-repository-token` parameter to specify a token that has access to the private repository. + +{% raw %} +``` yaml +- uses: github/codeql-action/init@v1 + with: + queries: COMMA-SEPARATED LIST OF PATHS + # Optional. Provide a token to access private repositories. + external-repository-token: ${{ secrets.ACCESS_TOKEN }} +``` +{% endraw %} + +You can also specify query suites in the value of `queries`. Query suites are collections of queries, usually grouped by purpose or language. + +{% data reusables.code-scanning.codeql-query-suites %} + +If you are also using a configuration file for custom settings, any additional queries specified in your workflow are used instead of any specified in the configuration file. If you want to run the combined set of additional queries specified here and in the configuration file, prefix the value of `queries` in the workflow with the `+` symbol. For more information, see "[Using a custom configuration file](#using-a-custom-configuration-file)." + +In the following example, the `+` symbol ensures that the specified additional queries are used together with any queries specified in the referenced configuration file. + +{% raw %} +``` yaml +- uses: github/codeql-action/init@v1 + with: + config-file: ./.github/codeql/codeql-config.yml + queries: +security-and-quality,octo-org/python-qlpack/show_ifs.ql@main + external-repository-token: ${{ secrets.ACCESS_TOKEN }} +``` +{% endraw %} + +### Using a custom configuration file + +As an alternative to specifying which queries to run in the workflow file, you can do this in a separate configuration file. You can also use a configuration file to disable the default queries and to specify which directories to scan during analysis. + +In the workflow file, use the `config-file` parameter of the `init` action to specify the path to the configuration file you want to use. This example loads the configuration file _./.github/codeql/codeql-config.yml_. + +``` yaml +- uses: github/codeql-action/init@v1 + with: + config-file: ./.github/codeql/codeql-config.yml +``` + +{% data reusables.code-scanning.custom-configuration-file %} + +If the configuration file is located in an external private repository, use the `external-repository-token` parameter of the `init` action to specify a token that has access to the private repository. + +{% raw %} +```yaml +uses: github/codeql-action/init@v1 +with: + external-repository-token: ${{ secrets.ACCESS_TOKEN }} +``` +{% endraw %} + +The settings in the configuration file are written in YAML format. + +#### Specifying additional queries + +You specify additional queries in a `queries` array. Each element of the array contains a `uses` parameter with a value that identifies a single query file, a directory containing query files, or a query suite definition file. + +``` yaml +queries: + - uses: ./my-basic-queries/example-query.ql + - uses: ./my-advanced-queries + - uses: ./codeql-qlpacks/complex-python-qlpack/rootAndBar.qls +``` + +Optionally, you can give each array element a name, as shown in the example configuration files below. + +For more information about additional queries, see "[Running additional queries](#running-additional-queries)" above. + +#### Disabling the default queries + +If you only want to run custom queries, you can disable the default security queries by using `disable-default-queries: true`. + +#### Specifying directories to scan + +For the interpreted languages that {% data variables.product.prodname_codeql %} supports (Python and JavaScript/TypeScript), you can restrict {% data variables.product.prodname_code_scanning %} to files in specific directories by adding a `paths` array to the configuration file. You can exclude the files in specific directories from analysis by adding a `paths-ignore` array. + +``` yaml +paths: + - src +paths-ignore: + - src/node_modules + - '**/*.test.js' +``` + +{% note %} + +**Note**: + +* The `paths` and `paths-ignore` keywords, used in the context of the {% data variables.product.prodname_code_scanning %} configuration file, should not be confused with the same keywords when used for `on..paths` in a workflow. When they are used to modify `on.` in a workflow, they determine whether the actions will be run when someone modifies code in the specified directories. For more information, see "[Workflow syntax for {% data variables.product.prodname_actions %}](/actions/reference/workflow-syntax-for-github-actions#onpushpull_requestpaths)." +* `**` characters can only be at the start or end of a line, or surrounded by slashes, and you can't mix `**` and other characters. For example, `foo/**`, `**/foo`, and `foo/**/bar` are all allowed syntax, but `**foo` isn't. However you can use single stars along with other characters, as shown in the example. You'll need to quote anything that contains a `*` character. + +{% endnote %} + +For compiled languages, if you want to limit {% data variables.product.prodname_code_scanning %} to specific directories in your project, you must specify appropriate build steps in the workflow. The commands you need to use to exclude a directory from the build will depend on your build system. For more information, see "[Configuring the {% data variables.product.prodname_codeql %} workflow for compiled languages](/code-security/secure-coding/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language)." + +You can quickly analyze small portions of a monorepo when you modify code in specific directories. You'll need to both exclude directories in your build steps and use the `paths-ignore` and `paths` keywords for [`on.`](/actions/reference/workflow-syntax-for-github-actions#onpushpull_requestpaths) in your workflow. + +#### Example configuration files + +{% data reusables.code-scanning.example-configuration-files %} + +### Configuring {% data variables.product.prodname_code_scanning %} for compiled languages + +{% data reusables.code-scanning.autobuild-compiled-languages %} {% data reusables.code-scanning.analyze-go %} + +{% data reusables.code-scanning.autobuild-add-build-steps %} For more information about how to configure {% data variables.product.prodname_codeql %} {% data variables.product.prodname_code_scanning %} for compiled languages, see "[Configuring the {% data variables.product.prodname_codeql %} workflow for compiled languages](/code-security/secure-coding/configuring-the-codeql-workflow-for-compiled-languages)." + +### Uploading {% data variables.product.prodname_code_scanning %} data to {% data variables.product.prodname_dotcom %} + +{% data variables.product.prodname_dotcom %} can display code analysis data generated externally by a third-party tool. You can upload code analysis data with the `upload-sarif` action. For more information, see "[Uploading a SARIF file to GitHub](/code-security/secure-coding/uploading-a-sarif-file-to-github)." diff --git a/content/code-security/secure-coding/configuring-codeql-code-scanning-in-your-ci-system.md b/content/code-security/secure-coding/configuring-codeql-code-scanning-in-your-ci-system.md new file mode 100644 index 0000000000..e938ab06cc --- /dev/null +++ b/content/code-security/secure-coding/configuring-codeql-code-scanning-in-your-ci-system.md @@ -0,0 +1,201 @@ +--- +title: Configuring CodeQL code scanning in your CI system +shortTitle: Configuring in your CI +intro: 'You can configure how the {% data variables.product.prodname_codeql_runner %} scans the code in your project and uploads the results to {% data variables.product.prodname_dotcom %}.' +product: '{% data reusables.gated-features.code-scanning %}' +miniTocMaxHeadingLevel: 4 +redirect_from: + - /github/finding-security-vulnerabilities-and-errors-in-your-code/configuring-code-scanning-in-your-ci-system + - /github/finding-security-vulnerabilities-and-errors-in-your-code/configuring-codeql-code-scanning-in-your-ci-system +versions: + free-pro-team: '*' + enterprise-server: '>=3.0' + github-ae: '*' +topics: + - security +--- + +{% data reusables.code-scanning.beta-codeql-runner %} +{% data reusables.code-scanning.beta %} +{% data reusables.code-scanning.enterprise-enable-code-scanning %} + +### About configuring {% data variables.product.prodname_codeql %} {% data variables.product.prodname_code_scanning %} in your CI system + +To integrate {% data variables.product.prodname_code_scanning %} into your CI system, you can use the {% data variables.product.prodname_codeql_runner %}. For more information, see "[Running {% data variables.product.prodname_codeql %} {% data variables.product.prodname_code_scanning %} in your CI system](/code-security/secure-coding/running-codeql-code-scanning-in-your-ci-system)." + +In general, you invoke the {% data variables.product.prodname_codeql_runner %} as follows. + +```shell +$ /path/to-runner/codeql-runner-OS +``` + +`/path/to-runner/` depends on where you've downloaded the {% data variables.product.prodname_codeql_runner %} on your CI system. `codeql-runner-OS` depends on the operating system you use. +There are three versions of the {% data variables.product.prodname_codeql_runner %}, `codeql-runner-linux`, `codeql-runner-macos`, and `codeql-runner-win`, for Linux, macOS, and Windows systems respectively. + +To customize the way the {% data variables.product.prodname_codeql_runner %} scans your code, you can use flags, such as `--languages` and `--queries`, or you can specify custom settings in a separate configuration file. + +### Scanning pull requests + +Scanning code whenever a pull request is created prevents developers from introducing new vulnerabilities and errors into the code. + +To scan a pull request, run the `analyze` command and use the `--ref` flag to specify the pull request. The reference is `refs/pull//head` or `refs/pull//merge`, depending on whether you have checked out the HEAD commit of the pull request branch or a merge commit with the base branch. + +```shell +$ /path/to-runner/codeql-runner-linux analyze --ref refs/pull/42/merge +``` + +{% note %} + +**Note**: If you analyze code with a third-party tool and want the results to appear as pull request checks, you must run the `upload` command and use the `--ref` flag to specify the pull request instead of the branch. The reference is `refs/pull//head` or `refs/pull//merge`. + +{% endnote %} + +### Overriding automatic language detection + +The {% data variables.product.prodname_codeql_runner %} automatically detects and scans code written in the supported languages. + +{% data reusables.code-scanning.supported-languages %} + +{% data reusables.code-scanning.specify-language-to-analyze %} + +To override automatic language detection, run the `init` command with the `--languages` flag, followed by a comma-separated list of language keywords. The keywords for the supported languages are `cpp`, `csharp`, `go`, `java`, `javascript`, and `python`. + +```shell +$ /path/to-runner/codeql-runner-linux init --languages cpp,java +``` + +### Running additional queries + +{% data reusables.code-scanning.run-additional-queries %} + +{% data reusables.code-scanning.codeql-query-suites %} + +To add one or more queries, pass a comma-separated list of paths to the `--queries` flag of the `init` command. You can also specify additional queries in a configuration file. + +If you also are using a configuration file for custom settings, and you are also specifying additional queries with the `--queries` flag, the {% data variables.product.prodname_codeql_runner %} uses the additional queries specified with the `--queries` flag instead of any in the configuration file. +If you want to run the combined set of additional queries specified with the flag and in the configuration file, prefix the value passed to `--queries` with the `+` symbol. +For more information, see "[Using a custom configuration file](#using-a-custom-configuration-file)." + +In the following example, the `+` symbol ensures that the {% data variables.product.prodname_codeql_runner %} uses the additional queries together with any queries specified in the referenced configuration file. + +```shell +$ /path/to-runner/codeql-runner-linux init --config-file .github/codeql/codeql-config.yml + --queries +security-and-quality,octo-org/python-qlpack/show_ifs.ql@main +``` + +### Using a custom configuration file + +Instead of passing additional information to the {% data variables.product.prodname_codeql_runner %} commands, you can specify custom settings in a separate configuration file. + +The configuration file is a YAML file. It uses syntax similar to the workflow syntax for {% data variables.product.prodname_actions %}, as illustrated in the examples below. For more information, see "[Workflow syntax for {% data variables.product.prodname_actions %}](/actions/reference/workflow-syntax-for-github-actions)." + +Use the `--config-file` flag of the `init` command to specify the configuration file. The value of `--config-file` is the path to the configuration file that you want to use. This example loads the configuration file _.github/codeql/codeql-config.yml_. + +```shell +$ /path/to-runner/codeql-runner-linux init --config-file .github/codeql/codeql-config.yml +``` + +{% data reusables.code-scanning.custom-configuration-file %} + +#### Example configuration files + +{% data reusables.code-scanning.example-configuration-files %} + +### Configuring {% data variables.product.prodname_code_scanning %} for compiled languages + +For the compiled languages C/C++, C#, and Java, {% data variables.product.prodname_codeql %} builds the code before analyzing it. {% data reusables.code-scanning.analyze-go %} + +For many common build systems, the {% data variables.product.prodname_codeql_runner %} can build the code automatically. To attempt to build the code automatically, run `autobuild` between the `init` and `analyze` steps. Note that if your repository requires a specific version of a build tool, you may need to install the build tool manually first. + +The `autobuild` process only ever attempts to build _one_ compiled language for a repository. The language automatically selected for analysis is the language with the most files. If you want to choose a language explicitly, use the `--language` flag of the `autobuild` command. + +```shell +$ /path/to-runner/codeql-runner-linux autobuild --language csharp +``` + +If the `autobuild` command can't build your code, you can run the build steps yourself, between the `init` and `analyze` steps. For more information, see "[Running {% data variables.product.prodname_codeql %} {% data variables.product.prodname_code_scanning %} in your CI system](/code-security/secure-coding/running-codeql-code-scanning-in-your-ci-system#compiled-language-example)." + +### Uploading {% data variables.product.prodname_code_scanning %} data to {% data variables.product.prodname_dotcom %} + +By default, the {% data variables.product.prodname_codeql_runner %} uploads results from {% data variables.product.prodname_code_scanning %} when you run the `analyze` command. You can also upload SARIF files separately, by using the `upload` command. + +Once you've uploaded the data, {% data variables.product.prodname_dotcom %} displays the alerts in your repository. +- If you uploaded 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)." +- If you uploaded 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)." + +### {% data variables.product.prodname_codeql_runner %} command reference + +The {% data variables.product.prodname_codeql_runner %} supports the following commands and flags. + +#### `init` + +Initializes the {% data variables.product.prodname_codeql_runner %} and creates a {% data variables.product.prodname_codeql %} database for each language to be analyzed. + +| Flag | Required | Input value | +| ---- |:--------:| ----------- | +| `--repository` | ✓ | Name of the repository to initialize. | +| `--github-url` | ✓ | URL of the {% data variables.product.prodname_dotcom %} instance where your repository is hosted. | +| `--github-auth` | ✓ | A {% data variables.product.prodname_github_apps %} token or personal access token. | +| `--languages` | | Comma-separated list of languages to analyze. By default, the {% data variables.product.prodname_codeql_runner %} detects and analyzes all supported languages in the repository. | +| `--queries` | | Comma-separated list of additional queries to run, in addition to the default suite of security queries. | +| `--config-file` | | Path to custom configuration file. | +| `--codeql-path` | | Path to a copy of the {% data variables.product.prodname_codeql %} CLI executable to use. By default, the {% data variables.product.prodname_codeql_runner %} downloads a copy. | +| `--temp-dir` | | Directory where temporary files are stored. The default is `./codeql-runner`. | +| `--tools-dir` | | Directory where {% data variables.product.prodname_codeql %} tools and other files are stored between runs. The default is a subdirectory of the home directory. | +| `--checkout-path` | | The path to the checkout of your repository. The default is the current working directory. | +| `--debug` | | None. Prints more verbose output. | +| `-h`, `--help` | | None. Displays help for the command. | + +#### `autobuild` + +Attempts to build the code for the compiled languages C/C++, C#, and Java. For those languages, {% data variables.product.prodname_codeql %} builds the code before analyzing it. Run `autobuild` between the `init` and `analyze` steps. + +| Flag | Required | Input value | +| ---- |:--------:| ----------- | +| `--language` | | The language to build. By default, the {% data variables.product.prodname_codeql_runner %} builds the compiled language with the most files. | +| `--temp-dir` | | Directory where temporary files are stored. The default is `./codeql-runner`. | +| `--debug` | | None. Prints more verbose output. | +| `-h`, `--help` | | None. Displays help for the command. | + +#### `analyze` + +Analyzes the code in the {% data variables.product.prodname_codeql %} databases and uploads results to {% data variables.product.product_name %}. + +| Flag | Required | Input value | +| ---- |:--------:| ----------- | +| `--repository` | ✓ | Name of the repository to analyze. | +| `--commit` | ✓ | SHA of the commit to analyze. In Git and in Azure DevOps, this corresponds to the value of `git rev-parse HEAD`. In Jenkins, this corresponds to `$GIT_COMMIT`. | +| `--ref` | ✓ | Name of the reference to analyze, for example `refs/heads/main` or `refs/pull/42/merge`. In Git or in Jenkins, this corresponds to the value of `git symbolic-ref HEAD`. In Azure DevOps, this corresponds to `$(Build.SourceBranch)`. | +| `--github-url` | ✓ | URL of the {% data variables.product.prodname_dotcom %} instance where your repository is hosted. | +| `--github-auth` | ✓ | A {% data variables.product.prodname_github_apps %} token or personal access token. | +| `--checkout-path` | | The path to the checkout of your repository. The default is the current working directory. | +| `--no-upload` | | None. Stops the {% data variables.product.prodname_codeql_runner %} from uploading the results to {% data variables.product.product_name %}. | +| `--output-dir` | | Directory where the output SARIF files are stored. The default is in the directory of temporary files. | +| `--ram` | | Amount of memory to use when running queries. The default is to use all available memory. | +| `--no-add-snippets` | | None. Excludes code snippets from the SARIF output. | +| `--threads` | | Number of threads to use when running queries. The default is to use all available cores. | +| `--temp-dir` | | Directory where temporary files are stored. The default is `./codeql-runner`. | +| `--debug` | | None. Prints more verbose output. | +| `-h`, `--help` | | None. Displays help for the command. | + +#### `upload` + +Uploads SARIF files to {% data variables.product.product_name %}. + +{% note %} + +**Note**: If you analyze code with the CodeQL runner, the `analyze` command uploads SARIF results by default. You can use the `upload` command to upload SARIF results that were generated by other tools. + +{% endnote %} + +| Flag | Required | Input value | +| ---- |:--------:| ----------- | +| `--sarif-file` | ✓ | SARIF file to upload, or a directory containing multiple SARIF files. | +| `--repository` | ✓ | Name of the repository that was analyzed. | +| `--commit` | ✓ | SHA of the commit that was analyzed. In Git and in Azure DevOps, this corresponds to the value of `git rev-parse HEAD`. In Jenkins, this corresponds to `$GIT_COMMIT`. | +| `--ref` | ✓ | Name of the reference that was analyzed, for example `refs/heads/main` or `refs/pull/42/merge`. In Git or in Jenkins, this corresponds to the value of `git symbolic-ref HEAD`. In Azure DevOps, this corresponds to `$(Build.SourceBranch)`. | +| `--github-url` | ✓ | URL of the {% data variables.product.prodname_dotcom %} instance where your repository is hosted. | +| `--github-auth` | ✓ | A {% data variables.product.prodname_github_apps %} token or personal access token. | +| `--checkout-path` | | The path to the checkout of your repository. The default is the current working directory. | +| `--debug` | | None. Prints more verbose output. | +| `-h`, `--help` | | None. Displays help for the command. | diff --git a/content/code-security/secure-coding/configuring-the-codeql-workflow-for-compiled-languages.md b/content/code-security/secure-coding/configuring-the-codeql-workflow-for-compiled-languages.md new file mode 100644 index 0000000000..c3dce7fa78 --- /dev/null +++ b/content/code-security/secure-coding/configuring-the-codeql-workflow-for-compiled-languages.md @@ -0,0 +1,124 @@ +--- +title: Configuring the CodeQL workflow for compiled languages +shortTitle: Configuring for compiled languages +intro: 'You can configure how {% data variables.product.prodname_dotcom %} uses the {% data variables.product.prodname_codeql_workflow %} to scan code written in compiled languages for vulnerabilities and errors.' +product: '{% data reusables.gated-features.code-scanning %}' +permissions: 'If you have write permissions to a repository, you can configure {% data variables.product.prodname_code_scanning %} for that repository.' +redirect_from: + - /github/finding-security-vulnerabilities-and-errors-in-your-code/configuring-code-scanning-for-compiled-languages + - /github/finding-security-vulnerabilities-and-errors-in-your-code/configuring-the-codeql-action-for-compiled-languages + - /github/finding-security-vulnerabilities-and-errors-in-your-code/configuring-the-codeql-workflow-for-compiled-languages +versions: + free-pro-team: '*' + enterprise-server: '>=3.0' + github-ae: '*' +topics: + - security +--- + +{% data reusables.code-scanning.beta %} +{% data reusables.code-scanning.enterprise-enable-code-scanning-actions %} + +### About the {% data variables.product.prodname_codeql_workflow %} and compiled languages + +You set up {% data variables.product.prodname_dotcom %} to run {% data variables.product.prodname_code_scanning %} for your repository by adding a {% data variables.product.prodname_actions %} workflow to the repository. For {% data variables.product.prodname_codeql %} {% data variables.product.prodname_code_scanning %}, you add the {% data variables.product.prodname_codeql_workflow %}. For more information, see "[Setting up {% data variables.product.prodname_code_scanning %} for a repository](/code-security/secure-coding/setting-up-code-scanning-for-a-repository)." + +{% data reusables.code-scanning.edit-workflow %} +For general information about configuring {% data variables.product.prodname_code_scanning %} and editing workflow files, see "[Configuring {% data variables.product.prodname_code_scanning %}](/code-security/secure-coding/configuring-code-scanning)" and "[Learn {% data variables.product.prodname_actions %}](/actions/learn-github-actions)." + +### About autobuild for {% data variables.product.prodname_codeql %} + +Code scanning works by running queries against one or more databases. Each database contains a representation of all of the code in a single language in your repository. For the compiled languages C/C++, C#, and Java, the process of populating this database involves building the code and extracting data. {% data reusables.code-scanning.analyze-go %} + +{% data reusables.code-scanning.autobuild-compiled-languages %} + +If your workflow uses a `language` matrix, `autobuild` attempts to build each of the compiled languages listed in the matrix. Without a matrix `autobuild` attempts to build the supported compiled language that has the most source files in the repository. With the exception of Go, analysis of other compiled languages in your repository will fail unless you supply explicit build commands. + +{% note %} + +{% if currentVersion == "github-ae@latest" %}**Note**: For instructions on how to make sure your {% data variables.actions.hosted_runner %} has the required software installed, see "[Creating custom images](/actions/using-github-hosted-runners/creating-custom-images)." +{% else %} +**Note**: If you use self-hosted runners for {% data variables.product.prodname_actions %}, you may need to install additional software to use the `autobuild` process. Additionally, if your repository requires a specific version of a build tool, you may need to install it manually. For more information, see "[Specifications for {% data variables.product.prodname_dotcom %}-hosted runners](/actions/reference/specifications-for-github-hosted-runners/#supported-software)". +{% endif %} + +{% endnote %} + +#### C/C++ + +| Supported system type | System name | +|----|----| +| Operating system | Windows, macOS, and Linux | +| Build system | Windows: MSbuild and build scripts
Linux and macOS: Autoconf, Make, CMake, qmake, Meson, Waf, SCons, Linux Kbuild, and build scripts | + +The behavior of the `autobuild` step varies according to the operating system that the extraction runs on. On Windows, the `autobuild` step attempts to autodetect a suitable build method for C/C++ using the following approach: + +1. Invoke `MSBuild.exe` on the solution (`.sln`) or project (`.vcxproj`) file closest to the root. +If `autobuild` detects multiple solution or project files at the same (shortest) depth from the top level directory, it will attempt to build all of them. +2. Invoke a script that looks like a build script—_build.bat_, _build.cmd_, _and build.exe_ (in that order). + +On Linux and macOS, the `autobuild` step reviews the files present in the repository to determine the build system used: + +1. Look for a build system in the root directory. +2. If none are found, search subdirectories for a unique directory with a build system for C/C++. +3. Run an appropriate command to configure the system. + +#### C# + +| Supported system type | System name | +|----|----| +| Operating system | Windows and Linux | +| Build system | .NET and MSbuild, as well as build scripts | + +The `autobuild` process attempts to autodetect a suitable build method for C# using the following approach: + +1. Invoke `dotnet build` on the solution (`.sln`) or project (`.csproj`) file closest to the root. +2. Invoke `MSbuild` (Linux) or `MSBuild.exe` (Windows) on the solution or project file closest to the root. +If `autobuild` detects multiple solution or project files at the same (shortest) depth from the top level directory, it will attempt to build all of them. +3. Invoke a script that looks like a build script—_build_ and _build.sh_ (in that order, for Linux) or _build.bat_, _build.cmd_, _and build.exe_ (in that order, for Windows). + +#### Java + +| Supported system type | System name | +|----|----| +| Operating system | Windows, macOS, and Linux (no restriction) | +| Build system | Gradle, Maven and Ant | + +The `autobuild` process tries to determine the build system for Java codebases by applying this strategy: + +1. Search for a build file in the root directory. Check for Gradle then Maven then Ant build files. +2. Run the first build file found. If both Gradle and Maven files are present, the Gradle file is used. +3. Otherwise, search for build files in direct subdirectories of the root directory. If only one subdirectory contains build files, run the first file identified in that subdirectory (using the same preference as for 1). If more than one subdirectory contains build files, report an error. + +### Adding build steps for a compiled language + +{% data reusables.code-scanning.autobuild-add-build-steps %} For information on how to edit the workflow file, see "[Configuring {% data variables.product.prodname_code_scanning %}](/code-security/secure-coding/configuring-code-scanning#editing-a-code-scanning-workflow)." + +After removing the `autobuild` step, uncomment the `run` step and add build commands that are suitable for your repository. The workflow `run` step runs command-line programs using the operating system's shell. You can modify these commands and add more commands to customize the build process. + +``` yaml +- run: | + make bootstrap + make release +``` + +For more information about the `run` keyword, see "[Workflow syntax for {% data variables.product.prodname_actions %}](/actions/reference/workflow-syntax-for-github-actions#jobsjob_idstepsrun)." + +If your repository contains multiple compiled languages, you can specify language-specific build commands. For example, if your repository contains C/C++, C# and Java, and `autobuild` correctly builds C/C++ and C# but fails to build Java, you could use the following configuration in your workflow, after the `init` step. This specifies build steps for Java while still using `autobuild` for C/C++ and C#: + +```yaml +- if: matrix.language == 'cpp' || matrix.language == 'csharp' + name: Autobuild + uses: github/codeql-action/autobuild@v1 + +- if: matrix.language == 'java' + name: Build Java + run: | + make bootstrap + make release +``` + +For more information about the `if` conditional, see "[Workflow syntax for GitHub Actions](/actions/reference/workflow-syntax-for-github-actions#jobsjob_idstepsif)." + +For more tips and tricks about why `autobuild` won't build your code, see "[Troubleshooting the {% data variables.product.prodname_codeql %} workflow](/code-security/secure-coding/troubleshooting-the-codeql-workflow)." + +If you added manual build steps for compiled languages and {% data variables.product.prodname_code_scanning %} is still not working on your repository, contact {% data variables.contact.contact_support %}. diff --git a/content/code-security/secure-coding/index.md b/content/code-security/secure-coding/index.md new file mode 100644 index 0000000000..cb7577cb39 --- /dev/null +++ b/content/code-security/secure-coding/index.md @@ -0,0 +1,35 @@ +--- +title: Finding security vulnerabilities and errors in your code +shortTitle: Secure coding +intro: 'Keep your code secure by using secret scanning to identify and fix potential security vulnerabilities and other errors in your code.' +product: '{% data reusables.gated-features.code-scanning %}' +redirect_from: + - /github/managing-security-vulnerabilities/finding-security-vulnerabilities-in-your-projects-code + - /github/finding-security-vulnerabilities-and-errors-in-your-code +versions: + free-pro-team: '*' + enterprise-server: '>=3.0' + github-ae: '*' +topics: + - security +--- + +### Table of Contents + +{% topic_link_in_list /automatically-scanning-your-code-for-vulnerabilities-and-errors %} + {% link_in_list /about-code-scanning %} + {% link_in_list /triaging-code-scanning-alerts-in-pull-requests %} + {% link_in_list /setting-up-code-scanning-for-a-repository %} + {% link_in_list /managing-code-scanning-alerts-for-your-repository %} + {% link_in_list /configuring-code-scanning %} + {% link_in_list /configuring-the-codeql-workflow-for-compiled-languages %} + {% link_in_list /troubleshooting-the-codeql-workflow %} + {% link_in_list /running-codeql-code-scanning-in-a-container %} +{% topic_link_in_list /integrating-with-code-scanning %} + {% link_in_list /about-integration-with-code-scanning %} + {% link_in_list /uploading-a-sarif-file-to-github %} + {% link_in_list /sarif-support-for-code-scanning %} +{% topic_link_in_list /using-codeql-code-scanning-with-your-existing-ci-system %} + {% link_in_list /running-codeql-code-scanning-in-your-ci-system %} + {% link_in_list /configuring-codeql-code-scanning-in-your-ci-system %} + {% link_in_list /troubleshooting-codeql-code-scanning-in-your-ci-system %} diff --git a/content/code-security/secure-coding/integrating-with-code-scanning.md b/content/code-security/secure-coding/integrating-with-code-scanning.md new file mode 100644 index 0000000000..575eeb5caf --- /dev/null +++ b/content/code-security/secure-coding/integrating-with-code-scanning.md @@ -0,0 +1,17 @@ +--- +title: Integrating with code scanning +shortTitle: Integration +intro: 'You can integrate third-party code analysis tools with {% data variables.product.prodname_dotcom %} {% data variables.product.prodname_code_scanning %} by uploading data as SARIF files.' +mapTopic: true +product: '{% data reusables.gated-features.code-scanning %}' +redirect_from: + - /github/finding-security-vulnerabilities-and-errors-in-your-code/managing-results-from-code-scanning + - /github/finding-security-vulnerabilities-and-errors-in-your-code/integrating-with-code-scanning +versions: + free-pro-team: '*' + enterprise-server: '>=3.0' + github-ae: '*' +topics: + - security +--- + diff --git a/content/code-security/secure-coding/managing-code-scanning-alerts-for-your-repository.md b/content/code-security/secure-coding/managing-code-scanning-alerts-for-your-repository.md new file mode 100644 index 0000000000..4d9e854519 --- /dev/null +++ b/content/code-security/secure-coding/managing-code-scanning-alerts-for-your-repository.md @@ -0,0 +1,139 @@ +--- +title: Managing code scanning alerts for your repository +shortTitle: Managing alerts +intro: 'From the security view, you can view, fix, {% if currentVersion == "enterprise-server@2.22" %}or close{% else %}dismiss, or delete{% endif %} alerts for potential vulnerabilities or errors in your project''s code.' +product: '{% data reusables.gated-features.code-scanning %}' +permissions: 'If you have write permission to a repository you can manage {% data variables.product.prodname_code_scanning %} alerts for that repository.' +versions: + free-pro-team: '*' + enterprise-server: '>=3.0' + github-ae: '*' +redirect_from: + - /github/managing-security-vulnerabilities/managing-alerts-from-automated-code-scanning + - /github/finding-security-vulnerabilities-and-errors-in-your-code/managing-alerts-from-code-scanning + - /github/finding-security-vulnerabilities-and-errors-in-your-code/managing-code-scanning-alerts-for-your-repository +topics: + - security +--- + +{% data reusables.code-scanning.beta %} + +### About alerts from {% data variables.product.prodname_code_scanning %} + +You can set up {% data variables.product.prodname_code_scanning %} to check the code in a repository using the default {% data variables.product.prodname_codeql %} analysis, a third-party analysis, or multiple types of analysis. When the analysis is complete, the resulting alerts are displayed alongside each other in the security view of the repository. Results from third-party tools or from custom queries may not include all of the properties that you see for alerts detected by {% data variables.product.company_short %}'s default {% data variables.product.prodname_codeql %} analysis. For more information, see "[Setting up {% data variables.product.prodname_code_scanning %} for a repository](/code-security/secure-coding/setting-up-code-scanning-for-a-repository)." + +By default, {% data variables.product.prodname_code_scanning %} analyzes your code periodically on the default branch and during pull requests. For information about managing alerts on a pull request, see "[Triaging {% data variables.product.prodname_code_scanning %} alerts in pull requests](/code-security/secure-coding/triaging-code-scanning-alerts-in-pull-requests)." + +{% data reusables.code-scanning.upload-sarif-alert-limit %} + +### About alerts details + +Each alert highlights a problem with the code and the name of the tool that identified it. You can see the line of code that triggered the alert, as well as properties of the alert, such as the severity and the nature of the problem. Alerts also tell you when the issue was first introduced. For alerts identified by {% data variables.product.prodname_codeql %} analysis, you will also see information on how to fix the problem. + +![Example alert from {% data variables.product.prodname_code_scanning %}](/assets/images/help/repository/code-scanning-alert.png) + +If you set up {% data variables.product.prodname_code_scanning %} using {% data variables.product.prodname_codeql %}, this can also detect data-flow problems in your code. Data-flow analysis finds potential security issues in code, such as: using data insecurely, passing dangerous arguments to functions, and leaking sensitive information. + +When {% data variables.product.prodname_code_scanning %} reports data-flow alerts, {% data variables.product.prodname_dotcom %} shows you how data moves through the code. {% data variables.product.prodname_code_scanning_capc %} allows you to identify the areas of your code that leak sensitive information, and that could be the entry point for attacks by malicious users. + +### Viewing the alerts for a repository + +Anyone with read permission for a repository can see {% data variables.product.prodname_code_scanning %} annotations on pull requests. For more information, see "[Triaging {% data variables.product.prodname_code_scanning %} alerts in pull requests](/code-security/secure-coding/triaging-code-scanning-alerts-in-pull-requests)." + +You need write permission to view a summary of all the alerts for a repository on the **Security** tab. By default, alerts are shown for the default branch. + +{% data reusables.repositories.navigate-to-repo %} +{% data reusables.repositories.sidebar-security %} +{% data reusables.repositories.sidebar-code-scanning-alerts %} +1. Under "{% data variables.product.prodname_code_scanning_capc %}," click the alert you'd like to explore. + ![Summary of alerts](/assets/images/help/repository/code-scanning-click-alert.png) +1. Optionally, if the alert highlights a problem with data flow, click **Show paths** to display the path from the data source to the sink where it's used. + ![The "Show paths" link on an alert](/assets/images/help/repository/code-scanning-show-paths.png) +1. Alerts from {% data variables.product.prodname_codeql %} analysis include a description of the problem. Click **Show more** for guidance on how to fix your code. + ![Details for an alert](/assets/images/help/repository/code-scanning-alert-details.png) + +### Fixing an alert + +Anyone with write permission for a repository can fix an alert by committing a correction to the code. If the repository has {% data variables.product.prodname_code_scanning %} scheduled to run on pull requests, it's best to raise a pull request with your correction. This will trigger {% data variables.product.prodname_code_scanning %} analysis of the changes and test that your fix doesn't introduce any new problems. For more information, see "[Configuring {% data variables.product.prodname_code_scanning %}](/code-security/secure-coding/configuring-code-scanning)" and "[Triaging {% data variables.product.prodname_code_scanning %} alerts in pull requests](/code-security/secure-coding/triaging-code-scanning-alerts-in-pull-requests)." + +If you have write permission for a repository, you can view fixed alerts by viewing the summary of alerts and clicking **Closed**. For more information, see "[Viewing the alerts for a repository](#viewing-the-alerts-for-a-repository)." The "Closed" list shows fixed alerts and alerts that users have {% if currentVersion == "enterprise-server@2.22" %}closed{% else %}dismissed{% endif %}. + +Alerts may be fixed in one branch but not in another. You can use the "Branch" drop-down menu, on the summary of alerts, to check whether an alert is fixed in a particular branch. + +![Filtering alerts by branch](/assets/images/help/repository/code-scanning-branch-filter.png) + +{% if currentVersion == "enterprise-server@2.22" %} + +### Closing an alert + +Closing an alert is a way to resolve an alert that you don't think needs to be fixed. {% data reusables.code-scanning.close-alert-examples %} + +{% else %} + +### Dismissing or deleting alerts + +There are two ways of closing an alert. You can fix the problem in the code, or you can dismiss the alert. Alternatively, if you have admin permissions for the repository, you can delete alerts. Deleting alerts is useful in situations where you have set up a {% data variables.product.prodname_code_scanning %} tool and then decided to remove it, or where you have configured {% data variables.product.prodname_codeql %} analysis with a larger set of queries than you want to continue using, and you've then removed some queries from the tool. In both cases, deleting alerts allows you to clean up your {% data variables.product.prodname_code_scanning %} results. You can delete alerts from the summary list within the **Security** tab. + +Dismissing an alert is a way of closing an alert that you don't think needs to be fixed. {% data reusables.code-scanning.close-alert-examples %} You can dismiss alerts from {% data variables.product.prodname_code_scanning %} annotations in code, or from the summary list within the **Security** tab. + +When you dismiss an alert: + +- It's dismissed in all branches. +- The alert is removed from the number of current alerts for your project. +- The alert is moved to the "Closed" list in the summary of alerts, from where you can reopen it, if required. +- The reason why you closed the alert is recorded. +- Next time {% data variables.product.prodname_code_scanning %} runs, the same code won't generate an alert. + +When you delete an alert: + +- It's deleted in all branches. +- The alert is removed from the number of current alerts for your project. +- It is _not_ added to the "Closed" list in the summary of alerts. +- If the code that generated the alert stays the same, and the same {% data variables.product.prodname_code_scanning %} tool runs again without any configuration changes, the alert will be shown again in your analysis results. + +To dismiss or delete alerts: + +{% endif %} + +{% data reusables.repositories.navigate-to-repo %} +{% data reusables.repositories.sidebar-security %} +{% data reusables.repositories.sidebar-code-scanning-alerts %} +{% if currentVersion == "enterprise-server@2.22" %} +{% data reusables.code-scanning.click-alert-in-list %} +1. Select the **Close** drop-down menu and click a reason for closing the alert. + ![Choosing reason for closing the alert via the Close drop-down](/assets/images/help/repository/code-scanning-alert-close-drop-down.png) + +{% data reusables.code-scanning.false-positive-fix-codeql %} + +{% else %} + +1. If you have admin permissions for the repository, and you want to delete alerts for this {% data variables.product.prodname_code_scanning %} tool, select some or all of the check boxes and click **Delete**. + + ![Deleting alerts](/assets/images/help/repository/code-scanning-delete-alerts.png) + + Optionally, you can use the filters to display a subset of alerts and then delete all matching alerts at once. For example, if you have removed a query from {% data variables.product.prodname_codeql %} analysis, you can use the "Rule" filter to list just the alerts for that query and then select and delete all of those alerts. + + ![Filter alerts by rule](/assets/images/help/repository/code-scanning-filter-by-rule.png) + +1. If you want to dismiss an alert, it's important to explore the alert first, so that you can choose the correct dismissal reason. Click the alert you'd like to explore. + + ![Open an alert from the summary list](/assets/images/help/repository/code-scanning-click-alert.png) + +1. Review the alert, then click **Dismiss** and choose a reason for closing the alert. + ![Choosing a reason for dismissing an alert](/assets/images/help/repository/code-scanning-alert-close-drop-down.png) + + {% data reusables.code-scanning.choose-alert-dismissal-reason %} + + {% data reusables.code-scanning.false-positive-fix-codeql %} + +#### Dismissing multiple alerts at once + +If a project has multiple alerts that you want to dismiss for the same reason, you can bulk dismiss them from the summary of alerts. Typically, you'll want to filter the list and then dismiss all of the matching alerts. For example, you might want to dismiss all of the current alerts in the project that have been tagged for a particular Common Weakness Enumeration (CWE) vulnerability. + +{% endif %} + +### Further reading + +- "[Triaging {% data variables.product.prodname_code_scanning %} alerts in pull requests](/code-security/secure-coding/triaging-code-scanning-alerts-in-pull-requests)" +- "[Setting up {% data variables.product.prodname_code_scanning %} for a repository](/code-security/secure-coding/setting-up-code-scanning-for-a-repository)" +- "[About integration with {% data variables.product.prodname_code_scanning %}](/code-security/secure-coding/about-integration-with-code-scanning)" diff --git a/content/code-security/secure-coding/running-codeql-code-scanning-in-a-container.md b/content/code-security/secure-coding/running-codeql-code-scanning-in-a-container.md new file mode 100644 index 0000000000..240ad20ad8 --- /dev/null +++ b/content/code-security/secure-coding/running-codeql-code-scanning-in-a-container.md @@ -0,0 +1,74 @@ +--- +title: Running CodeQL code scanning in a container +shortTitle: '{% data variables.product.prodname_code_scanning_capc %} in a container' +intro: 'You can run {% data variables.product.prodname_code_scanning %} in a container by ensuring that all processes run in the same container.' +product: '{% data reusables.gated-features.code-scanning %}' +redirect_from: + - /github/finding-security-vulnerabilities-and-errors-in-your-code/running-codeql-code-scanning-in-a-container +versions: + free-pro-team: '*' + enterprise-server: '>=3.0' + github-ae: '*' +topics: + - security +--- + +{% data reusables.code-scanning.beta %} + +### About {% data variables.product.prodname_code_scanning %} with a containerized build + +If you're setting up {% data variables.product.prodname_code_scanning %} for a compiled language, and you're building the code in a containerized environment, the analysis may fail with the error message "No source code was seen during the build." This indicates that {% data variables.product.prodname_codeql %} was unable to monitor your code as it was compiled. + +You must run {% data variables.product.prodname_codeql %} in the same container in which you build your code. This applies whether you are using the {% data variables.product.prodname_codeql_runner %}, or {% data variables.product.prodname_actions %}. If you're using the {% data variables.product.prodname_codeql_runner %}, run it in the container where your code builds. For more information about the {% data variables.product.prodname_codeql_runner %}, see "[Running {% data variables.product.prodname_codeql %} {% data variables.product.prodname_code_scanning %} in your CI system](/code-security/secure-coding/running-codeql-code-scanning-in-your-ci-system)." If you're using {% data variables.product.prodname_actions %}, configure your workflow to run all the actions in the same container. For more information, see "[Example workflow](#example-workflow)." + +### Dependencies + +You may have difficulty running {% data variables.product.prodname_code_scanning %} if the container you're using is missing certain dependencies (for example, Git must be installed and added to the PATH variable). If you encounter dependency issues, review the list of software typically included on {% data variables.product.prodname_dotcom %}'s virtual environments. For more information, see the version-specific `readme` files in these locations: + +* Linux: https://github.com/actions/virtual-environments/tree/main/images/linux +* macOS: https://github.com/actions/virtual-environments/tree/main/images/macos +* Windows: https://github.com/actions/virtual-environments/tree/main/images/win + +### Example workflow + +This sample workflow uses {% data variables.product.prodname_actions %} to run {% data variables.product.prodname_codeql %} analysis in a containerized environment. The value of `container.image` identifies the container to use. In this example the image is named `codeql-container`, with a tag of `f0f91db`. For more information, see "[Workflow syntax for {% data variables.product.prodname_actions %}](/actions/reference/workflow-syntax-for-github-actions#jobsjob_idcontainer)." + +``` yaml +name: "{% data variables.product.prodname_codeql %}" + +on: + push: + branches: [main] + pull_request: + branches: [main] + schedule: + - cron: '15 5 * * 3' + +jobs: + analyze: + name: Analyze + runs-on: ubuntu-latest + + strategy: + fail-fast: false + matrix: + language: [java] + + # Specify the container in which actions will run + container: + image: codeql-container:f0f91db + + steps: + - name: Checkout repository + uses: actions/checkout@v2 + - name: Initialize {% data variables.product.prodname_codeql %} + uses: github/codeql-action/init@v1 + with: + languages: {% raw %}${{ matrix.language }}{% endraw %} + - name: Build + run: | + ./configure + make + - name: Perform {% data variables.product.prodname_codeql %} Analysis + uses: github/codeql-action/analyze@v1 +``` diff --git a/content/code-security/secure-coding/running-codeql-code-scanning-in-your-ci-system.md b/content/code-security/secure-coding/running-codeql-code-scanning-in-your-ci-system.md new file mode 100644 index 0000000000..de00f2d6b2 --- /dev/null +++ b/content/code-security/secure-coding/running-codeql-code-scanning-in-your-ci-system.md @@ -0,0 +1,158 @@ +--- +title: Running CodeQL code scanning in your CI system +shortTitle: Running in your CI +intro: 'You can use the {% data variables.product.prodname_codeql_runner %} to perform {% data variables.product.prodname_codeql %} {% data variables.product.prodname_code_scanning %} in a third-party continuous integration system.' +product: '{% data reusables.gated-features.code-scanning %}' +redirect_from: + - /github/finding-security-vulnerabilities-and-errors-in-your-code/running-code-scanning-in-your-ci-system + - /github/finding-security-vulnerabilities-and-errors-in-your-code/running-codeql-code-scanning-in-your-ci-system +versions: + free-pro-team: '*' + enterprise-server: '>=3.0' + github-ae: '*' +topics: + - security +--- + + +{% data reusables.code-scanning.beta-codeql-runner %} +{% data reusables.code-scanning.beta %} +{% data reusables.code-scanning.enterprise-enable-code-scanning %} + +### Using {% data variables.product.prodname_codeql %} {% data variables.product.prodname_code_scanning %} with your existing CI system + +If you use a continuous integration or continuous delivery/deployment (CI/CD) system other than {% data variables.product.prodname_actions %}, you can use your existing system to run {% data variables.product.prodname_dotcom %}'s {% data variables.product.prodname_codeql %} analysis and upload the results to {% data variables.product.prodname_dotcom %}. To do this, use the {% data variables.product.prodname_codeql_runner %}. + +### About the {% data variables.product.prodname_codeql_runner %} + +{% data reusables.code-scanning.about-code-scanning %} For information, see "[About {% data variables.product.prodname_code_scanning %}](/code-security/secure-coding/about-code-scanning)." + +You can use the {% data variables.product.prodname_codeql_runner %} to run {% data variables.product.prodname_code_scanning %} on code that you're processing in a third-party continuous integration (CI) system. Alternatively, you can use {% data variables.product.prodname_actions %} to run {% data variables.product.prodname_code_scanning %} on {% data variables.product.product_name %}. For information, see "[Setting up {% data variables.product.prodname_code_scanning %} for a repository](/code-security/secure-coding/setting-up-code-scanning-for-a-repository)." + +The {% data variables.product.prodname_codeql_runner %} is a command-line tool that runs {% data variables.product.prodname_codeql %} analysis on a checkout of a {% data variables.product.prodname_dotcom %} repository. You add the runner to your third-party system, then call the runner to analyze code and upload the results to {% data variables.product.product_name %}. These results are displayed as {% data variables.product.prodname_code_scanning %} alerts in the repository. + +{% note %} + +**Notes:** +{% if currentVersion == "free-pro-team@latest" %} +* The {% data variables.product.prodname_codeql_runner %} uses the {% data variables.product.prodname_codeql %} CLI to analyze code and therefore has the same license conditions. It's free to use on public repositories that are maintained on {% data variables.product.prodname_dotcom_the_website %}, and available to use on private repositories that are owned by customers with an {% data variables.product.prodname_advanced_security %} license. For information, see "[{% data variables.product.product_name %} {% data variables.product.prodname_codeql %} Terms and Conditions](https://securitylab.github.com/tools/codeql/license)" and "[{% data variables.product.prodname_codeql %} CLI](https://codeql.github.com/docs/codeql-cli/)." +{% else %} +* The {% data variables.product.prodname_codeql_runner %} is available to customers with an {% data variables.product.prodname_advanced_security %} license. +{% endif %} +* The {% data variables.product.prodname_codeql_runner %} shouldn't be confused with the {% data variables.product.prodname_codeql %} CLI. The {% data variables.product.prodname_codeql %} CLI is an interactive command-line interface that lets you create {% data variables.product.prodname_codeql %} databases for security research and run {% data variables.product.prodname_codeql %} queries. For more information, see "[{% data variables.product.prodname_codeql %} CLI](https://codeql.github.com/docs/codeql-cli/)." +{% endnote %} + +### Downloading the {% data variables.product.prodname_codeql_runner %} + +You can download the {% data variables.product.prodname_codeql_runner %} from https://{% if currentVersion == "enterprise-server@2.22" or currentVersion == "free-pro-team@latest" %}github.com{% else %}HOSTNAME{% endif %}/github/codeql-action/releases. On some operating systems, you may need to change permissions for the downloaded file before you can run it. + +On Linux: + +```shell +chmod +x codeql-runner-linux +``` + +On macOS: + +```shell +chmod +x codeql-runner-macos +sudo xattr -d com.apple.quarantine codeql-runner-macos +``` + +On Windows, the `codeql-runner-win.exe` file usually requires no change to permissions. + +### Adding the {% data variables.product.prodname_codeql_runner %} to your CI system + +Once you download the {% data variables.product.prodname_codeql_runner %} and verify that it can be executed, you should make the runner available to each CI server that you intend to use for {% data variables.product.prodname_code_scanning %}. For example, you might configure each server to copy the runner from a central, internal location. Alternatively, you could use the REST API to get the runner directly from {% data variables.product.prodname_dotcom %}, for example: + +```shell +wget https://{% if currentVersion == "enterprise-server@2.22" or currentVersion == "free-pro-team@latest" %}github.com{% else %}HOSTNAME{% endif %}/github/codeql-action/releases/latest/download/codeql-runner-linux +chmod +x codeql-runner-linux +``` + +In addition to this, each CI server also needs: + +- A {% data variables.product.prodname_github_app %} or personal access token for the {% data variables.product.prodname_codeql_runner %} to use. You must use an access token with the `repo` scope, or a {% data variables.product.prodname_github_app %} with the `security_events` write permission, and `metadata` and `contents` read permissions. For information, see "[Building {% data variables.product.prodname_github_apps %}](/developers/apps/building-github-apps)" and "[Creating a personal access token](/github/authenticating-to-github/creating-a-personal-access-token)." +- Access to the {% data variables.product.prodname_codeql %} bundle associated with this release of the {% data variables.product.prodname_codeql_runner %}. This package contains queries and libraries needed for {% data variables.product.prodname_codeql %} analysis, plus the {% data variables.product.prodname_codeql %} CLI, which is used internally by the runner. For information, see "[{% data variables.product.prodname_codeql %} CLI](https://codeql.github.com/docs/codeql-cli/)." + +The options for providing access to the {% data variables.product.prodname_codeql %} bundle are: + +1. Allow the CI servers access to https://{% if currentVersion == "enterprise-server@2.22" or currentVersion == "free-pro-team@latest" %}github.com{% else %}HOSTNAME{% endif %}/github/codeql-action so that the {% data variables.product.prodname_codeql_runner %} can download the bundle automatically. +{% if currentVersion == "enterprise-server@2.22" %} +1. Mirror the `github/codeql-action` repository on {% data variables.product.product_name %}. Unless you specify the `--codeql-path` flag, the runner automatically checks for the bundle in this location and on {% data variables.product.prodname_dotcom_the_website %}.{% endif %} +1. Manually download/extract the bundle, store it with other central resources, and use the `--codeql-path` flag to specify the location of the bundle in calls to initialize the {% data variables.product.prodname_codeql_runner %}. + +### Calling the {% data variables.product.prodname_codeql_runner %} + +You should call the {% data variables.product.prodname_codeql_runner %} from the checkout location of the repository you want to analyze. The two main commands are: + +1. `init` required to initialize the runner and create a {% data variables.product.prodname_codeql %} database for each language to be analyzed. These databases are populated and analyzed by subsequent commands. +1. `analyze` required to populate the {% data variables.product.prodname_codeql %} databases, analyze them, and upload results to {% data variables.product.product_name %}. + +For both commands, you must specify the URL of {% data variables.product.product_name %}, the repository *OWNER/NAME*, and the {% data variables.product.prodname_github_apps %} or personal access token to use for authentication. You also need to specify the location of the CodeQL bundle, unless the CI server has access to download it directly from the `github/codeql-action` repository. + +You can configure where the {% data variables.product.prodname_codeql_runner %} stores the CodeQL bundle for future analysis on a server using the `--tools-dir` flag and where it stores temporary files during analysis using `--temp-dir`. + +To view the command-line reference for the runner, use the `-h` flag. For example, to list all commands run: `codeql-runner-OS -h`, or to list all the flags available for the `init` command run: `codeql-runner-OS init -h` (where `OS` varies according to the executable that you are using). For more information, see "[Configuring {% data variables.product.prodname_code_scanning %} in your CI system](/code-security/secure-coding/configuring-codeql-code-scanning-in-your-ci-system#codeql-runner-command-reference)." + +{% data reusables.code-scanning.upload-sarif-alert-limit %} + +#### Basic example + +This example runs {% data variables.product.prodname_codeql %} analysis on a Linux CI server for the `octo-org/example-repo` repository hosted on `{% data variables.command_line.git_url_example %}`. The process is very simple because the repository contains only languages that can be analyzed by {% data variables.product.prodname_codeql %} directly, without being built (that is, Go, JavaScript, Python, and TypeScript). + +In this example, the server has access to download the {% data variables.product.prodname_codeql %} bundle directly from the `github/codeql-action` repository, so there is no need to use the `--codeql-path` flag. + +1. Check out the repository to analyze. +1. Move into the directory where the repository is checked out. +1. Initialize the {% data variables.product.prodname_codeql_runner %} and create {% data variables.product.prodname_codeql %} databases for the languages detected. + + ```shell + $ /path/to-runner/codeql-runner-linux init --repository octo-org/example-repo + --github-url {% data variables.command_line.git_url_example %} --github-auth TOKEN + > Cleaning temp directory /srv/checkout/example-repo/codeql-runner + > ... + > Created CodeQL database at /srv/checkout/example-repo/codeql-runner/codeql_databases/javascript. + ``` + +{% data reusables.code-scanning.codeql-runner-analyze-example %} + +#### Compiled language example + +This example is similar to the previous example, however this time the repository has code in C/C++, C#, or Java. To create a {% data variables.product.prodname_codeql %} database for these languages, the CLI needs to monitor the build. At the end of the initialization process, the runner reports the command you need to set up the environment before building the code. You need to run this command, before calling the normal CI build process, and then running the `analyze` command. + +1. Check out the repository to analyze. +1. Move into the directory where the repository is checked out. +1. Initialize the {% data variables.product.prodname_codeql_runner %} and create {% data variables.product.prodname_codeql %} databases for the languages detected. + + ```shell + $ /path/to-runner/codeql-runner-linux init --repository octo-org/example-repo-2 + --github-url {% data variables.command_line.git_url_example %} --github-auth TOKEN + > Cleaning temp directory /srv/checkout/example-repo-2/codeql-runner + > ... + > CodeQL environment output to "/srv/checkout/example-repo-2/codeql-runner/codeql-env.json" + and "/srv/checkout/example-repo-2/codeql-runner/codeql-env.sh". + Please export these variables to future processes so that CodeQL can monitor the build, for example by running + ". /srv/checkout/example-repo-2/codeql-runner/codeql-env.sh". + ``` + +1. Source the script generated by the `init` action to set up the environment to monitor the build. Note the leading dot and space in the following code snippet. + + ```shell + $ . /srv/checkout/example-repo-2/codeql-runner/codeql-env.sh + ``` + +1. Build the code. On macOS, you need to prefix the build command with the environment variable `$CODEQL_RUNNER`. For more information, see "[Troubleshooting CodeQL code scanning in your CI system](/code-security/secure-coding/troubleshooting-codeql-code-scanning-in-your-ci-system#no-code-found-during-the-build)." + +{% data reusables.code-scanning.codeql-runner-analyze-example %} + +{% note %} + +**Note:** If you use a containerized build, you need to run the {% data variables.product.prodname_codeql_runner %} in the container where your build task takes place. + +{% endnote %} + +### Further reading + +- "[Configuring {% data variables.product.prodname_code_scanning %} in your CI system](/code-security/secure-coding/configuring-codeql-code-scanning-in-your-ci-system)" +- "[Troubleshooting {% data variables.product.prodname_code_scanning %} in your CI system](/code-security/secure-coding/troubleshooting-codeql-code-scanning-in-your-ci-system)" diff --git a/content/code-security/secure-coding/sarif-support-for-code-scanning.md b/content/code-security/secure-coding/sarif-support-for-code-scanning.md new file mode 100644 index 0000000000..ffb2663941 --- /dev/null +++ b/content/code-security/secure-coding/sarif-support-for-code-scanning.md @@ -0,0 +1,432 @@ +--- +title: SARIF support for code scanning +shortTitle: SARIF support +intro: 'To display results from a third-party static analysis tool in your repository on {% data variables.product.prodname_dotcom %}, you''ll need your results stored in a SARIF file that supports a specific subset of the SARIF 2.1.0 JSON schema for {% data variables.product.prodname_code_scanning %}. If you use the default {% data variables.product.prodname_codeql %} static analysis engine, then your results will display in your repository on {% data variables.product.prodname_dotcom %} automatically.' +product: '{% data reusables.gated-features.code-scanning %}' +redirect_from: + - /github/finding-security-vulnerabilities-and-errors-in-your-code/about-sarif-support-for-code-scanning + - /github/finding-security-vulnerabilities-and-errors-in-your-code/sarif-support-for-code-scanning +versions: + free-pro-team: '*' + enterprise-server: '>=3.0' + github-ae: '*' +topics: + - security +--- + +{% data reusables.code-scanning.beta %} + +### About SARIF support + +SARIF (Static Analysis Results Interchange Format) is an [OASIS Standard](https://docs.oasis-open.org/sarif/sarif/v2.1.0/sarif-v2.1.0.html) that defines an output file format. The SARIF standard is used to streamline how static analysis tools share their results. {% data variables.product.prodname_code_scanning_capc %} supports a subset of the SARIF 2.1.0 JSON schema. + +To upload a SARIF file from a third-party static code analysis engine, you'll need to ensure that uploaded files use the SARIF 2.1.0 version. {% data variables.product.prodname_dotcom %} will parse the SARIF file and show alerts using the results in your repository as a part of the {% data variables.product.prodname_code_scanning %} experience. For more information, see "[Uploading a SARIF file to {% data variables.product.prodname_dotcom %}](/code-security/secure-coding/uploading-a-sarif-file-to-github)." For more information about the SARIF 2.1.0 JSON schema, see [`sarif-schema-2.1.0.json`](https://github.com/oasis-tcs/sarif-spec/blob/master/Schemata/sarif-schema-2.1.0.json). + +If you're using {% data variables.product.prodname_actions %} with the {% data variables.product.prodname_codeql_workflow %} or using the {% data variables.product.prodname_codeql_runner %}, then the {% data variables.product.prodname_code_scanning %} results will automatically use the supported subset of SARIF 2.1.0. For more information, see "[Setting up {% data variables.product.prodname_code_scanning %} for a repository](/code-security/secure-coding/setting-up-code-scanning-for-a-repository)" or "[Running {% data variables.product.prodname_codeql %} {% data variables.product.prodname_code_scanning %} in your CI system](/code-security/secure-coding/running-codeql-code-scanning-in-your-ci-system)." + +{% data variables.product.prodname_dotcom %} uses properties in the SARIF file to display alerts. For example, the `shortDescription` and `fullDescription` appear at the top of a {% data variables.product.prodname_code_scanning %} alert. The `location` allows {% data variables.product.prodname_dotcom %} to show annotations in your code file. For more information, see "[Managing {% data variables.product.prodname_code_scanning %} alerts for your repository](/code-security/secure-coding/managing-code-scanning-alerts-for-your-repository)." + +If you're new to SARIF and want to learn more, see Microsoft's [`SARIF tutorials`](https://github.com/microsoft/sarif-tutorials) repository. + +### Preventing duplicate alerts using fingerprints + +Each time the results of a new code scan are uploaded, the results are processed and alerts are added to the repository. To prevent duplicate alerts for the same problem, {% data variables.product.prodname_code_scanning %} uses fingerprints to match results across various runs so they only appear once in the latest run for the selected branch. This makes it possible to match alerts to the right line of code when files are edited. + +{% data variables.product.prodname_dotcom %} uses the `partialFingerprints` property in the OASIS standard to detect when two results are logically identical. For more information, see the "[partialFingerprints property](https://docs.oasis-open.org/sarif/sarif/v2.1.0/cs01/sarif-v2.1.0-cs01.html#_Toc16012611)" entry in the OASIS documentation. + +SARIF files created by the {% data variables.product.prodname_codeql_workflow %} or using the {% data variables.product.prodname_codeql_runner %} include fingerprint data. If you upload a SARIF file using the `upload-sarif` action and this data is missing, {% data variables.product.prodname_dotcom %} attempts to populate the `partialFingerprints` field from the source files. For more information about uploading results, see "[Uploading a SARIF file to {% data variables.product.prodname_dotcom %}](/code-security/secure-coding/uploading-a-sarif-file-to-github#uploading-a-code-scanning-analysis-with-github-actions)." + +If you upload a SARIF file without fingerprint data using the `/code-scanning/sarifs` API endpoint, the {% data variables.product.prodname_code_scanning %} alerts will be processed and displayed, but users may see duplicate alerts. To avoid seeing duplicate alerts, you should calculate fingerprint data and populate the `partialFingerprints` property before you upload the SARIF file. You may find the script that the `upload-sarif` action uses a helpful starting point: https://github.com/github/codeql-action/blob/main/src/fingerprints.ts. For more information about the API, see "[Upload an analysis as SARIF data](/rest/reference/code-scanning#upload-an-analysis-as-sarif-data)." + +### Validating your SARIF file + + + +You can check a SARIF file is compatible with {% data variables.product.prodname_code_scanning %} by testing it against the {% data variables.product.prodname_dotcom %} ingestion rules. For more information, visit the [Microsoft SARIF validator](https://sarifweb.azurewebsites.net/). + +{% data reusables.code-scanning.upload-sarif-alert-limit %} + +### Supported SARIF output file properties + +If you use a code analysis engine other than {% data variables.product.prodname_codeql %}, you can review the supported SARIF properties to optimize how your analysis results will appear on {% data variables.product.prodname_dotcom %}. + +Any valid SARIF 2.1.0 output file can be uploaded, however, {% data variables.product.prodname_code_scanning %} will only use the following supported properties. + +#### `sarifLog` object + +| Name | Description | +|----|----| +| `$schema` | **Required.** The URI of the SARIF JSON schema for version 2.1.0. For example, `https://raw.githubusercontent.com/oasis-tcs/sarif-spec/master/Schemata/sarif-schema-2.1.0.json`. | +| `version` | **Required.** {% data variables.product.prodname_code_scanning_capc %} only supports SARIF version `2.1.0`. +| `runs[]` | **Required.** A SARIF file contains an array of one or more runs. Each run represents a single run of an analysis tool. For more information about a `run`, see the [`run` object](#run-object). + +#### `run` object + +{% data variables.product.prodname_code_scanning_capc %} uses the `run` object to filter results by tool and provide information about the source of a result. The `run` object contains the `tool.driver` tool component object, which contains information about the tool that generated the results. Each `run` can only have results for one analysis tool. + +| Name | Description | +|----|----| +| `tool.driver.name` | **Required.** The name of the analysis tool. {% data variables.product.prodname_code_scanning_capc %} displays the name on {% data variables.product.prodname_dotcom %} to allow you to filter results by tool. | +| `tool.driver.version` | **Optional.** The version of the analysis tool. {% data variables.product.prodname_code_scanning_capc %} uses the version number to track when results may have changed due to a tool version change rather than a change in the code being analyzed. If the SARIF file includes the `semanticVersion` field, `version` is not used by {% data variables.product.prodname_code_scanning %}. | +| `tool.driver.semanticVersion` | **Optional.** The version of the analysis tool, specified by the Semantic Versioning 2.0 format. {% data variables.product.prodname_code_scanning_capc %} uses the version number to track when results may have changed due to a tool version change rather than a change in the code being analyzed. If the SARIF file includes the `semanticVersion` field, `version` is not used by {% data variables.product.prodname_code_scanning %}. For more information, see "[Semantic Versioning 2.0.0](https://semver.org/)" in the Semantic Versioning documentation. | +| `tool.driver.rules[]` | **Required.** An array of `reportingDescriptor` objects that represent rules. The analysis tool uses rules to find problems in the code being analyzed. For more information, see the [`reportingDescriptor` object](#reportingdescriptor-object). | +| `results[]` | **Required.** The results of the analysis tool. {% data variables.product.prodname_code_scanning_capc %} displays the results on {% data variables.product.prodname_dotcom %}. For more information, see the [`result` object](#result-object). + +#### `reportingDescriptor` object + +| Name | Description | +|----|----| +| `id` | **Required.** A unique identifier for the rule. The `id` is referenced from other parts of the SARIF file and may be used by {% data variables.product.prodname_code_scanning %} to display URLs on {% data variables.product.prodname_dotcom %}. | +| `name` | **Optional.** The name of the rule. {% data variables.product.prodname_code_scanning_capc %} displays the name to allow results to be filtered by rule on {% data variables.product.prodname_dotcom %}. | +| `shortDescription.text` | **Required.** A concise description of the rule. {% data variables.product.prodname_code_scanning_capc %} displays the short description on {% data variables.product.prodname_dotcom %} next to the associated results. +| `fullDescription.text` | **Required.** A description of the rule. {% data variables.product.prodname_code_scanning_capc %} displays the full description on {% data variables.product.prodname_dotcom %} next to the associated results. The max number of characters is limited to 1000. +| `defaultConfiguration.level` | **Optional.** Default severity level of the rule. {% data variables.product.prodname_code_scanning_capc %} uses severity levels to help you understand how critical the result is for a given rule. This value can be overridden by the `level` attribute in the `result` object. For more information, see the [`result` object](#result-object). Default: `warning`. +| `help.text` | **Required.** Documentation for the rule using text format. {% data variables.product.prodname_code_scanning_capc %} displays this help documentation next to the associated results. +| `help.markdown` | **Recommended.** Documentation for the rule using Markdown format. {% data variables.product.prodname_code_scanning_capc %} displays this help documentation next to the associated results. When `help.markdown` is available, it is displayed instead of `help.text`. +| `properties.tags[]` | **Optional.** An array of strings. {% data variables.product.prodname_code_scanning_capc %} uses `tags` to allow you to filter results on {% data variables.product.prodname_dotcom %}. For example, it is possible to filter to all results that have the tag `security`. +| `properties.precision` | **Recommended.** A string that indicates how often the results indicated by this rule are true. For example, if a rule has a known high false-positive rate, the precision should be `low`. {% data variables.product.prodname_code_scanning_capc %} orders results by precision on {% data variables.product.prodname_dotcom %} so that the results with the highest `level`, and highest `precision` are shown first. Can be one of: `very-high`, `high`, `medium`, or `low`. + +#### `result` object + +{% data reusables.code-scanning.upload-sarif-alert-limit %} + +| Name | Description | +|----|----| +| `ruleId`| **Optional.** The unique identifier of the rule (`reportingDescriptor.id`). For more information, see the [`reportingDescriptor` object](#reportingdescriptor-object). {% data variables.product.prodname_code_scanning_capc %} uses the rule identifier to filter results by rule on {% data variables.product.prodname_dotcom %}. +| `ruleIndex`| **Optional.** The index of the associated rule (`reportingDescriptor` object) in the tool component `rules` array. For more information, see the [`run` object](#run-object). +| `rule`| **Optional.** A reference used to locate the rule (reporting descriptor) for this result. For more information, see the [`reportingDescriptor` object](#reportingdescriptor-object). +| `level`| **Optional.** The severity of the result. This level overrides the default severity defined by the rule. {% data variables.product.prodname_code_scanning_capc %} uses the level to filter results by severity on {% data variables.product.prodname_dotcom %}. +| `message.text`| **Required.** A message that describes the result. {% data variables.product.prodname_code_scanning_capc %} displays the message text as the title of the result. Only the first sentence of the message will be displayed when visible space is limited. +| `locations[]`| **Required.** The set of locations where the result was detected up to a maximum of 10. Only one location should be included unless the problem can only be corrected by making a change at every specified location. **Note:** At least one location is required for {% data variables.product.prodname_code_scanning %} to display a result. {% data variables.product.prodname_code_scanning_capc %} will use this property to decide which file to annotate with the result. Only the first value of this array is used. All other values are ignored. +| `partialFingerprints`| **Required.** A set of strings used to track the unique identity of the result. {% data variables.product.prodname_code_scanning_capc %} uses `partialFingerprints` to accurately identify which results are the same across commits and branches. {% data variables.product.prodname_code_scanning_capc %} will attempt to use `partialFingerprints` if they exist. If you are uploading third-party SARIF files with the `upload-action`, the action will create `partialFingerprints` for you when they are not included in the SARIF file. For more information, see "[Preventing duplicate alerts using fingerprints](#preventing-duplicate-alerts-using-fingerprints)." **Note:** {% data variables.product.prodname_code_scanning_capc %} only uses the `primaryLocationLineHash`. +| `codeFlows[].threadFlows[].locations[]`| **Optional.** An array of `location` objects for a `threadFlow` object, which describes the progress of a program through a thread of execution. A `codeFlow` object describes a pattern of code execution used to detect a result. If code flows are provided, {% data variables.product.prodname_code_scanning %} will expand code flows on {% data variables.product.prodname_dotcom %} for the relevant result. For more information, see the [`location` object](#location-object). +| `relatedLocations[]`| A set of locations relevant to this result. {% data variables.product.prodname_code_scanning_capc %} will link to related locations when they are embedded in the result message. For more information, see the [`location` object](#location-object). + +#### `location` object + +A location within a programming artifact, such as a file in the repository or a file that was generated during a build. + +| Name | Description | +|----|----| +| `location.id` | **Optional.** A unique identifier that distinguishes this location from all other locations within a single result object. +| `location.physicalLocation` | **Required.** Identifies the artifact and region. For more information, see the [`physicalLocation`](#physicallocation-object). +| `location.message.text` | **Optional.** A message relevant to the location. + +#### `physicalLocation` object + +| Name | Description | +|----|----| +| `artifactLocation.uri`| **Required.** A URI indicating the location of an artifact, usually a file either in the repository or generated during a build. If the URI is relative, it should be relative to the root of the {% data variables.product.prodname_dotcom %} repository being analyzed. For example, main.js or src/script.js are relative to the root of the repository. If the URI is absolute, {% data variables.product.prodname_code_scanning %} can use the URI to checkout the artifact and match up files in the repository. For example, `https://github.com/ghost/example/blob/00/src/promiseUtils.js`. +| `region.startLine` | **Required.** The line number of the first character in the region. +| `region.startColumn` | **Required.** The column number of the first character in the region. +| `region.endLine` | **Required.** The line number of the last character in the region. +| `region.endColumn` | **Required.** The column number of the character following the end of the region. + +### SARIF output file examples + +These example SARIF output files show supported properties and example values. + +#### Example with minimum required properties + +This SARIF output file has example values to show the minimum required properties for {% data variables.product.prodname_code_scanning %} results to work as expected. If you remove any properties or don't include values, this data will not be displayed correctly or sync on {% data variables.product.prodname_dotcom %}. + + +```json +{ + "$schema": "https://raw.githubusercontent.com/oasis-tcs/sarif-spec/master/Schemata/sarif-schema-2.1.0.json", + "version": "2.1.0", + "runs": [ + { + "tool": { + "driver": { + "name": "Tool Name", + "rules": [ + { + "id": "R01" + } + ] + } + }, + "results": [ + { + "ruleId": "R01", + "message": { + "text": "Result text. This result does not have a rule associated." + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "fileURI" + }, + "region": { + "startLine": 2, + "startColumn": 7, + "endColumn": 10 + } + } + } + ], + "partialFingerprints": { + "primaryLocationLineHash": "39fa2ee980eb94b0:1" + } + } + ] + } + ] +} +``` + +#### Example showing all supported SARIF properties + +This SARIF output file has example values to show all supported SARIF properties for {% data variables.product.prodname_code_scanning %}. + +```json +{ + "$schema": "https://raw.githubusercontent.com/oasis-tcs/sarif-spec/master/Schemata/sarif-schema-2.1.0.json", + "version": "2.1.0", + "runs": [ + { + "tool": { + "driver": { + "name": "Tool Name", + "semanticVersion": "2.0.0", + "rules": [ + { + "id": "3f292041e51d22005ce48f39df3585d44ce1b0ad", + "name": "js/unused-local-variable", + "shortDescription": { + "text": "Unused variable, import, function or class" + }, + "fullDescription": { + "text": "Unused variables, imports, functions or classes may be a symptom of a bug and should be examined carefully." + }, + "defaultConfiguration": { + "level": "note" + }, + "properties": { + "tags": [ + "maintainability" + ], + "precision": "very-high" + } + }, + { + "id": "d5b664aefd5ca4b21b52fdc1d744d7d6ab6886d0", + "name": "js/inconsistent-use-of-new", + "shortDescription": { + "text": "Inconsistent use of 'new'" + }, + "fullDescription": { + "text": "If a function is intended to be a constructor, it should always be invoked with 'new'. Otherwise, it should always be invoked as a normal function, that is, without 'new'." + }, + "properties": { + "tags": [ + "reliability", + "correctness", + "language-features" + ], + "precision": "very-high" + } + }, + { + "id": "R01" + } + ] + } + }, + "results": [ + { + "ruleId": "3f292041e51d22005ce48f39df3585d44ce1b0ad", + "ruleIndex": 0, + "message": { + "text": "Unused variable foo." + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "main.js", + "uriBaseId": "%SRCROOT%" + }, + "region": { + "startLine": 2, + "startColumn": 7, + "endColumn": 10 + } + } + } + ], + "partialFingerprints": { + "primaryLocationLineHash": "39fa2ee980eb94b0:1", + "primaryLocationStartColumnFingerprint": "4" + } + }, + { + "ruleId": "d5b664aefd5ca4b21b52fdc1d744d7d6ab6886d0", + "ruleIndex": 1, + "message": { + "text": "Function resolvingPromise is sometimes invoked as a constructor (for example [here](1)), and sometimes as a normal function (for example [here](2))." + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/promises.js", + "uriBaseId": "%SRCROOT%" + }, + "region": { + "startLine": 2 + } + } + } + ], + "partialFingerprints": { + "primaryLocationLineHash": "5061c3315a741b7d:1", + "primaryLocationStartColumnFingerprint": "7" + }, + "relatedLocations": [ + { + "id": 1, + "physicalLocation": { + "artifactLocation": { + "uri": "src/ParseObject.js", + "uriBaseId": "%SRCROOT%" + }, + "region": { + "startLine": 2281, + "startColumn": 33, + "endColumn": 55 + } + }, + "message": { + "text": "here" + } + }, + { + "id": 2, + "physicalLocation": { + "artifactLocation": { + "uri": "src/LiveQueryClient.js", + "uriBaseId": "%SRCROOT%" + }, + "region": { + "startLine": 166 + } + }, + "message": { + "text": "here" + } + } + ] + }, + { + "ruleId": "R01", + "message": { + "text": "Specifying both [ruleIndex](1) and [ruleID](2) might lead to inconsistencies." + }, + "level": "error", + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "full.sarif", + "uriBaseId": "%SRCROOT%" + }, + "region": { + "startLine": 54, + "startColumn": 10, + "endLine": 55, + "endColumn": 25 + } + } + } + ], + "relatedLocations": [ + { + "id": 1, + "physicalLocation": { + "artifactLocation": { + "uri": "full.sarif" + }, + "region": { + "startLine": 81, + "startColumn": 10, + "endColumn": 18 + } + }, + "message": { + "text": "here" + } + }, + { + "id": 2, + "physicalLocation": { + "artifactLocation": { + "uri": "full.sarif" + }, + "region": { + "startLine": 82, + "startColumn": 10, + "endColumn": 21 + } + }, + "message": { + "text": "here" + } + } + ], + "codeFlows": [ + { + "threadFlows": [ + { + "locations": [ + { + "location": { + "physicalLocation": { + "region": { + "startLine": 11, + "endLine": 29, + "startColumn": 10, + "endColumn": 18 + }, + "artifactLocation": { + "uriBaseId": "%SRCROOT%", + "uri": "full.sarif" + } + }, + "message": { + "text": "Rule has index 0" + } + } + }, + { + "location": { + "physicalLocation": { + "region": { + "endColumn": 47, + "startColumn": 12, + "startLine": 12 + }, + "artifactLocation": { + "uriBaseId": "%SRCROOT%", + "uri": "full.sarif" + } + } + } + } + ] + } + ] + } + ], + "partialFingerprints": { + "primaryLocationLineHash": "ABC:2" + } + } + ], + "columnKind": "utf16CodeUnits" + } + ] +} +``` diff --git a/content/code-security/secure-coding/setting-up-code-scanning-for-a-repository.md b/content/code-security/secure-coding/setting-up-code-scanning-for-a-repository.md new file mode 100644 index 0000000000..d409ca16f7 --- /dev/null +++ b/content/code-security/secure-coding/setting-up-code-scanning-for-a-repository.md @@ -0,0 +1,125 @@ +--- +title: Setting up code scanning for a repository +shortTitle: Setting up code scanning +intro: 'You can set up {% data variables.product.prodname_code_scanning %} by adding a workflow to your repository.' +product: '{% data reusables.gated-features.code-scanning %}' +permissions: 'If you have write permissions to a repository, you can set up or configure {% data variables.product.prodname_code_scanning %} for that repository.' +redirect_from: + - /github/managing-security-vulnerabilities/configuring-automated-code-scanning + - /github/finding-security-vulnerabilities-and-errors-in-your-code/enabling-code-scanning + - /github/finding-security-vulnerabilities-and-errors-in-your-code/enabling-code-scanning-for-a-repository + - /github/finding-security-vulnerabilities-and-errors-in-your-code/setting-up-code-scanning-for-a-repository +versions: + free-pro-team: '*' + enterprise-server: '>=3.0' + github-ae: '*' +topics: + - security +--- + +{% data reusables.code-scanning.beta %} +{% data reusables.code-scanning.enterprise-enable-code-scanning-actions %} + +### Options for setting up {% data variables.product.prodname_code_scanning %} + +You decide how to generate {% data variables.product.prodname_code_scanning %} alerts, and which tools to use, at a repository level. {% data variables.product.product_name %} provides fully integrated support for {% data variables.product.prodname_codeql %} analysis, and also supports analysis using third-party tools. For more information, see "[About {% data variables.product.prodname_codeql %}](/code-security/secure-coding/about-code-scanning#about-codeql)." + +{% data reusables.code-scanning.enabling-options %} + +### Setting up {% data variables.product.prodname_code_scanning %} using actions + +{% if currentVersion == "free-pro-team@latest" %}Using actions to run {% data variables.product.prodname_code_scanning %} will use minutes. For more information, see "[About billing for {% data variables.product.prodname_actions %}](/github/setting-up-and-managing-billing-and-payments-on-github/about-billing-for-github-actions)."{% endif %} + +{% data reusables.repositories.navigate-to-repo %} +{% data reusables.repositories.sidebar-security %} +3. To the right of "{% data variables.product.prodname_code_scanning_capc %} alerts", click **Set up {% data variables.product.prodname_code_scanning %}**. {% if currentVersion == "free-pro-team@latest" or currentVersion ver_gt "enterprise-server@3.0" %}If {% data variables.product.prodname_code_scanning %} is missing, you need to ask an organization owner or repository administrator to enable {% data variables.product.prodname_GH_advanced_security %}. For more information, see "[Managing security and analysis settings for your organization](/github/setting-up-and-managing-organizations-and-teams/managing-security-and-analysis-settings-for-your-organization)" or "[Managing security and analysis settings for your repository](/github/administering-a-repository/managing-security-and-analysis-settings-for-your-repository)."{% endif %} + !["Set up {% data variables.product.prodname_code_scanning %}" button to the right of "{% data variables.product.prodname_code_scanning_capc %}" in the Security Overview](/assets/images/help/security/overview-set-up-code-scanning.png) +4. Under "Get started with {% data variables.product.prodname_code_scanning %}", click **Set up this workflow** on the {% data variables.product.prodname_codeql_workflow %} or on a third-party workflow. + !["Set up this workflow" button under "Get started with {% data variables.product.prodname_code_scanning %}" heading](/assets/images/help/repository/code-scanning-set-up-this-workflow.png){% if currentVersion == "free-pro-team@latest" or currentVersion ver_gt "enterprise-server@2.22" %}Workflows are only displayed if they are relevant for the programming languages detected in the repository. The {% data variables.product.prodname_codeql_workflow %} is always displayed, but the "Set up this workflow" button is only enabled if {% data variables.product.prodname_codeql %} analysis supports the languages present in the repository.{% endif %} +5. To customize how {% data variables.product.prodname_code_scanning %} scans your code, edit the workflow. + + Generally you can commit the {% data variables.product.prodname_codeql_workflow %} without making any changes to it. However, many of the third-party workflows require additional configuration, so read the comments in the workflow before committing. + + For more information, see "[Configuring {% data variables.product.prodname_code_scanning %}](/code-security/secure-coding/configuring-code-scanning)." +6. Use the **Start commit** drop-down, and type a commit message. + ![Start commit](/assets/images/help/repository/start-commit-commit-new-file.png) +7. Choose whether you'd like to commit directly to the default branch, or create a new branch and start a pull request. + ![Choose where to commit](/assets/images/help/repository/start-commit-choose-where-to-commit.png) +8. Click **Commit new file** or **Propose new file**. + +In the default {% data variables.product.prodname_codeql_workflow %}, {% data variables.product.prodname_code_scanning %} is configured to analyze your code each time you either push a change to the default branch or any protected branches, or raise a pull request against the default branch. As a result, {% data variables.product.prodname_code_scanning %} will now commence. + +### Bulk set up of {% data variables.product.prodname_code_scanning %} +You can set up {% data variables.product.prodname_code_scanning %} in many repositories at once using a script. For an example of a script that raises pull requests to add a {% data variables.product.prodname_actions %} workflow to multiple repositories, see the [`jhutchings1/Create-ActionsPRs`](https://github.com/jhutchings1/Create-ActionsPRs) repository. + +### Viewing the logging output from {% data variables.product.prodname_code_scanning %} + +After setting up {% data variables.product.prodname_code_scanning %} for your repository, you can watch the output of the actions as they run. + +{% data reusables.repositories.actions-tab %} + + You'll see a list that includes an entry for running the {% data variables.product.prodname_code_scanning %} workflow. The text of the entry is the title you gave your commit message. + + ![Actions list showing {% data variables.product.prodname_code_scanning %} workflow](/assets/images/help/repository/code-scanning-actions-list.png) + +1. Click the entry for the {% data variables.product.prodname_code_scanning %} workflow. + +1. Click the job name on the left. For example, **Analyze (LANGUAGE)**. + + ![Log output from the {% data variables.product.prodname_code_scanning %} workflow](/assets/images/help/repository/code-scanning-logging-analyze-action.png) + +1. Review the logging output from the actions in this workflow as they run. + +1. Once all jobs are complete, you can view the details of any {% data variables.product.prodname_code_scanning %} alerts that were identified. For more information, see "[Managing {% data variables.product.prodname_code_scanning %} alerts for your repository](/code-security/secure-coding/managing-code-scanning-alerts-for-your-repository#viewing-the-alerts-for-a-repository)." + +{% note %} + +**Note:** If you raised a pull request to add the {% data variables.product.prodname_code_scanning %} workflow to the repository, alerts from that pull request aren't displayed directly on the {% data variables.product.prodname_code_scanning_capc %} page until the pull request is merged. If any alerts were found you can view these, before the pull request is merged, by clicking the **_n_ alerts found** link in the banner on the {% data variables.product.prodname_code_scanning_capc %} page. + + ![Click the "n alerts found" link](/assets/images/help/repository/code-scanning-alerts-found-link.png) + +{% endnote %} + +### Understanding the pull request checks + +Each {% data variables.product.prodname_code_scanning %} workflow you set to run on pull requests always has at least two entries listed in the checks section of a pull request. There is one entry for each of the analysis jobs in the workflow, and a final one for the results of the analysis. + +The names of the {% data variables.product.prodname_code_scanning %} analysis checks take the form: "TOOL NAME / JOB NAME (TRIGGER)." For example, for {% data variables.product.prodname_codeql %}, analysis of C++ code has the entry "{% data variables.product.prodname_codeql %} / Analyze (cpp) (pull_request)." You can click **Details** on a {% data variables.product.prodname_code_scanning %} analysis entry to see logging data. This allows you to debug a problem if the analysis job failed. For example, for {% data variables.product.prodname_code_scanning %} analysis of compiled languages, this can happen if the action can't build the code. + + ![{% data variables.product.prodname_code_scanning %} pull request checks](/assets/images/help/repository/code-scanning-pr-checks.png) + +When the {% data variables.product.prodname_code_scanning %} jobs complete, {% data variables.product.prodname_dotcom %} works out whether any alerts were added by the pull request and adds the "{% data variables.product.prodname_code_scanning_capc %} results / TOOL NAME" entry to the list of checks. After {% data variables.product.prodname_code_scanning %} has been performed at least once, you can click **Details** to view the results of the analysis. If you used a pull request to add {% data variables.product.prodname_code_scanning %} to the repository, you will initially see a "Missing analysis" message when you click **Details** on the "{% data variables.product.prodname_code_scanning_capc %} results / TOOL NAME" check. + + ![Missing analysis for commit message](/assets/images/help/repository/code-scanning-missing-analysis.png) + +#### Reasons for the "missing analysis" message + +After {% data variables.product.prodname_code_scanning %} has analyzed the code in a pull request, it needs to compare the analysis of the topic branch (the branch you used to create the pull request) with the analysis of the base branch (the branch into which you want to merge the pull request). This allows {% data variables.product.prodname_code_scanning %} to compute which alerts are newly introduced by the pull request, which alerts were already present in the base branch, and whether any existing alerts are fixed by the changes in the pull request. Initially, if you use a pull request to add {% data variables.product.prodname_code_scanning %} to a repository, the base branch has not yet been analyzed, so it's not possible to compute these details. In this case, when you click through from the results check on the pull request you will see the "Missing analysis for base commit SHA-HASH" message. + +There are other situations where there may be no analysis for the latest commit to the base branch for a pull request. These include: + +* The pull request has been raised against a branch other than the default branch, and this branch hasn't been analyzed. + + To check whether a branch has been scanned, go to the {% data variables.product.prodname_code_scanning_capc %} page, click the **Branch** drop-down and select the relevant branch. + + ![Choose a branch from the Branch drop-down menu](/assets/images/help/repository/code-scanning-branch-dropdown.png) + + The solution in this situation is to add the name of the base branch to the `on:push` and `on:pull_request` specification in the {% data variables.product.prodname_code_scanning %} workflow on that branch and then make a change that updates the open pull request that you want to scan. + +* The latest commit on the base branch for the pull request is currently being analyzed and analysis is not yet available. + + Wait a few minutes and then push a change to the pull request to retrigger {% data variables.product.prodname_code_scanning %}. + +* An error occurred while analyzing the latest commit on the base branch and analysis for that commit isn't available. + + Merge a trivial change into the base branch to trigger {% data variables.product.prodname_code_scanning %} on this latest commit, then push a change to the pull request to retrigger {% data variables.product.prodname_code_scanning %}. + +### Next steps + +After setting up {% data variables.product.prodname_code_scanning %}, and allowing its actions to complete, you can: + +- View all of the {% data variables.product.prodname_code_scanning %} alerts generated for this repository. For more information, see "[Managing {% data variables.product.prodname_code_scanning %} alerts for your repository](/code-security/secure-coding/managing-code-scanning-alerts-for-your-repository)." +- View any alerts generated for a pull request submitted after you set up {% data variables.product.prodname_code_scanning %}. For more information, see "[Triaging {% data variables.product.prodname_code_scanning %} alerts in pull requests](/code-security/secure-coding/triaging-code-scanning-alerts-in-pull-requests)." +- Set up notifications for completed runs. For more information, see "[Configuring notifications](/github/managing-subscriptions-and-notifications-on-github/configuring-notifications#github-actions-notification-options)." +- Investigate any problems that occur with the initial setup of {% data variables.product.prodname_codeql %} {% data variables.product.prodname_code_scanning %}. For more information, see "[Troubleshooting the {% data variables.product.prodname_codeql %} workflow](/code-security/secure-coding/troubleshooting-the-codeql-workflow)." +- Customize how {% data variables.product.prodname_code_scanning %} scans the code in your repository. For more information, see "[Configuring {% data variables.product.prodname_code_scanning %}](/code-security/secure-coding/configuring-code-scanning)." diff --git a/content/code-security/secure-coding/triaging-code-scanning-alerts-in-pull-requests.md b/content/code-security/secure-coding/triaging-code-scanning-alerts-in-pull-requests.md new file mode 100644 index 0000000000..3e7fd38c1a --- /dev/null +++ b/content/code-security/secure-coding/triaging-code-scanning-alerts-in-pull-requests.md @@ -0,0 +1,71 @@ +--- +title: Triaging code scanning alerts in pull requests +shortTitle: Triaging alerts in pull requests +intro: 'When {% data variables.product.prodname_code_scanning %} identifies a problem in a pull request, you can review the highlighted code and resolve the alert.' +product: '{% data reusables.gated-features.code-scanning %}' +permissions: 'If you have read permission for a repository, you can see annotations on pull requests. With write permission, you can see detailed information and resolve {% data variables.product.prodname_code_scanning %} alerts for that repository.' +redirect_from: + - /github/finding-security-vulnerabilities-and-errors-in-your-code/triaging-code-scanning-alerts-in-pull-requests +versions: + free-pro-team: '*' + enterprise-server: '>=3.0' + github-ae: '*' +topics: + - security +--- + +{% data reusables.code-scanning.beta %} + +### About {% data variables.product.prodname_code_scanning %} results on pull requests + +In repositories where {% data variables.product.prodname_code_scanning %} is configured as a pull request check, {% data variables.product.prodname_code_scanning %} checks the code in the pull request. By default, this is limited to pull requests that target the default branch, but you can change this configuration within {% data variables.product.prodname_actions %} or in a third-party CI/CD system. If merging the changes would introduce new {% data variables.product.prodname_code_scanning %} alerts to the target branch, these are reported as check results in the pull request. The alerts are also shown as annotations in the **Files changed** tab of the pull request. If you have write permission for the repository, you can see any existing {% data variables.product.prodname_code_scanning %} alerts on the **Security** tab. For information about repository alerts, see "[Managing {% data variables.product.prodname_code_scanning %} alerts for your repository](/code-security/secure-coding/managing-code-scanning-alerts-for-your-repository)." + +If {% data variables.product.prodname_code_scanning %} has any results with a severity of `error`, the check fails and the error is reported in the check results. If all the results found by {% data variables.product.prodname_code_scanning %} have lower severities, the alerts are treated as warnings or notices and the check succeeds. If your pull request targets a protected branch that uses {% data variables.product.prodname_code_scanning %}, and the repository owner has configured required status checks, then you must either fix or {% if currentVersion == "enterprise-server@2.22" %}close{% else %}dismiss{% endif %} all error alerts before the pull request can be merged. For more information, see "[About protected branches](/github/administering-a-repository/about-protected-branches#require-status-checks-before-merging)." + +![Failed {% data variables.product.prodname_code_scanning %} check on a pull request](/assets/images/help/repository/code-scanning-check-failure.png) + +### About {% data variables.product.prodname_code_scanning %} as a pull request check + +There are many options for configuring {% data variables.product.prodname_code_scanning %} as a pull request check, so the exact setup of each repository will vary and some will have more than one check. The check that contains the results of {% data variables.product.prodname_code_scanning %} is: **Code scanning results**. + +If the repository uses the {% data variables.product.prodname_codeql_workflow %} a **{% data variables.product.prodname_codeql %} / Analyze (LANGUAGE)** check is run for each language before the results check runs. The analysis check may fail if there are configuration problems, or if the pull request breaks the build for a language that the analysis needs to compile (for example, C/C++, C#, or Java). As with other pull request checks, you can see full details of the check failure on the **Checks** tab. For more information about configuring and troubleshooting, see "[Configuring {% data variables.product.prodname_code_scanning %}](/code-security/secure-coding/configuring-code-scanning)" or "[Troubleshooting the {% data variables.product.prodname_codeql %} workflow](/code-security/secure-coding/troubleshooting-the-codeql-workflow)." + +### Triaging an alert on your pull request + +When you look at the **Files changed** tab for a pull request, you see annotations for any lines of code that triggered the alert. + +![Alert annotation within a pull request diff](/assets/images/help/repository/code-scanning-pr-annotation.png) + +If you have write permission for the repository, some annotations contain links with extra context for the alert. In the example above, from {% data variables.product.prodname_codeql %} analysis, you can click **user-provided value** to see where the untrusted data enters the data flow (this is referred to as the source). In this case you can also view the full path from the source to the code that uses the data (the sink) by clicking **Show paths**. This makes it easy to check whether the data is untrusted or if the analysis failed to recognize a data sanitization step between the source and the sink. For information about analyzing data flow using {% data variables.product.prodname_codeql %}, see "[About data flow analysis](https://codeql.github.com/docs/writing-codeql-queries/about-data-flow-analysis/)." + +To see more information about an alert, users with write permission can click the **Show more details** link shown in the annotation. This allows you to see all of the context and metadata provided by the tool in an alert view. In the example below, you can see tags showing the severity, type, and relevant common weakness enumerations (CWEs) for the problem. The view also shows which commit introduced the problem. + +In the detailed view for an alert, some {% data variables.product.prodname_code_scanning %} tools, like {% data variables.product.prodname_codeql %} analysis, also include a description of the problem and a **Show more** link for guidance on how to fix your code. + +![Alert description and link to show more information](/assets/images/help/repository/code-scanning-pr-alert.png) + +### {% if currentVersion == "enterprise-server@2.22" %}Resolving{% else %}Fixing{% endif %} an alert on your pull request + +Anyone with push access to a pull request can fix a {% data variables.product.prodname_code_scanning %} alert that's identified on that pull request. If you commit changes to the pull request this triggers a new run of the pull request checks. If your changes fix the problem, the alert is closed and the annotation removed. + +{% if currentVersion == "enterprise-server@2.22" %} + +If you don't think that an alert needs to be fixed, users with write permission can close the alert manually. {% data reusables.code-scanning.close-alert-examples %} The **Close** button is available in annotations and in the alerts view if you have write permission for the repository. + +{% data reusables.code-scanning.false-positive-fix-codeql %} + +{% else %} + +### Dismissing an alert on your pull request + +An alternative way of closing an alert is to dismiss it. You can dismiss an alert if you don't think it needs to be fixed. {% data reusables.code-scanning.close-alert-examples %} If you have write permission for the repository, the **Dismiss** button is available in code annotations and in the alerts summary. When you click **Dismiss** you will be prompted to choose a reason for closing the alert. + +![Choosing a reason for dismissing an alert](/assets/images/help/repository/code-scanning-alert-close-drop-down.png) + +{% data reusables.code-scanning.choose-alert-dismissal-reason %} + +{% data reusables.code-scanning.false-positive-fix-codeql %} + +For more information about dismissing alerts, see "[Managing {% data variables.product.prodname_code_scanning %} alerts for your repository](/code-security/secure-coding/managing-code-scanning-alerts-for-your-repository#dismissing-or-deleting-alerts)." + +{% endif %} diff --git a/content/code-security/secure-coding/troubleshooting-codeql-code-scanning-in-your-ci-system.md b/content/code-security/secure-coding/troubleshooting-codeql-code-scanning-in-your-ci-system.md new file mode 100644 index 0000000000..36f2f621eb --- /dev/null +++ b/content/code-security/secure-coding/troubleshooting-codeql-code-scanning-in-your-ci-system.md @@ -0,0 +1,61 @@ +--- +title: Troubleshooting CodeQL code scanning in your CI system +shortTitle: Troubleshooting in your CI +intro: 'If you''re having problems with the {% data variables.product.prodname_codeql_runner %}, you can troubleshoot by using these tips.' +product: '{% data reusables.gated-features.code-scanning %}' +redirect_from: + - /github/finding-security-vulnerabilities-and-errors-in-your-code/troubleshooting-code-scanning-in-your-ci-system + - /github/finding-security-vulnerabilities-and-errors-in-your-code/troubleshooting-codeql-code-scanning-in-your-ci-system +versions: + free-pro-team: '*' + enterprise-server: '>=3.0' + github-ae: '*' +topics: + - security +--- + +{% data reusables.code-scanning.beta-codeql-runner %} +{% data reusables.code-scanning.beta %} +{% data reusables.code-scanning.not-available %} + +### The `init` command takes too long + +Before the {% data variables.product.prodname_codeql_runner %} can build and analyze code, it needs access to the {% data variables.product.prodname_codeql %} bundle, which contains the {% data variables.product.prodname_codeql %} CLI and the {% data variables.product.prodname_codeql %} libraries. + +When you use the {% data variables.product.prodname_codeql_runner %} for the first time on your machine, the `init` command downloads the {% data variables.product.prodname_codeql %} bundle to your machine. This download can take a few minutes. +The {% data variables.product.prodname_codeql %} bundle is cached between runs, so if you use the {% data variables.product.prodname_codeql_runner %} again on the same machine, it won't download the {% data variables.product.prodname_codeql %} bundle again. + +To avoid this automatic download, you can manually download the {% data variables.product.prodname_codeql %} bundle to your machine and specify the path using the `--codeql-path` flag of the `init` command. + +### No code found during the build + +If the `analyze` command for the {% data variables.product.prodname_codeql_runner %} fails with an error `No source code was seen during the build`, this indicates that {% data variables.product.prodname_codeql %} was unable to monitor your code. Several reasons can explain such a failure. + +1. Automatic language detection identified a supported language, but there is no analyzable code of that language in the repository. A typical example is when our language detection service finds a file associated with a particular programming language like a `.h`, or `.gyp` file, but no corresponding executable code is present in the repository. To solve the problem, you can manually define the languages you want to analyze by using the `--languages` flag of the `init` command. For more information, see "[Configuring {% data variables.product.prodname_code_scanning %} in your CI system](/code-security/secure-coding/configuring-codeql-code-scanning-in-your-ci-system)." + +1. You're analyzing a compiled language without using the `autobuild` command and you run the build steps yourself after the `init` step. For the build to work, you must set up the environment such that the {% data variables.product.prodname_codeql_runner %} can monitor the code. The `init` command generates instructions for how to export the required environment variables, so you can copy and run the script after you've run the `init` command. + - On macOS and Linux: + ```shell + $ . codeql-runner/codeql-env.sh + ``` + - On Windows, using the Command shell (`cmd`) or a batch file (`.bat`): + ```shell + > call codeql-runner\codeql-env.bat + ``` + - On Windows, using PowerShell: + ```shell + > cat codeql-runner\codeql-env.sh | Invoke-Expression + ``` + + The environment variables are also stored in the file `codeql-runner/codeql-env.json`. This file contains a single JSON object which maps environment variable keys to values. If you can't run the script generated by the `init` command, then you can use the data in JSON format instead. + + {% note %} + + **Note:** If you used the `--temp-dir` flag of the `init` command to specify a custom directory for temporary files, the path to the `codeql-env` files might be different. + + {% endnote %} + +1. You're analyzing a compiled language on macOS without using the `autobuild` command and you run the build steps yourself after the `init` step. If SIP (System Integrity Protection) is enabled, which is the default on recent versions of OSX, analysis might fail. To fix this, prefix the build command with the `$CODEQL_RUNNER` environment variable. + For example, if your build command is `cmd arg1 arg2`, you should run `$CODEQL_RUNNER cmd arg1 arg2`. + +1. The code is built in a container or on a separate machine. If you use a containerized build or if you outsource the build to another machine, make sure to run the {% data variables.product.prodname_codeql_runner %} in the container or on the machine where your build task takes place. For more information, see "[Running CodeQL code scanning in a container](/code-security/secure-coding/running-codeql-code-scanning-in-a-container)." diff --git a/content/code-security/secure-coding/troubleshooting-the-codeql-workflow.md b/content/code-security/secure-coding/troubleshooting-the-codeql-workflow.md new file mode 100644 index 0000000000..2353e87c59 --- /dev/null +++ b/content/code-security/secure-coding/troubleshooting-the-codeql-workflow.md @@ -0,0 +1,178 @@ +--- +title: Troubleshooting the CodeQL workflow +shortTitle: Troubleshooting CodeQL +intro: 'If you''re having problems with {% data variables.product.prodname_code_scanning %}, you can troubleshoot by using these tips for resolving issues.' +product: '{% data reusables.gated-features.code-scanning %}' +redirect_from: + - /github/finding-security-vulnerabilities-and-errors-in-your-code/troubleshooting-code-scanning + - /github/finding-security-vulnerabilities-and-errors-in-your-code/troubleshooting-the-codeql-workflow +versions: + free-pro-team: '*' + enterprise-server: '>=3.0' + github-ae: '*' +topics: + - security +--- + +{% data reusables.code-scanning.beta %} +{% data reusables.code-scanning.not-available %} + +### Producing detailed logs for debugging + +To produce more detailed logging output, you can enable step debug logging. For more information, see "[Enabling debug logging](/actions/managing-workflow-runs/enabling-debug-logging#enabling-step-debug-logging)." + +### Automatic build for a compiled language fails + +If an automatic build of code for a compiled language within your project fails, try the following troubleshooting steps. + +- Remove the `autobuild` step from your {% data variables.product.prodname_code_scanning %} workflow and add specific build steps. For information about editing the workflow, see "[Configuring {% data variables.product.prodname_code_scanning %}](/code-security/secure-coding/configuring-code-scanning#editing-a-code-scanning-workflow)." For more information about replacing the `autobuild` step, see "[Configuring the {% data variables.product.prodname_codeql %} workflow for compiled languages](/code-security/secure-coding/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language)." + +- If your workflow doesn't explicitly specify the languages to analyze, {% data variables.product.prodname_codeql %} implicitly detects the supported languages in your code base. In this configuration, out of the compiled languages C/C++, C#, and Java, {% data variables.product.prodname_codeql %} only analyzes the language with the most source files. Edit the workflow and add a build matrix specifying the languages you want to analyze. The default CodeQL analysis workflow uses such a matrix. + + The following extracts from a workflow show how you can use a matrix within the job strategy to specify languages, and then reference each language within the "Initialize {% data variables.product.prodname_codeql %}" step: + + ```yaml + jobs: + analyze: + ... + strategy: + fail-fast: false + matrix: + language: ['csharp', 'cpp', 'javascript'] + + ... + + - name: Initialize {% data variables.product.prodname_codeql %} + uses: github/codeql-action/init@v1 + with: + languages: {% raw %}${{ matrix.language }}{% endraw %} + ``` + + For more information about editing the workflow, see "[Configuring code scanning](/code-security/secure-coding/configuring-code-scanning)." + +### No code found during the build + +If your workflow fails with an error `No source code was seen during the build` or `The process '/opt/hostedtoolcache/CodeQL/0.0.0-20200630/x64/codeql/codeql' failed with exit code 32`, this indicates that {% data variables.product.prodname_codeql %} was unable to monitor your code. Several reasons can explain such a failure: + +1. Automatic language detection identified a supported language, but there is no analyzable code of that language in the repository. A typical example is when our language detection service finds a file associated with a particular programming language like a `.h`, or `.gyp` file, but no corresponding executable code is present in the repository. To solve the problem, you can manually define the languages you want to analyze by updating the list of languages in the `language` matrix. For example, the following configuration will analyze only Go, and JavaScript. + + ```yaml + strategy: + fail-fast: false + matrix: + # Override automatic language detection by changing the list below + # Supported options are: + # ['csharp', 'cpp', 'go', 'java', 'javascript', 'python'] + language: ['go', 'javascript'] + ``` +For more information, see the workflow extract in "[Automatic build for a compiled language fails](#automatic-build-for-a-compiled-language-fails)" above. +1. Your {% data variables.product.prodname_code_scanning %} workflow is analyzing a compiled language (C, C++, C#, or Java), but the code was not compiled. By default, the {% data variables.product.prodname_codeql %} analysis workflow contains an `autobuild` step, however, this step represents a best effort process, and may not succeed in building your code, depending on your specific build environment. Compilation may also fail if you have removed the `autobuild` step and did not include build steps manually. For more information about specifying build steps, see "[Configuring the {% data variables.product.prodname_codeql %} workflow for compiled languages](/code-security/secure-coding/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language)." +1. Your workflow is analyzing a compiled language (C, C++, C#, or Java), but portions of your build are cached to improve performance (most likely to occur with build systems like Gradle or Bazel). Since {% data variables.product.prodname_codeql %} observes the activity of the compiler to understand the data flows in a repository, {% data variables.product.prodname_codeql %} requires a complete build to take place in order to perform analysis. +1. Your workflow is analyzing a compiled language (C, C++, C#, or Java), but compilation does not occur between the `init` and `analyze` steps in the workflow. {% data variables.product.prodname_codeql %} requires that your build happens in between these two steps in order to observe the activity of the compiler and perform analysis. +1. Your compiled code (in C, C++, C#, or Java) was compiled successfully, but {% data variables.product.prodname_codeql %} was unable to detect the compiler invocations. The most common causes are: + + * Running your build process in a separate container to {% data variables.product.prodname_codeql %}. For more information, see "[Running CodeQL code scanning in a container](/code-security/secure-coding/running-codeql-code-scanning-in-a-container)." + * Building using a distributed build system external to GitHub Actions, using a daemon process. + * {% data variables.product.prodname_codeql %} isn't aware of the specific compiler you are using. + + For .NET Framework projects, and for C# projects using either `dotnet build` or `msbuild` that target .NET Core 2, you should specify `/p:UseSharedCompilation=false` in your workflow's `run` step, when you build your code. The `UseSharedCompilation` flag isn't necessary for .NET Core 3.0 and later. + + For example, the following configuration for C# will pass the flag during the first build step. + + ``` yaml + - run: | + dotnet build /p:UseSharedCompilation=false + ``` + + If you encounter another problem with your specific compiler or configuration, contact {% data variables.contact.contact_support %}. + +For more information about specifying build steps, see "[Configuring the {% data variables.product.prodname_codeql %} workflow for compiled languages](/code-security/secure-coding/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language)." + +### Portions of my repository were not analyzed using `autobuild` + +The {% data variables.product.prodname_codeql %} `autobuild` feature uses heuristics to build the code in a repository, however, sometimes this approach results in incomplete analysis of a repository. For example, when multiple `build.sh` commands exist in a single repository, the analysis may not complete since the `autobuild` step will only execute one of the commands. The solution is to replace the `autobuild` step with build steps which build all of the source code which you wish to analyze. For more information, see "[Configuring the {% data variables.product.prodname_codeql %} workflow for compiled languages](/code-security/secure-coding/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language)." + +### The build takes too long + +If your build with {% data variables.product.prodname_codeql %} analysis takes too long to run, there are several approaches you can try to reduce the build time. + +#### Increase the memory or cores + +If you use self-hosted runners to run {% data variables.product.prodname_codeql %} analysis, you can increase the memory or the number of cores on those runners. + +#### Use matrix builds to parallelize the analysis + +The default {% data variables.product.prodname_codeql_workflow %} uses a build matrix of languages, which causes the analysis of each language to run in parallel. If you have specified the languages you want to analyze directly in the "Initialize CodeQL" step, analysis of each language will happen sequentially. To speed up analysis of multiple languages, modify your workflow to use a matrix. For more information, see the workflow extract in "[Automatic build for a compiled language fails](#automatic-build-for-a-compiled-language-fails)" above. + +#### Reduce the amount of code being analyzed in a single workflow + +Analysis time is typically proportional to the amount of code being analyzed. You can reduce the analysis time by reducing the amount of code being analyzed at once, for example, by excluding test code, or breaking analysis into multiple workflows that analyze only a subset of your code at a time. + +For compiled languages like Java, C, C++, and C#, {% data variables.product.prodname_codeql %} analyzes all of the code which was built during the workflow run. To limit the amount of code being analyzed, build only the code which you wish to analyze by specifying your own build steps in a `run` block. You can combine specifying your own build steps with using the `paths` or `paths-ignore` filters on the `pull_request` and `push` events to ensure that your workflow only runs when specific code is changed. For more information, see "[Workflow syntax for {% data variables.product.prodname_actions %}](/actions/reference/workflow-syntax-for-github-actions#onpushpull_requestpaths)." + +For interpreted languages like Go, JavaScript, Python, and TypeScript, that {% data variables.product.prodname_codeql %} analyzes without a specific build, you can specify additional configuration options to limit the amount of code to analyze. For more information, see "[Specifying directories to scan](/code-security/secure-coding/configuring-code-scanning#specifying-directories-to-scan)." + +If you split your analysis into multiple workflows as described above, we still recommend that you have at least one workflow which runs on a `schedule` which analyzes all of the code in your repository. Because {% data variables.product.prodname_codeql %} analyzes data flows between components, some complex security behaviors may only be detected on a complete build. + +#### Run only during a `schedule` event + +If your analysis is still too slow to be run during `push` or `pull_request` events, then you may want to only trigger analysis on the `schedule` event. For more information, see "[Events](/actions/learn-github-actions/introduction-to-github-actions#events)." + +{% if currentVersion == "free-pro-team@latest" %} +### Results differ between analysis platforms + +If you are analyzing code written in Python, you may see different results depending on whether you run the {% data variables.product.prodname_codeql_workflow %} on Linux, macOS, or Windows. + +On GitHub-hosted runners that use Linux, the {% data variables.product.prodname_codeql_workflow %} tries to install and analyze Python dependencies, which could lead to more results. To disable the auto-install, add `setup-python-dependencies: false` to the "Initialize CodeQL" step of the workflow. For more information about configuring the analysis of Python dependencies, see "[Analyzing Python dependencies](/code-security/secure-coding/configuring-code-scanning#analyzing-python-dependencies)." + +{% endif %} + +### Error: "Server error" + +If the run of a workflow for {% data variables.product.prodname_code_scanning %} fails due to a server error, try running the workflow again. If the problem persists, contact {% data variables.contact.contact_support %}. + +### Error: "Out of disk" or "Out of memory" + +On very large projects, {% data variables.product.prodname_codeql %} may run out of disk or memory on the runner. +{% if currentVersion == "free-pro-team@latest" %}If you encounter this issue on a hosted {% data variables.product.prodname_actions %} runner, contact {% data variables.contact.contact_support %} so that we can investigate the problem. +{% else %}If you encounter this issue, try increasing the memory on the runner.{% endif %} + +### Warning: "git checkout HEAD^2 is no longer necessary" + +If you're using an old {% data variables.product.prodname_codeql %} workflow you may get the following warning in the output from the "Initialize {% data variables.product.prodname_codeql %}" action: + +``` +Warning: 1 issue was detected with this workflow: git checkout HEAD^2 is no longer +necessary. Please remove this step as Code Scanning recommends analyzing the merge +commit for best results. +``` + +Fix this by removing the following lines from the {% data variables.product.prodname_codeql %} workflow. These lines were included in the `steps` section of the `Analyze` job in initial versions of the {% data variables.product.prodname_codeql %} workflow. + +```yaml + with: + # We must fetch at least the immediate parents so that if this is + # a pull request then we can checkout the head. + fetch-depth: 2 + + # If this run was triggered by a pull request event, then checkout + # the head of the pull request instead of the merge commit. + - run: git checkout HEAD^2 + if: {% raw %}${{ github.event_name == 'pull_request' }}{% endraw %} +``` + +The revised `steps` section of the workflow will look like this: + +```yaml + steps: + - name: Checkout repository + uses: actions/checkout@v2 + + # Initializes the {% data variables.product.prodname_codeql %} tools for scanning. + - name: Initialize {% data variables.product.prodname_codeql %} + uses: github/codeql-action/init@v1 + + ... +``` + +For more information about editing the {% data variables.product.prodname_codeql %} workflow file, see "[Configuring {% data variables.product.prodname_code_scanning %}](/code-security/secure-coding/configuring-code-scanning#editing-a-code-scanning-workflow)." diff --git a/content/code-security/secure-coding/uploading-a-sarif-file-to-github.md b/content/code-security/secure-coding/uploading-a-sarif-file-to-github.md new file mode 100644 index 0000000000..28b6dbc560 --- /dev/null +++ b/content/code-security/secure-coding/uploading-a-sarif-file-to-github.md @@ -0,0 +1,122 @@ +--- +title: Uploading a SARIF file to GitHub +shortTitle: Uploading a SARIF file +intro: '{% data reusables.code-scanning.you-can-upload-third-party-analysis %}' +permissions: 'People with write permissions to a repository can upload {% data variables.product.prodname_code_scanning %} data generated outside {% data variables.product.prodname_dotcom %}.' +product: '{% data reusables.gated-features.code-scanning %}' +redirect_from: + - /github/managing-security-vulnerabilities/uploading-a-code-scanning-analysis-to-github + - /github/finding-security-vulnerabilities-and-errors-in-your-code/uploading-a-sarif-file-to-github +versions: + free-pro-team: '*' + enterprise-server: '>=3.0' + github-ae: '*' +topics: + - security +--- + +{% data reusables.code-scanning.beta %} +{% data reusables.code-scanning.enterprise-enable-code-scanning %} + +### About SARIF file uploads for {% data variables.product.prodname_code_scanning %} + +{% data variables.product.prodname_dotcom %} creates {% data variables.product.prodname_code_scanning %} alerts in a repository using information from Static Analysis Results Interchange Format (SARIF) files. SARIF files can be uploaded to a repository using the API or {% data variables.product.prodname_actions %}. For more information, see "[Managing {% data variables.product.prodname_code_scanning %} alerts for your repository](/code-security/secure-coding/managing-code-scanning-alerts-for-your-repository)." + +You can generate SARIF files using many static analysis security testing tools, including {% data variables.product.prodname_codeql %}. The results must use SARIF version 2.1.0. For more information, see "[SARIF support for {% data variables.product.prodname_code_scanning %}](/code-security/secure-coding/sarif-support-for-code-scanning)." + +You can upload the results using {% data variables.product.prodname_actions %}{% if currentVersion == "enterprise-server@2.22" %} (available if your organization is taking part in the beta program){% endif %}, the {% data variables.product.prodname_code_scanning %} API, or the {% data variables.product.prodname_codeql_runner %}. The best upload method will depend on how you generate the SARIF file, for example, if you use: + +- {% data variables.product.prodname_actions %} to run the {% data variables.product.prodname_codeql %} action, there is no further action required. The {% data variables.product.prodname_codeql %} action uploads the SARIF file automatically when it completes analysis. +- {% data variables.product.prodname_actions %} to run a SARIF-compatible analysis tool, you could update the workflow to include a final step that uploads the results (see below). +- The {% data variables.product.prodname_codeql_runner %}, to run {% data variables.product.prodname_code_scanning %} in your CI system, by default the runner automatically uploads results to {% data variables.product.prodname_dotcom %} on completion. If you block the automatic upload, when you are ready to upload results you can use the `upload` command (for more information, see "[Running {% data variables.product.prodname_codeql %} {% data variables.product.prodname_code_scanning %} in your CI system](/code-security/secure-coding/running-codeql-code-scanning-in-your-ci-system)"). +- A tool that generates results as an artifact outside of your repository, you can use the {% data variables.product.prodname_code_scanning %} API to upload the file (for more information, see "[Upload an analysis as SARIF data](/rest/reference/code-scanning#upload-an-analysis-as-sarif-data)"). + +{% data reusables.code-scanning.not-available %} + +### Uploading a {% data variables.product.prodname_code_scanning %} analysis with {% data variables.product.prodname_actions %} + +To use {% data variables.product.prodname_actions %} to upload a third-party SARIF file to a repository, you'll need a workflow. For more information, see "[Learn {% data variables.product.prodname_actions %}](/actions/getting-started-with-github-actions/about-github-actions)" and "[Learn {% data variables.product.prodname_actions %}](/actions/learn-github-actions)." + +Your workflow will need to use the `upload-sarif` action, which is part of the `github/codeql-action` repository. It has input parameters that you can use to configure the upload. The main input parameter you'll use is `sarif-file`, which configures the file or directory of SARIF files to be uploaded. The directory or file path is relative to the root of the repository. For more information see the [`upload-sarif` action](https://github.com/github/codeql-action/tree/HEAD/upload-sarif). + +The `upload-sarif` action can be configured to run when the `push` and `scheduled` event occur. For more information about {% data variables.product.prodname_actions %} events, see "[Events that trigger workflows](/actions/reference/events-that-trigger-workflows)." + +If your SARIF file doesn't include `partialFingerprints`, the `upload-sarif` action will calculate the `partialFingerprints` field for you and attempt to prevent duplicate alerts. {% data variables.product.prodname_dotcom %} can only create `partialFingerprints` when the repository contains both the SARIF file and the source code used in the static analysis. For more information about preventing duplicate alerts, see "[About SARIF support for code scanning](/code-security/secure-coding/sarif-support-for-code-scanning#preventing-duplicate-alerts-using-fingerprints)." + +{% data reusables.code-scanning.upload-sarif-alert-limit %} + +#### Example workflow for SARIF files generated outside of a repository + +You can create a new workflow that uploads SARIF files after you commit them to your repository. This is useful when the SARIF file is generated as an artifact outside of your repository. + +This example workflow runs anytime commits are pushed to the repository. The action uses the `partialFingerprints` property to determine if changes have occurred. In addition to running when commits are pushed, the workflow is scheduled to run once per week. For more information, see "[Events that trigger workflows](/actions/reference/events-that-trigger-workflows)." + +This workflow uploads the `results.sarif` file located in the root of the repository. For more information about creating a workflow file, see "[Learn {% data variables.product.prodname_actions %}](/actions/learn-github-actions)." + +Alternatively, you could modify this workflow to upload a directory of SARIF files. For example, you could place all SARIF files in a directory in the root of your repository called `sarif-output` and set the action's input parameter `sarif_file` to `sarif-output`. + +```yaml +name: "Upload SARIF" + +# Run workflow each time code is pushed to your repository and on a schedule. +# The scheduled workflow runs every Thursday at 15:45 UTC. +on: + push: + schedule: + - cron: '45 15 * * 4' + +jobs: + build: + runs-on: ubuntu-latest + steps: + # This step checks out a copy of your repository. + - name: Checkout repository + uses: actions/checkout@v2 + - name: Upload SARIF file + uses: github/codeql-action/upload-sarif@v1 + with: + # Path to SARIF file relative to the root of the repository + sarif_file: results.sarif +``` + +#### Example workflow that runs the ESLint analysis tool + +If you generate your third-party SARIF file as part of a continuous integration (CI) workflow, you can add the `upload-sarif` action as a step after running your CI tests. If you don't already have a CI workflow, you can create one using a {% data variables.product.prodname_actions %} template. For more information, see the "[{% data variables.product.prodname_actions %} quickstart](/actions/quickstart)." + +This example workflow runs anytime commits are pushed to the repository. The action uses the `partialFingerprints` property to determine if changes have occurred. In addition to running when commits are pushed, the workflow is scheduled to run once per week. For more information, see "[Events that trigger workflows](/actions/reference/events-that-trigger-workflows)." + +The workflow shows an example of running the ESLint static analysis tool as a step in a workflow. The `Run ESLint` step runs the ESLint tool and outputs the `results.sarif` file. The workflow then uploads the `results.sarif` file to {% data variables.product.prodname_dotcom %} using the `upload-sarif` action. For more information about creating a workflow file, see "[Introduction to GitHub Actions](/actions/learn-github-actions/introduction-to-github-actions)." + +```yml +name: "ESLint analysis" + +# Run workflow each time code is pushed to your repository and on a schedule. +# The scheduled workflow runs every Wednesday at 15:45 UTC. +on: + push: + schedule: + - cron: '45 15 * * 3' + +jobs: + build: + steps: + - uses: actions/checkout@v2 + - name: Run npm install + run: npm install + # Runs the ESlint code analysis + - name: Run ESLint + # eslint exits 1 if it finds anything to report + run: node_modules/.bin/eslint build docs lib script spec-main -f node_modules/@microsoft/eslint-formatter-sarif/sarif.js -o results.sarif || true + # Uploads results.sarif to GitHub repository using the upload-sarif action + - uses: github/codeql-action/upload-sarif@v1 + with: + # Path to SARIF file relative to the root of the repository + sarif_file: results.sarif +``` + +### Further reading + +- "[Workflow syntax for {% data variables.product.prodname_actions %}](/actions/reference/workflow-syntax-for-github-actions)" +- "[Viewing your workflow history](/actions/managing-workflow-runs/viewing-workflow-run-history)" +- "[Running {% data variables.product.prodname_code_scanning %} in your CI system](/code-security/secure-coding/running-codeql-code-scanning-in-your-ci-system)" +- "[Upload an analysis as SARIF data](/rest/reference/code-scanning#upload-an-analysis-as-sarif-data)" diff --git a/content/code-security/secure-coding/using-codeql-code-scanning-with-your-existing-ci-system.md b/content/code-security/secure-coding/using-codeql-code-scanning-with-your-existing-ci-system.md new file mode 100644 index 0000000000..cbeb534682 --- /dev/null +++ b/content/code-security/secure-coding/using-codeql-code-scanning-with-your-existing-ci-system.md @@ -0,0 +1,16 @@ +--- +title: Using CodeQL code scanning with your existing CI system +shortTitle: CodeQL CI system support +intro: 'The {% data variables.product.prodname_codeql_runner %} allows you to use your existing CI system to run {% data variables.product.prodname_codeql %} {% data variables.product.prodname_code_scanning %}.' +mapTopic: true +product: '{% data reusables.gated-features.code-scanning %}' +redirect_from: + - /github/finding-security-vulnerabilities-and-errors-in-your-code/using-codeql-code-scanning-with-your-existing-ci-system +versions: + free-pro-team: '*' + enterprise-server: '>=3.0' + github-ae: '*' +topics: + - security +--- + diff --git a/content/code-security/security-advisories/about-coordinated-disclosure-of-security-vulnerabilities.md b/content/code-security/security-advisories/about-coordinated-disclosure-of-security-vulnerabilities.md new file mode 100644 index 0000000000..5b5f241911 --- /dev/null +++ b/content/code-security/security-advisories/about-coordinated-disclosure-of-security-vulnerabilities.md @@ -0,0 +1,65 @@ +--- +title: About coordinated disclosure of security vulnerabilities +intro: 'Vulnerability disclosure is a coordinated effort between security reporters and repository maintainers.' +miniTocMaxHeadingLevel: 4 +versions: + free-pro-team: '*' +--- + +### About disclosing vulnerabilities in the industry + +{% data reusables.security-advisory.disclosing-vulnerabilities %} + +The initial report of a vulnerability is made privately, and the full details are only published once the maintainer has acknowledged the issue, and ideally made remediations or a patch available, sometimes with a delay to allow more time for the patches to be installed. For more information, see the "[OWASP Cheat Sheet Series about vulnerability disclosure](https://cheatsheetseries.owasp.org/cheatsheets/Vulnerability_Disclosure_Cheat_Sheet.html#commercial-and-open-source-software)" on the OWASP Cheat Sheet Series website. + +#### Best practices for vulnerability reporters + +It's good practice to report vulnerabilities privately to maintainers. When possible, as a vulnerability reporter, we recommend you avoid: +- Disclosing the vulnerability publicly without giving maintainers a chance to remediate. +- Bypassing the maintainers. +- Disclosing the vulnerability before a fixed version of the code is available. +- Expecting to be compensated for reporting an issue, where no public bounty program exists. + +It's acceptable for vulnerability reporters to disclose a vulnerability publicly after a period of time, if they have tried to contact the maintainers and not received a response, or contacted them and been asked to wait too long to disclose it. + +We recommend vulnerability reporters clearly state the terms of their disclosure policy as part of their reporting process. Even if the vulnerability reporter does not adhere to a strict policy, it's a good idea to set clear expectations for maintainers in terms of timelines on intended vulnerability disclosures. For an example of disclosure policy, see the "[Security Lab's disclosure policy](https://securitylab.github.com/advisories#policy)" on the GitHub Security Lab website. + +#### Best practices for maintainers + +As a maintainer, it's good practice to clearly indicate how and where you want to receive reports for vulnerabilities. If this information is not clearly available, vulnerability reporters don't know how to contact you, and may resort to extracting developer email addresses from git commit histories to try to find an appropriate security contact. This can lead to friction, lost reports, or the publication of unresolved reports. + +Maintainers should disclose vulnerabilities in a timely manner. If there is a security vulnerability in your repository, we recommend you: +- Treat the vulnerability as a security issue rather than a simple bug, both in your response and your disclosure. For example, you'll need to explicitly mention that the issue is a security vulnerability in the release notes. +- Acknowlege receipt of the vulnerability report as quickly as possible, even if no immediate resources are available for investigation. This sends the message that you are quick to respond and act, and it sets a positive tone for the rest of the interaction between you and the vulnerability reporter. +- Involve the vulnerability reporter when you verify the impact and veracity of the report. It's likely the vulnerability reporter has already spent time considering the vulnerability in a variety of scenarios, some of which you may have not considered yourself. +- Remediate the issue in a way that you see fit, taking any concerns and advice provided by the vulnerability reporter into careful consideration. Often the vulnerability reporter will have knowledge of certain corner cases and remediation bypasses that are easy to miss without a security research background. +- Always acknowledge the vulnerability reporter when you credit the discovery. +- Aim to publish a fix as soon as you can. +- Ensure that you make the wider ecosystem aware of the issue and its remediation when you disclose the vulnerability. It is not uncommon to see cases where a recognized security issue is fixed in the current development branch of a project, but the commit or subsequent release is not explicitly marked as a security fix or release. This can cause problems with downstream consumers. + +Publishing the details of a security vulnerability doesn't make maintainers look bad. Security vulnerabilities are present everywhere in software, and users will trust maintainers who have a clear and established process for disclosing security vulnerabilities in their code. + +### About reporting and disclosing vulnerabilities in projects on {% data variables.product.prodname_dotcom %} + +The process for reporting and disclosing vulnerabilities for projects on {% data variables.product.prodname_dotcom_the_website %} is as follows: + + If you are a vulnerability reporter (for example, a security researcher) who would like report a vulnerability, first check if there is a security policy for the related repository. For more information, see "[About security policies](/github/managing-security-vulnerabilities/adding-a-security-policy-to-your-repository#about-security-policies)." If there is one, follow it to understand the process before contacting the security team for that repository. + + If there isn't a security policy in place, the most efficient way to establish a private means of communication with maintainers is to create an issue asking for a preferred security contact. It's worth noting that the issue will be immediately publicly visible, so it should not include any information about the bug. Once communication is established, you can suggest the maintainers define a security policy for future use. + +{% note %} + +**Note**: _For npm only_ - If we receive a report of malware in an npm package, we try to contact you privately. If you don't address the issue in a timely manner, we will disclose it. For more information, see "[Reporting malware in an npm package](https://docs.npmjs.com/reporting-malware-in-an-npm-package)" on the npm Docs website. + +{% endnote %} + + If you've found a security vulnerability in {% data variables.product.prodname_dotcom_the_website %}, please report the vulnerability through our coordinated disclosure process. For more information, see the [{% data variables.product.prodname_dotcom %} Security Bug Bounty](https://bounty.github.com/) website. + + If you are a maintainer, you can take ownership of the process at the very beginning of the pipeline by setting up a security policy for your repository, or otherwise making security reporting instructions clearly available, for example in your project’s README file. For information about adding a security policy, see "[About security policies](/github/managing-security-vulnerabilities/adding-a-security-policy-to-your-repository#about-security-policies)." If there is no security policy, it's likely that a vulnerability reporter will try to email you or otherwise privately contact you. Alternatively, someone may open a (public) issue with details of a security issue. + + As a maintainer, to disclose a vulnerability in your code, you first create a draft security advisory in the package's repository in {% data variables.product.prodname_dotcom %}. {% data reusables.security-advisory.security-advisory-overview %} For more information, see "[About {% data variables.product.prodname_security_advisories %}](/github/managing-security-vulnerabilities/about-github-security-advisories)." + + + To get started, see "[Creating a security advisory](/github/managing-security-vulnerabilities/creating-a-security-advisory)." + + diff --git a/content/github/managing-security-vulnerabilities/about-github-security-advisories.md b/content/code-security/security-advisories/about-github-security-advisories.md similarity index 57% rename from content/github/managing-security-vulnerabilities/about-github-security-advisories.md rename to content/code-security/security-advisories/about-github-security-advisories.md index f1c2841e3b..d2c3c4e8e2 100644 --- a/content/github/managing-security-vulnerabilities/about-github-security-advisories.md +++ b/content/code-security/security-advisories/about-github-security-advisories.md @@ -4,8 +4,11 @@ intro: 'You can use {% data variables.product.prodname_security_advisories %} to redirect_from: - /articles/about-maintainer-security-advisories - /github/managing-security-vulnerabilities/about-maintainer-security-advisories + - /github/managing-security-vulnerabilities/about-github-security-advisories versions: free-pro-team: '*' +topics: + - security --- {% data reusables.repositories.security-advisory-admin-permissions %} @@ -14,27 +17,31 @@ versions: ### About {% data variables.product.prodname_security_advisories %} -{% data variables.product.prodname_security_advisories %} allows repository maintainers to privately discuss and fix a security vulnerability in a project. After collaborating on a fix, repository maintainers can publish the security advisory to publicly disclose the security vulnerability to the project's community. By publishing security advisories, repository maintainers make it easier for their community to update package dependencies and research the impact of the security vulnerabilities. +{% data reusables.security-advisory.disclosing-vulnerabilities %} For more information, see "[About coordinated disclosure of security vulnerabilities](/code-security/security-advisories/about-coordinated-disclosure-of-security-vulnerabilities)." + +{% data reusables.security-advisory.security-advisory-overview %} With {% data variables.product.prodname_security_advisories %}, you can: -1. Create a draft security advisory, and use the draft to privately discuss the impact of the vulnerability on your project. +1. Create a draft security advisory, and use the draft to privately discuss the impact of the vulnerability on your project. For more information, see "[Creating a security advisory](/github/managing-security-vulnerabilities/creating-a-security-advisory)." 2. Privately collaborate to fix the vulnerability in a temporary private fork. -3. Publish the security advisory to alert your community of the vulnerability. +3. Publish the security advisory to alert your community of the vulnerability once a patch is released. For more information, see "[Publishing a security advisory](/github/managing-security-vulnerabilities/publishing-a-security-advisory)." {% data reusables.repositories.security-advisories-republishing %} -To get started, see "[Creating a security advisory](/github/managing-security-vulnerabilities/creating-a-security-advisory)." - You can give credit to individuals who contributed to a security advisory. For more information, see "[Editing a security advisory](/github/managing-security-vulnerabilities/editing-a-security-advisory#about-credits-for-security-advisories)." {% data reusables.repositories.security-guidelines %} +If you created a security advisory in your repository, the security advisory will stay in your repository. We publish security advisories for any of the ecosystems supported by the dependency graph to the {% data variables.product.prodname_advisory_database %} on [github.com/advisories](https://github.com/advisories). If a security advisory is specifically for npm, we also publish the advisory to the npm security advisories. For more information, see [npmjs.com/advisories](https://www.npmjs.com/advisories). + {% data reusables.repositories.github-security-lab %} ### CVE identification numbers -{% data variables.product.prodname_security_advisories %} builds upon the foundation of the Common Vulnerabilities and Exposures (CVE) list. {% data variables.product.prodname_dotcom %} is a CVE Numbering Authority (CNA) and is authorized to assign CVE identification numbers. For more information, see "[About CVE](https://cve.mitre.org/about/index.html)" and "[CVE Numbering Authorities](https://cve.mitre.org/cve/cna.html)" on the CVE website. +{% data variables.product.prodname_security_advisories %} builds upon the foundation of the Common Vulnerabilities and Exposures (CVE) list. The security advisory form on {% data variables.product.prodname_dotcom %} is a standardized form that matches the CVE description format. + +{% data variables.product.prodname_dotcom %} is a CVE Numbering Authority (CNA) and is authorized to assign CVE identification numbers. For more information, see "[About CVE](https://cve.mitre.org/about/index.html)" and "[CVE Numbering Authorities](https://cve.mitre.org/cve/cna.html)" on the CVE website. When you create a security advisory for a public repository on {% data variables.product.prodname_dotcom %}, you have the option of providing an existing CVE identification number for the security vulnerability. {% data reusables.repositories.request-security-advisory-cve-id %} @@ -43,4 +50,4 @@ For more information, see "[Publishing a security advisory](/github/managing-sec ### {% data variables.product.prodname_dependabot_alerts %} for published security advisories -{% data reusables.repositories.github-reviews-security-advisories %} +{% data reusables.repositories.github-reviews-security-advisories %} \ No newline at end of file diff --git a/content/github/managing-security-vulnerabilities/adding-a-collaborator-to-a-security-advisory.md b/content/code-security/security-advisories/adding-a-collaborator-to-a-security-advisory.md similarity index 95% rename from content/github/managing-security-vulnerabilities/adding-a-collaborator-to-a-security-advisory.md rename to content/code-security/security-advisories/adding-a-collaborator-to-a-security-advisory.md index c182035648..2c93562aac 100644 --- a/content/github/managing-security-vulnerabilities/adding-a-collaborator-to-a-security-advisory.md +++ b/content/code-security/security-advisories/adding-a-collaborator-to-a-security-advisory.md @@ -4,8 +4,11 @@ intro: You can add other users or teams to collaborate on a security advisory wi redirect_from: - /articles/adding-a-collaborator-to-a-maintainer-security-advisory - /github/managing-security-vulnerabilities/adding-a-collaborator-to-a-maintainer-security-advisory + - /github/managing-security-vulnerabilities/adding-a-collaborator-to-a-security-advisory versions: free-pro-team: '*' +topics: + - security --- People with admin permissions to a security advisory can add collaborators to the security advisory. diff --git a/content/github/managing-security-vulnerabilities/adding-a-security-policy-to-your-repository.md b/content/code-security/security-advisories/adding-a-security-policy-to-your-repository.md similarity index 77% rename from content/github/managing-security-vulnerabilities/adding-a-security-policy-to-your-repository.md rename to content/code-security/security-advisories/adding-a-security-policy-to-your-repository.md index 874073caaa..dd0b0d8bdf 100644 --- a/content/github/managing-security-vulnerabilities/adding-a-security-policy-to-your-repository.md +++ b/content/code-security/security-advisories/adding-a-security-policy-to-your-repository.md @@ -3,8 +3,11 @@ title: Adding a security policy to your repository intro: You can give instructions for how to responsibly report a security vulnerability in your project by adding a security policy to your repository. redirect_from: - /articles/adding-a-security-policy-to-your-repository + - /github/managing-security-vulnerabilities/adding-a-security-policy-to-your-repository versions: free-pro-team: '*' +topics: + - security --- ### About security policies @@ -19,7 +22,7 @@ You can create a default security policy for your organization or user account. {% endtip %} -After someone reports a security vulnerability in your project, you can use {% data variables.product.prodname_security_advisories %} to disclose, fix, and publish information about the vulnerability. For more information, see "[About {% data variables.product.prodname_security_advisories %}](/github/managing-security-vulnerabilities/about-github-security-advisories)." +After someone reports a security vulnerability in your project, you can use {% data variables.product.prodname_security_advisories %} to disclose, fix, and publish information about the vulnerability. For more information about the process of reporting and disclosing vulnerabilities in {% data variables.product.prodname_dotcom %}, see "[About coordinated disclosure of security vulnerabilities](/code-security/security-advisories/about-coordinated-disclosure-of-security-vulnerabilities#about-reporting-and-disclosing-vulnerabilities-in-projects-on-github)." For more information about {% data variables.product.prodname_security_advisories %}, see "[About {% data variables.product.prodname_security_advisories %}](/github/managing-security-vulnerabilities/about-github-security-advisories)." {% data reusables.repositories.github-security-lab %} diff --git a/content/github/managing-security-vulnerabilities/collaborating-in-a-temporary-private-fork-to-resolve-a-security-vulnerability.md b/content/code-security/security-advisories/collaborating-in-a-temporary-private-fork-to-resolve-a-security-vulnerability.md similarity index 97% rename from content/github/managing-security-vulnerabilities/collaborating-in-a-temporary-private-fork-to-resolve-a-security-vulnerability.md rename to content/code-security/security-advisories/collaborating-in-a-temporary-private-fork-to-resolve-a-security-vulnerability.md index fb5e8e5a95..889c52c2aa 100644 --- a/content/github/managing-security-vulnerabilities/collaborating-in-a-temporary-private-fork-to-resolve-a-security-vulnerability.md +++ b/content/code-security/security-advisories/collaborating-in-a-temporary-private-fork-to-resolve-a-security-vulnerability.md @@ -3,8 +3,11 @@ title: Collaborating in a temporary private fork to resolve a security vulnerabi intro: You can create a temporary private fork to privately collaborate on fixing a security vulnerability in your repository. redirect_from: - /articles/collaborating-in-a-temporary-private-fork-to-resolve-a-security-vulnerability + - /github/managing-security-vulnerabilities/collaborating-in-a-temporary-private-fork-to-resolve-a-security-vulnerability versions: free-pro-team: '*' +topics: + - security --- ### Prerequisites diff --git a/content/github/managing-security-vulnerabilities/creating-a-security-advisory.md b/content/code-security/security-advisories/creating-a-security-advisory.md similarity index 96% rename from content/github/managing-security-vulnerabilities/creating-a-security-advisory.md rename to content/code-security/security-advisories/creating-a-security-advisory.md index fd713c6afb..77d13897f2 100644 --- a/content/github/managing-security-vulnerabilities/creating-a-security-advisory.md +++ b/content/code-security/security-advisories/creating-a-security-advisory.md @@ -4,8 +4,11 @@ intro: You can create a draft security advisory to privately discuss and fix a s redirect_from: - /articles/creating-a-maintainer-security-advisory - /github/managing-security-vulnerabilities/creating-a-maintainer-security-advisory + - /github/managing-security-vulnerabilities/creating-a-security-advisory versions: free-pro-team: '*' +topics: + - security --- Anyone with admin permissions to a repository can create a security advisory. diff --git a/content/github/managing-security-vulnerabilities/editing-a-security-advisory.md b/content/code-security/security-advisories/editing-a-security-advisory.md similarity index 95% rename from content/github/managing-security-vulnerabilities/editing-a-security-advisory.md rename to content/code-security/security-advisories/editing-a-security-advisory.md index d2914ae576..6ffda2c2c2 100644 --- a/content/github/managing-security-vulnerabilities/editing-a-security-advisory.md +++ b/content/code-security/security-advisories/editing-a-security-advisory.md @@ -1,8 +1,12 @@ --- title: Editing a security advisory intro: You can edit the metadata and description for a security advisory if you need to update details or correct errors. +redirect_from: + - /github/managing-security-vulnerabilities/editing-a-security-advisory versions: free-pro-team: '*' +topics: + - security --- People with admin permissions to a security advisory can edit the security advisory. diff --git a/content/code-security/security-advisories/index.md b/content/code-security/security-advisories/index.md new file mode 100644 index 0000000000..bd7053aee6 --- /dev/null +++ b/content/code-security/security-advisories/index.md @@ -0,0 +1,26 @@ +--- +title: Managing security advisories for vulnerabilities in your project +shortTitle: Security advisories +intro: 'Discuss, fix, and disclose security vulnerabilities in your repositories using security advisories.' +redirect_from: + - /articles/managing-security-vulnerabilities-in-your-project + - /github/managing-security-vulnerabilities/managing-security-vulnerabilities-in-your-project +versions: + free-pro-team: '*' +topics: + - security +--- + +### Table of Contents + +{% link_in_list /adding-a-security-policy-to-your-repository %} +{% link_in_list /about-coordinated-disclosure-of-security-vulnerabilities %} +{% link_in_list /about-github-security-advisories %} +{% link_in_list /permission-levels-for-security-advisories %} +{% link_in_list /creating-a-security-advisory %} +{% link_in_list /adding-a-collaborator-to-a-security-advisory %} +{% link_in_list /removing-a-collaborator-from-a-security-advisory %} +{% link_in_list /collaborating-in-a-temporary-private-fork-to-resolve-a-security-vulnerability %} +{% link_in_list /publishing-a-security-advisory %} +{% link_in_list /editing-a-security-advisory %} +{% link_in_list /withdrawing-a-security-advisory %} \ No newline at end of file diff --git a/content/github/managing-security-vulnerabilities/permission-levels-for-security-advisories.md b/content/code-security/security-advisories/permission-levels-for-security-advisories.md similarity index 96% rename from content/github/managing-security-vulnerabilities/permission-levels-for-security-advisories.md rename to content/code-security/security-advisories/permission-levels-for-security-advisories.md index a69030e7e2..a93ab8b0d4 100644 --- a/content/github/managing-security-vulnerabilities/permission-levels-for-security-advisories.md +++ b/content/code-security/security-advisories/permission-levels-for-security-advisories.md @@ -4,8 +4,11 @@ intro: The actions you can take in a security advisory depend on whether you hav redirect_from: - /articles/permission-levels-for-maintainer-security-advisories - /github/managing-security-vulnerabilities/permission-levels-for-maintainer-security-advisories + - /github/managing-security-vulnerabilities/permission-levels-for-security-advisories versions: free-pro-team: '*' +topics: + - security --- ### Permissions overview diff --git a/content/github/managing-security-vulnerabilities/publishing-a-security-advisory.md b/content/code-security/security-advisories/publishing-a-security-advisory.md similarity index 96% rename from content/github/managing-security-vulnerabilities/publishing-a-security-advisory.md rename to content/code-security/security-advisories/publishing-a-security-advisory.md index cde49eaca0..c56d925965 100644 --- a/content/github/managing-security-vulnerabilities/publishing-a-security-advisory.md +++ b/content/code-security/security-advisories/publishing-a-security-advisory.md @@ -4,9 +4,13 @@ intro: You can publish a security advisory to alert your community about a secur redirect_from: - /articles/publishing-a-maintainer-security-advisory - /github/managing-security-vulnerabilities/publishing-a-maintainer-security-advisory + - /github/managing-security-vulnerabilities/publishing-a-security-advisory versions: free-pro-team: '*' +topics: + - security --- + Anyone with admin permissions to a security advisory can publish the security advisory. diff --git a/content/github/managing-security-vulnerabilities/removing-a-collaborator-from-a-security-advisory.md b/content/code-security/security-advisories/removing-a-collaborator-from-a-security-advisory.md similarity index 92% rename from content/github/managing-security-vulnerabilities/removing-a-collaborator-from-a-security-advisory.md rename to content/code-security/security-advisories/removing-a-collaborator-from-a-security-advisory.md index ff06ba0cb0..6f5f41be93 100644 --- a/content/github/managing-security-vulnerabilities/removing-a-collaborator-from-a-security-advisory.md +++ b/content/code-security/security-advisories/removing-a-collaborator-from-a-security-advisory.md @@ -1,8 +1,12 @@ --- title: Removing a collaborator from a security advisory intro: 'When you remove a collaborator from a security advisory, they lose read and write access to the security advisory''s discussion and metadata.' +redirect_from: + - /github/managing-security-vulnerabilities/removing-a-collaborator-from-a-security-advisory versions: free-pro-team: '*' +topics: + - security --- People with admin permissions to a security advisory can remove collaborators from the security advisory. diff --git a/content/github/managing-security-vulnerabilities/withdrawing-a-security-advisory.md b/content/code-security/security-advisories/withdrawing-a-security-advisory.md similarity index 78% rename from content/github/managing-security-vulnerabilities/withdrawing-a-security-advisory.md rename to content/code-security/security-advisories/withdrawing-a-security-advisory.md index 90e0dd0d99..2cc281591d 100644 --- a/content/github/managing-security-vulnerabilities/withdrawing-a-security-advisory.md +++ b/content/code-security/security-advisories/withdrawing-a-security-advisory.md @@ -1,8 +1,12 @@ --- title: Withdrawing a security advisory intro: You can withdraw a security advisory that you've published. +redirect_from: + - /github/managing-security-vulnerabilities/withdrawing-a-security-advisory versions: free-pro-team: '*' +topics: + - security --- If you publish a security advisory in error, you can withdraw the security advisory by contacting {% data variables.contact.contact_support %}. diff --git a/content/code-security/supply-chain-security/about-alerts-for-vulnerable-dependencies.md b/content/code-security/supply-chain-security/about-alerts-for-vulnerable-dependencies.md new file mode 100644 index 0000000000..cf470b75a4 --- /dev/null +++ b/content/code-security/supply-chain-security/about-alerts-for-vulnerable-dependencies.md @@ -0,0 +1,100 @@ +--- +title: About alerts for vulnerable dependencies +intro: '{% data variables.product.product_name %} sends {% if currentVersion == "free-pro-team@latest" or currentVersion ver_gt "enterprise-server@2.21" %}{% data variables.product.prodname_dependabot_alerts %}{% else %}security alerts{% endif %} when we detect vulnerabilities affecting your repository.' +redirect_from: + - /articles/about-security-alerts-for-vulnerable-dependencies + - /github/managing-security-vulnerabilities/about-security-alerts-for-vulnerable-dependencies + - /github/managing-security-vulnerabilities/about-alerts-for-vulnerable-dependencies +versions: + free-pro-team: '*' + enterprise-server: '>=3.0' +topics: + - security +--- + + +### About vulnerable dependencies + +{% data reusables.repositories.a-vulnerability-is %} + +When your code depends on a package that has a security vulnerability, this vulnerable dependency can cause a range of problems for your project or the people who use it. + +### Detection of vulnerable dependencies + + {% if currentVersion == "free-pro-team@latest" or currentVersion ver_gt "enterprise-server@2.21" %}{% data variables.product.prodname_dependabot %} detects vulnerable dependencies and sends {% data variables.product.prodname_dependabot_alerts %}{% else %}{% data variables.product.product_name %} detects vulnerable dependencies and sends security alerts{% endif %} when: + +{% if currentVersion == "free-pro-team@latest" %} +- A new vulnerability is added to the {% data variables.product.prodname_advisory_database %}. For more information, see "[Browsing security vulnerabilities in the {% data variables.product.prodname_advisory_database %}](/github/managing-security-vulnerabilities/browsing-security-vulnerabilities-in-the-github-advisory-database)." +- New vulnerability data from [WhiteSource](https://www.whitesourcesoftware.com/vulnerability-database) is processed.{% else %} +- New advisory data is synchronized to {% data variables.product.prodname_ghe_server %} each hour from {% data variables.product.prodname_dotcom_the_website %}. For more information about advisory data, see "Browsing security vulnerabilities in the {% data variables.product.prodname_advisory_database %}."{% endif %} +- The dependency graph for a repository changes. For example, when a contributor pushes a commit to change the packages or versions it depends on{% if currentVersion == "free-pro-team@latest" %}, or when the code of one of the dependencies changes{% endif %}. For more information, see "[About the dependency graph](/github/visualizing-repository-data-with-graphs/about-the-dependency-graph)." + +{% data reusables.repositories.dependency-review %} + +For a list of the ecosystems that {% data variables.product.product_name %} can detect vulnerabilities and dependencies for, see "[Supported package ecosystems](/github/visualizing-repository-data-with-graphs/about-the-dependency-graph#supported-package-ecosystems)." + +{% note %} + +**Note:** It is important to keep your manifest and lock files up to date. If the dependency graph doesn't accurately reflect your current dependencies and versions, then you could miss alerts for vulnerable dependencies that you use. You may also get alerts for dependencies that you no longer use. + +{% endnote %} + +{% if currentVersion == "free-pro-team@latest" or currentVersion ver_gt "enterprise-server@2.21" % %} +### {% data variables.product.prodname_dependabot %} alerts for vulnerable dependencies +{% else %} +### Security alerts for vulnerable dependencies +{% endif %} + +{% data reusables.repositories.enable-security-alerts %} + +{% if currentVersion == "free-pro-team@latest" %}{% data variables.product.prodname_dotcom %} detects vulnerable dependencies in _public_ repositories and generates {% data variables.product.prodname_dependabot_alerts %} by default. Owners of private repositories, or people with admin access, can enable {% data variables.product.prodname_dependabot_alerts %} by enabling the dependency graph and {% data variables.product.prodname_dependabot_alerts %} for their repositories. + +You can also enable or disable {% data variables.product.prodname_dependabot_alerts %} for all repositories owned by your user account or organization. For more information, see "[Managing security and analysis settings for your user account](/github/setting-up-and-managing-your-github-user-account/managing-security-and-analysis-settings-for-your-user-account)" or "[Managing security and analysis settings for your organization](/github/setting-up-and-managing-organizations-and-teams/managing-security-and-analysis-settings-for-your-organization)." + +For information about permission requirements for actions related to {% data variables.product.prodname_dependabot_alerts %}, see "[Repository permission levels for an organization](/github/setting-up-and-managing-organizations-and-teams/repository-permission-levels-for-an-organization#permission-requirements-for-security-features)." + +{% data variables.product.product_name %} starts generating the dependency graph immediately and generates alerts for any vulnerable dependencies as soon as they are identified. The graph is usually populated within minutes but this may take longer for repositories with many dependencies. For more information, see "[Managing data use settings for your private repository](/github/understanding-how-github-uses-and-protects-your-data/managing-data-use-settings-for-your-private-repository)." +{% endif %} + +{% if currentVersion == "free-pro-team@latest" or currentVersion ver_gt "enterprise-server@2.21" %} +When {% data variables.product.product_name %} identifies a vulnerable dependency, we generate a {% data variables.product.prodname_dependabot %} alert and display it on the Security tab for the repository. The alert includes a link to the affected file in the project, and information about a fixed version. {% data variables.product.product_name %} also notifies the maintainers of affected repositories about the new alert according to their notification preferences. For more information, see "[Configuring notifications for vulnerable dependencies](/code-security/supply-chain-security/configuring-notifications-for-vulnerable-dependencies)." +{% endif %} + +{% if currentVersion == "free-pro-team@latest" %} +For repositories where {% data variables.product.prodname_dependabot_security_updates %} are enabled, the alert may also contain a link to a pull request to update the manifest or lock file to the minimum version that resolves the vulnerability. For more information, see "[About {% data variables.product.prodname_dependabot_security_updates %}](/github/managing-security-vulnerabilities/about-dependabot-security-updates)." +{% endif %} + +{% if enterpriseServerVersions contains currentVersion and currentVersion ver_lt "enterprise-server@2.22" %} +When {% data variables.product.product_name %} identifies a vulnerable dependency, we send a security alert to the maintainers of affected repositories with details of the vulnerability, a link to the affected file in the project, and information about a fixed version. +{% endif %} + +{% warning %} + +**Note**: {% data variables.product.product_name %}'s security features do not claim to catch all vulnerabilities. Though we are always trying to update our vulnerability database and generate alerts with our most up-to-date information, we will not be able to catch everything or tell you about known vulnerabilities within a guaranteed time frame. These features are not substitutes for human review of each dependency for potential vulnerabilities or any other issues, and we recommend consulting with a security service or conducting a thorough vulnerability review when necessary. + +{% endwarning %} + +### Access to {% if currentVersion == "free-pro-team@latest" or currentVersion ver_gt "enterprise-server@2.21" %}{% data variables.product.prodname_dependabot %}{% else %}security{% endif %} alerts + +You can see all of the alerts that affect a particular project{% if currentVersion == "free-pro-team@latest" %} on the repository's Security tab or{% endif %} in the repository's dependency graph.{% if currentVersion == "free-pro-team@latest" %} For more information, see "[Viewing and updating vulnerable dependencies in your repository](/github/managing-security-vulnerabilities/viewing-and-updating-vulnerable-dependencies-in-your-repository)."{% endif %} + +{% if currentVersion == "free-pro-team@latest" or currentVersion ver_gt "enterprise-server@2.21" %} +By default, we notify people with admin permissions in the affected repositories about new {% data variables.product.prodname_dependabot_alerts %}.{% endif %} {% if currentVersion == "free-pro-team@latest" %}{% data variables.product.product_name %} never publicly discloses identified vulnerabilities for any repository. You can also make {% data variables.product.prodname_dependabot_alerts %} visible to additional people or teams working repositories that you own or have admin permissions for. For more information, see "[Managing security and analysis settings for your repository](/github/administering-a-repository/managing-security-and-analysis-settings-for-your-repository#granting-access-to-security-alerts)." +{% endif %} + +{% if enterpriseServerVersions contains currentVersion and currentVersion ver_lt "enterprise-server@2.22" %} +We send security alerts to people with admin permissions in the affected repositories by default. {% data variables.product.product_name %} never publicly discloses identified vulnerabilities for any repository. +{% endif %} + +{% data reusables.notifications.vulnerable-dependency-notification-delivery-method-customization %}{% if enterpriseServerVersions contains currentVersion and currentVersion ver_lt "enterprise-server@2.21" %} For more information, see "[Choosing the delivery method for your notifications](/github/receiving-notifications-about-activity-on-github/choosing-the-delivery-method-for-your-notifications)."{% endif %}{% if currentVersion == "free-pro-team@latest" or currentVersion ver_gt "enterprise-server@2.20" %} For more information, see "[Configuring notifications for vulnerable dependencies](/code-security/supply-chain-security/configuring-notifications-for-vulnerable-dependencies)."{% endif %} + +{% if currentVersion == "free-pro-team@latest" %} +You can also see all the {% data variables.product.prodname_dependabot_alerts %} that correspond to a particular vulnerability in the {% data variables.product.prodname_advisory_database %}. For more information, see "[Browsing security vulnerabilities in the {% data variables.product.prodname_advisory_database %}](/github/managing-security-vulnerabilities/browsing-security-vulnerabilities-in-the-github-advisory-database#viewing-your-vulnerable-repositories)." +{% endif %} + +{% if currentVersion == "free-pro-team@latest" %} +### Further reading + +- "[About {% data variables.product.prodname_dependabot_security_updates %}](/github/managing-security-vulnerabilities/about-dependabot-security-updates)" +- "[Viewing and updating vulnerable dependencies in your repository](/articles/viewing-and-updating-vulnerable-dependencies-in-your-repository)" +- "[Understanding how {% data variables.product.product_name %} uses and protects your data](/categories/understanding-how-github-uses-and-protects-your-data)"{% endif %} diff --git a/content/github/managing-security-vulnerabilities/about-dependabot-security-updates.md b/content/code-security/supply-chain-security/about-dependabot-security-updates.md similarity index 73% rename from content/github/managing-security-vulnerabilities/about-dependabot-security-updates.md rename to content/code-security/supply-chain-security/about-dependabot-security-updates.md index 45755b6c02..94bc56b425 100644 --- a/content/github/managing-security-vulnerabilities/about-dependabot-security-updates.md +++ b/content/code-security/supply-chain-security/about-dependabot-security-updates.md @@ -4,13 +4,20 @@ intro: '{% data variables.product.prodname_dependabot %} can fix vulnerable depe shortTitle: About Dependabot security updates redirect_from: - /github/managing-security-vulnerabilities/about-github-dependabot-security-updates + - /github/managing-security-vulnerabilities/about-dependabot-security-updates versions: free-pro-team: '*' +topics: + - security --- + ### About {% data variables.product.prodname_dependabot_security_updates %} -{% data variables.product.prodname_dependabot_security_updates %} make it easier for you to fix vulnerable dependencies in your repository. If you enable this feature, when a {% data variables.product.prodname_dependabot %} alert is raised for a vulnerable dependency in the dependency graph of your repository, {% data variables.product.prodname_dependabot %} automatically tries to fix it. For more information, see "[About alerts for vulnerable dependencies](/github/managing-security-vulnerabilities/about-alerts-for-vulnerable-dependencies)" and "[Configuring {% data variables.product.prodname_dependabot_security_updates %}](/github/managing-security-vulnerabilities/configuring-dependabot-security-updates)." +{% data variables.product.prodname_dependabot_security_updates %} make it easier for you to fix vulnerable dependencies in your repository. If you enable this feature, when a {% data variables.product.prodname_dependabot %} alert is raised for a vulnerable dependency in the dependency graph of your repository, {% data variables.product.prodname_dependabot %} automatically tries to fix it. For more information, see "[About alerts for vulnerable dependencies](/code-security/supply-chain-security/about-alerts-for-vulnerable-dependencies)" and "[Configuring {% data variables.product.prodname_dependabot_security_updates %}](/github/managing-security-vulnerabilities/configuring-dependabot-security-updates)." + +{% data variables.product.prodname_dotcom %} may send {% data variables.product.prodname_dependabot %} alerts to repositories affected by a vulnerability disclosed by a recently published {% data variables.product.prodname_dotcom %} security advisory. For more information, see "[About {% data variables.product.prodname_security_advisories %}](/github/managing-security-vulnerabilities/about-github-security-advisories#dependabot-alerts-for-published-security-advisories)." + {% data variables.product.prodname_dependabot %} checks whether it's possible to upgrade the vulnerable dependency to a fixed version without disrupting the dependency graph for the repository. Then {% data variables.product.prodname_dependabot %} raises a pull request to update the dependency to the minimum version that includes the patch and links the pull request to the {% data variables.product.prodname_dependabot %} alert, or reports an error on the alert. For more information, see "[Troubleshooting {% data variables.product.prodname_dependabot %} errors](/github/managing-security-vulnerabilities/troubleshooting-dependabot-errors)." @@ -22,6 +29,10 @@ The {% data variables.product.prodname_dependabot_security_updates %} feature is {% endnote %} +You can enable a related feature, {% data variables.product.prodname_dependabot_version_updates %}, so that {% data variables.product.prodname_dependabot %} raises pull requests to update the manifest to the latest version of the dependency, whenever it detects an outdated dependency. For more information, see "[About {% data variables.product.prodname_dependabot %} version updates](/github/administering-a-repository/about-dependabot-version-updates)." + +{% data reusables.dependabot.pull-request-security-vs-version-updates %} + ### About pull requests for security updates Each pull request contains everything you need to quickly and safely review and merge a proposed fix into your project. This includes information about the vulnerability like release notes, changelog entries, and commit details. Details of which vulnerability a pull request resolves are hidden from anyone who does not have access to {% data variables.product.prodname_dependabot_alerts %} for the repository. @@ -36,4 +47,4 @@ When you merge a pull request that contains a security update, the corresponding ### About notifications for {% data variables.product.prodname_dependabot %} security updates -You can filter your notifications on {% data variables.product.company_short %} to show {% data variables.product.prodname_dependabot %} security updates. For more information, see "[Managing notifications from your inbox](/github/managing-subscriptions-and-notifications-on-github/managing-notifications-from-your-inbox#dependabot-custom-filters)." \ No newline at end of file +You can filter your notifications on {% data variables.product.company_short %} to show {% data variables.product.prodname_dependabot %} security updates. For more information, see "[Managing notifications from your inbox](/github/managing-subscriptions-and-notifications-on-github/managing-notifications-from-your-inbox#dependabot-custom-filters)." diff --git a/content/github/administering-a-repository/about-dependabot-version-updates.md b/content/code-security/supply-chain-security/about-dependabot-version-updates.md similarity index 91% rename from content/github/administering-a-repository/about-dependabot-version-updates.md rename to content/code-security/supply-chain-security/about-dependabot-version-updates.md index 1ade8a1acb..51dcc45a08 100644 --- a/content/github/administering-a-repository/about-dependabot-version-updates.md +++ b/content/code-security/supply-chain-security/about-dependabot-version-updates.md @@ -5,9 +5,12 @@ redirect_from: - /github/administering-a-repository/about-dependabot - /github/administering-a-repository/about-github-dependabot - /github/administering-a-repository/about-github-dependabot-version-updates + - /github/administering-a-repository/about-dependabot-version-updates versions: free-pro-team: '*' +topics: + - repositories --- {% data reusables.dependabot.beta-note %} @@ -22,6 +25,8 @@ When {% data variables.product.prodname_dependabot %} identifies an outdated dep If you enable security updates, {% data variables.product.prodname_dependabot %} also raises pull requests to update vulnerable dependencies. For more information, see "[About {% data variables.product.prodname_dependabot_security_updates %}](/github/managing-security-vulnerabilities/about-dependabot-security-updates)." +{% data reusables.dependabot.pull-request-security-vs-version-updates %} + {% data reusables.dependabot.dependabot-tos %} ### Frequency of {% data variables.product.prodname_dependabot %} pull requests @@ -38,7 +43,9 @@ You can configure version updates for repositories that contain a dependency man {% note %} -{% data reusables.dependabot.private-dependencies-note %} Additionally, {% data variables.product.prodname_dependabot %} doesn't support private {% data variables.product.prodname_dotcom %} dependencies for all package managers. See the details in the table below. +{% data reusables.dependabot.private-dependencies-note %} + +{% data variables.product.prodname_dependabot %} doesn't support private {% data variables.product.prodname_dotcom %} dependencies for all package managers. See the details in the table below. {% endnote %} diff --git a/content/github/managing-security-vulnerabilities/about-managing-vulnerable-dependencies.md b/content/code-security/supply-chain-security/about-managing-vulnerable-dependencies.md similarity index 90% rename from content/github/managing-security-vulnerabilities/about-managing-vulnerable-dependencies.md rename to content/code-security/supply-chain-security/about-managing-vulnerable-dependencies.md index 9041daa8de..e5011ab941 100644 --- a/content/github/managing-security-vulnerabilities/about-managing-vulnerable-dependencies.md +++ b/content/code-security/supply-chain-security/about-managing-vulnerable-dependencies.md @@ -1,9 +1,14 @@ --- title: About managing vulnerable dependencies intro: '{% data variables.product.prodname_dotcom %} helps you to avoid using third-party software that contains known vulnerabilities.' +redirect_from: + - /github/managing-security-vulnerabilities/about-managing-vulnerable-dependencies versions: free-pro-team: '*' +topics: + - security --- + {% data variables.product.prodname_dotcom %} provides the following tools for removing and avoiding vulnerable dependencies. @@ -15,7 +20,7 @@ For more information, see "[About the dependency graph](/github/visualizing-repo By checking the dependency reviews on pull requests you can avoid introducing vulnerabilities from dependencies into your codebase. If the pull requests adds a vulnerable dependency, or changes a dependency to a vulnerable version, this is highlighted in the dependency review. You can change the dependency to a patched version before merging the pull request. For more information, see "[Reviewing dependency changes in a pull request](/github/collaborating-with-issues-and-pull-requests/reviewing-dependency-changes-in-a-pull-request)." #### {% data variables.product.prodname_dependabot_alerts %} -{% data variables.product.prodname_dotcom %} can create {% data variables.product.prodname_dependabot_alerts %} when it detects vulnerable dependencies in your repository. The alert is displayed on the Security tab for the repository. The alert includes a link to the affected file in the project, and information about a fixed version. {% data variables.product.prodname_dotcom %} also notifies the maintainers of the repository, according to their notification preferences. For more information, see "[About alerts for vulnerable dependencies](/github/managing-security-vulnerabilities/about-alerts-for-vulnerable-dependencies)." +{% data variables.product.prodname_dotcom %} can create {% data variables.product.prodname_dependabot_alerts %} when it detects vulnerable dependencies in your repository. The alert is displayed on the Security tab for the repository. The alert includes a link to the affected file in the project, and information about a fixed version. {% data variables.product.prodname_dotcom %} also notifies the maintainers of the repository, according to their notification preferences. For more information, see "[About alerts for vulnerable dependencies](/code-security/supply-chain-security/about-alerts-for-vulnerable-dependencies)." #### {% data variables.product.prodname_dependabot_security_updates %} When {% data variables.product.prodname_dotcom %} generates a {% data variables.product.prodname_dependabot %} alert for a vulnerable dependency in your repository, {% data variables.product.prodname_dependabot %} can automatically try to fix it for you. {% data variables.product.prodname_dependabot_security_updates %} are automatically generated pull requests that update a vulnerable dependency to a fixed version. For more information, see "[About {% data variables.product.prodname_dependabot_security_updates %}](/github/managing-security-vulnerabilities/about-dependabot-security-updates)." diff --git a/content/code-security/supply-chain-security/about-the-dependency-graph.md b/content/code-security/supply-chain-security/about-the-dependency-graph.md new file mode 100644 index 0000000000..cb2c0b0e1c --- /dev/null +++ b/content/code-security/supply-chain-security/about-the-dependency-graph.md @@ -0,0 +1,94 @@ +--- +title: About the dependency graph +intro: 'You can use the dependency graph to identify all your project''s dependencies. The dependency graph supports a range of popular package ecosystems.' +redirect_from: + - /github/visualizing-repository-data-with-graphs/about-the-dependency-graph +versions: + free-pro-team: '*' + enterprise-server: '>=3.0' +topics: + - repositories +--- + + +### Dependency graph availability + +The dependency graph is available for every{% if currentVersion == "free-pro-team@latest" %} public{% endif %} repository that defines dependencies in a supported package ecosystem using a supported file format.{% if currentVersion == "free-pro-team@latest" %} Repository administrators can also set up the dependency graph for private repositories.{% endif %} + +{% data reusables.repositories.enable-security-alerts %} + +### About the dependency graph + +The dependency graph is a summary of the manifest and lock files stored in a repository. For each repository, it shows{% if currentVersion == "free-pro-team@latest" %}: + +- Dependencies, the ecosystems and packages it depends on +- Dependents, the repositories and packages that depend on it{% else %} dependencies, that is, the ecosystems and packages it depends on. {% data variables.product.prodname_ghe_server %} does not calculate information about dependents, the repositories and packages that depend on a repository.{% endif %} + +When you push a commit to {% data variables.product.product_name %} that changes or adds a supported manifest or lock file to the default branch, the dependency graph is automatically updated.{% if currentVersion == "free-pro-team@latest" %} In addition, the graph is updated when anyone pushes a change to the repository of one of your dependencies.{% endif %} For information on the supported ecosystems and manifest files, see "[Supported package ecosystems](#supported-package-ecosystems)" below. + +{% if currentVersion == "free-pro-team@latest" %} +When you create a pull request containing changes to dependencies that targets the default branch, {% data variables.product.prodname_dotcom %} uses the dependency graph to add dependency reviews to the pull request. These indicate whether the dependencies contain vulnerabilities and, if so, the version of the dependency in which the vulnerability was fixed. For more information, see "[Reviewing dependency changes in a pull request](/github/collaborating-with-issues-and-pull-requests/reviewing-dependency-changes-in-a-pull-request)." +{% endif %} + +### Dependencies included + +The dependency graph includes all the dependencies of a repository that are detailed in the manifest and lock files, or their equivalent, for supported ecosystems. This includes: + +- Direct dependencies, that are explicitly defined in a manifest or lock file +- Indirect dependencies of these direct dependencies, also known as transitive dependencies or sub-dependencies + +The dependency graph identifies indirect dependencies{% if currentVersion == "free-pro-team@latest" %} either explicitly from a lock file or by checking the dependencies of your direct dependencies. For the most reliable graph, you should use lock files (or their equivalent) because they define exactly which versions of the direct and indirect dependencies you currently use. If you use lock files, you also ensure that all contributors to the repository are using the same versions, which will make it easier for you to test and debug code{% else %} from the lock files{% endif %}. + +{% if currentVersion == "free-pro-team@latest" %} +### Dependents included + +For public repositories, only public repositories that depend on it or on packages that it publishes are reported. This information is not reported for private repositories.{% endif %} + +### Using the dependency graph + +You can use the dependency graph to: + +- Explore the repositories your code depends on{% if currentVersion == "free-pro-team@latest" %}, and those that depend on it{% endif %}. For more information, see "[Exploring the dependencies of a repository](/github/visualizing-repository-data-with-graphs/exploring-the-dependencies-of-a-repository)." {% if currentVersion == "free-pro-team@latest" %} +- View a summary of the dependencies used in your organization's repositories in a single dashboard. For more information, see "[Viewing insights for your organization](/articles/viewing-insights-for-your-organization#viewing-organization-dependency-insights)."{% endif %} +- View and update vulnerable dependencies for your repository. For more information, see "[About alerts for vulnerable dependencies](/code-security/supply-chain-security/about-alerts-for-vulnerable-dependencies)."{% if currentVersion == "free-pro-team@latest" %} +- See information about vulnerable dependencies in pull requests. For more information, see "[Reviewing dependency changes in a pull request](/github/collaborating-with-issues-and-pull-requests/reviewing-dependency-changes-in-a-pull-request)."{% endif %} + +### Enabling the dependency graph + +{% if currentVersion == "free-pro-team@latest" %}To generate a dependency graph, {% data variables.product.product_name %} needs read-only access to the dependency manifest and lock files for a repository. The dependency graph is automatically generated for all public repositories and you can choose to enable it for private repositories. For information about enabling or disabling it for private repositories, see "[Exploring the dependencies of a repository](/github/visualizing-repository-data-with-graphs/exploring-the-dependencies-of-a-repository)."{% endif %} + +{% if enterpriseServerVersions contains currentVersion and currentVersion ver_gt "enterprise-server@2.21" %}If the dependency graph is not available in your system, your site administrator can enable the dependency graph and {% data variables.product.prodname_dependabot_alerts %}. For more information, see "[Enabling alerts for vulnerable dependencies on {% data variables.product.prodname_ghe_server %}](/enterprise/{{ currentVersion }}/admin/configuration/enabling-alerts-for-vulnerable-dependencies-on-github-enterprise-server)."{% endif %} + +{% if enterpriseServerVersions contains currentVersion and currentVersion ver_lt "enterprise-server@2.22" %} If the dependency graph is not available in your system, your site administrator can enable the dependency graph and security alerts. For more information, see "[Enabling alerts for vulnerable dependencies on {% data variables.product.prodname_ghe_server %}](/enterprise/{{ currentVersion }}/admin/configuration/enabling-alerts-for-vulnerable-dependencies-on-github-enterprise-server)." + +{% endif %} + +When the dependency graph is first enabled, any manifest and lock files for supported ecosystems are parsed immediately. The graph is usually populated within minutes but this may take longer for repositories with many dependencies. Once enabled, the graph is automatically updated with every push to the repository{% if currentVersion == "free-pro-team@latest" %} and every push to other repositories in the graph{% endif %}. + +### Supported package ecosystems + +The recommended formats explicitly define which versions are used for all direct and all indirect dependencies. If you use these formats, your dependency graph is more accurate. It also reflects the current build set up and enables the dependency graph to report vulnerabilities in both direct and indirect dependencies.{% if currentVersion == "free-pro-team@latest" %} Indirect dependencies that are inferred from a manifest file (or equivalent) are excluded from the checks for vulnerable dependencies.{% endif %} + +| Package manager | Languages | Recommended formats | All supported formats | +| --- | --- | --- | ---| +| Composer | PHP | `composer.lock` | `composer.json`, `composer.lock` | +| `dotnet` CLI | .NET languages (C#, C++, F#, VB) | `.csproj`, `.vbproj`, `.nuspec`, `.vcxproj`, `.fsproj` | `.csproj`, `.vbproj`, `.nuspec`, `.vcxproj`, `.fsproj`, `packages.config` | +| Maven | Java, Scala | `pom.xml` | `pom.xml` | +| npm | JavaScript | `package-lock.json` | `package-lock.json`, `package.json`| +| Python PIP | Python | `requirements.txt`, `pipfile.lock` | `requirements.txt`, `pipfile`, `pipfile.lock`, `setup.py`* | +| RubyGems | Ruby | `Gemfile.lock` | `Gemfile.lock`, `Gemfile`, `*.gemspec` | +| Yarn | JavaScript | `yarn.lock` | `package.json`, `yarn.lock` | + +{% note %} + +**Note:** If you list your Python dependencies within a `setup.py` file, we may not be able to parse and list every dependency in your project. + +{% endnote %} + +### Further reading + +- "[Dependency graph](https://en.wikipedia.org/wiki/Dependency_graph)" on Wikipedia +- "[Exploring the dependencies of a repository](/github/visualizing-repository-data-with-graphs/exploring-the-dependencies-of-a-repository)"{% if currentVersion == "free-pro-team@latest" %} +- "[Viewing insights for your organization](/github/setting-up-and-managing-organizations-and-teams/viewing-insights-for-your-organization)" +- "[Viewing and updating vulnerable dependencies in your repository](/github/managing-security-vulnerabilities/viewing-and-updating-vulnerable-dependencies-in-your-repository)" +- "[Troubleshooting the detection of vulnerable dependencies](/github/managing-security-vulnerabilities/troubleshooting-the-detection-of-vulnerable-dependencies)"{% endif %} diff --git a/content/github/managing-security-vulnerabilities/browsing-security-vulnerabilities-in-the-github-advisory-database.md b/content/code-security/supply-chain-security/browsing-security-vulnerabilities-in-the-github-advisory-database.md similarity index 92% rename from content/github/managing-security-vulnerabilities/browsing-security-vulnerabilities-in-the-github-advisory-database.md rename to content/code-security/supply-chain-security/browsing-security-vulnerabilities-in-the-github-advisory-database.md index a45c3564bf..1d1ef1d2d9 100644 --- a/content/github/managing-security-vulnerabilities/browsing-security-vulnerabilities-in-the-github-advisory-database.md +++ b/content/code-security/supply-chain-security/browsing-security-vulnerabilities-in-the-github-advisory-database.md @@ -2,15 +2,20 @@ title: Browsing security vulnerabilities in the GitHub Advisory Database intro: 'The {% data variables.product.prodname_advisory_database %} allows you to browse or search for vulnerabilities that affect open source projects on {% data variables.product.company_short %}.' shortTitle: Browsing the Advisory Database +redirect_from: + - /github/managing-security-vulnerabilities/browsing-security-vulnerabilities-in-the-github-advisory-database versions: free-pro-team: '*' +topics: + - security --- + ### About security vulnerabilities {% data reusables.repositories.a-vulnerability-is %} -{% data variables.product.product_name %} will send you {% data variables.product.prodname_dependabot_alerts %} if we detect that any of the vulnerabilities from the {% data variables.product.prodname_advisory_database %} affect the packages that your repository depends on. For more information, see "[About alerts for vulnerable dependencies](/github/managing-security-vulnerabilities/about-alerts-for-vulnerable-dependencies)." +{% data variables.product.product_name %} will send you {% data variables.product.prodname_dependabot_alerts %} if we detect that any of the vulnerabilities from the {% data variables.product.prodname_advisory_database %} affect the packages that your repository depends on. For more information, see "[About alerts for vulnerable dependencies](/code-security/supply-chain-security/about-alerts-for-vulnerable-dependencies)." ### About the {% data variables.product.prodname_advisory_database %} @@ -68,7 +73,7 @@ You can search the database, and use qualifiers to narrow your search. For examp ### Viewing your vulnerable repositories -For any vulnerability in the {% data variables.product.prodname_advisory_database %}, you can see which of your repositories have a {% data variables.product.prodname_dependabot %} alert for that vulnerability. To see a vulnerable repository, you must have access to {% data variables.product.prodname_dependabot_alerts %} for that repository. For more information, see "[About alerts for vulnerable dependencies](/github/managing-security-vulnerabilities/about-alerts-for-vulnerable-dependencies#access-to-dependabot-alerts)." +For any vulnerability in the {% data variables.product.prodname_advisory_database %}, you can see which of your repositories have a {% data variables.product.prodname_dependabot %} alert for that vulnerability. To see a vulnerable repository, you must have access to {% data variables.product.prodname_dependabot_alerts %} for that repository. For more information, see "[About alerts for vulnerable dependencies](/code-security/supply-chain-security/about-alerts-for-vulnerable-dependencies#access-to-dependabot-alerts)." 1. Navigate to https://github.com/advisories. 2. Click an advisory. diff --git a/content/github/administering-a-repository/configuration-options-for-dependency-updates.md b/content/code-security/supply-chain-security/configuration-options-for-dependency-updates.md similarity index 63% rename from content/github/administering-a-repository/configuration-options-for-dependency-updates.md rename to content/code-security/supply-chain-security/configuration-options-for-dependency-updates.md index 2999f77230..6e6da252ca 100644 --- a/content/github/administering-a-repository/configuration-options-for-dependency-updates.md +++ b/content/code-security/supply-chain-security/configuration-options-for-dependency-updates.md @@ -2,8 +2,13 @@ title: Configuration options for dependency updates intro: 'Detailed information for all the options you can use to customize how {% data variables.product.prodname_dependabot %} maintains your repositories.' permissions: 'People with write permissions to a repository can configure {% data variables.product.prodname_dependabot %} for the repository.' +redirect_from: + - /github/administering-a-repository/configuration-options-for-dependency-updates +miniTocMaxHeadingLevel: 4 versions: free-pro-team: '*' +topics: + - repositories --- {% data reusables.dependabot.beta-note %} @@ -14,9 +19,11 @@ The {% data variables.product.prodname_dependabot %} configuration file, *depend You must store this file in the `.github` directory of your repository. When you add or update the *dependabot.yml* file, this triggers an immediate check for version updates. Any options that also affect security updates are used the next time a security alert triggers a pull request for a security update. For more information, see "[Enabling and disabling version updates](/github/administering-a-repository/enabling-and-disabling-version-updates)" and "[Configuring {% data variables.product.prodname_dependabot_security_updates %}](/github/managing-security-vulnerabilities/configuring-dependabot-security-updates)." -### Configuration options for *dependabot.yml* +The *dependabot.yml* file has two mandatory top-level keys: `version`, and `updates`. You can, optionally, include a top-level `registries` key. The file must start with `version: 2`. -The *dependabot.yml* file must start with `version: 2` followed by an array of `updates`. +### Configuration options for updates + +The top-level `updates` key is mandatory. You use it to configure how {% data variables.product.prodname_dependabot %} updates the versions or your project's dependencies. Each entry configures the update settings for a particular package manager. You can use the following options. | Option | Required | Description | |:---|:---:|:---| @@ -27,11 +34,13 @@ The *dependabot.yml* file must start with `version: 2` followed by an array of ` | [`assignees`](#assignees) | | Assignees to set on pull requests | | [`commit-message`](#commit-message) | | Commit message preferences | | [`ignore`](#ignore) | | Ignore certain dependencies or versions | +| [`insecure-external-code-execution`](#insecure-external-code-execution) | | Allow or deny code execution in manifest files | | [`labels`](#labels) | | Labels to set on pull requests | | [`milestone`](#milestone) | | Milestone to set on pull requests | | [`open-pull-requests-limit`](#open-pull-requests-limit) | | Limit number of open pull requests for version updates| | [`pull-request-branch-name.separator`](#pull-request-branch-nameseparator) | | Change separator for pull request branch names | | [`rebase-strategy`](#rebase-strategy) | | Disable automatic rebasing | +| [`registries`](#registries) | | Private registries that {% data variables.product.prodname_dependabot %} can access| | [`reviewers`](#reviewers) | | Reviewers to set on pull requests | | [`schedule.day`](#scheduleday) | | Day of week to check for updates | | [`schedule.time`](#scheduletime) | | Time of day to check for updates (hh:mm) | @@ -60,9 +69,9 @@ In general, security updates use any configuration options that affect pull requ {% endnote %} -### `package-ecosystem` +#### `package-ecosystem` -**Required** You add one `package-ecosystem` element for each package manager that you want {% data variables.product.prodname_dependabot %} to monitor for new versions. The repository must also contain a dependency manifest or lock file for each of these package managers. If you want to enable vendoring for a package manager that supports it, the vendored dependencies must be located in the required directory. For more information, see [`vendor`](#vendor) below. +**Required**. You add one `package-ecosystem` element for each package manager that you want {% data variables.product.prodname_dependabot %} to monitor for new versions. The repository must also contain a dependency manifest or lock file for each of these package managers. If you want to enable vendoring for a package manager that supports it, the vendored dependencies must be located in the required directory. For more information, see [`vendor`](#vendor) below. {% data reusables.dependabot.supported-package-managers %} @@ -91,9 +100,9 @@ updates: interval: "daily" ``` -### `directory` +#### `directory` -**Required** You must define the location of the package manifests for each package manager (for example, the *package.json* or *Gemfile*). You define the directory relative to the root of the repository for all ecosystems except GitHub Actions. For GitHub Actions, set the directory to `/` to check for workflow files in `.github/workflows`. +**Required**. You must define the location of the package manifests for each package manager (for example, the *package.json* or *Gemfile*). You define the directory relative to the root of the repository for all ecosystems except GitHub Actions. For GitHub Actions, set the directory to `/` to check for workflow files in `.github/workflows`. ```yaml # Specify location of manifest files for each package manager @@ -120,9 +129,9 @@ updates: interval: "daily" ``` -### `schedule.interval` +#### `schedule.interval` -**Required** You must define how often to check for new versions for each package manager. By default, this is at 5am UTC. To modify this, use [`schedule.time`](#scheduletime) and [`schedule.timezone`](#scheduletimezone). +**Required**. You must define how often to check for new versions for each package manager. By default, this is at 5am UTC. To modify this, use [`schedule.time`](#scheduletime) and [`schedule.timezone`](#scheduletimezone). - `daily`—runs on every weekday, Monday to Friday. - `weekly`—runs once each week. By default, this is on Monday. To modify this, use [`schedule.day`](#scheduleday). @@ -147,7 +156,13 @@ updates: interval: "weekly" ``` -### `allow` +{% note %} + +**Note**: `schedule` defines when {% data variables.product.prodname_dependabot %} attempts a new update. However, it's not the only time you may receive pull requests. Updates can be triggered based on changes to your `dependabot.yml` file, changes to your manifest file(s) after a failed update, or {% data variables.product.prodname_dependabot_security_updates %}. For more information, see "[Frequency of {% data variables.product.prodname_dependabot %} pull requests](/github/administering-a-repository/about-dependabot-version-updates#frequency-of-dependabot-pull-requests)" and "[About {% data variables.product.prodname_dependabot_security_updates %}](/github/managing-security-vulnerabilities/about-dependabot-security-updates)." + +{% endnote %} + +#### `allow` {% data reusables.dependabot.default-dependencies-allow-ignore %} @@ -165,7 +180,7 @@ Use the `allow` option to customize which dependencies are updated. This has no | `development`| `bundler`, `composer`, `mix`, `maven`, `npm`, `pip` | Only dependencies in the "Development dependency group". | ```yaml -# Customizing the dependencies to maintain with `allow` +# Use `allow` to specify which dependencies to maintain version: 2 updates: @@ -201,7 +216,7 @@ updates: dependency-type: "production" ``` -### `assignees` +#### `assignees` Use `assignees` to specify individual assignees for all pull requests raised for a package manager. @@ -221,7 +236,7 @@ updates: - "octocat" ``` -### `commit-message` +#### `commit-message` By default, {% data variables.product.prodname_dependabot %} attempts to detect your commit message preferences and use similar patterns. Use the `commit-message` option to specify your preferences explicitly. @@ -234,7 +249,7 @@ Supported options {% data reusables.dependabot.option-affects-security-updates %} ```yaml -# Customizing commit messages +# Customize commit messages version: 2 updates: @@ -268,17 +283,17 @@ updates: include: "scope" ``` -### `ignore` +#### `ignore` {% data reusables.dependabot.warning-ignore-option %} -#### Checking for existing ignore preferences +##### Checking for existing ignore preferences Before you add an `ignore` option to the configuration file, check whether you've previously used any of the `@dependabot ignore` commands on a security update or version update pull request. {% data variables.product.prodname_dependabot %} stores these preferences for each package manager centrally and this information is overwritten by the `ignore` option. For more information about the `@dependabot ignore` commands, see "[Managing pull requests for dependency updates](/github/administering-a-repository/managing-pull-requests-for-dependency-updates)." You can check whether a repository has stored preferences by searching the repository for `"@dependabot ignore" in:comments`. If you review any pull requests in the results, you can decide whether or not to specify those ignored dependencies or versions in the configuration file. -#### Specifying dependencies and versions to ignore +##### Specifying dependencies and versions to ignore {% data reusables.dependabot.default-dependencies-allow-ignore %} @@ -290,7 +305,7 @@ You can use the `ignore` option to customize which dependencies are updated. The {% data reusables.dependabot.option-affects-security-updates %} ```yaml -# Customizing the dependencies to maintain with `ignore` +# Use `ignore` to specify dependencies that should not be updated version: 2 updates: @@ -308,12 +323,38 @@ updates: {% note %} -**Note**: {% data variables.product.prodname_dependabot %} can only run version updates on manifest or lock files if it can access all of the dependencies in the file, even if you add inaccessible dependencies to the `ignore` option of your configuration file. For more information, see "[Managing security and analysis settings for your organization](/github/setting-up-and-managing-organizations-and-teams/managing-security-and-analysis-settings-for-your-organization#allowing-dependabot-to-access-private-repositories)" and "[Troubleshooting {% data variables.product.prodname_dependabot %} errors](/github/managing-security-vulnerabilities/troubleshooting-dependabot-errors#dependabot-cant-resolve-your-dependency-files)." +**Note**: {% data variables.product.prodname_dependabot %} can only run version updates on manifest or lock files if it can access all of the dependencies in the file, even if you add inaccessible dependencies to the `ignore` option of your configuration file. For more information, see "[Managing security and analysis settings for your organization](/github/setting-up-and-managing-organizations-and-teams/managing-security-and-analysis-settings-for-your-organization#allowing-dependabot-to-access-private-dependencies)" and "[Troubleshooting {% data variables.product.prodname_dependabot %} errors](/github/managing-security-vulnerabilities/troubleshooting-dependabot-errors#dependabot-cant-resolve-your-dependency-files)." {% endnote %} -### `labels` +#### `insecure-external-code-execution` + +Package managers with the `package-ecosystem` values `bundler`, `mix`, and `pip` may execute external code in the manifest as part of the version update process. This might allow a compromised package to steal credentials or gain access to configured registries. When you add a [`registries`](#registries) setting within an `updates` configuration, {% data variables.product.prodname_dependabot %} automatically prevents external code execution, in which case the version update may fail. You can choose to override this behavior and allow external code execution for `bundler`, `mix`, and `pip` package managers by setting `insecure-external-code-execution` to `allow`. + +You can explicitly deny external code execution, irrespective of whether there is a `registries` setting for this update configuration, by setting `insecure-external-code-execution` to `deny`. + +{% raw %} +```yaml +# Allow external code execution when updating dependencies from private registries + +version: 2 +registries: + ruby-github: + type: rubygems-server + url: https://rubygems.pkg.github.com/octocat/github_api + token: ${{secrets.MY_GITHUB_PERSONAL_TOKEN}} +updates: + - package-ecosystem: "bundler" + directory: "/rubygems-server" + insecure-external-code-execution: allow + registries: "*" + schedule: + interval: "monthly" +``` +{% endraw %} + +#### `labels` {% data reusables.dependabot.default-labels %} @@ -337,7 +378,7 @@ updates: - "dependencies" ``` -### `milestone` +#### `milestone` Use `milestone` to associate all pull requests raised for a package manager with a milestone. You need to specify the numeric identifier of the milestone and not its label. If you view a milestone, the final part of the page URL, after `milestone`, is the identifier. For example: `https://github.com///milestone/3`. @@ -356,14 +397,14 @@ updates: milestone: 4 ``` -### `open-pull-requests-limit` +#### `open-pull-requests-limit` -By default, {% data variables.product.prodname_dependabot %} opens a maximum of five pull requests for version updates. Once there are five open pull requests, new requests are blocked until you merge or close some of the open requests. Use `open-pull-requests-limit` to change this limit. This also provides a simple way to temporarily disable version updates for a package manager. +By default, {% data variables.product.prodname_dependabot %} opens a maximum of five pull requests for version updates. Once there are five open pull requests, new requests are blocked until you merge or close some of the open requests, after which new pull requests can be opened on subsequent updates. Use `open-pull-requests-limit` to change this limit. This also provides a simple way to temporarily disable version updates for a package manager. This option has no impact on security updates, which have a separate, internal limit of ten open pull requests. ```yaml -# Changing the number of open pull requests allowed +# Specify the number of open pull requests allowed version: 2 updates: @@ -382,7 +423,7 @@ updates: open-pull-requests-limit: 10 ``` -### `pull-request-branch-name.separator` +#### `pull-request-branch-name.separator` {% data variables.product.prodname_dependabot %} generates a branch for each pull request. Each branch name includes `dependabot`, and the package manager and dependency that are updated. By default, these parts are separated by a `/` symbol, for example: `dependabot/npm_and_yarn/next_js/acorn-6.4.1`. @@ -391,7 +432,7 @@ Use `pull-request-branch-name.separator` to specify a different separator. This {% data reusables.dependabot.option-affects-security-updates %} ```yaml -# Specifying a different separator for branch names +# Specify a different separator for branch names version: 2 updates: @@ -405,7 +446,7 @@ updates: separator: "-" ``` -### `rebase-strategy` +#### `rebase-strategy` By default, {% data variables.product.prodname_dependabot %} automatically rebases open pull requests when it detects conflicts. Use `rebase-strategy` to disable this behavior. @@ -417,7 +458,7 @@ Available rebase strategies {% data reusables.dependabot.option-affects-security-updates %} ```yaml -# Disabling automatic rebasing +# Disable automatic rebasing version: 2 updates: @@ -429,7 +470,39 @@ updates: rebase-strategy: "disabled" ``` -### `reviewers` +#### `registries` + +To allow {% data variables.product.prodname_dependabot %} to access a private package registry when performing a version update, you must include a `registries` setting within the relevant `updates` configuration. You can allow all of the defined registries to be used by setting `registries` to `"*"`. Alternatively, you can list the registries that the update can use. To do this, use the name of the registry as defined in the top-level `registries` section of the _dependabot.yml_ file. + +To allow {% data variables.product.prodname_dependabot %} to use `bundler`, `mix`, and `pip` package managers to update dependencies in private registries, you can choose to allow external code execution. For more information, see [`insecure-external-code-execution`](#insecure-external-code-execution). + +{% raw %} +```yaml +# Allow {% data variables.product.prodname_dependabot %} to use one of the two defined private registries +# when updating dependency versions for this ecosystem + +version: 2 +registries: + maven-github: + type: maven-repository + url: https://maven.pkg.github.com/octocat + token: ${{secrets.MY_GITHUB_PERSONAL_TOKEN}} + npm-npmjs: + type: npm-registry + url: https://registry.npmjs.org + username: octocat + password: ${{secrets.MY_NPM_PASSWORD}} +updates: + - package-ecosystem: "gitsubmodule" + directory: "/" + registries: + - maven-github + schedule: + interval: "monthly" +``` +{% endraw %} + +#### `reviewers` Use `reviewers` to specify individual reviewers or teams of reviewers for all pull requests raised for a package manager. You must use the full team name, including the organization, as if you were @mentioning the team. @@ -451,7 +524,7 @@ updates: - "my-org/python-team" ``` -### `schedule.day` +#### `schedule.day` When you set a `weekly` update schedule, by default, {% data variables.product.prodname_dependabot %} checks for new versions on Monday at 05:00 UTC. Use `schedule.day` to specify an alternative day to check for updates. @@ -478,7 +551,7 @@ updates: day: "sunday" ``` -### `schedule.time` +#### `schedule.time` By default, {% data variables.product.prodname_dependabot %} checks for new versions at 05:00 UTC. Use `schedule.time` to specify an alternative time of day to check for updates (format: `hh:mm`). @@ -494,7 +567,7 @@ updates: time: "09:00" ``` -### `schedule.timezone` +#### `schedule.timezone` By default, {% data variables.product.prodname_dependabot %} checks for new versions at 05:00 UTC. Use `schedule.timezone` to specify an alternative time zone. The time zone identifier must be from the Time Zone database maintained by [iana](https://www.iana.org/time-zones). For more information, see [List of tz database time zones](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones). @@ -512,7 +585,7 @@ updates: timezone: "Asia/Tokyo" ``` -### `target-branch` +#### `target-branch` By default, {% data variables.product.prodname_dependabot %} checks for manifest files on the default branch and raises pull requests for version updates against this branch. Use `target-branch` to specify a different branch for manifest files and for pull requests. When you use this option, the settings for this package manager will no longer affect any pull requests raised for security updates. @@ -543,9 +616,9 @@ updates: - "npm dependencies" ``` -### `vendor` +#### `vendor` -Use the `vendor` option to tell {% data variables.product.prodname_dependabot %} to vendor dependencies when updating them. +Use the `vendor` option to tell {% data variables.product.prodname_dependabot %} to vendor dependencies when updating them. Don't use this option if you're using `gomod` as {% data variables.product.prodname_dependabot %} automatically detects vendoring for this tool. ```yaml # Configure version updates for both dependencies defined in manifests and vendored dependencies @@ -568,7 +641,7 @@ updates: | `gomod` | No path requirement (dependencies are usually located in the _vendor_ directory) | [`go mod vendor` documentation](https://golang.org/ref/mod#go-mod-vendor) | -### `versioning-strategy` +#### `versioning-strategy` When {% data variables.product.prodname_dependabot %} edits a manifest file to update a version, it uses the following overall strategies: @@ -583,14 +656,14 @@ Available update strategies | Option | Supported by | Action | |--------|--------------|--------| -| `lockfile-only` | `bundler`, `cargo`, `composer`, `mix`, `npm`, `pip` | Only create pull requests to update lockfiles updates. Ignore any new versions that would require package manifest changes. | +| `lockfile-only` | `bundler`, `cargo`, `composer`, `mix`, `npm`, `pip` | Only create pull requests to update lockfiles. Ignore any new versions that would require package manifest changes. | | `auto` | `bundler`, `cargo`, `composer`, `mix`, `npm`, `pip` | Follow the default strategy described above.| | `widen`| `composer`, `npm` | Relax the version requirement to include both the new and old version, when possible. | | `increase`| `bundler`, `composer`, `npm` | Always increase the version requirement to match the new version. | | `increase-if-necessary` | `bundler`, `composer`, `npm` | Increase the version requirement only when required by the new version. | ```yaml -# Customizing the manifest version strategy +# Customize the manifest version strategy version: 2 updates: @@ -618,3 +691,222 @@ updates: # ignore any version updates that affect the manifest versioning-strategy: lockfile-only ``` + +### Configuration options for private registries + +The top-level `registries` key is optional. It allows you to specify authentication details that {% data variables.product.prodname_dependabot %} can use to access private package registries. + +{% note %} + +**Note:** Private registries behind firewalls on private networks are not supported. + +{% endnote %} + +The value of the `registries` key is an associative array, each element of which consists of a key that identifies a particular registry and a value which is an associative array that specifies the settings required to access that registry. The following *dependabot.yml* file, configures a registry identified as `dockerhub` in the `registries` section of the file and then references this in the `updates` section of the file. + +{% raw %} +```yaml +# Minimal settings to update dependencies in one private registry + +version: 2 +registries: + dockerhub: # Define access for a private registry + type: docker-registry + url: registry.hub.docker.com + username: octocat + password: ${{secrets.DOCKERHUB_PASSWORD}} +updates: + - package-ecosystem: "docker" + directory: "/docker-registry/dockerhub" + registries: + - dockerhub # Allow version updates for dependencies in this registry + schedule: + interval: "monthly" +``` +{% endraw %} + +You use the following options to specify access settings. Registry settings must contain a `type` and a `url`, and typically either a `username` and `password` combination or a `token`. + +| Option                 | Description | +|:---|:---| +| `type` | Identifies the type of registry. See the full list of types below. | +| `url` | The URL to use to access the dependencies in this registry. The protocol is optional. If not specified, `https://` is assumed. {% data variables.product.prodname_dependabot %} adds or ignores trailing slashes as required. | +| `username` | The username that {% data variables.product.prodname_dependabot %} uses to access the registry. | +| `password` | A reference to a {% data variables.product.prodname_dependabot %} secret containing the password for the specified user. For more information, see "[Managing encrypted secrets for Dependabot](/github/administering-a-repository/managing-encrypted-secrets-for-dependabot)." | +| `token` | A reference to a {% data variables.product.prodname_dependabot %} secret containing an access token for this registry. For more information, see "[Managing encrypted secrets for Dependabot](/github/administering-a-repository/managing-encrypted-secrets-for-dependabot)." | +| `replaces-base` | For registries with `type: python-index`, if the boolean value is `true`, pip resolves dependencies by using the specified URL rather than the base URL of the Python Package Index (by default `https://pypi.org/simple`). | + + +Each configuration `type` requires you to provide particular settings. Some types allow more than one way to connect. The following sections provide details of the settings you should use for each `type`. + +#### `composer-repository` + +The `composer-repository` type supports username and password. + +{% raw %} +```yaml +registries: + composer: + type: composer-repository + url: https://repo.packagist.com/example-company/ + username: octocat + password: ${{secrets.MY_PACKAGIST_PASSWORD}} +``` +{% endraw %} + +#### `docker-registry` + +The `docker-registry` type supports username and password. + +{% raw %} +```yaml +registries: + dockerhub: + type: docker-registry + url: https://registry.hub.docker.com + username: octocat + password: ${{secrets.MY_DOCKERHUB_PASSWORD}} +``` +{% endraw %} + +#### `git` + +The `git` type supports username and password. + +{% raw %} +```yaml +registries: + github-octocat: + type: git + url: https://github.com + username: x-access-token + password: ${{secrets.MY_GITHUB_PERSONAL_TOKEN}} +``` +{% endraw %} + +#### `maven-repository` + +The `maven-repository` type supports username and password, or token. + +{% raw %} +```yaml +registries: + maven-artifactory: + type: maven-repository + url: https://artifactory.example.com + username: octocat + password: ${{secrets.MY_ARTIFACTORY_PASSWORD}} +``` +{% endraw %} + +{% raw %} +```yaml +registries: + maven-github: + type: maven-repository + url: https://maven.pkg.github.com/octocat + token: ${{secrets.MY_GITHUB_PERSONAL_TOKEN}} +``` +{% endraw %} + +#### `npm-registry` + +The `npm-registry` type supports username and password, or token. + +{% raw %} +```yaml +registries: + npm-npmjs: + type: npm-registry + url: https://registry.npmjs.org + username: octocat + password: ${{secrets.MY_NPM_PASSWORD}} +``` +{% endraw %} + +{% raw %} +```yaml +registries: + npm-github: + type: npm-registry + url: https://npm.pkg.github.com + token: ${{secrets.MY_GITHUB_PERSONAL_TOKEN}} +``` +{% endraw %} + +#### `nuget-feed` + +The `nuget-feed` type supports username and password, or token. + +{% raw %} +```yaml +registries: + nuget-example: + type: nuget-feed + url: https://nuget.example.com/v3/index.json + username: octocat@example.com + password: ${{secrets.MY_NUGET_PASSWORD}} +``` +{% endraw %} + +{% raw %} +```yaml +registries: + nuget-azure-devops: + type: nuget-feed + url: https://pkgs.dev.azure.com/.../_packaging/My_Feed/nuget/v3/index.json + token: ${{secrets.MY_AZURE_DEVOPS_TOKEN}} +``` +{% endraw %} + +#### `python-index` + +The `python-index` type supports username and password, or token. + +{% raw %} +```yaml +registries: + python-example: + type: python-index + url: https://example.com/_packaging/my-feed/pypi/example + username: octocat + password: ${{secrets.MY_BASIC_AUTH_PASSWORD}} + replaces-base: true +``` +{% endraw %} + +{% raw %} +```yaml +registries: + python-azure: + type: python-index + url: https://pkgs.dev.azure.com/octocat/_packaging/my-feed/pypi/example + token: ${{secrets.MY_AZURE_DEVOPS_TOKEN}} + replaces-base: true +``` +{% endraw %} + +#### `rubygems-server` + +The `rubygems-server` type supports username and password, or token. + +{% raw %} +```yaml +registries: + ruby-example: + type: rubygems-server + url: https://rubygems.example.com + username: octocat@example.com + password: ${{secrets.MY_RUBYGEMS_PASSWORD}} +``` +{% endraw %} + +{% raw %} +```yaml +registries: + ruby-github: + type: rubygems-server + url: https://rubygems.pkg.github.com/octocat/github_api + token: ${{secrets.MY_GITHUB_PERSONAL_TOKEN}} +``` +{% endraw %} \ No newline at end of file diff --git a/content/github/managing-security-vulnerabilities/configuring-dependabot-security-updates.md b/content/code-security/supply-chain-security/configuring-dependabot-security-updates.md similarity index 95% rename from content/github/managing-security-vulnerabilities/configuring-dependabot-security-updates.md rename to content/code-security/supply-chain-security/configuring-dependabot-security-updates.md index c1ae6ff87f..83bf346c37 100644 --- a/content/github/managing-security-vulnerabilities/configuring-dependabot-security-updates.md +++ b/content/code-security/supply-chain-security/configuring-dependabot-security-updates.md @@ -7,9 +7,13 @@ redirect_from: - /github/managing-security-vulnerabilities/configuring-automated-security-fixes - /github/managing-security-vulnerabilities/configuring-automated-security-updates - /github/managing-security-vulnerabilities/configuring-github-dependabot-security-updates + - /github/managing-security-vulnerabilities/configuring-dependabot-security-updates versions: free-pro-team: '*' +topics: + - security --- + ### About configuring {% data variables.product.prodname_dependabot_security_updates %} @@ -58,6 +62,6 @@ You can also enable or disable {% data variables.product.prodname_dependabot_sec ### Further reading -- "[About alerts for vulnerable dependencies](/github/managing-security-vulnerabilities/about-alerts-for-vulnerable-dependencies)" +- "[About alerts for vulnerable dependencies](/code-security/supply-chain-security/about-alerts-for-vulnerable-dependencies)" - "[Managing data use settings for your private repository](/github/understanding-how-github-uses-and-protects-your-data/managing-data-use-settings-for-your-private-repository)" - "[Supported package ecosystems](/github/visualizing-repository-data-with-graphs/about-the-dependency-graph#supported-package-ecosystems)" diff --git a/content/code-security/supply-chain-security/configuring-notifications-for-vulnerable-dependencies.md b/content/code-security/supply-chain-security/configuring-notifications-for-vulnerable-dependencies.md new file mode 100644 index 0000000000..182e15babb --- /dev/null +++ b/content/code-security/supply-chain-security/configuring-notifications-for-vulnerable-dependencies.md @@ -0,0 +1,60 @@ +--- +title: Configuring notifications for vulnerable dependencies +shortTitle: Configuring notifications +intro: 'Optimize how you receive notifications about {% if currentVersion == "free-pro-team@latest" or currentVersion ver_gt "enterprise-server@2.21" %}{% data variables.product.prodname_dependabot %}{% else %}security{% endif %} alerts.' +redirect_from: +- /github/managing-security-vulnerabilities/configuring-notifications-for-vulnerable-dependencies +versions: + free-pro-team: '*' + enterprise-server: '>=3.0' +topics: + - security +--- + +### About notifications for vulnerable dependencies + +{% if currentVersion == "free-pro-team@latest" or currentVersion ver_gt "enterprise-server@2.21" %}When {% data variables.product.prodname_dependabot %} detects vulnerable dependencies in your repositories, we generate a {% data variables.product.prodname_dependabot %} alert and display it on the Security tab for the repository. {% data variables.product.product_name %} notifies the maintainers of affected repositories about the new alert according to their notification preferences.{% else %}When {% data variables.product.product_name %} detects vulnerable dependencies in your repositories, it sends security alerts.{% endif %}{% if currentVersion == "free-pro-team@latest" %} {% data variables.product.prodname_dependabot %} is enabled by default on all public repositories. For {% data variables.product.prodname_dependabot_alerts %}, by default, you will receive {% data variables.product.prodname_dependabot_alerts %} by email, grouped by the specific vulnerability. +{% endif %} + +{% if currentVersion == "free-pro-team@latest" %}If you're an organization owner, you can enable or disable {% data variables.product.prodname_dependabot_alerts %} for all repositories in your organization with one click. You can also set whether the detection of vulnerable dependencies will be enabled or disabled for newly-created repositories. For more information, see "[Managing security and analysis settings for your organization](/github/setting-up-and-managing-organizations-and-teams/managing-security-and-analysis-settings-for-your-organization#enabling-or-disabling-a-feature-for-all-new-repositories-when-they-are-added)." +{% endif %} + +{% if enterpriseServerVersions contains currentVersion and currentVersion == "enterprise-server@2.21" %} +Your site administrator needs to enable security alerts for vulnerable dependencies for {% data variables.product.product_location %} before you can use the feature. For more information, see "[Enabling alerts for vulnerable dependencies on {% data variables.product.prodname_ghe_server %}](/admin/configuration/enabling-alerts-for-vulnerable-dependencies-on-github-enterprise-server)."{% endif %} + +{% if enterpriseServerVersions contains currentVersion and currentVersion ver_gt "enterprise-server@2.20" %} +By default, if your site administrator has configured email for notifications on your enterprise, you will receive {% if currentVersion ver_gt "enterprise-server@2.21" %}{% data variables.product.prodname_dependabot_alerts %}{% else %}security alerts{% endif %} by email.{% endif %} + +{% if currentVersion ver_gt "enterprise-server@2.21" %}Site administrators can also enable {% data variables.product.prodname_dependabot_alerts %} without notifications. For more information, see "[Enabling {% data variables.product.prodname_dependabot_alerts %} for vulnerable dependencies on {% data variables.product.prodname_ghe_server %}](/enterprise/{{ currentVersion }}/admin/configuration/enabling-alerts-for-vulnerable-dependencies-on-github-enterprise-server)."{% endif %} + +{% if currentVersion ver_lt "enterprise-server@2.22" %}Site administrators can also enable security alerts without notifications. For more information, see "[Enabling security alerts for vulnerable dependencies on {% data variables.product.prodname_ghe_server %}](/enterprise/{{ currentVersion }}/admin/configuration/enabling-alerts-for-vulnerable-dependencies-on-github-enterprise-server)."{% endif %} + +### Configuring notifications for {% if currentVersion == "free-pro-team@latest" or currentVersion ver_gt "enterprise-server@2.21" %}{% data variables.product.prodname_dependabot_alerts %}{% else %}security alerts{% endif %} + +You can configure notification settings for yourself or your organization from the Manage notifications drop-down {% octicon "bell" aria-label="The notifications bell" %} shown at the top of each page. For more information, see "[Configuring notifications](/github/managing-subscriptions-and-notifications-on-github/configuring-notifications#choosing-your-notification-settings)." + +{% data reusables.notifications.vulnerable-dependency-notification-delivery-method-customization %} +{% data reusables.notifications.vulnerable-dependency-notification-options %} + +{% if currentVersion == "free-pro-team@latest" or currentVersion ver_gt "enterprise-server@2.21" %} + ![{% data variables.product.prodname_dependabot_alerts %} options](/assets/images/help/notifications-v2/dependabot-alerts-options.png) +{% else %} + ![Security alerts options](/assets/images/help/notifications-v2/security-alerts-options.png) +{% endif %} + +{% note %} + +**Note:** You can filter your notifications on {% data variables.product.company_short %} to show {% if currentVersion == "free-pro-team@latest" or currentVersion ver_gt "enterprise-server@2.21" %}{% data variables.product.prodname_dependabot %}{% else %} security{% endif %} alerts. For more information, see "[Managing notifications from your inbox](/github/managing-subscriptions-and-notifications-on-github/managing-notifications-from-your-inbox#dependabot-custom-filters)." + +{% endnote %} + +{% if currentVersion == "free-pro-team@latest" or currentVersion ver_gt "enterprise-server@2.19" % %}{% data reusables.repositories.security-alerts-x-github-severity %} For more information, see {% if currentVersion == "free-pro-team@latest" or currentVersion ver_gt "enterprise-server@2.20" %}"[Configuring notifications](/github/managing-subscriptions-and-notifications-on-github/configuring-notifications#filtering-email-notifications){% else %}"[About email notifications](/github/receiving-notifications-about-activity-on-github/about-email-notifications){% endif %}."{% endif %} + +### How to reduce the noise from notifications for vulnerable dependencies + +If you are concerned about receiving too many notifications for {% if currentVersion == "free-pro-team@latest" or currentVersion ver_gt "enterprise-server@2.21" %}{% data variables.product.prodname_dependabot_alerts %}{% else %}security alerts{% endif %}, we recommend you opt into the weekly email digest, or turn off notifications while keeping {% if currentVersion == "free-pro-team@latest" or currentVersion ver_gt "enterprise-server@2.21" %}{% data variables.product.prodname_dependabot_alerts %}{% else %}security alerts{% endif %} enabled. You can still navigate to see your {% if currentVersion == "free-pro-team@latest" or currentVersion ver_gt "enterprise-server@2.21" %}{% data variables.product.prodname_dependabot_alerts %}{% else %}security alerts{% endif %} in your repository's Security tab.{% if currentVersion == "free-pro-team@latest" %} For more information, see "[Viewing and updating vulnerable dependencies in your repository](/github/managing-security-vulnerabilities/viewing-and-updating-vulnerable-dependencies-in-your-repository)."{% endif %} + +### Further reading + +- "[Configuring notifications](/github/managing-subscriptions-and-notifications-on-github/configuring-notifications)" +- "[Managing notifications from your inbox](/github/managing-subscriptions-and-notifications-on-github/managing-notifications-from-your-inbox#supported-is-queries)" diff --git a/content/github/administering-a-repository/customizing-dependency-updates.md b/content/code-security/supply-chain-security/customizing-dependency-updates.md similarity index 98% rename from content/github/administering-a-repository/customizing-dependency-updates.md rename to content/code-security/supply-chain-security/customizing-dependency-updates.md index 95340f31d2..7ca4077ba2 100644 --- a/content/github/administering-a-repository/customizing-dependency-updates.md +++ b/content/code-security/supply-chain-security/customizing-dependency-updates.md @@ -2,8 +2,12 @@ title: Customizing dependency updates intro: 'You can customize how {% data variables.product.prodname_dependabot %} maintains your dependencies.' permissions: 'People with write permissions to a repository can configure {% data variables.product.prodname_dependabot %} for the repository.' +redirect_from: + - /github/administering-a-repository/customizing-dependency-updates versions: free-pro-team: '*' +topics: + - repositories --- {% data reusables.dependabot.beta-note %} diff --git a/content/github/administering-a-repository/enabling-and-disabling-version-updates.md b/content/code-security/supply-chain-security/enabling-and-disabling-version-updates.md similarity index 89% rename from content/github/administering-a-repository/enabling-and-disabling-version-updates.md rename to content/code-security/supply-chain-security/enabling-and-disabling-version-updates.md index 04f8ec9a61..31a22c4955 100644 --- a/content/github/administering-a-repository/enabling-and-disabling-version-updates.md +++ b/content/code-security/supply-chain-security/enabling-and-disabling-version-updates.md @@ -2,9 +2,14 @@ title: Enabling and disabling version updates intro: 'You can configure your repository so that {% data variables.product.prodname_dependabot %} automatically updates the packages you use.' permissions: 'People with write permissions to a repository can enable or disable {% data variables.product.prodname_dependabot_version_updates %} for the repository.' +redirect_from: + - /github/administering-a-repository/enabling-and-disabling-version-updates versions: free-pro-team: '*' +topics: + - repositories --- + {% data reusables.dependabot.beta-note-no-link %} @@ -18,9 +23,12 @@ You enable {% data variables.product.prodname_dependabot_version_updates %} by c ### Enabling {% data variables.product.prodname_dependabot_version_updates %} -{% data reusables.dependabot.create-dependabot-yml %} -1. Use `package-ecosystem` to specify the package managers to monitor. +{% data reusables.dependabot.create-dependabot-yml %} For information, see "[Configuration options for dependency updates](/github/administering-a-repository/configuration-options-for-dependency-updates)." +1. Add a `version`. +1. Optionally, if you have dependencies in a private registry, add a `registries` section containing authentication details. +1. Add an `updates` section, with an entry for each package manager you want {% data variables.product.prodname_dependabot %} to monitor. 1. For each package manager, use: + - `package-ecosystem` to specify the package manager. - `directory` to specify the location of the manifest or other definition files. - `schedule.interval` to specify how often to check for new versions. {% data reusables.dependabot.check-in-dependabot-yml %} diff --git a/content/code-security/supply-chain-security/exploring-the-dependencies-of-a-repository.md b/content/code-security/supply-chain-security/exploring-the-dependencies-of-a-repository.md new file mode 100644 index 0000000000..5bdea0f321 --- /dev/null +++ b/content/code-security/supply-chain-security/exploring-the-dependencies-of-a-repository.md @@ -0,0 +1,123 @@ +--- +title: Exploring the dependencies of a repository +intro: 'You can use the dependency graph to see the packages your project depends on{% if currentVersion == "free-pro-team@latest" %} and the repositories that depend on it{% endif %}. In addition, you can see any vulnerabilities detected in its dependencies.' +redirect_from: + - /articles/listing-the-packages-that-a-repository-depends-on + - /github/visualizing-repository-data-with-graphs/listing-the-packages-that-a-repository-depends-on + - /articles/listing-the-projects-that-depend-on-a-repository + - /github/visualizing-repository-data-with-graphs/listing-the-projects-that-depend-on-a-repository + - /github/visualizing-repository-data-with-graphs/exploring-the-dependencies-and-dependents-of-a-repository + - /github/visualizing-repository-data-with-graphs/exploring-the-dependencies-of-a-repository +versions: + free-pro-team: '*' + enterprise-server: '>=3.0' +topics: + - repositories +--- + +### Viewing the dependency graph + +{% data reusables.repositories.enable-security-alerts %} + +The dependency graph shows the dependencies{% if currentVersion == "free-pro-team@latest" %} and dependents{% endif %} of your repository. For information about the detection of dependencies and which ecosystems are supported, see "[About the dependency graph](/github/visualizing-repository-data-with-graphs/about-the-dependency-graph)." + +{% data reusables.repositories.navigate-to-repo %} +{% data reusables.repositories.accessing-repository-graphs %} +{% data reusables.repositories.click-dependency-graph %}{% if currentVersion == "free-pro-team@latest" %} +4. Optionally, under "Dependency graph", click **Dependents**. +![Dependents tab on the dependency graph page](/assets/images/help/graphs/dependency-graph-dependents-tab.png){% endif %} + +#### Dependencies view + +{% if currentVersion == "free-pro-team@latest" %} +Dependencies are grouped by ecosystem. You can expand a dependency to view its dependencies. For dependencies on public repositories hosted on {% data variables.product.product_name %}, you can also click a dependency to view the repository. Dependencies on private repositories, private packages, or unrecognized files are shown in plain text. + +If vulnerabilities have been detected in the repository, these are shown at the top of the view for users with access to {% data variables.product.prodname_dependabot_alerts %}. + +![Dependencies graph](/assets/images/help/graphs/dependencies_graph.png) + +{% endif %} + +{% if enterpriseServerVersions contains currentVersion and currentVersion ver_gt "enterprise-server@2.21" %} +Any direct and indirect dependencies that are specified in the repository's manifest or lock files are listed, grouped by ecosystem. If vulnerabilities have been detected in the repository, these are shown at the top of the view for users with access to {% data variables.product.prodname_dependabot_alerts %}. + +![Dependencies graph](/assets/images/help/graphs/dependencies_graph_server.png) + +{% note %} + +**Note:** {% data variables.product.prodname_ghe_server %} does not populate the **Dependents** view. + +{% endnote %} + +{% endif %} + +{% if enterpriseServerVersions contains currentVersion and currentVersion ver_lt "enterprise-server@2.22" %} +Any direct and indirect dependencies that are specified in the repository's manifest or lock files are listed, grouped by ecosystem. If vulnerabilities have been detected in the repository, these are shown at the top of the view for users with access to security alerts. + +![Dependencies graph](/assets/images/help/graphs/dependencies_graph_server.png) + +{% note %} + +**Note:** {% data variables.product.prodname_ghe_server %} does not populate the **Dependents** view. + +{% endnote %} + +{% endif %} + +{% if currentVersion == "free-pro-team@latest" %} +#### Dependents view + +For public repositories, the dependents view shows how the repository is used by other repositories. To show only the repositories that contain a library in a package manager, click **NUMBER Packages** immediately above the list of dependent repositories. The dependent counts are approximate and may not always match the dependents listed. + +![Dependents graph](/assets/images/help/graphs/dependents_graph.png) + +### Enabling and disabling the dependency graph for a private repository + +Repository administrators can enable or disable the dependency graph for private repositories. + +You can also enable or disable the dependency graph for all repositories owned by your user account or organization. For more information, see "[Managing security and analysis settings for your user account](/github/setting-up-and-managing-your-github-user-account/managing-security-and-analysis-settings-for-your-user-account)" or "[Managing security and analysis settings for your organization](/github/setting-up-and-managing-organizations-and-teams/managing-security-and-analysis-settings-for-your-organization)." + +{% data reusables.repositories.navigate-to-repo %} +{% data reusables.repositories.sidebar-settings %} +{% data reusables.repositories.navigate-to-security-and-analysis %} +4. Read the message about granting {% data variables.product.product_name %} read-only access to the repository data to enable the dependency graph, then next to "Dependency Graph", click **Enable**. + !["Enable" button for the dependency graph](/assets/images/help/repository/dependency-graph-enable-button.png) + +You can disable the dependency graph at any time by clicking **Disable** next to "Dependency Graph" on the Security & analysis tab. + +### Changing the "Used by" package + +If the dependency graph is enabled, and your repository contains a package that's published on a supported package ecosystem, {% data variables.product.prodname_dotcom %} displays a "Used by" section in the sidebar of the **Code** tab of your repository. For more information about the supported package ecosystems, see "[About the dependency graph](/github/visualizing-repository-data-with-graphs/about-the-dependency-graph#supported-package-ecosystems)." + +The "Used by" section shows the number of public references to the package that were found, and displays the avatars of some of the owners of the dependent projects. + +!["Used by" sidebar section](/assets/images/help/repository/used-by-section.png) + +Clicking any item in this section takes you to the **Dependents** tab of the dependency graph. + +The "Used by" section represents a single package from the repository. If you have admin permissions to a repository that contains multiple packages, you can choose which package the "Used by" section represents. + +{% data reusables.repositories.navigate-to-repo %} +{% data reusables.repositories.sidebar-settings %} +{% data reusables.repositories.navigate-to-security-and-analysis %} +4. Under "Configure security and analysis features", click the drop-down menu in the "Used by counter" section and choose a package. + ![Choose a "Used by" package](/assets/images/help/repository/choose-used-by-package.png) + +{% endif %} + +### Troubleshooting the dependency graph + +If your dependency graph is empty, there may be a problem with the file containing your dependencies. Check the file to ensure that it's correctly formatted for the file type. + +{% if currentVersion == "free-pro-team@latest" %} +If the file is correctly formatted, then check its size. The dependency graph ignores individual manifest and lock files that are over 0.5 Mb, unless you are a {% data variables.product.prodname_enterprise %} user. It processes up to 20 manifest or lock files per repository by default, so you can split dependencies into smaller files in subdirectories of the repository.{% endif %} + +If a manifest or lock file is not processed, its dependencies are omitted from the dependency graph and they can't be checked for vulnerable dependencies. + +### Further reading + +- "[About the dependency graph](/github/visualizing-repository-data-with-graphs/about-the-dependency-graph)"{% if currentVersion == "free-pro-team@latest" %} +- "[Viewing insights for your organization](/github/setting-up-and-managing-organizations-and-teams/viewing-insights-for-your-organization)" +- "[Viewing and updating vulnerable dependencies in your repository](/github/managing-security-vulnerabilities/viewing-and-updating-vulnerable-dependencies-in-your-repository)" +- "[Understanding how {% data variables.product.product_name %} uses and protects your data](/github/understanding-how-github-uses-and-protects-your-data)" +{% endif %} diff --git a/content/code-security/supply-chain-security/index.md b/content/code-security/supply-chain-security/index.md new file mode 100644 index 0000000000..d58854bcfe --- /dev/null +++ b/content/code-security/supply-chain-security/index.md @@ -0,0 +1,38 @@ +--- +title: Securing your software supply chain +shortTitle: Supply chain security +intro: 'Visualize, maintain, and secure the dependencies in your software supply chain.' +redirect_from: + - /categories/managing-security-vulnerabilities + - /github/managing-security-vulnerabilities +versions: + free-pro-team: '*' + enterprise-server: '>=3.0' +topics: + - security +--- + +### Table of Contents + +{% topic_link_in_list /understanding-your-software-supply-chain %} + {% link_in_list /about-the-dependency-graph %} + {% link_in_list /exploring-the-dependencies-of-a-repository %} +{% topic_link_in_list /keeping-your-dependencies-updated-automatically %} + {% link_in_list /about-dependabot-version-updates %} + {% link_in_list /enabling-and-disabling-version-updates %} + {% link_in_list /listing-dependencies-configured-for-version-updates %} + {% link_in_list /managing-pull-requests-for-dependency-updates %} + {% link_in_list /managing-encrypted-secrets-for-dependabot %} + {% link_in_list /customizing-dependency-updates %} + {% link_in_list /configuration-options-for-dependency-updates %} + {% link_in_list /keeping-your-actions-up-to-date-with-dependabot %} +{% topic_link_in_list /managing-vulnerabilities-in-your-projects-dependencies %} + {% link_in_list /about-managing-vulnerable-dependencies %} + {% link_in_list /browsing-security-vulnerabilities-in-the-github-advisory-database %} + {% link_in_list /about-alerts-for-vulnerable-dependencies %} + {% link_in_list /configuring-notifications-for-vulnerable-dependencies %} + {% link_in_list /about-dependabot-security-updates %} + {% link_in_list /configuring-dependabot-security-updates %} + {% link_in_list /viewing-and-updating-vulnerable-dependencies-in-your-repository %} + {% link_in_list /troubleshooting-the-detection-of-vulnerable-dependencies %} + {% link_in_list /troubleshooting-dependabot-errors %} diff --git a/content/github/administering-a-repository/keeping-your-actions-up-to-date-with-dependabot.md b/content/code-security/supply-chain-security/keeping-your-actions-up-to-date-with-dependabot.md similarity index 97% rename from content/github/administering-a-repository/keeping-your-actions-up-to-date-with-dependabot.md rename to content/code-security/supply-chain-security/keeping-your-actions-up-to-date-with-dependabot.md index 4e6c7b54b8..ebafb80bf1 100644 --- a/content/github/administering-a-repository/keeping-your-actions-up-to-date-with-dependabot.md +++ b/content/code-security/supply-chain-security/keeping-your-actions-up-to-date-with-dependabot.md @@ -3,8 +3,11 @@ title: Keeping your actions up to date with Dependabot intro: 'You can use {% data variables.product.prodname_dependabot %} to keep the actions you use updated to the latest versions.' redirect_from: - /github/administering-a-repository/keeping-your-actions-up-to-date-with-github-dependabot + - /github/administering-a-repository/keeping-your-actions-up-to-date-with-dependabot versions: free-pro-team: '*' +topics: + - repositories --- {% data reusables.dependabot.beta-note %} diff --git a/content/github/administering-a-repository/keeping-your-dependencies-updated-automatically.md b/content/code-security/supply-chain-security/keeping-your-dependencies-updated-automatically.md similarity index 64% rename from content/github/administering-a-repository/keeping-your-dependencies-updated-automatically.md rename to content/code-security/supply-chain-security/keeping-your-dependencies-updated-automatically.md index 3c6c79af15..10b7e9e41a 100644 --- a/content/github/administering-a-repository/keeping-your-dependencies-updated-automatically.md +++ b/content/code-security/supply-chain-security/keeping-your-dependencies-updated-automatically.md @@ -2,7 +2,11 @@ title: Keeping your dependencies updated automatically intro: '{% data variables.product.prodname_dependabot %} can maintain your repository''s dependencies automatically.' mapTopic: true +redirect_from: + - /github/administering-a-repository/keeping-your-dependencies-updated-automatically versions: free-pro-team: '*' +topics: + - repositories --- diff --git a/content/github/administering-a-repository/listing-dependencies-configured-for-version-updates.md b/content/code-security/supply-chain-security/listing-dependencies-configured-for-version-updates.md similarity index 93% rename from content/github/administering-a-repository/listing-dependencies-configured-for-version-updates.md rename to content/code-security/supply-chain-security/listing-dependencies-configured-for-version-updates.md index 19a0c93aee..ee34385d25 100644 --- a/content/github/administering-a-repository/listing-dependencies-configured-for-version-updates.md +++ b/content/code-security/supply-chain-security/listing-dependencies-configured-for-version-updates.md @@ -1,8 +1,12 @@ --- title: Listing dependencies configured for version updates intro: 'You can view the dependencies that {% data variables.product.prodname_dependabot %} monitors for updates.' +redirect_from: + - /github/administering-a-repository/listing-dependencies-configured-for-version-updates versions: free-pro-team: '*' +topics: + - repositories --- {% data reusables.dependabot.beta-note %} diff --git a/content/code-security/supply-chain-security/managing-encrypted-secrets-for-dependabot.md b/content/code-security/supply-chain-security/managing-encrypted-secrets-for-dependabot.md new file mode 100644 index 0000000000..aaa941f169 --- /dev/null +++ b/content/code-security/supply-chain-security/managing-encrypted-secrets-for-dependabot.md @@ -0,0 +1,74 @@ +--- +title: Managing encrypted secrets for Dependabot +intro: You can store sensitive information, like passwords and access tokens, as encrypted secrets and then reference these in the {% data variables.product.prodname_dependabot %} configuration file. +redirect_from: + - /github/administering-a-repository/managing-encrypted-secrets-for-dependabot +versions: + free-pro-team: '*' +--- + +### About encrypted secrets for {% data variables.product.prodname_dependabot %} + +{% data variables.product.prodname_dependabot %} secrets are encrypted credentials that you create at either the organization level or the repository level. +When you add a secret at the organization level, you can specify which repositories can access the secret. You can use secrets to allow {% data variables.product.prodname_dependabot %} to update dependencies located in private package registries. When you add a secret it's encrypted before it reaches {% data variables.product.prodname_dotcom %} and it remains encrypted until it's used by {% data variables.product.prodname_dependabot %} to access a private package registry. + +After you add a {% data variables.product.prodname_dependabot %} secret, you can reference it in the _dependabot.yml_ configuration file like this: {% raw %}`${{secrets.NAME}}`{% endraw %}, where "NAME" is the name you chose for the secret. For example: + +{% raw %} +```yaml +password: ${{secrets.MY_ARTIFACTORY_PASSWORD}} +``` +{% endraw %} + +For more information, see "[Configuration options for dependency updates](/github/administering-a-repository/configuration-options-for-dependency-updates#configuration-options-for-private-registries)." + +#### Naming your secrets + +The name of a {% data variables.product.prodname_dependabot %} secret: +* Can only contain alphanumeric characters (`[A-Z]`, `[0-9]`) or underscores (`_`). Spaces are not allowed. If you enter lowercase letters these are changed to uppercase. +* Must not start with the `GITHUB_` prefix. +* Must not start with a number. + +### Adding a repository secret for {% data variables.product.prodname_dependabot %} + +{% data reusables.github-actions.permissions-statement-secrets-repository %} + +{% data reusables.repositories.navigate-to-repo %} +{% data reusables.repositories.sidebar-settings %} +{% data reusables.github-actions.sidebar-secret %} +{% data reusables.dependabot.dependabot-secrets-button %} +1. Click **New repository secret**. +1. Type a name for your secret in the **Name** input box. +1. Enter the value for your secret. +1. Click **Add secret**. + + The name of the secret is listed on the Dependabot secrets page. You can click **Update** to change the secret value. You can click **Remove** to delete the secret. + + ![Update or remove a repository secret](/assets/images/help/dependabot/update-remove-repo-secret.png) + +### Adding an organization secret for {% data variables.product.prodname_dependabot %} + +When creating a secret in an organization, you can use a policy to limit which repositories can access that secret. For example, you can grant access to all repositories, or limit access to only private repositories or a specified list of repositories. + +{% data reusables.github-actions.permissions-statement-secrets-organization %} + +{% data reusables.organizations.navigate-to-org %} +{% data reusables.organizations.org_settings %} +{% data reusables.github-actions.sidebar-secret %} +{% data reusables.dependabot.dependabot-secrets-button %} +1. Click **New organization secret**. +1. Type a name for your secret in the **Name** input box. +1. Enter the **Value** for your secret. +1. From the **Repository access** dropdown list, choose an access policy. +1. If you chose **Selected repositories**: + + * Click {% octicon "gear" aria-label="The Gear icon" %}. + * Choose the repositories that can access this secret. + ![Select repositories for this secret](/assets/images/help/dependabot/secret-repository-access.png) + * Click **Update selection**. + +1. Click **Add secret**. + + The name of the secret is listed on the Dependabot secrets page. You can click **Update** to change the secret value or its access policy. You can click **Remove** to delete the secret. + + ![Update or remove an organization secret](/assets/images/help/dependabot/update-remove-repo-secret.png) diff --git a/content/github/administering-a-repository/managing-pull-requests-for-dependency-updates.md b/content/code-security/supply-chain-security/managing-pull-requests-for-dependency-updates.md similarity index 96% rename from content/github/administering-a-repository/managing-pull-requests-for-dependency-updates.md rename to content/code-security/supply-chain-security/managing-pull-requests-for-dependency-updates.md index ebe089535a..899d763033 100644 --- a/content/github/administering-a-repository/managing-pull-requests-for-dependency-updates.md +++ b/content/code-security/supply-chain-security/managing-pull-requests-for-dependency-updates.md @@ -1,8 +1,12 @@ --- title: Managing pull requests for dependency updates intro: 'You manage pull requests raised by {% data variables.product.prodname_dependabot %} in much the same way as other pull requests, but there are some extra options.' +redirect_from: + - /github/administering-a-repository/managing-pull-requests-for-dependency-updates versions: free-pro-team: '*' +topics: + - repositories --- {% data reusables.dependabot.beta-note %} diff --git a/content/code-security/supply-chain-security/managing-vulnerabilities-in-your-projects-dependencies.md b/content/code-security/supply-chain-security/managing-vulnerabilities-in-your-projects-dependencies.md new file mode 100644 index 0000000000..bd2df41db0 --- /dev/null +++ b/content/code-security/supply-chain-security/managing-vulnerabilities-in-your-projects-dependencies.md @@ -0,0 +1,15 @@ +--- +title: Managing vulnerabilities in your project's dependencies +intro: 'You can track your repository''s dependencies and receive {% if currentVersion == "free-pro-team@latest" or currentVersion ver_gt "enterprise-server@2.21" %}{% data variables.product.prodname_dependabot_alerts %}{% else %}security alerts{% endif %} when {% data variables.product.product_name %} detects vulnerable dependencies.' +mapTopic: true +redirect_from: + - /articles/updating-your-project-s-dependencies/ + - /articles/updating-your-projects-dependencies/ + - /articles/managing-security-vulnerabilities-in-your-projects-dependencies/ + - /articles/managing-vulnerabilities-in-your-projects-dependencies + - /github/managing-security-vulnerabilities/managing-vulnerabilities-in-your-projects-dependencies +versions: + free-pro-team: '*' + enterprise-server: '>=3.0' +--- + diff --git a/content/github/managing-security-vulnerabilities/troubleshooting-dependabot-errors.md b/content/code-security/supply-chain-security/troubleshooting-dependabot-errors.md similarity index 92% rename from content/github/managing-security-vulnerabilities/troubleshooting-dependabot-errors.md rename to content/code-security/supply-chain-security/troubleshooting-dependabot-errors.md index 5d9f2b85c4..3b794605c7 100644 --- a/content/github/managing-security-vulnerabilities/troubleshooting-dependabot-errors.md +++ b/content/code-security/supply-chain-security/troubleshooting-dependabot-errors.md @@ -4,8 +4,11 @@ intro: 'Sometimes {% data variables.product.prodname_dependabot %} is unable to shortTitle: Troubleshooting errors redirect_from: - /github/managing-security-vulnerabilities/troubleshooting-github-dependabot-errors + - /github/managing-security-vulnerabilities/troubleshooting-dependabot-errors versions: free-pro-team: '*' +topics: + - security --- {% data reusables.dependabot.beta-note %} @@ -76,9 +79,20 @@ There are separate limits for security and version update pull requests, so that The best way to resolve this error is to merge or close some of the existing pull requests and trigger a new pull request manually. For more information, see "[Triggering a {% data variables.product.prodname_dependabot %} pull request manually](#triggering-a-dependabot-pull-request-manually)." -#### {% data variables.product.prodname_dependabot %} can't resolve your dependency files +#### {% data variables.product.prodname_dependabot %} can't resolve or access your dependencies -If {% data variables.product.prodname_dependabot %} attempts to check whether dependency references need to be updated in a repository, but can't access one or more of the referenced files, the operation will fail with the error message "{% data variables.product.prodname_dependabot %} can't resolve your LANGUAGE dependency files." The API error type is `git_dependencies_not_reachable`. +If {% data variables.product.prodname_dependabot %} attempts to check whether dependency references need to be updated in a repository, but can't access one or more of the referenced files, the operation will fail with the error message "{% data variables.product.prodname_dependabot %} can't resolve your LANGUAGE dependency files." The API error type is `git_dependencies_not_reachable`. + +Similarly, if {% data variables.product.prodname_dependabot %} can't access a private package registry in which a dependency is located, one of the following errors is generated: + +* "Dependabot can't reach a dependency in a private package registry"
+ (API error type: `private_source_not_reachable`) +* "Dependabot can't authenticate to a private package registry"
+ (API error type:`private_source_authentication_failure`) +* "Dependabot timed out while waiting for a private package registry"
+ (API error type:`private_source_timed_out`) +* "Dependabot couldn't validate the certificate for a private package registry"
+ (API error type:`private_source_certificate_failure`) To allow {% data variables.product.prodname_dependabot %} to update the dependency references successfully, make sure that all of the referenced dependencies are hosted at accessible locations. diff --git a/content/github/managing-security-vulnerabilities/troubleshooting-the-detection-of-vulnerable-dependencies.md b/content/code-security/supply-chain-security/troubleshooting-the-detection-of-vulnerable-dependencies.md similarity index 97% rename from content/github/managing-security-vulnerabilities/troubleshooting-the-detection-of-vulnerable-dependencies.md rename to content/code-security/supply-chain-security/troubleshooting-the-detection-of-vulnerable-dependencies.md index ce6fe1bc8e..3d36b39b88 100644 --- a/content/github/managing-security-vulnerabilities/troubleshooting-the-detection-of-vulnerable-dependencies.md +++ b/content/code-security/supply-chain-security/troubleshooting-the-detection-of-vulnerable-dependencies.md @@ -2,8 +2,12 @@ title: Troubleshooting the detection of vulnerable dependencies intro: 'If the dependency information reported by {% data variables.product.product_name %} is not what you expected, there are a number of points to consider, and various things you can check.' shortTitle: Troubleshooting detection +redirect_from: + - /github/managing-security-vulnerabilities/troubleshooting-the-detection-of-vulnerable-dependencies versions: free-pro-team: '*' +topics: + - security --- The results of dependency detection reported by {% data variables.product.product_name %} may be different from the results returned by other tools. There are good reasons for this and it's helpful to understand how {% data variables.product.prodname_dotcom %} determines dependencies for your project. @@ -14,7 +18,7 @@ The results of dependency detection reported by {% data variables.product.produc * {% data variables.product.prodname_advisory_database %} is one of the data sources that {% data variables.product.prodname_dotcom %} uses to identify vulnerable dependencies. It's a free, curated database of vulnerability information for common package ecosystems on {% data variables.product.prodname_dotcom %}. It includes both data reported directly to {% data variables.product.prodname_dotcom %} from {% data variables.product.prodname_security_advisories %}, as well as official feeds and community sources. This data is reviewed and curated by {% data variables.product.prodname_dotcom %} to ensure that false or unactionable information is not shared with the development community. For more information, see "[Browsing security vulnerabilities in the {% data variables.product.prodname_advisory_database %}](/github/managing-security-vulnerabilities/browsing-security-vulnerabilities-in-the-github-advisory-database)" and "[About {% data variables.product.prodname_security_advisories %}](/github/managing-security-vulnerabilities/about-github-security-advisories)." * The dependency graph parses all known package manifest files in a user’s repository. For example, for npm it will parse the _package-lock.json_ file. It constructs a graph of all of the repository’s dependencies and public dependents. This happens when you enable the dependency graph and when anyone pushes to the default branch, and it includes commits that makes changes to a supported manifest format. For more information, see "[About the dependency graph](/github/visualizing-repository-data-with-graphs/about-the-dependency-graph)." -* {% data variables.product.prodname_dependabot %} scans any push, to the default branch, that contains a manifest file. When a new vulnerability record is added, it scans all existing repositories and generates an alert for each vulnerable repository. {% data variables.product.prodname_dependabot_alerts %} are aggregated at the repository level, rather than creating one alert per vulnerability. For more information, see "[About alerts for vulnerable dependencies](/github/managing-security-vulnerabilities/about-alerts-for-vulnerable-dependencies)." +* {% data variables.product.prodname_dependabot %} scans any push, to the default branch, that contains a manifest file. When a new vulnerability record is added, it scans all existing repositories and generates an alert for each vulnerable repository. {% data variables.product.prodname_dependabot_alerts %} are aggregated at the repository level, rather than creating one alert per vulnerability. For more information, see "[About alerts for vulnerable dependencies](/code-security/supply-chain-security/about-alerts-for-vulnerable-dependencies)." * {% data variables.product.prodname_dependabot_security_updates %} are triggered when you receive an alert about a vulnerable dependency in your repository. Where possible, {% data variables.product.prodname_dependabot %} creates a pull request in your repository to upgrade the vulnerable dependency to the minimum possible secure version needed to avoid the vulnerability. For more information, see "[About {% data variables.product.prodname_dependabot_security_updates %}](/github/managing-security-vulnerabilities/about-dependabot-security-updates)" and "[Troubleshooting {% data variables.product.prodname_dependabot %} errors](/github/managing-security-vulnerabilities/troubleshooting-dependabot-errors)." {% data variables.product.prodname_dependabot %} doesn't scan repositories for vulnerable dependencies on a schedule, but rather when something changes. For example, a scan is triggered when a new dependency is added ({% data variables.product.prodname_dotcom %} checks for this on every push), or when a new vulnerability is discovered and added to the advisory database. @@ -95,7 +99,7 @@ When you click to display the alert details, you can see how many vulnerabilitie ### Further reading -- "[About alerts for vulnerable dependencies](/github/managing-security-vulnerabilities/about-alerts-for-vulnerable-dependencies)" +- "[About alerts for vulnerable dependencies](/code-security/supply-chain-security/about-alerts-for-vulnerable-dependencies)" - "[Viewing and updating vulnerable dependencies in your repository](/github/managing-security-vulnerabilities/viewing-and-updating-vulnerable-dependencies-in-your-repository)" - "[Managing security and analysis settings for your repository](/github/administering-a-repository/managing-security-and-analysis-settings-for-your-repository)" - "[Troubleshooting {% data variables.product.prodname_dependabot %} errors](/github/managing-security-vulnerabilities/troubleshooting-dependabot-errors)" diff --git a/content/code-security/supply-chain-security/understanding-your-software-supply-chain.md b/content/code-security/supply-chain-security/understanding-your-software-supply-chain.md new file mode 100644 index 0000000000..a9faca223c --- /dev/null +++ b/content/code-security/supply-chain-security/understanding-your-software-supply-chain.md @@ -0,0 +1,12 @@ +--- +title: Understanding your software supply chain +mapTopic: true +versions: + free-pro-team: '*' + enterprise-server: '>=3.0' +--- + +### Table of Contents + +{% link_in_list /about-the-dependency-graph %} +{% link_in_list /exploring-the-dependencies-of-a-repository %} \ No newline at end of file diff --git a/content/github/managing-security-vulnerabilities/viewing-and-updating-vulnerable-dependencies-in-your-repository.md b/content/code-security/supply-chain-security/viewing-and-updating-vulnerable-dependencies-in-your-repository.md similarity index 92% rename from content/github/managing-security-vulnerabilities/viewing-and-updating-vulnerable-dependencies-in-your-repository.md rename to content/code-security/supply-chain-security/viewing-and-updating-vulnerable-dependencies-in-your-repository.md index 532fddecb5..a7d607aaea 100644 --- a/content/github/managing-security-vulnerabilities/viewing-and-updating-vulnerable-dependencies-in-your-repository.md +++ b/content/code-security/supply-chain-security/viewing-and-updating-vulnerable-dependencies-in-your-repository.md @@ -3,12 +3,15 @@ title: Viewing and updating vulnerable dependencies in your repository intro: 'If {% data variables.product.product_name %} discovers vulnerable dependencies in your project, you can view them on the Dependabot alerts tab of your repository. Then, you can update your project to resolve or dismiss the vulnerability.' redirect_from: - /articles/viewing-and-updating-vulnerable-dependencies-in-your-repository + - /github/managing-security-vulnerabilities/viewing-and-updating-vulnerable-dependencies-in-your-repository permissions: Repository administrators and organization owners can view and update dependencies. shortTitle: Viewing and updating vulnerable dependencies versions: free-pro-team: '*' +topics: + - security --- -Your repository's {% data variables.product.prodname_dependabot %} alerts tab lists all open and closed {% data variables.product.prodname_dependabot_alerts %} and corresponding {% data variables.product.prodname_dependabot_security_updates %}. You can sort the list of alerts using the drop-down menu, and you can click into specific alerts for more details. For more information, see "[About alerts for vulnerable dependencies](/github/managing-security-vulnerabilities/about-alerts-for-vulnerable-dependencies)." +Your repository's {% data variables.product.prodname_dependabot %} alerts tab lists all open and closed {% data variables.product.prodname_dependabot_alerts %} and corresponding {% data variables.product.prodname_dependabot_security_updates %}. You can sort the list of alerts using the drop-down menu, and you can click into specific alerts for more details. For more information, see "[About alerts for vulnerable dependencies](/code-security/supply-chain-security/about-alerts-for-vulnerable-dependencies)." You can enable automatic security updates for any repository that uses {% data variables.product.prodname_dependabot_alerts %} and the dependency graph. For more information, see "[About {% data variables.product.prodname_dependabot_security_updates %}](/github/managing-security-vulnerabilities/about-dependabot-security-updates)." @@ -34,7 +37,7 @@ You can enable automatic security updates for any repository that uses {% data v ### Further reading -- "[About alerts for vulnerable dependencies](/github/managing-security-vulnerabilities/about-alerts-for-vulnerable-dependencies)" +- "[About alerts for vulnerable dependencies](/code-security/supply-chain-security/about-alerts-for-vulnerable-dependencies)" - "[Configuring {% data variables.product.prodname_dependabot_security_updates %}](/github/managing-security-vulnerabilities/configuring-dependabot-security-updates)" - "[Managing security and analysis settings for your repository](/github/administering-a-repository/managing-security-and-analysis-settings-for-your-repository)" - "[Troubleshooting the detection of vulnerable dependencies](/github/managing-security-vulnerabilities/troubleshooting-the-detection-of-vulnerable-dependencies)" diff --git a/content/developers/apps/about-apps.md b/content/developers/apps/about-apps.md index fff85efbab..bf3f30d2eb 100644 --- a/content/developers/apps/about-apps.md +++ b/content/developers/apps/about-apps.md @@ -10,11 +10,13 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - github apps --- Apps on {% data variables.product.prodname_dotcom %} allow you to automate and improve your workflow. You can build apps to improve your workflow.{% if currentVersion == "free-pro-team@latest" %} You can also share or sell apps in [{% data variables.product.prodname_marketplace %}](https://github.com/marketplace). To learn how to list an app on {% data variables.product.prodname_marketplace %}, see "[Getting started with GitHub Marketplace](/marketplace/getting-started/)."{% endif %} -{% data reusables.marketplace.github_apps_preferred %}, but GitHub supports both {% data variables.product.prodname_oauth_app %}s and {% data variables.product.prodname_github_apps %}. For information on choosing a type of app, see "[About apps](/apps/about-apps/)" and "[Differences between apps](/apps/differences-between-apps/)." +{% data reusables.marketplace.github_apps_preferred %}, but GitHub supports both {% data variables.product.prodname_oauth_app %}s and {% data variables.product.prodname_github_apps %}. For information on choosing a type of app, see "[Differences between GitHub Apps and OAuth Apps](/developers/apps/differences-between-github-apps-and-oauth-apps)." {% data reusables.apps.general-apps-restrictions %} diff --git a/content/developers/apps/activating-optional-features-for-apps.md b/content/developers/apps/activating-optional-features-for-apps.md index ef5f534d5b..79ef3adf87 100644 --- a/content/developers/apps/activating-optional-features-for-apps.md +++ b/content/developers/apps/activating-optional-features-for-apps.md @@ -7,6 +7,8 @@ versions: free-pro-team: '*' github-ae: '*' enterprise-server: '>=2.22' +topics: + - github apps --- {% warning %} diff --git a/content/developers/apps/authenticating-with-github-apps.md b/content/developers/apps/authenticating-with-github-apps.md index 45b446f810..46ab929b32 100644 --- a/content/developers/apps/authenticating-with-github-apps.md +++ b/content/developers/apps/authenticating-with-github-apps.md @@ -9,6 +9,8 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - github apps --- {% if enterpriseServerVersions contains currentVersion and currentVersion ver_lt "enterprise-server@2.22" %} @@ -77,8 +79,8 @@ private_key = OpenSSL::PKey::RSA.new(private_pem) # Generate the JWT payload = { - # issued at time - iat: Time.now.to_i, + # issued at time, 60 seconds in the past to allow for clock drift + iat: Time.now.to_i - 60, # JWT expiration time (10 minute maximum) exp: Time.now.to_i + (10 * 60), # {% data variables.product.prodname_github_app %}'s identifier diff --git a/content/developers/apps/authorizing-oauth-apps.md b/content/developers/apps/authorizing-oauth-apps.md index 4a9ab098cc..cbf94e9bae 100644 --- a/content/developers/apps/authorizing-oauth-apps.md +++ b/content/developers/apps/authorizing-oauth-apps.md @@ -12,6 +12,8 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - oauth apps --- {% data variables.product.product_name %}'s OAuth implementation supports the standard [authorization code grant type](https://tools.ietf.org/html/rfc6749#section-4.1){% if currentVersion == "free-pro-team@latest" or currentVersion ver_gt "enterprise-server@2.21" or currentVersion == "github-ae@latest" %} and the OAuth 2.0 [Device Authorization Grant](https://tools.ietf.org/html/rfc8628) for apps that don't have access to a web browser{% endif %}. diff --git a/content/developers/apps/building-github-apps.md b/content/developers/apps/building-github-apps.md index 91bb4479af..8c79f00995 100644 --- a/content/developers/apps/building-github-apps.md +++ b/content/developers/apps/building-github-apps.md @@ -9,5 +9,7 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - github apps --- diff --git a/content/developers/apps/building-oauth-apps.md b/content/developers/apps/building-oauth-apps.md index ccedbd6267..16fbbbf523 100644 --- a/content/developers/apps/building-oauth-apps.md +++ b/content/developers/apps/building-oauth-apps.md @@ -9,5 +9,6 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - oauth apps --- - diff --git a/content/developers/apps/creating-a-custom-badge-for-your-github-app.md b/content/developers/apps/creating-a-custom-badge-for-your-github-app.md index c39b720c26..2f26017f1c 100644 --- a/content/developers/apps/creating-a-custom-badge-for-your-github-app.md +++ b/content/developers/apps/creating-a-custom-badge-for-your-github-app.md @@ -7,6 +7,8 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - github apps --- By default, a new GitHub App will have an automatically generated [identicon](https://github.com/blog/1586-identicons). diff --git a/content/developers/apps/creating-a-custom-badge-for-your-oauth-app.md b/content/developers/apps/creating-a-custom-badge-for-your-oauth-app.md index 9945833d00..f39207563e 100644 --- a/content/developers/apps/creating-a-custom-badge-for-your-oauth-app.md +++ b/content/developers/apps/creating-a-custom-badge-for-your-oauth-app.md @@ -7,6 +7,8 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - oauth apps --- By default, a new OAuth App will have an automatically generated [identicon](https://github.com/blog/1586-identicons). diff --git a/content/developers/apps/creating-a-github-app-from-a-manifest.md b/content/developers/apps/creating-a-github-app-from-a-manifest.md index 7c18a8b460..22c65eacfa 100644 --- a/content/developers/apps/creating-a-github-app-from-a-manifest.md +++ b/content/developers/apps/creating-a-github-app-from-a-manifest.md @@ -7,6 +7,8 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - github apps --- diff --git a/content/developers/apps/creating-a-github-app-using-url-parameters.md b/content/developers/apps/creating-a-github-app-using-url-parameters.md index 99d0f03a93..9c8bc8a372 100644 --- a/content/developers/apps/creating-a-github-app-using-url-parameters.md +++ b/content/developers/apps/creating-a-github-app-using-url-parameters.md @@ -7,6 +7,8 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - github apps --- @@ -80,7 +82,7 @@ Permission | Description [`starring`](/rest/reference/permissions-required-for-github-apps/#permission-on-starring) | Grants access to the [Starring API](/rest/reference/activity#starring). Can be one of: `none`, `read`, or `write`. [`statuses`](/rest/reference/permissions-required-for-github-apps/#permission-on-statuses) | Grants access to the [Statuses API](/rest/reference/repos#statuses). Can be one of: `none`, `read`, or `write`. [`team_discussions`](/rest/reference/permissions-required-for-github-apps/#permission-on-team-discussions) | Grants access to the [Team Discussions API](/rest/reference/teams#discussions) and the [Team Discussion Comments API](/rest/reference/teams#discussion-comments). Can be one of: `none`, `read`, or `write`.{% if currentVersion == "free-pro-team@latest" or currentVersion ver_gt "enterprise-server@1.19" %} -`vulnerability_alerts`| Grants access to receive security alerts for vulnerable dependencies in a repository. See "[About security alerts for vulnerable dependencies](/articles/about-security-alerts-for-vulnerable-dependencies)" to learn more. Can be one of: `none` or `read`.{% endif %} +`vulnerability_alerts`| Grants access to receive security alerts for vulnerable dependencies in a repository. See "[About alerts for vulnerable dependencies](/github/managing-security-vulnerabilities/about-alerts-for-vulnerable-dependencies/)" to learn more. Can be one of: `none` or `read`.{% endif %} `watching` | Grants access to list and change repositories a user is subscribed to. Can be one of: `none`, `read`, or `write`. ### {% data variables.product.prodname_github_app %} webhook events diff --git a/content/developers/apps/creating-a-github-app.md b/content/developers/apps/creating-a-github-app.md index cae49a410a..63b95c7eae 100644 --- a/content/developers/apps/creating-a-github-app.md +++ b/content/developers/apps/creating-a-github-app.md @@ -9,6 +9,8 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - github apps --- {% if currentVersion == "free-pro-team@latest" %}To learn how to use GitHub App Manifests, which allow people to create preconfigured GitHub Apps, see "[Creating GitHub Apps from a manifest](/apps/building-github-apps/creating-github-apps-from-a-manifest/)."{% endif %} diff --git a/content/developers/apps/creating-an-oauth-app.md b/content/developers/apps/creating-an-oauth-app.md index c885dc2134..0340b236ef 100644 --- a/content/developers/apps/creating-an-oauth-app.md +++ b/content/developers/apps/creating-an-oauth-app.md @@ -8,6 +8,8 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - oauth apps --- {% if currentVersion == "free-pro-team@latest" %} diff --git a/content/developers/apps/creating-ci-tests-with-the-checks-api.md b/content/developers/apps/creating-ci-tests-with-the-checks-api.md index e964e7b055..8d8bd1e520 100644 --- a/content/developers/apps/creating-ci-tests-with-the-checks-api.md +++ b/content/developers/apps/creating-ci-tests-with-the-checks-api.md @@ -7,6 +7,8 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - github apps --- diff --git a/content/developers/apps/deleting-a-github-app.md b/content/developers/apps/deleting-a-github-app.md index 6c32b8f7f9..7c40c0b61d 100644 --- a/content/developers/apps/deleting-a-github-app.md +++ b/content/developers/apps/deleting-a-github-app.md @@ -8,6 +8,8 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - github apps --- {% data reusables.user-settings.access_settings %} diff --git a/content/developers/apps/deleting-an-oauth-app.md b/content/developers/apps/deleting-an-oauth-app.md index cdf87e56e0..75eb74ad1a 100644 --- a/content/developers/apps/deleting-an-oauth-app.md +++ b/content/developers/apps/deleting-an-oauth-app.md @@ -8,6 +8,8 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - oauth apps --- {% data reusables.user-settings.access_settings %} diff --git a/content/developers/apps/differences-between-github-apps-and-oauth-apps.md b/content/developers/apps/differences-between-github-apps-and-oauth-apps.md index 091642a8f7..c1c8b1c125 100644 --- a/content/developers/apps/differences-between-github-apps-and-oauth-apps.md +++ b/content/developers/apps/differences-between-github-apps-and-oauth-apps.md @@ -9,6 +9,9 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - github apps + - oauth apps --- ### Who can install GitHub Apps and authorize OAuth Apps? diff --git a/content/developers/apps/editing-a-github-apps-permissions.md b/content/developers/apps/editing-a-github-apps-permissions.md index d57db219a1..62ec4ae5c0 100644 --- a/content/developers/apps/editing-a-github-apps-permissions.md +++ b/content/developers/apps/editing-a-github-apps-permissions.md @@ -8,6 +8,8 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - github apps --- {% note %} diff --git a/content/developers/apps/getting-started-with-apps.md b/content/developers/apps/getting-started-with-apps.md index d6bc3d7a0f..46aa599b97 100644 --- a/content/developers/apps/getting-started-with-apps.md +++ b/content/developers/apps/getting-started-with-apps.md @@ -6,5 +6,7 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - github apps --- diff --git a/content/developers/apps/guides.md b/content/developers/apps/guides.md index 1e90f02406..125c0f5c42 100644 --- a/content/developers/apps/guides.md +++ b/content/developers/apps/guides.md @@ -8,5 +8,7 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - github apps --- diff --git a/content/developers/apps/identifying-and-authorizing-users-for-github-apps.md b/content/developers/apps/identifying-and-authorizing-users-for-github-apps.md index 0c27bda883..6f235d3ca0 100644 --- a/content/developers/apps/identifying-and-authorizing-users-for-github-apps.md +++ b/content/developers/apps/identifying-and-authorizing-users-for-github-apps.md @@ -9,6 +9,8 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - github apps --- diff --git a/content/developers/apps/index.md b/content/developers/apps/index.md index e384433f90..5dab758c53 100644 --- a/content/developers/apps/index.md +++ b/content/developers/apps/index.md @@ -13,6 +13,8 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - github apps --- {% topic_link_in_list /getting-started-with-apps %} diff --git a/content/developers/apps/installing-github-apps.md b/content/developers/apps/installing-github-apps.md index c997ded78a..59215beea0 100644 --- a/content/developers/apps/installing-github-apps.md +++ b/content/developers/apps/installing-github-apps.md @@ -7,6 +7,8 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - github apps --- {% note %} diff --git a/content/developers/apps/making-a-github-app-public-or-private.md b/content/developers/apps/making-a-github-app-public-or-private.md index 036d3d589d..37f0bee15c 100644 --- a/content/developers/apps/making-a-github-app-public-or-private.md +++ b/content/developers/apps/making-a-github-app-public-or-private.md @@ -11,6 +11,8 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - github apps --- For authentication information, see "[Authenticating with GitHub Apps](/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-an-installation)." diff --git a/content/developers/apps/managing-github-apps.md b/content/developers/apps/managing-github-apps.md index fb3b9c3934..0bab3a14a5 100644 --- a/content/developers/apps/managing-github-apps.md +++ b/content/developers/apps/managing-github-apps.md @@ -9,5 +9,7 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - github apps --- diff --git a/content/developers/apps/managing-oauth-apps.md b/content/developers/apps/managing-oauth-apps.md index e1bf769ded..18cb006f91 100644 --- a/content/developers/apps/managing-oauth-apps.md +++ b/content/developers/apps/managing-oauth-apps.md @@ -9,5 +9,6 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - oauth apps --- - diff --git a/content/developers/apps/migrating-oauth-apps-to-github-apps.md b/content/developers/apps/migrating-oauth-apps-to-github-apps.md index 21fbe532f2..eedbac7a4c 100644 --- a/content/developers/apps/migrating-oauth-apps-to-github-apps.md +++ b/content/developers/apps/migrating-oauth-apps-to-github-apps.md @@ -7,6 +7,8 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - github apps --- diff --git a/content/developers/apps/modifying-a-github-app.md b/content/developers/apps/modifying-a-github-app.md index 47392e13f0..39278961f9 100644 --- a/content/developers/apps/modifying-a-github-app.md +++ b/content/developers/apps/modifying-a-github-app.md @@ -8,6 +8,8 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - github apps --- {% data reusables.user-settings.access_settings %} diff --git a/content/developers/apps/modifying-an-oauth-app.md b/content/developers/apps/modifying-an-oauth-app.md index 73beec3337..7b15a86e19 100644 --- a/content/developers/apps/modifying-an-oauth-app.md +++ b/content/developers/apps/modifying-an-oauth-app.md @@ -8,6 +8,8 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - oauth apps --- {% data reusables.user-settings.access_settings %} diff --git a/content/developers/apps/rate-limits-for-github-apps.md b/content/developers/apps/rate-limits-for-github-apps.md index 31607e2e14..2451916675 100644 --- a/content/developers/apps/rate-limits-for-github-apps.md +++ b/content/developers/apps/rate-limits-for-github-apps.md @@ -10,6 +10,8 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - github apps --- ### Server-to-server requests diff --git a/content/developers/apps/refreshing-user-to-server-access-tokens.md b/content/developers/apps/refreshing-user-to-server-access-tokens.md index 3a21601f34..ca66b82b31 100644 --- a/content/developers/apps/refreshing-user-to-server-access-tokens.md +++ b/content/developers/apps/refreshing-user-to-server-access-tokens.md @@ -7,6 +7,8 @@ versions: free-pro-team: '*' enterprise-server: '>=2.22' github-ae: '*' +topics: + - github apps --- diff --git a/content/developers/apps/scopes-for-oauth-apps.md b/content/developers/apps/scopes-for-oauth-apps.md index 366efeb18b..db6e245649 100644 --- a/content/developers/apps/scopes-for-oauth-apps.md +++ b/content/developers/apps/scopes-for-oauth-apps.md @@ -9,6 +9,8 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - oauth apps --- When setting up an OAuth App on GitHub, requested scopes are displayed to the user on the authorization form. diff --git a/content/developers/apps/setting-permissions-for-github-apps.md b/content/developers/apps/setting-permissions-for-github-apps.md index 547f445758..4d9c1fb557 100644 --- a/content/developers/apps/setting-permissions-for-github-apps.md +++ b/content/developers/apps/setting-permissions-for-github-apps.md @@ -9,6 +9,8 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - github apps --- GitHub Apps don't have any permissions by default. When you create a GitHub App, you can select the permissions it needs to access end user data. Permissions can also be added and removed. For more information, see "[Editing a GitHub App's permissions](/apps/managing-github-apps/editing-a-github-app-s-permissions/)." diff --git a/content/developers/apps/setting-up-your-development-environment-to-create-a-github-app.md b/content/developers/apps/setting-up-your-development-environment-to-create-a-github-app.md index 77e232da09..6e4d57a597 100644 --- a/content/developers/apps/setting-up-your-development-environment-to-create-a-github-app.md +++ b/content/developers/apps/setting-up-your-development-environment-to-create-a-github-app.md @@ -7,6 +7,8 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - github apps --- @@ -151,7 +153,7 @@ You need to add these variables to the `.env` file: Here is an example `.env` file: ``` -PRIVATE_KEY="-----BEGIN RSA PRIVATE KEY----- +GITHUB_PRIVATE_KEY="-----BEGIN RSA PRIVATE KEY----- ... HkVN9... ... @@ -402,7 +404,7 @@ Here are a few common problems and some suggested solutions. If you run into any **A:** You probably haven't set up your private key environment variable quite right. Your `GITHUB_PRIVATE_KEY` variable should look like this: ``` - PRIVATE_KEY="-----BEGIN RSA PRIVATE KEY----- + GITHUB_PRIVATE_KEY="-----BEGIN RSA PRIVATE KEY----- ... HkVN9... ... diff --git a/content/developers/apps/suspending-a-github-app-installation.md b/content/developers/apps/suspending-a-github-app-installation.md index 8ec4ca2e06..a619a27810 100644 --- a/content/developers/apps/suspending-a-github-app-installation.md +++ b/content/developers/apps/suspending-a-github-app-installation.md @@ -7,6 +7,8 @@ versions: free-pro-team: '*' enterprise-server: '>=2.22' github-ae: '*' +topics: + - github apps --- ### Suspending a GitHub App diff --git a/content/developers/apps/transferring-ownership-of-a-github-app.md b/content/developers/apps/transferring-ownership-of-a-github-app.md index 118908599d..0d9f093edf 100644 --- a/content/developers/apps/transferring-ownership-of-a-github-app.md +++ b/content/developers/apps/transferring-ownership-of-a-github-app.md @@ -8,6 +8,8 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - github apps --- {% data reusables.user-settings.access_settings %} diff --git a/content/developers/apps/transferring-ownership-of-an-oauth-app.md b/content/developers/apps/transferring-ownership-of-an-oauth-app.md index 59d1b1adc3..023d8477dd 100644 --- a/content/developers/apps/transferring-ownership-of-an-oauth-app.md +++ b/content/developers/apps/transferring-ownership-of-an-oauth-app.md @@ -8,6 +8,8 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - oauth apps --- {% data reusables.user-settings.access_settings %} diff --git a/content/developers/apps/troubleshooting-authorization-request-errors.md b/content/developers/apps/troubleshooting-authorization-request-errors.md index 4620a4aa35..aed485cc2b 100644 --- a/content/developers/apps/troubleshooting-authorization-request-errors.md +++ b/content/developers/apps/troubleshooting-authorization-request-errors.md @@ -8,6 +8,8 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - github apps --- ### Application suspended diff --git a/content/developers/apps/troubleshooting-oauth-app-access-token-request-errors.md b/content/developers/apps/troubleshooting-oauth-app-access-token-request-errors.md index c6b54ed2b2..af14d42307 100644 --- a/content/developers/apps/troubleshooting-oauth-app-access-token-request-errors.md +++ b/content/developers/apps/troubleshooting-oauth-app-access-token-request-errors.md @@ -8,6 +8,8 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - oauth apps --- {% note %} diff --git a/content/developers/apps/using-content-attachments.md b/content/developers/apps/using-content-attachments.md index ed9e9fde07..8fc9225435 100644 --- a/content/developers/apps/using-content-attachments.md +++ b/content/developers/apps/using-content-attachments.md @@ -7,6 +7,8 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - github apps --- {% data reusables.pre-release-program.content-attachments-public-beta %} diff --git a/content/developers/apps/using-the-github-api-in-your-app.md b/content/developers/apps/using-the-github-api-in-your-app.md index ebd8e6ed71..d128429499 100644 --- a/content/developers/apps/using-the-github-api-in-your-app.md +++ b/content/developers/apps/using-the-github-api-in-your-app.md @@ -8,6 +8,8 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - github apps --- diff --git a/content/developers/github-marketplace/about-github-marketplace.md b/content/developers/github-marketplace/about-github-marketplace.md index a5566fb012..cc3ca5561e 100644 --- a/content/developers/github-marketplace/about-github-marketplace.md +++ b/content/developers/github-marketplace/about-github-marketplace.md @@ -6,6 +6,8 @@ redirect_from: - /marketplace/getting-started versions: free-pro-team: '*' +topics: + - marketplace --- [{% data variables.product.prodname_marketplace %}](https://github.com/marketplace) connects you to developers who want to extend and improve their {% data variables.product.prodname_dotcom %} workflows. You can list free and paid tools for developers to use in {% data variables.product.prodname_marketplace %}. {% data variables.product.prodname_marketplace %} offers developers two types of tools: {% data variables.product.prodname_actions %} and Apps, and each tool requires different steps for adding it to {% data variables.product.prodname_marketplace %}. diff --git a/content/developers/github-marketplace/about-marketplace-badges.md b/content/developers/github-marketplace/about-marketplace-badges.md index e8046120f0..11e6b80de5 100644 --- a/content/developers/github-marketplace/about-marketplace-badges.md +++ b/content/developers/github-marketplace/about-marketplace-badges.md @@ -9,15 +9,24 @@ versions: ### For GitHub Apps -Apps with the {% octicon "verified" aria-label="The verified badge" %}, are owned by an organization that has: -- Confirmed their domain +Certain apps on the {% data variables.product.prodname_marketplace %} have the {% octicon "verified" aria-label="The verified badge" %} badge and a tooltip that says "Publisher domain and email verified". This means that the app is owned by an organization that has: + +- Verified ownership of their domain and has a verified badge on their profile - Confirmed their email address so {% data variables.product.prodname_dotcom %} Support can reach the organization - Required two-factor authentication for their organization. For more information, see "[Requiring two-factor authentication in your organization](/github/setting-up-and-managing-organizations-and-teams/requiring-two-factor-authentication-in-your-organization)." -![Marketplace badge for GitHub Apps](/assets/images/marketplace/apps-with-verified-publisher-badge.png) +![Marketplace badge for GitHub Apps](/assets/images/marketplace/apps-with-verified-publisher-badge-tooltip.png) + +{% note %} +{% data variables.product.prodname_dotcom %} does not analyze the app. The marketplace badge {% octicon "verified" aria-label="The verified badge" %} only confirms that the publisher meets the requirements listed above. +{% endnote %} To learn how you can add this badge to your app, see "[Applying for publisher verification for your organization](/developers/github-marketplace/applying-for-publisher-verification-for-your-organization)." +Some apps on the {% data variables.product.prodname_marketplace %} have the {% octicon "verified" aria-label="The verified badge" %} badge and a tooltip that says "App meets the requirements for listing" instead of, "Publisher domain and email verified." This means that the app meets the listing requirements described in "[Requirements for listing an app](/developers/github-marketplace/requirements-for-listing-an-app)," but the publisher has not been verified, as described in "[Applying for publisher verification for your organization](/developers/github-marketplace/applying-for-publisher-verification-for-your-organization)". Apps with this badge cannot change their pricing plan until the publisher successfully applies for verification. + +![Marketplace badge for GitHub Apps](/assets/images/marketplace/apps-with-unverified-publisher-badge-tooltip.png) + For more information about the requirements for listing an app on {% data variables.product.prodname_marketplace %}, see "[Requirements for listing an app on {% data variables.product.prodname_marketplace %}](/marketplace/getting-started/requirements-for-listing-an-app-on-github-marketplace/)." For information on finding apps to use, see "[Searching {% data variables.product.prodname_marketplace %}](/github/searching-for-information-on-github/searching-github-marketplace)." @@ -29,15 +38,3 @@ Actions with the {% octicon "verified" aria-label="The verified badge" %}, or v ![Verified creator badge for GitHub Actions](/assets/images/marketplace/verified-creator-badge-for-actions.png) For information on how to publish a GitHub action to {% data variables.product.prodname_marketplace %}, see "[Publishing actions in GitHub Marketplace](/actions/creating-actions/publishing-actions-in-github-marketplace)." - -### About the previous verification process for apps - -In addition to the verified creator badge, you'll also see badges for unverified and verified apps. These apps were published using the old method for verifying individual apps. - -![Green verified and grey unverified badge](/assets/images/marketplace/marketplace_verified_badges.png) - -{% note %} - -**Note:** The new publisher verification process for apps replaces the previous process where individual apps were verified. The new publisher verification process is similar to the verification process for actions. If you have apps that were verified under the old process, these will not be affected by the changes. The {% data variables.product.prodname_marketplace %} team will contact you with details of how to migrate to organization-based verification. - -{% endnote %} diff --git a/content/developers/github-marketplace/applying-for-publisher-verification-for-your-organization.md b/content/developers/github-marketplace/applying-for-publisher-verification-for-your-organization.md index 8919eee16e..77342b3bd8 100644 --- a/content/developers/github-marketplace/applying-for-publisher-verification-for-your-organization.md +++ b/content/developers/github-marketplace/applying-for-publisher-verification-for-your-organization.md @@ -3,6 +3,8 @@ title: Applying for publisher verification for your organization intro: 'To offer paid plans for your app or to include a marketplace badge in your app listing, you must complete the publisher verification process for your organization.' versions: free-pro-team: '*' +topics: + - marketplace --- Publisher verification ensures that {% data variables.product.prodname_dotcom %} has a way to contact you, that you've enabled two-factor authentication for your organization, and that your organization's domain has been verified. @@ -23,11 +25,11 @@ To offer paid plans for your app, the app must be owned by an organization and y 1. Under "Publisher Verification", complete the information in the checklist: - Ensure that your basic profile information is present and accurate. Also, make sure that you've included the best email address for support and updates from {% data variables.product.company_short %}. - Ensure that Two-factor authentication is enabled for your organization. For more information, see "[Requiring two-factor authentication in your organization](/github/setting-up-and-managing-organizations-and-teams/requiring-two-factor-authentication-in-your-organization)." - - Submit a verified domain. For related information, see "[Verifying your organization's domain](/github/setting-up-and-managing-organizations-and-teams/verifying-your-organizations-domain)." + - Submit a verified domain and ensure that a "Verified" badge displays on your organization's profile page. For related information, see "[Verifying your organization's domain](/github/setting-up-and-managing-organizations-and-teams/verifying-your-organizations-domain)." ![Publisher Verification checklist](/assets/images/marketplace/publisher-verification-checklist.png) -1. Click **Request Verification**. {% data variables.product.company_short %} will review your details and let you know once your publisher verification is complete. +2. Click **Request Verification**. {% data variables.product.company_short %} will review your details and let you know once your publisher verification is complete. ### Further reading diff --git a/content/developers/github-marketplace/billing-customers.md b/content/developers/github-marketplace/billing-customers.md index ed6701d671..2e578e1458 100644 --- a/content/developers/github-marketplace/billing-customers.md +++ b/content/developers/github-marketplace/billing-customers.md @@ -7,6 +7,8 @@ redirect_from: - /marketplace/selling-your-app/billing-customers-in-github-marketplace versions: free-pro-team: '*' +topics: + - marketplace --- diff --git a/content/developers/github-marketplace/configuring-a-webhook-to-notify-you-of-plan-changes.md b/content/developers/github-marketplace/configuring-a-webhook-to-notify-you-of-plan-changes.md index 6ed97feecd..00e34854f1 100644 --- a/content/developers/github-marketplace/configuring-a-webhook-to-notify-you-of-plan-changes.md +++ b/content/developers/github-marketplace/configuring-a-webhook-to-notify-you-of-plan-changes.md @@ -9,6 +9,8 @@ redirect_from: - /marketplace/listing-on-github-marketplace/configuring-the-github-marketplace-webhook versions: free-pro-team: '*' +topics: + - marketplace --- diff --git a/content/developers/github-marketplace/creating-apps-for-github-marketplace.md b/content/developers/github-marketplace/creating-apps-for-github-marketplace.md index 342754e94d..1db26ad8f2 100644 --- a/content/developers/github-marketplace/creating-apps-for-github-marketplace.md +++ b/content/developers/github-marketplace/creating-apps-for-github-marketplace.md @@ -4,5 +4,7 @@ intro: 'You can list free and paid tools for developers to use in {% data variab mapTopic: true versions: free-pro-team: '*' +topics: + - marketplace --- diff --git a/content/developers/github-marketplace/customer-experience-best-practices-for-apps.md b/content/developers/github-marketplace/customer-experience-best-practices-for-apps.md index 4107fa4427..b739663a7d 100644 --- a/content/developers/github-marketplace/customer-experience-best-practices-for-apps.md +++ b/content/developers/github-marketplace/customer-experience-best-practices-for-apps.md @@ -1,9 +1,11 @@ --- title: Customer experience best practices for apps -intro: 'Guidelines for creating an app that will be easy to use and understand.' +intro: Guidelines for creating an app that will be easy to use and understand. shortTitle: Customer experience best practice versions: free-pro-team: '*' +topics: + - marketplace --- If you follow these best practices it will help you to provide a good customer experience. diff --git a/content/developers/github-marketplace/drafting-a-listing-for-your-app.md b/content/developers/github-marketplace/drafting-a-listing-for-your-app.md index c495928b43..85fcb55cc2 100644 --- a/content/developers/github-marketplace/drafting-a-listing-for-your-app.md +++ b/content/developers/github-marketplace/drafting-a-listing-for-your-app.md @@ -14,6 +14,8 @@ redirect_from: - /marketplace/listing-on-github-marketplace/creating-a-draft-github-marketplace-listing versions: free-pro-team: '*' +topics: + - marketplace --- diff --git a/content/developers/github-marketplace/handling-new-purchases-and-free-trials.md b/content/developers/github-marketplace/handling-new-purchases-and-free-trials.md index 94b29c63ff..0809b8196c 100644 --- a/content/developers/github-marketplace/handling-new-purchases-and-free-trials.md +++ b/content/developers/github-marketplace/handling-new-purchases-and-free-trials.md @@ -8,6 +8,8 @@ redirect_from: - /marketplace/integrating-with-the-github-marketplace-api/handling-new-purchases-and-free-trials versions: free-pro-team: '*' +topics: + - marketplace --- diff --git a/content/developers/github-marketplace/handling-plan-cancellations.md b/content/developers/github-marketplace/handling-plan-cancellations.md index ed287efb5e..2334e0fe9a 100644 --- a/content/developers/github-marketplace/handling-plan-cancellations.md +++ b/content/developers/github-marketplace/handling-plan-cancellations.md @@ -7,6 +7,8 @@ redirect_from: - /marketplace/integrating-with-the-github-marketplace-api/cancelling-plans versions: free-pro-team: '*' +topics: + - marketplace --- diff --git a/content/developers/github-marketplace/handling-plan-changes.md b/content/developers/github-marketplace/handling-plan-changes.md index 7fb64dd96c..a567ed24d9 100644 --- a/content/developers/github-marketplace/handling-plan-changes.md +++ b/content/developers/github-marketplace/handling-plan-changes.md @@ -7,6 +7,8 @@ redirect_from: - /marketplace/integrating-with-the-github-marketplace-api/upgrading-and-downgrading-plans versions: free-pro-team: '*' +topics: + - marketplace --- diff --git a/content/developers/github-marketplace/index.md b/content/developers/github-marketplace/index.md index 9d018cfe81..96571894ae 100644 --- a/content/developers/github-marketplace/index.md +++ b/content/developers/github-marketplace/index.md @@ -7,6 +7,8 @@ redirect_from: - /marketplace versions: free-pro-team: '*' +topics: + - marketplace --- {% topic_link_in_list /github-marketplace-overview %} diff --git a/content/developers/github-marketplace/listing-an-app-on-github-marketplace.md b/content/developers/github-marketplace/listing-an-app-on-github-marketplace.md index 58924a15d0..cfe604c53e 100644 --- a/content/developers/github-marketplace/listing-an-app-on-github-marketplace.md +++ b/content/developers/github-marketplace/listing-an-app-on-github-marketplace.md @@ -13,5 +13,7 @@ redirect_from: - /marketplace/listing-on-github-marketplace versions: free-pro-team: '*' +topics: + - marketplace --- diff --git a/content/developers/github-marketplace/pricing-plans-for-github-marketplace-apps.md b/content/developers/github-marketplace/pricing-plans-for-github-marketplace-apps.md index 8e76577810..7b3c795ccf 100644 --- a/content/developers/github-marketplace/pricing-plans-for-github-marketplace-apps.md +++ b/content/developers/github-marketplace/pricing-plans-for-github-marketplace-apps.md @@ -6,11 +6,13 @@ redirect_from: - /marketplace/selling-your-app/github-marketplace-pricing-plans versions: free-pro-team: '*' +topics: + - marketplace --- -{% data variables.product.prodname_marketplace %} pricing plans can be free, flat rate, or per-unit. Prices are set, displayed, and processed in US dollars. Paid plans are restricted to verified listings. +{% data variables.product.prodname_marketplace %} pricing plans can be free, flat rate, or per-unit. Prices are set, displayed, and processed in US dollars. Paid plans are restricted to apps published by verified publishers. For more information about becoming a verified publisher, see "[Applying for publisher verification for your organization](/developers/github-marketplace/applying-for-publisher-verification-for-your-organization)." Customers purchase your app using a payment method attached to their {% data variables.product.product_name %} account, without having to leave {% data variables.product.prodname_dotcom_the_website %}. You don't have to write code to perform billing transactions, but you will have to handle events from the {% data variables.product.prodname_marketplace %} API. For more information, see "[Using the {% data variables.product.prodname_marketplace %} API in your app](/developers/github-marketplace/using-the-github-marketplace-api-in-your-app)." diff --git a/content/developers/github-marketplace/receiving-payment-for-app-purchases.md b/content/developers/github-marketplace/receiving-payment-for-app-purchases.md index 0264e77e2e..85bb104042 100644 --- a/content/developers/github-marketplace/receiving-payment-for-app-purchases.md +++ b/content/developers/github-marketplace/receiving-payment-for-app-purchases.md @@ -9,6 +9,8 @@ redirect_from: - /marketplace/selling-your-app/receiving-payment-for-github-marketplace-listings versions: free-pro-team: '*' +topics: + - marketplace --- diff --git a/content/developers/github-marketplace/requirements-for-listing-an-app.md b/content/developers/github-marketplace/requirements-for-listing-an-app.md index 3a2a3d1be3..05213fa2b8 100644 --- a/content/developers/github-marketplace/requirements-for-listing-an-app.md +++ b/content/developers/github-marketplace/requirements-for-listing-an-app.md @@ -10,6 +10,8 @@ redirect_from: - /marketplace/getting-started/requirements-for-listing-an-app-on-github-marketplace versions: free-pro-team: '*' +topics: + - marketplace --- diff --git a/content/developers/github-marketplace/rest-endpoints-for-the-github-marketplace-api.md b/content/developers/github-marketplace/rest-endpoints-for-the-github-marketplace-api.md index db3482b992..09ae762f88 100644 --- a/content/developers/github-marketplace/rest-endpoints-for-the-github-marketplace-api.md +++ b/content/developers/github-marketplace/rest-endpoints-for-the-github-marketplace-api.md @@ -7,6 +7,8 @@ redirect_from: - /marketplace/integrating-with-the-github-marketplace-api/github-marketplace-rest-api-endpoints versions: free-pro-team: '*' +topics: + - marketplace --- diff --git a/content/developers/github-marketplace/security-best-practices-for-apps.md b/content/developers/github-marketplace/security-best-practices-for-apps.md index fac3d2fcf6..b8be78bbfa 100644 --- a/content/developers/github-marketplace/security-best-practices-for-apps.md +++ b/content/developers/github-marketplace/security-best-practices-for-apps.md @@ -8,6 +8,8 @@ redirect_from: shortTitle: Security best practice versions: free-pro-team: '*' +topics: + - marketplace --- If you follow these best practices it will help you to provide a secure user experience. diff --git a/content/developers/github-marketplace/selling-your-app-on-github-marketplace.md b/content/developers/github-marketplace/selling-your-app-on-github-marketplace.md index e468593f58..5b643723ff 100644 --- a/content/developers/github-marketplace/selling-your-app-on-github-marketplace.md +++ b/content/developers/github-marketplace/selling-your-app-on-github-marketplace.md @@ -11,5 +11,7 @@ redirect_from: - /marketplace/selling-your-app versions: free-pro-team: '*' +topics: + - marketplace --- diff --git a/content/developers/github-marketplace/setting-pricing-plans-for-your-listing.md b/content/developers/github-marketplace/setting-pricing-plans-for-your-listing.md index 14fb5e0e67..e8f8be1878 100644 --- a/content/developers/github-marketplace/setting-pricing-plans-for-your-listing.md +++ b/content/developers/github-marketplace/setting-pricing-plans-for-your-listing.md @@ -15,6 +15,8 @@ redirect_from: - /marketplace/listing-on-github-marketplace/setting-a-github-marketplace-listing-s-pricing-plan versions: free-pro-team: '*' +topics: + - marketplace --- ### About setting pricing plans @@ -27,6 +29,8 @@ If your app is already published with a paid plan and you're a verified publishe ![Publish this plan button](/assets/images/marketplace/publish-this-plan-button.png) +If your app is already published with a paid plan and but you are not a verified publisher, then you can cannot publish a new paid plan until you are a verified publisher. For more information about becoming a verified publisher, see "[Applying for publisher verification for your organization](/developers/github-marketplace/applying-for-publisher-verification-for-your-organization)." + ### About saving pricing plans You can save pricing plans in a draft or published state. If you haven't submitted your {% data variables.product.prodname_marketplace %} listing for approval, a published plan will function in the same way as a draft plan until your listing is approved and shown on {% data variables.product.prodname_marketplace %}. Draft plans allow you to create and save new pricing plans without making them available on your {% data variables.product.prodname_marketplace %} listing page. Once you publish a pricing plan on a published listing, it's available for customers to purchase immediately. You can publish up to 10 pricing plans. @@ -77,3 +81,5 @@ Once you remove a pricing plan, users won't be able to purchase your app using t You can disable GitHub Marketplace free trials without retiring the pricing plan, but this prevents you from initiating future free trials for that plan. If you choose to disable free trials for a pricing plan, users already signed up can complete their free trial. After retiring a pricing plan, you can create a new pricing plan with the same name as the removed pricing plan. For instance, if you have a "Pro" pricing plan but need to change the flat rate price, you can remove the "Pro" pricing plan and create a new "Pro" pricing plan with an updated price. Users will be able to purchase the new pricing plan immediately. + +If you are not a verified publisher, then you cannot change a pricing plan for your app. For more information about becoming a verified publisher, see "[Applying for publisher verification for your organization](/developers/github-marketplace/applying-for-publisher-verification-for-your-organization)." diff --git a/content/developers/github-marketplace/submitting-your-listing-for-publication.md b/content/developers/github-marketplace/submitting-your-listing-for-publication.md index f56182b6ba..eba474e22e 100644 --- a/content/developers/github-marketplace/submitting-your-listing-for-publication.md +++ b/content/developers/github-marketplace/submitting-your-listing-for-publication.md @@ -6,6 +6,8 @@ redirect_from: - /developers/github-marketplace/submitting-your-listing-for-review versions: free-pro-team: '*' +topics: + - marketplace --- Once your app listing meets the {% data variables.product.prodname_marketplace %} requirements, you can submit your app. For an overview of the app listing requirements, see "[Requirements for listing an app](/developers/github-marketplace/requirements-for-listing-an-app)." diff --git a/content/developers/github-marketplace/testing-your-app.md b/content/developers/github-marketplace/testing-your-app.md index 577b6d624a..e587a94908 100644 --- a/content/developers/github-marketplace/testing-your-app.md +++ b/content/developers/github-marketplace/testing-your-app.md @@ -7,6 +7,8 @@ redirect_from: - /marketplace/integrating-with-the-github-marketplace-api/testing-github-marketplace-apps versions: free-pro-team: '*' +topics: + - marketplace --- diff --git a/content/developers/github-marketplace/using-the-github-marketplace-api-in-your-app.md b/content/developers/github-marketplace/using-the-github-marketplace-api-in-your-app.md index 79b8ccfe43..6846363051 100644 --- a/content/developers/github-marketplace/using-the-github-marketplace-api-in-your-app.md +++ b/content/developers/github-marketplace/using-the-github-marketplace-api-in-your-app.md @@ -8,5 +8,7 @@ redirect_from: - /marketplace/integrating-with-the-github-marketplace-api versions: free-pro-team: '*' +topics: + - marketplace --- diff --git a/content/developers/github-marketplace/viewing-metrics-for-your-listing.md b/content/developers/github-marketplace/viewing-metrics-for-your-listing.md index de49180466..3621b2e7b8 100644 --- a/content/developers/github-marketplace/viewing-metrics-for-your-listing.md +++ b/content/developers/github-marketplace/viewing-metrics-for-your-listing.md @@ -8,6 +8,8 @@ redirect_from: - /marketplace/github-marketplace-insights versions: free-pro-team: '*' +topics: + - marketplace --- diff --git a/content/developers/github-marketplace/viewing-transactions-for-your-listing.md b/content/developers/github-marketplace/viewing-transactions-for-your-listing.md index b0c801eaa0..60f69eafb4 100644 --- a/content/developers/github-marketplace/viewing-transactions-for-your-listing.md +++ b/content/developers/github-marketplace/viewing-transactions-for-your-listing.md @@ -5,6 +5,8 @@ redirect_from: - /marketplace/github-marketplace-transactions versions: free-pro-team: '*' +topics: + - marketplace --- diff --git a/content/developers/github-marketplace/webhook-events-for-the-github-marketplace-api.md b/content/developers/github-marketplace/webhook-events-for-the-github-marketplace-api.md index 96594bbc61..71772c127c 100644 --- a/content/developers/github-marketplace/webhook-events-for-the-github-marketplace-api.md +++ b/content/developers/github-marketplace/webhook-events-for-the-github-marketplace-api.md @@ -7,6 +7,8 @@ redirect_from: - /marketplace/integrating-with-the-github-marketplace-api/github-marketplace-webhook-events versions: free-pro-team: '*' +topics: + - marketplace --- diff --git a/content/developers/github-marketplace/writing-a-listing-description-for-your-app.md b/content/developers/github-marketplace/writing-a-listing-description-for-your-app.md index 7dabc220bb..50544a871f 100644 --- a/content/developers/github-marketplace/writing-a-listing-description-for-your-app.md +++ b/content/developers/github-marketplace/writing-a-listing-description-for-your-app.md @@ -12,6 +12,8 @@ redirect_from: - /marketplace/listing-on-github-marketplace/writing-github-marketplace-listing-descriptions versions: free-pro-team: '*' +topics: + - marketplace --- diff --git a/content/developers/overview/about-githubs-apis.md b/content/developers/overview/about-githubs-apis.md index e60baa72e3..7141a1ac74 100644 --- a/content/developers/overview/about-githubs-apis.md +++ b/content/developers/overview/about-githubs-apis.md @@ -7,6 +7,8 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - api --- There are two stable versions of the GitHub API: the [REST API](/rest) and the [GraphQL API](/graphql). When using the REST API, we encourage you to [request v3 via the `Accept` header](/v3/media/#request-specific-version). For information on using the GraphQL API, see the [v4 docs](/graphql). diff --git a/content/developers/overview/github-developer-program.md b/content/developers/overview/github-developer-program.md index 343241fd6f..947b290ce3 100644 --- a/content/developers/overview/github-developer-program.md +++ b/content/developers/overview/github-developer-program.md @@ -5,6 +5,8 @@ redirect_from: - /program versions: free-pro-team: '*' +topics: + - api --- Building an application that integrates with GitHub? Register for our Developer Program! The possibilities are endless, and you enjoy the kudos. [Register now](https://github.com/developer/register) diff --git a/content/developers/overview/managing-deploy-keys.md b/content/developers/overview/managing-deploy-keys.md index d97cec6391..ad419e8717 100644 --- a/content/developers/overview/managing-deploy-keys.md +++ b/content/developers/overview/managing-deploy-keys.md @@ -8,6 +8,8 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - api --- diff --git a/content/developers/overview/replacing-github-services.md b/content/developers/overview/replacing-github-services.md index 878a316bd5..05f75c5079 100644 --- a/content/developers/overview/replacing-github-services.md +++ b/content/developers/overview/replacing-github-services.md @@ -8,6 +8,8 @@ redirect_from: versions: free-pro-team: '*' enterprise-server: '*' +topics: + - api --- diff --git a/content/developers/overview/secret-scanning.md b/content/developers/overview/secret-scanning.md index 278f89e672..9c2d39bf94 100644 --- a/content/developers/overview/secret-scanning.md +++ b/content/developers/overview/secret-scanning.md @@ -7,6 +7,8 @@ redirect_from: - /partnerships/secret-scanning versions: free-pro-team: '*' +topics: + - api --- {% data variables.product.prodname_dotcom %} scans repositories for known secret formats to prevent fraudulent use of credentials that were committed accidentally. {% data variables.product.prodname_secret_scanning_caps %} happens by default on public repositories, and can be enabled on private repositories by repository administrators or organization owners. As a service provider, you can partner with {% data variables.product.prodname_dotcom %} so that your secret formats are included in our {% data variables.product.prodname_secret_scanning %}. diff --git a/content/developers/overview/using-ssh-agent-forwarding.md b/content/developers/overview/using-ssh-agent-forwarding.md index 81b5ffbd5f..dfa6e0efc4 100644 --- a/content/developers/overview/using-ssh-agent-forwarding.md +++ b/content/developers/overview/using-ssh-agent-forwarding.md @@ -8,6 +8,8 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - api --- diff --git a/content/developers/overview/viewing-deployment-history.md b/content/developers/overview/viewing-deployment-history.md index 05d8099b78..5d9f721581 100644 --- a/content/developers/overview/viewing-deployment-history.md +++ b/content/developers/overview/viewing-deployment-history.md @@ -5,6 +5,8 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - api --- {% data reusables.actions.environments-beta %} diff --git a/content/developers/webhooks-and-events/about-webhooks.md b/content/developers/webhooks-and-events/about-webhooks.md index 3123eb3183..4b2ba9f004 100644 --- a/content/developers/webhooks-and-events/about-webhooks.md +++ b/content/developers/webhooks-and-events/about-webhooks.md @@ -7,6 +7,8 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - webhooks --- @@ -22,7 +24,7 @@ You can create up to {% if enterpriseServerVersions contains currentVersion or c Each event corresponds to a certain set of actions that can happen to your organization and/or repository. For example, if you subscribe to the `issues` event you'll receive detailed payloads every time an issue is opened, closed, labeled, etc. -See "[Webhook event payloads](/webhooks/event-payloads)" for the list of available webhook events and their payloads. +For a complete list of available webhook events and their payloads, see "[Webhook events and payloads](/developers/webhooks-and-events/webhook-events-and-payloads)." ### Ping event diff --git a/content/developers/webhooks-and-events/configuring-your-server-to-receive-payloads.md b/content/developers/webhooks-and-events/configuring-your-server-to-receive-payloads.md index c4787dcc97..42464d48ef 100644 --- a/content/developers/webhooks-and-events/configuring-your-server-to-receive-payloads.md +++ b/content/developers/webhooks-and-events/configuring-your-server-to-receive-payloads.md @@ -7,6 +7,8 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - webhooks --- diff --git a/content/developers/webhooks-and-events/creating-webhooks.md b/content/developers/webhooks-and-events/creating-webhooks.md index 17d3ac7a24..ab6e95e7bb 100644 --- a/content/developers/webhooks-and-events/creating-webhooks.md +++ b/content/developers/webhooks-and-events/creating-webhooks.md @@ -7,6 +7,8 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - webhooks --- diff --git a/content/developers/webhooks-and-events/events.md b/content/developers/webhooks-and-events/events.md index 6fead511c2..761e6b2472 100644 --- a/content/developers/webhooks-and-events/events.md +++ b/content/developers/webhooks-and-events/events.md @@ -6,5 +6,7 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - events --- diff --git a/content/developers/webhooks-and-events/github-event-types.md b/content/developers/webhooks-and-events/github-event-types.md index 72098b42fa..74579398db 100644 --- a/content/developers/webhooks-and-events/github-event-types.md +++ b/content/developers/webhooks-and-events/github-event-types.md @@ -8,6 +8,8 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - events --- diff --git a/content/developers/webhooks-and-events/index.md b/content/developers/webhooks-and-events/index.md index 8fe5ba3cd8..e433da0403 100644 --- a/content/developers/webhooks-and-events/index.md +++ b/content/developers/webhooks-and-events/index.md @@ -5,6 +5,9 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - webhooks + - events --- ### Table of Contents diff --git a/content/developers/webhooks-and-events/issue-event-types.md b/content/developers/webhooks-and-events/issue-event-types.md index 9da44234bd..41380543d1 100644 --- a/content/developers/webhooks-and-events/issue-event-types.md +++ b/content/developers/webhooks-and-events/issue-event-types.md @@ -7,6 +7,8 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - events --- diff --git a/content/developers/webhooks-and-events/securing-your-webhooks.md b/content/developers/webhooks-and-events/securing-your-webhooks.md index c32343b777..cfdf4c9a1e 100644 --- a/content/developers/webhooks-and-events/securing-your-webhooks.md +++ b/content/developers/webhooks-and-events/securing-your-webhooks.md @@ -7,6 +7,8 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - webhooks --- diff --git a/content/developers/webhooks-and-events/testing-webhooks.md b/content/developers/webhooks-and-events/testing-webhooks.md index 3735773363..ba40fe2cb4 100644 --- a/content/developers/webhooks-and-events/testing-webhooks.md +++ b/content/developers/webhooks-and-events/testing-webhooks.md @@ -7,6 +7,8 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - webhooks --- diff --git a/content/developers/webhooks-and-events/webhook-events-and-payloads.md b/content/developers/webhooks-and-events/webhook-events-and-payloads.md index f55db93d4d..7ff7b44c42 100644 --- a/content/developers/webhooks-and-events/webhook-events-and-payloads.md +++ b/content/developers/webhooks-and-events/webhook-events-and-payloads.md @@ -10,6 +10,8 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - webhooks --- @@ -222,6 +224,7 @@ Only {% data variables.product.prodname_github_app %}s can receive this event. { #### Webhook payload object {% data reusables.webhooks.create_properties %} +{% data reusables.webhooks.pusher_type_desc %} {% data reusables.webhooks.repo_desc %} {% data reusables.webhooks.org_desc %} {% data reusables.webhooks.app_desc %} @@ -250,6 +253,7 @@ Only {% data variables.product.prodname_github_app %}s can receive this event. { #### Webhook payload object {% data reusables.webhooks.delete_properties %} +{% data reusables.webhooks.pusher_type_desc %} {% data reusables.webhooks.repo_desc %} {% data reusables.webhooks.org_desc %} {% data reusables.webhooks.app_desc %} @@ -1123,7 +1127,7 @@ Key | Type | Description {% if currentVersion == "free-pro-team@latest" or currentVersion ver_gt "enterprise-server@1.19" %} ### security_advisory -Activity related to a security advisory. A security advisory provides information about security-related vulnerabilities in software on GitHub. The security advisory dataset also powers the GitHub security alerts, see "[About security alerts for vulnerable dependencies](/articles/about-security-alerts-for-vulnerable-dependencies/)." +Activity related to a security advisory. A security advisory provides information about security-related vulnerabilities in software on GitHub. The security advisory dataset also powers the GitHub security alerts, see "[About alerts for vulnerable dependencies](/github/managing-security-vulnerabilities/about-alerts-for-vulnerable-dependencies/)." {% endif %} #### Availability @@ -1335,9 +1339,8 @@ When a {% data variables.product.prodname_actions %} workflow run is requested o #### Webhook payload object -Key | Type | Description -----|------|------------- -`action` | `string` | Most webhook payloads contain an `action` property that contains the specific activity that triggered the event. +{% data reusables.webhooks.workflow_run_properties %} +{% data reusables.webhooks.workflow_desc %} {% data reusables.webhooks.org_desc %} {% data reusables.webhooks.repo_desc %} {% data reusables.webhooks.sender_desc %} diff --git a/content/developers/webhooks-and-events/webhooks.md b/content/developers/webhooks-and-events/webhooks.md index ce66413490..9a1347c894 100644 --- a/content/developers/webhooks-and-events/webhooks.md +++ b/content/developers/webhooks-and-events/webhooks.md @@ -6,5 +6,7 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - webhooks --- diff --git a/content/discussions/guides/best-practices-for-community-conversations-on-github.md b/content/discussions/guides/best-practices-for-community-conversations-on-github.md index e4cc2321b6..6631fd4d3c 100644 --- a/content/discussions/guides/best-practices-for-community-conversations-on-github.md +++ b/content/discussions/guides/best-practices-for-community-conversations-on-github.md @@ -29,7 +29,7 @@ You can use {% data variables.product.prodname_discussions %} to discuss big pic Issues are useful for discussing specific details of a project such as bug reports and planned improvements. For more information, see "[About issues](/articles/about-issues)." Pull requests allow you to comment directly on proposed changes. For more information, see "[About pull requests](/articles/about-pull-requests)" and "[Commenting on a pull request](/articles/commenting-on-a-pull-request)." -{% data reusables.organizations.team-discussions-purpose %} For more information, see "[About team discussions](/articles/about-team-discussions)." +{% data reusables.organizations.team-discussions-purpose %} For more information, see "[About team discussions](/github/setting-up-and-managing-organizations-and-teams/about-team-discussions)." ### Following contributing guidelines diff --git a/content/discussions/managing-discussions-for-your-community/managing-categories-for-discussions-in-your-repository.md b/content/discussions/managing-discussions-for-your-community/managing-categories-for-discussions-in-your-repository.md index 10a420e0db..56cc724cd5 100644 --- a/content/discussions/managing-discussions-for-your-community/managing-categories-for-discussions-in-your-repository.md +++ b/content/discussions/managing-discussions-for-your-community/managing-categories-for-discussions-in-your-repository.md @@ -12,9 +12,7 @@ versions: {% data reusables.discussions.about-discussions %} {% data reusables.discussions.about-categories-and-formats %} -Each category must have a unique name and emoji pairing, and can be accompanied by a detailed description stating its purpose. Categories help maintainers organize how conversations are filed and are customizable to help distinguish categories that are Q&A or more open-ended conversations.{% data reusables.discussions.repository-category-limit %} - -For more information, see "[About discussions](/discussions/collaborating-with-your-community-using-discussions/about-discussions#about-categories-and-formats-for-discussions)." +Each category must have a unique name and emoji pairing, and can be accompanied by a detailed description stating its purpose. Categories help maintainers organize how conversations are filed and are customizable to help distinguish categories that are Q&A or more open-ended conversations. {% data reusables.discussions.repository-category-limit %} For more information, see "[About discussions](/discussions/collaborating-with-your-community-using-discussions/about-discussions#about-categories-and-formats-for-discussions)." ### Default categories diff --git a/content/discussions/managing-discussions-for-your-community/managing-discussions-in-your-repository.md b/content/discussions/managing-discussions-for-your-community/managing-discussions-in-your-repository.md index 28251d0478..230201e4d9 100644 --- a/content/discussions/managing-discussions-for-your-community/managing-discussions-in-your-repository.md +++ b/content/discussions/managing-discussions-for-your-community/managing-discussions-in-your-repository.md @@ -24,7 +24,7 @@ To manage discussions in a repository, discussions must be enabled for the repos ### Changing the category for a discussion -You can categorize discussions to help community members find related discussions. For more information, see "[Managing categories for discussions in your repository](/discussions/managing-discussions-for-your-community/managing-categories-for-discussions-in-your-repository)" article. +You can categorize discussions to help community members find related discussions. For more information, see "[Managing categories for discussions in your repository](/discussions/managing-discussions-for-your-community/managing-categories-for-discussions-in-your-repository)." You can also move a discussion to a different category. diff --git a/content/discussions/quickstart.md b/content/discussions/quickstart.md index 252da3b6cc..4609b2fddb 100644 --- a/content/discussions/quickstart.md +++ b/content/discussions/quickstart.md @@ -16,7 +16,7 @@ Discussions give a space for more collaborative conversations by connecting and ### Enabling {% data variables.product.prodname_discussions %} on your repository -Repository owners and people with write access can enable {% data variables.product.prodname_discussions %} for a community on their public repositories. +Repository owners and people with write access can enable {% data variables.product.prodname_discussions %} for a community on their public and private repositories. When you first enable a {% data variables.product.prodname_discussions %}, you will be invited to configure a welcome post. @@ -49,13 +49,13 @@ Anyone with access to a repository can create a discussion. ### Organizing discussions into relevant categories -Repository owners and people with write access can create new categories to keep discussions organized. Collaborators participating and creating new discussions can group discussions into the most relevant existing categories. Discussions can also be recategorized after they are created. For more information, see "[Managing categories for discussions in your repository](/discussions/managing-discussions-for-your-community/managing-categories-for-discussions-in-your-repository)" +Repository owners and people with write access can create new categories to keep discussions organized. Collaborators participating and creating new discussions can group discussions into the most relevant existing categories. Discussions can also be recategorized after they are created. For more information, see "[Managing categories for discussions in your repository](/discussions/managing-discussions-for-your-community/managing-categories-for-discussions-in-your-repository)." ### Promoting healthy conversations People with write permissions for a repository can help surface important conversations by pinning discussions, deleting discussions that are no longer useful or are damaging to the community, and transferring discussions to more relevant repositories owned by the organization. For more information, see "[Managing discussions in your repository](/discussions/managing-discussions-for-your-community/managing-discussions-in-your-repository)." -People with triage permissions for a repository can help moderate a project's discussions by marking comments as answers, locking discussions that are not longer useful or are damaging to the community, and converting issues to discussions when an idea is still in the early stages of development. For more information, see "[Moderating discussions](/discussions/managing-discussions-for-your-community/moderating-discussions)." +People with triage permissions for a repository can help moderate a project's discussions by marking comments as answers, locking discussions that are no longer useful or are damaging to the community, and converting issues to discussions when an idea is still in the early stages of development. For more information, see "[Moderating discussions](/discussions/managing-discussions-for-your-community/moderating-discussions)." ### Next steps diff --git a/content/education/manage-coursework-with-github-classroom/create-a-group-assignment.md b/content/education/manage-coursework-with-github-classroom/create-a-group-assignment.md index bb6934e493..ed7b7515f6 100644 --- a/content/education/manage-coursework-with-github-classroom/create-a-group-assignment.md +++ b/content/education/manage-coursework-with-github-classroom/create-a-group-assignment.md @@ -84,7 +84,7 @@ If you've already created a group assignment for the classroom, you can reuse a #### Choosing a template repository -By default, a new assignment will create an empty repository for each team that a student creates. {% data reusables.classroom.you-can-choose-a-template-repository %} For more information about template repositories, see "[Creating a template repository](/github/creating-cloning-and-archiving-repositories/creating-a-template-repository)." +By default, a new assignment will create an empty repository for each team that a student creates. {% data reusables.classroom.you-can-choose-a-template-repository %} {% data reusables.classroom.assignments-guide-choose-template-repository %} diff --git a/content/education/manage-coursework-with-github-classroom/create-an-individual-assignment.md b/content/education/manage-coursework-with-github-classroom/create-an-individual-assignment.md index 8153596dd7..42921e64fc 100644 --- a/content/education/manage-coursework-with-github-classroom/create-an-individual-assignment.md +++ b/content/education/manage-coursework-with-github-classroom/create-an-individual-assignment.md @@ -64,7 +64,7 @@ Under "Individual or group assignment", select the drop-down menu, and click **I #### Choosing a template repository -By default, a new assignment will create an empty repository for each student on the roster for the classroom. {% data reusables.classroom.you-can-choose-a-template-repository %} For more information about template repositories, see "[Creating a template repository](/github/creating-cloning-and-archiving-repositories/creating-a-template-repository)." +By default, a new assignment will create an empty repository for each student on the roster for the classroom. {% data reusables.classroom.you-can-choose-a-template-repository %} {% data reusables.classroom.assignments-guide-choose-template-repository %} diff --git a/content/github/administering-a-repository/about-email-notifications-for-pushes-to-your-repository.md b/content/github/administering-a-repository/about-email-notifications-for-pushes-to-your-repository.md index 792bfec4bc..88b8fbb6d7 100644 --- a/content/github/administering-a-repository/about-email-notifications-for-pushes-to-your-repository.md +++ b/content/github/administering-a-repository/about-email-notifications-for-pushes-to-your-repository.md @@ -11,6 +11,8 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - repositories --- {% data reusables.notifications.outbound_email_tip %} diff --git a/content/github/administering-a-repository/about-merge-methods-on-github.md b/content/github/administering-a-repository/about-merge-methods-on-github.md index d8928317a6..6533a3ec45 100644 --- a/content/github/administering-a-repository/about-merge-methods-on-github.md +++ b/content/github/administering-a-repository/about-merge-methods-on-github.md @@ -7,6 +7,8 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - repositories --- {% data reusables.pull_requests.configure_pull_request_merges_intro %} You can enforce one type of merge method, such as commit squashing or rebasing, by only enabling the desired method for your repository. diff --git a/content/github/administering-a-repository/about-protected-branches.md b/content/github/administering-a-repository/about-protected-branches.md index c842929a11..1dc9ce75c3 100644 --- a/content/github/administering-a-repository/about-protected-branches.md +++ b/content/github/administering-a-repository/about-protected-branches.md @@ -19,6 +19,8 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - repositories --- ### About branch protection rules diff --git a/content/github/administering-a-repository/about-releases.md b/content/github/administering-a-repository/about-releases.md index 81ade4c4b0..fc0699c303 100644 --- a/content/github/administering-a-repository/about-releases.md +++ b/content/github/administering-a-repository/about-releases.md @@ -11,6 +11,8 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - repositories --- ### About releases diff --git a/content/github/administering-a-repository/automation-for-release-forms-with-query-parameters.md b/content/github/administering-a-repository/automation-for-release-forms-with-query-parameters.md index a24e1145b9..10e4011e88 100644 --- a/content/github/administering-a-repository/automation-for-release-forms-with-query-parameters.md +++ b/content/github/administering-a-repository/automation-for-release-forms-with-query-parameters.md @@ -7,6 +7,8 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - repositories --- Query parameters are optional parts of a URL you can customize to share a specific web page view, such as search filter results, an issue template, or the release form page on {% data variables.product.prodname_dotcom %}. To create your own query parameters, you must match the key and value pair. diff --git a/content/github/administering-a-repository/changing-the-default-branch.md b/content/github/administering-a-repository/changing-the-default-branch.md index cefd27c271..f1f0f892bd 100644 --- a/content/github/administering-a-repository/changing-the-default-branch.md +++ b/content/github/administering-a-repository/changing-the-default-branch.md @@ -9,6 +9,8 @@ versions: redirect_from: - /github/administering-a-repository/setting-the-default-branch - /articles/setting-the-default-branch +topics: + - repositories --- ### About changing the default branch diff --git a/content/github/administering-a-repository/classifying-your-repository-with-topics.md b/content/github/administering-a-repository/classifying-your-repository-with-topics.md index a187c9313d..8918184c6b 100644 --- a/content/github/administering-a-repository/classifying-your-repository-with-topics.md +++ b/content/github/administering-a-repository/classifying-your-repository-with-topics.md @@ -8,6 +8,8 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - repositories --- ### About topics diff --git a/content/github/administering-a-repository/comparing-releases.md b/content/github/administering-a-repository/comparing-releases.md index 7e57598c48..ae83a329db 100644 --- a/content/github/administering-a-repository/comparing-releases.md +++ b/content/github/administering-a-repository/comparing-releases.md @@ -6,6 +6,8 @@ versions: free-pro-team: '*' enterprise-server: '>=2.21' github-ae: '*' +topics: + - repositories --- {% data reusables.repositories.navigate-to-repo %} diff --git a/content/github/administering-a-repository/configuring-autolinks-to-reference-external-resources.md b/content/github/administering-a-repository/configuring-autolinks-to-reference-external-resources.md index dafdd7d9e5..023771cbe1 100644 --- a/content/github/administering-a-repository/configuring-autolinks-to-reference-external-resources.md +++ b/content/github/administering-a-repository/configuring-autolinks-to-reference-external-resources.md @@ -8,6 +8,8 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - repositories --- Anyone with admin permissions to a repository can configure autolink references to link issues, pull requests,{% if currentVersion == "free-pro-team@latest" or currentVersion == "github-ae@latest" or currentVersion ver_gt "enterprise-server@2.21" %} commit messages, and release descriptions{% else %} and commit messages{% endif %} to external third-party services. diff --git a/content/github/administering-a-repository/configuring-commit-rebasing-for-pull-requests.md b/content/github/administering-a-repository/configuring-commit-rebasing-for-pull-requests.md index eb2944629f..2a8e4a235b 100644 --- a/content/github/administering-a-repository/configuring-commit-rebasing-for-pull-requests.md +++ b/content/github/administering-a-repository/configuring-commit-rebasing-for-pull-requests.md @@ -7,6 +7,8 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - repositories --- {% data reusables.pull_requests.configure_pull_request_merges_intro %} diff --git a/content/github/administering-a-repository/configuring-commit-squashing-for-pull-requests.md b/content/github/administering-a-repository/configuring-commit-squashing-for-pull-requests.md index 8a3a1cde8c..010fbbcb58 100644 --- a/content/github/administering-a-repository/configuring-commit-squashing-for-pull-requests.md +++ b/content/github/administering-a-repository/configuring-commit-squashing-for-pull-requests.md @@ -7,6 +7,8 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - repositories --- {% data reusables.pull_requests.configure_pull_request_merges_intro %} diff --git a/content/github/administering-a-repository/configuring-pull-request-merges.md b/content/github/administering-a-repository/configuring-pull-request-merges.md index f42c9d2a9a..4f05c5af5a 100644 --- a/content/github/administering-a-repository/configuring-pull-request-merges.md +++ b/content/github/administering-a-repository/configuring-pull-request-merges.md @@ -8,5 +8,7 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - repositories --- diff --git a/content/github/administering-a-repository/configuring-the-retention-period-for-github-actions-artifacts-and-logs-in-your-repository.md b/content/github/administering-a-repository/configuring-the-retention-period-for-github-actions-artifacts-and-logs-in-your-repository.md index 8c100e064b..309dca088f 100644 --- a/content/github/administering-a-repository/configuring-the-retention-period-for-github-actions-artifacts-and-logs-in-your-repository.md +++ b/content/github/administering-a-repository/configuring-the-retention-period-for-github-actions-artifacts-and-logs-in-your-repository.md @@ -5,6 +5,8 @@ versions: free-pro-team: '*' enterprise-server: '>=2.23' github-ae: '*' +topics: + - repositories --- {% data reusables.actions.about-artifact-log-retention %} diff --git a/content/github/administering-a-repository/customizing-how-changed-files-appear-on-github.md b/content/github/administering-a-repository/customizing-how-changed-files-appear-on-github.md index 77d1e3d332..1e5e81df5b 100644 --- a/content/github/administering-a-repository/customizing-how-changed-files-appear-on-github.md +++ b/content/github/administering-a-repository/customizing-how-changed-files-appear-on-github.md @@ -7,6 +7,8 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - repositories --- Use a *.gitattributes* file to mark files that match a given "pattern" with the specified attributes. A *.gitattributes* file uses the same rules for matching as _.gitignore_ files. For more information, see [PATTERN FORMAT](https://www.git-scm.com/docs/gitignore#_pattern_format) in the Git documentation. diff --git a/content/github/administering-a-repository/customizing-your-repositorys-social-media-preview.md b/content/github/administering-a-repository/customizing-your-repositorys-social-media-preview.md index 10a7cc5654..beb609f0db 100644 --- a/content/github/administering-a-repository/customizing-your-repositorys-social-media-preview.md +++ b/content/github/administering-a-repository/customizing-your-repositorys-social-media-preview.md @@ -7,6 +7,8 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - repositories --- Until you add an image, repository links expand to show basic information about the repository and the owner's avatar. Adding an image to your repository can help identify your project across various social platforms. diff --git a/content/github/administering-a-repository/defining-the-mergeability-of-pull-requests.md b/content/github/administering-a-repository/defining-the-mergeability-of-pull-requests.md index ddf52fc18c..584181f842 100644 --- a/content/github/administering-a-repository/defining-the-mergeability-of-pull-requests.md +++ b/content/github/administering-a-repository/defining-the-mergeability-of-pull-requests.md @@ -11,5 +11,7 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - repositories --- diff --git a/content/github/administering-a-repository/deleting-a-repository.md b/content/github/administering-a-repository/deleting-a-repository.md index 87e00bcbfc..51abc910fb 100644 --- a/content/github/administering-a-repository/deleting-a-repository.md +++ b/content/github/administering-a-repository/deleting-a-repository.md @@ -9,6 +9,8 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - repositories --- {% data reusables.organizations.owners-and-admins-can %} delete an organization repository. If **Allow members to delete or transfer repositories for this organization** has been disabled, only organization owners can delete organization repositories. {% data reusables.organizations.new-repo-permissions-more-info %} diff --git a/content/github/administering-a-repository/deleting-and-restoring-branches-in-a-pull-request.md b/content/github/administering-a-repository/deleting-and-restoring-branches-in-a-pull-request.md index 69b1689383..ea22b7c9f4 100644 --- a/content/github/administering-a-repository/deleting-and-restoring-branches-in-a-pull-request.md +++ b/content/github/administering-a-repository/deleting-and-restoring-branches-in-a-pull-request.md @@ -10,6 +10,8 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - repositories --- ### Deleting a branch used for a pull request diff --git a/content/github/administering-a-repository/disabling-or-limiting-github-actions-for-a-repository.md b/content/github/administering-a-repository/disabling-or-limiting-github-actions-for-a-repository.md index 4027f7cfc1..d7afb49e30 100644 --- a/content/github/administering-a-repository/disabling-or-limiting-github-actions-for-a-repository.md +++ b/content/github/administering-a-repository/disabling-or-limiting-github-actions-for-a-repository.md @@ -5,6 +5,8 @@ versions: free-pro-team: '*' enterprise-server: '>=2.22' github-ae: '*' +topics: + - repositories --- {% data reusables.actions.enterprise-beta %} diff --git a/content/github/administering-a-repository/displaying-a-sponsor-button-in-your-repository.md b/content/github/administering-a-repository/displaying-a-sponsor-button-in-your-repository.md index 4edba4dded..e665938671 100644 --- a/content/github/administering-a-repository/displaying-a-sponsor-button-in-your-repository.md +++ b/content/github/administering-a-repository/displaying-a-sponsor-button-in-your-repository.md @@ -6,6 +6,8 @@ redirect_from: - /articles/displaying-a-sponsor-button-in-your-repository versions: free-pro-team: '*' +topics: + - repositories --- ### About FUNDING files diff --git a/content/github/administering-a-repository/enabling-or-disabling-github-discussions-for-a-repository.md b/content/github/administering-a-repository/enabling-or-disabling-github-discussions-for-a-repository.md index 9937e19241..0ec0ad3282 100644 --- a/content/github/administering-a-repository/enabling-or-disabling-github-discussions-for-a-repository.md +++ b/content/github/administering-a-repository/enabling-or-disabling-github-discussions-for-a-repository.md @@ -5,6 +5,8 @@ product: '{% data reusables.gated-features.discussions %}' permissions: People with admin permissions to a repository can enable discussions for the repository. versions: free-pro-team: '*' +topics: + - repositories --- {% data reusables.discussions.beta %} diff --git a/content/github/administering-a-repository/index.md b/content/github/administering-a-repository/index.md index 5ed179703c..4c305bd48c 100644 --- a/content/github/administering-a-repository/index.md +++ b/content/github/administering-a-repository/index.md @@ -6,6 +6,8 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - repositories --- @@ -25,6 +27,7 @@ versions: {% link_in_list /disabling-or-limiting-github-actions-for-a-repository %}{% if currentVersion == "free-pro-team@latest" %} {% link_in_list /enabling-or-disabling-github-discussions-for-a-repository %}{% endif %} {% link_in_list /managing-git-lfs-objects-in-archives-of-your-repository %} + {% link_in_list /managing-security-and-analysis-settings-for-your-repository %} {% link_in_list /enabling-anonymous-git-read-access-for-a-repository %} {% link_in_list /configuring-autolinks-to-reference-external-resources %} {% link_in_list /renaming-a-repository %} @@ -53,17 +56,3 @@ versions: {% link_in_list /linking-to-releases %} {% link_in_list /comparing-releases %} {% link_in_list /automation-for-release-forms-with-query-parameters %} -{% topic_link_in_list /securing-your-repository %} - {% link_in_list /about-securing-your-repository %} - {% link_in_list /about-secret-scanning %} - {% link_in_list /configuring-secret-scanning-for-your-repositories %} - {% link_in_list /managing-alerts-from-secret-scanning %} - {% link_in_list /managing-security-and-analysis-settings-for-your-repository %} -{% topic_link_in_list /keeping-your-dependencies-updated-automatically %} - {% link_in_list /about-dependabot-version-updates %} - {% link_in_list /enabling-and-disabling-version-updates %} - {% link_in_list /listing-dependencies-configured-for-version-updates %} - {% link_in_list /managing-pull-requests-for-dependency-updates %} - {% link_in_list /customizing-dependency-updates %} - {% link_in_list /configuration-options-for-dependency-updates %} - {% link_in_list /keeping-your-actions-up-to-date-with-dependabot %} diff --git a/content/github/administering-a-repository/linking-to-releases.md b/content/github/administering-a-repository/linking-to-releases.md index 8d87615b86..b6cb7bbcba 100644 --- a/content/github/administering-a-repository/linking-to-releases.md +++ b/content/github/administering-a-repository/linking-to-releases.md @@ -7,6 +7,8 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - repositories --- {% data reusables.repositories.navigate-to-repo %} diff --git a/content/github/administering-a-repository/managing-a-branch-protection-rule.md b/content/github/administering-a-repository/managing-a-branch-protection-rule.md index 06a6d484d7..38384638d7 100644 --- a/content/github/administering-a-repository/managing-a-branch-protection-rule.md +++ b/content/github/administering-a-repository/managing-a-branch-protection-rule.md @@ -21,6 +21,8 @@ versions: enterprise-server: '*' github-ae: '*' permissions: People with admin permissions to a repository can manage branch protection rules. +topics: + - repositories --- ### About branch protection rules diff --git a/content/github/administering-a-repository/managing-auto-merge-for-pull-requests-in-your-repository.md b/content/github/administering-a-repository/managing-auto-merge-for-pull-requests-in-your-repository.md index 77fe94a3c3..0e7cb11f0f 100644 --- a/content/github/administering-a-repository/managing-auto-merge-for-pull-requests-in-your-repository.md +++ b/content/github/administering-a-repository/managing-auto-merge-for-pull-requests-in-your-repository.md @@ -1,11 +1,14 @@ --- title: Managing auto-merge for pull requests in your repository -intro: "You can allow or disallow auto-merge for pull requests in your repository." +intro: You can allow or disallow auto-merge for pull requests in your repository. product: '{% data reusables.gated-features.auto-merge %}' versions: free-pro-team: '*' enterprise-server: '>=3.1' + github-ae: '*' permissions: People with maintainer permissions can manage auto-merge for pull requests in a repository. +topics: + - repositories --- If you allow auto-merge for pull requests in your repository, people can configure individual pull requests in the repository to merge automatically when all merge requirements are met. For more information, see "[Automatically merging a pull request](/github/collaborating-with-issues-and-pull-requests/automatically-merging-a-pull-request)." diff --git a/content/github/administering-a-repository/managing-branches-in-your-repository.md b/content/github/administering-a-repository/managing-branches-in-your-repository.md index 2688f35f9e..c59c70f2b2 100644 --- a/content/github/administering-a-repository/managing-branches-in-your-repository.md +++ b/content/github/administering-a-repository/managing-branches-in-your-repository.md @@ -8,5 +8,7 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - repositories --- diff --git a/content/github/administering-a-repository/managing-git-lfs-objects-in-archives-of-your-repository.md b/content/github/administering-a-repository/managing-git-lfs-objects-in-archives-of-your-repository.md index a4bb51ee20..f8f65c1c80 100644 --- a/content/github/administering-a-repository/managing-git-lfs-objects-in-archives-of-your-repository.md +++ b/content/github/administering-a-repository/managing-git-lfs-objects-in-archives-of-your-repository.md @@ -7,6 +7,8 @@ versions: free-pro-team: '*' enterprise-server: '>3.0' github-ae: '*' +topics: + - repositories --- ### About {% data variables.large_files.product_name_short %} objects in archives diff --git a/content/github/administering-a-repository/managing-releases-in-a-repository.md b/content/github/administering-a-repository/managing-releases-in-a-repository.md index fb779d9e7c..0998c7252e 100644 --- a/content/github/administering-a-repository/managing-releases-in-a-repository.md +++ b/content/github/administering-a-repository/managing-releases-in-a-repository.md @@ -13,6 +13,8 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - repositories --- {% if currentVersion == "free-pro-team@latest" or currentVersion ver_gt "enterprise-server@3.0" or currentVersion ver_gt "github-ae@latest" %} diff --git a/content/github/administering-a-repository/managing-repository-settings.md b/content/github/administering-a-repository/managing-repository-settings.md index fe7f46cdc3..d62b9d82b2 100644 --- a/content/github/administering-a-repository/managing-repository-settings.md +++ b/content/github/administering-a-repository/managing-repository-settings.md @@ -8,5 +8,7 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - repositories --- diff --git a/content/github/administering-a-repository/managing-security-and-analysis-settings-for-your-repository.md b/content/github/administering-a-repository/managing-security-and-analysis-settings-for-your-repository.md index f652543a23..4eed68ffc8 100644 --- a/content/github/administering-a-repository/managing-security-and-analysis-settings-for-your-repository.md +++ b/content/github/administering-a-repository/managing-security-and-analysis-settings-for-your-repository.md @@ -11,6 +11,8 @@ versions: free-pro-team: '*' enterprise-server: '>=3.0' github-ae: '*' +topics: + - repositories --- {% if currentVersion == "free-pro-team@latest" %} @@ -27,7 +29,7 @@ You can manage a subset of security and analysis features for public repositorie ### Enabling or disabling security and analysis features{% if currentVersion == "free-pro-team@latest" %} for private repositories{% endif %} -You can manage the security and analysis features for your {% if currentVersion == "free-pro-team@latest" %}private or internal {% endif %}repository.{% if currentVersion == "free-pro-team@latest" or currentVersion ver_gt "enterprise-server@2.22" %} If your organization or enterprise has a license for {% data variables.product.prodname_GH_advanced_security %} then extra options are available. {% data reusables.advanced-security.more-info-ghas %}{% endif %} +You can manage the security and analysis features for your {% if currentVersion == "free-pro-team@latest" %}private or internal {% endif %}repository.{% if currentVersion == "free-pro-team@latest" or currentVersion ver_gt "enterprise-server@2.22" %} If your organization belongs to an enterprise with a license for {% data variables.product.prodname_GH_advanced_security %} then extra options are available. {% data reusables.advanced-security.more-info-ghas %}{% endif %} {% data reusables.security.security-and-analysis-features-enable-read-only %} diff --git a/content/github/administering-a-repository/managing-teams-and-people-with-access-to-your-repository.md b/content/github/administering-a-repository/managing-teams-and-people-with-access-to-your-repository.md index 9e38d3ccec..fc4dac0766 100644 --- a/content/github/administering-a-repository/managing-teams-and-people-with-access-to-your-repository.md +++ b/content/github/administering-a-repository/managing-teams-and-people-with-access-to-your-repository.md @@ -6,6 +6,8 @@ redirect_from: - /github/administering-a-repository/managing-people-and-teams-with-access-to-your-repository versions: free-pro-team: '*' +topics: + - repositories --- ### About managing access to your repository diff --git a/content/github/administering-a-repository/managing-the-automatic-deletion-of-branches.md b/content/github/administering-a-repository/managing-the-automatic-deletion-of-branches.md index f165dc4986..ffa5b30e4a 100644 --- a/content/github/administering-a-repository/managing-the-automatic-deletion-of-branches.md +++ b/content/github/administering-a-repository/managing-the-automatic-deletion-of-branches.md @@ -7,6 +7,8 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - repositories --- Anyone with admin permissions to a repository can enable or disable the automatic deletion of branches. diff --git a/content/github/administering-a-repository/managing-the-forking-policy-for-your-repository.md b/content/github/administering-a-repository/managing-the-forking-policy-for-your-repository.md index 94e4afbdf9..6d6be04cd2 100644 --- a/content/github/administering-a-repository/managing-the-forking-policy-for-your-repository.md +++ b/content/github/administering-a-repository/managing-the-forking-policy-for-your-repository.md @@ -9,6 +9,8 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - repositories --- An organization owner must allow forks of private{% if currentVersion == "free-pro-team@latest" or currentVersion == "github-ae@latest" or currentVersion ver_gt "enterprise-server@2.19" %} and internal{% endif %} repositories on the organization level before you can allow or disallow forks for a specific repository. For more information, see "[Managing the forking policy for your organization](/github/setting-up-and-managing-organizations-and-teams/managing-the-forking-policy-for-your-organization)." diff --git a/content/github/administering-a-repository/releasing-projects-on-github.md b/content/github/administering-a-repository/releasing-projects-on-github.md index 372ed4cafc..0ee087417a 100644 --- a/content/github/administering-a-repository/releasing-projects-on-github.md +++ b/content/github/administering-a-repository/releasing-projects-on-github.md @@ -9,5 +9,7 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - repositories --- diff --git a/content/github/administering-a-repository/renaming-a-branch.md b/content/github/administering-a-repository/renaming-a-branch.md index 7b23d9d5d5..2386a11954 100644 --- a/content/github/administering-a-repository/renaming-a-branch.md +++ b/content/github/administering-a-repository/renaming-a-branch.md @@ -5,6 +5,8 @@ permissions: People with write permissions to a repository can rename a branch i versions: free-pro-team: '*' enterprise-server: '>=3.1' +topics: + - repositories --- ### About renaming branches diff --git a/content/github/administering-a-repository/renaming-a-repository.md b/content/github/administering-a-repository/renaming-a-repository.md index 49b2a1bb30..57638a77a7 100644 --- a/content/github/administering-a-repository/renaming-a-repository.md +++ b/content/github/administering-a-repository/renaming-a-repository.md @@ -7,6 +7,8 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - repositories --- When you rename a repository, all existing information, with the exception of project site URLs, is automatically redirected to the new name, including: diff --git a/content/github/administering-a-repository/restoring-a-deleted-repository.md b/content/github/administering-a-repository/restoring-a-deleted-repository.md index 7f8ac645e7..52e4b9e21e 100644 --- a/content/github/administering-a-repository/restoring-a-deleted-repository.md +++ b/content/github/administering-a-repository/restoring-a-deleted-repository.md @@ -5,6 +5,8 @@ redirect_from: - /articles/restoring-a-deleted-repository versions: free-pro-team: '*' +topics: + - repositories --- Anyone can restore deleted repositories that were owned by their own user account. Organization owners can restore deleted repositories that were owned by the organization. diff --git a/content/github/administering-a-repository/securing-your-repository.md b/content/github/administering-a-repository/securing-your-repository.md index 73f4af51ea..357d9148e6 100644 --- a/content/github/administering-a-repository/securing-your-repository.md +++ b/content/github/administering-a-repository/securing-your-repository.md @@ -8,5 +8,7 @@ versions: free-pro-team: '*' enterprise-server: '>=3.0' github-ae: '*' +topics: + - repositories --- diff --git a/content/github/administering-a-repository/setting-repository-visibility.md b/content/github/administering-a-repository/setting-repository-visibility.md index aacaffa8b6..587bf86a29 100644 --- a/content/github/administering-a-repository/setting-repository-visibility.md +++ b/content/github/administering-a-repository/setting-repository-visibility.md @@ -10,6 +10,8 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - repositories --- ### About repository visibility changes @@ -25,7 +27,7 @@ We recommend reviewing the following caveats before you change the visibility of * If you're using {% data variables.product.prodname_free_user %} for user accounts or organizations, some features won't be available in the repository after you change the visibility to private. {% data reusables.gated-features.more-info %}{% endif %} * Any published {% data variables.product.prodname_pages %} site will be automatically unpublished.{% if currentVersion == "free-pro-team@latest" %} If you added a custom domain to the {% data variables.product.prodname_pages %} site, you should remove or update your DNS records before making the repository private, to avoid the risk of a domain takeover. For more information, see "[Managing a custom domain for your {% data variables.product.prodname_pages %} site](/articles/managing-a-custom-domain-for-your-github-pages-site)."{% endif %}{% if currentVersion == "free-pro-team@latest" %} * {% data variables.product.prodname_dotcom %} will no longer include the repository in the {% data variables.product.prodname_archive %}. For more information, see "[About archiving content and data on {% data variables.product.prodname_dotcom %}](/github/creating-cloning-and-archiving-repositories/about-archiving-content-and-data-on-github#about-the-github-archive-program)."{% endif %}{% if currentVersion == "free-pro-team@latest" %} -* {% data variables.product.prodname_GH_advanced_security %} features, such as {% data variables.product.prodname_code_scanning %}, will stop working unless the repository is owned by an organization that has a license for {% data variables.product.prodname_advanced_security %} with sufficient spare seats. {% data reusables.advanced-security.more-info-ghas %}{% endif %}{% if enterpriseServerVersions contains currentVersion %} +* {% data variables.product.prodname_GH_advanced_security %} features, such as {% data variables.product.prodname_code_scanning %}, will stop working unless the repository is owned by an organization that is part of an enterprise with a license for {% data variables.product.prodname_advanced_security %} and sufficient spare seats. {% data reusables.advanced-security.more-info-ghas %}{% endif %}{% if enterpriseServerVersions contains currentVersion %} * Anonymous Git read access is no longer available. For more information, see "[Enabling anonymous Git read access for a repository](/enterprise/{{ currentVersion }}/user/articles/enabling-anonymous-git-read-access-for-a-repository)."{% endif %} {% if currentVersion == "free-pro-team@latest" or currentVersion == "github-ae@latest" or currentVersion ver_gt "enterprise-server@2.19" %} diff --git a/content/github/administering-a-repository/transferring-a-repository.md b/content/github/administering-a-repository/transferring-a-repository.md index 95343d8a7a..94388ad8a4 100644 --- a/content/github/administering-a-repository/transferring-a-repository.md +++ b/content/github/administering-a-repository/transferring-a-repository.md @@ -16,6 +16,8 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - repositories --- ### About repository transfers diff --git a/content/github/administering-a-repository/troubleshooting-required-status-checks.md b/content/github/administering-a-repository/troubleshooting-required-status-checks.md index d07532b5f4..3424fb27b7 100644 --- a/content/github/administering-a-repository/troubleshooting-required-status-checks.md +++ b/content/github/administering-a-repository/troubleshooting-required-status-checks.md @@ -1,11 +1,13 @@ --- title: Troubleshooting required status checks -intro: 'You can check for common errors and resolve issues with required status checks.' +intro: You can check for common errors and resolve issues with required status checks. product: '{% data reusables.gated-features.protected-branches %}' versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - repositories --- If you have a check and a status with the same name, and you select that name as a required status check, both the check and the status are required. For more information, see "[Checks](/rest/reference/checks)." diff --git a/content/github/administering-a-repository/viewing-branches-in-your-repository.md b/content/github/administering-a-repository/viewing-branches-in-your-repository.md index b6df1553e5..f2c4839806 100644 --- a/content/github/administering-a-repository/viewing-branches-in-your-repository.md +++ b/content/github/administering-a-repository/viewing-branches-in-your-repository.md @@ -7,6 +7,8 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - repositories --- {% data reusables.repositories.navigate-to-repo %} {% data reusables.repositories.navigate-to-branches %} @@ -16,6 +18,8 @@ versions: - **Stale branches**: The **Stale** view shows all branches that no one has committed to in the last three months, ordered by the branches with the oldest commits first. Use this list to determine [which branches to delete](/articles/creating-and-deleting-branches-within-your-repository). - **All branches**: The **All** view shows the default branch, followed by all other branches ordered by the branches with the most recent commits first. +4. Optionally, use the search field on the top right. It provides a simple, case-insensitive, sub-string search on the branch name. It does not support any additional query syntax. + ![The branches page for the Atom repository](/assets/images/help/branches/branches-overview-atom.png) ### Further reading diff --git a/content/github/administering-a-repository/viewing-deployment-activity-for-your-repository.md b/content/github/administering-a-repository/viewing-deployment-activity-for-your-repository.md index 9c6758f8c1..d551f5f755 100644 --- a/content/github/administering-a-repository/viewing-deployment-activity-for-your-repository.md +++ b/content/github/administering-a-repository/viewing-deployment-activity-for-your-repository.md @@ -7,6 +7,8 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - repositories --- {% note %} diff --git a/content/github/administering-a-repository/viewing-your-repositorys-releases-and-tags.md b/content/github/administering-a-repository/viewing-your-repositorys-releases-and-tags.md index e11d111666..bc64774ab1 100644 --- a/content/github/administering-a-repository/viewing-your-repositorys-releases-and-tags.md +++ b/content/github/administering-a-repository/viewing-your-repositorys-releases-and-tags.md @@ -9,6 +9,8 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - repositories --- {% if currentVersion == "free-pro-team@latest" or currentVersion == "github-ae@latest" or currentVersion ver_gt "enterprise-server@2.19" %} diff --git a/content/github/authenticating-to-github/about-anonymized-image-urls.md b/content/github/authenticating-to-github/about-anonymized-image-urls.md index d36acb1003..f1f469fcb0 100644 --- a/content/github/authenticating-to-github/about-anonymized-image-urls.md +++ b/content/github/authenticating-to-github/about-anonymized-image-urls.md @@ -6,6 +6,9 @@ redirect_from: - /articles/about-anonymized-image-urls versions: free-pro-team: '*' +topics: + - identity + - access management --- To host your images, {% data variables.product.product_name %} uses the [open-source project Camo](https://github.com/atmos/camo). Camo generates an anonymous URL proxy for each image which hides your browser details and related information from other users. The URL starts `https://.githubusercontent.com/`, with different subdomains depending on how you uploaded the image. diff --git a/content/github/authenticating-to-github/about-authentication-to-github.md b/content/github/authenticating-to-github/about-authentication-to-github.md index c7d1f21a1a..1f3dad6026 100644 --- a/content/github/authenticating-to-github/about-authentication-to-github.md +++ b/content/github/authenticating-to-github/about-authentication-to-github.md @@ -5,6 +5,9 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - identity + - access management --- ### About authentication to {% data variables.product.prodname_dotcom %} diff --git a/content/github/authenticating-to-github/about-authentication-with-saml-single-sign-on.md b/content/github/authenticating-to-github/about-authentication-with-saml-single-sign-on.md index bb6b3e7304..c7f6ff6491 100644 --- a/content/github/authenticating-to-github/about-authentication-with-saml-single-sign-on.md +++ b/content/github/authenticating-to-github/about-authentication-with-saml-single-sign-on.md @@ -7,6 +7,8 @@ redirect_from: versions: free-pro-team: '*' github-ae: '*' +topics: + - sso --- ### About authentication with SAML SSO diff --git a/content/github/authenticating-to-github/about-commit-signature-verification.md b/content/github/authenticating-to-github/about-commit-signature-verification.md index 4c51889491..77a2b528ca 100644 --- a/content/github/authenticating-to-github/about-commit-signature-verification.md +++ b/content/github/authenticating-to-github/about-commit-signature-verification.md @@ -9,6 +9,9 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - identity + - access management --- ### About commit signature verification diff --git a/content/github/authenticating-to-github/about-githubs-ip-addresses.md b/content/github/authenticating-to-github/about-githubs-ip-addresses.md index 0ffa4bb10a..1718f9d21c 100644 --- a/content/github/authenticating-to-github/about-githubs-ip-addresses.md +++ b/content/github/authenticating-to-github/about-githubs-ip-addresses.md @@ -10,6 +10,9 @@ redirect_from: - /articles/about-githubs-ip-addresses versions: free-pro-team: '*' +topics: + - identity + - access management --- You can retrieve a list of {% data variables.product.prodname_dotcom %}'s IP addresses from the [meta](https://api.github.com/meta) API endpoint. For more information, see "[Meta](/rest/reference/meta)." diff --git a/content/github/authenticating-to-github/about-ssh.md b/content/github/authenticating-to-github/about-ssh.md index e6d03cbea3..2eaef9677c 100644 --- a/content/github/authenticating-to-github/about-ssh.md +++ b/content/github/authenticating-to-github/about-ssh.md @@ -7,6 +7,8 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - ssh --- When you set up SSH, you'll [generate an SSH key and add it to the ssh-agent](/articles/generating-a-new-ssh-key-and-adding-it-to-the-ssh-agent) and then [add the key to your {% data variables.product.product_name %} account](/articles/adding-a-new-ssh-key-to-your-github-account). Adding the SSH key to the ssh-agent ensures that your SSH key has an extra layer of security through the use of a passphrase. For more information, see "[Working with SSH key passphrases](/articles/working-with-ssh-key-passphrases)." diff --git a/content/github/authenticating-to-github/about-two-factor-authentication.md b/content/github/authenticating-to-github/about-two-factor-authentication.md index 478630fc95..fec3b375c2 100644 --- a/content/github/authenticating-to-github/about-two-factor-authentication.md +++ b/content/github/authenticating-to-github/about-two-factor-authentication.md @@ -6,6 +6,8 @@ redirect_from: versions: free-pro-team: '*' enterprise-server: '*' +topics: + - 2fa --- For {% data variables.product.product_name %}, the second form of authentication is a code that's generated by an application on your mobile device{% if currentVersion == "free-pro-team@latest" %} or sent as a text message (SMS){% endif %}. After you enable 2FA, {% data variables.product.product_name %} generates an authentication code any time someone attempts to sign into your {% data variables.product.product_name %} account. The only way someone can sign into your account is if they know both your password and have access to the authentication code on your phone. diff --git a/content/github/authenticating-to-github/accessing-github-using-two-factor-authentication.md b/content/github/authenticating-to-github/accessing-github-using-two-factor-authentication.md index 4310af7d71..0b15769178 100644 --- a/content/github/authenticating-to-github/accessing-github-using-two-factor-authentication.md +++ b/content/github/authenticating-to-github/accessing-github-using-two-factor-authentication.md @@ -9,6 +9,8 @@ redirect_from: versions: free-pro-team: '*' enterprise-server: '*' +topics: + - 2fa --- With two-factor authentication enabled, you'll need to provide an authentication code when accessing {% data variables.product.product_name %} through your browser. If you access {% data variables.product.product_name %} using other methods, such as the API or the command line, you'll need to use an alternative form of authentication. For more information, see "[About authentication to {% data variables.product.prodname_dotcom %}](/github/authenticating-to-github/about-authentication-to-github)." diff --git a/content/github/authenticating-to-github/adding-a-new-gpg-key-to-your-github-account.md b/content/github/authenticating-to-github/adding-a-new-gpg-key-to-your-github-account.md index e8c4ba5e23..6df4b4b162 100644 --- a/content/github/authenticating-to-github/adding-a-new-gpg-key-to-your-github-account.md +++ b/content/github/authenticating-to-github/adding-a-new-gpg-key-to-your-github-account.md @@ -7,6 +7,9 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - identity + - access management --- Before adding a new GPG key to your {% data variables.product.product_name %} account, you should have: diff --git a/content/github/authenticating-to-github/adding-a-new-ssh-key-to-your-github-account.md b/content/github/authenticating-to-github/adding-a-new-ssh-key-to-your-github-account.md index 668b00c955..0638c2432f 100644 --- a/content/github/authenticating-to-github/adding-a-new-ssh-key-to-your-github-account.md +++ b/content/github/authenticating-to-github/adding-a-new-ssh-key-to-your-github-account.md @@ -7,6 +7,8 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - ssh --- Before adding a new SSH key to your {% data variables.product.product_name %} account, you should have: diff --git a/content/github/authenticating-to-github/associating-an-email-with-your-gpg-key.md b/content/github/authenticating-to-github/associating-an-email-with-your-gpg-key.md index 79bf3d46bf..895402d671 100644 --- a/content/github/authenticating-to-github/associating-an-email-with-your-gpg-key.md +++ b/content/github/authenticating-to-github/associating-an-email-with-your-gpg-key.md @@ -7,6 +7,9 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - identity + - access management --- {% note %} diff --git a/content/github/authenticating-to-github/authenticating-with-saml-single-sign-on.md b/content/github/authenticating-to-github/authenticating-with-saml-single-sign-on.md index e1cc609301..bd089ba9e7 100644 --- a/content/github/authenticating-to-github/authenticating-with-saml-single-sign-on.md +++ b/content/github/authenticating-to-github/authenticating-with-saml-single-sign-on.md @@ -9,5 +9,7 @@ redirect_from: versions: free-pro-team: '*' github-ae: '*' +topics: + - sso --- diff --git a/content/github/authenticating-to-github/authorizing-a-personal-access-token-for-use-with-saml-single-sign-on.md b/content/github/authenticating-to-github/authorizing-a-personal-access-token-for-use-with-saml-single-sign-on.md index 6b52b66658..f7d73042d1 100644 --- a/content/github/authenticating-to-github/authorizing-a-personal-access-token-for-use-with-saml-single-sign-on.md +++ b/content/github/authenticating-to-github/authorizing-a-personal-access-token-for-use-with-saml-single-sign-on.md @@ -6,6 +6,8 @@ redirect_from: - /articles/authorizing-a-personal-access-token-for-use-with-saml-single-sign-on versions: free-pro-team: '*' +topics: + - sso --- You can authorize an existing personal access token, or [create a new personal access token](/github/authenticating-to-github/creating-a-personal-access-token) and then authorize it. diff --git a/content/github/authenticating-to-github/authorizing-an-ssh-key-for-use-with-saml-single-sign-on.md b/content/github/authenticating-to-github/authorizing-an-ssh-key-for-use-with-saml-single-sign-on.md index ee2b69a4b7..dd401111ea 100644 --- a/content/github/authenticating-to-github/authorizing-an-ssh-key-for-use-with-saml-single-sign-on.md +++ b/content/github/authenticating-to-github/authorizing-an-ssh-key-for-use-with-saml-single-sign-on.md @@ -6,6 +6,8 @@ redirect_from: - /articles/authorizing-an-ssh-key-for-use-with-saml-single-sign-on versions: free-pro-team: '*' +topics: + - sso --- You can authorize an existing SSH key, or create a new SSH key and then authorize it. For more information about creating a new SSH key, see "[Generating a new SSH key and adding it to the ssh-agent](/articles/generating-a-new-ssh-key-and-adding-it-to-the-ssh-agent)." diff --git a/content/github/authenticating-to-github/authorizing-oauth-apps.md b/content/github/authenticating-to-github/authorizing-oauth-apps.md index dca4ac4c69..6c32b4a444 100644 --- a/content/github/authenticating-to-github/authorizing-oauth-apps.md +++ b/content/github/authenticating-to-github/authorizing-oauth-apps.md @@ -7,6 +7,9 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - identity + - access management --- When an {% data variables.product.prodname_oauth_app %} wants to identify you by your {% data variables.product.product_name %} account, you'll see a page with the app's developer contact information and a list of the specific data that's being requested. diff --git a/content/github/authenticating-to-github/changing-two-factor-authentication-delivery-methods-for-your-mobile-device.md b/content/github/authenticating-to-github/changing-two-factor-authentication-delivery-methods-for-your-mobile-device.md index c2889d5547..b57c38d604 100644 --- a/content/github/authenticating-to-github/changing-two-factor-authentication-delivery-methods-for-your-mobile-device.md +++ b/content/github/authenticating-to-github/changing-two-factor-authentication-delivery-methods-for-your-mobile-device.md @@ -6,6 +6,8 @@ redirect_from: - /articles/changing-two-factor-authentication-delivery-methods-for-your-mobile-device versions: free-pro-team: '*' +topics: + - 2fa --- {% note %} diff --git a/content/github/authenticating-to-github/checking-for-existing-gpg-keys.md b/content/github/authenticating-to-github/checking-for-existing-gpg-keys.md index 1ffc22df36..0abd12c197 100644 --- a/content/github/authenticating-to-github/checking-for-existing-gpg-keys.md +++ b/content/github/authenticating-to-github/checking-for-existing-gpg-keys.md @@ -7,6 +7,9 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - identity + - access management --- {% data reusables.gpg.supported-gpg-key-algorithms %} diff --git a/content/github/authenticating-to-github/checking-for-existing-ssh-keys.md b/content/github/authenticating-to-github/checking-for-existing-ssh-keys.md index 9a95a12d6b..1131f1f04e 100644 --- a/content/github/authenticating-to-github/checking-for-existing-ssh-keys.md +++ b/content/github/authenticating-to-github/checking-for-existing-ssh-keys.md @@ -7,6 +7,8 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - ssh --- {% data reusables.ssh.dsa-support %} diff --git a/content/github/authenticating-to-github/checking-your-commit-and-tag-signature-verification-status.md b/content/github/authenticating-to-github/checking-your-commit-and-tag-signature-verification-status.md index 2e7403a50f..36d736bca8 100644 --- a/content/github/authenticating-to-github/checking-your-commit-and-tag-signature-verification-status.md +++ b/content/github/authenticating-to-github/checking-your-commit-and-tag-signature-verification-status.md @@ -8,6 +8,9 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - identity + - access management --- ### Checking your commit signature verification status diff --git a/content/github/authenticating-to-github/configuring-two-factor-authentication-recovery-methods.md b/content/github/authenticating-to-github/configuring-two-factor-authentication-recovery-methods.md index 937293a143..ac37753066 100644 --- a/content/github/authenticating-to-github/configuring-two-factor-authentication-recovery-methods.md +++ b/content/github/authenticating-to-github/configuring-two-factor-authentication-recovery-methods.md @@ -11,6 +11,8 @@ redirect_from: versions: free-pro-team: '*' enterprise-server: '*' +topics: + - 2fa --- In addition to securely storing your two-factor authentication recovery codes, we strongly recommend configuring one or more additional recovery methods. diff --git a/content/github/authenticating-to-github/configuring-two-factor-authentication.md b/content/github/authenticating-to-github/configuring-two-factor-authentication.md index bc352f983e..3066f68814 100644 --- a/content/github/authenticating-to-github/configuring-two-factor-authentication.md +++ b/content/github/authenticating-to-github/configuring-two-factor-authentication.md @@ -9,6 +9,8 @@ redirect_from: versions: free-pro-team: '*' enterprise-server: '*' +topics: + - 2fa --- You can configure two-factor authentication using a mobile app{% if currentVersion == "free-pro-team@latest" %} or via text message{% endif %}. You can also add a security key. diff --git a/content/github/authenticating-to-github/connecting-to-github-with-ssh.md b/content/github/authenticating-to-github/connecting-to-github-with-ssh.md index 2f82f7db52..09ce32816e 100644 --- a/content/github/authenticating-to-github/connecting-to-github-with-ssh.md +++ b/content/github/authenticating-to-github/connecting-to-github-with-ssh.md @@ -15,5 +15,7 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - ssh --- diff --git a/content/github/authenticating-to-github/connecting-with-third-party-applications.md b/content/github/authenticating-to-github/connecting-with-third-party-applications.md index a0e789b822..5ffb4b5bf2 100644 --- a/content/github/authenticating-to-github/connecting-with-third-party-applications.md +++ b/content/github/authenticating-to-github/connecting-with-third-party-applications.md @@ -7,6 +7,9 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - identity + - access management --- When a third-party application wants to identify you by your {% data variables.product.product_name %} login, you'll see a page with the developer contact information and a list of the specific data that's being requested. diff --git a/content/github/authenticating-to-github/countries-where-sms-authentication-is-supported.md b/content/github/authenticating-to-github/countries-where-sms-authentication-is-supported.md index aa7dc1332f..95d39a899a 100644 --- a/content/github/authenticating-to-github/countries-where-sms-authentication-is-supported.md +++ b/content/github/authenticating-to-github/countries-where-sms-authentication-is-supported.md @@ -5,6 +5,8 @@ redirect_from: - /articles/countries-where-sms-authentication-is-supported versions: free-pro-team: '*' +topics: + - 2fa --- If we don't support two-factor authentication via text message for your country of residence, you can set up authentication via a TOTP mobile application. For more information, see "[Configuring two-factor authentication](/articles/configuring-two-factor-authentication)." diff --git a/content/github/authenticating-to-github/creating-a-personal-access-token.md b/content/github/authenticating-to-github/creating-a-personal-access-token.md index eb78e05486..2340dc5433 100644 --- a/content/github/authenticating-to-github/creating-a-personal-access-token.md +++ b/content/github/authenticating-to-github/creating-a-personal-access-token.md @@ -10,6 +10,9 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - identity + - access management --- Personal access tokens (PATs) are an alternative to using passwords for authentication to {% data variables.product.product_name %} when using the [GitHub API](/rest/overview/other-authentication-methods#via-oauth-and-personal-access-tokens) or the [command line](#using-a-token-on-the-command-line). diff --git a/content/github/authenticating-to-github/creating-a-strong-password.md b/content/github/authenticating-to-github/creating-a-strong-password.md index db0cefe674..db2e968ad7 100644 --- a/content/github/authenticating-to-github/creating-a-strong-password.md +++ b/content/github/authenticating-to-github/creating-a-strong-password.md @@ -7,14 +7,17 @@ redirect_from: versions: free-pro-team: '*' enterprise-server: '*' +topics: + - identity + - access management --- You must choose or generate a password for your {% data variables.product.product_name %} account that is at least: - Eight characters long, if it includes a number and a lowercase letter, or -- 16 characters long with any combination of characters +- 15 characters long with any combination of characters To keep your account secure, we recommend you follow these best practices: -- Use a password manager, such as [LastPass](https://lastpass.com/) or [1Password](https://1password.com/), to generate a password more than 16 characters. +- Use a password manager, such as [LastPass](https://lastpass.com/) or [1Password](https://1password.com/), to generate a password of at least 15 characters. - Generate a unique password for {% data variables.product.product_name %}. If you use your {% data variables.product.product_name %} password elsewhere and that service is compromised, then attackers or other malicious actors could use that information to access your {% data variables.product.product_name %} account. - Configure two-factor authentication for your personal account. For more information, see "[About two-factor authentication](/articles/about-two-factor-authentication)." - Never share your password, even with a potential collaborator. Each person should use their own personal account on {% data variables.product.product_name %}. For more information on ways to collaborate, see: "[Inviting collaborators to a personal repository](/articles/inviting-collaborators-to-a-personal-repository)," "[About collaborative development models](/articles/about-collaborative-development-models/)," or "[Collaborating with groups in organizations](/articles/collaborating-with-groups-in-organizations/)." diff --git a/content/github/authenticating-to-github/deleted-or-missing-ssh-keys.md b/content/github/authenticating-to-github/deleted-or-missing-ssh-keys.md index a815793bf9..2d62415729 100644 --- a/content/github/authenticating-to-github/deleted-or-missing-ssh-keys.md +++ b/content/github/authenticating-to-github/deleted-or-missing-ssh-keys.md @@ -5,6 +5,8 @@ redirect_from: - /articles/deleted-or-missing-ssh-keys versions: free-pro-team: '*' +topics: + - ssh --- {% data variables.product.prodname_dotcom %} automatically deletes inactive SSH keys to help keep accounts safe, such as after someone leaves a job or loses a computer. diff --git a/content/github/authenticating-to-github/disabling-two-factor-authentication-for-your-personal-account.md b/content/github/authenticating-to-github/disabling-two-factor-authentication-for-your-personal-account.md index 6364fe6238..334725eabb 100644 --- a/content/github/authenticating-to-github/disabling-two-factor-authentication-for-your-personal-account.md +++ b/content/github/authenticating-to-github/disabling-two-factor-authentication-for-your-personal-account.md @@ -6,6 +6,8 @@ redirect_from: versions: free-pro-team: '*' enterprise-server: '*' +topics: + - 2fa --- We strongly recommend using two-factor authentication to secure your account. If you need to disable 2FA, we recommend re-enabling it as soon as possible. diff --git a/content/github/authenticating-to-github/error-agent-admitted-failure-to-sign.md b/content/github/authenticating-to-github/error-agent-admitted-failure-to-sign.md index ad63b888c3..0a0cf75aaf 100644 --- a/content/github/authenticating-to-github/error-agent-admitted-failure-to-sign.md +++ b/content/github/authenticating-to-github/error-agent-admitted-failure-to-sign.md @@ -8,6 +8,8 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - ssh --- When trying to SSH into {% data variables.product.product_location %} on a Linux computer, you may see the following message in your terminal: diff --git a/content/github/authenticating-to-github/error-bad-file-number.md b/content/github/authenticating-to-github/error-bad-file-number.md index af70808b43..c652063f74 100644 --- a/content/github/authenticating-to-github/error-bad-file-number.md +++ b/content/github/authenticating-to-github/error-bad-file-number.md @@ -7,6 +7,8 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - ssh --- When running remote Git commands or SSH, your connection might time out: diff --git a/content/github/authenticating-to-github/error-key-already-in-use.md b/content/github/authenticating-to-github/error-key-already-in-use.md index 2e4c52a8bf..91003389a0 100644 --- a/content/github/authenticating-to-github/error-key-already-in-use.md +++ b/content/github/authenticating-to-github/error-key-already-in-use.md @@ -7,6 +7,8 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - ssh --- ### Finding where the key has been used diff --git a/content/github/authenticating-to-github/error-permission-denied-publickey.md b/content/github/authenticating-to-github/error-permission-denied-publickey.md index 6057153d6b..6c57fec292 100644 --- a/content/github/authenticating-to-github/error-permission-denied-publickey.md +++ b/content/github/authenticating-to-github/error-permission-denied-publickey.md @@ -7,6 +7,8 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - ssh --- ### Should the `sudo` command be used with Git? diff --git a/content/github/authenticating-to-github/error-permission-to-userrepo-denied-to-other-user.md b/content/github/authenticating-to-github/error-permission-to-userrepo-denied-to-other-user.md index f45e846a3e..51660edaec 100644 --- a/content/github/authenticating-to-github/error-permission-to-userrepo-denied-to-other-user.md +++ b/content/github/authenticating-to-github/error-permission-to-userrepo-denied-to-other-user.md @@ -8,6 +8,8 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - ssh --- To fix this, the owner of the repository (`user`) needs to add your account (`other-user`) as a collaborator on the repository or to a team that has write access to the repository. diff --git a/content/github/authenticating-to-github/error-permission-to-userrepo-denied-to-userother-repo.md b/content/github/authenticating-to-github/error-permission-to-userrepo-denied-to-userother-repo.md index dda09ea92a..818e7dc717 100644 --- a/content/github/authenticating-to-github/error-permission-to-userrepo-denied-to-userother-repo.md +++ b/content/github/authenticating-to-github/error-permission-to-userrepo-denied-to-userother-repo.md @@ -8,6 +8,8 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - ssh --- To fix this, remove the deploy key from the repository, and [add the key to your user account](/articles/adding-a-new-ssh-key-to-your-github-account) instead. diff --git a/content/github/authenticating-to-github/error-ssh-add-illegal-option----k.md b/content/github/authenticating-to-github/error-ssh-add-illegal-option----k.md index 3d9d3e3fad..9699bf3bc7 100644 --- a/content/github/authenticating-to-github/error-ssh-add-illegal-option----k.md +++ b/content/github/authenticating-to-github/error-ssh-add-illegal-option----k.md @@ -8,6 +8,8 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - ssh --- The `-K` option is in Apple's standard version of `ssh-add`, which stores the passphrase in your keychain for you when you add an ssh key to the ssh-agent. If you have installed a different version of `ssh-add`, it may lack support for `-K`. diff --git a/content/github/authenticating-to-github/error-ssl-certificate-problem-verify-that-the-ca-cert-is-ok.md b/content/github/authenticating-to-github/error-ssl-certificate-problem-verify-that-the-ca-cert-is-ok.md index 1c844c3838..1d0e213750 100644 --- a/content/github/authenticating-to-github/error-ssl-certificate-problem-verify-that-the-ca-cert-is-ok.md +++ b/content/github/authenticating-to-github/error-ssl-certificate-problem-verify-that-the-ca-cert-is-ok.md @@ -5,6 +5,8 @@ redirect_from: - /articles/error-ssl-certificate-problem-verify-that-the-ca-cert-is-ok versions: free-pro-team: '*' +topics: + - ssh --- The error you receive may look like the following: diff --git a/content/github/authenticating-to-github/error-were-doing-an-ssh-key-audit.md b/content/github/authenticating-to-github/error-were-doing-an-ssh-key-audit.md index 3ca153f2df..fadb01e5fd 100644 --- a/content/github/authenticating-to-github/error-were-doing-an-ssh-key-audit.md +++ b/content/github/authenticating-to-github/error-were-doing-an-ssh-key-audit.md @@ -8,6 +8,8 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - ssh --- When using an unverified key to perform Git operations, you will be prompted to perform an audit of your SSH keys. diff --git a/content/github/authenticating-to-github/generating-a-new-gpg-key.md b/content/github/authenticating-to-github/generating-a-new-gpg-key.md index b02d4f0cef..65069037b2 100644 --- a/content/github/authenticating-to-github/generating-a-new-gpg-key.md +++ b/content/github/authenticating-to-github/generating-a-new-gpg-key.md @@ -7,6 +7,9 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - identity + - access management --- {% data reusables.gpg.supported-gpg-key-algorithms %} diff --git a/content/github/authenticating-to-github/generating-a-new-ssh-key-and-adding-it-to-the-ssh-agent.md b/content/github/authenticating-to-github/generating-a-new-ssh-key-and-adding-it-to-the-ssh-agent.md index 020d609a12..93182ab506 100644 --- a/content/github/authenticating-to-github/generating-a-new-ssh-key-and-adding-it-to-the-ssh-agent.md +++ b/content/github/authenticating-to-github/generating-a-new-ssh-key-and-adding-it-to-the-ssh-agent.md @@ -9,6 +9,8 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - ssh --- If you don't already have an SSH key, you must [generate a new SSH key](#generating-a-new-ssh-key). If you're unsure whether you already have an SSH key, check for [existing keys](/articles/checking-for-existing-ssh-keys). diff --git a/content/github/authenticating-to-github/githubs-ssh-key-fingerprints.md b/content/github/authenticating-to-github/githubs-ssh-key-fingerprints.md index 309b4e69c1..6b47b5874f 100644 --- a/content/github/authenticating-to-github/githubs-ssh-key-fingerprints.md +++ b/content/github/authenticating-to-github/githubs-ssh-key-fingerprints.md @@ -7,6 +7,9 @@ redirect_from: - /articles/githubs-ssh-key-fingerprints versions: free-pro-team: '*' +topics: + - identity + - access management --- These are {% data variables.product.prodname_dotcom %}'s public key fingerprints: diff --git a/content/github/authenticating-to-github/index.md b/content/github/authenticating-to-github/index.md index 30e51c7087..d59e1b78c4 100644 --- a/content/github/authenticating-to-github/index.md +++ b/content/github/authenticating-to-github/index.md @@ -17,6 +17,12 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - 2fa + - identity + - access management + - usernames + - device verification --- diff --git a/content/github/authenticating-to-github/keeping-your-account-and-data-secure.md b/content/github/authenticating-to-github/keeping-your-account-and-data-secure.md index 183fecb7f3..f2cceaccef 100644 --- a/content/github/authenticating-to-github/keeping-your-account-and-data-secure.md +++ b/content/github/authenticating-to-github/keeping-your-account-and-data-secure.md @@ -8,5 +8,8 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - identity + - access management --- diff --git a/content/github/authenticating-to-github/managing-commit-signature-verification.md b/content/github/authenticating-to-github/managing-commit-signature-verification.md index da61d71196..1402793ca0 100644 --- a/content/github/authenticating-to-github/managing-commit-signature-verification.md +++ b/content/github/authenticating-to-github/managing-commit-signature-verification.md @@ -10,5 +10,8 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - identity + - access management --- diff --git a/content/github/authenticating-to-github/preventing-unauthorized-access.md b/content/github/authenticating-to-github/preventing-unauthorized-access.md index 79c9518fac..80cf7fc056 100644 --- a/content/github/authenticating-to-github/preventing-unauthorized-access.md +++ b/content/github/authenticating-to-github/preventing-unauthorized-access.md @@ -6,6 +6,9 @@ redirect_from: versions: free-pro-team: '*' enterprise-server: '*' +topics: + - identity + - access management --- {% data variables.product.product_name %} requires a password to perform sensitive actions, such as adding new SSH keys, authorizing applications, or modifying team members. diff --git a/content/github/authenticating-to-github/recovering-your-account-if-you-lose-your-2fa-credentials.md b/content/github/authenticating-to-github/recovering-your-account-if-you-lose-your-2fa-credentials.md index e3259b0eff..f6fad1ddb2 100644 --- a/content/github/authenticating-to-github/recovering-your-account-if-you-lose-your-2fa-credentials.md +++ b/content/github/authenticating-to-github/recovering-your-account-if-you-lose-your-2fa-credentials.md @@ -8,6 +8,8 @@ redirect_from: versions: free-pro-team: '*' enterprise-server: '*' +topics: + - 2fa --- {% if currentVersion == "free-pro-team@latest" %} diff --git a/content/github/authenticating-to-github/recovering-your-ssh-key-passphrase.md b/content/github/authenticating-to-github/recovering-your-ssh-key-passphrase.md index fc251cc1e1..e5bc1c00c6 100644 --- a/content/github/authenticating-to-github/recovering-your-ssh-key-passphrase.md +++ b/content/github/authenticating-to-github/recovering-your-ssh-key-passphrase.md @@ -9,6 +9,8 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - ssh --- {% mac %} diff --git a/content/github/authenticating-to-github/removing-sensitive-data-from-a-repository.md b/content/github/authenticating-to-github/removing-sensitive-data-from-a-repository.md index 55bd3a3601..95e6b04666 100644 --- a/content/github/authenticating-to-github/removing-sensitive-data-from-a-repository.md +++ b/content/github/authenticating-to-github/removing-sensitive-data-from-a-repository.md @@ -10,6 +10,9 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - identity + - access management --- The `git filter-branch` command and the BFG Repo-Cleaner rewrite your repository's history, which changes the SHAs for existing commits that you alter and any dependent commits. Changed commit SHAs may affect open pull requests in your repository. We recommend merging or closing all open pull requests before removing files from your repository. diff --git a/content/github/authenticating-to-github/reviewing-your-authorized-applications-oauth.md b/content/github/authenticating-to-github/reviewing-your-authorized-applications-oauth.md index ce1fd85a57..81cd79e7ff 100644 --- a/content/github/authenticating-to-github/reviewing-your-authorized-applications-oauth.md +++ b/content/github/authenticating-to-github/reviewing-your-authorized-applications-oauth.md @@ -7,6 +7,9 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - identity + - access management --- {% data reusables.user_settings.access_settings %} diff --git a/content/github/authenticating-to-github/reviewing-your-authorized-integrations.md b/content/github/authenticating-to-github/reviewing-your-authorized-integrations.md index 6bbe5801e1..6423bac6f8 100644 --- a/content/github/authenticating-to-github/reviewing-your-authorized-integrations.md +++ b/content/github/authenticating-to-github/reviewing-your-authorized-integrations.md @@ -7,6 +7,9 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - identity + - access management --- ### Reviewing your authorized {% data variables.product.prodname_oauth_app %}s diff --git a/content/github/authenticating-to-github/reviewing-your-deploy-keys.md b/content/github/authenticating-to-github/reviewing-your-deploy-keys.md index 85eba969b9..f6b160dfd0 100644 --- a/content/github/authenticating-to-github/reviewing-your-deploy-keys.md +++ b/content/github/authenticating-to-github/reviewing-your-deploy-keys.md @@ -7,6 +7,9 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - identity + - access management --- {% data reusables.repositories.navigate-to-repo %} diff --git a/content/github/authenticating-to-github/reviewing-your-security-log.md b/content/github/authenticating-to-github/reviewing-your-security-log.md index 01aa0036e4..466c990e1c 100644 --- a/content/github/authenticating-to-github/reviewing-your-security-log.md +++ b/content/github/authenticating-to-github/reviewing-your-security-log.md @@ -8,6 +8,9 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - identity + - access management --- ### Accessing your security log diff --git a/content/github/authenticating-to-github/reviewing-your-ssh-keys.md b/content/github/authenticating-to-github/reviewing-your-ssh-keys.md index ba3e70593d..2aec1117d3 100644 --- a/content/github/authenticating-to-github/reviewing-your-ssh-keys.md +++ b/content/github/authenticating-to-github/reviewing-your-ssh-keys.md @@ -9,6 +9,9 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - identity + - access management --- You can delete unauthorized (or possibly compromised) SSH keys to ensure that an attacker no longer has access to your repositories. You can also approve existing SSH keys that are valid. diff --git a/content/github/authenticating-to-github/securing-your-account-with-two-factor-authentication-2fa.md b/content/github/authenticating-to-github/securing-your-account-with-two-factor-authentication-2fa.md index 597dc2ed96..5dc2e4fc18 100644 --- a/content/github/authenticating-to-github/securing-your-account-with-two-factor-authentication-2fa.md +++ b/content/github/authenticating-to-github/securing-your-account-with-two-factor-authentication-2fa.md @@ -9,5 +9,7 @@ mapTopic: true versions: free-pro-team: '*' enterprise-server: '*' +topics: + - 2fa --- diff --git a/content/github/authenticating-to-github/signing-commits.md b/content/github/authenticating-to-github/signing-commits.md index fe4fefa5cb..247301e527 100644 --- a/content/github/authenticating-to-github/signing-commits.md +++ b/content/github/authenticating-to-github/signing-commits.md @@ -9,6 +9,9 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - identity + - access management --- {% data reusables.gpg.desktop-support-for-commit-signing %} diff --git a/content/github/authenticating-to-github/signing-tags.md b/content/github/authenticating-to-github/signing-tags.md index 7924021445..08026ad479 100644 --- a/content/github/authenticating-to-github/signing-tags.md +++ b/content/github/authenticating-to-github/signing-tags.md @@ -8,6 +8,9 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - identity + - access management --- {% data reusables.gpg.desktop-support-for-commit-signing %} diff --git a/content/github/authenticating-to-github/sudo-mode.md b/content/github/authenticating-to-github/sudo-mode.md index 065f2c0582..a20303dd82 100644 --- a/content/github/authenticating-to-github/sudo-mode.md +++ b/content/github/authenticating-to-github/sudo-mode.md @@ -6,6 +6,9 @@ redirect_from: versions: free-pro-team: '*' enterprise-server: '*' +topics: + - identity + - access management --- After you've performed a sudo-protected action, you'll only be asked to re-authenticate again after a few hours of inactivity. Every sudo-protected action resets this timer. diff --git a/content/github/authenticating-to-github/telling-git-about-your-signing-key.md b/content/github/authenticating-to-github/telling-git-about-your-signing-key.md index 70780cac45..5fab6b7ab9 100644 --- a/content/github/authenticating-to-github/telling-git-about-your-signing-key.md +++ b/content/github/authenticating-to-github/telling-git-about-your-signing-key.md @@ -1,6 +1,6 @@ --- title: Telling Git about your signing key -intro: "To sign commits locally, you need to inform Git that there's a GPG or X.509 key you'd like to use." +intro: 'To sign commits locally, you need to inform Git that there''s a GPG or X.509 key you''d like to use.' redirect_from: - /articles/telling-git-about-your-gpg-key/ - /articles/telling-git-about-your-signing-key @@ -8,6 +8,9 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - identity + - access management --- {% mac %} diff --git a/content/github/authenticating-to-github/testing-your-ssh-connection.md b/content/github/authenticating-to-github/testing-your-ssh-connection.md index 1413718434..167a477bb5 100644 --- a/content/github/authenticating-to-github/testing-your-ssh-connection.md +++ b/content/github/authenticating-to-github/testing-your-ssh-connection.md @@ -7,6 +7,8 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - ssh --- Before testing your SSH connection, you should have: diff --git a/content/github/authenticating-to-github/troubleshooting-commit-signature-verification.md b/content/github/authenticating-to-github/troubleshooting-commit-signature-verification.md index eaf728188e..ae4ef0099e 100644 --- a/content/github/authenticating-to-github/troubleshooting-commit-signature-verification.md +++ b/content/github/authenticating-to-github/troubleshooting-commit-signature-verification.md @@ -9,5 +9,8 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - identity + - access management --- diff --git a/content/github/authenticating-to-github/troubleshooting-ssh.md b/content/github/authenticating-to-github/troubleshooting-ssh.md index 6e0edc6822..a7d35a006e 100644 --- a/content/github/authenticating-to-github/troubleshooting-ssh.md +++ b/content/github/authenticating-to-github/troubleshooting-ssh.md @@ -8,5 +8,7 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - ssh --- diff --git a/content/github/authenticating-to-github/updating-an-expired-gpg-key.md b/content/github/authenticating-to-github/updating-an-expired-gpg-key.md index 15a8a860a3..0d76efd0fc 100644 --- a/content/github/authenticating-to-github/updating-an-expired-gpg-key.md +++ b/content/github/authenticating-to-github/updating-an-expired-gpg-key.md @@ -7,6 +7,9 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - identity + - access management --- If your key is expired, you must [update the expiration](https://www.gnupg.org/gph/en/manual/c235.html#AEN328), export the new key, delete the expired key in your GitHub account, and [upload the new key to GitHub](/articles/adding-a-new-gpg-key-to-your-github-account/). Your previous commits and tags will show as verified, as long as the key meets all other verification requirements. diff --git a/content/github/authenticating-to-github/updating-your-github-access-credentials.md b/content/github/authenticating-to-github/updating-your-github-access-credentials.md index 75214d3ae8..121deadaeb 100644 --- a/content/github/authenticating-to-github/updating-your-github-access-credentials.md +++ b/content/github/authenticating-to-github/updating-your-github-access-credentials.md @@ -9,6 +9,9 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - identity + - access management --- {% if currentVersion != "github-ae@latest" %} diff --git a/content/github/authenticating-to-github/using-a-verified-email-address-in-your-gpg-key.md b/content/github/authenticating-to-github/using-a-verified-email-address-in-your-gpg-key.md index e215b0d4b5..f072a89dab 100644 --- a/content/github/authenticating-to-github/using-a-verified-email-address-in-your-gpg-key.md +++ b/content/github/authenticating-to-github/using-a-verified-email-address-in-your-gpg-key.md @@ -7,6 +7,9 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - identity + - access management --- {% if currentVersion == "free-pro-team@latest" %} diff --git a/content/github/authenticating-to-github/using-ssh-over-the-https-port.md b/content/github/authenticating-to-github/using-ssh-over-the-https-port.md index ba712f9d73..05f7043e78 100644 --- a/content/github/authenticating-to-github/using-ssh-over-the-https-port.md +++ b/content/github/authenticating-to-github/using-ssh-over-the-https-port.md @@ -5,6 +5,8 @@ redirect_from: - /articles/using-ssh-over-the-https-port versions: free-pro-team: '*' +topics: + - ssh --- {% tip %} diff --git a/content/github/authenticating-to-github/viewing-and-managing-your-active-saml-sessions.md b/content/github/authenticating-to-github/viewing-and-managing-your-active-saml-sessions.md index 4b3d9b9288..ce7b47ed3b 100644 --- a/content/github/authenticating-to-github/viewing-and-managing-your-active-saml-sessions.md +++ b/content/github/authenticating-to-github/viewing-and-managing-your-active-saml-sessions.md @@ -5,6 +5,8 @@ redirect_from: - /articles/viewing-and-managing-your-active-saml-sessions versions: free-pro-team: '*' +topics: + - sso --- {% data reusables.user_settings.access_settings %} @@ -24,4 +26,4 @@ versions: ### Further reading -- "[About authentication with SAML SSO](/github/authenticating-to-github/about-authentication-with-saml-single-sign-on)" \ No newline at end of file +- "[About authentication with SAML SSO](/github/authenticating-to-github/about-authentication-with-saml-single-sign-on)" diff --git a/content/github/authenticating-to-github/working-with-ssh-key-passphrases.md b/content/github/authenticating-to-github/working-with-ssh-key-passphrases.md index 81917a1cc1..859778b9eb 100644 --- a/content/github/authenticating-to-github/working-with-ssh-key-passphrases.md +++ b/content/github/authenticating-to-github/working-with-ssh-key-passphrases.md @@ -9,6 +9,8 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - ssh --- With SSH keys, if someone gains access to your computer, they also gain access to every system that uses that key. To add an extra layer of security, you can add a passphrase to your SSH key. You can use `ssh-agent` to securely save your passphrase so you don't have to reenter it. diff --git a/content/github/building-a-strong-community/about-community-management-and-moderation.md b/content/github/building-a-strong-community/about-community-management-and-moderation.md index 1e693282d9..f4a26afaa9 100644 --- a/content/github/building-a-strong-community/about-community-management-and-moderation.md +++ b/content/github/building-a-strong-community/about-community-management-and-moderation.md @@ -3,6 +3,8 @@ title: About community management and moderation intro: '{% data variables.product.prodname_dotcom %} offers tools that help repository maintainers establish and enforce standards of behavior in their communities on {% data variables.product.prodname_dotcom_the_website %}.' versions: free-pro-team: '*' +topics: + - community --- ### About community management and moderation diff --git a/content/github/building-a-strong-community/about-community-profiles-for-public-repositories.md b/content/github/building-a-strong-community/about-community-profiles-for-public-repositories.md index 5e1f3a28ef..5876ae99d6 100644 --- a/content/github/building-a-strong-community/about-community-profiles-for-public-repositories.md +++ b/content/github/building-a-strong-community/about-community-profiles-for-public-repositories.md @@ -6,6 +6,8 @@ redirect_from: - /articles/about-community-profiles-for-public-repositories versions: free-pro-team: '*' +topics: + - community --- The community profile checklist checks to see if a project includes recommended community health files, such as README, CODE_OF_CONDUCT, LICENSE, or CONTRIBUTING, in a supported location. For more information, see "[Accessing a project's community profile](/articles/accessing-a-project-s-community-profile)." diff --git a/content/github/building-a-strong-community/about-issue-and-pull-request-templates.md b/content/github/building-a-strong-community/about-issue-and-pull-request-templates.md index 8d8c0a7b0e..7f3ecabf3e 100644 --- a/content/github/building-a-strong-community/about-issue-and-pull-request-templates.md +++ b/content/github/building-a-strong-community/about-issue-and-pull-request-templates.md @@ -7,6 +7,8 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - community --- After you create issue and pull request templates in your repository, contributors can use the templates to open issues or describe the proposed changes in their pull requests according to the repository's contributing guidelines. For more information about adding contributing guidelines to a repository, see "[Setting guidelines for repository contributors](/articles/setting-guidelines-for-repository-contributors)." diff --git a/content/github/building-a-strong-community/about-wikis.md b/content/github/building-a-strong-community/about-wikis.md index 6e0beec462..39ebce9237 100644 --- a/content/github/building-a-strong-community/about-wikis.md +++ b/content/github/building-a-strong-community/about-wikis.md @@ -9,6 +9,8 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - community --- Every {% data variables.product.product_name %} repository comes equipped with a section for hosting documentation, called a wiki. You can use your repository's wiki to share long-form content about your project, such as how to use it, how you designed it, or its core principles. A README file quickly tells what your project can do, while you can use a wiki to provide additional documentation. For more information, see "[About READMEs](/articles/about-readmes)." diff --git a/content/github/building-a-strong-community/accessing-a-projects-community-profile.md b/content/github/building-a-strong-community/accessing-a-projects-community-profile.md index d145d7dd83..2b20b15381 100644 --- a/content/github/building-a-strong-community/accessing-a-projects-community-profile.md +++ b/content/github/building-a-strong-community/accessing-a-projects-community-profile.md @@ -6,6 +6,8 @@ redirect_from: - /articles/accessing-a-projects-community-profile versions: free-pro-team: '*' +topics: + - community --- {% data reusables.repositories.navigate-to-repo %} diff --git a/content/github/building-a-strong-community/adding-a-code-of-conduct-to-your-project.md b/content/github/building-a-strong-community/adding-a-code-of-conduct-to-your-project.md index aa7d99e071..c83fcd6804 100644 --- a/content/github/building-a-strong-community/adding-a-code-of-conduct-to-your-project.md +++ b/content/github/building-a-strong-community/adding-a-code-of-conduct-to-your-project.md @@ -5,6 +5,8 @@ redirect_from: - /articles/adding-a-code-of-conduct-to-your-project versions: free-pro-team: '*' +topics: + - community --- A *code of conduct* defines standards for how to engage in a community. It signals an inclusive environment that respects all contributions. It also outlines procedures for addressing problems between members of your project's community. For more information on why a code of conduct defines standards and expectations for how to engage in a community, see the [Open Source Guide](https://opensource.guide/code-of-conduct/). diff --git a/content/github/building-a-strong-community/adding-a-license-to-a-repository.md b/content/github/building-a-strong-community/adding-a-license-to-a-repository.md index 05d1c89413..b69cd607cd 100644 --- a/content/github/building-a-strong-community/adding-a-license-to-a-repository.md +++ b/content/github/building-a-strong-community/adding-a-license-to-a-repository.md @@ -6,6 +6,8 @@ redirect_from: versions: free-pro-team: '*' enterprise-server: '*' +topics: + - community --- If you include a detectable license in your repository, people who visit your repository will see it at the top of the repository page. To read the entire license file, click the license name. diff --git a/content/github/building-a-strong-community/adding-or-editing-wiki-pages.md b/content/github/building-a-strong-community/adding-or-editing-wiki-pages.md index 62ae605146..738e36f1ac 100644 --- a/content/github/building-a-strong-community/adding-or-editing-wiki-pages.md +++ b/content/github/building-a-strong-community/adding-or-editing-wiki-pages.md @@ -12,6 +12,8 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - community --- ### Adding wiki pages diff --git a/content/github/building-a-strong-community/adding-support-resources-to-your-project.md b/content/github/building-a-strong-community/adding-support-resources-to-your-project.md index 7fb6d57013..c16e886001 100644 --- a/content/github/building-a-strong-community/adding-support-resources-to-your-project.md +++ b/content/github/building-a-strong-community/adding-support-resources-to-your-project.md @@ -7,6 +7,8 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - community --- To direct people to specific support resources, you can add a SUPPORT file to your repository's root, `docs`, or `.github` folder. When someone creates an issue in your repository, they will see a link to your project's SUPPORT file. diff --git a/content/github/building-a-strong-community/blocking-a-user-from-your-organization.md b/content/github/building-a-strong-community/blocking-a-user-from-your-organization.md index 855f81f777..7a4a51f999 100644 --- a/content/github/building-a-strong-community/blocking-a-user-from-your-organization.md +++ b/content/github/building-a-strong-community/blocking-a-user-from-your-organization.md @@ -5,6 +5,8 @@ redirect_from: - /articles/blocking-a-user-from-your-organization versions: free-pro-team: '*' +topics: + - community --- You can block a user from within your organization's settings or from a specific comment made by the user. When you block a user in a comment, you can choose to send the user a notification explaining that they were blocked and why. Otherwise, the user is not directly notified that you've blocked them. Blocked users can still delete their existing content. diff --git a/content/github/building-a-strong-community/blocking-a-user-from-your-personal-account.md b/content/github/building-a-strong-community/blocking-a-user-from-your-personal-account.md index 77ef77338a..c2dc55ccef 100644 --- a/content/github/building-a-strong-community/blocking-a-user-from-your-personal-account.md +++ b/content/github/building-a-strong-community/blocking-a-user-from-your-personal-account.md @@ -5,6 +5,8 @@ redirect_from: - /articles/blocking-a-user-from-your-personal-account versions: free-pro-team: '*' +topics: + - community --- ### About blocking users diff --git a/content/github/building-a-strong-community/changing-access-permissions-for-wikis.md b/content/github/building-a-strong-community/changing-access-permissions-for-wikis.md index 3cd1846dba..f8cc461171 100644 --- a/content/github/building-a-strong-community/changing-access-permissions-for-wikis.md +++ b/content/github/building-a-strong-community/changing-access-permissions-for-wikis.md @@ -8,6 +8,8 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - community --- {% data reusables.repositories.navigate-to-repo %} diff --git a/content/github/building-a-strong-community/configuring-issue-templates-for-your-repository.md b/content/github/building-a-strong-community/configuring-issue-templates-for-your-repository.md index 13df72ab27..d8686332e6 100644 --- a/content/github/building-a-strong-community/configuring-issue-templates-for-your-repository.md +++ b/content/github/building-a-strong-community/configuring-issue-templates-for-your-repository.md @@ -8,6 +8,8 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - community --- {% if currentVersion == "free-pro-team@latest" or enterpriseServerVersions contains currentVersion %} diff --git a/content/github/building-a-strong-community/creating-a-default-community-health-file.md b/content/github/building-a-strong-community/creating-a-default-community-health-file.md index c4157ac34c..373b288d0e 100644 --- a/content/github/building-a-strong-community/creating-a-default-community-health-file.md +++ b/content/github/building-a-strong-community/creating-a-default-community-health-file.md @@ -7,6 +7,8 @@ redirect_from: versions: free-pro-team: '*' enterprise-server: '*' +topics: + - community --- ### About default community health files diff --git a/content/github/building-a-strong-community/creating-a-footer-or-sidebar-for-your-wiki.md b/content/github/building-a-strong-community/creating-a-footer-or-sidebar-for-your-wiki.md index 5e725a84aa..81a9895472 100644 --- a/content/github/building-a-strong-community/creating-a-footer-or-sidebar-for-your-wiki.md +++ b/content/github/building-a-strong-community/creating-a-footer-or-sidebar-for-your-wiki.md @@ -10,6 +10,8 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - community --- ### Creating a footer diff --git a/content/github/building-a-strong-community/creating-a-pull-request-template-for-your-repository.md b/content/github/building-a-strong-community/creating-a-pull-request-template-for-your-repository.md index 29ff888262..a0098f3058 100644 --- a/content/github/building-a-strong-community/creating-a-pull-request-template-for-your-repository.md +++ b/content/github/building-a-strong-community/creating-a-pull-request-template-for-your-repository.md @@ -7,6 +7,8 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - community --- For more information, see "[About issue and pull request templates](/articles/about-issue-and-pull-request-templates)." diff --git a/content/github/building-a-strong-community/disabling-wikis.md b/content/github/building-a-strong-community/disabling-wikis.md index 1dc9587157..400b502f0e 100644 --- a/content/github/building-a-strong-community/disabling-wikis.md +++ b/content/github/building-a-strong-community/disabling-wikis.md @@ -8,6 +8,8 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - community --- When you turn off a wiki, the content is hidden, but not erased. If you choose to re-enable wikis later, your previous pages will be restored. diff --git a/content/github/building-a-strong-community/documenting-your-project-with-wikis.md b/content/github/building-a-strong-community/documenting-your-project-with-wikis.md index db5793db24..b653151038 100644 --- a/content/github/building-a-strong-community/documenting-your-project-with-wikis.md +++ b/content/github/building-a-strong-community/documenting-your-project-with-wikis.md @@ -11,5 +11,7 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - community --- diff --git a/content/github/building-a-strong-community/editing-wiki-content.md b/content/github/building-a-strong-community/editing-wiki-content.md index d592597dd6..57e1e83f5e 100644 --- a/content/github/building-a-strong-community/editing-wiki-content.md +++ b/content/github/building-a-strong-community/editing-wiki-content.md @@ -15,6 +15,8 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - community --- ### Adding links diff --git a/content/github/building-a-strong-community/encouraging-helpful-contributions-to-your-project-with-labels.md b/content/github/building-a-strong-community/encouraging-helpful-contributions-to-your-project-with-labels.md index 95c92f2ede..54e3f5c09a 100644 --- a/content/github/building-a-strong-community/encouraging-helpful-contributions-to-your-project-with-labels.md +++ b/content/github/building-a-strong-community/encouraging-helpful-contributions-to-your-project-with-labels.md @@ -6,6 +6,8 @@ redirect_from: - /articles/helping-new-contributors-find-your-project-with-labels versions: free-pro-team: '*' +topics: + - community --- You can apply the `good first issue` label to issues in your public repository so that people can find them when searching by labels. For more information about searching by labels, see "[Searching issues and pull requests](/articles/searching-issues-and-pull-requests/#search-by-label)." diff --git a/content/github/building-a-strong-community/index.md b/content/github/building-a-strong-community/index.md index 70d3a13506..96db2f1924 100644 --- a/content/github/building-a-strong-community/index.md +++ b/content/github/building-a-strong-community/index.md @@ -7,6 +7,8 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - community --- @@ -52,8 +54,3 @@ versions: {% link_in_list /viewing-a-wikis-history-of-changes %} {% link_in_list /changing-access-permissions-for-wikis %} {% link_in_list /disabling-wikis %} -{% topic_link_in_list /collaborating-with-your-team %} - {% link_in_list /about-team-discussions %} - {% link_in_list /creating-a-team-discussion %} - {% link_in_list /editing-or-deleting-a-team-discussion %} - {% link_in_list /pinning-a-team-discussion %} diff --git a/content/github/building-a-strong-community/limiting-interactions-for-your-user-account.md b/content/github/building-a-strong-community/limiting-interactions-for-your-user-account.md index 6c01ed2e08..b04377b01c 100644 --- a/content/github/building-a-strong-community/limiting-interactions-for-your-user-account.md +++ b/content/github/building-a-strong-community/limiting-interactions-for-your-user-account.md @@ -1,9 +1,11 @@ --- title: Limiting interactions for your user account -intro: 'You can temporarily enforce a period of limited activity for certain users in all public repositories owned by your user account.' +intro: You can temporarily enforce a period of limited activity for certain users in all public repositories owned by your user account. versions: free-pro-team: '*' permissions: Anyone can limit interactions for their own user account. +topics: + - community --- ### About temporary interaction limits @@ -24,4 +26,4 @@ You can also block users. For more information, see "[Blocking a user from your 1. In your user settings sidebar, under "Moderation settings", click **Interaction limits**. !["Interaction limits" tab in the user settings sidebar](/assets/images/help/settings/settings-sidebar-interaction-limits.png) {% data reusables.community.set-interaction-limit %} - ![Temporary interaction limit options](/assets/images/help/settings/user-account-temporary-interaction-limits-options.png) \ No newline at end of file + ![Temporary interaction limit options](/assets/images/help/settings/user-account-temporary-interaction-limits-options.png) diff --git a/content/github/building-a-strong-community/limiting-interactions-in-your-organization.md b/content/github/building-a-strong-community/limiting-interactions-in-your-organization.md index 8c96c26302..d43d4be730 100644 --- a/content/github/building-a-strong-community/limiting-interactions-in-your-organization.md +++ b/content/github/building-a-strong-community/limiting-interactions-in-your-organization.md @@ -1,12 +1,14 @@ --- title: Limiting interactions in your organization -intro: 'You can temporarily enforce a period of limited activity for certain users in all public repositories owned by your organization.' +intro: You can temporarily enforce a period of limited activity for certain users in all public repositories owned by your organization. redirect_from: - /github/setting-up-and-managing-organizations-and-teams/limiting-interactions-in-your-organization - /articles/limiting-interactions-in-your-organization versions: free-pro-team: '*' permissions: Organization owners can limit interactions in an organization. +topics: + - community --- ### About temporary interaction limits diff --git a/content/github/building-a-strong-community/limiting-interactions-in-your-repository.md b/content/github/building-a-strong-community/limiting-interactions-in-your-repository.md index da85594b43..3b7219a4c1 100644 --- a/content/github/building-a-strong-community/limiting-interactions-in-your-repository.md +++ b/content/github/building-a-strong-community/limiting-interactions-in-your-repository.md @@ -1,12 +1,14 @@ --- title: Limiting interactions in your repository -intro: 'You can temporarily enforce a period of limited activity for certain users on a public repository.' +intro: You can temporarily enforce a period of limited activity for certain users on a public repository. redirect_from: - /articles/limiting-interactions-with-your-repository/ - /articles/limiting-interactions-in-your-repository versions: free-pro-team: '*' permissions: People with admin permissions to a repository can temporarily limit interactions in that repository. +topics: + - community --- ### About temporary interaction limits diff --git a/content/github/building-a-strong-community/locking-conversations.md b/content/github/building-a-strong-community/locking-conversations.md index 7f384471b5..2035ce49d2 100644 --- a/content/github/building-a-strong-community/locking-conversations.md +++ b/content/github/building-a-strong-community/locking-conversations.md @@ -7,6 +7,8 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - community --- It's appropriate to lock a conversation when the entire conversation is not constructive or violates your community's code of conduct{% if currentVersion == "free-pro-team@latest" %} or GitHub's [Community Guidelines](/articles/github-community-guidelines){% endif %}. When you lock a conversation, you can also specify a reason, which is publicly visible. diff --git a/content/github/building-a-strong-community/maintaining-your-safety-on-github.md b/content/github/building-a-strong-community/maintaining-your-safety-on-github.md index 5ace725492..72e9dbb00a 100644 --- a/content/github/building-a-strong-community/maintaining-your-safety-on-github.md +++ b/content/github/building-a-strong-community/maintaining-your-safety-on-github.md @@ -9,5 +9,7 @@ redirect_from: - /articles/encouraging-positive-contributions-to-your-project versions: free-pro-team: '*' +topics: + - community --- diff --git a/content/github/building-a-strong-community/managing-disruptive-comments.md b/content/github/building-a-strong-community/managing-disruptive-comments.md index 16acb1360c..9b41dd1009 100644 --- a/content/github/building-a-strong-community/managing-disruptive-comments.md +++ b/content/github/building-a-strong-community/managing-disruptive-comments.md @@ -9,6 +9,8 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - community --- ### Hiding a comment diff --git a/content/github/building-a-strong-community/managing-how-contributors-report-abuse-in-your-organizations-repository.md b/content/github/building-a-strong-community/managing-how-contributors-report-abuse-in-your-organizations-repository.md index de50df47da..2bbba1c9fe 100644 --- a/content/github/building-a-strong-community/managing-how-contributors-report-abuse-in-your-organizations-repository.md +++ b/content/github/building-a-strong-community/managing-how-contributors-report-abuse-in-your-organizations-repository.md @@ -3,6 +3,8 @@ title: Managing how contributors report abuse in your organization's repository intro: You can allow contributors to report disruptive behavior directly to repository maintainers. versions: free-pro-team: '*' +topics: + - community --- Anyone with admin permissions to a repository can manage how contributors report abuse in the repository. diff --git a/content/github/building-a-strong-community/managing-reported-content-in-your-organizations-repository.md b/content/github/building-a-strong-community/managing-reported-content-in-your-organizations-repository.md index 4dc4216243..790af089e2 100644 --- a/content/github/building-a-strong-community/managing-reported-content-in-your-organizations-repository.md +++ b/content/github/building-a-strong-community/managing-reported-content-in-your-organizations-repository.md @@ -3,6 +3,8 @@ title: Managing reported content in your organization's repository intro: 'After a contributor reports disruptive content in a repository, repository maintainers can view and manage the report.' versions: free-pro-team: '*' +topics: + - community --- Anyone with admin permissions to a repository can view and manage reported content for the repository. diff --git a/content/github/building-a-strong-community/manually-creating-a-single-issue-template-for-your-repository.md b/content/github/building-a-strong-community/manually-creating-a-single-issue-template-for-your-repository.md index 8cb5adf5ce..3a22ec0bd1 100644 --- a/content/github/building-a-strong-community/manually-creating-a-single-issue-template-for-your-repository.md +++ b/content/github/building-a-strong-community/manually-creating-a-single-issue-template-for-your-repository.md @@ -8,6 +8,8 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - community --- {% data reusables.repositories.legacy-issue-template-tip %} diff --git a/content/github/building-a-strong-community/moderating-comments-and-conversations.md b/content/github/building-a-strong-community/moderating-comments-and-conversations.md index 6b02dc83f3..68955777c3 100644 --- a/content/github/building-a-strong-community/moderating-comments-and-conversations.md +++ b/content/github/building-a-strong-community/moderating-comments-and-conversations.md @@ -8,5 +8,7 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - community --- diff --git a/content/github/building-a-strong-community/reporting-abuse-or-spam.md b/content/github/building-a-strong-community/reporting-abuse-or-spam.md index e33cd7be4c..5570339879 100644 --- a/content/github/building-a-strong-community/reporting-abuse-or-spam.md +++ b/content/github/building-a-strong-community/reporting-abuse-or-spam.md @@ -5,6 +5,8 @@ redirect_from: - /articles/reporting-abuse-or-spam versions: free-pro-team: '*' +topics: + - community --- Owners, collaborators, prior contributors, and people with write access can report issues, pull requests, and comments on issues, pull requests, and commits. Anyone can report apps in {% data variables.product.prodname_marketplace %}. diff --git a/content/github/building-a-strong-community/setting-guidelines-for-repository-contributors.md b/content/github/building-a-strong-community/setting-guidelines-for-repository-contributors.md index aca5e9c2ff..c529f52f84 100644 --- a/content/github/building-a-strong-community/setting-guidelines-for-repository-contributors.md +++ b/content/github/building-a-strong-community/setting-guidelines-for-repository-contributors.md @@ -8,6 +8,8 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - community --- To help your project contributors do good work, you can add a file with contribution guidelines to your project repository's root, `docs`, or `.github` folder. When someone opens a pull request or creates an issue, they will see a link to that file. diff --git a/content/github/building-a-strong-community/setting-up-your-project-for-healthy-contributions.md b/content/github/building-a-strong-community/setting-up-your-project-for-healthy-contributions.md index 4779c2e8c9..bab3c8d57f 100644 --- a/content/github/building-a-strong-community/setting-up-your-project-for-healthy-contributions.md +++ b/content/github/building-a-strong-community/setting-up-your-project-for-healthy-contributions.md @@ -9,5 +9,7 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - community --- diff --git a/content/github/building-a-strong-community/tracking-changes-in-a-comment.md b/content/github/building-a-strong-community/tracking-changes-in-a-comment.md index 0af05d4355..9ddaa0094d 100644 --- a/content/github/building-a-strong-community/tracking-changes-in-a-comment.md +++ b/content/github/building-a-strong-community/tracking-changes-in-a-comment.md @@ -7,6 +7,8 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - community --- ### Viewing a comment's edit history details diff --git a/content/github/building-a-strong-community/unblocking-a-user-from-your-organization.md b/content/github/building-a-strong-community/unblocking-a-user-from-your-organization.md index 616b702424..f0b25a83de 100644 --- a/content/github/building-a-strong-community/unblocking-a-user-from-your-organization.md +++ b/content/github/building-a-strong-community/unblocking-a-user-from-your-organization.md @@ -5,6 +5,8 @@ redirect_from: - /articles/unblocking-a-user-from-your-organization versions: free-pro-team: '*' +topics: + - community --- After unblocking a user from your organization, they'll be able to contribute to your organization's repositories. diff --git a/content/github/building-a-strong-community/unblocking-a-user-from-your-personal-account.md b/content/github/building-a-strong-community/unblocking-a-user-from-your-personal-account.md index f62dd1c2ac..49e3481749 100644 --- a/content/github/building-a-strong-community/unblocking-a-user-from-your-personal-account.md +++ b/content/github/building-a-strong-community/unblocking-a-user-from-your-personal-account.md @@ -5,6 +5,8 @@ redirect_from: - /articles/unblocking-a-user-from-your-personal-account versions: free-pro-team: '*' +topics: + - community --- When you unblock a user, they'll be able to invite you to be a collaborator to their repositories. If they [@mention you](/articles/basic-writing-and-formatting-syntax/#mentioning-people-and-teams) anywhere on GitHub, you'll receive notifications. diff --git a/content/github/building-a-strong-community/using-templates-to-encourage-useful-issues-and-pull-requests.md b/content/github/building-a-strong-community/using-templates-to-encourage-useful-issues-and-pull-requests.md index 3435c8fa32..65848c631a 100644 --- a/content/github/building-a-strong-community/using-templates-to-encourage-useful-issues-and-pull-requests.md +++ b/content/github/building-a-strong-community/using-templates-to-encourage-useful-issues-and-pull-requests.md @@ -10,5 +10,7 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - community --- diff --git a/content/github/building-a-strong-community/viewing-a-wikis-history-of-changes.md b/content/github/building-a-strong-community/viewing-a-wikis-history-of-changes.md index caaad4013d..8af76dfd85 100644 --- a/content/github/building-a-strong-community/viewing-a-wikis-history-of-changes.md +++ b/content/github/building-a-strong-community/viewing-a-wikis-history-of-changes.md @@ -9,6 +9,8 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - community --- ### Viewing wiki history diff --git a/content/github/building-a-strong-community/viewing-users-who-are-blocked-from-your-organization.md b/content/github/building-a-strong-community/viewing-users-who-are-blocked-from-your-organization.md index 047ea789cc..27efafed8f 100644 --- a/content/github/building-a-strong-community/viewing-users-who-are-blocked-from-your-organization.md +++ b/content/github/building-a-strong-community/viewing-users-who-are-blocked-from-your-organization.md @@ -5,6 +5,8 @@ redirect_from: - /articles/viewing-users-who-are-blocked-from-your-organization versions: free-pro-team: '*' +topics: + - community --- {% data reusables.profile.access_profile %} diff --git a/content/github/building-a-strong-community/viewing-users-youve-blocked-from-your-personal-account.md b/content/github/building-a-strong-community/viewing-users-youve-blocked-from-your-personal-account.md index 0f3bae172f..a5866bc295 100644 --- a/content/github/building-a-strong-community/viewing-users-youve-blocked-from-your-personal-account.md +++ b/content/github/building-a-strong-community/viewing-users-youve-blocked-from-your-personal-account.md @@ -6,6 +6,8 @@ redirect_from: - /articles/viewing-users-youve-blocked-from-your-personal-account versions: free-pro-team: '*' +topics: + - community --- {% data reusables.user_settings.access_settings %} diff --git a/content/github/collaborating-with-issues-and-pull-requests/about-branches.md b/content/github/collaborating-with-issues-and-pull-requests/about-branches.md index 14595a111a..016cc6cc7a 100644 --- a/content/github/collaborating-with-issues-and-pull-requests/about-branches.md +++ b/content/github/collaborating-with-issues-and-pull-requests/about-branches.md @@ -8,6 +8,8 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - pull requests --- diff --git a/content/github/collaborating-with-issues-and-pull-requests/about-collaborative-development-models.md b/content/github/collaborating-with-issues-and-pull-requests/about-collaborative-development-models.md index 7325304482..f9cec4d87c 100644 --- a/content/github/collaborating-with-issues-and-pull-requests/about-collaborative-development-models.md +++ b/content/github/collaborating-with-issues-and-pull-requests/about-collaborative-development-models.md @@ -8,6 +8,8 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - pull requests --- There are two main types of development models with which you'd use pull requests. In the *fork and pull model*, anyone can fork an existing repository and push changes to their personal fork. You do not need permission to the source repository to push to a user-owned fork. The changes can be pulled into the source repository by the project maintainer. When you open a pull request proposing changes from your user-owned fork to a branch in the source (upstream) repository, you can allow anyone with push access to the upstream repository to make changes to your pull request. This model is popular with open source projects as it reduces the amount of friction for new contributors and allows people to work independently without upfront coordination. diff --git a/content/github/collaborating-with-issues-and-pull-requests/about-comparing-branches-in-pull-requests.md b/content/github/collaborating-with-issues-and-pull-requests/about-comparing-branches-in-pull-requests.md index 7e07ded2be..10c3ea7475 100644 --- a/content/github/collaborating-with-issues-and-pull-requests/about-comparing-branches-in-pull-requests.md +++ b/content/github/collaborating-with-issues-and-pull-requests/about-comparing-branches-in-pull-requests.md @@ -7,6 +7,8 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - pull requests --- {% note %} diff --git a/content/github/collaborating-with-issues-and-pull-requests/about-conversations-on-github.md b/content/github/collaborating-with-issues-and-pull-requests/about-conversations-on-github.md index 8e21b6d214..c88963f9b0 100644 --- a/content/github/collaborating-with-issues-and-pull-requests/about-conversations-on-github.md +++ b/content/github/collaborating-with-issues-and-pull-requests/about-conversations-on-github.md @@ -8,6 +8,8 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - pull requests --- ### Discussions on {% data variables.product.product_name %} @@ -16,7 +18,7 @@ You can create and participate in issues, pull requests, and team discussions, d Issues are useful for discussing specific details of a project such as bug reports and planned improvements. For more information, see "[About issues](/articles/about-issues)." Pull requests allow you to comment directly on proposed changes. For more information, see "[About pull requests](/articles/about-pull-requests)" and "[Commenting on a pull request](/articles/commenting-on-a-pull-request)." -{% data reusables.organizations.team-discussions-purpose %} For more information, see "[About team discussions](/articles/about-team-discussions)." +{% data reusables.organizations.team-discussions-purpose %} For more information, see "[About team discussions](/github/setting-up-and-managing-organizations-and-teams/about-team-discussions)." ### Reacting to ideas in comments diff --git a/content/github/collaborating-with-issues-and-pull-requests/about-forks.md b/content/github/collaborating-with-issues-and-pull-requests/about-forks.md index c7acbb201e..a98a7988d3 100644 --- a/content/github/collaborating-with-issues-and-pull-requests/about-forks.md +++ b/content/github/collaborating-with-issues-and-pull-requests/about-forks.md @@ -7,6 +7,8 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - pull requests --- Forking a repository is similar to copying a repository, with two major differences: diff --git a/content/github/collaborating-with-issues-and-pull-requests/about-merge-conflicts.md b/content/github/collaborating-with-issues-and-pull-requests/about-merge-conflicts.md index 8e10ed8b96..620828529a 100644 --- a/content/github/collaborating-with-issues-and-pull-requests/about-merge-conflicts.md +++ b/content/github/collaborating-with-issues-and-pull-requests/about-merge-conflicts.md @@ -7,6 +7,8 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - pull requests --- Git can often resolve differences between branches and merge them automatically. Usually, the changes are on different lines, or even in different files, which makes the merge simple for computers to understand. However, sometimes there are competing changes that Git can't resolve without your help. Often, merge conflicts happen when people make different changes to the same line of the same file, or when one person edits a file and another person deletes the same file. diff --git a/content/github/collaborating-with-issues-and-pull-requests/about-pull-request-merges.md b/content/github/collaborating-with-issues-and-pull-requests/about-pull-request-merges.md index 140097bc99..7c0a215180 100644 --- a/content/github/collaborating-with-issues-and-pull-requests/about-pull-request-merges.md +++ b/content/github/collaborating-with-issues-and-pull-requests/about-pull-request-merges.md @@ -8,6 +8,8 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - pull requests --- {% data reusables.pull_requests.default_merge_option %} diff --git a/content/github/collaborating-with-issues-and-pull-requests/about-pull-request-reviews.md b/content/github/collaborating-with-issues-and-pull-requests/about-pull-request-reviews.md index cd9d144824..93a6a0374d 100644 --- a/content/github/collaborating-with-issues-and-pull-requests/about-pull-request-reviews.md +++ b/content/github/collaborating-with-issues-and-pull-requests/about-pull-request-reviews.md @@ -7,6 +7,8 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - pull requests --- ### About pull request reviews diff --git a/content/github/collaborating-with-issues-and-pull-requests/about-pull-requests.md b/content/github/collaborating-with-issues-and-pull-requests/about-pull-requests.md index ffba2f58cf..e157d032a5 100644 --- a/content/github/collaborating-with-issues-and-pull-requests/about-pull-requests.md +++ b/content/github/collaborating-with-issues-and-pull-requests/about-pull-requests.md @@ -8,6 +8,8 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - pull requests --- ### About pull requests diff --git a/content/github/collaborating-with-issues-and-pull-requests/about-status-checks.md b/content/github/collaborating-with-issues-and-pull-requests/about-status-checks.md index 4723d04971..cf4fb304a9 100644 --- a/content/github/collaborating-with-issues-and-pull-requests/about-status-checks.md +++ b/content/github/collaborating-with-issues-and-pull-requests/about-status-checks.md @@ -8,6 +8,8 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - pull requests --- Status checks are based on external processes, such as continuous integration builds, which run for each push you make to a repository. You can see the *pending*, *passing*, or *failing* state of status checks next to individual commits in your pull request. diff --git a/content/github/collaborating-with-issues-and-pull-requests/addressing-merge-conflicts.md b/content/github/collaborating-with-issues-and-pull-requests/addressing-merge-conflicts.md index 496b92edd0..bc9829b98f 100644 --- a/content/github/collaborating-with-issues-and-pull-requests/addressing-merge-conflicts.md +++ b/content/github/collaborating-with-issues-and-pull-requests/addressing-merge-conflicts.md @@ -8,5 +8,7 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - pull requests --- diff --git a/content/github/collaborating-with-issues-and-pull-requests/allowing-changes-to-a-pull-request-branch-created-from-a-fork.md b/content/github/collaborating-with-issues-and-pull-requests/allowing-changes-to-a-pull-request-branch-created-from-a-fork.md index e84de9cf65..45d42c07a0 100644 --- a/content/github/collaborating-with-issues-and-pull-requests/allowing-changes-to-a-pull-request-branch-created-from-a-fork.md +++ b/content/github/collaborating-with-issues-and-pull-requests/allowing-changes-to-a-pull-request-branch-created-from-a-fork.md @@ -8,6 +8,8 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - pull requests --- Only pull request authors can give upstream repository maintainers, or those with push access to the upstream repository, permission to make commits to their pull request's compare branch in a user-owned fork. To learn more about upstream repositories, see "[About forks](/articles/about-forks)." diff --git a/content/github/collaborating-with-issues-and-pull-requests/approving-a-pull-request-with-required-reviews.md b/content/github/collaborating-with-issues-and-pull-requests/approving-a-pull-request-with-required-reviews.md index a6854818c4..04caa5fe36 100644 --- a/content/github/collaborating-with-issues-and-pull-requests/approving-a-pull-request-with-required-reviews.md +++ b/content/github/collaborating-with-issues-and-pull-requests/approving-a-pull-request-with-required-reviews.md @@ -7,6 +7,8 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - pull requests --- For more information about required reviews, see "[About protected branches](/github/administering-a-repository/about-protected-branches#require-pull-request-reviews-before-merging)." diff --git a/content/github/collaborating-with-issues-and-pull-requests/automatically-merging-a-pull-request.md b/content/github/collaborating-with-issues-and-pull-requests/automatically-merging-a-pull-request.md index 5b04b5082b..12d2eb2b92 100644 --- a/content/github/collaborating-with-issues-and-pull-requests/automatically-merging-a-pull-request.md +++ b/content/github/collaborating-with-issues-and-pull-requests/automatically-merging-a-pull-request.md @@ -1,10 +1,13 @@ --- title: Automatically merging a pull request -intro: 'You can increase development velocity by enabling auto-merge for a pull request so that the pull request will merge automatically when all merge requirements are met.' +intro: You can increase development velocity by enabling auto-merge for a pull request so that the pull request will merge automatically when all merge requirements are met. product: '{% data reusables.gated-features.auto-merge %}' versions: free-pro-team: '*' enterprise-server: '>=3.1' + github-ae: '*' +topics: + - pull requests --- ### About auto-merge diff --git a/content/github/collaborating-with-issues-and-pull-requests/changing-the-base-branch-of-a-pull-request.md b/content/github/collaborating-with-issues-and-pull-requests/changing-the-base-branch-of-a-pull-request.md index 2e5cf86f52..dc5773a4dd 100644 --- a/content/github/collaborating-with-issues-and-pull-requests/changing-the-base-branch-of-a-pull-request.md +++ b/content/github/collaborating-with-issues-and-pull-requests/changing-the-base-branch-of-a-pull-request.md @@ -7,6 +7,8 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - pull requests --- {% warning %} diff --git a/content/github/collaborating-with-issues-and-pull-requests/changing-the-stage-of-a-pull-request.md b/content/github/collaborating-with-issues-and-pull-requests/changing-the-stage-of-a-pull-request.md index c8c46903c4..5684ef55c0 100644 --- a/content/github/collaborating-with-issues-and-pull-requests/changing-the-stage-of-a-pull-request.md +++ b/content/github/collaborating-with-issues-and-pull-requests/changing-the-stage-of-a-pull-request.md @@ -9,6 +9,8 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - pull requests --- ### Marking a pull request as ready for review diff --git a/content/github/collaborating-with-issues-and-pull-requests/checking-out-pull-requests-locally.md b/content/github/collaborating-with-issues-and-pull-requests/checking-out-pull-requests-locally.md index 4ed1a97a60..edb7dbdb90 100644 --- a/content/github/collaborating-with-issues-and-pull-requests/checking-out-pull-requests-locally.md +++ b/content/github/collaborating-with-issues-and-pull-requests/checking-out-pull-requests-locally.md @@ -8,6 +8,8 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - pull requests --- {% note %} diff --git a/content/github/collaborating-with-issues-and-pull-requests/closing-a-pull-request.md b/content/github/collaborating-with-issues-and-pull-requests/closing-a-pull-request.md index a6acb76c97..cfb5b3c972 100644 --- a/content/github/collaborating-with-issues-and-pull-requests/closing-a-pull-request.md +++ b/content/github/collaborating-with-issues-and-pull-requests/closing-a-pull-request.md @@ -7,6 +7,8 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - pull requests --- {% tip %} diff --git a/content/github/collaborating-with-issues-and-pull-requests/collaborating-on-repositories-with-code-quality-features.md b/content/github/collaborating-with-issues-and-pull-requests/collaborating-on-repositories-with-code-quality-features.md index e185d0a0cf..1d4bdbd223 100644 --- a/content/github/collaborating-with-issues-and-pull-requests/collaborating-on-repositories-with-code-quality-features.md +++ b/content/github/collaborating-with-issues-and-pull-requests/collaborating-on-repositories-with-code-quality-features.md @@ -9,5 +9,7 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - pull requests --- diff --git a/content/github/collaborating-with-issues-and-pull-requests/commenting-on-a-pull-request.md b/content/github/collaborating-with-issues-and-pull-requests/commenting-on-a-pull-request.md index 2f109a79d6..d40da420da 100644 --- a/content/github/collaborating-with-issues-and-pull-requests/commenting-on-a-pull-request.md +++ b/content/github/collaborating-with-issues-and-pull-requests/commenting-on-a-pull-request.md @@ -10,6 +10,8 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - pull requests --- ### About pull request comments diff --git a/content/github/collaborating-with-issues-and-pull-requests/committing-changes-to-a-pull-request-branch-created-from-a-fork.md b/content/github/collaborating-with-issues-and-pull-requests/committing-changes-to-a-pull-request-branch-created-from-a-fork.md index 0f38fb1a00..fe0ffb4d7a 100644 --- a/content/github/collaborating-with-issues-and-pull-requests/committing-changes-to-a-pull-request-branch-created-from-a-fork.md +++ b/content/github/collaborating-with-issues-and-pull-requests/committing-changes-to-a-pull-request-branch-created-from-a-fork.md @@ -7,6 +7,8 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - pull requests --- You can only make commits on pull request branches that: diff --git a/content/github/collaborating-with-issues-and-pull-requests/configuring-a-remote-for-a-fork.md b/content/github/collaborating-with-issues-and-pull-requests/configuring-a-remote-for-a-fork.md index 357da89aed..8808971cdc 100644 --- a/content/github/collaborating-with-issues-and-pull-requests/configuring-a-remote-for-a-fork.md +++ b/content/github/collaborating-with-issues-and-pull-requests/configuring-a-remote-for-a-fork.md @@ -7,6 +7,8 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - pull requests --- {% data reusables.command_line.open_the_multi_os_terminal %} 2. List the current configured remote repository for your fork. diff --git a/content/github/collaborating-with-issues-and-pull-requests/creating-a-pull-request-from-a-fork.md b/content/github/collaborating-with-issues-and-pull-requests/creating-a-pull-request-from-a-fork.md index 0aebcf7f57..a6de47b348 100644 --- a/content/github/collaborating-with-issues-and-pull-requests/creating-a-pull-request-from-a-fork.md +++ b/content/github/collaborating-with-issues-and-pull-requests/creating-a-pull-request-from-a-fork.md @@ -8,6 +8,8 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - pull requests --- You can also give the upstream repository's maintainers permission to push commits to a user-owned fork. If your pull request compares your topic branch with a branch in the upstream repository as the base branch, then your topic branch is also called the compare branch of the pull request. For more information about pull request branches, including examples, see "[Creating a pull request](/articles/creating-a-pull-request/#changing-the-branch-range-and-destination-repository)." diff --git a/content/github/collaborating-with-issues-and-pull-requests/creating-a-pull-request.md b/content/github/collaborating-with-issues-and-pull-requests/creating-a-pull-request.md index 501339a84f..15326fe298 100644 --- a/content/github/collaborating-with-issues-and-pull-requests/creating-a-pull-request.md +++ b/content/github/collaborating-with-issues-and-pull-requests/creating-a-pull-request.md @@ -7,6 +7,8 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - pull requests --- Anyone with read permissions to a repository can create a pull request, but you must have write permissions to create a branch. If you want to create a new branch for your pull request and don't have write permissions to the repository, you can fork the repository first. For more information, see "[Creating a pull request from a fork](/articles/creating-a-pull-request-from-a-fork)" and "[About forks](/articles/about-forks)." diff --git a/content/github/collaborating-with-issues-and-pull-requests/creating-and-deleting-branches-within-your-repository.md b/content/github/collaborating-with-issues-and-pull-requests/creating-and-deleting-branches-within-your-repository.md index 4f0c487c12..c7618f3507 100644 --- a/content/github/collaborating-with-issues-and-pull-requests/creating-and-deleting-branches-within-your-repository.md +++ b/content/github/collaborating-with-issues-and-pull-requests/creating-and-deleting-branches-within-your-repository.md @@ -8,6 +8,8 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - pull requests --- ### Creating a branch diff --git a/content/github/collaborating-with-issues-and-pull-requests/dismissing-a-pull-request-review.md b/content/github/collaborating-with-issues-and-pull-requests/dismissing-a-pull-request-review.md index 0f52e396f7..9a7a0aacc5 100644 --- a/content/github/collaborating-with-issues-and-pull-requests/dismissing-a-pull-request-review.md +++ b/content/github/collaborating-with-issues-and-pull-requests/dismissing-a-pull-request-review.md @@ -7,6 +7,8 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - pull requests --- {% data reusables.pull_requests.dismiss_review %} @@ -26,4 +28,4 @@ This changes the status of the review to a review comment. When you dismiss a re - "[About pull request reviews](/articles/about-pull-request-reviews)" - "[Reviewing proposed changes in a pull request](/articles/reviewing-proposed-changes-in-a-pull-request)" -- "[About protected branches](/github/administering-a-repository/about-protected-branches#require-pull-request-reviews-before-merging)" \ No newline at end of file +- "[About protected branches](/github/administering-a-repository/about-protected-branches#require-pull-request-reviews-before-merging)" diff --git a/content/github/collaborating-with-issues-and-pull-requests/filtering-files-in-a-pull-request.md b/content/github/collaborating-with-issues-and-pull-requests/filtering-files-in-a-pull-request.md index 8abfc72cb1..0f50ae18a7 100644 --- a/content/github/collaborating-with-issues-and-pull-requests/filtering-files-in-a-pull-request.md +++ b/content/github/collaborating-with-issues-and-pull-requests/filtering-files-in-a-pull-request.md @@ -8,6 +8,8 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - pull requests --- You can filter files in a pull request by file extension type, such as `.html` or `.js`, lack of an extension, code ownership, or dotfiles. diff --git a/content/github/collaborating-with-issues-and-pull-requests/finding-changed-methods-and-functions-in-a-pull-request.md b/content/github/collaborating-with-issues-and-pull-requests/finding-changed-methods-and-functions-in-a-pull-request.md index 5b1ea925dc..4fe786ab06 100644 --- a/content/github/collaborating-with-issues-and-pull-requests/finding-changed-methods-and-functions-in-a-pull-request.md +++ b/content/github/collaborating-with-issues-and-pull-requests/finding-changed-methods-and-functions-in-a-pull-request.md @@ -7,6 +7,8 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - pull requests --- Anyone with read access to a repository can see a summary list of the functions and methods changes in certain files of a pull request. diff --git a/content/github/collaborating-with-issues-and-pull-requests/github-flow.md b/content/github/collaborating-with-issues-and-pull-requests/github-flow.md index b94297ab44..9aceb77d6c 100644 --- a/content/github/collaborating-with-issues-and-pull-requests/github-flow.md +++ b/content/github/collaborating-with-issues-and-pull-requests/github-flow.md @@ -9,6 +9,8 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - pull requests --- ### Following the GitHub flow diff --git a/content/github/collaborating-with-issues-and-pull-requests/incorporating-changes-from-a-pull-request.md b/content/github/collaborating-with-issues-and-pull-requests/incorporating-changes-from-a-pull-request.md index 0caba244c6..d6d564c409 100644 --- a/content/github/collaborating-with-issues-and-pull-requests/incorporating-changes-from-a-pull-request.md +++ b/content/github/collaborating-with-issues-and-pull-requests/incorporating-changes-from-a-pull-request.md @@ -8,5 +8,7 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - pull requests --- diff --git a/content/github/collaborating-with-issues-and-pull-requests/incorporating-feedback-in-your-pull-request.md b/content/github/collaborating-with-issues-and-pull-requests/incorporating-feedback-in-your-pull-request.md index 68bcb96e4a..b8db6db125 100644 --- a/content/github/collaborating-with-issues-and-pull-requests/incorporating-feedback-in-your-pull-request.md +++ b/content/github/collaborating-with-issues-and-pull-requests/incorporating-feedback-in-your-pull-request.md @@ -7,6 +7,8 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - pull requests --- ### Applying suggested changes diff --git a/content/github/collaborating-with-issues-and-pull-requests/index.md b/content/github/collaborating-with-issues-and-pull-requests/index.md index 1e666ca019..51e6d15485 100644 --- a/content/github/collaborating-with-issues-and-pull-requests/index.md +++ b/content/github/collaborating-with-issues-and-pull-requests/index.md @@ -11,6 +11,8 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - pull requests --- diff --git a/content/github/collaborating-with-issues-and-pull-requests/merging-a-pull-request.md b/content/github/collaborating-with-issues-and-pull-requests/merging-a-pull-request.md index 876784f7cf..ffac83495b 100644 --- a/content/github/collaborating-with-issues-and-pull-requests/merging-a-pull-request.md +++ b/content/github/collaborating-with-issues-and-pull-requests/merging-a-pull-request.md @@ -7,6 +7,8 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - pull requests --- ### About pull request merges diff --git a/content/github/collaborating-with-issues-and-pull-requests/merging-an-upstream-repository-into-your-fork.md b/content/github/collaborating-with-issues-and-pull-requests/merging-an-upstream-repository-into-your-fork.md index 4463aa1477..d74e66d01c 100644 --- a/content/github/collaborating-with-issues-and-pull-requests/merging-an-upstream-repository-into-your-fork.md +++ b/content/github/collaborating-with-issues-and-pull-requests/merging-an-upstream-repository-into-your-fork.md @@ -7,6 +7,8 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - pull requests --- {% data reusables.command_line.open_the_multi_os_terminal %} 2. Change the current working directory to your local project. diff --git a/content/github/collaborating-with-issues-and-pull-requests/overview.md b/content/github/collaborating-with-issues-and-pull-requests/overview.md index 816072556f..be470cec0b 100644 --- a/content/github/collaborating-with-issues-and-pull-requests/overview.md +++ b/content/github/collaborating-with-issues-and-pull-requests/overview.md @@ -6,5 +6,7 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - pull requests --- diff --git a/content/github/collaborating-with-issues-and-pull-requests/proposing-changes-to-your-work-with-pull-requests.md b/content/github/collaborating-with-issues-and-pull-requests/proposing-changes-to-your-work-with-pull-requests.md index 913990858c..efe90d1598 100644 --- a/content/github/collaborating-with-issues-and-pull-requests/proposing-changes-to-your-work-with-pull-requests.md +++ b/content/github/collaborating-with-issues-and-pull-requests/proposing-changes-to-your-work-with-pull-requests.md @@ -8,5 +8,7 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - pull requests --- diff --git a/content/github/collaborating-with-issues-and-pull-requests/requesting-a-pull-request-review.md b/content/github/collaborating-with-issues-and-pull-requests/requesting-a-pull-request-review.md index 65ebb3844c..72ba7b1693 100644 --- a/content/github/collaborating-with-issues-and-pull-requests/requesting-a-pull-request-review.md +++ b/content/github/collaborating-with-issues-and-pull-requests/requesting-a-pull-request-review.md @@ -7,6 +7,8 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - pull requests --- Owners and collaborators on a repository owned by a user account can assign pull request reviews. Organization members with triage permissions to a repository can assign a pull request review. diff --git a/content/github/collaborating-with-issues-and-pull-requests/resolving-a-merge-conflict-on-github.md b/content/github/collaborating-with-issues-and-pull-requests/resolving-a-merge-conflict-on-github.md index ec47c6933b..a423d69817 100644 --- a/content/github/collaborating-with-issues-and-pull-requests/resolving-a-merge-conflict-on-github.md +++ b/content/github/collaborating-with-issues-and-pull-requests/resolving-a-merge-conflict-on-github.md @@ -7,6 +7,8 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - pull requests --- You can only resolve merge conflicts on {% data variables.product.product_name %} that are caused by competing line changes, such as when people make different changes to the same line of the same file on different branches in your Git repository. For all other types of merge conflicts, you must resolve the conflict locally on the command line. For more information, see "[Resolving a merge conflict using the command line](/articles/resolving-a-merge-conflict-using-the-command-line/)." diff --git a/content/github/collaborating-with-issues-and-pull-requests/resolving-a-merge-conflict-using-the-command-line.md b/content/github/collaborating-with-issues-and-pull-requests/resolving-a-merge-conflict-using-the-command-line.md index 5dae3a1540..f97a0aa9fb 100644 --- a/content/github/collaborating-with-issues-and-pull-requests/resolving-a-merge-conflict-using-the-command-line.md +++ b/content/github/collaborating-with-issues-and-pull-requests/resolving-a-merge-conflict-using-the-command-line.md @@ -8,6 +8,8 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - pull requests --- Merge conflicts occur when competing changes are made to the same line of a file, or when one person edits a file and another person deletes the same file. For more information, see "[About merge conflicts](/articles/about-merge-conflicts/)." diff --git a/content/github/collaborating-with-issues-and-pull-requests/reverting-a-pull-request.md b/content/github/collaborating-with-issues-and-pull-requests/reverting-a-pull-request.md index dd7b4b5df1..2eeeb21d67 100644 --- a/content/github/collaborating-with-issues-and-pull-requests/reverting-a-pull-request.md +++ b/content/github/collaborating-with-issues-and-pull-requests/reverting-a-pull-request.md @@ -7,6 +7,8 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - pull requests --- ### About reverting a pull request diff --git a/content/github/collaborating-with-issues-and-pull-requests/reviewing-changes-in-pull-requests.md b/content/github/collaborating-with-issues-and-pull-requests/reviewing-changes-in-pull-requests.md index 83cbe91549..f0b03a1aae 100644 --- a/content/github/collaborating-with-issues-and-pull-requests/reviewing-changes-in-pull-requests.md +++ b/content/github/collaborating-with-issues-and-pull-requests/reviewing-changes-in-pull-requests.md @@ -9,5 +9,7 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - pull requests --- diff --git a/content/github/collaborating-with-issues-and-pull-requests/reviewing-dependency-changes-in-a-pull-request.md b/content/github/collaborating-with-issues-and-pull-requests/reviewing-dependency-changes-in-a-pull-request.md index 2f68164e62..ae811fbe84 100644 --- a/content/github/collaborating-with-issues-and-pull-requests/reviewing-dependency-changes-in-a-pull-request.md +++ b/content/github/collaborating-with-issues-and-pull-requests/reviewing-dependency-changes-in-a-pull-request.md @@ -3,7 +3,10 @@ title: Reviewing dependency changes in a pull request intro: 'If a pull request contains changes to dependencies, you can view a summary of what has changed and whether there are known vulnerabilities in any of the dependencies.' versions: free-pro-team: '*' +topics: + - pull requests --- + {% note %} diff --git a/content/github/collaborating-with-issues-and-pull-requests/reviewing-proposed-changes-in-a-pull-request.md b/content/github/collaborating-with-issues-and-pull-requests/reviewing-proposed-changes-in-a-pull-request.md index efecceace8..0abbfff562 100644 --- a/content/github/collaborating-with-issues-and-pull-requests/reviewing-proposed-changes-in-a-pull-request.md +++ b/content/github/collaborating-with-issues-and-pull-requests/reviewing-proposed-changes-in-a-pull-request.md @@ -7,6 +7,8 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - pull requests --- ### About reviewing pull requests diff --git a/content/github/collaborating-with-issues-and-pull-requests/syncing-a-fork.md b/content/github/collaborating-with-issues-and-pull-requests/syncing-a-fork.md index affc3dd844..941f9b9da1 100644 --- a/content/github/collaborating-with-issues-and-pull-requests/syncing-a-fork.md +++ b/content/github/collaborating-with-issues-and-pull-requests/syncing-a-fork.md @@ -7,6 +7,8 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - pull requests --- Before you can sync your fork with an upstream repository, you must [configure a remote that points to the upstream repository](/articles/configuring-a-remote-for-a-fork) in Git. diff --git a/content/github/collaborating-with-issues-and-pull-requests/viewing-a-pull-request-review.md b/content/github/collaborating-with-issues-and-pull-requests/viewing-a-pull-request-review.md index 6beac48895..7eab837b12 100644 --- a/content/github/collaborating-with-issues-and-pull-requests/viewing-a-pull-request-review.md +++ b/content/github/collaborating-with-issues-and-pull-requests/viewing-a-pull-request-review.md @@ -7,6 +7,8 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - pull requests --- {% data reusables.search.requested_reviews_search %} diff --git a/content/github/collaborating-with-issues-and-pull-requests/what-happens-to-forks-when-a-repository-is-deleted-or-changes-visibility.md b/content/github/collaborating-with-issues-and-pull-requests/what-happens-to-forks-when-a-repository-is-deleted-or-changes-visibility.md index 28d3dee2e5..563ad76cfb 100644 --- a/content/github/collaborating-with-issues-and-pull-requests/what-happens-to-forks-when-a-repository-is-deleted-or-changes-visibility.md +++ b/content/github/collaborating-with-issues-and-pull-requests/what-happens-to-forks-when-a-repository-is-deleted-or-changes-visibility.md @@ -8,6 +8,8 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - pull requests --- {% data reusables.repositories.deleted_forks_from_private_repositories_warning %} diff --git a/content/github/collaborating-with-issues-and-pull-requests/working-with-forks.md b/content/github/collaborating-with-issues-and-pull-requests/working-with-forks.md index fef659dd91..0fca472b8f 100644 --- a/content/github/collaborating-with-issues-and-pull-requests/working-with-forks.md +++ b/content/github/collaborating-with-issues-and-pull-requests/working-with-forks.md @@ -8,5 +8,7 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - pull requests --- diff --git a/content/github/creating-cloning-and-archiving-repositories/about-archiving-content-and-data-on-github.md b/content/github/creating-cloning-and-archiving-repositories/about-archiving-content-and-data-on-github.md index 3b9fb08f27..2df075cbef 100644 --- a/content/github/creating-cloning-and-archiving-repositories/about-archiving-content-and-data-on-github.md +++ b/content/github/creating-cloning-and-archiving-repositories/about-archiving-content-and-data-on-github.md @@ -5,6 +5,8 @@ redirect_from: - /articles/about-archiving-content-and-data-on-github versions: free-pro-team: '*' +topics: + - repositories --- ### Persistence of public repositories diff --git a/content/github/creating-cloning-and-archiving-repositories/about-archiving-repositories.md b/content/github/creating-cloning-and-archiving-repositories/about-archiving-repositories.md index 51d0fc1e32..829e7fffa7 100644 --- a/content/github/creating-cloning-and-archiving-repositories/about-archiving-repositories.md +++ b/content/github/creating-cloning-and-archiving-repositories/about-archiving-repositories.md @@ -7,6 +7,8 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - repositories --- {% if currentVersion == "free-pro-team@latest" %} diff --git a/content/github/creating-cloning-and-archiving-repositories/about-code-owners.md b/content/github/creating-cloning-and-archiving-repositories/about-code-owners.md index c9da88109f..c65f2577a1 100644 --- a/content/github/creating-cloning-and-archiving-repositories/about-code-owners.md +++ b/content/github/creating-cloning-and-archiving-repositories/about-code-owners.md @@ -9,6 +9,8 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - repositories --- People with admin or owner permissions can set up a CODEOWNERS file in a repository. diff --git a/content/github/creating-cloning-and-archiving-repositories/about-readmes.md b/content/github/creating-cloning-and-archiving-repositories/about-readmes.md index 2e65dc8587..c11e0278a7 100644 --- a/content/github/creating-cloning-and-archiving-repositories/about-readmes.md +++ b/content/github/creating-cloning-and-archiving-repositories/about-readmes.md @@ -9,6 +9,8 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - repositories --- ### About READMEs diff --git a/content/github/creating-cloning-and-archiving-repositories/about-repositories.md b/content/github/creating-cloning-and-archiving-repositories/about-repositories.md index 214d30606e..87e8cbf1fd 100644 --- a/content/github/creating-cloning-and-archiving-repositories/about-repositories.md +++ b/content/github/creating-cloning-and-archiving-repositories/about-repositories.md @@ -7,6 +7,8 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - repositories --- You can own repositories individually, or you can share ownership of repositories with other people in an organization. diff --git a/content/github/creating-cloning-and-archiving-repositories/about-repository-languages.md b/content/github/creating-cloning-and-archiving-repositories/about-repository-languages.md index 94d1f82eb3..2fde93a169 100644 --- a/content/github/creating-cloning-and-archiving-repositories/about-repository-languages.md +++ b/content/github/creating-cloning-and-archiving-repositories/about-repository-languages.md @@ -12,6 +12,8 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - repositories --- {% data variables.product.product_name %} uses the open source [Linguist library](https://github.com/github/linguist) to determine file languages for syntax highlighting and repository statistics. Language statistics will update after you push changes to your default branch. diff --git a/content/github/creating-cloning-and-archiving-repositories/about-repository-visibility.md b/content/github/creating-cloning-and-archiving-repositories/about-repository-visibility.md index 9e2fc6a4ec..722ababce5 100644 --- a/content/github/creating-cloning-and-archiving-repositories/about-repository-visibility.md +++ b/content/github/creating-cloning-and-archiving-repositories/about-repository-visibility.md @@ -5,6 +5,8 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - repositories --- ### About repository visibility diff --git a/content/github/creating-cloning-and-archiving-repositories/archiving-a-github-repository.md b/content/github/creating-cloning-and-archiving-repositories/archiving-a-github-repository.md index bb9d9e01a7..39ef8ed46e 100644 --- a/content/github/creating-cloning-and-archiving-repositories/archiving-a-github-repository.md +++ b/content/github/creating-cloning-and-archiving-repositories/archiving-a-github-repository.md @@ -10,5 +10,7 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - repositories --- diff --git a/content/github/creating-cloning-and-archiving-repositories/archiving-repositories.md b/content/github/creating-cloning-and-archiving-repositories/archiving-repositories.md index 8a8f7b9bdf..e7d866a63b 100644 --- a/content/github/creating-cloning-and-archiving-repositories/archiving-repositories.md +++ b/content/github/creating-cloning-and-archiving-repositories/archiving-repositories.md @@ -7,6 +7,8 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - repositories --- {% data reusables.repositories.archiving-repositories-recommendation %} diff --git a/content/github/creating-cloning-and-archiving-repositories/backing-up-a-repository.md b/content/github/creating-cloning-and-archiving-repositories/backing-up-a-repository.md index ac898cfee5..8fd1c33c3f 100644 --- a/content/github/creating-cloning-and-archiving-repositories/backing-up-a-repository.md +++ b/content/github/creating-cloning-and-archiving-repositories/backing-up-a-repository.md @@ -7,6 +7,8 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - repositories --- {% if currentVersion == "free-pro-team@latest" %} diff --git a/content/github/creating-cloning-and-archiving-repositories/cloning-a-repository-from-github.md b/content/github/creating-cloning-and-archiving-repositories/cloning-a-repository-from-github.md index 8272d98dcb..e8b70b558f 100644 --- a/content/github/creating-cloning-and-archiving-repositories/cloning-a-repository-from-github.md +++ b/content/github/creating-cloning-and-archiving-repositories/cloning-a-repository-from-github.md @@ -8,5 +8,7 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - repositories --- diff --git a/content/github/creating-cloning-and-archiving-repositories/cloning-a-repository.md b/content/github/creating-cloning-and-archiving-repositories/cloning-a-repository.md index 0dc66db59f..8014777ecb 100644 --- a/content/github/creating-cloning-and-archiving-repositories/cloning-a-repository.md +++ b/content/github/creating-cloning-and-archiving-repositories/cloning-a-repository.md @@ -7,6 +7,8 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - repositories --- ### About cloning a repository diff --git a/content/github/creating-cloning-and-archiving-repositories/creating-a-new-repository.md b/content/github/creating-cloning-and-archiving-repositories/creating-a-new-repository.md index fbd4af8d7b..bdf453d842 100644 --- a/content/github/creating-cloning-and-archiving-repositories/creating-a-new-repository.md +++ b/content/github/creating-cloning-and-archiving-repositories/creating-a-new-repository.md @@ -13,6 +13,8 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - repositories --- {% tip %} diff --git a/content/github/creating-cloning-and-archiving-repositories/creating-a-repository-from-a-template.md b/content/github/creating-cloning-and-archiving-repositories/creating-a-repository-from-a-template.md index c8174a611e..a5cb896023 100644 --- a/content/github/creating-cloning-and-archiving-repositories/creating-a-repository-from-a-template.md +++ b/content/github/creating-cloning-and-archiving-repositories/creating-a-repository-from-a-template.md @@ -7,6 +7,8 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - repositories --- ### About repository templates diff --git a/content/github/creating-cloning-and-archiving-repositories/creating-a-repository-on-github.md b/content/github/creating-cloning-and-archiving-repositories/creating-a-repository-on-github.md index ca3e328a93..ab4eaeb9cd 100644 --- a/content/github/creating-cloning-and-archiving-repositories/creating-a-repository-on-github.md +++ b/content/github/creating-cloning-and-archiving-repositories/creating-a-repository-on-github.md @@ -8,5 +8,7 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - repositories --- diff --git a/content/github/creating-cloning-and-archiving-repositories/creating-a-template-repository.md b/content/github/creating-cloning-and-archiving-repositories/creating-a-template-repository.md index 39778d159c..786ce1022c 100644 --- a/content/github/creating-cloning-and-archiving-repositories/creating-a-template-repository.md +++ b/content/github/creating-cloning-and-archiving-repositories/creating-a-template-repository.md @@ -8,6 +8,8 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - repositories --- {% note %} diff --git a/content/github/creating-cloning-and-archiving-repositories/creating-an-issues-only-repository.md b/content/github/creating-cloning-and-archiving-repositories/creating-an-issues-only-repository.md index 29b1a39280..c02192cb38 100644 --- a/content/github/creating-cloning-and-archiving-repositories/creating-an-issues-only-repository.md +++ b/content/github/creating-cloning-and-archiving-repositories/creating-an-issues-only-repository.md @@ -9,6 +9,8 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - repositories --- 1. Create a **private** repository to host the source code from your project. diff --git a/content/github/creating-cloning-and-archiving-repositories/duplicating-a-repository.md b/content/github/creating-cloning-and-archiving-repositories/duplicating-a-repository.md index bff96eedc7..69243b563c 100644 --- a/content/github/creating-cloning-and-archiving-repositories/duplicating-a-repository.md +++ b/content/github/creating-cloning-and-archiving-repositories/duplicating-a-repository.md @@ -8,6 +8,8 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - repositories --- Before you can duplicate a repository and push to your new copy, or _mirror_, of the repository, you must [create the new repository](/articles/creating-a-new-repository) on {% data variables.product.product_location %}. In these examples, `exampleuser/new-repository` or `exampleuser/mirrored` are the mirrors. diff --git a/content/github/creating-cloning-and-archiving-repositories/error-remote-head-refers-to-nonexistent-ref-unable-to-checkout.md b/content/github/creating-cloning-and-archiving-repositories/error-remote-head-refers-to-nonexistent-ref-unable-to-checkout.md index f1854f8be8..1f7017a371 100644 --- a/content/github/creating-cloning-and-archiving-repositories/error-remote-head-refers-to-nonexistent-ref-unable-to-checkout.md +++ b/content/github/creating-cloning-and-archiving-repositories/error-remote-head-refers-to-nonexistent-ref-unable-to-checkout.md @@ -7,6 +7,8 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - repositories --- Detecting this error is simple; Git will warn you when you try to clone the repository: diff --git a/content/github/creating-cloning-and-archiving-repositories/error-repository-not-found.md b/content/github/creating-cloning-and-archiving-repositories/error-repository-not-found.md index 55b0e571ce..b5a1a1591d 100644 --- a/content/github/creating-cloning-and-archiving-repositories/error-repository-not-found.md +++ b/content/github/creating-cloning-and-archiving-repositories/error-repository-not-found.md @@ -7,6 +7,8 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - repositories --- ### Check your spelling diff --git a/content/github/creating-cloning-and-archiving-repositories/https-cloning-errors.md b/content/github/creating-cloning-and-archiving-repositories/https-cloning-errors.md index 5910f71320..8c1b1a9b6a 100644 --- a/content/github/creating-cloning-and-archiving-repositories/https-cloning-errors.md +++ b/content/github/creating-cloning-and-archiving-repositories/https-cloning-errors.md @@ -11,6 +11,8 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - repositories --- Here's an example of an HTTPS error you might receive: diff --git a/content/github/creating-cloning-and-archiving-repositories/index.md b/content/github/creating-cloning-and-archiving-repositories/index.md index d590e22a92..c5b3fb896f 100644 --- a/content/github/creating-cloning-and-archiving-repositories/index.md +++ b/content/github/creating-cloning-and-archiving-repositories/index.md @@ -9,6 +9,8 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - repositories --- diff --git a/content/github/creating-cloning-and-archiving-repositories/licensing-a-repository.md b/content/github/creating-cloning-and-archiving-repositories/licensing-a-repository.md index 0110416cc7..aaf80f4d9a 100644 --- a/content/github/creating-cloning-and-archiving-repositories/licensing-a-repository.md +++ b/content/github/creating-cloning-and-archiving-repositories/licensing-a-repository.md @@ -7,6 +7,8 @@ redirect_from: versions: free-pro-team: '*' enterprise-server: '*' +topics: + - repositories --- ### Choosing the right license diff --git a/content/github/creating-cloning-and-archiving-repositories/limits-for-viewing-content-and-diffs-in-a-repository.md b/content/github/creating-cloning-and-archiving-repositories/limits-for-viewing-content-and-diffs-in-a-repository.md index 0a5310093a..1ebf7e51a8 100644 --- a/content/github/creating-cloning-and-archiving-repositories/limits-for-viewing-content-and-diffs-in-a-repository.md +++ b/content/github/creating-cloning-and-archiving-repositories/limits-for-viewing-content-and-diffs-in-a-repository.md @@ -8,6 +8,8 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - repositories --- Most of the limits below affect both {% data variables.product.product_name %} and the API. diff --git a/content/github/creating-cloning-and-archiving-repositories/referencing-and-citing-content.md b/content/github/creating-cloning-and-archiving-repositories/referencing-and-citing-content.md index 6bf832fcb6..be9786624d 100644 --- a/content/github/creating-cloning-and-archiving-repositories/referencing-and-citing-content.md +++ b/content/github/creating-cloning-and-archiving-repositories/referencing-and-citing-content.md @@ -5,6 +5,8 @@ redirect_from: - /articles/referencing-and-citing-content versions: free-pro-team: '*' +topics: + - repositories --- ### Issuing a persistent identifier for your repository with Zenodo diff --git a/content/github/developing-online-with-codespaces/about-billing-for-codespaces.md b/content/github/developing-online-with-codespaces/about-billing-for-codespaces.md index 22648b2242..c7553618ce 100644 --- a/content/github/developing-online-with-codespaces/about-billing-for-codespaces.md +++ b/content/github/developing-online-with-codespaces/about-billing-for-codespaces.md @@ -4,6 +4,8 @@ intro: 'When {% data variables.product.prodname_codespaces %} becomes generally product: '{% data reusables.gated-features.codespaces %}' versions: free-pro-team: '*' +topics: + - codespaces --- {% data reusables.codespaces.release-stage %} diff --git a/content/github/developing-online-with-codespaces/about-codespaces.md b/content/github/developing-online-with-codespaces/about-codespaces.md index c711a28763..133a2f95f3 100644 --- a/content/github/developing-online-with-codespaces/about-codespaces.md +++ b/content/github/developing-online-with-codespaces/about-codespaces.md @@ -6,6 +6,8 @@ redirect_from: - /github/developing-online-with-github-codespaces/about-github-codespaces versions: free-pro-team: '*' +topics: + - codespaces --- {% note %} diff --git a/content/github/developing-online-with-codespaces/configuring-codespaces-for-your-project.md b/content/github/developing-online-with-codespaces/configuring-codespaces-for-your-project.md index 07781dde1b..0c63b670ab 100644 --- a/content/github/developing-online-with-codespaces/configuring-codespaces-for-your-project.md +++ b/content/github/developing-online-with-codespaces/configuring-codespaces-for-your-project.md @@ -7,6 +7,8 @@ redirect_from: - /github/developing-online-with-github-codespaces/configuring-github-codespaces-for-your-project versions: free-pro-team: '*' +topics: + - codespaces --- {% data reusables.codespaces.release-stage %} diff --git a/content/github/developing-online-with-codespaces/creating-a-codespace.md b/content/github/developing-online-with-codespaces/creating-a-codespace.md index ff22cc9ec4..11f694ab41 100644 --- a/content/github/developing-online-with-codespaces/creating-a-codespace.md +++ b/content/github/developing-online-with-codespaces/creating-a-codespace.md @@ -7,6 +7,8 @@ redirect_from: - /github/developing-online-with-github-codespaces/creating-a-codespace versions: free-pro-team: '*' +topics: + - codespaces --- {% data reusables.codespaces.release-stage %} diff --git a/content/github/developing-online-with-codespaces/deleting-a-codespace.md b/content/github/developing-online-with-codespaces/deleting-a-codespace.md index db9fe05a45..3479d7ede0 100644 --- a/content/github/developing-online-with-codespaces/deleting-a-codespace.md +++ b/content/github/developing-online-with-codespaces/deleting-a-codespace.md @@ -7,6 +7,8 @@ redirect_from: - /github/developing-online-with-github-codespaces/deleting-a-codespace versions: free-pro-team: '*' +topics: + - codespaces --- {% data reusables.codespaces.release-stage %} diff --git a/content/github/developing-online-with-codespaces/developing-in-a-codespace.md b/content/github/developing-online-with-codespaces/developing-in-a-codespace.md index a9df2f093f..f40aa202bc 100644 --- a/content/github/developing-online-with-codespaces/developing-in-a-codespace.md +++ b/content/github/developing-online-with-codespaces/developing-in-a-codespace.md @@ -7,6 +7,8 @@ redirect_from: - /github/developing-online-with-github-codespaces/developing-in-a-codespace versions: free-pro-team: '*' +topics: + - codespaces --- {% data reusables.codespaces.release-stage %} diff --git a/content/github/developing-online-with-codespaces/index.md b/content/github/developing-online-with-codespaces/index.md index 1ec4ada121..c0a39439e1 100644 --- a/content/github/developing-online-with-codespaces/index.md +++ b/content/github/developing-online-with-codespaces/index.md @@ -7,6 +7,8 @@ redirect_from: - /github/developing-online-with-github-codespaces versions: free-pro-team: '*' +topics: + - codespaces --- {% data reusables.codespaces.release-stage %} diff --git a/content/github/developing-online-with-codespaces/managing-access-and-security-for-codespaces.md b/content/github/developing-online-with-codespaces/managing-access-and-security-for-codespaces.md index a364ad3050..1db7b63da3 100644 --- a/content/github/developing-online-with-codespaces/managing-access-and-security-for-codespaces.md +++ b/content/github/developing-online-with-codespaces/managing-access-and-security-for-codespaces.md @@ -4,6 +4,8 @@ intro: You can manage the repositories that codespaces can access. product: '{% data reusables.gated-features.codespaces %}' versions: free-pro-team: '*' +topics: + - codespaces --- {% note %} diff --git a/content/github/developing-online-with-codespaces/managing-encrypted-secrets-for-codespaces.md b/content/github/developing-online-with-codespaces/managing-encrypted-secrets-for-codespaces.md index 2843a272a7..f99fc17ff1 100644 --- a/content/github/developing-online-with-codespaces/managing-encrypted-secrets-for-codespaces.md +++ b/content/github/developing-online-with-codespaces/managing-encrypted-secrets-for-codespaces.md @@ -1,9 +1,11 @@ --- title: Managing encrypted secrets for Codespaces -intro: You can store sensitive information, like tokens, that you want to access in your codespaces via environment variables. +intro: 'You can store sensitive information, like tokens, that you want to access in your codespaces via environment variables.' product: '{% data reusables.gated-features.codespaces %}' versions: free-pro-team: '*' +topics: + - codespaces --- {% note %} diff --git a/content/github/developing-online-with-codespaces/managing-gpg-verification-for-codespaces.md b/content/github/developing-online-with-codespaces/managing-gpg-verification-for-codespaces.md index 41c3420829..2aeb8deb09 100644 --- a/content/github/developing-online-with-codespaces/managing-gpg-verification-for-codespaces.md +++ b/content/github/developing-online-with-codespaces/managing-gpg-verification-for-codespaces.md @@ -1,9 +1,11 @@ --- title: Managing GPG verification for Codespaces -intro: You can allow {% data variables.product.company_short %} to automatically use GPG to sign commits you make in your codespaces, so other people can be confident that the changes come from a trusted source. +intro: 'You can allow {% data variables.product.company_short %} to automatically use GPG to sign commits you make in your codespaces, so other people can be confident that the changes come from a trusted source.' product: '{% data reusables.gated-features.codespaces %}' versions: free-pro-team: '*' +topics: + - codespaces --- {% note %} diff --git a/content/github/developing-online-with-codespaces/personalizing-codespaces-for-your-account.md b/content/github/developing-online-with-codespaces/personalizing-codespaces-for-your-account.md index 2539fd6762..058694aa92 100644 --- a/content/github/developing-online-with-codespaces/personalizing-codespaces-for-your-account.md +++ b/content/github/developing-online-with-codespaces/personalizing-codespaces-for-your-account.md @@ -7,6 +7,8 @@ redirect_from: - /github/developing-online-with-github-codespaces/personalizing-github-codespaces-for-your-account versions: free-pro-team: '*' +topics: + - codespaces --- {% data reusables.codespaces.release-stage %} @@ -32,8 +34,6 @@ If none of these files are found, then any files or folders in `dotfiles` starti Any changes to your `dotfiles` repository will apply only to each new codespace, and do not affect any existing codespace. -For more information, see [Personalizing](https://docs.microsoft.com/visualstudio/online/reference/personalizing) in the {% data variables.product.prodname_vscode %} documentation. - {% note %} **Note:** Currently, {% data variables.product.prodname_codespaces %} does not support personalizing the _User_ settings for the {% data variables.product.prodname_vscode %} editor with your `dotfiles` repository. You can set default _Workspace_ and _Remote [Codespaces]_ settings for a specific project in the project's repository. For more information, see "[Configuring {% data variables.product.prodname_codespaces %} for your project](/github/developing-online-with-codespaces/configuring-codespaces-for-your-project#creating-a-custom-codespace-configuration)." diff --git a/content/github/developing-online-with-codespaces/troubleshooting-your-codespace.md b/content/github/developing-online-with-codespaces/troubleshooting-your-codespace.md index 2daf7c2607..400c039188 100644 --- a/content/github/developing-online-with-codespaces/troubleshooting-your-codespace.md +++ b/content/github/developing-online-with-codespaces/troubleshooting-your-codespace.md @@ -6,6 +6,8 @@ redirect_from: - /github/developing-online-with-github-codespaces/troubleshooting-your-codespace versions: free-pro-team: '*' +topics: + - codespaces --- {% data reusables.codespaces.release-stage %} diff --git a/content/github/developing-online-with-codespaces/using-codespaces-in-visual-studio-code.md b/content/github/developing-online-with-codespaces/using-codespaces-in-visual-studio-code.md index cc973aea5e..a190ef1962 100644 --- a/content/github/developing-online-with-codespaces/using-codespaces-in-visual-studio-code.md +++ b/content/github/developing-online-with-codespaces/using-codespaces-in-visual-studio-code.md @@ -6,6 +6,8 @@ redirect_from: - /github/developing-online-with-codespaces/connecting-to-your-codespace-from-visual-studio-code versions: free-pro-team: '*' +topics: + - codespaces --- {% data reusables.codespaces.release-stage %} diff --git a/content/github/developing-online-with-codespaces/using-codespaces-in-visual-studio.md b/content/github/developing-online-with-codespaces/using-codespaces-in-visual-studio.md index 64cedbedb9..084fc31a53 100644 --- a/content/github/developing-online-with-codespaces/using-codespaces-in-visual-studio.md +++ b/content/github/developing-online-with-codespaces/using-codespaces-in-visual-studio.md @@ -4,6 +4,8 @@ intro: 'You can develop in your codespace directly in {% data variables.product. product: '{% data reusables.gated-features.codespaces %}' versions: free-pro-team: '*' +topics: + - codespaces --- {% note %} diff --git a/content/github/finding-security-vulnerabilities-and-errors-in-your-code/about-code-scanning.md b/content/github/finding-security-vulnerabilities-and-errors-in-your-code/about-code-scanning.md index 93644fd985..79451ea523 100644 --- a/content/github/finding-security-vulnerabilities-and-errors-in-your-code/about-code-scanning.md +++ b/content/github/finding-security-vulnerabilities-and-errors-in-your-code/about-code-scanning.md @@ -2,12 +2,10 @@ title: About code scanning intro: 'You can use {% data variables.product.prodname_code_scanning %} to find security vulnerabilities and errors in the code for your project on {% data variables.product.prodname_dotcom %}.' product: '{% data reusables.gated-features.code-scanning %}' -redirect_from: - - /github/managing-security-vulnerabilities/about-automated-code-scanning versions: - free-pro-team: '*' - enterprise-server: '>=2.22' - github-ae: '*' + enterprise-server: '2.22' +topics: + - security --- {% data reusables.code-scanning.beta %} diff --git a/content/github/finding-security-vulnerabilities-and-errors-in-your-code/about-integration-with-code-scanning.md b/content/github/finding-security-vulnerabilities-and-errors-in-your-code/about-integration-with-code-scanning.md index 0e514fc25e..24c879678c 100644 --- a/content/github/finding-security-vulnerabilities-and-errors-in-your-code/about-integration-with-code-scanning.md +++ b/content/github/finding-security-vulnerabilities-and-errors-in-your-code/about-integration-with-code-scanning.md @@ -4,9 +4,9 @@ shortTitle: About integration intro: 'You can perform {% data variables.product.prodname_code_scanning %} externally and then display the results in {% data variables.product.prodname_dotcom %}, or set up webhooks that listen to {% data variables.product.prodname_code_scanning %} activity in your repository.' product: '{% data reusables.gated-features.code-scanning %}' versions: - free-pro-team: '*' - enterprise-server: '>=2.22' - github-ae: '*' + enterprise-server: '2.22' +topics: + - security --- {% data reusables.code-scanning.beta %} diff --git a/content/github/finding-security-vulnerabilities-and-errors-in-your-code/automatically-scanning-your-code-for-vulnerabilities-and-errors.md b/content/github/finding-security-vulnerabilities-and-errors-in-your-code/automatically-scanning-your-code-for-vulnerabilities-and-errors.md index d8f88cd46b..959b2968df 100644 --- a/content/github/finding-security-vulnerabilities-and-errors-in-your-code/automatically-scanning-your-code-for-vulnerabilities-and-errors.md +++ b/content/github/finding-security-vulnerabilities-and-errors-in-your-code/automatically-scanning-your-code-for-vulnerabilities-and-errors.md @@ -5,8 +5,8 @@ intro: 'You can find vulnerabilities and errors in your project''s code on {% da mapTopic: true product: '{% data reusables.gated-features.code-scanning %}' versions: - free-pro-team: '*' - enterprise-server: '>=2.22' - github-ae: '*' + enterprise-server: '2.22' +topics: + - security --- diff --git a/content/github/finding-security-vulnerabilities-and-errors-in-your-code/configuring-code-scanning.md b/content/github/finding-security-vulnerabilities-and-errors-in-your-code/configuring-code-scanning.md index c54a30bb93..13cd43a2c5 100644 --- a/content/github/finding-security-vulnerabilities-and-errors-in-your-code/configuring-code-scanning.md +++ b/content/github/finding-security-vulnerabilities-and-errors-in-your-code/configuring-code-scanning.md @@ -5,9 +5,9 @@ product: '{% data reusables.gated-features.code-scanning %}' permissions: 'People with write permissions to a repository can configure {% data variables.product.prodname_code_scanning %} for the repository.' miniTocMaxHeadingLevel: 4 versions: - free-pro-team: '*' - enterprise-server: '>=2.22' - github-ae: '*' + enterprise-server: '2.22' +topics: + - security --- {% data reusables.code-scanning.beta %} @@ -100,13 +100,13 @@ on: pull_request: branches: [main] schedule: - - cron: '0 15 * * 0' + - cron: '40 7 * * 2' ``` This workflow scans: * Every push to the default branch and the protected branch * Every pull request to the default branch -* The default branch at 3 P.M. every Sunday +* The default branch every Tuesday at 7:40 UTC ### Specifying an operating system diff --git a/content/github/finding-security-vulnerabilities-and-errors-in-your-code/configuring-codeql-code-scanning-in-your-ci-system.md b/content/github/finding-security-vulnerabilities-and-errors-in-your-code/configuring-codeql-code-scanning-in-your-ci-system.md index b94bfc2fba..7925a69c3c 100644 --- a/content/github/finding-security-vulnerabilities-and-errors-in-your-code/configuring-codeql-code-scanning-in-your-ci-system.md +++ b/content/github/finding-security-vulnerabilities-and-errors-in-your-code/configuring-codeql-code-scanning-in-your-ci-system.md @@ -4,12 +4,10 @@ shortTitle: Configuring in your CI intro: 'You can configure how the {% data variables.product.prodname_codeql_runner %} scans the code in your project and uploads the results to {% data variables.product.prodname_dotcom %}.' product: '{% data reusables.gated-features.code-scanning %}' miniTocMaxHeadingLevel: 4 -redirect_from: - - /github/finding-security-vulnerabilities-and-errors-in-your-code/configuring-code-scanning-in-your-ci-system versions: - free-pro-team: '*' - enterprise-server: '>=2.22' - github-ae: '*' + enterprise-server: '2.22' +topics: + - security --- {% data reusables.code-scanning.beta-codeql-runner %} @@ -35,12 +33,18 @@ To customize the way the {% data variables.product.prodname_codeql_runner %} sca Scanning code whenever a pull request is created prevents developers from introducing new vulnerabilities and errors into the code. -To scan a pull request, run the `analyze` command and use the `--ref` flag to specify the pull request. The reference is `refs/pull//head` or `refs/pull//merge`, depending on whether you have checked out the HEAD commit of the pull request branch or a merge commit with the base branch. +To scan a pull request, run the `analyze` command and use the `--ref` flag to specify the pull request. The reference is `refs/pull//head` or `refs/pull//merge`, depending on whether you have checked out the HEAD commit of the pull request branch or a merge commit with the base branch. ```shell -$ /path/to-runner/codeql-runner-linux analyze --ref refs/pull/42/head +$ /path/to-runner/codeql-runner-linux analyze --ref refs/pull/42/merge ``` +{% note %} + +**Note**: If you analyze code with a third-party tool and want the results to appear as pull request checks, you must run the `upload` command and use the `--ref` flag to specify the pull request instead of the branch. The reference is `refs/pull//head` or `refs/pull//merge`. + +{% endnote %} + ### Overriding automatic language detection The {% data variables.product.prodname_codeql_runner %} automatically detects and scans code written in the supported languages. @@ -110,7 +114,9 @@ If the `autobuild` command can't build your code, you can run the build steps yo By default, the {% data variables.product.prodname_codeql_runner %} uploads results from {% data variables.product.prodname_code_scanning %} when you run the `analyze` command. You can also upload SARIF files separately, by using the `upload` command. -Once you've uploaded the data, {% data variables.product.prodname_dotcom %} displays the alerts in your repository. For more information, see "[Managing {% data variables.product.prodname_code_scanning %} alerts for your repository](/github/finding-security-vulnerabilities-and-errors-in-your-code/managing-code-scanning-alerts-for-your-repository#viewing-the-alerts-for-a-repository)." +Once you've uploaded the data, {% data variables.product.prodname_dotcom %} displays the alerts in your repository. +- If you uploaded 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/triaging-code-scanning-alerts-in-pull-requests)." +- If you uploaded 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/managing-code-scanning-alerts-for-your-repository#viewing-the-alerts-for-a-repository)." ### {% data variables.product.prodname_codeql_runner %} command reference diff --git a/content/github/finding-security-vulnerabilities-and-errors-in-your-code/configuring-the-codeql-workflow-for-compiled-languages.md b/content/github/finding-security-vulnerabilities-and-errors-in-your-code/configuring-the-codeql-workflow-for-compiled-languages.md index 3f9ef7ac04..6056f759a8 100644 --- a/content/github/finding-security-vulnerabilities-and-errors-in-your-code/configuring-the-codeql-workflow-for-compiled-languages.md +++ b/content/github/finding-security-vulnerabilities-and-errors-in-your-code/configuring-the-codeql-workflow-for-compiled-languages.md @@ -4,13 +4,10 @@ shortTitle: Configuring for compiled languages intro: 'You can configure how {% data variables.product.prodname_dotcom %} uses the {% data variables.product.prodname_codeql_workflow %} to scan code written in compiled languages for vulnerabilities and errors.' product: '{% data reusables.gated-features.code-scanning %}' permissions: 'If you have write permissions to a repository, you can configure {% data variables.product.prodname_code_scanning %} for that repository.' -redirect_from: - - /github/finding-security-vulnerabilities-and-errors-in-your-code/configuring-code-scanning-for-compiled-languages - - /github/finding-security-vulnerabilities-and-errors-in-your-code/configuring-the-codeql-action-for-compiled-languages versions: - free-pro-team: '*' - enterprise-server: '>=2.22' - github-ae: '*' + enterprise-server: '2.22' +topics: + - security --- {% data reusables.code-scanning.beta %} diff --git a/content/github/finding-security-vulnerabilities-and-errors-in-your-code/index.md b/content/github/finding-security-vulnerabilities-and-errors-in-your-code/index.md index cf5bc1721e..aa1a4ae018 100644 --- a/content/github/finding-security-vulnerabilities-and-errors-in-your-code/index.md +++ b/content/github/finding-security-vulnerabilities-and-errors-in-your-code/index.md @@ -2,12 +2,10 @@ title: Finding security vulnerabilities and errors in your code shortTitle: Finding vulnerabilities and coding errors product: '{% data reusables.gated-features.code-scanning %}' -redirect_from: - - /github/managing-security-vulnerabilities/finding-security-vulnerabilities-in-your-projects-code versions: - free-pro-team: '*' - enterprise-server: '>=2.22' - github-ae: '*' + enterprise-server: '2.22' +topics: + - security --- ### Table of Contents diff --git a/content/github/finding-security-vulnerabilities-and-errors-in-your-code/integrating-with-code-scanning.md b/content/github/finding-security-vulnerabilities-and-errors-in-your-code/integrating-with-code-scanning.md index ee5e4671d5..078e2407e4 100644 --- a/content/github/finding-security-vulnerabilities-and-errors-in-your-code/integrating-with-code-scanning.md +++ b/content/github/finding-security-vulnerabilities-and-errors-in-your-code/integrating-with-code-scanning.md @@ -4,11 +4,9 @@ shortTitle: Integration intro: 'You can integrate third-party code analysis tools with {% data variables.product.prodname_dotcom %} {% data variables.product.prodname_code_scanning %} by uploading data as SARIF files.' mapTopic: true product: '{% data reusables.gated-features.code-scanning %}' -redirect_from: - - /github/finding-security-vulnerabilities-and-errors-in-your-code/managing-results-from-code-scanning versions: - free-pro-team: '*' - enterprise-server: '>=2.22' - github-ae: '*' + enterprise-server: '2.22' +topics: + - security --- diff --git a/content/github/finding-security-vulnerabilities-and-errors-in-your-code/managing-code-scanning-alerts-for-your-repository.md b/content/github/finding-security-vulnerabilities-and-errors-in-your-code/managing-code-scanning-alerts-for-your-repository.md index a72de426b2..4a81d34903 100644 --- a/content/github/finding-security-vulnerabilities-and-errors-in-your-code/managing-code-scanning-alerts-for-your-repository.md +++ b/content/github/finding-security-vulnerabilities-and-errors-in-your-code/managing-code-scanning-alerts-for-your-repository.md @@ -5,12 +5,7 @@ intro: 'From the security view, you can view, fix, {% if currentVersion == "ente product: '{% data reusables.gated-features.code-scanning %}' permissions: 'If you have write permission to a repository you can manage {% data variables.product.prodname_code_scanning %} alerts for that repository.' versions: - free-pro-team: '*' - enterprise-server: '>=2.22' - github-ae: '*' -redirect_from: - - /github/managing-security-vulnerabilities/managing-alerts-from-automated-code-scanning - - /github/finding-security-vulnerabilities-and-errors-in-your-code/managing-alerts-from-code-scanning + enterprise-server: '2.22' --- {% data reusables.code-scanning.beta %} diff --git a/content/github/finding-security-vulnerabilities-and-errors-in-your-code/running-codeql-code-scanning-in-a-container.md b/content/github/finding-security-vulnerabilities-and-errors-in-your-code/running-codeql-code-scanning-in-a-container.md index a05a2ca349..6c40d2210c 100644 --- a/content/github/finding-security-vulnerabilities-and-errors-in-your-code/running-codeql-code-scanning-in-a-container.md +++ b/content/github/finding-security-vulnerabilities-and-errors-in-your-code/running-codeql-code-scanning-in-a-container.md @@ -4,9 +4,9 @@ shortTitle: '{% data variables.product.prodname_code_scanning_capc %} in a conta intro: 'You can run {% data variables.product.prodname_code_scanning %} in a container by ensuring that all processes run in the same container.' product: '{% data reusables.gated-features.code-scanning %}' versions: - free-pro-team: '*' - enterprise-server: '>=2.22' - github-ae: '*' + enterprise-server: '2.22' +topics: + - security --- {% data reusables.code-scanning.beta %} @@ -15,7 +15,7 @@ versions: If you're setting up {% data variables.product.prodname_code_scanning %} for a compiled language, and you're building the code in a containerized environment, the analysis may fail with the error message "No source code was seen during the build." This indicates that {% data variables.product.prodname_codeql %} was unable to monitor your code as it was compiled. -You must run {% data variables.product.prodname_codeql %} in the same container in which you build your code. This applies whether you are using the {% data variables.product.prodname_codeql_runner %}, or {% data variables.product.prodname_actions %}. If you're using the {% data variables.product.prodname_codeql_runner %}, run it in the container where your code builds. For more information about the {% data variables.product.prodname_codeql_runner %}, see "[Running {% data variables.product.prodname_codeql %} in your CI system](/github/finding-security-vulnerabilities-and-errors-in-your-code/running-code-scanning-in-your-ci-system)." If you're using {% data variables.product.prodname_actions %}, configure your workflow to run all the actions in the same container. For more information, see "[Example workflow](#example-workflow)." +You must run {% data variables.product.prodname_codeql %} in the same container in which you build your code. This applies whether you are using the {% data variables.product.prodname_codeql_runner %}, or {% data variables.product.prodname_actions %}. If you're using the {% data variables.product.prodname_codeql_runner %}, run it in the container where your code builds. For more information about the {% data variables.product.prodname_codeql_runner %}, see "[Running {% data variables.product.prodname_codeql %} {% data variables.product.prodname_code_scanning %} in your CI system](/github/finding-security-vulnerabilities-and-errors-in-your-code/running-codeql-code-scanning-in-your-ci-system)." If you're using {% data variables.product.prodname_actions %}, configure your workflow to run all the actions in the same container. For more information, see "[Example workflow](#example-workflow)." ### Dependencies @@ -38,7 +38,7 @@ on: pull_request: branches: [main] schedule: - - cron: '0 0 * * 0' + - cron: '45 15 * * 2' jobs: analyze: diff --git a/content/github/finding-security-vulnerabilities-and-errors-in-your-code/running-codeql-code-scanning-in-your-ci-system.md b/content/github/finding-security-vulnerabilities-and-errors-in-your-code/running-codeql-code-scanning-in-your-ci-system.md index b2ff31219a..ee1d07b337 100644 --- a/content/github/finding-security-vulnerabilities-and-errors-in-your-code/running-codeql-code-scanning-in-your-ci-system.md +++ b/content/github/finding-security-vulnerabilities-and-errors-in-your-code/running-codeql-code-scanning-in-your-ci-system.md @@ -3,12 +3,10 @@ title: Running CodeQL code scanning in your CI system shortTitle: Running in your CI intro: 'You can use the {% data variables.product.prodname_codeql_runner %} to perform {% data variables.product.prodname_codeql %} {% data variables.product.prodname_code_scanning %} in a third-party continuous integration system.' product: '{% data reusables.gated-features.code-scanning %}' -redirect_from: - - /github/finding-security-vulnerabilities-and-errors-in-your-code/running-code-scanning-in-your-ci-system versions: - free-pro-team: '*' - enterprise-server: '>=2.22' - github-ae: '*' + enterprise-server: '2.22' +topics: + - security --- @@ -98,6 +96,8 @@ To view the command-line reference for the runner, use the `-h` flag. For exampl This example runs {% data variables.product.prodname_codeql %} analysis on a Linux CI server for the `octo-org/example-repo` repository hosted on `{% data variables.command_line.git_url_example %}`. The process is very simple because the repository contains only languages that can be analyzed by {% data variables.product.prodname_codeql %} directly, without being built (that is, Go, JavaScript, Python, and TypeScript). +In this example, the server has access to download the {% data variables.product.prodname_codeql %} bundle directly from the `github/codeql-action` repository, so there is no need to use the `--codeql-path` flag. + 1. Check out the repository to analyze. 1. Move into the directory where the repository is checked out. 1. Initialize the {% data variables.product.prodname_codeql_runner %} and create {% data variables.product.prodname_codeql %} databases for the languages detected. @@ -110,19 +110,7 @@ This example runs {% data variables.product.prodname_codeql %} analysis on a Lin > Created CodeQL database at /srv/checkout/example-repo/codeql-runner/codeql_databases/javascript. ``` -1. Populate the {% data variables.product.prodname_codeql_runner %} databases, analyze them, and upload the results to {% data variables.product.product_name %}. - - ```shell - $ /path/to-runner/codeql-runner-linux analyze --repository octo-org/example-repo - --github-url {% data variables.command_line.git_url_example %} --github-auth TOKEN - --commit 5b6a3078b31dc346e5ce7b86837d6abbe7a18bbd --ref refs/heads/main - > Finalizing database creation - > ... - > POST /repos/octo-org/example-repo/code-scanning/sarifs - 202 in 786ms - > Successfully uploaded results - ``` - -The server has access to download the {% data variables.product.prodname_codeql %} bundle directly from the `github/codeql-action` repository, so there is no need to use the `--codeql-path` flag. When the analysis is complete, the {% data variables.product.prodname_codeql_runner %} uploads the results to the {% data variables.product.prodname_code_scanning %} view. For more information, see "[Managing {% data variables.product.prodname_code_scanning %} alerts for your repository](/github/finding-security-vulnerabilities-and-errors-in-your-code/managing-code-scanning-alerts-for-your-repository)." +{% data reusables.code-scanning.codeql-runner-analyze-example %} #### Compiled language example @@ -139,8 +127,8 @@ This example is similar to the previous example, however this time the repositor > ... > CodeQL environment output to "/srv/checkout/example-repo-2/codeql-runner/codeql-env.json" and "/srv/checkout/example-repo-2/codeql-runner/codeql-env.sh". - Please export these variables to future processes so that CodeQL can monitor the build, for example by running " - . /srv/checkout/example-repo-2/codeql-runner/codeql-env.sh". + Please export these variables to future processes so that CodeQL can monitor the build, for example by running + ". /srv/checkout/example-repo-2/codeql-runner/codeql-env.sh". ``` 1. Source the script generated by the `init` action to set up the environment to monitor the build. Note the leading dot and space in the following code snippet. @@ -151,17 +139,7 @@ This example is similar to the previous example, however this time the repositor 1. Build the code. On macOS, you need to prefix the build command with the environment variable `$CODEQL_RUNNER`. For more information, see "[Troubleshooting CodeQL code scanning in your CI system](/github/finding-security-vulnerabilities-and-errors-in-your-code/troubleshooting-codeql-code-scanning-in-your-ci-system#no-code-found-during-the-build)." -1. Populate the {% data variables.product.prodname_codeql %} databases, analyze them, and upload the results to {% data variables.product.prodname_dotcom %}. - - ```shell - $ /path/to-runner/codeql-runner-linux analyze --repository octo-org/example-repo-2 - --github-url {% data variables.command_line.git_url_example %} --github-auth TOKEN - --commit ae7b655ef30b50fb726ae7b3daa79571a39d194d --ref refs/heads/main - > Finalizing database creation - > ... - > POST /repos/octo-org/example-repo-2/code-scanning/sarifs - 202 in 573ms - > Successfully uploaded results - ``` +{% data reusables.code-scanning.codeql-runner-analyze-example %} {% note %} diff --git a/content/github/finding-security-vulnerabilities-and-errors-in-your-code/sarif-support-for-code-scanning.md b/content/github/finding-security-vulnerabilities-and-errors-in-your-code/sarif-support-for-code-scanning.md index eb3de38525..461781f021 100644 --- a/content/github/finding-security-vulnerabilities-and-errors-in-your-code/sarif-support-for-code-scanning.md +++ b/content/github/finding-security-vulnerabilities-and-errors-in-your-code/sarif-support-for-code-scanning.md @@ -3,12 +3,10 @@ title: SARIF support for code scanning shortTitle: SARIF support intro: 'To display results from a third-party static analysis tool in your repository on {% data variables.product.prodname_dotcom %}, you''ll need your results stored in a SARIF file that supports a specific subset of the SARIF 2.1.0 JSON schema for {% data variables.product.prodname_code_scanning %}. If you use the default {% data variables.product.prodname_codeql %} static analysis engine, then your results will display in your repository on {% data variables.product.prodname_dotcom %} automatically.' product: '{% data reusables.gated-features.code-scanning %}' -redirect_from: - - /github/finding-security-vulnerabilities-and-errors-in-your-code/about-sarif-support-for-code-scanning versions: - free-pro-team: '*' - enterprise-server: '>=2.22' - github-ae: '*' + enterprise-server: '2.22' +topics: + - security --- {% data reusables.code-scanning.beta %} @@ -19,7 +17,7 @@ SARIF (Static Analysis Results Interchange Format) is an [OASIS Standard](https: To upload a SARIF file from a third-party static code analysis engine, you'll need to ensure that uploaded files use the SARIF 2.1.0 version. {% data variables.product.prodname_dotcom %} will parse the SARIF file and show alerts using the results in your repository as a part of the {% data variables.product.prodname_code_scanning %} experience. For more information, see "[Uploading a SARIF file to {% data variables.product.prodname_dotcom %}](/github/finding-security-vulnerabilities-and-errors-in-your-code/uploading-a-sarif-file-to-github)." For more information about the SARIF 2.1.0 JSON schema, see [`sarif-schema-2.1.0.json`](https://github.com/oasis-tcs/sarif-spec/blob/master/Schemata/sarif-schema-2.1.0.json). -If you're using {% data variables.product.prodname_actions %} with the {% data variables.product.prodname_codeql_workflow %} or using the {% data variables.product.prodname_codeql_runner %}, then the {% data variables.product.prodname_code_scanning %} results will automatically use the supported subset of SARIF 2.1.0. For more information, see "[Enabling {% data variables.product.prodname_code_scanning %}](/github/finding-security-vulnerabilities-and-errors-in-your-code/enabling-code-scanning)" or "[Running {% data variables.product.prodname_codeql %} {% data variables.product.prodname_code_scanning %} in your CI system](/github/finding-security-vulnerabilities-and-errors-in-your-code/running-codeql-code-scanning-in-your-ci-system)." +If you're using {% data variables.product.prodname_actions %} with the {% data variables.product.prodname_codeql_workflow %} or using the {% data variables.product.prodname_codeql_runner %}, then the {% data variables.product.prodname_code_scanning %} results will automatically use the supported subset of SARIF 2.1.0. For more information, see "[Setting up {% data variables.product.prodname_code_scanning %} for a repository](/github/finding-security-vulnerabilities-and-errors-in-your-code/setting-up-code-scanning-for-a-repository)" or "[Running {% data variables.product.prodname_codeql %} {% data variables.product.prodname_code_scanning %} in your CI system](/github/finding-security-vulnerabilities-and-errors-in-your-code/running-codeql-code-scanning-in-your-ci-system)." {% data variables.product.prodname_dotcom %} uses properties in the SARIF file to display alerts. For example, the `shortDescription` and `fullDescription` appear at the top of a {% data variables.product.prodname_code_scanning %} alert. The `location` allows {% data variables.product.prodname_dotcom %} to show annotations in your code file. For more information, see "[Managing {% data variables.product.prodname_code_scanning %} alerts for your repository](/github/finding-security-vulnerabilities-and-errors-in-your-code/managing-code-scanning-alerts-for-your-repository)." diff --git a/content/github/finding-security-vulnerabilities-and-errors-in-your-code/setting-up-code-scanning-for-a-repository.md b/content/github/finding-security-vulnerabilities-and-errors-in-your-code/setting-up-code-scanning-for-a-repository.md index e7659aeb09..66483a8926 100644 --- a/content/github/finding-security-vulnerabilities-and-errors-in-your-code/setting-up-code-scanning-for-a-repository.md +++ b/content/github/finding-security-vulnerabilities-and-errors-in-your-code/setting-up-code-scanning-for-a-repository.md @@ -4,14 +4,10 @@ shortTitle: Setting up code scanning intro: 'You can set up {% data variables.product.prodname_code_scanning %} by adding a workflow to your repository.' product: '{% data reusables.gated-features.code-scanning %}' permissions: 'If you have write permissions to a repository, you can set up or configure {% data variables.product.prodname_code_scanning %} for that repository.' -redirect_from: - - /github/managing-security-vulnerabilities/configuring-automated-code-scanning - - /github/finding-security-vulnerabilities-and-errors-in-your-code/enabling-code-scanning - - /github/finding-security-vulnerabilities-and-errors-in-your-code/enabling-code-scanning-for-a-repository versions: - free-pro-team: '*' - enterprise-server: '>=2.22' - github-ae: '*' + enterprise-server: '2.22' +topics: + - security --- {% data reusables.code-scanning.beta %} @@ -31,8 +27,8 @@ You decide how to generate {% data variables.product.prodname_code_scanning %} a {% data reusables.repositories.sidebar-security %} 3. To the right of "{% data variables.product.prodname_code_scanning_capc %} alerts", click **Set up {% data variables.product.prodname_code_scanning %}**. {% if currentVersion == "free-pro-team@latest" or currentVersion ver_gt "enterprise-server@3.0" %}If {% data variables.product.prodname_code_scanning %} is missing, you need to ask an organization owner or repository administrator to enable {% data variables.product.prodname_GH_advanced_security %}. For more information, see "[Managing security and analysis settings for your organization](/github/setting-up-and-managing-organizations-and-teams/managing-security-and-analysis-settings-for-your-organization)" or "[Managing security and analysis settings for your repository](/github/administering-a-repository/managing-security-and-analysis-settings-for-your-repository)."{% endif %} !["Set up {% data variables.product.prodname_code_scanning %}" button to the right of "{% data variables.product.prodname_code_scanning_capc %}" in the Security Overview](/assets/images/help/security/overview-set-up-code-scanning.png) -4. Under "Get started with {% data variables.product.prodname_code_scanning %}", click **Set up this workflow** on the {% data variables.product.prodname_codeql_workflow %} or on a third-party workflow. - !["Set up this workflow" button under "Get started with {% data variables.product.prodname_code_scanning %}" heading](/assets/images/help/repository/code-scanning-set-up-this-workflow.png) +4. Under "Get started with {% data variables.product.prodname_code_scanning %}", click **Set up this workflow** on the {% data variables.product.prodname_codeql_workflow %} or on a third-party workflow. + !["Set up this workflow" button under "Get started with {% data variables.product.prodname_code_scanning %}" heading](/assets/images/help/repository/code-scanning-set-up-this-workflow.png){% if currentVersion == "free-pro-team@latest" or currentVersion ver_gt "enterprise-server@2.22" %}Workflows are only displayed if they are relevant for the programming languages detected in the repository. The {% data variables.product.prodname_codeql_workflow %} is always displayed, but the "Set up this workflow" button is only enabled if {% data variables.product.prodname_codeql %} analysis supports the languages present in the repository.{% endif %} 5. To customize how {% data variables.product.prodname_code_scanning %} scans your code, edit the workflow. Generally you can commit the {% data variables.product.prodname_codeql_workflow %} without making any changes to it. However, many of the third-party workflows require additional configuration, so read the comments in the workflow before committing. diff --git a/content/github/finding-security-vulnerabilities-and-errors-in-your-code/triaging-code-scanning-alerts-in-pull-requests.md b/content/github/finding-security-vulnerabilities-and-errors-in-your-code/triaging-code-scanning-alerts-in-pull-requests.md index 496acb2802..2add40278a 100644 --- a/content/github/finding-security-vulnerabilities-and-errors-in-your-code/triaging-code-scanning-alerts-in-pull-requests.md +++ b/content/github/finding-security-vulnerabilities-and-errors-in-your-code/triaging-code-scanning-alerts-in-pull-requests.md @@ -5,9 +5,9 @@ intro: 'When {% data variables.product.prodname_code_scanning %} identifies a pr product: '{% data reusables.gated-features.code-scanning %}' permissions: 'If you have read permission for a repository, you can see annotations on pull requests. With write permission, you can see detailed information and resolve {% data variables.product.prodname_code_scanning %} alerts for that repository.' versions: - free-pro-team: '*' - enterprise-server: '>=2.22' - github-ae: '*' + enterprise-server: '2.22' +topics: + - security --- {% data reusables.code-scanning.beta %} @@ -24,7 +24,7 @@ If {% data variables.product.prodname_code_scanning %} has any results with a se There are many options for configuring {% data variables.product.prodname_code_scanning %} as a pull request check, so the exact setup of each repository will vary and some will have more than one check. The check that contains the results of {% data variables.product.prodname_code_scanning %} is: **Code scanning results**. -If the repository uses the {% data variables.product.prodname_codeql_workflow %} a **{% data variables.product.prodname_codeql %} / Analyze (LANGUAGE)** check is run for each language before the results check runs. The analysis check may fail if there are configuration problems, or if the pull request breaks the build for a language that the analysis needs to compile (for example, C/C++, C#, or Java). As with other pull request checks, you can see full details of the check failure on the **Checks** tab. For more information about configuring and troubleshooting, see "[Configuring {% data variables.product.prodname_code_scanning %}](/github/finding-security-vulnerabilities-and-errors-in-your-code/configuring-code-scanning)" or "[Troubleshooting {% data variables.product.prodname_code_scanning %}](/github/finding-security-vulnerabilities-and-errors-in-your-code/troubleshooting-code-scanning)." +If the repository uses the {% data variables.product.prodname_codeql_workflow %} a **{% data variables.product.prodname_codeql %} / Analyze (LANGUAGE)** check is run for each language before the results check runs. The analysis check may fail if there are configuration problems, or if the pull request breaks the build for a language that the analysis needs to compile (for example, C/C++, C#, or Java). As with other pull request checks, you can see full details of the check failure on the **Checks** tab. For more information about configuring and troubleshooting, see "[Configuring {% data variables.product.prodname_code_scanning %}](/github/finding-security-vulnerabilities-and-errors-in-your-code/configuring-code-scanning)" or "[Troubleshooting the {% data variables.product.prodname_codeql %} workflow](/github/finding-security-vulnerabilities-and-errors-in-your-code/troubleshooting-the-codeql-workflow)." ### Triaging an alert on your pull request diff --git a/content/github/finding-security-vulnerabilities-and-errors-in-your-code/troubleshooting-codeql-code-scanning-in-your-ci-system.md b/content/github/finding-security-vulnerabilities-and-errors-in-your-code/troubleshooting-codeql-code-scanning-in-your-ci-system.md index 6a37da5f57..38720c5fa8 100644 --- a/content/github/finding-security-vulnerabilities-and-errors-in-your-code/troubleshooting-codeql-code-scanning-in-your-ci-system.md +++ b/content/github/finding-security-vulnerabilities-and-errors-in-your-code/troubleshooting-codeql-code-scanning-in-your-ci-system.md @@ -3,12 +3,10 @@ title: Troubleshooting CodeQL code scanning in your CI system shortTitle: Troubleshooting in your CI intro: 'If you''re having problems with the {% data variables.product.prodname_codeql_runner %}, you can troubleshoot by using these tips.' product: '{% data reusables.gated-features.code-scanning %}' -redirect_from: - - /github/finding-security-vulnerabilities-and-errors-in-your-code/troubleshooting-code-scanning-in-your-ci-system versions: - free-pro-team: '*' - enterprise-server: '>=2.22' - github-ae: '*' + enterprise-server: '2.22' +topics: + - security --- {% data reusables.code-scanning.beta-codeql-runner %} diff --git a/content/github/finding-security-vulnerabilities-and-errors-in-your-code/troubleshooting-the-codeql-workflow.md b/content/github/finding-security-vulnerabilities-and-errors-in-your-code/troubleshooting-the-codeql-workflow.md index 5e1f031769..d2281f5c98 100644 --- a/content/github/finding-security-vulnerabilities-and-errors-in-your-code/troubleshooting-the-codeql-workflow.md +++ b/content/github/finding-security-vulnerabilities-and-errors-in-your-code/troubleshooting-the-codeql-workflow.md @@ -3,17 +3,19 @@ title: Troubleshooting the CodeQL workflow shortTitle: Troubleshooting CodeQL intro: 'If you''re having problems with {% data variables.product.prodname_code_scanning %}, you can troubleshoot by using these tips for resolving issues.' product: '{% data reusables.gated-features.code-scanning %}' -redirect_from: - - /github/finding-security-vulnerabilities-and-errors-in-your-code/troubleshooting-code-scanning versions: - free-pro-team: '*' - enterprise-server: '>=2.22' - github-ae: '*' + enterprise-server: '2.22' +topics: + - security --- {% data reusables.code-scanning.beta %} {% data reusables.code-scanning.not-available %} +### Producing detailed logs for debugging + +To produce more detailed logging output, you can enable step debug logging. For more information, see "[Enabling debug logging](/actions/managing-workflow-runs/enabling-debug-logging#enabling-step-debug-logging)." + ### Automatic build for a compiled language fails If an automatic build of code for a compiled language within your project fails, try the following troubleshooting steps. @@ -168,4 +170,4 @@ The revised `steps` section of the workflow will look like this: ... ``` -For more information about editing the {% data variables.product.prodname_codeql %} workflow file, see "[Configuring {% data variables.product.prodname_code_scanning %}](/github/finding-security-vulnerabilities-and-errors-in-your-code/configuring-code-scanning#editing-a-code-scanning-workflow)." \ No newline at end of file +For more information about editing the {% data variables.product.prodname_codeql %} workflow file, see "[Configuring {% data variables.product.prodname_code_scanning %}](/github/finding-security-vulnerabilities-and-errors-in-your-code/configuring-code-scanning#editing-a-code-scanning-workflow)." diff --git a/content/github/finding-security-vulnerabilities-and-errors-in-your-code/uploading-a-sarif-file-to-github.md b/content/github/finding-security-vulnerabilities-and-errors-in-your-code/uploading-a-sarif-file-to-github.md index a8908896f7..d9af8c6631 100644 --- a/content/github/finding-security-vulnerabilities-and-errors-in-your-code/uploading-a-sarif-file-to-github.md +++ b/content/github/finding-security-vulnerabilities-and-errors-in-your-code/uploading-a-sarif-file-to-github.md @@ -4,12 +4,10 @@ shortTitle: Uploading a SARIF file intro: '{% data reusables.code-scanning.you-can-upload-third-party-analysis %}' permissions: 'People with write permissions to a repository can upload {% data variables.product.prodname_code_scanning %} data generated outside {% data variables.product.prodname_dotcom %}.' product: '{% data reusables.gated-features.code-scanning %}' -redirect_from: - - /github/managing-security-vulnerabilities/uploading-a-code-scanning-analysis-to-github versions: - free-pro-team: '*' - enterprise-server: '>=2.22' - github-ae: '*' + enterprise-server: '2.22' +topics: + - security --- {% data reusables.code-scanning.beta %} @@ -19,13 +17,13 @@ versions: {% data variables.product.prodname_dotcom %} creates {% data variables.product.prodname_code_scanning %} alerts in a repository using information from Static Analysis Results Interchange Format (SARIF) files. SARIF files can be uploaded to a repository using the API or {% data variables.product.prodname_actions %}. For more information, see "[Managing {% data variables.product.prodname_code_scanning %} alerts for your repository](/github/finding-security-vulnerabilities-and-errors-in-your-code/managing-code-scanning-alerts-for-your-repository)." -You can generate SARIF files using many static analysis security testing tools, including {% data variables.product.prodname_codeql %}. The results must use SARIF version 2.1.0. For more information, see "[About SARIF support for {% data variables.product.prodname_code_scanning %}](/github/finding-security-vulnerabilities-and-errors-in-your-code/about-sarif-support-for-code-scanning)." +You can generate SARIF files using many static analysis security testing tools, including {% data variables.product.prodname_codeql %}. The results must use SARIF version 2.1.0. For more information, see "[SARIF support for {% data variables.product.prodname_code_scanning %}](/github/finding-security-vulnerabilities-and-errors-in-your-code/sarif-support-for-code-scanning)." You can upload the results using {% data variables.product.prodname_actions %}{% if currentVersion == "enterprise-server@2.22" %} (available if your organization is taking part in the beta program){% endif %}, the {% data variables.product.prodname_code_scanning %} API, or the {% data variables.product.prodname_codeql_runner %}. The best upload method will depend on how you generate the SARIF file, for example, if you use: - {% data variables.product.prodname_actions %} to run the {% data variables.product.prodname_codeql %} action, there is no further action required. The {% data variables.product.prodname_codeql %} action uploads the SARIF file automatically when it completes analysis. - {% data variables.product.prodname_actions %} to run a SARIF-compatible analysis tool, you could update the workflow to include a final step that uploads the results (see below). -- The {% data variables.product.prodname_codeql_runner %}, to run {% data variables.product.prodname_code_scanning %} in your CI system, by default the runner automatically uploads results to {% data variables.product.prodname_dotcom %} on completion. If you block the automatic upload, when you are ready to upload results you can use the `upload` command (for more information, see "[Running {% data variables.product.prodname_code_scanning %} in your CI system](/github/finding-security-vulnerabilities-and-errors-in-your-code/running-codeql-code-scanning-in-your-ci-system)"). +- The {% data variables.product.prodname_codeql_runner %}, to run {% data variables.product.prodname_code_scanning %} in your CI system, by default the runner automatically uploads results to {% data variables.product.prodname_dotcom %} on completion. If you block the automatic upload, when you are ready to upload results you can use the `upload` command (for more information, see "[Running {% data variables.product.prodname_codeql %} {% data variables.product.prodname_code_scanning %} in your CI system](/github/finding-security-vulnerabilities-and-errors-in-your-code/running-codeql-code-scanning-in-your-ci-system)"). - A tool that generates results as an artifact outside of your repository, you can use the {% data variables.product.prodname_code_scanning %} API to upload the file (for more information, see "[Upload an analysis as SARIF data](/rest/reference/code-scanning#upload-an-analysis-as-sarif-data)"). {% data reusables.code-scanning.not-available %} @@ -38,7 +36,7 @@ Your workflow will need to use the `upload-sarif` action, which is part of the ` The `upload-sarif` action can be configured to run when the `push` and `scheduled` event occur. For more information about {% data variables.product.prodname_actions %} events, see "[Events that trigger workflows](/actions/reference/events-that-trigger-workflows)." -If your SARIF file doesn't include `partialFingerprints`, the `upload-sarif` action will calculate the `partialFingerprints` field for you and attempt to prevent duplicate alerts. {% data variables.product.prodname_dotcom %} can only create `partialFingerprints` when the repository contains both the SARIF file and the source code used in the static analysis. For more information about preventing duplicate alerts, see "[About SARIF support for code scanning](/github/finding-security-vulnerabilities-and-errors-in-your-code/about-sarif-support-for-code-scanning#preventing-duplicate-alerts-using-fingerprints)." +If your SARIF file doesn't include `partialFingerprints`, the `upload-sarif` action will calculate the `partialFingerprints` field for you and attempt to prevent duplicate alerts. {% data variables.product.prodname_dotcom %} can only create `partialFingerprints` when the repository contains both the SARIF file and the source code used in the static analysis. For more information about preventing duplicate alerts, see "[SARIF support for {% data variables.product.prodname_code_scanning %}](/github/finding-security-vulnerabilities-and-errors-in-your-code/sarif-support-for-code-scanning#preventing-duplicate-alerts-using-fingerprints)." {% data reusables.code-scanning.upload-sarif-alert-limit %} @@ -56,11 +54,11 @@ Alternatively, you could modify this workflow to upload a directory of SARIF fil name: "Upload SARIF" # Run workflow each time code is pushed to your repository and on a schedule. -# The scheduled workflow runs every at 00:00 on Sunday UTC time. +# The scheduled workflow runs every Friday at 15:45 UTC. on: push: schedule: - - cron: '0 0 * * 0' + - cron: '45 15 * * 5' jobs: build: @@ -88,11 +86,11 @@ The workflow shows an example of running the ESLint static analysis tool as a st name: "ESLint analysis" # Run workflow each time code is pushed to your repository and on a schedule. -# The scheduled workflow runs every at 00:00 on Sunday UTC time. +# The scheduled workflow runs every Monday at 15:45 UTC. on: push: schedule: - - cron: '0 0 * * 0' + - cron: '45 15 * * 1' jobs: build: @@ -115,5 +113,5 @@ jobs: - "[Workflow syntax for {% data variables.product.prodname_actions %}](/actions/reference/workflow-syntax-for-github-actions)" - "[Viewing your workflow history](/actions/managing-workflow-runs/viewing-workflow-run-history)" -- "[Running {% data variables.product.prodname_code_scanning %} in your CI system](/github/finding-security-vulnerabilities-and-errors-in-your-code/running-codeql-code-scanning-in-your-ci-system)" +- "[Running {% data variables.product.prodname_codeql %} {% data variables.product.prodname_code_scanning %} in your CI system](/github/finding-security-vulnerabilities-and-errors-in-your-code/running-codeql-code-scanning-in-your-ci-system)" - "[Upload an analysis as SARIF data](/rest/reference/code-scanning#upload-an-analysis-as-sarif-data)" diff --git a/content/github/finding-security-vulnerabilities-and-errors-in-your-code/using-codeql-code-scanning-with-your-existing-ci-system.md b/content/github/finding-security-vulnerabilities-and-errors-in-your-code/using-codeql-code-scanning-with-your-existing-ci-system.md index 942e66060b..6949b29e6c 100644 --- a/content/github/finding-security-vulnerabilities-and-errors-in-your-code/using-codeql-code-scanning-with-your-existing-ci-system.md +++ b/content/github/finding-security-vulnerabilities-and-errors-in-your-code/using-codeql-code-scanning-with-your-existing-ci-system.md @@ -5,8 +5,8 @@ intro: 'The {% data variables.product.prodname_codeql_runner %} allows you to us mapTopic: true product: '{% data reusables.gated-features.code-scanning %}' versions: - free-pro-team: '*' - enterprise-server: '>=2.22' - github-ae: '*' + enterprise-server: '2.22' +topics: + - security --- diff --git a/content/github/finding-talent-with-github-jobs/about-github-jobs.md b/content/github/finding-talent-with-github-jobs/about-github-jobs.md index b828445961..f524f975c7 100644 --- a/content/github/finding-talent-with-github-jobs/about-github-jobs.md +++ b/content/github/finding-talent-with-github-jobs/about-github-jobs.md @@ -6,6 +6,8 @@ redirect_from: intro: 'You can post a job on {% data variables.product.prodname_jobs %} to find talent for your business.' versions: free-pro-team: '*' +topics: + - jobs --- Before you can post a job, you must create a {% data variables.product.prodname_dotcom %} account and verify your email address. For more information, see "[Signing up for a new {% data variables.product.prodname_dotcom %} account](/articles/signing-up-for-a-new-github-account)" and "[Verifying your email address](/articles/verifying-your-email-address)." diff --git a/content/github/finding-talent-with-github-jobs/index.md b/content/github/finding-talent-with-github-jobs/index.md index 2ac9ca9b92..16bb315d08 100644 --- a/content/github/finding-talent-with-github-jobs/index.md +++ b/content/github/finding-talent-with-github-jobs/index.md @@ -6,6 +6,8 @@ redirect_from: - /categories/finding-talent-with-github-jobs versions: free-pro-team: '*' +topics: + - jobs --- diff --git a/content/github/getting-started-with-github/about-github-advanced-security.md b/content/github/getting-started-with-github/about-github-advanced-security.md index f4e1f7ed53..7edf187a7d 100644 --- a/content/github/getting-started-with-github/about-github-advanced-security.md +++ b/content/github/getting-started-with-github/about-github-advanced-security.md @@ -1,15 +1,18 @@ --- title: About GitHub Advanced Security -intro: '{% data variables.product.prodname_dotcom %} makes extra security features available to customers under an {% data variables.product.prodname_advanced_security %} license. These features are also enabled for public repositories on {% data variables.product.prodname_dotcom_the_website %}.' +intro: '{% data variables.product.prodname_dotcom %} makes extra security features available to customers under an {% data variables.product.prodname_advanced_security %} license.{% if currentVersion == "free-pro-team@latest" %} These features are also enabled for public repositories on {% data variables.product.prodname_dotcom_the_website %}.{% endif %}' +product: '{% data reusables.gated-features.ghas %}' versions: free-pro-team: '*' enterprise-server: '>=3.0' github-ae: '*' +topics: + - security --- ### About {% data variables.product.prodname_GH_advanced_security %} -{% data variables.product.prodname_dotcom %} has many features that help you improve and maintain the quality of your code. Some of these are included in all plans{% if currentVersion != "github-ae@latest" %}, such as dependency graph and {% data variables.product.prodname_dependabot_alerts %}{% endif %}. Other security features require a license for {% data variables.product.prodname_GH_advanced_security %} to run on repositories apart from public repositories on {% data variables.product.prodname_dotcom_the_website %}. +{% data variables.product.prodname_dotcom %} has many features that help you improve and maintain the quality of your code. Some of these are included in all plans{% if currentVersion != "github-ae@latest" %}, such as dependency graph and {% data variables.product.prodname_dependabot_alerts %}{% endif %}. Other security features require a license for {% data variables.product.prodname_GH_advanced_security %} to run on repositories apart from public repositories on {% data variables.product.prodname_dotcom_the_website %}. {% if currentVersion == "free-pro-team@latest" %}For more information, see "[About licensing for {% data variables.product.prodname_GH_advanced_security %}](/github/setting-up-and-managing-billing-and-payments-on-github/about-licensing-for-github-advanced-security)."{% elsif currentVersion ver_gt "enterprise-server@2.22" %}For information about purchasing a license for {% data variables.product.prodname_GH_advanced_security %}, contact {% data variables.contact.contact_enterprise_sales %}.{% elsif currentVersion == "github-ae@latest" %}There is no charge for {% data variables.product.prodname_GH_advanced_security %} on {% data variables.product.prodname_ghe_managed %} during the beta release.{% endif %} @@ -43,7 +46,7 @@ Once your system is set up, you can enable and disable these features at the org For public repositories on {% data variables.product.prodname_dotcom_the_website %}, these features are permanently on and can only be disabled if you change the visibility of the project so that the code is no longer public. -For other repositories, once you have a license for your organization or enterprise, you can enable and disable these features at the organization or repository level. {% if currentVersion == "free-pro-team@latest" or currentVersion ver_gt "enterprise-server@3.0" %}For more information, see "[Managing security and analysis settings for your organization](/github/setting-up-and-managing-organizations-and-teams/managing-security-and-analysis-settings-for-your-organization)" and "[Managing security and analysis settings for your repository](/github/administering-a-repository/managing-security-and-analysis-settings-for-your-repository)."{% endif %} +For other repositories, once you have a license for your enterprise account, you can enable and disable these features at the organization or repository level. {% if currentVersion == "free-pro-team@latest" or currentVersion ver_gt "enterprise-server@3.0" %}For more information, see "[Managing security and analysis settings for your organization](/github/setting-up-and-managing-organizations-and-teams/managing-security-and-analysis-settings-for-your-organization)" and "[Managing security and analysis settings for your repository](/github/administering-a-repository/managing-security-and-analysis-settings-for-your-repository)."{% endif %} {% endif %} @@ -51,3 +54,17 @@ For other repositories, once you have a license for your organization or enterpr If you have an enterprise account, license use for the entire enterprise is shown on your enterprise license page. For more information, see "[Viewing your {% data variables.product.prodname_GH_advanced_security %} usage](/github/setting-up-and-managing-billing-and-payments-on-github/viewing-your-github-advanced-security-usage)." {% endif %} + +{% if currentVersion == "free-pro-team@latest" %} + +### Further reading + +- "[Enforcing policies for {% data variables.product.prodname_advanced_security %} in your enterprise account](/github/setting-up-and-managing-your-enterprise/enforcing-policies-for-advanced-security-in-your-enterprise-account)" + +{% elsif currentVersion ver_gt "enterprise-server@3.0" or currentVersion == "github-ae@next" %} + +### Further reading + +- "[Enforcing policies for {% data variables.product.prodname_advanced_security %} in your enterprise](/admin/policies/enforcing-policies-for-advanced-security-in-your-enterprise)" + +{% endif %} diff --git a/content/github/getting-started-with-github/access-permissions-on-github.md b/content/github/getting-started-with-github/access-permissions-on-github.md index b2483b1986..bd8b6a4f51 100644 --- a/content/github/getting-started-with-github/access-permissions-on-github.md +++ b/content/github/getting-started-with-github/access-permissions-on-github.md @@ -10,6 +10,9 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - permissions + - accounts --- ### Personal user accounts diff --git a/content/github/getting-started-with-github/be-social.md b/content/github/getting-started-with-github/be-social.md index d326445068..2817ef122e 100644 --- a/content/github/getting-started-with-github/be-social.md +++ b/content/github/getting-started-with-github/be-social.md @@ -8,6 +8,12 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - profile + - pull requests + - issues + - notifications + - accounts --- To learn about accessing your personal dashboard, see "[About your personal dashboard](/articles/about-your-personal-dashboard)." diff --git a/content/github/getting-started-with-github/create-a-repo.md b/content/github/getting-started-with-github/create-a-repo.md index e04f4e2030..94477e922c 100644 --- a/content/github/getting-started-with-github/create-a-repo.md +++ b/content/github/getting-started-with-github/create-a-repo.md @@ -8,6 +8,11 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - pull requests + - issues + - notifications + - accounts --- {% if currentVersion == "free-pro-team@latest" %} diff --git a/content/github/getting-started-with-github/exploring-early-access-releases-with-feature-preview.md b/content/github/getting-started-with-github/exploring-early-access-releases-with-feature-preview.md index caee1aa1eb..595962f3c5 100644 --- a/content/github/getting-started-with-github/exploring-early-access-releases-with-feature-preview.md +++ b/content/github/getting-started-with-github/exploring-early-access-releases-with-feature-preview.md @@ -5,6 +5,8 @@ redirect_from: - /articles/exploring-early-access-releases-with-feature-preview versions: free-pro-team: '*' +topics: + - early access --- ### {% data variables.product.prodname_dotcom %}'s release cycle diff --git a/content/github/getting-started-with-github/exploring-projects-on-github.md b/content/github/getting-started-with-github/exploring-projects-on-github.md index 796214bfb5..86b64226f4 100644 --- a/content/github/getting-started-with-github/exploring-projects-on-github.md +++ b/content/github/getting-started-with-github/exploring-projects-on-github.md @@ -11,5 +11,7 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - projects --- diff --git a/content/github/getting-started-with-github/faq-about-changes-to-githubs-plans.md b/content/github/getting-started-with-github/faq-about-changes-to-githubs-plans.md index 6d85fbd4f0..c9bba505fd 100644 --- a/content/github/getting-started-with-github/faq-about-changes-to-githubs-plans.md +++ b/content/github/getting-started-with-github/faq-about-changes-to-githubs-plans.md @@ -3,6 +3,8 @@ title: FAQ about changes to GitHub’s plans intro: 'As of April 14, 2020, GitHub announced that all of the core GitHub features are now free for everyone.' versions: free-pro-team: '*' +topics: + - github --- ### What plans and pricing changes did GitHub announce on April 14? diff --git a/content/github/getting-started-with-github/finding-ways-to-contribute-to-open-source-on-github.md b/content/github/getting-started-with-github/finding-ways-to-contribute-to-open-source-on-github.md index d1b5e3c6c9..46760bbc07 100644 --- a/content/github/getting-started-with-github/finding-ways-to-contribute-to-open-source-on-github.md +++ b/content/github/getting-started-with-github/finding-ways-to-contribute-to-open-source-on-github.md @@ -10,6 +10,8 @@ redirect_from: - /github/getting-started-with-github/finding-open-source-projects-on-github versions: free-pro-team: '*' +topics: + - open source --- ### Discovering relevant projects diff --git a/content/github/getting-started-with-github/following-people.md b/content/github/getting-started-with-github/following-people.md index cbf380c4a0..c629d18751 100644 --- a/content/github/getting-started-with-github/following-people.md +++ b/content/github/getting-started-with-github/following-people.md @@ -7,6 +7,8 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - profile --- When you follow people, you'll see their public activity in the activity view of your news feed.{% if currentVersion == "free-pro-team@latest" %} If someone you follow stars a public repository, {% data variables.product.product_name %} may recommend the repository to you in the discovery view of your news feed.{% endif %} To follow someone, visit their profile page and click **Follow** under their profile image. diff --git a/content/github/getting-started-with-github/fork-a-repo.md b/content/github/getting-started-with-github/fork-a-repo.md index 74914f4ea5..777773290a 100644 --- a/content/github/getting-started-with-github/fork-a-repo.md +++ b/content/github/getting-started-with-github/fork-a-repo.md @@ -9,6 +9,11 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - pull requests + - issues + - notifications + - accounts --- Most commonly, forks are used to either propose changes to someone else's project or to use someone else's project as a starting point for your own idea. diff --git a/content/github/getting-started-with-github/github-cli.md b/content/github/getting-started-with-github/github-cli.md index 9abdb36159..ff68b7c922 100644 --- a/content/github/getting-started-with-github/github-cli.md +++ b/content/github/getting-started-with-github/github-cli.md @@ -5,6 +5,8 @@ versions: free-pro-team: '*' enterprise-server: '>2.19' github-ae: '*' +topics: + - cli --- ### About {% data variables.product.prodname_cli %} diff --git a/content/github/getting-started-with-github/github-desktop.md b/content/github/getting-started-with-github/github-desktop.md index bce85ea84e..cfb8affbb7 100644 --- a/content/github/getting-started-with-github/github-desktop.md +++ b/content/github/getting-started-with-github/github-desktop.md @@ -5,6 +5,8 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - desktop --- ### About {% data variables.product.prodname_desktop %} diff --git a/content/github/getting-started-with-github/github-for-mobile.md b/content/github/getting-started-with-github/github-for-mobile.md index 1a0fc38c53..13e7496742 100644 --- a/content/github/getting-started-with-github/github-for-mobile.md +++ b/content/github/getting-started-with-github/github-for-mobile.md @@ -4,6 +4,8 @@ intro: 'Triage, collaborate, and manage your work on {% data variables.product.p versions: free-pro-team: '*' enterprise-server: '>=3.0' +topics: + - mobile --- {% data reusables.mobile.ghes-release-phase %} diff --git a/content/github/getting-started-with-github/githubs-products.md b/content/github/getting-started-with-github/githubs-products.md index 4f14fddd35..8a162bbf28 100644 --- a/content/github/getting-started-with-github/githubs-products.md +++ b/content/github/getting-started-with-github/githubs-products.md @@ -8,6 +8,12 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - accounts + - cli + - mobile + - desktop + - security --- {% data variables.product.prodname_dotcom %} offers free and paid products. You can see pricing and a full list of features for each product at <{% data variables.product.pricing_url %}>. {% data reusables.products.product-roadmap %} @@ -79,7 +85,8 @@ In addition to the features available with {% data variables.product.prodname_te - Additional security, compliance, and deployment controls - Authentication with SAML single sign-on - Access provisioning with SAML or SCIM -- {% data variables.product.prodname_github_connect %} +- {% data variables.product.prodname_github_connect %}{% if currentVersion == "free-pro-team@latest" or currentVersion == "github-ae@latest" or currentVersion ver_gt "enterprise-server@2.22" %} +- The option to purchase {% data variables.product.prodname_GH_advanced_security %}. For more information, see "[About {% data variables.product.prodname_GH_advanced_security %}](/github/getting-started-with-github/about-github-advanced-security)."{% endif %} {% data variables.product.prodname_ghe_cloud %} also includes: - {% data variables.contact.enterprise_support %}. For more information, see "{% data variables.product.prodname_ghe_cloud %} support" and "{% data variables.product.prodname_ghe_cloud %} Addendum." diff --git a/content/github/getting-started-with-github/index.md b/content/github/getting-started-with-github/index.md index d5970dd910..184a5a0296 100644 --- a/content/github/getting-started-with-github/index.md +++ b/content/github/getting-started-with-github/index.md @@ -1,7 +1,7 @@ --- title: Getting started with GitHub shortTitle: Getting started -intro: 'Learn about {% data variables.product.prodname_dotcom %}''s products, sign up for an account, and explore the {% data variables.product.prodname_dotcom %} community.' +intro: 'Learn how to start building, shipping, and maintaining software with {% data variables.product.prodname_dotcom %}. Explore our products, sign up for an account, and connect with the world''s largest development community.' redirect_from: - /categories/54/articles/ - /categories/bootcamp/ @@ -16,8 +16,39 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +layout: product-landing +introLinks: + quickstart: /github/getting-started-with-github/quickstart +featuredLinks: + guides: + - /github/getting-started-with-github/githubs-products + - /github/getting-started-with-github/create-a-repo + - /github/getting-started-with-github/signing-up-for-a-new-github-account + popular: + - /github/getting-started-with-github/set-up-git + - /github/getting-started-with-github/github-glossary + - /github/getting-started-with-github/fork-a-repo + - /github/getting-started-with-github/keyboard-shortcuts + - /github/getting-started-with-github/saving-repositories-with-stars + guideCards: + - /github/getting-started-with-github/types-of-github-accounts + - /github/getting-started-with-github/finding-ways-to-contribute-to-open-source-on-github + - /github/getting-started-with-github/troubleshooting-connectivity-problems +topics: + - pull requests + - issues + - notifications + - accounts --- + diff --git a/content/github/getting-started-with-github/learning-about-github.md b/content/github/getting-started-with-github/learning-about-github.md index 8c94a8491f..d43ab528ff 100644 --- a/content/github/getting-started-with-github/learning-about-github.md +++ b/content/github/getting-started-with-github/learning-about-github.md @@ -8,5 +8,11 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - accounts + - cli + - mobile + - desktop + - security --- diff --git a/content/github/getting-started-with-github/quickstart.md b/content/github/getting-started-with-github/quickstart.md index 77de003bdf..d123093cb0 100644 --- a/content/github/getting-started-with-github/quickstart.md +++ b/content/github/getting-started-with-github/quickstart.md @@ -6,5 +6,10 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - pull requests + - issues + - notifications + - accounts --- diff --git a/content/github/getting-started-with-github/saving-repositories-with-stars.md b/content/github/getting-started-with-github/saving-repositories-with-stars.md index 993595cb4e..2cbf15688c 100644 --- a/content/github/getting-started-with-github/saving-repositories-with-stars.md +++ b/content/github/getting-started-with-github/saving-repositories-with-stars.md @@ -11,6 +11,8 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - repositories --- You can search, sort, and filter your starred repositories and topics on your {% data variables.explore.your_stars_page %}.' diff --git a/content/github/getting-started-with-github/set-up-git.md b/content/github/getting-started-with-github/set-up-git.md index 3e1169f8e4..e96c3b8490 100644 --- a/content/github/getting-started-with-github/set-up-git.md +++ b/content/github/getting-started-with-github/set-up-git.md @@ -15,6 +15,11 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - pull requests + - issues + - notifications + - accounts --- To use Git on the command line, you'll need to download, install, and configure Git on your computer. {% if currentVersion == "free-pro-team@latest" or currentVersion ver_gt "enterprise-server@2.19" or currentVersion == "github-ae@latest" %} You can also install {% data variables.product.prodname_cli %} to use {% data variables.product.product_name %} from the command line. For more information on {% data variables.product.prodname_cli %}, see the [{% data variables.product.prodname_cli %}](https://cli.github.com/manual/) documentation.{% endif %} diff --git a/content/github/getting-started-with-github/setting-up-a-trial-of-github-enterprise-cloud.md b/content/github/getting-started-with-github/setting-up-a-trial-of-github-enterprise-cloud.md index 46ae74fe24..3105c872d2 100644 --- a/content/github/getting-started-with-github/setting-up-a-trial-of-github-enterprise-cloud.md +++ b/content/github/getting-started-with-github/setting-up-a-trial-of-github-enterprise-cloud.md @@ -6,6 +6,8 @@ redirect_from: versions: free-pro-team: '*' enterprise-server: '*' +topics: + - accounts --- ### About trials of {% data variables.product.prodname_ghe_cloud %} diff --git a/content/github/getting-started-with-github/setting-up-a-trial-of-github-enterprise-server.md b/content/github/getting-started-with-github/setting-up-a-trial-of-github-enterprise-server.md index d0d75deba7..8800cbbc3f 100644 --- a/content/github/getting-started-with-github/setting-up-a-trial-of-github-enterprise-server.md +++ b/content/github/getting-started-with-github/setting-up-a-trial-of-github-enterprise-server.md @@ -7,6 +7,8 @@ redirect_from: versions: free-pro-team: '*' enterprise-server: '*' +topics: + - accounts --- ### About trials of {% data variables.product.prodname_ghe_server %} diff --git a/content/github/getting-started-with-github/signing-up-for-a-new-github-account.md b/content/github/getting-started-with-github/signing-up-for-a-new-github-account.md index f30f496882..fa3b49af14 100644 --- a/content/github/getting-started-with-github/signing-up-for-a-new-github-account.md +++ b/content/github/getting-started-with-github/signing-up-for-a-new-github-account.md @@ -6,6 +6,8 @@ redirect_from: - /articles/signing-up-for-a-new-github-account versions: free-pro-team: '*' +topics: + - accounts --- For more information about account types and products, see "[Types of {% data variables.product.prodname_dotcom %} accounts](/articles/types-of-github-accounts)" and "[{% data variables.product.product_name %}'s products](/articles/github-s-products)." diff --git a/content/github/getting-started-with-github/signing-up-for-github.md b/content/github/getting-started-with-github/signing-up-for-github.md index 540b8e845c..b231d472ab 100644 --- a/content/github/getting-started-with-github/signing-up-for-github.md +++ b/content/github/getting-started-with-github/signing-up-for-github.md @@ -8,5 +8,7 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - accounts --- diff --git a/content/github/getting-started-with-github/types-of-github-accounts.md b/content/github/getting-started-with-github/types-of-github-accounts.md index 17235a2455..f1615b90b7 100644 --- a/content/github/getting-started-with-github/types-of-github-accounts.md +++ b/content/github/getting-started-with-github/types-of-github-accounts.md @@ -11,6 +11,12 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - accounts + - cli + - mobile + - desktop + - security --- {% if currentVersion == "free-pro-team@latest" %} diff --git a/content/github/getting-started-with-github/verifying-your-email-address.md b/content/github/getting-started-with-github/verifying-your-email-address.md index f4a31c5d35..71f4415c43 100644 --- a/content/github/getting-started-with-github/verifying-your-email-address.md +++ b/content/github/getting-started-with-github/verifying-your-email-address.md @@ -7,6 +7,8 @@ redirect_from: - /articles/verifying-your-email-address versions: free-pro-team: '*' +topics: + - accounts --- ### About email verification diff --git a/content/github/index.md b/content/github/index.md index ea86322b6d..964825aa17 100644 --- a/content/github/index.md +++ b/content/github/index.md @@ -23,8 +23,6 @@ versions: {% link_in_list /managing-subscriptions-and-notifications-on-github %} -{% link_in_list /receiving-notifications-about-activity-on-github %} - {% link_in_list /setting-up-and-managing-organizations-and-teams %} {% link_in_list /setting-up-and-managing-your-enterprise %} {% link_in_list /setting-up-and-managing-billing-and-payments-on-github %} @@ -51,9 +49,10 @@ versions: {% link_in_list /administering-a-repository %} {% link_in_list /visualizing-repository-data-with-graphs %} -{% link_in_list /managing-security-vulnerabilities %} -{% link_in_list /finding-security-vulnerabilities-and-errors-in-your-code %} +{% if currentVersion == "enterprise-server@2.22" %} +{% link_in_list /managing-security-vulnerabilities %} +{% link_in_list /finding-security-vulnerabilities-and-errors-in-your-code %}{% endif %} {% link_in_list /managing-files-in-a-repository %} diff --git a/content/github/managing-files-in-a-repository/3d-file-viewer.md b/content/github/managing-files-in-a-repository/3d-file-viewer.md index c203f9b71d..f1b6595e4a 100644 --- a/content/github/managing-files-in-a-repository/3d-file-viewer.md +++ b/content/github/managing-files-in-a-repository/3d-file-viewer.md @@ -7,6 +7,8 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - repositories --- {% data variables.product.product_name %} can host and render 3D files with the *.stl* extension. diff --git a/content/github/managing-files-in-a-repository/adding-a-file-to-a-repository-using-the-command-line.md b/content/github/managing-files-in-a-repository/adding-a-file-to-a-repository-using-the-command-line.md index 2f0fc63c9a..b4ec09487f 100644 --- a/content/github/managing-files-in-a-repository/adding-a-file-to-a-repository-using-the-command-line.md +++ b/content/github/managing-files-in-a-repository/adding-a-file-to-a-repository-using-the-command-line.md @@ -8,6 +8,8 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - repositories --- {% tip %} diff --git a/content/github/managing-files-in-a-repository/adding-a-file-to-a-repository.md b/content/github/managing-files-in-a-repository/adding-a-file-to-a-repository.md index 2b87bdf54e..62e57a8f86 100644 --- a/content/github/managing-files-in-a-repository/adding-a-file-to-a-repository.md +++ b/content/github/managing-files-in-a-repository/adding-a-file-to-a-repository.md @@ -7,6 +7,8 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - repositories --- Files that you add to a repository via a browser are limited to {% data variables.large_files.max_github_browser_size %} per file. You can add larger files, up to {% data variables.large_files.max_github_size %} each, via the command line. For more information, see "[Adding a file to a repository using the command line](/articles/adding-a-file-to-a-repository-using-the-command-line)." diff --git a/content/github/managing-files-in-a-repository/creating-new-files.md b/content/github/managing-files-in-a-repository/creating-new-files.md index 4f625eff34..9f3b073d39 100644 --- a/content/github/managing-files-in-a-repository/creating-new-files.md +++ b/content/github/managing-files-in-a-repository/creating-new-files.md @@ -7,6 +7,8 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - repositories --- When creating a file on {% data variables.product.product_name %}, consider the following: diff --git a/content/github/managing-files-in-a-repository/deleting-files-in-a-repository.md b/content/github/managing-files-in-a-repository/deleting-files-in-a-repository.md index 40bcfcc02e..163a2a447b 100644 --- a/content/github/managing-files-in-a-repository/deleting-files-in-a-repository.md +++ b/content/github/managing-files-in-a-repository/deleting-files-in-a-repository.md @@ -9,7 +9,9 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' -permissions: People with write permissions can delete files{% if currentVersion == "free-pro-team@latest" or currentVersion ver_gt "enterprise-server@3.0" %} or directories{% endif %} in a repository. +permissions: 'People with write permissions can delete files{% if currentVersion == "free-pro-team@latest" or currentVersion ver_gt "enterprise-server@3.0" %} or directories{% endif %} in a repository.' +topics: + - repositories --- ### About file{% if currentVersion == "free-pro-team@latest" or currentVersion ver_gt "enterprise-server@3.0" %} and directory{% endif %} deletion @@ -40,4 +42,4 @@ If the file{% if currentVersion == "free-pro-team@latest" or currentVersion ver_ {% data reusables.files.choose-commit-email %} {% data reusables.files.choose_commit_branch %} {% data reusables.files.propose_file_change %} -{% endif %} \ No newline at end of file +{% endif %} diff --git a/content/github/managing-files-in-a-repository/editing-files-in-another-users-repository.md b/content/github/managing-files-in-a-repository/editing-files-in-another-users-repository.md index dc10c8e09f..21cf61f245 100644 --- a/content/github/managing-files-in-a-repository/editing-files-in-another-users-repository.md +++ b/content/github/managing-files-in-a-repository/editing-files-in-another-users-repository.md @@ -9,6 +9,8 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - repositories --- 1. In another user's repository, browse to the folder that contains the file you want to edit. Click the name of the file you want to edit. diff --git a/content/github/managing-files-in-a-repository/editing-files-in-your-repository.md b/content/github/managing-files-in-a-repository/editing-files-in-your-repository.md index 5de63217e7..94bebe636a 100644 --- a/content/github/managing-files-in-a-repository/editing-files-in-your-repository.md +++ b/content/github/managing-files-in-a-repository/editing-files-in-your-repository.md @@ -8,6 +8,8 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - repositories --- {% tip %} diff --git a/content/github/managing-files-in-a-repository/getting-permanent-links-to-files.md b/content/github/managing-files-in-a-repository/getting-permanent-links-to-files.md index 756ff937e0..e1e9942b61 100644 --- a/content/github/managing-files-in-a-repository/getting-permanent-links-to-files.md +++ b/content/github/managing-files-in-a-repository/getting-permanent-links-to-files.md @@ -9,6 +9,8 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - repositories --- {% tip %} diff --git a/content/github/managing-files-in-a-repository/index.md b/content/github/managing-files-in-a-repository/index.md index faf07b3fb4..c17ebfd9e9 100644 --- a/content/github/managing-files-in-a-repository/index.md +++ b/content/github/managing-files-in-a-repository/index.md @@ -8,6 +8,8 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - repositories --- diff --git a/content/github/managing-files-in-a-repository/managing-files-on-github.md b/content/github/managing-files-in-a-repository/managing-files-on-github.md index da52349c22..847cc2c4f7 100644 --- a/content/github/managing-files-in-a-repository/managing-files-on-github.md +++ b/content/github/managing-files-in-a-repository/managing-files-on-github.md @@ -8,5 +8,7 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - repositories --- diff --git a/content/github/managing-files-in-a-repository/managing-files-using-the-command-line.md b/content/github/managing-files-in-a-repository/managing-files-using-the-command-line.md index 1badad1949..4e9a2a76e5 100644 --- a/content/github/managing-files-in-a-repository/managing-files-using-the-command-line.md +++ b/content/github/managing-files-in-a-repository/managing-files-using-the-command-line.md @@ -8,5 +8,7 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - repositories --- diff --git a/content/github/managing-files-in-a-repository/mapping-geojson-files-on-github.md b/content/github/managing-files-in-a-repository/mapping-geojson-files-on-github.md index 863ba4e52d..909b0152ec 100644 --- a/content/github/managing-files-in-a-repository/mapping-geojson-files-on-github.md +++ b/content/github/managing-files-in-a-repository/mapping-geojson-files-on-github.md @@ -6,6 +6,8 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - repositories --- {% data variables.product.product_name %} supports rendering geoJSON and topoJSON map files within {% data variables.product.product_name %} repositories. Simply commit the file as you would normally using a `.geojson` or `.topojson` extension. Files with a `.json` extension are also supported, but only if `type` is set to `FeatureCollection`, `GeometryCollection`, or `topology`. Then, navigate to the path of the geoJSON file on GitHub.com. diff --git a/content/github/managing-files-in-a-repository/moving-a-file-to-a-new-location-using-the-command-line.md b/content/github/managing-files-in-a-repository/moving-a-file-to-a-new-location-using-the-command-line.md index 7479f99231..cdabc716cb 100644 --- a/content/github/managing-files-in-a-repository/moving-a-file-to-a-new-location-using-the-command-line.md +++ b/content/github/managing-files-in-a-repository/moving-a-file-to-a-new-location-using-the-command-line.md @@ -7,6 +7,8 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - repositories --- Many files can be [moved directly on {% data variables.product.product_name %}](/articles/moving-a-file-to-a-new-location), but some files, such as images, require that you move them from the command line. diff --git a/content/github/managing-files-in-a-repository/moving-a-file-to-a-new-location.md b/content/github/managing-files-in-a-repository/moving-a-file-to-a-new-location.md index c628d64080..4a1f31ec2e 100644 --- a/content/github/managing-files-in-a-repository/moving-a-file-to-a-new-location.md +++ b/content/github/managing-files-in-a-repository/moving-a-file-to-a-new-location.md @@ -7,6 +7,8 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - repositories --- In addition to changing the file location, you can also [update the contents of your file](/articles/editing-files-in-your-repository), or [give it a new name](/articles/renaming-a-file) in the same commit. diff --git a/content/github/managing-files-in-a-repository/navigating-code-on-github.md b/content/github/managing-files-in-a-repository/navigating-code-on-github.md index 82b3f3ecc8..693ce8c7cf 100644 --- a/content/github/managing-files-in-a-repository/navigating-code-on-github.md +++ b/content/github/managing-files-in-a-repository/navigating-code-on-github.md @@ -5,6 +5,8 @@ redirect_from: - /articles/navigating-code-on-github versions: free-pro-team: '*' +topics: + - repositories --- ### About navigating code on {% data variables.product.prodname_dotcom %} diff --git a/content/github/managing-files-in-a-repository/renaming-a-file-using-the-command-line.md b/content/github/managing-files-in-a-repository/renaming-a-file-using-the-command-line.md index 213d83c124..3477c51b80 100644 --- a/content/github/managing-files-in-a-repository/renaming-a-file-using-the-command-line.md +++ b/content/github/managing-files-in-a-repository/renaming-a-file-using-the-command-line.md @@ -7,6 +7,8 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - repositories --- Many files can be [renamed directly on {% data variables.product.product_name %}](/articles/renaming-a-file), but some files, such as images, require that you rename them from the command line. diff --git a/content/github/managing-files-in-a-repository/renaming-a-file.md b/content/github/managing-files-in-a-repository/renaming-a-file.md index c516722bcb..6b95200340 100644 --- a/content/github/managing-files-in-a-repository/renaming-a-file.md +++ b/content/github/managing-files-in-a-repository/renaming-a-file.md @@ -7,6 +7,8 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - repositories --- {% tip %} diff --git a/content/github/managing-files-in-a-repository/rendering-and-diffing-images.md b/content/github/managing-files-in-a-repository/rendering-and-diffing-images.md index 5f4a5868b0..cbb171c5b3 100644 --- a/content/github/managing-files-in-a-repository/rendering-and-diffing-images.md +++ b/content/github/managing-files-in-a-repository/rendering-and-diffing-images.md @@ -7,6 +7,8 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - repositories --- {% note %} diff --git a/content/github/managing-files-in-a-repository/rendering-csv-and-tsv-data.md b/content/github/managing-files-in-a-repository/rendering-csv-and-tsv-data.md index 216d9abe4f..426afc055d 100644 --- a/content/github/managing-files-in-a-repository/rendering-csv-and-tsv-data.md +++ b/content/github/managing-files-in-a-repository/rendering-csv-and-tsv-data.md @@ -6,6 +6,8 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - repositories --- GitHub supports rendering tabular data in the form of *.csv* (comma-separated) and .*tsv* (tab-separated) files. diff --git a/content/github/managing-files-in-a-repository/rendering-differences-in-prose-documents.md b/content/github/managing-files-in-a-repository/rendering-differences-in-prose-documents.md index 1f3c59ad20..2a547a058b 100644 --- a/content/github/managing-files-in-a-repository/rendering-differences-in-prose-documents.md +++ b/content/github/managing-files-in-a-repository/rendering-differences-in-prose-documents.md @@ -6,6 +6,8 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - repositories --- Commits and pull requests that include prose documents have the ability to represent those documents with *source* and *rendered* views. diff --git a/content/github/managing-files-in-a-repository/rendering-pdf-documents.md b/content/github/managing-files-in-a-repository/rendering-pdf-documents.md index 5e13b3f24a..11567a5abd 100644 --- a/content/github/managing-files-in-a-repository/rendering-pdf-documents.md +++ b/content/github/managing-files-in-a-repository/rendering-pdf-documents.md @@ -6,6 +6,8 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - repositories --- GitHub supports rendering of PDF documents. diff --git a/content/github/managing-files-in-a-repository/tracking-changes-in-a-file.md b/content/github/managing-files-in-a-repository/tracking-changes-in-a-file.md index 99fb0d7b54..9ace4fd76b 100644 --- a/content/github/managing-files-in-a-repository/tracking-changes-in-a-file.md +++ b/content/github/managing-files-in-a-repository/tracking-changes-in-a-file.md @@ -9,6 +9,8 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - repositories --- With the blame view, you can view the line-by-line revision history for an entire file, or view the revision history of a single line within a file by clicking {% octicon "versions" aria-label="The prior blame icon" %}. Each time you click {% octicon "versions" aria-label="The prior blame icon" %}, you'll see the previous revision information for that line, including who committed the change and when. diff --git a/content/github/managing-files-in-a-repository/working-with-jupyter-notebook-files-on-github.md b/content/github/managing-files-in-a-repository/working-with-jupyter-notebook-files-on-github.md index be3704331a..60e0292cb6 100644 --- a/content/github/managing-files-in-a-repository/working-with-jupyter-notebook-files-on-github.md +++ b/content/github/managing-files-in-a-repository/working-with-jupyter-notebook-files-on-github.md @@ -7,6 +7,8 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - repositories --- diff --git a/content/github/managing-files-in-a-repository/working-with-non-code-files.md b/content/github/managing-files-in-a-repository/working-with-non-code-files.md index 2fb771ab50..2632f39bf4 100644 --- a/content/github/managing-files-in-a-repository/working-with-non-code-files.md +++ b/content/github/managing-files-in-a-repository/working-with-non-code-files.md @@ -9,5 +9,7 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - repositories --- diff --git a/content/github/managing-security-vulnerabilities/about-alerts-for-vulnerable-dependencies.md b/content/github/managing-security-vulnerabilities/about-alerts-for-vulnerable-dependencies.md index feb34c4070..a690af654c 100644 --- a/content/github/managing-security-vulnerabilities/about-alerts-for-vulnerable-dependencies.md +++ b/content/github/managing-security-vulnerabilities/about-alerts-for-vulnerable-dependencies.md @@ -1,12 +1,10 @@ --- title: About alerts for vulnerable dependencies intro: '{% data variables.product.product_name %} sends {% if currentVersion == "free-pro-team@latest" or currentVersion ver_gt "enterprise-server@2.21" %}{% data variables.product.prodname_dependabot_alerts %}{% else %}security alerts{% endif %} when we detect vulnerabilities affecting your repository.' -redirect_from: - - /articles/about-security-alerts-for-vulnerable-dependencies - - /github/managing-security-vulnerabilities/about-security-alerts-for-vulnerable-dependencies versions: - free-pro-team: '*' - enterprise-server: '*' + enterprise-server: '<=2.22' +topics: + - security --- ### About vulnerable dependencies @@ -20,8 +18,7 @@ When your code depends on a package that has a security vulnerability, this vuln {% if currentVersion == "free-pro-team@latest" or currentVersion ver_gt "enterprise-server@2.21" %}{% data variables.product.prodname_dependabot %} detects vulnerable dependencies and sends {% data variables.product.prodname_dependabot_alerts %}{% else %}{% data variables.product.product_name %} detects vulnerable dependencies and sends security alerts{% endif %} when: {% if currentVersion == "free-pro-team@latest" %} -- A new vulnerability is added to the {% data variables.product.prodname_advisory_database %}. For more information, see "[Browsing security vulnerabilities in the {% data variables.product.prodname_advisory_database %}](/github/managing-security-vulnerabilities/browsing-security-vulnerabilities-in-the-github-advisory-database)." -- New vulnerability data from [WhiteSource](https://www.whitesourcesoftware.com/vulnerability-database) is processed.{% else %} +- A new vulnerability is added to the {% data variables.product.prodname_advisory_database %}. For more information, see "[Browsing security vulnerabilities in the {% data variables.product.prodname_advisory_database %}](/github/managing-security-vulnerabilities/browsing-security-vulnerabilities-in-the-github-advisory-database)."{% else %} - New advisory data is synchronized to {% data variables.product.prodname_ghe_server %} each hour from {% data variables.product.prodname_dotcom_the_website %}. For more information about advisory data, see "Browsing security vulnerabilities in the {% data variables.product.prodname_advisory_database %}."{% endif %} - The dependency graph for a repository changes. For example, when a contributor pushes a commit to change the packages or versions it depends on{% if currentVersion == "free-pro-team@latest" %}, or when the code of one of the dependencies changes{% endif %}. For more information, see "[About the dependency graph](/github/visualizing-repository-data-with-graphs/about-the-dependency-graph)." diff --git a/content/github/managing-security-vulnerabilities/configuring-notifications-for-vulnerable-dependencies.md b/content/github/managing-security-vulnerabilities/configuring-notifications-for-vulnerable-dependencies.md index b1097a9342..e90aa74955 100644 --- a/content/github/managing-security-vulnerabilities/configuring-notifications-for-vulnerable-dependencies.md +++ b/content/github/managing-security-vulnerabilities/configuring-notifications-for-vulnerable-dependencies.md @@ -3,8 +3,9 @@ title: Configuring notifications for vulnerable dependencies shortTitle: Configuring notifications intro: 'Optimize how you receive notifications about {% if currentVersion == "free-pro-team@latest" or currentVersion ver_gt "enterprise-server@2.21" %}{% data variables.product.prodname_dependabot %}{% else %}security{% endif %} alerts.' versions: - free-pro-team: '*' - enterprise-server: '>=2.21' + enterprise-server: '>=2.21 <=2.22' +topics: + - security --- ### About notifications for vulnerable dependencies diff --git a/content/github/managing-security-vulnerabilities/index.md b/content/github/managing-security-vulnerabilities/index.md index 9afde0213a..647438f80f 100644 --- a/content/github/managing-security-vulnerabilities/index.md +++ b/content/github/managing-security-vulnerabilities/index.md @@ -1,32 +1,13 @@ --- title: Managing security vulnerabilities -redirect_from: - - /categories/managing-security-vulnerabilities versions: - free-pro-team: '*' - enterprise-server: '*' + enterprise-server: '<=2.22' +topics: + - security --- ### Table of Contents -{% topic_link_in_list /managing-security-vulnerabilities-in-your-project %} - {% link_in_list /adding-a-security-policy-to-your-repository %} - {% link_in_list /about-github-security-advisories %} - {% link_in_list /permission-levels-for-security-advisories %} - {% link_in_list /creating-a-security-advisory %} - {% link_in_list /adding-a-collaborator-to-a-security-advisory %} - {% link_in_list /removing-a-collaborator-from-a-security-advisory %} - {% link_in_list /collaborating-in-a-temporary-private-fork-to-resolve-a-security-vulnerability %} - {% link_in_list /publishing-a-security-advisory %} - {% link_in_list /editing-a-security-advisory %} - {% link_in_list /withdrawing-a-security-advisory %} {% topic_link_in_list /managing-vulnerabilities-in-your-projects-dependencies %} - {% link_in_list /about-managing-vulnerable-dependencies %} - {% link_in_list /browsing-security-vulnerabilities-in-the-github-advisory-database %} {% link_in_list /about-alerts-for-vulnerable-dependencies %} {% link_in_list /configuring-notifications-for-vulnerable-dependencies %} - {% link_in_list /about-dependabot-security-updates %} - {% link_in_list /configuring-dependabot-security-updates %} - {% link_in_list /viewing-and-updating-vulnerable-dependencies-in-your-repository %} - {% link_in_list /troubleshooting-the-detection-of-vulnerable-dependencies %} - {% link_in_list /troubleshooting-dependabot-errors %} diff --git a/content/github/managing-security-vulnerabilities/managing-security-vulnerabilities-in-your-project.md b/content/github/managing-security-vulnerabilities/managing-security-vulnerabilities-in-your-project.md deleted file mode 100644 index e8274c7d6e..0000000000 --- a/content/github/managing-security-vulnerabilities/managing-security-vulnerabilities-in-your-project.md +++ /dev/null @@ -1,10 +0,0 @@ ---- -title: Managing security vulnerabilities in your project -intro: 'You can discover, discuss, fix, and disclose security vulnerabilities in your repositories.' -mapTopic: true -redirect_from: - - /articles/managing-security-vulnerabilities-in-your-project -versions: - free-pro-team: '*' ---- - diff --git a/content/github/managing-security-vulnerabilities/managing-vulnerabilities-in-your-projects-dependencies.md b/content/github/managing-security-vulnerabilities/managing-vulnerabilities-in-your-projects-dependencies.md index 85d0c898be..9a98bb527f 100644 --- a/content/github/managing-security-vulnerabilities/managing-vulnerabilities-in-your-projects-dependencies.md +++ b/content/github/managing-security-vulnerabilities/managing-vulnerabilities-in-your-projects-dependencies.md @@ -2,13 +2,9 @@ title: Managing vulnerabilities in your project's dependencies intro: 'You can track your repository''s dependencies and receive {% if currentVersion == "free-pro-team@latest" or currentVersion ver_gt "enterprise-server@2.21" %}{% data variables.product.prodname_dependabot_alerts %}{% else %}security alerts{% endif %} when {% data variables.product.product_name %} detects vulnerable dependencies.' mapTopic: true -redirect_from: - - /articles/updating-your-project-s-dependencies/ - - /articles/updating-your-projects-dependencies/ - - /articles/managing-security-vulnerabilities-in-your-projects-dependencies/ - - /articles/managing-vulnerabilities-in-your-projects-dependencies versions: - free-pro-team: '*' - enterprise-server: '*' + enterprise-server: '<=2.22' +topics: + - security --- diff --git a/content/github/managing-subscriptions-and-notifications-on-github/about-notifications.md b/content/github/managing-subscriptions-and-notifications-on-github/about-notifications.md index b10f85762d..e7b5a97ca3 100644 --- a/content/github/managing-subscriptions-and-notifications-on-github/about-notifications.md +++ b/content/github/managing-subscriptions-and-notifications-on-github/about-notifications.md @@ -9,6 +9,8 @@ versions: free-pro-team: '*' enterprise-server: '>=2.21' github-ae: '*' +topics: + - notifications --- {% if enterpriseServerVersions contains currentVersion %} @@ -63,7 +65,7 @@ To keep your subscriptions manageable, review your subscriptions and watched rep To customize how you'd like to receive updates for specific pull requests or issues, you can configure your preferences within the issue or pull request. For more information, see “[Triaging a single notification](/github/managing-subscriptions-and-notifications-on-github/triaging-a-single-notification#customizing-when-to-receive-future-updates-for-an-issue-or-pull-request).” {% if currentVersion == "free-pro-team@latest" or currentVersion ver_gt "2.22"%} -You can enable push notifications in the {% data variables.product.prodname_mobile %} app. For more information, see "[Configuring notifications](/github/managing-subscriptions-and-notifications-on-github/configuring-notifications#enabling-push-notifications-with-github-for-mobile)." +You can customize and schedule push notifications in the {% data variables.product.prodname_mobile %} app. For more information, see "[Configuring notifications](/github/managing-subscriptions-and-notifications-on-github/configuring-notifications#managing-your-notification-settings-with-github-for-mobile)." {% endif %} ### Reasons for receiving notifications diff --git a/content/github/managing-subscriptions-and-notifications-on-github/configuring-notifications.md b/content/github/managing-subscriptions-and-notifications-on-github/configuring-notifications.md index 64f25bd77b..d6ab248414 100644 --- a/content/github/managing-subscriptions-and-notifications-on-github/configuring-notifications.md +++ b/content/github/managing-subscriptions-and-notifications-on-github/configuring-notifications.md @@ -17,6 +17,8 @@ versions: free-pro-team: '*' enterprise-server: '>=2.21' github-ae: '*' +topics: + - notifications --- {% if enterpriseServerVersions contains currentVersion %} @@ -50,7 +52,7 @@ The notifications inbox on {% data variables.product.product_name %}{% if curren - Group notifications in your inbox by repository or date to get a quick overview with less context switching {% if currentVersion == "free-pro-team@latest" or currentVersion ver_gt "2.22" %} -In addition, the notifications inbox on {% data variables.product.prodname_mobile %} allows you to triage notifications in dark mode and receive push notifications for direct mentions. For more information, see "[Enabling push notifications with GitHub for mobile](#enabling-push-notifications-with-github-for-mobile)" or "[GitHub for mobile](/github/getting-started-with-github/github-for-mobile)." +In addition, you can receive and triage notifications on your mobile device with {% data variables.product.prodname_mobile %}. For more information, see "[Managing your notification settings with GitHub for mobile](#managing-your-notification-settings-with-github-for-mobile)" or "[GitHub for mobile](/github/getting-started-with-github/github-for-mobile)." {% endif %} #### Benefits of using an email client for notifications @@ -63,7 +65,7 @@ Email notifications also allow flexibility with the types of notifications you r ### About participating and watching notifications -When you watch a repository, you're subscribing to updates for activity in that repository. Similarly, when you watch a specific team's discussions, you're subscribing to all conversation updates on that team's page. For more information, see "[About team discussions](/github/building-a-strong-community/about-team-discussions)." +When you watch a repository, you're subscribing to updates for activity in that repository. Similarly, when you watch a specific team's discussions, you're subscribing to all conversation updates on that team's page. For more information, see "[About team discussions](/github/setting-up-and-managing-organizations-and-teams/about-team-discussions)." To see repositories that you're watching, go to your [watching page](https://github.com/watching). For more information, see "[Managing subscriptions and notifications on GitHub](/github/managing-subscriptions-and-notifications-on-github/managing-subscriptions-for-activity-on-github)." {% if currentVersion == "github-ae@latest" or currentVersion ver_gt "enterprise-server@2.20" %} @@ -152,6 +154,26 @@ By default, anytime you gain access to a new repository, you will automatically If "Automatically watch repositories" is disabled, then you will not automatically watch your own repositories. You must navigate to your repository page and choose the watch option. +### Configuring your watch settings for an individual repository + +You can choose whether to watch or unwatch an individual repository. You can also choose to only be notified of {% if currentVersion == "free-pro-team@latest" %}certain event types such as issues, pull requests, discussions (if enabled for the repository) and {% endif %}new releases, or completely ignore an individual repository. + +{% data reusables.repositories.navigate-to-repo %} +2. In the upper-right corner, click the "Watch" drop-down menu to select a watch option. +{% if currentVersion == "github-ae@latest" or currentVersion ver_gt "enterprise-server@2.20" %} + ![Watch options in a drop-down menu for a repository](/assets/images/help/notifications-v2/watch-repository-options.png) +{% endif %} +{% if currentVersion == "free-pro-team@latest" %} + ![Watch options in a drop-down menu for a repository](/assets/images/help/notifications-v2/watch-repository-options-custom.png) +{% data reusables.notifications-v2.custom-notifications-beta %} +The **Custom** option allows you to further customize notifications so that you're only notified when specific events happen in the repository, in addition to participating and @mentions. + + ![Custom watch options in a drop-down menu for a repository](/assets/images/help/notifications-v2/watch-repository-options-custom2.png) + +If you select "Issues", you will be notified about, and subscribed to, updates on every issue (including those that existed prior to you selecting this option) in the repository. If you're @mentioned in a pull request in this repository, you'll receive notifications for that too, and you'll be subscribed to updates on that specific pull request, in addition to being notified about issues. + +{% endif %} + ### Choosing where your organization’s email notifications are sent If you belong to an organization, you can choose the email account you want notifications for organization activity sent to. For example, if you belong to an organization for work, you may want your notifications sent to your work email address, rather than your personal address. @@ -200,28 +222,41 @@ Choose how you want to receive workflow run updates for repositories that you ar {% endif %} {% if currentVersion == "free-pro-team@latest" or currentVersion ver_gt "2.22" %} -### Enabling push notifications with {% data variables.product.prodname_mobile %} +### Managing your notification settings with {% data variables.product.prodname_mobile %} -When you install {% data variables.product.prodname_mobile %}, you will automatically be opted into web notifications. You can then enable push notifications for direct mentions within the app. +When you install {% data variables.product.prodname_mobile %}, you will automatically be opted into web notifications. Within the app, you can enable push notifications for the following events. +- Direct mentions +- Assignments to issues or pull requests +- Requests to review a pull request +- Requests to approve a deployment -You can only receive notifications for pushes to repositories on {% data variables.product.prodname_mobile %} at this time. +You can also schedule when {% data variables.product.prodname_mobile %} will send push notifications to your mobile device. {% data reusables.mobile.push-notifications-on-ghes %} -#### Enabling push notifications with {% data variables.product.prodname_ios %} +#### Managing your notification settings with {% data variables.product.prodname_ios %} -1. Above "Home", tap your profile photo. +1. In the bottom menu, tap **Profile**. 2. To view your settings, tap {% octicon "gear" aria-label="The Gear icon" %}. - ![Settings icon for GitHub for iOS](/assets/images/help/mobile/ios-settings-icon.png) -3. To update your notification settings, tap **Push notifications**. -4. To turn on push notifications for direct mentions, use the **Direct Mentions** toggle. +3. To update your notification settings, tap **Notifications** and then use the toggles to enable or disable your preferred types of push notifications. +4. Optionally, to schedule when {% data variables.product.prodname_mobile %} will send push notifications to your mobile device, tap **Working Hours**, use the **Custom working hours** toggle, and then choose when you would like to receive push notifications. -{% if currentVersion == "free-pro-team@latest" %} -#### Enabling push notifications with {% data variables.product.prodname_android %} +#### Managing your notification settings with {% data variables.product.prodname_android %} -1. Above "Home", tap your profile photo. +1. In the bottom menu, tap **Profile**. 2. To view your settings, tap {% octicon "gear" aria-label="The Gear icon" %}. - ![Settings icon for GitHub for Android](/assets/images/help/mobile/android-settings-icon.png) -3. To turn on push notifications for direct mentions, use the **Direct mentions** toggle. +3. To update your notification settings, tap **Notifications** and then use the toggles to enable or disable your preferred types of push notifications. +4. Optionally, to schedule when {% data variables.product.prodname_mobile %} will send push notifications to your mobile device, tap **Receive Notifications**, use the **Custom working hours** toggle, and then choose when you would like to receive push notifications. + +### Configuring your watch settings for an individual repository with {% data variables.product.prodname_mobile %} + +You can choose whether to watch or unwatch an individual repository. You can also choose to only be notified of {% if currentVersion == "free-pro-team@latest" %}certain event types such as issues, pull requests, discussions (if enabled for the repository) and {% endif %}new releases, or completely ignore an individual repository. + +1. On {% data variables.product.prodname_mobile %}, navigate to main page of the repository. +2. Tap **Watch**. + ![The watch button on {% data variables.product.prodname_mobile %}](/assets/images/help/notifications-v2/mobile-watch-button.png) +3. To choose what activities you receive notifications for, tap your preferred watch settings. + ![Watch settings dropdown menu in {% data variables.product.prodname_mobile %}](/assets/images/help/notifications-v2/mobile-watch-settings.png) +{% data reusables.notifications-v2.custom-notifications-beta %} + {% endif %} -{% endif %} \ No newline at end of file diff --git a/content/github/managing-subscriptions-and-notifications-on-github/customizing-a-workflow-for-triaging-your-notifications.md b/content/github/managing-subscriptions-and-notifications-on-github/customizing-a-workflow-for-triaging-your-notifications.md index 8a458d1456..bfc6a6038a 100644 --- a/content/github/managing-subscriptions-and-notifications-on-github/customizing-a-workflow-for-triaging-your-notifications.md +++ b/content/github/managing-subscriptions-and-notifications-on-github/customizing-a-workflow-for-triaging-your-notifications.md @@ -5,6 +5,8 @@ versions: free-pro-team: '*' enterprise-server: '>=2.21' github-ae: '*' +topics: + - notifications --- ### Starting your inbox triage diff --git a/content/github/managing-subscriptions-and-notifications-on-github/index.md b/content/github/managing-subscriptions-and-notifications-on-github/index.md index ed54e4ee58..2ac3e96335 100644 --- a/content/github/managing-subscriptions-and-notifications-on-github/index.md +++ b/content/github/managing-subscriptions-and-notifications-on-github/index.md @@ -8,6 +8,8 @@ versions: free-pro-team: '*' enterprise-server: '>=2.21' github-ae: '*' +topics: + - notifications --- ### Table of Contents diff --git a/content/github/managing-subscriptions-and-notifications-on-github/managing-notifications-from-your-inbox.md b/content/github/managing-subscriptions-and-notifications-on-github/managing-notifications-from-your-inbox.md index 5e5c8949b4..506a577ecf 100644 --- a/content/github/managing-subscriptions-and-notifications-on-github/managing-notifications-from-your-inbox.md +++ b/content/github/managing-subscriptions-and-notifications-on-github/managing-notifications-from-your-inbox.md @@ -8,6 +8,8 @@ versions: free-pro-team: '*' enterprise-server: '>=2.21' github-ae: '*' +topics: + - notifications --- {% if enterpriseServerVersions contains currentVersion %} diff --git a/content/github/managing-subscriptions-and-notifications-on-github/managing-subscriptions-for-activity-on-github.md b/content/github/managing-subscriptions-and-notifications-on-github/managing-subscriptions-for-activity-on-github.md index 57f54410c0..4783be44f1 100644 --- a/content/github/managing-subscriptions-and-notifications-on-github/managing-subscriptions-for-activity-on-github.md +++ b/content/github/managing-subscriptions-and-notifications-on-github/managing-subscriptions-for-activity-on-github.md @@ -6,5 +6,7 @@ versions: free-pro-team: '*' enterprise-server: '>=2.21' github-ae: '*' +topics: + - notifications --- diff --git a/content/github/managing-subscriptions-and-notifications-on-github/managing-your-subscriptions.md b/content/github/managing-subscriptions-and-notifications-on-github/managing-your-subscriptions.md index d947f274cb..41501f058e 100644 --- a/content/github/managing-subscriptions-and-notifications-on-github/managing-your-subscriptions.md +++ b/content/github/managing-subscriptions-and-notifications-on-github/managing-your-subscriptions.md @@ -5,6 +5,8 @@ versions: free-pro-team: '*' enterprise-server: '>=2.21' github-ae: '*' +topics: + - notifications --- To help you understand your subscriptions and decide whether to unsubscribe, see "[Viewing your subscriptions](/github/managing-subscriptions-and-notifications-on-github/viewing-your-subscriptions)." diff --git a/content/github/managing-subscriptions-and-notifications-on-github/setting-up-notifications.md b/content/github/managing-subscriptions-and-notifications-on-github/setting-up-notifications.md index ba87f0c7c0..7995dcba50 100644 --- a/content/github/managing-subscriptions-and-notifications-on-github/setting-up-notifications.md +++ b/content/github/managing-subscriptions-and-notifications-on-github/setting-up-notifications.md @@ -8,5 +8,7 @@ versions: free-pro-team: '*' enterprise-server: '>=2.21' github-ae: '*' +topics: + - notifications --- diff --git a/content/github/managing-subscriptions-and-notifications-on-github/triaging-a-single-notification.md b/content/github/managing-subscriptions-and-notifications-on-github/triaging-a-single-notification.md index a6210db1b2..6214d8b1ea 100644 --- a/content/github/managing-subscriptions-and-notifications-on-github/triaging-a-single-notification.md +++ b/content/github/managing-subscriptions-and-notifications-on-github/triaging-a-single-notification.md @@ -5,6 +5,8 @@ versions: free-pro-team: '*' enterprise-server: '>=2.21' github-ae: '*' +topics: + - notifications --- ### Saving a single notification diff --git a/content/github/managing-subscriptions-and-notifications-on-github/viewing-and-triaging-notifications.md b/content/github/managing-subscriptions-and-notifications-on-github/viewing-and-triaging-notifications.md index 761e8487ea..1d23e517b8 100644 --- a/content/github/managing-subscriptions-and-notifications-on-github/viewing-and-triaging-notifications.md +++ b/content/github/managing-subscriptions-and-notifications-on-github/viewing-and-triaging-notifications.md @@ -9,5 +9,7 @@ versions: free-pro-team: '*' enterprise-server: '>=2.21' github-ae: '*' +topics: + - notifications --- diff --git a/content/github/managing-subscriptions-and-notifications-on-github/viewing-your-subscriptions.md b/content/github/managing-subscriptions-and-notifications-on-github/viewing-your-subscriptions.md index fa4321a743..bdc6a0d93b 100644 --- a/content/github/managing-subscriptions-and-notifications-on-github/viewing-your-subscriptions.md +++ b/content/github/managing-subscriptions-and-notifications-on-github/viewing-your-subscriptions.md @@ -18,6 +18,8 @@ versions: free-pro-team: '*' enterprise-server: '>=2.21' github-ae: '*' +topics: + - notifications --- You receive notifications for your subscriptions of ongoing activity on {% data variables.product.product_name %}. There are many reasons you can be subscribed to a conversation. For more information, see "[About notifications](/github/managing-subscriptions-and-notifications-on-github/about-notifications#notifications-and-subscriptions)." @@ -81,23 +83,3 @@ Many people forget about repositories that they've chosen to watch in the past. When you unwatch a repository, you can still be notified when you're @mentioned or participating in a thread. When you configure to receive notifications for certain event types, you're only notified when there are updates to these event types in the repository, you're participating in a thread, or you or a team you're on is @mentioned. {% endtip %} - -### Configuring your watch settings for an individual repository - -You can choose whether to watch or unwatch an individual repository. You can also choose to only be notified of {% if currentVersion == "free-pro-team@latest" %}certain event types such as issues, pull requests, discussions (if enabled for the repository) and {% endif %}new releases, or completely ignore an individual repository. - -{% data reusables.repositories.navigate-to-repo %} -2. In the upper-right corner, click the "Watch" drop-down menu to select a watch option. -{% if currentVersion == "github-ae@latest" or currentVersion ver_gt "enterprise-server@2.20" %} - ![Watch options in a drop-down menu for a repository](/assets/images/help/notifications-v2/watch-repository-options.png) -{% endif %} -{% if currentVersion == "free-pro-team@latest" %} - ![Watch options in a drop-down menu for a repository](/assets/images/help/notifications-v2/watch-repository-options-custom.png) -{% data reusables.notifications-v2.custom-notifications-beta %} -The **Custom** option allows you to further customize notifications so that you're only notified when specific events happen in the repository, in addition to participating and @mentions. - - ![Custom watch options in a drop-down menu for a repository](/assets/images/help/notifications-v2/watch-repository-options-custom2.png) - -If you select "Issues", you will be notified about, and subscribed to, updates on every issue (including those that existed prior to you selecting this option) in the repository. If you're @mentioned in a pull request in this repository, you'll receive notifications for that too, and you'll be subscribed to updates on that specific pull request, in addition to being notified about issues. - -{% endif %} diff --git a/content/github/managing-your-work-on-github/about-automation-for-issues-and-pull-requests-with-query-parameters.md b/content/github/managing-your-work-on-github/about-automation-for-issues-and-pull-requests-with-query-parameters.md index 39b913c7c2..010c9aea63 100644 --- a/content/github/managing-your-work-on-github/about-automation-for-issues-and-pull-requests-with-query-parameters.md +++ b/content/github/managing-your-work-on-github/about-automation-for-issues-and-pull-requests-with-query-parameters.md @@ -7,6 +7,8 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - pull requests --- Query parameters are optional parts of a URL you can customize to share a specific web page view, such as search filter results or an issue template on {% data variables.product.prodname_dotcom %}. To create your own query parameters, you must match the key and value pair. diff --git a/content/github/managing-your-work-on-github/about-automation-for-project-boards.md b/content/github/managing-your-work-on-github/about-automation-for-project-boards.md index 1a6b04071a..1fcade4aa0 100644 --- a/content/github/managing-your-work-on-github/about-automation-for-project-boards.md +++ b/content/github/managing-your-work-on-github/about-automation-for-project-boards.md @@ -7,6 +7,8 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - pull requests --- {% data reusables.project-management.automate-project-board-permissions %} For more information, see "[Project board permissions for an organization](/articles/project-board-permissions-for-an-organization)." diff --git a/content/github/managing-your-work-on-github/about-duplicate-issues-and-pull-requests.md b/content/github/managing-your-work-on-github/about-duplicate-issues-and-pull-requests.md index f1b544a094..9f7ec04b68 100644 --- a/content/github/managing-your-work-on-github/about-duplicate-issues-and-pull-requests.md +++ b/content/github/managing-your-work-on-github/about-duplicate-issues-and-pull-requests.md @@ -7,6 +7,8 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - pull requests --- For a "marked as duplicate" timeline event to appear, the user who creates the duplicate reference comment must have write access to the repository where they create the comment. diff --git a/content/github/managing-your-work-on-github/about-issues.md b/content/github/managing-your-work-on-github/about-issues.md index 9500408071..fee3c09c34 100644 --- a/content/github/managing-your-work-on-github/about-issues.md +++ b/content/github/managing-your-work-on-github/about-issues.md @@ -8,6 +8,8 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - pull requests --- ### About issues diff --git a/content/github/managing-your-work-on-github/about-milestones.md b/content/github/managing-your-work-on-github/about-milestones.md index 27238a9b73..2b3ae8c27f 100644 --- a/content/github/managing-your-work-on-github/about-milestones.md +++ b/content/github/managing-your-work-on-github/about-milestones.md @@ -7,6 +7,8 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - pull requests --- When you [create a milestone](/articles/creating-and-editing-milestones-for-issues-and-pull-requests), you can [associate it with issues and pull requests](/articles/associating-milestones-with-issues-and-pull-requests). diff --git a/content/github/managing-your-work-on-github/about-project-boards.md b/content/github/managing-your-work-on-github/about-project-boards.md index da22dbe579..69c4caa8fc 100644 --- a/content/github/managing-your-work-on-github/about-project-boards.md +++ b/content/github/managing-your-work-on-github/about-project-boards.md @@ -8,6 +8,8 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - pull requests --- Project boards are made up of issues, pull requests, and notes that are categorized as cards in columns of your choosing. You can drag and drop or use keyboard shortcuts to reorder cards within a column, move cards from column to column, and change the order of columns. diff --git a/content/github/managing-your-work-on-github/about-task-lists.md b/content/github/managing-your-work-on-github/about-task-lists.md index 250c4684a9..d0407d4813 100644 --- a/content/github/managing-your-work-on-github/about-task-lists.md +++ b/content/github/managing-your-work-on-github/about-task-lists.md @@ -7,6 +7,8 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - pull requests --- Task lists render with clickable checkboxes in comments. You can select or unselect the checkboxes to mark them as complete or incomplete. diff --git a/content/github/managing-your-work-on-github/adding-issues-and-pull-requests-to-a-project-board.md b/content/github/managing-your-work-on-github/adding-issues-and-pull-requests-to-a-project-board.md index 028e0c5031..89d954f6b8 100644 --- a/content/github/managing-your-work-on-github/adding-issues-and-pull-requests-to-a-project-board.md +++ b/content/github/managing-your-work-on-github/adding-issues-and-pull-requests-to-a-project-board.md @@ -8,6 +8,8 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - pull requests --- You can add issue or pull request cards to your project board by: diff --git a/content/github/managing-your-work-on-github/adding-notes-to-a-project-board.md b/content/github/managing-your-work-on-github/adding-notes-to-a-project-board.md index 87761cc8b8..1361bcea63 100644 --- a/content/github/managing-your-work-on-github/adding-notes-to-a-project-board.md +++ b/content/github/managing-your-work-on-github/adding-notes-to-a-project-board.md @@ -8,6 +8,8 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - pull requests --- {% tip %} diff --git a/content/github/managing-your-work-on-github/archiving-cards-on-a-project-board.md b/content/github/managing-your-work-on-github/archiving-cards-on-a-project-board.md index cc7eb1dd66..b6b513b8cf 100644 --- a/content/github/managing-your-work-on-github/archiving-cards-on-a-project-board.md +++ b/content/github/managing-your-work-on-github/archiving-cards-on-a-project-board.md @@ -7,6 +7,8 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - pull requests --- Automation in your project board does not apply to archived project board cards. For example, if you close an issue in a project board's archive, the archived card does not automatically move to the "Done" column. When you restore a card from the project board archive, the card will return to the column where it was archived. diff --git a/content/github/managing-your-work-on-github/assigning-issues-and-pull-requests-to-other-github-users.md b/content/github/managing-your-work-on-github/assigning-issues-and-pull-requests-to-other-github-users.md index c9feda552b..d3704545bb 100644 --- a/content/github/managing-your-work-on-github/assigning-issues-and-pull-requests-to-other-github-users.md +++ b/content/github/managing-your-work-on-github/assigning-issues-and-pull-requests-to-other-github-users.md @@ -7,6 +7,8 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - pull requests --- Anyone with write permissions to a repository can assign issues and pull requests. diff --git a/content/github/managing-your-work-on-github/associating-milestones-with-issues-and-pull-requests.md b/content/github/managing-your-work-on-github/associating-milestones-with-issues-and-pull-requests.md index 73f110edab..2b6bc1cbda 100644 --- a/content/github/managing-your-work-on-github/associating-milestones-with-issues-and-pull-requests.md +++ b/content/github/managing-your-work-on-github/associating-milestones-with-issues-and-pull-requests.md @@ -7,6 +7,8 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - pull requests --- {% data reusables.repositories.navigate-to-repo %} diff --git a/content/github/managing-your-work-on-github/changing-project-board-visibility.md b/content/github/managing-your-work-on-github/changing-project-board-visibility.md index 0ecd5477f4..34b68877bd 100644 --- a/content/github/managing-your-work-on-github/changing-project-board-visibility.md +++ b/content/github/managing-your-work-on-github/changing-project-board-visibility.md @@ -7,6 +7,8 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - pull requests --- {% data reusables.project-management.project-board-visibility %} diff --git a/content/github/managing-your-work-on-github/closing-a-project-board.md b/content/github/managing-your-work-on-github/closing-a-project-board.md index 57b8586d71..5d0f001f70 100644 --- a/content/github/managing-your-work-on-github/closing-a-project-board.md +++ b/content/github/managing-your-work-on-github/closing-a-project-board.md @@ -8,6 +8,8 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - pull requests --- When you close a project board, any configured workflow automation will pause by default. diff --git a/content/github/managing-your-work-on-github/configuring-automation-for-project-boards.md b/content/github/managing-your-work-on-github/configuring-automation-for-project-boards.md index 037b6efa7c..7289b952f4 100644 --- a/content/github/managing-your-work-on-github/configuring-automation-for-project-boards.md +++ b/content/github/managing-your-work-on-github/configuring-automation-for-project-boards.md @@ -7,6 +7,8 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - pull requests --- {% data reusables.project-management.automate-project-board-permissions %} For more information, see "[About automation for project boards](/articles/about-automation-for-project-boards)." diff --git a/content/github/managing-your-work-on-github/copying-a-project-board.md b/content/github/managing-your-work-on-github/copying-a-project-board.md index 1d7225e79e..6b6f7afefc 100644 --- a/content/github/managing-your-work-on-github/copying-a-project-board.md +++ b/content/github/managing-your-work-on-github/copying-a-project-board.md @@ -5,6 +5,8 @@ redirect_from: - /articles/copying-a-project-board versions: free-pro-team: '*' +topics: + - pull requests --- Copying a project board allows you to reuse a project board's title, description, and automation configuration. You can copy project boards to eliminate the manual process of creating new project boards for similar workflows. diff --git a/content/github/managing-your-work-on-github/creating-a-permanent-link-to-a-code-snippet.md b/content/github/managing-your-work-on-github/creating-a-permanent-link-to-a-code-snippet.md index 283530bf8d..f8f251b394 100644 --- a/content/github/managing-your-work-on-github/creating-a-permanent-link-to-a-code-snippet.md +++ b/content/github/managing-your-work-on-github/creating-a-permanent-link-to-a-code-snippet.md @@ -7,6 +7,8 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - pull requests --- This type of permanent link will render as a code snippet only in the repository it originated in. In other repositories, the permalink code snippet will render as a URL. diff --git a/content/github/managing-your-work-on-github/creating-a-project-board.md b/content/github/managing-your-work-on-github/creating-a-project-board.md index 77f0193882..4d4021f5a2 100644 --- a/content/github/managing-your-work-on-github/creating-a-project-board.md +++ b/content/github/managing-your-work-on-github/creating-a-project-board.md @@ -8,6 +8,8 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - pull requests --- {% data reusables.project-management.use-automated-template %} diff --git a/content/github/managing-your-work-on-github/creating-an-issue.md b/content/github/managing-your-work-on-github/creating-an-issue.md index bd2ff8d5a3..b0d3ea02a8 100644 --- a/content/github/managing-your-work-on-github/creating-an-issue.md +++ b/content/github/managing-your-work-on-github/creating-an-issue.md @@ -1,13 +1,15 @@ --- title: Creating an issue intro: 'Issues can be used to keep track of bugs, enhancements, or other requests.' -permissions: 'People with read permissions can create an issue in a repository where issues are enabled.' +permissions: People with read permissions can create an issue in a repository where issues are enabled. redirect_from: - /articles/creating-an-issue versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - pull requests --- You can open a new issue based on code from an existing pull request. For more information, see "[Opening an issue from code](/github/managing-your-work-on-github/opening-an-issue-from-code)." diff --git a/content/github/managing-your-work-on-github/creating-and-editing-milestones-for-issues-and-pull-requests.md b/content/github/managing-your-work-on-github/creating-and-editing-milestones-for-issues-and-pull-requests.md index 0524cf9237..d8e3ae3338 100644 --- a/content/github/managing-your-work-on-github/creating-and-editing-milestones-for-issues-and-pull-requests.md +++ b/content/github/managing-your-work-on-github/creating-and-editing-milestones-for-issues-and-pull-requests.md @@ -8,6 +8,8 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - pull requests --- {% data reusables.repositories.navigate-to-repo %} diff --git a/content/github/managing-your-work-on-github/deleting-a-project-board.md b/content/github/managing-your-work-on-github/deleting-a-project-board.md index 365d7a03bc..edff31371e 100644 --- a/content/github/managing-your-work-on-github/deleting-a-project-board.md +++ b/content/github/managing-your-work-on-github/deleting-a-project-board.md @@ -8,6 +8,8 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - pull requests --- {% tip %} diff --git a/content/github/managing-your-work-on-github/deleting-an-issue.md b/content/github/managing-your-work-on-github/deleting-an-issue.md index 705f41ff5a..0a087f1297 100644 --- a/content/github/managing-your-work-on-github/deleting-an-issue.md +++ b/content/github/managing-your-work-on-github/deleting-an-issue.md @@ -7,6 +7,8 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - pull requests --- You can only delete issues in a repository owned by your user account. You cannot delete issues in a repository owned by another user account, even if you are a collaborator there. diff --git a/content/github/managing-your-work-on-github/disabling-issues.md b/content/github/managing-your-work-on-github/disabling-issues.md index 469bd2bac8..eb8ea5c679 100644 --- a/content/github/managing-your-work-on-github/disabling-issues.md +++ b/content/github/managing-your-work-on-github/disabling-issues.md @@ -7,6 +7,8 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - pull requests --- {% data reusables.repositories.navigate-to-repo %} {% data reusables.repositories.sidebar-settings %} diff --git a/content/github/managing-your-work-on-github/disabling-project-boards-in-a-repository.md b/content/github/managing-your-work-on-github/disabling-project-boards-in-a-repository.md index 5a3d679fd6..c6d6970768 100644 --- a/content/github/managing-your-work-on-github/disabling-project-boards-in-a-repository.md +++ b/content/github/managing-your-work-on-github/disabling-project-boards-in-a-repository.md @@ -7,6 +7,8 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - pull requests --- When you disable project boards, you will no longer see project board information in timelines or [audit logs](/articles/reviewing-your-security-log/). diff --git a/content/github/managing-your-work-on-github/disabling-project-boards-in-your-organization.md b/content/github/managing-your-work-on-github/disabling-project-boards-in-your-organization.md index 6b5579d3b6..e944f2866f 100644 --- a/content/github/managing-your-work-on-github/disabling-project-boards-in-your-organization.md +++ b/content/github/managing-your-work-on-github/disabling-project-boards-in-your-organization.md @@ -7,6 +7,8 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - pull requests --- After you disable organization-wide project boards, it won’t be possible to create new project boards at the organization level, and any existing organization-level project boards will become inaccessible at their previous URLs. Project boards in repositories in the organization are not affected. diff --git a/content/github/managing-your-work-on-github/editing-a-project-board.md b/content/github/managing-your-work-on-github/editing-a-project-board.md index 0f9e5c977c..e9cc53d326 100644 --- a/content/github/managing-your-work-on-github/editing-a-project-board.md +++ b/content/github/managing-your-work-on-github/editing-a-project-board.md @@ -9,6 +9,8 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - pull requests --- {% tip %} diff --git a/content/github/managing-your-work-on-github/file-attachments-on-issues-and-pull-requests.md b/content/github/managing-your-work-on-github/file-attachments-on-issues-and-pull-requests.md index 4abe40a38f..abb1ae4b48 100644 --- a/content/github/managing-your-work-on-github/file-attachments-on-issues-and-pull-requests.md +++ b/content/github/managing-your-work-on-github/file-attachments-on-issues-and-pull-requests.md @@ -8,6 +8,8 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - pull requests --- {% warning %} diff --git a/content/github/managing-your-work-on-github/filtering-cards-on-a-project-board.md b/content/github/managing-your-work-on-github/filtering-cards-on-a-project-board.md index a4a1ee3f6f..4b1a22b3be 100644 --- a/content/github/managing-your-work-on-github/filtering-cards-on-a-project-board.md +++ b/content/github/managing-your-work-on-github/filtering-cards-on-a-project-board.md @@ -7,6 +7,8 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - pull requests --- On a card, you can click any assignee, milestone, or label to filter the project board by that qualifier. To clear the search, you can click the same assignee, milestone, or label again. diff --git a/content/github/managing-your-work-on-github/filtering-issues-and-pull-requests-by-assignees.md b/content/github/managing-your-work-on-github/filtering-issues-and-pull-requests-by-assignees.md index e04db9f312..e39fd884ff 100644 --- a/content/github/managing-your-work-on-github/filtering-issues-and-pull-requests-by-assignees.md +++ b/content/github/managing-your-work-on-github/filtering-issues-and-pull-requests-by-assignees.md @@ -7,6 +7,8 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - pull requests --- {% data reusables.cli.filter-issues-and-pull-requests-tip %} diff --git a/content/github/managing-your-work-on-github/filtering-issues-and-pull-requests-by-labels.md b/content/github/managing-your-work-on-github/filtering-issues-and-pull-requests-by-labels.md index d0ad982702..33f6798afe 100644 --- a/content/github/managing-your-work-on-github/filtering-issues-and-pull-requests-by-labels.md +++ b/content/github/managing-your-work-on-github/filtering-issues-and-pull-requests-by-labels.md @@ -7,6 +7,8 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - pull requests --- {% data reusables.cli.filter-issues-and-pull-requests-tip %} diff --git a/content/github/managing-your-work-on-github/filtering-issues-and-pull-requests-by-milestone.md b/content/github/managing-your-work-on-github/filtering-issues-and-pull-requests-by-milestone.md index d6c96b95d7..4f6d7d3eca 100644 --- a/content/github/managing-your-work-on-github/filtering-issues-and-pull-requests-by-milestone.md +++ b/content/github/managing-your-work-on-github/filtering-issues-and-pull-requests-by-milestone.md @@ -7,6 +7,8 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - pull requests --- {% tip %} diff --git a/content/github/managing-your-work-on-github/filtering-issues-and-pull-requests.md b/content/github/managing-your-work-on-github/filtering-issues-and-pull-requests.md index 8459b5dd4d..a59627be7d 100644 --- a/content/github/managing-your-work-on-github/filtering-issues-and-pull-requests.md +++ b/content/github/managing-your-work-on-github/filtering-issues-and-pull-requests.md @@ -7,6 +7,8 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - pull requests --- {% data reusables.search.requested_reviews_search %} diff --git a/content/github/managing-your-work-on-github/filtering-pull-requests-by-review-status.md b/content/github/managing-your-work-on-github/filtering-pull-requests-by-review-status.md index 58bd074a17..1d633e08f3 100644 --- a/content/github/managing-your-work-on-github/filtering-pull-requests-by-review-status.md +++ b/content/github/managing-your-work-on-github/filtering-pull-requests-by-review-status.md @@ -7,6 +7,8 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - pull requests --- You can filter a repository's list of pull requests to find: diff --git a/content/github/managing-your-work-on-github/finding-information-in-a-repository.md b/content/github/managing-your-work-on-github/finding-information-in-a-repository.md index ccc776aa0e..d90d3de261 100644 --- a/content/github/managing-your-work-on-github/finding-information-in-a-repository.md +++ b/content/github/managing-your-work-on-github/finding-information-in-a-repository.md @@ -8,5 +8,7 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - pull requests --- diff --git a/content/github/managing-your-work-on-github/index.md b/content/github/managing-your-work-on-github/index.md index eb501619b0..a425a1a411 100644 --- a/content/github/managing-your-work-on-github/index.md +++ b/content/github/managing-your-work-on-github/index.md @@ -9,6 +9,8 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - pull requests --- diff --git a/content/github/managing-your-work-on-github/linking-a-pull-request-to-an-issue.md b/content/github/managing-your-work-on-github/linking-a-pull-request-to-an-issue.md index e99658d64f..b41b7ab75f 100644 --- a/content/github/managing-your-work-on-github/linking-a-pull-request-to-an-issue.md +++ b/content/github/managing-your-work-on-github/linking-a-pull-request-to-an-issue.md @@ -1,6 +1,6 @@ --- title: Linking a pull request to an issue -intro: 'You can link a pull request to an issue to show that a fix is in progress and to automatically close the issue when the pull request is merged.' +intro: You can link a pull request to an issue to show that a fix is in progress and to automatically close the issue when the pull request is merged. redirect_from: - /articles/closing-issues-via-commit-message/ - /articles/closing-issues-via-commit-messages/ @@ -10,6 +10,8 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - pull requests --- {% note %} diff --git a/content/github/managing-your-work-on-github/linking-a-repository-to-a-project-board.md b/content/github/managing-your-work-on-github/linking-a-repository-to-a-project-board.md index e394df5c31..ee6c964732 100644 --- a/content/github/managing-your-work-on-github/linking-a-repository-to-a-project-board.md +++ b/content/github/managing-your-work-on-github/linking-a-repository-to-a-project-board.md @@ -7,6 +7,8 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - pull requests --- diff --git a/content/github/managing-your-work-on-github/managing-labels.md b/content/github/managing-your-work-on-github/managing-labels.md index 09e093c6b8..99a825c458 100644 --- a/content/github/managing-your-work-on-github/managing-labels.md +++ b/content/github/managing-your-work-on-github/managing-labels.md @@ -21,6 +21,8 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - pull requests --- ### About labels diff --git a/content/github/managing-your-work-on-github/managing-project-boards.md b/content/github/managing-your-work-on-github/managing-project-boards.md index 4ecbcf476f..ccc1c55316 100644 --- a/content/github/managing-your-work-on-github/managing-project-boards.md +++ b/content/github/managing-your-work-on-github/managing-project-boards.md @@ -8,5 +8,7 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - pull requests --- diff --git a/content/github/managing-your-work-on-github/managing-your-work-with-issues-and-pull-requests.md b/content/github/managing-your-work-on-github/managing-your-work-with-issues-and-pull-requests.md index 7627c87e95..b8e7517513 100644 --- a/content/github/managing-your-work-on-github/managing-your-work-with-issues-and-pull-requests.md +++ b/content/github/managing-your-work-on-github/managing-your-work-with-issues-and-pull-requests.md @@ -9,5 +9,7 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - pull requests --- diff --git a/content/github/managing-your-work-on-github/opening-an-issue-from-a-comment.md b/content/github/managing-your-work-on-github/opening-an-issue-from-a-comment.md index 64b72de5fd..644415774a 100644 --- a/content/github/managing-your-work-on-github/opening-an-issue-from-a-comment.md +++ b/content/github/managing-your-work-on-github/opening-an-issue-from-a-comment.md @@ -1,11 +1,13 @@ --- title: Opening an issue from a comment intro: You can open a new issue from a specific comment in an issue or pull request. -permissions: 'People with read permissions can create an issue in a repository where issues are enabled.' +permissions: People with read permissions can create an issue in a repository where issues are enabled. versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - pull requests --- When you open an issue from a comment, the issue contains a snippet showing where the comment was originally posted. diff --git a/content/github/managing-your-work-on-github/opening-an-issue-from-code.md b/content/github/managing-your-work-on-github/opening-an-issue-from-code.md index 583221530d..9b07c631a2 100644 --- a/content/github/managing-your-work-on-github/opening-an-issue-from-code.md +++ b/content/github/managing-your-work-on-github/opening-an-issue-from-code.md @@ -1,13 +1,15 @@ --- title: Opening an issue from code intro: You can open a new issue from a specific line or lines of code in a file or pull request. -permissions: 'People with read permissions can create an issue in a repository where issues are enabled.' +permissions: People with read permissions can create an issue in a repository where issues are enabled. redirect_from: - /articles/opening-an-issue-from-code versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - pull requests --- When you open an issue from code, the issue contains a snippet showing the line or range of code you chose. You can only open an issue in the same repository where the code is stored. diff --git a/content/github/managing-your-work-on-github/pinning-an-issue-to-your-repository.md b/content/github/managing-your-work-on-github/pinning-an-issue-to-your-repository.md index 6786f5add2..4b8baf8b85 100644 --- a/content/github/managing-your-work-on-github/pinning-an-issue-to-your-repository.md +++ b/content/github/managing-your-work-on-github/pinning-an-issue-to-your-repository.md @@ -7,6 +7,8 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - pull requests --- ![Pinned issues](/assets/images/help/issues/pinned-issues.png) diff --git a/content/github/managing-your-work-on-github/reopening-a-closed-project-board.md b/content/github/managing-your-work-on-github/reopening-a-closed-project-board.md index 4ddda31852..17939004ef 100644 --- a/content/github/managing-your-work-on-github/reopening-a-closed-project-board.md +++ b/content/github/managing-your-work-on-github/reopening-a-closed-project-board.md @@ -7,6 +7,8 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - pull requests --- When you close a project board, any workflow automation that was configured for the project board will pause by default. For more information, see "[Closing a project board](/articles/closing-a-project-board)." diff --git a/content/github/managing-your-work-on-github/sharing-filters.md b/content/github/managing-your-work-on-github/sharing-filters.md index deaa2e4d84..8575fb7e80 100644 --- a/content/github/managing-your-work-on-github/sharing-filters.md +++ b/content/github/managing-your-work-on-github/sharing-filters.md @@ -7,6 +7,8 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - pull requests --- You can send the URL that issues generates to any user, and they'll be able to see the same filter view that you see. diff --git a/content/github/managing-your-work-on-github/sorting-issues-and-pull-requests.md b/content/github/managing-your-work-on-github/sorting-issues-and-pull-requests.md index 0137ba5be2..9decbf89e3 100644 --- a/content/github/managing-your-work-on-github/sorting-issues-and-pull-requests.md +++ b/content/github/managing-your-work-on-github/sorting-issues-and-pull-requests.md @@ -7,6 +7,8 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - pull requests --- You can sort any filtered view by: diff --git a/content/github/managing-your-work-on-github/tracking-progress-on-your-project-board.md b/content/github/managing-your-work-on-github/tracking-progress-on-your-project-board.md index dd4915bbee..6eb703d108 100644 --- a/content/github/managing-your-work-on-github/tracking-progress-on-your-project-board.md +++ b/content/github/managing-your-work-on-github/tracking-progress-on-your-project-board.md @@ -7,6 +7,8 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - pull requests --- {% data reusables.project-management.project-progress-locations %} diff --git a/content/github/managing-your-work-on-github/tracking-the-progress-of-your-work-with-milestones.md b/content/github/managing-your-work-on-github/tracking-the-progress-of-your-work-with-milestones.md index 289f06851c..081bd66cfd 100644 --- a/content/github/managing-your-work-on-github/tracking-the-progress-of-your-work-with-milestones.md +++ b/content/github/managing-your-work-on-github/tracking-the-progress-of-your-work-with-milestones.md @@ -8,5 +8,7 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - pull requests --- diff --git a/content/github/managing-your-work-on-github/tracking-the-progress-of-your-work-with-project-boards.md b/content/github/managing-your-work-on-github/tracking-the-progress-of-your-work-with-project-boards.md index 6bdc399895..9ad7f25801 100644 --- a/content/github/managing-your-work-on-github/tracking-the-progress-of-your-work-with-project-boards.md +++ b/content/github/managing-your-work-on-github/tracking-the-progress-of-your-work-with-project-boards.md @@ -9,5 +9,7 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - pull requests --- diff --git a/content/github/managing-your-work-on-github/transferring-an-issue-to-another-repository.md b/content/github/managing-your-work-on-github/transferring-an-issue-to-another-repository.md index 64920e0815..d7c5ba7a59 100644 --- a/content/github/managing-your-work-on-github/transferring-an-issue-to-another-repository.md +++ b/content/github/managing-your-work-on-github/transferring-an-issue-to-another-repository.md @@ -7,6 +7,8 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - pull requests --- To transfer an open issue to another repository, you must have write permissions on the repository the issue is in and the repository you're transferring the issue to. For more information, see "[Repository permission levels for an organization](/articles/repository-permission-levels-for-an-organization)." diff --git a/content/github/managing-your-work-on-github/using-search-to-filter-issues-and-pull-requests.md b/content/github/managing-your-work-on-github/using-search-to-filter-issues-and-pull-requests.md index 102296457c..68aac842f1 100644 --- a/content/github/managing-your-work-on-github/using-search-to-filter-issues-and-pull-requests.md +++ b/content/github/managing-your-work-on-github/using-search-to-filter-issues-and-pull-requests.md @@ -7,6 +7,8 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - pull requests --- The issues and pull requests search bar allows you to define your own custom filters and sort by a wide variety of criteria. You can find the search bar on each repository's **Issues** and **Pull requests** tabs and on your [Issues and Pull requests dashboards](/articles/viewing-all-of-your-issues-and-pull-requests). diff --git a/content/github/managing-your-work-on-github/viewing-all-of-your-issues-and-pull-requests.md b/content/github/managing-your-work-on-github/viewing-all-of-your-issues-and-pull-requests.md index 289597f46b..0a5c9f90dd 100644 --- a/content/github/managing-your-work-on-github/viewing-all-of-your-issues-and-pull-requests.md +++ b/content/github/managing-your-work-on-github/viewing-all-of-your-issues-and-pull-requests.md @@ -7,6 +7,8 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - pull requests --- Your issues and pull request dashboards are available at the top of any page. On each dashboard, you can filter the list to find issues or pull requests you created, that are assigned to you, or in which you're mentioned. You can also find pull requests that you've been asked to review. diff --git a/content/github/managing-your-work-on-github/viewing-your-milestones-progress.md b/content/github/managing-your-work-on-github/viewing-your-milestones-progress.md index 0fc56efbff..a67a141429 100644 --- a/content/github/managing-your-work-on-github/viewing-your-milestones-progress.md +++ b/content/github/managing-your-work-on-github/viewing-your-milestones-progress.md @@ -8,6 +8,8 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - pull requests --- {% data reusables.repositories.navigate-to-repo %} diff --git a/content/github/receiving-notifications-about-activity-on-github/about-email-notifications.md b/content/github/receiving-notifications-about-activity-on-github/about-email-notifications.md deleted file mode 100644 index 54a0b42048..0000000000 --- a/content/github/receiving-notifications-about-activity-on-github/about-email-notifications.md +++ /dev/null @@ -1,35 +0,0 @@ ---- -title: About email notifications -intro: 'When you enable email notifications, you will receive participating and watching notifications in your email client, and you can filter them using the email header information.' -versions: - enterprise-server: <2.21 ---- - -For more information about the differences between *participating* and *watching* notifications, see "[About notifications](/enterprise/{{ currentVersion }}/user/github/receiving-notifications-about-activity-on-github/about-notifications)." - -After enabling email notifications, {% data variables.product.product_name %} will send notifications to you as multipart emails that contain both HTML and plain text copies of the content. Email notification content includes any Markdown, @mentions, emojis, hash-links, and more, that appear in the original content on {% data variables.product.product_name %}. If you only want to see the text in the email, you can configure your email client to display the plain text copy only. For more information about enabling email notifications, see "[Choosing the delivery method for your notifications](/enterprise/{{ currentVersion }}/user/github/receiving-notifications-about-activity-on-github/choosing-the-delivery-method-for-your-notifications)." - -{% data reusables.notifications.outbound_email_tip %} - -{% data reusables.notifications.shared_state %} - -### Filtering email notifications - -Each email notification that {% data variables.product.product_name %} sends contains header information. The header information in every email is consistent, so you can use it in your email client to filter or forward all {% data variables.product.product_name %} notifications, or certain types of {% data variables.product.product_name %} notifications. - -Email notifications from {% data variables.product.product_name %} contain the following header information: - -| Header | Information | -| --- | --- | -| `From` address | This address will always be 'the no-reply email address configured by your site administrator'. | -| `To` field | This field connects directly to the thread. If you reply to the email, you'll add a new comment to the conversation. | -| `Cc` address | {% data variables.product.product_name %} will `Cc` you if you're subscribed to a conversation. The second `Cc` email address matches the notification reason. The suffix for these notification reasons is {% data variables.notifications.cc_address %}. The possible notification reasons are:
  • `assign`: You were assigned to an issue or pull request.
  • `author`: You created an issue or pull request.
  • `comment`: You commented on an issue or pull request.
  • `manual`: There was an update to an issue or pull request you manually subscribed to.
  • `mention`: You were mentioned on an issue or pull request.
  • `push`: Someone committed to a pull request you're subscribed to.
  • `review_requested`: You or a team you're a member of was requested to review a pull request.
  • `security_alert`: {% data variables.product.prodname_dotcom %} detected a vulnerability in a repository you receive security alerts for.
  • `state_change`: An issue or pull request you're subscribed to was either closed or opened.
  • `subscribed`: There was an update in a repository you're watching.
  • `team_mention`: A team you belong to was mentioned on an issue or pull request.
  • `your_activity`: You opened, commented on, or closed an issue or pull request.
| -| `mailing list` field | This field identifies the name of the repository and its owner. The format of this address is always `..{% data variables.command_line.backticks %}`. {% if currentVersion ver_gt "enterprise-server@2.19" % %} -| `X-GitHub-Severity` field | {% data reusables.repositories.security-alerts-x-github-severity %} The possible severity levels are:
  • `low`
  • `moderate`
  • `high`
  • `critical`
For more information, see "[About alerts for vulnerable dependencies](/github/managing-security-vulnerabilities/about-alerts-for-vulnerable-dependencies)." |{% endif %} - -### Further reading - -- "[Listing the repositories you're watching](/enterprise/{{ currentVersion }}/user/github/receiving-notifications-about-activity-on-github/listing-the-repositories-youre-watching)" -- "[Watching and unwatching repositories](/enterprise/{{ currentVersion }}/user/github/receiving-notifications-about-activity-on-github/watching-and-unwatching-repositories)" -- "[Subscribing to and unsubscribing from notifications](/enterprise/{{ currentVersion }}/user/github/receiving-notifications-about-activity-on-github/subscribing-to-and-unsubscribing-from-notifications)" -- "[Creating gists](/articles/creating-gists)" diff --git a/content/github/receiving-notifications-about-activity-on-github/about-notifications.md b/content/github/receiving-notifications-about-activity-on-github/about-notifications.md deleted file mode 100644 index fa20f0ba19..0000000000 --- a/content/github/receiving-notifications-about-activity-on-github/about-notifications.md +++ /dev/null @@ -1,55 +0,0 @@ ---- -title: About notifications -intro: 'Notifications provide updates about the activities and conversations you''re interested in. You can receive notifications on {% data variables.product.product_name %} or through your email client.' -versions: - enterprise-server: <2.21 ---- - -### Types of notifications - -The notifications you receive will either be *participating* notifications or *watching* notifications. Both types of notifications can be received as web notifications or email notifications. For more information, see: - -- "[About web notifications](/enterprise/{{ currentVersion }}/user/github/receiving-notifications-about-activity-on-github/about-web-notifications)" -- "[About email notifications](/enterprise/{{ currentVersion }}/user/github/receiving-notifications-about-activity-on-github/about-email-notifications)" -- "[Choosing the delivery method for your notifications](/enterprise/{{ currentVersion }}/user/github/receiving-notifications-about-activity-on-github/choosing-the-delivery-method-for-your-notifications)" - -{% data reusables.notifications.outbound_email_tip %} - -{% data reusables.notifications.shared_state %} - -#### Participating notifications - -{% data variables.product.product_name %} sends *participating* notifications when you're directly involved in activities or conversations within a repository or a team you're a member of. You'll receive a notification when: - - You, or a team you're a member of, are mentioned. For more information, see "[Basic writing and formatting syntax](/articles/basic-writing-and-formatting-syntax/#mentioning-people-and-teams)." - - The parent team of a child team you're a member of is mentioned. For more information, see "[About teams](/articles/about-teams)." - - You're assigned to an issue or pull request. - - A comment is added in a conversation you're subscribed to. - - A commit is made to a pull request you're subscribed to. - - You open, comment on, or close an issue or pull request. - - A review is submitted that approves or requests changes to a pull request you're subscribed to. - - You, or a team you're a member of, are requested to review a pull request. - - You, or a team you're a member of, are the designated owner of a file and someone opens a pull request that changes that file. For more information, see "[About code owners](/articles/about-code-owners)." - - You create or reply to a team discussion. - -#### Watching notifications - -{% data variables.product.product_name %} sends *watching* notifications for updates in repositories or team discussions that you're watching. {% data reusables.notifications.auto-watch %}For more information, see "[Watching and unwatching repositories](/enterprise/{{ currentVersion }}/user/github/receiving-notifications-about-activity-on-github/watching-and-unwatching-repositories)." -You'll receive a notification when: - - An issue is opened. - - A comment is added to an open issue. - - A pull request is opened. - - A comment is added to an open pull request. - - A comment is added to a commit. - - A release is published. For more information, see "[About releases](/articles/about-releases)." You can also only watch for releases published in a repository, rather than all updates to a repository. For more information, see "[Watching and unwatching releases for a repository](/enterprise/{{ currentVersion }}/user/github/receiving-notifications-about-activity-on-github/watching-and-unwatching-releases-for-a-repository)." - - A review is submitted that approves or requests changes to a pull request. - - A team discussion post is created or replied to for a team you're watching. - - A team discussion post for a parent team of or a team you're a member of and watching, is opened, edited, or replied to. For more information, see "[Nested teams](/articles/about-teams/#nested-teams)." - -You can also browse activity from people you follow, repositories you watch, and organizations you're a member of on your dashboard. For more information, see "[About your personal dashboard](/articles/about-your-personal-dashboard)." - -### Further reading - -- "[Listing the repositories you're watching](/enterprise/{{ currentVersion }}/user/github/receiving-notifications-about-activity-on-github/listing-the-repositories-youre-watching)" -- "[Watching and unwatching repositories](/enterprise/{{ currentVersion }}/user/github/receiving-notifications-about-activity-on-github/watching-and-unwatching-repositories)" -- "[Watching and unwatching team discussions](/enterprise/{{ currentVersion }}/user/github/receiving-notifications-about-activity-on-github/watching-and-unwatching-team-discussions)" -- "[Subscribing to and unsubscribing from notifications](/enterprise/{{ currentVersion }}/user/github/receiving-notifications-about-activity-on-github/subscribing-to-and-unsubscribing-from-notifications)" diff --git a/content/github/receiving-notifications-about-activity-on-github/about-web-notifications.md b/content/github/receiving-notifications-about-activity-on-github/about-web-notifications.md deleted file mode 100644 index f271829cb0..0000000000 --- a/content/github/receiving-notifications-about-activity-on-github/about-web-notifications.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: About web notifications -intro: 'If you''re receiving web notifications, you can view your participating and watching notifications on the notifications page on {% data variables.product.product_name %}.' -versions: - enterprise-server: <2.21 ---- - -For more information about the differences between *participating* and *watching* notifications, see "[About notifications](/enterprise/{{ currentVersion }}/user/github/receiving-notifications-about-activity-on-github/about-notifications)." - -When web notifications are enabled for your account, you can click an item on your notifications page and you will be redirected to the conversation the notification is referencing. For more information on enabling web notifications, see "[Choosing the delivery method for your notifications](/enterprise/{{ currentVersion }}/user/github/receiving-notifications-about-activity-on-github/choosing-the-delivery-method-for-your-notifications)." For more information on accessing your notifications after enabling web notifications, see "[Accessing your notifications](/enterprise/{{ currentVersion }}/user/github/receiving-notifications-about-activity-on-github/accessing-your-notifications)." - -{% data reusables.notifications.shared_state %} - -From your notifications page, you can also mark notifications as read, save notifications for later, and unsubscribe from threads. For more information, see: - -- "[Marking notifications as read](/enterprise/{{ currentVersion }}/user/github/receiving-notifications-about-activity-on-github/marking-notifications-as-read)" -- "[Saving notifications for later](/enterprise/{{ currentVersion }}/user/github/receiving-notifications-about-activity-on-github/saving-notifications-for-later)" -- "[Subscribing to and unsubscribing from notifications](/enterprise/{{ currentVersion }}/user/github/receiving-notifications-about-activity-on-github/subscribing-to-and-unsubscribing-from-notifications)" - -### Further reading - -- "[Listing the repositories you're watching](/enterprise/{{ currentVersion }}/user/github/receiving-notifications-about-activity-on-github/listing-the-repositories-youre-watching)" -- "[Watching and unwatching repositories](/enterprise/{{ currentVersion }}/user/github/receiving-notifications-about-activity-on-github/watching-and-unwatching-repositories)" -- "[Subscribing to and unsubscribing from notifications](/enterprise/{{ currentVersion }}/user/github/receiving-notifications-about-activity-on-github/subscribing-to-and-unsubscribing-from-notifications)" diff --git a/content/github/receiving-notifications-about-activity-on-github/accessing-your-notifications.md b/content/github/receiving-notifications-about-activity-on-github/accessing-your-notifications.md deleted file mode 100644 index e5ff955123..0000000000 --- a/content/github/receiving-notifications-about-activity-on-github/accessing-your-notifications.md +++ /dev/null @@ -1,25 +0,0 @@ ---- -title: Accessing your notifications -intro: 'Depending on how your notification delivery is set up, you can access your notifications on {% data variables.product.product_name %} or through your email client.' -versions: - enterprise-server: <2.21 ---- - -### Accessing your web notifications - -To access web notifications on {% data variables.product.product_name %}, you must have web notifications enabled. For more information, see "[About web notifications](/enterprise/{{ currentVersion }}/user/github/receiving-notifications-about-activity-on-github/about-web-notifications)" and "[Choosing the delivery method for your notifications](/enterprise/{{ currentVersion }}/user/github/receiving-notifications-about-activity-on-github/choosing-the-delivery-method-for-your-notifications)." - -{% data reusables.notifications.access_notifications %} -2. In the left sidebar, to see all notifications for activity you're participating in, click **Participating**. -![Listing participating notifications](/assets/images/help/notifications/notifications_sidebar_participating.png) -3. In the left sidebar, click the name of a repository to see notifications for a specific repository. -![Listing individual repository notifications](/assets/images/help/notifications/notifications_sidebar_specific_repos.png) - -### Accessing your email notifications - -If you have email notifications set up, you can access your notifications through your email client. For more information on enabling email notifications, see "[About email notifications](/enterprise/{{ currentVersion }}/user/github/receiving-notifications-about-activity-on-github/about-email-notifications)" and "[Choosing the delivery method for your notifications](/enterprise/{{ currentVersion }}/user/github/receiving-notifications-about-activity-on-github/choosing-the-delivery-method-for-your-notifications)." - -### Further reading - -- "[About notifications](/enterprise/{{ currentVersion }}/user/github/receiving-notifications-about-activity-on-github/about-notifications)" -- "[Listing the repositories you're watching](/enterprise/{{ currentVersion }}/user/github/receiving-notifications-about-activity-on-github/listing-the-repositories-youre-watching)" diff --git a/content/github/receiving-notifications-about-activity-on-github/choosing-the-delivery-method-for-your-notifications.md b/content/github/receiving-notifications-about-activity-on-github/choosing-the-delivery-method-for-your-notifications.md deleted file mode 100644 index caca277525..0000000000 --- a/content/github/receiving-notifications-about-activity-on-github/choosing-the-delivery-method-for-your-notifications.md +++ /dev/null @@ -1,49 +0,0 @@ ---- -title: Choosing the delivery method for your notifications -intro: 'You can receive your notifications on {% data variables.product.product_location %} or have them delivered through your email client.' -versions: - enterprise-server: <2.21 ---- - -For personal accounts, notification emails are automatically sent to your default notification email. - -{% data reusables.notifications.outbound_email_tip %} - -### Choosing the delivery method for notifications about repository activity - -{% data reusables.user_settings.access_settings %} -{% data reusables.user_settings.notifications %} -3. Configure how you would like to receive notifications you either participate in or watch by selecting the checkboxes: - - Selecting **Email** sends an email to your default notification email. - - Selecting **Web** allows you to access the notifications on {% data variables.product.product_location %}. - ![Configuring notification settings](/assets/images/help/settings/ent-notifications-settings.png) -4. If you selected **Email** for conversations you're either participating in or watching, choose which updates you receive by selecting the checkboxes in the "Notification email" section: - - Select **Comments on Issues and Pull Requests** to receive an email when someone makes a comment in an issue or in the "Conversation" tab of a pull request. - - Select **Pull request reviews** to receive an email when someone makes a review comment in the "Files changed" tab of a pull request. - - Select **Pull request pushes** to receive an email when someone adds commits to a pull request that you're subscribed to. - - Select **Include your own updates** to receive an email when you open, comment on, or close an issue or pull request. - ![Configuring email notification options](/assets/images/help/settings/email_notification_settings.png) - -### Choosing the delivery method for security alerts for vulnerable dependencies - -{% data reusables.repositories.security-alert-delivery-options %} - -{% data reusables.repositories.enable-security-alerts %} - -{% data reusables.user_settings.access_settings %} -{% data reusables.user_settings.notifications %} -3. Under "Security alerts", configure how you would like to receive notifications when {% data variables.product.product_name %} detects a vulnerable dependency in your repository: - ![Options to configure notifications for security alerts](/assets/images/help/settings/vulnerability-alerts-options.png) - - Selecting **UI alerts** displays a banner in the {% data variables.product.product_name %} interface. - - Selecting **Command Line** displays warnings as a callback when you push to a repository with vulnerabilities. - - Selecting **Web** allows you to access the notifications on {% data variables.product.product_location %}. - - Selecting **Email each time a vulnerability is found** sends an email to your default notification email. - - Selecting **Email a digest summary of vulnerabilities** sends a digest email with a summary of up to 10 repositories' security alerts. Use the drop-down menu to choose to receive digest emails daily or weekly. - -### Further reading - -- "[About notifications](/enterprise/{{ currentVersion }}/user/github/receiving-notifications-about-activity-on-github/about-notifications)" -- "[About email notifications](/enterprise/{{ currentVersion }}/user/github/receiving-notifications-about-activity-on-github/about-email-notifications)" -- "[About web notifications](/enterprise/{{ currentVersion }}/user/github/receiving-notifications-about-activity-on-github/about-web-notifications)" -- "[Watching and unwatching repositories](/enterprise/{{ currentVersion }}/user/github/receiving-notifications-about-activity-on-github/watching-and-unwatching-repositories)" -- "[Managing email preferences](/articles/managing-email-preferences)" diff --git a/content/github/receiving-notifications-about-activity-on-github/getting-started-with-notifications.md b/content/github/receiving-notifications-about-activity-on-github/getting-started-with-notifications.md deleted file mode 100644 index 8f969e28d2..0000000000 --- a/content/github/receiving-notifications-about-activity-on-github/getting-started-with-notifications.md +++ /dev/null @@ -1,8 +0,0 @@ ---- -title: Getting started with notifications -intro: 'Notifications help you keep track of the conversations and updates you''re interested in. You can receive notifications on {% data variables.product.product_name %} or through your email client for conversations you''re participating in or updates you''re watching.' -mapTopic: true -versions: - enterprise-server: <2.21 ---- - diff --git a/content/github/receiving-notifications-about-activity-on-github/index.md b/content/github/receiving-notifications-about-activity-on-github/index.md deleted file mode 100644 index cbb97cfc98..0000000000 --- a/content/github/receiving-notifications-about-activity-on-github/index.md +++ /dev/null @@ -1,23 +0,0 @@ ---- -title: Receiving notifications about activity on GitHub -versions: - enterprise-server: <2.21 ---- - -### Table of Contents - -{% topic_link_in_list /getting-started-with-notifications %} - {% link_in_list /about-notifications %} - {% link_in_list /about-web-notifications %} - {% link_in_list /about-email-notifications %} - {% link_in_list /accessing-your-notifications %} - {% link_in_list /choosing-the-delivery-method-for-your-notifications %} -{% topic_link_in_list /managing-your-notifications %} - {% link_in_list /marking-notifications-as-read %} - {% link_in_list /saving-notifications-for-later %} - {% link_in_list /subscribing-to-and-unsubscribing-from-notifications %} - {% link_in_list /listing-the-issues-and-pull-requests-youre-subscribed-to %} - {% link_in_list /watching-and-unwatching-repositories %} - {% link_in_list /watching-and-unwatching-releases-for-a-repository %} - {% link_in_list /watching-and-unwatching-team-discussions %} - {% link_in_list /listing-the-repositories-youre-watching %} diff --git a/content/github/receiving-notifications-about-activity-on-github/listing-the-issues-and-pull-requests-youre-subscribed-to.md b/content/github/receiving-notifications-about-activity-on-github/listing-the-issues-and-pull-requests-youre-subscribed-to.md deleted file mode 100644 index 9851bd3765..0000000000 --- a/content/github/receiving-notifications-about-activity-on-github/listing-the-issues-and-pull-requests-youre-subscribed-to.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: Listing the issues and pull requests you're subscribed to -intro: 'You can see an overview of all the issues and pull requests you''re subscribed to, making it easier to navigate to conversations you''re interested in but have not received recent notifications about.' -versions: - enterprise-server: <2.21 ---- - -The subscriptions list does not include every issue and pull request from repositories you're watching. You can manually subscribe to a specific issue or pull request to include it in your subscriptions list. For more information, see "[Subscribing to and unsubscribing from notifications](/enterprise/{{ currentVersion }}/user/github/receiving-notifications-about-activity-on-github/subscribing-to-and-unsubscribing-from-notifications)" and "[Watching and unwatching repositories](/enterprise/{{ currentVersion }}/user/github/receiving-notifications-about-activity-on-github/watching-and-unwatching-repositories)." - -### Viewing a list of your subscriptions - -1. In the upper-right corner of any page, click {% octicon "bell" aria-label="The notifications bell" %}. If you've disabled web notifications and you don't see the bell icon, you can navigate to . For more information, see "[Choosing the delivery method for your notifications](/enterprise/{{ currentVersion }}/user/github/receiving-notifications-about-activity-on-github/choosing-the-delivery-method-for-your-notifications)." -![Notification indicating any unread message](/assets/images/help/notifications/notifications_general_existence_indicator.png) -2. Click **Subscriptions** -![Subscriptions tab](/assets/images/help/notifications/subscriptions-tab.png) - -### Unsubscribing from issues and pull requests - -You can unsubscribe from issues and pull requests directly from your subscriptions list. - -1. To the left of each issue or pull request you want to unsubscribe from, select the checkbox. - ![Checkbox to unsubscribe](/assets/images/help/notifications/unsubscribe-checkbox.png) -2. In the upper-right corner of the page, click **Unsubscribe**. - ![Unsubscribe button](/assets/images/help/notifications/unsubscribe-button.png) diff --git a/content/github/receiving-notifications-about-activity-on-github/listing-the-repositories-youre-watching.md b/content/github/receiving-notifications-about-activity-on-github/listing-the-repositories-youre-watching.md deleted file mode 100644 index 3d3f5c7333..0000000000 --- a/content/github/receiving-notifications-about-activity-on-github/listing-the-repositories-youre-watching.md +++ /dev/null @@ -1,18 +0,0 @@ ---- -title: Listing the repositories you're watching -intro: You can get an overview of all the repositories you're watching so that you can easily remove any you're no longer interested in receiving notifications for. -versions: - enterprise-server: <2.21 ---- - -{% data reusables.notifications.access_watching %} -2. Click **Watching** to view the list of repositories you're watching. -![Listing of watched repositories](/assets/images/help/notifications/notifications-watching-tab.png) -3. Click **Unwatch** or **Unwatch releases** next to the repository you're no longer interested in receiving notifications for. - -### Further reading - -- "[About notifications](/enterprise/{{ currentVersion }}/user/github/receiving-notifications-about-activity-on-github/about-notifications)" -- "[Watching and unwatching repositories](/enterprise/{{ currentVersion }}/user/github/receiving-notifications-about-activity-on-github/watching-and-unwatching-repositories)" - -- "[Viewing all of your issues and pull requests](/articles/viewing-all-of-your-issues-and-pull-requests)" diff --git a/content/github/receiving-notifications-about-activity-on-github/managing-your-notifications.md b/content/github/receiving-notifications-about-activity-on-github/managing-your-notifications.md deleted file mode 100644 index 707a5c8163..0000000000 --- a/content/github/receiving-notifications-about-activity-on-github/managing-your-notifications.md +++ /dev/null @@ -1,8 +0,0 @@ ---- -title: Managing your notifications -intro: 'To make it easier to receive the notifications you''re interested in, you can mark notifications as read, subscribe and unsubscribe from notifications, and watch and unwatch repositories.' -mapTopic: true -versions: - enterprise-server: <2.21 ---- - diff --git a/content/github/receiving-notifications-about-activity-on-github/marking-notifications-as-read.md b/content/github/receiving-notifications-about-activity-on-github/marking-notifications-as-read.md deleted file mode 100644 index a00046cda5..0000000000 --- a/content/github/receiving-notifications-about-activity-on-github/marking-notifications-as-read.md +++ /dev/null @@ -1,42 +0,0 @@ ---- -title: Marking notifications as read -intro: 'You can mark web notifications as read without reviewing them. If an update is made to the conversation, you''ll receive a new notification. You can also mark read notifications as unread, so you can easily find them again later.' -versions: - enterprise-server: <2.21 ---- - -For more information about how to access your web notifications, see "[Accessing your notifications](/enterprise/{{ currentVersion }}/user/github/receiving-notifications-about-activity-on-github/accessing-your-notifications)." - -### Marking a notification as read - -{% data reusables.notifications.access_notifications %} -1. In the list of unread notifications, find the notification you would like to mark as read. -1. On the right side of the notification, click {% octicon "check" aria-label="The check symbol" %}. -![Button to mark a single notification as read](/assets/images/help/notifications/notifications_mark_individual_as_read.png) - -### Marking a notification as unread - -{% data reusables.notifications.access_notifications %} -1. In the left sidebar, click **Read**. -![All notifications button](/assets/images/help/notifications/sidebar_read_notifications.png) -1. In the list of read notifications, find the notification you would like to mark as unread. -1. On the right side of the notification, click {% octicon "dot-fill" aria-label="The dot symbol" %}. -![Button to mark a notification as read](/assets/images/help/notifications/notifications_mark_individual_as_unread.png) - -### Marking all notifications as read - -{% data reusables.notifications.access_notifications %} -1. In the upper right corner of the page, click **Mark all as read**. -![Button to mark all notifications as read](/assets/images/help/notifications/notifications_mark_all_as_read.png) - -### Marking all notifications from a repository as read - -{% data reusables.notifications.access_notifications %} -1. In the left sidebar, click the name of the repository for which you'd like to mark all notifications as read. -1. In the list of notifications, on the right side of the repository name, click {% octicon "check" aria-label="The check symbol" %}. -![Button to mark all notifications from a repository as read](/assets/images/help/notifications/notifications_repositories_mark_all_as_read.png) - -### Further reading - -- "[About notifications](/enterprise/{{ currentVersion }}/user/github/receiving-notifications-about-activity-on-github/about-notifications)" -- "[About web notifications](/enterprise/{{ currentVersion }}/user/github/receiving-notifications-about-activity-on-github/about-web-notifications)" diff --git a/content/github/receiving-notifications-about-activity-on-github/saving-notifications-for-later.md b/content/github/receiving-notifications-about-activity-on-github/saving-notifications-for-later.md deleted file mode 100644 index 88d27af6e2..0000000000 --- a/content/github/receiving-notifications-about-activity-on-github/saving-notifications-for-later.md +++ /dev/null @@ -1,30 +0,0 @@ ---- -title: Saving notifications for later -intro: You can save web notifications to follow up on them at a later time. -versions: - enterprise-server: <2.21 ---- - -When you save a notification, it moves to the Saved for later tab on your notifications page. For more information, see "[About web notifications](/enterprise/{{ currentVersion }}/user/github/receiving-notifications-about-activity-on-github/about-web-notifications)." - -### Saving a notification for later - -{% data reusables.notifications.access_notifications %} -1. In the list of notifications, find the notification you would like to save for later. -1. On the right side of the notification, click {% octicon "bookmark" aria-label="The bookmark button" %}. -![Button to save a notification](/assets/images/help/notifications/save_notification.png) -{% data reusables.notifications.saved_for_late_sidebar %} - -### Removing a saved notification - -{% data reusables.notifications.access_notifications %} -{% data reusables.notifications.saved_for_late_sidebar %} -1. In your list of saved notifications, find the saved notification you would like to remove. -1. On the right side of the saved notification, click {% octicon "bookmark" aria-label="The bookmark button" %}. -![Button to remove saved notification](/assets/images/help/notifications/remove-saved-notification.png) - -### Further reading - -- "[About notifications](/enterprise/{{ currentVersion }}/user/github/receiving-notifications-about-activity-on-github/about-notifications)" -- "[Accessing your notifications](/enterprise/{{ currentVersion }}/user/github/receiving-notifications-about-activity-on-github/accessing-your-notifications)" -- "[Marking notifications as read](/enterprise/{{ currentVersion }}/user/github/receiving-notifications-about-activity-on-github/marking-notifications-as-read)" diff --git a/content/github/receiving-notifications-about-activity-on-github/subscribing-to-and-unsubscribing-from-notifications.md b/content/github/receiving-notifications-about-activity-on-github/subscribing-to-and-unsubscribing-from-notifications.md deleted file mode 100644 index 56449b1787..0000000000 --- a/content/github/receiving-notifications-about-activity-on-github/subscribing-to-and-unsubscribing-from-notifications.md +++ /dev/null @@ -1,49 +0,0 @@ ---- -title: Subscribing to and unsubscribing from notifications -intro: 'You can subscribe to individual conversations in issues, pull requests, and team discussions, even if you''re not watching the repository or a member of the team where the conversation is occurring. If you''re no longer interested in a conversation, you can unsubscribe or customize the types of notifications you receive.' -versions: - enterprise-server: <2.21 ---- - -### Managing your notification settings for an issue or pull request - -{% data reusables.repositories.navigate-to-repo %} -{% data reusables.repositories.sidebar-issue-pr %} -3. Choose an issue or pull request to subscribe to. -4. In the right sidebar, click **Subscribe** or **Unsubscribe**. - ![Conversation Subscribe button](/assets/images/help/notifications/subscribe_button_with_gear.png) -5. To customize your notifications, click {% octicon "gear" aria-label="The gear icon" %}. - ![Gear button next to Conversation Subscribe](/assets/images/help/notifications/subscribe_button_with_gear_chosen.png) -6. Select the type of notifications you want to receive for this conversation, then click **Save**. - ![Conversation Subscribe options list](/assets/images/help/notifications/subscribe_options.png) -You can see a list of all the issues and pull requests you're subscribed to. For more information, see "[Listing the issues and pull requests you're subscribed to](/enterprise/{{ currentVersion }}/user/github/receiving-notifications-about-activity-on-github/listing-the-issues-and-pull-requests-youre-subscribed-to)." - -### Subscribing to team discussions - -{% data reusables.organizations.team-discussions-are-for-orgs %} - -{% data reusables.profile.access_profile %} -{% data reusables.profile.access_org %} -{% data reusables.organizations.specific_team %} -5. On the team page, find the discussion you want to subscribe to. -6. In the top right corner of the discussion, click {% octicon "unmute" aria-label="The subscribe symbol" %} to subscribe to the discussion. - ![Team discussion Subscribe button](/assets/images/help/notifications/team-discussion-subscribe-button.png) - -### Unsubscribing from team discussions - -{% data reusables.organizations.team-discussions-are-for-orgs %} - -{% data reusables.profile.access_profile %} -{% data reusables.profile.access_org %} -{% data reusables.organizations.specific_team %} -5. On the team page, find the discussion you want to unsubscribe from. -6. In the top right corner of the discussion, click {% octicon "mute" aria-label="The unsubscribe symbol" %} to unsubscribe from the discussion. - ![Team discussion Subscribe button](/assets/images/help/notifications/team-discussion-unsubscribe-button.png) - -### Further reading - -- "[About notifications](/enterprise/{{ currentVersion }}/user/github/receiving-notifications-about-activity-on-github/about-notifications)" -- "[About conversations on {% data variables.product.product_name %}](/articles/about-conversations-on-github)" -- "[Watching and unwatching repositories](/enterprise/{{ currentVersion }}/user/github/receiving-notifications-about-activity-on-github/watching-and-unwatching-repositories)" - -- "[Listing the repositories you're watching](/enterprise/{{ currentVersion }}/user/github/receiving-notifications-about-activity-on-github/listing-the-repositories-youre-watching)" diff --git a/content/github/receiving-notifications-about-activity-on-github/watching-and-unwatching-releases-for-a-repository.md b/content/github/receiving-notifications-about-activity-on-github/watching-and-unwatching-releases-for-a-repository.md deleted file mode 100644 index 47063d5be9..0000000000 --- a/content/github/receiving-notifications-about-activity-on-github/watching-and-unwatching-releases-for-a-repository.md +++ /dev/null @@ -1,25 +0,0 @@ ---- -title: Watching and unwatching releases for a repository -intro: You can watch releases in a repository to receive notifications when a new release is published without receiving notifications about other updates to the repository. You can also unwatch releases if you no longer want to receive notifications for new releases in a repository. -versions: - enterprise-server: <2.21 ---- - -### Watching releases for a repository - -{% data reusables.repositories.navigate-to-repo %} -2. In the upper-right corner, click **Releases only** from the "Watch" drop-down menu. - ![Watch options in a drop-down menu for releases](/assets/images/help/notifications/watch-releases.png) - -### Unwatching releases for a repository - -{% data reusables.repositories.navigate-to-repo %} -2. In the upper-right corner, click **Not watching** from the "Watch" drop-down menu. - ![Watch options in a drop-down menu for releases](/assets/images/help/notifications/unwatch-repository.png) - -### Further reading - -- "[About releases](/articles/about-releases)" -- "[About notifications](/enterprise/{{ currentVersion }}/user/github/receiving-notifications-about-activity-on-github/about-notifications)" -- "[Watching and unwatching repositories](/enterprise/{{ currentVersion }}/user/github/receiving-notifications-about-activity-on-github/watching-and-unwatching-repositories)" - diff --git a/content/github/receiving-notifications-about-activity-on-github/watching-and-unwatching-repositories.md b/content/github/receiving-notifications-about-activity-on-github/watching-and-unwatching-repositories.md deleted file mode 100644 index 716fb5541a..0000000000 --- a/content/github/receiving-notifications-about-activity-on-github/watching-and-unwatching-repositories.md +++ /dev/null @@ -1,49 +0,0 @@ ---- -title: Watching and unwatching repositories -intro: You can watch a repository to receive notifications for new pull requests and issues that are created. You can also unwatch a repository if you no longer want to receive notifications for that specific repository. -versions: - enterprise-server: <2.21 ---- - -{% data reusables.notifications.auto-watch %} For more information, see "[About notifications](/enterprise/{{ currentVersion }}/user/github/receiving-notifications-about-activity-on-github/about-notifications)." - -You can also watch and unwatch releases in a repository. For more information, see "[Watching and unwatching releases for a repository](/enterprise/{{ currentVersion }}/user/github/receiving-notifications-about-activity-on-github/watching-and-unwatching-releases-for-a-repository)." - -### Watching all repositories that you have push access to - -{% data reusables.notifications.access_watching %} -2. Click **Watching**. -![Listing of watched repositories](/assets/images/help/notifications/notifications-watching-tab.png) -3. On the right side of the page, select **Automatically watch**. - ![A checkbox for configuring watching repositories automatically](/assets/images/help/notifications/ent-automatically-watch-repos.png) - -### Watching a single repository - -{% data reusables.repositories.navigate-to-repo %} -2. In the upper-right corner, click **Watching** from the "Watch" drop-down menu. - ![Watch options in a drop-down menu for a repository](/assets/images/help/notifications/watch-repository.png) - -### Unwatching all repositories that you have push access to - -{% data reusables.notifications.access_watching %} -2. Click **Watching**. -![Listing of watched repositories](/assets/images/help/notifications/notifications-watching-tab.png) -3. On the right side of the page, unselect **Automatically watch**. - ![A checkbox for configuring watching repositories automatically](/assets/images/help/notifications/ent-automatically-watch-repos.png) - -### Unwatching a single repository - -{% data reusables.repositories.navigate-to-repo %} -2. In the upper-right corner, click **Unwatch** from the "Watch" drop-down menu. - ![Watch options in a drop-down menu for a repository](/assets/images/help/notifications/unwatch-repository.png) - -{% note %} - -**Note:** You can also choose to ignore a repository. If you ignore a repository, you won't receive any notifications. We don't recommend ignoring repositories as you won't be notified if you're @mentioned. {% if currentVersion == "free-pro-team@latest" %}If you experiencing abuse and want to ignore a repository, please contact {% data variables.contact.contact_support %} so we can help. {% data reusables.policies.abuse %}{% endif %} - -{% endnote %} - -### Further reading - -- "[Subscribing to and unsubscribing from notifications](/enterprise/{{ currentVersion }}/user/github/receiving-notifications-about-activity-on-github/subscribing-to-and-unsubscribing-from-notifications)" -- "[Listing the repositories you're watching](/enterprise/{{ currentVersion }}/user/github/receiving-notifications-about-activity-on-github/listing-the-repositories-youre-watching)" diff --git a/content/github/receiving-notifications-about-activity-on-github/watching-and-unwatching-team-discussions.md b/content/github/receiving-notifications-about-activity-on-github/watching-and-unwatching-team-discussions.md deleted file mode 100644 index 6205d243d6..0000000000 --- a/content/github/receiving-notifications-about-activity-on-github/watching-and-unwatching-team-discussions.md +++ /dev/null @@ -1,62 +0,0 @@ ---- -title: Watching and unwatching team discussions -intro: You can watch a team to receive notifications for team discussions. You can unwatch a team if you no longer want to receive notifications for that team's discussions. -versions: - enterprise-server: <2.21 ---- - -By default, you'll automatically receive notifications for team discussions you're a member of. If you don't want to receive certain notifications for an existing team discussion, you must unwatch that team. You can also unsubscribe or subscribe to specific team discussion posts. For more information, see "[About team discussions](/articles/about-team-discussions)" and "[Subscribing to and unsubscribing from notifications](/enterprise/{{ currentVersion }}/user/github/receiving-notifications-about-activity-on-github/subscribing-to-and-unsubscribing-from-notifications)." - -If you don't want to automatically watch team discussions when you become a member of new teams, you can update your automatic watching settings. - -### Watching all team discussions for new teams you join - -To automatically watch all team discussions for new teams you join, set your automatic watching notification settings. - -{% note %} - -**Note:** By default, this setting is set to **Automatically watching teams**. - -{% endnote %} - -{% data reusables.user_settings.access_settings %} -{% data reusables.user_settings.notifications %} -{% data reusables.user_settings.automatic_watching_box %} select **Automatically watch teams**. -![Checkbox for automatically watching teams](/assets/images/help/notifications/automatic-team-discussions-watching.png) - -### Watching a single team's discussions - -{% data reusables.profile.access_profile %} -{% data reusables.profile.access_org %} -{% data reusables.organizations.specific_team %} -{% data reusables.organizations.watch-team-options %} click **Watch** to open your notifications options. Then click **Watching**. -![Watch options in a drop-down menu for a specific team](/assets/images/help/notifications/specific-team-watch-options.png) - -### Unwatching team discussions for all new teams you join - -If you don't want to automatically receive team discussion notifications when you join a team, you can change your notification settings to unwatch all new teams you join. - -{% data reusables.user_settings.access_settings %} -{% data reusables.user_settings.notifications %} -{% data reusables.user_settings.automatic_watching_box %} unselect **Automatically watch teams**. -![Automatically watching teams setting selected by default](/assets/images/help/notifications/automatic-team-discussions-watching.png) - -### Unwatching a single team's discussions - -{% data reusables.profile.access_profile %} -{% data reusables.profile.access_org %} -{% data reusables.organizations.specific_team %} -{% data reusables.organizations.watch-team-options %} click **Unwatch** to open your notifications options. Then click **Not watching**. -![Watch options in a drop-down menu for a specific team](/assets/images/help/notifications/specific-team-unwatch.png) - -{% note %} - -**Note:** You can also choose to ignore a team's notifications. If you ignore a team, you won't receive any notifications. We don't recommend ignoring teams as you won't be notified if you're @mentioned. - -{% endnote %} - -### Further reading - -- "[About notifications](/enterprise/{{ currentVersion }}/user/github/receiving-notifications-about-activity-on-github/about-notifications)" -- "[About team discussions](/articles/about-team-discussions)" -- "[About teams](/articles/about-teams)" diff --git a/content/github/searching-for-information-on-github/about-searching-on-github.md b/content/github/searching-for-information-on-github/about-searching-on-github.md index 39c71d8a5b..44c994ea1b 100644 --- a/content/github/searching-for-information-on-github/about-searching-on-github.md +++ b/content/github/searching-for-information-on-github/about-searching-on-github.md @@ -12,6 +12,8 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - github search --- {% data reusables.search.you-can-search-globally %} diff --git a/content/github/searching-for-information-on-github/enabling-githubcom-repository-search-in-github-enterprise-server.md b/content/github/searching-for-information-on-github/enabling-githubcom-repository-search-in-github-enterprise-server.md index 20e4232077..df48291d6e 100644 --- a/content/github/searching-for-information-on-github/enabling-githubcom-repository-search-in-github-enterprise-server.md +++ b/content/github/searching-for-information-on-github/enabling-githubcom-repository-search-in-github-enterprise-server.md @@ -9,6 +9,8 @@ redirect_from: versions: free-pro-team: '*' enterprise-server: '*' +topics: + - github search --- If you use {% data variables.product.prodname_ghe_server %} and {% data variables.product.prodname_dotcom_the_website %} and your {% data variables.product.prodname_ghe_server %} site administrator has enabled {% data variables.product.prodname_github_connect %} and {% data variables.product.prodname_unified_search %} for private repositories, then you can search for designated private repositories in the connected organization. diff --git a/content/github/searching-for-information-on-github/finding-files-on-github.md b/content/github/searching-for-information-on-github/finding-files-on-github.md index b5f1b9d22b..6206ebfb82 100644 --- a/content/github/searching-for-information-on-github/finding-files-on-github.md +++ b/content/github/searching-for-information-on-github/finding-files-on-github.md @@ -7,6 +7,8 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - github search --- {% tip %} diff --git a/content/github/searching-for-information-on-github/getting-started-with-searching-on-github.md b/content/github/searching-for-information-on-github/getting-started-with-searching-on-github.md index 75b823525a..b29b41a6b2 100644 --- a/content/github/searching-for-information-on-github/getting-started-with-searching-on-github.md +++ b/content/github/searching-for-information-on-github/getting-started-with-searching-on-github.md @@ -7,5 +7,7 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - github search --- diff --git a/content/github/searching-for-information-on-github/index.md b/content/github/searching-for-information-on-github/index.md index e95408d576..d5c9601add 100644 --- a/content/github/searching-for-information-on-github/index.md +++ b/content/github/searching-for-information-on-github/index.md @@ -8,6 +8,8 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - github search --- diff --git a/content/github/searching-for-information-on-github/searching-code.md b/content/github/searching-for-information-on-github/searching-code.md index f03e26fb17..41c64e585a 100644 --- a/content/github/searching-for-information-on-github/searching-code.md +++ b/content/github/searching-for-information-on-github/searching-code.md @@ -9,6 +9,8 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - github search --- {% data reusables.search.you-can-search-globally %} For more information, see "[About searching on GitHub](/articles/about-searching-on-github)." diff --git a/content/github/searching-for-information-on-github/searching-commits.md b/content/github/searching-for-information-on-github/searching-commits.md index a2fe749c4b..fc7c3da237 100644 --- a/content/github/searching-for-information-on-github/searching-commits.md +++ b/content/github/searching-for-information-on-github/searching-commits.md @@ -7,6 +7,8 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - github search --- You can search for commits globally across all of {% data variables.product.product_name %}, or search for commits within a particular repository or organization. For more information, see "[About searching on {% data variables.product.company_short %}](/articles/about-searching-on-github)." diff --git a/content/github/searching-for-information-on-github/searching-discussions.md b/content/github/searching-for-information-on-github/searching-discussions.md index 5e4097328f..7485132659 100644 --- a/content/github/searching-for-information-on-github/searching-discussions.md +++ b/content/github/searching-for-information-on-github/searching-discussions.md @@ -1,8 +1,10 @@ --- title: Searching discussions -intro: You can search for discussions on {% data variables.product.product_name %} and narrow the results using search qualifiers. +intro: 'You can search for discussions on {% data variables.product.product_name %} and narrow the results using search qualifiers.' versions: free-pro-team: '*' +topics: + - github search --- {% data reusables.discussions.beta %} diff --git a/content/github/searching-for-information-on-github/searching-for-packages.md b/content/github/searching-for-information-on-github/searching-for-packages.md index 908a5b758f..5ec6be82f4 100644 --- a/content/github/searching-for-information-on-github/searching-for-packages.md +++ b/content/github/searching-for-information-on-github/searching-for-packages.md @@ -7,6 +7,8 @@ versions: free-pro-team: '*' enterprise-server: '>=2.22' github-ae: '*' +topics: + - github search --- {% data reusables.package_registry.packages-ghes-release-stage %} diff --git a/content/github/searching-for-information-on-github/searching-for-repositories.md b/content/github/searching-for-information-on-github/searching-for-repositories.md index f66b04b94e..081ea49f58 100644 --- a/content/github/searching-for-information-on-github/searching-for-repositories.md +++ b/content/github/searching-for-information-on-github/searching-for-repositories.md @@ -8,6 +8,8 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - github search --- You can search for repositories globally across all of {% data variables.product.product_location %}, or search for repositories within a particular organization. For more information, see "[About searching on {% data variables.product.prodname_dotcom %}](/articles/about-searching-on-github)." diff --git a/content/github/searching-for-information-on-github/searching-github-marketplace.md b/content/github/searching-for-information-on-github/searching-github-marketplace.md index 8521b5faaa..95b23ef0c2 100644 --- a/content/github/searching-for-information-on-github/searching-github-marketplace.md +++ b/content/github/searching-for-information-on-github/searching-github-marketplace.md @@ -3,6 +3,8 @@ title: Searching GitHub Marketplace intro: 'You can search for apps and actions that are available on {% data variables.product.prodname_marketplace %}.' versions: free-pro-team: '*' +topics: + - github search --- ### About searching {% data variables.product.prodname_marketplace %} diff --git a/content/github/searching-for-information-on-github/searching-in-forks.md b/content/github/searching-for-information-on-github/searching-in-forks.md index 00f94f10b1..4adaa01863 100644 --- a/content/github/searching-for-information-on-github/searching-in-forks.md +++ b/content/github/searching-for-information-on-github/searching-in-forks.md @@ -7,6 +7,8 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - github search --- To show forks in [repository search](/articles/searching-for-repositories) results, add `fork:true` or `fork:only` to your query. diff --git a/content/github/searching-for-information-on-github/searching-issues-and-pull-requests.md b/content/github/searching-for-information-on-github/searching-issues-and-pull-requests.md index 1ee2d6f95e..8175068037 100644 --- a/content/github/searching-for-information-on-github/searching-issues-and-pull-requests.md +++ b/content/github/searching-for-information-on-github/searching-issues-and-pull-requests.md @@ -8,6 +8,8 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - github search --- You can search for issues and pull requests globally across all of {% data variables.product.product_name %}, or search for issues and pull requests within a particular organization. For more information, see "[About searching on {% data variables.product.company_short %}](/articles/about-searching-on-github)." diff --git a/content/github/searching-for-information-on-github/searching-on-github.md b/content/github/searching-for-information-on-github/searching-on-github.md index 26639b46a1..add2f14613 100644 --- a/content/github/searching-for-information-on-github/searching-on-github.md +++ b/content/github/searching-for-information-on-github/searching-on-github.md @@ -7,5 +7,7 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - github search --- diff --git a/content/github/searching-for-information-on-github/searching-topics.md b/content/github/searching-for-information-on-github/searching-topics.md index 99cab36c66..d56c5390ff 100644 --- a/content/github/searching-for-information-on-github/searching-topics.md +++ b/content/github/searching-for-information-on-github/searching-topics.md @@ -7,6 +7,8 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - github search --- ### Search {% data variables.product.product_name %} for topics diff --git a/content/github/searching-for-information-on-github/searching-users.md b/content/github/searching-for-information-on-github/searching-users.md index 325fe570e9..6cd812eb6f 100644 --- a/content/github/searching-for-information-on-github/searching-users.md +++ b/content/github/searching-for-information-on-github/searching-users.md @@ -7,6 +7,8 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - github search --- You can search for users globally across all of {% data variables.product.product_name %}. For more information, see "[About searching on {% data variables.product.company_short %}](/articles/about-searching-on-github)." diff --git a/content/github/searching-for-information-on-github/searching-wikis.md b/content/github/searching-for-information-on-github/searching-wikis.md index 20e4ea13be..121f4d8949 100644 --- a/content/github/searching-for-information-on-github/searching-wikis.md +++ b/content/github/searching-for-information-on-github/searching-wikis.md @@ -7,6 +7,8 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - github search --- You can search wikis globally across all of {% data variables.product.product_name %}, or search wikis within a particular repository or organization. For more information, see "[About searching on {% data variables.product.company_short %}](/articles/about-searching-on-github)." diff --git a/content/github/searching-for-information-on-github/sorting-search-results.md b/content/github/searching-for-information-on-github/sorting-search-results.md index 63a87f4ea8..cca11dff24 100644 --- a/content/github/searching-for-information-on-github/sorting-search-results.md +++ b/content/github/searching-for-information-on-github/sorting-search-results.md @@ -7,6 +7,8 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - github search --- Use the Sort menu to sort results by relevance, number of stars, number of forks, and how recently the items were updated. diff --git a/content/github/searching-for-information-on-github/troubleshooting-search-queries.md b/content/github/searching-for-information-on-github/troubleshooting-search-queries.md index 1ef5321599..c43385c2be 100644 --- a/content/github/searching-for-information-on-github/troubleshooting-search-queries.md +++ b/content/github/searching-for-information-on-github/troubleshooting-search-queries.md @@ -7,6 +7,8 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - github search --- ### Potential timeouts diff --git a/content/github/searching-for-information-on-github/understanding-the-search-syntax.md b/content/github/searching-for-information-on-github/understanding-the-search-syntax.md index 9f09082205..dc1b05d6fe 100644 --- a/content/github/searching-for-information-on-github/understanding-the-search-syntax.md +++ b/content/github/searching-for-information-on-github/understanding-the-search-syntax.md @@ -8,6 +8,8 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - github search --- ### Query for values greater or less than another value diff --git a/content/github/setting-up-and-managing-billing-and-payments-on-github/about-billing-for-git-large-file-storage.md b/content/github/setting-up-and-managing-billing-and-payments-on-github/about-billing-for-git-large-file-storage.md index 7abf04ebd9..84f966fe47 100644 --- a/content/github/setting-up-and-managing-billing-and-payments-on-github/about-billing-for-git-large-file-storage.md +++ b/content/github/setting-up-and-managing-billing-and-payments-on-github/about-billing-for-git-large-file-storage.md @@ -5,6 +5,8 @@ redirect_from: - /articles/about-billing-for-git-large-file-storage versions: free-pro-team: '*' +topics: + - billing --- ### About billing for {% data variables.large_files.product_name_long %} diff --git a/content/github/setting-up-and-managing-billing-and-payments-on-github/about-billing-for-github-accounts.md b/content/github/setting-up-and-managing-billing-and-payments-on-github/about-billing-for-github-accounts.md index ee973ad804..eb9ad6bc36 100644 --- a/content/github/setting-up-and-managing-billing-and-payments-on-github/about-billing-for-github-accounts.md +++ b/content/github/setting-up-and-managing-billing-and-payments-on-github/about-billing-for-github-accounts.md @@ -12,6 +12,8 @@ redirect_from: - /articles/about-billing-for-github-accounts versions: free-pro-team: '*' +topics: + - billing --- For more information on the products available for your account, see "[{% data variables.product.product_name %}'s products](/articles/github-s-products)." You can see pricing and a full list of features for each product at <{% data variables.product.pricing_url %}>. {% data variables.product.product_name %} does not offer custom products or subscriptions. diff --git a/content/github/setting-up-and-managing-billing-and-payments-on-github/about-billing-for-github-actions.md b/content/github/setting-up-and-managing-billing-and-payments-on-github/about-billing-for-github-actions.md index 99af79b584..2a0027703f 100644 --- a/content/github/setting-up-and-managing-billing-and-payments-on-github/about-billing-for-github-actions.md +++ b/content/github/setting-up-and-managing-billing-and-payments-on-github/about-billing-for-github-actions.md @@ -4,6 +4,8 @@ intro: 'If you want to use {% data variables.product.prodname_actions %} beyond product: '{% data reusables.gated-features.actions %}' versions: free-pro-team: '*' +topics: + - billing --- ### About billing for {% data variables.product.prodname_actions %} diff --git a/content/github/setting-up-and-managing-billing-and-payments-on-github/about-billing-for-github-marketplace.md b/content/github/setting-up-and-managing-billing-and-payments-on-github/about-billing-for-github-marketplace.md index ae029cc60b..9c5932d9e1 100644 --- a/content/github/setting-up-and-managing-billing-and-payments-on-github/about-billing-for-github-marketplace.md +++ b/content/github/setting-up-and-managing-billing-and-payments-on-github/about-billing-for-github-marketplace.md @@ -5,6 +5,8 @@ redirect_from: - /articles/about-billing-for-github-marketplace versions: free-pro-team: '*' +topics: + - billing --- {% data variables.product.prodname_marketplace %} includes apps with free and paid pricing plans. After you purchase and install an app, you can upgrade, downgrade, or cancel at any time. diff --git a/content/github/setting-up-and-managing-billing-and-payments-on-github/about-billing-for-github-packages.md b/content/github/setting-up-and-managing-billing-and-payments-on-github/about-billing-for-github-packages.md index 1d3fa8d063..590bd13680 100644 --- a/content/github/setting-up-and-managing-billing-and-payments-on-github/about-billing-for-github-packages.md +++ b/content/github/setting-up-and-managing-billing-and-payments-on-github/about-billing-for-github-packages.md @@ -4,6 +4,8 @@ intro: 'If you want to use {% data variables.product.prodname_registry %} beyond product: '{% data reusables.gated-features.packages %}' versions: free-pro-team: '*' +topics: + - billing --- ### About billing for {% data variables.product.prodname_registry %} diff --git a/content/github/setting-up-and-managing-billing-and-payments-on-github/about-billing-for-github-sponsors.md b/content/github/setting-up-and-managing-billing-and-payments-on-github/about-billing-for-github-sponsors.md index f5cb393123..19604added 100644 --- a/content/github/setting-up-and-managing-billing-and-payments-on-github/about-billing-for-github-sponsors.md +++ b/content/github/setting-up-and-managing-billing-and-payments-on-github/about-billing-for-github-sponsors.md @@ -5,6 +5,8 @@ redirect_from: - /articles/about-billing-for-github-sponsors versions: free-pro-team: '*' +topics: + - billing --- {% data reusables.sponsors.sponsorship-details %} diff --git a/content/github/setting-up-and-managing-billing-and-payments-on-github/about-billing-on-github.md b/content/github/setting-up-and-managing-billing-and-payments-on-github/about-billing-on-github.md index 8b377b21e1..42a40a8e55 100644 --- a/content/github/setting-up-and-managing-billing-and-payments-on-github/about-billing-on-github.md +++ b/content/github/setting-up-and-managing-billing-and-payments-on-github/about-billing-on-github.md @@ -5,6 +5,8 @@ redirect_from: - /articles/about-billing-on-github versions: free-pro-team: '*' +topics: + - billing --- ### Paid features and products diff --git a/content/github/setting-up-and-managing-billing-and-payments-on-github/about-licensing-for-github-advanced-security.md b/content/github/setting-up-and-managing-billing-and-payments-on-github/about-licensing-for-github-advanced-security.md index e60a2c91ff..86893eac64 100644 --- a/content/github/setting-up-and-managing-billing-and-payments-on-github/about-licensing-for-github-advanced-security.md +++ b/content/github/setting-up-and-managing-billing-and-payments-on-github/about-licensing-for-github-advanced-security.md @@ -1,6 +1,7 @@ --- title: About licensing for GitHub Advanced Security intro: 'If you want to use {% data variables.product.prodname_GH_advanced_security %} features in a private or internal repository, you need a license. These features are available free of charge for public repositories.' +product: '{% data reusables.gated-features.ghas %}' versions: free-pro-team: '*' --- @@ -11,22 +12,20 @@ If you want to use {% data variables.product.prodname_GH_advanced_security %} fe {% data reusables.advanced-security.license-overview %} -You can buy a license for an organization that is owned by a user account or for your enterprise account. If you want to use {% data variables.product.prodname_GH_advanced_security %} features for a private, user-owned repository, you must transfer the repository to an organization with a license. - -To discuss licensing for {% data variables.product.prodname_GH_advanced_security %}, contact {% data variables.contact.contact_enterprise_sales %}. +To discuss licensing {% data variables.product.prodname_GH_advanced_security %} for your enterprise account, contact {% data variables.contact.contact_enterprise_sales %}. ### About committer numbers for {% data variables.product.prodname_GH_advanced_security %} We record and display two numbers of committers for {% data variables.product.prodname_GH_advanced_security %} on {% data variables.product.prodname_dotcom_the_website %}: -- **Committers** is the number of committers who contributed to at least one private repository in an organization and who use a seat in your license. That is, they are also an organization member, an external collaborator, or have a pending invitation to join your organization or enterprise account. +- **Committers** is the number of committers who contributed to at least one private repository in an organization and who use a seat in your license. That is, they are also an organization member, an external collaborator, or have a pending invitation to join an organization in your enterprise. - **Unique to this repository/organization** is the number of committers who contributed only to this repository, or to repositories in this organization. This number shows how many license seats you can free up by disabling {% data variables.product.prodname_GH_advanced_security %} for that repository or organization. If there are no unique committers, this means that all active committers also contribute to other repositories or organizations that use {% data variables.product.prodname_GH_advanced_security %}. Disabling the feature for that repository or organization would not free any seats on your license. {% note %} -**Note:** The total number of seats used in your license is not the sum of either the committers or the unique committers to each repository or organization. This is because there are people who contribute to multiple repositories or organizations. The number of seats used is measured across the whole enterprise or organization account to ensure that each person is counted only once regardless of how many repositories or organizations they contribute to. +**Note:** The total number of seats used in your license is not the sum of either the committers or the unique committers to each repository or organization. This is because there are people who contribute to multiple repositories or organizations. The number of seats used is measured across the whole enterprise account to ensure that each person is counted only once regardless of how many repositories or organizations they contribute to. {% endnote %} @@ -38,7 +37,9 @@ If you are over your license limit, {% data variables.product.prodname_GH_advanc As soon as you free up some seats, by disabling {% data variables.product.prodname_GH_advanced_security %} for some repositories or by increasing your license size, the options for enabling {% data variables.product.prodname_GH_advanced_security %} will work again as normal. -For information on viewing usage, see "[Viewing your GitHub Advanced Security usage](/github/setting-up-and-managing-billing-and-payments-on-github/viewing-your-github-advanced-security-usage)." +You can enforce policies to allow or disallow the use of {% data variables.product.prodname_advanced_security %} by organizations owned by your enterprise account. For more information, see "[Enforcing policies for {% data variables.product.prodname_advanced_security %} in your enterprise account](/github/setting-up-and-managing-your-enterprise/enforcing-policies-for-advanced-security-in-your-enterprise-account)." + +For more information on viewing license usage, see "[Viewing your {% data variables.product.prodname_GH_advanced_security %} usage](/github/setting-up-and-managing-billing-and-payments-on-github/viewing-your-github-advanced-security-usage)." ### Getting the most out of your {% data variables.product.prodname_GH_advanced_security %} license @@ -47,4 +48,4 @@ When you decide which repositories and organizations to prioritize for {% data v - Codebases that are the most critical to your company's success. These are the projects for which the introduction of vulnerable code, hard-coded secrets, or vulnerable dependencies would have the greatest impact on your company. - Codebases with the highest commit frequency. These are the most actively developed projects, consequently there is a higher risk that security problems could be introduced. -When you have enabled {% data variables.product.prodname_GH_advanced_security %} for these organizations or repositories, you should assess which other codebases you could add without adding any extra unique committers and using up more seats on your license. After this, review the next most important and busy code bases. If you want to increase the number of seats in your license, contact {% data variables.contact.contact_enterprise_sales %}. +When you have enabled {% data variables.product.prodname_GH_advanced_security %} for these organizations or repositories, you should assess which other codebases you could add without adding any extra unique committers and using up more seats on your license. After this, review the next most important and busy codebases. If you want to increase the number of seats in your license, contact {% data variables.contact.contact_enterprise_sales %}. diff --git a/content/github/setting-up-and-managing-billing-and-payments-on-github/about-organizations-for-procurement-companies.md b/content/github/setting-up-and-managing-billing-and-payments-on-github/about-organizations-for-procurement-companies.md index 620bb92d7c..7528a07c86 100644 --- a/content/github/setting-up-and-managing-billing-and-payments-on-github/about-organizations-for-procurement-companies.md +++ b/content/github/setting-up-and-managing-billing-and-payments-on-github/about-organizations-for-procurement-companies.md @@ -6,6 +6,8 @@ redirect_from: - /articles/about-organizations-for-procurement-companies versions: free-pro-team: '*' +topics: + - billing --- To access an organization, each member must sign into their own personal user account. diff --git a/content/github/setting-up-and-managing-billing-and-payments-on-github/about-per-user-pricing.md b/content/github/setting-up-and-managing-billing-and-payments-on-github/about-per-user-pricing.md index 4ad2ca3d40..88e02ca788 100644 --- a/content/github/setting-up-and-managing-billing-and-payments-on-github/about-per-user-pricing.md +++ b/content/github/setting-up-and-managing-billing-and-payments-on-github/about-per-user-pricing.md @@ -5,6 +5,8 @@ redirect_from: - /articles/about-per-user-pricing versions: free-pro-team: '*' +topics: + - billing --- New organizations can build public and open-source projects with {% data variables.product.prodname_free_team %}, or [upgrade]({% data variables.product.pricing_url %}) to a paid product with per-user pricing. diff --git a/content/github/setting-up-and-managing-billing-and-payments-on-github/adding-information-to-your-receipts.md b/content/github/setting-up-and-managing-billing-and-payments-on-github/adding-information-to-your-receipts.md index 978c384796..3f9b261206 100644 --- a/content/github/setting-up-and-managing-billing-and-payments-on-github/adding-information-to-your-receipts.md +++ b/content/github/setting-up-and-managing-billing-and-payments-on-github/adding-information-to-your-receipts.md @@ -13,6 +13,8 @@ redirect_from: - /articles/adding-information-to-your-receipts versions: free-pro-team: '*' +topics: + - billing --- Your receipts include your {% data variables.product.prodname_dotcom %} subscription as well as any subscriptions for [other paid features and products](/articles/about-billing-on-github). diff --git a/content/github/setting-up-and-managing-billing-and-payments-on-github/adding-or-editing-a-payment-method.md b/content/github/setting-up-and-managing-billing-and-payments-on-github/adding-or-editing-a-payment-method.md index 2252335a71..dbdcb5afdd 100644 --- a/content/github/setting-up-and-managing-billing-and-payments-on-github/adding-or-editing-a-payment-method.md +++ b/content/github/setting-up-and-managing-billing-and-payments-on-github/adding-or-editing-a-payment-method.md @@ -17,6 +17,8 @@ redirect_from: - /articles/adding-or-editing-a-payment-method versions: free-pro-team: '*' +topics: + - billing --- {% data reusables.dotcom_billing.payment-methods %} {% data reusables.dotcom_billing.same-payment-method %} diff --git a/content/github/setting-up-and-managing-billing-and-payments-on-github/canceling-a-github-marketplace-app.md b/content/github/setting-up-and-managing-billing-and-payments-on-github/canceling-a-github-marketplace-app.md index 8ea7be345d..56f1b47629 100644 --- a/content/github/setting-up-and-managing-billing-and-payments-on-github/canceling-a-github-marketplace-app.md +++ b/content/github/setting-up-and-managing-billing-and-payments-on-github/canceling-a-github-marketplace-app.md @@ -7,6 +7,8 @@ redirect_from: - /articles/canceling-a-github-marketplace-app versions: free-pro-team: '*' +topics: + - billing --- When you cancel an app, your subscription remains active until the end of your current billing cycle. The cancellation takes effect on your next billing date. For more information, see "[About billing for {% data variables.product.prodname_marketplace %}](/articles/about-billing-for-github-marketplace)." diff --git a/content/github/setting-up-and-managing-billing-and-payments-on-github/changing-the-duration-of-your-billing-cycle.md b/content/github/setting-up-and-managing-billing-and-payments-on-github/changing-the-duration-of-your-billing-cycle.md index be7799346d..69126ef59b 100644 --- a/content/github/setting-up-and-managing-billing-and-payments-on-github/changing-the-duration-of-your-billing-cycle.md +++ b/content/github/setting-up-and-managing-billing-and-payments-on-github/changing-the-duration-of-your-billing-cycle.md @@ -8,6 +8,8 @@ redirect_from: - /articles/changing-the-duration-of-your-billing-cycle versions: free-pro-team: '*' +topics: + - billing --- When you change your billing cycle's duration, your {% data variables.product.prodname_dotcom %} subscription, along with any other paid features and products, will be moved to your new billing cycle on your next billing date. diff --git a/content/github/setting-up-and-managing-billing-and-payments-on-github/creating-and-paying-for-an-organization-on-behalf-of-a-client.md b/content/github/setting-up-and-managing-billing-and-payments-on-github/creating-and-paying-for-an-organization-on-behalf-of-a-client.md index c1743cd9df..c68cc1fd99 100644 --- a/content/github/setting-up-and-managing-billing-and-payments-on-github/creating-and-paying-for-an-organization-on-behalf-of-a-client.md +++ b/content/github/setting-up-and-managing-billing-and-payments-on-github/creating-and-paying-for-an-organization-on-behalf-of-a-client.md @@ -5,6 +5,8 @@ redirect_from: - /articles/creating-and-paying-for-an-organization-on-behalf-of-a-client versions: free-pro-team: '*' +topics: + - billing --- ### Requirements diff --git a/content/github/setting-up-and-managing-billing-and-payments-on-github/discounted-subscriptions-for-github-accounts.md b/content/github/setting-up-and-managing-billing-and-payments-on-github/discounted-subscriptions-for-github-accounts.md index 4f1306773f..171d6f1003 100644 --- a/content/github/setting-up-and-managing-billing-and-payments-on-github/discounted-subscriptions-for-github-accounts.md +++ b/content/github/setting-up-and-managing-billing-and-payments-on-github/discounted-subscriptions-for-github-accounts.md @@ -8,6 +8,8 @@ redirect_from: - /articles/discounted-subscriptions-for-github-accounts versions: free-pro-team: '*' +topics: + - billing --- {% tip %} diff --git a/content/github/setting-up-and-managing-billing-and-payments-on-github/downgrading-a-sponsorship.md b/content/github/setting-up-and-managing-billing-and-payments-on-github/downgrading-a-sponsorship.md index 4d9595814c..55d99d1503 100644 --- a/content/github/setting-up-and-managing-billing-and-payments-on-github/downgrading-a-sponsorship.md +++ b/content/github/setting-up-and-managing-billing-and-payments-on-github/downgrading-a-sponsorship.md @@ -5,6 +5,8 @@ redirect_from: - /articles/downgrading-a-sponsorship versions: free-pro-team: '*' +topics: + - billing --- {% data reusables.sponsors.org-sponsors-release-phase %} diff --git a/content/github/setting-up-and-managing-billing-and-payments-on-github/downgrading-git-large-file-storage.md b/content/github/setting-up-and-managing-billing-and-payments-on-github/downgrading-git-large-file-storage.md index 8ae0090550..d297c4ee39 100644 --- a/content/github/setting-up-and-managing-billing-and-payments-on-github/downgrading-git-large-file-storage.md +++ b/content/github/setting-up-and-managing-billing-and-payments-on-github/downgrading-git-large-file-storage.md @@ -7,6 +7,8 @@ redirect_from: - /articles/downgrading-git-large-file-storage versions: free-pro-team: '*' +topics: + - billing --- When you downgrade your number of data packs, your change takes effect on your next billing date. For more information, see "[About billing for {% data variables.large_files.product_name_long %}](/articles/about-billing-for-git-large-file-storage)." diff --git a/content/github/setting-up-and-managing-billing-and-payments-on-github/downgrading-the-billing-plan-for-a-github-marketplace-app.md b/content/github/setting-up-and-managing-billing-and-payments-on-github/downgrading-the-billing-plan-for-a-github-marketplace-app.md index 0ee8629d63..b9c50ec438 100644 --- a/content/github/setting-up-and-managing-billing-and-payments-on-github/downgrading-the-billing-plan-for-a-github-marketplace-app.md +++ b/content/github/setting-up-and-managing-billing-and-payments-on-github/downgrading-the-billing-plan-for-a-github-marketplace-app.md @@ -7,6 +7,8 @@ redirect_from: - /articles/downgrading-the-billing-plan-for-a-github-marketplace-app versions: free-pro-team: '*' +topics: + - billing --- When you downgrade an app, your subscription remains active until the end of your current billing cycle. The downgrade takes effect on your next billing date. For more information, see "[About billing for {% data variables.product.prodname_marketplace %}](/articles/about-billing-for-github-marketplace)." diff --git a/content/github/setting-up-and-managing-billing-and-payments-on-github/downgrading-your-github-subscription.md b/content/github/setting-up-and-managing-billing-and-payments-on-github/downgrading-your-github-subscription.md index 52e4c319e3..cbc71c572f 100644 --- a/content/github/setting-up-and-managing-billing-and-payments-on-github/downgrading-your-github-subscription.md +++ b/content/github/setting-up-and-managing-billing-and-payments-on-github/downgrading-your-github-subscription.md @@ -17,6 +17,8 @@ redirect_from: - /articles/downgrading-your-github-subscription versions: free-pro-team: '*' +topics: + - billing --- ### Downgrading your {% data variables.product.product_name %} subscription diff --git a/content/github/setting-up-and-managing-billing-and-payments-on-github/how-does-upgrading-or-downgrading-affect-the-billing-process.md b/content/github/setting-up-and-managing-billing-and-payments-on-github/how-does-upgrading-or-downgrading-affect-the-billing-process.md index 28dcc69c66..5ee620bf4b 100644 --- a/content/github/setting-up-and-managing-billing-and-payments-on-github/how-does-upgrading-or-downgrading-affect-the-billing-process.md +++ b/content/github/setting-up-and-managing-billing-and-payments-on-github/how-does-upgrading-or-downgrading-affect-the-billing-process.md @@ -5,6 +5,8 @@ redirect_from: - /articles/how-does-upgrading-or-downgrading-affect-the-billing-process versions: free-pro-team: '*' +topics: + - billing --- Changes to your paid user account or organization subscription does not affect subscriptions or payments for other paid {% data variables.product.prodname_dotcom %} features, such as {% data variables.large_files.product_name_long %} or paid apps purchased in {% data variables.product.prodname_marketplace %}. diff --git a/content/github/setting-up-and-managing-billing-and-payments-on-github/index.md b/content/github/setting-up-and-managing-billing-and-payments-on-github/index.md index d96469992f..486292fcdd 100644 --- a/content/github/setting-up-and-managing-billing-and-payments-on-github/index.md +++ b/content/github/setting-up-and-managing-billing-and-payments-on-github/index.md @@ -5,6 +5,8 @@ redirect_from: - /categories/setting-up-and-managing-billing-and-payments-on-github versions: free-pro-team: '*' +topics: + - billing --- diff --git a/content/github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-git-large-file-storage.md b/content/github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-git-large-file-storage.md index 8e2bf2e7cc..bca4ee4352 100644 --- a/content/github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-git-large-file-storage.md +++ b/content/github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-git-large-file-storage.md @@ -9,5 +9,7 @@ redirect_from: mapTopic: true versions: free-pro-team: '*' +topics: + - billing --- diff --git a/content/github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-actions.md b/content/github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-actions.md index 39f3088888..b8c8c8f629 100644 --- a/content/github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-actions.md +++ b/content/github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-actions.md @@ -4,5 +4,7 @@ intro: 'You can view your usage and set a spending limit for {% data variables.p mapTopic: true versions: free-pro-team: '*' +topics: + - billing --- diff --git a/content/github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-marketplace-apps.md b/content/github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-marketplace-apps.md index 3f00310c38..8eec46d9b3 100644 --- a/content/github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-marketplace-apps.md +++ b/content/github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-marketplace-apps.md @@ -8,5 +8,7 @@ redirect_from: mapTopic: true versions: free-pro-team: '*' +topics: + - billing --- diff --git a/content/github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-packages.md b/content/github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-packages.md index 18f10a288a..4842c9eb73 100644 --- a/content/github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-packages.md +++ b/content/github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-packages.md @@ -4,5 +4,7 @@ intro: 'You can view your {% data variables.product.prodname_registry %} usage a mapTopic: true versions: free-pro-team: '*' +topics: + - billing --- diff --git a/content/github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-sponsors.md b/content/github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-sponsors.md index f03d1f05d6..9b58bc5296 100644 --- a/content/github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-sponsors.md +++ b/content/github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-sponsors.md @@ -6,5 +6,7 @@ redirect_from: - /articles/managing-billing-for-github-sponsors versions: free-pro-team: '*' +topics: + - billing --- diff --git a/content/github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-your-github-account.md b/content/github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-your-github-account.md index 929708d3ea..c9ca0b8cc9 100644 --- a/content/github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-your-github-account.md +++ b/content/github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-your-github-account.md @@ -14,5 +14,7 @@ redirect_from: mapTopic: true versions: free-pro-team: '*' +topics: + - billing --- diff --git a/content/github/setting-up-and-managing-billing-and-payments-on-github/managing-licensing-for-github-advanced-security.md b/content/github/setting-up-and-managing-billing-and-payments-on-github/managing-licensing-for-github-advanced-security.md index 6af70a3655..c10dea733a 100644 --- a/content/github/setting-up-and-managing-billing-and-payments-on-github/managing-licensing-for-github-advanced-security.md +++ b/content/github/setting-up-and-managing-billing-and-payments-on-github/managing-licensing-for-github-advanced-security.md @@ -2,6 +2,7 @@ title: Managing licensing for GitHub Advanced Security intro: 'You can view and manage your use of seats on a license for {% data variables.product.prodname_advanced_security %}.' mapTopic: true +product: '{% data reusables.gated-features.ghas %}' versions: free-pro-team: '*' --- diff --git a/content/github/setting-up-and-managing-billing-and-payments-on-github/managing-your-github-billing-settings.md b/content/github/setting-up-and-managing-billing-and-payments-on-github/managing-your-github-billing-settings.md index e684dad17c..1f95070192 100644 --- a/content/github/setting-up-and-managing-billing-and-payments-on-github/managing-your-github-billing-settings.md +++ b/content/github/setting-up-and-managing-billing-and-payments-on-github/managing-your-github-billing-settings.md @@ -12,5 +12,7 @@ redirect_from: mapTopic: true versions: free-pro-team: '*' +topics: + - billing --- diff --git a/content/github/setting-up-and-managing-billing-and-payments-on-github/managing-your-spending-limit-for-github-actions.md b/content/github/setting-up-and-managing-billing-and-payments-on-github/managing-your-spending-limit-for-github-actions.md index 0640df74bb..5c60d891b5 100644 --- a/content/github/setting-up-and-managing-billing-and-payments-on-github/managing-your-spending-limit-for-github-actions.md +++ b/content/github/setting-up-and-managing-billing-and-payments-on-github/managing-your-spending-limit-for-github-actions.md @@ -4,6 +4,8 @@ intro: 'You can set a spending limit for {% data variables.product.prodname_acti product: '{% data reusables.gated-features.actions %}' versions: free-pro-team: '*' +topics: + - billing --- ### About spending limits for {% data variables.product.prodname_actions %} diff --git a/content/github/setting-up-and-managing-billing-and-payments-on-github/managing-your-spending-limit-for-github-packages.md b/content/github/setting-up-and-managing-billing-and-payments-on-github/managing-your-spending-limit-for-github-packages.md index 250aaab93a..e5fa4995f3 100644 --- a/content/github/setting-up-and-managing-billing-and-payments-on-github/managing-your-spending-limit-for-github-packages.md +++ b/content/github/setting-up-and-managing-billing-and-payments-on-github/managing-your-spending-limit-for-github-packages.md @@ -4,6 +4,8 @@ intro: 'You can set a spending limit for {% data variables.product.prodname_regi product: '{% data reusables.gated-features.packages %}' versions: free-pro-team: '*' +topics: + - billing --- ### About spending limits for {% data variables.product.prodname_registry %} diff --git a/content/github/setting-up-and-managing-billing-and-payments-on-github/redeeming-a-coupon.md b/content/github/setting-up-and-managing-billing-and-payments-on-github/redeeming-a-coupon.md index 7ba2f81725..038f5af655 100644 --- a/content/github/setting-up-and-managing-billing-and-payments-on-github/redeeming-a-coupon.md +++ b/content/github/setting-up-and-managing-billing-and-payments-on-github/redeeming-a-coupon.md @@ -8,6 +8,8 @@ redirect_from: - /articles/redeeming-a-coupon versions: free-pro-team: '*' +topics: + - billing --- {% data variables.product.product_name %} can't issue a refund if you pay for an account before applying a coupon. We also can't transfer a redeemed coupon or give you a new coupon if you apply it to the wrong account. Confirm that you're applying the coupon to the correct account before you redeem a coupon. diff --git a/content/github/setting-up-and-managing-billing-and-payments-on-github/removing-a-payment-method.md b/content/github/setting-up-and-managing-billing-and-payments-on-github/removing-a-payment-method.md index d28d8cb4be..4487393f5a 100644 --- a/content/github/setting-up-and-managing-billing-and-payments-on-github/removing-a-payment-method.md +++ b/content/github/setting-up-and-managing-billing-and-payments-on-github/removing-a-payment-method.md @@ -9,6 +9,8 @@ redirect_from: - /articles/removing-a-payment-method versions: free-pro-team: '*' +topics: + - billing --- If you're paying for your {% data variables.product.product_name %} subscription with a coupon, and you aren't using your payment method for any [other paid features or products](/articles/about-billing-on-github) on {% data variables.product.product_name %}, you can remove your credit card or PayPal information. diff --git a/content/github/setting-up-and-managing-billing-and-payments-on-github/renewing-your-clients-paid-organization.md b/content/github/setting-up-and-managing-billing-and-payments-on-github/renewing-your-clients-paid-organization.md index 95f32e829c..77eb7a3166 100644 --- a/content/github/setting-up-and-managing-billing-and-payments-on-github/renewing-your-clients-paid-organization.md +++ b/content/github/setting-up-and-managing-billing-and-payments-on-github/renewing-your-clients-paid-organization.md @@ -6,6 +6,8 @@ redirect_from: - /articles/renewing-your-clients-paid-organization versions: free-pro-team: '*' +topics: + - billing --- {% data reusables.organizations.reseller-ask-to-become-billing-manager %} diff --git a/content/github/setting-up-and-managing-billing-and-payments-on-github/setting-up-paid-organizations-for-procurement-companies.md b/content/github/setting-up-and-managing-billing-and-payments-on-github/setting-up-paid-organizations-for-procurement-companies.md index f2ed48d2f9..66a29895ee 100644 --- a/content/github/setting-up-and-managing-billing-and-payments-on-github/setting-up-paid-organizations-for-procurement-companies.md +++ b/content/github/setting-up-and-managing-billing-and-payments-on-github/setting-up-paid-organizations-for-procurement-companies.md @@ -8,5 +8,7 @@ redirect_from: mapTopic: true versions: free-pro-team: '*' +topics: + - billing --- diff --git a/content/github/setting-up-and-managing-billing-and-payments-on-github/setting-your-billing-email.md b/content/github/setting-up-and-managing-billing-and-payments-on-github/setting-your-billing-email.md index a2d2fb3b7d..ffe4d5ed49 100644 --- a/content/github/setting-up-and-managing-billing-and-payments-on-github/setting-your-billing-email.md +++ b/content/github/setting-up-and-managing-billing-and-payments-on-github/setting-your-billing-email.md @@ -9,6 +9,8 @@ redirect_from: - /articles/setting-your-billing-email versions: free-pro-team: '*' +topics: + - billing --- ### Setting your personal account's billing email diff --git a/content/github/setting-up-and-managing-billing-and-payments-on-github/troubleshooting-a-declined-credit-card-charge.md b/content/github/setting-up-and-managing-billing-and-payments-on-github/troubleshooting-a-declined-credit-card-charge.md index f76f433b3a..e0951dd49f 100644 --- a/content/github/setting-up-and-managing-billing-and-payments-on-github/troubleshooting-a-declined-credit-card-charge.md +++ b/content/github/setting-up-and-managing-billing-and-payments-on-github/troubleshooting-a-declined-credit-card-charge.md @@ -6,6 +6,8 @@ redirect_from: - /articles/troubleshooting-a-declined-credit-card-charge versions: free-pro-team: '*' +topics: + - billing --- If your card is declined, we'll send you an email about why the payment was declined. You'll have a few days to resolve the problem before we try charging you again. diff --git a/content/github/setting-up-and-managing-billing-and-payments-on-github/unlocking-a-locked-account.md b/content/github/setting-up-and-managing-billing-and-payments-on-github/unlocking-a-locked-account.md index bc7968d21e..06d264a1ba 100644 --- a/content/github/setting-up-and-managing-billing-and-payments-on-github/unlocking-a-locked-account.md +++ b/content/github/setting-up-and-managing-billing-and-payments-on-github/unlocking-a-locked-account.md @@ -11,6 +11,8 @@ redirect_from: - /articles/unlocking-a-locked-account versions: free-pro-team: '*' +topics: + - billing --- You can unlock and access your account by updating your organization's payment method and resuming paid status. We do not ask you to pay for the time elapsed in locked mode. diff --git a/content/github/setting-up-and-managing-billing-and-payments-on-github/upgrading-a-sponsorship.md b/content/github/setting-up-and-managing-billing-and-payments-on-github/upgrading-a-sponsorship.md index cd65d50f26..71d7d250f8 100644 --- a/content/github/setting-up-and-managing-billing-and-payments-on-github/upgrading-a-sponsorship.md +++ b/content/github/setting-up-and-managing-billing-and-payments-on-github/upgrading-a-sponsorship.md @@ -5,6 +5,8 @@ redirect_from: - /articles/upgrading-a-sponsorship versions: free-pro-team: '*' +topics: + - billing --- {% data reusables.sponsors.org-sponsors-release-phase %} @@ -18,4 +20,4 @@ When you upgrade your sponsorship tier, the change will become effective immedia {% data reusables.sponsors.navigate-to-sponsored-account %} {% data reusables.sponsors.sponsorship-dashboard %} {% data reusables.sponsors.select-a-tier %} -{% data reusables.sponsors.update-sponsorship %} \ No newline at end of file +{% data reusables.sponsors.update-sponsorship %} diff --git a/content/github/setting-up-and-managing-billing-and-payments-on-github/upgrading-git-large-file-storage.md b/content/github/setting-up-and-managing-billing-and-payments-on-github/upgrading-git-large-file-storage.md index 19dd20d6d3..cfaee9f15b 100644 --- a/content/github/setting-up-and-managing-billing-and-payments-on-github/upgrading-git-large-file-storage.md +++ b/content/github/setting-up-and-managing-billing-and-payments-on-github/upgrading-git-large-file-storage.md @@ -7,6 +7,8 @@ redirect_from: - /articles/upgrading-git-large-file-storage versions: free-pro-team: '*' +topics: + - billing --- ### Purchasing additional storage and bandwidth for a personal account diff --git a/content/github/setting-up-and-managing-billing-and-payments-on-github/upgrading-or-downgrading-your-clients-paid-organization.md b/content/github/setting-up-and-managing-billing-and-payments-on-github/upgrading-or-downgrading-your-clients-paid-organization.md index a92f60b039..6ff83d7659 100644 --- a/content/github/setting-up-and-managing-billing-and-payments-on-github/upgrading-or-downgrading-your-clients-paid-organization.md +++ b/content/github/setting-up-and-managing-billing-and-payments-on-github/upgrading-or-downgrading-your-clients-paid-organization.md @@ -6,6 +6,8 @@ redirect_from: - /articles/upgrading-or-downgrading-your-clients-paid-organization versions: free-pro-team: '*' +topics: + - billing --- {% data reusables.organizations.reseller-ask-to-become-billing-manager %} diff --git a/content/github/setting-up-and-managing-billing-and-payments-on-github/upgrading-the-billing-plan-for-a-github-marketplace-app.md b/content/github/setting-up-and-managing-billing-and-payments-on-github/upgrading-the-billing-plan-for-a-github-marketplace-app.md index 47f0471d8d..b6647fe927 100644 --- a/content/github/setting-up-and-managing-billing-and-payments-on-github/upgrading-the-billing-plan-for-a-github-marketplace-app.md +++ b/content/github/setting-up-and-managing-billing-and-payments-on-github/upgrading-the-billing-plan-for-a-github-marketplace-app.md @@ -7,6 +7,8 @@ redirect_from: - /articles/upgrading-the-billing-plan-for-a-github-marketplace-app versions: free-pro-team: '*' +topics: + - billing --- When you upgrade an app, your payment method is charged a prorated amount based on the time remaining until your next billing date. For more information, see "[About billing for {% data variables.product.prodname_marketplace %}](/articles/about-billing-for-github-marketplace)." diff --git a/content/github/setting-up-and-managing-billing-and-payments-on-github/upgrading-your-github-subscription.md b/content/github/setting-up-and-managing-billing-and-payments-on-github/upgrading-your-github-subscription.md index 782a9b2f4a..848bdc0cf1 100644 --- a/content/github/setting-up-and-managing-billing-and-payments-on-github/upgrading-your-github-subscription.md +++ b/content/github/setting-up-and-managing-billing-and-payments-on-github/upgrading-your-github-subscription.md @@ -19,6 +19,8 @@ redirect_from: - /articles/upgrading-your-github-subscription versions: free-pro-team: '*' +topics: + - billing --- ### Upgrading your personal account's subscription diff --git a/content/github/setting-up-and-managing-billing-and-payments-on-github/viewing-and-managing-pending-changes-to-your-subscription.md b/content/github/setting-up-and-managing-billing-and-payments-on-github/viewing-and-managing-pending-changes-to-your-subscription.md index 260b634f81..deef9231ef 100644 --- a/content/github/setting-up-and-managing-billing-and-payments-on-github/viewing-and-managing-pending-changes-to-your-subscription.md +++ b/content/github/setting-up-and-managing-billing-and-payments-on-github/viewing-and-managing-pending-changes-to-your-subscription.md @@ -8,6 +8,8 @@ redirect_from: - /articles/viewing-and-managing-pending-changes-to-your-subscription versions: free-pro-team: '*' +topics: + - billing --- You can cancel pending changes to your account's subscription as well as pending changes to your subscriptions to other paid features and products. diff --git a/content/github/setting-up-and-managing-billing-and-payments-on-github/viewing-your-git-large-file-storage-usage.md b/content/github/setting-up-and-managing-billing-and-payments-on-github/viewing-your-git-large-file-storage-usage.md index 10f786b60d..71811a02e0 100644 --- a/content/github/setting-up-and-managing-billing-and-payments-on-github/viewing-your-git-large-file-storage-usage.md +++ b/content/github/setting-up-and-managing-billing-and-payments-on-github/viewing-your-git-large-file-storage-usage.md @@ -7,6 +7,8 @@ redirect_from: - /articles/viewing-your-git-large-file-storage-usage versions: free-pro-team: '*' +topics: + - billing --- {% data reusables.large_files.owner_quota_only %} {% data reusables.large_files.does_not_carry %} diff --git a/content/github/setting-up-and-managing-billing-and-payments-on-github/viewing-your-github-actions-usage.md b/content/github/setting-up-and-managing-billing-and-payments-on-github/viewing-your-github-actions-usage.md index 1c16ae50ef..a9614ba2a4 100644 --- a/content/github/setting-up-and-managing-billing-and-payments-on-github/viewing-your-github-actions-usage.md +++ b/content/github/setting-up-and-managing-billing-and-payments-on-github/viewing-your-github-actions-usage.md @@ -4,6 +4,8 @@ intro: 'You can view details of your usage of minutes and storage for {% data va product: '{% data reusables.gated-features.actions %}' versions: free-pro-team: '*' +topics: + - billing --- You can also view the billable job execution minutes for an individual workflow run. For more information, see "[Viewing job execution time](/actions/managing-workflow-runs/viewing-job-execution-time)." diff --git a/content/github/setting-up-and-managing-billing-and-payments-on-github/viewing-your-github-advanced-security-usage.md b/content/github/setting-up-and-managing-billing-and-payments-on-github/viewing-your-github-advanced-security-usage.md index 6b3107ffe5..3e9d1d052a 100644 --- a/content/github/setting-up-and-managing-billing-and-payments-on-github/viewing-your-github-advanced-security-usage.md +++ b/content/github/setting-up-and-managing-billing-and-payments-on-github/viewing-your-github-advanced-security-usage.md @@ -2,6 +2,7 @@ title: Viewing your GitHub Advanced Security usage intro: 'You can view and manage usage of your {% data variables.product.prodname_GH_advanced_security %} license.' permissions: Organization and enterprise owners can manage access to {% data variables.product.prodname_GH_advanced_security %} for their organization or enterprise organizations. +product: '{% data reusables.gated-features.ghas %}' redirect_from: /github/setting-up-and-managing-your-enterprise/managing-use-of-advanced-security-for-organizations-in-your-enterprise-account versions: free-pro-team: '*' @@ -9,20 +10,6 @@ versions: Each license for {% data variables.product.prodname_GH_advanced_security %} specifies a maximum number of accounts, or seats, that can use these features. Periodically you should check that your use is within your license capacity. For more information, see "[About licensing for {% data variables.product.prodname_GH_advanced_security %} enterprise license](/github/setting-up-and-managing-billing-and-payments-on-github/about-licensing-for-github-advanced-security)." -### Viewing and managing {% data variables.product.prodname_GH_advanced_security %} license usage for your organization - -You can check how many seats your license includes and how many of them are currently used on the "Billing & plans" page for your organization. - -{% data reusables.profile.access_profile %} -{% data reusables.profile.access_org %} -{% data reusables.organizations.org_settings %} -{% data reusables.organizations.billing_planning %} -5. Optionally, in the "{% data variables.product.prodname_GH_advanced_security %}" section, click **Manage repositories** to see the usage for each repository that has the feature enabled. - ![Details of usage of seats](/assets/images/help/billing/ghas-seats-org.png) -6. Scroll to the "{% data variables.product.prodname_GH_advanced_security %} repositories" section to see a detailed breakdown of usage by repository for your organization. - ![{% data variables.product.prodname_GH_advanced_security %} repositories section](/assets/images/help/organizations/settings-security-analysis-ghas-repos-list.png) - For more information, see "[Managing security and analysis settings for your organization](/github/setting-up-and-managing-organizations-and-teams/managing-security-and-analysis-settings-for-your-organization)." - ### Viewing and managing {% data variables.product.prodname_GH_advanced_security %} license usage for your enterprise account You can check how many seats your license includes and how many of them are currently used on the "Enterprise licensing" page. @@ -43,3 +30,4 @@ You can check how many seats your license includes and how many of them are curr 6. On the "Security & analysis" settings page, scroll to the "{% data variables.product.prodname_GH_advanced_security %} repositories" section to see a detailed breakdown of usage by repository for this organization. ![{% data variables.product.prodname_GH_advanced_security %} repositories section](/assets/images/help/enterprises/settings-security-analysis-ghas-repos-list.png) For more information, see "[Managing security and analysis settings for your organization](/github/setting-up-and-managing-organizations-and-teams/managing-security-and-analysis-settings-for-your-organization)." + diff --git a/content/github/setting-up-and-managing-billing-and-payments-on-github/viewing-your-github-packages-usage.md b/content/github/setting-up-and-managing-billing-and-payments-on-github/viewing-your-github-packages-usage.md index fcf65f1ada..11fbf086b3 100644 --- a/content/github/setting-up-and-managing-billing-and-payments-on-github/viewing-your-github-packages-usage.md +++ b/content/github/setting-up-and-managing-billing-and-payments-on-github/viewing-your-github-packages-usage.md @@ -4,6 +4,8 @@ intro: 'You can view details of your usage of storage and data transfer for {% d product: '{% data reusables.gated-features.packages %}' versions: free-pro-team: '*' +topics: + - billing --- ### Viewing {% data variables.product.prodname_registry %} usage for your user account diff --git a/content/github/setting-up-and-managing-billing-and-payments-on-github/viewing-your-payment-history-and-receipts.md b/content/github/setting-up-and-managing-billing-and-payments-on-github/viewing-your-payment-history-and-receipts.md index 7f939cf84c..5b7e84b959 100644 --- a/content/github/setting-up-and-managing-billing-and-payments-on-github/viewing-your-payment-history-and-receipts.md +++ b/content/github/setting-up-and-managing-billing-and-payments-on-github/viewing-your-payment-history-and-receipts.md @@ -8,6 +8,8 @@ redirect_from: - /articles/viewing-your-payment-history-and-receipts versions: free-pro-team: '*' +topics: + - billing --- ### Viewing receipts for your personal account diff --git a/content/github/setting-up-and-managing-billing-and-payments-on-github/viewing-your-subscriptions-and-billing-date.md b/content/github/setting-up-and-managing-billing-and-payments-on-github/viewing-your-subscriptions-and-billing-date.md index 71591f0aef..a04c021853 100644 --- a/content/github/setting-up-and-managing-billing-and-payments-on-github/viewing-your-subscriptions-and-billing-date.md +++ b/content/github/setting-up-and-managing-billing-and-payments-on-github/viewing-your-subscriptions-and-billing-date.md @@ -9,6 +9,8 @@ redirect_from: - /articles/viewing-your-subscriptions-and-billing-date versions: free-pro-team: '*' +topics: + - billing --- ### Finding your personal account's next billing date diff --git a/content/github/setting-up-and-managing-organizations-and-teams/about-identity-and-access-management-with-saml-single-sign-on.md b/content/github/setting-up-and-managing-organizations-and-teams/about-identity-and-access-management-with-saml-single-sign-on.md index 624a03a885..154855ba68 100644 --- a/content/github/setting-up-and-managing-organizations-and-teams/about-identity-and-access-management-with-saml-single-sign-on.md +++ b/content/github/setting-up-and-managing-organizations-and-teams/about-identity-and-access-management-with-saml-single-sign-on.md @@ -6,6 +6,9 @@ redirect_from: - /articles/about-identity-and-access-management-with-saml-single-sign-on versions: free-pro-team: '*' +topics: + - organizations + - teams --- ### About SAML SSO diff --git a/content/github/setting-up-and-managing-organizations-and-teams/about-oauth-app-access-restrictions.md b/content/github/setting-up-and-managing-organizations-and-teams/about-oauth-app-access-restrictions.md index 5da63c8dc8..4122072bda 100644 --- a/content/github/setting-up-and-managing-organizations-and-teams/about-oauth-app-access-restrictions.md +++ b/content/github/setting-up-and-managing-organizations-and-teams/about-oauth-app-access-restrictions.md @@ -6,6 +6,9 @@ redirect_from: - /articles/about-oauth-app-access-restrictions versions: free-pro-team: '*' +topics: + - organizations + - teams --- When {% data variables.product.prodname_oauth_app %} access restrictions are enabled, organization members cannot authorize {% data variables.product.prodname_oauth_app %} access to organization resources. Organization members can request owner approval for {% data variables.product.prodname_oauth_app %}s they'd like to use, and organization owners receive a notification of pending requests. diff --git a/content/github/setting-up-and-managing-organizations-and-teams/about-organizations.md b/content/github/setting-up-and-managing-organizations-and-teams/about-organizations.md index 308abb2d5f..9b777b5eee 100644 --- a/content/github/setting-up-and-managing-organizations-and-teams/about-organizations.md +++ b/content/github/setting-up-and-managing-organizations-and-teams/about-organizations.md @@ -7,6 +7,9 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - organizations + - teams --- {% data reusables.organizations.organizations_include %} diff --git a/content/github/setting-up-and-managing-organizations-and-teams/about-scim.md b/content/github/setting-up-and-managing-organizations-and-teams/about-scim.md index 0fbcbda6ba..36f06c2387 100644 --- a/content/github/setting-up-and-managing-organizations-and-teams/about-scim.md +++ b/content/github/setting-up-and-managing-organizations-and-teams/about-scim.md @@ -6,6 +6,9 @@ redirect_from: - /articles/about-scim versions: free-pro-team: '*' +topics: + - organizations + - teams --- If you use [SAML SSO](/articles/about-identity-and-access-management-with-saml-single-sign-on) in your organization, you can implement SCIM to add, manage, and remove organization members' access to {% data variables.product.product_name %}. For example, an administrator can deprovision an organization member using SCIM and automatically remove the member from the organization. diff --git a/content/github/setting-up-and-managing-organizations-and-teams/about-ssh-certificate-authorities.md b/content/github/setting-up-and-managing-organizations-and-teams/about-ssh-certificate-authorities.md index 1b57c0922c..a61f9370d5 100644 --- a/content/github/setting-up-and-managing-organizations-and-teams/about-ssh-certificate-authorities.md +++ b/content/github/setting-up-and-managing-organizations-and-teams/about-ssh-certificate-authorities.md @@ -8,6 +8,9 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - organizations + - teams --- An SSH certificate is a mechanism for one SSH key to sign another SSH key. If you use an SSH certificate authority (CA) to provide your organization members with signed SSH certificates, you can add the CA to your enterprise account or organization to allow organization members to use their certificates to access organization resources. For more information, see "[Managing your organization's SSH certificate authorities](/articles/managing-your-organizations-ssh-certificate-authorities)." diff --git a/content/github/building-a-strong-community/about-team-discussions.md b/content/github/setting-up-and-managing-organizations-and-teams/about-team-discussions.md similarity index 89% rename from content/github/building-a-strong-community/about-team-discussions.md rename to content/github/setting-up-and-managing-organizations-and-teams/about-team-discussions.md index 6bf572b9e9..d95bfccf08 100644 --- a/content/github/building-a-strong-community/about-team-discussions.md +++ b/content/github/setting-up-and-managing-organizations-and-teams/about-team-discussions.md @@ -3,10 +3,13 @@ title: About team discussions intro: 'Your team can plan together, update one another, or talk about any topic you''d like in discussion posts on your team''s page in an organization.' redirect_from: - /articles/about-team-discussions + - /github/building-a-strong-community/about-team-discussions versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - community --- {% data reusables.organizations.team-discussions-purpose %} @@ -15,7 +18,7 @@ Any organization member can post on your team's page or participate in a public ![Discussions tab of team page with public and private discussions](/assets/images/help/organizations/team-page-discussions-tab.png) -You can link to any team discussion to reference it elsewhere. You can pin important posts to your team's page for quick reference later. For more information, see "[Pinning a team discussion](/articles/pinning-a-team-discussion)." +You can link to any team discussion to reference it elsewhere. You can pin important posts to your team's page for quick reference later. For more information, see "[Pinning a team discussion](/github/setting-up-and-managing-organizations-and-teams/pinning-a-team-discussion)." ![Pinned discussions tab of team page with pinned discussion](/assets/images/help/organizations/team-discussions-pinned.png) @@ -41,5 +44,5 @@ For more information, see {% if currentVersion == "free-pro-team@latest" or curr - "[About conversations on {% data variables.product.prodname_dotcom %}](/articles/about-conversations-on-github)" - "[About teams](/articles/about-teams)" -- "[Creating a team discussion](/articles/creating-a-team-discussion)" -- "[Editing or deleting a team discussion](/articles/editing-or-deleting-a-team-discussion)" +- "[Creating a team discussion](/github/setting-up-and-managing-organizations-and-teams/creating-a-team-discussion)" +- "[Editing or deleting a team discussion](/github/setting-up-and-managing-organizations-and-teams/editing-or-deleting-a-team-discussion)" diff --git a/content/github/setting-up-and-managing-organizations-and-teams/about-teams.md b/content/github/setting-up-and-managing-organizations-and-teams/about-teams.md index 6d56d44867..aa9b95d1fd 100644 --- a/content/github/setting-up-and-managing-organizations-and-teams/about-teams.md +++ b/content/github/setting-up-and-managing-organizations-and-teams/about-teams.md @@ -7,6 +7,9 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - organizations + - teams --- ![List of teams in an organization](/assets/images/help/teams/org-list-of-teams.png) @@ -36,7 +39,7 @@ You can also use LDAP Sync to synchronize {% data variables.product.product_loca Each team has its own page within an organization. On a team's page, you can view team members, child teams, and the team's repositories. Organization owners and team maintainers can access team settings and update the team's description and profile picture from the team's page. -Organization members can create and participate in discussions with the team. For more information, see "[About team discussions](/articles/about-team-discussions)." +Organization members can create and participate in discussions with the team. For more information, see "[About team discussions](/github/setting-up-and-managing-organizations-and-teams/about-team-discussions)." ![Team page listing team members and discussions](/assets/images/help/organizations/team-page-discussions-tab.png) diff --git a/content/github/setting-up-and-managing-organizations-and-teams/about-two-factor-authentication-and-saml-single-sign-on.md b/content/github/setting-up-and-managing-organizations-and-teams/about-two-factor-authentication-and-saml-single-sign-on.md index d75c5114c7..d061e78d3a 100644 --- a/content/github/setting-up-and-managing-organizations-and-teams/about-two-factor-authentication-and-saml-single-sign-on.md +++ b/content/github/setting-up-and-managing-organizations-and-teams/about-two-factor-authentication-and-saml-single-sign-on.md @@ -6,6 +6,9 @@ redirect_from: - /articles/about-two-factor-authentication-and-saml-single-sign-on versions: free-pro-team: '*' +topics: + - organizations + - teams --- Two-factor authentication (2FA) provides basic authentication for organization members. By enabling 2FA, organization administrators limit the likelihood that a member's {% data variables.product.product_name %} account could be compromised. For more information on 2FA, see "[About two-factor authentication](/articles/about-two-factor-authentication)." diff --git a/content/github/setting-up-and-managing-organizations-and-teams/about-your-organization-dashboard.md b/content/github/setting-up-and-managing-organizations-and-teams/about-your-organization-dashboard.md index fe9be4889c..c2c416383a 100644 --- a/content/github/setting-up-and-managing-organizations-and-teams/about-your-organization-dashboard.md +++ b/content/github/setting-up-and-managing-organizations-and-teams/about-your-organization-dashboard.md @@ -7,6 +7,9 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - organizations + - teams --- ### Accessing your organization dashboard diff --git a/content/github/setting-up-and-managing-organizations-and-teams/about-your-organizations-news-feed.md b/content/github/setting-up-and-managing-organizations-and-teams/about-your-organizations-news-feed.md index 22f71d1f17..daa42f63eb 100644 --- a/content/github/setting-up-and-managing-organizations-and-teams/about-your-organizations-news-feed.md +++ b/content/github/setting-up-and-managing-organizations-and-teams/about-your-organizations-news-feed.md @@ -9,6 +9,9 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - organizations + - teams --- An organization's news feed shows other people's activity on repositories owned by that organization. You can use your organization's news feed to see when someone opens, closes, or merges an issue or pull request, creates or deletes a branch, creates a tag or release, comments on an issue, pull request, or commit, or pushes new commits to {% data variables.product.product_name %}. diff --git a/content/github/setting-up-and-managing-organizations-and-teams/accessing-your-organization-if-your-identity-provider-is-unavailable.md b/content/github/setting-up-and-managing-organizations-and-teams/accessing-your-organization-if-your-identity-provider-is-unavailable.md index 684e4a4f31..6cea7ad0bd 100644 --- a/content/github/setting-up-and-managing-organizations-and-teams/accessing-your-organization-if-your-identity-provider-is-unavailable.md +++ b/content/github/setting-up-and-managing-organizations-and-teams/accessing-your-organization-if-your-identity-provider-is-unavailable.md @@ -6,6 +6,9 @@ redirect_from: - /articles/accessing-your-organization-if-your-identity-provider-is-unavailable versions: free-pro-team: '*' +topics: + - organizations + - teams --- Organization administrators can use [one of their downloaded or saved recovery codes](/articles/downloading-your-organization-s-saml-single-sign-on-recovery-codes) to bypass single sign-on. You may have saved these to a password manager, such as [LastPass](https://lastpass.com/), [1Password](https://1password.com/), or [Keeper](https://keepersecurity.com/). diff --git a/content/github/setting-up-and-managing-organizations-and-teams/accessing-your-organizations-settings.md b/content/github/setting-up-and-managing-organizations-and-teams/accessing-your-organizations-settings.md index a3107304bd..cbddd686f4 100644 --- a/content/github/setting-up-and-managing-organizations-and-teams/accessing-your-organizations-settings.md +++ b/content/github/setting-up-and-managing-organizations-and-teams/accessing-your-organizations-settings.md @@ -13,6 +13,9 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - organizations + - teams --- {% if currentVersion == "free-pro-team@latest" %} diff --git a/content/github/setting-up-and-managing-organizations-and-teams/adding-a-billing-manager-to-your-organization.md b/content/github/setting-up-and-managing-organizations-and-teams/adding-a-billing-manager-to-your-organization.md index 7a1580b75f..f9ae9677a0 100644 --- a/content/github/setting-up-and-managing-organizations-and-teams/adding-a-billing-manager-to-your-organization.md +++ b/content/github/setting-up-and-managing-organizations-and-teams/adding-a-billing-manager-to-your-organization.md @@ -5,6 +5,10 @@ redirect_from: - /articles/adding-a-billing-manager-to-your-organization versions: free-pro-team: '*' +topics: + - organizations + - teams + - billing --- Members of your organization's Owners team can give *billing manager* permissions to people. Once a person accepts their invitation to become a billing manager for your organization, they can invite additional people to be billing managers. diff --git a/content/github/setting-up-and-managing-organizations-and-teams/adding-an-outside-collaborator-to-a-project-board-in-your-organization.md b/content/github/setting-up-and-managing-organizations-and-teams/adding-an-outside-collaborator-to-a-project-board-in-your-organization.md index f7b11a7a0f..0332b57bcf 100644 --- a/content/github/setting-up-and-managing-organizations-and-teams/adding-an-outside-collaborator-to-a-project-board-in-your-organization.md +++ b/content/github/setting-up-and-managing-organizations-and-teams/adding-an-outside-collaborator-to-a-project-board-in-your-organization.md @@ -7,6 +7,9 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - organizations + - teams --- An outside collaborator is a person who isn't explicitly a member of your organization, but who has permissions to a project board in your organization. diff --git a/content/github/setting-up-and-managing-organizations-and-teams/adding-github-app-managers-in-your-organization.md b/content/github/setting-up-and-managing-organizations-and-teams/adding-github-app-managers-in-your-organization.md index b548094db8..3af305e777 100644 --- a/content/github/setting-up-and-managing-organizations-and-teams/adding-github-app-managers-in-your-organization.md +++ b/content/github/setting-up-and-managing-organizations-and-teams/adding-github-app-managers-in-your-organization.md @@ -7,6 +7,9 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - organizations + - teams --- For more information about {% data variables.product.prodname_github_app %} manager permissions, see "[Permission levels for an organization](/articles/permission-levels-for-an-organization#github-app-managers)." diff --git a/content/github/setting-up-and-managing-organizations-and-teams/adding-organization-members-to-a-team.md b/content/github/setting-up-and-managing-organizations-and-teams/adding-organization-members-to-a-team.md index 95eaedc296..e1152db89d 100644 --- a/content/github/setting-up-and-managing-organizations-and-teams/adding-organization-members-to-a-team.md +++ b/content/github/setting-up-and-managing-organizations-and-teams/adding-organization-members-to-a-team.md @@ -8,6 +8,9 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - organizations + - teams --- {% data reusables.organizations.team-synchronization %} diff --git a/content/github/setting-up-and-managing-organizations-and-teams/adding-outside-collaborators-to-repositories-in-your-organization.md b/content/github/setting-up-and-managing-organizations-and-teams/adding-outside-collaborators-to-repositories-in-your-organization.md index e38a631a7f..66a47afe1f 100644 --- a/content/github/setting-up-and-managing-organizations-and-teams/adding-outside-collaborators-to-repositories-in-your-organization.md +++ b/content/github/setting-up-and-managing-organizations-and-teams/adding-outside-collaborators-to-repositories-in-your-organization.md @@ -7,6 +7,9 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - organizations + - teams --- {% data reusables.organizations.owners-and-admins-can %} add outside collaborators to a repository, unless an organization owner has restricted the ability to invite collaborators. For more information, see "[Setting permissions for adding outside collaborators](/articles/setting-permissions-for-adding-outside-collaborators)." diff --git a/content/github/setting-up-and-managing-organizations-and-teams/allowing-people-to-delete-issues-in-your-organization.md b/content/github/setting-up-and-managing-organizations-and-teams/allowing-people-to-delete-issues-in-your-organization.md index 3a68f66481..9c994b1884 100644 --- a/content/github/setting-up-and-managing-organizations-and-teams/allowing-people-to-delete-issues-in-your-organization.md +++ b/content/github/setting-up-and-managing-organizations-and-teams/allowing-people-to-delete-issues-in-your-organization.md @@ -7,6 +7,9 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - organizations + - teams --- By default, issues cannot be deleted in an organization's repositories. An organization owner must enable this feature for all of the organization's repositories first. diff --git a/content/github/setting-up-and-managing-organizations-and-teams/approving-oauth-apps-for-your-organization.md b/content/github/setting-up-and-managing-organizations-and-teams/approving-oauth-apps-for-your-organization.md index 8396a30e64..f228264ab7 100644 --- a/content/github/setting-up-and-managing-organizations-and-teams/approving-oauth-apps-for-your-organization.md +++ b/content/github/setting-up-and-managing-organizations-and-teams/approving-oauth-apps-for-your-organization.md @@ -6,6 +6,9 @@ redirect_from: - /articles/approving-oauth-apps-for-your-organization versions: free-pro-team: '*' +topics: + - organizations + - teams --- When {% data variables.product.prodname_oauth_app %} access restrictions are enabled, organization members must [request approval](/articles/requesting-organization-approval-for-oauth-apps) from an organization owner before they can authorize an {% data variables.product.prodname_oauth_app %} that has access to the organization's resources. diff --git a/content/github/setting-up-and-managing-organizations-and-teams/can-i-create-accounts-for-people-in-my-organization.md b/content/github/setting-up-and-managing-organizations-and-teams/can-i-create-accounts-for-people-in-my-organization.md index 6e719b47ed..27a51a313a 100644 --- a/content/github/setting-up-and-managing-organizations-and-teams/can-i-create-accounts-for-people-in-my-organization.md +++ b/content/github/setting-up-and-managing-organizations-and-teams/can-i-create-accounts-for-people-in-my-organization.md @@ -6,6 +6,9 @@ redirect_from: intro: 'While you can add users to an organization you''ve created, you can''t create personal user accounts on behalf of another person.' versions: free-pro-team: '*' +topics: + - organizations + - teams --- Because you access an organization by logging in to a personal account, each of your team members needs a personal account. Once you have user names for each person you'd like to add to your organization, you can add them to teams. diff --git a/content/github/setting-up-and-managing-organizations-and-teams/canceling-an-invitation-to-become-an-outside-collaborator-in-your-organization.md b/content/github/setting-up-and-managing-organizations-and-teams/canceling-an-invitation-to-become-an-outside-collaborator-in-your-organization.md index 0725241ec2..221fd32ac7 100644 --- a/content/github/setting-up-and-managing-organizations-and-teams/canceling-an-invitation-to-become-an-outside-collaborator-in-your-organization.md +++ b/content/github/setting-up-and-managing-organizations-and-teams/canceling-an-invitation-to-become-an-outside-collaborator-in-your-organization.md @@ -4,6 +4,9 @@ intro: You can cancel all invitations for a person to become an outside collabor permissions: Organization owners can cancel an invitation to become an outside collaborator in the organization. versions: free-pro-team: '*' +topics: + - organizations + - teams --- You can view a list of all people with pending invitations to become an outside collaborator on any repository owned by your organization. diff --git a/content/github/setting-up-and-managing-organizations-and-teams/canceling-or-editing-an-invitation-to-join-your-organization.md b/content/github/setting-up-and-managing-organizations-and-teams/canceling-or-editing-an-invitation-to-join-your-organization.md index 81cb2611c5..2e14f7e102 100644 --- a/content/github/setting-up-and-managing-organizations-and-teams/canceling-or-editing-an-invitation-to-join-your-organization.md +++ b/content/github/setting-up-and-managing-organizations-and-teams/canceling-or-editing-an-invitation-to-join-your-organization.md @@ -5,6 +5,9 @@ redirect_from: - /articles/canceling-or-editing-an-invitation-to-join-your-organization versions: free-pro-team: '*' +topics: + - organizations + - teams --- {% data reusables.profile.access_profile %} diff --git a/content/github/setting-up-and-managing-organizations-and-teams/changing-team-visibility.md b/content/github/setting-up-and-managing-organizations-and-teams/changing-team-visibility.md index d72bc2ee19..262113a3a3 100644 --- a/content/github/setting-up-and-managing-organizations-and-teams/changing-team-visibility.md +++ b/content/github/setting-up-and-managing-organizations-and-teams/changing-team-visibility.md @@ -7,6 +7,9 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - organizations + - teams --- {% data reusables.organizations.types-of-team-visibility %} diff --git a/content/github/setting-up-and-managing-organizations-and-teams/changing-the-visibility-of-your-organizations-dependency-insights.md b/content/github/setting-up-and-managing-organizations-and-teams/changing-the-visibility-of-your-organizations-dependency-insights.md index 1db374fdc1..790a56e104 100644 --- a/content/github/setting-up-and-managing-organizations-and-teams/changing-the-visibility-of-your-organizations-dependency-insights.md +++ b/content/github/setting-up-and-managing-organizations-and-teams/changing-the-visibility-of-your-organizations-dependency-insights.md @@ -6,6 +6,9 @@ redirect_from: - /articles/changing-the-visibility-of-your-organizations-dependency-insights versions: free-pro-team: '*' +topics: + - organizations + - teams --- Organization owners can set limitations for viewing organization dependency insights. All members of an organization can view organization dependency insights by default. diff --git a/content/github/setting-up-and-managing-organizations-and-teams/collaborating-with-groups-in-organizations.md b/content/github/setting-up-and-managing-organizations-and-teams/collaborating-with-groups-in-organizations.md index d73f270e57..6e4d1b4eed 100644 --- a/content/github/setting-up-and-managing-organizations-and-teams/collaborating-with-groups-in-organizations.md +++ b/content/github/setting-up-and-managing-organizations-and-teams/collaborating-with-groups-in-organizations.md @@ -9,5 +9,8 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - organizations + - teams --- diff --git a/content/github/building-a-strong-community/collaborating-with-your-team.md b/content/github/setting-up-and-managing-organizations-and-teams/collaborating-with-your-team.md similarity index 76% rename from content/github/building-a-strong-community/collaborating-with-your-team.md rename to content/github/setting-up-and-managing-organizations-and-teams/collaborating-with-your-team.md index 6e17a6cece..cb4c12309f 100644 --- a/content/github/building-a-strong-community/collaborating-with-your-team.md +++ b/content/github/setting-up-and-managing-organizations-and-teams/collaborating-with-your-team.md @@ -4,9 +4,12 @@ intro: 'Within an organization, your team can work together across projects usin mapTopic: true redirect_from: - /articles/collaborating-with-your-team + - /github/building-a-strong-community/collaborating-with-your-team versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - community --- diff --git a/content/github/setting-up-and-managing-organizations-and-teams/configuring-saml-single-sign-on-and-scim-using-okta.md b/content/github/setting-up-and-managing-organizations-and-teams/configuring-saml-single-sign-on-and-scim-using-okta.md index 2f34342827..effe8a36c8 100644 --- a/content/github/setting-up-and-managing-organizations-and-teams/configuring-saml-single-sign-on-and-scim-using-okta.md +++ b/content/github/setting-up-and-managing-organizations-and-teams/configuring-saml-single-sign-on-and-scim-using-okta.md @@ -5,6 +5,9 @@ product: '{% data reusables.gated-features.saml-sso %}' permissions: Organization owners can configure SAML SSO and SCIM using Okta for an organization. versions: free-pro-team: '*' +topics: + - organizations + - teams --- ### About SAML and SCIM with Okta diff --git a/content/github/setting-up-and-managing-organizations-and-teams/configuring-the-retention-period-for-github-actions-artifacts-and-logs-in-your-organization.md b/content/github/setting-up-and-managing-organizations-and-teams/configuring-the-retention-period-for-github-actions-artifacts-and-logs-in-your-organization.md index 4ff72e431c..967d47bdf4 100644 --- a/content/github/setting-up-and-managing-organizations-and-teams/configuring-the-retention-period-for-github-actions-artifacts-and-logs-in-your-organization.md +++ b/content/github/setting-up-and-managing-organizations-and-teams/configuring-the-retention-period-for-github-actions-artifacts-and-logs-in-your-organization.md @@ -5,6 +5,9 @@ versions: free-pro-team: '*' enterprise-server: '>=2.23' github-ae: '*' +topics: + - organizations + - teams --- {% data reusables.actions.about-artifact-log-retention %} diff --git a/content/github/setting-up-and-managing-organizations-and-teams/connecting-your-identity-provider-to-your-organization.md b/content/github/setting-up-and-managing-organizations-and-teams/connecting-your-identity-provider-to-your-organization.md index ab1ebbef74..1196bdc9b3 100644 --- a/content/github/setting-up-and-managing-organizations-and-teams/connecting-your-identity-provider-to-your-organization.md +++ b/content/github/setting-up-and-managing-organizations-and-teams/connecting-your-identity-provider-to-your-organization.md @@ -6,6 +6,9 @@ redirect_from: - /articles/connecting-your-identity-provider-to-your-organization versions: free-pro-team: '*' +topics: + - organizations + - teams --- Before [enabling SAML SSO](/articles/enabling-and-testing-saml-single-sign-on-for-your-organization) in your {% data variables.product.product_name %} organization, you'll need to connect your identity provider (IdP) to your organization. diff --git a/content/github/setting-up-and-managing-organizations-and-teams/converting-an-admin-team-to-improved-organization-permissions.md b/content/github/setting-up-and-managing-organizations-and-teams/converting-an-admin-team-to-improved-organization-permissions.md index ebda3d0ae0..c706237e94 100644 --- a/content/github/setting-up-and-managing-organizations-and-teams/converting-an-admin-team-to-improved-organization-permissions.md +++ b/content/github/setting-up-and-managing-organizations-and-teams/converting-an-admin-team-to-improved-organization-permissions.md @@ -7,6 +7,9 @@ redirect_from: versions: free-pro-team: '*' enterprise-server: '*' +topics: + - organizations + - teams --- You can remove the ability for members of legacy admin teams to create repositories by creating a new team for these members, ensuring that the team has necessary access to the organization's repositories, then deleting the legacy admin team. diff --git a/content/github/setting-up-and-managing-organizations-and-teams/converting-an-organization-into-a-user.md b/content/github/setting-up-and-managing-organizations-and-teams/converting-an-organization-into-a-user.md index f06589eb33..f12e2987df 100644 --- a/content/github/setting-up-and-managing-organizations-and-teams/converting-an-organization-into-a-user.md +++ b/content/github/setting-up-and-managing-organizations-and-teams/converting-an-organization-into-a-user.md @@ -6,6 +6,9 @@ redirect_from: versions: free-pro-team: '*' enterprise-server: '*' +topics: + - organizations + - teams --- {% if currentVersion == "free-pro-team@latest" %} diff --git a/content/github/setting-up-and-managing-organizations-and-teams/converting-an-organization-member-to-an-outside-collaborator.md b/content/github/setting-up-and-managing-organizations-and-teams/converting-an-organization-member-to-an-outside-collaborator.md index 5e15884e40..0d2f02074d 100644 --- a/content/github/setting-up-and-managing-organizations-and-teams/converting-an-organization-member-to-an-outside-collaborator.md +++ b/content/github/setting-up-and-managing-organizations-and-teams/converting-an-organization-member-to-an-outside-collaborator.md @@ -7,6 +7,9 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - organizations + - teams --- {% data reusables.organizations.owners-and-admins-can %} convert organization members into outside collaborators. diff --git a/content/github/setting-up-and-managing-organizations-and-teams/converting-an-outside-collaborator-to-an-organization-member.md b/content/github/setting-up-and-managing-organizations-and-teams/converting-an-outside-collaborator-to-an-organization-member.md index 55a11392c5..81ece0d1b2 100644 --- a/content/github/setting-up-and-managing-organizations-and-teams/converting-an-outside-collaborator-to-an-organization-member.md +++ b/content/github/setting-up-and-managing-organizations-and-teams/converting-an-outside-collaborator-to-an-organization-member.md @@ -7,7 +7,10 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' -permissions: Organization owners can {% if currentVersion == "free-pro-team@latest" %}invite users to join{% else %}add users to{% endif %} an organization. +permissions: 'Organization owners can {% if currentVersion == "free-pro-team@latest" %}invite users to join{% else %}add users to{% endif %} an organization.' +topics: + - organizations + - teams --- {% if currentVersion == "free-pro-team@latest" %} If your organization is on a paid per-user subscription, an unused license must be available before you can invite a new member to join the organization or reinstate a former organization member. For more information, see "[About per-user pricing](/articles/about-per-user-pricing)." {% data reusables.organizations.org-invite-expiration %}{% endif %} diff --git a/content/github/setting-up-and-managing-organizations-and-teams/converting-an-owners-team-to-improved-organization-permissions.md b/content/github/setting-up-and-managing-organizations-and-teams/converting-an-owners-team-to-improved-organization-permissions.md index 544e7396b5..1caafa06b9 100644 --- a/content/github/setting-up-and-managing-organizations-and-teams/converting-an-owners-team-to-improved-organization-permissions.md +++ b/content/github/setting-up-and-managing-organizations-and-teams/converting-an-owners-team-to-improved-organization-permissions.md @@ -8,6 +8,9 @@ redirect_from: versions: free-pro-team: '*' enterprise-server: '*' +topics: + - organizations + - teams --- You have a few options to convert your legacy Owners team: diff --git a/content/github/setting-up-and-managing-organizations-and-teams/creating-a-new-organization-from-scratch.md b/content/github/setting-up-and-managing-organizations-and-teams/creating-a-new-organization-from-scratch.md index d1d3d1b650..db638bafff 100644 --- a/content/github/setting-up-and-managing-organizations-and-teams/creating-a-new-organization-from-scratch.md +++ b/content/github/setting-up-and-managing-organizations-and-teams/creating-a-new-organization-from-scratch.md @@ -8,6 +8,9 @@ versions: redirect_from: - /articles/creating-a-new-organization-from-scratch - /admin/user-management/creating-organizations +topics: + - organizations + - teams --- When you create a new organization from scratch, it doesn't have any repositories associated with it. For more information on adding repositories to your organization, see "[Creating a new repository](/articles/creating-a-new-repository)" and "[Transferring a repository](/articles/transferring-a-repository)." diff --git a/content/github/building-a-strong-community/creating-a-team-discussion.md b/content/github/setting-up-and-managing-organizations-and-teams/creating-a-team-discussion.md similarity index 65% rename from content/github/building-a-strong-community/creating-a-team-discussion.md rename to content/github/setting-up-and-managing-organizations-and-teams/creating-a-team-discussion.md index 0481b6502b..968a93eef7 100644 --- a/content/github/building-a-strong-community/creating-a-team-discussion.md +++ b/content/github/setting-up-and-managing-organizations-and-teams/creating-a-team-discussion.md @@ -3,13 +3,16 @@ title: Creating a team discussion intro: 'Any organization member can create a _public_ team discussion post. To create a _private_ team discussion post, you must be a member of the team or an organization owner.' redirect_from: - /articles/creating-a-team-discussion + - /github/building-a-strong-community/creating-a-team-discussion versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - community --- -{% data reusables.organizations.team-discussions-permissions %} For more information, see "[About team discussions](/articles/about-team-discussions)." +{% data reusables.organizations.team-discussions-permissions %} For more information, see "[About team discussions](/github/setting-up-and-managing-organizations-and-teams/about-team-discussions)." {% data reusables.profile.access_profile %} {% data reusables.profile.access_org %} @@ -24,6 +27,6 @@ versions: ### Further reading - - "[About team discussions](/articles/about-team-discussions)" - - "[Editing or deleting a team discussion](/articles/editing-or-deleting-a-team-discussion)" - - "[Pinning a team discussion](/articles/pinning-a-team-discussion)" + - "[About team discussions](/github/setting-up-and-managing-organizations-and-teams/about-team-discussions)" + - "[Editing or deleting a team discussion](/github/setting-up-and-managing-organizations-and-teams/editing-or-deleting-a-team-discussion)" + - "[Pinning a team discussion](/github/setting-up-and-managing-organizations-and-teams/pinning-a-team-discussion)" diff --git a/content/github/setting-up-and-managing-organizations-and-teams/creating-a-team.md b/content/github/setting-up-and-managing-organizations-and-teams/creating-a-team.md index d29be64dc9..4bba443eb8 100644 --- a/content/github/setting-up-and-managing-organizations-and-teams/creating-a-team.md +++ b/content/github/setting-up-and-managing-organizations-and-teams/creating-a-team.md @@ -8,6 +8,9 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - organizations + - teams --- Only organization owners and maintainers of a parent team can create a new child team under a parent. Owners can also restrict creation permissions for all teams in an organization. For more information, see "[Setting team creation permissions in your organization](/articles/setting-team-creation-permissions-in-your-organization)." diff --git a/content/github/setting-up-and-managing-organizations-and-teams/deleting-a-team.md b/content/github/setting-up-and-managing-organizations-and-teams/deleting-a-team.md index bee8b07a10..5509cc6d98 100644 --- a/content/github/setting-up-and-managing-organizations-and-teams/deleting-a-team.md +++ b/content/github/setting-up-and-managing-organizations-and-teams/deleting-a-team.md @@ -7,6 +7,9 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - organizations + - teams --- {% tip %} diff --git a/content/github/setting-up-and-managing-organizations-and-teams/deleting-an-organization-account.md b/content/github/setting-up-and-managing-organizations-and-teams/deleting-an-organization-account.md index d483f8554c..ab490ccd8f 100644 --- a/content/github/setting-up-and-managing-organizations-and-teams/deleting-an-organization-account.md +++ b/content/github/setting-up-and-managing-organizations-and-teams/deleting-an-organization-account.md @@ -7,6 +7,9 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - organizations + - teams --- {% if currentVersion == "free-pro-team@latest" %} diff --git a/content/github/setting-up-and-managing-organizations-and-teams/denying-access-to-a-previously-approved-oauth-app-for-your-organization.md b/content/github/setting-up-and-managing-organizations-and-teams/denying-access-to-a-previously-approved-oauth-app-for-your-organization.md index 0463ce5199..f83e8694c7 100644 --- a/content/github/setting-up-and-managing-organizations-and-teams/denying-access-to-a-previously-approved-oauth-app-for-your-organization.md +++ b/content/github/setting-up-and-managing-organizations-and-teams/denying-access-to-a-previously-approved-oauth-app-for-your-organization.md @@ -6,6 +6,9 @@ redirect_from: - /articles/denying-access-to-a-previously-approved-oauth-app-for-your-organization versions: free-pro-team: '*' +topics: + - organizations + - teams --- {% data reusables.profile.access_profile %} diff --git a/content/github/setting-up-and-managing-organizations-and-teams/disabling-oauth-app-access-restrictions-for-your-organization.md b/content/github/setting-up-and-managing-organizations-and-teams/disabling-oauth-app-access-restrictions-for-your-organization.md index ed149595e0..0cd8846027 100644 --- a/content/github/setting-up-and-managing-organizations-and-teams/disabling-oauth-app-access-restrictions-for-your-organization.md +++ b/content/github/setting-up-and-managing-organizations-and-teams/disabling-oauth-app-access-restrictions-for-your-organization.md @@ -6,6 +6,9 @@ redirect_from: - /articles/disabling-oauth-app-access-restrictions-for-your-organization versions: free-pro-team: '*' +topics: + - organizations + - teams --- {% danger %} diff --git a/content/github/setting-up-and-managing-organizations-and-teams/disabling-or-limiting-github-actions-for-your-organization.md b/content/github/setting-up-and-managing-organizations-and-teams/disabling-or-limiting-github-actions-for-your-organization.md index be68310433..d21c9c8b6f 100644 --- a/content/github/setting-up-and-managing-organizations-and-teams/disabling-or-limiting-github-actions-for-your-organization.md +++ b/content/github/setting-up-and-managing-organizations-and-teams/disabling-or-limiting-github-actions-for-your-organization.md @@ -5,6 +5,9 @@ versions: free-pro-team: '*' enterprise-server: '>=2.22' github-ae: '*' +topics: + - organizations + - teams --- {% data reusables.actions.enterprise-beta %} diff --git a/content/github/setting-up-and-managing-organizations-and-teams/disabling-team-discussions-for-your-organization.md b/content/github/setting-up-and-managing-organizations-and-teams/disabling-team-discussions-for-your-organization.md index e4d9e8d55a..99b423896d 100644 --- a/content/github/setting-up-and-managing-organizations-and-teams/disabling-team-discussions-for-your-organization.md +++ b/content/github/setting-up-and-managing-organizations-and-teams/disabling-team-discussions-for-your-organization.md @@ -7,9 +7,12 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - organizations + - teams --- -{% data reusables.organizations.team-discussions-default %} For more information on team discussions, see "[About team discussions](/articles/about-team-discussions)." +{% data reusables.organizations.team-discussions-default %} For more information on team discussions, see "[About team discussions](/github/setting-up-and-managing-organizations-and-teams/about-team-discussions)." {% data reusables.profile.access_profile %} {% data reusables.profile.access_org %} diff --git a/content/github/setting-up-and-managing-organizations-and-teams/downloading-your-organizations-saml-single-sign-on-recovery-codes.md b/content/github/setting-up-and-managing-organizations-and-teams/downloading-your-organizations-saml-single-sign-on-recovery-codes.md index bebfbbc2d9..fe2af11379 100644 --- a/content/github/setting-up-and-managing-organizations-and-teams/downloading-your-organizations-saml-single-sign-on-recovery-codes.md +++ b/content/github/setting-up-and-managing-organizations-and-teams/downloading-your-organizations-saml-single-sign-on-recovery-codes.md @@ -7,6 +7,9 @@ redirect_from: product: '{% data reusables.gated-features.saml-sso %}' versions: free-pro-team: '*' +topics: + - organizations + - teams --- Recovery codes should not be shared or distributed. We recommend saving them with a password manager such as [LastPass](https://lastpass.com/), [1Password](https://1password.com/), or [Keeper](https://keepersecurity.com/). diff --git a/content/github/building-a-strong-community/editing-or-deleting-a-team-discussion.md b/content/github/setting-up-and-managing-organizations-and-teams/editing-or-deleting-a-team-discussion.md similarity index 69% rename from content/github/building-a-strong-community/editing-or-deleting-a-team-discussion.md rename to content/github/setting-up-and-managing-organizations-and-teams/editing-or-deleting-a-team-discussion.md index ba567880e8..7397639d74 100644 --- a/content/github/building-a-strong-community/editing-or-deleting-a-team-discussion.md +++ b/content/github/setting-up-and-managing-organizations-and-teams/editing-or-deleting-a-team-discussion.md @@ -3,10 +3,13 @@ title: Editing or deleting a team discussion intro: 'Organization members can edit or delete discussions on a team''s page. If you''re an organization member, you can edit or delete the discussion.' redirect_from: - /articles/editing-or-deleting-a-team-discussion + - /github/building-a-strong-community/editing-or-deleting-a-team-discussion versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - community --- {% data reusables.profile.access_profile %} @@ -21,6 +24,6 @@ versions: ### Further reading - - "[About team discussions](/articles/about-team-discussions)" - - "[Creating a team discussion](/articles/creating-a-team-discussion)" - - "[Pinning a team discussion](/articles/pinning-a-team-discussion)" + - "[About team discussions](/github/setting-up-and-managing-organizations-and-teams/about-team-discussions)" + - "[Creating a team discussion](/github/setting-up-and-managing-organizations-and-teams/creating-a-team-discussion)" + - "[Pinning a team discussion](/github/setting-up-and-managing-organizations-and-teams/pinning-a-team-discussion)" diff --git a/content/github/setting-up-and-managing-organizations-and-teams/enabling-and-testing-saml-single-sign-on-for-your-organization.md b/content/github/setting-up-and-managing-organizations-and-teams/enabling-and-testing-saml-single-sign-on-for-your-organization.md index 7de1e9bcd7..8f3fc489a1 100644 --- a/content/github/setting-up-and-managing-organizations-and-teams/enabling-and-testing-saml-single-sign-on-for-your-organization.md +++ b/content/github/setting-up-and-managing-organizations-and-teams/enabling-and-testing-saml-single-sign-on-for-your-organization.md @@ -6,6 +6,9 @@ redirect_from: - /articles/enabling-and-testing-saml-single-sign-on-for-your-organization versions: free-pro-team: '*' +topics: + - organizations + - teams --- You can enable SAML SSO in your organization without requiring all members to use it. Enabling but not enforcing SAML SSO in your organization can help smooth your organization's SAML SSO adoption. Once a majority of your organization's members use SAML SSO, you can enforce it within your organization. diff --git a/content/github/setting-up-and-managing-organizations-and-teams/enabling-oauth-app-access-restrictions-for-your-organization.md b/content/github/setting-up-and-managing-organizations-and-teams/enabling-oauth-app-access-restrictions-for-your-organization.md index afb7f66b0c..adc8f17827 100644 --- a/content/github/setting-up-and-managing-organizations-and-teams/enabling-oauth-app-access-restrictions-for-your-organization.md +++ b/content/github/setting-up-and-managing-organizations-and-teams/enabling-oauth-app-access-restrictions-for-your-organization.md @@ -6,6 +6,9 @@ redirect_from: - /articles/enabling-oauth-app-access-restrictions-for-your-organization versions: free-pro-team: '*' +topics: + - organizations + - teams --- {% data reusables.organizations.oauth_app_restrictions_default %} diff --git a/content/github/setting-up-and-managing-organizations-and-teams/enforcing-saml-single-sign-on-for-your-organization.md b/content/github/setting-up-and-managing-organizations-and-teams/enforcing-saml-single-sign-on-for-your-organization.md index d331a4ca12..08241fc58b 100644 --- a/content/github/setting-up-and-managing-organizations-and-teams/enforcing-saml-single-sign-on-for-your-organization.md +++ b/content/github/setting-up-and-managing-organizations-and-teams/enforcing-saml-single-sign-on-for-your-organization.md @@ -6,6 +6,9 @@ redirect_from: - /articles/enforcing-saml-single-sign-on-for-your-organization versions: free-pro-team: '*' +topics: + - organizations + - teams --- If you enforce SAML SSO in your organization, any members, including admins who have not authenticated via your SAML identity provider (IdP), will be removed from the organization and will receive an email notifying them about the removal. Bots and service accounts that do not have external identities set up in your organization's IdP will also be removed. For more information on bots and service accounts, see "[Managing bots and service accounts with SAML single sign-on](/articles/managing-bots-and-service-accounts-with-saml-single-sign-on)." You can restore organization members once they successfully complete single sign-on. diff --git a/content/github/setting-up-and-managing-organizations-and-teams/giving-team-maintainer-permissions-to-an-organization-member.md b/content/github/setting-up-and-managing-organizations-and-teams/giving-team-maintainer-permissions-to-an-organization-member.md index 24808059f5..5153f6a357 100644 --- a/content/github/setting-up-and-managing-organizations-and-teams/giving-team-maintainer-permissions-to-an-organization-member.md +++ b/content/github/setting-up-and-managing-organizations-and-teams/giving-team-maintainer-permissions-to-an-organization-member.md @@ -8,6 +8,9 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - organizations + - teams --- {% data reusables.organizations.team_maintainers_can %} diff --git a/content/github/setting-up-and-managing-organizations-and-teams/granting-access-to-your-organization-with-saml-single-sign-on.md b/content/github/setting-up-and-managing-organizations-and-teams/granting-access-to-your-organization-with-saml-single-sign-on.md index c0353de939..80c5ff6848 100644 --- a/content/github/setting-up-and-managing-organizations-and-teams/granting-access-to-your-organization-with-saml-single-sign-on.md +++ b/content/github/setting-up-and-managing-organizations-and-teams/granting-access-to-your-organization-with-saml-single-sign-on.md @@ -6,5 +6,8 @@ redirect_from: - /articles/granting-access-to-your-organization-with-saml-single-sign-on versions: free-pro-team: '*' +topics: + - organizations + - teams --- diff --git a/content/github/setting-up-and-managing-organizations-and-teams/index.md b/content/github/setting-up-and-managing-organizations-and-teams/index.md index a51df67c98..70a9607bb9 100644 --- a/content/github/setting-up-and-managing-organizations-and-teams/index.md +++ b/content/github/setting-up-and-managing-organizations-and-teams/index.md @@ -9,6 +9,9 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - organizations + - teams --- @@ -51,6 +54,11 @@ versions: {% link_in_list /disabling-team-discussions-for-your-organization %} {% link_in_list /managing-scheduled-reminders-for-your-team %} {% link_in_list /deleting-a-team %} +{% topic_link_in_list /collaborating-with-your-team %} + {% link_in_list /about-team-discussions %} + {% link_in_list /creating-a-team-discussion %} + {% link_in_list /editing-or-deleting-a-team-discussion %} + {% link_in_list /pinning-a-team-discussion %} {% topic_link_in_list /managing-access-to-your-organizations-repositories %} {% link_in_list /repository-permission-levels-for-an-organization %} {% link_in_list /setting-base-permissions-for-an-organization %} diff --git a/content/github/setting-up-and-managing-organizations-and-teams/inviting-users-to-join-your-organization.md b/content/github/setting-up-and-managing-organizations-and-teams/inviting-users-to-join-your-organization.md index 0c7304d050..7f2c029ce4 100644 --- a/content/github/setting-up-and-managing-organizations-and-teams/inviting-users-to-join-your-organization.md +++ b/content/github/setting-up-and-managing-organizations-and-teams/inviting-users-to-join-your-organization.md @@ -7,6 +7,9 @@ redirect_from: - /articles/inviting-users-to-join-your-organization versions: free-pro-team: '*' +topics: + - organizations + - teams --- {% tip %} diff --git a/content/github/setting-up-and-managing-organizations-and-teams/keeping-your-organization-secure.md b/content/github/setting-up-and-managing-organizations-and-teams/keeping-your-organization-secure.md index ae816c4de7..62b65b07ce 100644 --- a/content/github/setting-up-and-managing-organizations-and-teams/keeping-your-organization-secure.md +++ b/content/github/setting-up-and-managing-organizations-and-teams/keeping-your-organization-secure.md @@ -9,5 +9,8 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - organizations + - teams --- diff --git a/content/github/setting-up-and-managing-organizations-and-teams/maintaining-ownership-continuity-for-your-organization.md b/content/github/setting-up-and-managing-organizations-and-teams/maintaining-ownership-continuity-for-your-organization.md index 3264533765..76c0456caa 100644 --- a/content/github/setting-up-and-managing-organizations-and-teams/maintaining-ownership-continuity-for-your-organization.md +++ b/content/github/setting-up-and-managing-organizations-and-teams/maintaining-ownership-continuity-for-your-organization.md @@ -10,6 +10,9 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - organizations + - teams --- ### About maintaining ownership continuity for your organization diff --git a/content/github/setting-up-and-managing-organizations-and-teams/managing-access-to-a-project-board-for-organization-members.md b/content/github/setting-up-and-managing-organizations-and-teams/managing-access-to-a-project-board-for-organization-members.md index 5d7ab225fd..b15db3e0cc 100644 --- a/content/github/setting-up-and-managing-organizations-and-teams/managing-access-to-a-project-board-for-organization-members.md +++ b/content/github/setting-up-and-managing-organizations-and-teams/managing-access-to-a-project-board-for-organization-members.md @@ -7,6 +7,9 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - organizations + - teams --- By default, organization members have write access to their organization's project boards unless organization owners or project board admins set different permissions for specific project boards. diff --git a/content/github/setting-up-and-managing-organizations-and-teams/managing-access-to-your-organizations-apps.md b/content/github/setting-up-and-managing-organizations-and-teams/managing-access-to-your-organizations-apps.md index 09b911c5fe..722baa5e9d 100644 --- a/content/github/setting-up-and-managing-organizations-and-teams/managing-access-to-your-organizations-apps.md +++ b/content/github/setting-up-and-managing-organizations-and-teams/managing-access-to-your-organizations-apps.md @@ -9,5 +9,8 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - organizations + - teams --- diff --git a/content/github/setting-up-and-managing-organizations-and-teams/managing-access-to-your-organizations-project-boards.md b/content/github/setting-up-and-managing-organizations-and-teams/managing-access-to-your-organizations-project-boards.md index cd5110e35f..2bdeee3631 100644 --- a/content/github/setting-up-and-managing-organizations-and-teams/managing-access-to-your-organizations-project-boards.md +++ b/content/github/setting-up-and-managing-organizations-and-teams/managing-access-to-your-organizations-project-boards.md @@ -9,5 +9,8 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - organizations + - teams --- diff --git a/content/github/setting-up-and-managing-organizations-and-teams/managing-access-to-your-organizations-repositories.md b/content/github/setting-up-and-managing-organizations-and-teams/managing-access-to-your-organizations-repositories.md index b6a9fa4057..ed1fe22a09 100644 --- a/content/github/setting-up-and-managing-organizations-and-teams/managing-access-to-your-organizations-repositories.md +++ b/content/github/setting-up-and-managing-organizations-and-teams/managing-access-to-your-organizations-repositories.md @@ -10,5 +10,8 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - organizations + - teams --- diff --git a/content/github/setting-up-and-managing-organizations-and-teams/managing-allowed-ip-addresses-for-your-organization.md b/content/github/setting-up-and-managing-organizations-and-teams/managing-allowed-ip-addresses-for-your-organization.md index 197bdfc5be..7b77503d4f 100644 --- a/content/github/setting-up-and-managing-organizations-and-teams/managing-allowed-ip-addresses-for-your-organization.md +++ b/content/github/setting-up-and-managing-organizations-and-teams/managing-allowed-ip-addresses-for-your-organization.md @@ -5,6 +5,9 @@ product: '{% data reusables.gated-features.allowed-ip-addresses %}' versions: free-pro-team: '*' github-ae: '*' +topics: + - organizations + - teams --- Organization owners can manage allowed IP addresses for an organization. diff --git a/content/github/setting-up-and-managing-organizations-and-teams/managing-an-individuals-access-to-an-organization-project-board.md b/content/github/setting-up-and-managing-organizations-and-teams/managing-an-individuals-access-to-an-organization-project-board.md index cd5207d102..3141574194 100644 --- a/content/github/setting-up-and-managing-organizations-and-teams/managing-an-individuals-access-to-an-organization-project-board.md +++ b/content/github/setting-up-and-managing-organizations-and-teams/managing-an-individuals-access-to-an-organization-project-board.md @@ -8,6 +8,9 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - organizations + - teams --- {% note %} diff --git a/content/github/setting-up-and-managing-organizations-and-teams/managing-an-individuals-access-to-an-organization-repository.md b/content/github/setting-up-and-managing-organizations-and-teams/managing-an-individuals-access-to-an-organization-repository.md index 194b8f4c9a..f7dcde666d 100644 --- a/content/github/setting-up-and-managing-organizations-and-teams/managing-an-individuals-access-to-an-organization-repository.md +++ b/content/github/setting-up-and-managing-organizations-and-teams/managing-an-individuals-access-to-an-organization-repository.md @@ -9,6 +9,9 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - organizations + - teams --- People with admin permissions can manage the access of organization members and outside collaborators to an organization repository. diff --git a/content/github/setting-up-and-managing-organizations-and-teams/managing-bots-and-service-accounts-with-saml-single-sign-on.md b/content/github/setting-up-and-managing-organizations-and-teams/managing-bots-and-service-accounts-with-saml-single-sign-on.md index 4cd31df71a..f16c843a4e 100644 --- a/content/github/setting-up-and-managing-organizations-and-teams/managing-bots-and-service-accounts-with-saml-single-sign-on.md +++ b/content/github/setting-up-and-managing-organizations-and-teams/managing-bots-and-service-accounts-with-saml-single-sign-on.md @@ -6,6 +6,9 @@ redirect_from: - /articles/managing-bots-and-service-accounts-with-saml-single-sign-on versions: free-pro-team: '*' +topics: + - organizations + - teams --- To retain access for bots and service accounts, organization administrators can [enable](/articles/enabling-and-testing-saml-single-sign-on-for-your-organization), but **not** [enforce](/articles/enforcing-saml-single-sign-on-for-your-organization) SAML single sign-on for their organization. If you need to enforce SAML single sign-on for your organization, you can create an external identity for the bot or service account with your identity provider (IdP). diff --git a/content/github/setting-up-and-managing-organizations-and-teams/managing-code-review-assignment-for-your-team.md b/content/github/setting-up-and-managing-organizations-and-teams/managing-code-review-assignment-for-your-team.md index 750351b231..3ba913f229 100644 --- a/content/github/setting-up-and-managing-organizations-and-teams/managing-code-review-assignment-for-your-team.md +++ b/content/github/setting-up-and-managing-organizations-and-teams/managing-code-review-assignment-for-your-team.md @@ -6,6 +6,9 @@ versions: free-pro-team: '*' enterprise-server: '>=2.20' github-ae: '*' +topics: + - organizations + - teams --- Team maintainers and organization owners can configure code review assignments. diff --git a/content/github/setting-up-and-managing-organizations-and-teams/managing-default-labels-for-repositories-in-your-organization.md b/content/github/setting-up-and-managing-organizations-and-teams/managing-default-labels-for-repositories-in-your-organization.md index cd54ddd0c9..7ec3f9f8c4 100644 --- a/content/github/setting-up-and-managing-organizations-and-teams/managing-default-labels-for-repositories-in-your-organization.md +++ b/content/github/setting-up-and-managing-organizations-and-teams/managing-default-labels-for-repositories-in-your-organization.md @@ -7,6 +7,9 @@ versions: free-pro-team: '*' enterprise-server: '>=2.20' github-ae: '*' +topics: + - organizations + - teams --- Organization owners can manage default labels for repositories in the organization. diff --git a/content/github/setting-up-and-managing-organizations-and-teams/managing-discussion-creation-for-repositories-in-your-organization.md b/content/github/setting-up-and-managing-organizations-and-teams/managing-discussion-creation-for-repositories-in-your-organization.md index 7f6719b4f8..59557ff8e9 100644 --- a/content/github/setting-up-and-managing-organizations-and-teams/managing-discussion-creation-for-repositories-in-your-organization.md +++ b/content/github/setting-up-and-managing-organizations-and-teams/managing-discussion-creation-for-repositories-in-your-organization.md @@ -4,6 +4,9 @@ intro: You can choose the permission levels that members require to create discu permissions: Organization owners can manage discussion creation for repositories owned by the organization. versions: free-pro-team: '*' +topics: + - organizations + - teams --- {% data reusables.discussions.beta %} diff --git a/content/github/setting-up-and-managing-organizations-and-teams/managing-git-access-to-your-organizations-repositories.md b/content/github/setting-up-and-managing-organizations-and-teams/managing-git-access-to-your-organizations-repositories.md index 168400ecde..0070b8eba7 100644 --- a/content/github/setting-up-and-managing-organizations-and-teams/managing-git-access-to-your-organizations-repositories.md +++ b/content/github/setting-up-and-managing-organizations-and-teams/managing-git-access-to-your-organizations-repositories.md @@ -10,5 +10,8 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - organizations + - teams --- diff --git a/content/github/setting-up-and-managing-organizations-and-teams/managing-membership-in-your-organization.md b/content/github/setting-up-and-managing-organizations-and-teams/managing-membership-in-your-organization.md index 507ee1d405..497c8251f9 100644 --- a/content/github/setting-up-and-managing-organizations-and-teams/managing-membership-in-your-organization.md +++ b/content/github/setting-up-and-managing-organizations-and-teams/managing-membership-in-your-organization.md @@ -9,5 +9,8 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - organizations + - teams --- diff --git a/content/github/setting-up-and-managing-organizations-and-teams/managing-organization-settings.md b/content/github/setting-up-and-managing-organizations-and-teams/managing-organization-settings.md index 18cf027e38..64b002f6bf 100644 --- a/content/github/setting-up-and-managing-organizations-and-teams/managing-organization-settings.md +++ b/content/github/setting-up-and-managing-organizations-and-teams/managing-organization-settings.md @@ -8,5 +8,8 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - organizations + - teams --- diff --git a/content/github/setting-up-and-managing-organizations-and-teams/managing-peoples-access-to-your-organization-with-roles.md b/content/github/setting-up-and-managing-organizations-and-teams/managing-peoples-access-to-your-organization-with-roles.md index f21057f972..9d14684e91 100644 --- a/content/github/setting-up-and-managing-organizations-and-teams/managing-peoples-access-to-your-organization-with-roles.md +++ b/content/github/setting-up-and-managing-organizations-and-teams/managing-peoples-access-to-your-organization-with-roles.md @@ -9,5 +9,8 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - organizations + - teams --- diff --git a/content/github/setting-up-and-managing-organizations-and-teams/managing-saml-single-sign-on-for-your-organization.md b/content/github/setting-up-and-managing-organizations-and-teams/managing-saml-single-sign-on-for-your-organization.md index 99753ae9e2..f39fa938c3 100644 --- a/content/github/setting-up-and-managing-organizations-and-teams/managing-saml-single-sign-on-for-your-organization.md +++ b/content/github/setting-up-and-managing-organizations-and-teams/managing-saml-single-sign-on-for-your-organization.md @@ -7,5 +7,8 @@ redirect_from: - /articles/managing-saml-single-sign-on-for-your-organization versions: free-pro-team: '*' +topics: + - organizations + - teams --- diff --git a/content/github/setting-up-and-managing-organizations-and-teams/managing-scheduled-reminders-for-your-organization.md b/content/github/setting-up-and-managing-organizations-and-teams/managing-scheduled-reminders-for-your-organization.md index 93269f99c4..1d046ad5ee 100644 --- a/content/github/setting-up-and-managing-organizations-and-teams/managing-scheduled-reminders-for-your-organization.md +++ b/content/github/setting-up-and-managing-organizations-and-teams/managing-scheduled-reminders-for-your-organization.md @@ -3,6 +3,9 @@ title: Managing scheduled reminders for your organization intro: You can get reminders in Slack for all pull requests that teams in your organization have been requested to review. versions: free-pro-team: '*' +topics: + - organizations + - teams --- ### About scheduled reminders for pull requests diff --git a/content/github/setting-up-and-managing-organizations-and-teams/managing-scheduled-reminders-for-your-team.md b/content/github/setting-up-and-managing-organizations-and-teams/managing-scheduled-reminders-for-your-team.md index 1be6eb0787..be3b2ef9c0 100644 --- a/content/github/setting-up-and-managing-organizations-and-teams/managing-scheduled-reminders-for-your-team.md +++ b/content/github/setting-up-and-managing-organizations-and-teams/managing-scheduled-reminders-for-your-team.md @@ -5,6 +5,9 @@ redirect_from: - /github/setting-up-and-managing-organizations-and-teams/managing-scheduled-reminders-for-pull-requests versions: free-pro-team: '*' +topics: + - organizations + - teams --- ### About scheduled reminders for teams diff --git a/content/github/setting-up-and-managing-organizations-and-teams/managing-security-and-analysis-settings-for-your-organization.md b/content/github/setting-up-and-managing-organizations-and-teams/managing-security-and-analysis-settings-for-your-organization.md index 35b5b20eb7..61d86f76ab 100644 --- a/content/github/setting-up-and-managing-organizations-and-teams/managing-security-and-analysis-settings-for-your-organization.md +++ b/content/github/setting-up-and-managing-organizations-and-teams/managing-security-and-analysis-settings-for-your-organization.md @@ -8,6 +8,9 @@ versions: free-pro-team: '*' enterprise-server: '>=3.0' github-ae: '*' +topics: + - organizations + - teams --- ### About management of security and analysis settings @@ -26,7 +29,7 @@ versions: The page that's displayed allows you to enable or disable all security and analysis features for the repositories in your organization. -{% if currentVersion == "free-pro-team@latest" %}If your organization, or the enterprise that owns it, has a license for {% data variables.product.prodname_GH_advanced_security %}, the page will also contain options to enable and disable {% data variables.product.prodname_advanced_security %} features. Any repositories that use {% data variables.product.prodname_GH_advanced_security %} are listed at the bottom of the page.{% endif %} +{% if currentVersion == "free-pro-team@latest" %}If your organization belongs to an enterprise with a license for {% data variables.product.prodname_GH_advanced_security %}, the page will also contain options to enable and disable {% data variables.product.prodname_advanced_security %} features. Any repositories that use {% data variables.product.prodname_GH_advanced_security %} are listed at the bottom of the page.{% endif %} {% if currentVersion ver_gt "enterprise-server@3.0" %}If you have a license for {% data variables.product.prodname_GH_advanced_security %}, the page will also contain options to enable and disable {% data variables.product.prodname_advanced_security %} features. Any repositories that use {% data variables.product.prodname_GH_advanced_security %} are listed at the bottom of the page.{% endif %} @@ -76,6 +79,8 @@ You can enable or disable features for all repositories. {% if currentVersion == ![Button to enable feature for all the eligible repositories in the organization](/assets/images/enterprise/github-ae/organizations/security-and-analysis-enable-secret-scanning-existing-repos-ghae.png) {% endif %} + {% data reusables.security.displayed-information %} + ### Enabling or disabling a feature automatically when new repositories are added 1. Go to the security and analysis settings for your organization. For more information, see "[Displaying the security and analysis settings](#displaying-the-security-and-analysis-settings)." @@ -92,13 +97,17 @@ You can enable or disable features for all repositories. {% if currentVersion == {% if currentVersion == "free-pro-team@latest" %} -### Allowing Dependabot to access private repositories +### Allowing {% data variables.product.prodname_dependabot %} to access private dependencies {% data reusables.dependabot.beta-note %} -{% data variables.product.prodname_dependabot %} can check for outdated dependency references in a project and automatically generate a pull request to update them. To do this, {% data variables.product.prodname_dependabot %} must have access to all of the targeted dependency files. Typically, version updates will fail if one or more dependencies are inaccessible. +{% data variables.product.prodname_dependabot %} can check for outdated dependency references in a project and automatically generate a pull request to update them. To do this, {% data variables.product.prodname_dependabot %} must have access to all of the targeted dependency files. Typically, version updates will fail if one or more dependencies are inaccessible. For more information, see "[About {% data variables.product.prodname_dependabot %} version updates](/github/administering-a-repository/about-dependabot-version-updates)." -By default, {% data variables.product.prodname_dependabot %} can't update dependencies that are located in private repositories. However, if a dependency is in a private {% data variables.product.prodname_dotcom %} repository within the same organization as the project that uses that dependency, you can allow {% data variables.product.prodname_dependabot %} to update the version successfully by giving it access to the host repository. For more information, including details of limitations to private dependency support, see "[About Dependabot version updates](/github/administering-a-repository/about-dependabot-version-updates)." +By default, {% data variables.product.prodname_dependabot %} can't update dependencies that are located in private repositories or private package registries. However, if a dependency is in a private {% data variables.product.prodname_dotcom %} repository within the same organization as the project that uses that dependency, you can allow {% data variables.product.prodname_dependabot %} to update the version successfully by giving it access to the host repository. + +If your code depends on packages in a private registry, you can allow {% data variables.product.prodname_dependabot %} to update the versions of these dependencies by configuring this at the repository level. You do this by adding authentication details to the _dependabot.yml_ file for the repository. For more information, see "[Configuration options for dependency updates](/github/administering-a-repository/configuration-options-for-dependency-updates#configuration-options-for-private-registries)." + +To allow {% data variables.product.prodname_dependabot %} to access a private {% data variables.product.prodname_dotcom %} repository: 1. Go to the security and analysis settings for your organization. For more information, see "[Displaying the security and analysis settings](#displaying-the-security-and-analysis-settings)." 1. Under "{% data variables.product.prodname_dependabot %} private repository access", click **Add private repositories** or **Add internal and private repositories**. diff --git a/content/github/setting-up-and-managing-organizations-and-teams/managing-team-access-to-an-organization-project-board.md b/content/github/setting-up-and-managing-organizations-and-teams/managing-team-access-to-an-organization-project-board.md index d6800f9749..c1659ebf20 100644 --- a/content/github/setting-up-and-managing-organizations-and-teams/managing-team-access-to-an-organization-project-board.md +++ b/content/github/setting-up-and-managing-organizations-and-teams/managing-team-access-to-an-organization-project-board.md @@ -7,6 +7,9 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - organizations + - teams --- {% warning %} diff --git a/content/github/setting-up-and-managing-organizations-and-teams/managing-team-access-to-an-organization-repository.md b/content/github/setting-up-and-managing-organizations-and-teams/managing-team-access-to-an-organization-repository.md index 54c73b2ab5..dca7e05e67 100644 --- a/content/github/setting-up-and-managing-organizations-and-teams/managing-team-access-to-an-organization-repository.md +++ b/content/github/setting-up-and-managing-organizations-and-teams/managing-team-access-to-an-organization-repository.md @@ -8,6 +8,9 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - organizations + - teams --- People with admin access to a repository can manage team access to the repository. Team maintainers can remove a team's access to a repository. diff --git a/content/github/setting-up-and-managing-organizations-and-teams/managing-team-synchronization-for-your-organization.md b/content/github/setting-up-and-managing-organizations-and-teams/managing-team-synchronization-for-your-organization.md index 9688d5223d..afbdb5dfe0 100644 --- a/content/github/setting-up-and-managing-organizations-and-teams/managing-team-synchronization-for-your-organization.md +++ b/content/github/setting-up-and-managing-organizations-and-teams/managing-team-synchronization-for-your-organization.md @@ -10,6 +10,9 @@ permissions: Organization owners can manage team synchronization for an organiza miniTocMaxHeadingLevel: 4 versions: free-pro-team: '*' +topics: + - organizations + - teams --- {% data reusables.gated-features.okta-team-sync %} diff --git a/content/github/setting-up-and-managing-organizations-and-teams/managing-the-default-branch-name-for-repositories-in-your-organization.md b/content/github/setting-up-and-managing-organizations-and-teams/managing-the-default-branch-name-for-repositories-in-your-organization.md index 97b52e84e9..d0c412bd38 100644 --- a/content/github/setting-up-and-managing-organizations-and-teams/managing-the-default-branch-name-for-repositories-in-your-organization.md +++ b/content/github/setting-up-and-managing-organizations-and-teams/managing-the-default-branch-name-for-repositories-in-your-organization.md @@ -6,6 +6,9 @@ versions: free-pro-team: '*' enterprise-server: '>=2.23' github-ae: '*' +topics: + - organizations + - teams --- ### About management of the default branch name diff --git a/content/github/setting-up-and-managing-organizations-and-teams/managing-the-display-of-member-names-in-your-organization.md b/content/github/setting-up-and-managing-organizations-and-teams/managing-the-display-of-member-names-in-your-organization.md index aadb68e9f9..2ea1724010 100644 --- a/content/github/setting-up-and-managing-organizations-and-teams/managing-the-display-of-member-names-in-your-organization.md +++ b/content/github/setting-up-and-managing-organizations-and-teams/managing-the-display-of-member-names-in-your-organization.md @@ -8,6 +8,9 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - organizations + - teams --- Organization owners can manage the display of member names in an organization. diff --git a/content/github/setting-up-and-managing-organizations-and-teams/managing-the-forking-policy-for-your-organization.md b/content/github/setting-up-and-managing-organizations-and-teams/managing-the-forking-policy-for-your-organization.md index 1a56221145..d0c4ef8fe6 100644 --- a/content/github/setting-up-and-managing-organizations-and-teams/managing-the-forking-policy-for-your-organization.md +++ b/content/github/setting-up-and-managing-organizations-and-teams/managing-the-forking-policy-for-your-organization.md @@ -9,6 +9,9 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - organizations + - teams --- By default, new organizations are configured to disallow the forking of private{% if currentVersion == "free-pro-team@latest" or currentVersion ver_gt "enterprise-server@2.19" or currentVersion == "github-ae@latest" %} and internal{% endif %} repositories. diff --git a/content/github/setting-up-and-managing-organizations-and-teams/managing-the-publication-of-github-pages-sites-for-your-organization.md b/content/github/setting-up-and-managing-organizations-and-teams/managing-the-publication-of-github-pages-sites-for-your-organization.md index 184d6d2537..77d90558d2 100644 --- a/content/github/setting-up-and-managing-organizations-and-teams/managing-the-publication-of-github-pages-sites-for-your-organization.md +++ b/content/github/setting-up-and-managing-organizations-and-teams/managing-the-publication-of-github-pages-sites-for-your-organization.md @@ -9,7 +9,9 @@ versions: github-ae: '*' redirect_from: - /github/setting-up-and-managing-organizations-and-teams/disabling-publication-of-github-pages-sites-for-your-organization - +topics: + - organizations + - teams --- {% if currentVersion == "free-pro-team@latest" %} diff --git a/content/github/setting-up-and-managing-organizations-and-teams/managing-updates-from-accounts-your-organization-sponsors.md b/content/github/setting-up-and-managing-organizations-and-teams/managing-updates-from-accounts-your-organization-sponsors.md index f60a664644..d849f0d8b8 100644 --- a/content/github/setting-up-and-managing-organizations-and-teams/managing-updates-from-accounts-your-organization-sponsors.md +++ b/content/github/setting-up-and-managing-organizations-and-teams/managing-updates-from-accounts-your-organization-sponsors.md @@ -4,6 +4,9 @@ intro: You can manage the email address that receives updates from accounts your versions: free-pro-team: '*' permissions: Organization owners can manage updates from accounts the organization sponsors. +topics: + - organizations + - teams --- {% data reusables.sponsors.org-sponsors-release-phase %} @@ -22,4 +25,4 @@ You can also disable updates from accounts your organization sponsors. For more ### Further reading -- "[Supporting the open source community with {% data variables.product.prodname_sponsors %}](/github/supporting-the-open-source-community-with-github-sponsors)" \ No newline at end of file +- "[Supporting the open source community with {% data variables.product.prodname_sponsors %}](/github/supporting-the-open-source-community-with-github-sponsors)" diff --git a/content/github/setting-up-and-managing-organizations-and-teams/managing-your-organizations-ssh-certificate-authorities.md b/content/github/setting-up-and-managing-organizations-and-teams/managing-your-organizations-ssh-certificate-authorities.md index 9a2b443b69..1d363a5cc7 100644 --- a/content/github/setting-up-and-managing-organizations-and-teams/managing-your-organizations-ssh-certificate-authorities.md +++ b/content/github/setting-up-and-managing-organizations-and-teams/managing-your-organizations-ssh-certificate-authorities.md @@ -8,6 +8,9 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - organizations + - teams --- Organization owners can manage an organization's SSH certificate authorities (CA). diff --git a/content/github/setting-up-and-managing-organizations-and-teams/migrating-admin-teams-to-improved-organization-permissions.md b/content/github/setting-up-and-managing-organizations-and-teams/migrating-admin-teams-to-improved-organization-permissions.md index 3a9dfef8fd..47a3e880a4 100644 --- a/content/github/setting-up-and-managing-organizations-and-teams/migrating-admin-teams-to-improved-organization-permissions.md +++ b/content/github/setting-up-and-managing-organizations-and-teams/migrating-admin-teams-to-improved-organization-permissions.md @@ -7,6 +7,9 @@ redirect_from: versions: free-pro-team: '*' enterprise-server: '*' +topics: + - organizations + - teams --- By default, all organization members can create repositories. If you restrict [repository creation permissions](/articles/restricting-repository-creation-in-your-organization) to organization owners, and your organization was created under the legacy organization permissions structure, members of legacy admin teams will still be able to create repositories. diff --git a/content/github/setting-up-and-managing-organizations-and-teams/migrating-to-improved-organization-permissions.md b/content/github/setting-up-and-managing-organizations-and-teams/migrating-to-improved-organization-permissions.md index 7941a9989c..ccaaf3494e 100644 --- a/content/github/setting-up-and-managing-organizations-and-teams/migrating-to-improved-organization-permissions.md +++ b/content/github/setting-up-and-managing-organizations-and-teams/migrating-to-improved-organization-permissions.md @@ -10,5 +10,8 @@ redirect_from: versions: free-pro-team: '*' enterprise-server: '*' +topics: + - organizations + - teams --- diff --git a/content/github/setting-up-and-managing-organizations-and-teams/moving-a-team-in-your-organizations-hierarchy.md b/content/github/setting-up-and-managing-organizations-and-teams/moving-a-team-in-your-organizations-hierarchy.md index 5229466db2..7ffab5946c 100644 --- a/content/github/setting-up-and-managing-organizations-and-teams/moving-a-team-in-your-organizations-hierarchy.md +++ b/content/github/setting-up-and-managing-organizations-and-teams/moving-a-team-in-your-organizations-hierarchy.md @@ -9,6 +9,9 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - organizations + - teams --- Organization owners can change the parent of any team. Team maintainers can change a team's parent if they are maintainers in both the child team and the parent team. Team maintainers without maintainer permissions in the child team can request to add a parent or child team. For more information, see "[Requesting to add or change a parent team](/articles/requesting-to-add-or-change-a-parent-team)" and "[Requesting to add a child team](/articles/requesting-to-add-a-child-team)." diff --git a/content/github/setting-up-and-managing-organizations-and-teams/organizing-members-into-teams.md b/content/github/setting-up-and-managing-organizations-and-teams/organizing-members-into-teams.md index fc2ca3c1f7..b820de8bd8 100644 --- a/content/github/setting-up-and-managing-organizations-and-teams/organizing-members-into-teams.md +++ b/content/github/setting-up-and-managing-organizations-and-teams/organizing-members-into-teams.md @@ -16,5 +16,8 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - organizations + - teams --- diff --git a/content/github/setting-up-and-managing-organizations-and-teams/permission-levels-for-an-organization.md b/content/github/setting-up-and-managing-organizations-and-teams/permission-levels-for-an-organization.md index 54c5d401fb..8aa3341d1b 100644 --- a/content/github/setting-up-and-managing-organizations-and-teams/permission-levels-for-an-organization.md +++ b/content/github/setting-up-and-managing-organizations-and-teams/permission-levels-for-an-organization.md @@ -8,6 +8,9 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - organizations + - teams --- ### Permission levels for an organization @@ -49,8 +52,8 @@ Organization members can have *owner*{% if currentVersion == "free-pro-team@late | @mention any visible team | **X** | **X** | | | Can be made a *team maintainer* | **X** | **X** | | | View organization insights (see "[Viewing insights for your organization](/articles/viewing-insights-for-your-organization)" for details) | **X** | **X** | | -| View and post public team discussions to **all teams** (see "[About team discussions](/articles/about-team-discussions)" for details) | **X** | **X** | | -| View and post private team discussions to **all teams** (see "[About team discussions](/articles/about-team-discussions)" for details) | **X** | | | +| View and post public team discussions to **all teams** (see "[About team discussions](/github/setting-up-and-managing-organizations-and-teams/about-team-discussions)" for details) | **X** | **X** | | +| View and post private team discussions to **all teams** (see "[About team discussions](/github/setting-up-and-managing-organizations-and-teams/about-team-discussions)" for details) | **X** | | | | Edit and delete team discussions in **all teams** (see "[Managing disruptive comments](/articles/managing-disruptive-comments)" for details) | **X** | | | | Hide comments on commits, pull requests, and issues (see "[Managing disruptive comments](/articles/managing-disruptive-comments/#hiding-a-comment)" for details) | **X** | **X** | | | Disable team discussions for an organization (see "[Disabling team discussions for your organization](/articles/disabling-team-discussions-for-your-organization)" for details) | **X** | | | @@ -103,8 +106,8 @@ Organization members can have *owner*{% if currentVersion == "free-pro-team@late | Transfer repositories | **X** | | | Manage an organization's SSH certificate authorities (see "[Managing your organization's SSH certificate authorities](/articles/managing-your-organizations-ssh-certificate-authorities)" for details) | **X** | | | Create project boards (see "[Project board permissions for an organization](/articles/project-board-permissions-for-an-organization)" for details) | **X** | **X** | | -| View and post public team discussions to **all teams** (see "[About team discussions](/articles/about-team-discussions)" for details) | **X** | **X** | | -| View and post private team discussions to **all teams** (see "[About team discussions](/articles/about-team-discussions)" for details) | **X** | | | +| View and post public team discussions to **all teams** (see "[About team discussions](/github/setting-up-and-managing-organizations-and-teams/about-team-discussions)" for details) | **X** | **X** | | +| View and post private team discussions to **all teams** (see "[About team discussions](/github/setting-up-and-managing-organizations-and-teams/about-team-discussions)" for details) | **X** | | | | Edit and delete team discussions in **all teams** (for more information, see "[Managing disruptive comments](/articles/managing-disruptive-comments)) | **X** | | | | Hide comments on commits, pull requests, and issues (see "[Managing disruptive comments](/articles/managing-disruptive-comments/#hiding-a-comment)" for details) | **X** | **X** | **X** | | Disable team discussions for an organization (see "[Disabling team discussions for your organization](/articles/disabling-team-discussions-for-your-organization)" for details) | **X** | | | @@ -131,7 +134,7 @@ When you designate a user as a {% data variables.product.prodname_github_app %} ### Outside collaborators -To keep your organization data secure while allowing access to repositories, you can add *outside collaborators*. {% data reusables.organizations.outside_collaborators_description %} +To keep your organization's data secure while allowing access to repositories, you can add *outside collaborators*. {% data reusables.organizations.outside_collaborators_description %} ### Further reading diff --git a/content/github/building-a-strong-community/pinning-a-team-discussion.md b/content/github/setting-up-and-managing-organizations-and-teams/pinning-a-team-discussion.md similarity index 62% rename from content/github/building-a-strong-community/pinning-a-team-discussion.md rename to content/github/setting-up-and-managing-organizations-and-teams/pinning-a-team-discussion.md index 77726b1399..42459e82a6 100644 --- a/content/github/building-a-strong-community/pinning-a-team-discussion.md +++ b/content/github/setting-up-and-managing-organizations-and-teams/pinning-a-team-discussion.md @@ -3,10 +3,13 @@ title: Pinning a team discussion intro: 'You can pin important discussions to your organization''s team pages for easy reference, and unpin discussions that are no longer relevant.' redirect_from: - /articles/pinning-a-team-discussion + - /github/building-a-strong-community/pinning-a-team-discussion versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - community --- {% data reusables.profile.access_profile %} @@ -18,6 +21,6 @@ versions: ### Further reading - - "[About team discussions](/articles/about-team-discussions)" - - "[Creating a team discussion](/articles/creating-a-team-discussion)" - - "[Editing or deleting a team discussion](/articles/editing-or-deleting-a-team-discussion)" + - "[About team discussions](/github/setting-up-and-managing-organizations-and-teams/about-team-discussions)" + - "[Creating a team discussion](/github/setting-up-and-managing-organizations-and-teams/creating-a-team-discussion)" + - "[Editing or deleting a team discussion](/github/setting-up-and-managing-organizations-and-teams/editing-or-deleting-a-team-discussion)" diff --git a/content/github/setting-up-and-managing-organizations-and-teams/preparing-to-enforce-saml-single-sign-on-in-your-organization.md b/content/github/setting-up-and-managing-organizations-and-teams/preparing-to-enforce-saml-single-sign-on-in-your-organization.md index 8302c07367..c94b189833 100644 --- a/content/github/setting-up-and-managing-organizations-and-teams/preparing-to-enforce-saml-single-sign-on-in-your-organization.md +++ b/content/github/setting-up-and-managing-organizations-and-teams/preparing-to-enforce-saml-single-sign-on-in-your-organization.md @@ -6,6 +6,9 @@ redirect_from: - /articles/preparing-to-enforce-saml-single-sign-on-in-your-organization versions: free-pro-team: '*' +topics: + - organizations + - teams --- When you [enforce SAML single sign-on](/articles/enabling-and-testing-saml-single-sign-on-for-your-organization) in your organization, members that haven't authenticated via your identity provider (IdP) will be removed from the organization and will receive an email notifying them about the removal. diff --git a/content/github/setting-up-and-managing-organizations-and-teams/preparing-to-require-two-factor-authentication-in-your-organization.md b/content/github/setting-up-and-managing-organizations-and-teams/preparing-to-require-two-factor-authentication-in-your-organization.md index 4faf9c6798..8c14803057 100644 --- a/content/github/setting-up-and-managing-organizations-and-teams/preparing-to-require-two-factor-authentication-in-your-organization.md +++ b/content/github/setting-up-and-managing-organizations-and-teams/preparing-to-require-two-factor-authentication-in-your-organization.md @@ -6,6 +6,9 @@ redirect_from: versions: free-pro-team: '*' enterprise-server: '*' +topics: + - organizations + - teams --- We recommend that you notify {% if currentVersion == "free-pro-team@latest" %}organization members, outside collaborators, and billing managers{% else %}organization members and outside collaborators{% endif %} at least one week before you require 2FA in your organization. diff --git a/content/github/setting-up-and-managing-organizations-and-teams/project-board-permissions-for-an-organization.md b/content/github/setting-up-and-managing-organizations-and-teams/project-board-permissions-for-an-organization.md index 21d3103029..c774786ca2 100644 --- a/content/github/setting-up-and-managing-organizations-and-teams/project-board-permissions-for-an-organization.md +++ b/content/github/setting-up-and-managing-organizations-and-teams/project-board-permissions-for-an-organization.md @@ -7,6 +7,9 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - organizations + - teams --- ### Permissions overview diff --git a/content/github/setting-up-and-managing-organizations-and-teams/reinstating-a-former-member-of-your-organization.md b/content/github/setting-up-and-managing-organizations-and-teams/reinstating-a-former-member-of-your-organization.md index 7a8d714fa5..5df6e4477f 100644 --- a/content/github/setting-up-and-managing-organizations-and-teams/reinstating-a-former-member-of-your-organization.md +++ b/content/github/setting-up-and-managing-organizations-and-teams/reinstating-a-former-member-of-your-organization.md @@ -7,7 +7,10 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' -permissions: 'Organization owners can reinstate a former member of an organization.' +permissions: Organization owners can reinstate a former member of an organization. +topics: + - organizations + - teams --- ### About member reinstatement diff --git a/content/github/setting-up-and-managing-organizations-and-teams/reinstating-a-former-outside-collaborators-access-to-your-organization.md b/content/github/setting-up-and-managing-organizations-and-teams/reinstating-a-former-outside-collaborators-access-to-your-organization.md index 3608669ae5..042cca36ba 100644 --- a/content/github/setting-up-and-managing-organizations-and-teams/reinstating-a-former-outside-collaborators-access-to-your-organization.md +++ b/content/github/setting-up-and-managing-organizations-and-teams/reinstating-a-former-outside-collaborators-access-to-your-organization.md @@ -1,6 +1,6 @@ --- title: Reinstating a former outside collaborator's access to your organization -intro: "You can reinstate a former outside collaborator's access permissions for organization repositories, forks, and settings." +intro: 'You can reinstate a former outside collaborator''s access permissions for organization repositories, forks, and settings.' redirect_from: - /articles/reinstating-a-former-outside-collaborator-s-access-to-your-organization - /articles/reinstating-a-former-outside-collaborators-access-to-your-organization @@ -8,6 +8,9 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - organizations + - teams --- When an outside collaborator's access to your organization's private repositories is removed, the user's access privileges and settings are saved for three months. You can restore the user's privileges if you {% if currentVersion == "free-pro-team@latest" %}invite{% else %}add{% endif %} them back to the organization within that time frame. diff --git a/content/github/setting-up-and-managing-organizations-and-teams/removing-a-billing-manager-from-your-organization.md b/content/github/setting-up-and-managing-organizations-and-teams/removing-a-billing-manager-from-your-organization.md index 16b4fb64bb..cc855248da 100644 --- a/content/github/setting-up-and-managing-organizations-and-teams/removing-a-billing-manager-from-your-organization.md +++ b/content/github/setting-up-and-managing-organizations-and-teams/removing-a-billing-manager-from-your-organization.md @@ -5,6 +5,10 @@ redirect_from: - /articles/removing-a-billing-manager-from-your-organization versions: free-pro-team: '*' +topics: + - organizations + - teams + - billing --- {% warning %} diff --git a/content/github/setting-up-and-managing-organizations-and-teams/removing-a-member-from-your-organization.md b/content/github/setting-up-and-managing-organizations-and-teams/removing-a-member-from-your-organization.md index 69be72a9b5..27a9d304b2 100644 --- a/content/github/setting-up-and-managing-organizations-and-teams/removing-a-member-from-your-organization.md +++ b/content/github/setting-up-and-managing-organizations-and-teams/removing-a-member-from-your-organization.md @@ -7,6 +7,9 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - organizations + - teams --- Only organization owners can remove members from an organization. diff --git a/content/github/setting-up-and-managing-organizations-and-teams/removing-an-outside-collaborator-from-an-organization-project-board.md b/content/github/setting-up-and-managing-organizations-and-teams/removing-an-outside-collaborator-from-an-organization-project-board.md index 545cc8145f..8dfd92496e 100644 --- a/content/github/setting-up-and-managing-organizations-and-teams/removing-an-outside-collaborator-from-an-organization-project-board.md +++ b/content/github/setting-up-and-managing-organizations-and-teams/removing-an-outside-collaborator-from-an-organization-project-board.md @@ -7,6 +7,9 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - organizations + - teams --- {% data reusables.profile.access_profile %} diff --git a/content/github/setting-up-and-managing-organizations-and-teams/removing-an-outside-collaborator-from-an-organization-repository.md b/content/github/setting-up-and-managing-organizations-and-teams/removing-an-outside-collaborator-from-an-organization-repository.md index d46382fc55..434d773e95 100644 --- a/content/github/setting-up-and-managing-organizations-and-teams/removing-an-outside-collaborator-from-an-organization-repository.md +++ b/content/github/setting-up-and-managing-organizations-and-teams/removing-an-outside-collaborator-from-an-organization-repository.md @@ -7,6 +7,9 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - organizations + - teams --- {% if currentVersion == "free-pro-team@latest" %} diff --git a/content/github/setting-up-and-managing-organizations-and-teams/removing-github-app-managers-from-your-organization.md b/content/github/setting-up-and-managing-organizations-and-teams/removing-github-app-managers-from-your-organization.md index 832ccf3cf5..a5f65d7e72 100644 --- a/content/github/setting-up-and-managing-organizations-and-teams/removing-github-app-managers-from-your-organization.md +++ b/content/github/setting-up-and-managing-organizations-and-teams/removing-github-app-managers-from-your-organization.md @@ -7,6 +7,9 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - organizations + - teams --- For more information about {% data variables.product.prodname_github_app %} manager permissions, see "[Permission levels for an organization](/articles/permission-levels-for-an-organization#github-app-managers)." diff --git a/content/github/setting-up-and-managing-organizations-and-teams/removing-organization-members-from-a-team.md b/content/github/setting-up-and-managing-organizations-and-teams/removing-organization-members-from-a-team.md index 87ec11f1c2..5407d12da3 100644 --- a/content/github/setting-up-and-managing-organizations-and-teams/removing-organization-members-from-a-team.md +++ b/content/github/setting-up-and-managing-organizations-and-teams/removing-organization-members-from-a-team.md @@ -8,6 +8,9 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - organizations + - teams --- {% data reusables.repositories.deleted_forks_from_private_repositories_warning %} diff --git a/content/github/setting-up-and-managing-organizations-and-teams/renaming-a-team.md b/content/github/setting-up-and-managing-organizations-and-teams/renaming-a-team.md index 8df6601909..333b94a9dc 100644 --- a/content/github/setting-up-and-managing-organizations-and-teams/renaming-a-team.md +++ b/content/github/setting-up-and-managing-organizations-and-teams/renaming-a-team.md @@ -7,6 +7,9 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - organizations + - teams --- {% data reusables.profile.access_profile %} diff --git a/content/github/setting-up-and-managing-organizations-and-teams/renaming-an-organization.md b/content/github/setting-up-and-managing-organizations-and-teams/renaming-an-organization.md index a0f04df3b9..05a0ab0685 100644 --- a/content/github/setting-up-and-managing-organizations-and-teams/renaming-an-organization.md +++ b/content/github/setting-up-and-managing-organizations-and-teams/renaming-an-organization.md @@ -8,6 +8,9 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - organizations + - teams --- {% tip %} diff --git a/content/github/setting-up-and-managing-organizations-and-teams/repository-permission-levels-for-an-organization.md b/content/github/setting-up-and-managing-organizations-and-teams/repository-permission-levels-for-an-organization.md index 429c146946..75df36ea06 100644 --- a/content/github/setting-up-and-managing-organizations-and-teams/repository-permission-levels-for-an-organization.md +++ b/content/github/setting-up-and-managing-organizations-and-teams/repository-permission-levels-for-an-organization.md @@ -9,6 +9,9 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - organizations + - teams --- People with admin permissions can manage individual and team access to an organization-owned repository. @@ -68,7 +71,7 @@ In addition to managing organization-level settings, organization owners have ad | [Report abusive or spammy content](/articles/reporting-abuse-or-spam) | **X** | **X** | **X** | **X** | **X** |{% endif %} | Apply/dismiss labels | | **X** | **X** | **X** | **X** | | Create, edit, delete labels | | | **X** | **X** | **X** | -| Close, reopen, and assign all issues and pull requests | | **X** | **X** | **X** | **X** |{% if currentVersion == "free-pro-team@latest" or currentVersion ver_gt "enterprise-server@3.0" %} +| Close, reopen, and assign all issues and pull requests | | **X** | **X** | **X** | **X** |{% if currentVersion == "free-pro-team@latest" or currentVersion == "github-ae@latest" or currentVersion ver_gt "enterprise-server@3.0" %} | [Enable and disable auto-merge on a pull request](/github/administering-a-repository/managing-auto-merge-for-pull-requests-in-your-repository) | | | **X** | **X** | **X** |{% endif %} | Apply milestones | | **X** | **X** | **X** | **X** | | Mark [duplicate issues and pull requests](/articles/about-duplicate-issues-and-pull-requests)| | **X** | **X** | **X** | **X** | @@ -142,7 +145,7 @@ In this section, you can find the repository permission levels required for secu | [Designate additional people or teams to receive {% data variables.product.prodname_dependabot_alerts %}](/github/administering-a-repository/managing-security-and-analysis-settings-for-your-repository#granting-access-to-security-alerts) for vulnerable dependencies | | | | | **X** | | Create [security advisories](/github/managing-security-vulnerabilities/about-github-security-advisories) | | | | | **X** |{% endif %}{% if currentVersion == "free-pro-team@latest" or currentVersion ver_gt "enterprise-server@2.22" or currentVersion == "github-ae@latest" %} | Manage access to {% data variables.product.prodname_GH_advanced_security %} features (see "[Managing security and analysis settings for your organization](/github/setting-up-and-managing-organizations-and-teams/managing-security-and-analysis-settings-for-your-organization)") | | | | | **X** |{% endif %}{% if currentVersion == "free-pro-team@latest" %} -| [Enable the dependency graph](/github/visualizing-repository-data-with-graphs/exploring-the-dependencies-and-dependents-of-a-repository) for a private repository | | | | | **X** | +| [Enable the dependency graph](/code-security/supply-chain-security/exploring-the-dependencies-of-a-repository) for a private repository | | | | | **X** | | [View dependency reviews](/github/collaborating-with-issues-and-pull-requests/reviewing-dependency-changes-in-a-pull-request) | **X** | **X** | **X** | **X** | **X** |{% endif %}{% if currentVersion == "free-pro-team@latest" or currentVersion ver_gt "enterprise-server@2.21" or currentVersion == "github-ae@latest" %} | [View {% data variables.product.prodname_code_scanning %} alerts on pull requests](/github/finding-security-vulnerabilities-and-errors-in-your-code/triaging-code-scanning-alerts-in-pull-requests) | **X** | **X** | **X** | **X** | **X** | | [List, dismiss, and delete {% data variables.product.prodname_code_scanning %} alerts](/github/finding-security-vulnerabilities-and-errors-in-your-code/managing-code-scanning-alerts-for-your-repository) | | | **X** | **X** | **X** |{% endif %}{% if currentVersion == "free-pro-team@latest" or currentVersion ver_gt "enterprise-server@3.0" or currentVersion == 'github-ae@next' %} diff --git a/content/github/setting-up-and-managing-organizations-and-teams/requesting-to-add-a-child-team.md b/content/github/setting-up-and-managing-organizations-and-teams/requesting-to-add-a-child-team.md index 82391df281..26a741bfc4 100644 --- a/content/github/setting-up-and-managing-organizations-and-teams/requesting-to-add-a-child-team.md +++ b/content/github/setting-up-and-managing-organizations-and-teams/requesting-to-add-a-child-team.md @@ -7,6 +7,9 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - organizations + - teams --- When you request to add a team as a child, a request is sent to the maintainers of the child team. Once a maintainer of the child team approves your request, the child team is nested under the parent team in your organization's hierarchy. diff --git a/content/github/setting-up-and-managing-organizations-and-teams/requesting-to-add-or-change-a-parent-team.md b/content/github/setting-up-and-managing-organizations-and-teams/requesting-to-add-or-change-a-parent-team.md index 2f295775c4..df965d01f5 100644 --- a/content/github/setting-up-and-managing-organizations-and-teams/requesting-to-add-or-change-a-parent-team.md +++ b/content/github/setting-up-and-managing-organizations-and-teams/requesting-to-add-or-change-a-parent-team.md @@ -7,6 +7,9 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - organizations + - teams --- When you request to add or change your team's parent, a request is sent to the maintainers of the parent team. When a maintainer of the new parent team approves your request, your team is nested as a child team under the parent team in your organization's hierarchy. diff --git a/content/github/setting-up-and-managing-organizations-and-teams/requiring-two-factor-authentication-in-your-organization.md b/content/github/setting-up-and-managing-organizations-and-teams/requiring-two-factor-authentication-in-your-organization.md index 81fb510f8f..cb8e427fcf 100644 --- a/content/github/setting-up-and-managing-organizations-and-teams/requiring-two-factor-authentication-in-your-organization.md +++ b/content/github/setting-up-and-managing-organizations-and-teams/requiring-two-factor-authentication-in-your-organization.md @@ -6,6 +6,9 @@ redirect_from: versions: free-pro-team: '*' enterprise-server: '*' +topics: + - organizations + - teams --- ### About two-factor authentication for organizations diff --git a/content/github/setting-up-and-managing-organizations-and-teams/restricting-access-to-your-organizations-data.md b/content/github/setting-up-and-managing-organizations-and-teams/restricting-access-to-your-organizations-data.md index a5156b07c5..e85083f736 100644 --- a/content/github/setting-up-and-managing-organizations-and-teams/restricting-access-to-your-organizations-data.md +++ b/content/github/setting-up-and-managing-organizations-and-teams/restricting-access-to-your-organizations-data.md @@ -7,5 +7,8 @@ redirect_from: mapTopic: true versions: free-pro-team: '*' +topics: + - organizations + - teams --- diff --git a/content/github/setting-up-and-managing-organizations-and-teams/restricting-email-notifications-to-an-approved-domain.md b/content/github/setting-up-and-managing-organizations-and-teams/restricting-email-notifications-to-an-approved-domain.md index 6e0924546a..75f20036b2 100644 --- a/content/github/setting-up-and-managing-organizations-and-teams/restricting-email-notifications-to-an-approved-domain.md +++ b/content/github/setting-up-and-managing-organizations-and-teams/restricting-email-notifications-to-an-approved-domain.md @@ -7,6 +7,9 @@ redirect_from: - /articles/restricting-email-notifications-to-an-approved-domain versions: free-pro-team: '*' +topics: + - organizations + - teams --- ### About email restrictions diff --git a/content/github/setting-up-and-managing-organizations-and-teams/restricting-repository-creation-in-your-organization.md b/content/github/setting-up-and-managing-organizations-and-teams/restricting-repository-creation-in-your-organization.md index 1a23b5fc5c..8c3dd0b4e0 100644 --- a/content/github/setting-up-and-managing-organizations-and-teams/restricting-repository-creation-in-your-organization.md +++ b/content/github/setting-up-and-managing-organizations-and-teams/restricting-repository-creation-in-your-organization.md @@ -7,6 +7,9 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - organizations + - teams --- You can choose whether members can create repositories in your organization. If you allow members to create repositories, you can choose which types of repositories members can create.{% if currentVersion == "free-pro-team@latest" %} To allow members to create private repositories only, your organization must use {% data variables.product.prodname_ghe_cloud %}.{% endif %} For more information, see "[About repository visibility](/github/creating-cloning-and-archiving-repositories/about-repository-visibility)." diff --git a/content/github/setting-up-and-managing-organizations-and-teams/restricting-repository-visibility-changes-in-your-organization.md b/content/github/setting-up-and-managing-organizations-and-teams/restricting-repository-visibility-changes-in-your-organization.md index b2e853ee73..0e9ff0ecde 100644 --- a/content/github/setting-up-and-managing-organizations-and-teams/restricting-repository-visibility-changes-in-your-organization.md +++ b/content/github/setting-up-and-managing-organizations-and-teams/restricting-repository-visibility-changes-in-your-organization.md @@ -7,6 +7,9 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - organizations + - teams --- You can restrict the ability to change repository visibility to organization owners only, or allow members with admin privileges for a repository to also change visibility. diff --git a/content/github/setting-up-and-managing-organizations-and-teams/reviewing-the-audit-log-for-your-organization.md b/content/github/setting-up-and-managing-organizations-and-teams/reviewing-the-audit-log-for-your-organization.md index d8e83edc9d..46b203d484 100644 --- a/content/github/setting-up-and-managing-organizations-and-teams/reviewing-the-audit-log-for-your-organization.md +++ b/content/github/setting-up-and-managing-organizations-and-teams/reviewing-the-audit-log-for-your-organization.md @@ -8,6 +8,9 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - organizations + - teams --- ### Accessing the audit log @@ -252,7 +255,17 @@ An overview of some of the most common actions that are recorded as events in th {% endif %} {% if currentVersion == "free-pro-team@latest" %} +#### `environment` category actions +| Action | Description +|------------------|------------------- +| `create_actions_secret` | Triggered when a secret is created in an environment. For more information, see ["Environment secrets](/actions/reference/environments#environment-secrets)." +| `delete` | Triggered when an environment is deleted. For more information, see ["Deleting an environment](/actions/reference/environments#deleting-an-environment)." +| `remove_actions_secret` | Triggered when a secret is removed from an environment. For more information, see ["Environment secrets](/actions/reference/environments#environment-secrets)." +| `update_actions_secret` | Triggered when a secret in an environment is updated. For more information, see ["Environment secrets](/actions/reference/environments#environment-secrets)." +{% endif %} + +{% if currentVersion == "free-pro-team@latest" %} #### `git` category actions {% note %} @@ -331,9 +344,9 @@ For more information, see "[Managing the publication of {% data variables.produc #### `org` category actions | Action | Description -|------------------|-------------------{% if currentVersion == "free-pro-team@latest"%} -| `advanced_security_disabled` | Triggered when an organization admin disables {% data variables.product.prodname_GH_advanced_security %} for all existing private and internal repositories. For more information, see "[Managing security and analysis settings for your organization](/github/setting-up-and-managing-organizations-and-teams/managing-security-and-analysis-settings-for-your-organization)." -| `advanced_security_enabled` | Triggered when an organization admin enables {% data variables.product.prodname_GH_advanced_security %} for all existing private and internal repositories. +|------------------|-------------------{% if currentVersion == "free-pro-team@latest" or currentVersion ver_gt "enterprise-server@3.0" or currentVersion == "github-ae@next" %} +| `advanced_security_policy_selected_member_disabled` | Triggered when an enterprise owner prevents {% data variables.product.prodname_GH_advanced_security %} features from being enabled for repositories owned by the organization. {% data reusables.advanced-security.more-information-about-enforcement-policy %} +| `advanced_security_policy_selected_member_enabled` | Triggered when an enterprise owner allows {% data variables.product.prodname_GH_advanced_security %} features to be enabled for repositories owned by the organization. {% data reusables.advanced-security.more-information-about-enforcement-policy %}{% endif %}{% if currentVersion == "free-pro-team@latest" %} | `audit_log_export` | Triggered when an organization admin [creates an export of the organization audit log](#exporting-the-audit-log). If the export included a query, the log will list the query used and the number of audit log entries matching that query. | `block_user` | Triggered when an organization owner [blocks a user from accessing the organization's repositories](/articles/blocking-a-user-from-your-organization). | `cancel_invitation` | Triggered when an organization invitation has been revoked. {% endif %}{% if currentVersion == "free-pro-team@latest" or currentVersion ver_gt "enterprise-server@2.21" %} @@ -360,8 +373,10 @@ For more information, see "[Managing the publication of {% data variables.produc | `revoke_sso_session` | Triggered when an organization owner revokes a member's SAML session. For more information, see "[Viewing and managing a member's SAML access to your organization](/github/setting-up-and-managing-organizations-and-teams/viewing-and-managing-a-members-saml-access-to-your-organization#viewing-and-revoking-a-linked-identity)." {% endif %}{% if currentVersion == "free-pro-team@latest" or currentVersion ver_gt "enterprise-server@2.21" %} | `runner_group_created` | Triggered when a self-hosted runner group is created. For more information, see "[Creating a self-hosted runner group for an organization](/actions/hosting-your-own-runners/managing-access-to-self-hosted-runners-using-groups#creating-a-self-hosted-runner-group-for-an-organization)." | `runner_group_removed` | Triggered when a self-hosted runner group is removed. For more information, see "[Removing a self-hosted runner group](/actions/hosting-your-own-runners/managing-access-to-self-hosted-runners-using-groups#removing-a-self-hosted-runner-group)." +| `runner_group_updated` | Triggered when the configuration of a self-hosted runner group is changed. For more information, see "[Changing the access policy of a self-hosted runner group](/actions/hosting-your-own-runners/managing-access-to-self-hosted-runners-using-groups#changing-the-access-policy-of-a-self-hosted-runner-group)." | `runner_group_runners_added` | Triggered when a self-hosted runner is added to a group. For more information, see [Moving a self-hosted runner to a group](/actions/hosting-your-own-runners/managing-access-to-self-hosted-runners-using-groups#moving-a-self-hosted-runner-to-a-group). -| `runner_group_runner_removed` | Triggered when a self-hosted runner is removed from a group. {% endif %}{% if currentVersion == "free-pro-team@latest"%}{% if currentVersion == "free-pro-team@latest" or currentVersion ver_gt "enterprise-server@2.21" %} +| `runner_group_runner_removed` | Triggered when the REST API is used to remove a self-hosted runner from a group. For more information, see "[Remove a self-hosted runner from a group for an organization](/rest/reference/actions#remove-a-self-hosted-runner-from-a-group-for-an-organization)." +| `runner_group_runners_updated`| Triggered when a runner group's list of members is updated. For more information, see "[Set self-hosted runners in a group for an organization](/rest/reference/actions#set-self-hosted-runners-in-a-group-for-an-organization)."{% endif %}{% if currentVersion == "free-pro-team@latest"%}{% if currentVersion == "free-pro-team@latest" or currentVersion ver_gt "enterprise-server@2.21" %} | `self_hosted_runner_updated` | Triggered when the runner application is updated. Can be viewed using the REST API and the UI; not visible in the JSON/CSV export. For more information, see "[About self-hosted runners](/actions/hosting-your-own-runners/about-self-hosted-runners#about-self-hosted-runners)."{% endif %} | `unblock_user` | Triggered when an organization owner [unblocks a user from an organization](/articles/unblocking-a-user-from-your-organization).{% endif %}{% if currentVersion == "free-pro-team@latest" or currentVersion ver_gt "enterprise-server@2.21" %} | `update_actions_secret` |Triggered when a {% data variables.product.prodname_actions %} secret is updated.{% endif %}{% if currentVersion == "free-pro-team@latest" or currentVersion ver_gt "enterprise-server@2.22" or currentVersion == "github-ae@latest" %} @@ -473,10 +488,11 @@ For more information, see "[Managing the publication of {% data variables.produc | Action | Description |------------------|------------------- | `access` | Triggered when a user [changes the visibility](/github/administering-a-repository/setting-repository-visibility) of a repository in the organization. +| `actions_enabled` | Triggered when {% data variables.product.prodname_actions %} is enabled for a repository. Can be viewed using the UI. This event is not included when you access the audit log using the REST API. For more information, see "[Using the REST API](#using-the-rest-api)." | `add_member` | Triggered when a user accepts an [invitation to have collaboration access to a repository](/articles/inviting-collaborators-to-a-personal-repository). -| `add_topic` | Triggered when a repository admin [adds a topic](/articles/classifying-your-repository-with-topics) to a repository.{% if currentVersion == "free-pro-team@latest" %} -| `advanced_security_disabled` | Triggered when a repository owner disables {% data variables.product.prodname_GH_advanced_security %}. For more information, see "[Managing security and analysis settings for your repository](/github/administering-a-repository/managing-security-and-analysis-settings-for-your-repository)." -| `advanced_security_enabled` | Triggered when a repository owner enables {% data variables.product.prodname_GH_advanced_security %}.{% endif %} +| `add_topic` | Triggered when a repository admin [adds a topic](/articles/classifying-your-repository-with-topics) to a repository.{% if currentVersion == "free-pro-team@latest" or currentVersion ver_gt "enterprise-server@3.0" or currentVersion == "github-ae@next" %} +| `advanced_security_disabled` | Triggered when a repository administrator disables {% data variables.product.prodname_GH_advanced_security %} features for the repository. For more information, see "[Managing security and analysis settings for your repository](/github/administering-a-repository/managing-security-and-analysis-settings-for-your-repository)." +| `advanced_security_enabled` | Triggered when a repository administrator enables {% data variables.product.prodname_GH_advanced_security %} features for the repository. For more information, see "[Managing security and analysis settings for your repository](/github/administering-a-repository/managing-security-and-analysis-settings-for-your-repository).".{% endif %} | `archived` | Triggered when a repository admin [archives a repository](/articles/about-archiving-repositories).{% if enterpriseServerVersions contains currentVersion %} | `config.disable_anonymous_git_access` | Triggered when [anonymous Git read access is disabled](/enterprise/{{ currentVersion }}/user/articles/enabling-anonymous-git-read-access-for-a-repository) in a public repository. | `config.enable_anonymous_git_access` | Triggered when [anonymous Git read access is enabled](/enterprise/{{ currentVersion }}/user/articles/enabling-anonymous-git-read-access-for-a-repository) in a public repository. diff --git a/content/github/setting-up-and-managing-organizations-and-teams/reviewing-your-organizations-installed-integrations.md b/content/github/setting-up-and-managing-organizations-and-teams/reviewing-your-organizations-installed-integrations.md index ac62de20d3..9250fa7013 100644 --- a/content/github/setting-up-and-managing-organizations-and-teams/reviewing-your-organizations-installed-integrations.md +++ b/content/github/setting-up-and-managing-organizations-and-teams/reviewing-your-organizations-installed-integrations.md @@ -8,6 +8,9 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - organizations + - teams --- {% data reusables.profile.access_profile %} diff --git a/content/github/setting-up-and-managing-organizations-and-teams/setting-base-permissions-for-an-organization.md b/content/github/setting-up-and-managing-organizations-and-teams/setting-base-permissions-for-an-organization.md index 10d1f5c9aa..64daf7b01f 100644 --- a/content/github/setting-up-and-managing-organizations-and-teams/setting-base-permissions-for-an-organization.md +++ b/content/github/setting-up-and-managing-organizations-and-teams/setting-base-permissions-for-an-organization.md @@ -6,6 +6,9 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - organizations + - teams --- ### About base permissions for an organization diff --git a/content/github/setting-up-and-managing-organizations-and-teams/setting-permissions-for-adding-outside-collaborators.md b/content/github/setting-up-and-managing-organizations-and-teams/setting-permissions-for-adding-outside-collaborators.md index e70f55bc64..118d2a24a5 100644 --- a/content/github/setting-up-and-managing-organizations-and-teams/setting-permissions-for-adding-outside-collaborators.md +++ b/content/github/setting-up-and-managing-organizations-and-teams/setting-permissions-for-adding-outside-collaborators.md @@ -9,6 +9,9 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - organizations + - teams --- Organization owners, and members with admin privileges for a repository, can invite outside collaborators to work on the repository. You can also restrict outside collaborator invite permissions to only organization owners. diff --git a/content/github/setting-up-and-managing-organizations-and-teams/setting-permissions-for-deleting-or-transferring-repositories.md b/content/github/setting-up-and-managing-organizations-and-teams/setting-permissions-for-deleting-or-transferring-repositories.md index 8634dc39ec..aaa629acd2 100644 --- a/content/github/setting-up-and-managing-organizations-and-teams/setting-permissions-for-deleting-or-transferring-repositories.md +++ b/content/github/setting-up-and-managing-organizations-and-teams/setting-permissions-for-deleting-or-transferring-repositories.md @@ -8,6 +8,9 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - organizations + - teams --- Owners can set permissions for deleting or transferring repositories in an organization. diff --git a/content/github/setting-up-and-managing-organizations-and-teams/setting-team-creation-permissions-in-your-organization.md b/content/github/setting-up-and-managing-organizations-and-teams/setting-team-creation-permissions-in-your-organization.md index 6e9c8a7668..522a15d7f5 100644 --- a/content/github/setting-up-and-managing-organizations-and-teams/setting-team-creation-permissions-in-your-organization.md +++ b/content/github/setting-up-and-managing-organizations-and-teams/setting-team-creation-permissions-in-your-organization.md @@ -7,6 +7,9 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - organizations + - teams --- Organization owners can set team creation permissions. diff --git a/content/github/setting-up-and-managing-organizations-and-teams/setting-your-teams-profile-picture.md b/content/github/setting-up-and-managing-organizations-and-teams/setting-your-teams-profile-picture.md index 2729775095..e22599de91 100644 --- a/content/github/setting-up-and-managing-organizations-and-teams/setting-your-teams-profile-picture.md +++ b/content/github/setting-up-and-managing-organizations-and-teams/setting-your-teams-profile-picture.md @@ -8,6 +8,9 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - organizations + - teams --- Unless you set a profile picture for a team, the team profile picture will match the organization's profile picture. diff --git a/content/github/setting-up-and-managing-organizations-and-teams/synchronizing-a-team-with-an-identity-provider-group.md b/content/github/setting-up-and-managing-organizations-and-teams/synchronizing-a-team-with-an-identity-provider-group.md index 8ff3079828..b37dc6cb95 100644 --- a/content/github/setting-up-and-managing-organizations-and-teams/synchronizing-a-team-with-an-identity-provider-group.md +++ b/content/github/setting-up-and-managing-organizations-and-teams/synchronizing-a-team-with-an-identity-provider-group.md @@ -6,6 +6,9 @@ permissions: 'Organization owners and team maintainers can synchronize a {% data versions: free-pro-team: '*' github-ae: '*' +topics: + - organizations + - teams --- {% data reusables.gated-features.okta-team-sync %} @@ -18,7 +21,7 @@ versions: {% if currentVersion == "free-pro-team@latest" %}Team synchronization does not support IdP groups with more than 5000 members.{% endif %} -Once a {% data variables.product.prodname_dotcom %} team is connected to an IdP group, your IdP administrator must make team membership changes through the identity provider. You cannot manage team membership on {% data variables.product.product_name %}{% if currentVersion == "free-pro-team@latest" %}or using the API{% endif %}. +Once a {% data variables.product.prodname_dotcom %} team is connected to an IdP group, your IdP administrator must make team membership changes through the identity provider. You cannot manage team membership on {% data variables.product.product_name %}{% if currentVersion == "free-pro-team@latest" %} or using the API{% endif %}. {% if currentVersion == "free-pro-team@latest" %} All team membership changes made through your IdP will appear in the audit log on {% data variables.product.product_name %} as changes made by the team synchronization bot. Your IdP will send team membership data to {% data variables.product.prodname_dotcom %} once every hour. diff --git a/content/github/setting-up-and-managing-organizations-and-teams/transferring-organization-ownership.md b/content/github/setting-up-and-managing-organizations-and-teams/transferring-organization-ownership.md index 8cb3565f91..1fc1cea562 100644 --- a/content/github/setting-up-and-managing-organizations-and-teams/transferring-organization-ownership.md +++ b/content/github/setting-up-and-managing-organizations-and-teams/transferring-organization-ownership.md @@ -8,6 +8,9 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - organizations + - teams --- 1. If you're the only member with *owner* privileges, give another organization member the owner role. For more information, see "[Appointing an organization owner](/github/setting-up-and-managing-organizations-and-teams/maintaining-ownership-continuity-for-your-organization#appointing-an-organization-owner)." diff --git a/content/github/setting-up-and-managing-organizations-and-teams/upgrading-to-the-corporate-terms-of-service.md b/content/github/setting-up-and-managing-organizations-and-teams/upgrading-to-the-corporate-terms-of-service.md index 95b65b7aea..2d8302bb1d 100644 --- a/content/github/setting-up-and-managing-organizations-and-teams/upgrading-to-the-corporate-terms-of-service.md +++ b/content/github/setting-up-and-managing-organizations-and-teams/upgrading-to-the-corporate-terms-of-service.md @@ -5,6 +5,9 @@ redirect_from: - /articles/upgrading-to-the-corporate-terms-of-service versions: free-pro-team: '*' +topics: + - organizations + - teams --- The Standard Terms of Service is an agreement between {% data variables.product.prodname_dotcom %} and you as an individual. To enter into an agreement with {% data variables.product.prodname_dotcom %} on behalf of an entity, such as a company, non-profit, or group, organization owners can upgrade to the Corporate Terms of Service. diff --git a/content/github/setting-up-and-managing-organizations-and-teams/verifying-your-organizations-domain.md b/content/github/setting-up-and-managing-organizations-and-teams/verifying-your-organizations-domain.md index db0098a2c9..2aaf181720 100644 --- a/content/github/setting-up-and-managing-organizations-and-teams/verifying-your-organizations-domain.md +++ b/content/github/setting-up-and-managing-organizations-and-teams/verifying-your-organizations-domain.md @@ -6,6 +6,9 @@ redirect_from: - /articles/verifying-your-organizations-domain versions: free-pro-team: '*' +topics: + - organizations + - teams --- ### About domain verification diff --git a/content/github/setting-up-and-managing-organizations-and-teams/viewing-and-managing-a-members-saml-access-to-your-organization.md b/content/github/setting-up-and-managing-organizations-and-teams/viewing-and-managing-a-members-saml-access-to-your-organization.md index c323c79f03..484baa617a 100644 --- a/content/github/setting-up-and-managing-organizations-and-teams/viewing-and-managing-a-members-saml-access-to-your-organization.md +++ b/content/github/setting-up-and-managing-organizations-and-teams/viewing-and-managing-a-members-saml-access-to-your-organization.md @@ -8,6 +8,9 @@ redirect_from: - /github/setting-up-and-managing-organizations-and-teams/viewing-and-revoking-organization-members-authorized-access-tokens versions: free-pro-team: '*' +topics: + - organizations + - teams --- ### About SAML access to your organization diff --git a/content/github/setting-up-and-managing-organizations-and-teams/viewing-insights-for-your-organization.md b/content/github/setting-up-and-managing-organizations-and-teams/viewing-insights-for-your-organization.md index 4e18a1b3a6..ff36847928 100644 --- a/content/github/setting-up-and-managing-organizations-and-teams/viewing-insights-for-your-organization.md +++ b/content/github/setting-up-and-managing-organizations-and-teams/viewing-insights-for-your-organization.md @@ -6,6 +6,9 @@ redirect_from: - /articles/viewing-insights-for-your-organization versions: free-pro-team: '*' +topics: + - organizations + - teams --- All members of an organization can view organization insights. For more information, see "[Permission levels for an organization](/articles/permission-levels-for-an-organization)." diff --git a/content/github/setting-up-and-managing-organizations-and-teams/viewing-people-with-access-to-your-repository.md b/content/github/setting-up-and-managing-organizations-and-teams/viewing-people-with-access-to-your-repository.md index 9e67d74307..eda9a879d3 100644 --- a/content/github/setting-up-and-managing-organizations-and-teams/viewing-people-with-access-to-your-repository.md +++ b/content/github/setting-up-and-managing-organizations-and-teams/viewing-people-with-access-to-your-repository.md @@ -7,6 +7,9 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - organizations + - teams --- Administrators can use this information to help off-board people, gather data for compliance, and other general security checkups. diff --git a/content/github/setting-up-and-managing-organizations-and-teams/viewing-whether-users-in-your-organization-have-2fa-enabled.md b/content/github/setting-up-and-managing-organizations-and-teams/viewing-whether-users-in-your-organization-have-2fa-enabled.md index dd257564d0..3b499d3b26 100644 --- a/content/github/setting-up-and-managing-organizations-and-teams/viewing-whether-users-in-your-organization-have-2fa-enabled.md +++ b/content/github/setting-up-and-managing-organizations-and-teams/viewing-whether-users-in-your-organization-have-2fa-enabled.md @@ -6,6 +6,9 @@ redirect_from: versions: free-pro-team: '*' enterprise-server: '*' +topics: + - organizations + - teams --- {% note %} diff --git a/content/github/setting-up-and-managing-your-enterprise/about-enterprise-accounts.md b/content/github/setting-up-and-managing-your-enterprise/about-enterprise-accounts.md index 3322d7a400..1135c38618 100644 --- a/content/github/setting-up-and-managing-your-enterprise/about-enterprise-accounts.md +++ b/content/github/setting-up-and-managing-your-enterprise/about-enterprise-accounts.md @@ -9,6 +9,8 @@ redirect_from: versions: free-pro-team: '*' enterprise-server: '*' +topics: + - enterprise --- ### About enterprise accounts diff --git a/content/github/setting-up-and-managing-your-enterprise/about-identity-and-access-management-for-your-enterprise-account.md b/content/github/setting-up-and-managing-your-enterprise/about-identity-and-access-management-for-your-enterprise-account.md index 056c663408..92325c05be 100644 --- a/content/github/setting-up-and-managing-your-enterprise/about-identity-and-access-management-for-your-enterprise-account.md +++ b/content/github/setting-up-and-managing-your-enterprise/about-identity-and-access-management-for-your-enterprise-account.md @@ -1,9 +1,11 @@ --- title: About identity and access management for your enterprise account -intro: You can centrally manage access to your enterprise's resources, organization membership, and team membership using your identity provider (IdP). +intro: 'You can centrally manage access to your enterprise''s resources, organization membership, and team membership using your identity provider (IdP).' product: '{% data reusables.gated-features.enterprise-accounts %}' versions: free-pro-team: '*' +topics: + - enterprise --- ### About identity and access management for your enterprise account diff --git a/content/github/setting-up-and-managing-your-enterprise/about-user-provisioning-for-organizations-in-your-enterprise-account.md b/content/github/setting-up-and-managing-your-enterprise/about-user-provisioning-for-organizations-in-your-enterprise-account.md index 9ffac5db1a..f98b9981a5 100644 --- a/content/github/setting-up-and-managing-your-enterprise/about-user-provisioning-for-organizations-in-your-enterprise-account.md +++ b/content/github/setting-up-and-managing-your-enterprise/about-user-provisioning-for-organizations-in-your-enterprise-account.md @@ -4,6 +4,8 @@ intro: You can manage organization membership in an enterprise account directly product: '{% data reusables.gated-features.enterprise-accounts %}' versions: free-pro-team: '*' +topics: + - enterprise --- {% data reusables.enterprise-accounts.user-provisioning-release-stage %} diff --git a/content/github/setting-up-and-managing-your-enterprise/adding-organizations-to-your-enterprise-account.md b/content/github/setting-up-and-managing-your-enterprise/adding-organizations-to-your-enterprise-account.md index 893493f000..5c601d4109 100644 --- a/content/github/setting-up-and-managing-your-enterprise/adding-organizations-to-your-enterprise-account.md +++ b/content/github/setting-up-and-managing-your-enterprise/adding-organizations-to-your-enterprise-account.md @@ -7,11 +7,13 @@ redirect_from: - /github/setting-up-and-managing-your-enterprise-account/adding-organizations-to-your-enterprise-account versions: free-pro-team: '*' +topics: + - enterprise --- Enterprise owners can create new organizations within an enterprise account's settings. -To add an organization to your enterprise account, you must create the organization from within the enterprise account settings. You cannot transfer existing organizations into an enterprise account. +To add an organization to your enterprise account, you must create the organization from within the enterprise account settings. If you want to transfer an existing organization to your enterprise account, contact your {% data variables.product.prodname_dotcom %} sales account representative. ### Creating an organization in your enterprise account diff --git a/content/github/setting-up-and-managing-your-enterprise/configuring-identity-and-access-management-for-your-enterprise-account.md b/content/github/setting-up-and-managing-your-enterprise/configuring-identity-and-access-management-for-your-enterprise-account.md index 2e1d9a2c7b..19fe6d4cad 100644 --- a/content/github/setting-up-and-managing-your-enterprise/configuring-identity-and-access-management-for-your-enterprise-account.md +++ b/content/github/setting-up-and-managing-your-enterprise/configuring-identity-and-access-management-for-your-enterprise-account.md @@ -1,9 +1,11 @@ --- title: Configuring identity and access management for your enterprise account -intro: You can manage SAML single sign-on, user provisioning, and team synchronization for your enterprise. +intro: 'You can manage SAML single sign-on, user provisioning, and team synchronization for your enterprise.' product: '{% data reusables.gated-features.enterprise-accounts %}' mapTopic: true versions: free-pro-team: '*' +topics: + - enterprise --- diff --git a/content/github/setting-up-and-managing-your-enterprise/configuring-saml-single-sign-on-and-scim-for-your-enterprise-account-using-okta.md b/content/github/setting-up-and-managing-your-enterprise/configuring-saml-single-sign-on-and-scim-for-your-enterprise-account-using-okta.md index b1fd95b884..a3ed7851ea 100644 --- a/content/github/setting-up-and-managing-your-enterprise/configuring-saml-single-sign-on-and-scim-for-your-enterprise-account-using-okta.md +++ b/content/github/setting-up-and-managing-your-enterprise/configuring-saml-single-sign-on-and-scim-for-your-enterprise-account-using-okta.md @@ -7,6 +7,8 @@ redirect_from: - /github/setting-up-and-managing-your-enterprise-account/configuring-saml-single-sign-on-and-scim-for-your-enterprise-account-using-okta versions: free-pro-team: '*' +topics: + - enterprise --- {% data reusables.enterprise-accounts.user-provisioning-release-stage %} diff --git a/content/github/setting-up-and-managing-your-enterprise/configuring-the-retention-period-for-github-actions-artifacts-and-logs-in-your-enterprise-account.md b/content/github/setting-up-and-managing-your-enterprise/configuring-the-retention-period-for-github-actions-artifacts-and-logs-in-your-enterprise-account.md index 5284cd63a3..bf16b25a80 100644 --- a/content/github/setting-up-and-managing-your-enterprise/configuring-the-retention-period-for-github-actions-artifacts-and-logs-in-your-enterprise-account.md +++ b/content/github/setting-up-and-managing-your-enterprise/configuring-the-retention-period-for-github-actions-artifacts-and-logs-in-your-enterprise-account.md @@ -9,6 +9,8 @@ versions: free-pro-team: '*' enterprise-server: '>=2.23' github-ae: '*' +topics: + - enterprise --- {% data reusables.actions.about-artifact-log-retention %} diff --git a/content/github/setting-up-and-managing-your-enterprise/configuring-webhooks-for-organization-events-in-your-enterprise-account.md b/content/github/setting-up-and-managing-your-enterprise/configuring-webhooks-for-organization-events-in-your-enterprise-account.md index 9aeb15a046..51a4749ae6 100644 --- a/content/github/setting-up-and-managing-your-enterprise/configuring-webhooks-for-organization-events-in-your-enterprise-account.md +++ b/content/github/setting-up-and-managing-your-enterprise/configuring-webhooks-for-organization-events-in-your-enterprise-account.md @@ -8,6 +8,8 @@ redirect_from: - /github/setting-up-and-managing-your-enterprise-account/configuring-webhooks-for-organization-events-in-your-enterprise-account versions: free-pro-team: '*' +topics: + - enterprise --- You can configure webhooks to receive events from organizations owned by your enterprise account. For more information about webhooks, see "[Webhooks](/webhooks/)." diff --git a/content/github/setting-up-and-managing-your-enterprise/enabling-saml-single-sign-on-for-organizations-in-your-enterprise-account.md b/content/github/setting-up-and-managing-your-enterprise/enabling-saml-single-sign-on-for-organizations-in-your-enterprise-account.md index 0e002776cb..4743ba484e 100644 --- a/content/github/setting-up-and-managing-your-enterprise/enabling-saml-single-sign-on-for-organizations-in-your-enterprise-account.md +++ b/content/github/setting-up-and-managing-your-enterprise/enabling-saml-single-sign-on-for-organizations-in-your-enterprise-account.md @@ -5,6 +5,8 @@ product: '{% data reusables.gated-features.enterprise-accounts %}' permissions: Enterprise owners can enable SAML single sign-on for organizations in an enterprise account. versions: free-pro-team: '*' +topics: + - enterprise --- ### About SAML single sign-on for enterprise accounts diff --git a/content/github/setting-up-and-managing-your-enterprise/enforcing-a-policy-on-dependency-insights-in-your-enterprise-account.md b/content/github/setting-up-and-managing-your-enterprise/enforcing-a-policy-on-dependency-insights-in-your-enterprise-account.md index 036f99a198..e2333feeee 100644 --- a/content/github/setting-up-and-managing-your-enterprise/enforcing-a-policy-on-dependency-insights-in-your-enterprise-account.md +++ b/content/github/setting-up-and-managing-your-enterprise/enforcing-a-policy-on-dependency-insights-in-your-enterprise-account.md @@ -8,6 +8,8 @@ redirect_from: - /github/setting-up-and-managing-your-enterprise-account/enforcing-a-policy-on-dependency-insights-in-your-enterprise-account versions: free-pro-team: '*' +topics: + - enterprise --- In organizations owned by an enterprise account, organization owners can set limitations for viewing organization dependency insights. For more information, see "[Changing the visibility of your organization's dependency insights](/articles/changing-the-visibility-of-your-organizations-dependency-insights)." diff --git a/content/github/setting-up-and-managing-your-enterprise/enforcing-github-actions-policies-in-your-enterprise-account.md b/content/github/setting-up-and-managing-your-enterprise/enforcing-github-actions-policies-in-your-enterprise-account.md index 7ef386c2ae..99413f99b7 100644 --- a/content/github/setting-up-and-managing-your-enterprise/enforcing-github-actions-policies-in-your-enterprise-account.md +++ b/content/github/setting-up-and-managing-your-enterprise/enforcing-github-actions-policies-in-your-enterprise-account.md @@ -7,6 +7,8 @@ redirect_from: miniTocMaxHeadingLevel: 4 versions: free-pro-team: '*' +topics: + - enterprise --- ### About {% data variables.product.prodname_actions %} permissions for your enterprise account diff --git a/content/github/setting-up-and-managing-your-enterprise/enforcing-policies-for-advanced-security-in-your-enterprise-account.md b/content/github/setting-up-and-managing-your-enterprise/enforcing-policies-for-advanced-security-in-your-enterprise-account.md new file mode 100644 index 0000000000..1b9c6ea072 --- /dev/null +++ b/content/github/setting-up-and-managing-your-enterprise/enforcing-policies-for-advanced-security-in-your-enterprise-account.md @@ -0,0 +1,21 @@ +--- +title: Enforcing policies for Advanced Security in your enterprise account +intro: 'Enterprise owners can enforce policies to manage {% data variables.product.prodname_GH_advanced_security %} features for organizations owned by an enterprise account.' +product: '{% data reusables.gated-features.ghas %}' +versions: + free-pro-team: '*' +--- + +### About {% data variables.product.prodname_GH_advanced_security %} + +{% data reusables.advanced-security.ghas-helps-developers %} + +### Enforcing a policy for {% data variables.product.prodname_advanced_security %} features + +{% data reusables.advanced-security.about-ghas-organization-policy %} + +{% data reusables.enterprise-accounts.access-enterprise %} +{% data reusables.enterprise-accounts.policies-tab %} +{% data reusables.enterprise-accounts.advanced-security-policies %} +{% data reusables.enterprise-accounts.advanced-security-organization-policy-drop-down %} +{% data reusables.enterprise-accounts.advanced-security-individual-organization-policy-drop-down %} diff --git a/content/github/setting-up-and-managing-your-enterprise/enforcing-project-board-policies-in-your-enterprise-account.md b/content/github/setting-up-and-managing-your-enterprise/enforcing-project-board-policies-in-your-enterprise-account.md index 2b1f5bec09..fc56be779a 100644 --- a/content/github/setting-up-and-managing-your-enterprise/enforcing-project-board-policies-in-your-enterprise-account.md +++ b/content/github/setting-up-and-managing-your-enterprise/enforcing-project-board-policies-in-your-enterprise-account.md @@ -9,6 +9,8 @@ redirect_from: - /github/setting-up-and-managing-your-enterprise-account/enforcing-project-board-policies-in-your-enterprise-account versions: free-pro-team: '*' +topics: + - enterprise --- For more information about types of project boards, see "[About project boards](/articles/about-project-boards)." diff --git a/content/github/setting-up-and-managing-your-enterprise/enforcing-repository-management-policies-in-your-enterprise-account.md b/content/github/setting-up-and-managing-your-enterprise/enforcing-repository-management-policies-in-your-enterprise-account.md index f5e9e4c082..c3becba29a 100644 --- a/content/github/setting-up-and-managing-your-enterprise/enforcing-repository-management-policies-in-your-enterprise-account.md +++ b/content/github/setting-up-and-managing-your-enterprise/enforcing-repository-management-policies-in-your-enterprise-account.md @@ -9,6 +9,8 @@ redirect_from: - /github/setting-up-and-managing-your-enterprise-account/enforcing-repository-management-policies-in-your-enterprise-account versions: free-pro-team: '*' +topics: + - enterprise --- For more information, see "[Repository permission levels for an organization](/articles/repository-permission-levels-for-an-organization)." diff --git a/content/github/setting-up-and-managing-your-enterprise/enforcing-security-settings-in-your-enterprise-account.md b/content/github/setting-up-and-managing-your-enterprise/enforcing-security-settings-in-your-enterprise-account.md index 2b0f109f96..8271ab0077 100644 --- a/content/github/setting-up-and-managing-your-enterprise/enforcing-security-settings-in-your-enterprise-account.md +++ b/content/github/setting-up-and-managing-your-enterprise/enforcing-security-settings-in-your-enterprise-account.md @@ -11,6 +11,8 @@ redirect_from: - /github/setting-up-and-managing-your-enterprise-account/enforcing-security-settings-in-your-enterprise-account versions: free-pro-team: '*' +topics: + - enterprise --- ### Requiring two-factor authentication for organizations in your enterprise account diff --git a/content/github/setting-up-and-managing-your-enterprise/enforcing-team-policies-in-your-enterprise-account.md b/content/github/setting-up-and-managing-your-enterprise/enforcing-team-policies-in-your-enterprise-account.md index 6d95d38f9f..cbe70eef28 100644 --- a/content/github/setting-up-and-managing-your-enterprise/enforcing-team-policies-in-your-enterprise-account.md +++ b/content/github/setting-up-and-managing-your-enterprise/enforcing-team-policies-in-your-enterprise-account.md @@ -9,11 +9,13 @@ redirect_from: - /github/setting-up-and-managing-your-enterprise-account/enforcing-team-policies-in-your-enterprise-account versions: free-pro-team: '*' +topics: + - enterprise --- ### Enforcing a policy for team discussions -Across all organizations owned by your enterprise account, you can enable or disable team discussions, or allow owners to administer the setting on the organization level. For more information, see "[About team discussions](/articles/about-team-discussions/)." +Across all organizations owned by your enterprise account, you can enable or disable team discussions, or allow owners to administer the setting on the organization level. For more information, see "[About team discussions](/github/setting-up-and-managing-organizations-and-teams/about-team-discussions/)." {% data reusables.enterprise-accounts.access-enterprise %} {% data reusables.enterprise-accounts.policies-tab %} diff --git a/content/github/setting-up-and-managing-your-enterprise/index.md b/content/github/setting-up-and-managing-your-enterprise/index.md index a0f04ad09c..3247a26410 100644 --- a/content/github/setting-up-and-managing-your-enterprise/index.md +++ b/content/github/setting-up-and-managing-your-enterprise/index.md @@ -9,6 +9,8 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - enterprise --- @@ -45,4 +47,4 @@ versions: {% link_in_list /enforcing-a-policy-on-dependency-insights-in-your-enterprise-account %} {% link_in_list /enforcing-github-actions-policies-in-your-enterprise-account %} {% link_in_list /configuring-the-retention-period-for-github-actions-artifacts-and-logs-in-your-enterprise-account %} - + {% link_in_list /enforcing-policies-for-advanced-security-in-your-enterprise-account %} diff --git a/content/github/setting-up-and-managing-your-enterprise/inviting-people-to-manage-your-enterprise.md b/content/github/setting-up-and-managing-your-enterprise/inviting-people-to-manage-your-enterprise.md index 5f847dd348..e25cf3136e 100644 --- a/content/github/setting-up-and-managing-your-enterprise/inviting-people-to-manage-your-enterprise.md +++ b/content/github/setting-up-and-managing-your-enterprise/inviting-people-to-manage-your-enterprise.md @@ -9,6 +9,8 @@ redirect_from: versions: free-pro-team: '*' enterprise-server: '*' +topics: + - enterprise --- ### About inviting people to manage your enterprise account diff --git a/content/github/setting-up-and-managing-your-enterprise/managing-licenses-for-visual-studio-subscription-with-github-enterprise.md b/content/github/setting-up-and-managing-your-enterprise/managing-licenses-for-visual-studio-subscription-with-github-enterprise.md index 6a02ac8400..6596a04d44 100644 --- a/content/github/setting-up-and-managing-your-enterprise/managing-licenses-for-visual-studio-subscription-with-github-enterprise.md +++ b/content/github/setting-up-and-managing-your-enterprise/managing-licenses-for-visual-studio-subscription-with-github-enterprise.md @@ -9,6 +9,8 @@ redirect_from: - /github/setting-up-and-managing-your-enterprise-account/managing-licenses-for-visual-studio-subscription-with-github-enterprise versions: free-pro-team: '*' +topics: + - enterprise --- ### About {% data variables.product.prodname_vss_ghe %} diff --git a/content/github/setting-up-and-managing-your-enterprise/managing-organizations-in-your-enterprise-account.md b/content/github/setting-up-and-managing-your-enterprise/managing-organizations-in-your-enterprise-account.md index 9045814fc6..64cb68fdcb 100644 --- a/content/github/setting-up-and-managing-your-enterprise/managing-organizations-in-your-enterprise-account.md +++ b/content/github/setting-up-and-managing-your-enterprise/managing-organizations-in-your-enterprise-account.md @@ -7,4 +7,7 @@ redirect_from: - /github/setting-up-and-managing-your-enterprise-account/managing-organizations-in-your-enterprise-account versions: free-pro-team: '*' +topics: + - enterprise --- + diff --git a/content/github/setting-up-and-managing-your-enterprise/managing-team-synchronization-for-organizations-in-your-enterprise-account.md b/content/github/setting-up-and-managing-your-enterprise/managing-team-synchronization-for-organizations-in-your-enterprise-account.md index a8ce59ba50..ef3f0b988a 100644 --- a/content/github/setting-up-and-managing-your-enterprise/managing-team-synchronization-for-organizations-in-your-enterprise-account.md +++ b/content/github/setting-up-and-managing-your-enterprise/managing-team-synchronization-for-organizations-in-your-enterprise-account.md @@ -5,6 +5,8 @@ product: '{% data reusables.gated-features.enterprise-accounts %}' permissions: Enterprise owners can manage team synchronization for an enterprise account. versions: free-pro-team: '*' +topics: + - enterprise --- ### About team synchronization for enterprise accounts diff --git a/content/github/setting-up-and-managing-your-enterprise/managing-unowned-organizations-in-your-enterprise-account.md b/content/github/setting-up-and-managing-your-enterprise/managing-unowned-organizations-in-your-enterprise-account.md index 5b1ed4ce48..1c3f9e78b5 100644 --- a/content/github/setting-up-and-managing-your-enterprise/managing-unowned-organizations-in-your-enterprise-account.md +++ b/content/github/setting-up-and-managing-your-enterprise/managing-unowned-organizations-in-your-enterprise-account.md @@ -7,6 +7,8 @@ redirect_from: - /github/setting-up-and-managing-your-enterprise-account/managing-unowned-organizations-in-your-enterprise-account versions: free-pro-team: '*' +topics: + - enterprise --- If you enable user deprovisioning to manage organization membership in your enterprise account, you could end up with an organization that has no organization owners. For more information, see "[About user provisioning for organizations in your enterprise account](/github/setting-up-and-managing-your-enterprise/about-user-provisioning-for-organizations-in-your-enterprise-account)." diff --git a/content/github/setting-up-and-managing-your-enterprise/managing-users-in-your-enterprise.md b/content/github/setting-up-and-managing-your-enterprise/managing-users-in-your-enterprise.md index 6ccf673df3..b5a764d7bc 100644 --- a/content/github/setting-up-and-managing-your-enterprise/managing-users-in-your-enterprise.md +++ b/content/github/setting-up-and-managing-your-enterprise/managing-users-in-your-enterprise.md @@ -11,4 +11,7 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - enterprise --- + diff --git a/content/github/setting-up-and-managing-your-enterprise/managing-your-enterprise-account.md b/content/github/setting-up-and-managing-your-enterprise/managing-your-enterprise-account.md index 348926c13c..143d0baadd 100644 --- a/content/github/setting-up-and-managing-your-enterprise/managing-your-enterprise-account.md +++ b/content/github/setting-up-and-managing-your-enterprise/managing-your-enterprise-account.md @@ -7,5 +7,7 @@ redirect_from: versions: free-pro-team: '*' enterprise-server: '*' +topics: + - enterprise --- diff --git a/content/github/setting-up-and-managing-your-enterprise/restricting-email-notifications-for-your-enterprise-account-to-approved-domains.md b/content/github/setting-up-and-managing-your-enterprise/restricting-email-notifications-for-your-enterprise-account-to-approved-domains.md index 8e2f45146e..651e15af7b 100644 --- a/content/github/setting-up-and-managing-your-enterprise/restricting-email-notifications-for-your-enterprise-account-to-approved-domains.md +++ b/content/github/setting-up-and-managing-your-enterprise/restricting-email-notifications-for-your-enterprise-account-to-approved-domains.md @@ -1,10 +1,12 @@ --- title: Restricting email notifications for your enterprise account to approved domains -intro: "You can prevent your enterprise's information from leaking into personal accounts by restricting email notifications about activity in organizations owned by your enterprise account to verified domains." +intro: You can prevent your enterprise's information from leaking into personal accounts by restricting email notifications about activity in organizations owned by your enterprise account to verified domains. product: '{% data reusables.gated-features.enterprise-accounts %}' versions: free-pro-team: '*' permissions: Enterprise owners can restrict email notifications for an enterprise account. +topics: + - enterprise --- ### About email restrictions for your enterprise account diff --git a/content/github/setting-up-and-managing-your-enterprise/roles-in-an-enterprise.md b/content/github/setting-up-and-managing-your-enterprise/roles-in-an-enterprise.md index a0323d4f21..bc2568895a 100644 --- a/content/github/setting-up-and-managing-your-enterprise/roles-in-an-enterprise.md +++ b/content/github/setting-up-and-managing-your-enterprise/roles-in-an-enterprise.md @@ -10,6 +10,8 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - enterprise --- ### About roles in an enterprise diff --git a/content/github/setting-up-and-managing-your-enterprise/setting-policies-for-organizations-in-your-enterprise-account.md b/content/github/setting-up-and-managing-your-enterprise/setting-policies-for-organizations-in-your-enterprise-account.md index 27d125ccd8..1295569fe5 100644 --- a/content/github/setting-up-and-managing-your-enterprise/setting-policies-for-organizations-in-your-enterprise-account.md +++ b/content/github/setting-up-and-managing-your-enterprise/setting-policies-for-organizations-in-your-enterprise-account.md @@ -7,4 +7,7 @@ redirect_from: - /github/setting-up-and-managing-your-enterprise-account/setting-policies-for-organizations-in-your-enterprise-account versions: free-pro-team: '*' +topics: + - enterprise --- + diff --git a/content/github/setting-up-and-managing-your-enterprise/verifying-your-enterprise-accounts-domain.md b/content/github/setting-up-and-managing-your-enterprise/verifying-your-enterprise-accounts-domain.md index a417a7df78..96714ca44c 100644 --- a/content/github/setting-up-and-managing-your-enterprise/verifying-your-enterprise-accounts-domain.md +++ b/content/github/setting-up-and-managing-your-enterprise/verifying-your-enterprise-accounts-domain.md @@ -8,6 +8,8 @@ permissions: Enterprise owners can verify an enterprise account's domain. redirect_from: - /github/articles/verifying-your-enterprise-accounts-domain - /early-access/github/articles/verifying-your-enterprise-accounts-domain +topics: + - enterprise --- ### About domain verification @@ -39,4 +41,4 @@ To verify your enterprise account's domain, you must have access to modify domai ``` {% data reusables.organizations.continue-verifying-domain %} 1. Optionally, after the "Verified" badge is visible on your organizations' profiles, delete the TXT entry from the DNS record at your domain hosting service. -![Verified badge](/assets/images/help/organizations/verified-badge.png) \ No newline at end of file +![Verified badge](/assets/images/help/organizations/verified-badge.png) diff --git a/content/github/setting-up-and-managing-your-enterprise/viewing-and-managing-a-users-saml-access-to-your-enterprise.md b/content/github/setting-up-and-managing-your-enterprise/viewing-and-managing-a-users-saml-access-to-your-enterprise.md index 8ec6200f48..79372cb903 100644 --- a/content/github/setting-up-and-managing-your-enterprise/viewing-and-managing-a-users-saml-access-to-your-enterprise.md +++ b/content/github/setting-up-and-managing-your-enterprise/viewing-and-managing-a-users-saml-access-to-your-enterprise.md @@ -8,6 +8,8 @@ redirect_from: - /github/setting-up-and-managing-your-enterprise-account/viewing-and-managing-a-users-saml-access-to-your-enterprise-account versions: free-pro-team: '*' +topics: + - enterprise --- ### About SAML access to your enterprise account diff --git a/content/github/setting-up-and-managing-your-enterprise/viewing-people-in-your-enterprise.md b/content/github/setting-up-and-managing-your-enterprise/viewing-people-in-your-enterprise.md index 3b1bdfe5b3..8ffa84213a 100644 --- a/content/github/setting-up-and-managing-your-enterprise/viewing-people-in-your-enterprise.md +++ b/content/github/setting-up-and-managing-your-enterprise/viewing-people-in-your-enterprise.md @@ -9,6 +9,8 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - enterprise --- ### Viewing enterprise owners{% if currentVersion == "free-pro-team@latest" %} and billing managers{% endif %} diff --git a/content/github/setting-up-and-managing-your-enterprise/viewing-the-audit-logs-for-organizations-in-your-enterprise-account.md b/content/github/setting-up-and-managing-your-enterprise/viewing-the-audit-logs-for-organizations-in-your-enterprise-account.md index b63394ccd3..4227e55e42 100644 --- a/content/github/setting-up-and-managing-your-enterprise/viewing-the-audit-logs-for-organizations-in-your-enterprise-account.md +++ b/content/github/setting-up-and-managing-your-enterprise/viewing-the-audit-logs-for-organizations-in-your-enterprise-account.md @@ -8,6 +8,8 @@ redirect_from: - /github/setting-up-and-managing-your-enterprise-account/viewing-the-audit-logs-for-organizations-in-your-enterprise-account versions: free-pro-team: '*' +topics: + - enterprise --- Each audit log entry shows applicable information about an event, such as: diff --git a/content/github/setting-up-and-managing-your-enterprise/viewing-the-subscription-and-usage-for-your-enterprise-account.md b/content/github/setting-up-and-managing-your-enterprise/viewing-the-subscription-and-usage-for-your-enterprise-account.md index d245317800..452442dbdd 100644 --- a/content/github/setting-up-and-managing-your-enterprise/viewing-the-subscription-and-usage-for-your-enterprise-account.md +++ b/content/github/setting-up-and-managing-your-enterprise/viewing-the-subscription-and-usage-for-your-enterprise-account.md @@ -2,13 +2,15 @@ title: Viewing the subscription and usage for your enterprise account intro: 'You can view the current subscription, license usage, invoices, payment history, and other billing information for your enterprise account.' product: '{% data reusables.gated-features.enterprise-accounts %}' -permissions: 'Enterprise owners and billing managers can access and manage all billing settings for enterprise accounts.' +permissions: Enterprise owners and billing managers can access and manage all billing settings for enterprise accounts. redirect_from: - /github/setting-up-and-managing-your-enterprise-account/viewing-the-subscription-and-usage-for-your-enterprise-account - /articles/viewing-the-subscription-and-usage-for-your-enterprise-account versions: free-pro-team: '*' enterprise-server: '*' +topics: + - enterprise --- ### About billing for enterprise accounts diff --git a/content/github/setting-up-and-managing-your-github-profile/about-your-organizations-profile.md b/content/github/setting-up-and-managing-your-github-profile/about-your-organizations-profile.md index d5b5bcbbf2..0a158f8e14 100644 --- a/content/github/setting-up-and-managing-your-github-profile/about-your-organizations-profile.md +++ b/content/github/setting-up-and-managing-your-github-profile/about-your-organizations-profile.md @@ -8,6 +8,8 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - profiles --- You can optionally choose to add a description, location, website, and email address for your organization, and pin important repositories to the top of the page. diff --git a/content/github/setting-up-and-managing-your-github-profile/about-your-profile.md b/content/github/setting-up-and-managing-your-github-profile/about-your-profile.md index b2ba70604a..6d98ca7dbf 100644 --- a/content/github/setting-up-and-managing-your-github-profile/about-your-profile.md +++ b/content/github/setting-up-and-managing-your-github-profile/about-your-profile.md @@ -9,6 +9,8 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - profiles --- You can add personal information about yourself in your bio, like previous places you've worked, projects you've contributed to, or interests you have that other people may like to know about. For more information, see "[Adding a bio to your profile](/articles/personalizing-your-profile/#adding-a-bio-to-your-profile)." diff --git a/content/github/setting-up-and-managing-your-github-profile/customizing-your-profile.md b/content/github/setting-up-and-managing-your-github-profile/customizing-your-profile.md index 6a1a2d651a..529e65c64d 100644 --- a/content/github/setting-up-and-managing-your-github-profile/customizing-your-profile.md +++ b/content/github/setting-up-and-managing-your-github-profile/customizing-your-profile.md @@ -8,5 +8,7 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - profiles --- diff --git a/content/github/setting-up-and-managing-your-github-profile/index.md b/content/github/setting-up-and-managing-your-github-profile/index.md index b6ef2bc555..65df71a043 100644 --- a/content/github/setting-up-and-managing-your-github-profile/index.md +++ b/content/github/setting-up-and-managing-your-github-profile/index.md @@ -7,6 +7,8 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - profiles --- diff --git a/content/github/setting-up-and-managing-your-github-profile/managing-contribution-graphs-on-your-profile.md b/content/github/setting-up-and-managing-your-github-profile/managing-contribution-graphs-on-your-profile.md index e12a79ddba..54d688fdac 100644 --- a/content/github/setting-up-and-managing-your-github-profile/managing-contribution-graphs-on-your-profile.md +++ b/content/github/setting-up-and-managing-your-github-profile/managing-contribution-graphs-on-your-profile.md @@ -8,5 +8,7 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - profiles --- diff --git a/content/github/setting-up-and-managing-your-github-profile/managing-your-profile-readme.md b/content/github/setting-up-and-managing-your-github-profile/managing-your-profile-readme.md index 9829c4a9ac..32ed768480 100644 --- a/content/github/setting-up-and-managing-your-github-profile/managing-your-profile-readme.md +++ b/content/github/setting-up-and-managing-your-github-profile/managing-your-profile-readme.md @@ -4,6 +4,8 @@ intro: 'You can add a README to your {% data variables.product.prodname_dotcom % versions: free-pro-team: '*' enterprise-server: '>=2.22' +topics: + - profiles --- ### About your profile README diff --git a/content/github/setting-up-and-managing-your-github-profile/personalizing-your-profile.md b/content/github/setting-up-and-managing-your-github-profile/personalizing-your-profile.md index 1845388433..b5cdcf5792 100644 --- a/content/github/setting-up-and-managing-your-github-profile/personalizing-your-profile.md +++ b/content/github/setting-up-and-managing-your-github-profile/personalizing-your-profile.md @@ -12,6 +12,8 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - profiles --- ### Changing your profile picture diff --git a/content/github/setting-up-and-managing-your-github-profile/pinning-items-to-your-profile.md b/content/github/setting-up-and-managing-your-github-profile/pinning-items-to-your-profile.md index 99905412a6..9ad1c75672 100644 --- a/content/github/setting-up-and-managing-your-github-profile/pinning-items-to-your-profile.md +++ b/content/github/setting-up-and-managing-your-github-profile/pinning-items-to-your-profile.md @@ -1,12 +1,14 @@ --- title: Pinning items to your profile -intro: 'You can pin gists and repositories to your profile so other people can quickly see your best work.' +intro: You can pin gists and repositories to your profile so other people can quickly see your best work. redirect_from: - /articles/pinning-repositories-to-your-profile/ - /articles/pinning-items-to-your-profile versions: free-pro-team: '*' enterprise-server: '*' +topics: + - profiles --- You can pin a public repository if you own the repository or you've made contributions to the repository. Commits to forks don't count as contributions, so you can't pin a fork that you don't own. For more information, see "[Why are my contributions not showing up on my profile?](/articles/why-are-my-contributions-not-showing-up-on-my-profile)" diff --git a/content/github/setting-up-and-managing-your-github-profile/publicizing-or-hiding-your-private-contributions-on-your-profile.md b/content/github/setting-up-and-managing-your-github-profile/publicizing-or-hiding-your-private-contributions-on-your-profile.md index a4fb392c7b..9f0ba1abbf 100644 --- a/content/github/setting-up-and-managing-your-github-profile/publicizing-or-hiding-your-private-contributions-on-your-profile.md +++ b/content/github/setting-up-and-managing-your-github-profile/publicizing-or-hiding-your-private-contributions-on-your-profile.md @@ -7,6 +7,8 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - profiles --- If you publicize your private contributions, people without access to the private repositories you work in won't be able to see the details of your private contributions. Instead, they'll see the number of private contributions you made on any given day. Your public contributions will include detailed information. For more information, see "[Viewing contributions on your profile page](/articles/viewing-contributions-on-your-profile-page)". diff --git a/content/github/setting-up-and-managing-your-github-profile/sending-your-github-enterprise-server-contributions-to-your-githubcom-profile.md b/content/github/setting-up-and-managing-your-github-profile/sending-your-github-enterprise-server-contributions-to-your-githubcom-profile.md index a81413352b..80ff1b97b7 100644 --- a/content/github/setting-up-and-managing-your-github-profile/sending-your-github-enterprise-server-contributions-to-your-githubcom-profile.md +++ b/content/github/setting-up-and-managing-your-github-profile/sending-your-github-enterprise-server-contributions-to-your-githubcom-profile.md @@ -8,6 +8,8 @@ redirect_from: versions: free-pro-team: '*' enterprise-server: '*' +topics: + - profiles --- {% note %} diff --git a/content/github/setting-up-and-managing-your-github-profile/showing-an-overview-of-your-activity-on-your-profile.md b/content/github/setting-up-and-managing-your-github-profile/showing-an-overview-of-your-activity-on-your-profile.md index a7fc39ffc8..93f96972bb 100644 --- a/content/github/setting-up-and-managing-your-github-profile/showing-an-overview-of-your-activity-on-your-profile.md +++ b/content/github/setting-up-and-managing-your-github-profile/showing-an-overview-of-your-activity-on-your-profile.md @@ -7,6 +7,8 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - profiles --- {% data reusables.profile.activity-overview-summary %} For more information, see "[Viewing contributions on your profile](/articles/viewing-contributions-on-your-profile)." diff --git a/content/github/setting-up-and-managing-your-github-profile/troubleshooting-commits-on-your-timeline.md b/content/github/setting-up-and-managing-your-github-profile/troubleshooting-commits-on-your-timeline.md index c175ed7288..786fe7da85 100644 --- a/content/github/setting-up-and-managing-your-github-profile/troubleshooting-commits-on-your-timeline.md +++ b/content/github/setting-up-and-managing-your-github-profile/troubleshooting-commits-on-your-timeline.md @@ -7,6 +7,8 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - profiles --- ### Expected behavior to view commit details diff --git a/content/github/setting-up-and-managing-your-github-profile/viewing-contributions-on-your-profile.md b/content/github/setting-up-and-managing-your-github-profile/viewing-contributions-on-your-profile.md index 2620b22569..f35f1c45ed 100644 --- a/content/github/setting-up-and-managing-your-github-profile/viewing-contributions-on-your-profile.md +++ b/content/github/setting-up-and-managing-your-github-profile/viewing-contributions-on-your-profile.md @@ -9,6 +9,8 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - profiles --- {% if currentVersion == "free-pro-team@latest" or enterpriseServerVersions contains currentVersion %}Your contribution graph shows activity from public repositories. {% endif %}You can choose to show activity from {% if currentVersion == "free-pro-team@latest" or enterpriseServerVersions contains currentVersion %}both public and {% endif %}private repositories, with specific details of your activity in private repositories anonymized. For more information, see "[Publicizing or hiding your private contributions on your profile](/articles/publicizing-or-hiding-your-private-contributions-on-your-profile)." @@ -25,6 +27,8 @@ On your profile page, certain actions count as contributions: - Committing to a repository's default branch or `gh-pages` branch - Opening an issue +- Opening a discussion +- Answering a discussion - Proposing a pull request - Submitting a pull request review{% if enterpriseServerVersions contains currentVersion or currentVersion == "github-ae@latest" %} - Co-authoring commits in a repository's default branch or `gh-pages` branch{% endif %} diff --git a/content/github/setting-up-and-managing-your-github-profile/why-are-my-contributions-not-showing-up-on-my-profile.md b/content/github/setting-up-and-managing-your-github-profile/why-are-my-contributions-not-showing-up-on-my-profile.md index b03f183b73..84d3bddd57 100644 --- a/content/github/setting-up-and-managing-your-github-profile/why-are-my-contributions-not-showing-up-on-my-profile.md +++ b/content/github/setting-up-and-managing-your-github-profile/why-are-my-contributions-not-showing-up-on-my-profile.md @@ -7,6 +7,8 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - profiles --- ### Contributions that are counted diff --git a/content/github/setting-up-and-managing-your-github-user-account/about-organization-membership.md b/content/github/setting-up-and-managing-your-github-user-account/about-organization-membership.md index 26871dae11..cb1ddd422b 100644 --- a/content/github/setting-up-and-managing-your-github-user-account/about-organization-membership.md +++ b/content/github/setting-up-and-managing-your-github-user-account/about-organization-membership.md @@ -7,6 +7,8 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - accounts --- An organization owner can invite you to join their organization as a member, billing manager, or owner. An organization owner or member with admin privileges for a repository can invite you to collaborate in one or more repositories as an outside collaborator. For more information, see "[Permission levels for an organization](/articles/permission-levels-for-an-organization)." diff --git a/content/github/setting-up-and-managing-your-github-user-account/about-your-personal-dashboard.md b/content/github/setting-up-and-managing-your-github-user-account/about-your-personal-dashboard.md index 56bc439f15..8eb29afb79 100644 --- a/content/github/setting-up-and-managing-your-github-user-account/about-your-personal-dashboard.md +++ b/content/github/setting-up-and-managing-your-github-user-account/about-your-personal-dashboard.md @@ -9,6 +9,8 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - accounts --- ### Accessing your personal dashboard diff --git a/content/github/setting-up-and-managing-your-github-user-account/accessing-an-organization.md b/content/github/setting-up-and-managing-your-github-user-account/accessing-an-organization.md index d02c1a7a1b..f47c140a3b 100644 --- a/content/github/setting-up-and-managing-your-github-user-account/accessing-an-organization.md +++ b/content/github/setting-up-and-managing-your-github-user-account/accessing-an-organization.md @@ -10,6 +10,8 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - accounts --- {% tip %} diff --git a/content/github/setting-up-and-managing-your-github-user-account/adding-an-email-address-to-your-github-account.md b/content/github/setting-up-and-managing-your-github-user-account/adding-an-email-address-to-your-github-account.md index c72f08f6d5..2ad2b2a46c 100644 --- a/content/github/setting-up-and-managing-your-github-user-account/adding-an-email-address-to-your-github-account.md +++ b/content/github/setting-up-and-managing-your-github-user-account/adding-an-email-address-to-your-github-account.md @@ -6,6 +6,9 @@ redirect_from: versions: free-pro-team: '*' enterprise-server: '*' +topics: + - accounts + - notifications --- {% if currentVersion == "free-pro-team@latest" %} diff --git a/content/github/setting-up-and-managing-your-github-user-account/best-practices-for-leaving-your-company.md b/content/github/setting-up-and-managing-your-github-user-account/best-practices-for-leaving-your-company.md index 923402231b..9bba3b05ed 100644 --- a/content/github/setting-up-and-managing-your-github-user-account/best-practices-for-leaving-your-company.md +++ b/content/github/setting-up-and-managing-your-github-user-account/best-practices-for-leaving-your-company.md @@ -5,6 +5,8 @@ redirect_from: - /articles/best-practices-for-leaving-your-company versions: free-pro-team: '*' +topics: + - accounts --- Before you leave your company, make sure you update the following information in your user account: diff --git a/content/github/setting-up-and-managing-your-github-user-account/blocking-command-line-pushes-that-expose-your-personal-email-address.md b/content/github/setting-up-and-managing-your-github-user-account/blocking-command-line-pushes-that-expose-your-personal-email-address.md index a61ec05adb..13dfbff92f 100644 --- a/content/github/setting-up-and-managing-your-github-user-account/blocking-command-line-pushes-that-expose-your-personal-email-address.md +++ b/content/github/setting-up-and-managing-your-github-user-account/blocking-command-line-pushes-that-expose-your-personal-email-address.md @@ -5,6 +5,9 @@ redirect_from: - /articles/blocking-command-line-pushes-that-expose-your-personal-email-address versions: free-pro-team: '*' +topics: + - accounts + - notifications --- When you push commits from the command line, the email address that you've [set in Git](/articles/setting-your-commit-email-address) is associated with your commits. This setting blocks you from pushing commits on the command line that use your personal email address. diff --git a/content/github/setting-up-and-managing-your-github-user-account/changing-your-github-username.md b/content/github/setting-up-and-managing-your-github-user-account/changing-your-github-username.md index 8140f49101..08ec06aef5 100644 --- a/content/github/setting-up-and-managing-your-github-user-account/changing-your-github-username.md +++ b/content/github/setting-up-and-managing-your-github-user-account/changing-your-github-username.md @@ -10,6 +10,8 @@ redirect_from: versions: free-pro-team: '*' enterprise-server: '*' +topics: + - accounts --- ### About username changes diff --git a/content/github/setting-up-and-managing-your-github-user-account/changing-your-primary-email-address.md b/content/github/setting-up-and-managing-your-github-user-account/changing-your-primary-email-address.md index 7704249f86..c5e362db8d 100644 --- a/content/github/setting-up-and-managing-your-github-user-account/changing-your-primary-email-address.md +++ b/content/github/setting-up-and-managing-your-github-user-account/changing-your-primary-email-address.md @@ -6,6 +6,9 @@ redirect_from: versions: free-pro-team: '*' enterprise-server: '*' +topics: + - accounts + - notifications --- {% note %} diff --git a/content/github/setting-up-and-managing-your-github-user-account/converting-a-user-into-an-organization.md b/content/github/setting-up-and-managing-your-github-user-account/converting-a-user-into-an-organization.md index 9094888ead..73250f620d 100644 --- a/content/github/setting-up-and-managing-your-github-user-account/converting-a-user-into-an-organization.md +++ b/content/github/setting-up-and-managing-your-github-user-account/converting-a-user-into-an-organization.md @@ -8,6 +8,8 @@ intro: You can convert your user account into an organization. This allows more versions: free-pro-team: '*' enterprise-server: '*' +topics: + - accounts --- {% warning %} diff --git a/content/github/setting-up-and-managing-your-github-user-account/deleting-your-user-account.md b/content/github/setting-up-and-managing-your-github-user-account/deleting-your-user-account.md index 2073ac5e5e..b8177c6b3b 100644 --- a/content/github/setting-up-and-managing-your-github-user-account/deleting-your-user-account.md +++ b/content/github/setting-up-and-managing-your-github-user-account/deleting-your-user-account.md @@ -7,6 +7,8 @@ redirect_from: versions: free-pro-team: '*' enterprise-server: '*' +topics: + - accounts --- Deleting your user account removes all repositories, forks of private repositories, wikis, issues, pull requests, and pages owned by your account. {% if currentVersion == "free-pro-team@latest" %} Issues and pull requests you've created and comments you've made in repositories owned by other users will not be deleted - instead, they'll be associated with our [Ghost user](https://github.com/ghost).{% else %}Issues and pull requests you've created and comments you've made in repositories owned by other users will not be deleted.{% endif %} diff --git a/content/github/setting-up-and-managing-your-github-user-account/index.md b/content/github/setting-up-and-managing-your-github-user-account/index.md index 352849bd57..550c5b1f3b 100644 --- a/content/github/setting-up-and-managing-your-github-user-account/index.md +++ b/content/github/setting-up-and-managing-your-github-user-account/index.md @@ -7,6 +7,8 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - accounts --- diff --git a/content/github/setting-up-and-managing-your-github-user-account/inviting-collaborators-to-a-personal-repository.md b/content/github/setting-up-and-managing-your-github-user-account/inviting-collaborators-to-a-personal-repository.md index 8d3b6a831b..ce6539cb9d 100644 --- a/content/github/setting-up-and-managing-your-github-user-account/inviting-collaborators-to-a-personal-repository.md +++ b/content/github/setting-up-and-managing-your-github-user-account/inviting-collaborators-to-a-personal-repository.md @@ -10,6 +10,9 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - accounts + - repositories --- Repositories owned by an organization can grant more granular access. For more information, see "[Access permissions on {% data variables.product.product_name %}](/articles/access-permissions-on-github)." diff --git a/content/github/setting-up-and-managing-your-github-user-account/maintaining-ownership-continuity-of-your-user-accounts-repositories.md b/content/github/setting-up-and-managing-your-github-user-account/maintaining-ownership-continuity-of-your-user-accounts-repositories.md index a01d522898..9e18f58d24 100644 --- a/content/github/setting-up-and-managing-your-github-user-account/maintaining-ownership-continuity-of-your-user-accounts-repositories.md +++ b/content/github/setting-up-and-managing-your-github-user-account/maintaining-ownership-continuity-of-your-user-accounts-repositories.md @@ -3,6 +3,9 @@ title: Maintaining ownership continuity of your user account's repositories intro: You can invite someone to manage your user owned repositories if you are not able to. versions: free-pro-team: '*' +topics: + - accounts + - repositories --- ### About successors diff --git a/content/github/setting-up-and-managing-your-github-user-account/managing-access-to-your-personal-repositories.md b/content/github/setting-up-and-managing-your-github-user-account/managing-access-to-your-personal-repositories.md index 4676b8aeae..eb7faf4527 100644 --- a/content/github/setting-up-and-managing-your-github-user-account/managing-access-to-your-personal-repositories.md +++ b/content/github/setting-up-and-managing-your-github-user-account/managing-access-to-your-personal-repositories.md @@ -11,5 +11,8 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - accounts + - repositories --- diff --git a/content/github/setting-up-and-managing-your-github-user-account/managing-access-to-your-user-accounts-project-boards.md b/content/github/setting-up-and-managing-your-github-user-account/managing-access-to-your-user-accounts-project-boards.md index ea304c8f15..223fdd8e99 100644 --- a/content/github/setting-up-and-managing-your-github-user-account/managing-access-to-your-user-accounts-project-boards.md +++ b/content/github/setting-up-and-managing-your-github-user-account/managing-access-to-your-user-accounts-project-boards.md @@ -9,6 +9,8 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - accounts --- A collaborator is a person who has permissions to a project board you own. A collaborator's permissions will default to read access. For more information, see "[Permission levels for user-owned project boards](/articles/permission-levels-for-user-owned-project-boards)." diff --git a/content/github/setting-up-and-managing-your-github-user-account/managing-email-preferences.md b/content/github/setting-up-and-managing-your-github-user-account/managing-email-preferences.md index b53a647506..0b29ed6699 100644 --- a/content/github/setting-up-and-managing-your-github-user-account/managing-email-preferences.md +++ b/content/github/setting-up-and-managing-your-github-user-account/managing-email-preferences.md @@ -9,5 +9,8 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - accounts + - notifications --- diff --git a/content/github/setting-up-and-managing-your-github-user-account/managing-marketing-emails-from-github.md b/content/github/setting-up-and-managing-your-github-user-account/managing-marketing-emails-from-github.md index 04633f58fd..7dcd5e60c2 100644 --- a/content/github/setting-up-and-managing-your-github-user-account/managing-marketing-emails-from-github.md +++ b/content/github/setting-up-and-managing-your-github-user-account/managing-marketing-emails-from-github.md @@ -5,6 +5,9 @@ redirect_from: - /articles/managing-marketing-emails-from-github versions: free-pro-team: '*' +topics: + - accounts + - notifications --- ### Unsubscribing from {% data variables.product.prodname_dotcom %} marketing emails diff --git a/content/github/setting-up-and-managing-your-github-user-account/managing-security-and-analysis-settings-for-your-user-account.md b/content/github/setting-up-and-managing-your-github-user-account/managing-security-and-analysis-settings-for-your-user-account.md index d7d17817c2..d28e5fb58a 100644 --- a/content/github/setting-up-and-managing-your-github-user-account/managing-security-and-analysis-settings-for-your-user-account.md +++ b/content/github/setting-up-and-managing-your-github-user-account/managing-security-and-analysis-settings-for-your-user-account.md @@ -3,6 +3,8 @@ title: Managing security and analysis settings for your user account intro: 'You can control features that secure and analyze the code in your projects on {% data variables.product.prodname_dotcom %}.' versions: free-pro-team: '*' +topics: + - accounts --- ### About management of security and analysis settings @@ -28,6 +30,8 @@ For an overview of repository-level security, see "[About securing your reposito 7. Click **Disable FEATURE** or **Enable FEATURE** to disable or enable the feature for all the repositories you own. ![Button to disable or enable feature](/assets/images/help/settings/security-and-analysis-enable-dependency-graph.png) +{% data reusables.security.displayed-information %} + ### Enabling or disabling features for new repositories {% data reusables.user_settings.access_settings %} diff --git a/content/github/setting-up-and-managing-your-github-user-account/managing-the-default-branch-name-for-your-repositories.md b/content/github/setting-up-and-managing-your-github-user-account/managing-the-default-branch-name-for-your-repositories.md index 0524ab40ce..b199768a7b 100644 --- a/content/github/setting-up-and-managing-your-github-user-account/managing-the-default-branch-name-for-your-repositories.md +++ b/content/github/setting-up-and-managing-your-github-user-account/managing-the-default-branch-name-for-your-repositories.md @@ -5,6 +5,8 @@ versions: free-pro-team: '*' enterprise-server: '>=2.23' github-ae: '*' +topics: + - accounts --- ### About management of the default branch name diff --git a/content/github/setting-up-and-managing-your-github-user-account/managing-user-account-settings.md b/content/github/setting-up-and-managing-your-github-user-account/managing-user-account-settings.md index 3e31dd2814..fcbe11a0a4 100644 --- a/content/github/setting-up-and-managing-your-github-user-account/managing-user-account-settings.md +++ b/content/github/setting-up-and-managing-your-github-user-account/managing-user-account-settings.md @@ -10,5 +10,7 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - accounts --- diff --git a/content/github/setting-up-and-managing-your-github-user-account/managing-your-membership-in-organizations.md b/content/github/setting-up-and-managing-your-github-user-account/managing-your-membership-in-organizations.md index 80a10eb4a8..37b22a88d8 100644 --- a/content/github/setting-up-and-managing-your-github-user-account/managing-your-membership-in-organizations.md +++ b/content/github/setting-up-and-managing-your-github-user-account/managing-your-membership-in-organizations.md @@ -8,5 +8,7 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - accounts --- diff --git a/content/github/setting-up-and-managing-your-github-user-account/managing-your-scheduled-reminders.md b/content/github/setting-up-and-managing-your-github-user-account/managing-your-scheduled-reminders.md index 0cb96a4754..2284aaf647 100644 --- a/content/github/setting-up-and-managing-your-github-user-account/managing-your-scheduled-reminders.md +++ b/content/github/setting-up-and-managing-your-github-user-account/managing-your-scheduled-reminders.md @@ -3,6 +3,8 @@ title: Managing your scheduled reminders intro: Get reminders in Slack when you or your team have pull requests waiting for review. versions: free-pro-team: '*' +topics: + - accounts --- ### About scheduled reminders for users diff --git a/content/github/setting-up-and-managing-your-github-user-account/managing-your-theme-settings.md b/content/github/setting-up-and-managing-your-github-user-account/managing-your-theme-settings.md index 93091a6db3..609bb5e5a3 100644 --- a/content/github/setting-up-and-managing-your-github-user-account/managing-your-theme-settings.md +++ b/content/github/setting-up-and-managing-your-github-user-account/managing-your-theme-settings.md @@ -1,8 +1,10 @@ --- title: Managing your theme settings -intro: You can manage how {% data variables.product.product_name %} looks to you by setting a theme preference that either follows your system settings or always uses light mode or dark mode. +intro: 'You can manage how {% data variables.product.product_name %} looks to you by setting a theme preference that either follows your system settings or always uses light mode or dark mode.' versions: free-pro-team: '*' +topics: + - accounts --- {% note %} diff --git a/content/github/setting-up-and-managing-your-github-user-account/merging-multiple-user-accounts.md b/content/github/setting-up-and-managing-your-github-user-account/merging-multiple-user-accounts.md index 6939ca2d09..6882f942b3 100644 --- a/content/github/setting-up-and-managing-your-github-user-account/merging-multiple-user-accounts.md +++ b/content/github/setting-up-and-managing-your-github-user-account/merging-multiple-user-accounts.md @@ -7,6 +7,8 @@ redirect_from: - /articles/merging-multiple-user-accounts versions: free-pro-team: '*' +topics: + - accounts --- {% tip %} diff --git a/content/github/setting-up-and-managing-your-github-user-account/permission-levels-for-a-user-account-repository.md b/content/github/setting-up-and-managing-your-github-user-account/permission-levels-for-a-user-account-repository.md index 94aee824d8..1c52e2bd81 100644 --- a/content/github/setting-up-and-managing-your-github-user-account/permission-levels-for-a-user-account-repository.md +++ b/content/github/setting-up-and-managing-your-github-user-account/permission-levels-for-a-user-account-repository.md @@ -7,6 +7,8 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - accounts --- ### About permissions levels for a user account repository @@ -46,7 +48,7 @@ The repository owner has full control of the repository. In addition to the acti | Define code owners for the repository | "[About code owners](/github/creating-cloning-and-archiving-repositories/about-code-owners)" | | Archive the repository | "[About archiving repositories](/github/creating-cloning-and-archiving-repositories/about-archiving-repositories)" |{% if currentVersion == "free-pro-team@latest" %} | Create security advisories | "[About {% data variables.product.prodname_security_advisories %}](/github/managing-security-vulnerabilities/about-github-security-advisories)" | -| Display a sponsor button | "[Displaying a sponsor button in your repository](/github/administering-a-repository/displaying-a-sponsor-button-in-your-repository)" |{% endif %}{% if currentVersion == "free-pro-team@latest" or currentVersion ver_gt "enterprise-server@3.0" %} +| Display a sponsor button | "[Displaying a sponsor button in your repository](/github/administering-a-repository/displaying-a-sponsor-button-in-your-repository)" |{% endif %}{% if currentVersion == "free-pro-team@latest" or currentVersion == "github-ae@latest" or currentVersion ver_gt "enterprise-server@3.0" %} | Allow or disallow auto-merge for pull requests | "[Managing auto-merge for pull requests in your repository](/github/administering-a-repository/managing-auto-merge-for-pull-requests-in-your-repository)" | {% endif %} ### Collaborator access for a repository owned by a user account @@ -70,7 +72,7 @@ Collaborators can also perform the following actions. | Manage labels for issues and pull requests in the repository | "[Labeling issues and pull requests](/github/managing-your-work-on-github/labeling-issues-and-pull-requests)" | | Manage milestones for issues and pull requests in the repository | "[Creating and editing milestones for issues and pull requests](/github/managing-your-work-on-github/creating-and-editing-milestones-for-issues-and-pull-requests)" | | Mark an issue or pull request in the repository as a duplicate | "[About duplicate issues and pull requests](/github/managing-your-work-on-github/about-duplicate-issues-and-pull-requests)" | -| Create, merge, and close pull requests in the repository | "[Proposing changes to your work with pull requests](/github/collaborating-with-issues-and-pull-requests/proposing-changes-to-your-work-with-pull-requests)" |{% if currentVersion == "free-pro-team@latest" %} +| Create, merge, and close pull requests in the repository | "[Proposing changes to your work with pull requests](/github/collaborating-with-issues-and-pull-requests/proposing-changes-to-your-work-with-pull-requests)" |{% if currentVersion == "free-pro-team@latest" or currentVersion == "github-ae@latest" or currentVersion ver_gt "enterprise-server@3.0" %} | Enable and disable auto-merge for a pull request | "[Automatically merging a pull request](/github/collaborating-with-issues-and-pull-requests/automatically-merging-a-pull-request)"{% endif %} | Apply suggested changes to pull requests in the repository |"[Incorporating feedback in your pull request](/github/collaborating-with-issues-and-pull-requests/incorporating-feedback-in-your-pull-request)" | | Create a pull request from a fork of the repository | "[Creating a pull request from a fork](/github/collaborating-with-issues-and-pull-requests/creating-a-pull-request-from-a-fork)" | diff --git a/content/github/setting-up-and-managing-your-github-user-account/permission-levels-for-user-owned-project-boards.md b/content/github/setting-up-and-managing-your-github-user-account/permission-levels-for-user-owned-project-boards.md index d77c697386..8c834e7dad 100644 --- a/content/github/setting-up-and-managing-your-github-user-account/permission-levels-for-user-owned-project-boards.md +++ b/content/github/setting-up-and-managing-your-github-user-account/permission-levels-for-user-owned-project-boards.md @@ -7,6 +7,8 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - accounts --- ### Permissions overview diff --git a/content/github/setting-up-and-managing-your-github-user-account/publicizing-or-hiding-organization-membership.md b/content/github/setting-up-and-managing-your-github-user-account/publicizing-or-hiding-organization-membership.md index 5eda5de372..97cdce17af 100644 --- a/content/github/setting-up-and-managing-your-github-user-account/publicizing-or-hiding-organization-membership.md +++ b/content/github/setting-up-and-managing-your-github-user-account/publicizing-or-hiding-organization-membership.md @@ -8,6 +8,8 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - accounts --- ![Profile organizations box](/assets/images/help/profile/profile_orgs_box.png) diff --git a/content/github/setting-up-and-managing-your-github-user-account/remembering-your-github-username-or-email.md b/content/github/setting-up-and-managing-your-github-user-account/remembering-your-github-username-or-email.md index d9e43ab812..a438da5c1b 100644 --- a/content/github/setting-up-and-managing-your-github-user-account/remembering-your-github-username-or-email.md +++ b/content/github/setting-up-and-managing-your-github-user-account/remembering-your-github-username-or-email.md @@ -8,6 +8,9 @@ redirect_from: versions: free-pro-team: '*' enterprise-server: '*' +topics: + - accounts + - notifications --- {% mac %} diff --git a/content/github/setting-up-and-managing-your-github-user-account/removing-a-collaborator-from-a-personal-repository.md b/content/github/setting-up-and-managing-your-github-user-account/removing-a-collaborator-from-a-personal-repository.md index 34e08f8885..a1aa21b439 100644 --- a/content/github/setting-up-and-managing-your-github-user-account/removing-a-collaborator-from-a-personal-repository.md +++ b/content/github/setting-up-and-managing-your-github-user-account/removing-a-collaborator-from-a-personal-repository.md @@ -13,6 +13,9 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - accounts + - repositories --- ### Deleting forks of private repositories diff --git a/content/github/setting-up-and-managing-your-github-user-account/removing-yourself-from-a-collaborators-repository.md b/content/github/setting-up-and-managing-your-github-user-account/removing-yourself-from-a-collaborators-repository.md index 5a5c84520d..aec4a67b0f 100644 --- a/content/github/setting-up-and-managing-your-github-user-account/removing-yourself-from-a-collaborators-repository.md +++ b/content/github/setting-up-and-managing-your-github-user-account/removing-yourself-from-a-collaborators-repository.md @@ -12,6 +12,9 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - accounts + - repositories --- {% data reusables.user_settings.access_settings %} diff --git a/content/github/setting-up-and-managing-your-github-user-account/removing-yourself-from-an-organization.md b/content/github/setting-up-and-managing-your-github-user-account/removing-yourself-from-an-organization.md index 0a90a82e59..8b37bf683b 100644 --- a/content/github/setting-up-and-managing-your-github-user-account/removing-yourself-from-an-organization.md +++ b/content/github/setting-up-and-managing-your-github-user-account/removing-yourself-from-an-organization.md @@ -8,6 +8,8 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - accounts --- {% if currentVersion == "free-pro-team@latest" %} diff --git a/content/github/setting-up-and-managing-your-github-user-account/requesting-organization-approval-for-oauth-apps.md b/content/github/setting-up-and-managing-your-github-user-account/requesting-organization-approval-for-oauth-apps.md index 1ffc7304d1..c4a4c40a9f 100644 --- a/content/github/setting-up-and-managing-your-github-user-account/requesting-organization-approval-for-oauth-apps.md +++ b/content/github/setting-up-and-managing-your-github-user-account/requesting-organization-approval-for-oauth-apps.md @@ -7,6 +7,8 @@ redirect_from: - /articles/requesting-organization-approval-for-oauth-apps versions: free-pro-team: '*' +topics: + - accounts --- ### Requesting organization approval for an {% data variables.product.prodname_oauth_app %} you've already authorized for your personal account diff --git a/content/github/setting-up-and-managing-your-github-user-account/setting-a-backup-email-address.md b/content/github/setting-up-and-managing-your-github-user-account/setting-a-backup-email-address.md index e43a3ba4e4..d29f41ccea 100644 --- a/content/github/setting-up-and-managing-your-github-user-account/setting-a-backup-email-address.md +++ b/content/github/setting-up-and-managing-your-github-user-account/setting-a-backup-email-address.md @@ -1,12 +1,15 @@ --- title: Setting a backup email address -intro: Use a backup email address as an additional destination for security-relevant account notifications{% if currentVersion != "github-ae@latest" %} and to securely reset your password if you can no longer access your primary email address{% endif %}. +intro: 'Use a backup email address as an additional destination for security-relevant account notifications{% if currentVersion != "github-ae@latest" %} and to securely reset your password if you can no longer access your primary email address{% endif %}.' redirect_from: - /articles/setting-a-backup-email-address versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - accounts + - notifications --- {% data reusables.user_settings.access_settings %} diff --git a/content/github/setting-up-and-managing-your-github-user-account/setting-your-commit-email-address.md b/content/github/setting-up-and-managing-your-github-user-account/setting-your-commit-email-address.md index efc2bc6f58..c2ee6b124f 100644 --- a/content/github/setting-up-and-managing-your-github-user-account/setting-your-commit-email-address.md +++ b/content/github/setting-up-and-managing-your-github-user-account/setting-your-commit-email-address.md @@ -14,6 +14,9 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - accounts + - notifications --- ### About commit email addresses diff --git a/content/github/setting-up-and-managing-your-github-user-account/types-of-emails-github-sends.md b/content/github/setting-up-and-managing-your-github-user-account/types-of-emails-github-sends.md index 48115cd1c3..6fcfee0db7 100644 --- a/content/github/setting-up-and-managing-your-github-user-account/types-of-emails-github-sends.md +++ b/content/github/setting-up-and-managing-your-github-user-account/types-of-emails-github-sends.md @@ -5,6 +5,9 @@ redirect_from: - /articles/types-of-emails-github-sends versions: free-pro-team: '*' +topics: + - accounts + - notifications --- ### Notification emails diff --git a/content/github/setting-up-and-managing-your-github-user-account/viewing-peoples-roles-in-an-organization.md b/content/github/setting-up-and-managing-your-github-user-account/viewing-peoples-roles-in-an-organization.md index 3e366d76a8..6e5cb96277 100644 --- a/content/github/setting-up-and-managing-your-github-user-account/viewing-peoples-roles-in-an-organization.md +++ b/content/github/setting-up-and-managing-your-github-user-account/viewing-peoples-roles-in-an-organization.md @@ -8,6 +8,8 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - accounts --- {% note %} diff --git a/content/github/setting-up-and-managing-your-github-user-account/what-does-the-available-for-hire-checkbox-do.md b/content/github/setting-up-and-managing-your-github-user-account/what-does-the-available-for-hire-checkbox-do.md index d6a14d6120..f878c2ad80 100644 --- a/content/github/setting-up-and-managing-your-github-user-account/what-does-the-available-for-hire-checkbox-do.md +++ b/content/github/setting-up-and-managing-your-github-user-account/what-does-the-available-for-hire-checkbox-do.md @@ -5,6 +5,8 @@ redirect_from: - /articles/what-does-the-available-for-hire-checkbox-do versions: free-pro-team: '*' +topics: + - accounts --- The [GitHub Jobs](https://jobs.github.com/) board is a great way to find employment in tech. You can opt to see jobs posted there on your GitHub dashboard. diff --git a/content/github/site-policy-deprecated/github-ae-data-protection-agreement.md b/content/github/site-policy-deprecated/github-ae-data-protection-agreement.md index 4d37fb38e9..191e7275f8 100644 --- a/content/github/site-policy-deprecated/github-ae-data-protection-agreement.md +++ b/content/github/site-policy-deprecated/github-ae-data-protection-agreement.md @@ -331,7 +331,7 @@ Data exporter: Customer is the data exporter. However, because the data importer provides storage services and does not control the categories of data it stores, the data exporter may choose to transfer special categories of data. Consequently, the data exporter is solely responsible for ensuring that it complies with all obligations imposed by applicable laws and regulations relating to the collection and processing of any special categories of data, including obtaining the explicit consent of the data subject prior to processing sensitive personal data. **Processing operations:** The personal data transferred will be subject to the following basic processing activities: -GitHub uses personal data for the limited purposes set forth in the GitHub Privacy Statement, available at https://help.github.com/articles/github-privacy-statement/, and the “Data Processing” section of the DPA. +GitHub uses personal data for the limited purposes set forth in the GitHub Privacy Statement, available at https://docs.github.com/articles/github-privacy-statement/, and the “Data Processing” section of the DPA. **Subcontractors:** In accordance with the DPA, the data importer may hire other companies to provide limited services on data importer’s behalf, such as providing customer support. Any such subcontractors will be permitted to obtain Customer Personal Data only to deliver the services the data importer has retained them to provide, and they are prohibited from using Customer Personal Data for any other purpose. diff --git a/content/github/site-policy/dmca-takedown-policy.md b/content/github/site-policy/dmca-takedown-policy.md index c73627ff5d..449c6d616c 100644 --- a/content/github/site-policy/dmca-takedown-policy.md +++ b/content/github/site-policy/dmca-takedown-policy.md @@ -8,6 +8,9 @@ redirect_from: - /articles/dmca-takedown-policy versions: free-pro-team: '*' +topics: + - policy + - legal --- Welcome to GitHub's Guide to the Digital Millennium Copyright Act, commonly known as the "DMCA." This page is not meant as a comprehensive primer to the statute. However, if you've received a DMCA takedown notice targeting content you've posted on GitHub or if you're a rights-holder looking to issue such a notice, this page will hopefully help to demystify the law a bit as well as our policies for complying with it. diff --git a/content/github/site-policy/github-acceptable-use-policies.md b/content/github/site-policy/github-acceptable-use-policies.md index 0ed0d7ec13..ff37a78d38 100644 --- a/content/github/site-policy/github-acceptable-use-policies.md +++ b/content/github/site-policy/github-acceptable-use-policies.md @@ -4,6 +4,9 @@ redirect_from: - /articles/github-acceptable-use-policies versions: free-pro-team: '*' +topics: + - policy + - legal --- **Short version:** _We host a wide variety of collaborative projects from all over the world, and that collaboration only works when our users are able to work together in good faith. While using the Service, you must comply with our Acceptable Use Policies, which include some restrictions on content you can post, conduct on the service, and other limitations. In short, be excellent to each other._ diff --git a/content/github/site-policy/github-additional-product-terms.md b/content/github/site-policy/github-additional-product-terms.md index 48b68a79f8..7c6d29ca79 100644 --- a/content/github/site-policy/github-additional-product-terms.md +++ b/content/github/site-policy/github-additional-product-terms.md @@ -2,6 +2,9 @@ title: GitHub Additional Product Terms versions: free-pro-team: '*' +topics: + - policy + - legal --- Version Effective Date: February 22, 2021 diff --git a/content/github/site-policy/github-and-trade-controls.md b/content/github/site-policy/github-and-trade-controls.md index aff71cd6e9..a8cbb44eb8 100644 --- a/content/github/site-policy/github-and-trade-controls.md +++ b/content/github/site-policy/github-and-trade-controls.md @@ -7,6 +7,9 @@ redirect_from: - /github/site-policy/github-and-export-controls versions: free-pro-team: '*' +topics: + - policy + - legal --- GitHub.com, GitHub Enterprise Server, and the information you upload to either product may be subject to trade control regulations, including under the U.S. Export Administration Regulations (the EAR). diff --git a/content/github/site-policy/github-anti-bribery-statement.md b/content/github/site-policy/github-anti-bribery-statement.md index 0b66ee43c5..b78ee543f6 100644 --- a/content/github/site-policy/github-anti-bribery-statement.md +++ b/content/github/site-policy/github-anti-bribery-statement.md @@ -4,6 +4,9 @@ redirect_from: - /articles/github-anti-bribery-statement versions: free-pro-team: '*' +topics: + - policy + - legal --- GitHub upholds our commitment to ethical business practices, including by prohibiting bribery and corruption. As [Transparency International](https://www.transparency.org/what-is-corruption#costs-of-corruption) explains, the costs of corruption are - **political**, by posing a major obstacle to democracy and the rule of law diff --git a/content/github/site-policy/github-bug-bounty-program-legal-safe-harbor.md b/content/github/site-policy/github-bug-bounty-program-legal-safe-harbor.md index 97bff67a75..0a63b70043 100644 --- a/content/github/site-policy/github-bug-bounty-program-legal-safe-harbor.md +++ b/content/github/site-policy/github-bug-bounty-program-legal-safe-harbor.md @@ -4,6 +4,9 @@ redirect_from: - /articles/github-bug-bounty-program-legal-safe-harbor versions: free-pro-team: '*' +topics: + - policy + - legal --- ### Summary diff --git a/content/github/site-policy/github-candidate-privacy-policy.md b/content/github/site-policy/github-candidate-privacy-policy.md index 1b570f1a82..b329a301ed 100644 --- a/content/github/site-policy/github-candidate-privacy-policy.md +++ b/content/github/site-policy/github-candidate-privacy-policy.md @@ -2,6 +2,9 @@ title: GitHub Candidate Privacy Policy versions: free-pro-team: '*' +topics: + - policy + - legal --- Effective Date: March 8, 2021 diff --git a/content/github/site-policy/github-community-forum-code-of-conduct.md b/content/github/site-policy/github-community-forum-code-of-conduct.md index edffc306ec..aa9b32dd80 100644 --- a/content/github/site-policy/github-community-forum-code-of-conduct.md +++ b/content/github/site-policy/github-community-forum-code-of-conduct.md @@ -4,6 +4,9 @@ redirect_from: - /articles/github-community-forum-code-of-conduct versions: free-pro-team: '*' +topics: + - policy + - legal --- ### Overview and Purpose diff --git a/content/github/site-policy/github-community-guidelines.md b/content/github/site-policy/github-community-guidelines.md index 3e82aa45b7..29faa59f3b 100644 --- a/content/github/site-policy/github-community-guidelines.md +++ b/content/github/site-policy/github-community-guidelines.md @@ -5,6 +5,9 @@ redirect_from: - /articles/github-community-guidelines versions: free-pro-team: '*' +topics: + - policy + - legal --- Millions of developers host millions of projects on GitHub — both open and closed source — and we're honored to play a part in enabling collaboration across the community every day. Together, we all have an exciting opportunity and responsibility to make this a community we can be proud of. diff --git a/content/github/site-policy/github-corporate-terms-of-service.md b/content/github/site-policy/github-corporate-terms-of-service.md index 9139ffcb29..da405f50f0 100644 --- a/content/github/site-policy/github-corporate-terms-of-service.md +++ b/content/github/site-policy/github-corporate-terms-of-service.md @@ -4,6 +4,9 @@ redirect_from: - /articles/github-corporate-terms-of-service versions: free-pro-team: '*' +topics: + - policy + - legal --- THANK YOU FOR CHOOSING GITHUB FOR YOUR COMPANY’S BUSINESS NEEDS. PLEASE READ THIS AGREEMENT CAREFULLY AS IT GOVERNS USE OF THE PRODUCTS (AS DEFINED BELOW), UNLESS GITHUB HAS EXECUTED A SEPARATE WRITTEN AGREEMENT WITH CUSTOMER FOR THAT PURPOSE. diff --git a/content/github/site-policy/github-deceased-user-policy.md b/content/github/site-policy/github-deceased-user-policy.md index af27d5a37d..70a7a11a20 100644 --- a/content/github/site-policy/github-deceased-user-policy.md +++ b/content/github/site-policy/github-deceased-user-policy.md @@ -2,6 +2,9 @@ title: GitHub Deceased User Policy versions: free-pro-team: '*' +topics: + - policy + - legal --- In the event that a GitHub user passes away, we can work with an authorized individual to determine what happens to the account's content. diff --git a/content/github/site-policy/github-event-code-of-conduct.md b/content/github/site-policy/github-event-code-of-conduct.md index 9610d2f73e..c52346dc67 100644 --- a/content/github/site-policy/github-event-code-of-conduct.md +++ b/content/github/site-policy/github-event-code-of-conduct.md @@ -4,6 +4,9 @@ redirect_from: - /articles/github-event-code-of-conduct versions: free-pro-team: '*' +topics: + - policy + - legal --- GitHub events are community events intended for networking and collaboration in the tech community. diff --git a/content/github/site-policy/github-event-terms.md b/content/github/site-policy/github-event-terms.md index 6e8c43ce05..5145ee3b6c 100644 --- a/content/github/site-policy/github-event-terms.md +++ b/content/github/site-policy/github-event-terms.md @@ -4,6 +4,9 @@ redirect_from: - /articles/github-event-terms versions: free-pro-team: '*' +topics: + - policy + - legal --- By RSVP'ing to or attending a GitHub event, including any of the events or activities organized by GitHub in association with the GitHub event (collectively the "Event"), you signal that you have read, understand, and agree to the following Event Terms and Conditions. diff --git a/content/github/site-policy/github-gifts-and-entertainment-policy.md b/content/github/site-policy/github-gifts-and-entertainment-policy.md index 9cfae9d2b9..1daaf9078e 100644 --- a/content/github/site-policy/github-gifts-and-entertainment-policy.md +++ b/content/github/site-policy/github-gifts-and-entertainment-policy.md @@ -4,6 +4,9 @@ redirect_from: - /articles/github-gifts-and-entertainment-policy versions: free-pro-team: '*' +topics: + - policy + - legal --- GitHub recognizes that our business is built on positive and transparent relationships. While informal interactions and exchanges of gifts may be part of developing those relationships and may even be considered customary in some countries, we need to ensure that we’re following anti-bribery laws. We have a legal obligation to behave ethically, including by not using such interactions to create a special advantage or influence a deal. diff --git a/content/github/site-policy/github-government-takedown-policy.md b/content/github/site-policy/github-government-takedown-policy.md index 23c2723731..830528e58a 100644 --- a/content/github/site-policy/github-government-takedown-policy.md +++ b/content/github/site-policy/github-government-takedown-policy.md @@ -2,6 +2,9 @@ title: GitHub Government Takedown Policy versions: free-pro-team: '*' +topics: + - policy + - legal --- #### What is this? From time to time, GitHub receives requests from governments to remove content that has been declared unlawful in their local jurisdiction. Although we may not always agree with those laws, we may need to block content if we receive a complete request from a government official so that our users in that jurisdiction may continue to have access to GitHub to collaborate and build software. diff --git a/content/github/site-policy/github-gpl-cooperation-commitment.md b/content/github/site-policy/github-gpl-cooperation-commitment.md index b0129962bf..db08f7cc2f 100644 --- a/content/github/site-policy/github-gpl-cooperation-commitment.md +++ b/content/github/site-policy/github-gpl-cooperation-commitment.md @@ -4,6 +4,9 @@ redirect_from: - /articles/github-gpl-cooperation-commitment versions: free-pro-team: '*' +topics: + - policy + - legal --- This commitment pertains to GitHub contributions to Git, the Linux kernel, and other programs under covered licenses (scroll to the end for definitions). diff --git a/content/github/site-policy/github-insights-and-data-protection-for-your-organization.md b/content/github/site-policy/github-insights-and-data-protection-for-your-organization.md index 70d4eb12aa..a4b4d3fc5e 100644 --- a/content/github/site-policy/github-insights-and-data-protection-for-your-organization.md +++ b/content/github/site-policy/github-insights-and-data-protection-for-your-organization.md @@ -9,6 +9,9 @@ redirect_from: - /enterprise-server@2.20/github/site-policy/github-insights-and-data-protection-for-your-organization versions: free-pro-team: '*' +topics: + - policy + - legal --- For more information about the terms that govern {% data variables.product.prodname_insights %}, see your {% data variables.product.prodname_ghe_one %} subscription agreement. diff --git a/content/github/site-policy/github-logo-policy.md b/content/github/site-policy/github-logo-policy.md index 2e09b76469..ce0de00a56 100644 --- a/content/github/site-policy/github-logo-policy.md +++ b/content/github/site-policy/github-logo-policy.md @@ -6,6 +6,9 @@ redirect_from: - /articles/github-logo-policy versions: free-pro-team: '*' +topics: + - policy + - legal --- You can add {% data variables.product.prodname_dotcom %} logos to your website or third-party application in some scenarios. For more information and specific guidelines on logo usage, see the [{% data variables.product.prodname_dotcom %} Logos and Usage page](https://github.com/logos). diff --git a/content/github/site-policy/github-marketplace-developer-agreement.md b/content/github/site-policy/github-marketplace-developer-agreement.md index d92ec43248..1db5534558 100644 --- a/content/github/site-policy/github-marketplace-developer-agreement.md +++ b/content/github/site-policy/github-marketplace-developer-agreement.md @@ -4,6 +4,9 @@ redirect_from: - /articles/github-marketplace-developer-agreement versions: free-pro-team: '*' +topics: + - policy + - legal --- **THESE TERMS AND CONDITIONS (THE "AGREEMENT") GOVERN YOUR PARTICIPATION IN GITHUB’S MARKETPLACE PROGRAM. BY ENROLLING TO PARTICIPATE IN THE MARKETPLACE PROGRAM OR BY CLICKING “I ACCEPT” BELOW, YOU ARE CONFIRMING THAT YOU UNDERSTAND THIS AGREEMENT, AND THAT YOU ACCEPT ALL OF ITS TERMS AND CONDITIONS. IF YOU ARE ENTERING INTO THIS AGREEMENT ON BEHALF OF A COMPANY OR OTHER LEGAL ENTITY, YOU REPRESENT THAT YOU HAVE THE LEGAL AUTHORITY TO BIND THE ENTITY TO THIS AGREEMENT, IN WHICH CASE “YOU” WILL MEAN THE ENTITY YOU REPRESENT.** diff --git a/content/github/site-policy/github-marketplace-terms-of-service.md b/content/github/site-policy/github-marketplace-terms-of-service.md index 2d3b9ed203..63e80b6c36 100644 --- a/content/github/site-policy/github-marketplace-terms-of-service.md +++ b/content/github/site-policy/github-marketplace-terms-of-service.md @@ -4,6 +4,9 @@ redirect_from: - /articles/github-marketplace-terms-of-service versions: free-pro-team: '*' +topics: + - policy + - legal --- Welcome to GitHub Marketplace ("Marketplace")! We're happy you're here. Please read these Terms of Service ("Marketplace Terms") carefully before accessing or using GitHub Marketplace. GitHub Marketplace is a platform that allows you to select developer apps or actions (for free or for a charge) that can be used with your GitHub.com account ("Developer Products"). Although offered by GitHub, Inc. ("GitHub", "we", "us"), Developer Products may be developed and maintained by either GitHub or by third-party software providers. Your selection or use of Developer Products is subject to these Marketplace Terms and any applicable fees, and may require you to agree to additional terms as provided by the third party licensor of that Developer Product (the "Product Provider"). diff --git a/content/github/site-policy/github-open-source-applications-terms-and-conditions.md b/content/github/site-policy/github-open-source-applications-terms-and-conditions.md index 4b2b6ba059..d6f59db4b7 100644 --- a/content/github/site-policy/github-open-source-applications-terms-and-conditions.md +++ b/content/github/site-policy/github-open-source-applications-terms-and-conditions.md @@ -4,6 +4,9 @@ redirect_from: - /articles/github-open-source-applications-terms-and-conditions versions: free-pro-team: '*' +topics: + - policy + - legal --- These GitHub Open Source Applications Terms and Conditions ("Application Terms") are a legal agreement between you (either as an individual or on behalf of an entity) and GitHub, Inc. regarding your use of GitHub's applications, such as GitHub Desktop™ and associated documentation ("Software"). These Application Terms apply to the executable code version of the Software. Source code for the Software is available separately and free of charge under open source software license agreements. If you do not agree to all of the terms in these Application Terms, do not download, install, use, or copy the Software. diff --git a/content/github/site-policy/github-pre-release-program.md b/content/github/site-policy/github-pre-release-program.md index dc6f74153f..b9c0617da3 100644 --- a/content/github/site-policy/github-pre-release-program.md +++ b/content/github/site-policy/github-pre-release-program.md @@ -4,6 +4,9 @@ redirect_from: - /articles/github-pre-release-program versions: free-pro-team: '*' +topics: + - policy + - legal --- Thanks for signing up to participate in GitHub pre-release programs! As a trusted member of our community, your feedback on new and experimental features is important to us. In order to share these new products and services with you – many of which are still secret and in development – we’ll need you to agree to a special set of terms. Welcome to the Pre-release Program Agreement (“Agreement”). diff --git a/content/github/site-policy/github-privacy-statement.md b/content/github/site-policy/github-privacy-statement.md index 7dbbaa9dc1..ef3bca912f 100644 --- a/content/github/site-policy/github-privacy-statement.md +++ b/content/github/site-policy/github-privacy-statement.md @@ -9,6 +9,9 @@ redirect_from: - /articles/github-privacy-statement/ versions: free-pro-team: '*' +topics: + - policy + - legal --- Effective date: December 19, 2020 @@ -94,7 +97,7 @@ We do not intentionally collect User Personal Information that is **stored in yo ### How GitHub uses your information -- We may use your information for the following purposes: +We may use your information for the following purposes: - We use your [Registration Information](#registration-information) to create your account, and to provide you the Service. - We use your [Payment Information](#payment-information) to provide you with the Paid Account service, the Marketplace service, the Sponsors Program, or any other GitHub paid service you request. - We use your User Personal Information, specifically your username, to identify you on GitHub. diff --git a/content/github/site-policy/github-private-information-removal-policy.md b/content/github/site-policy/github-private-information-removal-policy.md new file mode 100644 index 0000000000..f2afae3359 --- /dev/null +++ b/content/github/site-policy/github-private-information-removal-policy.md @@ -0,0 +1,91 @@ +--- +title: GitHub Private Information Removal Policy +redirect_from: + - /articles/github-sensitive-data-removal-policy + - /github/site-policy/github-sensitive-data-removal-policy +versions: + free-pro-team: '*' +topics: + - policy + - legal +--- + +We offer this private information removal process as an exceptional service only for high-risk content that violates [GitHub's Terms of Service](/github/site-policy/github-acceptable-use-policies#3-conduct-restrictions), such as when your security is at risk from exposed access credentials. This guide describes the information GitHub needs from you in order to process a request to remove private information from a repository. + +### What is Private Information? + +For the purposes of this document, “private information” refers to content that (i) should have been kept confidential, *and* (ii) whose public availability poses a specific or targeted security risk to you or your organization. + +"Security risk" refers to a situation involving exposure to physical danger, identity theft, or increased likelihood of unauthorized access to physical or network facilities. + +#### Private information removal requests are appropriate for: +- Access credentials, such as user names combined with passwords, access tokens, or other sensitive secrets that can grant access to your organization's server, network, or domain. +- AWS tokens and other similar access credentials that grant access to a third party on your behalf. You must be able to show that the token does belong to you. +- Documentation (such as network diagrams or architecture) that poses a specific security risk for an organization. +- [Information](/github/site-policy/github-community-guidelines#doxxing-and-invasion-of-privacy) related to, and posing a security risk to, you as an individual (such as social security numbers or other government identification numbers). + +#### Private information removal requests are _not_ appropriate for: +- Internal server names, IP addresses, and URLs, on their own. You must be able to show that their use in a particular file or piece of code poses a security threat. +- Mere mentions of your company's identity, name, brand, domain name, or other references to your company in files on GitHub. You must be able to articulate why a use of your company's identity is a threat to your company's security posture. +- Entire files or repositories that do not pose a specific security risk, but you believe are otherwise objectionable. +- Requests to remove content that may infringe your or your organization's copyright rights. If you have questions about how GitHub handles copyright-related matters or would like to report potentially infringing content, please review our [DMCA Takedown Policy](/articles/dmca-takedown-policy/). The private information removal process is generally not intended for the removal of full files or repositories — only for the specific pieces of private information in those files. While there may be cases where files are filled entirely with private information, you must justify the security risk for the removal of such files, and this may increase the time required to process your request. +- Trademark disputes. If you have questions about how GitHub handles trademark-related matters or would like to report content containing your organization's trade or service marks, please review our [Trademark Policy](/articles/github-trademark-policy/). +- Privacy complaints. If you wish to access, transfer, change, or delete your personal information on GitHub, please contact us via [our Privacy contact form](https://github.com/contact/privacy). +- Content governed by our [Community Guidelines](/articles/github-community-guidelines/), such as malware or general-purpose tools. If you have questions about our Community Guidelines or believe that content on GitHub might violate our guidelines, you can use {% data variables.contact.report_content %} to contact us. + +### Things to Know + +**Ask Nicely First.** A great first step before sending us a request to remove data is to try contacting the user directly. They may have listed contact information on their public profile page or in the repository's README or Support file, or you could get in touch by creating an issue or pull request in the repository. This is not strictly required, but it is appreciated. + +**No Bots.** You should have a trained professional evaluate the facts of every request you send. If you're outsourcing your efforts to a third party, make sure you know how they operate, and make sure they are not using automated bots to submit complaints in bulk. These complaints often include data that does not pose any security threats, and they do not include sufficient explanations, requiring additional back-and-forth and resulting in delays, even when the complaint is valid. + +**Send In The Correct Request.** As noted above, we offer this private information removal process as an exceptional service only for high-risk content. We are not able to use this process to remove other kinds of content, such as potentially infringing content, and we are not able to process any other kinds of removal requests simultaneously while processing private information removal requests. We will be able to help you more quickly if you send in your private information removal requests separately from any requests to remove potentially infringing content. If you are unsure whether your request involves only private information or also involves other legal matters, please consult legal counsel. + +**Processing Time.** While we do process private information removal requests as quickly as possible, due to the volume of requests we process, it may take some time for your request to be reviewed. Additional requests, or multiple requests from additional points of contact, may result in delays. + +### How Does This Actually Work? + +1. **Complainant Investigates.** It is up to the requesting party to conduct their own investigation and to provide us with the [details we require](#your-request-must-include) — most importantly, an explanation of how the data poses a security risk. GitHub is not in a position to search for or make initial determinations about private information on any individual's or organization's behalf. + +2. **Complainant Sends a Private Information Removal Request.** After conducting an investigation, the complainant prepares and [sends a private information removal request](#sending-a-private-information-removal-request) to GitHub. If the request is not sufficiently detailed to demonstrate the security risk and for GitHub to locate the data, we will reply and ask for more information. + +3. **GitHub Asks User to Make Changes.** In most cases, we will contact the user who created the repository and give them an opportunity to delete or modify the private information specified in the request or to dispute the claim. + +4. **User Notifies GitHub of Changes.** If the user chooses to make the specified changes, they must tell us so within the window of time they've been allowed. If they don't, we will disable the repository. If the user notifies us that they made changes, we will verify that the changes have been made and notify the complainant. + + OR + +5. **User May Dispute the Request.** If a user believes the content in question is not private information subject to this Policy, they may dispute it. If they do, we will generally leave it up to the complainant to contact the user and work things out with them directly, within reason. + +6. **Complainant Reviews Changes.** If the user makes changes, the complainant must review them. If the changes are insufficient, the complainant must provide GitHub with details explaining why. GitHub may disable the repository or give the user an additional chance to make the changes. + +7. **User May Request an Additional Window to Make Changes.** If the user missed their opportunity to remove the private information specified in the notice, we may allow them an additional window of approximately 1 business day, upon request, to make those changes. In that event, GitHub will notify the complainant. + +#### What About Forks? (or What's a Fork?) +One of the best features of GitHub is the ability for users to "fork" one another's repositories. What does that mean? In essence, it means that users can make a copy of a project on GitHub into their own repositories. As the license or the law allows, users can then make changes to that fork to either push back to the main project or just keep as their own variation of a project. Each of these copies is a "[fork](/articles/github-glossary/#fork)" of the original repository, which in turn may also be called the "parent" of the fork. + +GitHub will not automatically disable forks when disabling a parent repository. This is because forks belong to different users and may have been altered in significant ways. GitHub does not conduct any independent investigation into forks. We expect those sending private information removal requests to conduct that investigation and, if they believe that the forks also contain private information, expressly include forks in their request. + +If at the time that you submitted your notice, you identified all existing forks of that repository, we would process a valid claim against all forks in that network at the time we process the notice. We would do this given the likelihood that all newly created forks would contain the same content. In addition, if the reported network that contains the reported content is larger than one hundred (100) repositories and thus would be difficult to review in its entirety, we may consider disabling the entire network if you state in your notice that, based on the representative number of forks you have reviewed, you believe that all or most of the forks contain the content reported in the parent repository. + +### Sending A Private Information Removal Request + +Due to the type of content GitHub hosts (mostly software code) and the way that content is managed (with Git), we need complaints to be as specific as possible. In order for us to verify that a user has removed reported private information completely, we need to know exactly where to look. + +These guidelines are designed to make the processing of requests to remove private information as straightforward as possible. + +#### Your Request Must Include: + +1. A working, clickable link to each file containing private information. (Note that we're not able to work from search results, examples, or screenshots.) +2. Specific line numbers within each file containing the private information. +3. A brief description of how each item you've identified poses a security risk to you or your organization. ***It is important that you provide an explanation of how the data poses a security risk beyond merely stating that it does.*** +4. If you are a third party acting as an agent for an organization facing a security risk, include a statement that you have a legal right to act on behalf of that organization. +5. OPTIONAL: Let us know if your request is particularly urgent, and why. We respond to all private information removal requests as quickly as possible. However, if this request is especially time-sensitive, such as a very recent credential exposure, please explain why. + +### How to Submit Your Request + +You can submit your request to remove private information via our [contact form](https://support.github.com/contact?tags=docs-private-information). Please include a plain-text version of your request in the body of your message. Sending your request in an attachment may result in processing delays. + +### Disputes + +If you received a private information removal request from us, you can dispute it by replying to our email and letting us know — in as much detail as possible — why you think the content in question is not private information subject to this Policy. diff --git a/content/github/site-policy/github-registered-developer-agreement.md b/content/github/site-policy/github-registered-developer-agreement.md index a28e956a51..f3c3a6cde9 100644 --- a/content/github/site-policy/github-registered-developer-agreement.md +++ b/content/github/site-policy/github-registered-developer-agreement.md @@ -4,6 +4,9 @@ redirect_from: - /articles/github-registered-developer-agreement versions: free-pro-team: '*' +topics: + - policy + - legal --- GitHub is fortunate to have many developers integrating with our platform. We think that’s awesome, and we want to make that experience even better. GitHub’s Developer Program (the “Program”) helps us to connect with you, share information with you, and support your creative efforts better than ever before. The special relationship between GitHub and the developer community that the Program creates requires a special set of terms. Welcome to the Registered Developer Agreement (“Agreement”). diff --git a/content/github/site-policy/github-research-program-terms.md b/content/github/site-policy/github-research-program-terms.md index f16cccc3d9..cebfafa12d 100644 --- a/content/github/site-policy/github-research-program-terms.md +++ b/content/github/site-policy/github-research-program-terms.md @@ -4,6 +4,9 @@ redirect_from: - /articles/github-research-program-terms versions: free-pro-team: '*' +topics: + - policy + - legal --- Welcome to the GitHub Research Program (the "Program")! To participate, we’ll need you to agree to a special set of terms, the GitHub Research Program Agreement (“Agreement”). diff --git a/content/github/site-policy/github-sensitive-data-removal-policy.md b/content/github/site-policy/github-sensitive-data-removal-policy.md deleted file mode 100644 index bd37e5d322..0000000000 --- a/content/github/site-policy/github-sensitive-data-removal-policy.md +++ /dev/null @@ -1,82 +0,0 @@ ---- -title: GitHub Sensitive Data Removal Policy -redirect_from: - - /articles/github-sensitive-data-removal-policy -versions: - free-pro-team: '*' ---- -If you believe that content on GitHub infringes a valid copyright you own, please see our [DMCA Takedown Policy](/articles/dmca-takedown-policy/) and our [Guide to Submitting a DMCA Takedown Notice](/articles/guide-to-submitting-a-dmca-takedown-notice/). We rely on the DMCA notice and takedown process for the majority of our removal actions. - -However, we understand that sensitive, security-related content may get published on GitHub – whether accidentally or on purpose – from time to time. We provide our sensitive data removal process to remove this sensitive data in certain exceptional circumstances where the DMCA process would not be applicable, such as when your security is at risk from exposed passwords and you do not own the copyright to the specific content that you need removed, or the content is not protectable by copyright. This guide describes the information GitHub needs from you in order to process a request to remove sensitive data from a repository. - -### What is Sensitive Data? - -For the purposes of this document, “sensitive data” refers to content that (i) should have been kept confidential, *and* (ii) whose public availability poses a specific or targeted security risk to you or your organization. - -#### Sensitive data removal requests are appropriate for: -- Access credentials, such as user names combined with passwords, access tokens, or other sensitive secrets that can grant access to your organization's server, network, or domain. -- AWS tokens and other similar access credentials that grant access to a third party on your behalf. You must be able to show that the token does belong to you. -- Documentation (such as network diagrams) that poses a specific security risk for an organization. Internal server names, IP addresses, and URLs, on their own, are not sufficiently sensitive; you must be able to show that the internal server name's use in a particular file or piece of code poses a security threat. - -#### Sensitive data removal requests are _not_ appropriate for: -- Requests to remove content that may infringe your or your organization's copyright rights. If you have questions about how GitHub handles copyright-related matters or would like to report potentially infringing content, please review our [DMCA Takedown Policy](/articles/dmca-takedown-policy/). The sensitive data removal process is generally not intended for the removal of full files or repositories — only for the specific pieces of sensitive data in those files. While there may be cases where files are filled entirely with sensitive information, you must justify the security risk for the removal of such files, and this may increase the time required to process your request. -- Trademark disputes. If you have questions about how GitHub handles trademark-related matters or would like to report content containing your organization's trade or service marks, please review our [Trademark Policy](/articles/github-trademark-policy/). -- Mere mentions of your company's identity, name, brand, domain name, or other references to your company in files on GitHub. You must be able to articulate why a use of your company's identity is a threat to your company's security posture before we will take action under this policy. -- Privacy complaints. If you have concerns about your own privacy or you are contacting us on behalf of your employees due to a privacy concern — for example, if there are private email addresses or other personal information posted — please contact us via [our Privacy contact form](https://github.com/contact/privacy). -- Entire files or repositories that do not pose a specific security risk, but you believe are otherwise objectionable. -- Content governed by our [Community Guidelines](/articles/github-community-guidelines/), such as malware or general-purpose tools. If you have questions about our Community Guidelines or believe that content on GitHub might violate our guidelines, you can use {% data variables.contact.report_content %} to contact us. - -### Things to Know - -**Ask Nicely First.** A great first step before sending us a request to remove data is to try contacting the user directly. They may have listed contact information on their public profile page or in the repository's README or Support file, or you could get in touch by creating an issue or pull request in the repository. This is not strictly required, but it is appreciated. - -**No Bots.** You should have a trained professional evaluate the facts of every request you send. If you're outsourcing your efforts to a third party, make sure you know how they operate, and make sure they are not using automated bots to submit complaints in bulk. These complaints often include data that does not pose any security threats, and they do not include sufficient explanations, requiring additional back-and-forth and resulting in delays, even when the complaint is valid. - -**Send In The Correct Request.** We offer this sensitive data removal process as an exceptional service only for high-risk content. We are not able to use this process to remove other kinds of content, such as potentially infringing content, and we are not able to process any other kinds of removal requests simultaneously while processing sensitive removal requests. We will be able to help you more quickly if you send in your sensitive data removal requests separately from any requests to remove potentially infringing content. If you are unsure whether your request involves only sensitive data or also involves other legal matters, please consult legal counsel. - -**Processing Time.** While we do process sensitive data removal requests as quickly as possible, due to the volume of requests we process, it may take some time for your request to be reviewed. Additional requests, or multiple requests from additional points of contact, may result in delays. - -### How Does This Actually Work? - -1. **Complainant Investigates.** It is up to the requesting party to conduct their own investigation and to provide us with the [details we require](#your-request-must-include) — most importantly, an explanation of how the data poses a security risk. GitHub is not in a position to search for or make initial determinations about sensitive data on any individual's or organization's behalf. - -2. **Complainant Sends a Sensitive Data Removal Request.** After conducting an investigation, the complainant prepares and [sends a sensitive data removal request](#sending-a-sensitive-data-removal-request) to GitHub. If the request is not sufficiently detailed to demonstrate the security risk and for GitHub to locate the data, we will reply and ask for more information. - -3. **GitHub Asks User to Make Changes.** In most cases, we will contact the user who created the repository and give them an opportunity to delete or modify the sensitive data specified in the request or to dispute the claim. - -4. **User Notifies GitHub of Changes.** If the user chooses to make the specified changes, they must tell us so within the window of time they've been allowed. If they don't, we will disable the repository. If the user notifies us that they made changes, we will verify that the changes have been made and notify the complainant. - - OR - -5. **User May Dispute the Request.** If a user believes the content in question is not sensitive data subject to this Policy, they may dispute it. If they do, we will generally leave it up to the complainant to contact the user and work things out with them directly, within reason. - -6. **Complainant Reviews Changes.** If the user makes changes, the complainant must review them. If the changes are insufficient, the complainant must provide GitHub with details explaining why. GitHub may disable the repository or give the user an additional chance to make the changes. - -7. **User May Request an Additional Window to Make Changes.** If the user missed their opportunity to remove the sensitive data specified in the notice, we may allow them an additional window of approximately 1 business day, upon request, to make those changes. In that event, GitHub will notify the complainant. - -#### What About Forks? (or What's a Fork?) -One of the best features of GitHub is the ability for users to "fork" one another's repositories. What does that mean? In essence, it means that users can make a copy of a project on GitHub into their own repositories. As the license or the law allows, users can then make changes to that fork to either push back to the main project or just keep as their own variation of a project. Each of these copies is a "[fork](/articles/github-glossary/#fork)" of the original repository, which in turn may also be called the "parent" of the fork. - -GitHub will not automatically disable forks when disabling a parent repository. This is because forks belong to different users and may have been altered in significant ways. GitHub does not conduct any independent investigation into forks. We expect those sending sensitive data removal requests to conduct that investigation and, if they believe that the forks also contain sensitive data, expressly include forks in their request. - -### Sending A Sensitive Data Removal Request - -Due to the type of content GitHub hosts (mostly software code) and the way that content is managed (with Git), we need complaints to be as specific as possible. In order for us to verify that a user has removed reported sensitive data completely, we need to know exactly where to look. - -These guidelines are designed to make the processing of requests to remove sensitive data as straightforward as possible. - -#### Your Request Must Include: - -1. A working, clickable link to each file containing sensitive data. (Note that we're not able to work from search results, examples, or screenshots.) -2. Specific line numbers within each file containing the sensitive data. -3. A brief description of how each item you've identified poses a security risk to you or your organization. ***It is important that you provide an explanation of how the data poses a security risk beyond merely stating that it does.*** -4. If you are a third party acting as an agent for an organization facing a security risk, include a statement that you have a legal right to act on behalf of that organization. -5. OPTIONAL: Let us know if your request is particularly urgent, and why. We respond to all sensitive data removal requests as quickly as possible. However, if this request is especially time-sensitive, such as a very recent credential exposure, please explain why. - -### How to Submit Your Request - -You can submit your request to remove sensitive data via our [contact form](https://support.github.com/contact?tags=docs-sensitive-data). Please include a plain-text version of your request in the body of your message. Sending your request in an attachment may result in processing delays. - -### Disputes - -If you received a sensitive data removal request from us, you can dispute it by replying to our email and letting us know — in as much detail as possible — why you think the content in question is not sensitive data subject to this Policy. diff --git a/content/github/site-policy/github-sponsors-additional-terms.md b/content/github/site-policy/github-sponsors-additional-terms.md index 343c68a35c..e154b16471 100644 --- a/content/github/site-policy/github-sponsors-additional-terms.md +++ b/content/github/site-policy/github-sponsors-additional-terms.md @@ -4,6 +4,9 @@ redirect_from: - /articles/github-sponsors-additional-terms versions: free-pro-team: '*' +topics: + - policy + - legal --- Your participation in the GitHub Sponsors Program (the "Program") is subject to the [GitHub Terms of Service](/github/site-policy/github-terms-of-service) (the "Agreement"), as well as the following additional terms ("Additional Terms"). Any use of the GitHub Sponsors Program that violates the Agreement will also be a violation of these Additional Terms. Any capitalized terms used but not defined below have the meanings in the Agreement. These Additional Terms for the GitHub Sponsors Program describe the relationship between GitHub and you, the "Sponsored Developer", for the Program. The Additional Terms are effective as of the date you accept them ("Effective Date"). @@ -118,7 +121,7 @@ During the term, GitHub will remit to you all Sponsored Developer Payments recei - For newly created Sponsored Developer Accounts, GitHub will remit to you all Sponsored Developer Payments received in a given month within 90 days of the creation of your Sponsored Developer Account, subject to the variables below. Payments thereafter will be remitted within 30 days of the close of that month, in accordance with this section. -- If you are paid through Stripe Connect, you will receive payouts on the 22nd of the month for your balance at the end of the previous month, regardless of the amount of the balance. +- If you are paid through Stripe Connect, you will receive payouts on the 22nd of the month for the balance accrued since the last payout, regardless of the amount of the balance. Payout initiation dates vary by country, and can change from month to month due to public holidays, weekends, and other factors. - If you are paid through ACH transfer or wire transfer, you will receive payouts on the third Thursday of the month. GitHub will issue a payout to you for any month that your balance reaches $100 USD. Contributions from the GitHub Sponsors Matching Fund do not count towards this threshold. If your balance is below $100 at the end of the month, the balance will accrue until the next time your balance is above the threshold at the end of the month. If you leave GitHub Sponsors, GitHub will issue a payout for your remaining balance even if the balance is below $100. @@ -136,6 +139,22 @@ You will be responsible for specifying the terms and conditions regarding any re #### 4.7. Requested Payment Information. To pay you, you must provide us with complete and accurate financial, tax, and banking information that we request (for example, by means of account creation or setup, or otherwise). We will notify you, by any means of communication, of changes to what information is required. If you fail to accurately provide (or accurately maintain) such information, (a) we can deduct from your Sponsored Developer Payment any related bank fees, and (b) we can terminate these Additional Terms and you may forfeit any amounts owed to you by GitHub. +#### 4.8. Stripe Connect + +If you are paid through Stripe Connect, the following additional terms apply to your usage of GitHub Sponsors: + +**Full service agreement** + +_Applies to Sponsored Developer Accounts registered in Australia, Austria, Belgium, Canada, Denmark, Estonia, Finland, France, Germany, Greece, Hong Kong, Ireland, Italy, Japan, Latvia, Lithuania, Luxembourg, Netherlands, New Zealand, Norway, Poland, Portugal, Slovakia, Slovenia, Spain, Sweden, Switzerland, United Kingdom, United States._ + +Payment processing services for Sponsored Developer Accounts on GitHub Sponsors are provided by Stripe and are subject to the [Stripe Connected Account Agreement](https://stripe.com/connect-account/legal/full), which includes the [Stripe Terms of Service](https://stripe.com/legal) (collectively, the “Stripe Services Agreement”). By agreeing to these terms or continuing to operate as a Sponsored Developer Account on GitHub Sponsors, you agree to be bound by the Stripe Services Agreement, as the same may be modified by Stripe from time to time. As a condition of GitHub enabling payment processing services through Stripe, you agree to provide GitHub accurate and complete information about you and your business, and you authorize GitHub to share it and transaction information related to your use of the payment processing services provided by Stripe. + +**Recipient service agreement** + +_Applies to Sponsored Developer Accounts in all other countries._ + +We use Stripe to make payouts to Sponsored Developer Accounts. The [Stripe Recipient Agreement](https://stripe.com/connect-account/legal/recipient) applies to your receipt of such payouts. To receive payouts from GitHub Sponsors, you must provide us accurate and complete information about you and your business, and you authorize us to share it and transaction information related to your payout with Stripe. + ### 5. Representations and Warranties; Limitation of Liability; Indemnification. #### 5.1. By Sponsored Developer. diff --git a/content/github/site-policy/github-statement-against-modern-slavery-and-child-labor.md b/content/github/site-policy/github-statement-against-modern-slavery-and-child-labor.md index 8d41be2fb7..9ca2aa38b1 100644 --- a/content/github/site-policy/github-statement-against-modern-slavery-and-child-labor.md +++ b/content/github/site-policy/github-statement-against-modern-slavery-and-child-labor.md @@ -4,6 +4,9 @@ redirect_from: - /articles/github-statement-against-modern-slavery-and-child-labor versions: free-pro-team: '*' +topics: + - policy + - legal --- *2018 statement* diff --git a/content/github/site-policy/github-subprocessors-and-cookies.md b/content/github/site-policy/github-subprocessors-and-cookies.md index 345953c1b9..c36e6115d1 100644 --- a/content/github/site-policy/github-subprocessors-and-cookies.md +++ b/content/github/site-policy/github-subprocessors-and-cookies.md @@ -8,6 +8,9 @@ redirect_from: - /articles/github-subprocessors-and-cookies versions: free-pro-team: '*' +topics: + - policy + - legal --- Effective date: **January 29, 2021** diff --git a/content/github/site-policy/github-terms-of-service.md b/content/github/site-policy/github-terms-of-service.md index 183df800d6..77d9fc4fb5 100644 --- a/content/github/site-policy/github-terms-of-service.md +++ b/content/github/site-policy/github-terms-of-service.md @@ -8,6 +8,9 @@ redirect_from: - /articles/github-terms-of-service versions: free-pro-team: '*' +topics: + - policy + - legal --- Thank you for using GitHub! We're happy you're here. Please read this Terms of Service agreement carefully before accessing or using GitHub. Because it is such an important contract between us and our users, we have tried to make it as clear as possible. For your convenience, we have presented these terms in a short non-binding summary followed by the full legal terms. diff --git a/content/github/site-policy/github-trademark-policy.md b/content/github/site-policy/github-trademark-policy.md index e2dd80c88a..c1f4986beb 100644 --- a/content/github/site-policy/github-trademark-policy.md +++ b/content/github/site-policy/github-trademark-policy.md @@ -4,6 +4,9 @@ redirect_from: - /articles/github-trademark-policy versions: free-pro-team: '*' +topics: + - policy + - legal --- ### What is a GitHub Trademark Policy Violation? diff --git a/content/github/site-policy/github-username-policy.md b/content/github/site-policy/github-username-policy.md index 532399005d..89ef4713f9 100644 --- a/content/github/site-policy/github-username-policy.md +++ b/content/github/site-policy/github-username-policy.md @@ -5,6 +5,9 @@ redirect_from: - /articles/github-username-policy versions: free-pro-team: '*' +topics: + - policy + - legal --- GitHub account names are available on a first-come, first-served basis, and are intended for immediate and active use. diff --git a/content/github/site-policy/githubs-notice-about-the-california-consumer-privacy-act.md b/content/github/site-policy/githubs-notice-about-the-california-consumer-privacy-act.md index 0fa984fdf7..4506d018c8 100644 --- a/content/github/site-policy/githubs-notice-about-the-california-consumer-privacy-act.md +++ b/content/github/site-policy/githubs-notice-about-the-california-consumer-privacy-act.md @@ -2,6 +2,9 @@ title: GitHub's Notice about the California Consumer Privacy Act versions: free-pro-team: '*' +topics: + - policy + - legal --- Effective January 1, 2020 diff --git a/content/github/site-policy/global-privacy-practices.md b/content/github/site-policy/global-privacy-practices.md index 492baa42d6..a9a8e8c8ec 100644 --- a/content/github/site-policy/global-privacy-practices.md +++ b/content/github/site-policy/global-privacy-practices.md @@ -5,6 +5,9 @@ redirect_from: - /articles/global-privacy-practices versions: free-pro-team: '*' +topics: + - policy + - legal --- Effective date: July 22, 2020 diff --git a/content/github/site-policy/guide-to-submitting-a-dmca-counter-notice.md b/content/github/site-policy/guide-to-submitting-a-dmca-counter-notice.md index 67029fd81e..ec9f4459ed 100644 --- a/content/github/site-policy/guide-to-submitting-a-dmca-counter-notice.md +++ b/content/github/site-policy/guide-to-submitting-a-dmca-counter-notice.md @@ -6,6 +6,9 @@ redirect_from: - /articles/guide-to-submitting-a-dmca-counter-notice versions: free-pro-team: '*' +topics: + - policy + - legal --- This guide describes the information that GitHub needs in order to process a counter notice to a DMCA takedown request. If you have more general questions about what the DMCA is or how GitHub processes DMCA takedown requests, please review our [DMCA Takedown Policy](/articles/dmca-takedown-policy). diff --git a/content/github/site-policy/guide-to-submitting-a-dmca-takedown-notice.md b/content/github/site-policy/guide-to-submitting-a-dmca-takedown-notice.md index 78989d6112..63df89aedf 100644 --- a/content/github/site-policy/guide-to-submitting-a-dmca-takedown-notice.md +++ b/content/github/site-policy/guide-to-submitting-a-dmca-takedown-notice.md @@ -6,6 +6,9 @@ redirect_from: - /articles/guide-to-submitting-a-dmca-takedown-notice versions: free-pro-team: '*' +topics: + - policy + - legal --- This guide describes the information that GitHub needs in order to process a DMCA takedown request. If you have more general questions about what the DMCA is or how GitHub processes DMCA takedown requests, please review our [DMCA Takedown Policy](/articles/dmca-takedown-policy). diff --git a/content/github/site-policy/guidelines-for-legal-requests-of-user-data.md b/content/github/site-policy/guidelines-for-legal-requests-of-user-data.md index f045697c83..d5639fc952 100644 --- a/content/github/site-policy/guidelines-for-legal-requests-of-user-data.md +++ b/content/github/site-policy/guidelines-for-legal-requests-of-user-data.md @@ -5,6 +5,9 @@ redirect_from: - /articles/guidelines-for-legal-requests-of-user-data versions: free-pro-team: '*' +topics: + - policy + - legal --- Are you a law enforcement officer conducting an investigation that may involve user content hosted on GitHub? diff --git a/content/github/site-policy/index.md b/content/github/site-policy/index.md index 997c311355..9d4e8b3ef8 100644 --- a/content/github/site-policy/index.md +++ b/content/github/site-policy/index.md @@ -5,6 +5,9 @@ redirect_from: - /categories/site-policy versions: free-pro-team: '*' +topics: + - policy + - legal --- @@ -24,7 +27,7 @@ versions: {% link_in_list /guide-to-submitting-a-dmca-takedown-notice %} {% link_in_list /guide-to-submitting-a-dmca-counter-notice %} {% link_in_list /github-trademark-policy %} -{% link_in_list /github-sensitive-data-removal-policy %} +{% link_in_list /github-private-information-removal-policy %} {% link_in_list /github-subprocessors-and-cookies %} {% link_in_list /github-bug-bounty-program-legal-safe-harbor %} {% link_in_list /responsible-disclosure-of-security-vulnerabilities %} diff --git a/content/github/site-policy/responsible-disclosure-of-security-vulnerabilities.md b/content/github/site-policy/responsible-disclosure-of-security-vulnerabilities.md index 34dd98fa5d..35a5ae50cf 100644 --- a/content/github/site-policy/responsible-disclosure-of-security-vulnerabilities.md +++ b/content/github/site-policy/responsible-disclosure-of-security-vulnerabilities.md @@ -5,6 +5,9 @@ redirect_from: - /articles/responsible-disclosure-of-security-vulnerabilities versions: free-pro-team: '*' +topics: + - policy + - legal --- We want to keep GitHub safe for everyone. If you've discovered a security vulnerability in GitHub, we appreciate your help in disclosing it to us in a responsible manner. diff --git a/content/github/site-policy/submitting-content-removal-requests.md b/content/github/site-policy/submitting-content-removal-requests.md index ce08d27706..88c636f344 100644 --- a/content/github/site-policy/submitting-content-removal-requests.md +++ b/content/github/site-policy/submitting-content-removal-requests.md @@ -4,13 +4,16 @@ redirect_from: - /articles/submitting-content-removal-requests versions: free-pro-team: '*' +topics: + - policy + - legal --- -We understand that copyrighted, trademarked, or sensitive content may get published on GitHub – either accidentally or on purpose – sometimes in repositories that you do not own. Because the nature of this content varies, and because of different applicable laws, each category has its own, distinct reporting requirements outlined in our policies. +We understand that copyrighted, trademarked, or private content may get published on GitHub – either accidentally or on purpose – sometimes in repositories that you do not own. Because the nature of this content varies, and because of different applicable laws, each category has its own, distinct reporting requirements outlined in our policies. If you'd like to request that content be removed from GitHub, please take some time to acquaint yourself with each of these policies and their respective reporting requirements before submitting a report. If we receive an incomplete report, we'll need to ask for clarifications or revisions and you’ll need to re-submit a revised report. -Please note that we're not able to help you determine which policy is appropriate for your specific situation. If you’ve reviewed the policies below and still have questions about whether or not content should be reported as copyright, trademark, or sensitive data, we recommend consulting with independent legal counsel. +Please note that we're not able to help you determine which policy is appropriate for your specific situation. If you’ve reviewed the policies below and still have questions about whether or not content should be reported as copyright, trademark, or private information, we recommend consulting with independent legal counsel. ### [DMCA Takedown Policy](/articles/dmca-takedown-policy) The DMCA Takedown Policy can be used to report content that you believe infringes a copyright owned by you or your organization. Once you have reviewed the policy, you may also want to review our [Guide to Submitting a DMCA Takedown Notice](/articles/guide-to-submitting-a-dmca-takedown-notice/) before submitting a report. @@ -18,5 +21,5 @@ The DMCA Takedown Policy can be used to report content that you believe infringe ### [GitHub Trademark Policy](/articles/github-trademark-policy) The GitHub Trademark Policy can be used to report content that appears to use your company or business name, logo, or other trademark-protected materials in a manner that may mislead or confuse others about brand or business affiliation. -### [GitHub Sensitive Data Removal Policy](/articles/github-sensitive-data-removal-policy) -The GitHub Sensitive Data Removal Policy can be used to report data that is sensitive or confidential and poses a security risk, but that is not necessarily protected by copyright or trademark. +### [GitHub Private Information Removal Policy](/github/site-policy/github-private-information-removal-policy) +The GitHub Private Information Removal Policy can be used to report data that is private (confidential and poses a security risk), but that is not necessarily protected by copyright or trademark. diff --git a/content/github/supporting-the-open-source-community-with-github-sponsors/about-github-sponsors-for-open-source-contributors.md b/content/github/supporting-the-open-source-community-with-github-sponsors/about-github-sponsors-for-open-source-contributors.md index 003da8a970..567107b3e5 100644 --- a/content/github/supporting-the-open-source-community-with-github-sponsors/about-github-sponsors-for-open-source-contributors.md +++ b/content/github/supporting-the-open-source-community-with-github-sponsors/about-github-sponsors-for-open-source-contributors.md @@ -6,6 +6,8 @@ redirect_from: - /github/supporting-the-open-source-community-with-github-sponsors/about-github-sponsors-for-sponsored-developers versions: free-pro-team: '*' +topics: + - sponsors --- ### Joining {% data variables.product.prodname_sponsors %} diff --git a/content/github/supporting-the-open-source-community-with-github-sponsors/about-github-sponsors.md b/content/github/supporting-the-open-source-community-with-github-sponsors/about-github-sponsors.md index b3bb5af8c9..0169550a2d 100644 --- a/content/github/supporting-the-open-source-community-with-github-sponsors/about-github-sponsors.md +++ b/content/github/supporting-the-open-source-community-with-github-sponsors/about-github-sponsors.md @@ -5,6 +5,8 @@ redirect_from: - /articles/about-github-sponsors versions: free-pro-team: '*' +topics: + - sponsors --- ### About {% data variables.product.prodname_sponsors %} diff --git a/content/github/supporting-the-open-source-community-with-github-sponsors/attributing-sponsorships-to-your-organization.md b/content/github/supporting-the-open-source-community-with-github-sponsors/attributing-sponsorships-to-your-organization.md index 993701f37c..f85f61fdfc 100644 --- a/content/github/supporting-the-open-source-community-with-github-sponsors/attributing-sponsorships-to-your-organization.md +++ b/content/github/supporting-the-open-source-community-with-github-sponsors/attributing-sponsorships-to-your-organization.md @@ -1,9 +1,11 @@ --- title: Attributing sponsorships to your organization -intro: 'You can attribute the sponsorships paid by one of your organizations to another organization.' +intro: You can attribute the sponsorships paid by one of your organizations to another organization. versions: free-pro-team: '*' permissions: People who are organization owners of both organizations can attribute one organization's sponsorships to another organization. +topics: + - sponsors --- 1. Navigate to the organization whose sponsorships you want to attribute to another organization. @@ -14,4 +16,4 @@ permissions: People who are organization owners of both organizations can attrib 1. Under "Link sponsorships to another account", use the drop-down menu, then click the organization you want this organization's sponsorships to be attributed to. ![Drop-down menu to select account](/assets/images/help/sponsors/select-an-account-drop-down.png) 1. Click **Link account**. - !["Link account" button](/assets/images/help/sponsors/link-account-button.png) \ No newline at end of file + !["Link account" button](/assets/images/help/sponsors/link-account-button.png) diff --git a/content/github/supporting-the-open-source-community-with-github-sponsors/changing-your-sponsorship-tiers.md b/content/github/supporting-the-open-source-community-with-github-sponsors/changing-your-sponsorship-tiers.md index f9b176f55d..f6d6dc0bd7 100644 --- a/content/github/supporting-the-open-source-community-with-github-sponsors/changing-your-sponsorship-tiers.md +++ b/content/github/supporting-the-open-source-community-with-github-sponsors/changing-your-sponsorship-tiers.md @@ -5,6 +5,8 @@ redirect_from: - /articles/changing-your-sponsorship-tiers versions: free-pro-team: '*' +topics: + - sponsors --- ### About sponsorship tiers @@ -29,4 +31,4 @@ versions: {% data reusables.sponsors.edit-tier %} {% data reusables.sponsors.tier-price-description %} {% data reusables.sponsors.tier-update %} -{% data reusables.sponsors.retire-tier %} \ No newline at end of file +{% data reusables.sponsors.retire-tier %} diff --git a/content/github/supporting-the-open-source-community-with-github-sponsors/configuring-webhooks-for-events-in-your-sponsored-account.md b/content/github/supporting-the-open-source-community-with-github-sponsors/configuring-webhooks-for-events-in-your-sponsored-account.md index 0cae836a8f..861e9dd6de 100644 --- a/content/github/supporting-the-open-source-community-with-github-sponsors/configuring-webhooks-for-events-in-your-sponsored-account.md +++ b/content/github/supporting-the-open-source-community-with-github-sponsors/configuring-webhooks-for-events-in-your-sponsored-account.md @@ -3,6 +3,8 @@ title: Configuring webhooks for events in your sponsored account intro: You can configure webhooks to alert you when you receive new sponsorships or existing sponsors make changes to their sponsorships. versions: free-pro-team: '*' +topics: + - sponsors --- ### About webhooks for events in your sponsored account @@ -19,4 +21,4 @@ To monitor changes to your sponsorships, such as cancellations at the end of a p {% data reusables.sponsors.webhook-secret-token %} {% data reusables.sponsors.add-active-triggers %} {% data reusables.sponsors.confirm-add-webhook %} -{% data reusables.sponsors.manage-existing-webhooks %} \ No newline at end of file +{% data reusables.sponsors.manage-existing-webhooks %} diff --git a/content/github/supporting-the-open-source-community-with-github-sponsors/contacting-your-sponsors.md b/content/github/supporting-the-open-source-community-with-github-sponsors/contacting-your-sponsors.md index 640d965448..5b8efe069c 100644 --- a/content/github/supporting-the-open-source-community-with-github-sponsors/contacting-your-sponsors.md +++ b/content/github/supporting-the-open-source-community-with-github-sponsors/contacting-your-sponsors.md @@ -5,6 +5,8 @@ redirect_from: - /articles/contacting-your-sponsors versions: free-pro-team: '*' +topics: + - sponsors --- ### About sponsorship updates diff --git a/content/github/supporting-the-open-source-community-with-github-sponsors/editing-your-profile-details-for-github-sponsors.md b/content/github/supporting-the-open-source-community-with-github-sponsors/editing-your-profile-details-for-github-sponsors.md index 53004b7463..83b5544581 100644 --- a/content/github/supporting-the-open-source-community-with-github-sponsors/editing-your-profile-details-for-github-sponsors.md +++ b/content/github/supporting-the-open-source-community-with-github-sponsors/editing-your-profile-details-for-github-sponsors.md @@ -6,6 +6,8 @@ redirect_from: - /github/supporting-the-open-source-community-with-github-sponsors/editing-your-sponsored-developer-profile versions: free-pro-team: '*' +topics: + - sponsors --- ### About sponsor profiles @@ -23,4 +25,4 @@ Your {% data variables.product.prodname_sponsors %} profile tells potential spon {% data reusables.sponsors.add-introduction %} {% data reusables.sponsors.edit-featured-work %} {% data reusables.sponsors.opt-in-to-being-featured %} -{% data reusables.sponsors.save-profile %} \ No newline at end of file +{% data reusables.sponsors.save-profile %} diff --git a/content/github/supporting-the-open-source-community-with-github-sponsors/index.md b/content/github/supporting-the-open-source-community-with-github-sponsors/index.md index 48892ef8f2..6623eceb6b 100644 --- a/content/github/supporting-the-open-source-community-with-github-sponsors/index.md +++ b/content/github/supporting-the-open-source-community-with-github-sponsors/index.md @@ -6,6 +6,8 @@ redirect_from: - /categories/supporting-the-open-source-community-with-github-sponsors versions: free-pro-team: '*' +topics: + - sponsors --- diff --git a/content/github/supporting-the-open-source-community-with-github-sponsors/managing-your-payouts-from-github-sponsors.md b/content/github/supporting-the-open-source-community-with-github-sponsors/managing-your-payouts-from-github-sponsors.md index abfed9bd2c..caa1572855 100644 --- a/content/github/supporting-the-open-source-community-with-github-sponsors/managing-your-payouts-from-github-sponsors.md +++ b/content/github/supporting-the-open-source-community-with-github-sponsors/managing-your-payouts-from-github-sponsors.md @@ -5,6 +5,8 @@ redirect_from: - /articles/managing-your-payouts-from-github-sponsors versions: free-pro-team: '*' +topics: + - sponsors --- ### About payouts from {% data variables.product.prodname_sponsors %} @@ -17,4 +19,4 @@ You can only manage your payouts from {% data variables.product.prodname_sponsor {% data reusables.sponsors.navigate-to-sponsors-dashboard %} {% data reusables.sponsors.navigate-to-payouts-tab %} -{% data reusables.sponsors.edit-bank-information %} \ No newline at end of file +{% data reusables.sponsors.edit-bank-information %} diff --git a/content/github/supporting-the-open-source-community-with-github-sponsors/managing-your-sponsorship-goal.md b/content/github/supporting-the-open-source-community-with-github-sponsors/managing-your-sponsorship-goal.md index a4d3bdc206..1d9a6e18e3 100644 --- a/content/github/supporting-the-open-source-community-with-github-sponsors/managing-your-sponsorship-goal.md +++ b/content/github/supporting-the-open-source-community-with-github-sponsors/managing-your-sponsorship-goal.md @@ -3,6 +3,8 @@ title: Managing your sponsorship goal intro: You can set a goal for your sponsored developer or sponsored organization account to help the community understand the impact of sponsoring you. versions: free-pro-team: '*' +topics: + - sponsors --- ### About sponsorship goals diff --git a/content/github/supporting-the-open-source-community-with-github-sponsors/managing-your-sponsorship.md b/content/github/supporting-the-open-source-community-with-github-sponsors/managing-your-sponsorship.md index ad0e8d461d..2088f90c19 100644 --- a/content/github/supporting-the-open-source-community-with-github-sponsors/managing-your-sponsorship.md +++ b/content/github/supporting-the-open-source-community-with-github-sponsors/managing-your-sponsorship.md @@ -5,6 +5,8 @@ redirect_from: - /articles/managing-your-sponsorship versions: free-pro-team: '*' +topics: + - sponsors --- {% data reusables.sponsors.org-sponsors-release-phase %} @@ -32,4 +34,4 @@ You can choose whether an account you sponsor can send you email updates about t ### Further reading - "[Upgrading a sponsorship](/articles/upgrading-a-sponsorship)" -- "[Downgrading a sponsorship](/articles/downgrading-a-sponsorship)" \ No newline at end of file +- "[Downgrading a sponsorship](/articles/downgrading-a-sponsorship)" diff --git a/content/github/supporting-the-open-source-community-with-github-sponsors/overview.md b/content/github/supporting-the-open-source-community-with-github-sponsors/overview.md index f5271481a4..b068234cb2 100644 --- a/content/github/supporting-the-open-source-community-with-github-sponsors/overview.md +++ b/content/github/supporting-the-open-source-community-with-github-sponsors/overview.md @@ -4,5 +4,7 @@ intro: 'Learn about {% data variables.product.prodname_sponsors %} and how you c mapTopic: true versions: free-pro-team: '*' +topics: + - sponsors --- diff --git a/content/github/supporting-the-open-source-community-with-github-sponsors/receiving-sponsorships-through-github-sponsors.md b/content/github/supporting-the-open-source-community-with-github-sponsors/receiving-sponsorships-through-github-sponsors.md index 02aec92e58..fb2a1f92f9 100644 --- a/content/github/supporting-the-open-source-community-with-github-sponsors/receiving-sponsorships-through-github-sponsors.md +++ b/content/github/supporting-the-open-source-community-with-github-sponsors/receiving-sponsorships-through-github-sponsors.md @@ -8,5 +8,7 @@ redirect_from: - /github/supporting-the-open-source-community-with-github-sponsors/receiving-sponsorships-as-a-sponsored-developer versions: free-pro-team: '*' +topics: + - sponsors --- diff --git a/content/github/supporting-the-open-source-community-with-github-sponsors/setting-up-github-sponsors-for-your-organization.md b/content/github/supporting-the-open-source-community-with-github-sponsors/setting-up-github-sponsors-for-your-organization.md index 3d15b43662..5a7e674121 100644 --- a/content/github/supporting-the-open-source-community-with-github-sponsors/setting-up-github-sponsors-for-your-organization.md +++ b/content/github/supporting-the-open-source-community-with-github-sponsors/setting-up-github-sponsors-for-your-organization.md @@ -7,6 +7,8 @@ redirect_from: permissions: 'Organization owners can set up {% data variables.product.prodname_sponsors %} for an organization.' versions: free-pro-team: '*' +topics: + - sponsors --- ### Joining {% data variables.product.prodname_sponsors %} diff --git a/content/github/supporting-the-open-source-community-with-github-sponsors/setting-up-github-sponsors-for-your-user-account.md b/content/github/supporting-the-open-source-community-with-github-sponsors/setting-up-github-sponsors-for-your-user-account.md index 5b14699adc..6104ee4c03 100644 --- a/content/github/supporting-the-open-source-community-with-github-sponsors/setting-up-github-sponsors-for-your-user-account.md +++ b/content/github/supporting-the-open-source-community-with-github-sponsors/setting-up-github-sponsors-for-your-user-account.md @@ -6,6 +6,8 @@ redirect_from: - /github/supporting-the-open-source-community-with-github-sponsors/becoming-a-sponsored-developer versions: free-pro-team: '*' +topics: + - sponsors --- ### Joining {% data variables.product.prodname_sponsors %} diff --git a/content/github/supporting-the-open-source-community-with-github-sponsors/sponsoring-an-open-source-contributor.md b/content/github/supporting-the-open-source-community-with-github-sponsors/sponsoring-an-open-source-contributor.md index c51237a55c..c09ee905fb 100644 --- a/content/github/supporting-the-open-source-community-with-github-sponsors/sponsoring-an-open-source-contributor.md +++ b/content/github/supporting-the-open-source-community-with-github-sponsors/sponsoring-an-open-source-contributor.md @@ -8,6 +8,8 @@ redirect_from: versions: free-pro-team: '*' permissions: Anyone can sponsor accounts on behalf of their own user account. Organization owners and billing managers can sponsor accounts on behalf of their organization. +topics: + - sponsors --- {% data reusables.sponsors.org-sponsors-release-phase %} diff --git a/content/github/supporting-the-open-source-community-with-github-sponsors/sponsoring-open-source-contributors.md b/content/github/supporting-the-open-source-community-with-github-sponsors/sponsoring-open-source-contributors.md index dd52943a77..afbdabd06a 100644 --- a/content/github/supporting-the-open-source-community-with-github-sponsors/sponsoring-open-source-contributors.md +++ b/content/github/supporting-the-open-source-community-with-github-sponsors/sponsoring-open-source-contributors.md @@ -7,5 +7,7 @@ redirect_from: - /github/supporting-the-open-source-community-with-github-sponsors/sponsoring-open-source-developers versions: free-pro-team: '*' +topics: + - sponsors --- diff --git a/content/github/supporting-the-open-source-community-with-github-sponsors/tax-information-for-github-sponsors.md b/content/github/supporting-the-open-source-community-with-github-sponsors/tax-information-for-github-sponsors.md index 2f881fc29a..82ebe0fca0 100644 --- a/content/github/supporting-the-open-source-community-with-github-sponsors/tax-information-for-github-sponsors.md +++ b/content/github/supporting-the-open-source-community-with-github-sponsors/tax-information-for-github-sponsors.md @@ -6,6 +6,8 @@ redirect_from: - /github/supporting-the-open-source-community-with-github-sponsors/tax-information-for-sponsored-developers versions: free-pro-team: '*' +topics: + - sponsors --- If you are a taxpayer in the United States, you must submit a W-9 before you can receive payments. If you are a taxpayer in any other region besides the United States, you must submit a W-8BEN before you can receive payments. For more information, see "[Setting up {% data variables.product.prodname_sponsors %} for your user account](/github/supporting-the-open-source-community-with-github-sponsors/setting-up-github-sponsors-for-your-user-account#submitting-your-tax-information)" and "[Setting up {% data variables.product.prodname_sponsors %} for your organization](/github/supporting-the-open-source-community-with-github-sponsors/setting-up-github-sponsors-for-your-organization#submitting-your-tax-information)." {% data variables.product.prodname_dotcom %} will send you the appropriate forms, notify you when they are due, and give you a reasonable amount of time to complete and send in the forms. diff --git a/content/github/supporting-the-open-source-community-with-github-sponsors/viewing-your-sponsors-and-sponsorships.md b/content/github/supporting-the-open-source-community-with-github-sponsors/viewing-your-sponsors-and-sponsorships.md index 20cf721790..79bd24bdcc 100644 --- a/content/github/supporting-the-open-source-community-with-github-sponsors/viewing-your-sponsors-and-sponsorships.md +++ b/content/github/supporting-the-open-source-community-with-github-sponsors/viewing-your-sponsors-and-sponsorships.md @@ -5,6 +5,8 @@ redirect_from: - /articles/viewing-your-sponsors-and-sponsorships versions: free-pro-team: '*' +topics: + - sponsors --- ### About sponsors and sponsorships @@ -31,4 +33,4 @@ You can export your sponsorship transactions by month. {% data variables.product 1. Click {% octicon "download" aria-label="The download icon" %} **Export**. ![Export button](/assets/images/help/sponsors/export-all.png) 1. Choose a time frame and a format for the data you'd like to export, then click **Start export**. - ![Options for data export](/assets/images/help/sponsors/export-your-sponsors.png) \ No newline at end of file + ![Options for data export](/assets/images/help/sponsors/export-your-sponsors.png) diff --git a/content/github/understanding-how-github-uses-and-protects-your-data/about-githubs-use-of-your-data.md b/content/github/understanding-how-github-uses-and-protects-your-data/about-githubs-use-of-your-data.md index 6f402fa285..d8c5ccd8f1 100644 --- a/content/github/understanding-how-github-uses-and-protects-your-data/about-githubs-use-of-your-data.md +++ b/content/github/understanding-how-github-uses-and-protects-your-data/about-githubs-use-of-your-data.md @@ -6,6 +6,9 @@ redirect_from: intro: '{% data variables.product.product_name %} uses your repository''s data to connect you to relevant tools, people, projects, and information.' versions: free-pro-team: '*' +topics: + - policy + - legal --- ### About {% data variables.product.product_name %}'s use of your data diff --git a/content/github/understanding-how-github-uses-and-protects-your-data/managing-data-use-settings-for-your-private-repository.md b/content/github/understanding-how-github-uses-and-protects-your-data/managing-data-use-settings-for-your-private-repository.md index 91c7975d75..0c50b67417 100644 --- a/content/github/understanding-how-github-uses-and-protects-your-data/managing-data-use-settings-for-your-private-repository.md +++ b/content/github/understanding-how-github-uses-and-protects-your-data/managing-data-use-settings-for-your-private-repository.md @@ -6,6 +6,9 @@ redirect_from: - /github/understanding-how-github-uses-and-protects-your-data/opting-into-or-out-of-data-use-for-your-private-repository versions: free-pro-team: '*' +topics: + - policy + - legal --- ### About data use for your private repository diff --git a/content/github/understanding-how-github-uses-and-protects-your-data/opting-into-or-out-of-the-github-archive-program-for-your-public-repository.md b/content/github/understanding-how-github-uses-and-protects-your-data/opting-into-or-out-of-the-github-archive-program-for-your-public-repository.md index 33b5ccc121..15b3026ba4 100644 --- a/content/github/understanding-how-github-uses-and-protects-your-data/opting-into-or-out-of-the-github-archive-program-for-your-public-repository.md +++ b/content/github/understanding-how-github-uses-and-protects-your-data/opting-into-or-out-of-the-github-archive-program-for-your-public-repository.md @@ -4,6 +4,9 @@ intro: 'You can manage whether {% data variables.product.prodname_dotcom %} incl permissions: 'People with admin permissions to a public repository can opt into or out of the {% data variables.product.prodname_archive %}.' versions: free-pro-team: '*' +topics: + - policy + - legal --- {% data reusables.repositories.about-github-archive-program %} For more information, see "[About archiving content and data on {% data variables.product.prodname_dotcom %}](/github/creating-cloning-and-archiving-repositories/about-archiving-content-and-data-on-github#about-the-github-archive-program)." diff --git a/content/github/understanding-how-github-uses-and-protects-your-data/requesting-an-archive-of-your-personal-accounts-data.md b/content/github/understanding-how-github-uses-and-protects-your-data/requesting-an-archive-of-your-personal-accounts-data.md index a04e115614..cbbff257f7 100644 --- a/content/github/understanding-how-github-uses-and-protects-your-data/requesting-an-archive-of-your-personal-accounts-data.md +++ b/content/github/understanding-how-github-uses-and-protects-your-data/requesting-an-archive-of-your-personal-accounts-data.md @@ -6,6 +6,9 @@ redirect_from: intro: '{% data reusables.user_settings.export-data %}' versions: free-pro-team: '*' +topics: + - policy + - legal --- {% data variables.product.product_name %} stores repository and profile metadata from your personal account's activity. You can export your personal account's data through settings on {% data variables.product.prodname_dotcom_the_website %} or with the User Migration API. diff --git a/content/github/visualizing-repository-data-with-graphs/about-repository-graphs.md b/content/github/visualizing-repository-data-with-graphs/about-repository-graphs.md index 10a714d35b..d4ccc71ae2 100644 --- a/content/github/visualizing-repository-data-with-graphs/about-repository-graphs.md +++ b/content/github/visualizing-repository-data-with-graphs/about-repository-graphs.md @@ -8,6 +8,8 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - repositories --- A repository's graphs give you information on {% if currentVersion == "free-pro-team@latest" %} traffic, projects that depend on the repository,{% endif %} contributors and commits to the repository, and a repository's forks and network. If you maintain a repository, you can use this data to get a better understanding of who's using your repository and why they're using it. diff --git a/content/github/visualizing-repository-data-with-graphs/about-the-dependency-graph.md b/content/github/visualizing-repository-data-with-graphs/about-the-dependency-graph.md index d54a979aa0..8715b60c43 100644 --- a/content/github/visualizing-repository-data-with-graphs/about-the-dependency-graph.md +++ b/content/github/visualizing-repository-data-with-graphs/about-the-dependency-graph.md @@ -2,8 +2,9 @@ title: About the dependency graph intro: 'Detailed information about the dependency graph, the ecosystems it supports, and how it determines which packages a repository depends on.' versions: - free-pro-team: '*' - enterprise-server: '*' + enterprise-server: '<=2.22' +topics: + - repositories --- ### Dependency graph availability @@ -64,6 +65,9 @@ When the dependency graph is first enabled, any manifest and lock files for supp The recommended formats explicitly define which versions are used for all direct and all indirect dependencies. If you use these formats, your dependency graph is more accurate. It also reflects the current build set up and enables the dependency graph to report vulnerabilities in both direct and indirect dependencies.{% if currentVersion == "free-pro-team@latest" %} Indirect dependencies that are inferred from a manifest file (or equivalent) are excluded from the checks for vulnerable dependencies.{% endif %} +{% if currentVersion == "free-pro-team@latest" %}The ecosystems listed below are supported for the dependency graph, {% data variables.product.prodname_dependabot_alerts %}, and {% data variables.product.prodname_dependabot_security_updates %}.{% endif %} +{% if currentVersion ver_gt "enterprise-server@2.21" %}The ecosystems listed below are supported for the dependency graph and {% data variables.product.prodname_dependabot_alerts %}.{% endif %} + | Package manager | Languages | Recommended formats | All supported formats | | --- | --- | --- | ---| | Composer | PHP | `composer.lock` | `composer.json`, `composer.lock` | diff --git a/content/github/visualizing-repository-data-with-graphs/accessing-basic-repository-data.md b/content/github/visualizing-repository-data-with-graphs/accessing-basic-repository-data.md index bf325418e0..b5f1e57168 100644 --- a/content/github/visualizing-repository-data-with-graphs/accessing-basic-repository-data.md +++ b/content/github/visualizing-repository-data-with-graphs/accessing-basic-repository-data.md @@ -8,5 +8,7 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - repositories --- diff --git a/content/github/visualizing-repository-data-with-graphs/analyzing-changes-to-a-repositorys-content.md b/content/github/visualizing-repository-data-with-graphs/analyzing-changes-to-a-repositorys-content.md index 1bcc381a77..46548cb73a 100644 --- a/content/github/visualizing-repository-data-with-graphs/analyzing-changes-to-a-repositorys-content.md +++ b/content/github/visualizing-repository-data-with-graphs/analyzing-changes-to-a-repositorys-content.md @@ -10,5 +10,7 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - repositories --- diff --git a/content/github/visualizing-repository-data-with-graphs/exploring-the-dependencies-of-a-repository.md b/content/github/visualizing-repository-data-with-graphs/exploring-the-dependencies-of-a-repository.md index c78fdbcd3f..56d82c7dea 100644 --- a/content/github/visualizing-repository-data-with-graphs/exploring-the-dependencies-of-a-repository.md +++ b/content/github/visualizing-repository-data-with-graphs/exploring-the-dependencies-of-a-repository.md @@ -1,15 +1,10 @@ --- title: Exploring the dependencies of a repository intro: 'Using the dependency graph, you can see the packages your project depends on{% if currentVersion == "free-pro-team@latest" %} and the repositories that depend on it{% endif %}. In addition, you can see any vulnerabilities detected in its dependencies.' -redirect_from: - - /articles/listing-the-packages-that-a-repository-depends-on - - /github/visualizing-repository-data-with-graphs/listing-the-packages-that-a-repository-depends-on - - /articles/listing-the-projects-that-depend-on-a-repository - - /github/visualizing-repository-data-with-graphs/listing-the-projects-that-depend-on-a-repository - - /github/visualizing-repository-data-with-graphs/exploring-the-dependencies-and-dependents-of-a-repository versions: - free-pro-team: '*' - enterprise-server: '*' + enterprise-server: '<=2.22' +topics: + - repositories --- ### Viewing the dependency graph diff --git a/content/github/visualizing-repository-data-with-graphs/index.md b/content/github/visualizing-repository-data-with-graphs/index.md index bbe4472b6b..f3c9243563 100644 --- a/content/github/visualizing-repository-data-with-graphs/index.md +++ b/content/github/visualizing-repository-data-with-graphs/index.md @@ -9,6 +9,8 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - repositories --- @@ -25,5 +27,6 @@ versions: {% topic_link_in_list /understanding-connections-between-repositories %} {% link_in_list /viewing-a-repositorys-network %} {% link_in_list /listing-the-forks-of-a-repository %} - {% link_in_list /about-the-dependency-graph %} - {% link_in_list /exploring-the-dependencies-of-a-repository %} + {% if currentVersion == "free-pro-team@latest" or currentVersion ver_gt "enterprise-server@2.22" %}{% link_in_list /viewing-the-dependencies-of-a-repository %}{% endif %} + {% if currentVersion ver_lt "enterprise-server@3.0" %}{% link_in_list /about-the-dependency-graph %} + {% link_in_list /exploring-the-dependencies-of-a-repository %}{% endif %} diff --git a/content/github/visualizing-repository-data-with-graphs/listing-the-forks-of-a-repository.md b/content/github/visualizing-repository-data-with-graphs/listing-the-forks-of-a-repository.md index efe4b1170c..0a0cc5f54e 100644 --- a/content/github/visualizing-repository-data-with-graphs/listing-the-forks-of-a-repository.md +++ b/content/github/visualizing-repository-data-with-graphs/listing-the-forks-of-a-repository.md @@ -7,6 +7,8 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - repositories --- Forks are listed alphabetically by the username of the person who forked the repository. You can click on the username to be redirected to the user's {% data variables.product.product_name %} profile page or click on the fork name to be redirected to the specific fork of the repository. diff --git a/content/github/visualizing-repository-data-with-graphs/understanding-connections-between-repositories.md b/content/github/visualizing-repository-data-with-graphs/understanding-connections-between-repositories.md index 3159e6eab6..4ebccd26f2 100644 --- a/content/github/visualizing-repository-data-with-graphs/understanding-connections-between-repositories.md +++ b/content/github/visualizing-repository-data-with-graphs/understanding-connections-between-repositories.md @@ -8,5 +8,7 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - repositories --- diff --git a/content/github/visualizing-repository-data-with-graphs/viewing-a-projects-contributors.md b/content/github/visualizing-repository-data-with-graphs/viewing-a-projects-contributors.md index 2b091f4867..62b061ec2a 100644 --- a/content/github/visualizing-repository-data-with-graphs/viewing-a-projects-contributors.md +++ b/content/github/visualizing-repository-data-with-graphs/viewing-a-projects-contributors.md @@ -10,6 +10,8 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - repositories --- ### About contributors diff --git a/content/github/visualizing-repository-data-with-graphs/viewing-a-repositorys-network.md b/content/github/visualizing-repository-data-with-graphs/viewing-a-repositorys-network.md index 9227b4a81d..12a6d53185 100644 --- a/content/github/visualizing-repository-data-with-graphs/viewing-a-repositorys-network.md +++ b/content/github/visualizing-repository-data-with-graphs/viewing-a-repositorys-network.md @@ -9,6 +9,8 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - repositories --- ![Repository network graph](/assets/images/help/graphs/repo_network_graph.png) diff --git a/content/github/visualizing-repository-data-with-graphs/viewing-a-summary-of-repository-activity.md b/content/github/visualizing-repository-data-with-graphs/viewing-a-summary-of-repository-activity.md index e9bfbbaf20..a5e0b26677 100644 --- a/content/github/visualizing-repository-data-with-graphs/viewing-a-summary-of-repository-activity.md +++ b/content/github/visualizing-repository-data-with-graphs/viewing-a-summary-of-repository-activity.md @@ -8,6 +8,8 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - repositories --- Commit co-authors are included in the commit activity summary if their commits were merged into the repository's default branch and they're in the top 15 users who have contributed the most commits. diff --git a/content/github/visualizing-repository-data-with-graphs/viewing-the-dependencies-of-a-repository.md b/content/github/visualizing-repository-data-with-graphs/viewing-the-dependencies-of-a-repository.md new file mode 100644 index 0000000000..6fa6663351 --- /dev/null +++ b/content/github/visualizing-repository-data-with-graphs/viewing-the-dependencies-of-a-repository.md @@ -0,0 +1,13 @@ +--- +title: Viewing the dependencies of a repository +intro: 'You can use the dependency graph to explore the code your repository depends on.' +versions: + free-pro-team: '*' + enterprise-server: '>=3.0' +--- + +Almost all software relies on code developed and maintained by other developers, often known as a supply chain. For example, utilities, libraries, and frameworks. These dependencies are an integral part of your code and any bugs or vulnerabilities in them may affect your code. It's important to review and maintain these dependencies. + +The dependency graph provides a great way to visualize and explore the dependencies for a repository. For more information, see "[About the dependency graph](/code-security/supply-chain-security/about-the-dependency-graph)" and "[Exploring the dependencies of a repository](/code-security/supply-chain-security/exploring-the-dependencies-of-a-repository)." + +You can also set up your repository so that {% data variables.product.company_short %} alerts you automatically whenever a security vulnerability is found in one of your dependencies. For more information, see "[About alerts for vulnerable dependencies](/github/managing-security-vulnerabilities/about-alerts-for-vulnerable-dependencies)." diff --git a/content/github/visualizing-repository-data-with-graphs/viewing-traffic-to-a-repository.md b/content/github/visualizing-repository-data-with-graphs/viewing-traffic-to-a-repository.md index 5597ba9682..022031753d 100644 --- a/content/github/visualizing-repository-data-with-graphs/viewing-traffic-to-a-repository.md +++ b/content/github/visualizing-repository-data-with-graphs/viewing-traffic-to-a-repository.md @@ -6,6 +6,8 @@ redirect_from: - /articles/viewing-traffic-to-a-repository versions: free-pro-team: '*' +topics: + - repositories --- You can navigate to referring sites, excluding search engines and {% data variables.product.product_name %} itself, from the links the specific paths were referred from. The popular content links to the specific content that generated traffic. diff --git a/content/github/visualizing-repository-data-with-graphs/visualizing-additions-and-deletions-to-content-in-a-repository.md b/content/github/visualizing-repository-data-with-graphs/visualizing-additions-and-deletions-to-content-in-a-repository.md index 547d43123b..36db23194d 100644 --- a/content/github/visualizing-repository-data-with-graphs/visualizing-additions-and-deletions-to-content-in-a-repository.md +++ b/content/github/visualizing-repository-data-with-graphs/visualizing-additions-and-deletions-to-content-in-a-repository.md @@ -8,6 +8,8 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - repositories --- {% if currentVersion == "free-pro-team@latest" %} diff --git a/content/github/visualizing-repository-data-with-graphs/visualizing-commits-in-a-repository.md b/content/github/visualizing-repository-data-with-graphs/visualizing-commits-in-a-repository.md index 512af56ba8..1085f95882 100644 --- a/content/github/visualizing-repository-data-with-graphs/visualizing-commits-in-a-repository.md +++ b/content/github/visualizing-repository-data-with-graphs/visualizing-commits-in-a-repository.md @@ -8,6 +8,8 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - repositories --- The top graph shows commits for the entire year by week. diff --git a/content/github/working-with-github-pages/about-custom-domains-and-github-pages.md b/content/github/working-with-github-pages/about-custom-domains-and-github-pages.md index 6e91515f92..e4df3a2b7f 100644 --- a/content/github/working-with-github-pages/about-custom-domains-and-github-pages.md +++ b/content/github/working-with-github-pages/about-custom-domains-and-github-pages.md @@ -9,6 +9,8 @@ redirect_from: product: '{% data reusables.gated-features.pages %}' versions: free-pro-team: '*' +topics: + - pages --- ### Supported custom domains diff --git a/content/github/working-with-github-pages/about-github-pages-and-jekyll.md b/content/github/working-with-github-pages/about-github-pages-and-jekyll.md index f846f7c244..29cb2ecc6a 100644 --- a/content/github/working-with-github-pages/about-github-pages-and-jekyll.md +++ b/content/github/working-with-github-pages/about-github-pages-and-jekyll.md @@ -22,6 +22,8 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - pages --- ### About Jekyll diff --git a/content/github/working-with-github-pages/about-github-pages.md b/content/github/working-with-github-pages/about-github-pages.md index 71923497cc..fc1ad704c5 100644 --- a/content/github/working-with-github-pages/about-github-pages.md +++ b/content/github/working-with-github-pages/about-github-pages.md @@ -14,6 +14,8 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - pages --- ### About {% data variables.product.prodname_pages %} diff --git a/content/github/working-with-github-pages/about-jekyll-build-errors-for-github-pages-sites.md b/content/github/working-with-github-pages/about-jekyll-build-errors-for-github-pages-sites.md index d472ee4b10..aaac77ac7d 100644 --- a/content/github/working-with-github-pages/about-jekyll-build-errors-for-github-pages-sites.md +++ b/content/github/working-with-github-pages/about-jekyll-build-errors-for-github-pages-sites.md @@ -10,6 +10,8 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - pages --- ### About Jekyll build errors diff --git a/content/github/working-with-github-pages/adding-a-theme-to-your-github-pages-site-using-jekyll.md b/content/github/working-with-github-pages/adding-a-theme-to-your-github-pages-site-using-jekyll.md index 8d27177055..99062c6ee8 100644 --- a/content/github/working-with-github-pages/adding-a-theme-to-your-github-pages-site-using-jekyll.md +++ b/content/github/working-with-github-pages/adding-a-theme-to-your-github-pages-site-using-jekyll.md @@ -10,6 +10,8 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - pages --- People with write permissions for a repository can add a theme to a {% data variables.product.prodname_pages %} site using Jekyll. diff --git a/content/github/working-with-github-pages/adding-a-theme-to-your-github-pages-site-with-the-theme-chooser.md b/content/github/working-with-github-pages/adding-a-theme-to-your-github-pages-site-with-the-theme-chooser.md index 54505770e5..c7ffa5b088 100644 --- a/content/github/working-with-github-pages/adding-a-theme-to-your-github-pages-site-with-the-theme-chooser.md +++ b/content/github/working-with-github-pages/adding-a-theme-to-your-github-pages-site-with-the-theme-chooser.md @@ -8,6 +8,8 @@ redirect_from: product: '{% data reusables.gated-features.pages %}' versions: free-pro-team: '*' +topics: + - pages --- People with admin permissions for a repository can use the theme chooser to add a theme to a {% data variables.product.prodname_pages %} site. diff --git a/content/github/working-with-github-pages/adding-content-to-your-github-pages-site-using-jekyll.md b/content/github/working-with-github-pages/adding-content-to-your-github-pages-site-using-jekyll.md index 26e7f87d19..bf7966fab7 100644 --- a/content/github/working-with-github-pages/adding-content-to-your-github-pages-site-using-jekyll.md +++ b/content/github/working-with-github-pages/adding-content-to-your-github-pages-site-using-jekyll.md @@ -8,6 +8,8 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - pages --- People with write permissions for a repository can add content to a {% data variables.product.prodname_pages %} site using Jekyll. diff --git a/content/github/working-with-github-pages/configuring-a-custom-domain-for-your-github-pages-site.md b/content/github/working-with-github-pages/configuring-a-custom-domain-for-your-github-pages-site.md index b61565f5a4..59a714c5d8 100644 --- a/content/github/working-with-github-pages/configuring-a-custom-domain-for-your-github-pages-site.md +++ b/content/github/working-with-github-pages/configuring-a-custom-domain-for-your-github-pages-site.md @@ -14,5 +14,7 @@ product: '{% data reusables.gated-features.pages %}' mapTopic: true versions: free-pro-team: '*' +topics: + - pages --- diff --git a/content/github/working-with-github-pages/configuring-a-publishing-source-for-your-github-pages-site.md b/content/github/working-with-github-pages/configuring-a-publishing-source-for-your-github-pages-site.md index 03b0b70f08..34fa16eaba 100644 --- a/content/github/working-with-github-pages/configuring-a-publishing-source-for-your-github-pages-site.md +++ b/content/github/working-with-github-pages/configuring-a-publishing-source-for-your-github-pages-site.md @@ -10,6 +10,8 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - pages --- For more information about publishing sources, see "[About {% data variables.product.prodname_pages %}](/articles/about-github-pages#publishing-sources-for-github-pages-sites)." diff --git a/content/github/working-with-github-pages/creating-a-custom-404-page-for-your-github-pages-site.md b/content/github/working-with-github-pages/creating-a-custom-404-page-for-your-github-pages-site.md index e64b467d98..b4d87e69b1 100644 --- a/content/github/working-with-github-pages/creating-a-custom-404-page-for-your-github-pages-site.md +++ b/content/github/working-with-github-pages/creating-a-custom-404-page-for-your-github-pages-site.md @@ -9,6 +9,8 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - pages --- {% data reusables.pages.navigate-site-repo %} diff --git a/content/github/working-with-github-pages/creating-a-github-pages-site-with-jekyll.md b/content/github/working-with-github-pages/creating-a-github-pages-site-with-jekyll.md index a6857aa6ed..bf7f5f5cb1 100644 --- a/content/github/working-with-github-pages/creating-a-github-pages-site-with-jekyll.md +++ b/content/github/working-with-github-pages/creating-a-github-pages-site-with-jekyll.md @@ -9,6 +9,8 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - pages --- {% data reusables.pages.org-owners-can-restrict-pages-creation %} diff --git a/content/github/working-with-github-pages/creating-a-github-pages-site.md b/content/github/working-with-github-pages/creating-a-github-pages-site.md index d8d0f6a57d..07106d9952 100644 --- a/content/github/working-with-github-pages/creating-a-github-pages-site.md +++ b/content/github/working-with-github-pages/creating-a-github-pages-site.md @@ -12,6 +12,8 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - pages --- {% data reusables.pages.org-owners-can-restrict-pages-creation %} diff --git a/content/github/working-with-github-pages/getting-started-with-github-pages.md b/content/github/working-with-github-pages/getting-started-with-github-pages.md index 2c570f5de4..12d5e61d51 100644 --- a/content/github/working-with-github-pages/getting-started-with-github-pages.md +++ b/content/github/working-with-github-pages/getting-started-with-github-pages.md @@ -11,5 +11,7 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - pages --- diff --git a/content/github/working-with-github-pages/index.md b/content/github/working-with-github-pages/index.md index 23e60f9646..3580a1e6b2 100644 --- a/content/github/working-with-github-pages/index.md +++ b/content/github/working-with-github-pages/index.md @@ -15,6 +15,8 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - pages --- diff --git a/content/github/working-with-github-pages/managing-a-custom-domain-for-your-github-pages-site.md b/content/github/working-with-github-pages/managing-a-custom-domain-for-your-github-pages-site.md index 52661f89b4..da288d5eab 100644 --- a/content/github/working-with-github-pages/managing-a-custom-domain-for-your-github-pages-site.md +++ b/content/github/working-with-github-pages/managing-a-custom-domain-for-your-github-pages-site.md @@ -13,6 +13,8 @@ redirect_from: product: '{% data reusables.gated-features.pages %}' versions: free-pro-team: '*' +topics: + - pages --- People with admin permissions for a repository can configure a custom domain for a {% data variables.product.prodname_pages %} site. diff --git a/content/github/working-with-github-pages/securing-your-github-pages-site-with-https.md b/content/github/working-with-github-pages/securing-your-github-pages-site-with-https.md index 5b4d1ccac3..8fde3a5ee5 100644 --- a/content/github/working-with-github-pages/securing-your-github-pages-site-with-https.md +++ b/content/github/working-with-github-pages/securing-your-github-pages-site-with-https.md @@ -6,6 +6,8 @@ redirect_from: - /articles/securing-your-github-pages-site-with-https versions: free-pro-team: '*' +topics: + - pages --- People with admin permissions for a repository can enforce HTTPS for a {% data variables.product.prodname_pages %} site. diff --git a/content/github/working-with-github-pages/setting-a-markdown-processor-for-your-github-pages-site-using-jekyll.md b/content/github/working-with-github-pages/setting-a-markdown-processor-for-your-github-pages-site-using-jekyll.md index 93c5e1e0d6..aec7dde42f 100644 --- a/content/github/working-with-github-pages/setting-a-markdown-processor-for-your-github-pages-site-using-jekyll.md +++ b/content/github/working-with-github-pages/setting-a-markdown-processor-for-your-github-pages-site-using-jekyll.md @@ -10,6 +10,8 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - pages --- People with write permissions for a repository can set the Markdown processor for a {% data variables.product.prodname_pages %} site. diff --git a/content/github/working-with-github-pages/setting-up-a-github-pages-site-with-jekyll.md b/content/github/working-with-github-pages/setting-up-a-github-pages-site-with-jekyll.md index b1ec8358fd..6f204fdb8a 100644 --- a/content/github/working-with-github-pages/setting-up-a-github-pages-site-with-jekyll.md +++ b/content/github/working-with-github-pages/setting-up-a-github-pages-site-with-jekyll.md @@ -11,5 +11,7 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - pages --- diff --git a/content/github/working-with-github-pages/testing-your-github-pages-site-locally-with-jekyll.md b/content/github/working-with-github-pages/testing-your-github-pages-site-locally-with-jekyll.md index 283cb86b68..d24b5f19f7 100644 --- a/content/github/working-with-github-pages/testing-your-github-pages-site-locally-with-jekyll.md +++ b/content/github/working-with-github-pages/testing-your-github-pages-site-locally-with-jekyll.md @@ -10,6 +10,8 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - pages --- Anyone with read permissions for a repository can test a {% data variables.product.prodname_pages %} site locally. diff --git a/content/github/working-with-github-pages/troubleshooting-custom-domains-and-github-pages.md b/content/github/working-with-github-pages/troubleshooting-custom-domains-and-github-pages.md index 132048eabb..1c6c9279c0 100644 --- a/content/github/working-with-github-pages/troubleshooting-custom-domains-and-github-pages.md +++ b/content/github/working-with-github-pages/troubleshooting-custom-domains-and-github-pages.md @@ -9,6 +9,8 @@ redirect_from: product: '{% data reusables.gated-features.pages %}' versions: free-pro-team: '*' +topics: + - pages --- ### _CNAME_ errors diff --git a/content/github/working-with-github-pages/troubleshooting-jekyll-build-errors-for-github-pages-sites.md b/content/github/working-with-github-pages/troubleshooting-jekyll-build-errors-for-github-pages-sites.md index 22f7e9a648..9d5eb1717f 100644 --- a/content/github/working-with-github-pages/troubleshooting-jekyll-build-errors-for-github-pages-sites.md +++ b/content/github/working-with-github-pages/troubleshooting-jekyll-build-errors-for-github-pages-sites.md @@ -29,6 +29,8 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - pages --- ### Troubleshooting build errors diff --git a/content/github/working-with-github-pages/unpublishing-a-github-pages-site.md b/content/github/working-with-github-pages/unpublishing-a-github-pages-site.md index 7fbd610e00..912cc52b6f 100644 --- a/content/github/working-with-github-pages/unpublishing-a-github-pages-site.md +++ b/content/github/working-with-github-pages/unpublishing-a-github-pages-site.md @@ -13,6 +13,8 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - pages --- ### Unpublishing a project site diff --git a/content/github/working-with-github-pages/using-submodules-with-github-pages.md b/content/github/working-with-github-pages/using-submodules-with-github-pages.md index f3dd9add82..a68562a1ce 100644 --- a/content/github/working-with-github-pages/using-submodules-with-github-pages.md +++ b/content/github/working-with-github-pages/using-submodules-with-github-pages.md @@ -7,6 +7,8 @@ redirect_from: product: '{% data reusables.gated-features.pages %}' versions: free-pro-team: '*' +topics: + - pages --- If the repository for your {% data variables.product.prodname_pages %} site contains submodules, their contents will automatically be pulled in when your site is built. diff --git a/content/github/working-with-github-support/about-github-premium-support-for-github-enterprise-cloud.md b/content/github/working-with-github-support/about-github-premium-support-for-github-enterprise-cloud.md index 37248a0158..82c8aa865b 100644 --- a/content/github/working-with-github-support/about-github-premium-support-for-github-enterprise-cloud.md +++ b/content/github/working-with-github-support/about-github-premium-support-for-github-enterprise-cloud.md @@ -6,6 +6,8 @@ redirect_from: - /articles/about-github-premium-support-for-github-enterprise-cloud versions: free-pro-team: '*' +topics: + - jobs --- {% note %} diff --git a/content/github/working-with-github-support/about-github-support.md b/content/github/working-with-github-support/about-github-support.md index d99fa74258..88a7af7ff5 100644 --- a/content/github/working-with-github-support/about-github-support.md +++ b/content/github/working-with-github-support/about-github-support.md @@ -5,6 +5,8 @@ redirect_from: - /articles/about-github-support versions: free-pro-team: '*' +topics: + - jobs --- ### About {% data variables.contact.github_support %} diff --git a/content/github/working-with-github-support/github-enterprise-cloud-support.md b/content/github/working-with-github-support/github-enterprise-cloud-support.md index 2fbdf674e3..412a41aeca 100644 --- a/content/github/working-with-github-support/github-enterprise-cloud-support.md +++ b/content/github/working-with-github-support/github-enterprise-cloud-support.md @@ -7,6 +7,8 @@ redirect_from: intro: '{% data variables.product.prodname_ghe_cloud %} includes a target eight-hour response time for priority support requests, Monday to Friday in your local time zone.' versions: free-pro-team: '*' +topics: + - jobs --- {% note %} diff --git a/content/github/working-with-github-support/github-marketplace-support.md b/content/github/working-with-github-support/github-marketplace-support.md index cfa20c4dc6..b548f03fcc 100644 --- a/content/github/working-with-github-support/github-marketplace-support.md +++ b/content/github/working-with-github-support/github-marketplace-support.md @@ -5,6 +5,8 @@ redirect_from: - /articles/github-marketplace-support versions: free-pro-team: '*' +topics: + - jobs --- diff --git a/content/github/working-with-github-support/index.md b/content/github/working-with-github-support/index.md index 1ea83fac6b..5e266237af 100644 --- a/content/github/working-with-github-support/index.md +++ b/content/github/working-with-github-support/index.md @@ -5,6 +5,8 @@ redirect_from: - /forum versions: free-pro-team: '*' +topics: + - jobs --- diff --git a/content/github/working-with-github-support/submitting-a-ticket.md b/content/github/working-with-github-support/submitting-a-ticket.md index f3fa8d8493..616b7929fd 100644 --- a/content/github/working-with-github-support/submitting-a-ticket.md +++ b/content/github/working-with-github-support/submitting-a-ticket.md @@ -5,6 +5,8 @@ redirect_from: - /articles/submitting-a-ticket versions: free-pro-team: '*' +topics: + - jobs --- If your account uses a paid {% data variables.product.prodname_dotcom %} product, you can directly contact {% data variables.contact.github_support %}. If your account uses {% data variables.product.prodname_free_user %} for user accounts and organizations, you can contact {% data variables.contact.contact_support %} to report account, security, and abuse issues. For more information, see "[About GitHub Support](/github/working-with-github-support/about-github-support)." diff --git a/content/graphql/guides/forming-calls-with-graphql.md b/content/graphql/guides/forming-calls-with-graphql.md index 6824e71293..aebd9103f9 100644 --- a/content/graphql/guides/forming-calls-with-graphql.md +++ b/content/graphql/guides/forming-calls-with-graphql.md @@ -8,6 +8,8 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - api --- ### Authenticating with GraphQL diff --git a/content/graphql/guides/index.md b/content/graphql/guides/index.md index 35387642ba..ca2df6f367 100644 --- a/content/graphql/guides/index.md +++ b/content/graphql/guides/index.md @@ -7,6 +7,8 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - api --- {% link_in_list /introduction-to-graphql %} diff --git a/content/graphql/guides/introduction-to-graphql.md b/content/graphql/guides/introduction-to-graphql.md index 542305f7ca..7c4720043c 100644 --- a/content/graphql/guides/introduction-to-graphql.md +++ b/content/graphql/guides/introduction-to-graphql.md @@ -8,6 +8,8 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - api --- ### GraphQL terminology diff --git a/content/graphql/guides/managing-enterprise-accounts.md b/content/graphql/guides/managing-enterprise-accounts.md index f77eb30265..acb2035bf1 100644 --- a/content/graphql/guides/managing-enterprise-accounts.md +++ b/content/graphql/guides/managing-enterprise-accounts.md @@ -7,6 +7,8 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - api --- ### About managing enterprise accounts with GraphQL @@ -66,7 +68,7 @@ For some example queries, see "[An example query using the Enterprise Accounts A We recommend you use GraphiQL or another standalone GraphQL client that lets you configure the base URL. You may also consider using these GraphQL clients: - - [Insomnia](https://insomnia.rest/graphql/) + - [Insomnia](https://support.insomnia.rest/article/176-graphql-queries) - [GraphiQL](https://www.gatsbyjs.org/docs/running-queries-with-graphiql/) - [Postman](https://learning.getpostman.com/docs/postman/sending_api_requests/graphql/) diff --git a/content/graphql/guides/migrating-from-rest-to-graphql.md b/content/graphql/guides/migrating-from-rest-to-graphql.md index 27493df1c5..f51a5ec5e3 100644 --- a/content/graphql/guides/migrating-from-rest-to-graphql.md +++ b/content/graphql/guides/migrating-from-rest-to-graphql.md @@ -8,6 +8,8 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - api --- ### Differences in API logic diff --git a/content/graphql/guides/using-global-node-ids.md b/content/graphql/guides/using-global-node-ids.md index 0fb33e4920..80ef4ebd38 100644 --- a/content/graphql/guides/using-global-node-ids.md +++ b/content/graphql/guides/using-global-node-ids.md @@ -7,6 +7,8 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - api --- You can access most objects in GitHub (users, issues, pull requests, etc.) using either the REST API or the GraphQL API. With a [recent update](https://developer.github.com/changes/2017-12-19-graphql-node-id/), you can find the **global node ID** of many objects from within the REST API and use these IDs in your GraphQL operations. diff --git a/content/graphql/guides/using-the-explorer.md b/content/graphql/guides/using-the-explorer.md index b0ebb7c5bc..705a2c3416 100644 --- a/content/graphql/guides/using-the-explorer.md +++ b/content/graphql/guides/using-the-explorer.md @@ -7,6 +7,8 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - api --- ## About the GraphQL Explorer diff --git a/content/graphql/overview/about-the-graphql-api.md b/content/graphql/overview/about-the-graphql-api.md index 0c7b36f81b..cb5eab5f5b 100644 --- a/content/graphql/overview/about-the-graphql-api.md +++ b/content/graphql/overview/about-the-graphql-api.md @@ -5,6 +5,8 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - api --- ### Overview diff --git a/content/graphql/overview/breaking-changes.md b/content/graphql/overview/breaking-changes.md index ba29ae3c09..6cdf450bef 100644 --- a/content/graphql/overview/breaking-changes.md +++ b/content/graphql/overview/breaking-changes.md @@ -7,6 +7,8 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - api --- ### About breaking changes diff --git a/content/graphql/overview/changelog.md b/content/graphql/overview/changelog.md index 6c051b659f..3ecd22c955 100644 --- a/content/graphql/overview/changelog.md +++ b/content/graphql/overview/changelog.md @@ -7,6 +7,8 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - api --- Breaking changes include changes that will break existing queries or could affect the runtime behavior of clients. For a list of breaking changes and when they will occur, see our [breaking changes log](/graphql/overview/breaking-changes). diff --git a/content/graphql/overview/explorer.md b/content/graphql/overview/explorer.md index 74540b78a4..b4d07c0939 100644 --- a/content/graphql/overview/explorer.md +++ b/content/graphql/overview/explorer.md @@ -8,5 +8,7 @@ versions: enterprise-server: '*' github-ae: '*' layout: graphql-explorer +topics: + - api --- diff --git a/content/graphql/overview/public-schema.md b/content/graphql/overview/public-schema.md index d2a8c7309b..81dceae4a8 100644 --- a/content/graphql/overview/public-schema.md +++ b/content/graphql/overview/public-schema.md @@ -7,6 +7,8 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - api --- You can [perform introspection](/graphql/guides/introduction-to-graphql#discovering-the-graphql-api) against the GraphQL API directly. diff --git a/content/graphql/overview/resource-limitations.md b/content/graphql/overview/resource-limitations.md index 636fee5b9c..4ca5ba3f63 100644 --- a/content/graphql/overview/resource-limitations.md +++ b/content/graphql/overview/resource-limitations.md @@ -7,6 +7,8 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - api --- ## Node limit diff --git a/content/graphql/overview/schema-previews.md b/content/graphql/overview/schema-previews.md index 6272f17066..d653fad776 100644 --- a/content/graphql/overview/schema-previews.md +++ b/content/graphql/overview/schema-previews.md @@ -7,6 +7,8 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - api --- ### About schema previews diff --git a/content/graphql/reference/enums.md b/content/graphql/reference/enums.md index 50ff25548c..108b9b8be4 100644 --- a/content/graphql/reference/enums.md +++ b/content/graphql/reference/enums.md @@ -7,6 +7,8 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - api --- ### About enums diff --git a/content/graphql/reference/input-objects.md b/content/graphql/reference/input-objects.md index ad927ff2bb..35065838c7 100644 --- a/content/graphql/reference/input-objects.md +++ b/content/graphql/reference/input-objects.md @@ -7,6 +7,8 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - api --- ### About input objects diff --git a/content/graphql/reference/interfaces.md b/content/graphql/reference/interfaces.md index 492e7b535c..175ff95b3d 100644 --- a/content/graphql/reference/interfaces.md +++ b/content/graphql/reference/interfaces.md @@ -7,6 +7,8 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - api --- ### About interfaces diff --git a/content/graphql/reference/mutations.md b/content/graphql/reference/mutations.md index 387dcd51ac..f523fd3168 100644 --- a/content/graphql/reference/mutations.md +++ b/content/graphql/reference/mutations.md @@ -7,6 +7,8 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - api --- ### About mutations diff --git a/content/graphql/reference/objects.md b/content/graphql/reference/objects.md index 7872b01baa..c99b46cca6 100644 --- a/content/graphql/reference/objects.md +++ b/content/graphql/reference/objects.md @@ -7,6 +7,8 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - api --- ### About objects diff --git a/content/graphql/reference/queries.md b/content/graphql/reference/queries.md index 48b714cd4b..208f468589 100644 --- a/content/graphql/reference/queries.md +++ b/content/graphql/reference/queries.md @@ -8,6 +8,8 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - api --- ### About queries diff --git a/content/graphql/reference/scalars.md b/content/graphql/reference/scalars.md index 2863a61f0d..8df4267a78 100644 --- a/content/graphql/reference/scalars.md +++ b/content/graphql/reference/scalars.md @@ -7,6 +7,8 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - api --- ### About scalars diff --git a/content/graphql/reference/unions.md b/content/graphql/reference/unions.md index 2c9b6a7862..9b7381ec3f 100644 --- a/content/graphql/reference/unions.md +++ b/content/graphql/reference/unions.md @@ -7,6 +7,8 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - api --- ### About unions diff --git a/content/packages/guides/configuring-access-control-and-visibility-for-container-images.md b/content/packages/guides/configuring-access-control-and-visibility-for-container-images.md index bff3dfee0c..e09845c7cc 100644 --- a/content/packages/guides/configuring-access-control-and-visibility-for-container-images.md +++ b/content/packages/guides/configuring-access-control-and-visibility-for-container-images.md @@ -26,7 +26,7 @@ The selected users will automatically be given access and don't need to accept a If you have admin permissions to an organization-owned container image, you can assign read, write, or admin roles to other users and teams. For more information about these permission roles, see "[Visibility and access permissions for container images](/packages/getting-started-with-github-container-registry/about-github-container-registry#visibility-and-access-permissions-for-container-images)." -If your package is owned by an organization and private, then you can only give access to other organization members or teams. +If your package is private or internal and owned by an organization, then you can only give access to other organization members or teams. For organization image containers, organizations admins must enable packages before you can set the visibility to public. For more information, see "[Enabling improved container support](/packages/getting-started-with-github-container-registry/enabling-improved-container-support)." @@ -38,6 +38,40 @@ For organization image containers, organizations admins must enable packages bef The selected users or teams will automatically be given access and don't need to accept an invitation first. +### Inheriting access for a container image from a repository + +To simplify package management through {% data variables.product.prodname_actions %} workflows, you can enable a container image to inherit the access permissions of a repository by default. + +If you inherit the access permissions of the repository where your package's workflows are stored, then you can adjust access to your package through the repository's permissions. + +Once a repository is synced, you can't access the package's granular access settings. To customize the package's permissions through the granular package access settings, you must remove the synced repository first. + +{% data reusables.package_registry.package-settings-from-org-level %} +2. Under "Repository source", select **Inherit access from repository (recommended)**. + ![Inherit repo access checkbox](/assets/images/help/package-registry/inherit-repo-access-for-package.png) + +### Ensuring workflow access to your package + +To ensure that a {% data variables.product.prodname_actions %} workflow has access to your package, you must give explicit access to the repository where the workflow is stored. + +The specified repository does not need to be the repository where the source code for the package is kept. You can give multiple repositories workflow access to a package. + +{% note %} + +**Note:** Syncing your container image with a repository through the **Actions access** menu option is different than connecting your container to a repository. For more information about linking a repository to your container, see "[Connecting a repository to a container image](/packages/guides/connecting-a-repository-to-a-container-image)." + +{% endnote %} + +{% data reusables.package_registry.package-settings-from-org-level %} +1. In the left sidebar, click **Actions access**. + !["Actions access" option in left menu](/assets/images/help/package-registry/organization-repo-access-for-a-package.png) +2. Click **Add repository** and search for the repository you want to add. + !["Add repository" button](/assets/images/help/package-registry/add-repository-button.png) +3. Using the "role" drop-down menu, select the default access level that you'd like repository members to have to your container image. Outside collaborators will not be included. + ![Permission access levels to give to repositories](/assets/images/help/package-registry/repository-permission-options-for-package-access-through-actions.png) + +To further customize access to your container image, see "[Configuring access to container images for an organization](#configuring-access-to-container-images-for-an-organization)." + ### Configuring visibility of container images for your personal account When you first publish a package, the default visibility is private and only you can see the package. You can modify a private or public container image's access by changing the access settings. @@ -55,6 +89,20 @@ A public package can be accessed anonymously without authentication. Once you ma - To make the container image visible to a custom selection of people, click **Make private**. ![Container visibility options](/assets/images/help/package-registry/container-visibility-option.png) +### Container creation visibility for organization members + +You can choose the visibility of containers that organization members can publish by default. + +{% data reusables.profile.access_profile %} +{% data reusables.profile.access_org %} +{% data reusables.organizations.org_settings %} +4. On the left, click **Packages**. +6. Under "Container creation", choose whether you want to enable the creation of public, private, or internal container images. + - To enable organization members to create public container images, click **Public**. + - To enable organization members to create private container images that are only visible to other organization members, click **Private**. You can further customize the visibility of private container images. + - **For {% data variables.product.prodname_ghe_cloud %} only:** To enable organization members to create internal container images that are only visible to other organization members, click **Internal**. + ![Visibility options for container images published by organization members](/assets/images/help/package-registry/container-creation-org-settings.png) + ### Configuring visibility of container images for an organization When you first publish a package, the default visibility is private and only you can see the package. You can grant users or teams different access roles for your container image through the access settings. diff --git a/content/packages/guides/configuring-npm-for-use-with-github-packages.md b/content/packages/guides/configuring-npm-for-use-with-github-packages.md index ef6474ff35..3edd49483d 100644 --- a/content/packages/guides/configuring-npm-for-use-with-github-packages.md +++ b/content/packages/guides/configuring-npm-for-use-with-github-packages.md @@ -192,18 +192,16 @@ If your instance has subdomain isolation enabled: {% endif %} ```shell -registry=https://{% if currentVersion == "free-pro-team@latest" %}npm.pkg.github.com{% else %}npm.HOSTNAME{% endif %}/OWNER -@OWNER:registry=https://{% if currentVersion == "free-pro-team@latest" %}npm.pkg.github.com{% else %}npm.HOSTNAME/{% endif %} -@OWNER:registry=https://{% if currentVersion == "free-pro-team@latest" %}npm.pkg.github.com{% else %}npm.HOSTNAME/{% endif %} +@OWNER:registry=https://{% if currentVersion == "free-pro-team@latest" %}npm.pkg.github.com{% else %}npm.HOSTNAME{% endif %} +@OWNER:registry=https://{% if currentVersion == "free-pro-team@latest" %}npm.pkg.github.com{% else %}npm.HOSTNAME{% endif %} ``` {% if enterpriseServerVersions contains currentVersion %} If your instance has subdomain isolation disabled: ```shell -registry=https://HOSTNAME/_registry/npm/OWNER -@OWNER:registry=https://HOSTNAME/_registry/npm/ -@OWNER:registry=https://HOSTNAME/_registry/npm/ +@OWNER:registry=https://HOSTNAME/_registry/npm +@OWNER:registry=https://HOSTNAME/_registry/npm ``` {% endif %} diff --git a/content/packages/guides/enabling-improved-container-support.md b/content/packages/guides/enabling-improved-container-support.md index 6b2aad74f0..efa4e71bb3 100644 --- a/content/packages/guides/enabling-improved-container-support.md +++ b/content/packages/guides/enabling-improved-container-support.md @@ -34,8 +34,8 @@ Before organization owners or members can publish container images to {% data va 4. On the left, click **Packages**. 5. Under "Improved container support", select "Enable improved container support" and click **Save**. ![Enable container registry support option and save button](/assets/images/help/package-registry/enable-improved-container-support-for-orgs.png) -6. Under "Container creation", choose whether you want to enable the creation of public and/or private container images. +6. Under "Container creation", choose whether you want to enable the creation of public, private, or internal container images. - To enable organization members to create public container images, click **Public**. - To enable organization members to create private container images that are only visible to other organization members, click **Private**. You can further customize the visibility of private container images. For more information, see "[Configuring access control and visibility for container images](/packages/managing-container-images-with-github-container-registry/configuring-access-control-and-visibility-for-container-images)." - - ![Options to enable public or private packages ](/assets/images/help/package-registry/package-creation-org-settings.png) + - **For {% data variables.product.prodname_ghe_cloud %} only:** To enable organization members to create internal container images that are only visible to other organization members, click **Internal**. + ![Visibility options for container images published by organization members](/assets/images/help/package-registry/container-creation-org-settings.png) diff --git a/content/packages/guides/using-github-packages-with-github-actions.md b/content/packages/guides/using-github-packages-with-github-actions.md index f04d9c2b5b..3b32b1103b 100644 --- a/content/packages/guides/using-github-packages-with-github-actions.md +++ b/content/packages/guides/using-github-packages-with-github-actions.md @@ -39,6 +39,45 @@ For an authentication example, see "[Authenticating with the {% data variables.p You can reference the `GITHUB_TOKEN` in your workflow file using the {% raw %}`{{secrets.GITHUB_TOKEN}}`{% endraw %} context. For more information, see "[Authenticating with the GITHUB_TOKEN](/actions/automating-your-workflow-with-github-actions/authenticating-with-the-github_token)." +### About permissions and package access for repository-owned packages + +{% note %} + +**Note:** Repository-owned packages include RubyGems, npm, Apache Maven, NuGet, Gradle, and Docker packages that use the package namespace `docker.pkg.github.com`. + +{% endnote %} + +When you enable GitHub Actions, GitHub installs a GitHub App on your repository. The `GITHUB_TOKEN` secret is a GitHub App installation access token. You can use the installation access token to authenticate on behalf of the GitHub App installed on your repository. The token's permissions are limited to the repository that contains your workflow. For more information, see "[Permissions for the GITHUB_TOKEN](/actions/reference/authentication-in-a-workflow#about-the-github_token-secret)." + +{% data variables.product.prodname_registry %} allows you to push and pull packages through the `GITHUB_TOKEN` available to a {% data variables.product.prodname_actions %} workflow. + +{% if currentVersion == "free-pro-team@latest" %} +### About permissions and package access for {% data variables.product.prodname_container_registry %} + +The {% data variables.product.prodname_container_registry %} (`ghcr.io`) allows users to create and administer containers as free-standing resources at the organization level. Containers can be owned by an organization or personal user account and you can customize access to each of your containers separately from repository permissions. + +All workflows accessing the {% data variables.product.prodname_container_registry %} should use the `GITHUB_TOKEN` instead of a personal access token. For more information about security best practices, see "[Security hardening for GitHub Actions](/actions/learn-github-actions/security-hardening-for-github-actions#using-secrets)." + +### Default permissions and access settings for containers modified through workflows + +When you create, install, modify, or delete a container through a workflow, there are some default permission and access settings used to ensure admins have access to the workflow. You can adjust these access settings as well. + +For example, by default if a workflow creates a container using the `GITHUB_TOKEN`, then: +- The container inherits the visibility and permissions model of the repository where the workflow is run. +- Repository admins where the workflow is run become the admins of the container once the container is created. + +These are more examples of how default permissions work for workflows that manage packages. + +| {% data variables.product.prodname_actions %} workflow task | Default permissions and access | +|----|----| +| Download an existing container | - If the container is public, any workflow running in any repository can download the container.
- If the container is internal, then all workflows running in any repository owned by the Enterprise account can download the container. For enterprise-owned organizations, you can read any repository in the enterprise
- If the container is private, only workflows running in repositories that are given read permission on that container can download the container.
+| Upload a new version to an existing container | - If the container is private, internal, or public, only workflows running in repositories that are given write permission on that container can upload new versions to the container. +| Delete a container or versions of a container | - If the container is private, internal, or public, only workflows running in repositories that are given delete permission can delete existing versions of the container. + +You can also adjust access to containers in a more granular way or adjust some of the default permissions behavior. For more information, see "[Configuring access control and visibility for container images](/packages/guides/configuring-access-control-and-visibility-for-container-images)." + +{% endif %} + ### Publishing a package using an action You can use {% data variables.product.prodname_actions %} to automatically publish packages as part of your continuous integration (CI) flow. This approach to continuous deployment (CD) allows you to automate the creation of new package versions, if the code meets your quality standards. For example, you could create a workflow that runs CI tests every time a developer pushes code to a particular branch. If the tests pass, the workflow can publish a new package version to {% data variables.product.prodname_registry %}. @@ -260,7 +299,7 @@ registry: {% if currentVersion == "github-ae@latest" %}docker.YOUR-HOSTNAME.com{ ``` - Defines the registry that will host the resulting packages. This example uses {% data variables.product.prodname_registry %}.{% if currentVersion == "github-ae@latest" %} Replace YOUR-HOSTNAME with the name of your enterprise.{% endif %} + Defines the registry that will host the resulting packages. This example uses {% data variables.product.prodname_registry %}.{% if currentVersion == "github-ae@latest" %} Replace YOUR-HOSTNAME with the name of your enterprise.{% endif %} {% if currentVersion == "free-pro-team@latest" %} If you're using the {% data variables.product.prodname_container_registry %}, then use ghcr.io as the hostname.{% endif %} @@ -291,7 +330,7 @@ tag_with_sha: true - + {% raw %} ```yaml tag_with_ref: true @@ -307,14 +346,95 @@ tag_with_ref: true - This new workflow will run automatically every time you push a change to a branch named `release` in the repository. You can view the progress in the **Actions** tab. - A few minutes after the workflow has completed, the new package will visible in your repository. To find your available packages, see "[Viewing a repository's packages](/packages/publishing-and-managing-packages/viewing-packages#viewing-a-repositorys-packages)." + ### Installing a package using an action You can install packages as part of your CI flow using {% data variables.product.prodname_actions %}. For example, you could configure a workflow so that anytime a developer pushes code to a pull request, the workflow resolves dependencies by downloading and installing packages hosted by {% data variables.product.prodname_registry %}. Then, the workflow can run CI tests that require the dependencies. -Installing packages hosted by {% data variables.product.prodname_registry %} through {% data variables.product.prodname_actions %} requires minimal configuration or additional authentication when you use `GITHUB_TOKEN`.{% if currentVersion == "free-pro-team@latest" %} Data transfer is also free when an action installs a package. For more information, see "[About billing for {% data variables.product.prodname_registry %}](/github/setting-up-and-managing-billing-and-payments-on-github/about-billing-for-github-packages)."{% endif %} +Installing packages hosted by the {% data variables.product.prodname_registry %} through {% data variables.product.prodname_actions %} requires minimal configuration or additional authentication when you use the `GITHUB_TOKEN`.{% if currentVersion == "free-pro-team@latest" %} Data transfer is also free when an action installs a package. For more information, see "[About billing for {% data variables.product.prodname_registry %}](/github/setting-up-and-managing-billing-and-payments-on-github/about-billing-for-github-packages)."{% endif %} {% if currentVersion == "free-pro-team@latest" %} -`GITHUB_TOKEN` cannot install packages from any private repository besides the repository where the action runs. You cannot currently use `GITHUB_TOKEN` to authenticate to {% data variables.product.prodname_github_container_registry %}. {% endif %} {% data reusables.package_registry.actions-configuration %} + +{% if currentVersion == "free-pro-team@latest" %} +### Upgrading a workflow that accesses `ghcr.io` + +{% data reusables.package_registry.github-token-security-over-pat %} + +Using the `GITHUB_TOKEN` instead of a PAT, which includes the `repo` scope, increases the security of your repository as you don't need to use a long-lived PAT that offers unnecessary access to the repository where your workflow is run. For more information about security best practices, see "[Security hardening for GitHub Actions](/actions/learn-github-actions/security-hardening-for-github-actions#using-secrets)." + +1. Navigate to your package landing page. +1. In the left sidebar, click **Actions access**. + !["Actions access" option in left menu](/assets/images/help/package-registry/organization-repo-access-for-a-package.png) +2. To ensure your container package has access to your workflow, you must add the repository where the workflow is stored to your container. Click **Add repository** and search for the repository you want to add. + !["Add repository" button](/assets/images/help/package-registry/add-repository-button.png) + {% note %} + + **Note:** Adding a repository to your container through the **Actions access** menu option is different than connecting your container to a repository. For more information, see "[Ensuring workflow access to your package](/packages/guides/configuring-access-control-and-visibility-for-container-images#ensuring-workflow-access-to-your-package)" and "[Connecting a repository to a container image](/packages/guides/connecting-a-repository-to-a-container-image)." + + {% endnote %} +3. Optionally, using the "role" drop-down menu, select the default access level that you'd like the repository to have to your container image. + ![Permission access levels to give to repositories](/assets/images/help/package-registry/repository-permission-options-for-package-access-through-actions.png) +5. Open your workflow file. On the line where you login to `ghcr.io`, replace your PAT with {% raw %}`${{ secrets.GITHUB_TOKEN }}`{% endraw %}. + +For example, this workflow publishes a Docker container using {% raw %}`${{ secrets.GITHUB_TOKEN }}`{% endraw %} to authenticate. + +{% raw %} +```yaml{:copy} +name: Demo Push + +on: + push: + # Publish `master` as Docker `latest` image. + branches: + - master + - seed + + # Publish `v1.2.3` tags as releases. + tags: + - v* + + # Run tests for any PRs. + pull_request: + +env: + IMAGE_NAME: ghtoken_product_demo + +jobs: + # Push image to GitHub Packages. + # See also https://docs.docker.com/docker-hub/builds/ + push: + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v2 + + - name: Build image + run: docker build . --file Dockerfile --tag $IMAGE_NAME --label "runnumber=${GITHUB_RUN_ID}" + + - name: Log into registry + # This is where you will update the PAT to GITHUB_TOKEN + run: echo "${{ secrets.GITHUB_TOKEN }}" | docker login ghcr.io -u ${{ github.actor }} --password-stdin + + - name: Push image + run: | + IMAGE_ID=ghcr.io/${{ github.repository_owner }}/$IMAGE_NAME + + # Change all uppercase to lowercase + IMAGE_ID=$(echo $IMAGE_ID | tr '[A-Z]' '[a-z]') + # Strip git ref prefix from version + VERSION=$(echo "${{ github.ref }}" | sed -e 's,.*/\(.*\),\1,') + # Strip "v" prefix from tag name + [[ "${{ github.ref }}" == "refs/tags/"* ]] && VERSION=$(echo $VERSION | sed -e 's/^v//') + # Use Docker `latest` tag convention + [ "$VERSION" == "master" ] && VERSION=latest + echo IMAGE_ID=$IMAGE_ID + echo VERSION=$VERSION + docker tag $IMAGE_NAME $IMAGE_ID:$VERSION + docker push $IMAGE_ID:$VERSION +``` +{% endraw %} + +{% endif %} diff --git a/content/packages/learn-github-packages/about-github-packages.md b/content/packages/learn-github-packages/about-github-packages.md index b9b21493b8..3aa637f5d7 100644 --- a/content/packages/learn-github-packages/about-github-packages.md +++ b/content/packages/learn-github-packages/about-github-packages.md @@ -24,20 +24,13 @@ You can integrate {% data variables.product.prodname_registry %} with {% data va {% data variables.product.prodname_registry %} offers different package registries for commonly used packages, such as for Node, RubyGems, Apache Maven, Gradle, and Nuget. - -{% if currentVersion ver_gt "enterprise-server@2.21" %} - -![Diagram showing the GitHub Packages hosting urls for npm, RubyGems, Apache Maven, Gradle, Nuget, and Docker](/assets/images/help/package-registry/ghes-packages-diagram.png) - -{% endif %} +![Diagram showing packages support for npm, RubyGems, Apache Maven, Gradle, Nuget, and Docker](/assets/images/help/package-registry/packages-overview-diagram.png) {% if currentVersion == "free-pro-team@latest" %} {% data variables.product.prodname_registry %} also offers a {% data variables.product.prodname_container_registry %} designed to support the unique needs of container images. For more information, see "[About {% data variables.product.prodname_github_container_registry %}](/packages/guides/about-github-container-registry)." {% data reusables.package_registry.container-registry-beta %} -![Diagram showing the GitHub Packages hosting urls for npm, RubyGems, Apache Maven, Gradle, Nuget, and Docker](/assets/images/help/package-registry/packages-overview-diagram.png) - {% endif %} #### Viewing packages diff --git a/content/rest/guides/basics-of-authentication.md b/content/rest/guides/basics-of-authentication.md index 1cbc4cdb95..5613158c98 100644 --- a/content/rest/guides/basics-of-authentication.md +++ b/content/rest/guides/basics-of-authentication.md @@ -9,6 +9,8 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - api --- diff --git a/content/rest/guides/best-practices-for-integrators.md b/content/rest/guides/best-practices-for-integrators.md index c9bed981f3..fc3a313eb2 100644 --- a/content/rest/guides/best-practices-for-integrators.md +++ b/content/rest/guides/best-practices-for-integrators.md @@ -8,6 +8,8 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - api --- diff --git a/content/rest/guides/building-a-ci-server.md b/content/rest/guides/building-a-ci-server.md index a084419a96..77b0d89956 100644 --- a/content/rest/guides/building-a-ci-server.md +++ b/content/rest/guides/building-a-ci-server.md @@ -8,6 +8,8 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - api --- diff --git a/content/rest/guides/delivering-deployments.md b/content/rest/guides/delivering-deployments.md index b9ef899783..b5340295e8 100644 --- a/content/rest/guides/delivering-deployments.md +++ b/content/rest/guides/delivering-deployments.md @@ -9,6 +9,8 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - api --- diff --git a/content/rest/guides/discovering-resources-for-a-user.md b/content/rest/guides/discovering-resources-for-a-user.md index 51dde97000..1c6177f34e 100644 --- a/content/rest/guides/discovering-resources-for-a-user.md +++ b/content/rest/guides/discovering-resources-for-a-user.md @@ -8,6 +8,8 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - api --- diff --git a/content/rest/guides/getting-started-with-the-checks-api.md b/content/rest/guides/getting-started-with-the-checks-api.md index e83f7ecde7..66e353a328 100644 --- a/content/rest/guides/getting-started-with-the-checks-api.md +++ b/content/rest/guides/getting-started-with-the-checks-api.md @@ -5,6 +5,8 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - api --- ### Overview diff --git a/content/rest/guides/getting-started-with-the-git-database-api.md b/content/rest/guides/getting-started-with-the-git-database-api.md index f95f46749d..7ce9354f48 100644 --- a/content/rest/guides/getting-started-with-the-git-database-api.md +++ b/content/rest/guides/getting-started-with-the-git-database-api.md @@ -5,6 +5,8 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - api --- ### Overview diff --git a/content/rest/guides/getting-started-with-the-rest-api.md b/content/rest/guides/getting-started-with-the-rest-api.md index 1313385db7..2e5a47f87b 100644 --- a/content/rest/guides/getting-started-with-the-rest-api.md +++ b/content/rest/guides/getting-started-with-the-rest-api.md @@ -8,6 +8,8 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - api --- diff --git a/content/rest/guides/index.md b/content/rest/guides/index.md index bbdd90cbcc..1e63a63190 100644 --- a/content/rest/guides/index.md +++ b/content/rest/guides/index.md @@ -8,6 +8,8 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - api --- This section of the documentation is intended to get you up-and-running with diff --git a/content/rest/guides/rendering-data-as-graphs.md b/content/rest/guides/rendering-data-as-graphs.md index 1fb621b0b7..cbd50a3e8f 100644 --- a/content/rest/guides/rendering-data-as-graphs.md +++ b/content/rest/guides/rendering-data-as-graphs.md @@ -8,6 +8,8 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - api --- diff --git a/content/rest/guides/traversing-with-pagination.md b/content/rest/guides/traversing-with-pagination.md index 9ee0ffc050..50c89b4bdc 100644 --- a/content/rest/guides/traversing-with-pagination.md +++ b/content/rest/guides/traversing-with-pagination.md @@ -8,6 +8,8 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - api --- diff --git a/content/rest/guides/working-with-comments.md b/content/rest/guides/working-with-comments.md index 5b760d1877..5606e2030c 100644 --- a/content/rest/guides/working-with-comments.md +++ b/content/rest/guides/working-with-comments.md @@ -8,6 +8,8 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - api --- diff --git a/content/rest/overview/api-previews.md b/content/rest/overview/api-previews.md index 40b18ca656..02151bb9fe 100644 --- a/content/rest/overview/api-previews.md +++ b/content/rest/overview/api-previews.md @@ -7,6 +7,8 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - api --- diff --git a/content/rest/overview/endpoints-available-for-github-apps.md b/content/rest/overview/endpoints-available-for-github-apps.md index bae1b28804..8105ff975c 100644 --- a/content/rest/overview/endpoints-available-for-github-apps.md +++ b/content/rest/overview/endpoints-available-for-github-apps.md @@ -8,6 +8,8 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - api --- You must use an installation access token to access endpoints using your {% data variables.product.prodname_github_app %}. For more information, see "[Authenticating with {% data variables.product.prodname_github_apps %}](/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-an-installation)." diff --git a/content/rest/overview/index.md b/content/rest/overview/index.md index 7e4de671cb..287f95ae14 100644 --- a/content/rest/overview/index.md +++ b/content/rest/overview/index.md @@ -6,6 +6,8 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - api --- ### Table of Contents diff --git a/content/rest/overview/libraries.md b/content/rest/overview/libraries.md index 6acee1b7fb..75cb6828c6 100644 --- a/content/rest/overview/libraries.md +++ b/content/rest/overview/libraries.md @@ -8,6 +8,8 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - api ---
@@ -80,7 +82,7 @@ Library name | Repository | Library name | Repository | |---|---| -**GitHub.jl**|[WestleyArgentum/GitHub.jl](https://github.com/WestleyArgentum/GitHub.jl) +**GitHub.jl**|[JuliaWeb/GitHub.jl](https://github.com/JuliaWeb/GitHub.jl) ### OCaml diff --git a/content/rest/overview/media-types.md b/content/rest/overview/media-types.md index ccbfff6046..25ece0fa28 100644 --- a/content/rest/overview/media-types.md +++ b/content/rest/overview/media-types.md @@ -7,6 +7,8 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - api --- diff --git a/content/rest/overview/openapi-description.md b/content/rest/overview/openapi-description.md index cdd2e1188e..9b38ae760b 100644 --- a/content/rest/overview/openapi-description.md +++ b/content/rest/overview/openapi-description.md @@ -1,9 +1,11 @@ --- title: OpenAPI description -intro: The {% data variables.product.product_name %} REST API is fully described in an OpenAPI 3.0 compliant document. +intro: 'The {% data variables.product.product_name %} REST API is fully described in an OpenAPI 3.0 compliant document.' versions: free-pro-team: '*' enterprise-server: '*' +topics: + - api --- ### About OpenAPI descriptions diff --git a/content/rest/overview/other-authentication-methods.md b/content/rest/overview/other-authentication-methods.md index e641de8216..8020cfd01a 100644 --- a/content/rest/overview/other-authentication-methods.md +++ b/content/rest/overview/other-authentication-methods.md @@ -7,6 +7,8 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - api --- diff --git a/content/rest/overview/resources-in-the-rest-api.md b/content/rest/overview/resources-in-the-rest-api.md index 0d6c7fb29b..5344440e1d 100644 --- a/content/rest/overview/resources-in-the-rest-api.md +++ b/content/rest/overview/resources-in-the-rest-api.md @@ -7,6 +7,8 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - api --- diff --git a/content/rest/overview/troubleshooting.md b/content/rest/overview/troubleshooting.md index a430cfd7be..1b163b90f5 100644 --- a/content/rest/overview/troubleshooting.md +++ b/content/rest/overview/troubleshooting.md @@ -7,6 +7,8 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - api --- diff --git a/content/rest/reference/actions.md b/content/rest/reference/actions.md index 5073629587..e8b3a61288 100644 --- a/content/rest/reference/actions.md +++ b/content/rest/reference/actions.md @@ -7,6 +7,8 @@ versions: free-pro-team: '*' enterprise-server: '>=2.22' github-ae: '*' +topics: + - api --- {% data reusables.actions.ae-beta %} diff --git a/content/rest/reference/activity.md b/content/rest/reference/activity.md index d80553b6c3..ac89e3da37 100644 --- a/content/rest/reference/activity.md +++ b/content/rest/reference/activity.md @@ -6,6 +6,8 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - api --- {% for operation in currentRestOperations %} @@ -33,8 +35,6 @@ $ -H 'If-None-Match: "a18c3bded88eb5dbb5c849a489412bf3"' > X-Poll-Interval: 60 ``` -Events support pagination, however the `per_page` option is unsupported. The fixed page size is 30 items. Fetching up to ten pages is supported, for a total of 300 events. For information, see "[Traversing with pagination](/rest/guides/traversing-with-pagination)." - Only events created within the past 90 days will be included in timelines. Events older than 90 days will not be included (even if the total number of events in the timeline is less than 300). {% for operation in currentRestOperations %} diff --git a/content/rest/reference/apps.md b/content/rest/reference/apps.md index bb5f310f7d..9238601e1a 100644 --- a/content/rest/reference/apps.md +++ b/content/rest/reference/apps.md @@ -6,6 +6,8 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - api --- The GitHub Apps API enables you to get high-level information about a GitHub App as well as specific information about installations of the app. To learn more about GitHub Apps, see "[Authenticating as a GitHub App](/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app)." diff --git a/content/rest/reference/billing.md b/content/rest/reference/billing.md index e0ff6110c9..0fab2af1cd 100644 --- a/content/rest/reference/billing.md +++ b/content/rest/reference/billing.md @@ -2,6 +2,8 @@ title: Billing versions: free-pro-team: '*' +topics: + - api --- You can monitor your {% data variables.product.prodname_actions %} and {% data variables.product.prodname_registry %} charges and usage for a user and organization through the Billing API. diff --git a/content/rest/reference/checks.md b/content/rest/reference/checks.md index 67ba813b87..3b1a680aa1 100644 --- a/content/rest/reference/checks.md +++ b/content/rest/reference/checks.md @@ -6,6 +6,8 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - api --- The Checks API enables you to build GitHub Apps that run powerful checks against code changes in a repository. You can create apps that perform continuous integration, code linting, or code scanning services and provide detailed feedback on commits. For more information, see "[Getting started with the checks API](/rest/guides/getting-started-with-the-checks-api)" and "[Creating CI tests with the Checks API](/apps/quickstart-guides/creating-ci-tests-with-the-checks-api/)." diff --git a/content/rest/reference/code-scanning.md b/content/rest/reference/code-scanning.md index 68ae532ae5..535217ba8c 100644 --- a/content/rest/reference/code-scanning.md +++ b/content/rest/reference/code-scanning.md @@ -7,6 +7,8 @@ versions: free-pro-team: '*' enterprise-server: '>=2.22' github-ae: '*' +topics: + - api --- {% data reusables.code-scanning.beta %} diff --git a/content/rest/reference/codes-of-conduct.md b/content/rest/reference/codes-of-conduct.md index 50cb78757e..109bf9e922 100644 --- a/content/rest/reference/codes-of-conduct.md +++ b/content/rest/reference/codes-of-conduct.md @@ -7,6 +7,8 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - api --- You can use the Codes of Conduct API to retrieve information about a repository's code of conduct. To get a repository's code of conduct, use the "[Get a repository](/rest/reference/repos#get-a-repository)" endpoint. diff --git a/content/rest/reference/emojis.md b/content/rest/reference/emojis.md index ea2ca0751d..ec918c60c2 100644 --- a/content/rest/reference/emojis.md +++ b/content/rest/reference/emojis.md @@ -7,6 +7,8 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - api --- {% include rest_operations_at_current_path %} diff --git a/content/rest/reference/enterprise-admin.md b/content/rest/reference/enterprise-admin.md index f5005e0fa2..eca5f8f968 100644 --- a/content/rest/reference/enterprise-admin.md +++ b/content/rest/reference/enterprise-admin.md @@ -8,6 +8,8 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - api --- You can use these endpoints to administer your enterprise. diff --git a/content/rest/reference/gists.md b/content/rest/reference/gists.md index 1ff371cc24..58d47faa72 100644 --- a/content/rest/reference/gists.md +++ b/content/rest/reference/gists.md @@ -6,6 +6,8 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - api --- ### Authentication diff --git a/content/rest/reference/git.md b/content/rest/reference/git.md index b7f6a6ffaa..19e1c541ad 100644 --- a/content/rest/reference/git.md +++ b/content/rest/reference/git.md @@ -7,6 +7,8 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - api --- The Git Database API gives you access to read and write raw Git objects to your Git database on {% data variables.product.product_name %} and to list and update your references (branch heads and tags). For more information about using the Git Database API, see "[Getting started with the Git data API](/rest/guides/getting-started-with-the-git-database-api)." diff --git a/content/rest/reference/gitignore.md b/content/rest/reference/gitignore.md index 21728e0dd3..08f18a2449 100644 --- a/content/rest/reference/gitignore.md +++ b/content/rest/reference/gitignore.md @@ -6,6 +6,8 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - api --- When you create a new {% data variables.product.product_name %} repository via the API, you can specify a [.gitignore template](/github/using-git/ignoring-files) to apply to the repository upon creation. The .gitignore templates API lists and fetches templates from the {% data variables.product.product_name %} [.gitignore repository](https://github.com/github/gitignore). diff --git a/content/rest/reference/index.md b/content/rest/reference/index.md index 3e0c064f4c..88efef37c8 100644 --- a/content/rest/reference/index.md +++ b/content/rest/reference/index.md @@ -6,6 +6,8 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - api --- ### Table of Contents diff --git a/content/rest/reference/interactions.md b/content/rest/reference/interactions.md index 1fb73f9948..bce7ba6dff 100644 --- a/content/rest/reference/interactions.md +++ b/content/rest/reference/interactions.md @@ -4,6 +4,8 @@ redirect_from: - /v3/interactions versions: free-pro-team: '*' +topics: + - api --- Users interact with repositories by commenting, opening issues, and creating pull requests. The Interactions APIs allow people with owner or admin access to temporarily restrict interaction with public repositories to a certain type of user. diff --git a/content/rest/reference/issues.md b/content/rest/reference/issues.md index d2bc96ed21..f69333fbc5 100644 --- a/content/rest/reference/issues.md +++ b/content/rest/reference/issues.md @@ -6,6 +6,8 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - api --- ### Custom media types for issues diff --git a/content/rest/reference/licenses.md b/content/rest/reference/licenses.md index 080f5cba43..3a67c0b3c8 100644 --- a/content/rest/reference/licenses.md +++ b/content/rest/reference/licenses.md @@ -6,6 +6,8 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - api --- The Licenses API returns metadata about popular open source licenses and information about a particular project's license file. diff --git a/content/rest/reference/markdown.md b/content/rest/reference/markdown.md index 5a71bd7804..e978876791 100644 --- a/content/rest/reference/markdown.md +++ b/content/rest/reference/markdown.md @@ -6,6 +6,8 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - api --- {% include rest_operations_at_current_path %} diff --git a/content/rest/reference/meta.md b/content/rest/reference/meta.md index b261f929a2..6cd6fa2083 100644 --- a/content/rest/reference/meta.md +++ b/content/rest/reference/meta.md @@ -6,6 +6,8 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - api --- {% include rest_operations_at_current_path %} diff --git a/content/rest/reference/migrations.md b/content/rest/reference/migrations.md index f1709a3c8f..c75353316f 100644 --- a/content/rest/reference/migrations.md +++ b/content/rest/reference/migrations.md @@ -6,6 +6,8 @@ redirect_from: - /v3/migration/migrations versions: free-pro-team: '*' +topics: + - api --- {% for operation in currentRestOperations %} diff --git a/content/rest/reference/orgs.md b/content/rest/reference/orgs.md index 919098c451..45d9e1c36c 100644 --- a/content/rest/reference/orgs.md +++ b/content/rest/reference/orgs.md @@ -7,6 +7,8 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - api --- {% for operation in currentRestOperations %} diff --git a/content/rest/reference/packages.md b/content/rest/reference/packages.md index 53450d887c..36dc874017 100644 --- a/content/rest/reference/packages.md +++ b/content/rest/reference/packages.md @@ -3,6 +3,8 @@ title: Packages product: '{% data reusables.gated-features.packages %}' versions: free-pro-team: '*' +topics: + - api --- The {% data variables.product.prodname_registry %} API enables you to manage packages using the REST API. To learn more about restoring or deleting packages, see "[Restoring and deleting packages](/packages/learn-github-packages/deleting-and-restoring-a-package)." diff --git a/content/rest/reference/permissions-required-for-github-apps.md b/content/rest/reference/permissions-required-for-github-apps.md index 25d9b58495..9f6a813ca7 100644 --- a/content/rest/reference/permissions-required-for-github-apps.md +++ b/content/rest/reference/permissions-required-for-github-apps.md @@ -7,6 +7,8 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - api --- ### About {% data variables.product.prodname_github_app %} permissions diff --git a/content/rest/reference/projects.md b/content/rest/reference/projects.md index 9ff76062b5..30b524f6e5 100644 --- a/content/rest/reference/projects.md +++ b/content/rest/reference/projects.md @@ -6,6 +6,8 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - api --- {% for operation in currentRestOperations %} diff --git a/content/rest/reference/pulls.md b/content/rest/reference/pulls.md index 2009b2db26..ebd99b432d 100644 --- a/content/rest/reference/pulls.md +++ b/content/rest/reference/pulls.md @@ -6,6 +6,8 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - api --- The Pull Request API allows you to list, view, edit, create, and even merge pull requests. Comments on pull requests can be managed via the [Issue Comments API](/rest/reference/issues#comments). diff --git a/content/rest/reference/rate-limit.md b/content/rest/reference/rate-limit.md index 01e09ecc01..6b744f26b4 100644 --- a/content/rest/reference/rate-limit.md +++ b/content/rest/reference/rate-limit.md @@ -7,6 +7,8 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - api --- The REST API overview documentation describes the [rate limit rules](/rest/overview/resources-in-the-rest-api#rate-limiting). You can check your current rate limit status at any time using the Rate Limit API described below. diff --git a/content/rest/reference/reactions.md b/content/rest/reference/reactions.md index 8992d99049..7ddd930ec4 100644 --- a/content/rest/reference/reactions.md +++ b/content/rest/reference/reactions.md @@ -6,6 +6,8 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - api --- ### Reaction types diff --git a/content/rest/reference/repos.md b/content/rest/reference/repos.md index b0bab1f317..19579cf814 100644 --- a/content/rest/reference/repos.md +++ b/content/rest/reference/repos.md @@ -7,6 +7,8 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - api --- {% for operation in currentRestOperations %} diff --git a/content/rest/reference/scim.md b/content/rest/reference/scim.md index fb032ed898..df50c65a89 100644 --- a/content/rest/reference/scim.md +++ b/content/rest/reference/scim.md @@ -4,6 +4,8 @@ redirect_from: - /v3/scim versions: free-pro-team: '*' +topics: + - api --- ### SCIM Provisioning for Organizations diff --git a/content/rest/reference/search.md b/content/rest/reference/search.md index fc289eac25..7de75572c3 100644 --- a/content/rest/reference/search.md +++ b/content/rest/reference/search.md @@ -6,6 +6,8 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - api --- The Search API helps you search for the specific item you want to find. For example, you can find a user or a specific file in a repository. Think of it the way you think of performing a search on Google. It's designed to help you find the one result you're looking for (or maybe the few results you're looking for). Just like searching on Google, you sometimes want to see a few pages of search results so that you can find the item that best meets your needs. To satisfy that need, the {% data variables.product.product_name %} Search API provides **up to 1,000 results for each search**. diff --git a/content/rest/reference/teams.md b/content/rest/reference/teams.md index 7223e949ec..7f6b2a3bf4 100644 --- a/content/rest/reference/teams.md +++ b/content/rest/reference/teams.md @@ -6,6 +6,8 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - api --- This API is only available to authenticated members of the team's [organization](/rest/reference/orgs). OAuth access tokens require the `read:org` [scope](/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/). {% data variables.product.prodname_dotcom %} generates the team's `slug` from the team `name`. @@ -16,7 +18,7 @@ This API is only available to authenticated members of the team's [organization] ## Discussions -The team discussions API allows you to get, create, edit, and delete discussion posts on a team's page. You can use team discussions to have conversations that are not specific to a repository or project. Any member of the team's [organization](/rest/reference/orgs) can create and read public discussion posts. For more details, see "[About team discussions](/articles/about-team-discussions/)." To learn more about commenting on a discussion post, see the [team discussion comments API](/rest/reference/teams#discussion-comments). This API is only available to authenticated members of the team's organization. +The team discussions API allows you to get, create, edit, and delete discussion posts on a team's page. You can use team discussions to have conversations that are not specific to a repository or project. Any member of the team's [organization](/rest/reference/orgs) can create and read public discussion posts. For more details, see "[About team discussions](/github/setting-up-and-managing-organizations-and-teams/about-team-discussions/)." To learn more about commenting on a discussion post, see the [team discussion comments API](/rest/reference/teams#discussion-comments). This API is only available to authenticated members of the team's organization. {% for operation in currentRestOperations %} {% if operation.subcategory == 'discussions' %}{% include rest_operation %}{% endif %} @@ -24,7 +26,7 @@ The team discussions API allows you to get, create, edit, and delete discussion ## Discussion comments -The team discussion comments API allows you to get, create, edit, and delete discussion comments on a [team discussion](/rest/reference/teams#discussions) post. Any member of the team's [organization](/rest/reference/orgs) can create and read comments on a public discussion. For more details, see "[About team discussions](/articles/about-team-discussions/)." This API is only available to authenticated members of the team's organization. +The team discussion comments API allows you to get, create, edit, and delete discussion comments on a [team discussion](/rest/reference/teams#discussions) post. Any member of the team's [organization](/rest/reference/orgs) can create and read comments on a public discussion. For more details, see "[About team discussions](/github/setting-up-and-managing-organizations-and-teams/about-team-discussions/)." This API is only available to authenticated members of the team's organization. {% for operation in currentRestOperations %} {% if operation.subcategory == 'discussion-comments' %}{% include rest_operation %}{% endif %} diff --git a/content/rest/reference/users.md b/content/rest/reference/users.md index 5371d5569c..a8be9cb182 100644 --- a/content/rest/reference/users.md +++ b/content/rest/reference/users.md @@ -6,6 +6,8 @@ versions: free-pro-team: '*' enterprise-server: '*' github-ae: '*' +topics: + - api --- Many of the resources on the users API provide a shortcut for getting information about the currently authenticated user. If a request URL does not include a `{username}` parameter then the response will be for the logged in user (and you must pass [authentication information](/rest/overview/resources-in-the-rest-api#authentication) with your request).{% if currentVersion == "free-pro-team@latest" or enterpriseServerVersions contains currentVersion %} Additional private information, such as whether a user has two-factor authentication enabled, is included when authenticated through basic auth or OAuth with the `user` scope.{% endif %} diff --git a/contributing/github-partners/README.md b/contributing/github-partners/README.md new file mode 100644 index 0000000000..598ad25148 --- /dev/null +++ b/contributing/github-partners/README.md @@ -0,0 +1,19 @@ +# GitHub Partners + +This folder contains templates to be used by GitHub's technology partners when contributing documentation, such as guides. + +To get started, please [open an issue using this link](https://github.com/github/docs/issues/new?template=partner-contributed-documentation.md). + +## Templates + +### Tutorial template +Tutorials guide the reader through an entire workflow to complete a task. + +You should consider creating a tutorial when: + +- The user has a basic understanding of the product and is interested in extending their use and understanding to solve a specific problem. +- The user is looking for expert advice and a detailed discussion on best practices related their problem. +- The user may have implemented a similar solution in the past using a different product. +- The user wants to validate whether the solution is appropriate for their needs. + +Get started with this template [here](tutorial.md). diff --git a/contributing/github-partners/tutorial.md b/contributing/github-partners/tutorial.md new file mode 100644 index 0000000000..e18d0c9a76 --- /dev/null +++ b/contributing/github-partners/tutorial.md @@ -0,0 +1,56 @@ +--- +title: Tutorial title +intro: 'Article intro. See tips for a great intro below' +product: '{{ optional product callout }}' +productVersions: +contributor: + name: + URL: +--- + + + + +### Introduction + + + +### Step 1: Action the user will take + + + + + +#### Task chunk + + + + + + +#### Another task chunk + + + +### Step 2: Do the next thing + + + +```yaml +on: + schedule: + - cron: "40 19 * * *" +``` + +### Further reading + + + +- "[Article title](article-URL)" diff --git a/contributing/liquid-helpers.md b/contributing/liquid-helpers.md index eaee2a3ba1..78955b0b57 100644 --- a/contributing/liquid-helpers.md +++ b/contributing/liquid-helpers.md @@ -1,34 +1,62 @@ # Liquid helpers -We use the [liquid template language](https://shopify.github.io/liquid/basics/introduction/) (specifically, [this Node.js port](https://github.com/docs/liquid)) to create different versions of our content. +We use the [Liquid template language](https://shopify.github.io/liquid/basics/introduction/) (specifically, [this Node.js port](https://github.com/docs/liquid)) to create different versions of our content. Note: If you are an open source contributor, you should not worry about versioning content. This document is only here as reference. -## Versioning documentation for GitHub Enterprise +## Versioning documentation for GitHub.com, GitHub Enterprise Server, and GitHub AE **In this guide** -- [Versioned documentation types for GitHub Enterprise](#versioned-documentation-types-for-github-enterprise) +- [Versioned documentation](#versioned-documentation) + - [Dotcom](#dotcom) + - [GitHub Enterprise Server](#github-enterprise-server) + - [GitHub AE](#github-ae) +- [Versioning in the YAML front matter](#versioning-in-the-yaml-front-matter) - [Liquid conditional operators](#liquid-conditional-operators) - [Comparison operators](#comparison-operators) - [Logical operators](#logical-operators) -- [Liquid conditional statements for GitHub Enterprise](#liquid-conditional-statements-for-github-enterprise) - - [Including content in *all* supported versions](#including-content-in-all-supported-versions) +- [Liquid conditional statements for Dotcom](#liquid-conditional-statements-for-dotcom) - [Including content that *only applies to Dotcom*](#including-content-that-only-applies-to-dotcom) - - [Including content for *new Dotcom features* that will be included in Enterprise](#including-content-for-new-dotcom-features-that-will-be-included-in-enterprise) - - [Including content for *changed* Dotcom features that will also change in Enterprise](#including-content-for-changed-dotcom-features-that-will-also-change-in-enterprise) - - [Including content for *changed* Dotcom features that will also change in Enterprise but don't exist in some older versions](#including-content-for-changed-dotcom-features-that-will-also-change-in-enterprise-but-dont-exist-in-some-older-versions) - - [Including content for *new Enterprise features* that don't exist on Dotcom](#including-content-for-new-enterprise-features-that-dont-exist-on-dotcom) - - [Including content for *changed Enterprise features* that don't exist on Dotcom](#including-content-for-changed-enterprise-features-that-dont-exist-on-dotcom) +- [Liquid conditional statements for GitHub Enterprise Server](#liquid-conditional-statements-for-github-enterprise-server) + - [Including content that only applies to all supported versions of Enterprise Server](#including-content-that-only-applies-to-all-supported-versions-of-enterprise-server) + - [Including content for *new Dotcom features* that will be included in Enterprise Server](#including-content-for-new-dotcom-features-that-will-be-included-in-enterprise-server) + - [Including content for *changed* Dotcom features that will also change in Enterprise Server](#including-content-for-changed-dotcom-features-that-will-also-change-in-enterprise-server) + - [Including content for *changed* Dotcom features that will also change in Enterprise Server but don't exist in some older versions](#including-content-for-changed-dotcom-features-that-will-also-change-in-enterprise-server-but-dont-exist-in-some-older-versions) + - [Including content for *new Enterprise Server features* that don't exist on Dotcom](#including-content-for-new-enterprise-server-features-that-dont-exist-on-dotcom) + - [Including content for *changed Enterprise Server features* that don't exist on Dotcom](#including-content-for-changed-enterprise-server-features-that-dont-exist-on-dotcom) +- [Liquid conditional statements for GitHub AE](#liquid-conditional-statements-for-github-ae) + - [Including content that *only applies to GitHub AE*](#including-content-that-only-applies-to-github-ae) + - [Including content that only applies to *GitHub AE and Enterprise Server*](#including-content-that-only-applies-to-github-ae-and-github-enterprise-server) + - [Including content for features that will be included in the *next release* of GitHub AE](#including-content-for-features-that-will-be-included-in-the-next-release-of-github-ae) -### Versioned documentation types for GitHub Enterprise +### Versioned documentation -We provide versioned documentation for GitHub Enterprise users. This means the material on docs.github.com is scoped to specific product offerings. +We provide versioned documentation for users of GitHub.com (Dotcom), GitHub Enterprise Server, and GitHub AE. This means the material on docs.github.com is scoped to specific product offerings. If multiple versions of content exist, readers can choose the version from the version picker at the top of the page. -Documentation for GitHub Enterprise can generally be divided into three types: documentation for the latest release, documentation for any previous supported release, and documentation for a deprecated release. +#### Dotcom +Documentation for Dotcom has one version: the latest version. + +#### GitHub Enterprise Server + +Documentation for GitHub Enterprise Server can generally be divided into three types: documentation for the latest release, documentation for any previous supported release, and documentation for a deprecated release. + +#### GitHub AE + +Documentation for GitHub AE is similar to Dotcom: we only offer one version of the content for the product, the latest version. + +### Versioning in the YAML front matter + +Use the `versions` key within the file's YAML front matter to define which products an entire page applies to. For more information, see [the _content_ directory's README](/content#versions). + +By default, any text in the body of the Markdown file will display for all product versions that you define in the `versions` key. ### Liquid conditional operators +If you define multiple products in the `versions` key within a page's YAML front matter, you can use the conditional operators `if`/`else` and `if`/`elsif`/`else` in the page's body to control how the site renders content on the page for a particular product. For example, a feature may have more options on Dotcom than on GitHub Enterprise Server, so you can version the content for both Dotcom and GitHub Enterprise Server via the `versions` front matter, then use Liquid conditionals to describe the additional options for Dotcom within the rendered HTML. + +Use the operators in Liquid tags (`{% ... %}`). Do not use `else if`. If you do, the content in that portion of the block will not render. + #### Comparison operators |Operator | Meaning| @@ -56,18 +84,9 @@ In statements where **at least one** operand must be true for the condition to b Do **not** use the operators `&&` or `||`. If you do, the content will not render in the intended versions. Only use `and` or `or`. -### Liquid conditional statements for GitHub Enterprise +### Liquid conditional statements for Dotcom -Use the custom `ver_gt` and `ver_lt` Liquid operators to conditionally include or exclude GitHub Enterprise content. - -- `ver_lt` stands for "version less than" -- `ver_gt` stands for "version" greater than" - -See the [Semantic Versioning specification](https://semver.org/#spec-item-11) for more details on version precedence. - -#### Including content in *all* supported versions - -If your content is included in all versions of Enterprise, you need not include any Liquid logic at all. The Markdown source will automatically generate the HTML content for all supported versions. +If the Markdown source's `versions` front matter includes Dotcom and you want the content to display for Dotcom, do not include any Liquid logic at all. Deploying the site will automatically generate the HTML content for Dotcom. #### Including content that *only applies to Dotcom* @@ -81,9 +100,32 @@ In this example: - `if currentVersion == "free-pro-team@latest"` will include the content for Dotcom output and *only* Dotcom. - `{% endif %}` ends the statement. -#### Including content for *new Dotcom features* that will be included in Enterprise +### Liquid conditional statements for GitHub Enterprise Server -If your content is describing a new feature that was added to GitHub.com and will be automatically included in the next release of GitHub Enterprise, use this logic: +Use the custom `ver_gt` and `ver_lt` Liquid operators to conditionally include or exclude GitHub Enterprise Server content. + +- `ver_lt` stands for "version less than" +- `ver_gt` stands for "version greater than" + +See the [Semantic Versioning specification](https://semver.org/#spec-item-11) for more details on version precedence. + +If the Markdown source's `versions` front matter includes a version or versions of GitHub Enterprise Server and you want the content to display for those versions of GitHub Enterprise Server, do not include any Liquid logic at all. Deploying the site will automatically generate the HTML content for the supported versions of GitHub Enterprise Server. + +#### Including content that *only applies to all supported versions of Enterprise Server* + +If your content only applies to Enterprise Server, and the content applies to all supported versions, such as subdomain isolation, use this logic: + +``` +{% if enterpriseServerVersions contains currentVersion %}Remember to isolate your subdomains, administrator.{% endif %} +``` + +In this example: +- `if enterpriseServerVersions contains currentVersion` checks to see if the version of the article you're viewing, `currentVersion`, is a supported version of Enterprise Server within an array of the supported versions of Enterprise Server, `enterpriseServerVersions`. +- `{% endif %}` ends the statement. + +#### Including content for *new Dotcom features* that will be included in Enterprise Server + +If your content is describing a new feature that was added to GitHub.com and will be automatically included in the next release of GitHub Enterprise Server, use this logic: ``` {% if currentVersion == "free-pro-team@latest" or currentVersion ver_gt "enterprise-server@2.21" %}This is a brand new feature, the likes of which have never been seen at this company before!{% endif %} @@ -92,10 +134,10 @@ If your content is describing a new feature that was added to GitHub.com and wil In this example: - `if currentVersion == "free-pro-team@latest"` will include the content for GitHub.com output. -- `or currentVersion ver_gt "enterprise-server@2.21"` will include the content for releases *after* Enterprise 2.21, which means the content will be included for 2.22+. +- `or currentVersion ver_gt "enterprise-server@2.21"` will include the content for releases *after* Enterprise Server 2.21, which means the content will be included for 2.22+. - `{% endif %}` ends the statement. -#### Including content for *changed* Dotcom features that will also change in Enterprise +#### Including content for *changed* Dotcom features that will also change in Enterprise Server If your content is describing a change to existing functionality in Dotcom, such as changed UI text or a more simple means of completing a task, use this logic: @@ -106,11 +148,11 @@ If your content is describing a change to existing functionality in Dotcom, such In this example: - `if currentVersion == "free-pro-team@latest"` will include the content for GitHub.com output. -- `or currentVersion ver_gt "enterprise-server@2.21"` will include the content for releases *after* Enterprise 2.21, which means the content will be included for 2.22+. +- `or currentVersion ver_gt "enterprise-server@2.21"` will include the content for releases *after* Enterprise Server 2.21, which means the content will be included for 2.22+. - `{% else %}` means if the above is NOT true, then display the content that follows, `This is the old way of doing things`. - `{% endif %}` ends the statement. -#### Including content for *changed* Dotcom features that will also change in Enterprise but don't exist in some older versions +#### Including content for *changed* Dotcom features that will also change in Enterprise Server but don't exist in some older versions If your content is describing a change to existing functionality in Dotcom, and that functionality doesn't exist in all older Enterprise versions, use logic like this: @@ -129,35 +171,78 @@ This is the old way of doing things (which did not exist before 2.20). In this example: - `if currentVersion == "free-pro-team@latest"` will include the content for GitHub.com output. -- `or currentVersion ver_gt "enterprise-server@2.20"` will include the content for releases *after* Enterprise 2.20, which means the content will be included for 2.21+. +- `or currentVersion ver_gt "enterprise-server@2.20"` will include the content for releases *after* Enterprise Server 2.20, which means the content will be included for 2.21+. - `elsif currentVersion ver_gt "enterprise-server@2.19" and currentVersion ver_lt "enterprise-server@2.21"` means if the above is NOT true, and the version is 2.20, then display the content that follows, `This is the old way of doing things`. No content will be displayed for versions older than 2.20. - `{% endif %}` ends the statement. -#### Including content for *new Enterprise features* that don't exist on Dotcom +#### Including content for *new Enterprise Server features* that don't exist on Dotcom -If your content is describing a new feature that was added to GitHub Enterprise but not GitHub, such as LDAP support, use this logic: +If your content is describing a new feature that was added to GitHub Enterprise Server but not GitHub, such as LDAP support, use this logic: ``` -{% if currentVersion != "free-pro-team@latest" and currentVersion ver_gt "enterprise-server@2.21" %}This is a brand new feature, admin-type people!{% endif %} +{% if currentVersion ver_gt "enterprise-server@2.21" %}This is a brand new feature, admin-type people!{% endif %} ``` In this example: - `if currentVersion != "free-pro-team@latest"` will exclude the content for GitHub.com output. -- `and currentVersion ver_gt "enterprise-server@2.21"` will *additionally* include the content for releases *after* Enterprise 2.21, which means the content will be included for 2.22+. +- `and currentVersion ver_gt "enterprise-server@2.21"` will *additionally* include the content for releases *after* Enterprise Server 2.21, which means the content will be included for 2.22+. - `{% endif %}` ends the statement. -#### Including content for *changed Enterprise features* that don't exist on Dotcom +#### Including content for *changed Enterprise Server features* that don't exist on Dotcom -If your content is describing a change to existing functionality in GitHub Enterprise, such as changed UI text or a more simple means of completing a task in the Management Console, use this logic: +If your content is describing a change to existing functionality in GitHub Enterprise Server, such as changed UI text or a more simple means of completing a task in the Management Console, use this logic: ``` -{% if currentVersion != "free-pro-team@latest" and currentVersion ver_gt "enterprise-server@2.21" %}This is the new way of doing things, admins! {% else %}This is the old way of doing things, admins! {% endif %} +{% if currentVersion ver_gt "enterprise-server@2.21" %}This is the new way of doing things, admins! {% else %}This is the old way of doing things, admins! {% endif %} ``` In this example: - `if currentVersion != "free-pro-team@latest"` will exclude the content for GitHub.com output. -- `and currentVersion ver_gt "enterprise-server@2.21"` will *additionally* include the content for releases *after* Enterprise 2.21, which means the content will be included for 2.22+. +- `and currentVersion ver_gt "enterprise-server@2.21"` will *additionally* include the content for releases *after* Enterprise Server 2.21, which means the content will be included for 2.22+. - `{% else %}` means if the above is NOT true, then display the content that follows, `This is the old way of doing things, admins!`. - `{% endif %}` ends the statement. + +### Liquid conditional statements for GitHub AE + +If the Markdown source's `versions` front matter includes GitHub AE and you want the content to display for GitHub AE, do not include any Liquid logic at all. Deployment of the site will automatically generate the HTML content for GitHub AE. + +#### Including content that *only applies to GitHub AE* + +If your content only applies to GitHub AE, use this logic: + +``` +{% if currentVersion == "github-ae@latest" %}This content describes something you can only do on GitHub AE.{% endif %} +``` + +In this example: +- `if currentVersion == "github-ae@latest"` will include the content for GitHub AE output and *only* GitHub AE. +- `{% endif %}` ends the statement. + +#### Including content that *only applies to GitHub AE and Enterprise Server* + +If your content only applies to GitHub AE and all supported versions of GitHub Enterprise Server, use this logic: + +``` +{% if enterpriseServerVersions contains currentVersion or currentVersion == "github-ae@latest" %}This content describes something you can only do on GitHub Enterprise Server or GitHub AE.{% endif %} +``` + +In this example: +- `if enterpriseServerVersions contains currentVersion` will include the content for all supported versions of GitHub Enterprise Server. +- `or currentVersion == "github-ae@latest"` will include the content for GitHub AE output. +- `{% endif %}` ends the statement. + +#### Including content for features that will be included in the *next release* of GitHub AE + +If your content is describing a feature that will be included in the next release of GitHub AE, you can use a placeholder version string, `github-ae@next`. Before the next GitHub AE release, replace the instances of the placeholder with `github-ae@latest`. For example, you can use this logic: + +``` +{% if currentVersion == "free-pro-team@latest" or currentVersion == "github-ae@next" %}This is a brand new feature, the likes of which have never been seen at this company before!{% endif %} +``` + +In this example: + +- `if currentVersion == "free-pro-team@latest"` will include the content for GitHub.com output. +- `or currentVersion == "github-ae@next"` indicates that the content should also appear for the next release of GitHub AE, when we replace any instances of `github-ae@next` with `github-ae@latest`. +- `{% endif %}` ends the statement. diff --git a/contributing/search.md b/contributing/search.md index 093a419341..aad358bdf0 100644 --- a/contributing/search.md +++ b/contributing/search.md @@ -14,9 +14,26 @@ To see all existing search-related issues and pull requests, visit [github.com/g ## How to search -The site search is part of every version of docs.github.com. On any page, you can use the search box to search the documents we've indexed. -You can also query our search endpoint directly at: https://docs.github.com/search?language=en&version=dotcom&query=jekyll -This endpoint responds in JSON format, and fronts Algolia and Lunr. We recommend using this endpoint over directly integrating with Algolia or Lunr, as the endpoint will be more stable. +The site search is part of every version of docs.github.com. This endpoint responds in JSON format, and fronts Algolia and Lunr. We recommend using this endpoint over directly integrating with Algolia or Lunr, as the endpoint will be more stable. On any page, you can use the search box to search the documents we've indexed. +You can also query our search endpoint directly at: +`https://docs.github.com/search?version=&language=&filters=topics:&query=` + +- The VERSION can be any numbered GitHub Enterprise Server version (e.g., `2.22`, `3.0`), GitHub AE (`ghae`), or the Free pro team plan (`dotcom`). +- The LANGUAGE CODE can be: `cn`, `de`, `en`, `es`, `ja`, or `pt`. +- TOPIC can be any topics in [the allowed list of topics](/data/allowed-topics.js). The values in the `topics` attribute are **not** case sensitive, so filtering on `GitHub actions` or `github actions` will return the same result. **Note:** Currently, the topics filter only works for the dotcom version in the English language. We plan to expand this search query to other languages and versions in the future. +- Any search QUERY you'd like. + +For example, to filter on the topic `ssh` and the query `passphrases`, you'd use this search query: + +https://docs.github.com/search?version=dotcom&language=en&filters=topics:ssh&query=passphrases + +To filter for the topics `oauth apps` and `github apps` and the query `install`, you'd use this search query: + +https://docs.github.com/search?version=dotcom&language=en&filters=topics:'oauth apps'+AND+topics:'github apps'&query=install + +### Using the topics search filter + +Using the attribute `topics` in your query will only return results that have the matching topic value. The `topics` attribute is configured as a [`filter only` facet in Algolia](https://www.algolia.com/doc/guides/managing-results/refine-results/filtering/). When the topic contains spaces, you must use quotes. For Algolia, [here](https://www.algolia.com/doc/api-reference/api-parameters/filters/#handle-attributes-with-spaces) is an example for filters containing spaces. Algolia also requires [boolean operators](https://www.algolia.com/doc/api-reference/api-parameters/filters) to combine more than one filter. ## Production deploys @@ -116,7 +133,7 @@ Each record represents a section of a page. Sections are derived by splitting up ```js { objectID: '/en/actions/creating-actions/about-actions#about-actions', - url: 'https://help.github.com/en/actions/creating-actions/about-actions#about-actions', + url: 'https://docs.github.com/en/actions/creating-actions/about-actions#about-actions', slug: 'about-actions', breadcrumbs: 'GitHub Actions / Creating actions / About actions', heading: 'About actions', diff --git a/data/allowed-topics.js b/data/allowed-topics.js new file mode 100644 index 0000000000..a309eccd03 --- /dev/null +++ b/data/allowed-topics.js @@ -0,0 +1,84 @@ +// This is an AllowList of topics that are approved for use in `topics` +// frontmatter property. If a new topic is added to a Markdown file it must +// also be added to this file. + +// The purpose of this list is to ensure we prevent typos and put a process in +// place to keep a curated list of topics. This list also serves as a list of +// available topics filters when using the search endpoint +// (see /contributing/search#how-to-search) +// If you'd like to add a new topic, consult the topic guidelines in the +// content model, add the entry to this list, and ensure you loop in the +// content and/or content strategy team for review. + +module.exports = [ + '2fa', + 'Action development', + 'Amazon ECS', + 'Ant', + 'Azure App Service', + 'Azure Pipelines', + 'CD', + 'CI', + 'CircleCI', + 'Containers', + 'Docker', + 'Fundamentals', + 'GitLab', + 'Google Kubernetes Engine', + 'Gradle', + 'Java', + 'JavaScript', + 'Jenkins', + 'Maven', + 'Migration', + 'Node', + 'Packaging', + 'Powershell', + 'Project management', + 'Publishing', + 'Python', + 'Ruby', + 'Security', + 'Travis CI', + 'Workflows', + 'access management', + 'accounts', + 'api', + 'billing', + 'cli', + 'codespaces', + 'community', + 'desktop', + 'device verification', + 'early access', + 'enterprise', + 'events', + 'github', + 'github apps', + 'github search', + 'identity', + 'issues', + 'jobs', + 'legal', + 'marketplace', + 'mobile', + 'notifications', + 'oauth apps', + 'open source', + 'organizations', + 'pages', + 'permissions', + 'policy', + 'profile', + 'profiles', + 'projects', + 'pull requests', + 'repositories', + 'security', + 'sponsors', + 'ssh', + 'sso', + 'teams', + 'usernames', + 'webhooks' +] diff --git a/data/graphql/ghae/schema.docs-ghae.graphql b/data/graphql/ghae/schema.docs-ghae.graphql index 6a3e96c2a1..669ecdcb85 100644 --- a/data/graphql/ghae/schema.docs-ghae.graphql +++ b/data/graphql/ghae/schema.docs-ghae.graphql @@ -593,6 +593,41 @@ type AddStarPayload { starrable: Starrable } +""" +Autogenerated input type of AddVerifiableDomain +""" +input AddVerifiableDomainInput { + """ + A unique identifier for the client performing the mutation. + """ + clientMutationId: String + + """ + The URL of the domain + """ + domain: URI! + + """ + The ID of the owner to add the domain to + """ + ownerId: ID! @possibleTypes(concreteTypes: ["Enterprise", "Organization"], abstractType: "VerifiableDomainOwner") +} + +""" +Autogenerated return type of AddVerifiableDomain +""" +type AddVerifiableDomainPayload { + """ + A unique identifier for the client performing the mutation. + """ + clientMutationId: String + + """ + The verifiable domain that was added. + """ + domain: VerifiableDomain +} + """ Represents a 'added_to_project' event on a given issue or pull request. """ @@ -685,6 +720,36 @@ type App implements Node { url: URI! } +""" +Autogenerated input type of ApproveVerifiableDomain +""" +input ApproveVerifiableDomainInput { + """ + A unique identifier for the client performing the mutation. + """ + clientMutationId: String + + """ + The ID of the verifiable domain to approve. + """ + id: ID! @possibleTypes(concreteTypes: ["VerifiableDomain"]) +} + +""" +Autogenerated return type of ApproveVerifiableDomain +""" +type ApproveVerifiableDomainPayload { + """ + A unique identifier for the client performing the mutation. + """ + clientMutationId: String + + """ + The verifiable domain that was approved. + """ + domain: VerifiableDomain +} + """ Autogenerated input type of ArchiveRepository """ @@ -2010,7 +2075,7 @@ enum CheckConclusionState { """ A check run. """ -type CheckRun implements Node & UniformResourceLocatable { +type CheckRun implements Node & RequirableByPullRequest & UniformResourceLocatable { """ The check run's annotations """ @@ -2067,6 +2132,21 @@ type CheckRun implements Node & UniformResourceLocatable { externalId: String id: ID! + """ + Whether this is required to pass before merging for a specific pull request. + """ + isRequired( + """ + The id of the pull request this is required for + """ + pullRequestId: ID + + """ + The number of the pull request this is required for + """ + pullRequestNumber: Int + ): Boolean! + """ The name of the check for this check run. """ @@ -6536,6 +6616,36 @@ type DeleteTeamDiscussionPayload { clientMutationId: String } +""" +Autogenerated input type of DeleteVerifiableDomain +""" +input DeleteVerifiableDomainInput { + """ + A unique identifier for the client performing the mutation. + """ + clientMutationId: String + + """ + The ID of the verifiable domain to delete. + """ + id: ID! @possibleTypes(concreteTypes: ["VerifiableDomain"]) +} + +""" +Autogenerated return type of DeleteVerifiableDomain +""" +type DeleteVerifiableDomainPayload { + """ + A unique identifier for the client performing the mutation. + """ + clientMutationId: String + + """ + The owning account from which the domain was deleted. + """ + owner: VerifiableDomainOwner +} + """ Represents a 'demilestoned' event on a given issue or pull request. """ @@ -8255,6 +8365,41 @@ type EnterpriseOwnerInfo { value: DefaultRepositoryPermissionField! ): OrganizationConnection! + """ + A list of domains owned by the enterprise. + """ + domains( + """ + Returns the elements in the list that come after the specified cursor. + """ + after: String + + """ + Returns the elements in the list that come before the specified cursor. + """ + before: String + + """ + Returns the first _n_ elements from the list. + """ + first: Int + + """ + Filter whether or not the domain is verified. + """ + isVerified: Boolean = null + + """ + Returns the last _n_ elements from the list. + """ + last: Int + + """ + Ordering options for verifiable domains returned. + """ + orderBy: VerifiableDomainOrder = {field: DOMAIN, direction: ASC} + ): VerifiableDomainConnection! + """ The setting value for whether the enterprise has an IP allow list enabled. """ @@ -9119,7 +9264,7 @@ type EnterpriseRepositoryInfo implements Node { id: ID! """ - Identifies if the repository is private. + Identifies if the repository is private or internal. """ isPrivate: Boolean! @@ -14319,6 +14464,26 @@ type Mutation { input: AddStarInput! ): AddStarPayload + """ + Adds a verifiable domain to an owning account. + """ + addVerifiableDomain( + """ + Parameters for AddVerifiableDomain + """ + input: AddVerifiableDomainInput! + ): AddVerifiableDomainPayload + + """ + Approve a verifiable domain for notification delivery. + """ + approveVerifiableDomain( + """ + Parameters for ApproveVerifiableDomain + """ + input: ApproveVerifiableDomainInput! + ): ApproveVerifiableDomainPayload + """ Marks a repository as archived. """ @@ -14699,6 +14864,16 @@ type Mutation { input: DeleteTeamDiscussionCommentInput! ): DeleteTeamDiscussionCommentPayload + """ + Deletes a verifiable domain. + """ + deleteVerifiableDomain( + """ + Parameters for DeleteVerifiableDomain + """ + input: DeleteVerifiableDomainInput! + ): DeleteVerifiableDomainPayload + """ Disable auto merge on the given pull request """ @@ -14849,6 +15024,16 @@ type Mutation { input: PinIssueInput! ): PinIssuePayload + """ + Regenerates a verifiable domain's verification token. + """ + regenerateVerifiableDomainToken( + """ + Parameters for RegenerateVerifiableDomainToken + """ + input: RegenerateVerifiableDomainTokenInput! + ): RegenerateVerifiableDomainTokenPayload + """ Removes assignees from an assignable object. """ @@ -15299,6 +15484,16 @@ type Mutation { input: UpdateLabelInput! ): UpdateLabelPayload @preview(toggledBy: "bane-preview") + """ + Update the setting to restrict notifications to only verified domains available to an owner. + """ + updateNotificationRestrictionSetting( + """ + Parameters for UpdateNotificationRestrictionSetting + """ + input: UpdateNotificationRestrictionSettingInput! + ): UpdateNotificationRestrictionSettingPayload + """ Updates an existing project. """ @@ -15455,6 +15650,16 @@ type Mutation { """ input: UpdateTopicsInput! ): UpdateTopicsPayload + + """ + Verify that a verifiable domain has the expected DNS record. + """ + verifyVerifiableDomain( + """ + Parameters for VerifyVerifiableDomain + """ + input: VerifyVerifiableDomainInput! + ): VerifyVerifiableDomainPayload } """ @@ -15467,6 +15672,21 @@ interface Node { id: ID! } +""" +The possible values for the notification restriction setting. +""" +enum NotificationRestrictionSettingValue { + """ + The setting is disabled for the owner. + """ + DISABLED + + """ + The setting is enabled for the owner. + """ + ENABLED +} + """ Metadata for an audit entry with action oauth_application.* """ @@ -18727,6 +18947,41 @@ type Organization implements Actor & MemberStatusable & Node & ProfileOwner & Pr """ descriptionHTML: String + """ + A list of domains owned by the organization. + """ + domains( + """ + Returns the elements in the list that come after the specified cursor. + """ + after: String + + """ + Returns the elements in the list that come before the specified cursor. + """ + before: String + + """ + Returns the first _n_ elements from the list. + """ + first: Int + + """ + Filter by if the domain is verified. + """ + isVerified: Boolean = null + + """ + Returns the last _n_ elements from the list. + """ + last: Int + + """ + Ordering options for verifiable domains returned. + """ + orderBy: VerifiableDomainOrder = {field: DOMAIN, direction: ASC} + ): VerifiableDomainConnection + """ The organization's public email. """ @@ -18769,7 +19024,7 @@ type Organization implements Actor & MemberStatusable & Node & ProfileOwner & Pr ): IpAllowListEntryConnection! """ - Whether the organization has verified its profile email and website, always false on Enterprise. + Whether the organization has verified its profile email and website. """ isVerified: Boolean! @@ -18859,6 +19114,11 @@ type Organization implements Actor & MemberStatusable & Node & ProfileOwner & Pr """ newTeamUrl: URI! + """ + Indicates if email notification delivery for this organization is restricted to verified domains. + """ + notificationDeliveryRestrictionEnabledSetting: NotificationRestrictionSettingValue! + """ The billing email for the organization. """ @@ -22048,6 +22308,16 @@ type PullRequest implements Assignable & Closable & Comment & Labelable & Lockab """ viewerDidAuthor: Boolean! + """ + The latest review given from the viewer. + """ + viewerLatestReview: PullRequestReview + + """ + The person who has requested the viewer for review on this pull request. + """ + viewerLatestReviewRequest: ReviewRequest + """ The merge body text for the viewer and method. """ @@ -24691,6 +24961,11 @@ type RefUpdateRule { """ requiredStatusCheckContexts: [String] + """ + Are reviews from code owners required to update matching branches. + """ + requiresCodeOwnerReviews: Boolean! + """ Are merge commits prohibited from being pushed to this branch. """ @@ -24701,6 +24976,11 @@ type RefUpdateRule { """ requiresSignatures: Boolean! + """ + Is the viewer allowed to dismiss reviews. + """ + viewerAllowedToDismissReviews: Boolean! + """ Can the viewer push to the branch """ @@ -24753,6 +25033,36 @@ Any referencable object """ union ReferencedSubject = Issue | PullRequest +""" +Autogenerated input type of RegenerateVerifiableDomainToken +""" +input RegenerateVerifiableDomainTokenInput { + """ + A unique identifier for the client performing the mutation. + """ + clientMutationId: String + + """ + The ID of the verifiable domain to regenerate the verification token of. + """ + id: ID! @possibleTypes(concreteTypes: ["VerifiableDomain"]) +} + +""" +Autogenerated return type of RegenerateVerifiableDomainToken +""" +type RegenerateVerifiableDomainTokenPayload { + """ + A unique identifier for the client performing the mutation. + """ + clientMutationId: String + + """ + The verification token that was generated. + """ + verificationToken: String +} + """ A release contains the content for a release. """ @@ -28112,7 +28422,7 @@ type Repository implements Node & ProjectOwner & RepositoryInfo & Starrable & Su isMirror: Boolean! """ - Identifies if the repository is private. + Identifies if the repository is private or internal. """ isPrivate: Boolean! @@ -29181,7 +29491,7 @@ interface RepositoryInfo { isMirror: Boolean! """ - Identifies if the repository is private. + Identifies if the repository is private or internal. """ isPrivate: Boolean! @@ -30068,6 +30378,26 @@ Types that can be requested reviewers. """ union RequestedReviewer = Mannequin | Team | User +""" +Represents a type that can be required by a pull request for merging. +""" +interface RequirableByPullRequest { + """ + Whether this is required to pass before merging for a specific pull request. + """ + isRequired( + """ + The id of the pull request this is required for + """ + pullRequestId: ID + + """ + The number of the pull request this is required for + """ + pullRequestNumber: Int + ): Boolean! +} + """ Autogenerated input type of RerequestCheckSuite """ @@ -31557,7 +31887,7 @@ type StatusCheckRollupContextEdge { """ Represents an individual commit status context """ -type StatusContext implements Node { +type StatusContext implements Node & RequirableByPullRequest { """ The avatar of the OAuth application or the user that created the status """ @@ -31594,6 +31924,21 @@ type StatusContext implements Node { description: String id: ID! + """ + Whether this is required to pass before merging for a specific pull request. + """ + isRequired( + """ + The id of the pull request this is required for + """ + pullRequestId: ID + + """ + The number of the pull request this is required for + """ + pullRequestNumber: Int + ): Boolean! + """ The state of this status context. """ @@ -35762,6 +36107,41 @@ type UpdateLabelPayload @preview(toggledBy: "bane-preview") { label: Label } +""" +Autogenerated input type of UpdateNotificationRestrictionSetting +""" +input UpdateNotificationRestrictionSettingInput { + """ + A unique identifier for the client performing the mutation. + """ + clientMutationId: String + + """ + The ID of the owner on which to set the restrict notifications setting. + """ + ownerId: ID! @possibleTypes(concreteTypes: ["Enterprise", "Organization"], abstractType: "VerifiableDomainOwner") + + """ + The value for the restrict notifications setting. + """ + settingValue: NotificationRestrictionSettingValue! +} + +""" +Autogenerated return type of UpdateNotificationRestrictionSetting +""" +type UpdateNotificationRestrictionSettingPayload { + """ + A unique identifier for the client performing the mutation. + """ + clientMutationId: String + + """ + The owner on which the setting was updated. + """ + owner: VerifiableDomainOwner +} + """ Autogenerated input type of UpdateProjectCard """ @@ -37797,11 +38177,111 @@ type VerifiableDomain implements Node { verificationToken: String } +""" +The connection type for VerifiableDomain. +""" +type VerifiableDomainConnection { + """ + A list of edges. + """ + edges: [VerifiableDomainEdge] + + """ + A list of nodes. + """ + nodes: [VerifiableDomain] + + """ + Information to aid in pagination. + """ + pageInfo: PageInfo! + + """ + Identifies the total count of items in the connection. + """ + totalCount: Int! +} + +""" +An edge in a connection. +""" +type VerifiableDomainEdge { + """ + A cursor for use in pagination. + """ + cursor: String! + + """ + The item at the end of the edge. + """ + node: VerifiableDomain +} + +""" +Ordering options for verifiable domain connections. +""" +input VerifiableDomainOrder { + """ + The ordering direction. + """ + direction: OrderDirection! + + """ + The field to order verifiable domains by. + """ + field: VerifiableDomainOrderField! +} + +""" +Properties by which verifiable domain connections can be ordered. +""" +enum VerifiableDomainOrderField { + """ + Order verifiable domains by their creation date. + """ + CREATED_AT + + """ + Order verifiable domains by the domain name. + """ + DOMAIN +} + """ Types that can own a verifiable domain. """ union VerifiableDomainOwner = Enterprise | Organization +""" +Autogenerated input type of VerifyVerifiableDomain +""" +input VerifyVerifiableDomainInput { + """ + A unique identifier for the client performing the mutation. + """ + clientMutationId: String + + """ + The ID of the verifiable domain to verify. + """ + id: ID! @possibleTypes(concreteTypes: ["VerifiableDomain"]) +} + +""" +Autogenerated return type of VerifyVerifiableDomain +""" +type VerifyVerifiableDomainPayload { + """ + A unique identifier for the client performing the mutation. + """ + clientMutationId: String + + """ + The verifiable domain that was verified. + """ + domain: VerifiableDomain +} + """ A hovercard context with a message describing how the viewer is related. """ diff --git a/data/graphql/schema.docs.graphql b/data/graphql/schema.docs.graphql index c83afc9249..6ef5ff6e9d 100644 --- a/data/graphql/schema.docs.graphql +++ b/data/graphql/schema.docs.graphql @@ -2165,7 +2165,7 @@ enum CheckConclusionState { """ A check run. """ -type CheckRun implements Node & UniformResourceLocatable { +type CheckRun implements Node & RequirableByPullRequest & UniformResourceLocatable { """ The check run's annotations """ @@ -2222,6 +2222,21 @@ type CheckRun implements Node & UniformResourceLocatable { externalId: String id: ID! + """ + Whether this is required to pass before merging for a specific pull request. + """ + isRequired( + """ + The id of the pull request this is required for + """ + pullRequestId: ID + + """ + The number of the pull request this is required for + """ + pullRequestNumber: Int + ): Boolean! + """ The name of the check for this check run. """ @@ -9650,7 +9665,7 @@ type EnterpriseRepositoryInfo implements Node { id: ID! """ - Identifies if the repository is private. + Identifies if the repository is private or internal. """ isPrivate: Boolean! @@ -20179,7 +20194,7 @@ type Organization implements Actor & MemberStatusable & Node & PackageOwner & Pr isSponsoringViewer: Boolean! """ - Whether the organization has verified its profile email and website, always false on Enterprise. + Whether the organization has verified its profile email and website. """ isVerified: Boolean! @@ -24047,6 +24062,16 @@ type PullRequest implements Assignable & Closable & Comment & Labelable & Lockab """ viewerDidAuthor: Boolean! + """ + The latest review given from the viewer. + """ + viewerLatestReview: PullRequestReview + + """ + The person who has requested the viewer for review on this pull request. + """ + viewerLatestReviewRequest: ReviewRequest + """ The merge body text for the viewer and method. """ @@ -26865,6 +26890,11 @@ type RefUpdateRule { """ requiredStatusCheckContexts: [String] + """ + Are reviews from code owners required to update matching branches. + """ + requiresCodeOwnerReviews: Boolean! + """ Are merge commits prohibited from being pushed to this branch. """ @@ -26875,6 +26905,11 @@ type RefUpdateRule { """ requiresSignatures: Boolean! + """ + Is the viewer allowed to dismiss reviews. + """ + viewerAllowedToDismissReviews: Boolean! + """ Can the viewer push to the branch """ @@ -30511,7 +30546,7 @@ type Repository implements Node & PackageOwner & ProjectOwner & RepositoryInfo & isMirror: Boolean! """ - Identifies if the repository is private. + Identifies if the repository is private or internal. """ isPrivate: Boolean! @@ -31620,7 +31655,7 @@ interface RepositoryInfo { isMirror: Boolean! """ - Identifies if the repository is private. + Identifies if the repository is private or internal. """ isPrivate: Boolean! @@ -32602,6 +32637,26 @@ Types that can be requested reviewers. """ union RequestedReviewer = Mannequin | Team | User +""" +Represents a type that can be required by a pull request for merging. +""" +interface RequirableByPullRequest { + """ + Whether this is required to pass before merging for a specific pull request. + """ + isRequired( + """ + The id of the pull request this is required for + """ + pullRequestId: ID + + """ + The number of the pull request this is required for + """ + pullRequestNumber: Int + ): Boolean! +} + """ Autogenerated input type of RerequestCheckSuite """ @@ -34765,7 +34820,7 @@ type StatusCheckRollupContextEdge { """ Represents an individual commit status context """ -type StatusContext implements Node { +type StatusContext implements Node & RequirableByPullRequest { """ The avatar of the OAuth application or the user that created the status """ @@ -34802,6 +34857,21 @@ type StatusContext implements Node { description: String id: ID! + """ + Whether this is required to pass before merging for a specific pull request. + """ + isRequired( + """ + The id of the pull request this is required for + """ + pullRequestId: ID + + """ + The number of the pull request this is required for + """ + pullRequestNumber: Int + ): Boolean! + """ The state of this status context. """ diff --git a/data/products.yml b/data/products.yml index e49c18cf2d..b598d00c18 100644 --- a/data/products.yml +++ b/data/products.yml @@ -5,6 +5,7 @@ productsInOrder: - github - admin - discussions + - code-security - actions - packages - developers diff --git a/data/release-notes/2-21/0.yml b/data/release-notes/2-21/0.yml index 6bb9fb5cb8..8aaf343503 100644 --- a/data/release-notes/2-21/0.yml +++ b/data/release-notes/2-21/0.yml @@ -69,3 +69,4 @@ sections: - 'When "Users can search GitHub.com" is enabled with GitHub Connect, issues in private and internal repositories are not included in GitHub.com search results. {% comment %} https://github.com/github/admin-experience/issues/571 {% endcomment %}' - 'Security alerts are not reported when pushing to a repository on the command line. (updated 2020-06-23) {% comment %} https://github.com/github/github/issues/143190 {% endcomment %}' - 'Audit logs may be attributed to 127.0.0.1 instead of the actual source IP address. (updated 2020-11-02) {% comment %} https://github.com/github/enterprise2/issues/21514 {% endcomment %}' + - "Configuring a repository's permission to `Triage` or `Maintain` fails with an error message." diff --git a/data/release-notes/2-21/1.yml b/data/release-notes/2-21/1.yml index 5f5e6f7797..deafcf031f 100644 --- a/data/release-notes/2-21/1.yml +++ b/data/release-notes/2-21/1.yml @@ -17,3 +17,4 @@ sections: - 'When "Users can search GitHub.com" is enabled with GitHub Connect, issues in private and internal repositories are not included in GitHub.com search results. {% comment %} https://github.com/github/admin-experience/issues/571 {% endcomment %}' - 'Security alerts are not reported when pushing to a repository on the command line. {% comment %} https://github.com/github/github/issues/143190 {% endcomment %}' - 'Audit logs may be attributed to 127.0.0.1 instead of the actual source IP address. (updated 2020-11-02) {% comment %} https://github.com/github/enterprise2/issues/21514 {% endcomment %}' + - "Configuring a repository's permission to `Triage` or `Maintain` fails with an error message." diff --git a/data/release-notes/2-21/16.yml b/data/release-notes/2-21/16.yml new file mode 100644 index 0000000000..ac4c83fe6d --- /dev/null +++ b/data/release-notes/2-21/16.yml @@ -0,0 +1,13 @@ +date: '2021-03-16' +sections: + security_fixes: + - Packages have been updated to the latest security versions. + bugs: + - Importing of repository archives from GitHub Enterprise Server that are missing repository files would fail with an error. + known_issues: + - On a freshly set up GitHub Enterprise Server without any users, an attacker could create the first admin user. + - Custom firewall rules are not maintained during an upgrade. + - Git LFS tracked files [uploaded through the web interface](https://github.com/blog/2105-upload-files-to-your-repositories) are incorrectly added directly to the repository. + - Issues cannot be closed if they contain a permalink to a blob in the same repository where the file path is longer than 255 characters. + - When "Users can search GitHub.com" is enabled with GitHub Connect, issues in private and internal repositories are not included in GitHub.com search results. + - Security alerts are not reported when pushing to a repository on the command line. diff --git a/data/release-notes/2-21/17.yml b/data/release-notes/2-21/17.yml new file mode 100644 index 0000000000..d9d3f781bd --- /dev/null +++ b/data/release-notes/2-21/17.yml @@ -0,0 +1,17 @@ +date: '2021-03-23' +sections: + security_fixes: + - '**HIGH:** A remote code execution vulnerability was identified in GitHub Enterprise Server that could be exploited when building a GitHub Pages site. User-controlled configuration options used by GitHub Pages were not sufficiently restricted and made it possible to override environment variables leading to code execution on the GitHub Enterprise Server instance. To exploit this vulnerability, an attacker would need permission to create and build a GitHub Pages site on the GitHub Enterprise Server instance. This vulnerability affected all versions of GitHub Enterprise Server prior to 3.0.3 and was fixed in 3.0.3, 2.22.9, and 2.21.17. This vulnerability was reported via the GitHub Bug Bounty program and has been assigned CVE-2021-22864.' + - Packages have been updated to the latest security versions. + bugs: + - The `ghe-cluster-config-init` run was not fully accounting for the exit code of background jobs leading to improper handling of preflight checks. + changes: + - Logs will rotate based on size in addition to time. + - Use a relative number for consul and nomad `bootstrap_expect` allowing for a cluster to bootstrap even if a handful of nodes are down. + known_issues: + - On a freshly set up GitHub Enterprise Server without any users, an attacker could create the first admin user. + - Custom firewall rules are not maintained during an upgrade. + - Git LFS tracked files [uploaded through the web interface](https://github.com/blog/2105-upload-files-to-your-repositories) are incorrectly added directly to the repository. + - Issues cannot be closed if they contain a permalink to a blob in the same repository where the file path is longer than 255 characters. + - When "Users can search GitHub.com" is enabled with GitHub Connect, issues in private and internal repositories are not included in GitHub.com search results. + - Security alerts are not reported when pushing to a repository on the command line. diff --git a/data/release-notes/2-21/2.yml b/data/release-notes/2-21/2.yml index 6a53b827e1..e2ebe43f81 100644 --- a/data/release-notes/2-21/2.yml +++ b/data/release-notes/2-21/2.yml @@ -17,3 +17,4 @@ sections: - 'When "Users can search GitHub.com" is enabled with GitHub Connect, issues in private and internal repositories are not included in GitHub.com search results. {% comment %} https://github.com/github/admin-experience/issues/571 {% endcomment %}' - 'Security alerts are not reported when pushing to a repository on the command line. {% comment %} https://github.com/github/github/issues/143190 {% endcomment %}' - 'Audit logs may be attributed to 127.0.0.1 instead of the actual source IP address. (updated 2020-11-02) {% comment %} https://github.com/github/enterprise2/issues/21514 {% endcomment %}' + - "Configuring a repository's permission to `Triage` or `Maintain` fails with an error message." diff --git a/data/release-notes/2-21/3.yml b/data/release-notes/2-21/3.yml index c7f17686e5..b9f06ad896 100644 --- a/data/release-notes/2-21/3.yml +++ b/data/release-notes/2-21/3.yml @@ -14,3 +14,4 @@ sections: - 'When "Users can search GitHub.com" is enabled with GitHub Connect, issues in private and internal repositories are not included in GitHub.com search results. {% comment %} https://github.com/github/admin-experience/issues/571 {% endcomment %}' - 'Security alerts are not reported when pushing to a repository on the command line. {% comment %} https://github.com/github/github/issues/143190 {% endcomment %}' - 'Audit logs may be attributed to 127.0.0.1 instead of the actual source IP address. (updated 2020-11-02) {% comment %} https://github.com/github/enterprise2/issues/21514 {% endcomment %}' + - "Configuring a repository's permission to `Triage` or `Maintain` fails with an error message." diff --git a/data/release-notes/2-21/4.yml b/data/release-notes/2-21/4.yml index b73e682200..d3cded02fc 100644 --- a/data/release-notes/2-21/4.yml +++ b/data/release-notes/2-21/4.yml @@ -24,3 +24,4 @@ sections: - 'When "Users can search GitHub.com" is enabled with GitHub Connect, issues in private and internal repositories are not included in GitHub.com search results. {% comment %} https://github.com/github/admin-experience/issues/571 {% endcomment %}' - 'Security alerts are not reported when pushing to a repository on the command line. {% comment %} https://github.com/github/github/issues/143190 {% endcomment %}' - 'Audit logs may be attributed to 127.0.0.1 instead of the actual source IP address. (updated 2020-11-02) {% comment %} https://github.com/github/enterprise2/issues/21514 {% endcomment %}' + - "Configuring a repository's permission to `Triage` or `Maintain` fails with an error message." diff --git a/data/release-notes/2-21/5.yml b/data/release-notes/2-21/5.yml index 21942a85b6..b5ddf7652f 100644 --- a/data/release-notes/2-21/5.yml +++ b/data/release-notes/2-21/5.yml @@ -12,3 +12,4 @@ sections: - 'When "Users can search GitHub.com" is enabled with GitHub Connect, issues in private and internal repositories are not included in GitHub.com search results. {% comment %} https://github.com/github/admin-experience/issues/571 {% endcomment %}' - 'Security alerts are not reported when pushing to a repository on the command line. {% comment %} https://github.com/github/github/issues/143190 {% endcomment %}' - 'Audit logs may be attributed to 127.0.0.1 instead of the actual source IP address. (updated 2020-11-02) {% comment %} https://github.com/github/enterprise2/issues/21514 {% endcomment %}' + - "Configuring a repository's permission to `Triage` or `Maintain` fails with an error message." diff --git a/data/release-notes/2-21/6.yml b/data/release-notes/2-21/6.yml index 8638d1d9cd..03c71afb3a 100644 --- a/data/release-notes/2-21/6.yml +++ b/data/release-notes/2-21/6.yml @@ -24,3 +24,4 @@ sections: - 'When "Users can search GitHub.com" is enabled with GitHub Connect, issues in private and internal repositories are not included in GitHub.com search results. {% comment %} https://github.com/github/admin-experience/issues/571 {% endcomment %}' - 'Security alerts are not reported when pushing to a repository on the command line. {% comment %} https://github.com/github/github/issues/143190 {% endcomment %}' - 'Audit logs may be attributed to 127.0.0.1 instead of the actual source IP address. (updated 2020-11-02) {% comment %} https://github.com/github/enterprise2/issues/21514 {% endcomment %}' + - "Configuring a repository's permission to `Triage` or `Maintain` fails with an error message." diff --git a/data/release-notes/2-21/7.yml b/data/release-notes/2-21/7.yml index 7dbc04c989..994797e2d5 100644 --- a/data/release-notes/2-21/7.yml +++ b/data/release-notes/2-21/7.yml @@ -3,6 +3,7 @@ sections: bugs: - 'A service health check caused session growth resulting in filesystem inode exhaustion. {% comment %} https://github.com/github/enterprise2/pull/22481, https://github.com/github/enterprise2/pull/22475 {% endcomment %}' - "Upgrading using a hotpatch could fail with an error: `'libdbi1' was not found` {% comment %} https://github.com/github/enterprise2/pull/22556, https://github.com/github/enterprise2/pull/22552 {% endcomment %}" + - "Configuring a repository's permission to `Triage` or `Maintain` no longer fails." known_issues: - 'On a freshly set up GitHub Enterprise Server without any users, an attacker could create the first admin user. {% comment %} https://github.com/github/enterprise2/issues/1889 {% endcomment %}' - 'Custom firewall rules are not maintained during an upgrade. {% comment %} https://github.com/github/enterprise2/issues/2823 {% endcomment %}' diff --git a/data/release-notes/2-22/5.yml b/data/release-notes/2-22/5.yml index 6801ba1b04..3498f14906 100644 --- a/data/release-notes/2-22/5.yml +++ b/data/release-notes/2-22/5.yml @@ -11,7 +11,7 @@ sections: - 'The way SSH certificates were applied between Organizations and Businesses was inconsistent. {% comment %} https://github.com/github/github/pull/163423, https://github.com/github/github/pull/159538, https://github.com/github/authentication/issues/115 {% endcomment %}' - 'When an account was rate limited due to using incorrect passwords, it could be locked out for up to 24 hours. {% comment %} https://github.com/github/github/pull/163433, https://github.com/github/github/pull/162938, https://github.com/github/github-ds/pull/51 {% endcomment %}' - 'Pull request synchronization on repositories with many references could cause worker queues to fall behind. {% comment %} https://github.com/github/github/pull/163573, https://github.com/github/github/pull/163142 {% endcomment %}' - - 'When signing in after attempting to visit a specific page, people were sent to the home page instead of their intended destination. {% comment %} https://github.com/github/github/pull/163782, https://github.com/github/github/pull/163579, https://github.com/github/github/pull/154117, https://github.com/github/ecosystem-apps/issues/1076 {% endcomment %}' + - 'When signing in with a local username and password (built-in authentication) after attempting to visit a specific page, the user was sent to the home page instead of their intended destination. {% comment %} https://github.com/github/github/pull/163782, https://github.com/github/github/pull/163579, https://github.com/github/github/pull/154117, https://github.com/github/ecosystem-apps/issues/1076 {% endcomment %}' - 'For GHES instances using built-in authentication with an internal SAML identity provider, users without an associated email address could not create a commit from the web interface. {% comment %} https://github.com/github/github/pull/164009, https://github.com/github/github/pull/163530, https://github.com/github/github/issues/163524 {% endcomment %}' known_issues: - 'On a freshly set up GitHub Enterprise Server without any users, an attacker could create the first admin user. {% comment %} https://github.com/github/enterprise2/issues/1889 {% endcomment %}' diff --git a/data/release-notes/2-22/7.yml b/data/release-notes/2-22/7.yml index e443324f36..8633c474dc 100644 --- a/data/release-notes/2-22/7.yml +++ b/data/release-notes/2-22/7.yml @@ -32,3 +32,25 @@ sections: - 'Git LFS tracked files [uploaded through the web interface](https://github.com/blog/2105-upload-files-to-your-repositories) are incorrectly added directly to the repository.' - 'Issues cannot be closed if they contain a permalink to a blob in the same repository where the file path is longer than 255 characters.' - 'When "Users can search GitHub.com" is enabled with GitHub Connect, issues in private and internal repositories are not included in GitHub.com search results.' + - | + Users may experience assets such as avatars not loading, or a failure to push/pull code. This may be caused by a PID mismatch in the `haproxy-cluster-proxy` service. To determine if you have an affected instance: + + **Single instance** + + 1. Run this in the [administrative shell](https://docs.github.com/en/enterprise-server/admin/configuration/accessing-the-administrative-shell-ssh) (SSH): + + ``` + if [ $(cat /var/run/haproxy-cluster-proxy.pid) -ne $(systemctl show --property MainPID --value haproxy-cluster-proxy) ]; then echo 'Main PID of haproxy-cluster-proxy does not match /var/run/haproxy-cluster-proxy.pid'; fi + ``` + + 2. If it shows that there is a mismatch, reboot the instance. + + **Cluster or High Availability configuration** + + 1. Run this in the [administrative shell](https://docs.github.com/en/enterprise-server/admin/configuration/accessing-the-administrative-shell-ssh) (SSH): + + ``` + ghe-cluster-each -- 'if [ $(cat /var/run/haproxy-cluster-proxy.pid) -ne $(systemctl show --property MainPID --value haproxy-cluster-proxy) ]; then echo 'Main PID of haproxy-cluster-proxy does not match /var/run/haproxy-cluster-proxy.pid'; fi' + ``` + + 2. If it shows one or more nodes are affected, reboot the affected nodes. diff --git a/data/release-notes/2-22/8.yml b/data/release-notes/2-22/8.yml new file mode 100644 index 0000000000..87fb8936b4 --- /dev/null +++ b/data/release-notes/2-22/8.yml @@ -0,0 +1,36 @@ +date: '2021-03-16' +sections: + security_fixes: + - Packages have been updated to the latest security versions. + bugs: + - Systemd journal logs were duplicated in multiple places. + - A site admin could get a 500 error page while trying to view issues referenced from private repositories. + - Importing of repository archives from GitHub Enterprise Server that are missing repository files would fail with an error. + known_issues: + - On a freshly set up GitHub Enterprise Server without any users, an attacker could create the first admin user. + - Custom firewall rules are not maintained during an upgrade. + - Git LFS tracked files [uploaded through the web interface](https://github.com/blog/2105-upload-files-to-your-repositories) are incorrectly added directly to the repository. + - Issues cannot be closed if they contain a permalink to a blob in the same repository where the file path is longer than 255 characters. + - When "Users can search GitHub.com" is enabled with GitHub Connect, issues in private and internal repositories are not included in GitHub.com search results. + - | + Users may experience assets such as avatars not loading, or a failure to push/pull code. This may be caused by a PID mismatch in the `haproxy-cluster-proxy` service. To determine if you have an affected instance: + + **Single instance** + + 1. Run this in the [administrative shell](https://docs.github.com/en/enterprise-server/admin/configuration/accessing-the-administrative-shell-ssh) (SSH): + + ``` + if [ $(cat /var/run/haproxy-cluster-proxy.pid) -ne $(systemctl show --property MainPID --value haproxy-cluster-proxy) ]; then echo 'Main PID of haproxy-cluster-proxy does not match /var/run/haproxy-cluster-proxy.pid'; fi + ``` + + 2. If it shows that there is a mismatch, reboot the instance. + + **Cluster or High Availability configuration** + + 1. Run this in the [administrative shell](https://docs.github.com/en/enterprise-server/admin/configuration/accessing-the-administrative-shell-ssh) (SSH): + + ``` + ghe-cluster-each -- 'if [ $(cat /var/run/haproxy-cluster-proxy.pid) -ne $(systemctl show --property MainPID --value haproxy-cluster-proxy) ]; then echo 'Main PID of haproxy-cluster-proxy does not match /var/run/haproxy-cluster-proxy.pid'; fi' + ``` + + 2. If it shows one or more nodes are affected, reboot the affected nodes. diff --git a/data/release-notes/2-22/9.yml b/data/release-notes/2-22/9.yml new file mode 100644 index 0000000000..b1b96a7e59 --- /dev/null +++ b/data/release-notes/2-22/9.yml @@ -0,0 +1,23 @@ +date: '2021-03-23' +sections: + security_fixes: + - '**HIGH:** A remote code execution vulnerability was identified in GitHub Enterprise Server that could be exploited when building a GitHub Pages site. User-controlled configuration options used by GitHub Pages were not sufficiently restricted and made it possible to override environment variables leading to code execution on the GitHub Enterprise Server instance. To exploit this vulnerability, an attacker would need permission to create and build a GitHub Pages site on the GitHub Enterprise Server instance. This vulnerability affected all versions of GitHub Enterprise Server prior to 3.0.3 and was fixed in 3.0.3, 2.22.9, and 2.21.17. This vulnerability was reported via the GitHub Bug Bounty program and has been assigned CVE-2021-22864.' + - Packages have been updated to the latest security versions. + bugs: + - Running `ghe-cluster-config-init` could cause a cluster to become inoperable. + - Systemd could lose track of HAProxy's PID. + - The mysql-failover warning was displayed indefinitely after a successful failover. + - The `ghe-cluster-config-init` run was not fully accounting for the exit code of background jobs leading to improper handling of preflight checks. + - A Security & Analysis link did not appear in the left-side navigation on the Settings page for repositories. + - After disabling GitHub Packages, some organization pages would return an HTTP 500 error response. + changes: + - Improves reliability of nomad services by implementing the same restart policy introduced in GitHub Enterprise Server 3.0. + - Use a relative number for consul and nomad `bootstrap_expect` allowing for a cluster to bootstrap even if a handful of nodes are down. + - Logs will rotate based on size in addition to time. + - Added kafka-lite to the `ghe-cluster-status` command. + known_issues: + - On a freshly set up GitHub Enterprise Server without any users, an attacker could create the first admin user. + - Custom firewall rules are not maintained during an upgrade. + - Git LFS tracked files [uploaded through the web interface](https://github.com/blog/2105-upload-files-to-your-repositories) are incorrectly added directly to the repository. + - Issues cannot be closed if they contain a permalink to a blob in the same repository where the file path is longer than 255 characters. + - When "Users can search GitHub.com" is enabled with GitHub Connect, issues in private and internal repositories are not included in GitHub.com search results. diff --git a/data/release-notes/3-0/0.yml b/data/release-notes/3-0/0.yml index 1d49e9bd01..68dca4c196 100644 --- a/data/release-notes/3-0/0.yml +++ b/data/release-notes/3-0/0.yml @@ -113,6 +113,7 @@ sections: - The format of several log files have changed, including the addition of a PID for different log types. This does not affect how GitHub Enterprise Support uses support bundles to troubleshoot issues. - A PATCH request to the webhook configuration API no longer erases the webhook secret. - Certain types of pre-receive hooks were failing. + - 'The Packages NuGet service now normalizes semantic versions on publish. An invalid semantic version (for example: v1.0.0.0.0.0) is not downloadable by NuGet clients and therefore a NuGet service is expected to normalize those versions (for example: v1.0.0.0.0.0 --> v1.0.0). Any original, non-normalized, version will be available in the `verbatimVersion` field. No changes to client configurations are required.' known_issues: - On a freshly set up {% data variables.product.prodname_ghe_server %} without any users, an attacker could create the first admin user. @@ -121,7 +122,15 @@ sections: - When "Users can search GitHub.com" is enabled with GitHub Connect, issues in private and internal repositories are not included in GitHub.com search results. - When maintenance mode is enabled, some services continue to be listed as "active processes". The services identified are expected to run during maintenance mode. If you experience this issue and are unsure, contact {% data variables.contact.contact_ent_support %}. - When GitHub Actions is enabled, use '`ghe-maintenance -u`' to unset maintenance mode. + - 'Duplicated logging to `/var/log/messages`, `/var/log/syslog`, and `/var/log/user.log` results in increased root volume utilization.' - Users can dismiss a mandatory message without checking all checkboxes. + - '[Pre-receive hook scripts](/admin/policies/enforcing-policy-with-pre-receive-hooks) cannot write temporary files, which may cause script execution to fail. Users who use pre-receive hooks should test in a staging environment to see if scripts require write access.' + - Repository [deploy keys](/developers/overview/managing-deploy-keys) are unable to be used with repositories containing LFS objects. + - Jupyter Notebook rendering in the web UI may fail if the notebook includes non UTF-8 encoded characters. + - reStructuredText (RST) rendering in the web UI may fail and instead display raw RST markup text. + - Dependency graph fails to parse `setup.py` Python manifest files, resulting in HTTP 500 errors in logs. This, combined with the duplicated logging issue, results in increased root volume utilization. + - A race condition can cause dependency graph database migrations to appear to fail. + - Instances with a custom timezone that were upgraded from an earlier release of GitHub Enterprise Server may have incorrect timestamps in the web UI. deprecations: - heading: Deprecation of GitHub Enterprise Server 2.19 diff --git a/data/release-notes/3-0/1.yml b/data/release-notes/3-0/1.yml index b1574f568c..ea1fcbc259 100644 --- a/data/release-notes/3-0/1.yml +++ b/data/release-notes/3-0/1.yml @@ -1,4 +1,5 @@ date: '2021-03-02' +intro: The minimum infrastructure requirements have increased for {% data variables.product.prodname_ghe_server %} 3.0+. For more information, see "[About minimum requirements for GitHub Enterprise Server 3.0 and later](/admin/enterprise-management/upgrading-github-enterprise-server#about-minimum-requirements-for-github-enterprise-server-30-and-later)." sections: security_fixes: - '**HIGH:** An improper access control vulnerability was identified in GitHub Enterprise Server that allowed authenticated users of the instance to gain write access to unauthorized repositories via specifically crafted pull requests and REST API requests. An attacker would need to be able to fork the targeted repository, a setting that is disabled by default for organization owned private repositories. Branch protections such as required pull request reviews or status checks would prevent unauthorized commits from being merged without further review or validation. This vulnerability has been assigned CVE-2021-22861. This issue was reported via the [GitHub Bug Bounty Program](https://bounty.github.com).' @@ -24,6 +25,7 @@ sections: - 'The "Prevent repository admins from changing anonymous Git read access" checkbox available in the enterprise account settings could not be successfully enabled or disabled.' - 'The modal used to display a mandatory message contained no vertical scrollbar, meaning longer messages could not be viewed in full.' - 'Redis would sometimes fail to start after a hard reboot or application crash.' + - 'Dependency graph fails to parse `setup.py` Python manifest files, resulting in HTTP 500 errors in logs. This, combined with the duplicated logging issue, results in increased root volume utilization.' changes: - 'Satisfy requests concurrently when multiple users are downloading the same archive, resulting in improved performance.' known_issues: @@ -33,4 +35,33 @@ sections: - 'Issues cannot be closed if they contain a permalink to a blob in the same repository where the file path is longer than 255 characters.' - 'When "Users can search GitHub.com" is enabled with GitHub Connect, issues in private and internal repositories are not included in GitHub.com search results.' - 'When maintenance mode is enabled, some services continue to be listed as "active processes". The services identified are expected to run during maintenance mode. If you experience this issue and are unsure, contact [GitHub Enterprise Support](https://enterprise.githubsupport.com/hc/en-us) or [GitHub Premium Support](https://premium.githubsupport.com/).' + - 'Duplicated logging to `/var/log/messages`, `/var/log/syslog`, and `/var/log/user.log` results in increased root volume utilization.' - 'Users can dismiss a mandatory message without checking all checkboxes.' + - '[Pre-receive hook scripts](/admin/policies/enforcing-policy-with-pre-receive-hooks) cannot write temporary files, which may cause script execution to fail. Users who use pre-receive hooks should test in a staging environment to see if scripts require write access.' + - 'Repository [deploy keys](/developers/overview/managing-deploy-keys) are unable to be used with repositories containing LFS objects.' + - 'Jupyter Notebook rendering in the web UI may fail if the notebook includes non UTF-8 encoded characters.' + - 'reStructuredText (RST) rendering in the web UI may fail and instead display raw RST markup text.' + - 'Dependency graph fails to parse `yarn.lock` Javascript manifest files, resulting in HTTP 500 errors in logs.' + - 'Instances with a custom timezone that were upgraded from an earlier release of GitHub Enterprise Server may have incorrect timestamps in the web UI.' + - | + Users may experience assets such as avatars not loading, or a failure to push/pull code. This may be caused by a PID mismatch in the `haproxy-cluster-proxy` service. To determine if you have an affected instance: + + **Single instance** + + 1. Run this in the [administrative shell](https://docs.github.com/en/enterprise-server/admin/configuration/accessing-the-administrative-shell-ssh) (SSH): + + ``` + if [ $(cat /var/run/haproxy-cluster-proxy.pid) -ne $(systemctl show --property MainPID --value haproxy-cluster-proxy) ]; then echo 'Main PID of haproxy-cluster-proxy does not match /var/run/haproxy-cluster-proxy.pid'; fi + ``` + + 2. If it shows that there is a mismatch, reboot the instance. + + **Cluster or High Availability configuration** + + 1. Run this in the [administrative shell](https://docs.github.com/en/enterprise-server/admin/configuration/accessing-the-administrative-shell-ssh) (SSH): + + ``` + ghe-cluster-each -- 'if [ $(cat /var/run/haproxy-cluster-proxy.pid) -ne $(systemctl show --property MainPID --value haproxy-cluster-proxy) ]; then echo 'Main PID of haproxy-cluster-proxy does not match /var/run/haproxy-cluster-proxy.pid'; fi' + ``` + + 2. If it shows one or more nodes are affected, reboot the affected nodes. diff --git a/data/release-notes/3-0/2.yml b/data/release-notes/3-0/2.yml new file mode 100644 index 0000000000..6ee20c6c9c --- /dev/null +++ b/data/release-notes/3-0/2.yml @@ -0,0 +1,53 @@ +date: '2021-03-16' +intro: The minimum infrastructure requirements have increased for {% data variables.product.prodname_ghe_server %} 3.0+. For more information, see "[About minimum requirements for GitHub Enterprise Server 3.0 and later](/admin/enterprise-management/upgrading-github-enterprise-server#about-minimum-requirements-for-github-enterprise-server-30-and-later)." +sections: + security_fixes: + - Packages have been updated to the latest security versions. + bugs: + - During a backup an error "Warning: One or more storage objects were not found on the source appliance." was occurring when attempting to clean up purgeable storage objects. + - Dependency graph failed to parse `yarn.lock` JavaScript manifest files, resulting in HTTP 500 errors in logs. + - Disabling GitHub Actions would sometimes fail. + - Custom pre-receive hooks weren't allowed to write to `/tmp`, preventing some scripts from running correctly. + - Systemd journal logs were duplicated in multiple places. + - A timezone set on GitHub Enterprise 11.10.x or earlier was reset to UTC time after upgrading to 3.0 which caused timestamps to shift in some instances. + - Clicking "Publish your first package" in the packages sidebar on a repository would lead to an empty page. + - A site admin could get a 500 error page while trying to view issues referenced from private repositories. + - After disabling GitHub Packages, some organization pages would return an HTTP 500 error response. + - Importing of repository archives from GitHub Enterprise Server that are missing repository files would fail with an error. + - Repository [deploy keys](/developers/overview/managing-deploy-keys) were unable to be used with repositories containing LFS objects. + - In the packages sidebar of a repository, the Docker icon was gray and a tool tip displayed "This service is deprecated". + - Webhooks configured with a content type of `application/x-www-form-urlencoded` did not receive query parameters in the POST request body. + - Users could dismiss a mandatory message without checking all checkboxes. + - In some cases after upgrading from a 2.22.X instance, the web interface assets were missing and the page would not render correctly. + - Running `ghe-config-apply` could time out with `Failure waiting for nomad jobs to apply` due to `'job' stanza not found`. + known_issues: + - On a freshly set up GitHub Enterprise Server without any users, an attacker could create the first admin user. + - Custom firewall rules are not maintained during an upgrade. + - Git LFS tracked files [uploaded through the web interface](https://github.com/blog/2105-upload-files-to-your-repositories) are incorrectly added directly to the repository. + - Issues cannot be closed if they contain a permalink to a blob in the same repository where the file path is longer than 255 characters. + - When "Users can search GitHub.com" is enabled with GitHub Connect, issues in private and internal repositories are not included in GitHub.com search results. + - When maintenance mode is enabled, some services continue to be listed as "active processes". The services identified are expected to run during maintenance mode. If you experience this issue and are unsure, contact [GitHub Enterprise Support](https://enterprise.githubsupport.com/hc/en-us) or [GitHub Premium Support](https://premium.githubsupport.com/). + - Jupyter Notebook rendering in the web UI may fail if the notebook includes non UTF-8 encoded characters. + - reStructuredText (RST) rendering in the web UI may fail and instead display raw RST markup text. + - | + Users may experience assets such as avatars not loading, or a failure to push/pull code. This may be caused by a PID mismatch in the `haproxy-cluster-proxy` service. To determine if you have an affected instance: + + **Single instance** + + 1. Run this in the [administrative shell](https://docs.github.com/en/enterprise-server/admin/configuration/accessing-the-administrative-shell-ssh) (SSH): + + ``` + if [ $(cat /var/run/haproxy-cluster-proxy.pid) -ne $(systemctl show --property MainPID --value haproxy-cluster-proxy) ]; then echo 'Main PID of haproxy-cluster-proxy does not match /var/run/haproxy-cluster-proxy.pid'; fi + ``` + + 2. If it shows that there is a mismatch, reboot the instance. + + **Cluster or High Availability configuration** + + 1. Run this in the [administrative shell](https://docs.github.com/en/enterprise-server/admin/configuration/accessing-the-administrative-shell-ssh) (SSH): + + ``` + ghe-cluster-each -- 'if [ $(cat /var/run/haproxy-cluster-proxy.pid) -ne $(systemctl show --property MainPID --value haproxy-cluster-proxy) ]; then echo 'Main PID of haproxy-cluster-proxy does not match /var/run/haproxy-cluster-proxy.pid'; fi' + ``` + + 2. If it shows one or more nodes are affected, reboot the affected nodes. diff --git a/data/release-notes/3-0/3.yml b/data/release-notes/3-0/3.yml new file mode 100644 index 0000000000..a5e93f70fd --- /dev/null +++ b/data/release-notes/3-0/3.yml @@ -0,0 +1,30 @@ +date: '2021-03-23' +intro: The minimum infrastructure requirements have increased for {% data variables.product.prodname_ghe_server %} 3.0+. For more information, see "[About minimum requirements for GitHub Enterprise Server 3.0 and later](/admin/enterprise-management/upgrading-github-enterprise-server#about-minimum-requirements-for-github-enterprise-server-30-and-later)." +sections: + security_fixes: + - '**HIGH:** A remote code execution vulnerability was identified in GitHub Enterprise Server that could be exploited when building a GitHub Pages site. User-controlled configuration options used by GitHub Pages were not sufficiently restricted and made it possible to override environment variables leading to code execution on the GitHub Enterprise Server instance. To exploit this vulnerability, an attacker would need permission to create and build a GitHub Pages site on the GitHub Enterprise Server instance. This vulnerability affected all versions of GitHub Enterprise Server prior to 3.0.3 and was fixed in 3.0.3, 2.22.9, and 2.21.17. This vulnerability was reported via the GitHub Bug Bounty program and has been assigned CVE-2021-22864.' + - Packages have been updated to the latest security versions. + bugs: + - Running `ghe-cluster-config-init` could cause a cluster to become inoperable. + - Resolving merge conflicts in the GUI would fail when custom pre-receive hooks are configured on the repository. + - '`launch-deployer` and `launch-receiver` were logging at DEBUG level and filling logs with unnecessary information.' + - Systemd could lose track of HAProxy's PID. + - When Actions was configured to use S3 storage, the logs for an action would sometimes fail to load. + - The mysql-failover warning was displayed indefinitely after a successful failover. + - The `ghe-cluster-config-init` run was not fully accounting for the exit code of background jobs leading to improper handling of preflight checks. + - When enabling GitHub Actions, initialization could fail silently. + - When vulnerability alerting is enabled, upgrades to the 3.0 series would fail. + - Jobs related to Codespaces were being enqueued leading to an accumulation of unprocessed jobs. + changes: + - Use a relative number for consul and nomad `bootstrap_expect` allowing for a cluster to bootstrap even if a handful of nodes are down. + - Logs will rotate based on size in addition to time. + - Added kafka-lite to the `ghe-cluster-status` command. + known_issues: + - On a freshly set up GitHub Enterprise Server without any users, an attacker could create the first admin user. + - Custom firewall rules are not maintained during an upgrade. + - Git LFS tracked files [uploaded through the web interface](https://github.com/blog/2105-upload-files-to-your-repositories) are incorrectly added directly to the repository. + - Issues cannot be closed if they contain a permalink to a blob in the same repository where the file path is longer than 255 characters. + - When "Users can search GitHub.com" is enabled with GitHub Connect, issues in private and internal repositories are not included in GitHub.com search results. + - When maintenance mode is enabled, some services continue to be listed as "active processes". The services identified are expected to run during maintenance mode. If you experience this issue and are unsure, contact [GitHub Enterprise Support](https://enterprise.githubsupport.com/hc/en-us) or [GitHub Premium Support](https://premium.githubsupport.com/). + - Jupyter Notebook rendering in the web UI may fail if the notebook includes non UTF-8 encoded characters. + - reStructuredText (RST) rendering in the web UI may fail and instead display raw RST markup text. diff --git a/data/reusables/actions/actions-audit-events-for-enterprise.md b/data/reusables/actions/actions-audit-events-for-enterprise.md index fc57d1e2da..2c0c30d196 100644 --- a/data/reusables/actions/actions-audit-events-for-enterprise.md +++ b/data/reusables/actions/actions-audit-events-for-enterprise.md @@ -1,10 +1,12 @@ | Action | Description |------------------|------------------- -| `register_self_hosted_runner` | Triggered when a new self-hosted runner is registered. For more information, see "[Adding a self-hosted runner to an enterprise](/actions/hosting-your-own-runners/adding-self-hosted-runners#adding-a-self-hosted-runner-to-an-enterprise)." -| `runner_group_created` | Triggered when a self-hosted runner group is created. For more information, see "[Creating a self-hosted runner group for an enterprise](/actions/hosting-your-own-runners/managing-access-to-self-hosted-runners-using-groups#creating-a-self-hosted-runner-group-for-an-enterprise). +| `remove_self_hosted_runner` | Triggered when a self-hosted runner is removed. +| `register_self_hosted_runner` | Triggered when a new self-hosted runner is registered. For more information, see "[Adding self-hosted runners](/actions/hosting-your-own-runners/adding-self-hosted-runners)." +| `runner_group_created` | Triggered when a self-hosted runner group is created. For more information, see "[About self-hosted runner groups](/actions/hosting-your-own-runners/managing-access-to-self-hosted-runners-using-groups#about-self-hosted-runner-groups). | `runner_group_removed` | Triggered when a self-hosted runner group is removed. For more information, see "[Removing a self-hosted runner group](/actions/hosting-your-own-runners/managing-access-to-self-hosted-runners-using-groups#removing-a-self-hosted-runner-group)." -| `runner_group_runner_removed` | Triggered when a self-hosted runner is removed from a group. +| `runner_group_runner_removed` | Triggered when the REST API is used to remove a self-hosted runner from a group. | `runner_group_runners_added` | Triggered when a self-hosted runner is added to a group. For more information, see "[Moving a self-hosted runner to a group](/actions/hosting-your-own-runners/managing-access-to-self-hosted-runners-using-groups#moving-a-self-hosted-runner-to-a-group)." +| `runner_group_runners_updated` | Triggered when a runner group's list of members is updated. For more information, see "[Set self-hosted runners in a group for an organization](/rest/reference/actions#set-self-hosted-runners-in-a-group-for-an-organization)." | `runner_group_updated` | Triggered when the configuration of a self-hosted runner group is changed. For more information, see "[Changing the access policy of a self-hosted runner group](/actions/hosting-your-own-runners/managing-access-to-self-hosted-runners-using-groups#changing-the-access-policy-of-a-self-hosted-runner-group)." | `self_hosted_runner_updated` | Triggered when the runner application is updated. Can be viewed using the REST API and the UI; not visible in the JSON/CSV export. For more information, see "[About self-hosted runners](/actions/hosting-your-own-runners/about-self-hosted-runners#about-self-hosted-runners)." diff --git a/data/reusables/actions/choose-repo.md b/data/reusables/actions/choose-repo.md new file mode 100644 index 0000000000..362868f66b --- /dev/null +++ b/data/reusables/actions/choose-repo.md @@ -0,0 +1 @@ +Choose a repository where you want to apply this project management workflow. You can use an existing repository that you have write access to, or you can create a new repository. For more information about creating a repository, see "[Creating a new repository](/articles/creating-a-new-repository)." \ No newline at end of file diff --git a/data/reusables/actions/commit-workflow.md b/data/reusables/actions/commit-workflow.md new file mode 100644 index 0000000000..fe2ce9b187 --- /dev/null +++ b/data/reusables/actions/commit-workflow.md @@ -0,0 +1 @@ +Commit your workflow file to the default branch of your repository. For more information, see "[Creating new files](/github/managing-files-in-a-repository/creating-new-files)." \ No newline at end of file diff --git a/data/reusables/actions/enterprise-hardware-considerations.md b/data/reusables/actions/enterprise-hardware-considerations.md deleted file mode 100644 index 5b80ff26c2..0000000000 --- a/data/reusables/actions/enterprise-hardware-considerations.md +++ /dev/null @@ -1 +0,0 @@ -If you {% if currentVersion == "enterprise-server@2.22" %} configured the beta of{% else %} configure{% endif %} {% data variables.product.prodname_actions %} for the users of your {% data variables.product.prodname_ghe_server %} instance, you may need to provision additional CPU and memory resources. The additional resources you need to provision depend on the number of workflows your users run concurrently, and the overall levels of activity for your instance. For more information about monitoring the capacity and performance of {% data variables.product.prodname_ghe_server %}, see "[Monitoring your appliance](/admin/enterprise-management/monitoring-your-appliance)." diff --git a/data/reusables/actions/make-workflow-file.md b/data/reusables/actions/make-workflow-file.md new file mode 100644 index 0000000000..82be838ded --- /dev/null +++ b/data/reusables/actions/make-workflow-file.md @@ -0,0 +1 @@ +In your repository, create a file called `.github/workflows/YOUR_WORKFLOW.yml`, replacing `YOUR_WORKFLOW` with a name of your choice. This is a workflow file. For more information about creating new files on GitHub, see "[Creating new files](/github/managing-files-in-a-repository/creating-new-files)." \ No newline at end of file diff --git a/data/reusables/actions/schedule-delay.md b/data/reusables/actions/schedule-delay.md new file mode 100644 index 0000000000..31d1d77852 --- /dev/null +++ b/data/reusables/actions/schedule-delay.md @@ -0,0 +1,5 @@ +{% note %} + +Note: The `schedule` event can be delayed during periods of high loads of {% data variables.product.prodname_actions %} workflow runs. High load times include the start of every hour. To decrease the chance of delay, schedule your workflow to run at a different time of the hour. + +{% endnote %} diff --git a/data/reusables/actions/workflow-runs-dependabot-note.md b/data/reusables/actions/workflow-runs-dependabot-note.md index 1e61585baa..bbf085d6bf 100644 --- a/data/reusables/actions/workflow-runs-dependabot-note.md +++ b/data/reusables/actions/workflow-runs-dependabot-note.md @@ -1,7 +1,7 @@ {% if currentVersion == "free-pro-team@latest" %} {% note %} -**Note:** Pull requests for {% data variables.product.prodname_dependabot %} version updates will trigger workflow runs with a read-only `GITHUB_TOKEN`. These workflow runs will not be granted access to any secrets. +**Note:** Workflow runs triggered by {% data variables.product.prodname_dependabot %} pull requests run as if they are from a forked repository, and therefore use a read-only `GITHUB_TOKEN`. These workflow runs cannot access any secrets. See ["Keeping your GitHub Actions and workflows secure: Preventing pwn requests"](https://securitylab.github.com/research/github-actions-preventing-pwn-requests) for strategies to keep these workflows secure. {% endnote %} {% endif %} diff --git a/data/reusables/advanced-security/about-ghas-organization-policy.md b/data/reusables/advanced-security/about-ghas-organization-policy.md new file mode 100644 index 0000000000..baa32fddac --- /dev/null +++ b/data/reusables/advanced-security/about-ghas-organization-policy.md @@ -0,0 +1,5 @@ +{% data variables.product.company_short %} bills for {% data variables.product.prodname_advanced_security %} on a per-committer basis. {% if currentVersion == "free-pro-team@latest" %}For more information, see "[Managing licensing for {% data variables.product.prodname_GH_advanced_security %}](/github/setting-up-and-managing-billing-and-payments-on-github/managing-licensing-for-github-advanced-security)."{% endif %} + +You can enforce a policy that controls whether repository administrators are allowed to enable features for {% data variables.product.prodname_advanced_security %} in an organization's repositories. You can configure a policy for all organizations owned by your enterprise account, or for individual organizations that you choose. + +Disallowing {% data variables.product.prodname_advanced_security %} for an organization prevents repository administrators from enabling {% data variables.product.prodname_advanced_security %} features for additional repositories, but does not disable the features for repositories where the features are already enabled. For more information about configuration of {% data variables.product.prodname_advanced_security %} features, see "[Managing security and analysis settings for your organization](/github/setting-up-and-managing-organizations-and-teams/managing-security-and-analysis-settings-for-your-organization)" or "[Managing security and analysis settings for your repository](/github/administering-a-repository/managing-security-and-analysis-settings-for-your-repository)." diff --git a/data/reusables/advanced-security/ghas-helps-developers.md b/data/reusables/advanced-security/ghas-helps-developers.md new file mode 100644 index 0000000000..fcd5fb9586 --- /dev/null +++ b/data/reusables/advanced-security/ghas-helps-developers.md @@ -0,0 +1 @@ +{% data variables.product.prodname_GH_advanced_security %} helps developers improve and maintain the security and quality of code. For more information, see "[About {% data variables.product.prodname_GH_advanced_security %}](/github/getting-started-with-github/about-github-advanced-security)." diff --git a/data/reusables/advanced-security/more-information-about-enforcement-policy.md b/data/reusables/advanced-security/more-information-about-enforcement-policy.md new file mode 100644 index 0000000000..42e973aaac --- /dev/null +++ b/data/reusables/advanced-security/more-information-about-enforcement-policy.md @@ -0,0 +1 @@ +For more information, see "{% if currentVersion == "free-pro-team@latest" %}[Enforcing policies for {% data variables.product.prodname_advanced_security %} in your enterprise account](/github/setting-up-and-managing-your-enterprise/enforcing-policies-for-advanced-security-in-your-enterprise-account){% elsif currentVersion ver_gt "enterprise-server@3.0" or currentVersion == "github-ae@next" %}[Enforcing policies for {% data variables.product.prodname_advanced_security %} in your enterprise](/admin/policies/enforcing-policies-for-advanced-security-in-your-enterprise){% endif %}." diff --git a/data/reusables/advanced-security/note-org-enable-uses-seats.md b/data/reusables/advanced-security/note-org-enable-uses-seats.md index f93772d5b7..ff72be9b61 100644 --- a/data/reusables/advanced-security/note-org-enable-uses-seats.md +++ b/data/reusables/advanced-security/note-org-enable-uses-seats.md @@ -1,6 +1,6 @@ {% if currentVersion == "free-pro-team@latest" or currentVersion ver_gt "enterprise-server@3.0" %} {% note %} -**Note:** If you enable {% data variables.product.prodname_GH_advanced_security %}, committers to these repositories will use seats on your {% data variables.product.prodname_GH_advanced_security %} license. This option is disabled if you have exceeded your license capacity. For more information, see "[About licensing for {% data variables.product.prodname_GH_advanced_security %}](/github/setting-up-and-managing-billing-and-payments-on-github/about-licensing-for-github-advanced-security)." +**Note:** If you enable {% data variables.product.prodname_GH_advanced_security %}, committers to these repositories will use seats on your {% data variables.product.prodname_GH_advanced_security %} license. This option is disabled if you have exceeded your license capacity. {% if currentVersion == "free-pro-team@latest" %}For more information, see "[About licensing for {% data variables.product.prodname_GH_advanced_security %}](/github/setting-up-and-managing-billing-and-payments-on-github/about-licensing-for-github-advanced-security)."{% endif %} {% endnote %} {% endif %} \ No newline at end of file diff --git a/data/reusables/classroom/you-can-choose-a-template-repository.md b/data/reusables/classroom/you-can-choose-a-template-repository.md index 40eb9d273b..6500f68c84 100644 --- a/data/reusables/classroom/you-can-choose-a-template-repository.md +++ b/data/reusables/classroom/you-can-choose-a-template-repository.md @@ -1 +1,7 @@ -You can optionally choose a template repository as starter code for the assignment. The template repository must belong to your organization or be a public repository on {% data variables.product.product_name %}. +You can optionally choose a template repository as starter code for the assignment. For more information about template repositories, see "[Creating a template repository](/github/creating-cloning-and-archiving-repositories/creating-a-template-repository)." + +{% note %} + +**Note:** The template repository must belong to your organization or be a public repository on {% data variables.product.product_name %}. + +{% endnote %} \ No newline at end of file diff --git a/data/reusables/code-scanning/codeql-runner-analyze-example.md b/data/reusables/code-scanning/codeql-runner-analyze-example.md new file mode 100644 index 0000000000..01e6a97f91 --- /dev/null +++ b/data/reusables/code-scanning/codeql-runner-analyze-example.md @@ -0,0 +1,25 @@ +1. Populate the {% data variables.product.prodname_codeql %} databases, analyze them, and upload the results to {% data variables.product.product_name %}. The results will appear in the **Security** tab for your repository. + + ```shell + $ /path/to-runner/codeql-runner-linux analyze --repository octo-org/example-repo + --github-url {% data variables.command_line.git_url_example %} --github-auth TOKEN + --commit 5b6a3078b31dc346e5ce7b86837d6abbe7a18bbd --ref refs/heads/my-branch + > Finalizing database creation + > ... + > POST /repos/octo-org/example-repo/code-scanning/sarifs - 202 in 786ms + > Successfully uploaded results + ``` + +1. To upload {% data variables.product.prodname_code_scanning %} results as pull request checks, specify the pull request using the `--ref` flag. We recommend setting up the {% data variables.product.prodname_codeql_runner %} so that it runs on the [`pull_request`](/developers/webhooks-and-events/webhook-events-and-payloads#pull_request) webhook event. + + ```shell + $ /path/to-runner/codeql-runner-linux analyze --repository octo-org/example-repo + --github-url {% data variables.command_line.git_url_example %} --github-auth TOKEN + --commit 1dc7a1346e5ce7b86835b68bbda3078b37d6abbe --ref refs/pull/123/merge + > Finalizing database creation + > ... + > POST /repos/octo-org/example-repo/code-scanning/sarifs - 202 in 786ms + > Successfully uploaded results + ``` + +For more information about viewing {% data variables.product.prodname_code_scanning %} alerts, see "[Triaging code scanning alerts in pull requests](/github/finding-security-vulnerabilities-and-errors-in-your-code/triaging-code-scanning-alerts-in-pull-requests)" and "[Managing code scanning alerts for your repository](/github/finding-security-vulnerabilities-and-errors-in-your-code/managing-code-scanning-alerts-for-your-repository)." diff --git a/data/reusables/code-scanning/enabling-options.md b/data/reusables/code-scanning/enabling-options.md index a56da29214..2ef412e53e 100644 --- a/data/reusables/code-scanning/enabling-options.md +++ b/data/reusables/code-scanning/enabling-options.md @@ -1,4 +1,4 @@ | Type of analysis | Options for generating alerts | |------------------|-------------------------------| -| {% data variables.product.prodname_codeql %} | Using {% data variables.product.prodname_actions %} (see "[Setting up {% data variables.product.prodname_code_scanning %} using actions](/github/finding-security-vulnerabilities-and-errors-in-your-code/setting-up-code-scanning-for-a-repository#setting-up-code-scanning-using-actions)") or using the {% data variables.product.prodname_codeql_runner %} in a third-party continuous integration (CI) system (see "[Running code scanning in your CI system](/github/finding-security-vulnerabilities-and-errors-in-your-code/running-code-scanning-in-your-ci-system)"). +| {% data variables.product.prodname_codeql %} | Using {% data variables.product.prodname_actions %} (see "[Setting up {% data variables.product.prodname_code_scanning %} using actions](/github/finding-security-vulnerabilities-and-errors-in-your-code/setting-up-code-scanning-for-a-repository#setting-up-code-scanning-using-actions)") or using the {% data variables.product.prodname_codeql_runner %} in a third-party continuous integration (CI) system (see "[Running {% data variables.product.prodname_codeql %} code scanning in your CI system](/github/finding-security-vulnerabilities-and-errors-in-your-code/running-codeql-code-scanning-in-your-ci-system)"). | Third‑party | Using {% data variables.product.prodname_actions %} (see "[Setting up {% data variables.product.prodname_code_scanning %} using actions](/github/finding-security-vulnerabilities-and-errors-in-your-code/setting-up-code-scanning-for-a-repository#setting-up-code-scanning-using-actions)") or generated externally and uploaded to {% data variables.product.product_name %} (see "[Uploading a SARIF file to {% data variables.product.prodname_dotcom %}](/github/finding-security-vulnerabilities-and-errors-in-your-code/uploading-a-sarif-file-to-github)").| diff --git a/data/reusables/dependabot/dependabot-secrets-button.md b/data/reusables/dependabot/dependabot-secrets-button.md new file mode 100644 index 0000000000..1e46dd9f8a --- /dev/null +++ b/data/reusables/dependabot/dependabot-secrets-button.md @@ -0,0 +1,2 @@ +1. In the sidebar, click **{% data variables.product.prodname_dependabot %}**. + ![{% data variables.product.prodname_dependabot %} secrets sidebar option](/assets/images/help/dependabot/dependabot-secrets.png) \ No newline at end of file diff --git a/data/reusables/dependabot/initial-updates.md b/data/reusables/dependabot/initial-updates.md index fe4154576b..ecc053f362 100644 --- a/data/reusables/dependabot/initial-updates.md +++ b/data/reusables/dependabot/initial-updates.md @@ -1,3 +1,5 @@ -When you first enable version updates, you may have many dependencies that are outdated and some may be many versions behind the latest version. {% data variables.product.prodname_dependabot %} checks for outdated dependencies as soon as it's enabled. You may see new pull requests for version updates within minutes of adding the configuration file, depending on the number of manifest files for which you configure updates. +When you first enable version updates, you may have many dependencies that are outdated and some may be many versions behind the latest version. {% data variables.product.prodname_dependabot %} checks for outdated dependencies as soon as it's enabled. You may see new pull requests for version updates within minutes of adding the configuration file, depending on the number of manifest files for which you configure updates. {% data variables.product.prodname_dependabot %} will also run an update on subsequent changes to the configuration file. -To keep pull requests manageable and easy to review, {% data variables.product.prodname_dependabot %} raises a maximum of five pull requests to start bringing dependencies up to the latest version. If you merge some of these first pull requests before the next scheduled update, then further pull requests are opened up to a maximum of five (you can change this limit). +{% data variables.product.prodname_dependabot %} may also create pull requests when you change a manifest file after an update has failed. This is because changes to a manifest, such as removing the dependency that caused the update to fail, may cause the newly triggered update to succeed. + +To keep pull requests manageable and easy to review, {% data variables.product.prodname_dependabot %} raises a maximum of five pull requests to start bringing dependencies up to the latest version. If you merge some of these first pull requests before the next scheduled update, remaining pull requests will be opened on the next update, up to that maximum. You can change the maximum number of open pull requests by setting the [`open-pull-requests-limit` configuration option](/github/administering-a-repository/configuration-options-for-dependency-updates#open-pull-requests-limit). diff --git a/data/reusables/dependabot/private-dependencies-note.md b/data/reusables/dependabot/private-dependencies-note.md index 18554c0ce1..7dd8f996d0 100644 --- a/data/reusables/dependabot/private-dependencies-note.md +++ b/data/reusables/dependabot/private-dependencies-note.md @@ -1,3 +1 @@ -When running security or version updates, some ecosystems must be able to resolve all dependencies from their source to verify that updates have been successful. If your manifest or lock files contain any private dependencies, {% data variables.product.prodname_dependabot %} must be able to access the location at which those dependencies are hosted. Organization owners can grant {% data variables.product.prodname_dependabot %} access to private repositories containing dependencies for a project within the same organization. For more information, see "[Managing security and analysis settings for your organization](/github/setting-up-and-managing-organizations-and-teams/managing-security-and-analysis-settings-for-your-organization#allowing-dependabot-to-access-private-repositories)." - -Currently, {% data variables.product.prodname_dependabot %} version updates doesn't support manifest or lock files that contain any dependencies hosted in private registries, or in private {% data variables.product.prodname_dotcom %} repositories that belong to a different organization than the dependent project. +When running security or version updates, some ecosystems must be able to resolve all dependencies from their source to verify that updates have been successful. If your manifest or lock files contain any private dependencies, {% data variables.product.prodname_dependabot %} must be able to access the location at which those dependencies are hosted. Organization owners can grant {% data variables.product.prodname_dependabot %} access to private repositories containing dependencies for a project within the same organization. For more information, see "[Managing security and analysis settings for your organization](/github/setting-up-and-managing-organizations-and-teams/managing-security-and-analysis-settings-for-your-organization#allowing-dependabot-to-access-private-dependencies)." You can configure access to private registries in a repository's _dependabot.yml_ configuration file. For more information, see "[Configuration options for dependency updates](/github/administering-a-repository/configuration-options-for-dependency-updates#configuration-options-for-private-registries)." diff --git a/data/reusables/dependabot/pull-request-security-vs-version-updates.md b/data/reusables/dependabot/pull-request-security-vs-version-updates.md new file mode 100644 index 0000000000..94bfc388d9 --- /dev/null +++ b/data/reusables/dependabot/pull-request-security-vs-version-updates.md @@ -0,0 +1,4 @@ +When {% data variables.product.prodname_dependabot %} raises pull requests, these pull requests could be for _security_ or _version_ updates: + +- {% data variables.product.prodname_dependabot_security_updates %} are automated pull requests that help you update dependencies with known vulnerabilities. +- {% data variables.product.prodname_dependabot_version_updates %} are automated pull requests that keep your dependencies updated, even when they don’t have any vulnerabilities. To check the status of version updates, navigate to the Insights tab of your repository, then Dependency Graph, and {% data variables.product.prodname_dependabot %}. diff --git a/data/reusables/dependabot/supported-package-managers.md b/data/reusables/dependabot/supported-package-managers.md index 6369d25a75..d4929ca10a 100644 --- a/data/reusables/dependabot/supported-package-managers.md +++ b/data/reusables/dependabot/supported-package-managers.md @@ -1,30 +1,30 @@ The following table shows, for each package manager: - The YAML value to use in the *dependabot.yml* file - The supported versions of the package manager -- Whether dependencies in private {% data variables.product.prodname_dotcom %} repositories are supported +- Whether dependencies in private {% data variables.product.prodname_dotcom %} repositories or registries are supported - Whether vendored dependencies are supported -Package manager | YAML value | Supported versions | Private repositories | Vendoring ---- | --- | --- |:---:|:---: -Bundler | `bundler` | v1 | | **✓** | -Cargo | `cargo` | v1 | **✓** | | -Composer | `composer` | v1, v2 | **✓** | | -Docker | `docker` | v1 | **✓** | | -Elixir | `mix` | v1 | | | -Elm | `elm` | v0.18, v0.19 | **✓** | | -git submodule | `gitsubmodule` | N/A (no version) | **✓** | | -GitHub Actions | `github-actions` | N/A (no version) | **✓** | | -Go modules | `gomod` | v1 | **✓** | **✓** | -Gradle | `gradle` | N/A (no version)[1] | **✓** | | -Maven | `maven` | N/A (no version)[2] | **✓** | | -npm | `npm` | v6, v7 | **✓** | | -NuGet | `nuget` | <= 4.8[3] | **✓** | | -pip | `pip` | v20 | | | -pipenv | `pip` | <= 2018.11.26 | | | -pip-compile | `pip` | 5.5.0 | | | -poetry | `pip` | v1 | | | -Terraform | `terraform` | <= 0.11 | **✓** | | -yarn | `npm` | v1 | **✓** | | +Package manager | YAML value | Supported versions | Private repositories | Private registries | Vendoring +---------------|------------------|------------------|:---:|:---:|:---: +Bundler | `bundler` | v1 | | **✓** | **✓** | +Cargo | `cargo` | v1 | **✓** | **✓** | | +Composer | `composer` | v1, v2 | **✓** | **✓** | | +Docker | `docker` | v1 | **✓** | **✓** | | +Hex | `mix` | v1 | | **✓** | | +elm-package | `elm` | v0.18, v0.19 | **✓** | **✓** | | +git submodule | `gitsubmodule` | N/A (no version) | **✓** | **✓** | | +GitHub Actions | `github-actions` | N/A (no version) | **✓** | **✓** | | +Go modules | `gomod` | v1 | **✓** | **✓** | **✓** | +Gradle | `gradle` | N/A (no version)[1] | **✓** | **✓** | | +Maven | `maven` | N/A (no version)[2] | **✓** | **✓** | | +npm | `npm` | v6, v7 | **✓** | **✓** | | +NuGet | `nuget` | <= 4.8[3] | **✓** | **✓** | | +pip | `pip` | v20 | | **✓** | | +pipenv | `pip` | <= 2018.11.26 | | **✓** | | +pip-compile | `pip` | 5.5.0 | | **✓** | | +poetry | `pip` | v1 | | **✓** | | +Terraform | `terraform` | <= 0.11 | **✓** | **✓** | | +yarn | `npm` | v1 | **✓** | **✓** | | [1] {% data variables.product.prodname_dependabot %} doesn't run Gradle but supports updates to the following files: `build.gradle` and `build.gradle.kts` (for Kotlin projects). diff --git a/data/reusables/developer-site/pull_request_forked_repos_link.md b/data/reusables/developer-site/pull_request_forked_repos_link.md index 144420eb2f..54d745b497 100644 --- a/data/reusables/developer-site/pull_request_forked_repos_link.md +++ b/data/reusables/developer-site/pull_request_forked_repos_link.md @@ -11,3 +11,9 @@ When you create a pull request from a forked repository to the base repository, Workflows don't run on forked repositories by default. You must enable GitHub Actions in the **Actions** tab of the forked repository. {% data reusables.actions.forked-secrets %} The permissions for the `GITHUB_TOKEN` in forked repositories is read-only. For more information, see "[Authenticating with the GITHUB_TOKEN](/actions/configuring-and-managing-workflows/authenticating-with-the-github_token)." + +{% note %} + +**Note:** Workflows triggered by {% data variables.product.prodname_dependabot %} pull requests are treated as though they are from a forked repository, and are also subject to these restrictions. + +{% endnote %} diff --git a/data/reusables/enterprise-accounts/advanced-security-individual-organization-policy-drop-down.md b/data/reusables/enterprise-accounts/advanced-security-individual-organization-policy-drop-down.md new file mode 100644 index 0000000000..26f23496fb --- /dev/null +++ b/data/reusables/enterprise-accounts/advanced-security-individual-organization-policy-drop-down.md @@ -0,0 +1,2 @@ +1. Optionally, if you chose **Allow for selected organizations**, to the right of an organization, select the drop-down menu to allow or disallow {% data variables.product.prodname_advanced_security %} for the organization. + ![Drop-down to select Advanced Security policy for individual organization in the enterprise account](/assets/images/help/enterprises/select-advanced-security-individual-organization-policy.png) diff --git a/data/reusables/enterprise-accounts/advanced-security-organization-policy-drop-down.md b/data/reusables/enterprise-accounts/advanced-security-organization-policy-drop-down.md new file mode 100644 index 0000000000..e218baa9e6 --- /dev/null +++ b/data/reusables/enterprise-accounts/advanced-security-organization-policy-drop-down.md @@ -0,0 +1,2 @@ +1. Under "GitHub Advanced Security", select the drop-down menu and click a policy for the organizations owned by your enterprise. + ![Drop-down to select Advanced Security policy for organizations in the enterprise account](/assets/images/help/enterprises/select-advanced-security-organization-policy.png) diff --git a/data/reusables/enterprise-accounts/advanced-security-policies.md b/data/reusables/enterprise-accounts/advanced-security-policies.md new file mode 100644 index 0000000000..8d30974020 --- /dev/null +++ b/data/reusables/enterprise-accounts/advanced-security-policies.md @@ -0,0 +1,2 @@ +1. Under {% octicon "law" aria-label="The law icon" %} **Policies**, click "Advanced Security." + !["Advanced Security" policies in sidebar](/assets/images/help/enterprises/click-advanced-security.png) diff --git a/data/reusables/enterprise_installation/hardware-considerations-all-platforms.md b/data/reusables/enterprise_installation/hardware-considerations-all-platforms.md index ec895f314d..324d2da0b7 100644 --- a/data/reusables/enterprise_installation/hardware-considerations-all-platforms.md +++ b/data/reusables/enterprise_installation/hardware-considerations-all-platforms.md @@ -17,7 +17,7 @@ Your instance requires a persistent data disk separate from the root disk. For m {% if currentVersion ver_gt "enterprise-server@2.21" %} -To configure{% if currentVersion == "enterprise-server@2.22" %} the beta of{% endif %} {% data variables.product.prodname_actions %}, you must provide external blob storage. For more information, see "[Getting started with {% data variables.product.prodname_actions %} for {% data variables.product.prodname_ghe_server %}](/admin/github-actions/getting-started-with-github-actions-for-github-enterprise-server)." +To configure{% if currentVersion == "enterprise-server@2.22" %} the beta of{% endif %} {% data variables.product.prodname_actions %}, you must provide external blob storage. For more information, see "[Getting started with {% data variables.product.prodname_actions %} for {% data variables.product.prodname_ghe_server %}](/admin/github-actions/getting-started-with-github-actions-for-github-enterprise-server##external-storage-requirements)." {% endif %} @@ -25,7 +25,13 @@ You can resize your instance's root disk by building a new instance or using an #### CPU and memory -The CPU and memory resources that {% data variables.product.prodname_ghe_server %} requires depend on the levels of activity for users, automations, and integrations. {% if currentVersion ver_gt "enterprise-server@2.21" %}{% data reusables.actions.enterprise-hardware-considerations %}{% endif %} +The CPU and memory resources that {% data variables.product.prodname_ghe_server %} requires depend on the levels of activity for users, automations, and integrations. + +{% if currentVersion ver_gt "enterprise-server@2.21" %} + +If you {% if currentVersion == "enterprise-server@2.22" %}enabled the beta of{% else %}plan to enable{% endif %} {% data variables.product.prodname_actions %} for the users of your {% data variables.product.prodname_ghe_server %} instance, you may need to provision additional CPU and memory resources for your instance. For more information, see "[Getting started with {% data variables.product.prodname_actions %} for {% data variables.product.prodname_ghe_server %}](/admin/github-actions/getting-started-with-github-actions-for-github-enterprise-server#review-hardware-considerations)." + +{% endif %} {% data reusables.enterprise_installation.increasing-cpus-req %} @@ -35,4 +41,6 @@ The CPU and memory resources that {% data variables.product.prodname_ghe_server {% endwarning %} +For more information about monitoring the capacity and performance of {% data variables.product.prodname_ghe_server %}, see "[Monitoring your appliance](/admin/enterprise-management/monitoring-your-appliance)." + You can increase your instance's CPU or memory resources. For more information, see "[Increasing CPU or memory resources](/enterprise/admin/installation/increasing-cpu-or-memory-resources)." diff --git a/data/reusables/enterprise_installation/hardware-rec-table.md b/data/reusables/enterprise_installation/hardware-rec-table.md index ec31219568..7c8049ec2d 100644 --- a/data/reusables/enterprise_installation/hardware-rec-table.md +++ b/data/reusables/enterprise_installation/hardware-rec-table.md @@ -30,20 +30,22 @@ {% endif %} -{% data reusables.enterprise_installation.about-adjusting-resources %} - {% if currentVersion ver_gt "enterprise-server@2.22" %} -If you plan to configure {% data variables.product.prodname_actions %} for your instance, you should provision additional resources. You must also configure at least one self-hosted runner to execute workflows. For more information, see "[Getting started with {% data variables.product.prodname_actions %} for {% data variables.product.prodname_ghe_server %}](/admin/github-actions/getting-started-with-github-actions-for-github-enterprise-server)." +If you plan to enable {% data variables.product.prodname_actions %} for the users of your instance, review the requirements for hardware, external storage, and runners in "[Getting started with {% data variables.product.prodname_actions %} for {% data variables.product.prodname_ghe_server %}](/admin/github-actions/getting-started-with-github-actions-for-github-enterprise-server)." {% endif %} +{% data reusables.enterprise_installation.about-adjusting-resources %} + {% if currentVersion == "enterprise-server@2.22" %} #### Beta features in {% data variables.product.prodname_ghe_server %} 2.22 {% data variables.product.prodname_ghe_server %} 2.22 offered features in beta, such as {% data variables.product.prodname_actions %}, {% data variables.product.prodname_registry %}, and {% data variables.product.prodname_code_scanning %}. For more information, see the [{% data variables.product.prodname_ghe_server %} 2.22 release notes](/enterprise-server@2.22/admin/release-notes#2.22.0). -If you enabled beta features for {% data variables.product.prodname_ghe_server %} 2.22, your instance requires additional hardware resources. For more information, see "[Minimum requirements](#minimum-requirements)". +If you enabled beta features for {% data variables.product.prodname_ghe_server %} 2.22, your instance requires additional hardware resources. For more information about minimum requirements, see "[Minimum requirements](#minimum-requirements)." + +For more information about the hardware requirements for {% data variables.product.prodname_actions %}, see "[Getting started with {% data variables.product.prodname_actions %} for {% data variables.product.prodname_ghe_server %}](/admin/github-actions/getting-started-with-github-actions-for-github-enterprise-server#review-hardware-considerations)." {% endif %} diff --git a/data/reusables/gated-features/auto-merge.md b/data/reusables/gated-features/auto-merge.md index acfb4dddff..4f05ac43bd 100644 --- a/data/reusables/gated-features/auto-merge.md +++ b/data/reusables/gated-features/auto-merge.md @@ -1 +1 @@ -Auto-merge for pull requests is available in public repositories with {% data variables.product.prodname_free_user %} and {% data variables.product.prodname_free_team %} for organizations, and in public and private repositories with {% data variables.product.prodname_pro %}, {% data variables.product.prodname_team %}, {% data variables.product.prodname_ghe_cloud %}, and {% data variables.product.prodname_ghe_server %}. {% if currentVersion == "free-pro-team@latest" %}{% data reusables.gated-features.more-info %}{% endif %} +{% if currentVersion == "github-ae@latest" %}Auto-merge for pull requests is available in internal and private repositories with {% data variables.product.prodname_ghe_managed %}, {% else %}Auto-merge for pull requests is available {% endif %} in public repositories with {% data variables.product.prodname_free_user %} and {% data variables.product.prodname_free_team %} for organizations, and in public and private repositories with {% data variables.product.prodname_pro %}, {% data variables.product.prodname_team %}, {% data variables.product.prodname_ghe_cloud %}, and {% data variables.product.prodname_ghe_server %}. {% if currentVersion == "free-pro-team@latest" %}{% data reusables.gated-features.more-info %}{% endif %} diff --git a/data/reusables/gated-features/discussions.md b/data/reusables/gated-features/discussions.md index 5ada0a25ee..860427abe2 100644 --- a/data/reusables/gated-features/discussions.md +++ b/data/reusables/gated-features/discussions.md @@ -1 +1 @@ -{% data variables.product.prodname_discussions %} is available in beta for public repositories on {% data variables.product.prodname_dotcom_the_website %}. {% data reusables.gated-features.more-info-org-products %} +{% data variables.product.prodname_discussions %} is available in beta for public and private repositories on {% data variables.product.prodname_dotcom_the_website %}. {% data reusables.gated-features.more-info-org-products %} diff --git a/data/reusables/gated-features/ghas.md b/data/reusables/gated-features/ghas.md new file mode 100644 index 0000000000..fcf1b455c7 --- /dev/null +++ b/data/reusables/gated-features/ghas.md @@ -0,0 +1 @@ +{% data variables.product.prodname_GH_advanced_security %} licenses are available for enterprise accounts on {% data variables.product.prodname_ghe_cloud %}{% if currentVersion == "github-ae@latest" %}, {% data variables.product.prodname_ghe_managed %},{% endif %} and {% data variables.product.prodname_ghe_server %}. {% data variables.product.prodname_GH_advanced_security %} is also included in {% data variables.product.prodname_ghe_one %}{% if currentVersion == "free-pro-team@latest" %} and in all public repositories on {% data variables.product.prodname_dotcom_the_website %}{% endif %}. For more information, see "[About GitHub's products](/github/getting-started-with-github/githubs-products)." \ No newline at end of file diff --git a/data/reusables/github-actions/runner-workflow-continuity.md b/data/reusables/github-actions/runner-workflow-continuity.md new file mode 100644 index 0000000000..16288f57b1 --- /dev/null +++ b/data/reusables/github-actions/runner-workflow-continuity.md @@ -0,0 +1 @@ +If {% data variables.product.prodname_actions %} services are temporarily unavailable, then a workflow run is discarded if it has not been queued within 30 minutes of being triggered. For example, if a workflow is triggered and the {% data variables.product.prodname_actions %} services are unavailable for 31 minutes or longer, then the workflow run will not be processed. diff --git a/data/reusables/github-actions/supported-github-runners.md b/data/reusables/github-actions/supported-github-runners.md index 3af3da15cb..514e6e3e37 100644 --- a/data/reusables/github-actions/supported-github-runners.md +++ b/data/reusables/github-actions/supported-github-runners.md @@ -1,8 +1,8 @@ | Virtual environment | YAML workflow label | | --------------------|---------------------| | Windows Server 2019 | `windows-latest` or `windows-2019` | -| Ubuntu 20.04 | `ubuntu-latest` (see note) or `ubuntu-20.04` | -| Ubuntu 18.04 | `ubuntu-latest` (see note) or `ubuntu-18.04` | +| Ubuntu 20.04 | `ubuntu-latest` or `ubuntu-20.04` | +| Ubuntu 18.04 | `ubuntu-18.04` | | Ubuntu 16.04 | `ubuntu-16.04` | | macOS Big Sur 11.0 | `macos-11.0` | | macOS Catalina 10.15 | `macos-latest` or `macos-10.15` | diff --git a/data/reusables/github-actions/ubuntu-runner-preview.md b/data/reusables/github-actions/ubuntu-runner-preview.md deleted file mode 100644 index 6eb91edc13..0000000000 --- a/data/reusables/github-actions/ubuntu-runner-preview.md +++ /dev/null @@ -1,5 +0,0 @@ -{% note %} - -**Note:** The `ubuntu-latest` label is currently being migrated from the Ubuntu 18.04 virtual environment to Ubuntu 20.04. Specifying the `ubuntu-latest` label during the migration might use either virtual environment. To explicitly use Ubuntu 20.04 or Ubuntu 18.04, specify `ubuntu-20.04` or `ubuntu-18.04`. When the migration is complete, `ubuntu-latest` will use the Ubuntu 20.04 virtual environment. For more information about the migration, see "[Ubuntu-latest workflows will use Ubuntu-20.04](https://github.com/actions/virtual-environments/issues/1816)." - -{% endnote %} diff --git a/data/reusables/mobile/push-notifications-on-ghes.md b/data/reusables/mobile/push-notifications-on-ghes.md index 94535c20d3..954c32fc7b 100644 --- a/data/reusables/mobile/push-notifications-on-ghes.md +++ b/data/reusables/mobile/push-notifications-on-ghes.md @@ -1 +1 @@ -For {% data variables.product.prodname_ghe_server %}, push notifications for direct mentions are currently supported on iOS and coming soon to Android. {% data variables.product.prodname_ghe_server %} uses background fetch to support push notifications without sending your information to a third-party service, so you may experience a delay in receiving push notifications. \ No newline at end of file +{% data variables.product.prodname_ghe_server %} uses background fetch to support push notifications without sending your information to a third-party service, so you may experience a delay in receiving push notifications. \ No newline at end of file diff --git a/data/reusables/notifications/vulnerable-dependency-notification-options.md b/data/reusables/notifications/vulnerable-dependency-notification-options.md index 6fd66803d4..c85f038f8a 100644 --- a/data/reusables/notifications/vulnerable-dependency-notification-options.md +++ b/data/reusables/notifications/vulnerable-dependency-notification-options.md @@ -1,14 +1,26 @@ -{% if currentVersion == "free-pro-team@latest" %} -By default, you will receive notification of new {% data variables.product.prodname_dependabot_alerts %}: -- by email, an email is sent every time a vulnerability with a critical or high severity is found (**Email each time a vulnerability is found** option) -- in the user interface, a warning is shown in your repository's file and code views if there are any vulnerable dependencies (**UI alerts** option) -- on the command line, warnings are displayed as callbacks when you push to repositories with any vulnerable dependencies (**Command Line** option) -- in your inbox, as web notifications for new vulnerabilities with a critical or high severity (**Web** option) +{% if currentVersion == "free-pro-team@latest" or currentVersion ver_gt "enterprise-server@3.1" %} +{% if currentVersion == "free-pro-team@latest"%}By default, you will receive notifications:{% endif %}{% if enterpriseServerVersions contains currentVersion and currentVersion gt "enterprise-server@3.1" %}By default, if your site administrator has configured email for notifications on your instance, you will receive {% data variables.product.prodname_dependabot_alerts %}:{% endif %} + +- by email, an email is sent when {% data variables.product.prodname_dependabot %} is enabled for a repository, when a new manifest file is committed to the repository, and when a new vulnerability with a critical or high severity is found (**Email each time a vulnerability is found** option). +- in the user interface, a warning is shown in your repository's file and code views if there are any vulnerable dependencies (**UI alerts** option). +- on the command line, warnings are displayed as callbacks when you push to repositories with any vulnerable dependencies (**Command Line** option). +- in your inbox, as web notifications. A web notification is sent when {% data variables.product.prodname_dependabot %} is enabled for a repository, when a new manifest file is committed to the repository, and when a new vulnerability with a critical or high severity is found (**Web** option). +- on {% data variables.product.prodname_mobile %}, as web notifications. For more information, see "[Enabling push notifications with GitHub for mobile](/github/managing-subscriptions-and-notifications-on-github/configuring-notifications#enabling-push-notifications-with-github-for-mobile)." + +{% note %} + +**Note:** The email and web/{% data variables.product.prodname_mobile %} notifications are: + +- _per repository_ when {% data variables.product.prodname_dependabot %} is enabled on the repository, or when a new manifest file is committed to the repository. + +- _per organization_ when a new vulnerability is discovered. + +{% endnote %} You can customize the way you are notified about {% data variables.product.prodname_dependabot_alerts %}. For example, you can receive a weekly digest email summarizing alerts for up to 10 of your repositories using the **Email a digest summary of vulnerabilities** and **Weekly security email digest** options. {% endif %} -{% if enterpriseServerVersions contains currentVersion and currentVersion ver_gt "enterprise-server@2.21" %} +{% if currentVersion == "enterprise-server@2.22" or currentVersion == "enterprise-server@3.0" or currentVersion == "enterprise-server@3.1" %} By default, if your site administrator has configured email for notifications on your instance, you will receive {% data variables.product.prodname_dependabot_alerts %}: - by email, an email is sent every time a vulnerability {% if currentVersion ver_gt "enterprise-server@2.23" %}with a critical or high severity {% endif %}is found (**Email each time a vulnerability is found** option) - in the user interface, a warning is shown in your repository's file and code views if there are any vulnerable dependencies (**UI alerts** option) diff --git a/data/reusables/organizations/team-discussions-are-for-orgs.md b/data/reusables/organizations/team-discussions-are-for-orgs.md index e2d9192787..cb0f53f8ed 100644 --- a/data/reusables/organizations/team-discussions-are-for-orgs.md +++ b/data/reusables/organizations/team-discussions-are-for-orgs.md @@ -1 +1 @@ -Team discussions are only available on team pages in organizations. For more information, see "[About team discussions](/articles/about-team-discussions)." +Team discussions are only available on team pages in organizations. For more information, see "[About team discussions](/github/setting-up-and-managing-organizations-and-teams/about-team-discussions)." diff --git a/data/reusables/package_registry/authenticate-packages.md b/data/reusables/package_registry/authenticate-packages.md index 64b208d748..fcbd7fd372 100644 --- a/data/reusables/package_registry/authenticate-packages.md +++ b/data/reusables/package_registry/authenticate-packages.md @@ -3,7 +3,10 @@ You need an access token to publish, install, and delete packages. You can use a {% if currentVersion == "free-pro-team@latest" %} To authenticate using a {% data variables.product.prodname_actions %} workflow: - For package registries (`PACKAGE-REGISTRY.pkg.github.com`), you can use a `GITHUB_TOKEN`. -- For the container registry (`ghcr.io/OWNER/IMAGE-NAME`), you must use a personal access token. +- For the container registry (`ghcr.io/OWNER/IMAGE-NAME`), you can use a `GITHUB_TOKEN` or a personal access token. We strongly recommend you use a `GITHUB_TOKEN` to avoid unncessary access to your repositories. + +For more information about `GITHUB_TOKEN` used in {% data variables.product.prodname_actions %} workflows, see "[Encrypted secrets](/actions/reference/encrypted-secrets)" and "[Authentication in a workflow](/actions/reference/authentication-in-a-workflow#using-the-github_token-in-a-workflow)." + {% else %} To authenticate to {% data variables.product.prodname_registry %} using a {% data variables.product.prodname_actions %} workflow, you must use `GITHUB_TOKEN`. {% endif %} diff --git a/data/reusables/package_registry/authenticate_with_pat_for_container_registry.md b/data/reusables/package_registry/authenticate_with_pat_for_container_registry.md index 3e17856823..fb85de55b5 100644 --- a/data/reusables/package_registry/authenticate_with_pat_for_container_registry.md +++ b/data/reusables/package_registry/authenticate_with_pat_for_container_registry.md @@ -1,7 +1,10 @@ {% if currentVersion == "free-pro-team@latest" %} -If you want to authenticate to {% data variables.product.prodname_github_container_registry %} in a {% data variables.product.prodname_actions %} workflow, then you must use a personal access token (PAT). The `GITHUB_TOKEN` does not currently have the required permissions. During the {% data variables.product.prodname_github_container_registry %} beta, the only supported form of authentication is the PAT. -PATs can grant broad access to your account. We recommend selecting only the necessary read, write, or delete `package` scope when creating a PAT to authenticate to the {% data variables.product.prodname_container_registry %}. Avoid including the `repo` scope in a PAT used by a GitHub Actions workflow because it gives unnecessary additional access. +To authenticate to {% data variables.product.prodname_github_container_registry %} within a {% data variables.product.prodname_actions %} workflow, use the `GITHUB_TOKEN` for the best security and experience. + +For guidance on updating your workflows that authenticate to `ghcr.io` with a personal access token, see "[Upgrading a workflow that accesses `ghcr.io`](/packages/guides/using-github-packages-with-github-actions#upgrading-a-workflow-that-accesses-ghcrio)." + +{% data reusables.package_registry.github-token-security-over-pat %} If you'd like to use the {% data variables.product.prodname_container_registry %} in actions during the beta, follow our security best practices for PAT use at "[Security hardening for GitHub Actions](/actions/getting-started-with-github-actions/security-hardening-for-github-actions#considering-cross-repository-access)." diff --git a/data/reusables/package_registry/create-npmrc-owner-step.md b/data/reusables/package_registry/create-npmrc-owner-step.md index a28d98137a..54ad4fdbb4 100644 --- a/data/reusables/package_registry/create-npmrc-owner-step.md +++ b/data/reusables/package_registry/create-npmrc-owner-step.md @@ -2,15 +2,15 @@ {% if currentVersion == "free-pro-team@latest" %} ```shell -registry=https://npm.pkg.github.com/OWNER + @OWNER:registry=https://npm.pkg.github.com ``` {% else %} If subdomain isolation is enabled: ```shell - registry=https://npm.HOSTNAME/OWNER + @OWNER:registry=https://npm.HOSTNAME ``` If subdomain isolation is disabled: ```shell - https://HOSTNAME/_registry/npm/OWNER + @OWNER:registry=https://HOSTNAME/_registry/npm ``` {% endif %} diff --git a/data/reusables/package_registry/github-token-security-over-pat.md b/data/reusables/package_registry/github-token-security-over-pat.md new file mode 100644 index 0000000000..bee4d1039b --- /dev/null +++ b/data/reusables/package_registry/github-token-security-over-pat.md @@ -0,0 +1,3 @@ +{% data variables.product.prodname_github_container_registry %} now supports `GITHUB_TOKEN` for easy and secure authentication in your workflows. If your workflow is using a personal access token (PAT) to authenticate to `ghcr.io`, then we highly recommend you update your workflow to use `GITHUB_TOKEN`. + +For more information about `GITHUB_TOKEN`, see "[Encrypted secrets](/actions/reference/encrypted-secrets)" and "[Authentication in a workflow](/actions/reference/authentication-in-a-workflow#using-the-github_token-in-a-workflow)." \ No newline at end of file diff --git a/data/reusables/pull_requests/you-can-auto-merge.md b/data/reusables/pull_requests/you-can-auto-merge.md index 5da386a3d1..917e7d9452 100644 --- a/data/reusables/pull_requests/you-can-auto-merge.md +++ b/data/reusables/pull_requests/you-can-auto-merge.md @@ -1,3 +1,3 @@ -{% if currentVersion == "free-pro-team@latest" or currentVersion ver_gt "enterprise-server@3.0" %} +{% if currentVersion == "free-pro-team@latest" or currentVersion == "github-ae@latest" or currentVersion ver_gt "enterprise-server@3.0" %} You can configure a pull request to merge automatically when all merge requirements are met. For more information, see "[Automatically merging a pull request](/github/collaborating-with-issues-and-pull-requests/automatically-merging-a-pull-request)." {% endif %} diff --git a/data/reusables/repositories/actions-scheduled-workflow-example.md b/data/reusables/repositories/actions-scheduled-workflow-example.md index c4518df7cb..40d253284b 100644 --- a/data/reusables/repositories/actions-scheduled-workflow-example.md +++ b/data/reusables/repositories/actions-scheduled-workflow-example.md @@ -1,11 +1,11 @@ You can schedule a workflow to run at specific UTC times using [POSIX cron syntax](https://pubs.opengroup.org/onlinepubs/9699919799/utilities/crontab.html#tag_20_25_07). Scheduled workflows run on the latest commit on the default or base branch. The shortest interval you can run scheduled workflows is once every 5 minutes. -This example triggers the workflow every 15 minutes: +This example triggers the workflow every day at 5:30 and 17:30 UTC: ```yaml on: schedule: # * is a special character in YAML so you have to quote this string - - cron: '*/15 * * * *' + - cron: '*/30 5,17 * * *' ``` diff --git a/data/reusables/repositories/github-reviews-security-advisories.md b/data/reusables/repositories/github-reviews-security-advisories.md index cb7849c16e..cf870a9e65 100644 --- a/data/reusables/repositories/github-reviews-security-advisories.md +++ b/data/reusables/repositories/github-reviews-security-advisories.md @@ -1,3 +1,3 @@ {% data variables.product.prodname_dotcom %} will review each published security advisory, add it to the {% data variables.product.prodname_advisory_database %}, and may use the security advisory to send {% data variables.product.prodname_dependabot_alerts %} to affected repositories. If the security advisory comes from a fork, we'll only send an alert if the fork owns a package, published under a unique name, on a public package registry. This process can take up to 72 hours and {% data variables.product.prodname_dotcom %} may contact you for more information. -For more information about {% data variables.product.prodname_dependabot_alerts %}, see "[About alerts for vulnerable dependencies](/github/managing-security-vulnerabilities/about-alerts-for-vulnerable-dependencies)." For more information about {% data variables.product.prodname_advisory_database %}, see "[Browsing security vulnerabilities in the {% data variables.product.prodname_advisory_database %}](/github/managing-security-vulnerabilities/browsing-security-vulnerabilities-in-the-github-advisory-database)." +For more information about {% data variables.product.prodname_dependabot_alerts %}, see "[About alerts for vulnerable dependencies](/github/managing-security-vulnerabilities/about-alerts-for-vulnerable-dependencies#dependabot-alerts-for-vulnerable-dependencies)" and "[About {% data variables.product.prodname_dependabot_security_updates %}](/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-dependabot-security-updates)." For more information about {% data variables.product.prodname_advisory_database %}, see "[Browsing security vulnerabilities in the {% data variables.product.prodname_advisory_database %}](/github/managing-security-vulnerabilities/browsing-security-vulnerabilities-in-the-github-advisory-database)." diff --git a/data/reusables/repositories/request-security-advisory-cve-id.md b/data/reusables/repositories/request-security-advisory-cve-id.md index 6d43bedd1c..008af8656a 100644 --- a/data/reusables/repositories/request-security-advisory-cve-id.md +++ b/data/reusables/repositories/request-security-advisory-cve-id.md @@ -1 +1,5 @@ If you don't already have a CVE identification number for the security vulnerability in your project, you can request a CVE identification number from {% data variables.product.prodname_dotcom %}. {% data variables.product.prodname_dotcom %} usually reviews the request within 72 hours. Requesting a CVE identification number doesn't make your security advisory public. If your security advisory is eligible for a CVE, {% data variables.product.prodname_dotcom %} will reserve a CVE identification number for your advisory. We'll then publish the CVE details after you publish the security advisory. + +If you already have a CVE you want to use, for example, if you use a CNA other than {% data variables.product.prodname_dotcom %}, add it to the security advisory form. This may happen, for example, if you want to get the advisory consistent with other communications you plan to send out at publication time. + +If an advisory form doesn't have a CVE, we will request a CVE for you when you publish the advisory. \ No newline at end of file diff --git a/data/reusables/repositories/security-advisory-edit-cwe-cve.md b/data/reusables/repositories/security-advisory-edit-cwe-cve.md index 1549f0a30d..cabbafc52e 100644 --- a/data/reusables/repositories/security-advisory-edit-cwe-cve.md +++ b/data/reusables/repositories/security-advisory-edit-cwe-cve.md @@ -1,2 +1,2 @@ 1. Add common weakness enumerators (CWEs) for the kinds of security weaknesses that this security advisory addresses. For a full list of CWEs, see the "[Common Weakness Enumeration](https://cwe.mitre.org/index.html)" from MITRE. -1. If you have an existing CVE identifier, select "I have an existing CVE identifier" and type the CVE identifier in the text box. Otherwise, you can request a CVE from {% data variables.product.prodname_dotcom %} later. +1. If you have an existing CVE identifier, select "I have an existing CVE identifier" and type the CVE identifier in the text box. Otherwise, you can request a CVE from {% data variables.product.prodname_dotcom %} later. For more information, see "[About {% data variables.product.prodname_security_advisories %}](/github/managing-security-vulnerabilities/about-github-security-advisories#cve-identification-numbers)." diff --git a/data/reusables/secret-scanning/partner-secret-list-private-repo.md b/data/reusables/secret-scanning/partner-secret-list-private-repo.md index d5701ad58f..3fb4a8e734 100644 --- a/data/reusables/secret-scanning/partner-secret-list-private-repo.md +++ b/data/reusables/secret-scanning/partner-secret-list-private-repo.md @@ -1,5 +1,5 @@ -Partner | Supported secret | API slug ---- | --- | --- +Partner | Supported secret | API slug +--- | --- | --- n/a | JSON Web Token | json_web_token n/a | OAuth Client Credential | api_credential_assignment Adafruit IO | Adafruit IO Key | adafruit_io_key @@ -49,8 +49,10 @@ Proctorio | Proctorio Linkage Key | proctorio_linkage_key Proctorio | Proctorio Registration Key | proctorio_registration_key Proctorio | Proctorio Secret Key | proctorio_secret_key Pulumi | Pulumi Access Token | pulumi_access_token +PyPI | PyPI API Token | pypi_api_token Samsara | Samsara API Token | samsara_api_token Samsara | Samsara OAuth Access Token | samsara_oauth_access_token +SendGrid | SendGrid API Key | sendgrid_api_key Shopify | Shopify App Shared Secret | shopify_app_shared_secret Shopify | Shopify Access Token | shopify_access_token Shopify | Shopify Custom App Access Token | shopify_custom_app_access_token diff --git a/data/reusables/secret-scanning/partner-secret-list-public-repo.md b/data/reusables/secret-scanning/partner-secret-list-public-repo.md index 6cbc74ec8e..0577b865d9 100644 --- a/data/reusables/secret-scanning/partner-secret-list-public-repo.md +++ b/data/reusables/secret-scanning/partner-secret-list-public-repo.md @@ -1,5 +1,5 @@ -Partner | Supported secret ---- | --- +Partner | Supported secret +--- | --- Adafruit IO | Adafruit IO Key Alibaba Cloud | Alibaba Cloud Access Key ID and Access Key Secret pair Amazon Web Services (AWS) | Amazon AWS Access Key ID and Secret Access Key pair @@ -11,8 +11,8 @@ Azure | Azure Service Management Certificate | azure_management_certificate Azure | Azure SQL Connection String | azure_sql_connection_string Azure | Azure Storage Account Key | azure_storage_account_key Clojars | Clojars Deploy Token -CloudBees CodeShip | CloudBees CodeShip Credential -Databricks | Databricks Access Token +CloudBees CodeShip | CloudBees CodeShip Credential +Databricks | Databricks Access Token Datadog | Datadog API Key Discord | Discord Bot Token Doppler | Doppler Personal Token @@ -25,15 +25,15 @@ Dynatrace | Dynatrace Access Token Dynatrace | Dynatrace Internal Token Finicity | Finicity App Key Frame.io | Frame.io JSON Web Token -Frame.io| Frame.io Developer Token +Frame.io| Frame.io Developer Token GitHub | GitHub SSH Private Key GitHub | GitHub Personal Access Token GitHub | GitHub App Installation Access Token -GoCardless | GoCardless Live Access Token +GoCardless | GoCardless Live Access Token GoCardless | GoCardless Sandbox Access Token Google Cloud | Google API Key Google Cloud | Google Cloud Private Key ID -Hashicorp Terraform | Terraform Cloud / Enterprise API Token +Hashicorp Terraform | Terraform Cloud / Enterprise API Token Hubspot | Hubspot API Key Mailchimp | Mailchimp API Key Mailchimp | Mandrill API Key @@ -49,6 +49,7 @@ Proctorio | Proctorio Linkage Key Proctorio | Proctorio Registration Key Proctorio | Proctorio Secret Key Pulumi | Pulumi Access Token +PyPI | PyPI API Token Samsara | Samsara API Token Samsara | Samsara OAuth Access Token Shopify | Shopify App Shared Secret diff --git a/data/reusables/security-advisory/disclosing-vulnerabilities.md b/data/reusables/security-advisory/disclosing-vulnerabilities.md new file mode 100644 index 0000000000..27c28d714c --- /dev/null +++ b/data/reusables/security-advisory/disclosing-vulnerabilities.md @@ -0,0 +1 @@ +Vulnerability disclosure is an area where collaboration between vulnerability reporters, such as security researchers, and project maintainers is very important. Both parties need to work together from the moment a potentially harmful security vulnerability is found, right until a vulnerability is disclosed to the world, ideally with a patch available. Typically, when someone lets a maintainer know privately about a security vulnerability, the maintainer develops a fix, validates it, and notifies the users of the project or package. diff --git a/data/reusables/security-advisory/security-advisory-overview.md b/data/reusables/security-advisory/security-advisory-overview.md new file mode 100644 index 0000000000..49f51be77b --- /dev/null +++ b/data/reusables/security-advisory/security-advisory-overview.md @@ -0,0 +1 @@ +{% data variables.product.prodname_security_advisories %} allow repository maintainers to privately discuss and fix a security vulnerability in a project. After collaborating on a fix, repository maintainers can publish the security advisory to publicly disclose the security vulnerability to the project's community. By publishing security advisories, repository maintainers make it easier for their community to update package dependencies and research the impact of the security vulnerabilities. \ No newline at end of file diff --git a/data/reusables/security/displayed-information.md b/data/reusables/security/displayed-information.md new file mode 100644 index 0000000000..02f38c36db --- /dev/null +++ b/data/reusables/security/displayed-information.md @@ -0,0 +1,7 @@ +When you enable one or more security and analysis features for existing repositories, you will see any results displayed on {% data variables.product.prodname_dotcom %} within minutes: + +- All the existing repositories will have the selected configuration. +- New repositories will follow the selected configuration if you've enabled the checkbox for new repositories.{% if currentVersion == "free-pro-team@latest" or currentVersion ver_gt "enterprise-server@2.22" %} +- We use the permissions to scan for manifest files to apply the relevant services. +- You'll see information on your dependency graph. +- {% data variables.product.prodname_dotcom %} will generate {% data variables.product.prodname_dependabot_alerts %}{% endif %}{% if currentVersion == "free-pro-team@latest" %} and raise pull requests{% endif %}. diff --git a/data/reusables/webhooks/pusher_type_desc.md b/data/reusables/webhooks/pusher_type_desc.md new file mode 100644 index 0000000000..867fad6a56 --- /dev/null +++ b/data/reusables/webhooks/pusher_type_desc.md @@ -0,0 +1 @@ +`pusher_type`|`string`| The pusher type for the event. Can be either `user` or a deploy key. \ No newline at end of file diff --git a/data/reusables/webhooks/repository_vulnerability_alert_short_desc.md b/data/reusables/webhooks/repository_vulnerability_alert_short_desc.md index 00324e3dc1..bf2b01e473 100644 --- a/data/reusables/webhooks/repository_vulnerability_alert_short_desc.md +++ b/data/reusables/webhooks/repository_vulnerability_alert_short_desc.md @@ -1 +1 @@ -Activity related to security vulnerability alerts in a repository. {% data reusables.webhooks.action_type_desc %} For more information, see the "[About security alerts for vulnerable dependencies](/github/managing-security-vulnerabilities/about-security-alerts-for-vulnerable-dependencies)". +Activity related to security vulnerability alerts in a repository. {% data reusables.webhooks.action_type_desc %} For more information, see the "[About alerts for vulnerable dependencies](/github/managing-security-vulnerabilities/about-alerts-for-vulnerable-dependencies/)". diff --git a/data/reusables/webhooks/workflow_desc.md b/data/reusables/webhooks/workflow_desc.md new file mode 100644 index 0000000000..6f716dbe56 --- /dev/null +++ b/data/reusables/webhooks/workflow_desc.md @@ -0,0 +1 @@ +`workflow` | `object` | The workflow that generated the workflow run. diff --git a/data/reusables/webhooks/workflow_run_desc.md b/data/reusables/webhooks/workflow_run_desc.md index 8866577116..486a20dcd1 100644 --- a/data/reusables/webhooks/workflow_run_desc.md +++ b/data/reusables/webhooks/workflow_run_desc.md @@ -1,4 +1,5 @@ +This event occurs when a workflow run is requested or completed, and allows you to execute a workflow based on the finished result of another workflow. A workflow run is triggered regardless of the result of the previous workflow. -This event occurs when a workflow run is requested or completed, and allows you to execute a workflow based on the finished result of another workflow. For example, if your `pull_request` workflow generates build artifacts, you can create a new workflow that uses `workflow_run` to analyze the results and add a comment to the original pull request. +For example, if your `pull_request` workflow generates build artifacts, you can create a new workflow that uses `workflow_run` to analyze the results and add a comment to the original pull request. -The workflow started by the `workflow_run` event is able to access the secrets and write tokens used by the original workflow. +The workflow started by the `workflow_run` event is able to access secrets and write tokens, even if the previous workflow was not. This is useful in cases where the previous workflow is intentionally not privileged, but you need to take a privileged action in a later workflow. diff --git a/data/reusables/webhooks/workflow_run_properties.md b/data/reusables/webhooks/workflow_run_properties.md new file mode 100644 index 0000000000..1ff99e14f5 --- /dev/null +++ b/data/reusables/webhooks/workflow_run_properties.md @@ -0,0 +1,4 @@ +Key | Type | Description +----|------|------------- +`action`|`string` | The action that was performed. Can be one of `requested` or `completed`. +`workflow_run`| `object` | The workflow run. Many `workflow_run` keys, such as `head_branch`, `conclusion`, and `pull_requests` are the same as those in a [`check_suite`](#check_suite) object. diff --git a/data/ui.yml b/data/ui.yml index 1979c0563e..0d5cbf76d1 100644 --- a/data/ui.yml +++ b/data/ui.yml @@ -11,13 +11,17 @@ header: For the most current information, please visit the English documentation. If there's a problem with translations on this page, please - let us know. + let us know. localization_in_progress: Hello, explorer! This page is under active development or still in translation. For the most up-to-date and accurate information, please visit our English documentation. early_access: 📣 Please do not share this URL publicly. This page contains content about an early access feature. + ghes_release_notes_use_latest: Please use the latest release for the latest security, performance, and bug fixes. + ghes_release_notes_upgrade_patch_only: 📣 This is not the latest patch release of Enterprise Server. {% data ui.header.notices.ghes_release_notes_use_latest %} + ghes_release_notes_upgrade_release_only: 📣 This is not the latest release of Enterprise Server. {% data ui.header.notices.ghes_release_notes_use_latest %} + ghes_release_notes_upgrade_patch_and_release: 📣 This is not the latest patch release of this release series, and this is not the latest release of Enterprise Server. {% data ui.header.notices.ghes_release_notes_use_latest %} search: need_help: Need help? placeholder: Search topics, products... @@ -158,3 +162,4 @@ product_sublanding: learning_track_nav: prevGuide: Previous guide nextGuide: Next guide +contributor_callout: This article is contributed and maintained by diff --git a/includes/all-articles-category.html b/includes/all-articles-category.html new file mode 100644 index 0000000000..0e1fdbd61b --- /dev/null +++ b/includes/all-articles-category.html @@ -0,0 +1,32 @@ +{% assign category = siteTree[currentLanguage][currentVersion].products[currentProduct].categories[currentPath] %} + +{% assign maxArticles = 10 %} + +
+

{{ category.title }} docs

+ +
+ {% for xmaptopic in category.maptopics %} + {% assign maptopic = xmaptopic[1] %} + {% unless maptopic.hidden %} +
+

{{ maptopic.title }}

+
    + {% for xarticle in maptopic.articles %} + {% assign article = xarticle[1] %} +
  • + + {{ article.title }} + +
  • + {% endfor %} + {% assign numArticles = maptopic.childArticles | obj_size %} + {% if numArticles > maxArticles %} + + {% endif %} +
+
+ {% endunless %} + {% endfor %} +
+
diff --git a/includes/all-articles.html b/includes/all-articles-product.html similarity index 100% rename from includes/all-articles.html rename to includes/all-articles-product.html diff --git a/includes/article.html b/includes/article.html index fe8f4c89ee..27d916ec04 100644 --- a/includes/article.html +++ b/includes/article.html @@ -20,6 +20,12 @@
+ {% if page.contributor %} +
+

{% octicon "info" %}{% data ui.contributor_callout %} {{ page.contributor.name }}.

+
+ {% endif %} + {% if page.intro %}
{{ page.intro }}
{% endif %} diff --git a/includes/footer.html b/includes/footer.html index a74ee93eb2..d7477ba2da 100644 --- a/includes/footer.html +++ b/includes/footer.html @@ -12,7 +12,7 @@
  • {% data ui.footer.product.links.features %}
  • {% data ui.footer.product.links.security %}
  • {% data ui.footer.product.links.enterprise %}
  • -
  • {% data ui.footer.product.links.case_studies %}
  • +
  • {% data ui.footer.product.links.case_studies %}
  • {% data ui.footer.product.links.pricing %}
  • {% data ui.footer.product.links.resources %}
  • diff --git a/includes/head.html b/includes/head.html index 5d931a9048..0cd6b63fad 100644 --- a/includes/head.html +++ b/includes/head.html @@ -11,6 +11,9 @@ {% if page.intro %} {% endif %} + {% if page.topics %} + + {% endif %} {% if page.hidden %} {% endif %} diff --git a/includes/small-footer.html b/includes/small-footer.html index 61e56abbb4..5bf248e873 100644 --- a/includes/small-footer.html +++ b/includes/small-footer.html @@ -10,7 +10,7 @@
  • {% data ui.footer.product.links.security %}
  • {% data ui.footer.support.links.status %}
  • {% data ui.footer.support.links.help %}
  • -
  • {% data ui.footer.support.links.contact_github %}
  • +
  • {% data ui.footer.support.links.contact_github %}
  • {% data ui.footer.product.links.pricing %}
  • {% data ui.footer.platform.links.developer_api %}
  • {% data ui.footer.support.links.training %}
  • diff --git a/javascripts/display-platform-specific-content.js b/javascripts/display-platform-specific-content.js index 0e7035eba5..76710e3466 100644 --- a/javascripts/display-platform-specific-content.js +++ b/javascripts/display-platform-specific-content.js @@ -8,11 +8,8 @@ export default function displayPlatformSpecificContent () { let platform = getDefaultPlatform() || parseUserAgent().os // adjust platform names to fit existing mac/windows/linux scheme - if (!platform) platform = 'mac' // default to 'mac' on mobile - if (platform === 'darwin') platform = 'mac' + if (!platform) platform = 'linux' if (platform === 'ios') platform = 'mac' - if (platform === 'android') platform = 'linux' - if (platform.startsWith('win')) platform = 'windows' const platformsInContent = findPlatformSpecificContent(platform) diff --git a/javascripts/search.js b/javascripts/search.js index 760bce874b..edc7def535 100644 --- a/javascripts/search.js +++ b/javascripts/search.js @@ -261,8 +261,8 @@ function tmplSearchResult ({ url, breadcrumbs, heading, title, content }) { { href: url, class: 'no-underline' }, div( { class: 'search-result-breadcrumbs d-block text-gray-dark opacity-60 text-small pb-1' }, - // Remove redundant title from the end of breadcrumbs - markify((breadcrumbs || '').replace(` / ${title}`, '')) + // Breadcrumbs in search records don't include the page title + markify(breadcrumbs || '') ), div( { class: 'search-result-title d-block h4-mktg text-gray-dark' }, diff --git a/javascripts/user-agent.js b/javascripts/user-agent.js index 659dd1a66d..2f76724992 100644 --- a/javascripts/user-agent.js +++ b/javascripts/user-agent.js @@ -6,6 +6,7 @@ const OS_REGEXPS = [ /(mac) os x ([^);]+)/i, /(windows) ([^);]+)/i, /(android) ([^);]+)/i, + /(cros) ([^);]+)/i, /(linux) ([^);]+)/i ] diff --git a/layouts/product-landing.html b/layouts/product-landing.html index fbda1d8334..fc8e00406d 100644 --- a/layouts/product-landing.html +++ b/layouts/product-landing.html @@ -60,7 +60,9 @@
      {% for link in featuredLinks.guides %} @@ -125,13 +127,19 @@ {% render guide-card for guideCards as guide %}
    - Explore guides {% octicon "arrow-right" %} + {% unless currentCategory %} + Explore guides {% octicon "arrow-right" %} + {% endunless %} {% endif %}
    - {% include all-articles %} + {% if currentCategory %} + {% include all-articles-category %} + {% else %} + {% include all-articles-product %} + {% endif %}
    diff --git a/layouts/release-notes.html b/layouts/release-notes.html index f5ce1d2975..0c903420be 100644 --- a/layouts/release-notes.html +++ b/layouts/release-notes.html @@ -60,6 +60,18 @@

    {{ patch.date | date: "%B %d, %Y" }}

    + + {% if patch.version != latestPatch and allVersions[currentVersion].currentRelease == latestRelease %} +

    {% data ui.header.notices.ghes_release_notes_upgrade_patch_only %}

    + {% endif %} + + {% if patch.version == latestPatch and allVersions[currentVersion].currentRelease != latestRelease %} +

    {% data ui.header.notices.ghes_release_notes_upgrade_release_only %}

    + {% endif %} + + {% if patch.version != latestPatch and allVersions[currentVersion].currentRelease != latestRelease %} +

    {% data ui.header.notices.ghes_release_notes_upgrade_patch_and_release %}

    + {% endif %}
    diff --git a/lib/app.js b/lib/app.js new file mode 100644 index 0000000000..849e2814e9 --- /dev/null +++ b/lib/app.js @@ -0,0 +1,5 @@ +const express = require('express') + +const app = express() +require('../middleware')(app) +module.exports = app diff --git a/lib/check-if-next-version-only.js b/lib/check-if-next-version-only.js new file mode 100644 index 0000000000..2cf07d31e8 --- /dev/null +++ b/lib/check-if-next-version-only.js @@ -0,0 +1,13 @@ +const { next, latest } = require('./enterprise-server-releases') +const versionSatisfiesRange = require('./version-satisfies-range') + +// Special handling for frontmatter that evalues to the next GHES release number or a hardcoded `next`: +// we don't want to return it as an applicable version or it will become a permalink, +// but we also don't want to throw an error if no other versions are found. +module.exports = function checkIfNextVersionOnly (value) { + if (value === '*') return false + + const ghesNextVersionOnly = versionSatisfiesRange(next, value) && !versionSatisfiesRange(latest, value) + + return (ghesNextVersionOnly || value === 'next') +} diff --git a/lib/check-node-version.js b/lib/check-node-version.js index a3c17896ba..cd8d1353d9 100644 --- a/lib/check-node-version.js +++ b/lib/check-node-version.js @@ -5,5 +5,5 @@ const { engines } = require('../package.json') if (!semver.satisfies(process.version, engines.node)) { console.error(`\n\nYou're using Node.js ${process.version}, but ${engines.node} is required`) console.error('Visit nodejs.org to download an installer for the latest LTS version.\n\n') - process.exit() + process.exit(1) } diff --git a/lib/enterprise-dates.json b/lib/enterprise-dates.json index 41765e2002..3921dd7c0b 100644 --- a/lib/enterprise-dates.json +++ b/lib/enterprise-dates.json @@ -81,7 +81,7 @@ }, "2.20": { "releaseDate": "2020-02-11", - "deprecationDate": "2021-02-11" + "deprecationDate": "2021-03-02" }, "2.21": { "releaseDate": "2020-06-09", @@ -95,4 +95,4 @@ "releaseDate": "2021-01-12", "deprecationDate": "2022-01-20" } -} \ No newline at end of file +} diff --git a/lib/enterprise-server-releases.js b/lib/enterprise-server-releases.js index 3e6f83c31a..e66f0d9ea1 100644 --- a/lib/enterprise-server-releases.js +++ b/lib/enterprise-server-releases.js @@ -4,13 +4,16 @@ const versionSatisfiesRange = require('./version-satisfies-range') // enterprise-releases/docs/supported-versions.md#release-lifecycle-dates const dates = require('../lib/enterprise-dates.json') +// Some frontmatter may contain the upcoming GHES release number +const next = '3.1' + const supported = [ '3.0', '2.22', - '2.21', - '2.20' + '2.21' ] const deprecated = [ + '2.20', '2.19', '2.18', '2.17', @@ -36,8 +39,7 @@ const deprecated = [ const legacyAssetVersions = [ '3.0', '2.22', - '2.21', - '2.20' + '2.21' ] const all = supported.concat(deprecated) @@ -55,8 +57,10 @@ const lastReleaseWithLegacyFormat = '2.18' const deprecatedReleasesWithLegacyFormat = deprecated.filter(version => versionSatisfiesRange(version, '<=2.18')) const deprecatedReleasesWithNewFormat = deprecated.filter(version => versionSatisfiesRange(version, '>2.18')) const deprecatedReleasesOnDeveloperSite = deprecated.filter(version => versionSatisfiesRange(version, '<=2.16')) +const firstReleaseNote = '2.20' module.exports = { + next, supported, deprecated, legacyAssetVersions, @@ -72,5 +76,6 @@ module.exports = { lastReleaseWithLegacyFormat, deprecatedReleasesWithLegacyFormat, deprecatedReleasesWithNewFormat, - deprecatedReleasesOnDeveloperSite + deprecatedReleasesOnDeveloperSite, + firstReleaseNote } diff --git a/lib/frontmatter.js b/lib/frontmatter.js index 9a0f390f1d..c875db2515 100644 --- a/lib/frontmatter.js +++ b/lib/frontmatter.js @@ -119,6 +119,14 @@ const schema = { defaultPlatform: { type: 'string', enum: ['mac', 'windows', 'linux'] + }, + // Documentation contributed by a third party, such as a GitHub Partner + contributor: { + type: 'object', + properties: { + name: { type: 'string' }, + URL: { type: 'string' } + } } } } diff --git a/lib/get-applicable-versions.js b/lib/get-applicable-versions.js index a05880799e..4d691db9ea 100644 --- a/lib/get-applicable-versions.js +++ b/lib/get-applicable-versions.js @@ -1,5 +1,6 @@ const allVersions = require('./all-versions') const versionSatisfiesRange = require('./version-satisfies-range') +const checkIfNextVersionOnly = require('./check-if-next-version-only') // return an array of versions that an article's product versions encompasses function getApplicableVersions (frontmatterVersions, filepath) { @@ -15,6 +16,8 @@ function getApplicableVersions (frontmatterVersions, filepath) { // get an array like: [ 'free-pro-team@latest', 'enterprise-server@2.21', 'enterprise-cloud@latest' ] const applicableVersions = [] + let isNextVersionOnly = false + // where frontmatter is something like: // free-pro-team: '*' // enterprise-server: '>=2.19' @@ -23,26 +26,24 @@ function getApplicableVersions (frontmatterVersions, filepath) { // ^ where each key corresponds to a plan Object.entries(frontmatterVersions) .forEach(([plan, planValue]) => { - // for each plan (e.g., enterprise-server), get matching versions from allVersions object - const relevantVersions = Object.values(allVersions).filter(v => v.plan === plan) + // Special handling for frontmatter that evalues to the next GHES release number or a hardcoded `next`. + isNextVersionOnly = checkIfNextVersionOnly(planValue) - if (!relevantVersions.length) { - throw new Error(`No applicable versions found for ${filepath}. Please double-check the page's \`versions\` frontmatter.`) - } + // For each plan (e.g., enterprise-server), get matching versions from allVersions object + Object.values(allVersions) + .filter(relevantVersion => relevantVersion.plan === plan) + .forEach(relevantVersion => { + // Use a dummy value of '1.0' for non-numbered versions like free-pro-team and github-ae + // This will evaluate to true against '*' but false against 'next', which is what we want. + const versionToCompare = relevantVersion.hasNumberedReleases ? relevantVersion.currentRelease : '1.0' - relevantVersions.forEach(relevantVersion => { - // special handling for versions with numbered releases - if (relevantVersion.hasNumberedReleases) { - if (versionSatisfiesRange(relevantVersion.currentRelease, planValue)) { + if (versionSatisfiesRange(versionToCompare, planValue)) { applicableVersions.push(relevantVersion.version) } - } else { - applicableVersions.push(relevantVersion.version) - } - }) + }) }) - if (!applicableVersions.length) { + if (!applicableVersions.length && !isNextVersionOnly) { throw new Error(`No applicable versions found for ${filepath}. Please double-check the page's \`versions\` frontmatter.`) } diff --git a/lib/graphql/static/changelog.json b/lib/graphql/static/changelog.json index 67d058d245..9f75233a5c 100644 --- a/lib/graphql/static/changelog.json +++ b/lib/graphql/static/changelog.json @@ -1,4 +1,53 @@ [ + { + "schemaChanges": [ + { + "title": "The GraphQL schema includes these changes:", + "changes": [ + "Type `RequirableByPullRequest` was added", + "Field `viewerLatestReview` was added to object type `PullRequest`", + "Field `viewerLatestReviewRequest` was added to object type `PullRequest`", + "`CheckRun` object implements `RequirableByPullRequest` interface", + "Type for argument `pullRequestId` on field `CheckRun.isRequired` changed from `ID!` to `ID`", + "Argument `pullRequestNumber: Int` added to field `CheckRun.isRequired`", + "`StatusContext` object implements `RequirableByPullRequest` interface", + "Type for argument `pullRequestId` on field `StatusContext.isRequired` changed from `ID!` to `ID`", + "Argument `pullRequestNumber: Int` added to field `StatusContext.isRequired`" + ] + } + ], + "previewChanges": [], + "upcomingChanges": [], + "date": "2021-03-21" + }, + { + "schemaChanges": [ + { + "title": "The GraphQL schema includes these changes:", + "changes": [ + "Field `requiresCodeOwnerReviews` was added to object type `RefUpdateRule`", + "Field `viewerAllowedToDismissReviews` was added to object type `RefUpdateRule`" + ] + } + ], + "previewChanges": [], + "upcomingChanges": [], + "date": "2021-03-19" + }, + { + "schemaChanges": [ + { + "title": "The GraphQL schema includes these changes:", + "changes": [ + "Field `isRequired` was added to object type `CheckRun`", + "Field `isRequired` was added to object type `StatusContext`" + ] + } + ], + "previewChanges": [], + "upcomingChanges": [], + "date": "2021-03-18" + }, { "schemaChanges": [ { diff --git a/lib/graphql/static/prerendered-objects.json b/lib/graphql/static/prerendered-objects.json index 915e5f2c20..ea75b2a8f5 100644 --- a/lib/graphql/static/prerendered-objects.json +++ b/lib/graphql/static/prerendered-objects.json @@ -1,6 +1,6 @@ { "dotcom": { - "html": "
    \n
    \n

    \n ActorLocation\n

    \n

    Location information for an actor.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    city (String)

    City.

    \n\n\n\n\n\n\n\n\n\n\n\n

    country (String)

    Country name.

    \n\n\n\n\n\n\n\n\n\n\n\n

    countryCode (String)

    Country code.

    \n\n\n\n\n\n\n\n\n\n\n\n

    region (String)

    Region name.

    \n\n\n\n\n\n\n\n\n\n\n\n

    regionCode (String)

    Region or state code.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n AddedToProjectEvent\n

    \n

    Represents aadded_to_projectevent on a given issue or pull request.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    actor (Actor)

    Identifies the actor who performed the event.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    databaseId (Int)

    Identifies the primary key from the database.

    \n\n\n\n\n\n\n\n\n\n\n\n

    project (Project)

    Project referenced by event.

    \n\n\n\n\n
    \n

    Preview notice

    \n

    project is available under the Project event details preview. During the preview period, the API may change without notice.

    \n
    \n\n\n\n\n\n\n\n\n

    projectCard (ProjectCard)

    Project card referenced by this project event.

    \n\n\n\n\n
    \n

    Preview notice

    \n

    projectCard is available under the Project event details preview. During the preview period, the API may change without notice.

    \n
    \n\n\n\n\n\n\n\n\n

    projectColumnName (String!)

    Column name referenced by this project event.

    \n\n\n\n\n
    \n

    Preview notice

    \n

    projectColumnName is available under the Project event details preview. During the preview period, the API may change without notice.

    \n
    \n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n App\n

    \n

    A GitHub App.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    databaseId (Int)

    Identifies the primary key from the database.

    \n\n\n\n\n\n\n\n\n\n\n\n

    description (String)

    The description of the app.

    \n\n\n\n\n\n\n\n\n\n\n\n

    logoBackgroundColor (String!)

    The hex color code, without the leading '#', for the logo background.

    \n\n\n\n\n\n\n\n\n\n\n\n

    logoUrl (URI!)

    A URL pointing to the app's logo.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    size (Int)

    \n

    The size of the resulting image.

    \n\n
    \n\n
    \n\n\n

    name (String!)

    The name of the app.

    \n\n\n\n\n\n\n\n\n\n\n\n

    slug (String!)

    A slug based on the name of the app for use in URLs.

    \n\n\n\n\n\n\n\n\n\n\n\n

    updatedAt (DateTime!)

    Identifies the date and time when the object was last updated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    url (URI!)

    The URL to the app's homepage.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n AssignedEvent\n

    \n

    Represents anassignedevent on any assignable object.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    actor (Actor)

    Identifies the actor who performed the event.

    \n\n\n\n\n\n\n\n\n\n\n\n

    assignable (Assignable!)

    Identifies the assignable associated with the event.

    \n\n\n\n\n\n\n\n\n\n\n\n

    assignee (Assignee)

    Identifies the user or mannequin that was assigned.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    user (User)

    Identifies the user who was assigned.

    \n\n\n\n\n\n\n
    \n

    Deprecation notice

    \n

    user is deprecated.

    Assignees can now be mannequins. Use the assignee field instead. Removal on 2020-01-01 UTC.

    \n
    \n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n AutoMergeDisabledEvent\n

    \n

    Represents aauto_merge_disabledevent on a given pull request.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    actor (Actor)

    Identifies the actor who performed the event.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    disabler (User)

    The user who disabled auto-merge for this Pull Request.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pullRequest (PullRequest)

    PullRequest referenced by event.

    \n\n\n\n\n\n\n\n\n\n\n\n

    reason (String)

    The reason auto-merge was disabled.

    \n\n\n\n\n\n\n\n\n\n\n\n

    reasonCode (String)

    The reason_code relating to why auto-merge was disabled.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n AutoMergeEnabledEvent\n

    \n

    Represents aauto_merge_enabledevent on a given pull request.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    actor (Actor)

    Identifies the actor who performed the event.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    enabler (User)

    The user who enabled auto-merge for this Pull Request.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pullRequest (PullRequest)

    PullRequest referenced by event.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n AutoMergeRequest\n

    \n

    Represents an auto-merge request for a pull request.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    authorEmail (String)

    The email address of the author of this auto-merge request.

    \n\n\n\n\n\n\n\n\n\n\n\n

    commitBody (String)

    The commit message of the auto-merge request.

    \n\n\n\n\n\n\n\n\n\n\n\n

    commitHeadline (String)

    The commit title of the auto-merge request.

    \n\n\n\n\n\n\n\n\n\n\n\n

    enabledAt (DateTime)

    When was this auto-merge request was enabled.

    \n\n\n\n\n\n\n\n\n\n\n\n

    enabledBy (Actor)

    The actor who created the auto-merge request.

    \n\n\n\n\n\n\n\n\n\n\n\n

    mergeMethod (PullRequestMergeMethod!)

    The merge method of the auto-merge request.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pullRequest (PullRequest!)

    The pull request that this auto-merge request is set against.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n AutoRebaseEnabledEvent\n

    \n

    Represents aauto_rebase_enabledevent on a given pull request.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    actor (Actor)

    Identifies the actor who performed the event.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    enabler (User)

    The user who enabled auto-merge (rebase) for this Pull Request.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pullRequest (PullRequest)

    PullRequest referenced by event.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n AutoSquashEnabledEvent\n

    \n

    Represents aauto_squash_enabledevent on a given pull request.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    actor (Actor)

    Identifies the actor who performed the event.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    enabler (User)

    The user who enabled auto-merge (squash) for this Pull Request.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pullRequest (PullRequest)

    PullRequest referenced by event.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n AutomaticBaseChangeFailedEvent\n

    \n

    Represents aautomatic_base_change_failedevent on a given pull request.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    actor (Actor)

    Identifies the actor who performed the event.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    newBase (String!)

    The new base for this PR.

    \n\n\n\n\n\n\n\n\n\n\n\n

    oldBase (String!)

    The old base for this PR.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pullRequest (PullRequest!)

    PullRequest referenced by event.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n AutomaticBaseChangeSucceededEvent\n

    \n

    Represents aautomatic_base_change_succeededevent on a given pull request.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    actor (Actor)

    Identifies the actor who performed the event.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    newBase (String!)

    The new base for this PR.

    \n\n\n\n\n\n\n\n\n\n\n\n

    oldBase (String!)

    The old base for this PR.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pullRequest (PullRequest!)

    PullRequest referenced by event.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n BaseRefChangedEvent\n

    \n

    Represents abase_ref_changedevent on a given issue or pull request.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    actor (Actor)

    Identifies the actor who performed the event.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    currentRefName (String!)

    Identifies the name of the base ref for the pull request after it was changed.

    \n\n\n\n\n\n\n\n\n\n\n\n

    databaseId (Int)

    Identifies the primary key from the database.

    \n\n\n\n\n\n\n\n\n\n\n\n

    previousRefName (String!)

    Identifies the name of the base ref for the pull request before it was changed.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pullRequest (PullRequest!)

    PullRequest referenced by event.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n BaseRefDeletedEvent\n

    \n

    Represents abase_ref_deletedevent on a given pull request.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    actor (Actor)

    Identifies the actor who performed the event.

    \n\n\n\n\n\n\n\n\n\n\n\n

    baseRefName (String)

    Identifies the name of the Ref associated with the base_ref_deleted event.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pullRequest (PullRequest)

    PullRequest referenced by event.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n BaseRefForcePushedEvent\n

    \n

    Represents abase_ref_force_pushedevent on a given pull request.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    actor (Actor)

    Identifies the actor who performed the event.

    \n\n\n\n\n\n\n\n\n\n\n\n

    afterCommit (Commit)

    Identifies the after commit SHA for thebase_ref_force_pushedevent.

    \n\n\n\n\n\n\n\n\n\n\n\n

    beforeCommit (Commit)

    Identifies the before commit SHA for thebase_ref_force_pushedevent.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pullRequest (PullRequest!)

    PullRequest referenced by event.

    \n\n\n\n\n\n\n\n\n\n\n\n

    ref (Ref)

    Identifies the fully qualified ref name for thebase_ref_force_pushedevent.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n Blame\n

    \n

    Represents a Git blame.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    ranges ([BlameRange!]!)

    The list of ranges from a Git blame.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n BlameRange\n

    \n

    Represents a range of information from a Git blame.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    age (Int!)

    Identifies the recency of the change, from 1 (new) to 10 (old). This is\ncalculated as a 2-quantile and determines the length of distance between the\nmedian age of all the changes in the file and the recency of the current\nrange's change.

    \n\n\n\n\n\n\n\n\n\n\n\n

    commit (Commit!)

    Identifies the line author.

    \n\n\n\n\n\n\n\n\n\n\n\n

    endingLine (Int!)

    The ending line for the range.

    \n\n\n\n\n\n\n\n\n\n\n\n

    startingLine (Int!)

    The starting line for the range.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n Blob\n

    \n

    Represents a Git blob.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    abbreviatedOid (String!)

    An abbreviated version of the Git object ID.

    \n\n\n\n\n\n\n\n\n\n\n\n

    byteSize (Int!)

    Byte size of Blob object.

    \n\n\n\n\n\n\n\n\n\n\n\n

    commitResourcePath (URI!)

    The HTTP path for this Git object.

    \n\n\n\n\n\n\n\n\n\n\n\n

    commitUrl (URI!)

    The HTTP URL for this Git object.

    \n\n\n\n\n\n\n\n\n\n\n\n

    isBinary (Boolean)

    Indicates whether the Blob is binary or text. Returns null if unable to determine the encoding.

    \n\n\n\n\n\n\n\n\n\n\n\n

    isTruncated (Boolean!)

    Indicates whether the contents is truncated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    oid (GitObjectID!)

    The Git object ID.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repository (Repository!)

    The Repository the Git object belongs to.

    \n\n\n\n\n\n\n\n\n\n\n\n

    text (String)

    UTF8 text data or null if the Blob is binary.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n Bot\n

    \n

    A special type of user which takes actions on behalf of GitHub Apps.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    avatarUrl (URI!)

    A URL pointing to the GitHub App's public avatar.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    size (Int)

    \n

    The size of the resulting square image.

    \n\n
    \n\n
    \n\n\n

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    databaseId (Int)

    Identifies the primary key from the database.

    \n\n\n\n\n\n\n\n\n\n\n\n

    login (String!)

    The username of the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    resourcePath (URI!)

    The HTTP path for this bot.

    \n\n\n\n\n\n\n\n\n\n\n\n

    updatedAt (DateTime!)

    Identifies the date and time when the object was last updated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    url (URI!)

    The HTTP URL for this bot.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n BranchProtectionRule\n

    \n

    A branch protection rule.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    allowsDeletions (Boolean!)

    Can this branch be deleted.

    \n\n\n\n\n\n\n\n\n\n\n\n

    allowsForcePushes (Boolean!)

    Are force pushes allowed on this branch.

    \n\n\n\n\n\n\n\n\n\n\n\n

    branchProtectionRuleConflicts (BranchProtectionRuleConflictConnection!)

    A list of conflicts matching branches protection rule and other branch protection rules.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n\n\n

    creator (Actor)

    The actor who created this branch protection rule.

    \n\n\n\n\n\n\n\n\n\n\n\n

    databaseId (Int)

    Identifies the primary key from the database.

    \n\n\n\n\n\n\n\n\n\n\n\n

    dismissesStaleReviews (Boolean!)

    Will new commits pushed to matching branches dismiss pull request review approvals.

    \n\n\n\n\n\n\n\n\n\n\n\n

    isAdminEnforced (Boolean!)

    Can admins overwrite branch protection.

    \n\n\n\n\n\n\n\n\n\n\n\n

    matchingRefs (RefConnection!)

    Repository refs that are protected by this rule.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    query (String)

    \n

    Filters refs with query on name.

    \n\n
    \n\n
    \n\n\n

    pattern (String!)

    Identifies the protection rule pattern.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pushAllowances (PushAllowanceConnection!)

    A list push allowances for this branch protection rule.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n\n\n

    repository (Repository)

    The repository associated with this branch protection rule.

    \n\n\n\n\n\n\n\n\n\n\n\n

    requiredApprovingReviewCount (Int)

    Number of approving reviews required to update matching branches.

    \n\n\n\n\n\n\n\n\n\n\n\n

    requiredStatusCheckContexts ([String])

    List of required status check contexts that must pass for commits to be accepted to matching branches.

    \n\n\n\n\n\n\n\n\n\n\n\n

    requiresApprovingReviews (Boolean!)

    Are approving reviews required to update matching branches.

    \n\n\n\n\n\n\n\n\n\n\n\n

    requiresCodeOwnerReviews (Boolean!)

    Are reviews from code owners required to update matching branches.

    \n\n\n\n\n\n\n\n\n\n\n\n

    requiresCommitSignatures (Boolean!)

    Are commits required to be signed.

    \n\n\n\n\n\n\n\n\n\n\n\n

    requiresLinearHistory (Boolean!)

    Are merge commits prohibited from being pushed to this branch.

    \n\n\n\n\n\n\n\n\n\n\n\n

    requiresStatusChecks (Boolean!)

    Are status checks required to update matching branches.

    \n\n\n\n\n\n\n\n\n\n\n\n

    requiresStrictStatusChecks (Boolean!)

    Are branches required to be up to date before merging.

    \n\n\n\n\n\n\n\n\n\n\n\n

    restrictsPushes (Boolean!)

    Is pushing to matching branches restricted.

    \n\n\n\n\n\n\n\n\n\n\n\n

    restrictsReviewDismissals (Boolean!)

    Is dismissal of pull request reviews restricted.

    \n\n\n\n\n\n\n\n\n\n\n\n

    reviewDismissalAllowances (ReviewDismissalAllowanceConnection!)

    A list review dismissal allowances for this branch protection rule.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n BranchProtectionRuleConflict\n

    \n

    A conflict between two branch protection rules.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    branchProtectionRule (BranchProtectionRule)

    Identifies the branch protection rule.

    \n\n\n\n\n\n\n\n\n\n\n\n

    conflictingBranchProtectionRule (BranchProtectionRule)

    Identifies the conflicting branch protection rule.

    \n\n\n\n\n\n\n\n\n\n\n\n

    ref (Ref)

    Identifies the branch ref that has conflicting rules.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n BranchProtectionRuleConflictConnection\n

    \n

    The connection type for BranchProtectionRuleConflict.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([BranchProtectionRuleConflictEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([BranchProtectionRuleConflict])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n BranchProtectionRuleConflictEdge\n

    \n

    An edge in a connection.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (BranchProtectionRuleConflict)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n BranchProtectionRuleConnection\n

    \n

    The connection type for BranchProtectionRule.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([BranchProtectionRuleEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([BranchProtectionRule])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n BranchProtectionRuleEdge\n

    \n

    An edge in a connection.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (BranchProtectionRule)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n CVSS\n

    \n

    The Common Vulnerability Scoring System.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    score (Float!)

    The CVSS score associated with this advisory.

    \n\n\n\n\n\n\n\n\n\n\n\n

    vectorString (String)

    The CVSS vector string associated with this advisory.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n CWE\n

    \n

    A common weakness enumeration.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cweId (String!)

    The id of the CWE.

    \n\n\n\n\n\n\n\n\n\n\n\n

    description (String!)

    A detailed description of this CWE.

    \n\n\n\n\n\n\n\n\n\n\n\n

    id (ID!)

    ID of the object.

    \n\n\n\n\n\n\n\n\n\n\n\n

    name (String!)

    The name of this CWE.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n CWEConnection\n

    \n

    The connection type for CWE.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([CWEEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([CWE])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n CWEEdge\n

    \n

    An edge in a connection.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (CWE)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n CheckAnnotation\n

    \n

    A single check annotation.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    annotationLevel (CheckAnnotationLevel)

    The annotation's severity level.

    \n\n\n\n\n\n\n\n\n\n\n\n

    blobUrl (URI!)

    The path to the file that this annotation was made on.

    \n\n\n\n\n\n\n\n\n\n\n\n

    databaseId (Int)

    Identifies the primary key from the database.

    \n\n\n\n\n\n\n\n\n\n\n\n

    location (CheckAnnotationSpan!)

    The position of this annotation.

    \n\n\n\n\n\n\n\n\n\n\n\n

    message (String!)

    The annotation's message.

    \n\n\n\n\n\n\n\n\n\n\n\n

    path (String!)

    The path that this annotation was made on.

    \n\n\n\n\n\n\n\n\n\n\n\n

    rawDetails (String)

    Additional information about the annotation.

    \n\n\n\n\n\n\n\n\n\n\n\n

    title (String)

    The annotation's title.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n CheckAnnotationConnection\n

    \n

    The connection type for CheckAnnotation.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([CheckAnnotationEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([CheckAnnotation])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n CheckAnnotationEdge\n

    \n

    An edge in a connection.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (CheckAnnotation)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n CheckAnnotationPosition\n

    \n

    A character position in a check annotation.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    column (Int)

    Column number (1 indexed).

    \n\n\n\n\n\n\n\n\n\n\n\n

    line (Int!)

    Line number (1 indexed).

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n CheckAnnotationSpan\n

    \n

    An inclusive pair of positions for a check annotation.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    end (CheckAnnotationPosition!)

    End position (inclusive).

    \n\n\n\n\n\n\n\n\n\n\n\n

    start (CheckAnnotationPosition!)

    Start position (inclusive).

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n CheckRun\n

    \n

    A check run.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    annotations (CheckAnnotationConnection)

    The check run's annotations.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n\n\n

    checkSuite (CheckSuite!)

    The check suite that this run is a part of.

    \n\n\n\n\n\n\n\n\n\n\n\n

    completedAt (DateTime)

    Identifies the date and time when the check run was completed.

    \n\n\n\n\n\n\n\n\n\n\n\n

    conclusion (CheckConclusionState)

    The conclusion of the check run.

    \n\n\n\n\n\n\n\n\n\n\n\n

    databaseId (Int)

    Identifies the primary key from the database.

    \n\n\n\n\n\n\n\n\n\n\n\n

    detailsUrl (URI)

    The URL from which to find full details of the check run on the integrator's site.

    \n\n\n\n\n\n\n\n\n\n\n\n

    externalId (String)

    A reference for the check run on the integrator's system.

    \n\n\n\n\n\n\n\n\n\n\n\n

    name (String!)

    The name of the check for this check run.

    \n\n\n\n\n\n\n\n\n\n\n\n

    permalink (URI!)

    The permalink to the check run summary.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repository (Repository!)

    The repository associated with this check run.

    \n\n\n\n\n\n\n\n\n\n\n\n

    resourcePath (URI!)

    The HTTP path for this check run.

    \n\n\n\n\n\n\n\n\n\n\n\n

    startedAt (DateTime)

    Identifies the date and time when the check run was started.

    \n\n\n\n\n\n\n\n\n\n\n\n

    status (CheckStatusState!)

    The current status of the check run.

    \n\n\n\n\n\n\n\n\n\n\n\n

    summary (String)

    A string representing the check run's summary.

    \n\n\n\n\n\n\n\n\n\n\n\n

    text (String)

    A string representing the check run's text.

    \n\n\n\n\n\n\n\n\n\n\n\n

    title (String)

    A string representing the check run.

    \n\n\n\n\n\n\n\n\n\n\n\n

    url (URI!)

    The HTTP URL for this check run.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n CheckRunConnection\n

    \n

    The connection type for CheckRun.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([CheckRunEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([CheckRun])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n CheckRunEdge\n

    \n

    An edge in a connection.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (CheckRun)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n CheckSuite\n

    \n

    A check suite.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    app (App)

    The GitHub App which created this check suite.

    \n\n\n\n\n\n\n\n\n\n\n\n

    branch (Ref)

    The name of the branch for this check suite.

    \n\n\n\n\n\n\n\n\n\n\n\n

    checkRuns (CheckRunConnection)

    The check runs associated with a check suite.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    filterBy (CheckRunFilter)

    \n

    Filters the check runs by this type.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n\n\n

    commit (Commit!)

    The commit for this check suite.

    \n\n\n\n\n\n\n\n\n\n\n\n

    conclusion (CheckConclusionState)

    The conclusion of this check suite.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    databaseId (Int)

    Identifies the primary key from the database.

    \n\n\n\n\n\n\n\n\n\n\n\n

    matchingPullRequests (PullRequestConnection)

    A list of open pull requests matching the check suite.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    baseRefName (String)

    \n

    The base ref name to filter the pull requests by.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    headRefName (String)

    \n

    The head ref name to filter the pull requests by.

    \n\n
    \n\n
    \n

    labels ([String!])

    \n

    A list of label names to filter the pull requests by.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (IssueOrder)

    \n

    Ordering options for pull requests returned from the connection.

    \n\n
    \n\n
    \n

    states ([PullRequestState!])

    \n

    A list of states to filter the pull requests by.

    \n\n
    \n\n
    \n\n\n

    push (Push)

    The push that triggered this check suite.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repository (Repository!)

    The repository associated with this check suite.

    \n\n\n\n\n\n\n\n\n\n\n\n

    resourcePath (URI!)

    The HTTP path for this check suite.

    \n\n\n\n\n\n\n\n\n\n\n\n

    status (CheckStatusState!)

    The status of this check suite.

    \n\n\n\n\n\n\n\n\n\n\n\n

    updatedAt (DateTime!)

    Identifies the date and time when the object was last updated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    url (URI!)

    The HTTP URL for this check suite.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n CheckSuiteConnection\n

    \n

    The connection type for CheckSuite.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([CheckSuiteEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([CheckSuite])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n CheckSuiteEdge\n

    \n

    An edge in a connection.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (CheckSuite)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n ClosedEvent\n

    \n

    Represents aclosedevent on any Closable.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    actor (Actor)

    Identifies the actor who performed the event.

    \n\n\n\n\n\n\n\n\n\n\n\n

    closable (Closable!)

    Object that was closed.

    \n\n\n\n\n\n\n\n\n\n\n\n

    closer (Closer)

    Object which triggered the creation of this event.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    resourcePath (URI!)

    The HTTP path for this closed event.

    \n\n\n\n\n\n\n\n\n\n\n\n

    url (URI!)

    The HTTP URL for this closed event.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n CodeOfConduct\n

    \n

    The Code of Conduct for a repository.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    body (String)

    The body of the Code of Conduct.

    \n\n\n\n\n\n\n\n\n\n\n\n

    key (String!)

    The key for the Code of Conduct.

    \n\n\n\n\n\n\n\n\n\n\n\n

    name (String!)

    The formal name of the Code of Conduct.

    \n\n\n\n\n\n\n\n\n\n\n\n

    resourcePath (URI)

    The HTTP path for this Code of Conduct.

    \n\n\n\n\n\n\n\n\n\n\n\n

    url (URI)

    The HTTP URL for this Code of Conduct.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n CommentDeletedEvent\n

    \n

    Represents acomment_deletedevent on a given issue or pull request.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    actor (Actor)

    Identifies the actor who performed the event.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    databaseId (Int)

    Identifies the primary key from the database.

    \n\n\n\n\n\n\n\n\n\n\n\n

    deletedCommentAuthor (Actor)

    The user who authored the deleted comment.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n Commit\n

    \n

    Represents a Git commit.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    abbreviatedOid (String!)

    An abbreviated version of the Git object ID.

    \n\n\n\n\n\n\n\n\n\n\n\n

    additions (Int!)

    The number of additions in this commit.

    \n\n\n\n\n\n\n\n\n\n\n\n

    associatedPullRequests (PullRequestConnection)

    The pull requests associated with a commit.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (PullRequestOrder)

    \n

    Ordering options for pull requests.

    \n\n
    \n\n
    \n\n\n

    author (GitActor)

    Authorship details of the commit.

    \n\n\n\n\n\n\n\n\n\n\n\n

    authoredByCommitter (Boolean!)

    Check if the committer and the author match.

    \n\n\n\n\n\n\n\n\n\n\n\n

    authoredDate (DateTime!)

    The datetime when this commit was authored.

    \n\n\n\n\n\n\n\n\n\n\n\n

    authors (GitActorConnection!)

    The list of authors for this commit based on the git author and the Co-authored-by\nmessage trailer. The git author will always be first.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n\n\n

    blame (Blame!)

    Fetches git blame information.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    path (String!)

    \n

    The file whose Git blame information you want.

    \n\n
    \n\n
    \n\n\n

    changedFiles (Int!)

    The number of changed files in this commit.

    \n\n\n\n\n\n\n\n\n\n\n\n

    checkSuites (CheckSuiteConnection)

    The check suites associated with a commit.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    filterBy (CheckSuiteFilter)

    \n

    Filters the check suites by this type.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n\n\n

    comments (CommitCommentConnection!)

    Comments made on the commit.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n\n\n

    commitResourcePath (URI!)

    The HTTP path for this Git object.

    \n\n\n\n\n\n\n\n\n\n\n\n

    commitUrl (URI!)

    The HTTP URL for this Git object.

    \n\n\n\n\n\n\n\n\n\n\n\n

    committedDate (DateTime!)

    The datetime when this commit was committed.

    \n\n\n\n\n\n\n\n\n\n\n\n

    committedViaWeb (Boolean!)

    Check if committed via GitHub web UI.

    \n\n\n\n\n\n\n\n\n\n\n\n

    committer (GitActor)

    Committer details of the commit.

    \n\n\n\n\n\n\n\n\n\n\n\n

    deletions (Int!)

    The number of deletions in this commit.

    \n\n\n\n\n\n\n\n\n\n\n\n

    deployments (DeploymentConnection)

    The deployments associated with a commit.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    environments ([String!])

    \n

    Environments to list deployments for.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (DeploymentOrder)

    \n

    Ordering options for deployments returned from the connection.

    \n\n
    \n\n
    \n\n\n

    file (TreeEntry)

    The tree entry representing the file located at the given path.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    path (String!)

    \n

    The path for the file.

    \n\n
    \n\n
    \n\n\n

    history (CommitHistoryConnection!)

    The linear commit history starting from (and including) this commit, in the same order as git log.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    author (CommitAuthor)

    \n

    If non-null, filters history to only show commits with matching authorship.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    path (String)

    \n

    If non-null, filters history to only show commits touching files under this path.

    \n\n
    \n\n
    \n

    since (GitTimestamp)

    \n

    Allows specifying a beginning time or date for fetching commits.

    \n\n
    \n\n
    \n

    until (GitTimestamp)

    \n

    Allows specifying an ending time or date for fetching commits.

    \n\n
    \n\n
    \n\n\n

    message (String!)

    The Git commit message.

    \n\n\n\n\n\n\n\n\n\n\n\n

    messageBody (String!)

    The Git commit message body.

    \n\n\n\n\n\n\n\n\n\n\n\n

    messageBodyHTML (HTML!)

    The commit message body rendered to HTML.

    \n\n\n\n\n\n\n\n\n\n\n\n

    messageHeadline (String!)

    The Git commit message headline.

    \n\n\n\n\n\n\n\n\n\n\n\n

    messageHeadlineHTML (HTML!)

    The commit message headline rendered to HTML.

    \n\n\n\n\n\n\n\n\n\n\n\n

    oid (GitObjectID!)

    The Git object ID.

    \n\n\n\n\n\n\n\n\n\n\n\n

    onBehalfOf (Organization)

    The organization this commit was made on behalf of.

    \n\n\n\n\n\n\n\n\n\n\n\n

    parents (CommitConnection!)

    The parents of a commit.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n\n\n

    pushedDate (DateTime)

    The datetime when this commit was pushed.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repository (Repository!)

    The Repository this commit belongs to.

    \n\n\n\n\n\n\n\n\n\n\n\n

    resourcePath (URI!)

    The HTTP path for this commit.

    \n\n\n\n\n\n\n\n\n\n\n\n

    signature (GitSignature)

    Commit signing information, if present.

    \n\n\n\n\n\n\n\n\n\n\n\n

    status (Status)

    Status information for this commit.

    \n\n\n\n\n\n\n\n\n\n\n\n

    statusCheckRollup (StatusCheckRollup)

    Check and Status rollup information for this commit.

    \n\n\n\n\n\n\n\n\n\n\n\n

    submodules (SubmoduleConnection!)

    Returns a list of all submodules in this repository as of this Commit parsed from the .gitmodules file.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n\n\n

    tarballUrl (URI!)

    Returns a URL to download a tarball archive for a repository.\nNote: For private repositories, these links are temporary and expire after five minutes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    tree (Tree!)

    Commit's root Tree.

    \n\n\n\n\n\n\n\n\n\n\n\n

    treeResourcePath (URI!)

    The HTTP path for the tree of this commit.

    \n\n\n\n\n\n\n\n\n\n\n\n

    treeUrl (URI!)

    The HTTP URL for the tree of this commit.

    \n\n\n\n\n\n\n\n\n\n\n\n

    url (URI!)

    The HTTP URL for this commit.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerCanSubscribe (Boolean!)

    Check if the viewer is able to change their subscription status for the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerSubscription (SubscriptionState)

    Identifies if the viewer is watching, not watching, or ignoring the subscribable entity.

    \n\n\n\n\n\n\n\n\n\n\n\n

    zipballUrl (URI!)

    Returns a URL to download a zipball archive for a repository.\nNote: For private repositories, these links are temporary and expire after five minutes.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n CommitComment\n

    \n

    Represents a comment on a given Commit.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    author (Actor)

    The actor who authored the comment.

    \n\n\n\n\n\n\n\n\n\n\n\n

    authorAssociation (CommentAuthorAssociation!)

    Author's association with the subject of the comment.

    \n\n\n\n\n\n\n\n\n\n\n\n

    body (String!)

    Identifies the comment body.

    \n\n\n\n\n\n\n\n\n\n\n\n

    bodyHTML (HTML!)

    The body rendered to HTML.

    \n\n\n\n\n\n\n\n\n\n\n\n

    bodyText (String!)

    The body rendered to text.

    \n\n\n\n\n\n\n\n\n\n\n\n

    commit (Commit)

    Identifies the commit associated with the comment, if the commit exists.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdViaEmail (Boolean!)

    Check if this comment was created via an email reply.

    \n\n\n\n\n\n\n\n\n\n\n\n

    databaseId (Int)

    Identifies the primary key from the database.

    \n\n\n\n\n\n\n\n\n\n\n\n

    editor (Actor)

    The actor who edited the comment.

    \n\n\n\n\n\n\n\n\n\n\n\n

    includesCreatedEdit (Boolean!)

    Check if this comment was edited and includes an edit with the creation data.

    \n\n\n\n\n\n\n\n\n\n\n\n

    isMinimized (Boolean!)

    Returns whether or not a comment has been minimized.

    \n\n\n\n\n\n\n\n\n\n\n\n

    lastEditedAt (DateTime)

    The moment the editor made the last edit.

    \n\n\n\n\n\n\n\n\n\n\n\n

    minimizedReason (String)

    Returns why the comment was minimized.

    \n\n\n\n\n\n\n\n\n\n\n\n

    path (String)

    Identifies the file path associated with the comment.

    \n\n\n\n\n\n\n\n\n\n\n\n

    position (Int)

    Identifies the line position associated with the comment.

    \n\n\n\n\n\n\n\n\n\n\n\n

    publishedAt (DateTime)

    Identifies when the comment was published at.

    \n\n\n\n\n\n\n\n\n\n\n\n

    reactionGroups ([ReactionGroup!])

    A list of reactions grouped by content left on the subject.

    \n\n\n\n\n\n\n\n\n\n\n\n

    reactions (ReactionConnection!)

    A list of Reactions left on the Issue.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    content (ReactionContent)

    \n

    Allows filtering Reactions by emoji.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (ReactionOrder)

    \n

    Allows specifying the order in which reactions are returned.

    \n\n
    \n\n
    \n\n\n

    repository (Repository!)

    The repository associated with this node.

    \n\n\n\n\n\n\n\n\n\n\n\n

    resourcePath (URI!)

    The HTTP path permalink for this commit comment.

    \n\n\n\n\n\n\n\n\n\n\n\n

    updatedAt (DateTime!)

    Identifies the date and time when the object was last updated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    url (URI!)

    The HTTP URL permalink for this commit comment.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userContentEdits (UserContentEditConnection)

    A list of edits to this content.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n\n\n

    viewerCanDelete (Boolean!)

    Check if the current viewer can delete this object.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerCanMinimize (Boolean!)

    Check if the current viewer can minimize this object.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerCanReact (Boolean!)

    Can user react to this subject.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerCanUpdate (Boolean!)

    Check if the current viewer can update this object.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerCannotUpdateReasons ([CommentCannotUpdateReason!]!)

    Reasons why the current viewer can not update this comment.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerDidAuthor (Boolean!)

    Did the viewer author this comment.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n CommitCommentConnection\n

    \n

    The connection type for CommitComment.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([CommitCommentEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([CommitComment])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n CommitCommentEdge\n

    \n

    An edge in a connection.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (CommitComment)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n CommitCommentThread\n

    \n

    A thread of comments on a commit.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    comments (CommitCommentConnection!)

    The comments that exist in this thread.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n\n\n

    commit (Commit)

    The commit the comments were made on.

    \n\n\n\n\n\n\n\n\n\n\n\n

    path (String)

    The file the comments were made on.

    \n\n\n\n\n\n\n\n\n\n\n\n

    position (Int)

    The position in the diff for the commit that the comment was made on.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repository (Repository!)

    The repository associated with this node.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n CommitConnection\n

    \n

    The connection type for Commit.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([CommitEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([Commit])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n CommitContributionsByRepository\n

    \n

    This aggregates commits made by a user within one repository.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    contributions (CreatedCommitContributionConnection!)

    The commit contributions, each representing a day.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (CommitContributionOrder)

    \n

    Ordering options for commit contributions returned from the connection.

    \n\n
    \n\n
    \n\n\n

    repository (Repository!)

    The repository in which the commits were made.

    \n\n\n\n\n\n\n\n\n\n\n\n

    resourcePath (URI!)

    The HTTP path for the user's commits to the repository in this time range.

    \n\n\n\n\n\n\n\n\n\n\n\n

    url (URI!)

    The HTTP URL for the user's commits to the repository in this time range.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n CommitEdge\n

    \n

    An edge in a connection.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (Commit)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n CommitHistoryConnection\n

    \n

    The connection type for Commit.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([CommitEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([Commit])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n ConnectedEvent\n

    \n

    Represents aconnectedevent on a given issue or pull request.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    actor (Actor)

    Identifies the actor who performed the event.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    isCrossRepository (Boolean!)

    Reference originated in a different repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    source (ReferencedSubject!)

    Issue or pull request that made the reference.

    \n\n\n\n\n\n\n\n\n\n\n\n

    subject (ReferencedSubject!)

    Issue or pull request which was connected.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n ContentAttachment\n

    \n

    A content attachment.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    body (String!)

    The body text of the content attachment. This parameter supports markdown.

    \n\n\n\n\n\n\n\n\n\n\n\n

    contentReference (ContentReference!)

    The content reference that the content attachment is attached to.

    \n\n\n\n\n\n\n\n\n\n\n\n

    databaseId (Int!)

    Identifies the primary key from the database.

    \n\n\n\n\n\n\n\n\n\n\n\n

    title (String!)

    The title of the content attachment.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n ContentReference\n

    \n

    A content reference.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    databaseId (Int!)

    Identifies the primary key from the database.

    \n\n\n\n\n\n\n\n\n\n\n\n

    reference (String!)

    The reference of the content reference.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n ContributionCalendar\n

    \n

    A calendar of contributions made on GitHub by a user.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    colors ([String!]!)

    A list of hex color codes used in this calendar. The darker the color, the more contributions it represents.

    \n\n\n\n\n\n\n\n\n\n\n\n

    isHalloween (Boolean!)

    Determine if the color set was chosen because it's currently Halloween.

    \n\n\n\n\n\n\n\n\n\n\n\n

    months ([ContributionCalendarMonth!]!)

    A list of the months of contributions in this calendar.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalContributions (Int!)

    The count of total contributions in the calendar.

    \n\n\n\n\n\n\n\n\n\n\n\n

    weeks ([ContributionCalendarWeek!]!)

    A list of the weeks of contributions in this calendar.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n ContributionCalendarDay\n

    \n

    Represents a single day of contributions on GitHub by a user.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    color (String!)

    The hex color code that represents how many contributions were made on this day compared to others in the calendar.

    \n\n\n\n\n\n\n\n\n\n\n\n

    contributionCount (Int!)

    How many contributions were made by the user on this day.

    \n\n\n\n\n\n\n\n\n\n\n\n

    contributionLevel (ContributionLevel!)

    Indication of contributions, relative to other days. Can be used to indicate\nwhich color to represent this day on a calendar.

    \n\n\n\n\n\n\n\n\n\n\n\n

    date (Date!)

    The day this square represents.

    \n\n\n\n\n\n\n\n\n\n\n\n

    weekday (Int!)

    A number representing which day of the week this square represents, e.g., 1 is Monday.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n ContributionCalendarMonth\n

    \n

    A month of contributions in a user's contribution graph.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    firstDay (Date!)

    The date of the first day of this month.

    \n\n\n\n\n\n\n\n\n\n\n\n

    name (String!)

    The name of the month.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalWeeks (Int!)

    How many weeks started in this month.

    \n\n\n\n\n\n\n\n\n\n\n\n

    year (Int!)

    The year the month occurred in.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n ContributionCalendarWeek\n

    \n

    A week of contributions in a user's contribution graph.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    contributionDays ([ContributionCalendarDay!]!)

    The days of contributions in this week.

    \n\n\n\n\n\n\n\n\n\n\n\n

    firstDay (Date!)

    The date of the earliest square in this week.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n ContributionsCollection\n

    \n

    A contributions collection aggregates contributions such as opened issues and commits created by a user.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    commitContributionsByRepository ([CommitContributionsByRepository!]!)

    Commit contributions made by the user, grouped by repository.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    maxRepositories (Int)

    \n

    How many repositories should be included.

    \n

    The default value is 25.

    \n
    \n\n
    \n\n\n

    contributionCalendar (ContributionCalendar!)

    A calendar of this user's contributions on GitHub.

    \n\n\n\n\n\n\n\n\n\n\n\n

    contributionYears ([Int!]!)

    The years the user has been making contributions with the most recent year first.

    \n\n\n\n\n\n\n\n\n\n\n\n

    doesEndInCurrentMonth (Boolean!)

    Determine if this collection's time span ends in the current month.

    \n\n\n\n\n\n\n\n\n\n\n\n

    earliestRestrictedContributionDate (Date)

    The date of the first restricted contribution the user made in this time\nperiod. Can only be non-null when the user has enabled private contribution counts.

    \n\n\n\n\n\n\n\n\n\n\n\n

    endedAt (DateTime!)

    The ending date and time of this collection.

    \n\n\n\n\n\n\n\n\n\n\n\n

    firstIssueContribution (CreatedIssueOrRestrictedContribution)

    The first issue the user opened on GitHub. This will be null if that issue was\nopened outside the collection's time range and ignoreTimeRange is false. If\nthe issue is not visible but the user has opted to show private contributions,\na RestrictedContribution will be returned.

    \n\n\n\n\n\n\n\n\n\n\n\n

    firstPullRequestContribution (CreatedPullRequestOrRestrictedContribution)

    The first pull request the user opened on GitHub. This will be null if that\npull request was opened outside the collection's time range and\nignoreTimeRange is not true. If the pull request is not visible but the user\nhas opted to show private contributions, a RestrictedContribution will be returned.

    \n\n\n\n\n\n\n\n\n\n\n\n

    firstRepositoryContribution (CreatedRepositoryOrRestrictedContribution)

    The first repository the user created on GitHub. This will be null if that\nfirst repository was created outside the collection's time range and\nignoreTimeRange is false. If the repository is not visible, then a\nRestrictedContribution is returned.

    \n\n\n\n\n\n\n\n\n\n\n\n

    hasActivityInThePast (Boolean!)

    Does the user have any more activity in the timeline that occurred prior to the collection's time range?.

    \n\n\n\n\n\n\n\n\n\n\n\n

    hasAnyContributions (Boolean!)

    Determine if there are any contributions in this collection.

    \n\n\n\n\n\n\n\n\n\n\n\n

    hasAnyRestrictedContributions (Boolean!)

    Determine if the user made any contributions in this time frame whose details\nare not visible because they were made in a private repository. Can only be\ntrue if the user enabled private contribution counts.

    \n\n\n\n\n\n\n\n\n\n\n\n

    isSingleDay (Boolean!)

    Whether or not the collector's time span is all within the same day.

    \n\n\n\n\n\n\n\n\n\n\n\n

    issueContributions (CreatedIssueContributionConnection!)

    A list of issues the user opened.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    excludeFirst (Boolean)

    \n

    Should the user's first issue ever be excluded from the result.

    \n

    The default value is false.

    \n
    \n\n
    \n

    excludePopular (Boolean)

    \n

    Should the user's most commented issue be excluded from the result.

    \n

    The default value is false.

    \n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (ContributionOrder)

    \n

    Ordering options for contributions returned from the connection.

    \n\n
    \n\n
    \n\n\n

    issueContributionsByRepository ([IssueContributionsByRepository!]!)

    Issue contributions made by the user, grouped by repository.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    excludeFirst (Boolean)

    \n

    Should the user's first issue ever be excluded from the result.

    \n

    The default value is false.

    \n
    \n\n
    \n

    excludePopular (Boolean)

    \n

    Should the user's most commented issue be excluded from the result.

    \n

    The default value is false.

    \n
    \n\n
    \n

    maxRepositories (Int)

    \n

    How many repositories should be included.

    \n

    The default value is 25.

    \n
    \n\n
    \n\n\n

    joinedGitHubContribution (JoinedGitHubContribution)

    When the user signed up for GitHub. This will be null if that sign up date\nfalls outside the collection's time range and ignoreTimeRange is false.

    \n\n\n\n\n\n\n\n\n\n\n\n

    latestRestrictedContributionDate (Date)

    The date of the most recent restricted contribution the user made in this time\nperiod. Can only be non-null when the user has enabled private contribution counts.

    \n\n\n\n\n\n\n\n\n\n\n\n

    mostRecentCollectionWithActivity (ContributionsCollection)

    When this collection's time range does not include any activity from the user, use this\nto get a different collection from an earlier time range that does have activity.

    \n\n\n\n\n\n\n\n\n\n\n\n

    mostRecentCollectionWithoutActivity (ContributionsCollection)

    Returns a different contributions collection from an earlier time range than this one\nthat does not have any contributions.

    \n\n\n\n\n\n\n\n\n\n\n\n

    popularIssueContribution (CreatedIssueContribution)

    The issue the user opened on GitHub that received the most comments in the specified\ntime frame.

    \n\n\n\n\n\n\n\n\n\n\n\n

    popularPullRequestContribution (CreatedPullRequestContribution)

    The pull request the user opened on GitHub that received the most comments in the\nspecified time frame.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pullRequestContributions (CreatedPullRequestContributionConnection!)

    Pull request contributions made by the user.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    excludeFirst (Boolean)

    \n

    Should the user's first pull request ever be excluded from the result.

    \n

    The default value is false.

    \n
    \n\n
    \n

    excludePopular (Boolean)

    \n

    Should the user's most commented pull request be excluded from the result.

    \n

    The default value is false.

    \n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (ContributionOrder)

    \n

    Ordering options for contributions returned from the connection.

    \n\n
    \n\n
    \n\n\n

    pullRequestContributionsByRepository ([PullRequestContributionsByRepository!]!)

    Pull request contributions made by the user, grouped by repository.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    excludeFirst (Boolean)

    \n

    Should the user's first pull request ever be excluded from the result.

    \n

    The default value is false.

    \n
    \n\n
    \n

    excludePopular (Boolean)

    \n

    Should the user's most commented pull request be excluded from the result.

    \n

    The default value is false.

    \n
    \n\n
    \n

    maxRepositories (Int)

    \n

    How many repositories should be included.

    \n

    The default value is 25.

    \n
    \n\n
    \n\n\n

    pullRequestReviewContributions (CreatedPullRequestReviewContributionConnection!)

    Pull request review contributions made by the user.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (ContributionOrder)

    \n

    Ordering options for contributions returned from the connection.

    \n\n
    \n\n
    \n\n\n

    pullRequestReviewContributionsByRepository ([PullRequestReviewContributionsByRepository!]!)

    Pull request review contributions made by the user, grouped by repository.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    maxRepositories (Int)

    \n

    How many repositories should be included.

    \n

    The default value is 25.

    \n
    \n\n
    \n\n\n

    repositoryContributions (CreatedRepositoryContributionConnection!)

    A list of repositories owned by the user that the user created in this time range.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    excludeFirst (Boolean)

    \n

    Should the user's first repository ever be excluded from the result.

    \n

    The default value is false.

    \n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (ContributionOrder)

    \n

    Ordering options for contributions returned from the connection.

    \n\n
    \n\n
    \n\n\n

    restrictedContributionsCount (Int!)

    A count of contributions made by the user that the viewer cannot access. Only\nnon-zero when the user has chosen to share their private contribution counts.

    \n\n\n\n\n\n\n\n\n\n\n\n

    startedAt (DateTime!)

    The beginning date and time of this collection.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCommitContributions (Int!)

    How many commits were made by the user in this time span.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalIssueContributions (Int!)

    How many issues the user opened.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    excludeFirst (Boolean)

    \n

    Should the user's first issue ever be excluded from this count.

    \n

    The default value is false.

    \n
    \n\n
    \n

    excludePopular (Boolean)

    \n

    Should the user's most commented issue be excluded from this count.

    \n

    The default value is false.

    \n
    \n\n
    \n\n\n

    totalPullRequestContributions (Int!)

    How many pull requests the user opened.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    excludeFirst (Boolean)

    \n

    Should the user's first pull request ever be excluded from this count.

    \n

    The default value is false.

    \n
    \n\n
    \n

    excludePopular (Boolean)

    \n

    Should the user's most commented pull request be excluded from this count.

    \n

    The default value is false.

    \n
    \n\n
    \n\n\n

    totalPullRequestReviewContributions (Int!)

    How many pull request reviews the user left.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalRepositoriesWithContributedCommits (Int!)

    How many different repositories the user committed to.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalRepositoriesWithContributedIssues (Int!)

    How many different repositories the user opened issues in.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    excludeFirst (Boolean)

    \n

    Should the user's first issue ever be excluded from this count.

    \n

    The default value is false.

    \n
    \n\n
    \n

    excludePopular (Boolean)

    \n

    Should the user's most commented issue be excluded from this count.

    \n

    The default value is false.

    \n
    \n\n
    \n\n\n

    totalRepositoriesWithContributedPullRequestReviews (Int!)

    How many different repositories the user left pull request reviews in.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalRepositoriesWithContributedPullRequests (Int!)

    How many different repositories the user opened pull requests in.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    excludeFirst (Boolean)

    \n

    Should the user's first pull request ever be excluded from this count.

    \n

    The default value is false.

    \n
    \n\n
    \n

    excludePopular (Boolean)

    \n

    Should the user's most commented pull request be excluded from this count.

    \n

    The default value is false.

    \n
    \n\n
    \n\n\n

    totalRepositoryContributions (Int!)

    How many repositories the user created.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    excludeFirst (Boolean)

    \n

    Should the user's first repository ever be excluded from this count.

    \n

    The default value is false.

    \n
    \n\n
    \n\n\n

    user (User!)

    The user who made the contributions in this collection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n ConvertToDraftEvent\n

    \n

    Represents aconvert_to_draftevent on a given pull request.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    actor (Actor)

    Identifies the actor who performed the event.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pullRequest (PullRequest!)

    PullRequest referenced by event.

    \n\n\n\n\n\n\n\n\n\n\n\n

    resourcePath (URI!)

    The HTTP path for this convert to draft event.

    \n\n\n\n\n\n\n\n\n\n\n\n

    url (URI!)

    The HTTP URL for this convert to draft event.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n ConvertedNoteToIssueEvent\n

    \n

    Represents aconverted_note_to_issueevent on a given issue or pull request.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    actor (Actor)

    Identifies the actor who performed the event.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    databaseId (Int)

    Identifies the primary key from the database.

    \n\n\n\n\n\n\n\n\n\n\n\n

    project (Project)

    Project referenced by event.

    \n\n\n\n\n
    \n

    Preview notice

    \n

    project is available under the Project event details preview. During the preview period, the API may change without notice.

    \n
    \n\n\n\n\n\n\n\n\n

    projectCard (ProjectCard)

    Project card referenced by this project event.

    \n\n\n\n\n
    \n

    Preview notice

    \n

    projectCard is available under the Project event details preview. During the preview period, the API may change without notice.

    \n
    \n\n\n\n\n\n\n\n\n

    projectColumnName (String!)

    Column name referenced by this project event.

    \n\n\n\n\n
    \n

    Preview notice

    \n

    projectColumnName is available under the Project event details preview. During the preview period, the API may change without notice.

    \n
    \n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n CreatedCommitContribution\n

    \n

    Represents the contribution a user made by committing to a repository.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    commitCount (Int!)

    How many commits were made on this day to this repository by the user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    isRestricted (Boolean!)

    Whether this contribution is associated with a record you do not have access to. For\nexample, your own 'first issue' contribution may have been made on a repository you can no\nlonger access.

    \n\n\n\n\n\n\n\n\n\n\n\n

    occurredAt (DateTime!)

    When this contribution was made.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repository (Repository!)

    The repository the user made a commit in.

    \n\n\n\n\n\n\n\n\n\n\n\n

    resourcePath (URI!)

    The HTTP path for this contribution.

    \n\n\n\n\n\n\n\n\n\n\n\n

    url (URI!)

    The HTTP URL for this contribution.

    \n\n\n\n\n\n\n\n\n\n\n\n

    user (User!)

    The user who made this contribution.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n CreatedCommitContributionConnection\n

    \n

    The connection type for CreatedCommitContribution.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([CreatedCommitContributionEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([CreatedCommitContribution])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of commits across days and repositories in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n CreatedCommitContributionEdge\n

    \n

    An edge in a connection.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (CreatedCommitContribution)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n CreatedIssueContribution\n

    \n

    Represents the contribution a user made on GitHub by opening an issue.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    isRestricted (Boolean!)

    Whether this contribution is associated with a record you do not have access to. For\nexample, your own 'first issue' contribution may have been made on a repository you can no\nlonger access.

    \n\n\n\n\n\n\n\n\n\n\n\n

    issue (Issue!)

    The issue that was opened.

    \n\n\n\n\n\n\n\n\n\n\n\n

    occurredAt (DateTime!)

    When this contribution was made.

    \n\n\n\n\n\n\n\n\n\n\n\n

    resourcePath (URI!)

    The HTTP path for this contribution.

    \n\n\n\n\n\n\n\n\n\n\n\n

    url (URI!)

    The HTTP URL for this contribution.

    \n\n\n\n\n\n\n\n\n\n\n\n

    user (User!)

    The user who made this contribution.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n CreatedIssueContributionConnection\n

    \n

    The connection type for CreatedIssueContribution.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([CreatedIssueContributionEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([CreatedIssueContribution])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n CreatedIssueContributionEdge\n

    \n

    An edge in a connection.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (CreatedIssueContribution)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n CreatedPullRequestContribution\n

    \n

    Represents the contribution a user made on GitHub by opening a pull request.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    isRestricted (Boolean!)

    Whether this contribution is associated with a record you do not have access to. For\nexample, your own 'first issue' contribution may have been made on a repository you can no\nlonger access.

    \n\n\n\n\n\n\n\n\n\n\n\n

    occurredAt (DateTime!)

    When this contribution was made.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pullRequest (PullRequest!)

    The pull request that was opened.

    \n\n\n\n\n\n\n\n\n\n\n\n

    resourcePath (URI!)

    The HTTP path for this contribution.

    \n\n\n\n\n\n\n\n\n\n\n\n

    url (URI!)

    The HTTP URL for this contribution.

    \n\n\n\n\n\n\n\n\n\n\n\n

    user (User!)

    The user who made this contribution.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n CreatedPullRequestContributionConnection\n

    \n

    The connection type for CreatedPullRequestContribution.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([CreatedPullRequestContributionEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([CreatedPullRequestContribution])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n CreatedPullRequestContributionEdge\n

    \n

    An edge in a connection.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (CreatedPullRequestContribution)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n CreatedPullRequestReviewContribution\n

    \n

    Represents the contribution a user made by leaving a review on a pull request.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    isRestricted (Boolean!)

    Whether this contribution is associated with a record you do not have access to. For\nexample, your own 'first issue' contribution may have been made on a repository you can no\nlonger access.

    \n\n\n\n\n\n\n\n\n\n\n\n

    occurredAt (DateTime!)

    When this contribution was made.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pullRequest (PullRequest!)

    The pull request the user reviewed.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pullRequestReview (PullRequestReview!)

    The review the user left on the pull request.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repository (Repository!)

    The repository containing the pull request that the user reviewed.

    \n\n\n\n\n\n\n\n\n\n\n\n

    resourcePath (URI!)

    The HTTP path for this contribution.

    \n\n\n\n\n\n\n\n\n\n\n\n

    url (URI!)

    The HTTP URL for this contribution.

    \n\n\n\n\n\n\n\n\n\n\n\n

    user (User!)

    The user who made this contribution.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n CreatedPullRequestReviewContributionConnection\n

    \n

    The connection type for CreatedPullRequestReviewContribution.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([CreatedPullRequestReviewContributionEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([CreatedPullRequestReviewContribution])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n CreatedPullRequestReviewContributionEdge\n

    \n

    An edge in a connection.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (CreatedPullRequestReviewContribution)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n CreatedRepositoryContribution\n

    \n

    Represents the contribution a user made on GitHub by creating a repository.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    isRestricted (Boolean!)

    Whether this contribution is associated with a record you do not have access to. For\nexample, your own 'first issue' contribution may have been made on a repository you can no\nlonger access.

    \n\n\n\n\n\n\n\n\n\n\n\n

    occurredAt (DateTime!)

    When this contribution was made.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repository (Repository!)

    The repository that was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    resourcePath (URI!)

    The HTTP path for this contribution.

    \n\n\n\n\n\n\n\n\n\n\n\n

    url (URI!)

    The HTTP URL for this contribution.

    \n\n\n\n\n\n\n\n\n\n\n\n

    user (User!)

    The user who made this contribution.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n CreatedRepositoryContributionConnection\n

    \n

    The connection type for CreatedRepositoryContribution.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([CreatedRepositoryContributionEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([CreatedRepositoryContribution])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n CreatedRepositoryContributionEdge\n

    \n

    An edge in a connection.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (CreatedRepositoryContribution)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n CrossReferencedEvent\n

    \n

    Represents a mention made by one issue or pull request to another.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    actor (Actor)

    Identifies the actor who performed the event.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    isCrossRepository (Boolean!)

    Reference originated in a different repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    referencedAt (DateTime!)

    Identifies when the reference was made.

    \n\n\n\n\n\n\n\n\n\n\n\n

    resourcePath (URI!)

    The HTTP path for this pull request.

    \n\n\n\n\n\n\n\n\n\n\n\n

    source (ReferencedSubject!)

    Issue or pull request that made the reference.

    \n\n\n\n\n\n\n\n\n\n\n\n

    target (ReferencedSubject!)

    Issue or pull request to which the reference was made.

    \n\n\n\n\n\n\n\n\n\n\n\n

    url (URI!)

    The HTTP URL for this pull request.

    \n\n\n\n\n\n\n\n\n\n\n\n

    willCloseTarget (Boolean!)

    Checks if the target will be closed when the source is merged.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n DemilestonedEvent\n

    \n

    Represents ademilestonedevent on a given issue or pull request.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    actor (Actor)

    Identifies the actor who performed the event.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    milestoneTitle (String!)

    Identifies the milestone title associated with thedemilestonedevent.

    \n\n\n\n\n\n\n\n\n\n\n\n

    subject (MilestoneItem!)

    Object referenced by event.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n DependencyGraphDependency\n

    \n

    A dependency manifest entry.

    \n
    \n\n
    \n \n
    \n

    Preview notice

    \n

    DependencyGraphDependency is available under the Access to a repositories dependency graph preview. During the preview period, the API may change without notice.

    \n
    \n\n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    hasDependencies (Boolean!)

    Does the dependency itself have dependencies?.

    \n\n\n\n\n\n\n\n\n\n\n\n

    packageManager (String)

    The dependency package manager.

    \n\n\n\n\n\n\n\n\n\n\n\n

    packageName (String!)

    The required package name.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repository (Repository)

    The repository containing the package.

    \n\n\n\n\n\n\n\n\n\n\n\n

    requirements (String!)

    The dependency version requirements.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n DependencyGraphDependencyConnection\n

    \n

    The connection type for DependencyGraphDependency.

    \n
    \n\n
    \n \n
    \n

    Preview notice

    \n

    DependencyGraphDependencyConnection is available under the Access to a repositories dependency graph preview. During the preview period, the API may change without notice.

    \n
    \n\n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([DependencyGraphDependencyEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([DependencyGraphDependency])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n DependencyGraphDependencyEdge\n

    \n

    An edge in a connection.

    \n
    \n\n
    \n \n
    \n

    Preview notice

    \n

    DependencyGraphDependencyEdge is available under the Access to a repositories dependency graph preview. During the preview period, the API may change without notice.

    \n
    \n\n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (DependencyGraphDependency)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n DependencyGraphManifest\n

    \n

    Dependency manifest for a repository.

    \n
    \n\n
    \n \n
    \n

    Preview notice

    \n

    DependencyGraphManifest is available under the Access to a repositories dependency graph preview. During the preview period, the API may change without notice.

    \n
    \n\n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    blobPath (String!)

    Path to view the manifest file blob.

    \n\n\n\n\n\n\n\n\n\n\n\n

    dependencies (DependencyGraphDependencyConnection)

    A list of manifest dependencies.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n\n\n

    dependenciesCount (Int)

    The number of dependencies listed in the manifest.

    \n\n\n\n\n\n\n\n\n\n\n\n

    exceedsMaxSize (Boolean!)

    Is the manifest too big to parse?.

    \n\n\n\n\n\n\n\n\n\n\n\n

    filename (String!)

    Fully qualified manifest filename.

    \n\n\n\n\n\n\n\n\n\n\n\n

    parseable (Boolean!)

    Were we able to parse the manifest?.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repository (Repository!)

    The repository containing the manifest.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n DependencyGraphManifestConnection\n

    \n

    The connection type for DependencyGraphManifest.

    \n
    \n\n
    \n \n
    \n

    Preview notice

    \n

    DependencyGraphManifestConnection is available under the Access to a repositories dependency graph preview. During the preview period, the API may change without notice.

    \n
    \n\n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([DependencyGraphManifestEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([DependencyGraphManifest])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n DependencyGraphManifestEdge\n

    \n

    An edge in a connection.

    \n
    \n\n
    \n \n
    \n

    Preview notice

    \n

    DependencyGraphManifestEdge is available under the Access to a repositories dependency graph preview. During the preview period, the API may change without notice.

    \n
    \n\n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (DependencyGraphManifest)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n DeployKey\n

    \n

    A repository deploy key.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    key (String!)

    The deploy key.

    \n\n\n\n\n\n\n\n\n\n\n\n

    readOnly (Boolean!)

    Whether or not the deploy key is read only.

    \n\n\n\n\n\n\n\n\n\n\n\n

    title (String!)

    The deploy key title.

    \n\n\n\n\n\n\n\n\n\n\n\n

    verified (Boolean!)

    Whether or not the deploy key has been verified.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n DeployKeyConnection\n

    \n

    The connection type for DeployKey.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([DeployKeyEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([DeployKey])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n DeployKeyEdge\n

    \n

    An edge in a connection.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (DeployKey)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n DeployedEvent\n

    \n

    Represents adeployedevent on a given pull request.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    actor (Actor)

    Identifies the actor who performed the event.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    databaseId (Int)

    Identifies the primary key from the database.

    \n\n\n\n\n\n\n\n\n\n\n\n

    deployment (Deployment!)

    The deployment associated with thedeployedevent.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pullRequest (PullRequest!)

    PullRequest referenced by event.

    \n\n\n\n\n\n\n\n\n\n\n\n

    ref (Ref)

    The ref associated with thedeployedevent.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n Deployment\n

    \n

    Represents triggered deployment instance.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    commit (Commit)

    Identifies the commit sha of the deployment.

    \n\n\n\n\n\n\n\n\n\n\n\n

    commitOid (String!)

    Identifies the oid of the deployment commit, even if the commit has been deleted.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    creator (Actor!)

    Identifies the actor who triggered the deployment.

    \n\n\n\n\n\n\n\n\n\n\n\n

    databaseId (Int)

    Identifies the primary key from the database.

    \n\n\n\n\n\n\n\n\n\n\n\n

    description (String)

    The deployment description.

    \n\n\n\n\n\n\n\n\n\n\n\n

    environment (String)

    The latest environment to which this deployment was made.

    \n\n\n\n\n\n\n\n\n\n\n\n

    latestEnvironment (String)

    The latest environment to which this deployment was made.

    \n\n\n\n\n\n\n\n\n\n\n\n

    latestStatus (DeploymentStatus)

    The latest status of this deployment.

    \n\n\n\n\n\n\n\n\n\n\n\n

    originalEnvironment (String)

    The original environment to which this deployment was made.

    \n\n\n\n\n\n\n\n\n\n\n\n

    payload (String)

    Extra information that a deployment system might need.

    \n\n\n\n\n\n\n\n\n\n\n\n

    ref (Ref)

    Identifies the Ref of the deployment, if the deployment was created by ref.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repository (Repository!)

    Identifies the repository associated with the deployment.

    \n\n\n\n\n\n\n\n\n\n\n\n

    state (DeploymentState)

    The current state of the deployment.

    \n\n\n\n\n\n\n\n\n\n\n\n

    statuses (DeploymentStatusConnection)

    A list of statuses associated with the deployment.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n\n\n

    task (String)

    The deployment task.

    \n\n\n\n\n\n\n\n\n\n\n\n

    updatedAt (DateTime!)

    Identifies the date and time when the object was last updated.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n DeploymentConnection\n

    \n

    The connection type for Deployment.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([DeploymentEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([Deployment])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n DeploymentEdge\n

    \n

    An edge in a connection.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (Deployment)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n DeploymentEnvironmentChangedEvent\n

    \n

    Represents adeployment_environment_changedevent on a given pull request.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    actor (Actor)

    Identifies the actor who performed the event.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    deploymentStatus (DeploymentStatus!)

    The deployment status that updated the deployment environment.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pullRequest (PullRequest!)

    PullRequest referenced by event.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n DeploymentStatus\n

    \n

    Describes the status of a given deployment attempt.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    creator (Actor!)

    Identifies the actor who triggered the deployment.

    \n\n\n\n\n\n\n\n\n\n\n\n

    deployment (Deployment!)

    Identifies the deployment associated with status.

    \n\n\n\n\n\n\n\n\n\n\n\n

    description (String)

    Identifies the description of the deployment.

    \n\n\n\n\n\n\n\n\n\n\n\n

    environment (String)

    Identifies the environment of the deployment at the time of this deployment status.

    \n\n\n\n\n
    \n

    Preview notice

    \n

    environment is available under the Deployments preview. During the preview period, the API may change without notice.

    \n
    \n\n\n\n\n\n\n\n\n

    environmentUrl (URI)

    Identifies the environment URL of the deployment.

    \n\n\n\n\n\n\n\n\n\n\n\n

    logUrl (URI)

    Identifies the log URL of the deployment.

    \n\n\n\n\n\n\n\n\n\n\n\n

    state (DeploymentStatusState!)

    Identifies the current state of the deployment.

    \n\n\n\n\n\n\n\n\n\n\n\n

    updatedAt (DateTime!)

    Identifies the date and time when the object was last updated.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n DeploymentStatusConnection\n

    \n

    The connection type for DeploymentStatus.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([DeploymentStatusEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([DeploymentStatus])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n DeploymentStatusEdge\n

    \n

    An edge in a connection.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (DeploymentStatus)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n DisconnectedEvent\n

    \n

    Represents adisconnectedevent on a given issue or pull request.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    actor (Actor)

    Identifies the actor who performed the event.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    isCrossRepository (Boolean!)

    Reference originated in a different repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    source (ReferencedSubject!)

    Issue or pull request from which the issue was disconnected.

    \n\n\n\n\n\n\n\n\n\n\n\n

    subject (ReferencedSubject!)

    Issue or pull request which was disconnected.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n Enterprise\n

    \n

    An account to manage multiple organizations with consolidated policy and billing.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    avatarUrl (URI!)

    A URL pointing to the enterprise's public avatar.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    size (Int)

    \n

    The size of the resulting square image.

    \n\n
    \n\n
    \n\n\n

    billingInfo (EnterpriseBillingInfo)

    Enterprise billing information visible to enterprise billing managers.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    databaseId (Int)

    Identifies the primary key from the database.

    \n\n\n\n\n\n\n\n\n\n\n\n

    description (String)

    The description of the enterprise.

    \n\n\n\n\n\n\n\n\n\n\n\n

    descriptionHTML (HTML!)

    The description of the enterprise as HTML.

    \n\n\n\n\n\n\n\n\n\n\n\n

    location (String)

    The location of the enterprise.

    \n\n\n\n\n\n\n\n\n\n\n\n

    members (EnterpriseMemberConnection!)

    A list of users who are members of this enterprise.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    deployment (EnterpriseUserDeployment)

    \n

    Only return members within the selected GitHub Enterprise deployment.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (EnterpriseMemberOrder)

    \n

    Ordering options for members returned from the connection.

    \n\n
    \n\n
    \n

    organizationLogins ([String!])

    \n

    Only return members within the organizations with these logins.

    \n\n
    \n\n
    \n

    query (String)

    \n

    The search string to look for.

    \n\n
    \n\n
    \n

    role (EnterpriseUserAccountMembershipRole)

    \n

    The role of the user in the enterprise organization or server.

    \n\n
    \n\n
    \n\n\n

    name (String!)

    The name of the enterprise.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizations (OrganizationConnection!)

    A list of organizations that belong to this enterprise.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (OrganizationOrder)

    \n

    Ordering options for organizations returned from the connection.

    \n\n
    \n\n
    \n

    query (String)

    \n

    The search string to look for.

    \n\n
    \n\n
    \n\n\n

    ownerInfo (EnterpriseOwnerInfo)

    Enterprise information only visible to enterprise owners.

    \n\n\n\n\n\n\n\n\n\n\n\n

    resourcePath (URI!)

    The HTTP path for this enterprise.

    \n\n\n\n\n\n\n\n\n\n\n\n

    slug (String!)

    The URL-friendly identifier for the enterprise.

    \n\n\n\n\n\n\n\n\n\n\n\n

    url (URI!)

    The HTTP URL for this enterprise.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userAccounts (EnterpriseUserAccountConnection!)

    A list of user accounts on this enterprise.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n\n\n

    viewerIsAdmin (Boolean!)

    Is the current viewer an admin of this enterprise?.

    \n\n\n\n\n\n\n\n\n\n\n\n

    websiteUrl (URI)

    The URL of the enterprise website.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n EnterpriseAdministratorConnection\n

    \n

    The connection type for User.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([EnterpriseAdministratorEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([User])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n EnterpriseAdministratorEdge\n

    \n

    A User who is an administrator of an enterprise.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (User)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n

    role (EnterpriseAdministratorRole!)

    The role of the administrator.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n EnterpriseAdministratorInvitation\n

    \n

    An invitation for a user to become an owner or billing manager of an enterprise.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    email (String)

    The email of the person who was invited to the enterprise.

    \n\n\n\n\n\n\n\n\n\n\n\n

    enterprise (Enterprise!)

    The enterprise the invitation is for.

    \n\n\n\n\n\n\n\n\n\n\n\n

    invitee (User)

    The user who was invited to the enterprise.

    \n\n\n\n\n\n\n\n\n\n\n\n

    inviter (User)

    The user who created the invitation.

    \n\n\n\n\n\n\n\n\n\n\n\n

    role (EnterpriseAdministratorRole!)

    The invitee's pending role in the enterprise (owner or billing_manager).

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n EnterpriseAdministratorInvitationConnection\n

    \n

    The connection type for EnterpriseAdministratorInvitation.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([EnterpriseAdministratorInvitationEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([EnterpriseAdministratorInvitation])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n EnterpriseAdministratorInvitationEdge\n

    \n

    An edge in a connection.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (EnterpriseAdministratorInvitation)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n EnterpriseBillingInfo\n

    \n

    Enterprise billing information visible to enterprise billing managers and owners.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    allLicensableUsersCount (Int!)

    The number of licenseable users/emails across the enterprise.

    \n\n\n\n\n\n\n\n\n\n\n\n

    assetPacks (Int!)

    The number of data packs used by all organizations owned by the enterprise.

    \n\n\n\n\n\n\n\n\n\n\n\n

    availableSeats (Int!)

    The number of available seats across all owned organizations based on the unique number of billable users.

    \n\n\n\n\n\n\n
    \n

    Deprecation notice

    \n

    availableSeats is deprecated.

    availableSeats will be replaced with totalAvailableLicenses to provide more clarity on the value being returned Use EnterpriseBillingInfo.totalAvailableLicenses instead. Removal on 2020-01-01 UTC.

    \n
    \n\n\n\n\n\n\n

    bandwidthQuota (Float!)

    The bandwidth quota in GB for all organizations owned by the enterprise.

    \n\n\n\n\n\n\n\n\n\n\n\n

    bandwidthUsage (Float!)

    The bandwidth usage in GB for all organizations owned by the enterprise.

    \n\n\n\n\n\n\n\n\n\n\n\n

    bandwidthUsagePercentage (Int!)

    The bandwidth usage as a percentage of the bandwidth quota.

    \n\n\n\n\n\n\n\n\n\n\n\n

    seats (Int!)

    The total seats across all organizations owned by the enterprise.

    \n\n\n\n\n\n\n
    \n

    Deprecation notice

    \n

    seats is deprecated.

    seats will be replaced with totalLicenses to provide more clarity on the value being returned Use EnterpriseBillingInfo.totalLicenses instead. Removal on 2020-01-01 UTC.

    \n
    \n\n\n\n\n\n\n

    storageQuota (Float!)

    The storage quota in GB for all organizations owned by the enterprise.

    \n\n\n\n\n\n\n\n\n\n\n\n

    storageUsage (Float!)

    The storage usage in GB for all organizations owned by the enterprise.

    \n\n\n\n\n\n\n\n\n\n\n\n

    storageUsagePercentage (Int!)

    The storage usage as a percentage of the storage quota.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalAvailableLicenses (Int!)

    The number of available licenses across all owned organizations based on the unique number of billable users.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalLicenses (Int!)

    The total number of licenses allocated.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n EnterpriseIdentityProvider\n

    \n

    An identity provider configured to provision identities for an enterprise.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    digestMethod (SamlDigestAlgorithm)

    The digest algorithm used to sign SAML requests for the identity provider.

    \n\n\n\n\n\n\n\n\n\n\n\n

    enterprise (Enterprise)

    The enterprise this identity provider belongs to.

    \n\n\n\n\n\n\n\n\n\n\n\n

    externalIdentities (ExternalIdentityConnection!)

    ExternalIdentities provisioned by this identity provider.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n\n\n

    idpCertificate (X509Certificate)

    The x509 certificate used by the identity provider to sign assertions and responses.

    \n\n\n\n\n\n\n\n\n\n\n\n

    issuer (String)

    The Issuer Entity ID for the SAML identity provider.

    \n\n\n\n\n\n\n\n\n\n\n\n

    recoveryCodes ([String!])

    Recovery codes that can be used by admins to access the enterprise if the identity provider is unavailable.

    \n\n\n\n\n\n\n\n\n\n\n\n

    signatureMethod (SamlSignatureAlgorithm)

    The signature algorithm used to sign SAML requests for the identity provider.

    \n\n\n\n\n\n\n\n\n\n\n\n

    ssoUrl (URI)

    The URL endpoint for the identity provider's SAML SSO.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n EnterpriseMemberConnection\n

    \n

    The connection type for EnterpriseMember.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([EnterpriseMemberEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([EnterpriseMember])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n EnterpriseMemberEdge\n

    \n

    A User who is a member of an enterprise through one or more organizations.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    isUnlicensed (Boolean!)

    Whether the user does not have a license for the enterprise.

    \n\n\n\n\n\n\n
    \n

    Deprecation notice

    \n

    isUnlicensed is deprecated.

    All members consume a license Removal on 2021-01-01 UTC.

    \n
    \n\n\n\n\n\n\n

    node (EnterpriseMember)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n EnterpriseOrganizationMembershipConnection\n

    \n

    The connection type for Organization.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([EnterpriseOrganizationMembershipEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([Organization])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n EnterpriseOrganizationMembershipEdge\n

    \n

    An enterprise organization that a user is a member of.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (Organization)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n

    role (EnterpriseUserAccountMembershipRole!)

    The role of the user in the enterprise membership.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n EnterpriseOutsideCollaboratorConnection\n

    \n

    The connection type for User.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([EnterpriseOutsideCollaboratorEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([User])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n EnterpriseOutsideCollaboratorEdge\n

    \n

    A User who is an outside collaborator of an enterprise through one or more organizations.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    isUnlicensed (Boolean!)

    Whether the outside collaborator does not have a license for the enterprise.

    \n\n\n\n\n\n\n
    \n

    Deprecation notice

    \n

    isUnlicensed is deprecated.

    All outside collaborators consume a license Removal on 2021-01-01 UTC.

    \n
    \n\n\n\n\n\n\n

    node (User)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repositories (EnterpriseRepositoryInfoConnection!)

    The enterprise organization repositories this user is a member of.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (RepositoryOrder)

    \n

    Ordering options for repositories.

    \n\n
    \n\n
    \n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n EnterpriseOwnerInfo\n

    \n

    Enterprise information only visible to enterprise owners.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    admins (EnterpriseAdministratorConnection!)

    A list of all of the administrators for this enterprise.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (EnterpriseMemberOrder)

    \n

    Ordering options for administrators returned from the connection.

    \n\n
    \n\n
    \n

    query (String)

    \n

    The search string to look for.

    \n\n
    \n\n
    \n

    role (EnterpriseAdministratorRole)

    \n

    The role to filter by.

    \n\n
    \n\n
    \n\n\n

    affiliatedUsersWithTwoFactorDisabled (UserConnection!)

    A list of users in the enterprise who currently have two-factor authentication disabled.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n\n\n

    affiliatedUsersWithTwoFactorDisabledExist (Boolean!)

    Whether or not affiliated users with two-factor authentication disabled exist in the enterprise.

    \n\n\n\n\n\n\n\n\n\n\n\n

    allowPrivateRepositoryForkingSetting (EnterpriseEnabledDisabledSettingValue!)

    The setting value for whether private repository forking is enabled for repositories in organizations in this enterprise.

    \n\n\n\n\n\n\n\n\n\n\n\n

    allowPrivateRepositoryForkingSettingOrganizations (OrganizationConnection!)

    A list of enterprise organizations configured with the provided private repository forking setting value.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (OrganizationOrder)

    \n

    Ordering options for organizations with this setting.

    \n\n
    \n\n
    \n

    value (Boolean!)

    \n

    The setting value to find organizations for.

    \n\n
    \n\n
    \n\n\n

    defaultRepositoryPermissionSetting (EnterpriseDefaultRepositoryPermissionSettingValue!)

    The setting value for base repository permissions for organizations in this enterprise.

    \n\n\n\n\n\n\n\n\n\n\n\n

    defaultRepositoryPermissionSettingOrganizations (OrganizationConnection!)

    A list of enterprise organizations configured with the provided default repository permission.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (OrganizationOrder)

    \n

    Ordering options for organizations with this setting.

    \n\n
    \n\n
    \n

    value (DefaultRepositoryPermissionField!)

    \n

    The permission to find organizations for.

    \n\n
    \n\n
    \n\n\n

    domains (VerifiableDomainConnection!)

    A list of domains owned by the enterprise.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    isVerified (Boolean)

    \n

    Filter whether or not the domain is verified.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (VerifiableDomainOrder)

    \n

    Ordering options for verifiable domains returned.

    \n\n
    \n\n
    \n\n\n

    enterpriseServerInstallations (EnterpriseServerInstallationConnection!)

    Enterprise Server installations owned by the enterprise.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    connectedOnly (Boolean)

    \n

    Whether or not to only return installations discovered via GitHub Connect.

    \n

    The default value is false.

    \n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (EnterpriseServerInstallationOrder)

    \n

    Ordering options for Enterprise Server installations returned.

    \n\n
    \n\n
    \n\n\n

    ipAllowListEnabledSetting (IpAllowListEnabledSettingValue!)

    The setting value for whether the enterprise has an IP allow list enabled.

    \n\n\n\n\n\n\n\n\n\n\n\n

    ipAllowListEntries (IpAllowListEntryConnection!)

    The IP addresses that are allowed to access resources owned by the enterprise.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (IpAllowListEntryOrder)

    \n

    Ordering options for IP allow list entries returned.

    \n\n
    \n\n
    \n\n\n

    isUpdatingDefaultRepositoryPermission (Boolean!)

    Whether or not the default repository permission is currently being updated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    isUpdatingTwoFactorRequirement (Boolean!)

    Whether the two-factor authentication requirement is currently being enforced.

    \n\n\n\n\n\n\n\n\n\n\n\n

    membersCanChangeRepositoryVisibilitySetting (EnterpriseEnabledDisabledSettingValue!)

    The setting value for whether organization members with admin permissions on a\nrepository can change repository visibility.

    \n\n\n\n\n\n\n\n\n\n\n\n

    membersCanChangeRepositoryVisibilitySettingOrganizations (OrganizationConnection!)

    A list of enterprise organizations configured with the provided can change repository visibility setting value.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (OrganizationOrder)

    \n

    Ordering options for organizations with this setting.

    \n\n
    \n\n
    \n

    value (Boolean!)

    \n

    The setting value to find organizations for.

    \n\n
    \n\n
    \n\n\n

    membersCanCreateInternalRepositoriesSetting (Boolean)

    The setting value for whether members of organizations in the enterprise can create internal repositories.

    \n\n\n\n\n\n\n\n\n\n\n\n

    membersCanCreatePrivateRepositoriesSetting (Boolean)

    The setting value for whether members of organizations in the enterprise can create private repositories.

    \n\n\n\n\n\n\n\n\n\n\n\n

    membersCanCreatePublicRepositoriesSetting (Boolean)

    The setting value for whether members of organizations in the enterprise can create public repositories.

    \n\n\n\n\n\n\n\n\n\n\n\n

    membersCanCreateRepositoriesSetting (EnterpriseMembersCanCreateRepositoriesSettingValue)

    The setting value for whether members of organizations in the enterprise can create repositories.

    \n\n\n\n\n\n\n\n\n\n\n\n

    membersCanCreateRepositoriesSettingOrganizations (OrganizationConnection!)

    A list of enterprise organizations configured with the provided repository creation setting value.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (OrganizationOrder)

    \n

    Ordering options for organizations with this setting.

    \n\n
    \n\n
    \n

    value (OrganizationMembersCanCreateRepositoriesSettingValue!)

    \n

    The setting to find organizations for.

    \n\n
    \n\n
    \n\n\n

    membersCanDeleteIssuesSetting (EnterpriseEnabledDisabledSettingValue!)

    The setting value for whether members with admin permissions for repositories can delete issues.

    \n\n\n\n\n\n\n\n\n\n\n\n

    membersCanDeleteIssuesSettingOrganizations (OrganizationConnection!)

    A list of enterprise organizations configured with the provided members can delete issues setting value.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (OrganizationOrder)

    \n

    Ordering options for organizations with this setting.

    \n\n
    \n\n
    \n

    value (Boolean!)

    \n

    The setting value to find organizations for.

    \n\n
    \n\n
    \n\n\n

    membersCanDeleteRepositoriesSetting (EnterpriseEnabledDisabledSettingValue!)

    The setting value for whether members with admin permissions for repositories can delete or transfer repositories.

    \n\n\n\n\n\n\n\n\n\n\n\n

    membersCanDeleteRepositoriesSettingOrganizations (OrganizationConnection!)

    A list of enterprise organizations configured with the provided members can delete repositories setting value.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (OrganizationOrder)

    \n

    Ordering options for organizations with this setting.

    \n\n
    \n\n
    \n

    value (Boolean!)

    \n

    The setting value to find organizations for.

    \n\n
    \n\n
    \n\n\n

    membersCanInviteCollaboratorsSetting (EnterpriseEnabledDisabledSettingValue!)

    The setting value for whether members of organizations in the enterprise can invite outside collaborators.

    \n\n\n\n\n\n\n\n\n\n\n\n

    membersCanInviteCollaboratorsSettingOrganizations (OrganizationConnection!)

    A list of enterprise organizations configured with the provided members can invite collaborators setting value.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (OrganizationOrder)

    \n

    Ordering options for organizations with this setting.

    \n\n
    \n\n
    \n

    value (Boolean!)

    \n

    The setting value to find organizations for.

    \n\n
    \n\n
    \n\n\n

    membersCanMakePurchasesSetting (EnterpriseMembersCanMakePurchasesSettingValue!)

    Indicates whether members of this enterprise's organizations can purchase additional services for those organizations.

    \n\n\n\n\n\n\n\n\n\n\n\n

    membersCanUpdateProtectedBranchesSetting (EnterpriseEnabledDisabledSettingValue!)

    The setting value for whether members with admin permissions for repositories can update protected branches.

    \n\n\n\n\n\n\n\n\n\n\n\n

    membersCanUpdateProtectedBranchesSettingOrganizations (OrganizationConnection!)

    A list of enterprise organizations configured with the provided members can update protected branches setting value.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (OrganizationOrder)

    \n

    Ordering options for organizations with this setting.

    \n\n
    \n\n
    \n

    value (Boolean!)

    \n

    The setting value to find organizations for.

    \n\n
    \n\n
    \n\n\n

    membersCanViewDependencyInsightsSetting (EnterpriseEnabledDisabledSettingValue!)

    The setting value for whether members can view dependency insights.

    \n\n\n\n\n\n\n\n\n\n\n\n

    membersCanViewDependencyInsightsSettingOrganizations (OrganizationConnection!)

    A list of enterprise organizations configured with the provided members can view dependency insights setting value.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (OrganizationOrder)

    \n

    Ordering options for organizations with this setting.

    \n\n
    \n\n
    \n

    value (Boolean!)

    \n

    The setting value to find organizations for.

    \n\n
    \n\n
    \n\n\n

    notificationDeliveryRestrictionEnabledSetting (NotificationRestrictionSettingValue!)

    Indicates if email notification delivery for this enterprise is restricted to verified domains.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationProjectsSetting (EnterpriseEnabledDisabledSettingValue!)

    The setting value for whether organization projects are enabled for organizations in this enterprise.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationProjectsSettingOrganizations (OrganizationConnection!)

    A list of enterprise organizations configured with the provided organization projects setting value.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (OrganizationOrder)

    \n

    Ordering options for organizations with this setting.

    \n\n
    \n\n
    \n

    value (Boolean!)

    \n

    The setting value to find organizations for.

    \n\n
    \n\n
    \n\n\n

    outsideCollaborators (EnterpriseOutsideCollaboratorConnection!)

    A list of outside collaborators across the repositories in the enterprise.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    login (String)

    \n

    The login of one specific outside collaborator.

    \n\n
    \n\n
    \n

    orderBy (EnterpriseMemberOrder)

    \n

    Ordering options for outside collaborators returned from the connection.

    \n\n
    \n\n
    \n

    query (String)

    \n

    The search string to look for.

    \n\n
    \n\n
    \n

    visibility (RepositoryVisibility)

    \n

    Only return outside collaborators on repositories with this visibility.

    \n\n
    \n\n
    \n\n\n

    pendingAdminInvitations (EnterpriseAdministratorInvitationConnection!)

    A list of pending administrator invitations for the enterprise.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (EnterpriseAdministratorInvitationOrder)

    \n

    Ordering options for pending enterprise administrator invitations returned from the connection.

    \n\n
    \n\n
    \n

    query (String)

    \n

    The search string to look for.

    \n\n
    \n\n
    \n

    role (EnterpriseAdministratorRole)

    \n

    The role to filter by.

    \n\n
    \n\n
    \n\n\n

    pendingCollaboratorInvitations (RepositoryInvitationConnection!)

    A list of pending collaborator invitations across the repositories in the enterprise.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (RepositoryInvitationOrder)

    \n

    Ordering options for pending repository collaborator invitations returned from the connection.

    \n\n
    \n\n
    \n

    query (String)

    \n

    The search string to look for.

    \n\n
    \n\n
    \n\n\n

    pendingCollaborators (EnterprisePendingCollaboratorConnection!)

    A list of pending collaborators across the repositories in the enterprise.

    \n\n\n\n\n\n\n
    \n

    Deprecation notice

    \n

    pendingCollaborators is deprecated.

    Repository invitations can now be associated with an email, not only an invitee. Use the pendingCollaboratorInvitations field instead. Removal on 2020-10-01 UTC.

    \n
    \n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (RepositoryInvitationOrder)

    \n

    Ordering options for pending repository collaborator invitations returned from the connection.

    \n\n
    \n\n
    \n

    query (String)

    \n

    The search string to look for.

    \n\n
    \n\n
    \n\n\n

    pendingMemberInvitations (EnterprisePendingMemberInvitationConnection!)

    A list of pending member invitations for organizations in the enterprise.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    query (String)

    \n

    The search string to look for.

    \n\n
    \n\n
    \n\n\n

    repositoryProjectsSetting (EnterpriseEnabledDisabledSettingValue!)

    The setting value for whether repository projects are enabled in this enterprise.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repositoryProjectsSettingOrganizations (OrganizationConnection!)

    A list of enterprise organizations configured with the provided repository projects setting value.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (OrganizationOrder)

    \n

    Ordering options for organizations with this setting.

    \n\n
    \n\n
    \n

    value (Boolean!)

    \n

    The setting value to find organizations for.

    \n\n
    \n\n
    \n\n\n

    samlIdentityProvider (EnterpriseIdentityProvider)

    The SAML Identity Provider for the enterprise.

    \n\n\n\n\n\n\n\n\n\n\n\n

    samlIdentityProviderSettingOrganizations (OrganizationConnection!)

    A list of enterprise organizations configured with the SAML single sign-on setting value.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (OrganizationOrder)

    \n

    Ordering options for organizations with this setting.

    \n\n
    \n\n
    \n

    value (IdentityProviderConfigurationState!)

    \n

    The setting value to find organizations for.

    \n\n
    \n\n
    \n\n\n

    supportEntitlements (EnterpriseMemberConnection!)

    A list of members with a support entitlement.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (EnterpriseMemberOrder)

    \n

    Ordering options for support entitlement users returned from the connection.

    \n\n
    \n\n
    \n\n\n

    teamDiscussionsSetting (EnterpriseEnabledDisabledSettingValue!)

    The setting value for whether team discussions are enabled for organizations in this enterprise.

    \n\n\n\n\n\n\n\n\n\n\n\n

    teamDiscussionsSettingOrganizations (OrganizationConnection!)

    A list of enterprise organizations configured with the provided team discussions setting value.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (OrganizationOrder)

    \n

    Ordering options for organizations with this setting.

    \n\n
    \n\n
    \n

    value (Boolean!)

    \n

    The setting value to find organizations for.

    \n\n
    \n\n
    \n\n\n

    twoFactorRequiredSetting (EnterpriseEnabledSettingValue!)

    The setting value for whether the enterprise requires two-factor authentication for its organizations and users.

    \n\n\n\n\n\n\n\n\n\n\n\n

    twoFactorRequiredSettingOrganizations (OrganizationConnection!)

    A list of enterprise organizations configured with the two-factor authentication setting value.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (OrganizationOrder)

    \n

    Ordering options for organizations with this setting.

    \n\n
    \n\n
    \n

    value (Boolean!)

    \n

    The setting value to find organizations for.

    \n\n
    \n\n
    \n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n EnterprisePendingCollaboratorConnection\n

    \n

    The connection type for User.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([EnterprisePendingCollaboratorEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([User])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n EnterprisePendingCollaboratorEdge\n

    \n

    A user with an invitation to be a collaborator on a repository owned by an organization in an enterprise.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    isUnlicensed (Boolean!)

    Whether the invited collaborator does not have a license for the enterprise.

    \n\n\n\n\n\n\n
    \n

    Deprecation notice

    \n

    isUnlicensed is deprecated.

    All pending collaborators consume a license Removal on 2021-01-01 UTC.

    \n
    \n\n\n\n\n\n\n

    node (User)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repositories (EnterpriseRepositoryInfoConnection!)

    The enterprise organization repositories this user is a member of.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (RepositoryOrder)

    \n

    Ordering options for repositories.

    \n\n
    \n\n
    \n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n EnterprisePendingMemberInvitationConnection\n

    \n

    The connection type for OrganizationInvitation.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([EnterprisePendingMemberInvitationEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([OrganizationInvitation])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalUniqueUserCount (Int!)

    Identifies the total count of unique users in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n EnterprisePendingMemberInvitationEdge\n

    \n

    An invitation to be a member in an enterprise organization.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    isUnlicensed (Boolean!)

    Whether the invitation has a license for the enterprise.

    \n\n\n\n\n\n\n
    \n

    Deprecation notice

    \n

    isUnlicensed is deprecated.

    All pending members consume a license Removal on 2020-07-01 UTC.

    \n
    \n\n\n\n\n\n\n

    node (OrganizationInvitation)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n EnterpriseRepositoryInfo\n

    \n

    A subset of repository information queryable from an enterprise.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    isPrivate (Boolean!)

    Identifies if the repository is private.

    \n\n\n\n\n\n\n\n\n\n\n\n

    name (String!)

    The repository's name.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nameWithOwner (String!)

    The repository's name with owner.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n EnterpriseRepositoryInfoConnection\n

    \n

    The connection type for EnterpriseRepositoryInfo.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([EnterpriseRepositoryInfoEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([EnterpriseRepositoryInfo])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n EnterpriseRepositoryInfoEdge\n

    \n

    An edge in a connection.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (EnterpriseRepositoryInfo)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n EnterpriseServerInstallation\n

    \n

    An Enterprise Server installation.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    customerName (String!)

    The customer name to which the Enterprise Server installation belongs.

    \n\n\n\n\n\n\n\n\n\n\n\n

    hostName (String!)

    The host name of the Enterprise Server installation.

    \n\n\n\n\n\n\n\n\n\n\n\n

    isConnected (Boolean!)

    Whether or not the installation is connected to an Enterprise Server installation via GitHub Connect.

    \n\n\n\n\n\n\n\n\n\n\n\n

    updatedAt (DateTime!)

    Identifies the date and time when the object was last updated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userAccounts (EnterpriseServerUserAccountConnection!)

    User accounts on this Enterprise Server installation.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (EnterpriseServerUserAccountOrder)

    \n

    Ordering options for Enterprise Server user accounts returned from the connection.

    \n\n
    \n\n
    \n\n\n

    userAccountsUploads (EnterpriseServerUserAccountsUploadConnection!)

    User accounts uploads for the Enterprise Server installation.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (EnterpriseServerUserAccountsUploadOrder)

    \n

    Ordering options for Enterprise Server user accounts uploads returned from the connection.

    \n\n
    \n\n
    \n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n EnterpriseServerInstallationConnection\n

    \n

    The connection type for EnterpriseServerInstallation.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([EnterpriseServerInstallationEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([EnterpriseServerInstallation])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n EnterpriseServerInstallationEdge\n

    \n

    An edge in a connection.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (EnterpriseServerInstallation)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n EnterpriseServerUserAccount\n

    \n

    A user account on an Enterprise Server installation.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    emails (EnterpriseServerUserAccountEmailConnection!)

    User emails belonging to this user account.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (EnterpriseServerUserAccountEmailOrder)

    \n

    Ordering options for Enterprise Server user account emails returned from the connection.

    \n\n
    \n\n
    \n\n\n

    enterpriseServerInstallation (EnterpriseServerInstallation!)

    The Enterprise Server installation on which this user account exists.

    \n\n\n\n\n\n\n\n\n\n\n\n

    isSiteAdmin (Boolean!)

    Whether the user account is a site administrator on the Enterprise Server installation.

    \n\n\n\n\n\n\n\n\n\n\n\n

    login (String!)

    The login of the user account on the Enterprise Server installation.

    \n\n\n\n\n\n\n\n\n\n\n\n

    profileName (String)

    The profile name of the user account on the Enterprise Server installation.

    \n\n\n\n\n\n\n\n\n\n\n\n

    remoteCreatedAt (DateTime!)

    The date and time when the user account was created on the Enterprise Server installation.

    \n\n\n\n\n\n\n\n\n\n\n\n

    remoteUserId (Int!)

    The ID of the user account on the Enterprise Server installation.

    \n\n\n\n\n\n\n\n\n\n\n\n

    updatedAt (DateTime!)

    Identifies the date and time when the object was last updated.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n EnterpriseServerUserAccountConnection\n

    \n

    The connection type for EnterpriseServerUserAccount.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([EnterpriseServerUserAccountEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([EnterpriseServerUserAccount])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n EnterpriseServerUserAccountEdge\n

    \n

    An edge in a connection.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (EnterpriseServerUserAccount)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n EnterpriseServerUserAccountEmail\n

    \n

    An email belonging to a user account on an Enterprise Server installation.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    email (String!)

    The email address.

    \n\n\n\n\n\n\n\n\n\n\n\n

    isPrimary (Boolean!)

    Indicates whether this is the primary email of the associated user account.

    \n\n\n\n\n\n\n\n\n\n\n\n

    updatedAt (DateTime!)

    Identifies the date and time when the object was last updated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userAccount (EnterpriseServerUserAccount!)

    The user account to which the email belongs.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n EnterpriseServerUserAccountEmailConnection\n

    \n

    The connection type for EnterpriseServerUserAccountEmail.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([EnterpriseServerUserAccountEmailEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([EnterpriseServerUserAccountEmail])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n EnterpriseServerUserAccountEmailEdge\n

    \n

    An edge in a connection.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (EnterpriseServerUserAccountEmail)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n EnterpriseServerUserAccountsUpload\n

    \n

    A user accounts upload from an Enterprise Server installation.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    enterprise (Enterprise!)

    The enterprise to which this upload belongs.

    \n\n\n\n\n\n\n\n\n\n\n\n

    enterpriseServerInstallation (EnterpriseServerInstallation!)

    The Enterprise Server installation for which this upload was generated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    name (String!)

    The name of the file uploaded.

    \n\n\n\n\n\n\n\n\n\n\n\n

    syncState (EnterpriseServerUserAccountsUploadSyncState!)

    The synchronization state of the upload.

    \n\n\n\n\n\n\n\n\n\n\n\n

    updatedAt (DateTime!)

    Identifies the date and time when the object was last updated.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n EnterpriseServerUserAccountsUploadConnection\n

    \n

    The connection type for EnterpriseServerUserAccountsUpload.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([EnterpriseServerUserAccountsUploadEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([EnterpriseServerUserAccountsUpload])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n EnterpriseServerUserAccountsUploadEdge\n

    \n

    An edge in a connection.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (EnterpriseServerUserAccountsUpload)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n EnterpriseUserAccount\n

    \n

    An account for a user who is an admin of an enterprise or a member of an enterprise through one or more organizations.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    avatarUrl (URI!)

    A URL pointing to the enterprise user account's public avatar.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    size (Int)

    \n

    The size of the resulting square image.

    \n\n
    \n\n
    \n\n\n

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    enterprise (Enterprise!)

    The enterprise in which this user account exists.

    \n\n\n\n\n\n\n\n\n\n\n\n

    login (String!)

    An identifier for the enterprise user account, a login or email address.

    \n\n\n\n\n\n\n\n\n\n\n\n

    name (String)

    The name of the enterprise user account.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizations (EnterpriseOrganizationMembershipConnection!)

    A list of enterprise organizations this user is a member of.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (OrganizationOrder)

    \n

    Ordering options for organizations returned from the connection.

    \n\n
    \n\n
    \n

    query (String)

    \n

    The search string to look for.

    \n\n
    \n\n
    \n

    role (EnterpriseUserAccountMembershipRole)

    \n

    The role of the user in the enterprise organization.

    \n\n
    \n\n
    \n\n\n

    resourcePath (URI!)

    The HTTP path for this user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    updatedAt (DateTime!)

    Identifies the date and time when the object was last updated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    url (URI!)

    The HTTP URL for this user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    user (User)

    The user within the enterprise.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n EnterpriseUserAccountConnection\n

    \n

    The connection type for EnterpriseUserAccount.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([EnterpriseUserAccountEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([EnterpriseUserAccount])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n EnterpriseUserAccountEdge\n

    \n

    An edge in a connection.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (EnterpriseUserAccount)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n ExternalIdentity\n

    \n

    An external identity provisioned by SAML SSO or SCIM.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    guid (String!)

    The GUID for this identity.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationInvitation (OrganizationInvitation)

    Organization invitation for this SCIM-provisioned external identity.

    \n\n\n\n\n\n\n\n\n\n\n\n

    samlIdentity (ExternalIdentitySamlAttributes)

    SAML Identity attributes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    scimIdentity (ExternalIdentityScimAttributes)

    SCIM Identity attributes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    user (User)

    User linked to this external identity. Will be NULL if this identity has not been claimed by an organization member.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n ExternalIdentityConnection\n

    \n

    The connection type for ExternalIdentity.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([ExternalIdentityEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([ExternalIdentity])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n ExternalIdentityEdge\n

    \n

    An edge in a connection.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (ExternalIdentity)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n ExternalIdentitySamlAttributes\n

    \n

    SAML attributes for the External Identity.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    emails ([UserEmailMetadata!])

    The emails associated with the SAML identity.

    \n\n\n\n\n\n\n\n\n\n\n\n

    familyName (String)

    Family name of the SAML identity.

    \n\n\n\n\n\n\n\n\n\n\n\n

    givenName (String)

    Given name of the SAML identity.

    \n\n\n\n\n\n\n\n\n\n\n\n

    groups ([String!])

    The groups linked to this identity in IDP.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nameId (String)

    The NameID of the SAML identity.

    \n\n\n\n\n\n\n\n\n\n\n\n

    username (String)

    The userName of the SAML identity.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n ExternalIdentityScimAttributes\n

    \n

    SCIM attributes for the External Identity.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    emails ([UserEmailMetadata!])

    The emails associated with the SCIM identity.

    \n\n\n\n\n\n\n\n\n\n\n\n

    familyName (String)

    Family name of the SCIM identity.

    \n\n\n\n\n\n\n\n\n\n\n\n

    givenName (String)

    Given name of the SCIM identity.

    \n\n\n\n\n\n\n\n\n\n\n\n

    groups ([String!])

    The groups linked to this identity in IDP.

    \n\n\n\n\n\n\n\n\n\n\n\n

    username (String)

    The userName of the SCIM identity.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n FollowerConnection\n

    \n

    The connection type for User.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([UserEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([User])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n FollowingConnection\n

    \n

    The connection type for User.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([UserEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([User])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n FundingLink\n

    \n

    A funding platform link for a repository.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    platform (FundingPlatform!)

    The funding platform this link is for.

    \n\n\n\n\n\n\n\n\n\n\n\n

    url (URI!)

    The configured URL for this funding link.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n GenericHovercardContext\n

    \n

    A generic hovercard context with a message and icon.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    message (String!)

    A string describing this context.

    \n\n\n\n\n\n\n\n\n\n\n\n

    octicon (String!)

    An octicon to accompany this context.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n Gist\n

    \n

    A Gist.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    comments (GistCommentConnection!)

    A list of comments associated with the gist.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n\n\n

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    description (String)

    The gist description.

    \n\n\n\n\n\n\n\n\n\n\n\n

    files ([GistFile])

    The files in this gist.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    limit (Int)

    \n

    The maximum number of files to return.

    \n

    The default value is 10.

    \n
    \n\n
    \n

    oid (GitObjectID)

    \n

    The oid of the files to return.

    \n\n
    \n\n
    \n\n\n

    forks (GistConnection!)

    A list of forks associated with the gist.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (GistOrder)

    \n

    Ordering options for gists returned from the connection.

    \n\n
    \n\n
    \n\n\n

    isFork (Boolean!)

    Identifies if the gist is a fork.

    \n\n\n\n\n\n\n\n\n\n\n\n

    isPublic (Boolean!)

    Whether the gist is public or not.

    \n\n\n\n\n\n\n\n\n\n\n\n

    name (String!)

    The gist name.

    \n\n\n\n\n\n\n\n\n\n\n\n

    owner (RepositoryOwner)

    The gist owner.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pushedAt (DateTime)

    Identifies when the gist was last pushed to.

    \n\n\n\n\n\n\n\n\n\n\n\n

    resourcePath (URI!)

    The HTML path to this resource.

    \n\n\n\n\n\n\n\n\n\n\n\n

    stargazerCount (Int!)

    Returns a count of how many stargazers there are on this object.

    \n\n\n\n\n\n\n\n\n\n\n\n

    stargazers (StargazerConnection!)

    A list of users who have starred this starrable.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (StarOrder)

    \n

    Order for connection.

    \n\n
    \n\n
    \n\n\n

    updatedAt (DateTime!)

    Identifies the date and time when the object was last updated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    url (URI!)

    The HTTP URL for this Gist.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerHasStarred (Boolean!)

    Returns a boolean indicating whether the viewing user has starred this starrable.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n GistComment\n

    \n

    Represents a comment on an Gist.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    author (Actor)

    The actor who authored the comment.

    \n\n\n\n\n\n\n\n\n\n\n\n

    authorAssociation (CommentAuthorAssociation!)

    Author's association with the gist.

    \n\n\n\n\n\n\n\n\n\n\n\n

    body (String!)

    Identifies the comment body.

    \n\n\n\n\n\n\n\n\n\n\n\n

    bodyHTML (HTML!)

    The body rendered to HTML.

    \n\n\n\n\n\n\n\n\n\n\n\n

    bodyText (String!)

    The body rendered to text.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdViaEmail (Boolean!)

    Check if this comment was created via an email reply.

    \n\n\n\n\n\n\n\n\n\n\n\n

    databaseId (Int)

    Identifies the primary key from the database.

    \n\n\n\n\n\n\n\n\n\n\n\n

    editor (Actor)

    The actor who edited the comment.

    \n\n\n\n\n\n\n\n\n\n\n\n

    gist (Gist!)

    The associated gist.

    \n\n\n\n\n\n\n\n\n\n\n\n

    includesCreatedEdit (Boolean!)

    Check if this comment was edited and includes an edit with the creation data.

    \n\n\n\n\n\n\n\n\n\n\n\n

    isMinimized (Boolean!)

    Returns whether or not a comment has been minimized.

    \n\n\n\n\n\n\n\n\n\n\n\n

    lastEditedAt (DateTime)

    The moment the editor made the last edit.

    \n\n\n\n\n\n\n\n\n\n\n\n

    minimizedReason (String)

    Returns why the comment was minimized.

    \n\n\n\n\n\n\n\n\n\n\n\n

    publishedAt (DateTime)

    Identifies when the comment was published at.

    \n\n\n\n\n\n\n\n\n\n\n\n

    updatedAt (DateTime!)

    Identifies the date and time when the object was last updated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userContentEdits (UserContentEditConnection)

    A list of edits to this content.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n\n\n

    viewerCanDelete (Boolean!)

    Check if the current viewer can delete this object.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerCanMinimize (Boolean!)

    Check if the current viewer can minimize this object.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerCanUpdate (Boolean!)

    Check if the current viewer can update this object.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerCannotUpdateReasons ([CommentCannotUpdateReason!]!)

    Reasons why the current viewer can not update this comment.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerDidAuthor (Boolean!)

    Did the viewer author this comment.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n GistCommentConnection\n

    \n

    The connection type for GistComment.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([GistCommentEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([GistComment])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n GistCommentEdge\n

    \n

    An edge in a connection.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (GistComment)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n GistConnection\n

    \n

    The connection type for Gist.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([GistEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([Gist])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n GistEdge\n

    \n

    An edge in a connection.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (Gist)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n GistFile\n

    \n

    A file in a gist.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    encodedName (String)

    The file name encoded to remove characters that are invalid in URL paths.

    \n\n\n\n\n\n\n\n\n\n\n\n

    encoding (String)

    The gist file encoding.

    \n\n\n\n\n\n\n\n\n\n\n\n

    extension (String)

    The file extension from the file name.

    \n\n\n\n\n\n\n\n\n\n\n\n

    isImage (Boolean!)

    Indicates if this file is an image.

    \n\n\n\n\n\n\n\n\n\n\n\n

    isTruncated (Boolean!)

    Whether the file's contents were truncated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    language (Language)

    The programming language this file is written in.

    \n\n\n\n\n\n\n\n\n\n\n\n

    name (String)

    The gist file name.

    \n\n\n\n\n\n\n\n\n\n\n\n

    size (Int)

    The gist file size in bytes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    text (String)

    UTF8 text data or null if the file is binary.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    truncate (Int)

    \n

    Optionally truncate the returned file to this length.

    \n\n
    \n\n
    \n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n GitActor\n

    \n

    Represents an actor in a Git commit (ie. an author or committer).

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    avatarUrl (URI!)

    A URL pointing to the author's public avatar.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    size (Int)

    \n

    The size of the resulting square image.

    \n\n
    \n\n
    \n\n\n

    date (GitTimestamp)

    The timestamp of the Git action (authoring or committing).

    \n\n\n\n\n\n\n\n\n\n\n\n

    email (String)

    The email in the Git commit.

    \n\n\n\n\n\n\n\n\n\n\n\n

    name (String)

    The name in the Git commit.

    \n\n\n\n\n\n\n\n\n\n\n\n

    user (User)

    The GitHub user corresponding to the email field. Null if no such user exists.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n GitActorConnection\n

    \n

    The connection type for GitActor.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([GitActorEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([GitActor])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n GitActorEdge\n

    \n

    An edge in a connection.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (GitActor)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n GitHubMetadata\n

    \n

    Represents information about the GitHub instance.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    gitHubServicesSha (GitObjectID!)

    Returns a String that's a SHA of github-services.

    \n\n\n\n\n\n\n\n\n\n\n\n

    gitIpAddresses ([String!])

    IP addresses that users connect to for git operations.

    \n\n\n\n\n\n\n\n\n\n\n\n

    hookIpAddresses ([String!])

    IP addresses that service hooks are sent from.

    \n\n\n\n\n\n\n\n\n\n\n\n

    importerIpAddresses ([String!])

    IP addresses that the importer connects from.

    \n\n\n\n\n\n\n\n\n\n\n\n

    isPasswordAuthenticationVerifiable (Boolean!)

    Whether or not users are verified.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pagesIpAddresses ([String!])

    IP addresses for GitHub Pages' A records.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n GpgSignature\n

    \n

    Represents a GPG signature on a Commit or Tag.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    email (String!)

    Email used to sign this object.

    \n\n\n\n\n\n\n\n\n\n\n\n

    isValid (Boolean!)

    True if the signature is valid and verified by GitHub.

    \n\n\n\n\n\n\n\n\n\n\n\n

    keyId (String)

    Hex-encoded ID of the key that signed this object.

    \n\n\n\n\n\n\n\n\n\n\n\n

    payload (String!)

    Payload for GPG signing object. Raw ODB object without the signature header.

    \n\n\n\n\n\n\n\n\n\n\n\n

    signature (String!)

    ASCII-armored signature header from object.

    \n\n\n\n\n\n\n\n\n\n\n\n

    signer (User)

    GitHub user corresponding to the email signing this commit.

    \n\n\n\n\n\n\n\n\n\n\n\n

    state (GitSignatureState!)

    The state of this signature. VALID if signature is valid and verified by\nGitHub, otherwise represents reason why signature is considered invalid.

    \n\n\n\n\n\n\n\n\n\n\n\n

    wasSignedByGitHub (Boolean!)

    True if the signature was made with GitHub's signing key.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n HeadRefDeletedEvent\n

    \n

    Represents ahead_ref_deletedevent on a given pull request.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    actor (Actor)

    Identifies the actor who performed the event.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    headRef (Ref)

    Identifies the Ref associated with the head_ref_deleted event.

    \n\n\n\n\n\n\n\n\n\n\n\n

    headRefName (String!)

    Identifies the name of the Ref associated with the head_ref_deleted event.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pullRequest (PullRequest!)

    PullRequest referenced by event.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n HeadRefForcePushedEvent\n

    \n

    Represents ahead_ref_force_pushedevent on a given pull request.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    actor (Actor)

    Identifies the actor who performed the event.

    \n\n\n\n\n\n\n\n\n\n\n\n

    afterCommit (Commit)

    Identifies the after commit SHA for thehead_ref_force_pushedevent.

    \n\n\n\n\n\n\n\n\n\n\n\n

    beforeCommit (Commit)

    Identifies the before commit SHA for thehead_ref_force_pushedevent.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pullRequest (PullRequest!)

    PullRequest referenced by event.

    \n\n\n\n\n\n\n\n\n\n\n\n

    ref (Ref)

    Identifies the fully qualified ref name for thehead_ref_force_pushedevent.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n HeadRefRestoredEvent\n

    \n

    Represents ahead_ref_restoredevent on a given pull request.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    actor (Actor)

    Identifies the actor who performed the event.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pullRequest (PullRequest!)

    PullRequest referenced by event.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n Hovercard\n

    \n

    Detail needed to display a hovercard for a user.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    contexts ([HovercardContext!]!)

    Each of the contexts for this hovercard.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n IpAllowListEntry\n

    \n

    An IP address or range of addresses that is allowed to access an owner's resources.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    allowListValue (String!)

    A single IP address or range of IP addresses in CIDR notation.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    isActive (Boolean!)

    Whether the entry is currently active.

    \n\n\n\n\n\n\n\n\n\n\n\n

    name (String)

    The name of the IP allow list entry.

    \n\n\n\n\n\n\n\n\n\n\n\n

    owner (IpAllowListOwner!)

    The owner of the IP allow list entry.

    \n\n\n\n\n\n\n\n\n\n\n\n

    updatedAt (DateTime!)

    Identifies the date and time when the object was last updated.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n IpAllowListEntryConnection\n

    \n

    The connection type for IpAllowListEntry.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([IpAllowListEntryEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([IpAllowListEntry])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n IpAllowListEntryEdge\n

    \n

    An edge in a connection.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (IpAllowListEntry)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n Issue\n

    \n

    An Issue is a place to discuss ideas, enhancements, tasks, and bugs for a project.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    activeLockReason (LockReason)

    Reason that the conversation was locked.

    \n\n\n\n\n\n\n\n\n\n\n\n

    assignees (UserConnection!)

    A list of Users assigned to this object.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n\n\n

    author (Actor)

    The actor who authored the comment.

    \n\n\n\n\n\n\n\n\n\n\n\n

    authorAssociation (CommentAuthorAssociation!)

    Author's association with the subject of the comment.

    \n\n\n\n\n\n\n\n\n\n\n\n

    body (String!)

    Identifies the body of the issue.

    \n\n\n\n\n\n\n\n\n\n\n\n

    bodyHTML (HTML!)

    The body rendered to HTML.

    \n\n\n\n\n\n\n\n\n\n\n\n

    bodyResourcePath (URI!)

    The http path for this issue body.

    \n\n\n\n\n\n\n\n\n\n\n\n

    bodyText (String!)

    Identifies the body of the issue rendered to text.

    \n\n\n\n\n\n\n\n\n\n\n\n

    bodyUrl (URI!)

    The http URL for this issue body.

    \n\n\n\n\n\n\n\n\n\n\n\n

    closed (Boolean!)

    true if the object is closed (definition of closed may depend on type).

    \n\n\n\n\n\n\n\n\n\n\n\n

    closedAt (DateTime)

    Identifies the date and time when the object was closed.

    \n\n\n\n\n\n\n\n\n\n\n\n

    comments (IssueCommentConnection!)

    A list of comments associated with the Issue.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (IssueCommentOrder)

    \n

    Ordering options for issue comments returned from the connection.

    \n\n
    \n\n
    \n\n\n

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdViaEmail (Boolean!)

    Check if this comment was created via an email reply.

    \n\n\n\n\n\n\n\n\n\n\n\n

    databaseId (Int)

    Identifies the primary key from the database.

    \n\n\n\n\n\n\n\n\n\n\n\n

    editor (Actor)

    The actor who edited the comment.

    \n\n\n\n\n\n\n\n\n\n\n\n

    hovercard (Hovercard!)

    The hovercard information for this issue.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    includeNotificationContexts (Boolean)

    \n

    Whether or not to include notification contexts.

    \n

    The default value is true.

    \n
    \n\n
    \n\n\n

    includesCreatedEdit (Boolean!)

    Check if this comment was edited and includes an edit with the creation data.

    \n\n\n\n\n\n\n\n\n\n\n\n

    isPinned (Boolean)

    Indicates whether or not this issue is currently pinned to the repository issues list.

    \n\n\n\n\n\n\n\n\n\n\n\n

    isReadByViewer (Boolean)

    Is this issue read by the viewer.

    \n\n\n\n\n\n\n\n\n\n\n\n

    labels (LabelConnection)

    A list of labels associated with the object.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (LabelOrder)

    \n

    Ordering options for labels returned from the connection.

    \n\n
    \n\n
    \n\n\n

    lastEditedAt (DateTime)

    The moment the editor made the last edit.

    \n\n\n\n\n\n\n\n\n\n\n\n

    locked (Boolean!)

    true if the object is locked.

    \n\n\n\n\n\n\n\n\n\n\n\n

    milestone (Milestone)

    Identifies the milestone associated with the issue.

    \n\n\n\n\n\n\n\n\n\n\n\n

    number (Int!)

    Identifies the issue number.

    \n\n\n\n\n\n\n\n\n\n\n\n

    participants (UserConnection!)

    A list of Users that are participating in the Issue conversation.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n\n\n

    projectCards (ProjectCardConnection!)

    List of project cards associated with this issue.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    archivedStates ([ProjectCardArchivedState])

    \n

    A list of archived states to filter the cards by.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n\n\n

    publishedAt (DateTime)

    Identifies when the comment was published at.

    \n\n\n\n\n\n\n\n\n\n\n\n

    reactionGroups ([ReactionGroup!])

    A list of reactions grouped by content left on the subject.

    \n\n\n\n\n\n\n\n\n\n\n\n

    reactions (ReactionConnection!)

    A list of Reactions left on the Issue.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    content (ReactionContent)

    \n

    Allows filtering Reactions by emoji.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (ReactionOrder)

    \n

    Allows specifying the order in which reactions are returned.

    \n\n
    \n\n
    \n\n\n

    repository (Repository!)

    The repository associated with this node.

    \n\n\n\n\n\n\n\n\n\n\n\n

    resourcePath (URI!)

    The HTTP path for this issue.

    \n\n\n\n\n\n\n\n\n\n\n\n

    state (IssueState!)

    Identifies the state of the issue.

    \n\n\n\n\n\n\n\n\n\n\n\n

    timeline (IssueTimelineConnection!)

    A list of events, comments, commits, etc. associated with the issue.

    \n\n\n\n\n\n\n
    \n

    Deprecation notice

    \n

    timeline is deprecated.

    timeline will be removed Use Issue.timelineItems instead. Removal on 2020-10-01 UTC.

    \n
    \n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    since (DateTime)

    \n

    Allows filtering timeline events by a since timestamp.

    \n\n
    \n\n
    \n\n\n

    timelineItems (IssueTimelineItemsConnection!)

    A list of events, comments, commits, etc. associated with the issue.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    itemTypes ([IssueTimelineItemsItemType!])

    \n

    Filter timeline items by type.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    since (DateTime)

    \n

    Filter timeline items by a since timestamp.

    \n\n
    \n\n
    \n

    skip (Int)

    \n

    Skips the first n elements in the list.

    \n\n
    \n\n
    \n\n\n

    title (String!)

    Identifies the issue title.

    \n\n\n\n\n\n\n\n\n\n\n\n

    updatedAt (DateTime!)

    Identifies the date and time when the object was last updated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    url (URI!)

    The HTTP URL for this issue.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userContentEdits (UserContentEditConnection)

    A list of edits to this content.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n\n\n

    viewerCanReact (Boolean!)

    Can user react to this subject.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerCanSubscribe (Boolean!)

    Check if the viewer is able to change their subscription status for the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerCanUpdate (Boolean!)

    Check if the current viewer can update this object.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerCannotUpdateReasons ([CommentCannotUpdateReason!]!)

    Reasons why the current viewer can not update this comment.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerDidAuthor (Boolean!)

    Did the viewer author this comment.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerSubscription (SubscriptionState)

    Identifies if the viewer is watching, not watching, or ignoring the subscribable entity.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n IssueComment\n

    \n

    Represents a comment on an Issue.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    author (Actor)

    The actor who authored the comment.

    \n\n\n\n\n\n\n\n\n\n\n\n

    authorAssociation (CommentAuthorAssociation!)

    Author's association with the subject of the comment.

    \n\n\n\n\n\n\n\n\n\n\n\n

    body (String!)

    The body as Markdown.

    \n\n\n\n\n\n\n\n\n\n\n\n

    bodyHTML (HTML!)

    The body rendered to HTML.

    \n\n\n\n\n\n\n\n\n\n\n\n

    bodyText (String!)

    The body rendered to text.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdViaEmail (Boolean!)

    Check if this comment was created via an email reply.

    \n\n\n\n\n\n\n\n\n\n\n\n

    databaseId (Int)

    Identifies the primary key from the database.

    \n\n\n\n\n\n\n\n\n\n\n\n

    editor (Actor)

    The actor who edited the comment.

    \n\n\n\n\n\n\n\n\n\n\n\n

    includesCreatedEdit (Boolean!)

    Check if this comment was edited and includes an edit with the creation data.

    \n\n\n\n\n\n\n\n\n\n\n\n

    isMinimized (Boolean!)

    Returns whether or not a comment has been minimized.

    \n\n\n\n\n\n\n\n\n\n\n\n

    issue (Issue!)

    Identifies the issue associated with the comment.

    \n\n\n\n\n\n\n\n\n\n\n\n

    lastEditedAt (DateTime)

    The moment the editor made the last edit.

    \n\n\n\n\n\n\n\n\n\n\n\n

    minimizedReason (String)

    Returns why the comment was minimized.

    \n\n\n\n\n\n\n\n\n\n\n\n

    publishedAt (DateTime)

    Identifies when the comment was published at.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pullRequest (PullRequest)

    Returns the pull request associated with the comment, if this comment was made on a\npull request.

    \n\n\n\n\n\n\n\n\n\n\n\n

    reactionGroups ([ReactionGroup!])

    A list of reactions grouped by content left on the subject.

    \n\n\n\n\n\n\n\n\n\n\n\n

    reactions (ReactionConnection!)

    A list of Reactions left on the Issue.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    content (ReactionContent)

    \n

    Allows filtering Reactions by emoji.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (ReactionOrder)

    \n

    Allows specifying the order in which reactions are returned.

    \n\n
    \n\n
    \n\n\n

    repository (Repository!)

    The repository associated with this node.

    \n\n\n\n\n\n\n\n\n\n\n\n

    resourcePath (URI!)

    The HTTP path for this issue comment.

    \n\n\n\n\n\n\n\n\n\n\n\n

    updatedAt (DateTime!)

    Identifies the date and time when the object was last updated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    url (URI!)

    The HTTP URL for this issue comment.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userContentEdits (UserContentEditConnection)

    A list of edits to this content.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n\n\n

    viewerCanDelete (Boolean!)

    Check if the current viewer can delete this object.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerCanMinimize (Boolean!)

    Check if the current viewer can minimize this object.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerCanReact (Boolean!)

    Can user react to this subject.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerCanUpdate (Boolean!)

    Check if the current viewer can update this object.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerCannotUpdateReasons ([CommentCannotUpdateReason!]!)

    Reasons why the current viewer can not update this comment.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerDidAuthor (Boolean!)

    Did the viewer author this comment.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n IssueCommentConnection\n

    \n

    The connection type for IssueComment.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([IssueCommentEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([IssueComment])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n IssueCommentEdge\n

    \n

    An edge in a connection.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (IssueComment)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n IssueConnection\n

    \n

    The connection type for Issue.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([IssueEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([Issue])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n IssueContributionsByRepository\n

    \n

    This aggregates issues opened by a user within one repository.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    contributions (CreatedIssueContributionConnection!)

    The issue contributions.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (ContributionOrder)

    \n

    Ordering options for contributions returned from the connection.

    \n\n
    \n\n
    \n\n\n

    repository (Repository!)

    The repository in which the issues were opened.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n IssueEdge\n

    \n

    An edge in a connection.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (Issue)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n IssueTemplate\n

    \n

    A repository issue template.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    about (String)

    The template purpose.

    \n\n\n\n\n\n\n\n\n\n\n\n

    body (String)

    The suggested issue body.

    \n\n\n\n\n\n\n\n\n\n\n\n

    name (String!)

    The template name.

    \n\n\n\n\n\n\n\n\n\n\n\n

    title (String)

    The suggested issue title.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n IssueTimelineConnection\n

    \n

    The connection type for IssueTimelineItem.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([IssueTimelineItemEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([IssueTimelineItem])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n IssueTimelineItemEdge\n

    \n

    An edge in a connection.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (IssueTimelineItem)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n IssueTimelineItemsConnection\n

    \n

    The connection type for IssueTimelineItems.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([IssueTimelineItemsEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    filteredCount (Int!)

    Identifies the count of items after applying before and after filters.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([IssueTimelineItems])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageCount (Int!)

    Identifies the count of items after applying before/after filters and first/last/skip slicing.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n

    updatedAt (DateTime!)

    Identifies the date and time when the timeline was last updated.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n IssueTimelineItemsEdge\n

    \n

    An edge in a connection.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (IssueTimelineItems)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n JoinedGitHubContribution\n

    \n

    Represents a user signing up for a GitHub account.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    isRestricted (Boolean!)

    Whether this contribution is associated with a record you do not have access to. For\nexample, your own 'first issue' contribution may have been made on a repository you can no\nlonger access.

    \n\n\n\n\n\n\n\n\n\n\n\n

    occurredAt (DateTime!)

    When this contribution was made.

    \n\n\n\n\n\n\n\n\n\n\n\n

    resourcePath (URI!)

    The HTTP path for this contribution.

    \n\n\n\n\n\n\n\n\n\n\n\n

    url (URI!)

    The HTTP URL for this contribution.

    \n\n\n\n\n\n\n\n\n\n\n\n

    user (User!)

    The user who made this contribution.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n Label\n

    \n

    A label for categorizing Issues or Milestones with a given Repository.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    color (String!)

    Identifies the label color.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (DateTime)

    Identifies the date and time when the label was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    description (String)

    A brief description of this label.

    \n\n\n\n\n\n\n\n\n\n\n\n

    isDefault (Boolean!)

    Indicates whether or not this is a default label.

    \n\n\n\n\n\n\n\n\n\n\n\n

    issues (IssueConnection!)

    A list of issues associated with this label.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    filterBy (IssueFilters)

    \n

    Filtering options for issues returned from the connection.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    labels ([String!])

    \n

    A list of label names to filter the pull requests by.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (IssueOrder)

    \n

    Ordering options for issues returned from the connection.

    \n\n
    \n\n
    \n

    states ([IssueState!])

    \n

    A list of states to filter the issues by.

    \n\n
    \n\n
    \n\n\n

    name (String!)

    Identifies the label name.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pullRequests (PullRequestConnection!)

    A list of pull requests associated with this label.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    baseRefName (String)

    \n

    The base ref name to filter the pull requests by.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    headRefName (String)

    \n

    The head ref name to filter the pull requests by.

    \n\n
    \n\n
    \n

    labels ([String!])

    \n

    A list of label names to filter the pull requests by.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (IssueOrder)

    \n

    Ordering options for pull requests returned from the connection.

    \n\n
    \n\n
    \n

    states ([PullRequestState!])

    \n

    A list of states to filter the pull requests by.

    \n\n
    \n\n
    \n\n\n

    repository (Repository!)

    The repository associated with this label.

    \n\n\n\n\n\n\n\n\n\n\n\n

    resourcePath (URI!)

    The HTTP path for this label.

    \n\n\n\n\n\n\n\n\n\n\n\n

    updatedAt (DateTime)

    Identifies the date and time when the label was last updated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    url (URI!)

    The HTTP URL for this label.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n LabelConnection\n

    \n

    The connection type for Label.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([LabelEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([Label])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n LabelEdge\n

    \n

    An edge in a connection.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (Label)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n LabeledEvent\n

    \n

    Represents alabeledevent on a given issue or pull request.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    actor (Actor)

    Identifies the actor who performed the event.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    label (Label!)

    Identifies the label associated with thelabeledevent.

    \n\n\n\n\n\n\n\n\n\n\n\n

    labelable (Labelable!)

    Identifies the Labelable associated with the event.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n Language\n

    \n

    Represents a given language found in repositories.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    color (String)

    The color defined for the current language.

    \n\n\n\n\n\n\n\n\n\n\n\n

    name (String!)

    The name of the current language.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n LanguageConnection\n

    \n

    A list of languages associated with the parent.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([LanguageEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([Language])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalSize (Int!)

    The total size in bytes of files written in that language.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n LanguageEdge\n

    \n

    Represents the language of a repository.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    size (Int!)

    The number of bytes of code written in the language.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n License\n

    \n

    A repository's open source license.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    body (String!)

    The full text of the license.

    \n\n\n\n\n\n\n\n\n\n\n\n

    conditions ([LicenseRule]!)

    The conditions set by the license.

    \n\n\n\n\n\n\n\n\n\n\n\n

    description (String)

    A human-readable description of the license.

    \n\n\n\n\n\n\n\n\n\n\n\n

    featured (Boolean!)

    Whether the license should be featured.

    \n\n\n\n\n\n\n\n\n\n\n\n

    hidden (Boolean!)

    Whether the license should be displayed in license pickers.

    \n\n\n\n\n\n\n\n\n\n\n\n

    implementation (String)

    Instructions on how to implement the license.

    \n\n\n\n\n\n\n\n\n\n\n\n

    key (String!)

    The lowercased SPDX ID of the license.

    \n\n\n\n\n\n\n\n\n\n\n\n

    limitations ([LicenseRule]!)

    The limitations set by the license.

    \n\n\n\n\n\n\n\n\n\n\n\n

    name (String!)

    The license full name specified by https://spdx.org/licenses.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nickname (String)

    Customary short name if applicable (e.g, GPLv3).

    \n\n\n\n\n\n\n\n\n\n\n\n

    permissions ([LicenseRule]!)

    The permissions set by the license.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pseudoLicense (Boolean!)

    Whether the license is a pseudo-license placeholder (e.g., other, no-license).

    \n\n\n\n\n\n\n\n\n\n\n\n

    spdxId (String)

    Short identifier specified by https://spdx.org/licenses.

    \n\n\n\n\n\n\n\n\n\n\n\n

    url (URI)

    URL to the license on https://choosealicense.com.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n LicenseRule\n

    \n

    Describes a License's conditions, permissions, and limitations.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    description (String!)

    A description of the rule.

    \n\n\n\n\n\n\n\n\n\n\n\n

    key (String!)

    The machine-readable rule key.

    \n\n\n\n\n\n\n\n\n\n\n\n

    label (String!)

    The human-readable rule label.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n LockedEvent\n

    \n

    Represents alockedevent on a given issue or pull request.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    actor (Actor)

    Identifies the actor who performed the event.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    lockReason (LockReason)

    Reason that the conversation was locked (optional).

    \n\n\n\n\n\n\n\n\n\n\n\n

    lockable (Lockable!)

    Object that was locked.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n Mannequin\n

    \n

    A placeholder user for attribution of imported data on GitHub.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    avatarUrl (URI!)

    A URL pointing to the GitHub App's public avatar.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    size (Int)

    \n

    The size of the resulting square image.

    \n\n
    \n\n
    \n\n\n

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    databaseId (Int)

    Identifies the primary key from the database.

    \n\n\n\n\n\n\n\n\n\n\n\n

    email (String)

    The mannequin's email on the source instance.

    \n\n\n\n\n\n\n\n\n\n\n\n

    login (String!)

    The username of the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    resourcePath (URI!)

    The HTML path to this resource.

    \n\n\n\n\n\n\n\n\n\n\n\n

    updatedAt (DateTime!)

    Identifies the date and time when the object was last updated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    url (URI!)

    The URL to this resource.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n MarkedAsDuplicateEvent\n

    \n

    Represents amarked_as_duplicateevent on a given issue or pull request.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    actor (Actor)

    Identifies the actor who performed the event.

    \n\n\n\n\n\n\n\n\n\n\n\n

    canonical (IssueOrPullRequest)

    The authoritative issue or pull request which has been duplicated by another.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    duplicate (IssueOrPullRequest)

    The issue or pull request which has been marked as a duplicate of another.

    \n\n\n\n\n\n\n\n\n\n\n\n

    isCrossRepository (Boolean!)

    Canonical and duplicate belong to different repositories.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n MarketplaceCategory\n

    \n

    A public description of a Marketplace category.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    description (String)

    The category's description.

    \n\n\n\n\n\n\n\n\n\n\n\n

    howItWorks (String)

    The technical description of how apps listed in this category work with GitHub.

    \n\n\n\n\n\n\n\n\n\n\n\n

    name (String!)

    The category's name.

    \n\n\n\n\n\n\n\n\n\n\n\n

    primaryListingCount (Int!)

    How many Marketplace listings have this as their primary category.

    \n\n\n\n\n\n\n\n\n\n\n\n

    resourcePath (URI!)

    The HTTP path for this Marketplace category.

    \n\n\n\n\n\n\n\n\n\n\n\n

    secondaryListingCount (Int!)

    How many Marketplace listings have this as their secondary category.

    \n\n\n\n\n\n\n\n\n\n\n\n

    slug (String!)

    The short name of the category used in its URL.

    \n\n\n\n\n\n\n\n\n\n\n\n

    url (URI!)

    The HTTP URL for this Marketplace category.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n MarketplaceListing\n

    \n

    A listing in the GitHub integration marketplace.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    app (App)

    The GitHub App this listing represents.

    \n\n\n\n\n\n\n\n\n\n\n\n

    companyUrl (URI)

    URL to the listing owner's company site.

    \n\n\n\n\n\n\n\n\n\n\n\n

    configurationResourcePath (URI!)

    The HTTP path for configuring access to the listing's integration or OAuth app.

    \n\n\n\n\n\n\n\n\n\n\n\n

    configurationUrl (URI!)

    The HTTP URL for configuring access to the listing's integration or OAuth app.

    \n\n\n\n\n\n\n\n\n\n\n\n

    documentationUrl (URI)

    URL to the listing's documentation.

    \n\n\n\n\n\n\n\n\n\n\n\n

    extendedDescription (String)

    The listing's detailed description.

    \n\n\n\n\n\n\n\n\n\n\n\n

    extendedDescriptionHTML (HTML!)

    The listing's detailed description rendered to HTML.

    \n\n\n\n\n\n\n\n\n\n\n\n

    fullDescription (String!)

    The listing's introductory description.

    \n\n\n\n\n\n\n\n\n\n\n\n

    fullDescriptionHTML (HTML!)

    The listing's introductory description rendered to HTML.

    \n\n\n\n\n\n\n\n\n\n\n\n

    hasPublishedFreeTrialPlans (Boolean!)

    Does this listing have any plans with a free trial?.

    \n\n\n\n\n\n\n\n\n\n\n\n

    hasTermsOfService (Boolean!)

    Does this listing have a terms of service link?.

    \n\n\n\n\n\n\n\n\n\n\n\n

    hasVerifiedOwner (Boolean!)

    Whether the creator of the app is a verified org.

    \n\n\n\n\n\n\n\n\n\n\n\n

    howItWorks (String)

    A technical description of how this app works with GitHub.

    \n\n\n\n\n\n\n\n\n\n\n\n

    howItWorksHTML (HTML!)

    The listing's technical description rendered to HTML.

    \n\n\n\n\n\n\n\n\n\n\n\n

    installationUrl (URI)

    URL to install the product to the viewer's account or organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    installedForViewer (Boolean!)

    Whether this listing's app has been installed for the current viewer.

    \n\n\n\n\n\n\n\n\n\n\n\n

    isArchived (Boolean!)

    Whether this listing has been removed from the Marketplace.

    \n\n\n\n\n\n\n\n\n\n\n\n

    isDraft (Boolean!)

    Whether this listing is still an editable draft that has not been submitted\nfor review and is not publicly visible in the Marketplace.

    \n\n\n\n\n\n\n\n\n\n\n\n

    isPaid (Boolean!)

    Whether the product this listing represents is available as part of a paid plan.

    \n\n\n\n\n\n\n\n\n\n\n\n

    isPublic (Boolean!)

    Whether this listing has been approved for display in the Marketplace.

    \n\n\n\n\n\n\n\n\n\n\n\n

    isRejected (Boolean!)

    Whether this listing has been rejected by GitHub for display in the Marketplace.

    \n\n\n\n\n\n\n\n\n\n\n\n

    isUnverified (Boolean!)

    Whether this listing has been approved for unverified display in the Marketplace.

    \n\n\n\n\n\n\n\n\n\n\n\n

    isUnverifiedPending (Boolean!)

    Whether this draft listing has been submitted for review for approval to be unverified in the Marketplace.

    \n\n\n\n\n\n\n\n\n\n\n\n

    isVerificationPendingFromDraft (Boolean!)

    Whether this draft listing has been submitted for review from GitHub for approval to be verified in the Marketplace.

    \n\n\n\n\n\n\n\n\n\n\n\n

    isVerificationPendingFromUnverified (Boolean!)

    Whether this unverified listing has been submitted for review from GitHub for approval to be verified in the Marketplace.

    \n\n\n\n\n\n\n\n\n\n\n\n

    isVerified (Boolean!)

    Whether this listing has been approved for verified display in the Marketplace.

    \n\n\n\n\n\n\n\n\n\n\n\n

    logoBackgroundColor (String!)

    The hex color code, without the leading '#', for the logo background.

    \n\n\n\n\n\n\n\n\n\n\n\n

    logoUrl (URI)

    URL for the listing's logo image.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    size (Int)

    \n

    The size in pixels of the resulting square image.

    \n

    The default value is 400.

    \n
    \n\n
    \n\n\n

    name (String!)

    The listing's full name.

    \n\n\n\n\n\n\n\n\n\n\n\n

    normalizedShortDescription (String!)

    The listing's very short description without a trailing period or ampersands.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pricingUrl (URI)

    URL to the listing's detailed pricing.

    \n\n\n\n\n\n\n\n\n\n\n\n

    primaryCategory (MarketplaceCategory!)

    The category that best describes the listing.

    \n\n\n\n\n\n\n\n\n\n\n\n

    privacyPolicyUrl (URI!)

    URL to the listing's privacy policy, may return an empty string for listings that do not require a privacy policy URL.

    \n\n\n\n\n\n\n\n\n\n\n\n

    resourcePath (URI!)

    The HTTP path for the Marketplace listing.

    \n\n\n\n\n\n\n\n\n\n\n\n

    screenshotUrls ([String]!)

    The URLs for the listing's screenshots.

    \n\n\n\n\n\n\n\n\n\n\n\n

    secondaryCategory (MarketplaceCategory)

    An alternate category that describes the listing.

    \n\n\n\n\n\n\n\n\n\n\n\n

    shortDescription (String!)

    The listing's very short description.

    \n\n\n\n\n\n\n\n\n\n\n\n

    slug (String!)

    The short name of the listing used in its URL.

    \n\n\n\n\n\n\n\n\n\n\n\n

    statusUrl (URI)

    URL to the listing's status page.

    \n\n\n\n\n\n\n\n\n\n\n\n

    supportEmail (String)

    An email address for support for this listing's app.

    \n\n\n\n\n\n\n\n\n\n\n\n

    supportUrl (URI!)

    Either a URL or an email address for support for this listing's app, may\nreturn an empty string for listings that do not require a support URL.

    \n\n\n\n\n\n\n\n\n\n\n\n

    termsOfServiceUrl (URI)

    URL to the listing's terms of service.

    \n\n\n\n\n\n\n\n\n\n\n\n

    url (URI!)

    The HTTP URL for the Marketplace listing.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerCanAddPlans (Boolean!)

    Can the current viewer add plans for this Marketplace listing.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerCanApprove (Boolean!)

    Can the current viewer approve this Marketplace listing.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerCanDelist (Boolean!)

    Can the current viewer delist this Marketplace listing.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerCanEdit (Boolean!)

    Can the current viewer edit this Marketplace listing.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerCanEditCategories (Boolean!)

    Can the current viewer edit the primary and secondary category of this\nMarketplace listing.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerCanEditPlans (Boolean!)

    Can the current viewer edit the plans for this Marketplace listing.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerCanRedraft (Boolean!)

    Can the current viewer return this Marketplace listing to draft state\nso it becomes editable again.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerCanReject (Boolean!)

    Can the current viewer reject this Marketplace listing by returning it to\nan editable draft state or rejecting it entirely.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerCanRequestApproval (Boolean!)

    Can the current viewer request this listing be reviewed for display in\nthe Marketplace as verified.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerHasPurchased (Boolean!)

    Indicates whether the current user has an active subscription to this Marketplace listing.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerHasPurchasedForAllOrganizations (Boolean!)

    Indicates if the current user has purchased a subscription to this Marketplace listing\nfor all of the organizations the user owns.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerIsListingAdmin (Boolean!)

    Does the current viewer role allow them to administer this Marketplace listing.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n MarketplaceListingConnection\n

    \n

    Look up Marketplace Listings.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([MarketplaceListingEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([MarketplaceListing])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n MarketplaceListingEdge\n

    \n

    An edge in a connection.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (MarketplaceListing)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n MembersCanDeleteReposClearAuditEntry\n

    \n

    Audit log entry for a members_can_delete_repos.clear event.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    action (String!)

    The action name.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actor (AuditEntryActor)

    The user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorIp (String)

    The IP address of the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLocation (ActorLocation)

    A readable representation of the actor's location.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLogin (String)

    The username of the user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorResourcePath (URI)

    The HTTP path for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorUrl (URI)

    The HTTP URL for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (PreciseDateTime!)

    The time the action was initiated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    enterpriseResourcePath (URI)

    The HTTP path for this enterprise.

    \n\n\n\n\n\n\n\n\n\n\n\n

    enterpriseSlug (String)

    The slug of the enterprise.

    \n\n\n\n\n\n\n\n\n\n\n\n

    enterpriseUrl (URI)

    The HTTP URL for this enterprise.

    \n\n\n\n\n\n\n\n\n\n\n\n

    operationType (OperationType)

    The corresponding operation type for the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organization (Organization)

    The Organization associated with the Audit Entry.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationName (String)

    The name of the Organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationResourcePath (URI)

    The HTTP path for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationUrl (URI)

    The HTTP URL for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    user (User)

    The user affected by the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userLogin (String)

    For actions involving two users, the actor is the initiator and the user is the affected user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userResourcePath (URI)

    The HTTP path for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userUrl (URI)

    The HTTP URL for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n MembersCanDeleteReposDisableAuditEntry\n

    \n

    Audit log entry for a members_can_delete_repos.disable event.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    action (String!)

    The action name.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actor (AuditEntryActor)

    The user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorIp (String)

    The IP address of the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLocation (ActorLocation)

    A readable representation of the actor's location.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLogin (String)

    The username of the user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorResourcePath (URI)

    The HTTP path for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorUrl (URI)

    The HTTP URL for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (PreciseDateTime!)

    The time the action was initiated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    enterpriseResourcePath (URI)

    The HTTP path for this enterprise.

    \n\n\n\n\n\n\n\n\n\n\n\n

    enterpriseSlug (String)

    The slug of the enterprise.

    \n\n\n\n\n\n\n\n\n\n\n\n

    enterpriseUrl (URI)

    The HTTP URL for this enterprise.

    \n\n\n\n\n\n\n\n\n\n\n\n

    operationType (OperationType)

    The corresponding operation type for the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organization (Organization)

    The Organization associated with the Audit Entry.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationName (String)

    The name of the Organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationResourcePath (URI)

    The HTTP path for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationUrl (URI)

    The HTTP URL for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    user (User)

    The user affected by the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userLogin (String)

    For actions involving two users, the actor is the initiator and the user is the affected user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userResourcePath (URI)

    The HTTP path for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userUrl (URI)

    The HTTP URL for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n MembersCanDeleteReposEnableAuditEntry\n

    \n

    Audit log entry for a members_can_delete_repos.enable event.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    action (String!)

    The action name.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actor (AuditEntryActor)

    The user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorIp (String)

    The IP address of the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLocation (ActorLocation)

    A readable representation of the actor's location.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLogin (String)

    The username of the user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorResourcePath (URI)

    The HTTP path for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorUrl (URI)

    The HTTP URL for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (PreciseDateTime!)

    The time the action was initiated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    enterpriseResourcePath (URI)

    The HTTP path for this enterprise.

    \n\n\n\n\n\n\n\n\n\n\n\n

    enterpriseSlug (String)

    The slug of the enterprise.

    \n\n\n\n\n\n\n\n\n\n\n\n

    enterpriseUrl (URI)

    The HTTP URL for this enterprise.

    \n\n\n\n\n\n\n\n\n\n\n\n

    operationType (OperationType)

    The corresponding operation type for the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organization (Organization)

    The Organization associated with the Audit Entry.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationName (String)

    The name of the Organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationResourcePath (URI)

    The HTTP path for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationUrl (URI)

    The HTTP URL for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    user (User)

    The user affected by the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userLogin (String)

    For actions involving two users, the actor is the initiator and the user is the affected user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userResourcePath (URI)

    The HTTP path for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userUrl (URI)

    The HTTP URL for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n MentionedEvent\n

    \n

    Represents amentionedevent on a given issue or pull request.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    actor (Actor)

    Identifies the actor who performed the event.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    databaseId (Int)

    Identifies the primary key from the database.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n MergedEvent\n

    \n

    Represents amergedevent on a given pull request.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    actor (Actor)

    Identifies the actor who performed the event.

    \n\n\n\n\n\n\n\n\n\n\n\n

    commit (Commit)

    Identifies the commit associated with the merge event.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    mergeRef (Ref)

    Identifies the Ref associated with the merge event.

    \n\n\n\n\n\n\n\n\n\n\n\n

    mergeRefName (String!)

    Identifies the name of the Ref associated with the merge event.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pullRequest (PullRequest!)

    PullRequest referenced by event.

    \n\n\n\n\n\n\n\n\n\n\n\n

    resourcePath (URI!)

    The HTTP path for this merged event.

    \n\n\n\n\n\n\n\n\n\n\n\n

    url (URI!)

    The HTTP URL for this merged event.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n Milestone\n

    \n

    Represents a Milestone object on a given repository.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    closed (Boolean!)

    true if the object is closed (definition of closed may depend on type).

    \n\n\n\n\n\n\n\n\n\n\n\n

    closedAt (DateTime)

    Identifies the date and time when the object was closed.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    creator (Actor)

    Identifies the actor who created the milestone.

    \n\n\n\n\n\n\n\n\n\n\n\n

    description (String)

    Identifies the description of the milestone.

    \n\n\n\n\n\n\n\n\n\n\n\n

    dueOn (DateTime)

    Identifies the due date of the milestone.

    \n\n\n\n\n\n\n\n\n\n\n\n

    issues (IssueConnection!)

    A list of issues associated with the milestone.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    filterBy (IssueFilters)

    \n

    Filtering options for issues returned from the connection.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    labels ([String!])

    \n

    A list of label names to filter the pull requests by.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (IssueOrder)

    \n

    Ordering options for issues returned from the connection.

    \n\n
    \n\n
    \n

    states ([IssueState!])

    \n

    A list of states to filter the issues by.

    \n\n
    \n\n
    \n\n\n

    number (Int!)

    Identifies the number of the milestone.

    \n\n\n\n\n\n\n\n\n\n\n\n

    progressPercentage (Float!)

    Identifies the percentage complete for the milestone.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pullRequests (PullRequestConnection!)

    A list of pull requests associated with the milestone.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    baseRefName (String)

    \n

    The base ref name to filter the pull requests by.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    headRefName (String)

    \n

    The head ref name to filter the pull requests by.

    \n\n
    \n\n
    \n

    labels ([String!])

    \n

    A list of label names to filter the pull requests by.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (IssueOrder)

    \n

    Ordering options for pull requests returned from the connection.

    \n\n
    \n\n
    \n

    states ([PullRequestState!])

    \n

    A list of states to filter the pull requests by.

    \n\n
    \n\n
    \n\n\n

    repository (Repository!)

    The repository associated with this milestone.

    \n\n\n\n\n\n\n\n\n\n\n\n

    resourcePath (URI!)

    The HTTP path for this milestone.

    \n\n\n\n\n\n\n\n\n\n\n\n

    state (MilestoneState!)

    Identifies the state of the milestone.

    \n\n\n\n\n\n\n\n\n\n\n\n

    title (String!)

    Identifies the title of the milestone.

    \n\n\n\n\n\n\n\n\n\n\n\n

    updatedAt (DateTime!)

    Identifies the date and time when the object was last updated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    url (URI!)

    The HTTP URL for this milestone.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n MilestoneConnection\n

    \n

    The connection type for Milestone.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([MilestoneEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([Milestone])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n MilestoneEdge\n

    \n

    An edge in a connection.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (Milestone)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n MilestonedEvent\n

    \n

    Represents amilestonedevent on a given issue or pull request.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    actor (Actor)

    Identifies the actor who performed the event.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    milestoneTitle (String!)

    Identifies the milestone title associated with themilestonedevent.

    \n\n\n\n\n\n\n\n\n\n\n\n

    subject (MilestoneItem!)

    Object referenced by event.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n MovedColumnsInProjectEvent\n

    \n

    Represents amoved_columns_in_projectevent on a given issue or pull request.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    actor (Actor)

    Identifies the actor who performed the event.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    databaseId (Int)

    Identifies the primary key from the database.

    \n\n\n\n\n\n\n\n\n\n\n\n

    previousProjectColumnName (String!)

    Column name the issue or pull request was moved from.

    \n\n\n\n\n
    \n

    Preview notice

    \n

    previousProjectColumnName is available under the Project event details preview. During the preview period, the API may change without notice.

    \n
    \n\n\n\n\n\n\n\n\n

    project (Project)

    Project referenced by event.

    \n\n\n\n\n
    \n

    Preview notice

    \n

    project is available under the Project event details preview. During the preview period, the API may change without notice.

    \n
    \n\n\n\n\n\n\n\n\n

    projectCard (ProjectCard)

    Project card referenced by this project event.

    \n\n\n\n\n
    \n

    Preview notice

    \n

    projectCard is available under the Project event details preview. During the preview period, the API may change without notice.

    \n
    \n\n\n\n\n\n\n\n\n

    projectColumnName (String!)

    Column name the issue or pull request was moved to.

    \n\n\n\n\n
    \n

    Preview notice

    \n

    projectColumnName is available under the Project event details preview. During the preview period, the API may change without notice.

    \n
    \n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n OauthApplicationCreateAuditEntry\n

    \n

    Audit log entry for a oauth_application.create event.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    action (String!)

    The action name.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actor (AuditEntryActor)

    The user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorIp (String)

    The IP address of the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLocation (ActorLocation)

    A readable representation of the actor's location.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLogin (String)

    The username of the user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorResourcePath (URI)

    The HTTP path for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorUrl (URI)

    The HTTP URL for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    applicationUrl (URI)

    The application URL of the OAuth Application.

    \n\n\n\n\n\n\n\n\n\n\n\n

    callbackUrl (URI)

    The callback URL of the OAuth Application.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (PreciseDateTime!)

    The time the action was initiated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    oauthApplicationName (String)

    The name of the OAuth Application.

    \n\n\n\n\n\n\n\n\n\n\n\n

    oauthApplicationResourcePath (URI)

    The HTTP path for the OAuth Application.

    \n\n\n\n\n\n\n\n\n\n\n\n

    oauthApplicationUrl (URI)

    The HTTP URL for the OAuth Application.

    \n\n\n\n\n\n\n\n\n\n\n\n

    operationType (OperationType)

    The corresponding operation type for the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organization (Organization)

    The Organization associated with the Audit Entry.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationName (String)

    The name of the Organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationResourcePath (URI)

    The HTTP path for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationUrl (URI)

    The HTTP URL for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    rateLimit (Int)

    The rate limit of the OAuth Application.

    \n\n\n\n\n\n\n\n\n\n\n\n

    state (OauthApplicationCreateAuditEntryState)

    The state of the OAuth Application.

    \n\n\n\n\n\n\n\n\n\n\n\n

    user (User)

    The user affected by the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userLogin (String)

    For actions involving two users, the actor is the initiator and the user is the affected user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userResourcePath (URI)

    The HTTP path for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userUrl (URI)

    The HTTP URL for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n OrgAddBillingManagerAuditEntry\n

    \n

    Audit log entry for a org.add_billing_manager.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    action (String!)

    The action name.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actor (AuditEntryActor)

    The user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorIp (String)

    The IP address of the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLocation (ActorLocation)

    A readable representation of the actor's location.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLogin (String)

    The username of the user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorResourcePath (URI)

    The HTTP path for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorUrl (URI)

    The HTTP URL for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (PreciseDateTime!)

    The time the action was initiated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    invitationEmail (String)

    The email address used to invite a billing manager for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    operationType (OperationType)

    The corresponding operation type for the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organization (Organization)

    The Organization associated with the Audit Entry.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationName (String)

    The name of the Organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationResourcePath (URI)

    The HTTP path for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationUrl (URI)

    The HTTP URL for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    user (User)

    The user affected by the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userLogin (String)

    For actions involving two users, the actor is the initiator and the user is the affected user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userResourcePath (URI)

    The HTTP path for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userUrl (URI)

    The HTTP URL for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n OrgAddMemberAuditEntry\n

    \n

    Audit log entry for a org.add_member.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    action (String!)

    The action name.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actor (AuditEntryActor)

    The user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorIp (String)

    The IP address of the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLocation (ActorLocation)

    A readable representation of the actor's location.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLogin (String)

    The username of the user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorResourcePath (URI)

    The HTTP path for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorUrl (URI)

    The HTTP URL for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (PreciseDateTime!)

    The time the action was initiated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    operationType (OperationType)

    The corresponding operation type for the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organization (Organization)

    The Organization associated with the Audit Entry.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationName (String)

    The name of the Organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationResourcePath (URI)

    The HTTP path for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationUrl (URI)

    The HTTP URL for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    permission (OrgAddMemberAuditEntryPermission)

    The permission level of the member added to the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    user (User)

    The user affected by the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userLogin (String)

    For actions involving two users, the actor is the initiator and the user is the affected user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userResourcePath (URI)

    The HTTP path for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userUrl (URI)

    The HTTP URL for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n OrgBlockUserAuditEntry\n

    \n

    Audit log entry for a org.block_user.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    action (String!)

    The action name.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actor (AuditEntryActor)

    The user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorIp (String)

    The IP address of the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLocation (ActorLocation)

    A readable representation of the actor's location.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLogin (String)

    The username of the user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorResourcePath (URI)

    The HTTP path for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorUrl (URI)

    The HTTP URL for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    blockedUser (User)

    The blocked user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    blockedUserName (String)

    The username of the blocked user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    blockedUserResourcePath (URI)

    The HTTP path for the blocked user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    blockedUserUrl (URI)

    The HTTP URL for the blocked user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (PreciseDateTime!)

    The time the action was initiated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    operationType (OperationType)

    The corresponding operation type for the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organization (Organization)

    The Organization associated with the Audit Entry.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationName (String)

    The name of the Organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationResourcePath (URI)

    The HTTP path for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationUrl (URI)

    The HTTP URL for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    user (User)

    The user affected by the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userLogin (String)

    For actions involving two users, the actor is the initiator and the user is the affected user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userResourcePath (URI)

    The HTTP path for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userUrl (URI)

    The HTTP URL for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n OrgConfigDisableCollaboratorsOnlyAuditEntry\n

    \n

    Audit log entry for a org.config.disable_collaborators_only event.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    action (String!)

    The action name.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actor (AuditEntryActor)

    The user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorIp (String)

    The IP address of the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLocation (ActorLocation)

    A readable representation of the actor's location.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLogin (String)

    The username of the user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorResourcePath (URI)

    The HTTP path for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorUrl (URI)

    The HTTP URL for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (PreciseDateTime!)

    The time the action was initiated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    operationType (OperationType)

    The corresponding operation type for the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organization (Organization)

    The Organization associated with the Audit Entry.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationName (String)

    The name of the Organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationResourcePath (URI)

    The HTTP path for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationUrl (URI)

    The HTTP URL for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    user (User)

    The user affected by the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userLogin (String)

    For actions involving two users, the actor is the initiator and the user is the affected user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userResourcePath (URI)

    The HTTP path for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userUrl (URI)

    The HTTP URL for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n OrgConfigEnableCollaboratorsOnlyAuditEntry\n

    \n

    Audit log entry for a org.config.enable_collaborators_only event.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    action (String!)

    The action name.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actor (AuditEntryActor)

    The user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorIp (String)

    The IP address of the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLocation (ActorLocation)

    A readable representation of the actor's location.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLogin (String)

    The username of the user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorResourcePath (URI)

    The HTTP path for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorUrl (URI)

    The HTTP URL for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (PreciseDateTime!)

    The time the action was initiated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    operationType (OperationType)

    The corresponding operation type for the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organization (Organization)

    The Organization associated with the Audit Entry.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationName (String)

    The name of the Organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationResourcePath (URI)

    The HTTP path for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationUrl (URI)

    The HTTP URL for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    user (User)

    The user affected by the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userLogin (String)

    For actions involving two users, the actor is the initiator and the user is the affected user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userResourcePath (URI)

    The HTTP path for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userUrl (URI)

    The HTTP URL for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n OrgCreateAuditEntry\n

    \n

    Audit log entry for a org.create event.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    action (String!)

    The action name.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actor (AuditEntryActor)

    The user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorIp (String)

    The IP address of the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLocation (ActorLocation)

    A readable representation of the actor's location.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLogin (String)

    The username of the user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorResourcePath (URI)

    The HTTP path for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorUrl (URI)

    The HTTP URL for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    billingPlan (OrgCreateAuditEntryBillingPlan)

    The billing plan for the Organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (PreciseDateTime!)

    The time the action was initiated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    operationType (OperationType)

    The corresponding operation type for the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organization (Organization)

    The Organization associated with the Audit Entry.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationName (String)

    The name of the Organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationResourcePath (URI)

    The HTTP path for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationUrl (URI)

    The HTTP URL for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    user (User)

    The user affected by the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userLogin (String)

    For actions involving two users, the actor is the initiator and the user is the affected user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userResourcePath (URI)

    The HTTP path for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userUrl (URI)

    The HTTP URL for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n OrgDisableOauthAppRestrictionsAuditEntry\n

    \n

    Audit log entry for a org.disable_oauth_app_restrictions event.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    action (String!)

    The action name.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actor (AuditEntryActor)

    The user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorIp (String)

    The IP address of the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLocation (ActorLocation)

    A readable representation of the actor's location.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLogin (String)

    The username of the user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorResourcePath (URI)

    The HTTP path for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorUrl (URI)

    The HTTP URL for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (PreciseDateTime!)

    The time the action was initiated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    operationType (OperationType)

    The corresponding operation type for the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organization (Organization)

    The Organization associated with the Audit Entry.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationName (String)

    The name of the Organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationResourcePath (URI)

    The HTTP path for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationUrl (URI)

    The HTTP URL for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    user (User)

    The user affected by the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userLogin (String)

    For actions involving two users, the actor is the initiator and the user is the affected user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userResourcePath (URI)

    The HTTP path for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userUrl (URI)

    The HTTP URL for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n OrgDisableSamlAuditEntry\n

    \n

    Audit log entry for a org.disable_saml event.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    action (String!)

    The action name.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actor (AuditEntryActor)

    The user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorIp (String)

    The IP address of the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLocation (ActorLocation)

    A readable representation of the actor's location.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLogin (String)

    The username of the user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorResourcePath (URI)

    The HTTP path for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorUrl (URI)

    The HTTP URL for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (PreciseDateTime!)

    The time the action was initiated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    digestMethodUrl (URI)

    The SAML provider's digest algorithm URL.

    \n\n\n\n\n\n\n\n\n\n\n\n

    issuerUrl (URI)

    The SAML provider's issuer URL.

    \n\n\n\n\n\n\n\n\n\n\n\n

    operationType (OperationType)

    The corresponding operation type for the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organization (Organization)

    The Organization associated with the Audit Entry.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationName (String)

    The name of the Organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationResourcePath (URI)

    The HTTP path for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationUrl (URI)

    The HTTP URL for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    signatureMethodUrl (URI)

    The SAML provider's signature algorithm URL.

    \n\n\n\n\n\n\n\n\n\n\n\n

    singleSignOnUrl (URI)

    The SAML provider's single sign-on URL.

    \n\n\n\n\n\n\n\n\n\n\n\n

    user (User)

    The user affected by the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userLogin (String)

    For actions involving two users, the actor is the initiator and the user is the affected user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userResourcePath (URI)

    The HTTP path for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userUrl (URI)

    The HTTP URL for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n OrgDisableTwoFactorRequirementAuditEntry\n

    \n

    Audit log entry for a org.disable_two_factor_requirement event.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    action (String!)

    The action name.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actor (AuditEntryActor)

    The user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorIp (String)

    The IP address of the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLocation (ActorLocation)

    A readable representation of the actor's location.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLogin (String)

    The username of the user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorResourcePath (URI)

    The HTTP path for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorUrl (URI)

    The HTTP URL for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (PreciseDateTime!)

    The time the action was initiated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    operationType (OperationType)

    The corresponding operation type for the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organization (Organization)

    The Organization associated with the Audit Entry.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationName (String)

    The name of the Organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationResourcePath (URI)

    The HTTP path for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationUrl (URI)

    The HTTP URL for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    user (User)

    The user affected by the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userLogin (String)

    For actions involving two users, the actor is the initiator and the user is the affected user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userResourcePath (URI)

    The HTTP path for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userUrl (URI)

    The HTTP URL for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n OrgEnableOauthAppRestrictionsAuditEntry\n

    \n

    Audit log entry for a org.enable_oauth_app_restrictions event.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    action (String!)

    The action name.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actor (AuditEntryActor)

    The user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorIp (String)

    The IP address of the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLocation (ActorLocation)

    A readable representation of the actor's location.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLogin (String)

    The username of the user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorResourcePath (URI)

    The HTTP path for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorUrl (URI)

    The HTTP URL for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (PreciseDateTime!)

    The time the action was initiated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    operationType (OperationType)

    The corresponding operation type for the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organization (Organization)

    The Organization associated with the Audit Entry.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationName (String)

    The name of the Organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationResourcePath (URI)

    The HTTP path for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationUrl (URI)

    The HTTP URL for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    user (User)

    The user affected by the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userLogin (String)

    For actions involving two users, the actor is the initiator and the user is the affected user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userResourcePath (URI)

    The HTTP path for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userUrl (URI)

    The HTTP URL for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n OrgEnableSamlAuditEntry\n

    \n

    Audit log entry for a org.enable_saml event.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    action (String!)

    The action name.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actor (AuditEntryActor)

    The user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorIp (String)

    The IP address of the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLocation (ActorLocation)

    A readable representation of the actor's location.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLogin (String)

    The username of the user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorResourcePath (URI)

    The HTTP path for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorUrl (URI)

    The HTTP URL for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (PreciseDateTime!)

    The time the action was initiated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    digestMethodUrl (URI)

    The SAML provider's digest algorithm URL.

    \n\n\n\n\n\n\n\n\n\n\n\n

    issuerUrl (URI)

    The SAML provider's issuer URL.

    \n\n\n\n\n\n\n\n\n\n\n\n

    operationType (OperationType)

    The corresponding operation type for the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organization (Organization)

    The Organization associated with the Audit Entry.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationName (String)

    The name of the Organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationResourcePath (URI)

    The HTTP path for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationUrl (URI)

    The HTTP URL for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    signatureMethodUrl (URI)

    The SAML provider's signature algorithm URL.

    \n\n\n\n\n\n\n\n\n\n\n\n

    singleSignOnUrl (URI)

    The SAML provider's single sign-on URL.

    \n\n\n\n\n\n\n\n\n\n\n\n

    user (User)

    The user affected by the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userLogin (String)

    For actions involving two users, the actor is the initiator and the user is the affected user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userResourcePath (URI)

    The HTTP path for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userUrl (URI)

    The HTTP URL for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n OrgEnableTwoFactorRequirementAuditEntry\n

    \n

    Audit log entry for a org.enable_two_factor_requirement event.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    action (String!)

    The action name.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actor (AuditEntryActor)

    The user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorIp (String)

    The IP address of the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLocation (ActorLocation)

    A readable representation of the actor's location.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLogin (String)

    The username of the user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorResourcePath (URI)

    The HTTP path for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorUrl (URI)

    The HTTP URL for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (PreciseDateTime!)

    The time the action was initiated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    operationType (OperationType)

    The corresponding operation type for the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organization (Organization)

    The Organization associated with the Audit Entry.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationName (String)

    The name of the Organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationResourcePath (URI)

    The HTTP path for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationUrl (URI)

    The HTTP URL for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    user (User)

    The user affected by the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userLogin (String)

    For actions involving two users, the actor is the initiator and the user is the affected user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userResourcePath (URI)

    The HTTP path for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userUrl (URI)

    The HTTP URL for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n OrgInviteMemberAuditEntry\n

    \n

    Audit log entry for a org.invite_member event.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    action (String!)

    The action name.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actor (AuditEntryActor)

    The user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorIp (String)

    The IP address of the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLocation (ActorLocation)

    A readable representation of the actor's location.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLogin (String)

    The username of the user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorResourcePath (URI)

    The HTTP path for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorUrl (URI)

    The HTTP URL for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (PreciseDateTime!)

    The time the action was initiated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    email (String)

    The email address of the organization invitation.

    \n\n\n\n\n\n\n\n\n\n\n\n

    operationType (OperationType)

    The corresponding operation type for the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organization (Organization)

    The Organization associated with the Audit Entry.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationInvitation (OrganizationInvitation)

    The organization invitation.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationName (String)

    The name of the Organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationResourcePath (URI)

    The HTTP path for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationUrl (URI)

    The HTTP URL for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    user (User)

    The user affected by the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userLogin (String)

    For actions involving two users, the actor is the initiator and the user is the affected user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userResourcePath (URI)

    The HTTP path for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userUrl (URI)

    The HTTP URL for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n OrgInviteToBusinessAuditEntry\n

    \n

    Audit log entry for a org.invite_to_business event.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    action (String!)

    The action name.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actor (AuditEntryActor)

    The user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorIp (String)

    The IP address of the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLocation (ActorLocation)

    A readable representation of the actor's location.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLogin (String)

    The username of the user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorResourcePath (URI)

    The HTTP path for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorUrl (URI)

    The HTTP URL for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (PreciseDateTime!)

    The time the action was initiated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    enterpriseResourcePath (URI)

    The HTTP path for this enterprise.

    \n\n\n\n\n\n\n\n\n\n\n\n

    enterpriseSlug (String)

    The slug of the enterprise.

    \n\n\n\n\n\n\n\n\n\n\n\n

    enterpriseUrl (URI)

    The HTTP URL for this enterprise.

    \n\n\n\n\n\n\n\n\n\n\n\n

    operationType (OperationType)

    The corresponding operation type for the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organization (Organization)

    The Organization associated with the Audit Entry.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationName (String)

    The name of the Organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationResourcePath (URI)

    The HTTP path for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationUrl (URI)

    The HTTP URL for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    user (User)

    The user affected by the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userLogin (String)

    For actions involving two users, the actor is the initiator and the user is the affected user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userResourcePath (URI)

    The HTTP path for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userUrl (URI)

    The HTTP URL for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n OrgOauthAppAccessApprovedAuditEntry\n

    \n

    Audit log entry for a org.oauth_app_access_approved event.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    action (String!)

    The action name.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actor (AuditEntryActor)

    The user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorIp (String)

    The IP address of the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLocation (ActorLocation)

    A readable representation of the actor's location.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLogin (String)

    The username of the user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorResourcePath (URI)

    The HTTP path for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorUrl (URI)

    The HTTP URL for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (PreciseDateTime!)

    The time the action was initiated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    oauthApplicationName (String)

    The name of the OAuth Application.

    \n\n\n\n\n\n\n\n\n\n\n\n

    oauthApplicationResourcePath (URI)

    The HTTP path for the OAuth Application.

    \n\n\n\n\n\n\n\n\n\n\n\n

    oauthApplicationUrl (URI)

    The HTTP URL for the OAuth Application.

    \n\n\n\n\n\n\n\n\n\n\n\n

    operationType (OperationType)

    The corresponding operation type for the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organization (Organization)

    The Organization associated with the Audit Entry.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationName (String)

    The name of the Organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationResourcePath (URI)

    The HTTP path for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationUrl (URI)

    The HTTP URL for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    user (User)

    The user affected by the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userLogin (String)

    For actions involving two users, the actor is the initiator and the user is the affected user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userResourcePath (URI)

    The HTTP path for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userUrl (URI)

    The HTTP URL for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n OrgOauthAppAccessDeniedAuditEntry\n

    \n

    Audit log entry for a org.oauth_app_access_denied event.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    action (String!)

    The action name.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actor (AuditEntryActor)

    The user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorIp (String)

    The IP address of the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLocation (ActorLocation)

    A readable representation of the actor's location.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLogin (String)

    The username of the user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorResourcePath (URI)

    The HTTP path for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorUrl (URI)

    The HTTP URL for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (PreciseDateTime!)

    The time the action was initiated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    oauthApplicationName (String)

    The name of the OAuth Application.

    \n\n\n\n\n\n\n\n\n\n\n\n

    oauthApplicationResourcePath (URI)

    The HTTP path for the OAuth Application.

    \n\n\n\n\n\n\n\n\n\n\n\n

    oauthApplicationUrl (URI)

    The HTTP URL for the OAuth Application.

    \n\n\n\n\n\n\n\n\n\n\n\n

    operationType (OperationType)

    The corresponding operation type for the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organization (Organization)

    The Organization associated with the Audit Entry.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationName (String)

    The name of the Organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationResourcePath (URI)

    The HTTP path for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationUrl (URI)

    The HTTP URL for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    user (User)

    The user affected by the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userLogin (String)

    For actions involving two users, the actor is the initiator and the user is the affected user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userResourcePath (URI)

    The HTTP path for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userUrl (URI)

    The HTTP URL for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n OrgOauthAppAccessRequestedAuditEntry\n

    \n

    Audit log entry for a org.oauth_app_access_requested event.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    action (String!)

    The action name.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actor (AuditEntryActor)

    The user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorIp (String)

    The IP address of the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLocation (ActorLocation)

    A readable representation of the actor's location.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLogin (String)

    The username of the user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorResourcePath (URI)

    The HTTP path for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorUrl (URI)

    The HTTP URL for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (PreciseDateTime!)

    The time the action was initiated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    oauthApplicationName (String)

    The name of the OAuth Application.

    \n\n\n\n\n\n\n\n\n\n\n\n

    oauthApplicationResourcePath (URI)

    The HTTP path for the OAuth Application.

    \n\n\n\n\n\n\n\n\n\n\n\n

    oauthApplicationUrl (URI)

    The HTTP URL for the OAuth Application.

    \n\n\n\n\n\n\n\n\n\n\n\n

    operationType (OperationType)

    The corresponding operation type for the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organization (Organization)

    The Organization associated with the Audit Entry.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationName (String)

    The name of the Organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationResourcePath (URI)

    The HTTP path for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationUrl (URI)

    The HTTP URL for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    user (User)

    The user affected by the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userLogin (String)

    For actions involving two users, the actor is the initiator and the user is the affected user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userResourcePath (URI)

    The HTTP path for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userUrl (URI)

    The HTTP URL for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n OrgRemoveBillingManagerAuditEntry\n

    \n

    Audit log entry for a org.remove_billing_manager event.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    action (String!)

    The action name.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actor (AuditEntryActor)

    The user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorIp (String)

    The IP address of the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLocation (ActorLocation)

    A readable representation of the actor's location.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLogin (String)

    The username of the user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorResourcePath (URI)

    The HTTP path for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorUrl (URI)

    The HTTP URL for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (PreciseDateTime!)

    The time the action was initiated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    operationType (OperationType)

    The corresponding operation type for the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organization (Organization)

    The Organization associated with the Audit Entry.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationName (String)

    The name of the Organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationResourcePath (URI)

    The HTTP path for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationUrl (URI)

    The HTTP URL for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    reason (OrgRemoveBillingManagerAuditEntryReason)

    The reason for the billing manager being removed.

    \n\n\n\n\n\n\n\n\n\n\n\n

    user (User)

    The user affected by the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userLogin (String)

    For actions involving two users, the actor is the initiator and the user is the affected user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userResourcePath (URI)

    The HTTP path for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userUrl (URI)

    The HTTP URL for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n OrgRemoveMemberAuditEntry\n

    \n

    Audit log entry for a org.remove_member event.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    action (String!)

    The action name.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actor (AuditEntryActor)

    The user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorIp (String)

    The IP address of the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLocation (ActorLocation)

    A readable representation of the actor's location.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLogin (String)

    The username of the user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorResourcePath (URI)

    The HTTP path for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorUrl (URI)

    The HTTP URL for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (PreciseDateTime!)

    The time the action was initiated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    membershipTypes ([OrgRemoveMemberAuditEntryMembershipType!])

    The types of membership the member has with the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    operationType (OperationType)

    The corresponding operation type for the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organization (Organization)

    The Organization associated with the Audit Entry.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationName (String)

    The name of the Organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationResourcePath (URI)

    The HTTP path for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationUrl (URI)

    The HTTP URL for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    reason (OrgRemoveMemberAuditEntryReason)

    The reason for the member being removed.

    \n\n\n\n\n\n\n\n\n\n\n\n

    user (User)

    The user affected by the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userLogin (String)

    For actions involving two users, the actor is the initiator and the user is the affected user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userResourcePath (URI)

    The HTTP path for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userUrl (URI)

    The HTTP URL for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n OrgRemoveOutsideCollaboratorAuditEntry\n

    \n

    Audit log entry for a org.remove_outside_collaborator event.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    action (String!)

    The action name.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actor (AuditEntryActor)

    The user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorIp (String)

    The IP address of the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLocation (ActorLocation)

    A readable representation of the actor's location.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLogin (String)

    The username of the user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorResourcePath (URI)

    The HTTP path for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorUrl (URI)

    The HTTP URL for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (PreciseDateTime!)

    The time the action was initiated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    membershipTypes ([OrgRemoveOutsideCollaboratorAuditEntryMembershipType!])

    The types of membership the outside collaborator has with the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    operationType (OperationType)

    The corresponding operation type for the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organization (Organization)

    The Organization associated with the Audit Entry.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationName (String)

    The name of the Organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationResourcePath (URI)

    The HTTP path for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationUrl (URI)

    The HTTP URL for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    reason (OrgRemoveOutsideCollaboratorAuditEntryReason)

    The reason for the outside collaborator being removed from the Organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    user (User)

    The user affected by the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userLogin (String)

    For actions involving two users, the actor is the initiator and the user is the affected user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userResourcePath (URI)

    The HTTP path for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userUrl (URI)

    The HTTP URL for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n OrgRestoreMemberAuditEntry\n

    \n

    Audit log entry for a org.restore_member event.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    action (String!)

    The action name.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actor (AuditEntryActor)

    The user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorIp (String)

    The IP address of the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLocation (ActorLocation)

    A readable representation of the actor's location.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLogin (String)

    The username of the user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorResourcePath (URI)

    The HTTP path for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorUrl (URI)

    The HTTP URL for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (PreciseDateTime!)

    The time the action was initiated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    operationType (OperationType)

    The corresponding operation type for the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organization (Organization)

    The Organization associated with the Audit Entry.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationName (String)

    The name of the Organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationResourcePath (URI)

    The HTTP path for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationUrl (URI)

    The HTTP URL for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    restoredCustomEmailRoutingsCount (Int)

    The number of custom email routings for the restored member.

    \n\n\n\n\n\n\n\n\n\n\n\n

    restoredIssueAssignmentsCount (Int)

    The number of issue assignments for the restored member.

    \n\n\n\n\n\n\n\n\n\n\n\n

    restoredMemberships ([OrgRestoreMemberAuditEntryMembership!])

    Restored organization membership objects.

    \n\n\n\n\n\n\n\n\n\n\n\n

    restoredMembershipsCount (Int)

    The number of restored memberships.

    \n\n\n\n\n\n\n\n\n\n\n\n

    restoredRepositoriesCount (Int)

    The number of repositories of the restored member.

    \n\n\n\n\n\n\n\n\n\n\n\n

    restoredRepositoryStarsCount (Int)

    The number of starred repositories for the restored member.

    \n\n\n\n\n\n\n\n\n\n\n\n

    restoredRepositoryWatchesCount (Int)

    The number of watched repositories for the restored member.

    \n\n\n\n\n\n\n\n\n\n\n\n

    user (User)

    The user affected by the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userLogin (String)

    For actions involving two users, the actor is the initiator and the user is the affected user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userResourcePath (URI)

    The HTTP path for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userUrl (URI)

    The HTTP URL for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n OrgRestoreMemberMembershipOrganizationAuditEntryData\n

    \n

    Metadata for an organization membership for org.restore_member actions.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    organization (Organization)

    The Organization associated with the Audit Entry.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationName (String)

    The name of the Organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationResourcePath (URI)

    The HTTP path for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationUrl (URI)

    The HTTP URL for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n OrgRestoreMemberMembershipRepositoryAuditEntryData\n

    \n

    Metadata for a repository membership for org.restore_member actions.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    repository (Repository)

    The repository associated with the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repositoryName (String)

    The name of the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repositoryResourcePath (URI)

    The HTTP path for the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repositoryUrl (URI)

    The HTTP URL for the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n OrgRestoreMemberMembershipTeamAuditEntryData\n

    \n

    Metadata for a team membership for org.restore_member actions.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    team (Team)

    The team associated with the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    teamName (String)

    The name of the team.

    \n\n\n\n\n\n\n\n\n\n\n\n

    teamResourcePath (URI)

    The HTTP path for this team.

    \n\n\n\n\n\n\n\n\n\n\n\n

    teamUrl (URI)

    The HTTP URL for this team.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n OrgUnblockUserAuditEntry\n

    \n

    Audit log entry for a org.unblock_user.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    action (String!)

    The action name.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actor (AuditEntryActor)

    The user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorIp (String)

    The IP address of the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLocation (ActorLocation)

    A readable representation of the actor's location.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLogin (String)

    The username of the user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorResourcePath (URI)

    The HTTP path for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorUrl (URI)

    The HTTP URL for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    blockedUser (User)

    The user being unblocked by the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    blockedUserName (String)

    The username of the blocked user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    blockedUserResourcePath (URI)

    The HTTP path for the blocked user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    blockedUserUrl (URI)

    The HTTP URL for the blocked user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (PreciseDateTime!)

    The time the action was initiated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    operationType (OperationType)

    The corresponding operation type for the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organization (Organization)

    The Organization associated with the Audit Entry.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationName (String)

    The name of the Organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationResourcePath (URI)

    The HTTP path for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationUrl (URI)

    The HTTP URL for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    user (User)

    The user affected by the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userLogin (String)

    For actions involving two users, the actor is the initiator and the user is the affected user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userResourcePath (URI)

    The HTTP path for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userUrl (URI)

    The HTTP URL for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n OrgUpdateDefaultRepositoryPermissionAuditEntry\n

    \n

    Audit log entry for a org.update_default_repository_permission.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    action (String!)

    The action name.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actor (AuditEntryActor)

    The user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorIp (String)

    The IP address of the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLocation (ActorLocation)

    A readable representation of the actor's location.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLogin (String)

    The username of the user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorResourcePath (URI)

    The HTTP path for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorUrl (URI)

    The HTTP URL for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (PreciseDateTime!)

    The time the action was initiated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    operationType (OperationType)

    The corresponding operation type for the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organization (Organization)

    The Organization associated with the Audit Entry.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationName (String)

    The name of the Organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationResourcePath (URI)

    The HTTP path for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationUrl (URI)

    The HTTP URL for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    permission (OrgUpdateDefaultRepositoryPermissionAuditEntryPermission)

    The new default repository permission level for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    permissionWas (OrgUpdateDefaultRepositoryPermissionAuditEntryPermission)

    The former default repository permission level for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    user (User)

    The user affected by the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userLogin (String)

    For actions involving two users, the actor is the initiator and the user is the affected user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userResourcePath (URI)

    The HTTP path for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userUrl (URI)

    The HTTP URL for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n OrgUpdateMemberAuditEntry\n

    \n

    Audit log entry for a org.update_member event.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    action (String!)

    The action name.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actor (AuditEntryActor)

    The user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorIp (String)

    The IP address of the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLocation (ActorLocation)

    A readable representation of the actor's location.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLogin (String)

    The username of the user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorResourcePath (URI)

    The HTTP path for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorUrl (URI)

    The HTTP URL for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (PreciseDateTime!)

    The time the action was initiated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    operationType (OperationType)

    The corresponding operation type for the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organization (Organization)

    The Organization associated with the Audit Entry.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationName (String)

    The name of the Organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationResourcePath (URI)

    The HTTP path for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationUrl (URI)

    The HTTP URL for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    permission (OrgUpdateMemberAuditEntryPermission)

    The new member permission level for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    permissionWas (OrgUpdateMemberAuditEntryPermission)

    The former member permission level for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    user (User)

    The user affected by the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userLogin (String)

    For actions involving two users, the actor is the initiator and the user is the affected user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userResourcePath (URI)

    The HTTP path for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userUrl (URI)

    The HTTP URL for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n OrgUpdateMemberRepositoryCreationPermissionAuditEntry\n

    \n

    Audit log entry for a org.update_member_repository_creation_permission event.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    action (String!)

    The action name.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actor (AuditEntryActor)

    The user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorIp (String)

    The IP address of the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLocation (ActorLocation)

    A readable representation of the actor's location.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLogin (String)

    The username of the user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorResourcePath (URI)

    The HTTP path for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorUrl (URI)

    The HTTP URL for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    canCreateRepositories (Boolean)

    Can members create repositories in the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (PreciseDateTime!)

    The time the action was initiated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    operationType (OperationType)

    The corresponding operation type for the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organization (Organization)

    The Organization associated with the Audit Entry.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationName (String)

    The name of the Organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationResourcePath (URI)

    The HTTP path for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationUrl (URI)

    The HTTP URL for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    user (User)

    The user affected by the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userLogin (String)

    For actions involving two users, the actor is the initiator and the user is the affected user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userResourcePath (URI)

    The HTTP path for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userUrl (URI)

    The HTTP URL for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    visibility (OrgUpdateMemberRepositoryCreationPermissionAuditEntryVisibility)

    The permission for visibility level of repositories for this organization.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n OrgUpdateMemberRepositoryInvitationPermissionAuditEntry\n

    \n

    Audit log entry for a org.update_member_repository_invitation_permission event.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    action (String!)

    The action name.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actor (AuditEntryActor)

    The user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorIp (String)

    The IP address of the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLocation (ActorLocation)

    A readable representation of the actor's location.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLogin (String)

    The username of the user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorResourcePath (URI)

    The HTTP path for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorUrl (URI)

    The HTTP URL for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    canInviteOutsideCollaboratorsToRepositories (Boolean)

    Can outside collaborators be invited to repositories in the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (PreciseDateTime!)

    The time the action was initiated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    operationType (OperationType)

    The corresponding operation type for the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organization (Organization)

    The Organization associated with the Audit Entry.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationName (String)

    The name of the Organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationResourcePath (URI)

    The HTTP path for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationUrl (URI)

    The HTTP URL for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    user (User)

    The user affected by the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userLogin (String)

    For actions involving two users, the actor is the initiator and the user is the affected user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userResourcePath (URI)

    The HTTP path for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userUrl (URI)

    The HTTP URL for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n Organization\n

    \n

    An account on GitHub, with one or more owners, that has repositories, members and teams.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    anyPinnableItems (Boolean!)

    Determine if this repository owner has any items that can be pinned to their profile.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    type (PinnableItemType)

    \n

    Filter to only a particular kind of pinnable item.

    \n\n
    \n\n
    \n\n\n

    auditLog (OrganizationAuditEntryConnection!)

    Audit log entries of the organization.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (AuditLogOrder)

    \n

    Ordering options for the returned audit log entries.

    \n\n
    \n\n
    \n

    query (String)

    \n

    The query string to filter audit entries.

    \n\n
    \n\n
    \n\n\n

    avatarUrl (URI!)

    A URL pointing to the organization's public avatar.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    size (Int)

    \n

    The size of the resulting square image.

    \n\n
    \n\n
    \n\n\n

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    databaseId (Int)

    Identifies the primary key from the database.

    \n\n\n\n\n\n\n\n\n\n\n\n

    description (String)

    The organization's public profile description.

    \n\n\n\n\n\n\n\n\n\n\n\n

    descriptionHTML (String)

    The organization's public profile description rendered to HTML.

    \n\n\n\n\n\n\n\n\n\n\n\n

    domains (VerifiableDomainConnection)

    A list of domains owned by the organization.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    isVerified (Boolean)

    \n

    Filter by if the domain is verified.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (VerifiableDomainOrder)

    \n

    Ordering options for verifiable domains returned.

    \n\n
    \n\n
    \n\n\n

    email (String)

    The organization's public email.

    \n\n\n\n\n\n\n\n\n\n\n\n

    hasSponsorsListing (Boolean!)

    True if this user/organization has a GitHub Sponsors listing.

    \n\n\n\n\n\n\n\n\n\n\n\n

    interactionAbility (RepositoryInteractionAbility)

    The interaction ability settings for this organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    ipAllowListEnabledSetting (IpAllowListEnabledSettingValue!)

    The setting value for whether the organization has an IP allow list enabled.

    \n\n\n\n\n\n\n\n\n\n\n\n

    ipAllowListEntries (IpAllowListEntryConnection!)

    The IP addresses that are allowed to access resources owned by the organization.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (IpAllowListEntryOrder)

    \n

    Ordering options for IP allow list entries returned.

    \n\n
    \n\n
    \n\n\n

    isSponsoredBy (Boolean!)

    Check if the given account is sponsoring this user/organization.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    accountLogin (String!)

    \n

    The target account's login.

    \n\n
    \n\n
    \n\n\n

    isSponsoringViewer (Boolean!)

    True if the viewer is sponsored by this user/organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    isVerified (Boolean!)

    Whether the organization has verified its profile email and website, always false on Enterprise.

    \n\n\n\n\n\n\n\n\n\n\n\n

    itemShowcase (ProfileItemShowcase!)

    Showcases a selection of repositories and gists that the profile owner has\neither curated or that have been selected automatically based on popularity.

    \n\n\n\n\n\n\n\n\n\n\n\n

    location (String)

    The organization's public profile location.

    \n\n\n\n\n\n\n\n\n\n\n\n

    login (String!)

    The organization's login name.

    \n\n\n\n\n\n\n\n\n\n\n\n

    memberStatuses (UserStatusConnection!)

    Get the status messages members of this entity have set that are either public or visible only to the organization.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (UserStatusOrder)

    \n

    Ordering options for user statuses returned from the connection.

    \n\n
    \n\n
    \n\n\n

    membersWithRole (OrganizationMemberConnection!)

    A list of users who are members of this organization.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n\n\n

    name (String)

    The organization's public profile name.

    \n\n\n\n\n\n\n\n\n\n\n\n

    newTeamResourcePath (URI!)

    The HTTP path creating a new team.

    \n\n\n\n\n\n\n\n\n\n\n\n

    newTeamUrl (URI!)

    The HTTP URL creating a new team.

    \n\n\n\n\n\n\n\n\n\n\n\n

    notificationDeliveryRestrictionEnabledSetting (NotificationRestrictionSettingValue!)

    Indicates if email notification delivery for this organization is restricted to verified domains.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationBillingEmail (String)

    The billing email for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    packages (PackageConnection!)

    A list of packages under the owner.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    names ([String])

    \n

    Find packages by their names.

    \n\n
    \n\n
    \n

    orderBy (PackageOrder)

    \n

    Ordering of the returned packages.

    \n\n
    \n\n
    \n

    packageType (PackageType)

    \n

    Filter registry package by type.

    \n\n
    \n\n
    \n

    repositoryId (ID)

    \n

    Find packages in a repository by ID.

    \n\n
    \n\n
    \n\n\n

    pendingMembers (UserConnection!)

    A list of users who have been invited to join this organization.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n\n\n

    pinnableItems (PinnableItemConnection!)

    A list of repositories and gists this profile owner can pin to their profile.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    types ([PinnableItemType!])

    \n

    Filter the types of pinnable items that are returned.

    \n\n
    \n\n
    \n\n\n

    pinnedItems (PinnableItemConnection!)

    A list of repositories and gists this profile owner has pinned to their profile.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    types ([PinnableItemType!])

    \n

    Filter the types of pinned items that are returned.

    \n\n
    \n\n
    \n\n\n

    pinnedItemsRemaining (Int!)

    Returns how many more items this profile owner can pin to their profile.

    \n\n\n\n\n\n\n\n\n\n\n\n

    project (Project)

    Find project by number.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    number (Int!)

    \n

    The project number to find.

    \n\n
    \n\n
    \n\n\n

    projects (ProjectConnection!)

    A list of projects under the owner.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (ProjectOrder)

    \n

    Ordering options for projects returned from the connection.

    \n\n
    \n\n
    \n

    search (String)

    \n

    Query to search projects by, currently only searching by name.

    \n\n
    \n\n
    \n

    states ([ProjectState!])

    \n

    A list of states to filter the projects by.

    \n\n
    \n\n
    \n\n\n

    projectsResourcePath (URI!)

    The HTTP path listing organization's projects.

    \n\n\n\n\n\n\n\n\n\n\n\n

    projectsUrl (URI!)

    The HTTP URL listing organization's projects.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repositories (RepositoryConnection!)

    A list of repositories that the user owns.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    affiliations ([RepositoryAffiliation])

    \n

    Array of viewer's affiliation options for repositories returned from the\nconnection. For example, OWNER will include only repositories that the\ncurrent viewer owns.

    \n\n
    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    isFork (Boolean)

    \n

    If non-null, filters repositories according to whether they are forks of another repository.

    \n\n
    \n\n
    \n

    isLocked (Boolean)

    \n

    If non-null, filters repositories according to whether they have been locked.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (RepositoryOrder)

    \n

    Ordering options for repositories returned from the connection.

    \n\n
    \n\n
    \n

    ownerAffiliations ([RepositoryAffiliation])

    \n

    Array of owner's affiliation options for repositories returned from the\nconnection. For example, OWNER will include only repositories that the\norganization or user being viewed owns.

    \n\n
    \n\n
    \n

    privacy (RepositoryPrivacy)

    \n

    If non-null, filters repositories according to privacy.

    \n\n
    \n\n
    \n\n\n

    repository (Repository)

    Find Repository.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    name (String!)

    \n

    Name of Repository to find.

    \n\n
    \n\n
    \n\n\n

    requiresTwoFactorAuthentication (Boolean)

    When true the organization requires all members, billing managers, and outside\ncollaborators to enable two-factor authentication.

    \n\n\n\n\n\n\n\n\n\n\n\n

    resourcePath (URI!)

    The HTTP path for this organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    samlIdentityProvider (OrganizationIdentityProvider)

    The Organization's SAML identity providers.

    \n\n\n\n\n\n\n\n\n\n\n\n

    sponsorsListing (SponsorsListing)

    The GitHub Sponsors listing for this user or organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    sponsorshipForViewerAsSponsor (Sponsorship)

    The viewer's sponsorship of this entity.

    \n\n\n\n\n\n\n\n\n\n\n\n

    sponsorshipsAsMaintainer (SponsorshipConnection!)

    This object's sponsorships as the maintainer.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    includePrivate (Boolean)

    \n

    Whether or not to include private sponsorships in the result set.

    \n

    The default value is false.

    \n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (SponsorshipOrder)

    \n

    Ordering options for sponsorships returned from this connection. If left\nblank, the sponsorships will be ordered based on relevancy to the viewer.

    \n\n
    \n\n
    \n\n\n

    sponsorshipsAsSponsor (SponsorshipConnection!)

    This object's sponsorships as the sponsor.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (SponsorshipOrder)

    \n

    Ordering options for sponsorships returned from this connection. If left\nblank, the sponsorships will be ordered based on relevancy to the viewer.

    \n\n
    \n\n
    \n\n\n

    team (Team)

    Find an organization's team by its slug.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    slug (String!)

    \n

    The name or slug of the team to find.

    \n\n
    \n\n
    \n\n\n

    teams (TeamConnection!)

    A list of teams in this organization.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    ldapMapped (Boolean)

    \n

    If true, filters teams that are mapped to an LDAP Group (Enterprise only).

    \n\n
    \n\n
    \n

    orderBy (TeamOrder)

    \n

    Ordering options for teams returned from the connection.

    \n\n
    \n\n
    \n

    privacy (TeamPrivacy)

    \n

    If non-null, filters teams according to privacy.

    \n\n
    \n\n
    \n

    query (String)

    \n

    If non-null, filters teams with query on team name and team slug.

    \n\n
    \n\n
    \n

    role (TeamRole)

    \n

    If non-null, filters teams according to whether the viewer is an admin or member on team.

    \n\n
    \n\n
    \n

    rootTeamsOnly (Boolean)

    \n

    If true, restrict to only root teams.

    \n

    The default value is false.

    \n
    \n\n
    \n

    userLogins ([String!])

    \n

    User logins to filter by.

    \n\n
    \n\n
    \n\n\n

    teamsResourcePath (URI!)

    The HTTP path listing organization's teams.

    \n\n\n\n\n\n\n\n\n\n\n\n

    teamsUrl (URI!)

    The HTTP URL listing organization's teams.

    \n\n\n\n\n\n\n\n\n\n\n\n

    twitterUsername (String)

    The organization's Twitter username.

    \n\n\n\n\n\n\n\n\n\n\n\n

    updatedAt (DateTime!)

    Identifies the date and time when the object was last updated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    url (URI!)

    The HTTP URL for this organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerCanAdminister (Boolean!)

    Organization is adminable by the viewer.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerCanChangePinnedItems (Boolean!)

    Can the viewer pin repositories and gists to the profile?.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerCanCreateProjects (Boolean!)

    Can the current viewer create new projects on this owner.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerCanCreateRepositories (Boolean!)

    Viewer can create repositories on this organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerCanCreateTeams (Boolean!)

    Viewer can create teams on this organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerCanSponsor (Boolean!)

    Whether or not the viewer is able to sponsor this user/organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerIsAMember (Boolean!)

    Viewer is an active member of this organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerIsSponsoring (Boolean!)

    True if the viewer is sponsoring this user/organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    websiteUrl (URI)

    The organization's public profile URL.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n OrganizationAuditEntryConnection\n

    \n

    The connection type for OrganizationAuditEntry.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([OrganizationAuditEntryEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([OrganizationAuditEntry])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n OrganizationAuditEntryEdge\n

    \n

    An edge in a connection.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (OrganizationAuditEntry)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n OrganizationConnection\n

    \n

    The connection type for Organization.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([OrganizationEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([Organization])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n OrganizationEdge\n

    \n

    An edge in a connection.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (Organization)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n OrganizationIdentityProvider\n

    \n

    An Identity Provider configured to provision SAML and SCIM identities for Organizations.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    digestMethod (URI)

    The digest algorithm used to sign SAML requests for the Identity Provider.

    \n\n\n\n\n\n\n\n\n\n\n\n

    externalIdentities (ExternalIdentityConnection!)

    External Identities provisioned by this Identity Provider.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n\n\n

    idpCertificate (X509Certificate)

    The x509 certificate used by the Identity Provider to sign assertions and responses.

    \n\n\n\n\n\n\n\n\n\n\n\n

    issuer (String)

    The Issuer Entity ID for the SAML Identity Provider.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organization (Organization)

    Organization this Identity Provider belongs to.

    \n\n\n\n\n\n\n\n\n\n\n\n

    signatureMethod (URI)

    The signature algorithm used to sign SAML requests for the Identity Provider.

    \n\n\n\n\n\n\n\n\n\n\n\n

    ssoUrl (URI)

    The URL endpoint for the Identity Provider's SAML SSO.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n OrganizationInvitation\n

    \n

    An Invitation for a user to an organization.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    email (String)

    The email address of the user invited to the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    invitationType (OrganizationInvitationType!)

    The type of invitation that was sent (e.g. email, user).

    \n\n\n\n\n\n\n\n\n\n\n\n

    invitee (User)

    The user who was invited to the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    inviter (User!)

    The user who created the invitation.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organization (Organization!)

    The organization the invite is for.

    \n\n\n\n\n\n\n\n\n\n\n\n

    role (OrganizationInvitationRole!)

    The user's pending role in the organization (e.g. member, owner).

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n OrganizationInvitationConnection\n

    \n

    The connection type for OrganizationInvitation.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([OrganizationInvitationEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([OrganizationInvitation])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n OrganizationInvitationEdge\n

    \n

    An edge in a connection.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (OrganizationInvitation)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n OrganizationMemberConnection\n

    \n

    The connection type for User.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([OrganizationMemberEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([User])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n OrganizationMemberEdge\n

    \n

    Represents a user within an organization.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    hasTwoFactorEnabled (Boolean)

    Whether the organization member has two factor enabled or not. Returns null if information is not available to viewer.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (User)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n

    role (OrganizationMemberRole)

    The role this user has in the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n OrganizationTeamsHovercardContext\n

    \n

    An organization teams hovercard context.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    message (String!)

    A string describing this context.

    \n\n\n\n\n\n\n\n\n\n\n\n

    octicon (String!)

    An octicon to accompany this context.

    \n\n\n\n\n\n\n\n\n\n\n\n

    relevantTeams (TeamConnection!)

    Teams in this organization the user is a member of that are relevant.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n\n\n

    teamsResourcePath (URI!)

    The path for the full team list for this user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    teamsUrl (URI!)

    The URL for the full team list for this user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalTeamCount (Int!)

    The total number of teams the user is on in the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n OrganizationsHovercardContext\n

    \n

    An organization list hovercard context.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    message (String!)

    A string describing this context.

    \n\n\n\n\n\n\n\n\n\n\n\n

    octicon (String!)

    An octicon to accompany this context.

    \n\n\n\n\n\n\n\n\n\n\n\n

    relevantOrganizations (OrganizationConnection!)

    Organizations this user is a member of that are relevant.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n\n\n

    totalOrganizationCount (Int!)

    The total number of organizations this user is in.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n Package\n

    \n

    Information for an uploaded package.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    latestVersion (PackageVersion)

    Find the latest version for the package.

    \n\n\n\n\n\n\n\n\n\n\n\n

    name (String!)

    Identifies the name of the package.

    \n\n\n\n\n\n\n\n\n\n\n\n

    packageType (PackageType!)

    Identifies the type of the package.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repository (Repository)

    The repository this package belongs to.

    \n\n\n\n\n\n\n\n\n\n\n\n

    statistics (PackageStatistics)

    Statistics about package activity.

    \n\n\n\n\n\n\n\n\n\n\n\n

    version (PackageVersion)

    Find package version by version string.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    version (String!)

    \n

    The package version.

    \n\n
    \n\n
    \n\n\n

    versions (PackageVersionConnection!)

    list of versions for this package.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (PackageVersionOrder)

    \n

    Ordering of the returned packages.

    \n\n
    \n\n
    \n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n PackageConnection\n

    \n

    The connection type for Package.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([PackageEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([Package])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n PackageEdge\n

    \n

    An edge in a connection.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (Package)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n PackageFile\n

    \n

    A file in a package version.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    md5 (String)

    MD5 hash of the file.

    \n\n\n\n\n\n\n\n\n\n\n\n

    name (String!)

    Name of the file.

    \n\n\n\n\n\n\n\n\n\n\n\n

    packageVersion (PackageVersion)

    The package version this file belongs to.

    \n\n\n\n\n\n\n\n\n\n\n\n

    sha1 (String)

    SHA1 hash of the file.

    \n\n\n\n\n\n\n\n\n\n\n\n

    sha256 (String)

    SHA256 hash of the file.

    \n\n\n\n\n\n\n\n\n\n\n\n

    size (Int)

    Size of the file in bytes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    updatedAt (DateTime!)

    Identifies the date and time when the object was last updated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    url (URI)

    URL to download the asset.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n PackageFileConnection\n

    \n

    The connection type for PackageFile.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([PackageFileEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([PackageFile])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n PackageFileEdge\n

    \n

    An edge in a connection.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (PackageFile)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n PackageStatistics\n

    \n

    Represents a object that contains package activity statistics such as downloads.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    downloadsTotalCount (Int!)

    Number of times the package was downloaded since it was created.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n PackageTag\n

    \n

    A version tag contains the mapping between a tag name and a version.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    name (String!)

    Identifies the tag name of the version.

    \n\n\n\n\n\n\n\n\n\n\n\n

    version (PackageVersion)

    Version that the tag is associated with.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n PackageVersion\n

    \n

    Information about a specific package version.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    files (PackageFileConnection!)

    List of files associated with this package version.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (PackageFileOrder)

    \n

    Ordering of the returned package files.

    \n\n
    \n\n
    \n\n\n

    package (Package)

    The package associated with this version.

    \n\n\n\n\n\n\n\n\n\n\n\n

    platform (String)

    The platform this version was built for.

    \n\n\n\n\n\n\n\n\n\n\n\n

    preRelease (Boolean!)

    Whether or not this version is a pre-release.

    \n\n\n\n\n\n\n\n\n\n\n\n

    readme (String)

    The README of this package version.

    \n\n\n\n\n\n\n\n\n\n\n\n

    release (Release)

    The release associated with this package version.

    \n\n\n\n\n\n\n\n\n\n\n\n

    statistics (PackageVersionStatistics)

    Statistics about package activity.

    \n\n\n\n\n\n\n\n\n\n\n\n

    summary (String)

    The package version summary.

    \n\n\n\n\n\n\n\n\n\n\n\n

    version (String!)

    The version string.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n PackageVersionConnection\n

    \n

    The connection type for PackageVersion.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([PackageVersionEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([PackageVersion])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n PackageVersionEdge\n

    \n

    An edge in a connection.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (PackageVersion)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n PackageVersionStatistics\n

    \n

    Represents a object that contains package version activity statistics such as downloads.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    downloadsTotalCount (Int!)

    Number of times the package was downloaded since it was created.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n PageInfo\n

    \n

    Information about pagination in a connection.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    endCursor (String)

    When paginating forwards, the cursor to continue.

    \n\n\n\n\n\n\n\n\n\n\n\n

    hasNextPage (Boolean!)

    When paginating forwards, are there more items?.

    \n\n\n\n\n\n\n\n\n\n\n\n

    hasPreviousPage (Boolean!)

    When paginating backwards, are there more items?.

    \n\n\n\n\n\n\n\n\n\n\n\n

    startCursor (String)

    When paginating backwards, the cursor to continue.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n PermissionSource\n

    \n

    A level of permission and source for a user's access to a repository.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    organization (Organization!)

    The organization the repository belongs to.

    \n\n\n\n\n\n\n\n\n\n\n\n

    permission (DefaultRepositoryPermissionField!)

    The level of access this source has granted to the user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    source (PermissionGranter!)

    The source of this permission.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n PinnableItemConnection\n

    \n

    The connection type for PinnableItem.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([PinnableItemEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([PinnableItem])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n PinnableItemEdge\n

    \n

    An edge in a connection.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (PinnableItem)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n PinnedEvent\n

    \n

    Represents apinnedevent on a given issue or pull request.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    actor (Actor)

    Identifies the actor who performed the event.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    issue (Issue!)

    Identifies the issue associated with the event.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n PinnedIssue\n

    \n

    A Pinned Issue is a issue pinned to a repository's index page.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    databaseId (Int)

    Identifies the primary key from the database.

    \n\n\n\n\n\n\n\n\n\n\n\n

    issue (Issue!)

    The issue that was pinned.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pinnedBy (Actor!)

    The actor that pinned this issue.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repository (Repository!)

    The repository that this issue was pinned to.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n PinnedIssueConnection\n

    \n

    The connection type for PinnedIssue.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([PinnedIssueEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([PinnedIssue])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n PinnedIssueEdge\n

    \n

    An edge in a connection.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (PinnedIssue)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n PrivateRepositoryForkingDisableAuditEntry\n

    \n

    Audit log entry for a private_repository_forking.disable event.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    action (String!)

    The action name.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actor (AuditEntryActor)

    The user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorIp (String)

    The IP address of the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLocation (ActorLocation)

    A readable representation of the actor's location.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLogin (String)

    The username of the user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorResourcePath (URI)

    The HTTP path for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorUrl (URI)

    The HTTP URL for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (PreciseDateTime!)

    The time the action was initiated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    enterpriseResourcePath (URI)

    The HTTP path for this enterprise.

    \n\n\n\n\n\n\n\n\n\n\n\n

    enterpriseSlug (String)

    The slug of the enterprise.

    \n\n\n\n\n\n\n\n\n\n\n\n

    enterpriseUrl (URI)

    The HTTP URL for this enterprise.

    \n\n\n\n\n\n\n\n\n\n\n\n

    operationType (OperationType)

    The corresponding operation type for the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organization (Organization)

    The Organization associated with the Audit Entry.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationName (String)

    The name of the Organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationResourcePath (URI)

    The HTTP path for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationUrl (URI)

    The HTTP URL for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repository (Repository)

    The repository associated with the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repositoryName (String)

    The name of the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repositoryResourcePath (URI)

    The HTTP path for the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repositoryUrl (URI)

    The HTTP URL for the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    user (User)

    The user affected by the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userLogin (String)

    For actions involving two users, the actor is the initiator and the user is the affected user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userResourcePath (URI)

    The HTTP path for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userUrl (URI)

    The HTTP URL for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n PrivateRepositoryForkingEnableAuditEntry\n

    \n

    Audit log entry for a private_repository_forking.enable event.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    action (String!)

    The action name.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actor (AuditEntryActor)

    The user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorIp (String)

    The IP address of the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLocation (ActorLocation)

    A readable representation of the actor's location.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLogin (String)

    The username of the user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorResourcePath (URI)

    The HTTP path for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorUrl (URI)

    The HTTP URL for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (PreciseDateTime!)

    The time the action was initiated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    enterpriseResourcePath (URI)

    The HTTP path for this enterprise.

    \n\n\n\n\n\n\n\n\n\n\n\n

    enterpriseSlug (String)

    The slug of the enterprise.

    \n\n\n\n\n\n\n\n\n\n\n\n

    enterpriseUrl (URI)

    The HTTP URL for this enterprise.

    \n\n\n\n\n\n\n\n\n\n\n\n

    operationType (OperationType)

    The corresponding operation type for the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organization (Organization)

    The Organization associated with the Audit Entry.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationName (String)

    The name of the Organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationResourcePath (URI)

    The HTTP path for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationUrl (URI)

    The HTTP URL for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repository (Repository)

    The repository associated with the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repositoryName (String)

    The name of the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repositoryResourcePath (URI)

    The HTTP path for the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repositoryUrl (URI)

    The HTTP URL for the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    user (User)

    The user affected by the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userLogin (String)

    For actions involving two users, the actor is the initiator and the user is the affected user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userResourcePath (URI)

    The HTTP path for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userUrl (URI)

    The HTTP URL for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n ProfileItemShowcase\n

    \n

    A curatable list of repositories relating to a repository owner, which defaults\nto showing the most popular repositories they own.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    hasPinnedItems (Boolean!)

    Whether or not the owner has pinned any repositories or gists.

    \n\n\n\n\n\n\n\n\n\n\n\n

    items (PinnableItemConnection!)

    The repositories and gists in the showcase. If the profile owner has any\npinned items, those will be returned. Otherwise, the profile owner's popular\nrepositories will be returned.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n Project\n

    \n

    Projects manage issues, pull requests and notes within a project owner.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    body (String)

    The project's description body.

    \n\n\n\n\n\n\n\n\n\n\n\n

    bodyHTML (HTML!)

    The projects description body rendered to HTML.

    \n\n\n\n\n\n\n\n\n\n\n\n

    closed (Boolean!)

    true if the object is closed (definition of closed may depend on type).

    \n\n\n\n\n\n\n\n\n\n\n\n

    closedAt (DateTime)

    Identifies the date and time when the object was closed.

    \n\n\n\n\n\n\n\n\n\n\n\n

    columns (ProjectColumnConnection!)

    List of columns in the project.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n\n\n

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    creator (Actor)

    The actor who originally created the project.

    \n\n\n\n\n\n\n\n\n\n\n\n

    databaseId (Int)

    Identifies the primary key from the database.

    \n\n\n\n\n\n\n\n\n\n\n\n

    name (String!)

    The project's name.

    \n\n\n\n\n\n\n\n\n\n\n\n

    number (Int!)

    The project's number.

    \n\n\n\n\n\n\n\n\n\n\n\n

    owner (ProjectOwner!)

    The project's owner. Currently limited to repositories, organizations, and users.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pendingCards (ProjectCardConnection!)

    List of pending cards in this project.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    archivedStates ([ProjectCardArchivedState])

    \n

    A list of archived states to filter the cards by.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n\n\n

    progress (ProjectProgress!)

    Project progress details.

    \n\n\n\n\n\n\n\n\n\n\n\n

    resourcePath (URI!)

    The HTTP path for this project.

    \n\n\n\n\n\n\n\n\n\n\n\n

    state (ProjectState!)

    Whether the project is open or closed.

    \n\n\n\n\n\n\n\n\n\n\n\n

    updatedAt (DateTime!)

    Identifies the date and time when the object was last updated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    url (URI!)

    The HTTP URL for this project.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerCanUpdate (Boolean!)

    Check if the current viewer can update this object.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n ProjectCard\n

    \n

    A card in a project.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    column (ProjectColumn)

    The project column this card is associated under. A card may only belong to one\nproject column at a time. The column field will be null if the card is created\nin a pending state and has yet to be associated with a column. Once cards are\nassociated with a column, they will not become pending in the future.

    \n\n\n\n\n\n\n\n\n\n\n\n

    content (ProjectCardItem)

    The card content item.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    creator (Actor)

    The actor who created this card.

    \n\n\n\n\n\n\n\n\n\n\n\n

    databaseId (Int)

    Identifies the primary key from the database.

    \n\n\n\n\n\n\n\n\n\n\n\n

    isArchived (Boolean!)

    Whether the card is archived.

    \n\n\n\n\n\n\n\n\n\n\n\n

    note (String)

    The card note.

    \n\n\n\n\n\n\n\n\n\n\n\n

    project (Project!)

    The project that contains this card.

    \n\n\n\n\n\n\n\n\n\n\n\n

    resourcePath (URI!)

    The HTTP path for this card.

    \n\n\n\n\n\n\n\n\n\n\n\n

    state (ProjectCardState)

    The state of ProjectCard.

    \n\n\n\n\n\n\n\n\n\n\n\n

    updatedAt (DateTime!)

    Identifies the date and time when the object was last updated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    url (URI!)

    The HTTP URL for this card.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n ProjectCardConnection\n

    \n

    The connection type for ProjectCard.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([ProjectCardEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([ProjectCard])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n ProjectCardEdge\n

    \n

    An edge in a connection.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (ProjectCard)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n ProjectColumn\n

    \n

    A column inside a project.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cards (ProjectCardConnection!)

    List of cards in the column.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    archivedStates ([ProjectCardArchivedState])

    \n

    A list of archived states to filter the cards by.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n\n\n

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    databaseId (Int)

    Identifies the primary key from the database.

    \n\n\n\n\n\n\n\n\n\n\n\n

    name (String!)

    The project column's name.

    \n\n\n\n\n\n\n\n\n\n\n\n

    project (Project!)

    The project that contains this column.

    \n\n\n\n\n\n\n\n\n\n\n\n

    purpose (ProjectColumnPurpose)

    The semantic purpose of the column.

    \n\n\n\n\n\n\n\n\n\n\n\n

    resourcePath (URI!)

    The HTTP path for this project column.

    \n\n\n\n\n\n\n\n\n\n\n\n

    updatedAt (DateTime!)

    Identifies the date and time when the object was last updated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    url (URI!)

    The HTTP URL for this project column.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n ProjectColumnConnection\n

    \n

    The connection type for ProjectColumn.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([ProjectColumnEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([ProjectColumn])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n ProjectColumnEdge\n

    \n

    An edge in a connection.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (ProjectColumn)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n ProjectConnection\n

    \n

    A list of projects associated with the owner.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([ProjectEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([Project])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n ProjectEdge\n

    \n

    An edge in a connection.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (Project)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n ProjectProgress\n

    \n

    Project progress stats.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    doneCount (Int!)

    The number of done cards.

    \n\n\n\n\n\n\n\n\n\n\n\n

    donePercentage (Float!)

    The percentage of done cards.

    \n\n\n\n\n\n\n\n\n\n\n\n

    enabled (Boolean!)

    Whether progress tracking is enabled and cards with purpose exist for this project.

    \n\n\n\n\n\n\n\n\n\n\n\n

    inProgressCount (Int!)

    The number of in-progress cards.

    \n\n\n\n\n\n\n\n\n\n\n\n

    inProgressPercentage (Float!)

    The percentage of in-progress cards.

    \n\n\n\n\n\n\n\n\n\n\n\n

    todoCount (Int!)

    The number of to do cards.

    \n\n\n\n\n\n\n\n\n\n\n\n

    todoPercentage (Float!)

    The percentage of to do cards.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n PublicKey\n

    \n

    A user's public key.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    accessedAt (DateTime)

    The last time this authorization was used to perform an action. Values will be null for keys not owned by the user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (DateTime)

    Identifies the date and time when the key was created. Keys created before\nMarch 5th, 2014 have inaccurate values. Values will be null for keys not owned by the user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    fingerprint (String!)

    The fingerprint for this PublicKey.

    \n\n\n\n\n\n\n\n\n\n\n\n

    isReadOnly (Boolean)

    Whether this PublicKey is read-only or not. Values will be null for keys not owned by the user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    key (String!)

    The public key string.

    \n\n\n\n\n\n\n\n\n\n\n\n

    updatedAt (DateTime)

    Identifies the date and time when the key was updated. Keys created before\nMarch 5th, 2014 may have inaccurate values. Values will be null for keys not\nowned by the user.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n PublicKeyConnection\n

    \n

    The connection type for PublicKey.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([PublicKeyEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([PublicKey])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n PublicKeyEdge\n

    \n

    An edge in a connection.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (PublicKey)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n PullRequest\n

    \n

    A repository pull request.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    activeLockReason (LockReason)

    Reason that the conversation was locked.

    \n\n\n\n\n\n\n\n\n\n\n\n

    additions (Int!)

    The number of additions in this pull request.

    \n\n\n\n\n\n\n\n\n\n\n\n

    assignees (UserConnection!)

    A list of Users assigned to this object.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n\n\n

    author (Actor)

    The actor who authored the comment.

    \n\n\n\n\n\n\n\n\n\n\n\n

    authorAssociation (CommentAuthorAssociation!)

    Author's association with the subject of the comment.

    \n\n\n\n\n\n\n\n\n\n\n\n

    autoMergeRequest (AutoMergeRequest)

    Returns the auto-merge request object if one exists for this pull request.

    \n\n\n\n\n\n\n\n\n\n\n\n

    baseRef (Ref)

    Identifies the base Ref associated with the pull request.

    \n\n\n\n\n\n\n\n\n\n\n\n

    baseRefName (String!)

    Identifies the name of the base Ref associated with the pull request, even if the ref has been deleted.

    \n\n\n\n\n\n\n\n\n\n\n\n

    baseRefOid (GitObjectID!)

    Identifies the oid of the base ref associated with the pull request, even if the ref has been deleted.

    \n\n\n\n\n\n\n\n\n\n\n\n

    baseRepository (Repository)

    The repository associated with this pull request's base Ref.

    \n\n\n\n\n\n\n\n\n\n\n\n

    body (String!)

    The body as Markdown.

    \n\n\n\n\n\n\n\n\n\n\n\n

    bodyHTML (HTML!)

    The body rendered to HTML.

    \n\n\n\n\n\n\n\n\n\n\n\n

    bodyText (String!)

    The body rendered to text.

    \n\n\n\n\n\n\n\n\n\n\n\n

    canBeRebased (Boolean!)

    Whether or not the pull request is rebaseable.

    \n\n\n\n\n
    \n

    Preview notice

    \n

    canBeRebased is available under the Merge info preview. During the preview period, the API may change without notice.

    \n
    \n\n\n\n\n\n\n\n\n

    changedFiles (Int!)

    The number of changed files in this pull request.

    \n\n\n\n\n\n\n\n\n\n\n\n

    checksResourcePath (URI!)

    The HTTP path for the checks of this pull request.

    \n\n\n\n\n\n\n\n\n\n\n\n

    checksUrl (URI!)

    The HTTP URL for the checks of this pull request.

    \n\n\n\n\n\n\n\n\n\n\n\n

    closed (Boolean!)

    true if the pull request is closed.

    \n\n\n\n\n\n\n\n\n\n\n\n

    closedAt (DateTime)

    Identifies the date and time when the object was closed.

    \n\n\n\n\n\n\n\n\n\n\n\n

    comments (IssueCommentConnection!)

    A list of comments associated with the pull request.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (IssueCommentOrder)

    \n

    Ordering options for issue comments returned from the connection.

    \n\n
    \n\n
    \n\n\n

    commits (PullRequestCommitConnection!)

    A list of commits present in this pull request's head branch not present in the base branch.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n\n\n

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdViaEmail (Boolean!)

    Check if this comment was created via an email reply.

    \n\n\n\n\n\n\n\n\n\n\n\n

    databaseId (Int)

    Identifies the primary key from the database.

    \n\n\n\n\n\n\n\n\n\n\n\n

    deletions (Int!)

    The number of deletions in this pull request.

    \n\n\n\n\n\n\n\n\n\n\n\n

    editor (Actor)

    The actor who edited this pull request's body.

    \n\n\n\n\n\n\n\n\n\n\n\n

    files (PullRequestChangedFileConnection)

    Lists the files changed within this pull request.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n\n\n

    headRef (Ref)

    Identifies the head Ref associated with the pull request.

    \n\n\n\n\n\n\n\n\n\n\n\n

    headRefName (String!)

    Identifies the name of the head Ref associated with the pull request, even if the ref has been deleted.

    \n\n\n\n\n\n\n\n\n\n\n\n

    headRefOid (GitObjectID!)

    Identifies the oid of the head ref associated with the pull request, even if the ref has been deleted.

    \n\n\n\n\n\n\n\n\n\n\n\n

    headRepository (Repository)

    The repository associated with this pull request's head Ref.

    \n\n\n\n\n\n\n\n\n\n\n\n

    headRepositoryOwner (RepositoryOwner)

    The owner of the repository associated with this pull request's head Ref.

    \n\n\n\n\n\n\n\n\n\n\n\n

    hovercard (Hovercard!)

    The hovercard information for this issue.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    includeNotificationContexts (Boolean)

    \n

    Whether or not to include notification contexts.

    \n

    The default value is true.

    \n
    \n\n
    \n\n\n

    includesCreatedEdit (Boolean!)

    Check if this comment was edited and includes an edit with the creation data.

    \n\n\n\n\n\n\n\n\n\n\n\n

    isCrossRepository (Boolean!)

    The head and base repositories are different.

    \n\n\n\n\n\n\n\n\n\n\n\n

    isDraft (Boolean!)

    Identifies if the pull request is a draft.

    \n\n\n\n\n\n\n\n\n\n\n\n

    isReadByViewer (Boolean)

    Is this pull request read by the viewer.

    \n\n\n\n\n\n\n\n\n\n\n\n

    labels (LabelConnection)

    A list of labels associated with the object.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (LabelOrder)

    \n

    Ordering options for labels returned from the connection.

    \n\n
    \n\n
    \n\n\n

    lastEditedAt (DateTime)

    The moment the editor made the last edit.

    \n\n\n\n\n\n\n\n\n\n\n\n

    latestOpinionatedReviews (PullRequestReviewConnection)

    A list of latest reviews per user associated with the pull request.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    writersOnly (Boolean)

    \n

    Only return reviews from user who have write access to the repository.

    \n

    The default value is false.

    \n
    \n\n
    \n\n\n

    latestReviews (PullRequestReviewConnection)

    A list of latest reviews per user associated with the pull request that are not also pending review.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n\n\n

    locked (Boolean!)

    true if the pull request is locked.

    \n\n\n\n\n\n\n\n\n\n\n\n

    maintainerCanModify (Boolean!)

    Indicates whether maintainers can modify the pull request.

    \n\n\n\n\n\n\n\n\n\n\n\n

    mergeCommit (Commit)

    The commit that was created when this pull request was merged.

    \n\n\n\n\n\n\n\n\n\n\n\n

    mergeStateStatus (MergeStateStatus!)

    Detailed information about the current pull request merge state status.

    \n\n\n\n\n
    \n

    Preview notice

    \n

    mergeStateStatus is available under the Merge info preview. During the preview period, the API may change without notice.

    \n
    \n\n\n\n\n\n\n\n\n

    mergeable (MergeableState!)

    Whether or not the pull request can be merged based on the existence of merge conflicts.

    \n\n\n\n\n\n\n\n\n\n\n\n

    merged (Boolean!)

    Whether or not the pull request was merged.

    \n\n\n\n\n\n\n\n\n\n\n\n

    mergedAt (DateTime)

    The date and time that the pull request was merged.

    \n\n\n\n\n\n\n\n\n\n\n\n

    mergedBy (Actor)

    The actor who merged the pull request.

    \n\n\n\n\n\n\n\n\n\n\n\n

    milestone (Milestone)

    Identifies the milestone associated with the pull request.

    \n\n\n\n\n\n\n\n\n\n\n\n

    number (Int!)

    Identifies the pull request number.

    \n\n\n\n\n\n\n\n\n\n\n\n

    participants (UserConnection!)

    A list of Users that are participating in the Pull Request conversation.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n\n\n

    permalink (URI!)

    The permalink to the pull request.

    \n\n\n\n\n\n\n\n\n\n\n\n

    potentialMergeCommit (Commit)

    The commit that GitHub automatically generated to test if this pull request\ncould be merged. This field will not return a value if the pull request is\nmerged, or if the test merge commit is still being generated. See the\nmergeable field for more details on the mergeability of the pull request.

    \n\n\n\n\n\n\n\n\n\n\n\n

    projectCards (ProjectCardConnection!)

    List of project cards associated with this pull request.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    archivedStates ([ProjectCardArchivedState])

    \n

    A list of archived states to filter the cards by.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n\n\n

    publishedAt (DateTime)

    Identifies when the comment was published at.

    \n\n\n\n\n\n\n\n\n\n\n\n

    reactionGroups ([ReactionGroup!])

    A list of reactions grouped by content left on the subject.

    \n\n\n\n\n\n\n\n\n\n\n\n

    reactions (ReactionConnection!)

    A list of Reactions left on the Issue.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    content (ReactionContent)

    \n

    Allows filtering Reactions by emoji.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (ReactionOrder)

    \n

    Allows specifying the order in which reactions are returned.

    \n\n
    \n\n
    \n\n\n

    repository (Repository!)

    The repository associated with this node.

    \n\n\n\n\n\n\n\n\n\n\n\n

    resourcePath (URI!)

    The HTTP path for this pull request.

    \n\n\n\n\n\n\n\n\n\n\n\n

    revertResourcePath (URI!)

    The HTTP path for reverting this pull request.

    \n\n\n\n\n\n\n\n\n\n\n\n

    revertUrl (URI!)

    The HTTP URL for reverting this pull request.

    \n\n\n\n\n\n\n\n\n\n\n\n

    reviewDecision (PullRequestReviewDecision)

    The current status of this pull request with respect to code review.

    \n\n\n\n\n\n\n\n\n\n\n\n

    reviewRequests (ReviewRequestConnection)

    A list of review requests associated with the pull request.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n\n\n

    reviewThreads (PullRequestReviewThreadConnection!)

    The list of all review threads for this pull request.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n\n\n

    reviews (PullRequestReviewConnection)

    A list of reviews associated with the pull request.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    author (String)

    \n

    Filter by author of the review.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    states ([PullRequestReviewState!])

    \n

    A list of states to filter the reviews.

    \n\n
    \n\n
    \n\n\n

    state (PullRequestState!)

    Identifies the state of the pull request.

    \n\n\n\n\n\n\n\n\n\n\n\n

    suggestedReviewers ([SuggestedReviewer]!)

    A list of reviewer suggestions based on commit history and past review comments.

    \n\n\n\n\n\n\n\n\n\n\n\n

    timeline (PullRequestTimelineConnection!)

    A list of events, comments, commits, etc. associated with the pull request.

    \n\n\n\n\n\n\n
    \n

    Deprecation notice

    \n

    timeline is deprecated.

    timeline will be removed Use PullRequest.timelineItems instead. Removal on 2020-10-01 UTC.

    \n
    \n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    since (DateTime)

    \n

    Allows filtering timeline events by a since timestamp.

    \n\n
    \n\n
    \n\n\n

    timelineItems (PullRequestTimelineItemsConnection!)

    A list of events, comments, commits, etc. associated with the pull request.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    itemTypes ([PullRequestTimelineItemsItemType!])

    \n

    Filter timeline items by type.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    since (DateTime)

    \n

    Filter timeline items by a since timestamp.

    \n\n
    \n\n
    \n

    skip (Int)

    \n

    Skips the first n elements in the list.

    \n\n
    \n\n
    \n\n\n

    title (String!)

    Identifies the pull request title.

    \n\n\n\n\n\n\n\n\n\n\n\n

    updatedAt (DateTime!)

    Identifies the date and time when the object was last updated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    url (URI!)

    The HTTP URL for this pull request.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userContentEdits (UserContentEditConnection)

    A list of edits to this content.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n\n\n

    viewerCanApplySuggestion (Boolean!)

    Whether or not the viewer can apply suggestion.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerCanDeleteHeadRef (Boolean!)

    Check if the viewer can restore the deleted head ref.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerCanDisableAutoMerge (Boolean!)

    Whether or not the viewer can disable auto-merge.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerCanEnableAutoMerge (Boolean!)

    Whether or not the viewer can enable auto-merge.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerCanReact (Boolean!)

    Can user react to this subject.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerCanSubscribe (Boolean!)

    Check if the viewer is able to change their subscription status for the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerCanUpdate (Boolean!)

    Check if the current viewer can update this object.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerCannotUpdateReasons ([CommentCannotUpdateReason!]!)

    Reasons why the current viewer can not update this comment.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerDidAuthor (Boolean!)

    Did the viewer author this comment.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerMergeBodyText (String!)

    The merge body text for the viewer and method.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    mergeType (PullRequestMergeMethod)

    \n

    The merge method for the message.

    \n\n
    \n\n
    \n\n\n

    viewerMergeHeadlineText (String!)

    The merge headline text for the viewer and method.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    mergeType (PullRequestMergeMethod)

    \n

    The merge method for the message.

    \n\n
    \n\n
    \n\n\n

    viewerSubscription (SubscriptionState)

    Identifies if the viewer is watching, not watching, or ignoring the subscribable entity.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n PullRequestChangedFile\n

    \n

    A file changed in a pull request.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    additions (Int!)

    The number of additions to the file.

    \n\n\n\n\n\n\n\n\n\n\n\n

    deletions (Int!)

    The number of deletions to the file.

    \n\n\n\n\n\n\n\n\n\n\n\n

    path (String!)

    The path of the file.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerViewedState (FileViewedState!)

    The state of the file for the viewer.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n PullRequestChangedFileConnection\n

    \n

    The connection type for PullRequestChangedFile.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([PullRequestChangedFileEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([PullRequestChangedFile])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n PullRequestChangedFileEdge\n

    \n

    An edge in a connection.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (PullRequestChangedFile)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n PullRequestCommit\n

    \n

    Represents a Git commit part of a pull request.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    commit (Commit!)

    The Git commit object.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pullRequest (PullRequest!)

    The pull request this commit belongs to.

    \n\n\n\n\n\n\n\n\n\n\n\n

    resourcePath (URI!)

    The HTTP path for this pull request commit.

    \n\n\n\n\n\n\n\n\n\n\n\n

    url (URI!)

    The HTTP URL for this pull request commit.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n PullRequestCommitCommentThread\n

    \n

    Represents a commit comment thread part of a pull request.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    comments (CommitCommentConnection!)

    The comments that exist in this thread.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n\n\n

    commit (Commit!)

    The commit the comments were made on.

    \n\n\n\n\n\n\n\n\n\n\n\n

    path (String)

    The file the comments were made on.

    \n\n\n\n\n\n\n\n\n\n\n\n

    position (Int)

    The position in the diff for the commit that the comment was made on.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pullRequest (PullRequest!)

    The pull request this commit comment thread belongs to.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repository (Repository!)

    The repository associated with this node.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n PullRequestCommitConnection\n

    \n

    The connection type for PullRequestCommit.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([PullRequestCommitEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([PullRequestCommit])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n PullRequestCommitEdge\n

    \n

    An edge in a connection.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (PullRequestCommit)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n PullRequestConnection\n

    \n

    The connection type for PullRequest.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([PullRequestEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([PullRequest])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n PullRequestContributionsByRepository\n

    \n

    This aggregates pull requests opened by a user within one repository.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    contributions (CreatedPullRequestContributionConnection!)

    The pull request contributions.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (ContributionOrder)

    \n

    Ordering options for contributions returned from the connection.

    \n\n
    \n\n
    \n\n\n

    repository (Repository!)

    The repository in which the pull requests were opened.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n PullRequestEdge\n

    \n

    An edge in a connection.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (PullRequest)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n PullRequestReview\n

    \n

    A review object for a given pull request.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    author (Actor)

    The actor who authored the comment.

    \n\n\n\n\n\n\n\n\n\n\n\n

    authorAssociation (CommentAuthorAssociation!)

    Author's association with the subject of the comment.

    \n\n\n\n\n\n\n\n\n\n\n\n

    authorCanPushToRepository (Boolean!)

    Indicates whether the author of this review has push access to the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    body (String!)

    Identifies the pull request review body.

    \n\n\n\n\n\n\n\n\n\n\n\n

    bodyHTML (HTML!)

    The body rendered to HTML.

    \n\n\n\n\n\n\n\n\n\n\n\n

    bodyText (String!)

    The body of this review rendered as plain text.

    \n\n\n\n\n\n\n\n\n\n\n\n

    comments (PullRequestReviewCommentConnection!)

    A list of review comments for the current pull request review.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n\n\n

    commit (Commit)

    Identifies the commit associated with this pull request review.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdViaEmail (Boolean!)

    Check if this comment was created via an email reply.

    \n\n\n\n\n\n\n\n\n\n\n\n

    databaseId (Int)

    Identifies the primary key from the database.

    \n\n\n\n\n\n\n\n\n\n\n\n

    editor (Actor)

    The actor who edited the comment.

    \n\n\n\n\n\n\n\n\n\n\n\n

    includesCreatedEdit (Boolean!)

    Check if this comment was edited and includes an edit with the creation data.

    \n\n\n\n\n\n\n\n\n\n\n\n

    lastEditedAt (DateTime)

    The moment the editor made the last edit.

    \n\n\n\n\n\n\n\n\n\n\n\n

    onBehalfOf (TeamConnection!)

    A list of teams that this review was made on behalf of.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n\n\n

    publishedAt (DateTime)

    Identifies when the comment was published at.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pullRequest (PullRequest!)

    Identifies the pull request associated with this pull request review.

    \n\n\n\n\n\n\n\n\n\n\n\n

    reactionGroups ([ReactionGroup!])

    A list of reactions grouped by content left on the subject.

    \n\n\n\n\n\n\n\n\n\n\n\n

    reactions (ReactionConnection!)

    A list of Reactions left on the Issue.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    content (ReactionContent)

    \n

    Allows filtering Reactions by emoji.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (ReactionOrder)

    \n

    Allows specifying the order in which reactions are returned.

    \n\n
    \n\n
    \n\n\n

    repository (Repository!)

    The repository associated with this node.

    \n\n\n\n\n\n\n\n\n\n\n\n

    resourcePath (URI!)

    The HTTP path permalink for this PullRequestReview.

    \n\n\n\n\n\n\n\n\n\n\n\n

    state (PullRequestReviewState!)

    Identifies the current state of the pull request review.

    \n\n\n\n\n\n\n\n\n\n\n\n

    submittedAt (DateTime)

    Identifies when the Pull Request Review was submitted.

    \n\n\n\n\n\n\n\n\n\n\n\n

    updatedAt (DateTime!)

    Identifies the date and time when the object was last updated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    url (URI!)

    The HTTP URL permalink for this PullRequestReview.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userContentEdits (UserContentEditConnection)

    A list of edits to this content.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n\n\n

    viewerCanDelete (Boolean!)

    Check if the current viewer can delete this object.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerCanReact (Boolean!)

    Can user react to this subject.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerCanUpdate (Boolean!)

    Check if the current viewer can update this object.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerCannotUpdateReasons ([CommentCannotUpdateReason!]!)

    Reasons why the current viewer can not update this comment.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerDidAuthor (Boolean!)

    Did the viewer author this comment.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n PullRequestReviewComment\n

    \n

    A review comment associated with a given repository pull request.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    author (Actor)

    The actor who authored the comment.

    \n\n\n\n\n\n\n\n\n\n\n\n

    authorAssociation (CommentAuthorAssociation!)

    Author's association with the subject of the comment.

    \n\n\n\n\n\n\n\n\n\n\n\n

    body (String!)

    The comment body of this review comment.

    \n\n\n\n\n\n\n\n\n\n\n\n

    bodyHTML (HTML!)

    The body rendered to HTML.

    \n\n\n\n\n\n\n\n\n\n\n\n

    bodyText (String!)

    The comment body of this review comment rendered as plain text.

    \n\n\n\n\n\n\n\n\n\n\n\n

    commit (Commit)

    Identifies the commit associated with the comment.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (DateTime!)

    Identifies when the comment was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdViaEmail (Boolean!)

    Check if this comment was created via an email reply.

    \n\n\n\n\n\n\n\n\n\n\n\n

    databaseId (Int)

    Identifies the primary key from the database.

    \n\n\n\n\n\n\n\n\n\n\n\n

    diffHunk (String!)

    The diff hunk to which the comment applies.

    \n\n\n\n\n\n\n\n\n\n\n\n

    draftedAt (DateTime!)

    Identifies when the comment was created in a draft state.

    \n\n\n\n\n\n\n\n\n\n\n\n

    editor (Actor)

    The actor who edited the comment.

    \n\n\n\n\n\n\n\n\n\n\n\n

    includesCreatedEdit (Boolean!)

    Check if this comment was edited and includes an edit with the creation data.

    \n\n\n\n\n\n\n\n\n\n\n\n

    isMinimized (Boolean!)

    Returns whether or not a comment has been minimized.

    \n\n\n\n\n\n\n\n\n\n\n\n

    lastEditedAt (DateTime)

    The moment the editor made the last edit.

    \n\n\n\n\n\n\n\n\n\n\n\n

    minimizedReason (String)

    Returns why the comment was minimized.

    \n\n\n\n\n\n\n\n\n\n\n\n

    originalCommit (Commit)

    Identifies the original commit associated with the comment.

    \n\n\n\n\n\n\n\n\n\n\n\n

    originalPosition (Int!)

    The original line index in the diff to which the comment applies.

    \n\n\n\n\n\n\n\n\n\n\n\n

    outdated (Boolean!)

    Identifies when the comment body is outdated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    path (String!)

    The path to which the comment applies.

    \n\n\n\n\n\n\n\n\n\n\n\n

    position (Int)

    The line index in the diff to which the comment applies.

    \n\n\n\n\n\n\n\n\n\n\n\n

    publishedAt (DateTime)

    Identifies when the comment was published at.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pullRequest (PullRequest!)

    The pull request associated with this review comment.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pullRequestReview (PullRequestReview)

    The pull request review associated with this review comment.

    \n\n\n\n\n\n\n\n\n\n\n\n

    reactionGroups ([ReactionGroup!])

    A list of reactions grouped by content left on the subject.

    \n\n\n\n\n\n\n\n\n\n\n\n

    reactions (ReactionConnection!)

    A list of Reactions left on the Issue.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    content (ReactionContent)

    \n

    Allows filtering Reactions by emoji.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (ReactionOrder)

    \n

    Allows specifying the order in which reactions are returned.

    \n\n
    \n\n
    \n\n\n

    replyTo (PullRequestReviewComment)

    The comment this is a reply to.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repository (Repository!)

    The repository associated with this node.

    \n\n\n\n\n\n\n\n\n\n\n\n

    resourcePath (URI!)

    The HTTP path permalink for this review comment.

    \n\n\n\n\n\n\n\n\n\n\n\n

    state (PullRequestReviewCommentState!)

    Identifies the state of the comment.

    \n\n\n\n\n\n\n\n\n\n\n\n

    updatedAt (DateTime!)

    Identifies when the comment was last updated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    url (URI!)

    The HTTP URL permalink for this review comment.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userContentEdits (UserContentEditConnection)

    A list of edits to this content.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n\n\n

    viewerCanDelete (Boolean!)

    Check if the current viewer can delete this object.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerCanMinimize (Boolean!)

    Check if the current viewer can minimize this object.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerCanReact (Boolean!)

    Can user react to this subject.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerCanUpdate (Boolean!)

    Check if the current viewer can update this object.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerCannotUpdateReasons ([CommentCannotUpdateReason!]!)

    Reasons why the current viewer can not update this comment.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerDidAuthor (Boolean!)

    Did the viewer author this comment.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n PullRequestReviewCommentConnection\n

    \n

    The connection type for PullRequestReviewComment.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([PullRequestReviewCommentEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([PullRequestReviewComment])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n PullRequestReviewCommentEdge\n

    \n

    An edge in a connection.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (PullRequestReviewComment)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n PullRequestReviewConnection\n

    \n

    The connection type for PullRequestReview.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([PullRequestReviewEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([PullRequestReview])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n PullRequestReviewContributionsByRepository\n

    \n

    This aggregates pull request reviews made by a user within one repository.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    contributions (CreatedPullRequestReviewContributionConnection!)

    The pull request review contributions.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (ContributionOrder)

    \n

    Ordering options for contributions returned from the connection.

    \n\n
    \n\n
    \n\n\n

    repository (Repository!)

    The repository in which the pull request reviews were made.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n PullRequestReviewEdge\n

    \n

    An edge in a connection.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (PullRequestReview)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n PullRequestReviewThread\n

    \n

    A threaded list of comments for a given pull request.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    comments (PullRequestReviewCommentConnection!)

    A list of pull request comments associated with the thread.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    skip (Int)

    \n

    Skips the first n elements in the list.

    \n\n
    \n\n
    \n\n\n

    diffSide (DiffSide!)

    The side of the diff on which this thread was placed.

    \n\n\n\n\n\n\n\n\n\n\n\n

    isCollapsed (Boolean!)

    Whether or not the thread has been collapsed (outdated or resolved).

    \n\n\n\n\n\n\n\n\n\n\n\n

    isOutdated (Boolean!)

    Indicates whether this thread was outdated by newer changes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    isResolved (Boolean!)

    Whether this thread has been resolved.

    \n\n\n\n\n\n\n\n\n\n\n\n

    line (Int)

    The line in the file to which this thread refers.

    \n\n\n\n\n\n\n\n\n\n\n\n

    originalLine (Int)

    The original line in the file to which this thread refers.

    \n\n\n\n\n\n\n\n\n\n\n\n

    originalStartLine (Int)

    The original start line in the file to which this thread refers (multi-line only).

    \n\n\n\n\n\n\n\n\n\n\n\n

    path (String!)

    Identifies the file path of this thread.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pullRequest (PullRequest!)

    Identifies the pull request associated with this thread.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repository (Repository!)

    Identifies the repository associated with this thread.

    \n\n\n\n\n\n\n\n\n\n\n\n

    resolvedBy (User)

    The user who resolved this thread.

    \n\n\n\n\n\n\n\n\n\n\n\n

    startDiffSide (DiffSide)

    The side of the diff that the first line of the thread starts on (multi-line only).

    \n\n\n\n\n\n\n\n\n\n\n\n

    startLine (Int)

    The start line in the file to which this thread refers (multi-line only).

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerCanReply (Boolean!)

    Indicates whether the current viewer can reply to this thread.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerCanResolve (Boolean!)

    Whether or not the viewer can resolve this thread.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerCanUnresolve (Boolean!)

    Whether or not the viewer can unresolve this thread.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n PullRequestReviewThreadConnection\n

    \n

    Review comment threads for a pull request review.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([PullRequestReviewThreadEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([PullRequestReviewThread])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n PullRequestReviewThreadEdge\n

    \n

    An edge in a connection.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (PullRequestReviewThread)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n PullRequestRevisionMarker\n

    \n

    Represents the latest point in the pull request timeline for which the viewer has seen the pull request's commits.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    lastSeenCommit (Commit!)

    The last commit the viewer has seen.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pullRequest (PullRequest!)

    The pull request to which the marker belongs.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n PullRequestTimelineConnection\n

    \n

    The connection type for PullRequestTimelineItem.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([PullRequestTimelineItemEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([PullRequestTimelineItem])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n PullRequestTimelineItemEdge\n

    \n

    An edge in a connection.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (PullRequestTimelineItem)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n PullRequestTimelineItemsConnection\n

    \n

    The connection type for PullRequestTimelineItems.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([PullRequestTimelineItemsEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    filteredCount (Int!)

    Identifies the count of items after applying before and after filters.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([PullRequestTimelineItems])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageCount (Int!)

    Identifies the count of items after applying before/after filters and first/last/skip slicing.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n

    updatedAt (DateTime!)

    Identifies the date and time when the timeline was last updated.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n PullRequestTimelineItemsEdge\n

    \n

    An edge in a connection.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (PullRequestTimelineItems)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n Push\n

    \n

    A Git push.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    nextSha (GitObjectID)

    The SHA after the push.

    \n\n\n\n\n\n\n\n\n\n\n\n

    permalink (URI!)

    The permalink for this push.

    \n\n\n\n\n\n\n\n\n\n\n\n

    previousSha (GitObjectID)

    The SHA before the push.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pusher (User!)

    The user who pushed.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repository (Repository!)

    The repository that was pushed to.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n PushAllowance\n

    \n

    A team, user or app who has the ability to push to a protected branch.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    actor (PushAllowanceActor)

    The actor that can push.

    \n\n\n\n\n\n\n\n\n\n\n\n

    branchProtectionRule (BranchProtectionRule)

    Identifies the branch protection rule associated with the allowed user or team.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n PushAllowanceConnection\n

    \n

    The connection type for PushAllowance.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([PushAllowanceEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([PushAllowance])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n PushAllowanceEdge\n

    \n

    An edge in a connection.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (PushAllowance)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n RateLimit\n

    \n

    Represents the client's rate limit.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cost (Int!)

    The point cost for the current query counting against the rate limit.

    \n\n\n\n\n\n\n\n\n\n\n\n

    limit (Int!)

    The maximum number of points the client is permitted to consume in a 60 minute window.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodeCount (Int!)

    The maximum number of nodes this query may return.

    \n\n\n\n\n\n\n\n\n\n\n\n

    remaining (Int!)

    The number of points remaining in the current rate limit window.

    \n\n\n\n\n\n\n\n\n\n\n\n

    resetAt (DateTime!)

    The time at which the current rate limit window resets in UTC epoch seconds.

    \n\n\n\n\n\n\n\n\n\n\n\n

    used (Int!)

    The number of points used in the current rate limit window.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n ReactingUserConnection\n

    \n

    The connection type for User.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([ReactingUserEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([User])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n ReactingUserEdge\n

    \n

    Represents a user that's made a reaction.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    reactedAt (DateTime!)

    The moment when the user made the reaction.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n Reaction\n

    \n

    An emoji reaction to a particular piece of content.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    content (ReactionContent!)

    Identifies the emoji reaction.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    databaseId (Int)

    Identifies the primary key from the database.

    \n\n\n\n\n\n\n\n\n\n\n\n

    reactable (Reactable!)

    The reactable piece of content.

    \n\n\n\n\n\n\n\n\n\n\n\n

    user (User)

    Identifies the user who created this reaction.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n ReactionConnection\n

    \n

    A list of reactions that have been left on the subject.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([ReactionEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([Reaction])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerHasReacted (Boolean!)

    Whether or not the authenticated user has left a reaction on the subject.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n ReactionEdge\n

    \n

    An edge in a connection.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (Reaction)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n ReactionGroup\n

    \n

    A group of emoji reactions to a particular piece of content.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    content (ReactionContent!)

    Identifies the emoji reaction.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (DateTime)

    Identifies when the reaction was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    subject (Reactable!)

    The subject that was reacted to.

    \n\n\n\n\n\n\n\n\n\n\n\n

    users (ReactingUserConnection!)

    Users who have reacted to the reaction subject with the emotion represented by this reaction group.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n\n\n

    viewerHasReacted (Boolean!)

    Whether or not the authenticated user has left a reaction on the subject.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n ReadyForReviewEvent\n

    \n

    Represents aready_for_reviewevent on a given pull request.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    actor (Actor)

    Identifies the actor who performed the event.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pullRequest (PullRequest!)

    PullRequest referenced by event.

    \n\n\n\n\n\n\n\n\n\n\n\n

    resourcePath (URI!)

    The HTTP path for this ready for review event.

    \n\n\n\n\n\n\n\n\n\n\n\n

    url (URI!)

    The HTTP URL for this ready for review event.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n Ref\n

    \n

    Represents a Git reference.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    associatedPullRequests (PullRequestConnection!)

    A list of pull requests with this ref as the head ref.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    baseRefName (String)

    \n

    The base ref name to filter the pull requests by.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    headRefName (String)

    \n

    The head ref name to filter the pull requests by.

    \n\n
    \n\n
    \n

    labels ([String!])

    \n

    A list of label names to filter the pull requests by.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (IssueOrder)

    \n

    Ordering options for pull requests returned from the connection.

    \n\n
    \n\n
    \n

    states ([PullRequestState!])

    \n

    A list of states to filter the pull requests by.

    \n\n
    \n\n
    \n\n\n

    branchProtectionRule (BranchProtectionRule)

    Branch protection rules for this ref.

    \n\n\n\n\n\n\n\n\n\n\n\n

    name (String!)

    The ref name.

    \n\n\n\n\n\n\n\n\n\n\n\n

    prefix (String!)

    The ref's prefix, such as refs/heads/ or refs/tags/.

    \n\n\n\n\n\n\n\n\n\n\n\n

    refUpdateRule (RefUpdateRule)

    Branch protection rules that are viewable by non-admins.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repository (Repository!)

    The repository the ref belongs to.

    \n\n\n\n\n\n\n\n\n\n\n\n

    target (GitObject)

    The object the ref points to. Returns null when object does not exist.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n RefConnection\n

    \n

    The connection type for Ref.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([RefEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([Ref])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n RefEdge\n

    \n

    An edge in a connection.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (Ref)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n RefUpdateRule\n

    \n

    A ref update rules for a viewer.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    allowsDeletions (Boolean!)

    Can this branch be deleted.

    \n\n\n\n\n\n\n\n\n\n\n\n

    allowsForcePushes (Boolean!)

    Are force pushes allowed on this branch.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pattern (String!)

    Identifies the protection rule pattern.

    \n\n\n\n\n\n\n\n\n\n\n\n

    requiredApprovingReviewCount (Int)

    Number of approving reviews required to update matching branches.

    \n\n\n\n\n\n\n\n\n\n\n\n

    requiredStatusCheckContexts ([String])

    List of required status check contexts that must pass for commits to be accepted to matching branches.

    \n\n\n\n\n\n\n\n\n\n\n\n

    requiresLinearHistory (Boolean!)

    Are merge commits prohibited from being pushed to this branch.

    \n\n\n\n\n\n\n\n\n\n\n\n

    requiresSignatures (Boolean!)

    Are commits required to be signed.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerCanPush (Boolean!)

    Can the viewer push to the branch.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n ReferencedEvent\n

    \n

    Represents areferencedevent on a given ReferencedSubject.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    actor (Actor)

    Identifies the actor who performed the event.

    \n\n\n\n\n\n\n\n\n\n\n\n

    commit (Commit)

    Identifies the commit associated with thereferencedevent.

    \n\n\n\n\n\n\n\n\n\n\n\n

    commitRepository (Repository!)

    Identifies the repository associated with thereferencedevent.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    isCrossRepository (Boolean!)

    Reference originated in a different repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    isDirectReference (Boolean!)

    Checks if the commit message itself references the subject. Can be false in the case of a commit comment reference.

    \n\n\n\n\n\n\n\n\n\n\n\n

    subject (ReferencedSubject!)

    Object referenced by event.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n Release\n

    \n

    A release contains the content for a release.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    author (User)

    The author of the release.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    description (String)

    The description of the release.

    \n\n\n\n\n\n\n\n\n\n\n\n

    descriptionHTML (HTML)

    The description of this release rendered to HTML.

    \n\n\n\n\n\n\n\n\n\n\n\n

    isDraft (Boolean!)

    Whether or not the release is a draft.

    \n\n\n\n\n\n\n\n\n\n\n\n

    isLatest (Boolean!)

    Whether or not the release is the latest releast.

    \n\n\n\n\n\n\n\n\n\n\n\n

    isPrerelease (Boolean!)

    Whether or not the release is a prerelease.

    \n\n\n\n\n\n\n\n\n\n\n\n

    name (String)

    The title of the release.

    \n\n\n\n\n\n\n\n\n\n\n\n

    publishedAt (DateTime)

    Identifies the date and time when the release was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    releaseAssets (ReleaseAssetConnection!)

    List of releases assets which are dependent on this release.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    name (String)

    \n

    A list of names to filter the assets by.

    \n\n
    \n\n
    \n\n\n

    repository (Repository!)

    The repository that the release belongs to.

    \n\n\n\n\n\n\n\n\n\n\n\n

    resourcePath (URI!)

    The HTTP path for this issue.

    \n\n\n\n\n\n\n\n\n\n\n\n

    shortDescriptionHTML (HTML)

    A description of the release, rendered to HTML without any links in it.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    limit (Int)

    \n

    How many characters to return.

    \n

    The default value is 200.

    \n
    \n\n
    \n\n\n

    tag (Ref)

    The Git tag the release points to.

    \n\n\n\n\n\n\n\n\n\n\n\n

    tagCommit (Commit)

    The tag commit for this release.

    \n\n\n\n\n\n\n\n\n\n\n\n

    tagName (String!)

    The name of the release's Git tag.

    \n\n\n\n\n\n\n\n\n\n\n\n

    updatedAt (DateTime!)

    Identifies the date and time when the object was last updated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    url (URI!)

    The HTTP URL for this issue.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n ReleaseAsset\n

    \n

    A release asset contains the content for a release asset.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    contentType (String!)

    The asset's content-type.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    downloadCount (Int!)

    The number of times this asset was downloaded.

    \n\n\n\n\n\n\n\n\n\n\n\n

    downloadUrl (URI!)

    Identifies the URL where you can download the release asset via the browser.

    \n\n\n\n\n\n\n\n\n\n\n\n

    name (String!)

    Identifies the title of the release asset.

    \n\n\n\n\n\n\n\n\n\n\n\n

    release (Release)

    Release that the asset is associated with.

    \n\n\n\n\n\n\n\n\n\n\n\n

    size (Int!)

    The size (in bytes) of the asset.

    \n\n\n\n\n\n\n\n\n\n\n\n

    updatedAt (DateTime!)

    Identifies the date and time when the object was last updated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    uploadedBy (User!)

    The user that performed the upload.

    \n\n\n\n\n\n\n\n\n\n\n\n

    url (URI!)

    Identifies the URL of the release asset.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n ReleaseAssetConnection\n

    \n

    The connection type for ReleaseAsset.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([ReleaseAssetEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([ReleaseAsset])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n ReleaseAssetEdge\n

    \n

    An edge in a connection.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (ReleaseAsset)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n ReleaseConnection\n

    \n

    The connection type for Release.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([ReleaseEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([Release])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n ReleaseEdge\n

    \n

    An edge in a connection.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (Release)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n RemovedFromProjectEvent\n

    \n

    Represents aremoved_from_projectevent on a given issue or pull request.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    actor (Actor)

    Identifies the actor who performed the event.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    databaseId (Int)

    Identifies the primary key from the database.

    \n\n\n\n\n\n\n\n\n\n\n\n

    project (Project)

    Project referenced by event.

    \n\n\n\n\n
    \n

    Preview notice

    \n

    project is available under the Project event details preview. During the preview period, the API may change without notice.

    \n
    \n\n\n\n\n\n\n\n\n

    projectColumnName (String!)

    Column name referenced by this project event.

    \n\n\n\n\n
    \n

    Preview notice

    \n

    projectColumnName is available under the Project event details preview. During the preview period, the API may change without notice.

    \n
    \n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n RenamedTitleEvent\n

    \n

    Represents arenamedevent on a given issue or pull request.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    actor (Actor)

    Identifies the actor who performed the event.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    currentTitle (String!)

    Identifies the current title of the issue or pull request.

    \n\n\n\n\n\n\n\n\n\n\n\n

    previousTitle (String!)

    Identifies the previous title of the issue or pull request.

    \n\n\n\n\n\n\n\n\n\n\n\n

    subject (RenamedTitleSubject!)

    Subject that was renamed.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n ReopenedEvent\n

    \n

    Represents areopenedevent on any Closable.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    actor (Actor)

    Identifies the actor who performed the event.

    \n\n\n\n\n\n\n\n\n\n\n\n

    closable (Closable!)

    Object that was reopened.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n RepoAccessAuditEntry\n

    \n

    Audit log entry for a repo.access event.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    action (String!)

    The action name.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actor (AuditEntryActor)

    The user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorIp (String)

    The IP address of the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLocation (ActorLocation)

    A readable representation of the actor's location.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLogin (String)

    The username of the user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorResourcePath (URI)

    The HTTP path for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorUrl (URI)

    The HTTP URL for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (PreciseDateTime!)

    The time the action was initiated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    operationType (OperationType)

    The corresponding operation type for the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organization (Organization)

    The Organization associated with the Audit Entry.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationName (String)

    The name of the Organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationResourcePath (URI)

    The HTTP path for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationUrl (URI)

    The HTTP URL for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repository (Repository)

    The repository associated with the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repositoryName (String)

    The name of the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repositoryResourcePath (URI)

    The HTTP path for the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repositoryUrl (URI)

    The HTTP URL for the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    user (User)

    The user affected by the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userLogin (String)

    For actions involving two users, the actor is the initiator and the user is the affected user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userResourcePath (URI)

    The HTTP path for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userUrl (URI)

    The HTTP URL for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    visibility (RepoAccessAuditEntryVisibility)

    The visibility of the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n RepoAddMemberAuditEntry\n

    \n

    Audit log entry for a repo.add_member event.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    action (String!)

    The action name.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actor (AuditEntryActor)

    The user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorIp (String)

    The IP address of the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLocation (ActorLocation)

    A readable representation of the actor's location.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLogin (String)

    The username of the user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorResourcePath (URI)

    The HTTP path for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorUrl (URI)

    The HTTP URL for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (PreciseDateTime!)

    The time the action was initiated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    operationType (OperationType)

    The corresponding operation type for the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organization (Organization)

    The Organization associated with the Audit Entry.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationName (String)

    The name of the Organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationResourcePath (URI)

    The HTTP path for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationUrl (URI)

    The HTTP URL for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repository (Repository)

    The repository associated with the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repositoryName (String)

    The name of the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repositoryResourcePath (URI)

    The HTTP path for the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repositoryUrl (URI)

    The HTTP URL for the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    user (User)

    The user affected by the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userLogin (String)

    For actions involving two users, the actor is the initiator and the user is the affected user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userResourcePath (URI)

    The HTTP path for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userUrl (URI)

    The HTTP URL for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    visibility (RepoAddMemberAuditEntryVisibility)

    The visibility of the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n RepoAddTopicAuditEntry\n

    \n

    Audit log entry for a repo.add_topic event.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    action (String!)

    The action name.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actor (AuditEntryActor)

    The user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorIp (String)

    The IP address of the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLocation (ActorLocation)

    A readable representation of the actor's location.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLogin (String)

    The username of the user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorResourcePath (URI)

    The HTTP path for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorUrl (URI)

    The HTTP URL for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (PreciseDateTime!)

    The time the action was initiated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    operationType (OperationType)

    The corresponding operation type for the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organization (Organization)

    The Organization associated with the Audit Entry.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationName (String)

    The name of the Organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationResourcePath (URI)

    The HTTP path for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationUrl (URI)

    The HTTP URL for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repository (Repository)

    The repository associated with the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repositoryName (String)

    The name of the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repositoryResourcePath (URI)

    The HTTP path for the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repositoryUrl (URI)

    The HTTP URL for the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    topic (Topic)

    The name of the topic added to the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    topicName (String)

    The name of the topic added to the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    user (User)

    The user affected by the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userLogin (String)

    For actions involving two users, the actor is the initiator and the user is the affected user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userResourcePath (URI)

    The HTTP path for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userUrl (URI)

    The HTTP URL for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n RepoArchivedAuditEntry\n

    \n

    Audit log entry for a repo.archived event.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    action (String!)

    The action name.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actor (AuditEntryActor)

    The user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorIp (String)

    The IP address of the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLocation (ActorLocation)

    A readable representation of the actor's location.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLogin (String)

    The username of the user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorResourcePath (URI)

    The HTTP path for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorUrl (URI)

    The HTTP URL for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (PreciseDateTime!)

    The time the action was initiated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    operationType (OperationType)

    The corresponding operation type for the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organization (Organization)

    The Organization associated with the Audit Entry.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationName (String)

    The name of the Organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationResourcePath (URI)

    The HTTP path for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationUrl (URI)

    The HTTP URL for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repository (Repository)

    The repository associated with the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repositoryName (String)

    The name of the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repositoryResourcePath (URI)

    The HTTP path for the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repositoryUrl (URI)

    The HTTP URL for the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    user (User)

    The user affected by the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userLogin (String)

    For actions involving two users, the actor is the initiator and the user is the affected user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userResourcePath (URI)

    The HTTP path for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userUrl (URI)

    The HTTP URL for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    visibility (RepoArchivedAuditEntryVisibility)

    The visibility of the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n RepoChangeMergeSettingAuditEntry\n

    \n

    Audit log entry for a repo.change_merge_setting event.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    action (String!)

    The action name.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actor (AuditEntryActor)

    The user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorIp (String)

    The IP address of the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLocation (ActorLocation)

    A readable representation of the actor's location.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLogin (String)

    The username of the user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorResourcePath (URI)

    The HTTP path for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorUrl (URI)

    The HTTP URL for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (PreciseDateTime!)

    The time the action was initiated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    isEnabled (Boolean)

    Whether the change was to enable (true) or disable (false) the merge type.

    \n\n\n\n\n\n\n\n\n\n\n\n

    mergeType (RepoChangeMergeSettingAuditEntryMergeType)

    The merge method affected by the change.

    \n\n\n\n\n\n\n\n\n\n\n\n

    operationType (OperationType)

    The corresponding operation type for the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organization (Organization)

    The Organization associated with the Audit Entry.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationName (String)

    The name of the Organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationResourcePath (URI)

    The HTTP path for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationUrl (URI)

    The HTTP URL for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repository (Repository)

    The repository associated with the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repositoryName (String)

    The name of the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repositoryResourcePath (URI)

    The HTTP path for the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repositoryUrl (URI)

    The HTTP URL for the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    user (User)

    The user affected by the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userLogin (String)

    For actions involving two users, the actor is the initiator and the user is the affected user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userResourcePath (URI)

    The HTTP path for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userUrl (URI)

    The HTTP URL for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n RepoConfigDisableAnonymousGitAccessAuditEntry\n

    \n

    Audit log entry for a repo.config.disable_anonymous_git_access event.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    action (String!)

    The action name.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actor (AuditEntryActor)

    The user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorIp (String)

    The IP address of the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLocation (ActorLocation)

    A readable representation of the actor's location.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLogin (String)

    The username of the user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorResourcePath (URI)

    The HTTP path for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorUrl (URI)

    The HTTP URL for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (PreciseDateTime!)

    The time the action was initiated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    operationType (OperationType)

    The corresponding operation type for the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organization (Organization)

    The Organization associated with the Audit Entry.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationName (String)

    The name of the Organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationResourcePath (URI)

    The HTTP path for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationUrl (URI)

    The HTTP URL for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repository (Repository)

    The repository associated with the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repositoryName (String)

    The name of the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repositoryResourcePath (URI)

    The HTTP path for the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repositoryUrl (URI)

    The HTTP URL for the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    user (User)

    The user affected by the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userLogin (String)

    For actions involving two users, the actor is the initiator and the user is the affected user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userResourcePath (URI)

    The HTTP path for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userUrl (URI)

    The HTTP URL for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n RepoConfigDisableCollaboratorsOnlyAuditEntry\n

    \n

    Audit log entry for a repo.config.disable_collaborators_only event.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    action (String!)

    The action name.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actor (AuditEntryActor)

    The user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorIp (String)

    The IP address of the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLocation (ActorLocation)

    A readable representation of the actor's location.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLogin (String)

    The username of the user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorResourcePath (URI)

    The HTTP path for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorUrl (URI)

    The HTTP URL for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (PreciseDateTime!)

    The time the action was initiated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    operationType (OperationType)

    The corresponding operation type for the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organization (Organization)

    The Organization associated with the Audit Entry.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationName (String)

    The name of the Organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationResourcePath (URI)

    The HTTP path for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationUrl (URI)

    The HTTP URL for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repository (Repository)

    The repository associated with the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repositoryName (String)

    The name of the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repositoryResourcePath (URI)

    The HTTP path for the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repositoryUrl (URI)

    The HTTP URL for the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    user (User)

    The user affected by the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userLogin (String)

    For actions involving two users, the actor is the initiator and the user is the affected user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userResourcePath (URI)

    The HTTP path for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userUrl (URI)

    The HTTP URL for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n RepoConfigDisableContributorsOnlyAuditEntry\n

    \n

    Audit log entry for a repo.config.disable_contributors_only event.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    action (String!)

    The action name.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actor (AuditEntryActor)

    The user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorIp (String)

    The IP address of the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLocation (ActorLocation)

    A readable representation of the actor's location.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLogin (String)

    The username of the user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorResourcePath (URI)

    The HTTP path for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorUrl (URI)

    The HTTP URL for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (PreciseDateTime!)

    The time the action was initiated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    operationType (OperationType)

    The corresponding operation type for the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organization (Organization)

    The Organization associated with the Audit Entry.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationName (String)

    The name of the Organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationResourcePath (URI)

    The HTTP path for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationUrl (URI)

    The HTTP URL for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repository (Repository)

    The repository associated with the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repositoryName (String)

    The name of the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repositoryResourcePath (URI)

    The HTTP path for the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repositoryUrl (URI)

    The HTTP URL for the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    user (User)

    The user affected by the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userLogin (String)

    For actions involving two users, the actor is the initiator and the user is the affected user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userResourcePath (URI)

    The HTTP path for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userUrl (URI)

    The HTTP URL for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n RepoConfigDisableSockpuppetDisallowedAuditEntry\n

    \n

    Audit log entry for a repo.config.disable_sockpuppet_disallowed event.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    action (String!)

    The action name.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actor (AuditEntryActor)

    The user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorIp (String)

    The IP address of the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLocation (ActorLocation)

    A readable representation of the actor's location.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLogin (String)

    The username of the user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorResourcePath (URI)

    The HTTP path for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorUrl (URI)

    The HTTP URL for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (PreciseDateTime!)

    The time the action was initiated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    operationType (OperationType)

    The corresponding operation type for the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organization (Organization)

    The Organization associated with the Audit Entry.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationName (String)

    The name of the Organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationResourcePath (URI)

    The HTTP path for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationUrl (URI)

    The HTTP URL for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repository (Repository)

    The repository associated with the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repositoryName (String)

    The name of the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repositoryResourcePath (URI)

    The HTTP path for the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repositoryUrl (URI)

    The HTTP URL for the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    user (User)

    The user affected by the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userLogin (String)

    For actions involving two users, the actor is the initiator and the user is the affected user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userResourcePath (URI)

    The HTTP path for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userUrl (URI)

    The HTTP URL for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n RepoConfigEnableAnonymousGitAccessAuditEntry\n

    \n

    Audit log entry for a repo.config.enable_anonymous_git_access event.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    action (String!)

    The action name.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actor (AuditEntryActor)

    The user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorIp (String)

    The IP address of the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLocation (ActorLocation)

    A readable representation of the actor's location.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLogin (String)

    The username of the user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorResourcePath (URI)

    The HTTP path for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorUrl (URI)

    The HTTP URL for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (PreciseDateTime!)

    The time the action was initiated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    operationType (OperationType)

    The corresponding operation type for the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organization (Organization)

    The Organization associated with the Audit Entry.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationName (String)

    The name of the Organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationResourcePath (URI)

    The HTTP path for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationUrl (URI)

    The HTTP URL for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repository (Repository)

    The repository associated with the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repositoryName (String)

    The name of the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repositoryResourcePath (URI)

    The HTTP path for the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repositoryUrl (URI)

    The HTTP URL for the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    user (User)

    The user affected by the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userLogin (String)

    For actions involving two users, the actor is the initiator and the user is the affected user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userResourcePath (URI)

    The HTTP path for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userUrl (URI)

    The HTTP URL for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n RepoConfigEnableCollaboratorsOnlyAuditEntry\n

    \n

    Audit log entry for a repo.config.enable_collaborators_only event.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    action (String!)

    The action name.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actor (AuditEntryActor)

    The user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorIp (String)

    The IP address of the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLocation (ActorLocation)

    A readable representation of the actor's location.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLogin (String)

    The username of the user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorResourcePath (URI)

    The HTTP path for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorUrl (URI)

    The HTTP URL for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (PreciseDateTime!)

    The time the action was initiated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    operationType (OperationType)

    The corresponding operation type for the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organization (Organization)

    The Organization associated with the Audit Entry.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationName (String)

    The name of the Organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationResourcePath (URI)

    The HTTP path for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationUrl (URI)

    The HTTP URL for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repository (Repository)

    The repository associated with the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repositoryName (String)

    The name of the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repositoryResourcePath (URI)

    The HTTP path for the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repositoryUrl (URI)

    The HTTP URL for the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    user (User)

    The user affected by the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userLogin (String)

    For actions involving two users, the actor is the initiator and the user is the affected user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userResourcePath (URI)

    The HTTP path for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userUrl (URI)

    The HTTP URL for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n RepoConfigEnableContributorsOnlyAuditEntry\n

    \n

    Audit log entry for a repo.config.enable_contributors_only event.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    action (String!)

    The action name.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actor (AuditEntryActor)

    The user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorIp (String)

    The IP address of the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLocation (ActorLocation)

    A readable representation of the actor's location.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLogin (String)

    The username of the user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorResourcePath (URI)

    The HTTP path for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorUrl (URI)

    The HTTP URL for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (PreciseDateTime!)

    The time the action was initiated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    operationType (OperationType)

    The corresponding operation type for the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organization (Organization)

    The Organization associated with the Audit Entry.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationName (String)

    The name of the Organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationResourcePath (URI)

    The HTTP path for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationUrl (URI)

    The HTTP URL for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repository (Repository)

    The repository associated with the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repositoryName (String)

    The name of the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repositoryResourcePath (URI)

    The HTTP path for the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repositoryUrl (URI)

    The HTTP URL for the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    user (User)

    The user affected by the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userLogin (String)

    For actions involving two users, the actor is the initiator and the user is the affected user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userResourcePath (URI)

    The HTTP path for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userUrl (URI)

    The HTTP URL for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n RepoConfigEnableSockpuppetDisallowedAuditEntry\n

    \n

    Audit log entry for a repo.config.enable_sockpuppet_disallowed event.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    action (String!)

    The action name.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actor (AuditEntryActor)

    The user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorIp (String)

    The IP address of the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLocation (ActorLocation)

    A readable representation of the actor's location.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLogin (String)

    The username of the user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorResourcePath (URI)

    The HTTP path for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorUrl (URI)

    The HTTP URL for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (PreciseDateTime!)

    The time the action was initiated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    operationType (OperationType)

    The corresponding operation type for the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organization (Organization)

    The Organization associated with the Audit Entry.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationName (String)

    The name of the Organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationResourcePath (URI)

    The HTTP path for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationUrl (URI)

    The HTTP URL for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repository (Repository)

    The repository associated with the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repositoryName (String)

    The name of the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repositoryResourcePath (URI)

    The HTTP path for the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repositoryUrl (URI)

    The HTTP URL for the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    user (User)

    The user affected by the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userLogin (String)

    For actions involving two users, the actor is the initiator and the user is the affected user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userResourcePath (URI)

    The HTTP path for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userUrl (URI)

    The HTTP URL for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n RepoConfigLockAnonymousGitAccessAuditEntry\n

    \n

    Audit log entry for a repo.config.lock_anonymous_git_access event.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    action (String!)

    The action name.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actor (AuditEntryActor)

    The user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorIp (String)

    The IP address of the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLocation (ActorLocation)

    A readable representation of the actor's location.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLogin (String)

    The username of the user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorResourcePath (URI)

    The HTTP path for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorUrl (URI)

    The HTTP URL for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (PreciseDateTime!)

    The time the action was initiated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    operationType (OperationType)

    The corresponding operation type for the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organization (Organization)

    The Organization associated with the Audit Entry.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationName (String)

    The name of the Organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationResourcePath (URI)

    The HTTP path for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationUrl (URI)

    The HTTP URL for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repository (Repository)

    The repository associated with the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repositoryName (String)

    The name of the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repositoryResourcePath (URI)

    The HTTP path for the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repositoryUrl (URI)

    The HTTP URL for the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    user (User)

    The user affected by the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userLogin (String)

    For actions involving two users, the actor is the initiator and the user is the affected user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userResourcePath (URI)

    The HTTP path for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userUrl (URI)

    The HTTP URL for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n RepoConfigUnlockAnonymousGitAccessAuditEntry\n

    \n

    Audit log entry for a repo.config.unlock_anonymous_git_access event.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    action (String!)

    The action name.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actor (AuditEntryActor)

    The user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorIp (String)

    The IP address of the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLocation (ActorLocation)

    A readable representation of the actor's location.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLogin (String)

    The username of the user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorResourcePath (URI)

    The HTTP path for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorUrl (URI)

    The HTTP URL for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (PreciseDateTime!)

    The time the action was initiated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    operationType (OperationType)

    The corresponding operation type for the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organization (Organization)

    The Organization associated with the Audit Entry.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationName (String)

    The name of the Organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationResourcePath (URI)

    The HTTP path for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationUrl (URI)

    The HTTP URL for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repository (Repository)

    The repository associated with the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repositoryName (String)

    The name of the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repositoryResourcePath (URI)

    The HTTP path for the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repositoryUrl (URI)

    The HTTP URL for the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    user (User)

    The user affected by the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userLogin (String)

    For actions involving two users, the actor is the initiator and the user is the affected user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userResourcePath (URI)

    The HTTP path for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userUrl (URI)

    The HTTP URL for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n RepoCreateAuditEntry\n

    \n

    Audit log entry for a repo.create event.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    action (String!)

    The action name.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actor (AuditEntryActor)

    The user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorIp (String)

    The IP address of the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLocation (ActorLocation)

    A readable representation of the actor's location.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLogin (String)

    The username of the user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorResourcePath (URI)

    The HTTP path for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorUrl (URI)

    The HTTP URL for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (PreciseDateTime!)

    The time the action was initiated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    forkParentName (String)

    The name of the parent repository for this forked repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    forkSourceName (String)

    The name of the root repository for this network.

    \n\n\n\n\n\n\n\n\n\n\n\n

    operationType (OperationType)

    The corresponding operation type for the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organization (Organization)

    The Organization associated with the Audit Entry.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationName (String)

    The name of the Organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationResourcePath (URI)

    The HTTP path for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationUrl (URI)

    The HTTP URL for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repository (Repository)

    The repository associated with the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repositoryName (String)

    The name of the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repositoryResourcePath (URI)

    The HTTP path for the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repositoryUrl (URI)

    The HTTP URL for the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    user (User)

    The user affected by the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userLogin (String)

    For actions involving two users, the actor is the initiator and the user is the affected user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userResourcePath (URI)

    The HTTP path for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userUrl (URI)

    The HTTP URL for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    visibility (RepoCreateAuditEntryVisibility)

    The visibility of the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n RepoDestroyAuditEntry\n

    \n

    Audit log entry for a repo.destroy event.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    action (String!)

    The action name.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actor (AuditEntryActor)

    The user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorIp (String)

    The IP address of the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLocation (ActorLocation)

    A readable representation of the actor's location.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLogin (String)

    The username of the user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorResourcePath (URI)

    The HTTP path for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorUrl (URI)

    The HTTP URL for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (PreciseDateTime!)

    The time the action was initiated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    operationType (OperationType)

    The corresponding operation type for the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organization (Organization)

    The Organization associated with the Audit Entry.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationName (String)

    The name of the Organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationResourcePath (URI)

    The HTTP path for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationUrl (URI)

    The HTTP URL for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repository (Repository)

    The repository associated with the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repositoryName (String)

    The name of the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repositoryResourcePath (URI)

    The HTTP path for the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repositoryUrl (URI)

    The HTTP URL for the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    user (User)

    The user affected by the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userLogin (String)

    For actions involving two users, the actor is the initiator and the user is the affected user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userResourcePath (URI)

    The HTTP path for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userUrl (URI)

    The HTTP URL for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    visibility (RepoDestroyAuditEntryVisibility)

    The visibility of the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n RepoRemoveMemberAuditEntry\n

    \n

    Audit log entry for a repo.remove_member event.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    action (String!)

    The action name.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actor (AuditEntryActor)

    The user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorIp (String)

    The IP address of the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLocation (ActorLocation)

    A readable representation of the actor's location.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLogin (String)

    The username of the user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorResourcePath (URI)

    The HTTP path for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorUrl (URI)

    The HTTP URL for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (PreciseDateTime!)

    The time the action was initiated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    operationType (OperationType)

    The corresponding operation type for the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organization (Organization)

    The Organization associated with the Audit Entry.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationName (String)

    The name of the Organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationResourcePath (URI)

    The HTTP path for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationUrl (URI)

    The HTTP URL for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repository (Repository)

    The repository associated with the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repositoryName (String)

    The name of the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repositoryResourcePath (URI)

    The HTTP path for the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repositoryUrl (URI)

    The HTTP URL for the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    user (User)

    The user affected by the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userLogin (String)

    For actions involving two users, the actor is the initiator and the user is the affected user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userResourcePath (URI)

    The HTTP path for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userUrl (URI)

    The HTTP URL for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    visibility (RepoRemoveMemberAuditEntryVisibility)

    The visibility of the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n RepoRemoveTopicAuditEntry\n

    \n

    Audit log entry for a repo.remove_topic event.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    action (String!)

    The action name.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actor (AuditEntryActor)

    The user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorIp (String)

    The IP address of the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLocation (ActorLocation)

    A readable representation of the actor's location.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLogin (String)

    The username of the user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorResourcePath (URI)

    The HTTP path for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorUrl (URI)

    The HTTP URL for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (PreciseDateTime!)

    The time the action was initiated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    operationType (OperationType)

    The corresponding operation type for the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organization (Organization)

    The Organization associated with the Audit Entry.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationName (String)

    The name of the Organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationResourcePath (URI)

    The HTTP path for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationUrl (URI)

    The HTTP URL for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repository (Repository)

    The repository associated with the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repositoryName (String)

    The name of the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repositoryResourcePath (URI)

    The HTTP path for the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repositoryUrl (URI)

    The HTTP URL for the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    topic (Topic)

    The name of the topic added to the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    topicName (String)

    The name of the topic added to the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    user (User)

    The user affected by the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userLogin (String)

    For actions involving two users, the actor is the initiator and the user is the affected user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userResourcePath (URI)

    The HTTP path for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userUrl (URI)

    The HTTP URL for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n Repository\n

    \n

    A repository contains the content for a project.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    assignableUsers (UserConnection!)

    A list of users that can be assigned to issues in this repository.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    query (String)

    \n

    Filters users with query on user name and login.

    \n\n
    \n\n
    \n\n\n

    branchProtectionRules (BranchProtectionRuleConnection!)

    A list of branch protection rules for this repository.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n\n\n

    codeOfConduct (CodeOfConduct)

    Returns the code of conduct for this repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    collaborators (RepositoryCollaboratorConnection)

    A list of collaborators associated with the repository.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    affiliation (CollaboratorAffiliation)

    \n

    Collaborators affiliation level with a repository.

    \n\n
    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    query (String)

    \n

    Filters users with query on user name and login.

    \n\n
    \n\n
    \n\n\n

    commitComments (CommitCommentConnection!)

    A list of commit comments associated with the repository.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n\n\n

    contactLinks ([RepositoryContactLink!])

    Returns a list of contact links associated to the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    databaseId (Int)

    Identifies the primary key from the database.

    \n\n\n\n\n\n\n\n\n\n\n\n

    defaultBranchRef (Ref)

    The Ref associated with the repository's default branch.

    \n\n\n\n\n\n\n\n\n\n\n\n

    deleteBranchOnMerge (Boolean!)

    Whether or not branches are automatically deleted when merged in this repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    dependencyGraphManifests (DependencyGraphManifestConnection)

    A list of dependency manifests contained in the repository.

    \n\n\n\n\n
    \n

    Preview notice

    \n

    dependencyGraphManifests is available under the Access to a repositories dependency graph preview. During the preview period, the API may change without notice.

    \n
    \n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    dependenciesAfter (String)

    \n

    Cursor to paginate dependencies.

    \n\n
    \n\n
    \n

    dependenciesFirst (Int)

    \n

    Number of dependencies to fetch.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    withDependencies (Boolean)

    \n

    Flag to scope to only manifests with dependencies.

    \n\n
    \n\n
    \n\n\n

    deployKeys (DeployKeyConnection!)

    A list of deploy keys that are on this repository.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n\n\n

    deployments (DeploymentConnection!)

    Deployments associated with the repository.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    environments ([String!])

    \n

    Environments to list deployments for.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (DeploymentOrder)

    \n

    Ordering options for deployments returned from the connection.

    \n\n
    \n\n
    \n\n\n

    description (String)

    The description of the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    descriptionHTML (HTML!)

    The description of the repository rendered to HTML.

    \n\n\n\n\n\n\n\n\n\n\n\n

    diskUsage (Int)

    The number of kilobytes this repository occupies on disk.

    \n\n\n\n\n\n\n\n\n\n\n\n

    forkCount (Int!)

    Returns how many forks there are of this repository in the whole network.

    \n\n\n\n\n\n\n\n\n\n\n\n

    forks (RepositoryConnection!)

    A list of direct forked repositories.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    affiliations ([RepositoryAffiliation])

    \n

    Array of viewer's affiliation options for repositories returned from the\nconnection. For example, OWNER will include only repositories that the\ncurrent viewer owns.

    \n\n
    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    isLocked (Boolean)

    \n

    If non-null, filters repositories according to whether they have been locked.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (RepositoryOrder)

    \n

    Ordering options for repositories returned from the connection.

    \n\n
    \n\n
    \n

    ownerAffiliations ([RepositoryAffiliation])

    \n

    Array of owner's affiliation options for repositories returned from the\nconnection. For example, OWNER will include only repositories that the\norganization or user being viewed owns.

    \n\n
    \n\n
    \n

    privacy (RepositoryPrivacy)

    \n

    If non-null, filters repositories according to privacy.

    \n\n
    \n\n
    \n\n\n

    fundingLinks ([FundingLink!]!)

    The funding links for this repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    hasIssuesEnabled (Boolean!)

    Indicates if the repository has issues feature enabled.

    \n\n\n\n\n\n\n\n\n\n\n\n

    hasProjectsEnabled (Boolean!)

    Indicates if the repository has the Projects feature enabled.

    \n\n\n\n\n\n\n\n\n\n\n\n

    hasWikiEnabled (Boolean!)

    Indicates if the repository has wiki feature enabled.

    \n\n\n\n\n\n\n\n\n\n\n\n

    homepageUrl (URI)

    The repository's URL.

    \n\n\n\n\n\n\n\n\n\n\n\n

    interactionAbility (RepositoryInteractionAbility)

    The interaction ability settings for this repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    isArchived (Boolean!)

    Indicates if the repository is unmaintained.

    \n\n\n\n\n\n\n\n\n\n\n\n

    isBlankIssuesEnabled (Boolean!)

    Returns true if blank issue creation is allowed.

    \n\n\n\n\n\n\n\n\n\n\n\n

    isDisabled (Boolean!)

    Returns whether or not this repository disabled.

    \n\n\n\n\n\n\n\n\n\n\n\n

    isEmpty (Boolean!)

    Returns whether or not this repository is empty.

    \n\n\n\n\n\n\n\n\n\n\n\n

    isFork (Boolean!)

    Identifies if the repository is a fork.

    \n\n\n\n\n\n\n\n\n\n\n\n

    isInOrganization (Boolean!)

    Indicates if a repository is either owned by an organization, or is a private fork of an organization repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    isLocked (Boolean!)

    Indicates if the repository has been locked or not.

    \n\n\n\n\n\n\n\n\n\n\n\n

    isMirror (Boolean!)

    Identifies if the repository is a mirror.

    \n\n\n\n\n\n\n\n\n\n\n\n

    isPrivate (Boolean!)

    Identifies if the repository is private.

    \n\n\n\n\n\n\n\n\n\n\n\n

    isSecurityPolicyEnabled (Boolean)

    Returns true if this repository has a security policy.

    \n\n\n\n\n\n\n\n\n\n\n\n

    isTemplate (Boolean!)

    Identifies if the repository is a template that can be used to generate new repositories.

    \n\n\n\n\n\n\n\n\n\n\n\n

    isUserConfigurationRepository (Boolean!)

    Is this repository a user configuration repository?.

    \n\n\n\n\n\n\n\n\n\n\n\n

    issue (Issue)

    Returns a single issue from the current repository by number.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    number (Int!)

    \n

    The number for the issue to be returned.

    \n\n
    \n\n
    \n\n\n

    issueOrPullRequest (IssueOrPullRequest)

    Returns a single issue-like object from the current repository by number.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    number (Int!)

    \n

    The number for the issue to be returned.

    \n\n
    \n\n
    \n\n\n

    issueTemplates ([IssueTemplate!])

    Returns a list of issue templates associated to the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    issues (IssueConnection!)

    A list of issues that have been opened in the repository.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    filterBy (IssueFilters)

    \n

    Filtering options for issues returned from the connection.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    labels ([String!])

    \n

    A list of label names to filter the pull requests by.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (IssueOrder)

    \n

    Ordering options for issues returned from the connection.

    \n\n
    \n\n
    \n

    states ([IssueState!])

    \n

    A list of states to filter the issues by.

    \n\n
    \n\n
    \n\n\n

    label (Label)

    Returns a single label by name.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    name (String!)

    \n

    Label name.

    \n\n
    \n\n
    \n\n\n

    labels (LabelConnection)

    A list of labels associated with the repository.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (LabelOrder)

    \n

    Ordering options for labels returned from the connection.

    \n\n
    \n\n
    \n

    query (String)

    \n

    If provided, searches labels by name and description.

    \n\n
    \n\n
    \n\n\n

    languages (LanguageConnection)

    A list containing a breakdown of the language composition of the repository.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (LanguageOrder)

    \n

    Order for connection.

    \n\n
    \n\n
    \n\n\n

    latestRelease (Release)

    Get the latest release for the repository if one exists.

    \n\n\n\n\n\n\n\n\n\n\n\n

    licenseInfo (License)

    The license associated with the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    lockReason (RepositoryLockReason)

    The reason the repository has been locked.

    \n\n\n\n\n\n\n\n\n\n\n\n

    mentionableUsers (UserConnection!)

    A list of Users that can be mentioned in the context of the repository.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    query (String)

    \n

    Filters users with query on user name and login.

    \n\n
    \n\n
    \n\n\n

    mergeCommitAllowed (Boolean!)

    Whether or not PRs are merged with a merge commit on this repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    milestone (Milestone)

    Returns a single milestone from the current repository by number.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    number (Int!)

    \n

    The number for the milestone to be returned.

    \n\n
    \n\n
    \n\n\n

    milestones (MilestoneConnection)

    A list of milestones associated with the repository.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (MilestoneOrder)

    \n

    Ordering options for milestones.

    \n\n
    \n\n
    \n

    query (String)

    \n

    Filters milestones with a query on the title.

    \n\n
    \n\n
    \n

    states ([MilestoneState!])

    \n

    Filter by the state of the milestones.

    \n\n
    \n\n
    \n\n\n

    mirrorUrl (URI)

    The repository's original mirror URL.

    \n\n\n\n\n\n\n\n\n\n\n\n

    name (String!)

    The name of the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nameWithOwner (String!)

    The repository's name with owner.

    \n\n\n\n\n\n\n\n\n\n\n\n

    object (GitObject)

    A Git object in the repository.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    expression (String)

    \n

    A Git revision expression suitable for rev-parse.

    \n\n
    \n\n
    \n

    oid (GitObjectID)

    \n

    The Git object ID.

    \n\n
    \n\n
    \n\n\n

    openGraphImageUrl (URI!)

    The image used to represent this repository in Open Graph data.

    \n\n\n\n\n\n\n\n\n\n\n\n

    owner (RepositoryOwner!)

    The User owner of the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    packages (PackageConnection!)

    A list of packages under the owner.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    names ([String])

    \n

    Find packages by their names.

    \n\n
    \n\n
    \n

    orderBy (PackageOrder)

    \n

    Ordering of the returned packages.

    \n\n
    \n\n
    \n

    packageType (PackageType)

    \n

    Filter registry package by type.

    \n\n
    \n\n
    \n

    repositoryId (ID)

    \n

    Find packages in a repository by ID.

    \n\n
    \n\n
    \n\n\n

    parent (Repository)

    The repository parent, if this is a fork.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pinnedIssues (PinnedIssueConnection)

    A list of pinned issues for this repository.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n\n\n

    primaryLanguage (Language)

    The primary language of the repository's code.

    \n\n\n\n\n\n\n\n\n\n\n\n

    project (Project)

    Find project by number.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    number (Int!)

    \n

    The project number to find.

    \n\n
    \n\n
    \n\n\n

    projects (ProjectConnection!)

    A list of projects under the owner.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (ProjectOrder)

    \n

    Ordering options for projects returned from the connection.

    \n\n
    \n\n
    \n

    search (String)

    \n

    Query to search projects by, currently only searching by name.

    \n\n
    \n\n
    \n

    states ([ProjectState!])

    \n

    A list of states to filter the projects by.

    \n\n
    \n\n
    \n\n\n

    projectsResourcePath (URI!)

    The HTTP path listing the repository's projects.

    \n\n\n\n\n\n\n\n\n\n\n\n

    projectsUrl (URI!)

    The HTTP URL listing the repository's projects.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pullRequest (PullRequest)

    Returns a single pull request from the current repository by number.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    number (Int!)

    \n

    The number for the pull request to be returned.

    \n\n
    \n\n
    \n\n\n

    pullRequests (PullRequestConnection!)

    A list of pull requests that have been opened in the repository.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    baseRefName (String)

    \n

    The base ref name to filter the pull requests by.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    headRefName (String)

    \n

    The head ref name to filter the pull requests by.

    \n\n
    \n\n
    \n

    labels ([String!])

    \n

    A list of label names to filter the pull requests by.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (IssueOrder)

    \n

    Ordering options for pull requests returned from the connection.

    \n\n
    \n\n
    \n

    states ([PullRequestState!])

    \n

    A list of states to filter the pull requests by.

    \n\n
    \n\n
    \n\n\n

    pushedAt (DateTime)

    Identifies when the repository was last pushed to.

    \n\n\n\n\n\n\n\n\n\n\n\n

    rebaseMergeAllowed (Boolean!)

    Whether or not rebase-merging is enabled on this repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    ref (Ref)

    Fetch a given ref from the repository.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    qualifiedName (String!)

    \n

    The ref to retrieve. Fully qualified matches are checked in order\n(refs/heads/master) before falling back onto checks for short name matches (master).

    \n\n
    \n\n
    \n\n\n

    refs (RefConnection)

    Fetch a list of refs from the repository.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    direction (OrderDirection)

    \n

    DEPRECATED: use orderBy. The ordering direction.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (RefOrder)

    \n

    Ordering options for refs returned from the connection.

    \n\n
    \n\n
    \n

    query (String)

    \n

    Filters refs with query on name.

    \n\n
    \n\n
    \n

    refPrefix (String!)

    \n

    A ref name prefix like refs/heads/, refs/tags/, etc.

    \n\n
    \n\n
    \n\n\n

    release (Release)

    Lookup a single release given various criteria.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    tagName (String!)

    \n

    The name of the Tag the Release was created from.

    \n\n
    \n\n
    \n\n\n

    releases (ReleaseConnection!)

    List of releases which are dependent on this repository.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (ReleaseOrder)

    \n

    Order for connection.

    \n\n
    \n\n
    \n\n\n

    repositoryTopics (RepositoryTopicConnection!)

    A list of applied repository-topic associations for this repository.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n\n\n

    resourcePath (URI!)

    The HTTP path for this repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    securityPolicyUrl (URI)

    The security policy URL.

    \n\n\n\n\n\n\n\n\n\n\n\n

    shortDescriptionHTML (HTML!)

    A description of the repository, rendered to HTML without any links in it.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    limit (Int)

    \n

    How many characters to return.

    \n

    The default value is 200.

    \n
    \n\n
    \n\n\n

    squashMergeAllowed (Boolean!)

    Whether or not squash-merging is enabled on this repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    sshUrl (GitSSHRemote!)

    The SSH URL to clone this repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    stargazerCount (Int!)

    Returns a count of how many stargazers there are on this object.

    \n\n\n\n\n\n\n\n\n\n\n\n

    stargazers (StargazerConnection!)

    A list of users who have starred this starrable.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (StarOrder)

    \n

    Order for connection.

    \n\n
    \n\n
    \n\n\n

    submodules (SubmoduleConnection!)

    Returns a list of all submodules in this repository parsed from the\n.gitmodules file as of the default branch's HEAD commit.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n\n\n

    tempCloneToken (String)

    Temporary authentication token for cloning this repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    templateRepository (Repository)

    The repository from which this repository was generated, if any.

    \n\n\n\n\n\n\n\n\n\n\n\n

    updatedAt (DateTime!)

    Identifies the date and time when the object was last updated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    url (URI!)

    The HTTP URL for this repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    usesCustomOpenGraphImage (Boolean!)

    Whether this repository has a custom image to use with Open Graph as opposed to being represented by the owner's avatar.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerCanAdminister (Boolean!)

    Indicates whether the viewer has admin permissions on this repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerCanCreateProjects (Boolean!)

    Can the current viewer create new projects on this owner.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerCanSubscribe (Boolean!)

    Check if the viewer is able to change their subscription status for the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerCanUpdateTopics (Boolean!)

    Indicates whether the viewer can update the topics of this repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerDefaultCommitEmail (String)

    The last commit email for the viewer.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerDefaultMergeMethod (PullRequestMergeMethod!)

    The last used merge method by the viewer or the default for the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerHasStarred (Boolean!)

    Returns a boolean indicating whether the viewing user has starred this starrable.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerPermission (RepositoryPermission)

    The users permission level on the repository. Will return null if authenticated as an GitHub App.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerPossibleCommitEmails ([String!])

    A list of emails this viewer can commit with.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerSubscription (SubscriptionState)

    Identifies if the viewer is watching, not watching, or ignoring the subscribable entity.

    \n\n\n\n\n\n\n\n\n\n\n\n

    vulnerabilityAlerts (RepositoryVulnerabilityAlertConnection)

    A list of vulnerability alerts that are on this repository.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n\n\n

    watchers (UserConnection!)

    A list of users watching the repository.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n RepositoryCollaboratorConnection\n

    \n

    The connection type for User.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([RepositoryCollaboratorEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([User])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n RepositoryCollaboratorEdge\n

    \n

    Represents a user who is a collaborator of a repository.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    permission (RepositoryPermission!)

    The permission the user has on the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    permissionSources ([PermissionSource!])

    A list of sources for the user's access to the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n RepositoryConnection\n

    \n

    A list of repositories owned by the subject.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([RepositoryEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([Repository])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalDiskUsage (Int!)

    The total size in kilobytes of all repositories in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n RepositoryContactLink\n

    \n

    A repository contact link.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    about (String!)

    The contact link purpose.

    \n\n\n\n\n\n\n\n\n\n\n\n

    name (String!)

    The contact link name.

    \n\n\n\n\n\n\n\n\n\n\n\n

    url (URI!)

    The contact link URL.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n RepositoryEdge\n

    \n

    An edge in a connection.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (Repository)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n RepositoryInteractionAbility\n

    \n

    Repository interaction limit that applies to this object.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    expiresAt (DateTime)

    The time the currently active limit expires.

    \n\n\n\n\n\n\n\n\n\n\n\n

    limit (RepositoryInteractionLimit!)

    The current limit that is enabled on this object.

    \n\n\n\n\n\n\n\n\n\n\n\n

    origin (RepositoryInteractionLimitOrigin!)

    The origin of the currently active interaction limit.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n RepositoryInvitation\n

    \n

    An invitation for a user to be added to a repository.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    email (String)

    The email address that received the invitation.

    \n\n\n\n\n\n\n\n\n\n\n\n

    invitee (User)

    The user who received the invitation.

    \n\n\n\n\n\n\n\n\n\n\n\n

    inviter (User!)

    The user who created the invitation.

    \n\n\n\n\n\n\n\n\n\n\n\n

    permalink (URI!)

    The permalink for this repository invitation.

    \n\n\n\n\n\n\n\n\n\n\n\n

    permission (RepositoryPermission!)

    The permission granted on this repository by this invitation.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repository (RepositoryInfo)

    The Repository the user is invited to.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n RepositoryInvitationConnection\n

    \n

    The connection type for RepositoryInvitation.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([RepositoryInvitationEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([RepositoryInvitation])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n RepositoryInvitationEdge\n

    \n

    An edge in a connection.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (RepositoryInvitation)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n RepositoryTopic\n

    \n

    A repository-topic connects a repository to a topic.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    resourcePath (URI!)

    The HTTP path for this repository-topic.

    \n\n\n\n\n\n\n\n\n\n\n\n

    topic (Topic!)

    The topic.

    \n\n\n\n\n\n\n\n\n\n\n\n

    url (URI!)

    The HTTP URL for this repository-topic.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n RepositoryTopicConnection\n

    \n

    The connection type for RepositoryTopic.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([RepositoryTopicEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([RepositoryTopic])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n RepositoryTopicEdge\n

    \n

    An edge in a connection.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (RepositoryTopic)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n RepositoryVisibilityChangeDisableAuditEntry\n

    \n

    Audit log entry for a repository_visibility_change.disable event.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    action (String!)

    The action name.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actor (AuditEntryActor)

    The user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorIp (String)

    The IP address of the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLocation (ActorLocation)

    A readable representation of the actor's location.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLogin (String)

    The username of the user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorResourcePath (URI)

    The HTTP path for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorUrl (URI)

    The HTTP URL for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (PreciseDateTime!)

    The time the action was initiated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    enterpriseResourcePath (URI)

    The HTTP path for this enterprise.

    \n\n\n\n\n\n\n\n\n\n\n\n

    enterpriseSlug (String)

    The slug of the enterprise.

    \n\n\n\n\n\n\n\n\n\n\n\n

    enterpriseUrl (URI)

    The HTTP URL for this enterprise.

    \n\n\n\n\n\n\n\n\n\n\n\n

    operationType (OperationType)

    The corresponding operation type for the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organization (Organization)

    The Organization associated with the Audit Entry.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationName (String)

    The name of the Organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationResourcePath (URI)

    The HTTP path for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationUrl (URI)

    The HTTP URL for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    user (User)

    The user affected by the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userLogin (String)

    For actions involving two users, the actor is the initiator and the user is the affected user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userResourcePath (URI)

    The HTTP path for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userUrl (URI)

    The HTTP URL for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n RepositoryVisibilityChangeEnableAuditEntry\n

    \n

    Audit log entry for a repository_visibility_change.enable event.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    action (String!)

    The action name.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actor (AuditEntryActor)

    The user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorIp (String)

    The IP address of the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLocation (ActorLocation)

    A readable representation of the actor's location.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLogin (String)

    The username of the user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorResourcePath (URI)

    The HTTP path for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorUrl (URI)

    The HTTP URL for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (PreciseDateTime!)

    The time the action was initiated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    enterpriseResourcePath (URI)

    The HTTP path for this enterprise.

    \n\n\n\n\n\n\n\n\n\n\n\n

    enterpriseSlug (String)

    The slug of the enterprise.

    \n\n\n\n\n\n\n\n\n\n\n\n

    enterpriseUrl (URI)

    The HTTP URL for this enterprise.

    \n\n\n\n\n\n\n\n\n\n\n\n

    operationType (OperationType)

    The corresponding operation type for the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organization (Organization)

    The Organization associated with the Audit Entry.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationName (String)

    The name of the Organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationResourcePath (URI)

    The HTTP path for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationUrl (URI)

    The HTTP URL for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    user (User)

    The user affected by the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userLogin (String)

    For actions involving two users, the actor is the initiator and the user is the affected user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userResourcePath (URI)

    The HTTP path for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userUrl (URI)

    The HTTP URL for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n RepositoryVulnerabilityAlert\n

    \n

    A alert for a repository with an affected vulnerability.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    createdAt (DateTime!)

    When was the alert created?.

    \n\n\n\n\n\n\n\n\n\n\n\n

    dismissReason (String)

    The reason the alert was dismissed.

    \n\n\n\n\n\n\n\n\n\n\n\n

    dismissedAt (DateTime)

    When was the alert dismissed?.

    \n\n\n\n\n\n\n\n\n\n\n\n

    dismisser (User)

    The user who dismissed the alert.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repository (Repository!)

    The associated repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    securityAdvisory (SecurityAdvisory)

    The associated security advisory.

    \n\n\n\n\n\n\n\n\n\n\n\n

    securityVulnerability (SecurityVulnerability)

    The associated security vulnerability.

    \n\n\n\n\n\n\n\n\n\n\n\n

    vulnerableManifestFilename (String!)

    The vulnerable manifest filename.

    \n\n\n\n\n\n\n\n\n\n\n\n

    vulnerableManifestPath (String!)

    The vulnerable manifest path.

    \n\n\n\n\n\n\n\n\n\n\n\n

    vulnerableRequirements (String)

    The vulnerable requirements.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n RepositoryVulnerabilityAlertConnection\n

    \n

    The connection type for RepositoryVulnerabilityAlert.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([RepositoryVulnerabilityAlertEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([RepositoryVulnerabilityAlert])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n RepositoryVulnerabilityAlertEdge\n

    \n

    An edge in a connection.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (RepositoryVulnerabilityAlert)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n RestrictedContribution\n

    \n

    Represents a private contribution a user made on GitHub.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    isRestricted (Boolean!)

    Whether this contribution is associated with a record you do not have access to. For\nexample, your own 'first issue' contribution may have been made on a repository you can no\nlonger access.

    \n\n\n\n\n\n\n\n\n\n\n\n

    occurredAt (DateTime!)

    When this contribution was made.

    \n\n\n\n\n\n\n\n\n\n\n\n

    resourcePath (URI!)

    The HTTP path for this contribution.

    \n\n\n\n\n\n\n\n\n\n\n\n

    url (URI!)

    The HTTP URL for this contribution.

    \n\n\n\n\n\n\n\n\n\n\n\n

    user (User!)

    The user who made this contribution.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n ReviewDismissalAllowance\n

    \n

    A team or user who has the ability to dismiss a review on a protected branch.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    actor (ReviewDismissalAllowanceActor)

    The actor that can dismiss.

    \n\n\n\n\n\n\n\n\n\n\n\n

    branchProtectionRule (BranchProtectionRule)

    Identifies the branch protection rule associated with the allowed user or team.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n ReviewDismissalAllowanceConnection\n

    \n

    The connection type for ReviewDismissalAllowance.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([ReviewDismissalAllowanceEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([ReviewDismissalAllowance])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n ReviewDismissalAllowanceEdge\n

    \n

    An edge in a connection.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (ReviewDismissalAllowance)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n ReviewDismissedEvent\n

    \n

    Represents areview_dismissedevent on a given issue or pull request.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    actor (Actor)

    Identifies the actor who performed the event.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    databaseId (Int)

    Identifies the primary key from the database.

    \n\n\n\n\n\n\n\n\n\n\n\n

    dismissalMessage (String)

    Identifies the optional message associated with thereview_dismissedevent.

    \n\n\n\n\n\n\n\n\n\n\n\n

    dismissalMessageHTML (String)

    Identifies the optional message associated with the event, rendered to HTML.

    \n\n\n\n\n\n\n\n\n\n\n\n

    previousReviewState (PullRequestReviewState!)

    Identifies the previous state of the review with thereview_dismissedevent.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pullRequest (PullRequest!)

    PullRequest referenced by event.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pullRequestCommit (PullRequestCommit)

    Identifies the commit which caused the review to become stale.

    \n\n\n\n\n\n\n\n\n\n\n\n

    resourcePath (URI!)

    The HTTP path for this review dismissed event.

    \n\n\n\n\n\n\n\n\n\n\n\n

    review (PullRequestReview)

    Identifies the review associated with thereview_dismissedevent.

    \n\n\n\n\n\n\n\n\n\n\n\n

    url (URI!)

    The HTTP URL for this review dismissed event.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n ReviewRequest\n

    \n

    A request for a user to review a pull request.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    asCodeOwner (Boolean!)

    Whether this request was created for a code owner.

    \n\n\n\n\n\n\n\n\n\n\n\n

    databaseId (Int)

    Identifies the primary key from the database.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pullRequest (PullRequest!)

    Identifies the pull request associated with this review request.

    \n\n\n\n\n\n\n\n\n\n\n\n

    requestedReviewer (RequestedReviewer)

    The reviewer that is requested.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n ReviewRequestConnection\n

    \n

    The connection type for ReviewRequest.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([ReviewRequestEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([ReviewRequest])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n ReviewRequestEdge\n

    \n

    An edge in a connection.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (ReviewRequest)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n ReviewRequestRemovedEvent\n

    \n

    Represents anreview_request_removedevent on a given pull request.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    actor (Actor)

    Identifies the actor who performed the event.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pullRequest (PullRequest!)

    PullRequest referenced by event.

    \n\n\n\n\n\n\n\n\n\n\n\n

    requestedReviewer (RequestedReviewer)

    Identifies the reviewer whose review request was removed.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n ReviewRequestedEvent\n

    \n

    Represents anreview_requestedevent on a given pull request.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    actor (Actor)

    Identifies the actor who performed the event.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pullRequest (PullRequest!)

    PullRequest referenced by event.

    \n\n\n\n\n\n\n\n\n\n\n\n

    requestedReviewer (RequestedReviewer)

    Identifies the reviewer whose review was requested.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n ReviewStatusHovercardContext\n

    \n

    A hovercard context with a message describing the current code review state of the pull\nrequest.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    message (String!)

    A string describing this context.

    \n\n\n\n\n\n\n\n\n\n\n\n

    octicon (String!)

    An octicon to accompany this context.

    \n\n\n\n\n\n\n\n\n\n\n\n

    reviewDecision (PullRequestReviewDecision)

    The current status of the pull request with respect to code review.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n SavedReply\n

    \n

    A Saved Reply is text a user can use to reply quickly.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    body (String!)

    The body of the saved reply.

    \n\n\n\n\n\n\n\n\n\n\n\n

    bodyHTML (HTML!)

    The saved reply body rendered to HTML.

    \n\n\n\n\n\n\n\n\n\n\n\n

    databaseId (Int)

    Identifies the primary key from the database.

    \n\n\n\n\n\n\n\n\n\n\n\n

    title (String!)

    The title of the saved reply.

    \n\n\n\n\n\n\n\n\n\n\n\n

    user (Actor)

    The user that saved this reply.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n SavedReplyConnection\n

    \n

    The connection type for SavedReply.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([SavedReplyEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([SavedReply])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n SavedReplyEdge\n

    \n

    An edge in a connection.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (SavedReply)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n SearchResultItemConnection\n

    \n

    A list of results that matched against a search query.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    codeCount (Int!)

    The number of pieces of code that matched the search query.

    \n\n\n\n\n\n\n\n\n\n\n\n

    edges ([SearchResultItemEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    issueCount (Int!)

    The number of issues that matched the search query.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([SearchResultItem])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repositoryCount (Int!)

    The number of repositories that matched the search query.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userCount (Int!)

    The number of users that matched the search query.

    \n\n\n\n\n\n\n\n\n\n\n\n

    wikiCount (Int!)

    The number of wiki pages that matched the search query.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n SearchResultItemEdge\n

    \n

    An edge in a connection.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (SearchResultItem)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n

    textMatches ([TextMatch])

    Text matches on the result found.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n SecurityAdvisory\n

    \n

    A GitHub Security Advisory.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cvss (CVSS!)

    The CVSS associated with this advisory.

    \n\n\n\n\n\n\n\n\n\n\n\n

    cwes (CWEConnection!)

    CWEs associated with this Advisory.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n\n\n

    databaseId (Int)

    Identifies the primary key from the database.

    \n\n\n\n\n\n\n\n\n\n\n\n

    description (String!)

    This is a long plaintext description of the advisory.

    \n\n\n\n\n\n\n\n\n\n\n\n

    ghsaId (String!)

    The GitHub Security Advisory ID.

    \n\n\n\n\n\n\n\n\n\n\n\n

    identifiers ([SecurityAdvisoryIdentifier!]!)

    A list of identifiers for this advisory.

    \n\n\n\n\n\n\n\n\n\n\n\n

    notificationsPermalink (URI)

    The permalink for the advisory's dependabot alerts page.

    \n\n\n\n\n\n\n\n\n\n\n\n

    origin (String!)

    The organization that originated the advisory.

    \n\n\n\n\n\n\n\n\n\n\n\n

    permalink (URI)

    The permalink for the advisory.

    \n\n\n\n\n\n\n\n\n\n\n\n

    publishedAt (DateTime!)

    When the advisory was published.

    \n\n\n\n\n\n\n\n\n\n\n\n

    references ([SecurityAdvisoryReference!]!)

    A list of references for this advisory.

    \n\n\n\n\n\n\n\n\n\n\n\n

    severity (SecurityAdvisorySeverity!)

    The severity of the advisory.

    \n\n\n\n\n\n\n\n\n\n\n\n

    summary (String!)

    A short plaintext summary of the advisory.

    \n\n\n\n\n\n\n\n\n\n\n\n

    updatedAt (DateTime!)

    When the advisory was last updated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    vulnerabilities (SecurityVulnerabilityConnection!)

    Vulnerabilities associated with this Advisory.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    ecosystem (SecurityAdvisoryEcosystem)

    \n

    An ecosystem to filter vulnerabilities by.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (SecurityVulnerabilityOrder)

    \n

    Ordering options for the returned topics.

    \n\n
    \n\n
    \n

    package (String)

    \n

    A package name to filter vulnerabilities by.

    \n\n
    \n\n
    \n

    severities ([SecurityAdvisorySeverity!])

    \n

    A list of severities to filter vulnerabilities by.

    \n\n
    \n\n
    \n\n\n

    withdrawnAt (DateTime)

    When the advisory was withdrawn, if it has been withdrawn.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n SecurityAdvisoryConnection\n

    \n

    The connection type for SecurityAdvisory.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([SecurityAdvisoryEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([SecurityAdvisory])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n SecurityAdvisoryEdge\n

    \n

    An edge in a connection.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (SecurityAdvisory)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n SecurityAdvisoryIdentifier\n

    \n

    A GitHub Security Advisory Identifier.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    type (String!)

    The identifier type, e.g. GHSA, CVE.

    \n\n\n\n\n\n\n\n\n\n\n\n

    value (String!)

    The identifier.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n SecurityAdvisoryPackage\n

    \n

    An individual package.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    ecosystem (SecurityAdvisoryEcosystem!)

    The ecosystem the package belongs to, e.g. RUBYGEMS, NPM.

    \n\n\n\n\n\n\n\n\n\n\n\n

    name (String!)

    The package name.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n SecurityAdvisoryPackageVersion\n

    \n

    An individual package version.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    identifier (String!)

    The package name or version.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n SecurityAdvisoryReference\n

    \n

    A GitHub Security Advisory Reference.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    url (URI!)

    A publicly accessible reference.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n SecurityVulnerability\n

    \n

    An individual vulnerability within an Advisory.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    advisory (SecurityAdvisory!)

    The Advisory associated with this Vulnerability.

    \n\n\n\n\n\n\n\n\n\n\n\n

    firstPatchedVersion (SecurityAdvisoryPackageVersion)

    The first version containing a fix for the vulnerability.

    \n\n\n\n\n\n\n\n\n\n\n\n

    package (SecurityAdvisoryPackage!)

    A description of the vulnerable package.

    \n\n\n\n\n\n\n\n\n\n\n\n

    severity (SecurityAdvisorySeverity!)

    The severity of the vulnerability within this package.

    \n\n\n\n\n\n\n\n\n\n\n\n

    updatedAt (DateTime!)

    When the vulnerability was last updated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    vulnerableVersionRange (String!)

    A string that describes the vulnerable package versions.\nThis string follows a basic syntax with a few forms.

    \n
      \n
    • = 0.2.0 denotes a single vulnerable version.
    • \n
    • <= 1.0.8 denotes a version range up to and including the specified version
    • \n
    • < 0.1.11 denotes a version range up to, but excluding, the specified version
    • \n
    • >= 4.3.0, < 4.3.5 denotes a version range with a known minimum and maximum version.
    • \n
    • >= 0.0.1 denotes a version range with a known minimum, but no known maximum.
    • \n

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n SecurityVulnerabilityConnection\n

    \n

    The connection type for SecurityVulnerability.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([SecurityVulnerabilityEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([SecurityVulnerability])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n SecurityVulnerabilityEdge\n

    \n

    An edge in a connection.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (SecurityVulnerability)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n SmimeSignature\n

    \n

    Represents an S/MIME signature on a Commit or Tag.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    email (String!)

    Email used to sign this object.

    \n\n\n\n\n\n\n\n\n\n\n\n

    isValid (Boolean!)

    True if the signature is valid and verified by GitHub.

    \n\n\n\n\n\n\n\n\n\n\n\n

    payload (String!)

    Payload for GPG signing object. Raw ODB object without the signature header.

    \n\n\n\n\n\n\n\n\n\n\n\n

    signature (String!)

    ASCII-armored signature header from object.

    \n\n\n\n\n\n\n\n\n\n\n\n

    signer (User)

    GitHub user corresponding to the email signing this commit.

    \n\n\n\n\n\n\n\n\n\n\n\n

    state (GitSignatureState!)

    The state of this signature. VALID if signature is valid and verified by\nGitHub, otherwise represents reason why signature is considered invalid.

    \n\n\n\n\n\n\n\n\n\n\n\n

    wasSignedByGitHub (Boolean!)

    True if the signature was made with GitHub's signing key.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n SponsorableItemConnection\n

    \n

    The connection type for SponsorableItem.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([SponsorableItemEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([SponsorableItem])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n SponsorableItemEdge\n

    \n

    An edge in a connection.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (SponsorableItem)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n SponsorsGoal\n

    \n

    A goal associated with a GitHub Sponsors listing, representing a target the sponsored maintainer would like to attain.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    description (String)

    A description of the goal from the maintainer.

    \n\n\n\n\n\n\n\n\n\n\n\n

    kind (SponsorsGoalKind!)

    What the objective of this goal is.

    \n\n\n\n\n\n\n\n\n\n\n\n

    percentComplete (Int!)

    The percentage representing how complete this goal is, between 0-100.

    \n\n\n\n\n\n\n\n\n\n\n\n

    targetValue (Int!)

    What the goal amount is. Represents a dollar amount for monthly sponsorship\namount goals. Represents a count of unique sponsors for total sponsors count goals.

    \n\n\n\n\n\n\n\n\n\n\n\n

    title (String!)

    A brief summary of the kind and target value of this goal.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n SponsorsListing\n

    \n

    A GitHub Sponsors listing.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    activeGoal (SponsorsGoal)

    The current goal the maintainer is trying to reach with GitHub Sponsors, if any.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    fullDescription (String!)

    The full description of the listing.

    \n\n\n\n\n\n\n\n\n\n\n\n

    fullDescriptionHTML (HTML!)

    The full description of the listing rendered to HTML.

    \n\n\n\n\n\n\n\n\n\n\n\n

    name (String!)

    The listing's full name.

    \n\n\n\n\n\n\n\n\n\n\n\n

    shortDescription (String!)

    The short description of the listing.

    \n\n\n\n\n\n\n\n\n\n\n\n

    slug (String!)

    The short name of the listing.

    \n\n\n\n\n\n\n\n\n\n\n\n

    tiers (SponsorsTierConnection)

    The published tiers for this GitHub Sponsors listing.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (SponsorsTierOrder)

    \n

    Ordering options for Sponsors tiers returned from the connection.

    \n\n
    \n\n
    \n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n SponsorsTier\n

    \n

    A GitHub Sponsors tier associated with a GitHub Sponsors listing.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    adminInfo (SponsorsTierAdminInfo)

    SponsorsTier information only visible to users that can administer the associated Sponsors listing.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    description (String!)

    The description of the tier.

    \n\n\n\n\n\n\n\n\n\n\n\n

    descriptionHTML (HTML!)

    The tier description rendered to HTML.

    \n\n\n\n\n\n\n\n\n\n\n\n

    monthlyPriceInCents (Int!)

    How much this tier costs per month in cents.

    \n\n\n\n\n\n\n\n\n\n\n\n

    monthlyPriceInDollars (Int!)

    How much this tier costs per month in dollars.

    \n\n\n\n\n\n\n\n\n\n\n\n

    name (String!)

    The name of the tier.

    \n\n\n\n\n\n\n\n\n\n\n\n

    sponsorsListing (SponsorsListing!)

    The sponsors listing that this tier belongs to.

    \n\n\n\n\n\n\n\n\n\n\n\n

    updatedAt (DateTime!)

    Identifies the date and time when the object was last updated.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n SponsorsTierAdminInfo\n

    \n

    SponsorsTier information only visible to users that can administer the associated Sponsors listing.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    sponsorships (SponsorshipConnection!)

    The sponsorships associated with this tier.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    includePrivate (Boolean)

    \n

    Whether or not to include private sponsorships in the result set.

    \n

    The default value is false.

    \n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (SponsorshipOrder)

    \n

    Ordering options for sponsorships returned from this connection. If left\nblank, the sponsorships will be ordered based on relevancy to the viewer.

    \n\n
    \n\n
    \n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n SponsorsTierConnection\n

    \n

    The connection type for SponsorsTier.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([SponsorsTierEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([SponsorsTier])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n SponsorsTierEdge\n

    \n

    An edge in a connection.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (SponsorsTier)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n Sponsorship\n

    \n

    A sponsorship relationship between a sponsor and a maintainer.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    maintainer (User!)

    The entity that is being sponsored.

    \n\n\n\n\n\n\n
    \n

    Deprecation notice

    \n

    maintainer is deprecated.

    Sponsorship.maintainer will be removed. Use Sponsorship.sponsorable instead. Removal on 2020-04-01 UTC.

    \n
    \n\n\n\n\n\n\n

    privacyLevel (SponsorshipPrivacy!)

    The privacy level for this sponsorship.

    \n\n\n\n\n\n\n\n\n\n\n\n

    sponsor (User)

    The user that is sponsoring. Returns null if the sponsorship is private or if sponsor is not a user.

    \n\n\n\n\n\n\n
    \n

    Deprecation notice

    \n

    sponsor is deprecated.

    Sponsorship.sponsor will be removed. Use Sponsorship.sponsorEntity instead. Removal on 2020-10-01 UTC.

    \n
    \n\n\n\n\n\n\n

    sponsorEntity (Sponsor)

    The user or organization that is sponsoring, if you have permission to view them.

    \n\n\n\n\n\n\n\n\n\n\n\n

    sponsorable (Sponsorable!)

    The entity that is being sponsored.

    \n\n\n\n\n\n\n\n\n\n\n\n

    tier (SponsorsTier)

    The associated sponsorship tier.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n SponsorshipConnection\n

    \n

    The connection type for Sponsorship.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([SponsorshipEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([Sponsorship])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n SponsorshipEdge\n

    \n

    An edge in a connection.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (Sponsorship)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n StargazerConnection\n

    \n

    The connection type for User.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([StargazerEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([User])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n StargazerEdge\n

    \n

    Represents a user that's starred a repository.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    starredAt (DateTime!)

    Identifies when the item was starred.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n StarredRepositoryConnection\n

    \n

    The connection type for Repository.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([StarredRepositoryEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    isOverLimit (Boolean!)

    Is the list of stars for this user truncated? This is true for users that have many stars.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([Repository])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n StarredRepositoryEdge\n

    \n

    Represents a starred repository.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    starredAt (DateTime!)

    Identifies when the item was starred.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n Status\n

    \n

    Represents a commit status.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    combinedContexts (StatusCheckRollupContextConnection!)

    A list of status contexts and check runs for this commit.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n\n\n

    commit (Commit)

    The commit this status is attached to.

    \n\n\n\n\n\n\n\n\n\n\n\n

    context (StatusContext)

    Looks up an individual status context by context name.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    name (String!)

    \n

    The context name.

    \n\n
    \n\n
    \n\n\n

    contexts ([StatusContext!]!)

    The individual status contexts for this commit.

    \n\n\n\n\n\n\n\n\n\n\n\n

    state (StatusState!)

    The combined commit status.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n StatusCheckRollup\n

    \n

    Represents the rollup for both the check runs and status for a commit.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    commit (Commit)

    The commit the status and check runs are attached to.

    \n\n\n\n\n\n\n\n\n\n\n\n

    contexts (StatusCheckRollupContextConnection!)

    A list of status contexts and check runs for this commit.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n\n\n

    state (StatusState!)

    The combined status for the commit.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n StatusCheckRollupContextConnection\n

    \n

    The connection type for StatusCheckRollupContext.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([StatusCheckRollupContextEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([StatusCheckRollupContext])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n StatusCheckRollupContextEdge\n

    \n

    An edge in a connection.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (StatusCheckRollupContext)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n StatusContext\n

    \n

    Represents an individual commit status context.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    avatarUrl (URI)

    The avatar of the OAuth application or the user that created the status.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    size (Int)

    \n

    The size of the resulting square image.

    \n

    The default value is 40.

    \n
    \n\n
    \n\n\n

    commit (Commit)

    This commit this status context is attached to.

    \n\n\n\n\n\n\n\n\n\n\n\n

    context (String!)

    The name of this status context.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    creator (Actor)

    The actor who created this status context.

    \n\n\n\n\n\n\n\n\n\n\n\n

    description (String)

    The description for this status context.

    \n\n\n\n\n\n\n\n\n\n\n\n

    state (StatusState!)

    The state of this status context.

    \n\n\n\n\n\n\n\n\n\n\n\n

    targetUrl (URI)

    The URL for this status context.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n Submodule\n

    \n

    A pointer to a repository at a specific revision embedded inside another repository.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    branch (String)

    The branch of the upstream submodule for tracking updates.

    \n\n\n\n\n\n\n\n\n\n\n\n

    gitUrl (URI!)

    The git URL of the submodule repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    name (String!)

    The name of the submodule in .gitmodules.

    \n\n\n\n\n\n\n\n\n\n\n\n

    path (String!)

    The path in the superproject that this submodule is located in.

    \n\n\n\n\n\n\n\n\n\n\n\n

    subprojectCommitOid (GitObjectID)

    The commit revision of the subproject repository being tracked by the submodule.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n SubmoduleConnection\n

    \n

    The connection type for Submodule.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([SubmoduleEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([Submodule])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n SubmoduleEdge\n

    \n

    An edge in a connection.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (Submodule)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n SubscribedEvent\n

    \n

    Represents asubscribedevent on a given Subscribable.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    actor (Actor)

    Identifies the actor who performed the event.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    subscribable (Subscribable!)

    Object referenced by event.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n SuggestedReviewer\n

    \n

    A suggestion to review a pull request based on a user's commit history and review comments.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    isAuthor (Boolean!)

    Is this suggestion based on past commits?.

    \n\n\n\n\n\n\n\n\n\n\n\n

    isCommenter (Boolean!)

    Is this suggestion based on past review comments?.

    \n\n\n\n\n\n\n\n\n\n\n\n

    reviewer (User!)

    Identifies the user suggested to review the pull request.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n Tag\n

    \n

    Represents a Git tag.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    abbreviatedOid (String!)

    An abbreviated version of the Git object ID.

    \n\n\n\n\n\n\n\n\n\n\n\n

    commitResourcePath (URI!)

    The HTTP path for this Git object.

    \n\n\n\n\n\n\n\n\n\n\n\n

    commitUrl (URI!)

    The HTTP URL for this Git object.

    \n\n\n\n\n\n\n\n\n\n\n\n

    message (String)

    The Git tag message.

    \n\n\n\n\n\n\n\n\n\n\n\n

    name (String!)

    The Git tag name.

    \n\n\n\n\n\n\n\n\n\n\n\n

    oid (GitObjectID!)

    The Git object ID.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repository (Repository!)

    The Repository the Git object belongs to.

    \n\n\n\n\n\n\n\n\n\n\n\n

    tagger (GitActor)

    Details about the tag author.

    \n\n\n\n\n\n\n\n\n\n\n\n

    target (GitObject!)

    The Git object the tag points to.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n Team\n

    \n

    A team of users in an organization.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    ancestors (TeamConnection!)

    A list of teams that are ancestors of this team.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n\n\n

    avatarUrl (URI)

    A URL pointing to the team's avatar.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    size (Int)

    \n

    The size in pixels of the resulting square image.

    \n

    The default value is 400.

    \n
    \n\n
    \n\n\n

    childTeams (TeamConnection!)

    List of child teams belonging to this team.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    immediateOnly (Boolean)

    \n

    Whether to list immediate child teams or all descendant child teams.

    \n

    The default value is true.

    \n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (TeamOrder)

    \n

    Order for connection.

    \n\n
    \n\n
    \n

    userLogins ([String!])

    \n

    User logins to filter by.

    \n\n
    \n\n
    \n\n\n

    combinedSlug (String!)

    The slug corresponding to the organization and team.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    databaseId (Int)

    Identifies the primary key from the database.

    \n\n\n\n\n\n\n\n\n\n\n\n

    description (String)

    The description of the team.

    \n\n\n\n\n\n\n\n\n\n\n\n

    discussion (TeamDiscussion)

    Find a team discussion by its number.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    number (Int!)

    \n

    The sequence number of the discussion to find.

    \n\n
    \n\n
    \n\n\n

    discussions (TeamDiscussionConnection!)

    A list of team discussions.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    isPinned (Boolean)

    \n

    If provided, filters discussions according to whether or not they are pinned.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (TeamDiscussionOrder)

    \n

    Order for connection.

    \n\n
    \n\n
    \n\n\n

    discussionsResourcePath (URI!)

    The HTTP path for team discussions.

    \n\n\n\n\n\n\n\n\n\n\n\n

    discussionsUrl (URI!)

    The HTTP URL for team discussions.

    \n\n\n\n\n\n\n\n\n\n\n\n

    editTeamResourcePath (URI!)

    The HTTP path for editing this team.

    \n\n\n\n\n\n\n\n\n\n\n\n

    editTeamUrl (URI!)

    The HTTP URL for editing this team.

    \n\n\n\n\n\n\n\n\n\n\n\n

    invitations (OrganizationInvitationConnection)

    A list of pending invitations for users to this team.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n\n\n

    memberStatuses (UserStatusConnection!)

    Get the status messages members of this entity have set that are either public or visible only to the organization.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (UserStatusOrder)

    \n

    Ordering options for user statuses returned from the connection.

    \n\n
    \n\n
    \n\n\n

    members (TeamMemberConnection!)

    A list of users who are members of this team.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    membership (TeamMembershipType)

    \n

    Filter by membership type.

    \n

    The default value is ALL.

    \n
    \n\n
    \n

    orderBy (TeamMemberOrder)

    \n

    Order for the connection.

    \n\n
    \n\n
    \n

    query (String)

    \n

    The search string to look for.

    \n\n
    \n\n
    \n

    role (TeamMemberRole)

    \n

    Filter by team member role.

    \n\n
    \n\n
    \n\n\n

    membersResourcePath (URI!)

    The HTTP path for the team' members.

    \n\n\n\n\n\n\n\n\n\n\n\n

    membersUrl (URI!)

    The HTTP URL for the team' members.

    \n\n\n\n\n\n\n\n\n\n\n\n

    name (String!)

    The name of the team.

    \n\n\n\n\n\n\n\n\n\n\n\n

    newTeamResourcePath (URI!)

    The HTTP path creating a new team.

    \n\n\n\n\n\n\n\n\n\n\n\n

    newTeamUrl (URI!)

    The HTTP URL creating a new team.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organization (Organization!)

    The organization that owns this team.

    \n\n\n\n\n\n\n\n\n\n\n\n

    parentTeam (Team)

    The parent team of the team.

    \n\n\n\n\n\n\n\n\n\n\n\n

    privacy (TeamPrivacy!)

    The level of privacy the team has.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repositories (TeamRepositoryConnection!)

    A list of repositories this team has access to.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (TeamRepositoryOrder)

    \n

    Order for the connection.

    \n\n
    \n\n
    \n

    query (String)

    \n

    The search string to look for.

    \n\n
    \n\n
    \n\n\n

    repositoriesResourcePath (URI!)

    The HTTP path for this team's repositories.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repositoriesUrl (URI!)

    The HTTP URL for this team's repositories.

    \n\n\n\n\n\n\n\n\n\n\n\n

    resourcePath (URI!)

    The HTTP path for this team.

    \n\n\n\n\n\n\n\n\n\n\n\n

    reviewRequestDelegationAlgorithm (TeamReviewAssignmentAlgorithm)

    What algorithm is used for review assignment for this team.

    \n\n\n\n\n
    \n

    Preview notice

    \n

    reviewRequestDelegationAlgorithm is available under the Team review assignments preview. During the preview period, the API may change without notice.

    \n
    \n\n\n\n\n\n\n\n\n

    reviewRequestDelegationEnabled (Boolean!)

    True if review assignment is enabled for this team.

    \n\n\n\n\n
    \n

    Preview notice

    \n

    reviewRequestDelegationEnabled is available under the Team review assignments preview. During the preview period, the API may change without notice.

    \n
    \n\n\n\n\n\n\n\n\n

    reviewRequestDelegationMemberCount (Int)

    How many team members are required for review assignment for this team.

    \n\n\n\n\n
    \n

    Preview notice

    \n

    reviewRequestDelegationMemberCount is available under the Team review assignments preview. During the preview period, the API may change without notice.

    \n
    \n\n\n\n\n\n\n\n\n

    reviewRequestDelegationNotifyTeam (Boolean!)

    When assigning team members via delegation, whether the entire team should be notified as well.

    \n\n\n\n\n
    \n

    Preview notice

    \n

    reviewRequestDelegationNotifyTeam is available under the Team review assignments preview. During the preview period, the API may change without notice.

    \n
    \n\n\n\n\n\n\n\n\n

    slug (String!)

    The slug corresponding to the team.

    \n\n\n\n\n\n\n\n\n\n\n\n

    teamsResourcePath (URI!)

    The HTTP path for this team's teams.

    \n\n\n\n\n\n\n\n\n\n\n\n

    teamsUrl (URI!)

    The HTTP URL for this team's teams.

    \n\n\n\n\n\n\n\n\n\n\n\n

    updatedAt (DateTime!)

    Identifies the date and time when the object was last updated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    url (URI!)

    The HTTP URL for this team.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerCanAdminister (Boolean!)

    Team is adminable by the viewer.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerCanSubscribe (Boolean!)

    Check if the viewer is able to change their subscription status for the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerSubscription (SubscriptionState)

    Identifies if the viewer is watching, not watching, or ignoring the subscribable entity.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n TeamAddMemberAuditEntry\n

    \n

    Audit log entry for a team.add_member event.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    action (String!)

    The action name.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actor (AuditEntryActor)

    The user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorIp (String)

    The IP address of the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLocation (ActorLocation)

    A readable representation of the actor's location.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLogin (String)

    The username of the user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorResourcePath (URI)

    The HTTP path for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorUrl (URI)

    The HTTP URL for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (PreciseDateTime!)

    The time the action was initiated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    isLdapMapped (Boolean)

    Whether the team was mapped to an LDAP Group.

    \n\n\n\n\n\n\n\n\n\n\n\n

    operationType (OperationType)

    The corresponding operation type for the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organization (Organization)

    The Organization associated with the Audit Entry.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationName (String)

    The name of the Organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationResourcePath (URI)

    The HTTP path for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationUrl (URI)

    The HTTP URL for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    team (Team)

    The team associated with the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    teamName (String)

    The name of the team.

    \n\n\n\n\n\n\n\n\n\n\n\n

    teamResourcePath (URI)

    The HTTP path for this team.

    \n\n\n\n\n\n\n\n\n\n\n\n

    teamUrl (URI)

    The HTTP URL for this team.

    \n\n\n\n\n\n\n\n\n\n\n\n

    user (User)

    The user affected by the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userLogin (String)

    For actions involving two users, the actor is the initiator and the user is the affected user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userResourcePath (URI)

    The HTTP path for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userUrl (URI)

    The HTTP URL for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n TeamAddRepositoryAuditEntry\n

    \n

    Audit log entry for a team.add_repository event.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    action (String!)

    The action name.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actor (AuditEntryActor)

    The user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorIp (String)

    The IP address of the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLocation (ActorLocation)

    A readable representation of the actor's location.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLogin (String)

    The username of the user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorResourcePath (URI)

    The HTTP path for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorUrl (URI)

    The HTTP URL for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (PreciseDateTime!)

    The time the action was initiated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    isLdapMapped (Boolean)

    Whether the team was mapped to an LDAP Group.

    \n\n\n\n\n\n\n\n\n\n\n\n

    operationType (OperationType)

    The corresponding operation type for the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organization (Organization)

    The Organization associated with the Audit Entry.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationName (String)

    The name of the Organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationResourcePath (URI)

    The HTTP path for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationUrl (URI)

    The HTTP URL for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repository (Repository)

    The repository associated with the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repositoryName (String)

    The name of the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repositoryResourcePath (URI)

    The HTTP path for the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repositoryUrl (URI)

    The HTTP URL for the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    team (Team)

    The team associated with the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    teamName (String)

    The name of the team.

    \n\n\n\n\n\n\n\n\n\n\n\n

    teamResourcePath (URI)

    The HTTP path for this team.

    \n\n\n\n\n\n\n\n\n\n\n\n

    teamUrl (URI)

    The HTTP URL for this team.

    \n\n\n\n\n\n\n\n\n\n\n\n

    user (User)

    The user affected by the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userLogin (String)

    For actions involving two users, the actor is the initiator and the user is the affected user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userResourcePath (URI)

    The HTTP path for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userUrl (URI)

    The HTTP URL for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n TeamChangeParentTeamAuditEntry\n

    \n

    Audit log entry for a team.change_parent_team event.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    action (String!)

    The action name.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actor (AuditEntryActor)

    The user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorIp (String)

    The IP address of the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLocation (ActorLocation)

    A readable representation of the actor's location.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLogin (String)

    The username of the user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorResourcePath (URI)

    The HTTP path for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorUrl (URI)

    The HTTP URL for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (PreciseDateTime!)

    The time the action was initiated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    isLdapMapped (Boolean)

    Whether the team was mapped to an LDAP Group.

    \n\n\n\n\n\n\n\n\n\n\n\n

    operationType (OperationType)

    The corresponding operation type for the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organization (Organization)

    The Organization associated with the Audit Entry.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationName (String)

    The name of the Organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationResourcePath (URI)

    The HTTP path for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationUrl (URI)

    The HTTP URL for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    parentTeam (Team)

    The new parent team.

    \n\n\n\n\n\n\n\n\n\n\n\n

    parentTeamName (String)

    The name of the new parent team.

    \n\n\n\n\n\n\n\n\n\n\n\n

    parentTeamNameWas (String)

    The name of the former parent team.

    \n\n\n\n\n\n\n\n\n\n\n\n

    parentTeamResourcePath (URI)

    The HTTP path for the parent team.

    \n\n\n\n\n\n\n\n\n\n\n\n

    parentTeamUrl (URI)

    The HTTP URL for the parent team.

    \n\n\n\n\n\n\n\n\n\n\n\n

    parentTeamWas (Team)

    The former parent team.

    \n\n\n\n\n\n\n\n\n\n\n\n

    parentTeamWasResourcePath (URI)

    The HTTP path for the previous parent team.

    \n\n\n\n\n\n\n\n\n\n\n\n

    parentTeamWasUrl (URI)

    The HTTP URL for the previous parent team.

    \n\n\n\n\n\n\n\n\n\n\n\n

    team (Team)

    The team associated with the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    teamName (String)

    The name of the team.

    \n\n\n\n\n\n\n\n\n\n\n\n

    teamResourcePath (URI)

    The HTTP path for this team.

    \n\n\n\n\n\n\n\n\n\n\n\n

    teamUrl (URI)

    The HTTP URL for this team.

    \n\n\n\n\n\n\n\n\n\n\n\n

    user (User)

    The user affected by the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userLogin (String)

    For actions involving two users, the actor is the initiator and the user is the affected user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userResourcePath (URI)

    The HTTP path for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userUrl (URI)

    The HTTP URL for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n TeamConnection\n

    \n

    The connection type for Team.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([TeamEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([Team])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n TeamDiscussion\n

    \n

    A team discussion.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    author (Actor)

    The actor who authored the comment.

    \n\n\n\n\n\n\n\n\n\n\n\n

    authorAssociation (CommentAuthorAssociation!)

    Author's association with the discussion's team.

    \n\n\n\n\n\n\n\n\n\n\n\n

    body (String!)

    The body as Markdown.

    \n\n\n\n\n\n\n\n\n\n\n\n

    bodyHTML (HTML!)

    The body rendered to HTML.

    \n\n\n\n\n\n\n\n\n\n\n\n

    bodyText (String!)

    The body rendered to text.

    \n\n\n\n\n\n\n\n\n\n\n\n

    bodyVersion (String!)

    Identifies the discussion body hash.

    \n\n\n\n\n\n\n\n\n\n\n\n

    comments (TeamDiscussionCommentConnection!)

    A list of comments on this discussion.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    fromComment (Int)

    \n

    When provided, filters the connection such that results begin with the comment with this number.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (TeamDiscussionCommentOrder)

    \n

    Order for connection.

    \n\n
    \n\n
    \n\n\n

    commentsResourcePath (URI!)

    The HTTP path for discussion comments.

    \n\n\n\n\n\n\n\n\n\n\n\n

    commentsUrl (URI!)

    The HTTP URL for discussion comments.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdViaEmail (Boolean!)

    Check if this comment was created via an email reply.

    \n\n\n\n\n\n\n\n\n\n\n\n

    databaseId (Int)

    Identifies the primary key from the database.

    \n\n\n\n\n\n\n\n\n\n\n\n

    editor (Actor)

    The actor who edited the comment.

    \n\n\n\n\n\n\n\n\n\n\n\n

    includesCreatedEdit (Boolean!)

    Check if this comment was edited and includes an edit with the creation data.

    \n\n\n\n\n\n\n\n\n\n\n\n

    isPinned (Boolean!)

    Whether or not the discussion is pinned.

    \n\n\n\n\n\n\n\n\n\n\n\n

    isPrivate (Boolean!)

    Whether or not the discussion is only visible to team members and org admins.

    \n\n\n\n\n\n\n\n\n\n\n\n

    lastEditedAt (DateTime)

    The moment the editor made the last edit.

    \n\n\n\n\n\n\n\n\n\n\n\n

    number (Int!)

    Identifies the discussion within its team.

    \n\n\n\n\n\n\n\n\n\n\n\n

    publishedAt (DateTime)

    Identifies when the comment was published at.

    \n\n\n\n\n\n\n\n\n\n\n\n

    reactionGroups ([ReactionGroup!])

    A list of reactions grouped by content left on the subject.

    \n\n\n\n\n\n\n\n\n\n\n\n

    reactions (ReactionConnection!)

    A list of Reactions left on the Issue.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    content (ReactionContent)

    \n

    Allows filtering Reactions by emoji.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (ReactionOrder)

    \n

    Allows specifying the order in which reactions are returned.

    \n\n
    \n\n
    \n\n\n

    resourcePath (URI!)

    The HTTP path for this discussion.

    \n\n\n\n\n\n\n\n\n\n\n\n

    team (Team!)

    The team that defines the context of this discussion.

    \n\n\n\n\n\n\n\n\n\n\n\n

    title (String!)

    The title of the discussion.

    \n\n\n\n\n\n\n\n\n\n\n\n

    updatedAt (DateTime!)

    Identifies the date and time when the object was last updated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    url (URI!)

    The HTTP URL for this discussion.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userContentEdits (UserContentEditConnection)

    A list of edits to this content.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n\n\n

    viewerCanDelete (Boolean!)

    Check if the current viewer can delete this object.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerCanPin (Boolean!)

    Whether or not the current viewer can pin this discussion.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerCanReact (Boolean!)

    Can user react to this subject.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerCanSubscribe (Boolean!)

    Check if the viewer is able to change their subscription status for the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerCanUpdate (Boolean!)

    Check if the current viewer can update this object.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerCannotUpdateReasons ([CommentCannotUpdateReason!]!)

    Reasons why the current viewer can not update this comment.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerDidAuthor (Boolean!)

    Did the viewer author this comment.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerSubscription (SubscriptionState)

    Identifies if the viewer is watching, not watching, or ignoring the subscribable entity.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n TeamDiscussionComment\n

    \n

    A comment on a team discussion.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    author (Actor)

    The actor who authored the comment.

    \n\n\n\n\n\n\n\n\n\n\n\n

    authorAssociation (CommentAuthorAssociation!)

    Author's association with the comment's team.

    \n\n\n\n\n\n\n\n\n\n\n\n

    body (String!)

    The body as Markdown.

    \n\n\n\n\n\n\n\n\n\n\n\n

    bodyHTML (HTML!)

    The body rendered to HTML.

    \n\n\n\n\n\n\n\n\n\n\n\n

    bodyText (String!)

    The body rendered to text.

    \n\n\n\n\n\n\n\n\n\n\n\n

    bodyVersion (String!)

    The current version of the body content.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdViaEmail (Boolean!)

    Check if this comment was created via an email reply.

    \n\n\n\n\n\n\n\n\n\n\n\n

    databaseId (Int)

    Identifies the primary key from the database.

    \n\n\n\n\n\n\n\n\n\n\n\n

    discussion (TeamDiscussion!)

    The discussion this comment is about.

    \n\n\n\n\n\n\n\n\n\n\n\n

    editor (Actor)

    The actor who edited the comment.

    \n\n\n\n\n\n\n\n\n\n\n\n

    includesCreatedEdit (Boolean!)

    Check if this comment was edited and includes an edit with the creation data.

    \n\n\n\n\n\n\n\n\n\n\n\n

    lastEditedAt (DateTime)

    The moment the editor made the last edit.

    \n\n\n\n\n\n\n\n\n\n\n\n

    number (Int!)

    Identifies the comment number.

    \n\n\n\n\n\n\n\n\n\n\n\n

    publishedAt (DateTime)

    Identifies when the comment was published at.

    \n\n\n\n\n\n\n\n\n\n\n\n

    reactionGroups ([ReactionGroup!])

    A list of reactions grouped by content left on the subject.

    \n\n\n\n\n\n\n\n\n\n\n\n

    reactions (ReactionConnection!)

    A list of Reactions left on the Issue.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    content (ReactionContent)

    \n

    Allows filtering Reactions by emoji.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (ReactionOrder)

    \n

    Allows specifying the order in which reactions are returned.

    \n\n
    \n\n
    \n\n\n

    resourcePath (URI!)

    The HTTP path for this comment.

    \n\n\n\n\n\n\n\n\n\n\n\n

    updatedAt (DateTime!)

    Identifies the date and time when the object was last updated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    url (URI!)

    The HTTP URL for this comment.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userContentEdits (UserContentEditConnection)

    A list of edits to this content.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n\n\n

    viewerCanDelete (Boolean!)

    Check if the current viewer can delete this object.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerCanReact (Boolean!)

    Can user react to this subject.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerCanUpdate (Boolean!)

    Check if the current viewer can update this object.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerCannotUpdateReasons ([CommentCannotUpdateReason!]!)

    Reasons why the current viewer can not update this comment.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerDidAuthor (Boolean!)

    Did the viewer author this comment.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n TeamDiscussionCommentConnection\n

    \n

    The connection type for TeamDiscussionComment.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([TeamDiscussionCommentEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([TeamDiscussionComment])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n TeamDiscussionCommentEdge\n

    \n

    An edge in a connection.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (TeamDiscussionComment)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n TeamDiscussionConnection\n

    \n

    The connection type for TeamDiscussion.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([TeamDiscussionEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([TeamDiscussion])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n TeamDiscussionEdge\n

    \n

    An edge in a connection.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (TeamDiscussion)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n TeamEdge\n

    \n

    An edge in a connection.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (Team)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n TeamMemberConnection\n

    \n

    The connection type for User.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([TeamMemberEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([User])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n TeamMemberEdge\n

    \n

    Represents a user who is a member of a team.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    memberAccessResourcePath (URI!)

    The HTTP path to the organization's member access page.

    \n\n\n\n\n\n\n\n\n\n\n\n

    memberAccessUrl (URI!)

    The HTTP URL to the organization's member access page.

    \n\n\n\n\n\n\n\n\n\n\n\n

    role (TeamMemberRole!)

    The role the member has on the team.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n TeamRemoveMemberAuditEntry\n

    \n

    Audit log entry for a team.remove_member event.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    action (String!)

    The action name.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actor (AuditEntryActor)

    The user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorIp (String)

    The IP address of the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLocation (ActorLocation)

    A readable representation of the actor's location.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLogin (String)

    The username of the user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorResourcePath (URI)

    The HTTP path for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorUrl (URI)

    The HTTP URL for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (PreciseDateTime!)

    The time the action was initiated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    isLdapMapped (Boolean)

    Whether the team was mapped to an LDAP Group.

    \n\n\n\n\n\n\n\n\n\n\n\n

    operationType (OperationType)

    The corresponding operation type for the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organization (Organization)

    The Organization associated with the Audit Entry.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationName (String)

    The name of the Organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationResourcePath (URI)

    The HTTP path for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationUrl (URI)

    The HTTP URL for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    team (Team)

    The team associated with the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    teamName (String)

    The name of the team.

    \n\n\n\n\n\n\n\n\n\n\n\n

    teamResourcePath (URI)

    The HTTP path for this team.

    \n\n\n\n\n\n\n\n\n\n\n\n

    teamUrl (URI)

    The HTTP URL for this team.

    \n\n\n\n\n\n\n\n\n\n\n\n

    user (User)

    The user affected by the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userLogin (String)

    For actions involving two users, the actor is the initiator and the user is the affected user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userResourcePath (URI)

    The HTTP path for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userUrl (URI)

    The HTTP URL for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n TeamRemoveRepositoryAuditEntry\n

    \n

    Audit log entry for a team.remove_repository event.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    action (String!)

    The action name.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actor (AuditEntryActor)

    The user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorIp (String)

    The IP address of the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLocation (ActorLocation)

    A readable representation of the actor's location.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLogin (String)

    The username of the user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorResourcePath (URI)

    The HTTP path for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorUrl (URI)

    The HTTP URL for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (PreciseDateTime!)

    The time the action was initiated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    isLdapMapped (Boolean)

    Whether the team was mapped to an LDAP Group.

    \n\n\n\n\n\n\n\n\n\n\n\n

    operationType (OperationType)

    The corresponding operation type for the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organization (Organization)

    The Organization associated with the Audit Entry.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationName (String)

    The name of the Organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationResourcePath (URI)

    The HTTP path for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationUrl (URI)

    The HTTP URL for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repository (Repository)

    The repository associated with the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repositoryName (String)

    The name of the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repositoryResourcePath (URI)

    The HTTP path for the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repositoryUrl (URI)

    The HTTP URL for the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    team (Team)

    The team associated with the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    teamName (String)

    The name of the team.

    \n\n\n\n\n\n\n\n\n\n\n\n

    teamResourcePath (URI)

    The HTTP path for this team.

    \n\n\n\n\n\n\n\n\n\n\n\n

    teamUrl (URI)

    The HTTP URL for this team.

    \n\n\n\n\n\n\n\n\n\n\n\n

    user (User)

    The user affected by the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userLogin (String)

    For actions involving two users, the actor is the initiator and the user is the affected user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userResourcePath (URI)

    The HTTP path for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userUrl (URI)

    The HTTP URL for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n TeamRepositoryConnection\n

    \n

    The connection type for Repository.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([TeamRepositoryEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([Repository])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n TeamRepositoryEdge\n

    \n

    Represents a team repository.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    permission (RepositoryPermission!)

    The permission level the team has on the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n TextMatch\n

    \n

    A text match within a search result.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    fragment (String!)

    The specific text fragment within the property matched on.

    \n\n\n\n\n\n\n\n\n\n\n\n

    highlights ([TextMatchHighlight!]!)

    Highlights within the matched fragment.

    \n\n\n\n\n\n\n\n\n\n\n\n

    property (String!)

    The property matched on.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n TextMatchHighlight\n

    \n

    Represents a single highlight in a search result match.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    beginIndice (Int!)

    The indice in the fragment where the matched text begins.

    \n\n\n\n\n\n\n\n\n\n\n\n

    endIndice (Int!)

    The indice in the fragment where the matched text ends.

    \n\n\n\n\n\n\n\n\n\n\n\n

    text (String!)

    The text matched.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n Topic\n

    \n

    A topic aggregates entities that are related to a subject.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    name (String!)

    The topic's name.

    \n\n\n\n\n\n\n\n\n\n\n\n

    relatedTopics ([Topic!]!)

    A list of related topics, including aliases of this topic, sorted with the most relevant\nfirst. Returns up to 10 Topics.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    first (Int)

    \n

    How many topics to return.

    \n

    The default value is 3.

    \n
    \n\n
    \n\n\n

    stargazerCount (Int!)

    Returns a count of how many stargazers there are on this object.

    \n\n\n\n\n\n\n\n\n\n\n\n

    stargazers (StargazerConnection!)

    A list of users who have starred this starrable.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (StarOrder)

    \n

    Order for connection.

    \n\n
    \n\n
    \n\n\n

    viewerHasStarred (Boolean!)

    Returns a boolean indicating whether the viewing user has starred this starrable.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n TransferredEvent\n

    \n

    Represents atransferredevent on a given issue or pull request.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    actor (Actor)

    Identifies the actor who performed the event.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    fromRepository (Repository)

    The repository this came from.

    \n\n\n\n\n\n\n\n\n\n\n\n

    issue (Issue!)

    Identifies the issue associated with the event.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n Tree\n

    \n

    Represents a Git tree.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    abbreviatedOid (String!)

    An abbreviated version of the Git object ID.

    \n\n\n\n\n\n\n\n\n\n\n\n

    commitResourcePath (URI!)

    The HTTP path for this Git object.

    \n\n\n\n\n\n\n\n\n\n\n\n

    commitUrl (URI!)

    The HTTP URL for this Git object.

    \n\n\n\n\n\n\n\n\n\n\n\n

    entries ([TreeEntry!])

    A list of tree entries.

    \n\n\n\n\n\n\n\n\n\n\n\n

    oid (GitObjectID!)

    The Git object ID.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repository (Repository!)

    The Repository the Git object belongs to.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n TreeEntry\n

    \n

    Represents a Git tree entry.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    extension (String)

    The extension of the file.

    \n\n\n\n\n\n\n\n\n\n\n\n

    isGenerated (Boolean!)

    Whether or not this tree entry is generated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    mode (Int!)

    Entry file mode.

    \n\n\n\n\n\n\n\n\n\n\n\n

    name (String!)

    Entry file name.

    \n\n\n\n\n\n\n\n\n\n\n\n

    object (GitObject)

    Entry file object.

    \n\n\n\n\n\n\n\n\n\n\n\n

    oid (GitObjectID!)

    Entry file Git object ID.

    \n\n\n\n\n\n\n\n\n\n\n\n

    path (String)

    The full path of the file.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repository (Repository!)

    The Repository the tree entry belongs to.

    \n\n\n\n\n\n\n\n\n\n\n\n

    submodule (Submodule)

    If the TreeEntry is for a directory occupied by a submodule project, this returns the corresponding submodule.

    \n\n\n\n\n\n\n\n\n\n\n\n

    type (String!)

    Entry file type.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n UnassignedEvent\n

    \n

    Represents anunassignedevent on any assignable object.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    actor (Actor)

    Identifies the actor who performed the event.

    \n\n\n\n\n\n\n\n\n\n\n\n

    assignable (Assignable!)

    Identifies the assignable associated with the event.

    \n\n\n\n\n\n\n\n\n\n\n\n

    assignee (Assignee)

    Identifies the user or mannequin that was unassigned.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    user (User)

    Identifies the subject (user) who was unassigned.

    \n\n\n\n\n\n\n
    \n

    Deprecation notice

    \n

    user is deprecated.

    Assignees can now be mannequins. Use the assignee field instead. Removal on 2020-01-01 UTC.

    \n
    \n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n UnknownSignature\n

    \n

    Represents an unknown signature on a Commit or Tag.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    email (String!)

    Email used to sign this object.

    \n\n\n\n\n\n\n\n\n\n\n\n

    isValid (Boolean!)

    True if the signature is valid and verified by GitHub.

    \n\n\n\n\n\n\n\n\n\n\n\n

    payload (String!)

    Payload for GPG signing object. Raw ODB object without the signature header.

    \n\n\n\n\n\n\n\n\n\n\n\n

    signature (String!)

    ASCII-armored signature header from object.

    \n\n\n\n\n\n\n\n\n\n\n\n

    signer (User)

    GitHub user corresponding to the email signing this commit.

    \n\n\n\n\n\n\n\n\n\n\n\n

    state (GitSignatureState!)

    The state of this signature. VALID if signature is valid and verified by\nGitHub, otherwise represents reason why signature is considered invalid.

    \n\n\n\n\n\n\n\n\n\n\n\n

    wasSignedByGitHub (Boolean!)

    True if the signature was made with GitHub's signing key.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n UnlabeledEvent\n

    \n

    Represents anunlabeledevent on a given issue or pull request.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    actor (Actor)

    Identifies the actor who performed the event.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    label (Label!)

    Identifies the label associated with theunlabeledevent.

    \n\n\n\n\n\n\n\n\n\n\n\n

    labelable (Labelable!)

    Identifies the Labelable associated with the event.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n UnlockedEvent\n

    \n

    Represents anunlockedevent on a given issue or pull request.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    actor (Actor)

    Identifies the actor who performed the event.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    lockable (Lockable!)

    Object that was unlocked.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n UnmarkedAsDuplicateEvent\n

    \n

    Represents anunmarked_as_duplicateevent on a given issue or pull request.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    actor (Actor)

    Identifies the actor who performed the event.

    \n\n\n\n\n\n\n\n\n\n\n\n

    canonical (IssueOrPullRequest)

    The authoritative issue or pull request which has been duplicated by another.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    duplicate (IssueOrPullRequest)

    The issue or pull request which has been marked as a duplicate of another.

    \n\n\n\n\n\n\n\n\n\n\n\n

    isCrossRepository (Boolean!)

    Canonical and duplicate belong to different repositories.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n UnpinnedEvent\n

    \n

    Represents anunpinnedevent on a given issue or pull request.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    actor (Actor)

    Identifies the actor who performed the event.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    issue (Issue!)

    Identifies the issue associated with the event.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n UnsubscribedEvent\n

    \n

    Represents anunsubscribedevent on a given Subscribable.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    actor (Actor)

    Identifies the actor who performed the event.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    subscribable (Subscribable!)

    Object referenced by event.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n User\n

    \n

    A user is an individual's account on GitHub that owns repositories and can make new content.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    anyPinnableItems (Boolean!)

    Determine if this repository owner has any items that can be pinned to their profile.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    type (PinnableItemType)

    \n

    Filter to only a particular kind of pinnable item.

    \n\n
    \n\n
    \n\n\n

    avatarUrl (URI!)

    A URL pointing to the user's public avatar.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    size (Int)

    \n

    The size of the resulting square image.

    \n\n
    \n\n
    \n\n\n

    bio (String)

    The user's public profile bio.

    \n\n\n\n\n\n\n\n\n\n\n\n

    bioHTML (HTML!)

    The user's public profile bio as HTML.

    \n\n\n\n\n\n\n\n\n\n\n\n

    commitComments (CommitCommentConnection!)

    A list of commit comments made by this user.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n\n\n

    company (String)

    The user's public profile company.

    \n\n\n\n\n\n\n\n\n\n\n\n

    companyHTML (HTML!)

    The user's public profile company as HTML.

    \n\n\n\n\n\n\n\n\n\n\n\n

    contributionsCollection (ContributionsCollection!)

    The collection of contributions this user has made to different repositories.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    from (DateTime)

    \n

    Only contributions made at this time or later will be counted. If omitted, defaults to a year ago.

    \n\n
    \n\n
    \n

    organizationID (ID)

    \n

    The ID of the organization used to filter contributions.

    \n\n
    \n\n
    \n

    to (DateTime)

    \n

    Only contributions made before and up to and including this time will be\ncounted. If omitted, defaults to the current time.

    \n\n
    \n\n
    \n\n\n

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    databaseId (Int)

    Identifies the primary key from the database.

    \n\n\n\n\n\n\n\n\n\n\n\n

    email (String!)

    The user's publicly visible profile email.

    \n\n\n\n\n\n\n\n\n\n\n\n

    followers (FollowerConnection!)

    A list of users the given user is followed by.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n\n\n

    following (FollowingConnection!)

    A list of users the given user is following.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n\n\n

    gist (Gist)

    Find gist by repo name.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    name (String!)

    \n

    The gist name to find.

    \n\n
    \n\n
    \n\n\n

    gistComments (GistCommentConnection!)

    A list of gist comments made by this user.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n\n\n

    gists (GistConnection!)

    A list of the Gists the user has created.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (GistOrder)

    \n

    Ordering options for gists returned from the connection.

    \n\n
    \n\n
    \n

    privacy (GistPrivacy)

    \n

    Filters Gists according to privacy.

    \n\n
    \n\n
    \n\n\n

    hasSponsorsListing (Boolean!)

    True if this user/organization has a GitHub Sponsors listing.

    \n\n\n\n\n\n\n\n\n\n\n\n

    hovercard (Hovercard!)

    The hovercard information for this user in a given context.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    primarySubjectId (ID)

    \n

    The ID of the subject to get the hovercard in the context of.

    \n\n
    \n\n
    \n\n\n

    interactionAbility (RepositoryInteractionAbility)

    The interaction ability settings for this user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    isBountyHunter (Boolean!)

    Whether or not this user is a participant in the GitHub Security Bug Bounty.

    \n\n\n\n\n\n\n\n\n\n\n\n

    isCampusExpert (Boolean!)

    Whether or not this user is a participant in the GitHub Campus Experts Program.

    \n\n\n\n\n\n\n\n\n\n\n\n

    isDeveloperProgramMember (Boolean!)

    Whether or not this user is a GitHub Developer Program member.

    \n\n\n\n\n\n\n\n\n\n\n\n

    isEmployee (Boolean!)

    Whether or not this user is a GitHub employee.

    \n\n\n\n\n\n\n\n\n\n\n\n

    isGitHubStar (Boolean!)

    Whether or not this user is a member of the GitHub Stars Program.

    \n\n\n\n\n\n\n\n\n\n\n\n

    isHireable (Boolean!)

    Whether or not the user has marked themselves as for hire.

    \n\n\n\n\n\n\n\n\n\n\n\n

    isSiteAdmin (Boolean!)

    Whether or not this user is a site administrator.

    \n\n\n\n\n\n\n\n\n\n\n\n

    isSponsoredBy (Boolean!)

    Check if the given account is sponsoring this user/organization.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    accountLogin (String!)

    \n

    The target account's login.

    \n\n
    \n\n
    \n\n\n

    isSponsoringViewer (Boolean!)

    True if the viewer is sponsored by this user/organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    isViewer (Boolean!)

    Whether or not this user is the viewing user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    issueComments (IssueCommentConnection!)

    A list of issue comments made by this user.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (IssueCommentOrder)

    \n

    Ordering options for issue comments returned from the connection.

    \n\n
    \n\n
    \n\n\n

    issues (IssueConnection!)

    A list of issues associated with this user.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    filterBy (IssueFilters)

    \n

    Filtering options for issues returned from the connection.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    labels ([String!])

    \n

    A list of label names to filter the pull requests by.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (IssueOrder)

    \n

    Ordering options for issues returned from the connection.

    \n\n
    \n\n
    \n

    states ([IssueState!])

    \n

    A list of states to filter the issues by.

    \n\n
    \n\n
    \n\n\n

    itemShowcase (ProfileItemShowcase!)

    Showcases a selection of repositories and gists that the profile owner has\neither curated or that have been selected automatically based on popularity.

    \n\n\n\n\n\n\n\n\n\n\n\n

    location (String)

    The user's public profile location.

    \n\n\n\n\n\n\n\n\n\n\n\n

    login (String!)

    The username used to login.

    \n\n\n\n\n\n\n\n\n\n\n\n

    name (String)

    The user's public profile name.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organization (Organization)

    Find an organization by its login that the user belongs to.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    login (String!)

    \n

    The login of the organization to find.

    \n\n
    \n\n
    \n\n\n

    organizationVerifiedDomainEmails ([String!]!)

    Verified email addresses that match verified domains for a specified organization the user is a member of.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    login (String!)

    \n

    The login of the organization to match verified domains from.

    \n\n
    \n\n
    \n\n\n

    organizations (OrganizationConnection!)

    A list of organizations the user belongs to.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n\n\n

    packages (PackageConnection!)

    A list of packages under the owner.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    names ([String])

    \n

    Find packages by their names.

    \n\n
    \n\n
    \n

    orderBy (PackageOrder)

    \n

    Ordering of the returned packages.

    \n\n
    \n\n
    \n

    packageType (PackageType)

    \n

    Filter registry package by type.

    \n\n
    \n\n
    \n

    repositoryId (ID)

    \n

    Find packages in a repository by ID.

    \n\n
    \n\n
    \n\n\n

    pinnableItems (PinnableItemConnection!)

    A list of repositories and gists this profile owner can pin to their profile.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    types ([PinnableItemType!])

    \n

    Filter the types of pinnable items that are returned.

    \n\n
    \n\n
    \n\n\n

    pinnedItems (PinnableItemConnection!)

    A list of repositories and gists this profile owner has pinned to their profile.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    types ([PinnableItemType!])

    \n

    Filter the types of pinned items that are returned.

    \n\n
    \n\n
    \n\n\n

    pinnedItemsRemaining (Int!)

    Returns how many more items this profile owner can pin to their profile.

    \n\n\n\n\n\n\n\n\n\n\n\n

    project (Project)

    Find project by number.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    number (Int!)

    \n

    The project number to find.

    \n\n
    \n\n
    \n\n\n

    projects (ProjectConnection!)

    A list of projects under the owner.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (ProjectOrder)

    \n

    Ordering options for projects returned from the connection.

    \n\n
    \n\n
    \n

    search (String)

    \n

    Query to search projects by, currently only searching by name.

    \n\n
    \n\n
    \n

    states ([ProjectState!])

    \n

    A list of states to filter the projects by.

    \n\n
    \n\n
    \n\n\n

    projectsResourcePath (URI!)

    The HTTP path listing user's projects.

    \n\n\n\n\n\n\n\n\n\n\n\n

    projectsUrl (URI!)

    The HTTP URL listing user's projects.

    \n\n\n\n\n\n\n\n\n\n\n\n

    publicKeys (PublicKeyConnection!)

    A list of public keys associated with this user.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n\n\n

    pullRequests (PullRequestConnection!)

    A list of pull requests associated with this user.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    baseRefName (String)

    \n

    The base ref name to filter the pull requests by.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    headRefName (String)

    \n

    The head ref name to filter the pull requests by.

    \n\n
    \n\n
    \n

    labels ([String!])

    \n

    A list of label names to filter the pull requests by.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (IssueOrder)

    \n

    Ordering options for pull requests returned from the connection.

    \n\n
    \n\n
    \n

    states ([PullRequestState!])

    \n

    A list of states to filter the pull requests by.

    \n\n
    \n\n
    \n\n\n

    repositories (RepositoryConnection!)

    A list of repositories that the user owns.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    affiliations ([RepositoryAffiliation])

    \n

    Array of viewer's affiliation options for repositories returned from the\nconnection. For example, OWNER will include only repositories that the\ncurrent viewer owns.

    \n\n
    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    isFork (Boolean)

    \n

    If non-null, filters repositories according to whether they are forks of another repository.

    \n\n
    \n\n
    \n

    isLocked (Boolean)

    \n

    If non-null, filters repositories according to whether they have been locked.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (RepositoryOrder)

    \n

    Ordering options for repositories returned from the connection.

    \n\n
    \n\n
    \n

    ownerAffiliations ([RepositoryAffiliation])

    \n

    Array of owner's affiliation options for repositories returned from the\nconnection. For example, OWNER will include only repositories that the\norganization or user being viewed owns.

    \n\n
    \n\n
    \n

    privacy (RepositoryPrivacy)

    \n

    If non-null, filters repositories according to privacy.

    \n\n
    \n\n
    \n\n\n

    repositoriesContributedTo (RepositoryConnection!)

    A list of repositories that the user recently contributed to.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    contributionTypes ([RepositoryContributionType])

    \n

    If non-null, include only the specified types of contributions. The\nGitHub.com UI uses [COMMIT, ISSUE, PULL_REQUEST, REPOSITORY].

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    includeUserRepositories (Boolean)

    \n

    If true, include user repositories.

    \n\n
    \n\n
    \n

    isLocked (Boolean)

    \n

    If non-null, filters repositories according to whether they have been locked.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (RepositoryOrder)

    \n

    Ordering options for repositories returned from the connection.

    \n\n
    \n\n
    \n

    privacy (RepositoryPrivacy)

    \n

    If non-null, filters repositories according to privacy.

    \n\n
    \n\n
    \n\n\n

    repository (Repository)

    Find Repository.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    name (String!)

    \n

    Name of Repository to find.

    \n\n
    \n\n
    \n\n\n

    resourcePath (URI!)

    The HTTP path for this user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    savedReplies (SavedReplyConnection)

    Replies this user has saved.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (SavedReplyOrder)

    \n

    The field to order saved replies by.

    \n\n
    \n\n
    \n\n\n

    sponsorsListing (SponsorsListing)

    The GitHub Sponsors listing for this user or organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    sponsorshipForViewerAsSponsor (Sponsorship)

    The viewer's sponsorship of this entity.

    \n\n\n\n\n\n\n\n\n\n\n\n

    sponsorshipsAsMaintainer (SponsorshipConnection!)

    This object's sponsorships as the maintainer.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    includePrivate (Boolean)

    \n

    Whether or not to include private sponsorships in the result set.

    \n

    The default value is false.

    \n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (SponsorshipOrder)

    \n

    Ordering options for sponsorships returned from this connection. If left\nblank, the sponsorships will be ordered based on relevancy to the viewer.

    \n\n
    \n\n
    \n\n\n

    sponsorshipsAsSponsor (SponsorshipConnection!)

    This object's sponsorships as the sponsor.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (SponsorshipOrder)

    \n

    Ordering options for sponsorships returned from this connection. If left\nblank, the sponsorships will be ordered based on relevancy to the viewer.

    \n\n
    \n\n
    \n\n\n

    starredRepositories (StarredRepositoryConnection!)

    Repositories the user has starred.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (StarOrder)

    \n

    Order for connection.

    \n\n
    \n\n
    \n

    ownedByViewer (Boolean)

    \n

    Filters starred repositories to only return repositories owned by the viewer.

    \n\n
    \n\n
    \n\n\n

    status (UserStatus)

    The user's description of what they're currently doing.

    \n\n\n\n\n\n\n\n\n\n\n\n

    topRepositories (RepositoryConnection!)

    Repositories the user has contributed to, ordered by contribution rank, plus repositories the user has created.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (RepositoryOrder!)

    \n

    Ordering options for repositories returned from the connection.

    \n\n
    \n\n
    \n

    since (DateTime)

    \n

    How far back in time to fetch contributed repositories.

    \n\n
    \n\n
    \n\n\n

    twitterUsername (String)

    The user's Twitter username.

    \n\n\n\n\n\n\n\n\n\n\n\n

    updatedAt (DateTime!)

    Identifies the date and time when the object was last updated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    url (URI!)

    The HTTP URL for this user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerCanChangePinnedItems (Boolean!)

    Can the viewer pin repositories and gists to the profile?.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerCanCreateProjects (Boolean!)

    Can the current viewer create new projects on this owner.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerCanFollow (Boolean!)

    Whether or not the viewer is able to follow the user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerCanSponsor (Boolean!)

    Whether or not the viewer is able to sponsor this user/organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerIsFollowing (Boolean!)

    Whether or not this user is followed by the viewer.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerIsSponsoring (Boolean!)

    True if the viewer is sponsoring this user/organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    watching (RepositoryConnection!)

    A list of repositories the given user is watching.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    affiliations ([RepositoryAffiliation])

    \n

    Affiliation options for repositories returned from the connection. If none\nspecified, the results will include repositories for which the current\nviewer is an owner or collaborator, or member.

    \n\n
    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    isLocked (Boolean)

    \n

    If non-null, filters repositories according to whether they have been locked.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (RepositoryOrder)

    \n

    Ordering options for repositories returned from the connection.

    \n\n
    \n\n
    \n

    ownerAffiliations ([RepositoryAffiliation])

    \n

    Array of owner's affiliation options for repositories returned from the\nconnection. For example, OWNER will include only repositories that the\norganization or user being viewed owns.

    \n\n
    \n\n
    \n

    privacy (RepositoryPrivacy)

    \n

    If non-null, filters repositories according to privacy.

    \n\n
    \n\n
    \n\n\n

    websiteUrl (URI)

    A URL pointing to the user's public website/blog.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n UserBlockedEvent\n

    \n

    Represents auser_blockedevent on a given user.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    actor (Actor)

    Identifies the actor who performed the event.

    \n\n\n\n\n\n\n\n\n\n\n\n

    blockDuration (UserBlockDuration!)

    Number of days that the user was blocked for.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    subject (User)

    The user who was blocked.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n UserConnection\n

    \n

    The connection type for User.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([UserEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([User])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n UserContentEdit\n

    \n

    An edit on user content.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    deletedAt (DateTime)

    Identifies the date and time when the object was deleted.

    \n\n\n\n\n\n\n\n\n\n\n\n

    deletedBy (Actor)

    The actor who deleted this content.

    \n\n\n\n\n\n\n\n\n\n\n\n

    diff (String)

    A summary of the changes for this edit.

    \n\n\n\n\n\n\n\n\n\n\n\n

    editedAt (DateTime!)

    When this content was edited.

    \n\n\n\n\n\n\n\n\n\n\n\n

    editor (Actor)

    The actor who edited this content.

    \n\n\n\n\n\n\n\n\n\n\n\n

    updatedAt (DateTime!)

    Identifies the date and time when the object was last updated.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n UserContentEditConnection\n

    \n

    A list of edits to content.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([UserContentEditEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([UserContentEdit])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n UserContentEditEdge\n

    \n

    An edge in a connection.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (UserContentEdit)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n UserEdge\n

    \n

    Represents a user.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (User)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n UserEmailMetadata\n

    \n

    Email attributes from External Identity.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    primary (Boolean)

    Boolean to identify primary emails.

    \n\n\n\n\n\n\n\n\n\n\n\n

    type (String)

    Type of email.

    \n\n\n\n\n\n\n\n\n\n\n\n

    value (String!)

    Email id.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n UserStatus\n

    \n

    The user's description of what they're currently doing.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    emoji (String)

    An emoji summarizing the user's status.

    \n\n\n\n\n\n\n\n\n\n\n\n

    emojiHTML (HTML)

    The status emoji as HTML.

    \n\n\n\n\n\n\n\n\n\n\n\n

    expiresAt (DateTime)

    If set, the status will not be shown after this date.

    \n\n\n\n\n\n\n\n\n\n\n\n

    id (ID!)

    ID of the object.

    \n\n\n\n\n\n\n\n\n\n\n\n

    indicatesLimitedAvailability (Boolean!)

    Whether this status indicates the user is not fully available on GitHub.

    \n\n\n\n\n\n\n\n\n\n\n\n

    message (String)

    A brief message describing what the user is doing.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organization (Organization)

    The organization whose members can see this status. If null, this status is publicly visible.

    \n\n\n\n\n\n\n\n\n\n\n\n

    updatedAt (DateTime!)

    Identifies the date and time when the object was last updated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    user (User!)

    The user who has this status.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n UserStatusConnection\n

    \n

    The connection type for UserStatus.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([UserStatusEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([UserStatus])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n UserStatusEdge\n

    \n

    An edge in a connection.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (UserStatus)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n VerifiableDomain\n

    \n

    A domain that can be verified for an organization or an enterprise.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    databaseId (Int)

    Identifies the primary key from the database.

    \n\n\n\n\n\n\n\n\n\n\n\n

    dnsHostName (URI)

    The DNS host name that should be used for verification.

    \n\n\n\n\n\n\n\n\n\n\n\n

    domain (URI!)

    The unicode encoded domain.

    \n\n\n\n\n\n\n\n\n\n\n\n

    hasFoundHostName (Boolean!)

    Whether a TXT record for verification with the expected host name was found.

    \n\n\n\n\n\n\n\n\n\n\n\n

    hasFoundVerificationToken (Boolean!)

    Whether a TXT record for verification with the expected verification token was found.

    \n\n\n\n\n\n\n\n\n\n\n\n

    isRequiredForPolicyEnforcement (Boolean!)

    Whether this domain is required to exist for an organization or enterprise policy to be enforced.

    \n\n\n\n\n\n\n\n\n\n\n\n

    isVerified (Boolean!)

    Whether or not the domain is verified.

    \n\n\n\n\n\n\n\n\n\n\n\n

    owner (VerifiableDomainOwner!)

    The owner of the domain.

    \n\n\n\n\n\n\n\n\n\n\n\n

    punycodeEncodedDomain (URI!)

    The punycode encoded domain.

    \n\n\n\n\n\n\n\n\n\n\n\n

    tokenExpirationTime (DateTime)

    The time that the current verification token will expire.

    \n\n\n\n\n\n\n\n\n\n\n\n

    updatedAt (DateTime!)

    Identifies the date and time when the object was last updated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    verificationToken (String)

    The current verification token for the domain.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n VerifiableDomainConnection\n

    \n

    The connection type for VerifiableDomain.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([VerifiableDomainEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([VerifiableDomain])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n VerifiableDomainEdge\n

    \n

    An edge in a connection.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (VerifiableDomain)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n ViewerHovercardContext\n

    \n

    A hovercard context with a message describing how the viewer is related.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    message (String!)

    A string describing this context.

    \n\n\n\n\n\n\n\n\n\n\n\n

    octicon (String!)

    An octicon to accompany this context.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewer (User!)

    Identifies the user who is related to this context.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n", + "html": "
    \n
    \n

    \n ActorLocation\n

    \n

    Location information for an actor.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    city (String)

    City.

    \n\n\n\n\n\n\n\n\n\n\n\n

    country (String)

    Country name.

    \n\n\n\n\n\n\n\n\n\n\n\n

    countryCode (String)

    Country code.

    \n\n\n\n\n\n\n\n\n\n\n\n

    region (String)

    Region name.

    \n\n\n\n\n\n\n\n\n\n\n\n

    regionCode (String)

    Region or state code.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n AddedToProjectEvent\n

    \n

    Represents aadded_to_projectevent on a given issue or pull request.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    actor (Actor)

    Identifies the actor who performed the event.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    databaseId (Int)

    Identifies the primary key from the database.

    \n\n\n\n\n\n\n\n\n\n\n\n

    project (Project)

    Project referenced by event.

    \n\n\n\n\n
    \n

    Preview notice

    \n

    project is available under the Project event details preview. During the preview period, the API may change without notice.

    \n
    \n\n\n\n\n\n\n\n\n

    projectCard (ProjectCard)

    Project card referenced by this project event.

    \n\n\n\n\n
    \n

    Preview notice

    \n

    projectCard is available under the Project event details preview. During the preview period, the API may change without notice.

    \n
    \n\n\n\n\n\n\n\n\n

    projectColumnName (String!)

    Column name referenced by this project event.

    \n\n\n\n\n
    \n

    Preview notice

    \n

    projectColumnName is available under the Project event details preview. During the preview period, the API may change without notice.

    \n
    \n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n App\n

    \n

    A GitHub App.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    databaseId (Int)

    Identifies the primary key from the database.

    \n\n\n\n\n\n\n\n\n\n\n\n

    description (String)

    The description of the app.

    \n\n\n\n\n\n\n\n\n\n\n\n

    logoBackgroundColor (String!)

    The hex color code, without the leading '#', for the logo background.

    \n\n\n\n\n\n\n\n\n\n\n\n

    logoUrl (URI!)

    A URL pointing to the app's logo.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    size (Int)

    \n

    The size of the resulting image.

    \n\n
    \n\n
    \n\n\n

    name (String!)

    The name of the app.

    \n\n\n\n\n\n\n\n\n\n\n\n

    slug (String!)

    A slug based on the name of the app for use in URLs.

    \n\n\n\n\n\n\n\n\n\n\n\n

    updatedAt (DateTime!)

    Identifies the date and time when the object was last updated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    url (URI!)

    The URL to the app's homepage.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n AssignedEvent\n

    \n

    Represents anassignedevent on any assignable object.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    actor (Actor)

    Identifies the actor who performed the event.

    \n\n\n\n\n\n\n\n\n\n\n\n

    assignable (Assignable!)

    Identifies the assignable associated with the event.

    \n\n\n\n\n\n\n\n\n\n\n\n

    assignee (Assignee)

    Identifies the user or mannequin that was assigned.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    user (User)

    Identifies the user who was assigned.

    \n\n\n\n\n\n\n
    \n

    Deprecation notice

    \n

    user is deprecated.

    Assignees can now be mannequins. Use the assignee field instead. Removal on 2020-01-01 UTC.

    \n
    \n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n AutoMergeDisabledEvent\n

    \n

    Represents aauto_merge_disabledevent on a given pull request.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    actor (Actor)

    Identifies the actor who performed the event.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    disabler (User)

    The user who disabled auto-merge for this Pull Request.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pullRequest (PullRequest)

    PullRequest referenced by event.

    \n\n\n\n\n\n\n\n\n\n\n\n

    reason (String)

    The reason auto-merge was disabled.

    \n\n\n\n\n\n\n\n\n\n\n\n

    reasonCode (String)

    The reason_code relating to why auto-merge was disabled.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n AutoMergeEnabledEvent\n

    \n

    Represents aauto_merge_enabledevent on a given pull request.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    actor (Actor)

    Identifies the actor who performed the event.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    enabler (User)

    The user who enabled auto-merge for this Pull Request.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pullRequest (PullRequest)

    PullRequest referenced by event.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n AutoMergeRequest\n

    \n

    Represents an auto-merge request for a pull request.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    authorEmail (String)

    The email address of the author of this auto-merge request.

    \n\n\n\n\n\n\n\n\n\n\n\n

    commitBody (String)

    The commit message of the auto-merge request.

    \n\n\n\n\n\n\n\n\n\n\n\n

    commitHeadline (String)

    The commit title of the auto-merge request.

    \n\n\n\n\n\n\n\n\n\n\n\n

    enabledAt (DateTime)

    When was this auto-merge request was enabled.

    \n\n\n\n\n\n\n\n\n\n\n\n

    enabledBy (Actor)

    The actor who created the auto-merge request.

    \n\n\n\n\n\n\n\n\n\n\n\n

    mergeMethod (PullRequestMergeMethod!)

    The merge method of the auto-merge request.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pullRequest (PullRequest!)

    The pull request that this auto-merge request is set against.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n AutoRebaseEnabledEvent\n

    \n

    Represents aauto_rebase_enabledevent on a given pull request.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    actor (Actor)

    Identifies the actor who performed the event.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    enabler (User)

    The user who enabled auto-merge (rebase) for this Pull Request.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pullRequest (PullRequest)

    PullRequest referenced by event.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n AutoSquashEnabledEvent\n

    \n

    Represents aauto_squash_enabledevent on a given pull request.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    actor (Actor)

    Identifies the actor who performed the event.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    enabler (User)

    The user who enabled auto-merge (squash) for this Pull Request.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pullRequest (PullRequest)

    PullRequest referenced by event.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n AutomaticBaseChangeFailedEvent\n

    \n

    Represents aautomatic_base_change_failedevent on a given pull request.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    actor (Actor)

    Identifies the actor who performed the event.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    newBase (String!)

    The new base for this PR.

    \n\n\n\n\n\n\n\n\n\n\n\n

    oldBase (String!)

    The old base for this PR.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pullRequest (PullRequest!)

    PullRequest referenced by event.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n AutomaticBaseChangeSucceededEvent\n

    \n

    Represents aautomatic_base_change_succeededevent on a given pull request.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    actor (Actor)

    Identifies the actor who performed the event.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    newBase (String!)

    The new base for this PR.

    \n\n\n\n\n\n\n\n\n\n\n\n

    oldBase (String!)

    The old base for this PR.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pullRequest (PullRequest!)

    PullRequest referenced by event.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n BaseRefChangedEvent\n

    \n

    Represents abase_ref_changedevent on a given issue or pull request.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    actor (Actor)

    Identifies the actor who performed the event.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    currentRefName (String!)

    Identifies the name of the base ref for the pull request after it was changed.

    \n\n\n\n\n\n\n\n\n\n\n\n

    databaseId (Int)

    Identifies the primary key from the database.

    \n\n\n\n\n\n\n\n\n\n\n\n

    previousRefName (String!)

    Identifies the name of the base ref for the pull request before it was changed.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pullRequest (PullRequest!)

    PullRequest referenced by event.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n BaseRefDeletedEvent\n

    \n

    Represents abase_ref_deletedevent on a given pull request.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    actor (Actor)

    Identifies the actor who performed the event.

    \n\n\n\n\n\n\n\n\n\n\n\n

    baseRefName (String)

    Identifies the name of the Ref associated with the base_ref_deleted event.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pullRequest (PullRequest)

    PullRequest referenced by event.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n BaseRefForcePushedEvent\n

    \n

    Represents abase_ref_force_pushedevent on a given pull request.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    actor (Actor)

    Identifies the actor who performed the event.

    \n\n\n\n\n\n\n\n\n\n\n\n

    afterCommit (Commit)

    Identifies the after commit SHA for thebase_ref_force_pushedevent.

    \n\n\n\n\n\n\n\n\n\n\n\n

    beforeCommit (Commit)

    Identifies the before commit SHA for thebase_ref_force_pushedevent.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pullRequest (PullRequest!)

    PullRequest referenced by event.

    \n\n\n\n\n\n\n\n\n\n\n\n

    ref (Ref)

    Identifies the fully qualified ref name for thebase_ref_force_pushedevent.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n Blame\n

    \n

    Represents a Git blame.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    ranges ([BlameRange!]!)

    The list of ranges from a Git blame.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n BlameRange\n

    \n

    Represents a range of information from a Git blame.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    age (Int!)

    Identifies the recency of the change, from 1 (new) to 10 (old). This is\ncalculated as a 2-quantile and determines the length of distance between the\nmedian age of all the changes in the file and the recency of the current\nrange's change.

    \n\n\n\n\n\n\n\n\n\n\n\n

    commit (Commit!)

    Identifies the line author.

    \n\n\n\n\n\n\n\n\n\n\n\n

    endingLine (Int!)

    The ending line for the range.

    \n\n\n\n\n\n\n\n\n\n\n\n

    startingLine (Int!)

    The starting line for the range.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n Blob\n

    \n

    Represents a Git blob.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    abbreviatedOid (String!)

    An abbreviated version of the Git object ID.

    \n\n\n\n\n\n\n\n\n\n\n\n

    byteSize (Int!)

    Byte size of Blob object.

    \n\n\n\n\n\n\n\n\n\n\n\n

    commitResourcePath (URI!)

    The HTTP path for this Git object.

    \n\n\n\n\n\n\n\n\n\n\n\n

    commitUrl (URI!)

    The HTTP URL for this Git object.

    \n\n\n\n\n\n\n\n\n\n\n\n

    isBinary (Boolean)

    Indicates whether the Blob is binary or text. Returns null if unable to determine the encoding.

    \n\n\n\n\n\n\n\n\n\n\n\n

    isTruncated (Boolean!)

    Indicates whether the contents is truncated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    oid (GitObjectID!)

    The Git object ID.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repository (Repository!)

    The Repository the Git object belongs to.

    \n\n\n\n\n\n\n\n\n\n\n\n

    text (String)

    UTF8 text data or null if the Blob is binary.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n Bot\n

    \n

    A special type of user which takes actions on behalf of GitHub Apps.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    avatarUrl (URI!)

    A URL pointing to the GitHub App's public avatar.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    size (Int)

    \n

    The size of the resulting square image.

    \n\n
    \n\n
    \n\n\n

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    databaseId (Int)

    Identifies the primary key from the database.

    \n\n\n\n\n\n\n\n\n\n\n\n

    login (String!)

    The username of the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    resourcePath (URI!)

    The HTTP path for this bot.

    \n\n\n\n\n\n\n\n\n\n\n\n

    updatedAt (DateTime!)

    Identifies the date and time when the object was last updated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    url (URI!)

    The HTTP URL for this bot.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n BranchProtectionRule\n

    \n

    A branch protection rule.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    allowsDeletions (Boolean!)

    Can this branch be deleted.

    \n\n\n\n\n\n\n\n\n\n\n\n

    allowsForcePushes (Boolean!)

    Are force pushes allowed on this branch.

    \n\n\n\n\n\n\n\n\n\n\n\n

    branchProtectionRuleConflicts (BranchProtectionRuleConflictConnection!)

    A list of conflicts matching branches protection rule and other branch protection rules.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n\n\n

    creator (Actor)

    The actor who created this branch protection rule.

    \n\n\n\n\n\n\n\n\n\n\n\n

    databaseId (Int)

    Identifies the primary key from the database.

    \n\n\n\n\n\n\n\n\n\n\n\n

    dismissesStaleReviews (Boolean!)

    Will new commits pushed to matching branches dismiss pull request review approvals.

    \n\n\n\n\n\n\n\n\n\n\n\n

    isAdminEnforced (Boolean!)

    Can admins overwrite branch protection.

    \n\n\n\n\n\n\n\n\n\n\n\n

    matchingRefs (RefConnection!)

    Repository refs that are protected by this rule.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    query (String)

    \n

    Filters refs with query on name.

    \n\n
    \n\n
    \n\n\n

    pattern (String!)

    Identifies the protection rule pattern.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pushAllowances (PushAllowanceConnection!)

    A list push allowances for this branch protection rule.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n\n\n

    repository (Repository)

    The repository associated with this branch protection rule.

    \n\n\n\n\n\n\n\n\n\n\n\n

    requiredApprovingReviewCount (Int)

    Number of approving reviews required to update matching branches.

    \n\n\n\n\n\n\n\n\n\n\n\n

    requiredStatusCheckContexts ([String])

    List of required status check contexts that must pass for commits to be accepted to matching branches.

    \n\n\n\n\n\n\n\n\n\n\n\n

    requiresApprovingReviews (Boolean!)

    Are approving reviews required to update matching branches.

    \n\n\n\n\n\n\n\n\n\n\n\n

    requiresCodeOwnerReviews (Boolean!)

    Are reviews from code owners required to update matching branches.

    \n\n\n\n\n\n\n\n\n\n\n\n

    requiresCommitSignatures (Boolean!)

    Are commits required to be signed.

    \n\n\n\n\n\n\n\n\n\n\n\n

    requiresLinearHistory (Boolean!)

    Are merge commits prohibited from being pushed to this branch.

    \n\n\n\n\n\n\n\n\n\n\n\n

    requiresStatusChecks (Boolean!)

    Are status checks required to update matching branches.

    \n\n\n\n\n\n\n\n\n\n\n\n

    requiresStrictStatusChecks (Boolean!)

    Are branches required to be up to date before merging.

    \n\n\n\n\n\n\n\n\n\n\n\n

    restrictsPushes (Boolean!)

    Is pushing to matching branches restricted.

    \n\n\n\n\n\n\n\n\n\n\n\n

    restrictsReviewDismissals (Boolean!)

    Is dismissal of pull request reviews restricted.

    \n\n\n\n\n\n\n\n\n\n\n\n

    reviewDismissalAllowances (ReviewDismissalAllowanceConnection!)

    A list review dismissal allowances for this branch protection rule.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n BranchProtectionRuleConflict\n

    \n

    A conflict between two branch protection rules.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    branchProtectionRule (BranchProtectionRule)

    Identifies the branch protection rule.

    \n\n\n\n\n\n\n\n\n\n\n\n

    conflictingBranchProtectionRule (BranchProtectionRule)

    Identifies the conflicting branch protection rule.

    \n\n\n\n\n\n\n\n\n\n\n\n

    ref (Ref)

    Identifies the branch ref that has conflicting rules.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n BranchProtectionRuleConflictConnection\n

    \n

    The connection type for BranchProtectionRuleConflict.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([BranchProtectionRuleConflictEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([BranchProtectionRuleConflict])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n BranchProtectionRuleConflictEdge\n

    \n

    An edge in a connection.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (BranchProtectionRuleConflict)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n BranchProtectionRuleConnection\n

    \n

    The connection type for BranchProtectionRule.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([BranchProtectionRuleEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([BranchProtectionRule])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n BranchProtectionRuleEdge\n

    \n

    An edge in a connection.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (BranchProtectionRule)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n CVSS\n

    \n

    The Common Vulnerability Scoring System.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    score (Float!)

    The CVSS score associated with this advisory.

    \n\n\n\n\n\n\n\n\n\n\n\n

    vectorString (String)

    The CVSS vector string associated with this advisory.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n CWE\n

    \n

    A common weakness enumeration.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cweId (String!)

    The id of the CWE.

    \n\n\n\n\n\n\n\n\n\n\n\n

    description (String!)

    A detailed description of this CWE.

    \n\n\n\n\n\n\n\n\n\n\n\n

    id (ID!)

    ID of the object.

    \n\n\n\n\n\n\n\n\n\n\n\n

    name (String!)

    The name of this CWE.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n CWEConnection\n

    \n

    The connection type for CWE.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([CWEEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([CWE])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n CWEEdge\n

    \n

    An edge in a connection.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (CWE)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n CheckAnnotation\n

    \n

    A single check annotation.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    annotationLevel (CheckAnnotationLevel)

    The annotation's severity level.

    \n\n\n\n\n\n\n\n\n\n\n\n

    blobUrl (URI!)

    The path to the file that this annotation was made on.

    \n\n\n\n\n\n\n\n\n\n\n\n

    databaseId (Int)

    Identifies the primary key from the database.

    \n\n\n\n\n\n\n\n\n\n\n\n

    location (CheckAnnotationSpan!)

    The position of this annotation.

    \n\n\n\n\n\n\n\n\n\n\n\n

    message (String!)

    The annotation's message.

    \n\n\n\n\n\n\n\n\n\n\n\n

    path (String!)

    The path that this annotation was made on.

    \n\n\n\n\n\n\n\n\n\n\n\n

    rawDetails (String)

    Additional information about the annotation.

    \n\n\n\n\n\n\n\n\n\n\n\n

    title (String)

    The annotation's title.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n CheckAnnotationConnection\n

    \n

    The connection type for CheckAnnotation.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([CheckAnnotationEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([CheckAnnotation])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n CheckAnnotationEdge\n

    \n

    An edge in a connection.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (CheckAnnotation)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n CheckAnnotationPosition\n

    \n

    A character position in a check annotation.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    column (Int)

    Column number (1 indexed).

    \n\n\n\n\n\n\n\n\n\n\n\n

    line (Int!)

    Line number (1 indexed).

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n CheckAnnotationSpan\n

    \n

    An inclusive pair of positions for a check annotation.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    end (CheckAnnotationPosition!)

    End position (inclusive).

    \n\n\n\n\n\n\n\n\n\n\n\n

    start (CheckAnnotationPosition!)

    Start position (inclusive).

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n CheckRun\n

    \n

    A check run.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    annotations (CheckAnnotationConnection)

    The check run's annotations.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n\n\n

    checkSuite (CheckSuite!)

    The check suite that this run is a part of.

    \n\n\n\n\n\n\n\n\n\n\n\n

    completedAt (DateTime)

    Identifies the date and time when the check run was completed.

    \n\n\n\n\n\n\n\n\n\n\n\n

    conclusion (CheckConclusionState)

    The conclusion of the check run.

    \n\n\n\n\n\n\n\n\n\n\n\n

    databaseId (Int)

    Identifies the primary key from the database.

    \n\n\n\n\n\n\n\n\n\n\n\n

    detailsUrl (URI)

    The URL from which to find full details of the check run on the integrator's site.

    \n\n\n\n\n\n\n\n\n\n\n\n

    externalId (String)

    A reference for the check run on the integrator's system.

    \n\n\n\n\n\n\n\n\n\n\n\n

    isRequired (Boolean!)

    Whether this is required to pass before merging for a specific pull request.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    pullRequestId (ID)

    \n

    The id of the pull request this is required for.

    \n\n
    \n\n
    \n

    pullRequestNumber (Int)

    \n

    The number of the pull request this is required for.

    \n\n
    \n\n
    \n\n\n

    name (String!)

    The name of the check for this check run.

    \n\n\n\n\n\n\n\n\n\n\n\n

    permalink (URI!)

    The permalink to the check run summary.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repository (Repository!)

    The repository associated with this check run.

    \n\n\n\n\n\n\n\n\n\n\n\n

    resourcePath (URI!)

    The HTTP path for this check run.

    \n\n\n\n\n\n\n\n\n\n\n\n

    startedAt (DateTime)

    Identifies the date and time when the check run was started.

    \n\n\n\n\n\n\n\n\n\n\n\n

    status (CheckStatusState!)

    The current status of the check run.

    \n\n\n\n\n\n\n\n\n\n\n\n

    summary (String)

    A string representing the check run's summary.

    \n\n\n\n\n\n\n\n\n\n\n\n

    text (String)

    A string representing the check run's text.

    \n\n\n\n\n\n\n\n\n\n\n\n

    title (String)

    A string representing the check run.

    \n\n\n\n\n\n\n\n\n\n\n\n

    url (URI!)

    The HTTP URL for this check run.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n CheckRunConnection\n

    \n

    The connection type for CheckRun.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([CheckRunEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([CheckRun])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n CheckRunEdge\n

    \n

    An edge in a connection.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (CheckRun)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n CheckSuite\n

    \n

    A check suite.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    app (App)

    The GitHub App which created this check suite.

    \n\n\n\n\n\n\n\n\n\n\n\n

    branch (Ref)

    The name of the branch for this check suite.

    \n\n\n\n\n\n\n\n\n\n\n\n

    checkRuns (CheckRunConnection)

    The check runs associated with a check suite.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    filterBy (CheckRunFilter)

    \n

    Filters the check runs by this type.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n\n\n

    commit (Commit!)

    The commit for this check suite.

    \n\n\n\n\n\n\n\n\n\n\n\n

    conclusion (CheckConclusionState)

    The conclusion of this check suite.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    databaseId (Int)

    Identifies the primary key from the database.

    \n\n\n\n\n\n\n\n\n\n\n\n

    matchingPullRequests (PullRequestConnection)

    A list of open pull requests matching the check suite.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    baseRefName (String)

    \n

    The base ref name to filter the pull requests by.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    headRefName (String)

    \n

    The head ref name to filter the pull requests by.

    \n\n
    \n\n
    \n

    labels ([String!])

    \n

    A list of label names to filter the pull requests by.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (IssueOrder)

    \n

    Ordering options for pull requests returned from the connection.

    \n\n
    \n\n
    \n

    states ([PullRequestState!])

    \n

    A list of states to filter the pull requests by.

    \n\n
    \n\n
    \n\n\n

    push (Push)

    The push that triggered this check suite.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repository (Repository!)

    The repository associated with this check suite.

    \n\n\n\n\n\n\n\n\n\n\n\n

    resourcePath (URI!)

    The HTTP path for this check suite.

    \n\n\n\n\n\n\n\n\n\n\n\n

    status (CheckStatusState!)

    The status of this check suite.

    \n\n\n\n\n\n\n\n\n\n\n\n

    updatedAt (DateTime!)

    Identifies the date and time when the object was last updated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    url (URI!)

    The HTTP URL for this check suite.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n CheckSuiteConnection\n

    \n

    The connection type for CheckSuite.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([CheckSuiteEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([CheckSuite])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n CheckSuiteEdge\n

    \n

    An edge in a connection.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (CheckSuite)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n ClosedEvent\n

    \n

    Represents aclosedevent on any Closable.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    actor (Actor)

    Identifies the actor who performed the event.

    \n\n\n\n\n\n\n\n\n\n\n\n

    closable (Closable!)

    Object that was closed.

    \n\n\n\n\n\n\n\n\n\n\n\n

    closer (Closer)

    Object which triggered the creation of this event.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    resourcePath (URI!)

    The HTTP path for this closed event.

    \n\n\n\n\n\n\n\n\n\n\n\n

    url (URI!)

    The HTTP URL for this closed event.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n CodeOfConduct\n

    \n

    The Code of Conduct for a repository.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    body (String)

    The body of the Code of Conduct.

    \n\n\n\n\n\n\n\n\n\n\n\n

    key (String!)

    The key for the Code of Conduct.

    \n\n\n\n\n\n\n\n\n\n\n\n

    name (String!)

    The formal name of the Code of Conduct.

    \n\n\n\n\n\n\n\n\n\n\n\n

    resourcePath (URI)

    The HTTP path for this Code of Conduct.

    \n\n\n\n\n\n\n\n\n\n\n\n

    url (URI)

    The HTTP URL for this Code of Conduct.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n CommentDeletedEvent\n

    \n

    Represents acomment_deletedevent on a given issue or pull request.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    actor (Actor)

    Identifies the actor who performed the event.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    databaseId (Int)

    Identifies the primary key from the database.

    \n\n\n\n\n\n\n\n\n\n\n\n

    deletedCommentAuthor (Actor)

    The user who authored the deleted comment.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n Commit\n

    \n

    Represents a Git commit.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    abbreviatedOid (String!)

    An abbreviated version of the Git object ID.

    \n\n\n\n\n\n\n\n\n\n\n\n

    additions (Int!)

    The number of additions in this commit.

    \n\n\n\n\n\n\n\n\n\n\n\n

    associatedPullRequests (PullRequestConnection)

    The pull requests associated with a commit.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (PullRequestOrder)

    \n

    Ordering options for pull requests.

    \n\n
    \n\n
    \n\n\n

    author (GitActor)

    Authorship details of the commit.

    \n\n\n\n\n\n\n\n\n\n\n\n

    authoredByCommitter (Boolean!)

    Check if the committer and the author match.

    \n\n\n\n\n\n\n\n\n\n\n\n

    authoredDate (DateTime!)

    The datetime when this commit was authored.

    \n\n\n\n\n\n\n\n\n\n\n\n

    authors (GitActorConnection!)

    The list of authors for this commit based on the git author and the Co-authored-by\nmessage trailer. The git author will always be first.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n\n\n

    blame (Blame!)

    Fetches git blame information.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    path (String!)

    \n

    The file whose Git blame information you want.

    \n\n
    \n\n
    \n\n\n

    changedFiles (Int!)

    The number of changed files in this commit.

    \n\n\n\n\n\n\n\n\n\n\n\n

    checkSuites (CheckSuiteConnection)

    The check suites associated with a commit.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    filterBy (CheckSuiteFilter)

    \n

    Filters the check suites by this type.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n\n\n

    comments (CommitCommentConnection!)

    Comments made on the commit.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n\n\n

    commitResourcePath (URI!)

    The HTTP path for this Git object.

    \n\n\n\n\n\n\n\n\n\n\n\n

    commitUrl (URI!)

    The HTTP URL for this Git object.

    \n\n\n\n\n\n\n\n\n\n\n\n

    committedDate (DateTime!)

    The datetime when this commit was committed.

    \n\n\n\n\n\n\n\n\n\n\n\n

    committedViaWeb (Boolean!)

    Check if committed via GitHub web UI.

    \n\n\n\n\n\n\n\n\n\n\n\n

    committer (GitActor)

    Committer details of the commit.

    \n\n\n\n\n\n\n\n\n\n\n\n

    deletions (Int!)

    The number of deletions in this commit.

    \n\n\n\n\n\n\n\n\n\n\n\n

    deployments (DeploymentConnection)

    The deployments associated with a commit.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    environments ([String!])

    \n

    Environments to list deployments for.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (DeploymentOrder)

    \n

    Ordering options for deployments returned from the connection.

    \n\n
    \n\n
    \n\n\n

    file (TreeEntry)

    The tree entry representing the file located at the given path.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    path (String!)

    \n

    The path for the file.

    \n\n
    \n\n
    \n\n\n

    history (CommitHistoryConnection!)

    The linear commit history starting from (and including) this commit, in the same order as git log.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    author (CommitAuthor)

    \n

    If non-null, filters history to only show commits with matching authorship.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    path (String)

    \n

    If non-null, filters history to only show commits touching files under this path.

    \n\n
    \n\n
    \n

    since (GitTimestamp)

    \n

    Allows specifying a beginning time or date for fetching commits.

    \n\n
    \n\n
    \n

    until (GitTimestamp)

    \n

    Allows specifying an ending time or date for fetching commits.

    \n\n
    \n\n
    \n\n\n

    message (String!)

    The Git commit message.

    \n\n\n\n\n\n\n\n\n\n\n\n

    messageBody (String!)

    The Git commit message body.

    \n\n\n\n\n\n\n\n\n\n\n\n

    messageBodyHTML (HTML!)

    The commit message body rendered to HTML.

    \n\n\n\n\n\n\n\n\n\n\n\n

    messageHeadline (String!)

    The Git commit message headline.

    \n\n\n\n\n\n\n\n\n\n\n\n

    messageHeadlineHTML (HTML!)

    The commit message headline rendered to HTML.

    \n\n\n\n\n\n\n\n\n\n\n\n

    oid (GitObjectID!)

    The Git object ID.

    \n\n\n\n\n\n\n\n\n\n\n\n

    onBehalfOf (Organization)

    The organization this commit was made on behalf of.

    \n\n\n\n\n\n\n\n\n\n\n\n

    parents (CommitConnection!)

    The parents of a commit.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n\n\n

    pushedDate (DateTime)

    The datetime when this commit was pushed.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repository (Repository!)

    The Repository this commit belongs to.

    \n\n\n\n\n\n\n\n\n\n\n\n

    resourcePath (URI!)

    The HTTP path for this commit.

    \n\n\n\n\n\n\n\n\n\n\n\n

    signature (GitSignature)

    Commit signing information, if present.

    \n\n\n\n\n\n\n\n\n\n\n\n

    status (Status)

    Status information for this commit.

    \n\n\n\n\n\n\n\n\n\n\n\n

    statusCheckRollup (StatusCheckRollup)

    Check and Status rollup information for this commit.

    \n\n\n\n\n\n\n\n\n\n\n\n

    submodules (SubmoduleConnection!)

    Returns a list of all submodules in this repository as of this Commit parsed from the .gitmodules file.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n\n\n

    tarballUrl (URI!)

    Returns a URL to download a tarball archive for a repository.\nNote: For private repositories, these links are temporary and expire after five minutes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    tree (Tree!)

    Commit's root Tree.

    \n\n\n\n\n\n\n\n\n\n\n\n

    treeResourcePath (URI!)

    The HTTP path for the tree of this commit.

    \n\n\n\n\n\n\n\n\n\n\n\n

    treeUrl (URI!)

    The HTTP URL for the tree of this commit.

    \n\n\n\n\n\n\n\n\n\n\n\n

    url (URI!)

    The HTTP URL for this commit.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerCanSubscribe (Boolean!)

    Check if the viewer is able to change their subscription status for the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerSubscription (SubscriptionState)

    Identifies if the viewer is watching, not watching, or ignoring the subscribable entity.

    \n\n\n\n\n\n\n\n\n\n\n\n

    zipballUrl (URI!)

    Returns a URL to download a zipball archive for a repository.\nNote: For private repositories, these links are temporary and expire after five minutes.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n CommitComment\n

    \n

    Represents a comment on a given Commit.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    author (Actor)

    The actor who authored the comment.

    \n\n\n\n\n\n\n\n\n\n\n\n

    authorAssociation (CommentAuthorAssociation!)

    Author's association with the subject of the comment.

    \n\n\n\n\n\n\n\n\n\n\n\n

    body (String!)

    Identifies the comment body.

    \n\n\n\n\n\n\n\n\n\n\n\n

    bodyHTML (HTML!)

    The body rendered to HTML.

    \n\n\n\n\n\n\n\n\n\n\n\n

    bodyText (String!)

    The body rendered to text.

    \n\n\n\n\n\n\n\n\n\n\n\n

    commit (Commit)

    Identifies the commit associated with the comment, if the commit exists.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdViaEmail (Boolean!)

    Check if this comment was created via an email reply.

    \n\n\n\n\n\n\n\n\n\n\n\n

    databaseId (Int)

    Identifies the primary key from the database.

    \n\n\n\n\n\n\n\n\n\n\n\n

    editor (Actor)

    The actor who edited the comment.

    \n\n\n\n\n\n\n\n\n\n\n\n

    includesCreatedEdit (Boolean!)

    Check if this comment was edited and includes an edit with the creation data.

    \n\n\n\n\n\n\n\n\n\n\n\n

    isMinimized (Boolean!)

    Returns whether or not a comment has been minimized.

    \n\n\n\n\n\n\n\n\n\n\n\n

    lastEditedAt (DateTime)

    The moment the editor made the last edit.

    \n\n\n\n\n\n\n\n\n\n\n\n

    minimizedReason (String)

    Returns why the comment was minimized.

    \n\n\n\n\n\n\n\n\n\n\n\n

    path (String)

    Identifies the file path associated with the comment.

    \n\n\n\n\n\n\n\n\n\n\n\n

    position (Int)

    Identifies the line position associated with the comment.

    \n\n\n\n\n\n\n\n\n\n\n\n

    publishedAt (DateTime)

    Identifies when the comment was published at.

    \n\n\n\n\n\n\n\n\n\n\n\n

    reactionGroups ([ReactionGroup!])

    A list of reactions grouped by content left on the subject.

    \n\n\n\n\n\n\n\n\n\n\n\n

    reactions (ReactionConnection!)

    A list of Reactions left on the Issue.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    content (ReactionContent)

    \n

    Allows filtering Reactions by emoji.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (ReactionOrder)

    \n

    Allows specifying the order in which reactions are returned.

    \n\n
    \n\n
    \n\n\n

    repository (Repository!)

    The repository associated with this node.

    \n\n\n\n\n\n\n\n\n\n\n\n

    resourcePath (URI!)

    The HTTP path permalink for this commit comment.

    \n\n\n\n\n\n\n\n\n\n\n\n

    updatedAt (DateTime!)

    Identifies the date and time when the object was last updated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    url (URI!)

    The HTTP URL permalink for this commit comment.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userContentEdits (UserContentEditConnection)

    A list of edits to this content.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n\n\n

    viewerCanDelete (Boolean!)

    Check if the current viewer can delete this object.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerCanMinimize (Boolean!)

    Check if the current viewer can minimize this object.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerCanReact (Boolean!)

    Can user react to this subject.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerCanUpdate (Boolean!)

    Check if the current viewer can update this object.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerCannotUpdateReasons ([CommentCannotUpdateReason!]!)

    Reasons why the current viewer can not update this comment.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerDidAuthor (Boolean!)

    Did the viewer author this comment.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n CommitCommentConnection\n

    \n

    The connection type for CommitComment.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([CommitCommentEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([CommitComment])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n CommitCommentEdge\n

    \n

    An edge in a connection.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (CommitComment)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n CommitCommentThread\n

    \n

    A thread of comments on a commit.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    comments (CommitCommentConnection!)

    The comments that exist in this thread.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n\n\n

    commit (Commit)

    The commit the comments were made on.

    \n\n\n\n\n\n\n\n\n\n\n\n

    path (String)

    The file the comments were made on.

    \n\n\n\n\n\n\n\n\n\n\n\n

    position (Int)

    The position in the diff for the commit that the comment was made on.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repository (Repository!)

    The repository associated with this node.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n CommitConnection\n

    \n

    The connection type for Commit.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([CommitEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([Commit])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n CommitContributionsByRepository\n

    \n

    This aggregates commits made by a user within one repository.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    contributions (CreatedCommitContributionConnection!)

    The commit contributions, each representing a day.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (CommitContributionOrder)

    \n

    Ordering options for commit contributions returned from the connection.

    \n\n
    \n\n
    \n\n\n

    repository (Repository!)

    The repository in which the commits were made.

    \n\n\n\n\n\n\n\n\n\n\n\n

    resourcePath (URI!)

    The HTTP path for the user's commits to the repository in this time range.

    \n\n\n\n\n\n\n\n\n\n\n\n

    url (URI!)

    The HTTP URL for the user's commits to the repository in this time range.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n CommitEdge\n

    \n

    An edge in a connection.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (Commit)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n CommitHistoryConnection\n

    \n

    The connection type for Commit.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([CommitEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([Commit])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n ConnectedEvent\n

    \n

    Represents aconnectedevent on a given issue or pull request.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    actor (Actor)

    Identifies the actor who performed the event.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    isCrossRepository (Boolean!)

    Reference originated in a different repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    source (ReferencedSubject!)

    Issue or pull request that made the reference.

    \n\n\n\n\n\n\n\n\n\n\n\n

    subject (ReferencedSubject!)

    Issue or pull request which was connected.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n ContentAttachment\n

    \n

    A content attachment.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    body (String!)

    The body text of the content attachment. This parameter supports markdown.

    \n\n\n\n\n\n\n\n\n\n\n\n

    contentReference (ContentReference!)

    The content reference that the content attachment is attached to.

    \n\n\n\n\n\n\n\n\n\n\n\n

    databaseId (Int!)

    Identifies the primary key from the database.

    \n\n\n\n\n\n\n\n\n\n\n\n

    title (String!)

    The title of the content attachment.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n ContentReference\n

    \n

    A content reference.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    databaseId (Int!)

    Identifies the primary key from the database.

    \n\n\n\n\n\n\n\n\n\n\n\n

    reference (String!)

    The reference of the content reference.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n ContributionCalendar\n

    \n

    A calendar of contributions made on GitHub by a user.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    colors ([String!]!)

    A list of hex color codes used in this calendar. The darker the color, the more contributions it represents.

    \n\n\n\n\n\n\n\n\n\n\n\n

    isHalloween (Boolean!)

    Determine if the color set was chosen because it's currently Halloween.

    \n\n\n\n\n\n\n\n\n\n\n\n

    months ([ContributionCalendarMonth!]!)

    A list of the months of contributions in this calendar.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalContributions (Int!)

    The count of total contributions in the calendar.

    \n\n\n\n\n\n\n\n\n\n\n\n

    weeks ([ContributionCalendarWeek!]!)

    A list of the weeks of contributions in this calendar.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n ContributionCalendarDay\n

    \n

    Represents a single day of contributions on GitHub by a user.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    color (String!)

    The hex color code that represents how many contributions were made on this day compared to others in the calendar.

    \n\n\n\n\n\n\n\n\n\n\n\n

    contributionCount (Int!)

    How many contributions were made by the user on this day.

    \n\n\n\n\n\n\n\n\n\n\n\n

    contributionLevel (ContributionLevel!)

    Indication of contributions, relative to other days. Can be used to indicate\nwhich color to represent this day on a calendar.

    \n\n\n\n\n\n\n\n\n\n\n\n

    date (Date!)

    The day this square represents.

    \n\n\n\n\n\n\n\n\n\n\n\n

    weekday (Int!)

    A number representing which day of the week this square represents, e.g., 1 is Monday.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n ContributionCalendarMonth\n

    \n

    A month of contributions in a user's contribution graph.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    firstDay (Date!)

    The date of the first day of this month.

    \n\n\n\n\n\n\n\n\n\n\n\n

    name (String!)

    The name of the month.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalWeeks (Int!)

    How many weeks started in this month.

    \n\n\n\n\n\n\n\n\n\n\n\n

    year (Int!)

    The year the month occurred in.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n ContributionCalendarWeek\n

    \n

    A week of contributions in a user's contribution graph.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    contributionDays ([ContributionCalendarDay!]!)

    The days of contributions in this week.

    \n\n\n\n\n\n\n\n\n\n\n\n

    firstDay (Date!)

    The date of the earliest square in this week.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n ContributionsCollection\n

    \n

    A contributions collection aggregates contributions such as opened issues and commits created by a user.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    commitContributionsByRepository ([CommitContributionsByRepository!]!)

    Commit contributions made by the user, grouped by repository.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    maxRepositories (Int)

    \n

    How many repositories should be included.

    \n

    The default value is 25.

    \n
    \n\n
    \n\n\n

    contributionCalendar (ContributionCalendar!)

    A calendar of this user's contributions on GitHub.

    \n\n\n\n\n\n\n\n\n\n\n\n

    contributionYears ([Int!]!)

    The years the user has been making contributions with the most recent year first.

    \n\n\n\n\n\n\n\n\n\n\n\n

    doesEndInCurrentMonth (Boolean!)

    Determine if this collection's time span ends in the current month.

    \n\n\n\n\n\n\n\n\n\n\n\n

    earliestRestrictedContributionDate (Date)

    The date of the first restricted contribution the user made in this time\nperiod. Can only be non-null when the user has enabled private contribution counts.

    \n\n\n\n\n\n\n\n\n\n\n\n

    endedAt (DateTime!)

    The ending date and time of this collection.

    \n\n\n\n\n\n\n\n\n\n\n\n

    firstIssueContribution (CreatedIssueOrRestrictedContribution)

    The first issue the user opened on GitHub. This will be null if that issue was\nopened outside the collection's time range and ignoreTimeRange is false. If\nthe issue is not visible but the user has opted to show private contributions,\na RestrictedContribution will be returned.

    \n\n\n\n\n\n\n\n\n\n\n\n

    firstPullRequestContribution (CreatedPullRequestOrRestrictedContribution)

    The first pull request the user opened on GitHub. This will be null if that\npull request was opened outside the collection's time range and\nignoreTimeRange is not true. If the pull request is not visible but the user\nhas opted to show private contributions, a RestrictedContribution will be returned.

    \n\n\n\n\n\n\n\n\n\n\n\n

    firstRepositoryContribution (CreatedRepositoryOrRestrictedContribution)

    The first repository the user created on GitHub. This will be null if that\nfirst repository was created outside the collection's time range and\nignoreTimeRange is false. If the repository is not visible, then a\nRestrictedContribution is returned.

    \n\n\n\n\n\n\n\n\n\n\n\n

    hasActivityInThePast (Boolean!)

    Does the user have any more activity in the timeline that occurred prior to the collection's time range?.

    \n\n\n\n\n\n\n\n\n\n\n\n

    hasAnyContributions (Boolean!)

    Determine if there are any contributions in this collection.

    \n\n\n\n\n\n\n\n\n\n\n\n

    hasAnyRestrictedContributions (Boolean!)

    Determine if the user made any contributions in this time frame whose details\nare not visible because they were made in a private repository. Can only be\ntrue if the user enabled private contribution counts.

    \n\n\n\n\n\n\n\n\n\n\n\n

    isSingleDay (Boolean!)

    Whether or not the collector's time span is all within the same day.

    \n\n\n\n\n\n\n\n\n\n\n\n

    issueContributions (CreatedIssueContributionConnection!)

    A list of issues the user opened.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    excludeFirst (Boolean)

    \n

    Should the user's first issue ever be excluded from the result.

    \n

    The default value is false.

    \n
    \n\n
    \n

    excludePopular (Boolean)

    \n

    Should the user's most commented issue be excluded from the result.

    \n

    The default value is false.

    \n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (ContributionOrder)

    \n

    Ordering options for contributions returned from the connection.

    \n\n
    \n\n
    \n\n\n

    issueContributionsByRepository ([IssueContributionsByRepository!]!)

    Issue contributions made by the user, grouped by repository.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    excludeFirst (Boolean)

    \n

    Should the user's first issue ever be excluded from the result.

    \n

    The default value is false.

    \n
    \n\n
    \n

    excludePopular (Boolean)

    \n

    Should the user's most commented issue be excluded from the result.

    \n

    The default value is false.

    \n
    \n\n
    \n

    maxRepositories (Int)

    \n

    How many repositories should be included.

    \n

    The default value is 25.

    \n
    \n\n
    \n\n\n

    joinedGitHubContribution (JoinedGitHubContribution)

    When the user signed up for GitHub. This will be null if that sign up date\nfalls outside the collection's time range and ignoreTimeRange is false.

    \n\n\n\n\n\n\n\n\n\n\n\n

    latestRestrictedContributionDate (Date)

    The date of the most recent restricted contribution the user made in this time\nperiod. Can only be non-null when the user has enabled private contribution counts.

    \n\n\n\n\n\n\n\n\n\n\n\n

    mostRecentCollectionWithActivity (ContributionsCollection)

    When this collection's time range does not include any activity from the user, use this\nto get a different collection from an earlier time range that does have activity.

    \n\n\n\n\n\n\n\n\n\n\n\n

    mostRecentCollectionWithoutActivity (ContributionsCollection)

    Returns a different contributions collection from an earlier time range than this one\nthat does not have any contributions.

    \n\n\n\n\n\n\n\n\n\n\n\n

    popularIssueContribution (CreatedIssueContribution)

    The issue the user opened on GitHub that received the most comments in the specified\ntime frame.

    \n\n\n\n\n\n\n\n\n\n\n\n

    popularPullRequestContribution (CreatedPullRequestContribution)

    The pull request the user opened on GitHub that received the most comments in the\nspecified time frame.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pullRequestContributions (CreatedPullRequestContributionConnection!)

    Pull request contributions made by the user.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    excludeFirst (Boolean)

    \n

    Should the user's first pull request ever be excluded from the result.

    \n

    The default value is false.

    \n
    \n\n
    \n

    excludePopular (Boolean)

    \n

    Should the user's most commented pull request be excluded from the result.

    \n

    The default value is false.

    \n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (ContributionOrder)

    \n

    Ordering options for contributions returned from the connection.

    \n\n
    \n\n
    \n\n\n

    pullRequestContributionsByRepository ([PullRequestContributionsByRepository!]!)

    Pull request contributions made by the user, grouped by repository.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    excludeFirst (Boolean)

    \n

    Should the user's first pull request ever be excluded from the result.

    \n

    The default value is false.

    \n
    \n\n
    \n

    excludePopular (Boolean)

    \n

    Should the user's most commented pull request be excluded from the result.

    \n

    The default value is false.

    \n
    \n\n
    \n

    maxRepositories (Int)

    \n

    How many repositories should be included.

    \n

    The default value is 25.

    \n
    \n\n
    \n\n\n

    pullRequestReviewContributions (CreatedPullRequestReviewContributionConnection!)

    Pull request review contributions made by the user.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (ContributionOrder)

    \n

    Ordering options for contributions returned from the connection.

    \n\n
    \n\n
    \n\n\n

    pullRequestReviewContributionsByRepository ([PullRequestReviewContributionsByRepository!]!)

    Pull request review contributions made by the user, grouped by repository.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    maxRepositories (Int)

    \n

    How many repositories should be included.

    \n

    The default value is 25.

    \n
    \n\n
    \n\n\n

    repositoryContributions (CreatedRepositoryContributionConnection!)

    A list of repositories owned by the user that the user created in this time range.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    excludeFirst (Boolean)

    \n

    Should the user's first repository ever be excluded from the result.

    \n

    The default value is false.

    \n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (ContributionOrder)

    \n

    Ordering options for contributions returned from the connection.

    \n\n
    \n\n
    \n\n\n

    restrictedContributionsCount (Int!)

    A count of contributions made by the user that the viewer cannot access. Only\nnon-zero when the user has chosen to share their private contribution counts.

    \n\n\n\n\n\n\n\n\n\n\n\n

    startedAt (DateTime!)

    The beginning date and time of this collection.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCommitContributions (Int!)

    How many commits were made by the user in this time span.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalIssueContributions (Int!)

    How many issues the user opened.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    excludeFirst (Boolean)

    \n

    Should the user's first issue ever be excluded from this count.

    \n

    The default value is false.

    \n
    \n\n
    \n

    excludePopular (Boolean)

    \n

    Should the user's most commented issue be excluded from this count.

    \n

    The default value is false.

    \n
    \n\n
    \n\n\n

    totalPullRequestContributions (Int!)

    How many pull requests the user opened.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    excludeFirst (Boolean)

    \n

    Should the user's first pull request ever be excluded from this count.

    \n

    The default value is false.

    \n
    \n\n
    \n

    excludePopular (Boolean)

    \n

    Should the user's most commented pull request be excluded from this count.

    \n

    The default value is false.

    \n
    \n\n
    \n\n\n

    totalPullRequestReviewContributions (Int!)

    How many pull request reviews the user left.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalRepositoriesWithContributedCommits (Int!)

    How many different repositories the user committed to.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalRepositoriesWithContributedIssues (Int!)

    How many different repositories the user opened issues in.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    excludeFirst (Boolean)

    \n

    Should the user's first issue ever be excluded from this count.

    \n

    The default value is false.

    \n
    \n\n
    \n

    excludePopular (Boolean)

    \n

    Should the user's most commented issue be excluded from this count.

    \n

    The default value is false.

    \n
    \n\n
    \n\n\n

    totalRepositoriesWithContributedPullRequestReviews (Int!)

    How many different repositories the user left pull request reviews in.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalRepositoriesWithContributedPullRequests (Int!)

    How many different repositories the user opened pull requests in.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    excludeFirst (Boolean)

    \n

    Should the user's first pull request ever be excluded from this count.

    \n

    The default value is false.

    \n
    \n\n
    \n

    excludePopular (Boolean)

    \n

    Should the user's most commented pull request be excluded from this count.

    \n

    The default value is false.

    \n
    \n\n
    \n\n\n

    totalRepositoryContributions (Int!)

    How many repositories the user created.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    excludeFirst (Boolean)

    \n

    Should the user's first repository ever be excluded from this count.

    \n

    The default value is false.

    \n
    \n\n
    \n\n\n

    user (User!)

    The user who made the contributions in this collection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n ConvertToDraftEvent\n

    \n

    Represents aconvert_to_draftevent on a given pull request.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    actor (Actor)

    Identifies the actor who performed the event.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pullRequest (PullRequest!)

    PullRequest referenced by event.

    \n\n\n\n\n\n\n\n\n\n\n\n

    resourcePath (URI!)

    The HTTP path for this convert to draft event.

    \n\n\n\n\n\n\n\n\n\n\n\n

    url (URI!)

    The HTTP URL for this convert to draft event.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n ConvertedNoteToIssueEvent\n

    \n

    Represents aconverted_note_to_issueevent on a given issue or pull request.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    actor (Actor)

    Identifies the actor who performed the event.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    databaseId (Int)

    Identifies the primary key from the database.

    \n\n\n\n\n\n\n\n\n\n\n\n

    project (Project)

    Project referenced by event.

    \n\n\n\n\n
    \n

    Preview notice

    \n

    project is available under the Project event details preview. During the preview period, the API may change without notice.

    \n
    \n\n\n\n\n\n\n\n\n

    projectCard (ProjectCard)

    Project card referenced by this project event.

    \n\n\n\n\n
    \n

    Preview notice

    \n

    projectCard is available under the Project event details preview. During the preview period, the API may change without notice.

    \n
    \n\n\n\n\n\n\n\n\n

    projectColumnName (String!)

    Column name referenced by this project event.

    \n\n\n\n\n
    \n

    Preview notice

    \n

    projectColumnName is available under the Project event details preview. During the preview period, the API may change without notice.

    \n
    \n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n CreatedCommitContribution\n

    \n

    Represents the contribution a user made by committing to a repository.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    commitCount (Int!)

    How many commits were made on this day to this repository by the user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    isRestricted (Boolean!)

    Whether this contribution is associated with a record you do not have access to. For\nexample, your own 'first issue' contribution may have been made on a repository you can no\nlonger access.

    \n\n\n\n\n\n\n\n\n\n\n\n

    occurredAt (DateTime!)

    When this contribution was made.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repository (Repository!)

    The repository the user made a commit in.

    \n\n\n\n\n\n\n\n\n\n\n\n

    resourcePath (URI!)

    The HTTP path for this contribution.

    \n\n\n\n\n\n\n\n\n\n\n\n

    url (URI!)

    The HTTP URL for this contribution.

    \n\n\n\n\n\n\n\n\n\n\n\n

    user (User!)

    The user who made this contribution.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n CreatedCommitContributionConnection\n

    \n

    The connection type for CreatedCommitContribution.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([CreatedCommitContributionEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([CreatedCommitContribution])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of commits across days and repositories in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n CreatedCommitContributionEdge\n

    \n

    An edge in a connection.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (CreatedCommitContribution)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n CreatedIssueContribution\n

    \n

    Represents the contribution a user made on GitHub by opening an issue.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    isRestricted (Boolean!)

    Whether this contribution is associated with a record you do not have access to. For\nexample, your own 'first issue' contribution may have been made on a repository you can no\nlonger access.

    \n\n\n\n\n\n\n\n\n\n\n\n

    issue (Issue!)

    The issue that was opened.

    \n\n\n\n\n\n\n\n\n\n\n\n

    occurredAt (DateTime!)

    When this contribution was made.

    \n\n\n\n\n\n\n\n\n\n\n\n

    resourcePath (URI!)

    The HTTP path for this contribution.

    \n\n\n\n\n\n\n\n\n\n\n\n

    url (URI!)

    The HTTP URL for this contribution.

    \n\n\n\n\n\n\n\n\n\n\n\n

    user (User!)

    The user who made this contribution.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n CreatedIssueContributionConnection\n

    \n

    The connection type for CreatedIssueContribution.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([CreatedIssueContributionEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([CreatedIssueContribution])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n CreatedIssueContributionEdge\n

    \n

    An edge in a connection.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (CreatedIssueContribution)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n CreatedPullRequestContribution\n

    \n

    Represents the contribution a user made on GitHub by opening a pull request.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    isRestricted (Boolean!)

    Whether this contribution is associated with a record you do not have access to. For\nexample, your own 'first issue' contribution may have been made on a repository you can no\nlonger access.

    \n\n\n\n\n\n\n\n\n\n\n\n

    occurredAt (DateTime!)

    When this contribution was made.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pullRequest (PullRequest!)

    The pull request that was opened.

    \n\n\n\n\n\n\n\n\n\n\n\n

    resourcePath (URI!)

    The HTTP path for this contribution.

    \n\n\n\n\n\n\n\n\n\n\n\n

    url (URI!)

    The HTTP URL for this contribution.

    \n\n\n\n\n\n\n\n\n\n\n\n

    user (User!)

    The user who made this contribution.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n CreatedPullRequestContributionConnection\n

    \n

    The connection type for CreatedPullRequestContribution.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([CreatedPullRequestContributionEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([CreatedPullRequestContribution])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n CreatedPullRequestContributionEdge\n

    \n

    An edge in a connection.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (CreatedPullRequestContribution)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n CreatedPullRequestReviewContribution\n

    \n

    Represents the contribution a user made by leaving a review on a pull request.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    isRestricted (Boolean!)

    Whether this contribution is associated with a record you do not have access to. For\nexample, your own 'first issue' contribution may have been made on a repository you can no\nlonger access.

    \n\n\n\n\n\n\n\n\n\n\n\n

    occurredAt (DateTime!)

    When this contribution was made.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pullRequest (PullRequest!)

    The pull request the user reviewed.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pullRequestReview (PullRequestReview!)

    The review the user left on the pull request.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repository (Repository!)

    The repository containing the pull request that the user reviewed.

    \n\n\n\n\n\n\n\n\n\n\n\n

    resourcePath (URI!)

    The HTTP path for this contribution.

    \n\n\n\n\n\n\n\n\n\n\n\n

    url (URI!)

    The HTTP URL for this contribution.

    \n\n\n\n\n\n\n\n\n\n\n\n

    user (User!)

    The user who made this contribution.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n CreatedPullRequestReviewContributionConnection\n

    \n

    The connection type for CreatedPullRequestReviewContribution.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([CreatedPullRequestReviewContributionEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([CreatedPullRequestReviewContribution])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n CreatedPullRequestReviewContributionEdge\n

    \n

    An edge in a connection.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (CreatedPullRequestReviewContribution)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n CreatedRepositoryContribution\n

    \n

    Represents the contribution a user made on GitHub by creating a repository.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    isRestricted (Boolean!)

    Whether this contribution is associated with a record you do not have access to. For\nexample, your own 'first issue' contribution may have been made on a repository you can no\nlonger access.

    \n\n\n\n\n\n\n\n\n\n\n\n

    occurredAt (DateTime!)

    When this contribution was made.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repository (Repository!)

    The repository that was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    resourcePath (URI!)

    The HTTP path for this contribution.

    \n\n\n\n\n\n\n\n\n\n\n\n

    url (URI!)

    The HTTP URL for this contribution.

    \n\n\n\n\n\n\n\n\n\n\n\n

    user (User!)

    The user who made this contribution.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n CreatedRepositoryContributionConnection\n

    \n

    The connection type for CreatedRepositoryContribution.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([CreatedRepositoryContributionEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([CreatedRepositoryContribution])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n CreatedRepositoryContributionEdge\n

    \n

    An edge in a connection.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (CreatedRepositoryContribution)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n CrossReferencedEvent\n

    \n

    Represents a mention made by one issue or pull request to another.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    actor (Actor)

    Identifies the actor who performed the event.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    isCrossRepository (Boolean!)

    Reference originated in a different repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    referencedAt (DateTime!)

    Identifies when the reference was made.

    \n\n\n\n\n\n\n\n\n\n\n\n

    resourcePath (URI!)

    The HTTP path for this pull request.

    \n\n\n\n\n\n\n\n\n\n\n\n

    source (ReferencedSubject!)

    Issue or pull request that made the reference.

    \n\n\n\n\n\n\n\n\n\n\n\n

    target (ReferencedSubject!)

    Issue or pull request to which the reference was made.

    \n\n\n\n\n\n\n\n\n\n\n\n

    url (URI!)

    The HTTP URL for this pull request.

    \n\n\n\n\n\n\n\n\n\n\n\n

    willCloseTarget (Boolean!)

    Checks if the target will be closed when the source is merged.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n DemilestonedEvent\n

    \n

    Represents ademilestonedevent on a given issue or pull request.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    actor (Actor)

    Identifies the actor who performed the event.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    milestoneTitle (String!)

    Identifies the milestone title associated with thedemilestonedevent.

    \n\n\n\n\n\n\n\n\n\n\n\n

    subject (MilestoneItem!)

    Object referenced by event.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n DependencyGraphDependency\n

    \n

    A dependency manifest entry.

    \n
    \n\n
    \n \n
    \n

    Preview notice

    \n

    DependencyGraphDependency is available under the Access to a repositories dependency graph preview. During the preview period, the API may change without notice.

    \n
    \n\n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    hasDependencies (Boolean!)

    Does the dependency itself have dependencies?.

    \n\n\n\n\n\n\n\n\n\n\n\n

    packageManager (String)

    The dependency package manager.

    \n\n\n\n\n\n\n\n\n\n\n\n

    packageName (String!)

    The required package name.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repository (Repository)

    The repository containing the package.

    \n\n\n\n\n\n\n\n\n\n\n\n

    requirements (String!)

    The dependency version requirements.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n DependencyGraphDependencyConnection\n

    \n

    The connection type for DependencyGraphDependency.

    \n
    \n\n
    \n \n
    \n

    Preview notice

    \n

    DependencyGraphDependencyConnection is available under the Access to a repositories dependency graph preview. During the preview period, the API may change without notice.

    \n
    \n\n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([DependencyGraphDependencyEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([DependencyGraphDependency])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n DependencyGraphDependencyEdge\n

    \n

    An edge in a connection.

    \n
    \n\n
    \n \n
    \n

    Preview notice

    \n

    DependencyGraphDependencyEdge is available under the Access to a repositories dependency graph preview. During the preview period, the API may change without notice.

    \n
    \n\n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (DependencyGraphDependency)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n DependencyGraphManifest\n

    \n

    Dependency manifest for a repository.

    \n
    \n\n
    \n \n
    \n

    Preview notice

    \n

    DependencyGraphManifest is available under the Access to a repositories dependency graph preview. During the preview period, the API may change without notice.

    \n
    \n\n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    blobPath (String!)

    Path to view the manifest file blob.

    \n\n\n\n\n\n\n\n\n\n\n\n

    dependencies (DependencyGraphDependencyConnection)

    A list of manifest dependencies.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n\n\n

    dependenciesCount (Int)

    The number of dependencies listed in the manifest.

    \n\n\n\n\n\n\n\n\n\n\n\n

    exceedsMaxSize (Boolean!)

    Is the manifest too big to parse?.

    \n\n\n\n\n\n\n\n\n\n\n\n

    filename (String!)

    Fully qualified manifest filename.

    \n\n\n\n\n\n\n\n\n\n\n\n

    parseable (Boolean!)

    Were we able to parse the manifest?.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repository (Repository!)

    The repository containing the manifest.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n DependencyGraphManifestConnection\n

    \n

    The connection type for DependencyGraphManifest.

    \n
    \n\n
    \n \n
    \n

    Preview notice

    \n

    DependencyGraphManifestConnection is available under the Access to a repositories dependency graph preview. During the preview period, the API may change without notice.

    \n
    \n\n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([DependencyGraphManifestEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([DependencyGraphManifest])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n DependencyGraphManifestEdge\n

    \n

    An edge in a connection.

    \n
    \n\n
    \n \n
    \n

    Preview notice

    \n

    DependencyGraphManifestEdge is available under the Access to a repositories dependency graph preview. During the preview period, the API may change without notice.

    \n
    \n\n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (DependencyGraphManifest)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n DeployKey\n

    \n

    A repository deploy key.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    key (String!)

    The deploy key.

    \n\n\n\n\n\n\n\n\n\n\n\n

    readOnly (Boolean!)

    Whether or not the deploy key is read only.

    \n\n\n\n\n\n\n\n\n\n\n\n

    title (String!)

    The deploy key title.

    \n\n\n\n\n\n\n\n\n\n\n\n

    verified (Boolean!)

    Whether or not the deploy key has been verified.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n DeployKeyConnection\n

    \n

    The connection type for DeployKey.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([DeployKeyEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([DeployKey])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n DeployKeyEdge\n

    \n

    An edge in a connection.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (DeployKey)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n DeployedEvent\n

    \n

    Represents adeployedevent on a given pull request.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    actor (Actor)

    Identifies the actor who performed the event.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    databaseId (Int)

    Identifies the primary key from the database.

    \n\n\n\n\n\n\n\n\n\n\n\n

    deployment (Deployment!)

    The deployment associated with thedeployedevent.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pullRequest (PullRequest!)

    PullRequest referenced by event.

    \n\n\n\n\n\n\n\n\n\n\n\n

    ref (Ref)

    The ref associated with thedeployedevent.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n Deployment\n

    \n

    Represents triggered deployment instance.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    commit (Commit)

    Identifies the commit sha of the deployment.

    \n\n\n\n\n\n\n\n\n\n\n\n

    commitOid (String!)

    Identifies the oid of the deployment commit, even if the commit has been deleted.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    creator (Actor!)

    Identifies the actor who triggered the deployment.

    \n\n\n\n\n\n\n\n\n\n\n\n

    databaseId (Int)

    Identifies the primary key from the database.

    \n\n\n\n\n\n\n\n\n\n\n\n

    description (String)

    The deployment description.

    \n\n\n\n\n\n\n\n\n\n\n\n

    environment (String)

    The latest environment to which this deployment was made.

    \n\n\n\n\n\n\n\n\n\n\n\n

    latestEnvironment (String)

    The latest environment to which this deployment was made.

    \n\n\n\n\n\n\n\n\n\n\n\n

    latestStatus (DeploymentStatus)

    The latest status of this deployment.

    \n\n\n\n\n\n\n\n\n\n\n\n

    originalEnvironment (String)

    The original environment to which this deployment was made.

    \n\n\n\n\n\n\n\n\n\n\n\n

    payload (String)

    Extra information that a deployment system might need.

    \n\n\n\n\n\n\n\n\n\n\n\n

    ref (Ref)

    Identifies the Ref of the deployment, if the deployment was created by ref.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repository (Repository!)

    Identifies the repository associated with the deployment.

    \n\n\n\n\n\n\n\n\n\n\n\n

    state (DeploymentState)

    The current state of the deployment.

    \n\n\n\n\n\n\n\n\n\n\n\n

    statuses (DeploymentStatusConnection)

    A list of statuses associated with the deployment.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n\n\n

    task (String)

    The deployment task.

    \n\n\n\n\n\n\n\n\n\n\n\n

    updatedAt (DateTime!)

    Identifies the date and time when the object was last updated.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n DeploymentConnection\n

    \n

    The connection type for Deployment.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([DeploymentEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([Deployment])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n DeploymentEdge\n

    \n

    An edge in a connection.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (Deployment)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n DeploymentEnvironmentChangedEvent\n

    \n

    Represents adeployment_environment_changedevent on a given pull request.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    actor (Actor)

    Identifies the actor who performed the event.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    deploymentStatus (DeploymentStatus!)

    The deployment status that updated the deployment environment.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pullRequest (PullRequest!)

    PullRequest referenced by event.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n DeploymentStatus\n

    \n

    Describes the status of a given deployment attempt.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    creator (Actor!)

    Identifies the actor who triggered the deployment.

    \n\n\n\n\n\n\n\n\n\n\n\n

    deployment (Deployment!)

    Identifies the deployment associated with status.

    \n\n\n\n\n\n\n\n\n\n\n\n

    description (String)

    Identifies the description of the deployment.

    \n\n\n\n\n\n\n\n\n\n\n\n

    environment (String)

    Identifies the environment of the deployment at the time of this deployment status.

    \n\n\n\n\n
    \n

    Preview notice

    \n

    environment is available under the Deployments preview. During the preview period, the API may change without notice.

    \n
    \n\n\n\n\n\n\n\n\n

    environmentUrl (URI)

    Identifies the environment URL of the deployment.

    \n\n\n\n\n\n\n\n\n\n\n\n

    logUrl (URI)

    Identifies the log URL of the deployment.

    \n\n\n\n\n\n\n\n\n\n\n\n

    state (DeploymentStatusState!)

    Identifies the current state of the deployment.

    \n\n\n\n\n\n\n\n\n\n\n\n

    updatedAt (DateTime!)

    Identifies the date and time when the object was last updated.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n DeploymentStatusConnection\n

    \n

    The connection type for DeploymentStatus.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([DeploymentStatusEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([DeploymentStatus])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n DeploymentStatusEdge\n

    \n

    An edge in a connection.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (DeploymentStatus)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n DisconnectedEvent\n

    \n

    Represents adisconnectedevent on a given issue or pull request.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    actor (Actor)

    Identifies the actor who performed the event.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    isCrossRepository (Boolean!)

    Reference originated in a different repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    source (ReferencedSubject!)

    Issue or pull request from which the issue was disconnected.

    \n\n\n\n\n\n\n\n\n\n\n\n

    subject (ReferencedSubject!)

    Issue or pull request which was disconnected.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n Enterprise\n

    \n

    An account to manage multiple organizations with consolidated policy and billing.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    avatarUrl (URI!)

    A URL pointing to the enterprise's public avatar.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    size (Int)

    \n

    The size of the resulting square image.

    \n\n
    \n\n
    \n\n\n

    billingInfo (EnterpriseBillingInfo)

    Enterprise billing information visible to enterprise billing managers.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    databaseId (Int)

    Identifies the primary key from the database.

    \n\n\n\n\n\n\n\n\n\n\n\n

    description (String)

    The description of the enterprise.

    \n\n\n\n\n\n\n\n\n\n\n\n

    descriptionHTML (HTML!)

    The description of the enterprise as HTML.

    \n\n\n\n\n\n\n\n\n\n\n\n

    location (String)

    The location of the enterprise.

    \n\n\n\n\n\n\n\n\n\n\n\n

    members (EnterpriseMemberConnection!)

    A list of users who are members of this enterprise.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    deployment (EnterpriseUserDeployment)

    \n

    Only return members within the selected GitHub Enterprise deployment.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (EnterpriseMemberOrder)

    \n

    Ordering options for members returned from the connection.

    \n\n
    \n\n
    \n

    organizationLogins ([String!])

    \n

    Only return members within the organizations with these logins.

    \n\n
    \n\n
    \n

    query (String)

    \n

    The search string to look for.

    \n\n
    \n\n
    \n

    role (EnterpriseUserAccountMembershipRole)

    \n

    The role of the user in the enterprise organization or server.

    \n\n
    \n\n
    \n\n\n

    name (String!)

    The name of the enterprise.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizations (OrganizationConnection!)

    A list of organizations that belong to this enterprise.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (OrganizationOrder)

    \n

    Ordering options for organizations returned from the connection.

    \n\n
    \n\n
    \n

    query (String)

    \n

    The search string to look for.

    \n\n
    \n\n
    \n\n\n

    ownerInfo (EnterpriseOwnerInfo)

    Enterprise information only visible to enterprise owners.

    \n\n\n\n\n\n\n\n\n\n\n\n

    resourcePath (URI!)

    The HTTP path for this enterprise.

    \n\n\n\n\n\n\n\n\n\n\n\n

    slug (String!)

    The URL-friendly identifier for the enterprise.

    \n\n\n\n\n\n\n\n\n\n\n\n

    url (URI!)

    The HTTP URL for this enterprise.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userAccounts (EnterpriseUserAccountConnection!)

    A list of user accounts on this enterprise.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n\n\n

    viewerIsAdmin (Boolean!)

    Is the current viewer an admin of this enterprise?.

    \n\n\n\n\n\n\n\n\n\n\n\n

    websiteUrl (URI)

    The URL of the enterprise website.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n EnterpriseAdministratorConnection\n

    \n

    The connection type for User.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([EnterpriseAdministratorEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([User])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n EnterpriseAdministratorEdge\n

    \n

    A User who is an administrator of an enterprise.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (User)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n

    role (EnterpriseAdministratorRole!)

    The role of the administrator.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n EnterpriseAdministratorInvitation\n

    \n

    An invitation for a user to become an owner or billing manager of an enterprise.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    email (String)

    The email of the person who was invited to the enterprise.

    \n\n\n\n\n\n\n\n\n\n\n\n

    enterprise (Enterprise!)

    The enterprise the invitation is for.

    \n\n\n\n\n\n\n\n\n\n\n\n

    invitee (User)

    The user who was invited to the enterprise.

    \n\n\n\n\n\n\n\n\n\n\n\n

    inviter (User)

    The user who created the invitation.

    \n\n\n\n\n\n\n\n\n\n\n\n

    role (EnterpriseAdministratorRole!)

    The invitee's pending role in the enterprise (owner or billing_manager).

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n EnterpriseAdministratorInvitationConnection\n

    \n

    The connection type for EnterpriseAdministratorInvitation.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([EnterpriseAdministratorInvitationEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([EnterpriseAdministratorInvitation])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n EnterpriseAdministratorInvitationEdge\n

    \n

    An edge in a connection.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (EnterpriseAdministratorInvitation)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n EnterpriseBillingInfo\n

    \n

    Enterprise billing information visible to enterprise billing managers and owners.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    allLicensableUsersCount (Int!)

    The number of licenseable users/emails across the enterprise.

    \n\n\n\n\n\n\n\n\n\n\n\n

    assetPacks (Int!)

    The number of data packs used by all organizations owned by the enterprise.

    \n\n\n\n\n\n\n\n\n\n\n\n

    availableSeats (Int!)

    The number of available seats across all owned organizations based on the unique number of billable users.

    \n\n\n\n\n\n\n
    \n

    Deprecation notice

    \n

    availableSeats is deprecated.

    availableSeats will be replaced with totalAvailableLicenses to provide more clarity on the value being returned Use EnterpriseBillingInfo.totalAvailableLicenses instead. Removal on 2020-01-01 UTC.

    \n
    \n\n\n\n\n\n\n

    bandwidthQuota (Float!)

    The bandwidth quota in GB for all organizations owned by the enterprise.

    \n\n\n\n\n\n\n\n\n\n\n\n

    bandwidthUsage (Float!)

    The bandwidth usage in GB for all organizations owned by the enterprise.

    \n\n\n\n\n\n\n\n\n\n\n\n

    bandwidthUsagePercentage (Int!)

    The bandwidth usage as a percentage of the bandwidth quota.

    \n\n\n\n\n\n\n\n\n\n\n\n

    seats (Int!)

    The total seats across all organizations owned by the enterprise.

    \n\n\n\n\n\n\n
    \n

    Deprecation notice

    \n

    seats is deprecated.

    seats will be replaced with totalLicenses to provide more clarity on the value being returned Use EnterpriseBillingInfo.totalLicenses instead. Removal on 2020-01-01 UTC.

    \n
    \n\n\n\n\n\n\n

    storageQuota (Float!)

    The storage quota in GB for all organizations owned by the enterprise.

    \n\n\n\n\n\n\n\n\n\n\n\n

    storageUsage (Float!)

    The storage usage in GB for all organizations owned by the enterprise.

    \n\n\n\n\n\n\n\n\n\n\n\n

    storageUsagePercentage (Int!)

    The storage usage as a percentage of the storage quota.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalAvailableLicenses (Int!)

    The number of available licenses across all owned organizations based on the unique number of billable users.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalLicenses (Int!)

    The total number of licenses allocated.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n EnterpriseIdentityProvider\n

    \n

    An identity provider configured to provision identities for an enterprise.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    digestMethod (SamlDigestAlgorithm)

    The digest algorithm used to sign SAML requests for the identity provider.

    \n\n\n\n\n\n\n\n\n\n\n\n

    enterprise (Enterprise)

    The enterprise this identity provider belongs to.

    \n\n\n\n\n\n\n\n\n\n\n\n

    externalIdentities (ExternalIdentityConnection!)

    ExternalIdentities provisioned by this identity provider.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n\n\n

    idpCertificate (X509Certificate)

    The x509 certificate used by the identity provider to sign assertions and responses.

    \n\n\n\n\n\n\n\n\n\n\n\n

    issuer (String)

    The Issuer Entity ID for the SAML identity provider.

    \n\n\n\n\n\n\n\n\n\n\n\n

    recoveryCodes ([String!])

    Recovery codes that can be used by admins to access the enterprise if the identity provider is unavailable.

    \n\n\n\n\n\n\n\n\n\n\n\n

    signatureMethod (SamlSignatureAlgorithm)

    The signature algorithm used to sign SAML requests for the identity provider.

    \n\n\n\n\n\n\n\n\n\n\n\n

    ssoUrl (URI)

    The URL endpoint for the identity provider's SAML SSO.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n EnterpriseMemberConnection\n

    \n

    The connection type for EnterpriseMember.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([EnterpriseMemberEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([EnterpriseMember])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n EnterpriseMemberEdge\n

    \n

    A User who is a member of an enterprise through one or more organizations.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    isUnlicensed (Boolean!)

    Whether the user does not have a license for the enterprise.

    \n\n\n\n\n\n\n
    \n

    Deprecation notice

    \n

    isUnlicensed is deprecated.

    All members consume a license Removal on 2021-01-01 UTC.

    \n
    \n\n\n\n\n\n\n

    node (EnterpriseMember)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n EnterpriseOrganizationMembershipConnection\n

    \n

    The connection type for Organization.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([EnterpriseOrganizationMembershipEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([Organization])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n EnterpriseOrganizationMembershipEdge\n

    \n

    An enterprise organization that a user is a member of.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (Organization)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n

    role (EnterpriseUserAccountMembershipRole!)

    The role of the user in the enterprise membership.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n EnterpriseOutsideCollaboratorConnection\n

    \n

    The connection type for User.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([EnterpriseOutsideCollaboratorEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([User])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n EnterpriseOutsideCollaboratorEdge\n

    \n

    A User who is an outside collaborator of an enterprise through one or more organizations.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    isUnlicensed (Boolean!)

    Whether the outside collaborator does not have a license for the enterprise.

    \n\n\n\n\n\n\n
    \n

    Deprecation notice

    \n

    isUnlicensed is deprecated.

    All outside collaborators consume a license Removal on 2021-01-01 UTC.

    \n
    \n\n\n\n\n\n\n

    node (User)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repositories (EnterpriseRepositoryInfoConnection!)

    The enterprise organization repositories this user is a member of.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (RepositoryOrder)

    \n

    Ordering options for repositories.

    \n\n
    \n\n
    \n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n EnterpriseOwnerInfo\n

    \n

    Enterprise information only visible to enterprise owners.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    admins (EnterpriseAdministratorConnection!)

    A list of all of the administrators for this enterprise.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (EnterpriseMemberOrder)

    \n

    Ordering options for administrators returned from the connection.

    \n\n
    \n\n
    \n

    query (String)

    \n

    The search string to look for.

    \n\n
    \n\n
    \n

    role (EnterpriseAdministratorRole)

    \n

    The role to filter by.

    \n\n
    \n\n
    \n\n\n

    affiliatedUsersWithTwoFactorDisabled (UserConnection!)

    A list of users in the enterprise who currently have two-factor authentication disabled.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n\n\n

    affiliatedUsersWithTwoFactorDisabledExist (Boolean!)

    Whether or not affiliated users with two-factor authentication disabled exist in the enterprise.

    \n\n\n\n\n\n\n\n\n\n\n\n

    allowPrivateRepositoryForkingSetting (EnterpriseEnabledDisabledSettingValue!)

    The setting value for whether private repository forking is enabled for repositories in organizations in this enterprise.

    \n\n\n\n\n\n\n\n\n\n\n\n

    allowPrivateRepositoryForkingSettingOrganizations (OrganizationConnection!)

    A list of enterprise organizations configured with the provided private repository forking setting value.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (OrganizationOrder)

    \n

    Ordering options for organizations with this setting.

    \n\n
    \n\n
    \n

    value (Boolean!)

    \n

    The setting value to find organizations for.

    \n\n
    \n\n
    \n\n\n

    defaultRepositoryPermissionSetting (EnterpriseDefaultRepositoryPermissionSettingValue!)

    The setting value for base repository permissions for organizations in this enterprise.

    \n\n\n\n\n\n\n\n\n\n\n\n

    defaultRepositoryPermissionSettingOrganizations (OrganizationConnection!)

    A list of enterprise organizations configured with the provided default repository permission.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (OrganizationOrder)

    \n

    Ordering options for organizations with this setting.

    \n\n
    \n\n
    \n

    value (DefaultRepositoryPermissionField!)

    \n

    The permission to find organizations for.

    \n\n
    \n\n
    \n\n\n

    domains (VerifiableDomainConnection!)

    A list of domains owned by the enterprise.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    isVerified (Boolean)

    \n

    Filter whether or not the domain is verified.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (VerifiableDomainOrder)

    \n

    Ordering options for verifiable domains returned.

    \n\n
    \n\n
    \n\n\n

    enterpriseServerInstallations (EnterpriseServerInstallationConnection!)

    Enterprise Server installations owned by the enterprise.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    connectedOnly (Boolean)

    \n

    Whether or not to only return installations discovered via GitHub Connect.

    \n

    The default value is false.

    \n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (EnterpriseServerInstallationOrder)

    \n

    Ordering options for Enterprise Server installations returned.

    \n\n
    \n\n
    \n\n\n

    ipAllowListEnabledSetting (IpAllowListEnabledSettingValue!)

    The setting value for whether the enterprise has an IP allow list enabled.

    \n\n\n\n\n\n\n\n\n\n\n\n

    ipAllowListEntries (IpAllowListEntryConnection!)

    The IP addresses that are allowed to access resources owned by the enterprise.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (IpAllowListEntryOrder)

    \n

    Ordering options for IP allow list entries returned.

    \n\n
    \n\n
    \n\n\n

    isUpdatingDefaultRepositoryPermission (Boolean!)

    Whether or not the default repository permission is currently being updated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    isUpdatingTwoFactorRequirement (Boolean!)

    Whether the two-factor authentication requirement is currently being enforced.

    \n\n\n\n\n\n\n\n\n\n\n\n

    membersCanChangeRepositoryVisibilitySetting (EnterpriseEnabledDisabledSettingValue!)

    The setting value for whether organization members with admin permissions on a\nrepository can change repository visibility.

    \n\n\n\n\n\n\n\n\n\n\n\n

    membersCanChangeRepositoryVisibilitySettingOrganizations (OrganizationConnection!)

    A list of enterprise organizations configured with the provided can change repository visibility setting value.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (OrganizationOrder)

    \n

    Ordering options for organizations with this setting.

    \n\n
    \n\n
    \n

    value (Boolean!)

    \n

    The setting value to find organizations for.

    \n\n
    \n\n
    \n\n\n

    membersCanCreateInternalRepositoriesSetting (Boolean)

    The setting value for whether members of organizations in the enterprise can create internal repositories.

    \n\n\n\n\n\n\n\n\n\n\n\n

    membersCanCreatePrivateRepositoriesSetting (Boolean)

    The setting value for whether members of organizations in the enterprise can create private repositories.

    \n\n\n\n\n\n\n\n\n\n\n\n

    membersCanCreatePublicRepositoriesSetting (Boolean)

    The setting value for whether members of organizations in the enterprise can create public repositories.

    \n\n\n\n\n\n\n\n\n\n\n\n

    membersCanCreateRepositoriesSetting (EnterpriseMembersCanCreateRepositoriesSettingValue)

    The setting value for whether members of organizations in the enterprise can create repositories.

    \n\n\n\n\n\n\n\n\n\n\n\n

    membersCanCreateRepositoriesSettingOrganizations (OrganizationConnection!)

    A list of enterprise organizations configured with the provided repository creation setting value.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (OrganizationOrder)

    \n

    Ordering options for organizations with this setting.

    \n\n
    \n\n
    \n

    value (OrganizationMembersCanCreateRepositoriesSettingValue!)

    \n

    The setting to find organizations for.

    \n\n
    \n\n
    \n\n\n

    membersCanDeleteIssuesSetting (EnterpriseEnabledDisabledSettingValue!)

    The setting value for whether members with admin permissions for repositories can delete issues.

    \n\n\n\n\n\n\n\n\n\n\n\n

    membersCanDeleteIssuesSettingOrganizations (OrganizationConnection!)

    A list of enterprise organizations configured with the provided members can delete issues setting value.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (OrganizationOrder)

    \n

    Ordering options for organizations with this setting.

    \n\n
    \n\n
    \n

    value (Boolean!)

    \n

    The setting value to find organizations for.

    \n\n
    \n\n
    \n\n\n

    membersCanDeleteRepositoriesSetting (EnterpriseEnabledDisabledSettingValue!)

    The setting value for whether members with admin permissions for repositories can delete or transfer repositories.

    \n\n\n\n\n\n\n\n\n\n\n\n

    membersCanDeleteRepositoriesSettingOrganizations (OrganizationConnection!)

    A list of enterprise organizations configured with the provided members can delete repositories setting value.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (OrganizationOrder)

    \n

    Ordering options for organizations with this setting.

    \n\n
    \n\n
    \n

    value (Boolean!)

    \n

    The setting value to find organizations for.

    \n\n
    \n\n
    \n\n\n

    membersCanInviteCollaboratorsSetting (EnterpriseEnabledDisabledSettingValue!)

    The setting value for whether members of organizations in the enterprise can invite outside collaborators.

    \n\n\n\n\n\n\n\n\n\n\n\n

    membersCanInviteCollaboratorsSettingOrganizations (OrganizationConnection!)

    A list of enterprise organizations configured with the provided members can invite collaborators setting value.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (OrganizationOrder)

    \n

    Ordering options for organizations with this setting.

    \n\n
    \n\n
    \n

    value (Boolean!)

    \n

    The setting value to find organizations for.

    \n\n
    \n\n
    \n\n\n

    membersCanMakePurchasesSetting (EnterpriseMembersCanMakePurchasesSettingValue!)

    Indicates whether members of this enterprise's organizations can purchase additional services for those organizations.

    \n\n\n\n\n\n\n\n\n\n\n\n

    membersCanUpdateProtectedBranchesSetting (EnterpriseEnabledDisabledSettingValue!)

    The setting value for whether members with admin permissions for repositories can update protected branches.

    \n\n\n\n\n\n\n\n\n\n\n\n

    membersCanUpdateProtectedBranchesSettingOrganizations (OrganizationConnection!)

    A list of enterprise organizations configured with the provided members can update protected branches setting value.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (OrganizationOrder)

    \n

    Ordering options for organizations with this setting.

    \n\n
    \n\n
    \n

    value (Boolean!)

    \n

    The setting value to find organizations for.

    \n\n
    \n\n
    \n\n\n

    membersCanViewDependencyInsightsSetting (EnterpriseEnabledDisabledSettingValue!)

    The setting value for whether members can view dependency insights.

    \n\n\n\n\n\n\n\n\n\n\n\n

    membersCanViewDependencyInsightsSettingOrganizations (OrganizationConnection!)

    A list of enterprise organizations configured with the provided members can view dependency insights setting value.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (OrganizationOrder)

    \n

    Ordering options for organizations with this setting.

    \n\n
    \n\n
    \n

    value (Boolean!)

    \n

    The setting value to find organizations for.

    \n\n
    \n\n
    \n\n\n

    notificationDeliveryRestrictionEnabledSetting (NotificationRestrictionSettingValue!)

    Indicates if email notification delivery for this enterprise is restricted to verified domains.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationProjectsSetting (EnterpriseEnabledDisabledSettingValue!)

    The setting value for whether organization projects are enabled for organizations in this enterprise.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationProjectsSettingOrganizations (OrganizationConnection!)

    A list of enterprise organizations configured with the provided organization projects setting value.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (OrganizationOrder)

    \n

    Ordering options for organizations with this setting.

    \n\n
    \n\n
    \n

    value (Boolean!)

    \n

    The setting value to find organizations for.

    \n\n
    \n\n
    \n\n\n

    outsideCollaborators (EnterpriseOutsideCollaboratorConnection!)

    A list of outside collaborators across the repositories in the enterprise.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    login (String)

    \n

    The login of one specific outside collaborator.

    \n\n
    \n\n
    \n

    orderBy (EnterpriseMemberOrder)

    \n

    Ordering options for outside collaborators returned from the connection.

    \n\n
    \n\n
    \n

    query (String)

    \n

    The search string to look for.

    \n\n
    \n\n
    \n

    visibility (RepositoryVisibility)

    \n

    Only return outside collaborators on repositories with this visibility.

    \n\n
    \n\n
    \n\n\n

    pendingAdminInvitations (EnterpriseAdministratorInvitationConnection!)

    A list of pending administrator invitations for the enterprise.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (EnterpriseAdministratorInvitationOrder)

    \n

    Ordering options for pending enterprise administrator invitations returned from the connection.

    \n\n
    \n\n
    \n

    query (String)

    \n

    The search string to look for.

    \n\n
    \n\n
    \n

    role (EnterpriseAdministratorRole)

    \n

    The role to filter by.

    \n\n
    \n\n
    \n\n\n

    pendingCollaboratorInvitations (RepositoryInvitationConnection!)

    A list of pending collaborator invitations across the repositories in the enterprise.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (RepositoryInvitationOrder)

    \n

    Ordering options for pending repository collaborator invitations returned from the connection.

    \n\n
    \n\n
    \n

    query (String)

    \n

    The search string to look for.

    \n\n
    \n\n
    \n\n\n

    pendingCollaborators (EnterprisePendingCollaboratorConnection!)

    A list of pending collaborators across the repositories in the enterprise.

    \n\n\n\n\n\n\n
    \n

    Deprecation notice

    \n

    pendingCollaborators is deprecated.

    Repository invitations can now be associated with an email, not only an invitee. Use the pendingCollaboratorInvitations field instead. Removal on 2020-10-01 UTC.

    \n
    \n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (RepositoryInvitationOrder)

    \n

    Ordering options for pending repository collaborator invitations returned from the connection.

    \n\n
    \n\n
    \n

    query (String)

    \n

    The search string to look for.

    \n\n
    \n\n
    \n\n\n

    pendingMemberInvitations (EnterprisePendingMemberInvitationConnection!)

    A list of pending member invitations for organizations in the enterprise.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    query (String)

    \n

    The search string to look for.

    \n\n
    \n\n
    \n\n\n

    repositoryProjectsSetting (EnterpriseEnabledDisabledSettingValue!)

    The setting value for whether repository projects are enabled in this enterprise.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repositoryProjectsSettingOrganizations (OrganizationConnection!)

    A list of enterprise organizations configured with the provided repository projects setting value.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (OrganizationOrder)

    \n

    Ordering options for organizations with this setting.

    \n\n
    \n\n
    \n

    value (Boolean!)

    \n

    The setting value to find organizations for.

    \n\n
    \n\n
    \n\n\n

    samlIdentityProvider (EnterpriseIdentityProvider)

    The SAML Identity Provider for the enterprise.

    \n\n\n\n\n\n\n\n\n\n\n\n

    samlIdentityProviderSettingOrganizations (OrganizationConnection!)

    A list of enterprise organizations configured with the SAML single sign-on setting value.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (OrganizationOrder)

    \n

    Ordering options for organizations with this setting.

    \n\n
    \n\n
    \n

    value (IdentityProviderConfigurationState!)

    \n

    The setting value to find organizations for.

    \n\n
    \n\n
    \n\n\n

    supportEntitlements (EnterpriseMemberConnection!)

    A list of members with a support entitlement.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (EnterpriseMemberOrder)

    \n

    Ordering options for support entitlement users returned from the connection.

    \n\n
    \n\n
    \n\n\n

    teamDiscussionsSetting (EnterpriseEnabledDisabledSettingValue!)

    The setting value for whether team discussions are enabled for organizations in this enterprise.

    \n\n\n\n\n\n\n\n\n\n\n\n

    teamDiscussionsSettingOrganizations (OrganizationConnection!)

    A list of enterprise organizations configured with the provided team discussions setting value.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (OrganizationOrder)

    \n

    Ordering options for organizations with this setting.

    \n\n
    \n\n
    \n

    value (Boolean!)

    \n

    The setting value to find organizations for.

    \n\n
    \n\n
    \n\n\n

    twoFactorRequiredSetting (EnterpriseEnabledSettingValue!)

    The setting value for whether the enterprise requires two-factor authentication for its organizations and users.

    \n\n\n\n\n\n\n\n\n\n\n\n

    twoFactorRequiredSettingOrganizations (OrganizationConnection!)

    A list of enterprise organizations configured with the two-factor authentication setting value.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (OrganizationOrder)

    \n

    Ordering options for organizations with this setting.

    \n\n
    \n\n
    \n

    value (Boolean!)

    \n

    The setting value to find organizations for.

    \n\n
    \n\n
    \n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n EnterprisePendingCollaboratorConnection\n

    \n

    The connection type for User.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([EnterprisePendingCollaboratorEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([User])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n EnterprisePendingCollaboratorEdge\n

    \n

    A user with an invitation to be a collaborator on a repository owned by an organization in an enterprise.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    isUnlicensed (Boolean!)

    Whether the invited collaborator does not have a license for the enterprise.

    \n\n\n\n\n\n\n
    \n

    Deprecation notice

    \n

    isUnlicensed is deprecated.

    All pending collaborators consume a license Removal on 2021-01-01 UTC.

    \n
    \n\n\n\n\n\n\n

    node (User)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repositories (EnterpriseRepositoryInfoConnection!)

    The enterprise organization repositories this user is a member of.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (RepositoryOrder)

    \n

    Ordering options for repositories.

    \n\n
    \n\n
    \n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n EnterprisePendingMemberInvitationConnection\n

    \n

    The connection type for OrganizationInvitation.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([EnterprisePendingMemberInvitationEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([OrganizationInvitation])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalUniqueUserCount (Int!)

    Identifies the total count of unique users in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n EnterprisePendingMemberInvitationEdge\n

    \n

    An invitation to be a member in an enterprise organization.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    isUnlicensed (Boolean!)

    Whether the invitation has a license for the enterprise.

    \n\n\n\n\n\n\n
    \n

    Deprecation notice

    \n

    isUnlicensed is deprecated.

    All pending members consume a license Removal on 2020-07-01 UTC.

    \n
    \n\n\n\n\n\n\n

    node (OrganizationInvitation)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n EnterpriseRepositoryInfo\n

    \n

    A subset of repository information queryable from an enterprise.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    isPrivate (Boolean!)

    Identifies if the repository is private or internal.

    \n\n\n\n\n\n\n\n\n\n\n\n

    name (String!)

    The repository's name.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nameWithOwner (String!)

    The repository's name with owner.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n EnterpriseRepositoryInfoConnection\n

    \n

    The connection type for EnterpriseRepositoryInfo.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([EnterpriseRepositoryInfoEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([EnterpriseRepositoryInfo])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n EnterpriseRepositoryInfoEdge\n

    \n

    An edge in a connection.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (EnterpriseRepositoryInfo)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n EnterpriseServerInstallation\n

    \n

    An Enterprise Server installation.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    customerName (String!)

    The customer name to which the Enterprise Server installation belongs.

    \n\n\n\n\n\n\n\n\n\n\n\n

    hostName (String!)

    The host name of the Enterprise Server installation.

    \n\n\n\n\n\n\n\n\n\n\n\n

    isConnected (Boolean!)

    Whether or not the installation is connected to an Enterprise Server installation via GitHub Connect.

    \n\n\n\n\n\n\n\n\n\n\n\n

    updatedAt (DateTime!)

    Identifies the date and time when the object was last updated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userAccounts (EnterpriseServerUserAccountConnection!)

    User accounts on this Enterprise Server installation.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (EnterpriseServerUserAccountOrder)

    \n

    Ordering options for Enterprise Server user accounts returned from the connection.

    \n\n
    \n\n
    \n\n\n

    userAccountsUploads (EnterpriseServerUserAccountsUploadConnection!)

    User accounts uploads for the Enterprise Server installation.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (EnterpriseServerUserAccountsUploadOrder)

    \n

    Ordering options for Enterprise Server user accounts uploads returned from the connection.

    \n\n
    \n\n
    \n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n EnterpriseServerInstallationConnection\n

    \n

    The connection type for EnterpriseServerInstallation.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([EnterpriseServerInstallationEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([EnterpriseServerInstallation])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n EnterpriseServerInstallationEdge\n

    \n

    An edge in a connection.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (EnterpriseServerInstallation)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n EnterpriseServerUserAccount\n

    \n

    A user account on an Enterprise Server installation.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    emails (EnterpriseServerUserAccountEmailConnection!)

    User emails belonging to this user account.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (EnterpriseServerUserAccountEmailOrder)

    \n

    Ordering options for Enterprise Server user account emails returned from the connection.

    \n\n
    \n\n
    \n\n\n

    enterpriseServerInstallation (EnterpriseServerInstallation!)

    The Enterprise Server installation on which this user account exists.

    \n\n\n\n\n\n\n\n\n\n\n\n

    isSiteAdmin (Boolean!)

    Whether the user account is a site administrator on the Enterprise Server installation.

    \n\n\n\n\n\n\n\n\n\n\n\n

    login (String!)

    The login of the user account on the Enterprise Server installation.

    \n\n\n\n\n\n\n\n\n\n\n\n

    profileName (String)

    The profile name of the user account on the Enterprise Server installation.

    \n\n\n\n\n\n\n\n\n\n\n\n

    remoteCreatedAt (DateTime!)

    The date and time when the user account was created on the Enterprise Server installation.

    \n\n\n\n\n\n\n\n\n\n\n\n

    remoteUserId (Int!)

    The ID of the user account on the Enterprise Server installation.

    \n\n\n\n\n\n\n\n\n\n\n\n

    updatedAt (DateTime!)

    Identifies the date and time when the object was last updated.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n EnterpriseServerUserAccountConnection\n

    \n

    The connection type for EnterpriseServerUserAccount.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([EnterpriseServerUserAccountEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([EnterpriseServerUserAccount])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n EnterpriseServerUserAccountEdge\n

    \n

    An edge in a connection.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (EnterpriseServerUserAccount)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n EnterpriseServerUserAccountEmail\n

    \n

    An email belonging to a user account on an Enterprise Server installation.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    email (String!)

    The email address.

    \n\n\n\n\n\n\n\n\n\n\n\n

    isPrimary (Boolean!)

    Indicates whether this is the primary email of the associated user account.

    \n\n\n\n\n\n\n\n\n\n\n\n

    updatedAt (DateTime!)

    Identifies the date and time when the object was last updated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userAccount (EnterpriseServerUserAccount!)

    The user account to which the email belongs.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n EnterpriseServerUserAccountEmailConnection\n

    \n

    The connection type for EnterpriseServerUserAccountEmail.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([EnterpriseServerUserAccountEmailEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([EnterpriseServerUserAccountEmail])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n EnterpriseServerUserAccountEmailEdge\n

    \n

    An edge in a connection.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (EnterpriseServerUserAccountEmail)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n EnterpriseServerUserAccountsUpload\n

    \n

    A user accounts upload from an Enterprise Server installation.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    enterprise (Enterprise!)

    The enterprise to which this upload belongs.

    \n\n\n\n\n\n\n\n\n\n\n\n

    enterpriseServerInstallation (EnterpriseServerInstallation!)

    The Enterprise Server installation for which this upload was generated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    name (String!)

    The name of the file uploaded.

    \n\n\n\n\n\n\n\n\n\n\n\n

    syncState (EnterpriseServerUserAccountsUploadSyncState!)

    The synchronization state of the upload.

    \n\n\n\n\n\n\n\n\n\n\n\n

    updatedAt (DateTime!)

    Identifies the date and time when the object was last updated.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n EnterpriseServerUserAccountsUploadConnection\n

    \n

    The connection type for EnterpriseServerUserAccountsUpload.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([EnterpriseServerUserAccountsUploadEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([EnterpriseServerUserAccountsUpload])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n EnterpriseServerUserAccountsUploadEdge\n

    \n

    An edge in a connection.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (EnterpriseServerUserAccountsUpload)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n EnterpriseUserAccount\n

    \n

    An account for a user who is an admin of an enterprise or a member of an enterprise through one or more organizations.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    avatarUrl (URI!)

    A URL pointing to the enterprise user account's public avatar.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    size (Int)

    \n

    The size of the resulting square image.

    \n\n
    \n\n
    \n\n\n

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    enterprise (Enterprise!)

    The enterprise in which this user account exists.

    \n\n\n\n\n\n\n\n\n\n\n\n

    login (String!)

    An identifier for the enterprise user account, a login or email address.

    \n\n\n\n\n\n\n\n\n\n\n\n

    name (String)

    The name of the enterprise user account.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizations (EnterpriseOrganizationMembershipConnection!)

    A list of enterprise organizations this user is a member of.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (OrganizationOrder)

    \n

    Ordering options for organizations returned from the connection.

    \n\n
    \n\n
    \n

    query (String)

    \n

    The search string to look for.

    \n\n
    \n\n
    \n

    role (EnterpriseUserAccountMembershipRole)

    \n

    The role of the user in the enterprise organization.

    \n\n
    \n\n
    \n\n\n

    resourcePath (URI!)

    The HTTP path for this user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    updatedAt (DateTime!)

    Identifies the date and time when the object was last updated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    url (URI!)

    The HTTP URL for this user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    user (User)

    The user within the enterprise.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n EnterpriseUserAccountConnection\n

    \n

    The connection type for EnterpriseUserAccount.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([EnterpriseUserAccountEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([EnterpriseUserAccount])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n EnterpriseUserAccountEdge\n

    \n

    An edge in a connection.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (EnterpriseUserAccount)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n ExternalIdentity\n

    \n

    An external identity provisioned by SAML SSO or SCIM.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    guid (String!)

    The GUID for this identity.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationInvitation (OrganizationInvitation)

    Organization invitation for this SCIM-provisioned external identity.

    \n\n\n\n\n\n\n\n\n\n\n\n

    samlIdentity (ExternalIdentitySamlAttributes)

    SAML Identity attributes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    scimIdentity (ExternalIdentityScimAttributes)

    SCIM Identity attributes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    user (User)

    User linked to this external identity. Will be NULL if this identity has not been claimed by an organization member.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n ExternalIdentityConnection\n

    \n

    The connection type for ExternalIdentity.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([ExternalIdentityEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([ExternalIdentity])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n ExternalIdentityEdge\n

    \n

    An edge in a connection.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (ExternalIdentity)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n ExternalIdentitySamlAttributes\n

    \n

    SAML attributes for the External Identity.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    emails ([UserEmailMetadata!])

    The emails associated with the SAML identity.

    \n\n\n\n\n\n\n\n\n\n\n\n

    familyName (String)

    Family name of the SAML identity.

    \n\n\n\n\n\n\n\n\n\n\n\n

    givenName (String)

    Given name of the SAML identity.

    \n\n\n\n\n\n\n\n\n\n\n\n

    groups ([String!])

    The groups linked to this identity in IDP.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nameId (String)

    The NameID of the SAML identity.

    \n\n\n\n\n\n\n\n\n\n\n\n

    username (String)

    The userName of the SAML identity.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n ExternalIdentityScimAttributes\n

    \n

    SCIM attributes for the External Identity.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    emails ([UserEmailMetadata!])

    The emails associated with the SCIM identity.

    \n\n\n\n\n\n\n\n\n\n\n\n

    familyName (String)

    Family name of the SCIM identity.

    \n\n\n\n\n\n\n\n\n\n\n\n

    givenName (String)

    Given name of the SCIM identity.

    \n\n\n\n\n\n\n\n\n\n\n\n

    groups ([String!])

    The groups linked to this identity in IDP.

    \n\n\n\n\n\n\n\n\n\n\n\n

    username (String)

    The userName of the SCIM identity.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n FollowerConnection\n

    \n

    The connection type for User.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([UserEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([User])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n FollowingConnection\n

    \n

    The connection type for User.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([UserEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([User])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n FundingLink\n

    \n

    A funding platform link for a repository.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    platform (FundingPlatform!)

    The funding platform this link is for.

    \n\n\n\n\n\n\n\n\n\n\n\n

    url (URI!)

    The configured URL for this funding link.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n GenericHovercardContext\n

    \n

    A generic hovercard context with a message and icon.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    message (String!)

    A string describing this context.

    \n\n\n\n\n\n\n\n\n\n\n\n

    octicon (String!)

    An octicon to accompany this context.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n Gist\n

    \n

    A Gist.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    comments (GistCommentConnection!)

    A list of comments associated with the gist.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n\n\n

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    description (String)

    The gist description.

    \n\n\n\n\n\n\n\n\n\n\n\n

    files ([GistFile])

    The files in this gist.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    limit (Int)

    \n

    The maximum number of files to return.

    \n

    The default value is 10.

    \n
    \n\n
    \n

    oid (GitObjectID)

    \n

    The oid of the files to return.

    \n\n
    \n\n
    \n\n\n

    forks (GistConnection!)

    A list of forks associated with the gist.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (GistOrder)

    \n

    Ordering options for gists returned from the connection.

    \n\n
    \n\n
    \n\n\n

    isFork (Boolean!)

    Identifies if the gist is a fork.

    \n\n\n\n\n\n\n\n\n\n\n\n

    isPublic (Boolean!)

    Whether the gist is public or not.

    \n\n\n\n\n\n\n\n\n\n\n\n

    name (String!)

    The gist name.

    \n\n\n\n\n\n\n\n\n\n\n\n

    owner (RepositoryOwner)

    The gist owner.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pushedAt (DateTime)

    Identifies when the gist was last pushed to.

    \n\n\n\n\n\n\n\n\n\n\n\n

    resourcePath (URI!)

    The HTML path to this resource.

    \n\n\n\n\n\n\n\n\n\n\n\n

    stargazerCount (Int!)

    Returns a count of how many stargazers there are on this object.

    \n\n\n\n\n\n\n\n\n\n\n\n

    stargazers (StargazerConnection!)

    A list of users who have starred this starrable.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (StarOrder)

    \n

    Order for connection.

    \n\n
    \n\n
    \n\n\n

    updatedAt (DateTime!)

    Identifies the date and time when the object was last updated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    url (URI!)

    The HTTP URL for this Gist.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerHasStarred (Boolean!)

    Returns a boolean indicating whether the viewing user has starred this starrable.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n GistComment\n

    \n

    Represents a comment on an Gist.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    author (Actor)

    The actor who authored the comment.

    \n\n\n\n\n\n\n\n\n\n\n\n

    authorAssociation (CommentAuthorAssociation!)

    Author's association with the gist.

    \n\n\n\n\n\n\n\n\n\n\n\n

    body (String!)

    Identifies the comment body.

    \n\n\n\n\n\n\n\n\n\n\n\n

    bodyHTML (HTML!)

    The body rendered to HTML.

    \n\n\n\n\n\n\n\n\n\n\n\n

    bodyText (String!)

    The body rendered to text.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdViaEmail (Boolean!)

    Check if this comment was created via an email reply.

    \n\n\n\n\n\n\n\n\n\n\n\n

    databaseId (Int)

    Identifies the primary key from the database.

    \n\n\n\n\n\n\n\n\n\n\n\n

    editor (Actor)

    The actor who edited the comment.

    \n\n\n\n\n\n\n\n\n\n\n\n

    gist (Gist!)

    The associated gist.

    \n\n\n\n\n\n\n\n\n\n\n\n

    includesCreatedEdit (Boolean!)

    Check if this comment was edited and includes an edit with the creation data.

    \n\n\n\n\n\n\n\n\n\n\n\n

    isMinimized (Boolean!)

    Returns whether or not a comment has been minimized.

    \n\n\n\n\n\n\n\n\n\n\n\n

    lastEditedAt (DateTime)

    The moment the editor made the last edit.

    \n\n\n\n\n\n\n\n\n\n\n\n

    minimizedReason (String)

    Returns why the comment was minimized.

    \n\n\n\n\n\n\n\n\n\n\n\n

    publishedAt (DateTime)

    Identifies when the comment was published at.

    \n\n\n\n\n\n\n\n\n\n\n\n

    updatedAt (DateTime!)

    Identifies the date and time when the object was last updated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userContentEdits (UserContentEditConnection)

    A list of edits to this content.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n\n\n

    viewerCanDelete (Boolean!)

    Check if the current viewer can delete this object.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerCanMinimize (Boolean!)

    Check if the current viewer can minimize this object.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerCanUpdate (Boolean!)

    Check if the current viewer can update this object.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerCannotUpdateReasons ([CommentCannotUpdateReason!]!)

    Reasons why the current viewer can not update this comment.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerDidAuthor (Boolean!)

    Did the viewer author this comment.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n GistCommentConnection\n

    \n

    The connection type for GistComment.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([GistCommentEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([GistComment])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n GistCommentEdge\n

    \n

    An edge in a connection.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (GistComment)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n GistConnection\n

    \n

    The connection type for Gist.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([GistEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([Gist])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n GistEdge\n

    \n

    An edge in a connection.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (Gist)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n GistFile\n

    \n

    A file in a gist.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    encodedName (String)

    The file name encoded to remove characters that are invalid in URL paths.

    \n\n\n\n\n\n\n\n\n\n\n\n

    encoding (String)

    The gist file encoding.

    \n\n\n\n\n\n\n\n\n\n\n\n

    extension (String)

    The file extension from the file name.

    \n\n\n\n\n\n\n\n\n\n\n\n

    isImage (Boolean!)

    Indicates if this file is an image.

    \n\n\n\n\n\n\n\n\n\n\n\n

    isTruncated (Boolean!)

    Whether the file's contents were truncated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    language (Language)

    The programming language this file is written in.

    \n\n\n\n\n\n\n\n\n\n\n\n

    name (String)

    The gist file name.

    \n\n\n\n\n\n\n\n\n\n\n\n

    size (Int)

    The gist file size in bytes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    text (String)

    UTF8 text data or null if the file is binary.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    truncate (Int)

    \n

    Optionally truncate the returned file to this length.

    \n\n
    \n\n
    \n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n GitActor\n

    \n

    Represents an actor in a Git commit (ie. an author or committer).

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    avatarUrl (URI!)

    A URL pointing to the author's public avatar.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    size (Int)

    \n

    The size of the resulting square image.

    \n\n
    \n\n
    \n\n\n

    date (GitTimestamp)

    The timestamp of the Git action (authoring or committing).

    \n\n\n\n\n\n\n\n\n\n\n\n

    email (String)

    The email in the Git commit.

    \n\n\n\n\n\n\n\n\n\n\n\n

    name (String)

    The name in the Git commit.

    \n\n\n\n\n\n\n\n\n\n\n\n

    user (User)

    The GitHub user corresponding to the email field. Null if no such user exists.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n GitActorConnection\n

    \n

    The connection type for GitActor.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([GitActorEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([GitActor])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n GitActorEdge\n

    \n

    An edge in a connection.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (GitActor)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n GitHubMetadata\n

    \n

    Represents information about the GitHub instance.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    gitHubServicesSha (GitObjectID!)

    Returns a String that's a SHA of github-services.

    \n\n\n\n\n\n\n\n\n\n\n\n

    gitIpAddresses ([String!])

    IP addresses that users connect to for git operations.

    \n\n\n\n\n\n\n\n\n\n\n\n

    hookIpAddresses ([String!])

    IP addresses that service hooks are sent from.

    \n\n\n\n\n\n\n\n\n\n\n\n

    importerIpAddresses ([String!])

    IP addresses that the importer connects from.

    \n\n\n\n\n\n\n\n\n\n\n\n

    isPasswordAuthenticationVerifiable (Boolean!)

    Whether or not users are verified.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pagesIpAddresses ([String!])

    IP addresses for GitHub Pages' A records.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n GpgSignature\n

    \n

    Represents a GPG signature on a Commit or Tag.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    email (String!)

    Email used to sign this object.

    \n\n\n\n\n\n\n\n\n\n\n\n

    isValid (Boolean!)

    True if the signature is valid and verified by GitHub.

    \n\n\n\n\n\n\n\n\n\n\n\n

    keyId (String)

    Hex-encoded ID of the key that signed this object.

    \n\n\n\n\n\n\n\n\n\n\n\n

    payload (String!)

    Payload for GPG signing object. Raw ODB object without the signature header.

    \n\n\n\n\n\n\n\n\n\n\n\n

    signature (String!)

    ASCII-armored signature header from object.

    \n\n\n\n\n\n\n\n\n\n\n\n

    signer (User)

    GitHub user corresponding to the email signing this commit.

    \n\n\n\n\n\n\n\n\n\n\n\n

    state (GitSignatureState!)

    The state of this signature. VALID if signature is valid and verified by\nGitHub, otherwise represents reason why signature is considered invalid.

    \n\n\n\n\n\n\n\n\n\n\n\n

    wasSignedByGitHub (Boolean!)

    True if the signature was made with GitHub's signing key.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n HeadRefDeletedEvent\n

    \n

    Represents ahead_ref_deletedevent on a given pull request.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    actor (Actor)

    Identifies the actor who performed the event.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    headRef (Ref)

    Identifies the Ref associated with the head_ref_deleted event.

    \n\n\n\n\n\n\n\n\n\n\n\n

    headRefName (String!)

    Identifies the name of the Ref associated with the head_ref_deleted event.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pullRequest (PullRequest!)

    PullRequest referenced by event.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n HeadRefForcePushedEvent\n

    \n

    Represents ahead_ref_force_pushedevent on a given pull request.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    actor (Actor)

    Identifies the actor who performed the event.

    \n\n\n\n\n\n\n\n\n\n\n\n

    afterCommit (Commit)

    Identifies the after commit SHA for thehead_ref_force_pushedevent.

    \n\n\n\n\n\n\n\n\n\n\n\n

    beforeCommit (Commit)

    Identifies the before commit SHA for thehead_ref_force_pushedevent.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pullRequest (PullRequest!)

    PullRequest referenced by event.

    \n\n\n\n\n\n\n\n\n\n\n\n

    ref (Ref)

    Identifies the fully qualified ref name for thehead_ref_force_pushedevent.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n HeadRefRestoredEvent\n

    \n

    Represents ahead_ref_restoredevent on a given pull request.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    actor (Actor)

    Identifies the actor who performed the event.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pullRequest (PullRequest!)

    PullRequest referenced by event.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n Hovercard\n

    \n

    Detail needed to display a hovercard for a user.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    contexts ([HovercardContext!]!)

    Each of the contexts for this hovercard.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n IpAllowListEntry\n

    \n

    An IP address or range of addresses that is allowed to access an owner's resources.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    allowListValue (String!)

    A single IP address or range of IP addresses in CIDR notation.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    isActive (Boolean!)

    Whether the entry is currently active.

    \n\n\n\n\n\n\n\n\n\n\n\n

    name (String)

    The name of the IP allow list entry.

    \n\n\n\n\n\n\n\n\n\n\n\n

    owner (IpAllowListOwner!)

    The owner of the IP allow list entry.

    \n\n\n\n\n\n\n\n\n\n\n\n

    updatedAt (DateTime!)

    Identifies the date and time when the object was last updated.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n IpAllowListEntryConnection\n

    \n

    The connection type for IpAllowListEntry.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([IpAllowListEntryEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([IpAllowListEntry])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n IpAllowListEntryEdge\n

    \n

    An edge in a connection.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (IpAllowListEntry)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n Issue\n

    \n

    An Issue is a place to discuss ideas, enhancements, tasks, and bugs for a project.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    activeLockReason (LockReason)

    Reason that the conversation was locked.

    \n\n\n\n\n\n\n\n\n\n\n\n

    assignees (UserConnection!)

    A list of Users assigned to this object.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n\n\n

    author (Actor)

    The actor who authored the comment.

    \n\n\n\n\n\n\n\n\n\n\n\n

    authorAssociation (CommentAuthorAssociation!)

    Author's association with the subject of the comment.

    \n\n\n\n\n\n\n\n\n\n\n\n

    body (String!)

    Identifies the body of the issue.

    \n\n\n\n\n\n\n\n\n\n\n\n

    bodyHTML (HTML!)

    The body rendered to HTML.

    \n\n\n\n\n\n\n\n\n\n\n\n

    bodyResourcePath (URI!)

    The http path for this issue body.

    \n\n\n\n\n\n\n\n\n\n\n\n

    bodyText (String!)

    Identifies the body of the issue rendered to text.

    \n\n\n\n\n\n\n\n\n\n\n\n

    bodyUrl (URI!)

    The http URL for this issue body.

    \n\n\n\n\n\n\n\n\n\n\n\n

    closed (Boolean!)

    true if the object is closed (definition of closed may depend on type).

    \n\n\n\n\n\n\n\n\n\n\n\n

    closedAt (DateTime)

    Identifies the date and time when the object was closed.

    \n\n\n\n\n\n\n\n\n\n\n\n

    comments (IssueCommentConnection!)

    A list of comments associated with the Issue.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (IssueCommentOrder)

    \n

    Ordering options for issue comments returned from the connection.

    \n\n
    \n\n
    \n\n\n

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdViaEmail (Boolean!)

    Check if this comment was created via an email reply.

    \n\n\n\n\n\n\n\n\n\n\n\n

    databaseId (Int)

    Identifies the primary key from the database.

    \n\n\n\n\n\n\n\n\n\n\n\n

    editor (Actor)

    The actor who edited the comment.

    \n\n\n\n\n\n\n\n\n\n\n\n

    hovercard (Hovercard!)

    The hovercard information for this issue.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    includeNotificationContexts (Boolean)

    \n

    Whether or not to include notification contexts.

    \n

    The default value is true.

    \n
    \n\n
    \n\n\n

    includesCreatedEdit (Boolean!)

    Check if this comment was edited and includes an edit with the creation data.

    \n\n\n\n\n\n\n\n\n\n\n\n

    isPinned (Boolean)

    Indicates whether or not this issue is currently pinned to the repository issues list.

    \n\n\n\n\n\n\n\n\n\n\n\n

    isReadByViewer (Boolean)

    Is this issue read by the viewer.

    \n\n\n\n\n\n\n\n\n\n\n\n

    labels (LabelConnection)

    A list of labels associated with the object.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (LabelOrder)

    \n

    Ordering options for labels returned from the connection.

    \n\n
    \n\n
    \n\n\n

    lastEditedAt (DateTime)

    The moment the editor made the last edit.

    \n\n\n\n\n\n\n\n\n\n\n\n

    locked (Boolean!)

    true if the object is locked.

    \n\n\n\n\n\n\n\n\n\n\n\n

    milestone (Milestone)

    Identifies the milestone associated with the issue.

    \n\n\n\n\n\n\n\n\n\n\n\n

    number (Int!)

    Identifies the issue number.

    \n\n\n\n\n\n\n\n\n\n\n\n

    participants (UserConnection!)

    A list of Users that are participating in the Issue conversation.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n\n\n

    projectCards (ProjectCardConnection!)

    List of project cards associated with this issue.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    archivedStates ([ProjectCardArchivedState])

    \n

    A list of archived states to filter the cards by.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n\n\n

    publishedAt (DateTime)

    Identifies when the comment was published at.

    \n\n\n\n\n\n\n\n\n\n\n\n

    reactionGroups ([ReactionGroup!])

    A list of reactions grouped by content left on the subject.

    \n\n\n\n\n\n\n\n\n\n\n\n

    reactions (ReactionConnection!)

    A list of Reactions left on the Issue.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    content (ReactionContent)

    \n

    Allows filtering Reactions by emoji.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (ReactionOrder)

    \n

    Allows specifying the order in which reactions are returned.

    \n\n
    \n\n
    \n\n\n

    repository (Repository!)

    The repository associated with this node.

    \n\n\n\n\n\n\n\n\n\n\n\n

    resourcePath (URI!)

    The HTTP path for this issue.

    \n\n\n\n\n\n\n\n\n\n\n\n

    state (IssueState!)

    Identifies the state of the issue.

    \n\n\n\n\n\n\n\n\n\n\n\n

    timeline (IssueTimelineConnection!)

    A list of events, comments, commits, etc. associated with the issue.

    \n\n\n\n\n\n\n
    \n

    Deprecation notice

    \n

    timeline is deprecated.

    timeline will be removed Use Issue.timelineItems instead. Removal on 2020-10-01 UTC.

    \n
    \n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    since (DateTime)

    \n

    Allows filtering timeline events by a since timestamp.

    \n\n
    \n\n
    \n\n\n

    timelineItems (IssueTimelineItemsConnection!)

    A list of events, comments, commits, etc. associated with the issue.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    itemTypes ([IssueTimelineItemsItemType!])

    \n

    Filter timeline items by type.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    since (DateTime)

    \n

    Filter timeline items by a since timestamp.

    \n\n
    \n\n
    \n

    skip (Int)

    \n

    Skips the first n elements in the list.

    \n\n
    \n\n
    \n\n\n

    title (String!)

    Identifies the issue title.

    \n\n\n\n\n\n\n\n\n\n\n\n

    updatedAt (DateTime!)

    Identifies the date and time when the object was last updated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    url (URI!)

    The HTTP URL for this issue.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userContentEdits (UserContentEditConnection)

    A list of edits to this content.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n\n\n

    viewerCanReact (Boolean!)

    Can user react to this subject.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerCanSubscribe (Boolean!)

    Check if the viewer is able to change their subscription status for the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerCanUpdate (Boolean!)

    Check if the current viewer can update this object.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerCannotUpdateReasons ([CommentCannotUpdateReason!]!)

    Reasons why the current viewer can not update this comment.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerDidAuthor (Boolean!)

    Did the viewer author this comment.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerSubscription (SubscriptionState)

    Identifies if the viewer is watching, not watching, or ignoring the subscribable entity.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n IssueComment\n

    \n

    Represents a comment on an Issue.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    author (Actor)

    The actor who authored the comment.

    \n\n\n\n\n\n\n\n\n\n\n\n

    authorAssociation (CommentAuthorAssociation!)

    Author's association with the subject of the comment.

    \n\n\n\n\n\n\n\n\n\n\n\n

    body (String!)

    The body as Markdown.

    \n\n\n\n\n\n\n\n\n\n\n\n

    bodyHTML (HTML!)

    The body rendered to HTML.

    \n\n\n\n\n\n\n\n\n\n\n\n

    bodyText (String!)

    The body rendered to text.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdViaEmail (Boolean!)

    Check if this comment was created via an email reply.

    \n\n\n\n\n\n\n\n\n\n\n\n

    databaseId (Int)

    Identifies the primary key from the database.

    \n\n\n\n\n\n\n\n\n\n\n\n

    editor (Actor)

    The actor who edited the comment.

    \n\n\n\n\n\n\n\n\n\n\n\n

    includesCreatedEdit (Boolean!)

    Check if this comment was edited and includes an edit with the creation data.

    \n\n\n\n\n\n\n\n\n\n\n\n

    isMinimized (Boolean!)

    Returns whether or not a comment has been minimized.

    \n\n\n\n\n\n\n\n\n\n\n\n

    issue (Issue!)

    Identifies the issue associated with the comment.

    \n\n\n\n\n\n\n\n\n\n\n\n

    lastEditedAt (DateTime)

    The moment the editor made the last edit.

    \n\n\n\n\n\n\n\n\n\n\n\n

    minimizedReason (String)

    Returns why the comment was minimized.

    \n\n\n\n\n\n\n\n\n\n\n\n

    publishedAt (DateTime)

    Identifies when the comment was published at.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pullRequest (PullRequest)

    Returns the pull request associated with the comment, if this comment was made on a\npull request.

    \n\n\n\n\n\n\n\n\n\n\n\n

    reactionGroups ([ReactionGroup!])

    A list of reactions grouped by content left on the subject.

    \n\n\n\n\n\n\n\n\n\n\n\n

    reactions (ReactionConnection!)

    A list of Reactions left on the Issue.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    content (ReactionContent)

    \n

    Allows filtering Reactions by emoji.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (ReactionOrder)

    \n

    Allows specifying the order in which reactions are returned.

    \n\n
    \n\n
    \n\n\n

    repository (Repository!)

    The repository associated with this node.

    \n\n\n\n\n\n\n\n\n\n\n\n

    resourcePath (URI!)

    The HTTP path for this issue comment.

    \n\n\n\n\n\n\n\n\n\n\n\n

    updatedAt (DateTime!)

    Identifies the date and time when the object was last updated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    url (URI!)

    The HTTP URL for this issue comment.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userContentEdits (UserContentEditConnection)

    A list of edits to this content.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n\n\n

    viewerCanDelete (Boolean!)

    Check if the current viewer can delete this object.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerCanMinimize (Boolean!)

    Check if the current viewer can minimize this object.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerCanReact (Boolean!)

    Can user react to this subject.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerCanUpdate (Boolean!)

    Check if the current viewer can update this object.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerCannotUpdateReasons ([CommentCannotUpdateReason!]!)

    Reasons why the current viewer can not update this comment.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerDidAuthor (Boolean!)

    Did the viewer author this comment.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n IssueCommentConnection\n

    \n

    The connection type for IssueComment.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([IssueCommentEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([IssueComment])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n IssueCommentEdge\n

    \n

    An edge in a connection.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (IssueComment)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n IssueConnection\n

    \n

    The connection type for Issue.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([IssueEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([Issue])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n IssueContributionsByRepository\n

    \n

    This aggregates issues opened by a user within one repository.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    contributions (CreatedIssueContributionConnection!)

    The issue contributions.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (ContributionOrder)

    \n

    Ordering options for contributions returned from the connection.

    \n\n
    \n\n
    \n\n\n

    repository (Repository!)

    The repository in which the issues were opened.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n IssueEdge\n

    \n

    An edge in a connection.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (Issue)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n IssueTemplate\n

    \n

    A repository issue template.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    about (String)

    The template purpose.

    \n\n\n\n\n\n\n\n\n\n\n\n

    body (String)

    The suggested issue body.

    \n\n\n\n\n\n\n\n\n\n\n\n

    name (String!)

    The template name.

    \n\n\n\n\n\n\n\n\n\n\n\n

    title (String)

    The suggested issue title.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n IssueTimelineConnection\n

    \n

    The connection type for IssueTimelineItem.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([IssueTimelineItemEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([IssueTimelineItem])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n IssueTimelineItemEdge\n

    \n

    An edge in a connection.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (IssueTimelineItem)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n IssueTimelineItemsConnection\n

    \n

    The connection type for IssueTimelineItems.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([IssueTimelineItemsEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    filteredCount (Int!)

    Identifies the count of items after applying before and after filters.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([IssueTimelineItems])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageCount (Int!)

    Identifies the count of items after applying before/after filters and first/last/skip slicing.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n

    updatedAt (DateTime!)

    Identifies the date and time when the timeline was last updated.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n IssueTimelineItemsEdge\n

    \n

    An edge in a connection.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (IssueTimelineItems)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n JoinedGitHubContribution\n

    \n

    Represents a user signing up for a GitHub account.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    isRestricted (Boolean!)

    Whether this contribution is associated with a record you do not have access to. For\nexample, your own 'first issue' contribution may have been made on a repository you can no\nlonger access.

    \n\n\n\n\n\n\n\n\n\n\n\n

    occurredAt (DateTime!)

    When this contribution was made.

    \n\n\n\n\n\n\n\n\n\n\n\n

    resourcePath (URI!)

    The HTTP path for this contribution.

    \n\n\n\n\n\n\n\n\n\n\n\n

    url (URI!)

    The HTTP URL for this contribution.

    \n\n\n\n\n\n\n\n\n\n\n\n

    user (User!)

    The user who made this contribution.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n Label\n

    \n

    A label for categorizing Issues or Milestones with a given Repository.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    color (String!)

    Identifies the label color.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (DateTime)

    Identifies the date and time when the label was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    description (String)

    A brief description of this label.

    \n\n\n\n\n\n\n\n\n\n\n\n

    isDefault (Boolean!)

    Indicates whether or not this is a default label.

    \n\n\n\n\n\n\n\n\n\n\n\n

    issues (IssueConnection!)

    A list of issues associated with this label.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    filterBy (IssueFilters)

    \n

    Filtering options for issues returned from the connection.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    labels ([String!])

    \n

    A list of label names to filter the pull requests by.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (IssueOrder)

    \n

    Ordering options for issues returned from the connection.

    \n\n
    \n\n
    \n

    states ([IssueState!])

    \n

    A list of states to filter the issues by.

    \n\n
    \n\n
    \n\n\n

    name (String!)

    Identifies the label name.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pullRequests (PullRequestConnection!)

    A list of pull requests associated with this label.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    baseRefName (String)

    \n

    The base ref name to filter the pull requests by.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    headRefName (String)

    \n

    The head ref name to filter the pull requests by.

    \n\n
    \n\n
    \n

    labels ([String!])

    \n

    A list of label names to filter the pull requests by.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (IssueOrder)

    \n

    Ordering options for pull requests returned from the connection.

    \n\n
    \n\n
    \n

    states ([PullRequestState!])

    \n

    A list of states to filter the pull requests by.

    \n\n
    \n\n
    \n\n\n

    repository (Repository!)

    The repository associated with this label.

    \n\n\n\n\n\n\n\n\n\n\n\n

    resourcePath (URI!)

    The HTTP path for this label.

    \n\n\n\n\n\n\n\n\n\n\n\n

    updatedAt (DateTime)

    Identifies the date and time when the label was last updated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    url (URI!)

    The HTTP URL for this label.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n LabelConnection\n

    \n

    The connection type for Label.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([LabelEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([Label])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n LabelEdge\n

    \n

    An edge in a connection.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (Label)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n LabeledEvent\n

    \n

    Represents alabeledevent on a given issue or pull request.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    actor (Actor)

    Identifies the actor who performed the event.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    label (Label!)

    Identifies the label associated with thelabeledevent.

    \n\n\n\n\n\n\n\n\n\n\n\n

    labelable (Labelable!)

    Identifies the Labelable associated with the event.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n Language\n

    \n

    Represents a given language found in repositories.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    color (String)

    The color defined for the current language.

    \n\n\n\n\n\n\n\n\n\n\n\n

    name (String!)

    The name of the current language.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n LanguageConnection\n

    \n

    A list of languages associated with the parent.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([LanguageEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([Language])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalSize (Int!)

    The total size in bytes of files written in that language.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n LanguageEdge\n

    \n

    Represents the language of a repository.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    size (Int!)

    The number of bytes of code written in the language.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n License\n

    \n

    A repository's open source license.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    body (String!)

    The full text of the license.

    \n\n\n\n\n\n\n\n\n\n\n\n

    conditions ([LicenseRule]!)

    The conditions set by the license.

    \n\n\n\n\n\n\n\n\n\n\n\n

    description (String)

    A human-readable description of the license.

    \n\n\n\n\n\n\n\n\n\n\n\n

    featured (Boolean!)

    Whether the license should be featured.

    \n\n\n\n\n\n\n\n\n\n\n\n

    hidden (Boolean!)

    Whether the license should be displayed in license pickers.

    \n\n\n\n\n\n\n\n\n\n\n\n

    implementation (String)

    Instructions on how to implement the license.

    \n\n\n\n\n\n\n\n\n\n\n\n

    key (String!)

    The lowercased SPDX ID of the license.

    \n\n\n\n\n\n\n\n\n\n\n\n

    limitations ([LicenseRule]!)

    The limitations set by the license.

    \n\n\n\n\n\n\n\n\n\n\n\n

    name (String!)

    The license full name specified by https://spdx.org/licenses.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nickname (String)

    Customary short name if applicable (e.g, GPLv3).

    \n\n\n\n\n\n\n\n\n\n\n\n

    permissions ([LicenseRule]!)

    The permissions set by the license.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pseudoLicense (Boolean!)

    Whether the license is a pseudo-license placeholder (e.g., other, no-license).

    \n\n\n\n\n\n\n\n\n\n\n\n

    spdxId (String)

    Short identifier specified by https://spdx.org/licenses.

    \n\n\n\n\n\n\n\n\n\n\n\n

    url (URI)

    URL to the license on https://choosealicense.com.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n LicenseRule\n

    \n

    Describes a License's conditions, permissions, and limitations.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    description (String!)

    A description of the rule.

    \n\n\n\n\n\n\n\n\n\n\n\n

    key (String!)

    The machine-readable rule key.

    \n\n\n\n\n\n\n\n\n\n\n\n

    label (String!)

    The human-readable rule label.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n LockedEvent\n

    \n

    Represents alockedevent on a given issue or pull request.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    actor (Actor)

    Identifies the actor who performed the event.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    lockReason (LockReason)

    Reason that the conversation was locked (optional).

    \n\n\n\n\n\n\n\n\n\n\n\n

    lockable (Lockable!)

    Object that was locked.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n Mannequin\n

    \n

    A placeholder user for attribution of imported data on GitHub.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    avatarUrl (URI!)

    A URL pointing to the GitHub App's public avatar.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    size (Int)

    \n

    The size of the resulting square image.

    \n\n
    \n\n
    \n\n\n

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    databaseId (Int)

    Identifies the primary key from the database.

    \n\n\n\n\n\n\n\n\n\n\n\n

    email (String)

    The mannequin's email on the source instance.

    \n\n\n\n\n\n\n\n\n\n\n\n

    login (String!)

    The username of the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    resourcePath (URI!)

    The HTML path to this resource.

    \n\n\n\n\n\n\n\n\n\n\n\n

    updatedAt (DateTime!)

    Identifies the date and time when the object was last updated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    url (URI!)

    The URL to this resource.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n MarkedAsDuplicateEvent\n

    \n

    Represents amarked_as_duplicateevent on a given issue or pull request.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    actor (Actor)

    Identifies the actor who performed the event.

    \n\n\n\n\n\n\n\n\n\n\n\n

    canonical (IssueOrPullRequest)

    The authoritative issue or pull request which has been duplicated by another.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    duplicate (IssueOrPullRequest)

    The issue or pull request which has been marked as a duplicate of another.

    \n\n\n\n\n\n\n\n\n\n\n\n

    isCrossRepository (Boolean!)

    Canonical and duplicate belong to different repositories.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n MarketplaceCategory\n

    \n

    A public description of a Marketplace category.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    description (String)

    The category's description.

    \n\n\n\n\n\n\n\n\n\n\n\n

    howItWorks (String)

    The technical description of how apps listed in this category work with GitHub.

    \n\n\n\n\n\n\n\n\n\n\n\n

    name (String!)

    The category's name.

    \n\n\n\n\n\n\n\n\n\n\n\n

    primaryListingCount (Int!)

    How many Marketplace listings have this as their primary category.

    \n\n\n\n\n\n\n\n\n\n\n\n

    resourcePath (URI!)

    The HTTP path for this Marketplace category.

    \n\n\n\n\n\n\n\n\n\n\n\n

    secondaryListingCount (Int!)

    How many Marketplace listings have this as their secondary category.

    \n\n\n\n\n\n\n\n\n\n\n\n

    slug (String!)

    The short name of the category used in its URL.

    \n\n\n\n\n\n\n\n\n\n\n\n

    url (URI!)

    The HTTP URL for this Marketplace category.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n MarketplaceListing\n

    \n

    A listing in the GitHub integration marketplace.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    app (App)

    The GitHub App this listing represents.

    \n\n\n\n\n\n\n\n\n\n\n\n

    companyUrl (URI)

    URL to the listing owner's company site.

    \n\n\n\n\n\n\n\n\n\n\n\n

    configurationResourcePath (URI!)

    The HTTP path for configuring access to the listing's integration or OAuth app.

    \n\n\n\n\n\n\n\n\n\n\n\n

    configurationUrl (URI!)

    The HTTP URL for configuring access to the listing's integration or OAuth app.

    \n\n\n\n\n\n\n\n\n\n\n\n

    documentationUrl (URI)

    URL to the listing's documentation.

    \n\n\n\n\n\n\n\n\n\n\n\n

    extendedDescription (String)

    The listing's detailed description.

    \n\n\n\n\n\n\n\n\n\n\n\n

    extendedDescriptionHTML (HTML!)

    The listing's detailed description rendered to HTML.

    \n\n\n\n\n\n\n\n\n\n\n\n

    fullDescription (String!)

    The listing's introductory description.

    \n\n\n\n\n\n\n\n\n\n\n\n

    fullDescriptionHTML (HTML!)

    The listing's introductory description rendered to HTML.

    \n\n\n\n\n\n\n\n\n\n\n\n

    hasPublishedFreeTrialPlans (Boolean!)

    Does this listing have any plans with a free trial?.

    \n\n\n\n\n\n\n\n\n\n\n\n

    hasTermsOfService (Boolean!)

    Does this listing have a terms of service link?.

    \n\n\n\n\n\n\n\n\n\n\n\n

    hasVerifiedOwner (Boolean!)

    Whether the creator of the app is a verified org.

    \n\n\n\n\n\n\n\n\n\n\n\n

    howItWorks (String)

    A technical description of how this app works with GitHub.

    \n\n\n\n\n\n\n\n\n\n\n\n

    howItWorksHTML (HTML!)

    The listing's technical description rendered to HTML.

    \n\n\n\n\n\n\n\n\n\n\n\n

    installationUrl (URI)

    URL to install the product to the viewer's account or organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    installedForViewer (Boolean!)

    Whether this listing's app has been installed for the current viewer.

    \n\n\n\n\n\n\n\n\n\n\n\n

    isArchived (Boolean!)

    Whether this listing has been removed from the Marketplace.

    \n\n\n\n\n\n\n\n\n\n\n\n

    isDraft (Boolean!)

    Whether this listing is still an editable draft that has not been submitted\nfor review and is not publicly visible in the Marketplace.

    \n\n\n\n\n\n\n\n\n\n\n\n

    isPaid (Boolean!)

    Whether the product this listing represents is available as part of a paid plan.

    \n\n\n\n\n\n\n\n\n\n\n\n

    isPublic (Boolean!)

    Whether this listing has been approved for display in the Marketplace.

    \n\n\n\n\n\n\n\n\n\n\n\n

    isRejected (Boolean!)

    Whether this listing has been rejected by GitHub for display in the Marketplace.

    \n\n\n\n\n\n\n\n\n\n\n\n

    isUnverified (Boolean!)

    Whether this listing has been approved for unverified display in the Marketplace.

    \n\n\n\n\n\n\n\n\n\n\n\n

    isUnverifiedPending (Boolean!)

    Whether this draft listing has been submitted for review for approval to be unverified in the Marketplace.

    \n\n\n\n\n\n\n\n\n\n\n\n

    isVerificationPendingFromDraft (Boolean!)

    Whether this draft listing has been submitted for review from GitHub for approval to be verified in the Marketplace.

    \n\n\n\n\n\n\n\n\n\n\n\n

    isVerificationPendingFromUnverified (Boolean!)

    Whether this unverified listing has been submitted for review from GitHub for approval to be verified in the Marketplace.

    \n\n\n\n\n\n\n\n\n\n\n\n

    isVerified (Boolean!)

    Whether this listing has been approved for verified display in the Marketplace.

    \n\n\n\n\n\n\n\n\n\n\n\n

    logoBackgroundColor (String!)

    The hex color code, without the leading '#', for the logo background.

    \n\n\n\n\n\n\n\n\n\n\n\n

    logoUrl (URI)

    URL for the listing's logo image.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    size (Int)

    \n

    The size in pixels of the resulting square image.

    \n

    The default value is 400.

    \n
    \n\n
    \n\n\n

    name (String!)

    The listing's full name.

    \n\n\n\n\n\n\n\n\n\n\n\n

    normalizedShortDescription (String!)

    The listing's very short description without a trailing period or ampersands.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pricingUrl (URI)

    URL to the listing's detailed pricing.

    \n\n\n\n\n\n\n\n\n\n\n\n

    primaryCategory (MarketplaceCategory!)

    The category that best describes the listing.

    \n\n\n\n\n\n\n\n\n\n\n\n

    privacyPolicyUrl (URI!)

    URL to the listing's privacy policy, may return an empty string for listings that do not require a privacy policy URL.

    \n\n\n\n\n\n\n\n\n\n\n\n

    resourcePath (URI!)

    The HTTP path for the Marketplace listing.

    \n\n\n\n\n\n\n\n\n\n\n\n

    screenshotUrls ([String]!)

    The URLs for the listing's screenshots.

    \n\n\n\n\n\n\n\n\n\n\n\n

    secondaryCategory (MarketplaceCategory)

    An alternate category that describes the listing.

    \n\n\n\n\n\n\n\n\n\n\n\n

    shortDescription (String!)

    The listing's very short description.

    \n\n\n\n\n\n\n\n\n\n\n\n

    slug (String!)

    The short name of the listing used in its URL.

    \n\n\n\n\n\n\n\n\n\n\n\n

    statusUrl (URI)

    URL to the listing's status page.

    \n\n\n\n\n\n\n\n\n\n\n\n

    supportEmail (String)

    An email address for support for this listing's app.

    \n\n\n\n\n\n\n\n\n\n\n\n

    supportUrl (URI!)

    Either a URL or an email address for support for this listing's app, may\nreturn an empty string for listings that do not require a support URL.

    \n\n\n\n\n\n\n\n\n\n\n\n

    termsOfServiceUrl (URI)

    URL to the listing's terms of service.

    \n\n\n\n\n\n\n\n\n\n\n\n

    url (URI!)

    The HTTP URL for the Marketplace listing.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerCanAddPlans (Boolean!)

    Can the current viewer add plans for this Marketplace listing.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerCanApprove (Boolean!)

    Can the current viewer approve this Marketplace listing.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerCanDelist (Boolean!)

    Can the current viewer delist this Marketplace listing.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerCanEdit (Boolean!)

    Can the current viewer edit this Marketplace listing.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerCanEditCategories (Boolean!)

    Can the current viewer edit the primary and secondary category of this\nMarketplace listing.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerCanEditPlans (Boolean!)

    Can the current viewer edit the plans for this Marketplace listing.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerCanRedraft (Boolean!)

    Can the current viewer return this Marketplace listing to draft state\nso it becomes editable again.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerCanReject (Boolean!)

    Can the current viewer reject this Marketplace listing by returning it to\nan editable draft state or rejecting it entirely.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerCanRequestApproval (Boolean!)

    Can the current viewer request this listing be reviewed for display in\nthe Marketplace as verified.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerHasPurchased (Boolean!)

    Indicates whether the current user has an active subscription to this Marketplace listing.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerHasPurchasedForAllOrganizations (Boolean!)

    Indicates if the current user has purchased a subscription to this Marketplace listing\nfor all of the organizations the user owns.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerIsListingAdmin (Boolean!)

    Does the current viewer role allow them to administer this Marketplace listing.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n MarketplaceListingConnection\n

    \n

    Look up Marketplace Listings.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([MarketplaceListingEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([MarketplaceListing])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n MarketplaceListingEdge\n

    \n

    An edge in a connection.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (MarketplaceListing)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n MembersCanDeleteReposClearAuditEntry\n

    \n

    Audit log entry for a members_can_delete_repos.clear event.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    action (String!)

    The action name.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actor (AuditEntryActor)

    The user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorIp (String)

    The IP address of the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLocation (ActorLocation)

    A readable representation of the actor's location.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLogin (String)

    The username of the user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorResourcePath (URI)

    The HTTP path for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorUrl (URI)

    The HTTP URL for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (PreciseDateTime!)

    The time the action was initiated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    enterpriseResourcePath (URI)

    The HTTP path for this enterprise.

    \n\n\n\n\n\n\n\n\n\n\n\n

    enterpriseSlug (String)

    The slug of the enterprise.

    \n\n\n\n\n\n\n\n\n\n\n\n

    enterpriseUrl (URI)

    The HTTP URL for this enterprise.

    \n\n\n\n\n\n\n\n\n\n\n\n

    operationType (OperationType)

    The corresponding operation type for the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organization (Organization)

    The Organization associated with the Audit Entry.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationName (String)

    The name of the Organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationResourcePath (URI)

    The HTTP path for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationUrl (URI)

    The HTTP URL for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    user (User)

    The user affected by the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userLogin (String)

    For actions involving two users, the actor is the initiator and the user is the affected user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userResourcePath (URI)

    The HTTP path for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userUrl (URI)

    The HTTP URL for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n MembersCanDeleteReposDisableAuditEntry\n

    \n

    Audit log entry for a members_can_delete_repos.disable event.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    action (String!)

    The action name.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actor (AuditEntryActor)

    The user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorIp (String)

    The IP address of the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLocation (ActorLocation)

    A readable representation of the actor's location.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLogin (String)

    The username of the user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorResourcePath (URI)

    The HTTP path for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorUrl (URI)

    The HTTP URL for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (PreciseDateTime!)

    The time the action was initiated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    enterpriseResourcePath (URI)

    The HTTP path for this enterprise.

    \n\n\n\n\n\n\n\n\n\n\n\n

    enterpriseSlug (String)

    The slug of the enterprise.

    \n\n\n\n\n\n\n\n\n\n\n\n

    enterpriseUrl (URI)

    The HTTP URL for this enterprise.

    \n\n\n\n\n\n\n\n\n\n\n\n

    operationType (OperationType)

    The corresponding operation type for the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organization (Organization)

    The Organization associated with the Audit Entry.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationName (String)

    The name of the Organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationResourcePath (URI)

    The HTTP path for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationUrl (URI)

    The HTTP URL for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    user (User)

    The user affected by the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userLogin (String)

    For actions involving two users, the actor is the initiator and the user is the affected user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userResourcePath (URI)

    The HTTP path for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userUrl (URI)

    The HTTP URL for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n MembersCanDeleteReposEnableAuditEntry\n

    \n

    Audit log entry for a members_can_delete_repos.enable event.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    action (String!)

    The action name.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actor (AuditEntryActor)

    The user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorIp (String)

    The IP address of the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLocation (ActorLocation)

    A readable representation of the actor's location.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLogin (String)

    The username of the user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorResourcePath (URI)

    The HTTP path for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorUrl (URI)

    The HTTP URL for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (PreciseDateTime!)

    The time the action was initiated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    enterpriseResourcePath (URI)

    The HTTP path for this enterprise.

    \n\n\n\n\n\n\n\n\n\n\n\n

    enterpriseSlug (String)

    The slug of the enterprise.

    \n\n\n\n\n\n\n\n\n\n\n\n

    enterpriseUrl (URI)

    The HTTP URL for this enterprise.

    \n\n\n\n\n\n\n\n\n\n\n\n

    operationType (OperationType)

    The corresponding operation type for the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organization (Organization)

    The Organization associated with the Audit Entry.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationName (String)

    The name of the Organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationResourcePath (URI)

    The HTTP path for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationUrl (URI)

    The HTTP URL for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    user (User)

    The user affected by the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userLogin (String)

    For actions involving two users, the actor is the initiator and the user is the affected user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userResourcePath (URI)

    The HTTP path for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userUrl (URI)

    The HTTP URL for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n MentionedEvent\n

    \n

    Represents amentionedevent on a given issue or pull request.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    actor (Actor)

    Identifies the actor who performed the event.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    databaseId (Int)

    Identifies the primary key from the database.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n MergedEvent\n

    \n

    Represents amergedevent on a given pull request.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    actor (Actor)

    Identifies the actor who performed the event.

    \n\n\n\n\n\n\n\n\n\n\n\n

    commit (Commit)

    Identifies the commit associated with the merge event.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    mergeRef (Ref)

    Identifies the Ref associated with the merge event.

    \n\n\n\n\n\n\n\n\n\n\n\n

    mergeRefName (String!)

    Identifies the name of the Ref associated with the merge event.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pullRequest (PullRequest!)

    PullRequest referenced by event.

    \n\n\n\n\n\n\n\n\n\n\n\n

    resourcePath (URI!)

    The HTTP path for this merged event.

    \n\n\n\n\n\n\n\n\n\n\n\n

    url (URI!)

    The HTTP URL for this merged event.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n Milestone\n

    \n

    Represents a Milestone object on a given repository.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    closed (Boolean!)

    true if the object is closed (definition of closed may depend on type).

    \n\n\n\n\n\n\n\n\n\n\n\n

    closedAt (DateTime)

    Identifies the date and time when the object was closed.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    creator (Actor)

    Identifies the actor who created the milestone.

    \n\n\n\n\n\n\n\n\n\n\n\n

    description (String)

    Identifies the description of the milestone.

    \n\n\n\n\n\n\n\n\n\n\n\n

    dueOn (DateTime)

    Identifies the due date of the milestone.

    \n\n\n\n\n\n\n\n\n\n\n\n

    issues (IssueConnection!)

    A list of issues associated with the milestone.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    filterBy (IssueFilters)

    \n

    Filtering options for issues returned from the connection.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    labels ([String!])

    \n

    A list of label names to filter the pull requests by.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (IssueOrder)

    \n

    Ordering options for issues returned from the connection.

    \n\n
    \n\n
    \n

    states ([IssueState!])

    \n

    A list of states to filter the issues by.

    \n\n
    \n\n
    \n\n\n

    number (Int!)

    Identifies the number of the milestone.

    \n\n\n\n\n\n\n\n\n\n\n\n

    progressPercentage (Float!)

    Identifies the percentage complete for the milestone.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pullRequests (PullRequestConnection!)

    A list of pull requests associated with the milestone.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    baseRefName (String)

    \n

    The base ref name to filter the pull requests by.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    headRefName (String)

    \n

    The head ref name to filter the pull requests by.

    \n\n
    \n\n
    \n

    labels ([String!])

    \n

    A list of label names to filter the pull requests by.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (IssueOrder)

    \n

    Ordering options for pull requests returned from the connection.

    \n\n
    \n\n
    \n

    states ([PullRequestState!])

    \n

    A list of states to filter the pull requests by.

    \n\n
    \n\n
    \n\n\n

    repository (Repository!)

    The repository associated with this milestone.

    \n\n\n\n\n\n\n\n\n\n\n\n

    resourcePath (URI!)

    The HTTP path for this milestone.

    \n\n\n\n\n\n\n\n\n\n\n\n

    state (MilestoneState!)

    Identifies the state of the milestone.

    \n\n\n\n\n\n\n\n\n\n\n\n

    title (String!)

    Identifies the title of the milestone.

    \n\n\n\n\n\n\n\n\n\n\n\n

    updatedAt (DateTime!)

    Identifies the date and time when the object was last updated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    url (URI!)

    The HTTP URL for this milestone.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n MilestoneConnection\n

    \n

    The connection type for Milestone.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([MilestoneEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([Milestone])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n MilestoneEdge\n

    \n

    An edge in a connection.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (Milestone)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n MilestonedEvent\n

    \n

    Represents amilestonedevent on a given issue or pull request.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    actor (Actor)

    Identifies the actor who performed the event.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    milestoneTitle (String!)

    Identifies the milestone title associated with themilestonedevent.

    \n\n\n\n\n\n\n\n\n\n\n\n

    subject (MilestoneItem!)

    Object referenced by event.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n MovedColumnsInProjectEvent\n

    \n

    Represents amoved_columns_in_projectevent on a given issue or pull request.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    actor (Actor)

    Identifies the actor who performed the event.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    databaseId (Int)

    Identifies the primary key from the database.

    \n\n\n\n\n\n\n\n\n\n\n\n

    previousProjectColumnName (String!)

    Column name the issue or pull request was moved from.

    \n\n\n\n\n
    \n

    Preview notice

    \n

    previousProjectColumnName is available under the Project event details preview. During the preview period, the API may change without notice.

    \n
    \n\n\n\n\n\n\n\n\n

    project (Project)

    Project referenced by event.

    \n\n\n\n\n
    \n

    Preview notice

    \n

    project is available under the Project event details preview. During the preview period, the API may change without notice.

    \n
    \n\n\n\n\n\n\n\n\n

    projectCard (ProjectCard)

    Project card referenced by this project event.

    \n\n\n\n\n
    \n

    Preview notice

    \n

    projectCard is available under the Project event details preview. During the preview period, the API may change without notice.

    \n
    \n\n\n\n\n\n\n\n\n

    projectColumnName (String!)

    Column name the issue or pull request was moved to.

    \n\n\n\n\n
    \n

    Preview notice

    \n

    projectColumnName is available under the Project event details preview. During the preview period, the API may change without notice.

    \n
    \n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n OauthApplicationCreateAuditEntry\n

    \n

    Audit log entry for a oauth_application.create event.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    action (String!)

    The action name.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actor (AuditEntryActor)

    The user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorIp (String)

    The IP address of the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLocation (ActorLocation)

    A readable representation of the actor's location.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLogin (String)

    The username of the user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorResourcePath (URI)

    The HTTP path for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorUrl (URI)

    The HTTP URL for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    applicationUrl (URI)

    The application URL of the OAuth Application.

    \n\n\n\n\n\n\n\n\n\n\n\n

    callbackUrl (URI)

    The callback URL of the OAuth Application.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (PreciseDateTime!)

    The time the action was initiated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    oauthApplicationName (String)

    The name of the OAuth Application.

    \n\n\n\n\n\n\n\n\n\n\n\n

    oauthApplicationResourcePath (URI)

    The HTTP path for the OAuth Application.

    \n\n\n\n\n\n\n\n\n\n\n\n

    oauthApplicationUrl (URI)

    The HTTP URL for the OAuth Application.

    \n\n\n\n\n\n\n\n\n\n\n\n

    operationType (OperationType)

    The corresponding operation type for the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organization (Organization)

    The Organization associated with the Audit Entry.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationName (String)

    The name of the Organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationResourcePath (URI)

    The HTTP path for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationUrl (URI)

    The HTTP URL for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    rateLimit (Int)

    The rate limit of the OAuth Application.

    \n\n\n\n\n\n\n\n\n\n\n\n

    state (OauthApplicationCreateAuditEntryState)

    The state of the OAuth Application.

    \n\n\n\n\n\n\n\n\n\n\n\n

    user (User)

    The user affected by the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userLogin (String)

    For actions involving two users, the actor is the initiator and the user is the affected user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userResourcePath (URI)

    The HTTP path for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userUrl (URI)

    The HTTP URL for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n OrgAddBillingManagerAuditEntry\n

    \n

    Audit log entry for a org.add_billing_manager.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    action (String!)

    The action name.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actor (AuditEntryActor)

    The user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorIp (String)

    The IP address of the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLocation (ActorLocation)

    A readable representation of the actor's location.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLogin (String)

    The username of the user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorResourcePath (URI)

    The HTTP path for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorUrl (URI)

    The HTTP URL for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (PreciseDateTime!)

    The time the action was initiated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    invitationEmail (String)

    The email address used to invite a billing manager for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    operationType (OperationType)

    The corresponding operation type for the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organization (Organization)

    The Organization associated with the Audit Entry.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationName (String)

    The name of the Organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationResourcePath (URI)

    The HTTP path for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationUrl (URI)

    The HTTP URL for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    user (User)

    The user affected by the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userLogin (String)

    For actions involving two users, the actor is the initiator and the user is the affected user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userResourcePath (URI)

    The HTTP path for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userUrl (URI)

    The HTTP URL for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n OrgAddMemberAuditEntry\n

    \n

    Audit log entry for a org.add_member.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    action (String!)

    The action name.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actor (AuditEntryActor)

    The user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorIp (String)

    The IP address of the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLocation (ActorLocation)

    A readable representation of the actor's location.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLogin (String)

    The username of the user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorResourcePath (URI)

    The HTTP path for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorUrl (URI)

    The HTTP URL for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (PreciseDateTime!)

    The time the action was initiated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    operationType (OperationType)

    The corresponding operation type for the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organization (Organization)

    The Organization associated with the Audit Entry.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationName (String)

    The name of the Organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationResourcePath (URI)

    The HTTP path for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationUrl (URI)

    The HTTP URL for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    permission (OrgAddMemberAuditEntryPermission)

    The permission level of the member added to the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    user (User)

    The user affected by the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userLogin (String)

    For actions involving two users, the actor is the initiator and the user is the affected user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userResourcePath (URI)

    The HTTP path for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userUrl (URI)

    The HTTP URL for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n OrgBlockUserAuditEntry\n

    \n

    Audit log entry for a org.block_user.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    action (String!)

    The action name.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actor (AuditEntryActor)

    The user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorIp (String)

    The IP address of the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLocation (ActorLocation)

    A readable representation of the actor's location.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLogin (String)

    The username of the user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorResourcePath (URI)

    The HTTP path for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorUrl (URI)

    The HTTP URL for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    blockedUser (User)

    The blocked user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    blockedUserName (String)

    The username of the blocked user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    blockedUserResourcePath (URI)

    The HTTP path for the blocked user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    blockedUserUrl (URI)

    The HTTP URL for the blocked user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (PreciseDateTime!)

    The time the action was initiated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    operationType (OperationType)

    The corresponding operation type for the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organization (Organization)

    The Organization associated with the Audit Entry.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationName (String)

    The name of the Organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationResourcePath (URI)

    The HTTP path for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationUrl (URI)

    The HTTP URL for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    user (User)

    The user affected by the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userLogin (String)

    For actions involving two users, the actor is the initiator and the user is the affected user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userResourcePath (URI)

    The HTTP path for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userUrl (URI)

    The HTTP URL for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n OrgConfigDisableCollaboratorsOnlyAuditEntry\n

    \n

    Audit log entry for a org.config.disable_collaborators_only event.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    action (String!)

    The action name.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actor (AuditEntryActor)

    The user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorIp (String)

    The IP address of the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLocation (ActorLocation)

    A readable representation of the actor's location.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLogin (String)

    The username of the user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorResourcePath (URI)

    The HTTP path for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorUrl (URI)

    The HTTP URL for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (PreciseDateTime!)

    The time the action was initiated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    operationType (OperationType)

    The corresponding operation type for the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organization (Organization)

    The Organization associated with the Audit Entry.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationName (String)

    The name of the Organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationResourcePath (URI)

    The HTTP path for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationUrl (URI)

    The HTTP URL for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    user (User)

    The user affected by the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userLogin (String)

    For actions involving two users, the actor is the initiator and the user is the affected user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userResourcePath (URI)

    The HTTP path for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userUrl (URI)

    The HTTP URL for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n OrgConfigEnableCollaboratorsOnlyAuditEntry\n

    \n

    Audit log entry for a org.config.enable_collaborators_only event.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    action (String!)

    The action name.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actor (AuditEntryActor)

    The user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorIp (String)

    The IP address of the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLocation (ActorLocation)

    A readable representation of the actor's location.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLogin (String)

    The username of the user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorResourcePath (URI)

    The HTTP path for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorUrl (URI)

    The HTTP URL for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (PreciseDateTime!)

    The time the action was initiated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    operationType (OperationType)

    The corresponding operation type for the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organization (Organization)

    The Organization associated with the Audit Entry.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationName (String)

    The name of the Organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationResourcePath (URI)

    The HTTP path for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationUrl (URI)

    The HTTP URL for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    user (User)

    The user affected by the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userLogin (String)

    For actions involving two users, the actor is the initiator and the user is the affected user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userResourcePath (URI)

    The HTTP path for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userUrl (URI)

    The HTTP URL for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n OrgCreateAuditEntry\n

    \n

    Audit log entry for a org.create event.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    action (String!)

    The action name.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actor (AuditEntryActor)

    The user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorIp (String)

    The IP address of the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLocation (ActorLocation)

    A readable representation of the actor's location.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLogin (String)

    The username of the user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorResourcePath (URI)

    The HTTP path for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorUrl (URI)

    The HTTP URL for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    billingPlan (OrgCreateAuditEntryBillingPlan)

    The billing plan for the Organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (PreciseDateTime!)

    The time the action was initiated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    operationType (OperationType)

    The corresponding operation type for the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organization (Organization)

    The Organization associated with the Audit Entry.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationName (String)

    The name of the Organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationResourcePath (URI)

    The HTTP path for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationUrl (URI)

    The HTTP URL for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    user (User)

    The user affected by the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userLogin (String)

    For actions involving two users, the actor is the initiator and the user is the affected user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userResourcePath (URI)

    The HTTP path for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userUrl (URI)

    The HTTP URL for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n OrgDisableOauthAppRestrictionsAuditEntry\n

    \n

    Audit log entry for a org.disable_oauth_app_restrictions event.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    action (String!)

    The action name.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actor (AuditEntryActor)

    The user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorIp (String)

    The IP address of the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLocation (ActorLocation)

    A readable representation of the actor's location.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLogin (String)

    The username of the user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorResourcePath (URI)

    The HTTP path for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorUrl (URI)

    The HTTP URL for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (PreciseDateTime!)

    The time the action was initiated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    operationType (OperationType)

    The corresponding operation type for the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organization (Organization)

    The Organization associated with the Audit Entry.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationName (String)

    The name of the Organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationResourcePath (URI)

    The HTTP path for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationUrl (URI)

    The HTTP URL for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    user (User)

    The user affected by the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userLogin (String)

    For actions involving two users, the actor is the initiator and the user is the affected user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userResourcePath (URI)

    The HTTP path for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userUrl (URI)

    The HTTP URL for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n OrgDisableSamlAuditEntry\n

    \n

    Audit log entry for a org.disable_saml event.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    action (String!)

    The action name.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actor (AuditEntryActor)

    The user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorIp (String)

    The IP address of the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLocation (ActorLocation)

    A readable representation of the actor's location.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLogin (String)

    The username of the user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorResourcePath (URI)

    The HTTP path for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorUrl (URI)

    The HTTP URL for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (PreciseDateTime!)

    The time the action was initiated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    digestMethodUrl (URI)

    The SAML provider's digest algorithm URL.

    \n\n\n\n\n\n\n\n\n\n\n\n

    issuerUrl (URI)

    The SAML provider's issuer URL.

    \n\n\n\n\n\n\n\n\n\n\n\n

    operationType (OperationType)

    The corresponding operation type for the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organization (Organization)

    The Organization associated with the Audit Entry.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationName (String)

    The name of the Organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationResourcePath (URI)

    The HTTP path for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationUrl (URI)

    The HTTP URL for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    signatureMethodUrl (URI)

    The SAML provider's signature algorithm URL.

    \n\n\n\n\n\n\n\n\n\n\n\n

    singleSignOnUrl (URI)

    The SAML provider's single sign-on URL.

    \n\n\n\n\n\n\n\n\n\n\n\n

    user (User)

    The user affected by the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userLogin (String)

    For actions involving two users, the actor is the initiator and the user is the affected user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userResourcePath (URI)

    The HTTP path for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userUrl (URI)

    The HTTP URL for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n OrgDisableTwoFactorRequirementAuditEntry\n

    \n

    Audit log entry for a org.disable_two_factor_requirement event.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    action (String!)

    The action name.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actor (AuditEntryActor)

    The user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorIp (String)

    The IP address of the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLocation (ActorLocation)

    A readable representation of the actor's location.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLogin (String)

    The username of the user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorResourcePath (URI)

    The HTTP path for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorUrl (URI)

    The HTTP URL for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (PreciseDateTime!)

    The time the action was initiated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    operationType (OperationType)

    The corresponding operation type for the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organization (Organization)

    The Organization associated with the Audit Entry.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationName (String)

    The name of the Organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationResourcePath (URI)

    The HTTP path for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationUrl (URI)

    The HTTP URL for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    user (User)

    The user affected by the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userLogin (String)

    For actions involving two users, the actor is the initiator and the user is the affected user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userResourcePath (URI)

    The HTTP path for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userUrl (URI)

    The HTTP URL for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n OrgEnableOauthAppRestrictionsAuditEntry\n

    \n

    Audit log entry for a org.enable_oauth_app_restrictions event.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    action (String!)

    The action name.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actor (AuditEntryActor)

    The user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorIp (String)

    The IP address of the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLocation (ActorLocation)

    A readable representation of the actor's location.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLogin (String)

    The username of the user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorResourcePath (URI)

    The HTTP path for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorUrl (URI)

    The HTTP URL for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (PreciseDateTime!)

    The time the action was initiated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    operationType (OperationType)

    The corresponding operation type for the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organization (Organization)

    The Organization associated with the Audit Entry.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationName (String)

    The name of the Organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationResourcePath (URI)

    The HTTP path for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationUrl (URI)

    The HTTP URL for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    user (User)

    The user affected by the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userLogin (String)

    For actions involving two users, the actor is the initiator and the user is the affected user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userResourcePath (URI)

    The HTTP path for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userUrl (URI)

    The HTTP URL for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n OrgEnableSamlAuditEntry\n

    \n

    Audit log entry for a org.enable_saml event.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    action (String!)

    The action name.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actor (AuditEntryActor)

    The user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorIp (String)

    The IP address of the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLocation (ActorLocation)

    A readable representation of the actor's location.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLogin (String)

    The username of the user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorResourcePath (URI)

    The HTTP path for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorUrl (URI)

    The HTTP URL for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (PreciseDateTime!)

    The time the action was initiated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    digestMethodUrl (URI)

    The SAML provider's digest algorithm URL.

    \n\n\n\n\n\n\n\n\n\n\n\n

    issuerUrl (URI)

    The SAML provider's issuer URL.

    \n\n\n\n\n\n\n\n\n\n\n\n

    operationType (OperationType)

    The corresponding operation type for the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organization (Organization)

    The Organization associated with the Audit Entry.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationName (String)

    The name of the Organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationResourcePath (URI)

    The HTTP path for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationUrl (URI)

    The HTTP URL for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    signatureMethodUrl (URI)

    The SAML provider's signature algorithm URL.

    \n\n\n\n\n\n\n\n\n\n\n\n

    singleSignOnUrl (URI)

    The SAML provider's single sign-on URL.

    \n\n\n\n\n\n\n\n\n\n\n\n

    user (User)

    The user affected by the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userLogin (String)

    For actions involving two users, the actor is the initiator and the user is the affected user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userResourcePath (URI)

    The HTTP path for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userUrl (URI)

    The HTTP URL for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n OrgEnableTwoFactorRequirementAuditEntry\n

    \n

    Audit log entry for a org.enable_two_factor_requirement event.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    action (String!)

    The action name.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actor (AuditEntryActor)

    The user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorIp (String)

    The IP address of the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLocation (ActorLocation)

    A readable representation of the actor's location.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLogin (String)

    The username of the user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorResourcePath (URI)

    The HTTP path for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorUrl (URI)

    The HTTP URL for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (PreciseDateTime!)

    The time the action was initiated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    operationType (OperationType)

    The corresponding operation type for the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organization (Organization)

    The Organization associated with the Audit Entry.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationName (String)

    The name of the Organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationResourcePath (URI)

    The HTTP path for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationUrl (URI)

    The HTTP URL for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    user (User)

    The user affected by the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userLogin (String)

    For actions involving two users, the actor is the initiator and the user is the affected user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userResourcePath (URI)

    The HTTP path for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userUrl (URI)

    The HTTP URL for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n OrgInviteMemberAuditEntry\n

    \n

    Audit log entry for a org.invite_member event.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    action (String!)

    The action name.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actor (AuditEntryActor)

    The user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorIp (String)

    The IP address of the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLocation (ActorLocation)

    A readable representation of the actor's location.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLogin (String)

    The username of the user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorResourcePath (URI)

    The HTTP path for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorUrl (URI)

    The HTTP URL for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (PreciseDateTime!)

    The time the action was initiated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    email (String)

    The email address of the organization invitation.

    \n\n\n\n\n\n\n\n\n\n\n\n

    operationType (OperationType)

    The corresponding operation type for the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organization (Organization)

    The Organization associated with the Audit Entry.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationInvitation (OrganizationInvitation)

    The organization invitation.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationName (String)

    The name of the Organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationResourcePath (URI)

    The HTTP path for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationUrl (URI)

    The HTTP URL for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    user (User)

    The user affected by the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userLogin (String)

    For actions involving two users, the actor is the initiator and the user is the affected user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userResourcePath (URI)

    The HTTP path for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userUrl (URI)

    The HTTP URL for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n OrgInviteToBusinessAuditEntry\n

    \n

    Audit log entry for a org.invite_to_business event.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    action (String!)

    The action name.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actor (AuditEntryActor)

    The user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorIp (String)

    The IP address of the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLocation (ActorLocation)

    A readable representation of the actor's location.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLogin (String)

    The username of the user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorResourcePath (URI)

    The HTTP path for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorUrl (URI)

    The HTTP URL for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (PreciseDateTime!)

    The time the action was initiated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    enterpriseResourcePath (URI)

    The HTTP path for this enterprise.

    \n\n\n\n\n\n\n\n\n\n\n\n

    enterpriseSlug (String)

    The slug of the enterprise.

    \n\n\n\n\n\n\n\n\n\n\n\n

    enterpriseUrl (URI)

    The HTTP URL for this enterprise.

    \n\n\n\n\n\n\n\n\n\n\n\n

    operationType (OperationType)

    The corresponding operation type for the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organization (Organization)

    The Organization associated with the Audit Entry.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationName (String)

    The name of the Organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationResourcePath (URI)

    The HTTP path for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationUrl (URI)

    The HTTP URL for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    user (User)

    The user affected by the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userLogin (String)

    For actions involving two users, the actor is the initiator and the user is the affected user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userResourcePath (URI)

    The HTTP path for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userUrl (URI)

    The HTTP URL for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n OrgOauthAppAccessApprovedAuditEntry\n

    \n

    Audit log entry for a org.oauth_app_access_approved event.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    action (String!)

    The action name.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actor (AuditEntryActor)

    The user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorIp (String)

    The IP address of the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLocation (ActorLocation)

    A readable representation of the actor's location.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLogin (String)

    The username of the user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorResourcePath (URI)

    The HTTP path for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorUrl (URI)

    The HTTP URL for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (PreciseDateTime!)

    The time the action was initiated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    oauthApplicationName (String)

    The name of the OAuth Application.

    \n\n\n\n\n\n\n\n\n\n\n\n

    oauthApplicationResourcePath (URI)

    The HTTP path for the OAuth Application.

    \n\n\n\n\n\n\n\n\n\n\n\n

    oauthApplicationUrl (URI)

    The HTTP URL for the OAuth Application.

    \n\n\n\n\n\n\n\n\n\n\n\n

    operationType (OperationType)

    The corresponding operation type for the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organization (Organization)

    The Organization associated with the Audit Entry.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationName (String)

    The name of the Organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationResourcePath (URI)

    The HTTP path for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationUrl (URI)

    The HTTP URL for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    user (User)

    The user affected by the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userLogin (String)

    For actions involving two users, the actor is the initiator and the user is the affected user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userResourcePath (URI)

    The HTTP path for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userUrl (URI)

    The HTTP URL for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n OrgOauthAppAccessDeniedAuditEntry\n

    \n

    Audit log entry for a org.oauth_app_access_denied event.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    action (String!)

    The action name.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actor (AuditEntryActor)

    The user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorIp (String)

    The IP address of the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLocation (ActorLocation)

    A readable representation of the actor's location.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLogin (String)

    The username of the user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorResourcePath (URI)

    The HTTP path for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorUrl (URI)

    The HTTP URL for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (PreciseDateTime!)

    The time the action was initiated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    oauthApplicationName (String)

    The name of the OAuth Application.

    \n\n\n\n\n\n\n\n\n\n\n\n

    oauthApplicationResourcePath (URI)

    The HTTP path for the OAuth Application.

    \n\n\n\n\n\n\n\n\n\n\n\n

    oauthApplicationUrl (URI)

    The HTTP URL for the OAuth Application.

    \n\n\n\n\n\n\n\n\n\n\n\n

    operationType (OperationType)

    The corresponding operation type for the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organization (Organization)

    The Organization associated with the Audit Entry.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationName (String)

    The name of the Organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationResourcePath (URI)

    The HTTP path for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationUrl (URI)

    The HTTP URL for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    user (User)

    The user affected by the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userLogin (String)

    For actions involving two users, the actor is the initiator and the user is the affected user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userResourcePath (URI)

    The HTTP path for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userUrl (URI)

    The HTTP URL for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n OrgOauthAppAccessRequestedAuditEntry\n

    \n

    Audit log entry for a org.oauth_app_access_requested event.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    action (String!)

    The action name.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actor (AuditEntryActor)

    The user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorIp (String)

    The IP address of the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLocation (ActorLocation)

    A readable representation of the actor's location.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLogin (String)

    The username of the user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorResourcePath (URI)

    The HTTP path for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorUrl (URI)

    The HTTP URL for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (PreciseDateTime!)

    The time the action was initiated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    oauthApplicationName (String)

    The name of the OAuth Application.

    \n\n\n\n\n\n\n\n\n\n\n\n

    oauthApplicationResourcePath (URI)

    The HTTP path for the OAuth Application.

    \n\n\n\n\n\n\n\n\n\n\n\n

    oauthApplicationUrl (URI)

    The HTTP URL for the OAuth Application.

    \n\n\n\n\n\n\n\n\n\n\n\n

    operationType (OperationType)

    The corresponding operation type for the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organization (Organization)

    The Organization associated with the Audit Entry.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationName (String)

    The name of the Organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationResourcePath (URI)

    The HTTP path for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationUrl (URI)

    The HTTP URL for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    user (User)

    The user affected by the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userLogin (String)

    For actions involving two users, the actor is the initiator and the user is the affected user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userResourcePath (URI)

    The HTTP path for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userUrl (URI)

    The HTTP URL for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n OrgRemoveBillingManagerAuditEntry\n

    \n

    Audit log entry for a org.remove_billing_manager event.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    action (String!)

    The action name.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actor (AuditEntryActor)

    The user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorIp (String)

    The IP address of the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLocation (ActorLocation)

    A readable representation of the actor's location.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLogin (String)

    The username of the user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorResourcePath (URI)

    The HTTP path for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorUrl (URI)

    The HTTP URL for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (PreciseDateTime!)

    The time the action was initiated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    operationType (OperationType)

    The corresponding operation type for the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organization (Organization)

    The Organization associated with the Audit Entry.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationName (String)

    The name of the Organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationResourcePath (URI)

    The HTTP path for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationUrl (URI)

    The HTTP URL for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    reason (OrgRemoveBillingManagerAuditEntryReason)

    The reason for the billing manager being removed.

    \n\n\n\n\n\n\n\n\n\n\n\n

    user (User)

    The user affected by the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userLogin (String)

    For actions involving two users, the actor is the initiator and the user is the affected user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userResourcePath (URI)

    The HTTP path for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userUrl (URI)

    The HTTP URL for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n OrgRemoveMemberAuditEntry\n

    \n

    Audit log entry for a org.remove_member event.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    action (String!)

    The action name.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actor (AuditEntryActor)

    The user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorIp (String)

    The IP address of the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLocation (ActorLocation)

    A readable representation of the actor's location.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLogin (String)

    The username of the user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorResourcePath (URI)

    The HTTP path for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorUrl (URI)

    The HTTP URL for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (PreciseDateTime!)

    The time the action was initiated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    membershipTypes ([OrgRemoveMemberAuditEntryMembershipType!])

    The types of membership the member has with the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    operationType (OperationType)

    The corresponding operation type for the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organization (Organization)

    The Organization associated with the Audit Entry.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationName (String)

    The name of the Organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationResourcePath (URI)

    The HTTP path for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationUrl (URI)

    The HTTP URL for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    reason (OrgRemoveMemberAuditEntryReason)

    The reason for the member being removed.

    \n\n\n\n\n\n\n\n\n\n\n\n

    user (User)

    The user affected by the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userLogin (String)

    For actions involving two users, the actor is the initiator and the user is the affected user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userResourcePath (URI)

    The HTTP path for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userUrl (URI)

    The HTTP URL for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n OrgRemoveOutsideCollaboratorAuditEntry\n

    \n

    Audit log entry for a org.remove_outside_collaborator event.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    action (String!)

    The action name.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actor (AuditEntryActor)

    The user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorIp (String)

    The IP address of the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLocation (ActorLocation)

    A readable representation of the actor's location.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLogin (String)

    The username of the user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorResourcePath (URI)

    The HTTP path for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorUrl (URI)

    The HTTP URL for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (PreciseDateTime!)

    The time the action was initiated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    membershipTypes ([OrgRemoveOutsideCollaboratorAuditEntryMembershipType!])

    The types of membership the outside collaborator has with the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    operationType (OperationType)

    The corresponding operation type for the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organization (Organization)

    The Organization associated with the Audit Entry.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationName (String)

    The name of the Organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationResourcePath (URI)

    The HTTP path for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationUrl (URI)

    The HTTP URL for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    reason (OrgRemoveOutsideCollaboratorAuditEntryReason)

    The reason for the outside collaborator being removed from the Organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    user (User)

    The user affected by the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userLogin (String)

    For actions involving two users, the actor is the initiator and the user is the affected user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userResourcePath (URI)

    The HTTP path for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userUrl (URI)

    The HTTP URL for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n OrgRestoreMemberAuditEntry\n

    \n

    Audit log entry for a org.restore_member event.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    action (String!)

    The action name.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actor (AuditEntryActor)

    The user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorIp (String)

    The IP address of the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLocation (ActorLocation)

    A readable representation of the actor's location.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLogin (String)

    The username of the user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorResourcePath (URI)

    The HTTP path for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorUrl (URI)

    The HTTP URL for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (PreciseDateTime!)

    The time the action was initiated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    operationType (OperationType)

    The corresponding operation type for the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organization (Organization)

    The Organization associated with the Audit Entry.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationName (String)

    The name of the Organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationResourcePath (URI)

    The HTTP path for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationUrl (URI)

    The HTTP URL for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    restoredCustomEmailRoutingsCount (Int)

    The number of custom email routings for the restored member.

    \n\n\n\n\n\n\n\n\n\n\n\n

    restoredIssueAssignmentsCount (Int)

    The number of issue assignments for the restored member.

    \n\n\n\n\n\n\n\n\n\n\n\n

    restoredMemberships ([OrgRestoreMemberAuditEntryMembership!])

    Restored organization membership objects.

    \n\n\n\n\n\n\n\n\n\n\n\n

    restoredMembershipsCount (Int)

    The number of restored memberships.

    \n\n\n\n\n\n\n\n\n\n\n\n

    restoredRepositoriesCount (Int)

    The number of repositories of the restored member.

    \n\n\n\n\n\n\n\n\n\n\n\n

    restoredRepositoryStarsCount (Int)

    The number of starred repositories for the restored member.

    \n\n\n\n\n\n\n\n\n\n\n\n

    restoredRepositoryWatchesCount (Int)

    The number of watched repositories for the restored member.

    \n\n\n\n\n\n\n\n\n\n\n\n

    user (User)

    The user affected by the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userLogin (String)

    For actions involving two users, the actor is the initiator and the user is the affected user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userResourcePath (URI)

    The HTTP path for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userUrl (URI)

    The HTTP URL for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n OrgRestoreMemberMembershipOrganizationAuditEntryData\n

    \n

    Metadata for an organization membership for org.restore_member actions.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    organization (Organization)

    The Organization associated with the Audit Entry.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationName (String)

    The name of the Organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationResourcePath (URI)

    The HTTP path for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationUrl (URI)

    The HTTP URL for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n OrgRestoreMemberMembershipRepositoryAuditEntryData\n

    \n

    Metadata for a repository membership for org.restore_member actions.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    repository (Repository)

    The repository associated with the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repositoryName (String)

    The name of the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repositoryResourcePath (URI)

    The HTTP path for the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repositoryUrl (URI)

    The HTTP URL for the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n OrgRestoreMemberMembershipTeamAuditEntryData\n

    \n

    Metadata for a team membership for org.restore_member actions.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    team (Team)

    The team associated with the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    teamName (String)

    The name of the team.

    \n\n\n\n\n\n\n\n\n\n\n\n

    teamResourcePath (URI)

    The HTTP path for this team.

    \n\n\n\n\n\n\n\n\n\n\n\n

    teamUrl (URI)

    The HTTP URL for this team.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n OrgUnblockUserAuditEntry\n

    \n

    Audit log entry for a org.unblock_user.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    action (String!)

    The action name.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actor (AuditEntryActor)

    The user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorIp (String)

    The IP address of the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLocation (ActorLocation)

    A readable representation of the actor's location.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLogin (String)

    The username of the user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorResourcePath (URI)

    The HTTP path for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorUrl (URI)

    The HTTP URL for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    blockedUser (User)

    The user being unblocked by the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    blockedUserName (String)

    The username of the blocked user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    blockedUserResourcePath (URI)

    The HTTP path for the blocked user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    blockedUserUrl (URI)

    The HTTP URL for the blocked user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (PreciseDateTime!)

    The time the action was initiated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    operationType (OperationType)

    The corresponding operation type for the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organization (Organization)

    The Organization associated with the Audit Entry.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationName (String)

    The name of the Organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationResourcePath (URI)

    The HTTP path for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationUrl (URI)

    The HTTP URL for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    user (User)

    The user affected by the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userLogin (String)

    For actions involving two users, the actor is the initiator and the user is the affected user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userResourcePath (URI)

    The HTTP path for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userUrl (URI)

    The HTTP URL for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n OrgUpdateDefaultRepositoryPermissionAuditEntry\n

    \n

    Audit log entry for a org.update_default_repository_permission.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    action (String!)

    The action name.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actor (AuditEntryActor)

    The user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorIp (String)

    The IP address of the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLocation (ActorLocation)

    A readable representation of the actor's location.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLogin (String)

    The username of the user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorResourcePath (URI)

    The HTTP path for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorUrl (URI)

    The HTTP URL for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (PreciseDateTime!)

    The time the action was initiated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    operationType (OperationType)

    The corresponding operation type for the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organization (Organization)

    The Organization associated with the Audit Entry.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationName (String)

    The name of the Organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationResourcePath (URI)

    The HTTP path for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationUrl (URI)

    The HTTP URL for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    permission (OrgUpdateDefaultRepositoryPermissionAuditEntryPermission)

    The new default repository permission level for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    permissionWas (OrgUpdateDefaultRepositoryPermissionAuditEntryPermission)

    The former default repository permission level for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    user (User)

    The user affected by the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userLogin (String)

    For actions involving two users, the actor is the initiator and the user is the affected user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userResourcePath (URI)

    The HTTP path for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userUrl (URI)

    The HTTP URL for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n OrgUpdateMemberAuditEntry\n

    \n

    Audit log entry for a org.update_member event.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    action (String!)

    The action name.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actor (AuditEntryActor)

    The user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorIp (String)

    The IP address of the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLocation (ActorLocation)

    A readable representation of the actor's location.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLogin (String)

    The username of the user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorResourcePath (URI)

    The HTTP path for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorUrl (URI)

    The HTTP URL for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (PreciseDateTime!)

    The time the action was initiated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    operationType (OperationType)

    The corresponding operation type for the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organization (Organization)

    The Organization associated with the Audit Entry.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationName (String)

    The name of the Organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationResourcePath (URI)

    The HTTP path for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationUrl (URI)

    The HTTP URL for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    permission (OrgUpdateMemberAuditEntryPermission)

    The new member permission level for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    permissionWas (OrgUpdateMemberAuditEntryPermission)

    The former member permission level for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    user (User)

    The user affected by the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userLogin (String)

    For actions involving two users, the actor is the initiator and the user is the affected user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userResourcePath (URI)

    The HTTP path for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userUrl (URI)

    The HTTP URL for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n OrgUpdateMemberRepositoryCreationPermissionAuditEntry\n

    \n

    Audit log entry for a org.update_member_repository_creation_permission event.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    action (String!)

    The action name.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actor (AuditEntryActor)

    The user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorIp (String)

    The IP address of the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLocation (ActorLocation)

    A readable representation of the actor's location.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLogin (String)

    The username of the user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorResourcePath (URI)

    The HTTP path for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorUrl (URI)

    The HTTP URL for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    canCreateRepositories (Boolean)

    Can members create repositories in the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (PreciseDateTime!)

    The time the action was initiated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    operationType (OperationType)

    The corresponding operation type for the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organization (Organization)

    The Organization associated with the Audit Entry.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationName (String)

    The name of the Organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationResourcePath (URI)

    The HTTP path for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationUrl (URI)

    The HTTP URL for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    user (User)

    The user affected by the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userLogin (String)

    For actions involving two users, the actor is the initiator and the user is the affected user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userResourcePath (URI)

    The HTTP path for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userUrl (URI)

    The HTTP URL for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    visibility (OrgUpdateMemberRepositoryCreationPermissionAuditEntryVisibility)

    The permission for visibility level of repositories for this organization.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n OrgUpdateMemberRepositoryInvitationPermissionAuditEntry\n

    \n

    Audit log entry for a org.update_member_repository_invitation_permission event.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    action (String!)

    The action name.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actor (AuditEntryActor)

    The user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorIp (String)

    The IP address of the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLocation (ActorLocation)

    A readable representation of the actor's location.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLogin (String)

    The username of the user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorResourcePath (URI)

    The HTTP path for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorUrl (URI)

    The HTTP URL for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    canInviteOutsideCollaboratorsToRepositories (Boolean)

    Can outside collaborators be invited to repositories in the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (PreciseDateTime!)

    The time the action was initiated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    operationType (OperationType)

    The corresponding operation type for the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organization (Organization)

    The Organization associated with the Audit Entry.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationName (String)

    The name of the Organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationResourcePath (URI)

    The HTTP path for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationUrl (URI)

    The HTTP URL for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    user (User)

    The user affected by the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userLogin (String)

    For actions involving two users, the actor is the initiator and the user is the affected user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userResourcePath (URI)

    The HTTP path for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userUrl (URI)

    The HTTP URL for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n Organization\n

    \n

    An account on GitHub, with one or more owners, that has repositories, members and teams.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    anyPinnableItems (Boolean!)

    Determine if this repository owner has any items that can be pinned to their profile.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    type (PinnableItemType)

    \n

    Filter to only a particular kind of pinnable item.

    \n\n
    \n\n
    \n\n\n

    auditLog (OrganizationAuditEntryConnection!)

    Audit log entries of the organization.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (AuditLogOrder)

    \n

    Ordering options for the returned audit log entries.

    \n\n
    \n\n
    \n

    query (String)

    \n

    The query string to filter audit entries.

    \n\n
    \n\n
    \n\n\n

    avatarUrl (URI!)

    A URL pointing to the organization's public avatar.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    size (Int)

    \n

    The size of the resulting square image.

    \n\n
    \n\n
    \n\n\n

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    databaseId (Int)

    Identifies the primary key from the database.

    \n\n\n\n\n\n\n\n\n\n\n\n

    description (String)

    The organization's public profile description.

    \n\n\n\n\n\n\n\n\n\n\n\n

    descriptionHTML (String)

    The organization's public profile description rendered to HTML.

    \n\n\n\n\n\n\n\n\n\n\n\n

    domains (VerifiableDomainConnection)

    A list of domains owned by the organization.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    isVerified (Boolean)

    \n

    Filter by if the domain is verified.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (VerifiableDomainOrder)

    \n

    Ordering options for verifiable domains returned.

    \n\n
    \n\n
    \n\n\n

    email (String)

    The organization's public email.

    \n\n\n\n\n\n\n\n\n\n\n\n

    hasSponsorsListing (Boolean!)

    True if this user/organization has a GitHub Sponsors listing.

    \n\n\n\n\n\n\n\n\n\n\n\n

    interactionAbility (RepositoryInteractionAbility)

    The interaction ability settings for this organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    ipAllowListEnabledSetting (IpAllowListEnabledSettingValue!)

    The setting value for whether the organization has an IP allow list enabled.

    \n\n\n\n\n\n\n\n\n\n\n\n

    ipAllowListEntries (IpAllowListEntryConnection!)

    The IP addresses that are allowed to access resources owned by the organization.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (IpAllowListEntryOrder)

    \n

    Ordering options for IP allow list entries returned.

    \n\n
    \n\n
    \n\n\n

    isSponsoredBy (Boolean!)

    Check if the given account is sponsoring this user/organization.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    accountLogin (String!)

    \n

    The target account's login.

    \n\n
    \n\n
    \n\n\n

    isSponsoringViewer (Boolean!)

    True if the viewer is sponsored by this user/organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    isVerified (Boolean!)

    Whether the organization has verified its profile email and website.

    \n\n\n\n\n\n\n\n\n\n\n\n

    itemShowcase (ProfileItemShowcase!)

    Showcases a selection of repositories and gists that the profile owner has\neither curated or that have been selected automatically based on popularity.

    \n\n\n\n\n\n\n\n\n\n\n\n

    location (String)

    The organization's public profile location.

    \n\n\n\n\n\n\n\n\n\n\n\n

    login (String!)

    The organization's login name.

    \n\n\n\n\n\n\n\n\n\n\n\n

    memberStatuses (UserStatusConnection!)

    Get the status messages members of this entity have set that are either public or visible only to the organization.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (UserStatusOrder)

    \n

    Ordering options for user statuses returned from the connection.

    \n\n
    \n\n
    \n\n\n

    membersWithRole (OrganizationMemberConnection!)

    A list of users who are members of this organization.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n\n\n

    name (String)

    The organization's public profile name.

    \n\n\n\n\n\n\n\n\n\n\n\n

    newTeamResourcePath (URI!)

    The HTTP path creating a new team.

    \n\n\n\n\n\n\n\n\n\n\n\n

    newTeamUrl (URI!)

    The HTTP URL creating a new team.

    \n\n\n\n\n\n\n\n\n\n\n\n

    notificationDeliveryRestrictionEnabledSetting (NotificationRestrictionSettingValue!)

    Indicates if email notification delivery for this organization is restricted to verified domains.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationBillingEmail (String)

    The billing email for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    packages (PackageConnection!)

    A list of packages under the owner.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    names ([String])

    \n

    Find packages by their names.

    \n\n
    \n\n
    \n

    orderBy (PackageOrder)

    \n

    Ordering of the returned packages.

    \n\n
    \n\n
    \n

    packageType (PackageType)

    \n

    Filter registry package by type.

    \n\n
    \n\n
    \n

    repositoryId (ID)

    \n

    Find packages in a repository by ID.

    \n\n
    \n\n
    \n\n\n

    pendingMembers (UserConnection!)

    A list of users who have been invited to join this organization.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n\n\n

    pinnableItems (PinnableItemConnection!)

    A list of repositories and gists this profile owner can pin to their profile.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    types ([PinnableItemType!])

    \n

    Filter the types of pinnable items that are returned.

    \n\n
    \n\n
    \n\n\n

    pinnedItems (PinnableItemConnection!)

    A list of repositories and gists this profile owner has pinned to their profile.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    types ([PinnableItemType!])

    \n

    Filter the types of pinned items that are returned.

    \n\n
    \n\n
    \n\n\n

    pinnedItemsRemaining (Int!)

    Returns how many more items this profile owner can pin to their profile.

    \n\n\n\n\n\n\n\n\n\n\n\n

    project (Project)

    Find project by number.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    number (Int!)

    \n

    The project number to find.

    \n\n
    \n\n
    \n\n\n

    projects (ProjectConnection!)

    A list of projects under the owner.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (ProjectOrder)

    \n

    Ordering options for projects returned from the connection.

    \n\n
    \n\n
    \n

    search (String)

    \n

    Query to search projects by, currently only searching by name.

    \n\n
    \n\n
    \n

    states ([ProjectState!])

    \n

    A list of states to filter the projects by.

    \n\n
    \n\n
    \n\n\n

    projectsResourcePath (URI!)

    The HTTP path listing organization's projects.

    \n\n\n\n\n\n\n\n\n\n\n\n

    projectsUrl (URI!)

    The HTTP URL listing organization's projects.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repositories (RepositoryConnection!)

    A list of repositories that the user owns.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    affiliations ([RepositoryAffiliation])

    \n

    Array of viewer's affiliation options for repositories returned from the\nconnection. For example, OWNER will include only repositories that the\ncurrent viewer owns.

    \n\n
    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    isFork (Boolean)

    \n

    If non-null, filters repositories according to whether they are forks of another repository.

    \n\n
    \n\n
    \n

    isLocked (Boolean)

    \n

    If non-null, filters repositories according to whether they have been locked.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (RepositoryOrder)

    \n

    Ordering options for repositories returned from the connection.

    \n\n
    \n\n
    \n

    ownerAffiliations ([RepositoryAffiliation])

    \n

    Array of owner's affiliation options for repositories returned from the\nconnection. For example, OWNER will include only repositories that the\norganization or user being viewed owns.

    \n\n
    \n\n
    \n

    privacy (RepositoryPrivacy)

    \n

    If non-null, filters repositories according to privacy.

    \n\n
    \n\n
    \n\n\n

    repository (Repository)

    Find Repository.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    name (String!)

    \n

    Name of Repository to find.

    \n\n
    \n\n
    \n\n\n

    requiresTwoFactorAuthentication (Boolean)

    When true the organization requires all members, billing managers, and outside\ncollaborators to enable two-factor authentication.

    \n\n\n\n\n\n\n\n\n\n\n\n

    resourcePath (URI!)

    The HTTP path for this organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    samlIdentityProvider (OrganizationIdentityProvider)

    The Organization's SAML identity providers.

    \n\n\n\n\n\n\n\n\n\n\n\n

    sponsorsListing (SponsorsListing)

    The GitHub Sponsors listing for this user or organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    sponsorshipForViewerAsSponsor (Sponsorship)

    The viewer's sponsorship of this entity.

    \n\n\n\n\n\n\n\n\n\n\n\n

    sponsorshipsAsMaintainer (SponsorshipConnection!)

    This object's sponsorships as the maintainer.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    includePrivate (Boolean)

    \n

    Whether or not to include private sponsorships in the result set.

    \n

    The default value is false.

    \n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (SponsorshipOrder)

    \n

    Ordering options for sponsorships returned from this connection. If left\nblank, the sponsorships will be ordered based on relevancy to the viewer.

    \n\n
    \n\n
    \n\n\n

    sponsorshipsAsSponsor (SponsorshipConnection!)

    This object's sponsorships as the sponsor.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (SponsorshipOrder)

    \n

    Ordering options for sponsorships returned from this connection. If left\nblank, the sponsorships will be ordered based on relevancy to the viewer.

    \n\n
    \n\n
    \n\n\n

    team (Team)

    Find an organization's team by its slug.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    slug (String!)

    \n

    The name or slug of the team to find.

    \n\n
    \n\n
    \n\n\n

    teams (TeamConnection!)

    A list of teams in this organization.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    ldapMapped (Boolean)

    \n

    If true, filters teams that are mapped to an LDAP Group (Enterprise only).

    \n\n
    \n\n
    \n

    orderBy (TeamOrder)

    \n

    Ordering options for teams returned from the connection.

    \n\n
    \n\n
    \n

    privacy (TeamPrivacy)

    \n

    If non-null, filters teams according to privacy.

    \n\n
    \n\n
    \n

    query (String)

    \n

    If non-null, filters teams with query on team name and team slug.

    \n\n
    \n\n
    \n

    role (TeamRole)

    \n

    If non-null, filters teams according to whether the viewer is an admin or member on team.

    \n\n
    \n\n
    \n

    rootTeamsOnly (Boolean)

    \n

    If true, restrict to only root teams.

    \n

    The default value is false.

    \n
    \n\n
    \n

    userLogins ([String!])

    \n

    User logins to filter by.

    \n\n
    \n\n
    \n\n\n

    teamsResourcePath (URI!)

    The HTTP path listing organization's teams.

    \n\n\n\n\n\n\n\n\n\n\n\n

    teamsUrl (URI!)

    The HTTP URL listing organization's teams.

    \n\n\n\n\n\n\n\n\n\n\n\n

    twitterUsername (String)

    The organization's Twitter username.

    \n\n\n\n\n\n\n\n\n\n\n\n

    updatedAt (DateTime!)

    Identifies the date and time when the object was last updated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    url (URI!)

    The HTTP URL for this organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerCanAdminister (Boolean!)

    Organization is adminable by the viewer.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerCanChangePinnedItems (Boolean!)

    Can the viewer pin repositories and gists to the profile?.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerCanCreateProjects (Boolean!)

    Can the current viewer create new projects on this owner.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerCanCreateRepositories (Boolean!)

    Viewer can create repositories on this organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerCanCreateTeams (Boolean!)

    Viewer can create teams on this organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerCanSponsor (Boolean!)

    Whether or not the viewer is able to sponsor this user/organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerIsAMember (Boolean!)

    Viewer is an active member of this organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerIsSponsoring (Boolean!)

    True if the viewer is sponsoring this user/organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    websiteUrl (URI)

    The organization's public profile URL.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n OrganizationAuditEntryConnection\n

    \n

    The connection type for OrganizationAuditEntry.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([OrganizationAuditEntryEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([OrganizationAuditEntry])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n OrganizationAuditEntryEdge\n

    \n

    An edge in a connection.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (OrganizationAuditEntry)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n OrganizationConnection\n

    \n

    The connection type for Organization.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([OrganizationEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([Organization])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n OrganizationEdge\n

    \n

    An edge in a connection.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (Organization)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n OrganizationIdentityProvider\n

    \n

    An Identity Provider configured to provision SAML and SCIM identities for Organizations.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    digestMethod (URI)

    The digest algorithm used to sign SAML requests for the Identity Provider.

    \n\n\n\n\n\n\n\n\n\n\n\n

    externalIdentities (ExternalIdentityConnection!)

    External Identities provisioned by this Identity Provider.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n\n\n

    idpCertificate (X509Certificate)

    The x509 certificate used by the Identity Provider to sign assertions and responses.

    \n\n\n\n\n\n\n\n\n\n\n\n

    issuer (String)

    The Issuer Entity ID for the SAML Identity Provider.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organization (Organization)

    Organization this Identity Provider belongs to.

    \n\n\n\n\n\n\n\n\n\n\n\n

    signatureMethod (URI)

    The signature algorithm used to sign SAML requests for the Identity Provider.

    \n\n\n\n\n\n\n\n\n\n\n\n

    ssoUrl (URI)

    The URL endpoint for the Identity Provider's SAML SSO.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n OrganizationInvitation\n

    \n

    An Invitation for a user to an organization.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    email (String)

    The email address of the user invited to the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    invitationType (OrganizationInvitationType!)

    The type of invitation that was sent (e.g. email, user).

    \n\n\n\n\n\n\n\n\n\n\n\n

    invitee (User)

    The user who was invited to the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    inviter (User!)

    The user who created the invitation.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organization (Organization!)

    The organization the invite is for.

    \n\n\n\n\n\n\n\n\n\n\n\n

    role (OrganizationInvitationRole!)

    The user's pending role in the organization (e.g. member, owner).

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n OrganizationInvitationConnection\n

    \n

    The connection type for OrganizationInvitation.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([OrganizationInvitationEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([OrganizationInvitation])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n OrganizationInvitationEdge\n

    \n

    An edge in a connection.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (OrganizationInvitation)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n OrganizationMemberConnection\n

    \n

    The connection type for User.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([OrganizationMemberEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([User])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n OrganizationMemberEdge\n

    \n

    Represents a user within an organization.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    hasTwoFactorEnabled (Boolean)

    Whether the organization member has two factor enabled or not. Returns null if information is not available to viewer.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (User)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n

    role (OrganizationMemberRole)

    The role this user has in the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n OrganizationTeamsHovercardContext\n

    \n

    An organization teams hovercard context.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    message (String!)

    A string describing this context.

    \n\n\n\n\n\n\n\n\n\n\n\n

    octicon (String!)

    An octicon to accompany this context.

    \n\n\n\n\n\n\n\n\n\n\n\n

    relevantTeams (TeamConnection!)

    Teams in this organization the user is a member of that are relevant.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n\n\n

    teamsResourcePath (URI!)

    The path for the full team list for this user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    teamsUrl (URI!)

    The URL for the full team list for this user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalTeamCount (Int!)

    The total number of teams the user is on in the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n OrganizationsHovercardContext\n

    \n

    An organization list hovercard context.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    message (String!)

    A string describing this context.

    \n\n\n\n\n\n\n\n\n\n\n\n

    octicon (String!)

    An octicon to accompany this context.

    \n\n\n\n\n\n\n\n\n\n\n\n

    relevantOrganizations (OrganizationConnection!)

    Organizations this user is a member of that are relevant.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n\n\n

    totalOrganizationCount (Int!)

    The total number of organizations this user is in.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n Package\n

    \n

    Information for an uploaded package.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    latestVersion (PackageVersion)

    Find the latest version for the package.

    \n\n\n\n\n\n\n\n\n\n\n\n

    name (String!)

    Identifies the name of the package.

    \n\n\n\n\n\n\n\n\n\n\n\n

    packageType (PackageType!)

    Identifies the type of the package.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repository (Repository)

    The repository this package belongs to.

    \n\n\n\n\n\n\n\n\n\n\n\n

    statistics (PackageStatistics)

    Statistics about package activity.

    \n\n\n\n\n\n\n\n\n\n\n\n

    version (PackageVersion)

    Find package version by version string.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    version (String!)

    \n

    The package version.

    \n\n
    \n\n
    \n\n\n

    versions (PackageVersionConnection!)

    list of versions for this package.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (PackageVersionOrder)

    \n

    Ordering of the returned packages.

    \n\n
    \n\n
    \n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n PackageConnection\n

    \n

    The connection type for Package.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([PackageEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([Package])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n PackageEdge\n

    \n

    An edge in a connection.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (Package)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n PackageFile\n

    \n

    A file in a package version.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    md5 (String)

    MD5 hash of the file.

    \n\n\n\n\n\n\n\n\n\n\n\n

    name (String!)

    Name of the file.

    \n\n\n\n\n\n\n\n\n\n\n\n

    packageVersion (PackageVersion)

    The package version this file belongs to.

    \n\n\n\n\n\n\n\n\n\n\n\n

    sha1 (String)

    SHA1 hash of the file.

    \n\n\n\n\n\n\n\n\n\n\n\n

    sha256 (String)

    SHA256 hash of the file.

    \n\n\n\n\n\n\n\n\n\n\n\n

    size (Int)

    Size of the file in bytes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    updatedAt (DateTime!)

    Identifies the date and time when the object was last updated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    url (URI)

    URL to download the asset.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n PackageFileConnection\n

    \n

    The connection type for PackageFile.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([PackageFileEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([PackageFile])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n PackageFileEdge\n

    \n

    An edge in a connection.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (PackageFile)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n PackageStatistics\n

    \n

    Represents a object that contains package activity statistics such as downloads.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    downloadsTotalCount (Int!)

    Number of times the package was downloaded since it was created.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n PackageTag\n

    \n

    A version tag contains the mapping between a tag name and a version.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    name (String!)

    Identifies the tag name of the version.

    \n\n\n\n\n\n\n\n\n\n\n\n

    version (PackageVersion)

    Version that the tag is associated with.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n PackageVersion\n

    \n

    Information about a specific package version.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    files (PackageFileConnection!)

    List of files associated with this package version.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (PackageFileOrder)

    \n

    Ordering of the returned package files.

    \n\n
    \n\n
    \n\n\n

    package (Package)

    The package associated with this version.

    \n\n\n\n\n\n\n\n\n\n\n\n

    platform (String)

    The platform this version was built for.

    \n\n\n\n\n\n\n\n\n\n\n\n

    preRelease (Boolean!)

    Whether or not this version is a pre-release.

    \n\n\n\n\n\n\n\n\n\n\n\n

    readme (String)

    The README of this package version.

    \n\n\n\n\n\n\n\n\n\n\n\n

    release (Release)

    The release associated with this package version.

    \n\n\n\n\n\n\n\n\n\n\n\n

    statistics (PackageVersionStatistics)

    Statistics about package activity.

    \n\n\n\n\n\n\n\n\n\n\n\n

    summary (String)

    The package version summary.

    \n\n\n\n\n\n\n\n\n\n\n\n

    version (String!)

    The version string.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n PackageVersionConnection\n

    \n

    The connection type for PackageVersion.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([PackageVersionEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([PackageVersion])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n PackageVersionEdge\n

    \n

    An edge in a connection.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (PackageVersion)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n PackageVersionStatistics\n

    \n

    Represents a object that contains package version activity statistics such as downloads.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    downloadsTotalCount (Int!)

    Number of times the package was downloaded since it was created.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n PageInfo\n

    \n

    Information about pagination in a connection.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    endCursor (String)

    When paginating forwards, the cursor to continue.

    \n\n\n\n\n\n\n\n\n\n\n\n

    hasNextPage (Boolean!)

    When paginating forwards, are there more items?.

    \n\n\n\n\n\n\n\n\n\n\n\n

    hasPreviousPage (Boolean!)

    When paginating backwards, are there more items?.

    \n\n\n\n\n\n\n\n\n\n\n\n

    startCursor (String)

    When paginating backwards, the cursor to continue.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n PermissionSource\n

    \n

    A level of permission and source for a user's access to a repository.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    organization (Organization!)

    The organization the repository belongs to.

    \n\n\n\n\n\n\n\n\n\n\n\n

    permission (DefaultRepositoryPermissionField!)

    The level of access this source has granted to the user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    source (PermissionGranter!)

    The source of this permission.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n PinnableItemConnection\n

    \n

    The connection type for PinnableItem.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([PinnableItemEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([PinnableItem])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n PinnableItemEdge\n

    \n

    An edge in a connection.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (PinnableItem)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n PinnedEvent\n

    \n

    Represents apinnedevent on a given issue or pull request.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    actor (Actor)

    Identifies the actor who performed the event.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    issue (Issue!)

    Identifies the issue associated with the event.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n PinnedIssue\n

    \n

    A Pinned Issue is a issue pinned to a repository's index page.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    databaseId (Int)

    Identifies the primary key from the database.

    \n\n\n\n\n\n\n\n\n\n\n\n

    issue (Issue!)

    The issue that was pinned.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pinnedBy (Actor!)

    The actor that pinned this issue.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repository (Repository!)

    The repository that this issue was pinned to.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n PinnedIssueConnection\n

    \n

    The connection type for PinnedIssue.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([PinnedIssueEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([PinnedIssue])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n PinnedIssueEdge\n

    \n

    An edge in a connection.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (PinnedIssue)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n PrivateRepositoryForkingDisableAuditEntry\n

    \n

    Audit log entry for a private_repository_forking.disable event.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    action (String!)

    The action name.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actor (AuditEntryActor)

    The user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorIp (String)

    The IP address of the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLocation (ActorLocation)

    A readable representation of the actor's location.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLogin (String)

    The username of the user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorResourcePath (URI)

    The HTTP path for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorUrl (URI)

    The HTTP URL for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (PreciseDateTime!)

    The time the action was initiated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    enterpriseResourcePath (URI)

    The HTTP path for this enterprise.

    \n\n\n\n\n\n\n\n\n\n\n\n

    enterpriseSlug (String)

    The slug of the enterprise.

    \n\n\n\n\n\n\n\n\n\n\n\n

    enterpriseUrl (URI)

    The HTTP URL for this enterprise.

    \n\n\n\n\n\n\n\n\n\n\n\n

    operationType (OperationType)

    The corresponding operation type for the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organization (Organization)

    The Organization associated with the Audit Entry.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationName (String)

    The name of the Organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationResourcePath (URI)

    The HTTP path for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationUrl (URI)

    The HTTP URL for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repository (Repository)

    The repository associated with the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repositoryName (String)

    The name of the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repositoryResourcePath (URI)

    The HTTP path for the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repositoryUrl (URI)

    The HTTP URL for the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    user (User)

    The user affected by the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userLogin (String)

    For actions involving two users, the actor is the initiator and the user is the affected user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userResourcePath (URI)

    The HTTP path for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userUrl (URI)

    The HTTP URL for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n PrivateRepositoryForkingEnableAuditEntry\n

    \n

    Audit log entry for a private_repository_forking.enable event.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    action (String!)

    The action name.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actor (AuditEntryActor)

    The user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorIp (String)

    The IP address of the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLocation (ActorLocation)

    A readable representation of the actor's location.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLogin (String)

    The username of the user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorResourcePath (URI)

    The HTTP path for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorUrl (URI)

    The HTTP URL for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (PreciseDateTime!)

    The time the action was initiated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    enterpriseResourcePath (URI)

    The HTTP path for this enterprise.

    \n\n\n\n\n\n\n\n\n\n\n\n

    enterpriseSlug (String)

    The slug of the enterprise.

    \n\n\n\n\n\n\n\n\n\n\n\n

    enterpriseUrl (URI)

    The HTTP URL for this enterprise.

    \n\n\n\n\n\n\n\n\n\n\n\n

    operationType (OperationType)

    The corresponding operation type for the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organization (Organization)

    The Organization associated with the Audit Entry.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationName (String)

    The name of the Organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationResourcePath (URI)

    The HTTP path for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationUrl (URI)

    The HTTP URL for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repository (Repository)

    The repository associated with the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repositoryName (String)

    The name of the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repositoryResourcePath (URI)

    The HTTP path for the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repositoryUrl (URI)

    The HTTP URL for the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    user (User)

    The user affected by the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userLogin (String)

    For actions involving two users, the actor is the initiator and the user is the affected user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userResourcePath (URI)

    The HTTP path for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userUrl (URI)

    The HTTP URL for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n ProfileItemShowcase\n

    \n

    A curatable list of repositories relating to a repository owner, which defaults\nto showing the most popular repositories they own.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    hasPinnedItems (Boolean!)

    Whether or not the owner has pinned any repositories or gists.

    \n\n\n\n\n\n\n\n\n\n\n\n

    items (PinnableItemConnection!)

    The repositories and gists in the showcase. If the profile owner has any\npinned items, those will be returned. Otherwise, the profile owner's popular\nrepositories will be returned.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n Project\n

    \n

    Projects manage issues, pull requests and notes within a project owner.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    body (String)

    The project's description body.

    \n\n\n\n\n\n\n\n\n\n\n\n

    bodyHTML (HTML!)

    The projects description body rendered to HTML.

    \n\n\n\n\n\n\n\n\n\n\n\n

    closed (Boolean!)

    true if the object is closed (definition of closed may depend on type).

    \n\n\n\n\n\n\n\n\n\n\n\n

    closedAt (DateTime)

    Identifies the date and time when the object was closed.

    \n\n\n\n\n\n\n\n\n\n\n\n

    columns (ProjectColumnConnection!)

    List of columns in the project.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n\n\n

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    creator (Actor)

    The actor who originally created the project.

    \n\n\n\n\n\n\n\n\n\n\n\n

    databaseId (Int)

    Identifies the primary key from the database.

    \n\n\n\n\n\n\n\n\n\n\n\n

    name (String!)

    The project's name.

    \n\n\n\n\n\n\n\n\n\n\n\n

    number (Int!)

    The project's number.

    \n\n\n\n\n\n\n\n\n\n\n\n

    owner (ProjectOwner!)

    The project's owner. Currently limited to repositories, organizations, and users.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pendingCards (ProjectCardConnection!)

    List of pending cards in this project.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    archivedStates ([ProjectCardArchivedState])

    \n

    A list of archived states to filter the cards by.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n\n\n

    progress (ProjectProgress!)

    Project progress details.

    \n\n\n\n\n\n\n\n\n\n\n\n

    resourcePath (URI!)

    The HTTP path for this project.

    \n\n\n\n\n\n\n\n\n\n\n\n

    state (ProjectState!)

    Whether the project is open or closed.

    \n\n\n\n\n\n\n\n\n\n\n\n

    updatedAt (DateTime!)

    Identifies the date and time when the object was last updated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    url (URI!)

    The HTTP URL for this project.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerCanUpdate (Boolean!)

    Check if the current viewer can update this object.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n ProjectCard\n

    \n

    A card in a project.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    column (ProjectColumn)

    The project column this card is associated under. A card may only belong to one\nproject column at a time. The column field will be null if the card is created\nin a pending state and has yet to be associated with a column. Once cards are\nassociated with a column, they will not become pending in the future.

    \n\n\n\n\n\n\n\n\n\n\n\n

    content (ProjectCardItem)

    The card content item.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    creator (Actor)

    The actor who created this card.

    \n\n\n\n\n\n\n\n\n\n\n\n

    databaseId (Int)

    Identifies the primary key from the database.

    \n\n\n\n\n\n\n\n\n\n\n\n

    isArchived (Boolean!)

    Whether the card is archived.

    \n\n\n\n\n\n\n\n\n\n\n\n

    note (String)

    The card note.

    \n\n\n\n\n\n\n\n\n\n\n\n

    project (Project!)

    The project that contains this card.

    \n\n\n\n\n\n\n\n\n\n\n\n

    resourcePath (URI!)

    The HTTP path for this card.

    \n\n\n\n\n\n\n\n\n\n\n\n

    state (ProjectCardState)

    The state of ProjectCard.

    \n\n\n\n\n\n\n\n\n\n\n\n

    updatedAt (DateTime!)

    Identifies the date and time when the object was last updated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    url (URI!)

    The HTTP URL for this card.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n ProjectCardConnection\n

    \n

    The connection type for ProjectCard.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([ProjectCardEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([ProjectCard])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n ProjectCardEdge\n

    \n

    An edge in a connection.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (ProjectCard)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n ProjectColumn\n

    \n

    A column inside a project.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cards (ProjectCardConnection!)

    List of cards in the column.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    archivedStates ([ProjectCardArchivedState])

    \n

    A list of archived states to filter the cards by.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n\n\n

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    databaseId (Int)

    Identifies the primary key from the database.

    \n\n\n\n\n\n\n\n\n\n\n\n

    name (String!)

    The project column's name.

    \n\n\n\n\n\n\n\n\n\n\n\n

    project (Project!)

    The project that contains this column.

    \n\n\n\n\n\n\n\n\n\n\n\n

    purpose (ProjectColumnPurpose)

    The semantic purpose of the column.

    \n\n\n\n\n\n\n\n\n\n\n\n

    resourcePath (URI!)

    The HTTP path for this project column.

    \n\n\n\n\n\n\n\n\n\n\n\n

    updatedAt (DateTime!)

    Identifies the date and time when the object was last updated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    url (URI!)

    The HTTP URL for this project column.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n ProjectColumnConnection\n

    \n

    The connection type for ProjectColumn.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([ProjectColumnEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([ProjectColumn])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n ProjectColumnEdge\n

    \n

    An edge in a connection.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (ProjectColumn)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n ProjectConnection\n

    \n

    A list of projects associated with the owner.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([ProjectEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([Project])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n ProjectEdge\n

    \n

    An edge in a connection.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (Project)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n ProjectProgress\n

    \n

    Project progress stats.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    doneCount (Int!)

    The number of done cards.

    \n\n\n\n\n\n\n\n\n\n\n\n

    donePercentage (Float!)

    The percentage of done cards.

    \n\n\n\n\n\n\n\n\n\n\n\n

    enabled (Boolean!)

    Whether progress tracking is enabled and cards with purpose exist for this project.

    \n\n\n\n\n\n\n\n\n\n\n\n

    inProgressCount (Int!)

    The number of in-progress cards.

    \n\n\n\n\n\n\n\n\n\n\n\n

    inProgressPercentage (Float!)

    The percentage of in-progress cards.

    \n\n\n\n\n\n\n\n\n\n\n\n

    todoCount (Int!)

    The number of to do cards.

    \n\n\n\n\n\n\n\n\n\n\n\n

    todoPercentage (Float!)

    The percentage of to do cards.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n PublicKey\n

    \n

    A user's public key.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    accessedAt (DateTime)

    The last time this authorization was used to perform an action. Values will be null for keys not owned by the user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (DateTime)

    Identifies the date and time when the key was created. Keys created before\nMarch 5th, 2014 have inaccurate values. Values will be null for keys not owned by the user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    fingerprint (String!)

    The fingerprint for this PublicKey.

    \n\n\n\n\n\n\n\n\n\n\n\n

    isReadOnly (Boolean)

    Whether this PublicKey is read-only or not. Values will be null for keys not owned by the user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    key (String!)

    The public key string.

    \n\n\n\n\n\n\n\n\n\n\n\n

    updatedAt (DateTime)

    Identifies the date and time when the key was updated. Keys created before\nMarch 5th, 2014 may have inaccurate values. Values will be null for keys not\nowned by the user.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n PublicKeyConnection\n

    \n

    The connection type for PublicKey.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([PublicKeyEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([PublicKey])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n PublicKeyEdge\n

    \n

    An edge in a connection.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (PublicKey)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n PullRequest\n

    \n

    A repository pull request.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    activeLockReason (LockReason)

    Reason that the conversation was locked.

    \n\n\n\n\n\n\n\n\n\n\n\n

    additions (Int!)

    The number of additions in this pull request.

    \n\n\n\n\n\n\n\n\n\n\n\n

    assignees (UserConnection!)

    A list of Users assigned to this object.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n\n\n

    author (Actor)

    The actor who authored the comment.

    \n\n\n\n\n\n\n\n\n\n\n\n

    authorAssociation (CommentAuthorAssociation!)

    Author's association with the subject of the comment.

    \n\n\n\n\n\n\n\n\n\n\n\n

    autoMergeRequest (AutoMergeRequest)

    Returns the auto-merge request object if one exists for this pull request.

    \n\n\n\n\n\n\n\n\n\n\n\n

    baseRef (Ref)

    Identifies the base Ref associated with the pull request.

    \n\n\n\n\n\n\n\n\n\n\n\n

    baseRefName (String!)

    Identifies the name of the base Ref associated with the pull request, even if the ref has been deleted.

    \n\n\n\n\n\n\n\n\n\n\n\n

    baseRefOid (GitObjectID!)

    Identifies the oid of the base ref associated with the pull request, even if the ref has been deleted.

    \n\n\n\n\n\n\n\n\n\n\n\n

    baseRepository (Repository)

    The repository associated with this pull request's base Ref.

    \n\n\n\n\n\n\n\n\n\n\n\n

    body (String!)

    The body as Markdown.

    \n\n\n\n\n\n\n\n\n\n\n\n

    bodyHTML (HTML!)

    The body rendered to HTML.

    \n\n\n\n\n\n\n\n\n\n\n\n

    bodyText (String!)

    The body rendered to text.

    \n\n\n\n\n\n\n\n\n\n\n\n

    canBeRebased (Boolean!)

    Whether or not the pull request is rebaseable.

    \n\n\n\n\n
    \n

    Preview notice

    \n

    canBeRebased is available under the Merge info preview. During the preview period, the API may change without notice.

    \n
    \n\n\n\n\n\n\n\n\n

    changedFiles (Int!)

    The number of changed files in this pull request.

    \n\n\n\n\n\n\n\n\n\n\n\n

    checksResourcePath (URI!)

    The HTTP path for the checks of this pull request.

    \n\n\n\n\n\n\n\n\n\n\n\n

    checksUrl (URI!)

    The HTTP URL for the checks of this pull request.

    \n\n\n\n\n\n\n\n\n\n\n\n

    closed (Boolean!)

    true if the pull request is closed.

    \n\n\n\n\n\n\n\n\n\n\n\n

    closedAt (DateTime)

    Identifies the date and time when the object was closed.

    \n\n\n\n\n\n\n\n\n\n\n\n

    comments (IssueCommentConnection!)

    A list of comments associated with the pull request.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (IssueCommentOrder)

    \n

    Ordering options for issue comments returned from the connection.

    \n\n
    \n\n
    \n\n\n

    commits (PullRequestCommitConnection!)

    A list of commits present in this pull request's head branch not present in the base branch.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n\n\n

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdViaEmail (Boolean!)

    Check if this comment was created via an email reply.

    \n\n\n\n\n\n\n\n\n\n\n\n

    databaseId (Int)

    Identifies the primary key from the database.

    \n\n\n\n\n\n\n\n\n\n\n\n

    deletions (Int!)

    The number of deletions in this pull request.

    \n\n\n\n\n\n\n\n\n\n\n\n

    editor (Actor)

    The actor who edited this pull request's body.

    \n\n\n\n\n\n\n\n\n\n\n\n

    files (PullRequestChangedFileConnection)

    Lists the files changed within this pull request.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n\n\n

    headRef (Ref)

    Identifies the head Ref associated with the pull request.

    \n\n\n\n\n\n\n\n\n\n\n\n

    headRefName (String!)

    Identifies the name of the head Ref associated with the pull request, even if the ref has been deleted.

    \n\n\n\n\n\n\n\n\n\n\n\n

    headRefOid (GitObjectID!)

    Identifies the oid of the head ref associated with the pull request, even if the ref has been deleted.

    \n\n\n\n\n\n\n\n\n\n\n\n

    headRepository (Repository)

    The repository associated with this pull request's head Ref.

    \n\n\n\n\n\n\n\n\n\n\n\n

    headRepositoryOwner (RepositoryOwner)

    The owner of the repository associated with this pull request's head Ref.

    \n\n\n\n\n\n\n\n\n\n\n\n

    hovercard (Hovercard!)

    The hovercard information for this issue.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    includeNotificationContexts (Boolean)

    \n

    Whether or not to include notification contexts.

    \n

    The default value is true.

    \n
    \n\n
    \n\n\n

    includesCreatedEdit (Boolean!)

    Check if this comment was edited and includes an edit with the creation data.

    \n\n\n\n\n\n\n\n\n\n\n\n

    isCrossRepository (Boolean!)

    The head and base repositories are different.

    \n\n\n\n\n\n\n\n\n\n\n\n

    isDraft (Boolean!)

    Identifies if the pull request is a draft.

    \n\n\n\n\n\n\n\n\n\n\n\n

    isReadByViewer (Boolean)

    Is this pull request read by the viewer.

    \n\n\n\n\n\n\n\n\n\n\n\n

    labels (LabelConnection)

    A list of labels associated with the object.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (LabelOrder)

    \n

    Ordering options for labels returned from the connection.

    \n\n
    \n\n
    \n\n\n

    lastEditedAt (DateTime)

    The moment the editor made the last edit.

    \n\n\n\n\n\n\n\n\n\n\n\n

    latestOpinionatedReviews (PullRequestReviewConnection)

    A list of latest reviews per user associated with the pull request.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    writersOnly (Boolean)

    \n

    Only return reviews from user who have write access to the repository.

    \n

    The default value is false.

    \n
    \n\n
    \n\n\n

    latestReviews (PullRequestReviewConnection)

    A list of latest reviews per user associated with the pull request that are not also pending review.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n\n\n

    locked (Boolean!)

    true if the pull request is locked.

    \n\n\n\n\n\n\n\n\n\n\n\n

    maintainerCanModify (Boolean!)

    Indicates whether maintainers can modify the pull request.

    \n\n\n\n\n\n\n\n\n\n\n\n

    mergeCommit (Commit)

    The commit that was created when this pull request was merged.

    \n\n\n\n\n\n\n\n\n\n\n\n

    mergeStateStatus (MergeStateStatus!)

    Detailed information about the current pull request merge state status.

    \n\n\n\n\n
    \n

    Preview notice

    \n

    mergeStateStatus is available under the Merge info preview. During the preview period, the API may change without notice.

    \n
    \n\n\n\n\n\n\n\n\n

    mergeable (MergeableState!)

    Whether or not the pull request can be merged based on the existence of merge conflicts.

    \n\n\n\n\n\n\n\n\n\n\n\n

    merged (Boolean!)

    Whether or not the pull request was merged.

    \n\n\n\n\n\n\n\n\n\n\n\n

    mergedAt (DateTime)

    The date and time that the pull request was merged.

    \n\n\n\n\n\n\n\n\n\n\n\n

    mergedBy (Actor)

    The actor who merged the pull request.

    \n\n\n\n\n\n\n\n\n\n\n\n

    milestone (Milestone)

    Identifies the milestone associated with the pull request.

    \n\n\n\n\n\n\n\n\n\n\n\n

    number (Int!)

    Identifies the pull request number.

    \n\n\n\n\n\n\n\n\n\n\n\n

    participants (UserConnection!)

    A list of Users that are participating in the Pull Request conversation.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n\n\n

    permalink (URI!)

    The permalink to the pull request.

    \n\n\n\n\n\n\n\n\n\n\n\n

    potentialMergeCommit (Commit)

    The commit that GitHub automatically generated to test if this pull request\ncould be merged. This field will not return a value if the pull request is\nmerged, or if the test merge commit is still being generated. See the\nmergeable field for more details on the mergeability of the pull request.

    \n\n\n\n\n\n\n\n\n\n\n\n

    projectCards (ProjectCardConnection!)

    List of project cards associated with this pull request.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    archivedStates ([ProjectCardArchivedState])

    \n

    A list of archived states to filter the cards by.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n\n\n

    publishedAt (DateTime)

    Identifies when the comment was published at.

    \n\n\n\n\n\n\n\n\n\n\n\n

    reactionGroups ([ReactionGroup!])

    A list of reactions grouped by content left on the subject.

    \n\n\n\n\n\n\n\n\n\n\n\n

    reactions (ReactionConnection!)

    A list of Reactions left on the Issue.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    content (ReactionContent)

    \n

    Allows filtering Reactions by emoji.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (ReactionOrder)

    \n

    Allows specifying the order in which reactions are returned.

    \n\n
    \n\n
    \n\n\n

    repository (Repository!)

    The repository associated with this node.

    \n\n\n\n\n\n\n\n\n\n\n\n

    resourcePath (URI!)

    The HTTP path for this pull request.

    \n\n\n\n\n\n\n\n\n\n\n\n

    revertResourcePath (URI!)

    The HTTP path for reverting this pull request.

    \n\n\n\n\n\n\n\n\n\n\n\n

    revertUrl (URI!)

    The HTTP URL for reverting this pull request.

    \n\n\n\n\n\n\n\n\n\n\n\n

    reviewDecision (PullRequestReviewDecision)

    The current status of this pull request with respect to code review.

    \n\n\n\n\n\n\n\n\n\n\n\n

    reviewRequests (ReviewRequestConnection)

    A list of review requests associated with the pull request.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n\n\n

    reviewThreads (PullRequestReviewThreadConnection!)

    The list of all review threads for this pull request.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n\n\n

    reviews (PullRequestReviewConnection)

    A list of reviews associated with the pull request.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    author (String)

    \n

    Filter by author of the review.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    states ([PullRequestReviewState!])

    \n

    A list of states to filter the reviews.

    \n\n
    \n\n
    \n\n\n

    state (PullRequestState!)

    Identifies the state of the pull request.

    \n\n\n\n\n\n\n\n\n\n\n\n

    suggestedReviewers ([SuggestedReviewer]!)

    A list of reviewer suggestions based on commit history and past review comments.

    \n\n\n\n\n\n\n\n\n\n\n\n

    timeline (PullRequestTimelineConnection!)

    A list of events, comments, commits, etc. associated with the pull request.

    \n\n\n\n\n\n\n
    \n

    Deprecation notice

    \n

    timeline is deprecated.

    timeline will be removed Use PullRequest.timelineItems instead. Removal on 2020-10-01 UTC.

    \n
    \n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    since (DateTime)

    \n

    Allows filtering timeline events by a since timestamp.

    \n\n
    \n\n
    \n\n\n

    timelineItems (PullRequestTimelineItemsConnection!)

    A list of events, comments, commits, etc. associated with the pull request.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    itemTypes ([PullRequestTimelineItemsItemType!])

    \n

    Filter timeline items by type.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    since (DateTime)

    \n

    Filter timeline items by a since timestamp.

    \n\n
    \n\n
    \n

    skip (Int)

    \n

    Skips the first n elements in the list.

    \n\n
    \n\n
    \n\n\n

    title (String!)

    Identifies the pull request title.

    \n\n\n\n\n\n\n\n\n\n\n\n

    updatedAt (DateTime!)

    Identifies the date and time when the object was last updated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    url (URI!)

    The HTTP URL for this pull request.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userContentEdits (UserContentEditConnection)

    A list of edits to this content.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n\n\n

    viewerCanApplySuggestion (Boolean!)

    Whether or not the viewer can apply suggestion.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerCanDeleteHeadRef (Boolean!)

    Check if the viewer can restore the deleted head ref.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerCanDisableAutoMerge (Boolean!)

    Whether or not the viewer can disable auto-merge.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerCanEnableAutoMerge (Boolean!)

    Whether or not the viewer can enable auto-merge.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerCanReact (Boolean!)

    Can user react to this subject.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerCanSubscribe (Boolean!)

    Check if the viewer is able to change their subscription status for the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerCanUpdate (Boolean!)

    Check if the current viewer can update this object.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerCannotUpdateReasons ([CommentCannotUpdateReason!]!)

    Reasons why the current viewer can not update this comment.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerDidAuthor (Boolean!)

    Did the viewer author this comment.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerLatestReview (PullRequestReview)

    The latest review given from the viewer.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerLatestReviewRequest (ReviewRequest)

    The person who has requested the viewer for review on this pull request.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerMergeBodyText (String!)

    The merge body text for the viewer and method.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    mergeType (PullRequestMergeMethod)

    \n

    The merge method for the message.

    \n\n
    \n\n
    \n\n\n

    viewerMergeHeadlineText (String!)

    The merge headline text for the viewer and method.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    mergeType (PullRequestMergeMethod)

    \n

    The merge method for the message.

    \n\n
    \n\n
    \n\n\n

    viewerSubscription (SubscriptionState)

    Identifies if the viewer is watching, not watching, or ignoring the subscribable entity.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n PullRequestChangedFile\n

    \n

    A file changed in a pull request.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    additions (Int!)

    The number of additions to the file.

    \n\n\n\n\n\n\n\n\n\n\n\n

    deletions (Int!)

    The number of deletions to the file.

    \n\n\n\n\n\n\n\n\n\n\n\n

    path (String!)

    The path of the file.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerViewedState (FileViewedState!)

    The state of the file for the viewer.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n PullRequestChangedFileConnection\n

    \n

    The connection type for PullRequestChangedFile.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([PullRequestChangedFileEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([PullRequestChangedFile])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n PullRequestChangedFileEdge\n

    \n

    An edge in a connection.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (PullRequestChangedFile)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n PullRequestCommit\n

    \n

    Represents a Git commit part of a pull request.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    commit (Commit!)

    The Git commit object.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pullRequest (PullRequest!)

    The pull request this commit belongs to.

    \n\n\n\n\n\n\n\n\n\n\n\n

    resourcePath (URI!)

    The HTTP path for this pull request commit.

    \n\n\n\n\n\n\n\n\n\n\n\n

    url (URI!)

    The HTTP URL for this pull request commit.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n PullRequestCommitCommentThread\n

    \n

    Represents a commit comment thread part of a pull request.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    comments (CommitCommentConnection!)

    The comments that exist in this thread.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n\n\n

    commit (Commit!)

    The commit the comments were made on.

    \n\n\n\n\n\n\n\n\n\n\n\n

    path (String)

    The file the comments were made on.

    \n\n\n\n\n\n\n\n\n\n\n\n

    position (Int)

    The position in the diff for the commit that the comment was made on.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pullRequest (PullRequest!)

    The pull request this commit comment thread belongs to.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repository (Repository!)

    The repository associated with this node.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n PullRequestCommitConnection\n

    \n

    The connection type for PullRequestCommit.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([PullRequestCommitEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([PullRequestCommit])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n PullRequestCommitEdge\n

    \n

    An edge in a connection.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (PullRequestCommit)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n PullRequestConnection\n

    \n

    The connection type for PullRequest.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([PullRequestEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([PullRequest])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n PullRequestContributionsByRepository\n

    \n

    This aggregates pull requests opened by a user within one repository.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    contributions (CreatedPullRequestContributionConnection!)

    The pull request contributions.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (ContributionOrder)

    \n

    Ordering options for contributions returned from the connection.

    \n\n
    \n\n
    \n\n\n

    repository (Repository!)

    The repository in which the pull requests were opened.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n PullRequestEdge\n

    \n

    An edge in a connection.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (PullRequest)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n PullRequestReview\n

    \n

    A review object for a given pull request.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    author (Actor)

    The actor who authored the comment.

    \n\n\n\n\n\n\n\n\n\n\n\n

    authorAssociation (CommentAuthorAssociation!)

    Author's association with the subject of the comment.

    \n\n\n\n\n\n\n\n\n\n\n\n

    authorCanPushToRepository (Boolean!)

    Indicates whether the author of this review has push access to the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    body (String!)

    Identifies the pull request review body.

    \n\n\n\n\n\n\n\n\n\n\n\n

    bodyHTML (HTML!)

    The body rendered to HTML.

    \n\n\n\n\n\n\n\n\n\n\n\n

    bodyText (String!)

    The body of this review rendered as plain text.

    \n\n\n\n\n\n\n\n\n\n\n\n

    comments (PullRequestReviewCommentConnection!)

    A list of review comments for the current pull request review.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n\n\n

    commit (Commit)

    Identifies the commit associated with this pull request review.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdViaEmail (Boolean!)

    Check if this comment was created via an email reply.

    \n\n\n\n\n\n\n\n\n\n\n\n

    databaseId (Int)

    Identifies the primary key from the database.

    \n\n\n\n\n\n\n\n\n\n\n\n

    editor (Actor)

    The actor who edited the comment.

    \n\n\n\n\n\n\n\n\n\n\n\n

    includesCreatedEdit (Boolean!)

    Check if this comment was edited and includes an edit with the creation data.

    \n\n\n\n\n\n\n\n\n\n\n\n

    lastEditedAt (DateTime)

    The moment the editor made the last edit.

    \n\n\n\n\n\n\n\n\n\n\n\n

    onBehalfOf (TeamConnection!)

    A list of teams that this review was made on behalf of.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n\n\n

    publishedAt (DateTime)

    Identifies when the comment was published at.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pullRequest (PullRequest!)

    Identifies the pull request associated with this pull request review.

    \n\n\n\n\n\n\n\n\n\n\n\n

    reactionGroups ([ReactionGroup!])

    A list of reactions grouped by content left on the subject.

    \n\n\n\n\n\n\n\n\n\n\n\n

    reactions (ReactionConnection!)

    A list of Reactions left on the Issue.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    content (ReactionContent)

    \n

    Allows filtering Reactions by emoji.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (ReactionOrder)

    \n

    Allows specifying the order in which reactions are returned.

    \n\n
    \n\n
    \n\n\n

    repository (Repository!)

    The repository associated with this node.

    \n\n\n\n\n\n\n\n\n\n\n\n

    resourcePath (URI!)

    The HTTP path permalink for this PullRequestReview.

    \n\n\n\n\n\n\n\n\n\n\n\n

    state (PullRequestReviewState!)

    Identifies the current state of the pull request review.

    \n\n\n\n\n\n\n\n\n\n\n\n

    submittedAt (DateTime)

    Identifies when the Pull Request Review was submitted.

    \n\n\n\n\n\n\n\n\n\n\n\n

    updatedAt (DateTime!)

    Identifies the date and time when the object was last updated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    url (URI!)

    The HTTP URL permalink for this PullRequestReview.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userContentEdits (UserContentEditConnection)

    A list of edits to this content.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n\n\n

    viewerCanDelete (Boolean!)

    Check if the current viewer can delete this object.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerCanReact (Boolean!)

    Can user react to this subject.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerCanUpdate (Boolean!)

    Check if the current viewer can update this object.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerCannotUpdateReasons ([CommentCannotUpdateReason!]!)

    Reasons why the current viewer can not update this comment.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerDidAuthor (Boolean!)

    Did the viewer author this comment.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n PullRequestReviewComment\n

    \n

    A review comment associated with a given repository pull request.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    author (Actor)

    The actor who authored the comment.

    \n\n\n\n\n\n\n\n\n\n\n\n

    authorAssociation (CommentAuthorAssociation!)

    Author's association with the subject of the comment.

    \n\n\n\n\n\n\n\n\n\n\n\n

    body (String!)

    The comment body of this review comment.

    \n\n\n\n\n\n\n\n\n\n\n\n

    bodyHTML (HTML!)

    The body rendered to HTML.

    \n\n\n\n\n\n\n\n\n\n\n\n

    bodyText (String!)

    The comment body of this review comment rendered as plain text.

    \n\n\n\n\n\n\n\n\n\n\n\n

    commit (Commit)

    Identifies the commit associated with the comment.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (DateTime!)

    Identifies when the comment was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdViaEmail (Boolean!)

    Check if this comment was created via an email reply.

    \n\n\n\n\n\n\n\n\n\n\n\n

    databaseId (Int)

    Identifies the primary key from the database.

    \n\n\n\n\n\n\n\n\n\n\n\n

    diffHunk (String!)

    The diff hunk to which the comment applies.

    \n\n\n\n\n\n\n\n\n\n\n\n

    draftedAt (DateTime!)

    Identifies when the comment was created in a draft state.

    \n\n\n\n\n\n\n\n\n\n\n\n

    editor (Actor)

    The actor who edited the comment.

    \n\n\n\n\n\n\n\n\n\n\n\n

    includesCreatedEdit (Boolean!)

    Check if this comment was edited and includes an edit with the creation data.

    \n\n\n\n\n\n\n\n\n\n\n\n

    isMinimized (Boolean!)

    Returns whether or not a comment has been minimized.

    \n\n\n\n\n\n\n\n\n\n\n\n

    lastEditedAt (DateTime)

    The moment the editor made the last edit.

    \n\n\n\n\n\n\n\n\n\n\n\n

    minimizedReason (String)

    Returns why the comment was minimized.

    \n\n\n\n\n\n\n\n\n\n\n\n

    originalCommit (Commit)

    Identifies the original commit associated with the comment.

    \n\n\n\n\n\n\n\n\n\n\n\n

    originalPosition (Int!)

    The original line index in the diff to which the comment applies.

    \n\n\n\n\n\n\n\n\n\n\n\n

    outdated (Boolean!)

    Identifies when the comment body is outdated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    path (String!)

    The path to which the comment applies.

    \n\n\n\n\n\n\n\n\n\n\n\n

    position (Int)

    The line index in the diff to which the comment applies.

    \n\n\n\n\n\n\n\n\n\n\n\n

    publishedAt (DateTime)

    Identifies when the comment was published at.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pullRequest (PullRequest!)

    The pull request associated with this review comment.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pullRequestReview (PullRequestReview)

    The pull request review associated with this review comment.

    \n\n\n\n\n\n\n\n\n\n\n\n

    reactionGroups ([ReactionGroup!])

    A list of reactions grouped by content left on the subject.

    \n\n\n\n\n\n\n\n\n\n\n\n

    reactions (ReactionConnection!)

    A list of Reactions left on the Issue.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    content (ReactionContent)

    \n

    Allows filtering Reactions by emoji.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (ReactionOrder)

    \n

    Allows specifying the order in which reactions are returned.

    \n\n
    \n\n
    \n\n\n

    replyTo (PullRequestReviewComment)

    The comment this is a reply to.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repository (Repository!)

    The repository associated with this node.

    \n\n\n\n\n\n\n\n\n\n\n\n

    resourcePath (URI!)

    The HTTP path permalink for this review comment.

    \n\n\n\n\n\n\n\n\n\n\n\n

    state (PullRequestReviewCommentState!)

    Identifies the state of the comment.

    \n\n\n\n\n\n\n\n\n\n\n\n

    updatedAt (DateTime!)

    Identifies when the comment was last updated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    url (URI!)

    The HTTP URL permalink for this review comment.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userContentEdits (UserContentEditConnection)

    A list of edits to this content.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n\n\n

    viewerCanDelete (Boolean!)

    Check if the current viewer can delete this object.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerCanMinimize (Boolean!)

    Check if the current viewer can minimize this object.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerCanReact (Boolean!)

    Can user react to this subject.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerCanUpdate (Boolean!)

    Check if the current viewer can update this object.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerCannotUpdateReasons ([CommentCannotUpdateReason!]!)

    Reasons why the current viewer can not update this comment.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerDidAuthor (Boolean!)

    Did the viewer author this comment.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n PullRequestReviewCommentConnection\n

    \n

    The connection type for PullRequestReviewComment.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([PullRequestReviewCommentEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([PullRequestReviewComment])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n PullRequestReviewCommentEdge\n

    \n

    An edge in a connection.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (PullRequestReviewComment)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n PullRequestReviewConnection\n

    \n

    The connection type for PullRequestReview.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([PullRequestReviewEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([PullRequestReview])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n PullRequestReviewContributionsByRepository\n

    \n

    This aggregates pull request reviews made by a user within one repository.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    contributions (CreatedPullRequestReviewContributionConnection!)

    The pull request review contributions.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (ContributionOrder)

    \n

    Ordering options for contributions returned from the connection.

    \n\n
    \n\n
    \n\n\n

    repository (Repository!)

    The repository in which the pull request reviews were made.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n PullRequestReviewEdge\n

    \n

    An edge in a connection.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (PullRequestReview)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n PullRequestReviewThread\n

    \n

    A threaded list of comments for a given pull request.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    comments (PullRequestReviewCommentConnection!)

    A list of pull request comments associated with the thread.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    skip (Int)

    \n

    Skips the first n elements in the list.

    \n\n
    \n\n
    \n\n\n

    diffSide (DiffSide!)

    The side of the diff on which this thread was placed.

    \n\n\n\n\n\n\n\n\n\n\n\n

    isCollapsed (Boolean!)

    Whether or not the thread has been collapsed (outdated or resolved).

    \n\n\n\n\n\n\n\n\n\n\n\n

    isOutdated (Boolean!)

    Indicates whether this thread was outdated by newer changes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    isResolved (Boolean!)

    Whether this thread has been resolved.

    \n\n\n\n\n\n\n\n\n\n\n\n

    line (Int)

    The line in the file to which this thread refers.

    \n\n\n\n\n\n\n\n\n\n\n\n

    originalLine (Int)

    The original line in the file to which this thread refers.

    \n\n\n\n\n\n\n\n\n\n\n\n

    originalStartLine (Int)

    The original start line in the file to which this thread refers (multi-line only).

    \n\n\n\n\n\n\n\n\n\n\n\n

    path (String!)

    Identifies the file path of this thread.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pullRequest (PullRequest!)

    Identifies the pull request associated with this thread.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repository (Repository!)

    Identifies the repository associated with this thread.

    \n\n\n\n\n\n\n\n\n\n\n\n

    resolvedBy (User)

    The user who resolved this thread.

    \n\n\n\n\n\n\n\n\n\n\n\n

    startDiffSide (DiffSide)

    The side of the diff that the first line of the thread starts on (multi-line only).

    \n\n\n\n\n\n\n\n\n\n\n\n

    startLine (Int)

    The start line in the file to which this thread refers (multi-line only).

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerCanReply (Boolean!)

    Indicates whether the current viewer can reply to this thread.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerCanResolve (Boolean!)

    Whether or not the viewer can resolve this thread.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerCanUnresolve (Boolean!)

    Whether or not the viewer can unresolve this thread.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n PullRequestReviewThreadConnection\n

    \n

    Review comment threads for a pull request review.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([PullRequestReviewThreadEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([PullRequestReviewThread])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n PullRequestReviewThreadEdge\n

    \n

    An edge in a connection.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (PullRequestReviewThread)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n PullRequestRevisionMarker\n

    \n

    Represents the latest point in the pull request timeline for which the viewer has seen the pull request's commits.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    lastSeenCommit (Commit!)

    The last commit the viewer has seen.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pullRequest (PullRequest!)

    The pull request to which the marker belongs.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n PullRequestTimelineConnection\n

    \n

    The connection type for PullRequestTimelineItem.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([PullRequestTimelineItemEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([PullRequestTimelineItem])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n PullRequestTimelineItemEdge\n

    \n

    An edge in a connection.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (PullRequestTimelineItem)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n PullRequestTimelineItemsConnection\n

    \n

    The connection type for PullRequestTimelineItems.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([PullRequestTimelineItemsEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    filteredCount (Int!)

    Identifies the count of items after applying before and after filters.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([PullRequestTimelineItems])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageCount (Int!)

    Identifies the count of items after applying before/after filters and first/last/skip slicing.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n

    updatedAt (DateTime!)

    Identifies the date and time when the timeline was last updated.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n PullRequestTimelineItemsEdge\n

    \n

    An edge in a connection.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (PullRequestTimelineItems)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n Push\n

    \n

    A Git push.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    nextSha (GitObjectID)

    The SHA after the push.

    \n\n\n\n\n\n\n\n\n\n\n\n

    permalink (URI!)

    The permalink for this push.

    \n\n\n\n\n\n\n\n\n\n\n\n

    previousSha (GitObjectID)

    The SHA before the push.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pusher (User!)

    The user who pushed.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repository (Repository!)

    The repository that was pushed to.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n PushAllowance\n

    \n

    A team, user or app who has the ability to push to a protected branch.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    actor (PushAllowanceActor)

    The actor that can push.

    \n\n\n\n\n\n\n\n\n\n\n\n

    branchProtectionRule (BranchProtectionRule)

    Identifies the branch protection rule associated with the allowed user or team.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n PushAllowanceConnection\n

    \n

    The connection type for PushAllowance.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([PushAllowanceEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([PushAllowance])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n PushAllowanceEdge\n

    \n

    An edge in a connection.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (PushAllowance)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n RateLimit\n

    \n

    Represents the client's rate limit.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cost (Int!)

    The point cost for the current query counting against the rate limit.

    \n\n\n\n\n\n\n\n\n\n\n\n

    limit (Int!)

    The maximum number of points the client is permitted to consume in a 60 minute window.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodeCount (Int!)

    The maximum number of nodes this query may return.

    \n\n\n\n\n\n\n\n\n\n\n\n

    remaining (Int!)

    The number of points remaining in the current rate limit window.

    \n\n\n\n\n\n\n\n\n\n\n\n

    resetAt (DateTime!)

    The time at which the current rate limit window resets in UTC epoch seconds.

    \n\n\n\n\n\n\n\n\n\n\n\n

    used (Int!)

    The number of points used in the current rate limit window.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n ReactingUserConnection\n

    \n

    The connection type for User.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([ReactingUserEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([User])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n ReactingUserEdge\n

    \n

    Represents a user that's made a reaction.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    reactedAt (DateTime!)

    The moment when the user made the reaction.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n Reaction\n

    \n

    An emoji reaction to a particular piece of content.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    content (ReactionContent!)

    Identifies the emoji reaction.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    databaseId (Int)

    Identifies the primary key from the database.

    \n\n\n\n\n\n\n\n\n\n\n\n

    reactable (Reactable!)

    The reactable piece of content.

    \n\n\n\n\n\n\n\n\n\n\n\n

    user (User)

    Identifies the user who created this reaction.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n ReactionConnection\n

    \n

    A list of reactions that have been left on the subject.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([ReactionEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([Reaction])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerHasReacted (Boolean!)

    Whether or not the authenticated user has left a reaction on the subject.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n ReactionEdge\n

    \n

    An edge in a connection.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (Reaction)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n ReactionGroup\n

    \n

    A group of emoji reactions to a particular piece of content.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    content (ReactionContent!)

    Identifies the emoji reaction.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (DateTime)

    Identifies when the reaction was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    subject (Reactable!)

    The subject that was reacted to.

    \n\n\n\n\n\n\n\n\n\n\n\n

    users (ReactingUserConnection!)

    Users who have reacted to the reaction subject with the emotion represented by this reaction group.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n\n\n

    viewerHasReacted (Boolean!)

    Whether or not the authenticated user has left a reaction on the subject.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n ReadyForReviewEvent\n

    \n

    Represents aready_for_reviewevent on a given pull request.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    actor (Actor)

    Identifies the actor who performed the event.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pullRequest (PullRequest!)

    PullRequest referenced by event.

    \n\n\n\n\n\n\n\n\n\n\n\n

    resourcePath (URI!)

    The HTTP path for this ready for review event.

    \n\n\n\n\n\n\n\n\n\n\n\n

    url (URI!)

    The HTTP URL for this ready for review event.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n Ref\n

    \n

    Represents a Git reference.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    associatedPullRequests (PullRequestConnection!)

    A list of pull requests with this ref as the head ref.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    baseRefName (String)

    \n

    The base ref name to filter the pull requests by.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    headRefName (String)

    \n

    The head ref name to filter the pull requests by.

    \n\n
    \n\n
    \n

    labels ([String!])

    \n

    A list of label names to filter the pull requests by.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (IssueOrder)

    \n

    Ordering options for pull requests returned from the connection.

    \n\n
    \n\n
    \n

    states ([PullRequestState!])

    \n

    A list of states to filter the pull requests by.

    \n\n
    \n\n
    \n\n\n

    branchProtectionRule (BranchProtectionRule)

    Branch protection rules for this ref.

    \n\n\n\n\n\n\n\n\n\n\n\n

    name (String!)

    The ref name.

    \n\n\n\n\n\n\n\n\n\n\n\n

    prefix (String!)

    The ref's prefix, such as refs/heads/ or refs/tags/.

    \n\n\n\n\n\n\n\n\n\n\n\n

    refUpdateRule (RefUpdateRule)

    Branch protection rules that are viewable by non-admins.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repository (Repository!)

    The repository the ref belongs to.

    \n\n\n\n\n\n\n\n\n\n\n\n

    target (GitObject)

    The object the ref points to. Returns null when object does not exist.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n RefConnection\n

    \n

    The connection type for Ref.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([RefEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([Ref])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n RefEdge\n

    \n

    An edge in a connection.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (Ref)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n RefUpdateRule\n

    \n

    A ref update rules for a viewer.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    allowsDeletions (Boolean!)

    Can this branch be deleted.

    \n\n\n\n\n\n\n\n\n\n\n\n

    allowsForcePushes (Boolean!)

    Are force pushes allowed on this branch.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pattern (String!)

    Identifies the protection rule pattern.

    \n\n\n\n\n\n\n\n\n\n\n\n

    requiredApprovingReviewCount (Int)

    Number of approving reviews required to update matching branches.

    \n\n\n\n\n\n\n\n\n\n\n\n

    requiredStatusCheckContexts ([String])

    List of required status check contexts that must pass for commits to be accepted to matching branches.

    \n\n\n\n\n\n\n\n\n\n\n\n

    requiresCodeOwnerReviews (Boolean!)

    Are reviews from code owners required to update matching branches.

    \n\n\n\n\n\n\n\n\n\n\n\n

    requiresLinearHistory (Boolean!)

    Are merge commits prohibited from being pushed to this branch.

    \n\n\n\n\n\n\n\n\n\n\n\n

    requiresSignatures (Boolean!)

    Are commits required to be signed.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerAllowedToDismissReviews (Boolean!)

    Is the viewer allowed to dismiss reviews.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerCanPush (Boolean!)

    Can the viewer push to the branch.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n ReferencedEvent\n

    \n

    Represents areferencedevent on a given ReferencedSubject.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    actor (Actor)

    Identifies the actor who performed the event.

    \n\n\n\n\n\n\n\n\n\n\n\n

    commit (Commit)

    Identifies the commit associated with thereferencedevent.

    \n\n\n\n\n\n\n\n\n\n\n\n

    commitRepository (Repository!)

    Identifies the repository associated with thereferencedevent.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    isCrossRepository (Boolean!)

    Reference originated in a different repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    isDirectReference (Boolean!)

    Checks if the commit message itself references the subject. Can be false in the case of a commit comment reference.

    \n\n\n\n\n\n\n\n\n\n\n\n

    subject (ReferencedSubject!)

    Object referenced by event.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n Release\n

    \n

    A release contains the content for a release.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    author (User)

    The author of the release.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    description (String)

    The description of the release.

    \n\n\n\n\n\n\n\n\n\n\n\n

    descriptionHTML (HTML)

    The description of this release rendered to HTML.

    \n\n\n\n\n\n\n\n\n\n\n\n

    isDraft (Boolean!)

    Whether or not the release is a draft.

    \n\n\n\n\n\n\n\n\n\n\n\n

    isLatest (Boolean!)

    Whether or not the release is the latest releast.

    \n\n\n\n\n\n\n\n\n\n\n\n

    isPrerelease (Boolean!)

    Whether or not the release is a prerelease.

    \n\n\n\n\n\n\n\n\n\n\n\n

    name (String)

    The title of the release.

    \n\n\n\n\n\n\n\n\n\n\n\n

    publishedAt (DateTime)

    Identifies the date and time when the release was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    releaseAssets (ReleaseAssetConnection!)

    List of releases assets which are dependent on this release.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    name (String)

    \n

    A list of names to filter the assets by.

    \n\n
    \n\n
    \n\n\n

    repository (Repository!)

    The repository that the release belongs to.

    \n\n\n\n\n\n\n\n\n\n\n\n

    resourcePath (URI!)

    The HTTP path for this issue.

    \n\n\n\n\n\n\n\n\n\n\n\n

    shortDescriptionHTML (HTML)

    A description of the release, rendered to HTML without any links in it.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    limit (Int)

    \n

    How many characters to return.

    \n

    The default value is 200.

    \n
    \n\n
    \n\n\n

    tag (Ref)

    The Git tag the release points to.

    \n\n\n\n\n\n\n\n\n\n\n\n

    tagCommit (Commit)

    The tag commit for this release.

    \n\n\n\n\n\n\n\n\n\n\n\n

    tagName (String!)

    The name of the release's Git tag.

    \n\n\n\n\n\n\n\n\n\n\n\n

    updatedAt (DateTime!)

    Identifies the date and time when the object was last updated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    url (URI!)

    The HTTP URL for this issue.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n ReleaseAsset\n

    \n

    A release asset contains the content for a release asset.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    contentType (String!)

    The asset's content-type.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    downloadCount (Int!)

    The number of times this asset was downloaded.

    \n\n\n\n\n\n\n\n\n\n\n\n

    downloadUrl (URI!)

    Identifies the URL where you can download the release asset via the browser.

    \n\n\n\n\n\n\n\n\n\n\n\n

    name (String!)

    Identifies the title of the release asset.

    \n\n\n\n\n\n\n\n\n\n\n\n

    release (Release)

    Release that the asset is associated with.

    \n\n\n\n\n\n\n\n\n\n\n\n

    size (Int!)

    The size (in bytes) of the asset.

    \n\n\n\n\n\n\n\n\n\n\n\n

    updatedAt (DateTime!)

    Identifies the date and time when the object was last updated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    uploadedBy (User!)

    The user that performed the upload.

    \n\n\n\n\n\n\n\n\n\n\n\n

    url (URI!)

    Identifies the URL of the release asset.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n ReleaseAssetConnection\n

    \n

    The connection type for ReleaseAsset.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([ReleaseAssetEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([ReleaseAsset])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n ReleaseAssetEdge\n

    \n

    An edge in a connection.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (ReleaseAsset)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n ReleaseConnection\n

    \n

    The connection type for Release.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([ReleaseEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([Release])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n ReleaseEdge\n

    \n

    An edge in a connection.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (Release)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n RemovedFromProjectEvent\n

    \n

    Represents aremoved_from_projectevent on a given issue or pull request.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    actor (Actor)

    Identifies the actor who performed the event.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    databaseId (Int)

    Identifies the primary key from the database.

    \n\n\n\n\n\n\n\n\n\n\n\n

    project (Project)

    Project referenced by event.

    \n\n\n\n\n
    \n

    Preview notice

    \n

    project is available under the Project event details preview. During the preview period, the API may change without notice.

    \n
    \n\n\n\n\n\n\n\n\n

    projectColumnName (String!)

    Column name referenced by this project event.

    \n\n\n\n\n
    \n

    Preview notice

    \n

    projectColumnName is available under the Project event details preview. During the preview period, the API may change without notice.

    \n
    \n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n RenamedTitleEvent\n

    \n

    Represents arenamedevent on a given issue or pull request.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    actor (Actor)

    Identifies the actor who performed the event.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    currentTitle (String!)

    Identifies the current title of the issue or pull request.

    \n\n\n\n\n\n\n\n\n\n\n\n

    previousTitle (String!)

    Identifies the previous title of the issue or pull request.

    \n\n\n\n\n\n\n\n\n\n\n\n

    subject (RenamedTitleSubject!)

    Subject that was renamed.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n ReopenedEvent\n

    \n

    Represents areopenedevent on any Closable.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    actor (Actor)

    Identifies the actor who performed the event.

    \n\n\n\n\n\n\n\n\n\n\n\n

    closable (Closable!)

    Object that was reopened.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n RepoAccessAuditEntry\n

    \n

    Audit log entry for a repo.access event.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    action (String!)

    The action name.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actor (AuditEntryActor)

    The user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorIp (String)

    The IP address of the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLocation (ActorLocation)

    A readable representation of the actor's location.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLogin (String)

    The username of the user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorResourcePath (URI)

    The HTTP path for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorUrl (URI)

    The HTTP URL for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (PreciseDateTime!)

    The time the action was initiated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    operationType (OperationType)

    The corresponding operation type for the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organization (Organization)

    The Organization associated with the Audit Entry.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationName (String)

    The name of the Organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationResourcePath (URI)

    The HTTP path for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationUrl (URI)

    The HTTP URL for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repository (Repository)

    The repository associated with the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repositoryName (String)

    The name of the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repositoryResourcePath (URI)

    The HTTP path for the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repositoryUrl (URI)

    The HTTP URL for the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    user (User)

    The user affected by the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userLogin (String)

    For actions involving two users, the actor is the initiator and the user is the affected user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userResourcePath (URI)

    The HTTP path for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userUrl (URI)

    The HTTP URL for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    visibility (RepoAccessAuditEntryVisibility)

    The visibility of the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n RepoAddMemberAuditEntry\n

    \n

    Audit log entry for a repo.add_member event.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    action (String!)

    The action name.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actor (AuditEntryActor)

    The user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorIp (String)

    The IP address of the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLocation (ActorLocation)

    A readable representation of the actor's location.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLogin (String)

    The username of the user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorResourcePath (URI)

    The HTTP path for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorUrl (URI)

    The HTTP URL for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (PreciseDateTime!)

    The time the action was initiated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    operationType (OperationType)

    The corresponding operation type for the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organization (Organization)

    The Organization associated with the Audit Entry.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationName (String)

    The name of the Organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationResourcePath (URI)

    The HTTP path for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationUrl (URI)

    The HTTP URL for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repository (Repository)

    The repository associated with the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repositoryName (String)

    The name of the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repositoryResourcePath (URI)

    The HTTP path for the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repositoryUrl (URI)

    The HTTP URL for the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    user (User)

    The user affected by the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userLogin (String)

    For actions involving two users, the actor is the initiator and the user is the affected user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userResourcePath (URI)

    The HTTP path for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userUrl (URI)

    The HTTP URL for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    visibility (RepoAddMemberAuditEntryVisibility)

    The visibility of the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n RepoAddTopicAuditEntry\n

    \n

    Audit log entry for a repo.add_topic event.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    action (String!)

    The action name.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actor (AuditEntryActor)

    The user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorIp (String)

    The IP address of the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLocation (ActorLocation)

    A readable representation of the actor's location.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLogin (String)

    The username of the user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorResourcePath (URI)

    The HTTP path for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorUrl (URI)

    The HTTP URL for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (PreciseDateTime!)

    The time the action was initiated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    operationType (OperationType)

    The corresponding operation type for the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organization (Organization)

    The Organization associated with the Audit Entry.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationName (String)

    The name of the Organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationResourcePath (URI)

    The HTTP path for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationUrl (URI)

    The HTTP URL for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repository (Repository)

    The repository associated with the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repositoryName (String)

    The name of the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repositoryResourcePath (URI)

    The HTTP path for the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repositoryUrl (URI)

    The HTTP URL for the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    topic (Topic)

    The name of the topic added to the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    topicName (String)

    The name of the topic added to the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    user (User)

    The user affected by the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userLogin (String)

    For actions involving two users, the actor is the initiator and the user is the affected user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userResourcePath (URI)

    The HTTP path for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userUrl (URI)

    The HTTP URL for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n RepoArchivedAuditEntry\n

    \n

    Audit log entry for a repo.archived event.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    action (String!)

    The action name.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actor (AuditEntryActor)

    The user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorIp (String)

    The IP address of the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLocation (ActorLocation)

    A readable representation of the actor's location.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLogin (String)

    The username of the user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorResourcePath (URI)

    The HTTP path for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorUrl (URI)

    The HTTP URL for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (PreciseDateTime!)

    The time the action was initiated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    operationType (OperationType)

    The corresponding operation type for the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organization (Organization)

    The Organization associated with the Audit Entry.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationName (String)

    The name of the Organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationResourcePath (URI)

    The HTTP path for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationUrl (URI)

    The HTTP URL for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repository (Repository)

    The repository associated with the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repositoryName (String)

    The name of the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repositoryResourcePath (URI)

    The HTTP path for the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repositoryUrl (URI)

    The HTTP URL for the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    user (User)

    The user affected by the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userLogin (String)

    For actions involving two users, the actor is the initiator and the user is the affected user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userResourcePath (URI)

    The HTTP path for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userUrl (URI)

    The HTTP URL for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    visibility (RepoArchivedAuditEntryVisibility)

    The visibility of the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n RepoChangeMergeSettingAuditEntry\n

    \n

    Audit log entry for a repo.change_merge_setting event.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    action (String!)

    The action name.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actor (AuditEntryActor)

    The user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorIp (String)

    The IP address of the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLocation (ActorLocation)

    A readable representation of the actor's location.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLogin (String)

    The username of the user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorResourcePath (URI)

    The HTTP path for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorUrl (URI)

    The HTTP URL for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (PreciseDateTime!)

    The time the action was initiated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    isEnabled (Boolean)

    Whether the change was to enable (true) or disable (false) the merge type.

    \n\n\n\n\n\n\n\n\n\n\n\n

    mergeType (RepoChangeMergeSettingAuditEntryMergeType)

    The merge method affected by the change.

    \n\n\n\n\n\n\n\n\n\n\n\n

    operationType (OperationType)

    The corresponding operation type for the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organization (Organization)

    The Organization associated with the Audit Entry.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationName (String)

    The name of the Organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationResourcePath (URI)

    The HTTP path for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationUrl (URI)

    The HTTP URL for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repository (Repository)

    The repository associated with the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repositoryName (String)

    The name of the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repositoryResourcePath (URI)

    The HTTP path for the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repositoryUrl (URI)

    The HTTP URL for the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    user (User)

    The user affected by the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userLogin (String)

    For actions involving two users, the actor is the initiator and the user is the affected user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userResourcePath (URI)

    The HTTP path for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userUrl (URI)

    The HTTP URL for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n RepoConfigDisableAnonymousGitAccessAuditEntry\n

    \n

    Audit log entry for a repo.config.disable_anonymous_git_access event.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    action (String!)

    The action name.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actor (AuditEntryActor)

    The user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorIp (String)

    The IP address of the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLocation (ActorLocation)

    A readable representation of the actor's location.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLogin (String)

    The username of the user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorResourcePath (URI)

    The HTTP path for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorUrl (URI)

    The HTTP URL for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (PreciseDateTime!)

    The time the action was initiated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    operationType (OperationType)

    The corresponding operation type for the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organization (Organization)

    The Organization associated with the Audit Entry.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationName (String)

    The name of the Organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationResourcePath (URI)

    The HTTP path for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationUrl (URI)

    The HTTP URL for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repository (Repository)

    The repository associated with the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repositoryName (String)

    The name of the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repositoryResourcePath (URI)

    The HTTP path for the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repositoryUrl (URI)

    The HTTP URL for the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    user (User)

    The user affected by the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userLogin (String)

    For actions involving two users, the actor is the initiator and the user is the affected user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userResourcePath (URI)

    The HTTP path for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userUrl (URI)

    The HTTP URL for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n RepoConfigDisableCollaboratorsOnlyAuditEntry\n

    \n

    Audit log entry for a repo.config.disable_collaborators_only event.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    action (String!)

    The action name.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actor (AuditEntryActor)

    The user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorIp (String)

    The IP address of the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLocation (ActorLocation)

    A readable representation of the actor's location.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLogin (String)

    The username of the user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorResourcePath (URI)

    The HTTP path for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorUrl (URI)

    The HTTP URL for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (PreciseDateTime!)

    The time the action was initiated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    operationType (OperationType)

    The corresponding operation type for the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organization (Organization)

    The Organization associated with the Audit Entry.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationName (String)

    The name of the Organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationResourcePath (URI)

    The HTTP path for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationUrl (URI)

    The HTTP URL for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repository (Repository)

    The repository associated with the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repositoryName (String)

    The name of the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repositoryResourcePath (URI)

    The HTTP path for the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repositoryUrl (URI)

    The HTTP URL for the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    user (User)

    The user affected by the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userLogin (String)

    For actions involving two users, the actor is the initiator and the user is the affected user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userResourcePath (URI)

    The HTTP path for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userUrl (URI)

    The HTTP URL for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n RepoConfigDisableContributorsOnlyAuditEntry\n

    \n

    Audit log entry for a repo.config.disable_contributors_only event.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    action (String!)

    The action name.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actor (AuditEntryActor)

    The user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorIp (String)

    The IP address of the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLocation (ActorLocation)

    A readable representation of the actor's location.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLogin (String)

    The username of the user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorResourcePath (URI)

    The HTTP path for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorUrl (URI)

    The HTTP URL for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (PreciseDateTime!)

    The time the action was initiated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    operationType (OperationType)

    The corresponding operation type for the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organization (Organization)

    The Organization associated with the Audit Entry.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationName (String)

    The name of the Organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationResourcePath (URI)

    The HTTP path for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationUrl (URI)

    The HTTP URL for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repository (Repository)

    The repository associated with the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repositoryName (String)

    The name of the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repositoryResourcePath (URI)

    The HTTP path for the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repositoryUrl (URI)

    The HTTP URL for the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    user (User)

    The user affected by the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userLogin (String)

    For actions involving two users, the actor is the initiator and the user is the affected user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userResourcePath (URI)

    The HTTP path for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userUrl (URI)

    The HTTP URL for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n RepoConfigDisableSockpuppetDisallowedAuditEntry\n

    \n

    Audit log entry for a repo.config.disable_sockpuppet_disallowed event.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    action (String!)

    The action name.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actor (AuditEntryActor)

    The user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorIp (String)

    The IP address of the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLocation (ActorLocation)

    A readable representation of the actor's location.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLogin (String)

    The username of the user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorResourcePath (URI)

    The HTTP path for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorUrl (URI)

    The HTTP URL for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (PreciseDateTime!)

    The time the action was initiated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    operationType (OperationType)

    The corresponding operation type for the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organization (Organization)

    The Organization associated with the Audit Entry.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationName (String)

    The name of the Organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationResourcePath (URI)

    The HTTP path for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationUrl (URI)

    The HTTP URL for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repository (Repository)

    The repository associated with the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repositoryName (String)

    The name of the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repositoryResourcePath (URI)

    The HTTP path for the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repositoryUrl (URI)

    The HTTP URL for the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    user (User)

    The user affected by the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userLogin (String)

    For actions involving two users, the actor is the initiator and the user is the affected user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userResourcePath (URI)

    The HTTP path for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userUrl (URI)

    The HTTP URL for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n RepoConfigEnableAnonymousGitAccessAuditEntry\n

    \n

    Audit log entry for a repo.config.enable_anonymous_git_access event.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    action (String!)

    The action name.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actor (AuditEntryActor)

    The user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorIp (String)

    The IP address of the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLocation (ActorLocation)

    A readable representation of the actor's location.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLogin (String)

    The username of the user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorResourcePath (URI)

    The HTTP path for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorUrl (URI)

    The HTTP URL for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (PreciseDateTime!)

    The time the action was initiated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    operationType (OperationType)

    The corresponding operation type for the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organization (Organization)

    The Organization associated with the Audit Entry.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationName (String)

    The name of the Organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationResourcePath (URI)

    The HTTP path for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationUrl (URI)

    The HTTP URL for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repository (Repository)

    The repository associated with the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repositoryName (String)

    The name of the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repositoryResourcePath (URI)

    The HTTP path for the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repositoryUrl (URI)

    The HTTP URL for the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    user (User)

    The user affected by the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userLogin (String)

    For actions involving two users, the actor is the initiator and the user is the affected user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userResourcePath (URI)

    The HTTP path for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userUrl (URI)

    The HTTP URL for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n RepoConfigEnableCollaboratorsOnlyAuditEntry\n

    \n

    Audit log entry for a repo.config.enable_collaborators_only event.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    action (String!)

    The action name.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actor (AuditEntryActor)

    The user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorIp (String)

    The IP address of the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLocation (ActorLocation)

    A readable representation of the actor's location.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLogin (String)

    The username of the user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorResourcePath (URI)

    The HTTP path for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorUrl (URI)

    The HTTP URL for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (PreciseDateTime!)

    The time the action was initiated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    operationType (OperationType)

    The corresponding operation type for the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organization (Organization)

    The Organization associated with the Audit Entry.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationName (String)

    The name of the Organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationResourcePath (URI)

    The HTTP path for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationUrl (URI)

    The HTTP URL for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repository (Repository)

    The repository associated with the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repositoryName (String)

    The name of the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repositoryResourcePath (URI)

    The HTTP path for the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repositoryUrl (URI)

    The HTTP URL for the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    user (User)

    The user affected by the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userLogin (String)

    For actions involving two users, the actor is the initiator and the user is the affected user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userResourcePath (URI)

    The HTTP path for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userUrl (URI)

    The HTTP URL for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n RepoConfigEnableContributorsOnlyAuditEntry\n

    \n

    Audit log entry for a repo.config.enable_contributors_only event.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    action (String!)

    The action name.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actor (AuditEntryActor)

    The user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorIp (String)

    The IP address of the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLocation (ActorLocation)

    A readable representation of the actor's location.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLogin (String)

    The username of the user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorResourcePath (URI)

    The HTTP path for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorUrl (URI)

    The HTTP URL for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (PreciseDateTime!)

    The time the action was initiated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    operationType (OperationType)

    The corresponding operation type for the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organization (Organization)

    The Organization associated with the Audit Entry.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationName (String)

    The name of the Organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationResourcePath (URI)

    The HTTP path for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationUrl (URI)

    The HTTP URL for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repository (Repository)

    The repository associated with the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repositoryName (String)

    The name of the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repositoryResourcePath (URI)

    The HTTP path for the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repositoryUrl (URI)

    The HTTP URL for the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    user (User)

    The user affected by the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userLogin (String)

    For actions involving two users, the actor is the initiator and the user is the affected user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userResourcePath (URI)

    The HTTP path for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userUrl (URI)

    The HTTP URL for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n RepoConfigEnableSockpuppetDisallowedAuditEntry\n

    \n

    Audit log entry for a repo.config.enable_sockpuppet_disallowed event.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    action (String!)

    The action name.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actor (AuditEntryActor)

    The user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorIp (String)

    The IP address of the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLocation (ActorLocation)

    A readable representation of the actor's location.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLogin (String)

    The username of the user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorResourcePath (URI)

    The HTTP path for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorUrl (URI)

    The HTTP URL for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (PreciseDateTime!)

    The time the action was initiated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    operationType (OperationType)

    The corresponding operation type for the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organization (Organization)

    The Organization associated with the Audit Entry.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationName (String)

    The name of the Organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationResourcePath (URI)

    The HTTP path for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationUrl (URI)

    The HTTP URL for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repository (Repository)

    The repository associated with the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repositoryName (String)

    The name of the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repositoryResourcePath (URI)

    The HTTP path for the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repositoryUrl (URI)

    The HTTP URL for the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    user (User)

    The user affected by the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userLogin (String)

    For actions involving two users, the actor is the initiator and the user is the affected user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userResourcePath (URI)

    The HTTP path for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userUrl (URI)

    The HTTP URL for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n RepoConfigLockAnonymousGitAccessAuditEntry\n

    \n

    Audit log entry for a repo.config.lock_anonymous_git_access event.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    action (String!)

    The action name.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actor (AuditEntryActor)

    The user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorIp (String)

    The IP address of the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLocation (ActorLocation)

    A readable representation of the actor's location.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLogin (String)

    The username of the user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorResourcePath (URI)

    The HTTP path for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorUrl (URI)

    The HTTP URL for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (PreciseDateTime!)

    The time the action was initiated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    operationType (OperationType)

    The corresponding operation type for the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organization (Organization)

    The Organization associated with the Audit Entry.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationName (String)

    The name of the Organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationResourcePath (URI)

    The HTTP path for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationUrl (URI)

    The HTTP URL for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repository (Repository)

    The repository associated with the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repositoryName (String)

    The name of the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repositoryResourcePath (URI)

    The HTTP path for the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repositoryUrl (URI)

    The HTTP URL for the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    user (User)

    The user affected by the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userLogin (String)

    For actions involving two users, the actor is the initiator and the user is the affected user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userResourcePath (URI)

    The HTTP path for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userUrl (URI)

    The HTTP URL for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n RepoConfigUnlockAnonymousGitAccessAuditEntry\n

    \n

    Audit log entry for a repo.config.unlock_anonymous_git_access event.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    action (String!)

    The action name.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actor (AuditEntryActor)

    The user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorIp (String)

    The IP address of the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLocation (ActorLocation)

    A readable representation of the actor's location.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLogin (String)

    The username of the user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorResourcePath (URI)

    The HTTP path for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorUrl (URI)

    The HTTP URL for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (PreciseDateTime!)

    The time the action was initiated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    operationType (OperationType)

    The corresponding operation type for the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organization (Organization)

    The Organization associated with the Audit Entry.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationName (String)

    The name of the Organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationResourcePath (URI)

    The HTTP path for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationUrl (URI)

    The HTTP URL for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repository (Repository)

    The repository associated with the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repositoryName (String)

    The name of the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repositoryResourcePath (URI)

    The HTTP path for the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repositoryUrl (URI)

    The HTTP URL for the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    user (User)

    The user affected by the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userLogin (String)

    For actions involving two users, the actor is the initiator and the user is the affected user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userResourcePath (URI)

    The HTTP path for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userUrl (URI)

    The HTTP URL for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n RepoCreateAuditEntry\n

    \n

    Audit log entry for a repo.create event.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    action (String!)

    The action name.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actor (AuditEntryActor)

    The user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorIp (String)

    The IP address of the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLocation (ActorLocation)

    A readable representation of the actor's location.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLogin (String)

    The username of the user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorResourcePath (URI)

    The HTTP path for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorUrl (URI)

    The HTTP URL for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (PreciseDateTime!)

    The time the action was initiated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    forkParentName (String)

    The name of the parent repository for this forked repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    forkSourceName (String)

    The name of the root repository for this network.

    \n\n\n\n\n\n\n\n\n\n\n\n

    operationType (OperationType)

    The corresponding operation type for the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organization (Organization)

    The Organization associated with the Audit Entry.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationName (String)

    The name of the Organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationResourcePath (URI)

    The HTTP path for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationUrl (URI)

    The HTTP URL for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repository (Repository)

    The repository associated with the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repositoryName (String)

    The name of the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repositoryResourcePath (URI)

    The HTTP path for the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repositoryUrl (URI)

    The HTTP URL for the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    user (User)

    The user affected by the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userLogin (String)

    For actions involving two users, the actor is the initiator and the user is the affected user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userResourcePath (URI)

    The HTTP path for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userUrl (URI)

    The HTTP URL for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    visibility (RepoCreateAuditEntryVisibility)

    The visibility of the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n RepoDestroyAuditEntry\n

    \n

    Audit log entry for a repo.destroy event.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    action (String!)

    The action name.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actor (AuditEntryActor)

    The user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorIp (String)

    The IP address of the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLocation (ActorLocation)

    A readable representation of the actor's location.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLogin (String)

    The username of the user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorResourcePath (URI)

    The HTTP path for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorUrl (URI)

    The HTTP URL for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (PreciseDateTime!)

    The time the action was initiated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    operationType (OperationType)

    The corresponding operation type for the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organization (Organization)

    The Organization associated with the Audit Entry.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationName (String)

    The name of the Organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationResourcePath (URI)

    The HTTP path for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationUrl (URI)

    The HTTP URL for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repository (Repository)

    The repository associated with the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repositoryName (String)

    The name of the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repositoryResourcePath (URI)

    The HTTP path for the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repositoryUrl (URI)

    The HTTP URL for the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    user (User)

    The user affected by the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userLogin (String)

    For actions involving two users, the actor is the initiator and the user is the affected user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userResourcePath (URI)

    The HTTP path for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userUrl (URI)

    The HTTP URL for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    visibility (RepoDestroyAuditEntryVisibility)

    The visibility of the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n RepoRemoveMemberAuditEntry\n

    \n

    Audit log entry for a repo.remove_member event.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    action (String!)

    The action name.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actor (AuditEntryActor)

    The user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorIp (String)

    The IP address of the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLocation (ActorLocation)

    A readable representation of the actor's location.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLogin (String)

    The username of the user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorResourcePath (URI)

    The HTTP path for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorUrl (URI)

    The HTTP URL for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (PreciseDateTime!)

    The time the action was initiated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    operationType (OperationType)

    The corresponding operation type for the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organization (Organization)

    The Organization associated with the Audit Entry.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationName (String)

    The name of the Organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationResourcePath (URI)

    The HTTP path for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationUrl (URI)

    The HTTP URL for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repository (Repository)

    The repository associated with the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repositoryName (String)

    The name of the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repositoryResourcePath (URI)

    The HTTP path for the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repositoryUrl (URI)

    The HTTP URL for the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    user (User)

    The user affected by the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userLogin (String)

    For actions involving two users, the actor is the initiator and the user is the affected user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userResourcePath (URI)

    The HTTP path for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userUrl (URI)

    The HTTP URL for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    visibility (RepoRemoveMemberAuditEntryVisibility)

    The visibility of the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n RepoRemoveTopicAuditEntry\n

    \n

    Audit log entry for a repo.remove_topic event.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    action (String!)

    The action name.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actor (AuditEntryActor)

    The user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorIp (String)

    The IP address of the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLocation (ActorLocation)

    A readable representation of the actor's location.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLogin (String)

    The username of the user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorResourcePath (URI)

    The HTTP path for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorUrl (URI)

    The HTTP URL for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (PreciseDateTime!)

    The time the action was initiated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    operationType (OperationType)

    The corresponding operation type for the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organization (Organization)

    The Organization associated with the Audit Entry.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationName (String)

    The name of the Organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationResourcePath (URI)

    The HTTP path for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationUrl (URI)

    The HTTP URL for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repository (Repository)

    The repository associated with the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repositoryName (String)

    The name of the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repositoryResourcePath (URI)

    The HTTP path for the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repositoryUrl (URI)

    The HTTP URL for the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    topic (Topic)

    The name of the topic added to the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    topicName (String)

    The name of the topic added to the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    user (User)

    The user affected by the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userLogin (String)

    For actions involving two users, the actor is the initiator and the user is the affected user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userResourcePath (URI)

    The HTTP path for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userUrl (URI)

    The HTTP URL for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n Repository\n

    \n

    A repository contains the content for a project.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    assignableUsers (UserConnection!)

    A list of users that can be assigned to issues in this repository.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    query (String)

    \n

    Filters users with query on user name and login.

    \n\n
    \n\n
    \n\n\n

    branchProtectionRules (BranchProtectionRuleConnection!)

    A list of branch protection rules for this repository.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n\n\n

    codeOfConduct (CodeOfConduct)

    Returns the code of conduct for this repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    collaborators (RepositoryCollaboratorConnection)

    A list of collaborators associated with the repository.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    affiliation (CollaboratorAffiliation)

    \n

    Collaborators affiliation level with a repository.

    \n\n
    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    query (String)

    \n

    Filters users with query on user name and login.

    \n\n
    \n\n
    \n\n\n

    commitComments (CommitCommentConnection!)

    A list of commit comments associated with the repository.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n\n\n

    contactLinks ([RepositoryContactLink!])

    Returns a list of contact links associated to the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    databaseId (Int)

    Identifies the primary key from the database.

    \n\n\n\n\n\n\n\n\n\n\n\n

    defaultBranchRef (Ref)

    The Ref associated with the repository's default branch.

    \n\n\n\n\n\n\n\n\n\n\n\n

    deleteBranchOnMerge (Boolean!)

    Whether or not branches are automatically deleted when merged in this repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    dependencyGraphManifests (DependencyGraphManifestConnection)

    A list of dependency manifests contained in the repository.

    \n\n\n\n\n
    \n

    Preview notice

    \n

    dependencyGraphManifests is available under the Access to a repositories dependency graph preview. During the preview period, the API may change without notice.

    \n
    \n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    dependenciesAfter (String)

    \n

    Cursor to paginate dependencies.

    \n\n
    \n\n
    \n

    dependenciesFirst (Int)

    \n

    Number of dependencies to fetch.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    withDependencies (Boolean)

    \n

    Flag to scope to only manifests with dependencies.

    \n\n
    \n\n
    \n\n\n

    deployKeys (DeployKeyConnection!)

    A list of deploy keys that are on this repository.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n\n\n

    deployments (DeploymentConnection!)

    Deployments associated with the repository.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    environments ([String!])

    \n

    Environments to list deployments for.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (DeploymentOrder)

    \n

    Ordering options for deployments returned from the connection.

    \n\n
    \n\n
    \n\n\n

    description (String)

    The description of the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    descriptionHTML (HTML!)

    The description of the repository rendered to HTML.

    \n\n\n\n\n\n\n\n\n\n\n\n

    diskUsage (Int)

    The number of kilobytes this repository occupies on disk.

    \n\n\n\n\n\n\n\n\n\n\n\n

    forkCount (Int!)

    Returns how many forks there are of this repository in the whole network.

    \n\n\n\n\n\n\n\n\n\n\n\n

    forks (RepositoryConnection!)

    A list of direct forked repositories.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    affiliations ([RepositoryAffiliation])

    \n

    Array of viewer's affiliation options for repositories returned from the\nconnection. For example, OWNER will include only repositories that the\ncurrent viewer owns.

    \n\n
    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    isLocked (Boolean)

    \n

    If non-null, filters repositories according to whether they have been locked.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (RepositoryOrder)

    \n

    Ordering options for repositories returned from the connection.

    \n\n
    \n\n
    \n

    ownerAffiliations ([RepositoryAffiliation])

    \n

    Array of owner's affiliation options for repositories returned from the\nconnection. For example, OWNER will include only repositories that the\norganization or user being viewed owns.

    \n\n
    \n\n
    \n

    privacy (RepositoryPrivacy)

    \n

    If non-null, filters repositories according to privacy.

    \n\n
    \n\n
    \n\n\n

    fundingLinks ([FundingLink!]!)

    The funding links for this repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    hasIssuesEnabled (Boolean!)

    Indicates if the repository has issues feature enabled.

    \n\n\n\n\n\n\n\n\n\n\n\n

    hasProjectsEnabled (Boolean!)

    Indicates if the repository has the Projects feature enabled.

    \n\n\n\n\n\n\n\n\n\n\n\n

    hasWikiEnabled (Boolean!)

    Indicates if the repository has wiki feature enabled.

    \n\n\n\n\n\n\n\n\n\n\n\n

    homepageUrl (URI)

    The repository's URL.

    \n\n\n\n\n\n\n\n\n\n\n\n

    interactionAbility (RepositoryInteractionAbility)

    The interaction ability settings for this repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    isArchived (Boolean!)

    Indicates if the repository is unmaintained.

    \n\n\n\n\n\n\n\n\n\n\n\n

    isBlankIssuesEnabled (Boolean!)

    Returns true if blank issue creation is allowed.

    \n\n\n\n\n\n\n\n\n\n\n\n

    isDisabled (Boolean!)

    Returns whether or not this repository disabled.

    \n\n\n\n\n\n\n\n\n\n\n\n

    isEmpty (Boolean!)

    Returns whether or not this repository is empty.

    \n\n\n\n\n\n\n\n\n\n\n\n

    isFork (Boolean!)

    Identifies if the repository is a fork.

    \n\n\n\n\n\n\n\n\n\n\n\n

    isInOrganization (Boolean!)

    Indicates if a repository is either owned by an organization, or is a private fork of an organization repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    isLocked (Boolean!)

    Indicates if the repository has been locked or not.

    \n\n\n\n\n\n\n\n\n\n\n\n

    isMirror (Boolean!)

    Identifies if the repository is a mirror.

    \n\n\n\n\n\n\n\n\n\n\n\n

    isPrivate (Boolean!)

    Identifies if the repository is private or internal.

    \n\n\n\n\n\n\n\n\n\n\n\n

    isSecurityPolicyEnabled (Boolean)

    Returns true if this repository has a security policy.

    \n\n\n\n\n\n\n\n\n\n\n\n

    isTemplate (Boolean!)

    Identifies if the repository is a template that can be used to generate new repositories.

    \n\n\n\n\n\n\n\n\n\n\n\n

    isUserConfigurationRepository (Boolean!)

    Is this repository a user configuration repository?.

    \n\n\n\n\n\n\n\n\n\n\n\n

    issue (Issue)

    Returns a single issue from the current repository by number.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    number (Int!)

    \n

    The number for the issue to be returned.

    \n\n
    \n\n
    \n\n\n

    issueOrPullRequest (IssueOrPullRequest)

    Returns a single issue-like object from the current repository by number.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    number (Int!)

    \n

    The number for the issue to be returned.

    \n\n
    \n\n
    \n\n\n

    issueTemplates ([IssueTemplate!])

    Returns a list of issue templates associated to the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    issues (IssueConnection!)

    A list of issues that have been opened in the repository.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    filterBy (IssueFilters)

    \n

    Filtering options for issues returned from the connection.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    labels ([String!])

    \n

    A list of label names to filter the pull requests by.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (IssueOrder)

    \n

    Ordering options for issues returned from the connection.

    \n\n
    \n\n
    \n

    states ([IssueState!])

    \n

    A list of states to filter the issues by.

    \n\n
    \n\n
    \n\n\n

    label (Label)

    Returns a single label by name.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    name (String!)

    \n

    Label name.

    \n\n
    \n\n
    \n\n\n

    labels (LabelConnection)

    A list of labels associated with the repository.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (LabelOrder)

    \n

    Ordering options for labels returned from the connection.

    \n\n
    \n\n
    \n

    query (String)

    \n

    If provided, searches labels by name and description.

    \n\n
    \n\n
    \n\n\n

    languages (LanguageConnection)

    A list containing a breakdown of the language composition of the repository.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (LanguageOrder)

    \n

    Order for connection.

    \n\n
    \n\n
    \n\n\n

    latestRelease (Release)

    Get the latest release for the repository if one exists.

    \n\n\n\n\n\n\n\n\n\n\n\n

    licenseInfo (License)

    The license associated with the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    lockReason (RepositoryLockReason)

    The reason the repository has been locked.

    \n\n\n\n\n\n\n\n\n\n\n\n

    mentionableUsers (UserConnection!)

    A list of Users that can be mentioned in the context of the repository.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    query (String)

    \n

    Filters users with query on user name and login.

    \n\n
    \n\n
    \n\n\n

    mergeCommitAllowed (Boolean!)

    Whether or not PRs are merged with a merge commit on this repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    milestone (Milestone)

    Returns a single milestone from the current repository by number.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    number (Int!)

    \n

    The number for the milestone to be returned.

    \n\n
    \n\n
    \n\n\n

    milestones (MilestoneConnection)

    A list of milestones associated with the repository.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (MilestoneOrder)

    \n

    Ordering options for milestones.

    \n\n
    \n\n
    \n

    query (String)

    \n

    Filters milestones with a query on the title.

    \n\n
    \n\n
    \n

    states ([MilestoneState!])

    \n

    Filter by the state of the milestones.

    \n\n
    \n\n
    \n\n\n

    mirrorUrl (URI)

    The repository's original mirror URL.

    \n\n\n\n\n\n\n\n\n\n\n\n

    name (String!)

    The name of the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nameWithOwner (String!)

    The repository's name with owner.

    \n\n\n\n\n\n\n\n\n\n\n\n

    object (GitObject)

    A Git object in the repository.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    expression (String)

    \n

    A Git revision expression suitable for rev-parse.

    \n\n
    \n\n
    \n

    oid (GitObjectID)

    \n

    The Git object ID.

    \n\n
    \n\n
    \n\n\n

    openGraphImageUrl (URI!)

    The image used to represent this repository in Open Graph data.

    \n\n\n\n\n\n\n\n\n\n\n\n

    owner (RepositoryOwner!)

    The User owner of the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    packages (PackageConnection!)

    A list of packages under the owner.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    names ([String])

    \n

    Find packages by their names.

    \n\n
    \n\n
    \n

    orderBy (PackageOrder)

    \n

    Ordering of the returned packages.

    \n\n
    \n\n
    \n

    packageType (PackageType)

    \n

    Filter registry package by type.

    \n\n
    \n\n
    \n

    repositoryId (ID)

    \n

    Find packages in a repository by ID.

    \n\n
    \n\n
    \n\n\n

    parent (Repository)

    The repository parent, if this is a fork.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pinnedIssues (PinnedIssueConnection)

    A list of pinned issues for this repository.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n\n\n

    primaryLanguage (Language)

    The primary language of the repository's code.

    \n\n\n\n\n\n\n\n\n\n\n\n

    project (Project)

    Find project by number.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    number (Int!)

    \n

    The project number to find.

    \n\n
    \n\n
    \n\n\n

    projects (ProjectConnection!)

    A list of projects under the owner.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (ProjectOrder)

    \n

    Ordering options for projects returned from the connection.

    \n\n
    \n\n
    \n

    search (String)

    \n

    Query to search projects by, currently only searching by name.

    \n\n
    \n\n
    \n

    states ([ProjectState!])

    \n

    A list of states to filter the projects by.

    \n\n
    \n\n
    \n\n\n

    projectsResourcePath (URI!)

    The HTTP path listing the repository's projects.

    \n\n\n\n\n\n\n\n\n\n\n\n

    projectsUrl (URI!)

    The HTTP URL listing the repository's projects.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pullRequest (PullRequest)

    Returns a single pull request from the current repository by number.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    number (Int!)

    \n

    The number for the pull request to be returned.

    \n\n
    \n\n
    \n\n\n

    pullRequests (PullRequestConnection!)

    A list of pull requests that have been opened in the repository.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    baseRefName (String)

    \n

    The base ref name to filter the pull requests by.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    headRefName (String)

    \n

    The head ref name to filter the pull requests by.

    \n\n
    \n\n
    \n

    labels ([String!])

    \n

    A list of label names to filter the pull requests by.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (IssueOrder)

    \n

    Ordering options for pull requests returned from the connection.

    \n\n
    \n\n
    \n

    states ([PullRequestState!])

    \n

    A list of states to filter the pull requests by.

    \n\n
    \n\n
    \n\n\n

    pushedAt (DateTime)

    Identifies when the repository was last pushed to.

    \n\n\n\n\n\n\n\n\n\n\n\n

    rebaseMergeAllowed (Boolean!)

    Whether or not rebase-merging is enabled on this repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    ref (Ref)

    Fetch a given ref from the repository.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    qualifiedName (String!)

    \n

    The ref to retrieve. Fully qualified matches are checked in order\n(refs/heads/master) before falling back onto checks for short name matches (master).

    \n\n
    \n\n
    \n\n\n

    refs (RefConnection)

    Fetch a list of refs from the repository.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    direction (OrderDirection)

    \n

    DEPRECATED: use orderBy. The ordering direction.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (RefOrder)

    \n

    Ordering options for refs returned from the connection.

    \n\n
    \n\n
    \n

    query (String)

    \n

    Filters refs with query on name.

    \n\n
    \n\n
    \n

    refPrefix (String!)

    \n

    A ref name prefix like refs/heads/, refs/tags/, etc.

    \n\n
    \n\n
    \n\n\n

    release (Release)

    Lookup a single release given various criteria.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    tagName (String!)

    \n

    The name of the Tag the Release was created from.

    \n\n
    \n\n
    \n\n\n

    releases (ReleaseConnection!)

    List of releases which are dependent on this repository.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (ReleaseOrder)

    \n

    Order for connection.

    \n\n
    \n\n
    \n\n\n

    repositoryTopics (RepositoryTopicConnection!)

    A list of applied repository-topic associations for this repository.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n\n\n

    resourcePath (URI!)

    The HTTP path for this repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    securityPolicyUrl (URI)

    The security policy URL.

    \n\n\n\n\n\n\n\n\n\n\n\n

    shortDescriptionHTML (HTML!)

    A description of the repository, rendered to HTML without any links in it.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    limit (Int)

    \n

    How many characters to return.

    \n

    The default value is 200.

    \n
    \n\n
    \n\n\n

    squashMergeAllowed (Boolean!)

    Whether or not squash-merging is enabled on this repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    sshUrl (GitSSHRemote!)

    The SSH URL to clone this repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    stargazerCount (Int!)

    Returns a count of how many stargazers there are on this object.

    \n\n\n\n\n\n\n\n\n\n\n\n

    stargazers (StargazerConnection!)

    A list of users who have starred this starrable.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (StarOrder)

    \n

    Order for connection.

    \n\n
    \n\n
    \n\n\n

    submodules (SubmoduleConnection!)

    Returns a list of all submodules in this repository parsed from the\n.gitmodules file as of the default branch's HEAD commit.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n\n\n

    tempCloneToken (String)

    Temporary authentication token for cloning this repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    templateRepository (Repository)

    The repository from which this repository was generated, if any.

    \n\n\n\n\n\n\n\n\n\n\n\n

    updatedAt (DateTime!)

    Identifies the date and time when the object was last updated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    url (URI!)

    The HTTP URL for this repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    usesCustomOpenGraphImage (Boolean!)

    Whether this repository has a custom image to use with Open Graph as opposed to being represented by the owner's avatar.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerCanAdminister (Boolean!)

    Indicates whether the viewer has admin permissions on this repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerCanCreateProjects (Boolean!)

    Can the current viewer create new projects on this owner.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerCanSubscribe (Boolean!)

    Check if the viewer is able to change their subscription status for the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerCanUpdateTopics (Boolean!)

    Indicates whether the viewer can update the topics of this repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerDefaultCommitEmail (String)

    The last commit email for the viewer.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerDefaultMergeMethod (PullRequestMergeMethod!)

    The last used merge method by the viewer or the default for the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerHasStarred (Boolean!)

    Returns a boolean indicating whether the viewing user has starred this starrable.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerPermission (RepositoryPermission)

    The users permission level on the repository. Will return null if authenticated as an GitHub App.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerPossibleCommitEmails ([String!])

    A list of emails this viewer can commit with.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerSubscription (SubscriptionState)

    Identifies if the viewer is watching, not watching, or ignoring the subscribable entity.

    \n\n\n\n\n\n\n\n\n\n\n\n

    vulnerabilityAlerts (RepositoryVulnerabilityAlertConnection)

    A list of vulnerability alerts that are on this repository.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n\n\n

    watchers (UserConnection!)

    A list of users watching the repository.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n RepositoryCollaboratorConnection\n

    \n

    The connection type for User.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([RepositoryCollaboratorEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([User])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n RepositoryCollaboratorEdge\n

    \n

    Represents a user who is a collaborator of a repository.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    permission (RepositoryPermission!)

    The permission the user has on the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    permissionSources ([PermissionSource!])

    A list of sources for the user's access to the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n RepositoryConnection\n

    \n

    A list of repositories owned by the subject.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([RepositoryEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([Repository])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalDiskUsage (Int!)

    The total size in kilobytes of all repositories in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n RepositoryContactLink\n

    \n

    A repository contact link.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    about (String!)

    The contact link purpose.

    \n\n\n\n\n\n\n\n\n\n\n\n

    name (String!)

    The contact link name.

    \n\n\n\n\n\n\n\n\n\n\n\n

    url (URI!)

    The contact link URL.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n RepositoryEdge\n

    \n

    An edge in a connection.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (Repository)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n RepositoryInteractionAbility\n

    \n

    Repository interaction limit that applies to this object.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    expiresAt (DateTime)

    The time the currently active limit expires.

    \n\n\n\n\n\n\n\n\n\n\n\n

    limit (RepositoryInteractionLimit!)

    The current limit that is enabled on this object.

    \n\n\n\n\n\n\n\n\n\n\n\n

    origin (RepositoryInteractionLimitOrigin!)

    The origin of the currently active interaction limit.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n RepositoryInvitation\n

    \n

    An invitation for a user to be added to a repository.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    email (String)

    The email address that received the invitation.

    \n\n\n\n\n\n\n\n\n\n\n\n

    invitee (User)

    The user who received the invitation.

    \n\n\n\n\n\n\n\n\n\n\n\n

    inviter (User!)

    The user who created the invitation.

    \n\n\n\n\n\n\n\n\n\n\n\n

    permalink (URI!)

    The permalink for this repository invitation.

    \n\n\n\n\n\n\n\n\n\n\n\n

    permission (RepositoryPermission!)

    The permission granted on this repository by this invitation.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repository (RepositoryInfo)

    The Repository the user is invited to.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n RepositoryInvitationConnection\n

    \n

    The connection type for RepositoryInvitation.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([RepositoryInvitationEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([RepositoryInvitation])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n RepositoryInvitationEdge\n

    \n

    An edge in a connection.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (RepositoryInvitation)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n RepositoryTopic\n

    \n

    A repository-topic connects a repository to a topic.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    resourcePath (URI!)

    The HTTP path for this repository-topic.

    \n\n\n\n\n\n\n\n\n\n\n\n

    topic (Topic!)

    The topic.

    \n\n\n\n\n\n\n\n\n\n\n\n

    url (URI!)

    The HTTP URL for this repository-topic.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n RepositoryTopicConnection\n

    \n

    The connection type for RepositoryTopic.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([RepositoryTopicEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([RepositoryTopic])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n RepositoryTopicEdge\n

    \n

    An edge in a connection.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (RepositoryTopic)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n RepositoryVisibilityChangeDisableAuditEntry\n

    \n

    Audit log entry for a repository_visibility_change.disable event.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    action (String!)

    The action name.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actor (AuditEntryActor)

    The user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorIp (String)

    The IP address of the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLocation (ActorLocation)

    A readable representation of the actor's location.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLogin (String)

    The username of the user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorResourcePath (URI)

    The HTTP path for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorUrl (URI)

    The HTTP URL for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (PreciseDateTime!)

    The time the action was initiated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    enterpriseResourcePath (URI)

    The HTTP path for this enterprise.

    \n\n\n\n\n\n\n\n\n\n\n\n

    enterpriseSlug (String)

    The slug of the enterprise.

    \n\n\n\n\n\n\n\n\n\n\n\n

    enterpriseUrl (URI)

    The HTTP URL for this enterprise.

    \n\n\n\n\n\n\n\n\n\n\n\n

    operationType (OperationType)

    The corresponding operation type for the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organization (Organization)

    The Organization associated with the Audit Entry.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationName (String)

    The name of the Organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationResourcePath (URI)

    The HTTP path for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationUrl (URI)

    The HTTP URL for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    user (User)

    The user affected by the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userLogin (String)

    For actions involving two users, the actor is the initiator and the user is the affected user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userResourcePath (URI)

    The HTTP path for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userUrl (URI)

    The HTTP URL for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n RepositoryVisibilityChangeEnableAuditEntry\n

    \n

    Audit log entry for a repository_visibility_change.enable event.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    action (String!)

    The action name.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actor (AuditEntryActor)

    The user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorIp (String)

    The IP address of the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLocation (ActorLocation)

    A readable representation of the actor's location.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLogin (String)

    The username of the user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorResourcePath (URI)

    The HTTP path for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorUrl (URI)

    The HTTP URL for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (PreciseDateTime!)

    The time the action was initiated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    enterpriseResourcePath (URI)

    The HTTP path for this enterprise.

    \n\n\n\n\n\n\n\n\n\n\n\n

    enterpriseSlug (String)

    The slug of the enterprise.

    \n\n\n\n\n\n\n\n\n\n\n\n

    enterpriseUrl (URI)

    The HTTP URL for this enterprise.

    \n\n\n\n\n\n\n\n\n\n\n\n

    operationType (OperationType)

    The corresponding operation type for the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organization (Organization)

    The Organization associated with the Audit Entry.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationName (String)

    The name of the Organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationResourcePath (URI)

    The HTTP path for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationUrl (URI)

    The HTTP URL for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    user (User)

    The user affected by the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userLogin (String)

    For actions involving two users, the actor is the initiator and the user is the affected user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userResourcePath (URI)

    The HTTP path for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userUrl (URI)

    The HTTP URL for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n RepositoryVulnerabilityAlert\n

    \n

    A alert for a repository with an affected vulnerability.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    createdAt (DateTime!)

    When was the alert created?.

    \n\n\n\n\n\n\n\n\n\n\n\n

    dismissReason (String)

    The reason the alert was dismissed.

    \n\n\n\n\n\n\n\n\n\n\n\n

    dismissedAt (DateTime)

    When was the alert dismissed?.

    \n\n\n\n\n\n\n\n\n\n\n\n

    dismisser (User)

    The user who dismissed the alert.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repository (Repository!)

    The associated repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    securityAdvisory (SecurityAdvisory)

    The associated security advisory.

    \n\n\n\n\n\n\n\n\n\n\n\n

    securityVulnerability (SecurityVulnerability)

    The associated security vulnerability.

    \n\n\n\n\n\n\n\n\n\n\n\n

    vulnerableManifestFilename (String!)

    The vulnerable manifest filename.

    \n\n\n\n\n\n\n\n\n\n\n\n

    vulnerableManifestPath (String!)

    The vulnerable manifest path.

    \n\n\n\n\n\n\n\n\n\n\n\n

    vulnerableRequirements (String)

    The vulnerable requirements.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n RepositoryVulnerabilityAlertConnection\n

    \n

    The connection type for RepositoryVulnerabilityAlert.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([RepositoryVulnerabilityAlertEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([RepositoryVulnerabilityAlert])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n RepositoryVulnerabilityAlertEdge\n

    \n

    An edge in a connection.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (RepositoryVulnerabilityAlert)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n RestrictedContribution\n

    \n

    Represents a private contribution a user made on GitHub.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    isRestricted (Boolean!)

    Whether this contribution is associated with a record you do not have access to. For\nexample, your own 'first issue' contribution may have been made on a repository you can no\nlonger access.

    \n\n\n\n\n\n\n\n\n\n\n\n

    occurredAt (DateTime!)

    When this contribution was made.

    \n\n\n\n\n\n\n\n\n\n\n\n

    resourcePath (URI!)

    The HTTP path for this contribution.

    \n\n\n\n\n\n\n\n\n\n\n\n

    url (URI!)

    The HTTP URL for this contribution.

    \n\n\n\n\n\n\n\n\n\n\n\n

    user (User!)

    The user who made this contribution.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n ReviewDismissalAllowance\n

    \n

    A team or user who has the ability to dismiss a review on a protected branch.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    actor (ReviewDismissalAllowanceActor)

    The actor that can dismiss.

    \n\n\n\n\n\n\n\n\n\n\n\n

    branchProtectionRule (BranchProtectionRule)

    Identifies the branch protection rule associated with the allowed user or team.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n ReviewDismissalAllowanceConnection\n

    \n

    The connection type for ReviewDismissalAllowance.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([ReviewDismissalAllowanceEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([ReviewDismissalAllowance])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n ReviewDismissalAllowanceEdge\n

    \n

    An edge in a connection.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (ReviewDismissalAllowance)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n ReviewDismissedEvent\n

    \n

    Represents areview_dismissedevent on a given issue or pull request.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    actor (Actor)

    Identifies the actor who performed the event.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    databaseId (Int)

    Identifies the primary key from the database.

    \n\n\n\n\n\n\n\n\n\n\n\n

    dismissalMessage (String)

    Identifies the optional message associated with thereview_dismissedevent.

    \n\n\n\n\n\n\n\n\n\n\n\n

    dismissalMessageHTML (String)

    Identifies the optional message associated with the event, rendered to HTML.

    \n\n\n\n\n\n\n\n\n\n\n\n

    previousReviewState (PullRequestReviewState!)

    Identifies the previous state of the review with thereview_dismissedevent.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pullRequest (PullRequest!)

    PullRequest referenced by event.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pullRequestCommit (PullRequestCommit)

    Identifies the commit which caused the review to become stale.

    \n\n\n\n\n\n\n\n\n\n\n\n

    resourcePath (URI!)

    The HTTP path for this review dismissed event.

    \n\n\n\n\n\n\n\n\n\n\n\n

    review (PullRequestReview)

    Identifies the review associated with thereview_dismissedevent.

    \n\n\n\n\n\n\n\n\n\n\n\n

    url (URI!)

    The HTTP URL for this review dismissed event.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n ReviewRequest\n

    \n

    A request for a user to review a pull request.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    asCodeOwner (Boolean!)

    Whether this request was created for a code owner.

    \n\n\n\n\n\n\n\n\n\n\n\n

    databaseId (Int)

    Identifies the primary key from the database.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pullRequest (PullRequest!)

    Identifies the pull request associated with this review request.

    \n\n\n\n\n\n\n\n\n\n\n\n

    requestedReviewer (RequestedReviewer)

    The reviewer that is requested.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n ReviewRequestConnection\n

    \n

    The connection type for ReviewRequest.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([ReviewRequestEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([ReviewRequest])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n ReviewRequestEdge\n

    \n

    An edge in a connection.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (ReviewRequest)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n ReviewRequestRemovedEvent\n

    \n

    Represents anreview_request_removedevent on a given pull request.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    actor (Actor)

    Identifies the actor who performed the event.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pullRequest (PullRequest!)

    PullRequest referenced by event.

    \n\n\n\n\n\n\n\n\n\n\n\n

    requestedReviewer (RequestedReviewer)

    Identifies the reviewer whose review request was removed.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n ReviewRequestedEvent\n

    \n

    Represents anreview_requestedevent on a given pull request.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    actor (Actor)

    Identifies the actor who performed the event.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pullRequest (PullRequest!)

    PullRequest referenced by event.

    \n\n\n\n\n\n\n\n\n\n\n\n

    requestedReviewer (RequestedReviewer)

    Identifies the reviewer whose review was requested.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n ReviewStatusHovercardContext\n

    \n

    A hovercard context with a message describing the current code review state of the pull\nrequest.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    message (String!)

    A string describing this context.

    \n\n\n\n\n\n\n\n\n\n\n\n

    octicon (String!)

    An octicon to accompany this context.

    \n\n\n\n\n\n\n\n\n\n\n\n

    reviewDecision (PullRequestReviewDecision)

    The current status of the pull request with respect to code review.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n SavedReply\n

    \n

    A Saved Reply is text a user can use to reply quickly.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    body (String!)

    The body of the saved reply.

    \n\n\n\n\n\n\n\n\n\n\n\n

    bodyHTML (HTML!)

    The saved reply body rendered to HTML.

    \n\n\n\n\n\n\n\n\n\n\n\n

    databaseId (Int)

    Identifies the primary key from the database.

    \n\n\n\n\n\n\n\n\n\n\n\n

    title (String!)

    The title of the saved reply.

    \n\n\n\n\n\n\n\n\n\n\n\n

    user (Actor)

    The user that saved this reply.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n SavedReplyConnection\n

    \n

    The connection type for SavedReply.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([SavedReplyEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([SavedReply])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n SavedReplyEdge\n

    \n

    An edge in a connection.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (SavedReply)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n SearchResultItemConnection\n

    \n

    A list of results that matched against a search query.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    codeCount (Int!)

    The number of pieces of code that matched the search query.

    \n\n\n\n\n\n\n\n\n\n\n\n

    edges ([SearchResultItemEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    issueCount (Int!)

    The number of issues that matched the search query.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([SearchResultItem])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repositoryCount (Int!)

    The number of repositories that matched the search query.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userCount (Int!)

    The number of users that matched the search query.

    \n\n\n\n\n\n\n\n\n\n\n\n

    wikiCount (Int!)

    The number of wiki pages that matched the search query.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n SearchResultItemEdge\n

    \n

    An edge in a connection.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (SearchResultItem)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n

    textMatches ([TextMatch])

    Text matches on the result found.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n SecurityAdvisory\n

    \n

    A GitHub Security Advisory.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cvss (CVSS!)

    The CVSS associated with this advisory.

    \n\n\n\n\n\n\n\n\n\n\n\n

    cwes (CWEConnection!)

    CWEs associated with this Advisory.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n\n\n

    databaseId (Int)

    Identifies the primary key from the database.

    \n\n\n\n\n\n\n\n\n\n\n\n

    description (String!)

    This is a long plaintext description of the advisory.

    \n\n\n\n\n\n\n\n\n\n\n\n

    ghsaId (String!)

    The GitHub Security Advisory ID.

    \n\n\n\n\n\n\n\n\n\n\n\n

    identifiers ([SecurityAdvisoryIdentifier!]!)

    A list of identifiers for this advisory.

    \n\n\n\n\n\n\n\n\n\n\n\n

    notificationsPermalink (URI)

    The permalink for the advisory's dependabot alerts page.

    \n\n\n\n\n\n\n\n\n\n\n\n

    origin (String!)

    The organization that originated the advisory.

    \n\n\n\n\n\n\n\n\n\n\n\n

    permalink (URI)

    The permalink for the advisory.

    \n\n\n\n\n\n\n\n\n\n\n\n

    publishedAt (DateTime!)

    When the advisory was published.

    \n\n\n\n\n\n\n\n\n\n\n\n

    references ([SecurityAdvisoryReference!]!)

    A list of references for this advisory.

    \n\n\n\n\n\n\n\n\n\n\n\n

    severity (SecurityAdvisorySeverity!)

    The severity of the advisory.

    \n\n\n\n\n\n\n\n\n\n\n\n

    summary (String!)

    A short plaintext summary of the advisory.

    \n\n\n\n\n\n\n\n\n\n\n\n

    updatedAt (DateTime!)

    When the advisory was last updated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    vulnerabilities (SecurityVulnerabilityConnection!)

    Vulnerabilities associated with this Advisory.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    ecosystem (SecurityAdvisoryEcosystem)

    \n

    An ecosystem to filter vulnerabilities by.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (SecurityVulnerabilityOrder)

    \n

    Ordering options for the returned topics.

    \n\n
    \n\n
    \n

    package (String)

    \n

    A package name to filter vulnerabilities by.

    \n\n
    \n\n
    \n

    severities ([SecurityAdvisorySeverity!])

    \n

    A list of severities to filter vulnerabilities by.

    \n\n
    \n\n
    \n\n\n

    withdrawnAt (DateTime)

    When the advisory was withdrawn, if it has been withdrawn.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n SecurityAdvisoryConnection\n

    \n

    The connection type for SecurityAdvisory.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([SecurityAdvisoryEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([SecurityAdvisory])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n SecurityAdvisoryEdge\n

    \n

    An edge in a connection.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (SecurityAdvisory)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n SecurityAdvisoryIdentifier\n

    \n

    A GitHub Security Advisory Identifier.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    type (String!)

    The identifier type, e.g. GHSA, CVE.

    \n\n\n\n\n\n\n\n\n\n\n\n

    value (String!)

    The identifier.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n SecurityAdvisoryPackage\n

    \n

    An individual package.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    ecosystem (SecurityAdvisoryEcosystem!)

    The ecosystem the package belongs to, e.g. RUBYGEMS, NPM.

    \n\n\n\n\n\n\n\n\n\n\n\n

    name (String!)

    The package name.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n SecurityAdvisoryPackageVersion\n

    \n

    An individual package version.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    identifier (String!)

    The package name or version.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n SecurityAdvisoryReference\n

    \n

    A GitHub Security Advisory Reference.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    url (URI!)

    A publicly accessible reference.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n SecurityVulnerability\n

    \n

    An individual vulnerability within an Advisory.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    advisory (SecurityAdvisory!)

    The Advisory associated with this Vulnerability.

    \n\n\n\n\n\n\n\n\n\n\n\n

    firstPatchedVersion (SecurityAdvisoryPackageVersion)

    The first version containing a fix for the vulnerability.

    \n\n\n\n\n\n\n\n\n\n\n\n

    package (SecurityAdvisoryPackage!)

    A description of the vulnerable package.

    \n\n\n\n\n\n\n\n\n\n\n\n

    severity (SecurityAdvisorySeverity!)

    The severity of the vulnerability within this package.

    \n\n\n\n\n\n\n\n\n\n\n\n

    updatedAt (DateTime!)

    When the vulnerability was last updated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    vulnerableVersionRange (String!)

    A string that describes the vulnerable package versions.\nThis string follows a basic syntax with a few forms.

    \n
      \n
    • = 0.2.0 denotes a single vulnerable version.
    • \n
    • <= 1.0.8 denotes a version range up to and including the specified version
    • \n
    • < 0.1.11 denotes a version range up to, but excluding, the specified version
    • \n
    • >= 4.3.0, < 4.3.5 denotes a version range with a known minimum and maximum version.
    • \n
    • >= 0.0.1 denotes a version range with a known minimum, but no known maximum.
    • \n

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n SecurityVulnerabilityConnection\n

    \n

    The connection type for SecurityVulnerability.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([SecurityVulnerabilityEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([SecurityVulnerability])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n SecurityVulnerabilityEdge\n

    \n

    An edge in a connection.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (SecurityVulnerability)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n SmimeSignature\n

    \n

    Represents an S/MIME signature on a Commit or Tag.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    email (String!)

    Email used to sign this object.

    \n\n\n\n\n\n\n\n\n\n\n\n

    isValid (Boolean!)

    True if the signature is valid and verified by GitHub.

    \n\n\n\n\n\n\n\n\n\n\n\n

    payload (String!)

    Payload for GPG signing object. Raw ODB object without the signature header.

    \n\n\n\n\n\n\n\n\n\n\n\n

    signature (String!)

    ASCII-armored signature header from object.

    \n\n\n\n\n\n\n\n\n\n\n\n

    signer (User)

    GitHub user corresponding to the email signing this commit.

    \n\n\n\n\n\n\n\n\n\n\n\n

    state (GitSignatureState!)

    The state of this signature. VALID if signature is valid and verified by\nGitHub, otherwise represents reason why signature is considered invalid.

    \n\n\n\n\n\n\n\n\n\n\n\n

    wasSignedByGitHub (Boolean!)

    True if the signature was made with GitHub's signing key.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n SponsorableItemConnection\n

    \n

    The connection type for SponsorableItem.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([SponsorableItemEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([SponsorableItem])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n SponsorableItemEdge\n

    \n

    An edge in a connection.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (SponsorableItem)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n SponsorsGoal\n

    \n

    A goal associated with a GitHub Sponsors listing, representing a target the sponsored maintainer would like to attain.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    description (String)

    A description of the goal from the maintainer.

    \n\n\n\n\n\n\n\n\n\n\n\n

    kind (SponsorsGoalKind!)

    What the objective of this goal is.

    \n\n\n\n\n\n\n\n\n\n\n\n

    percentComplete (Int!)

    The percentage representing how complete this goal is, between 0-100.

    \n\n\n\n\n\n\n\n\n\n\n\n

    targetValue (Int!)

    What the goal amount is. Represents a dollar amount for monthly sponsorship\namount goals. Represents a count of unique sponsors for total sponsors count goals.

    \n\n\n\n\n\n\n\n\n\n\n\n

    title (String!)

    A brief summary of the kind and target value of this goal.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n SponsorsListing\n

    \n

    A GitHub Sponsors listing.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    activeGoal (SponsorsGoal)

    The current goal the maintainer is trying to reach with GitHub Sponsors, if any.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    fullDescription (String!)

    The full description of the listing.

    \n\n\n\n\n\n\n\n\n\n\n\n

    fullDescriptionHTML (HTML!)

    The full description of the listing rendered to HTML.

    \n\n\n\n\n\n\n\n\n\n\n\n

    name (String!)

    The listing's full name.

    \n\n\n\n\n\n\n\n\n\n\n\n

    shortDescription (String!)

    The short description of the listing.

    \n\n\n\n\n\n\n\n\n\n\n\n

    slug (String!)

    The short name of the listing.

    \n\n\n\n\n\n\n\n\n\n\n\n

    tiers (SponsorsTierConnection)

    The published tiers for this GitHub Sponsors listing.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (SponsorsTierOrder)

    \n

    Ordering options for Sponsors tiers returned from the connection.

    \n\n
    \n\n
    \n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n SponsorsTier\n

    \n

    A GitHub Sponsors tier associated with a GitHub Sponsors listing.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    adminInfo (SponsorsTierAdminInfo)

    SponsorsTier information only visible to users that can administer the associated Sponsors listing.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    description (String!)

    The description of the tier.

    \n\n\n\n\n\n\n\n\n\n\n\n

    descriptionHTML (HTML!)

    The tier description rendered to HTML.

    \n\n\n\n\n\n\n\n\n\n\n\n

    monthlyPriceInCents (Int!)

    How much this tier costs per month in cents.

    \n\n\n\n\n\n\n\n\n\n\n\n

    monthlyPriceInDollars (Int!)

    How much this tier costs per month in dollars.

    \n\n\n\n\n\n\n\n\n\n\n\n

    name (String!)

    The name of the tier.

    \n\n\n\n\n\n\n\n\n\n\n\n

    sponsorsListing (SponsorsListing!)

    The sponsors listing that this tier belongs to.

    \n\n\n\n\n\n\n\n\n\n\n\n

    updatedAt (DateTime!)

    Identifies the date and time when the object was last updated.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n SponsorsTierAdminInfo\n

    \n

    SponsorsTier information only visible to users that can administer the associated Sponsors listing.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    sponsorships (SponsorshipConnection!)

    The sponsorships associated with this tier.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    includePrivate (Boolean)

    \n

    Whether or not to include private sponsorships in the result set.

    \n

    The default value is false.

    \n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (SponsorshipOrder)

    \n

    Ordering options for sponsorships returned from this connection. If left\nblank, the sponsorships will be ordered based on relevancy to the viewer.

    \n\n
    \n\n
    \n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n SponsorsTierConnection\n

    \n

    The connection type for SponsorsTier.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([SponsorsTierEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([SponsorsTier])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n SponsorsTierEdge\n

    \n

    An edge in a connection.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (SponsorsTier)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n Sponsorship\n

    \n

    A sponsorship relationship between a sponsor and a maintainer.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    maintainer (User!)

    The entity that is being sponsored.

    \n\n\n\n\n\n\n
    \n

    Deprecation notice

    \n

    maintainer is deprecated.

    Sponsorship.maintainer will be removed. Use Sponsorship.sponsorable instead. Removal on 2020-04-01 UTC.

    \n
    \n\n\n\n\n\n\n

    privacyLevel (SponsorshipPrivacy!)

    The privacy level for this sponsorship.

    \n\n\n\n\n\n\n\n\n\n\n\n

    sponsor (User)

    The user that is sponsoring. Returns null if the sponsorship is private or if sponsor is not a user.

    \n\n\n\n\n\n\n
    \n

    Deprecation notice

    \n

    sponsor is deprecated.

    Sponsorship.sponsor will be removed. Use Sponsorship.sponsorEntity instead. Removal on 2020-10-01 UTC.

    \n
    \n\n\n\n\n\n\n

    sponsorEntity (Sponsor)

    The user or organization that is sponsoring, if you have permission to view them.

    \n\n\n\n\n\n\n\n\n\n\n\n

    sponsorable (Sponsorable!)

    The entity that is being sponsored.

    \n\n\n\n\n\n\n\n\n\n\n\n

    tier (SponsorsTier)

    The associated sponsorship tier.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n SponsorshipConnection\n

    \n

    The connection type for Sponsorship.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([SponsorshipEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([Sponsorship])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n SponsorshipEdge\n

    \n

    An edge in a connection.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (Sponsorship)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n StargazerConnection\n

    \n

    The connection type for User.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([StargazerEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([User])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n StargazerEdge\n

    \n

    Represents a user that's starred a repository.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    starredAt (DateTime!)

    Identifies when the item was starred.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n StarredRepositoryConnection\n

    \n

    The connection type for Repository.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([StarredRepositoryEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    isOverLimit (Boolean!)

    Is the list of stars for this user truncated? This is true for users that have many stars.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([Repository])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n StarredRepositoryEdge\n

    \n

    Represents a starred repository.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    starredAt (DateTime!)

    Identifies when the item was starred.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n Status\n

    \n

    Represents a commit status.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    combinedContexts (StatusCheckRollupContextConnection!)

    A list of status contexts and check runs for this commit.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n\n\n

    commit (Commit)

    The commit this status is attached to.

    \n\n\n\n\n\n\n\n\n\n\n\n

    context (StatusContext)

    Looks up an individual status context by context name.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    name (String!)

    \n

    The context name.

    \n\n
    \n\n
    \n\n\n

    contexts ([StatusContext!]!)

    The individual status contexts for this commit.

    \n\n\n\n\n\n\n\n\n\n\n\n

    state (StatusState!)

    The combined commit status.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n StatusCheckRollup\n

    \n

    Represents the rollup for both the check runs and status for a commit.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    commit (Commit)

    The commit the status and check runs are attached to.

    \n\n\n\n\n\n\n\n\n\n\n\n

    contexts (StatusCheckRollupContextConnection!)

    A list of status contexts and check runs for this commit.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n\n\n

    state (StatusState!)

    The combined status for the commit.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n StatusCheckRollupContextConnection\n

    \n

    The connection type for StatusCheckRollupContext.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([StatusCheckRollupContextEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([StatusCheckRollupContext])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n StatusCheckRollupContextEdge\n

    \n

    An edge in a connection.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (StatusCheckRollupContext)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n StatusContext\n

    \n

    Represents an individual commit status context.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    avatarUrl (URI)

    The avatar of the OAuth application or the user that created the status.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    size (Int)

    \n

    The size of the resulting square image.

    \n

    The default value is 40.

    \n
    \n\n
    \n\n\n

    commit (Commit)

    This commit this status context is attached to.

    \n\n\n\n\n\n\n\n\n\n\n\n

    context (String!)

    The name of this status context.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    creator (Actor)

    The actor who created this status context.

    \n\n\n\n\n\n\n\n\n\n\n\n

    description (String)

    The description for this status context.

    \n\n\n\n\n\n\n\n\n\n\n\n

    isRequired (Boolean!)

    Whether this is required to pass before merging for a specific pull request.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    pullRequestId (ID)

    \n

    The id of the pull request this is required for.

    \n\n
    \n\n
    \n

    pullRequestNumber (Int)

    \n

    The number of the pull request this is required for.

    \n\n
    \n\n
    \n\n\n

    state (StatusState!)

    The state of this status context.

    \n\n\n\n\n\n\n\n\n\n\n\n

    targetUrl (URI)

    The URL for this status context.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n Submodule\n

    \n

    A pointer to a repository at a specific revision embedded inside another repository.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    branch (String)

    The branch of the upstream submodule for tracking updates.

    \n\n\n\n\n\n\n\n\n\n\n\n

    gitUrl (URI!)

    The git URL of the submodule repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    name (String!)

    The name of the submodule in .gitmodules.

    \n\n\n\n\n\n\n\n\n\n\n\n

    path (String!)

    The path in the superproject that this submodule is located in.

    \n\n\n\n\n\n\n\n\n\n\n\n

    subprojectCommitOid (GitObjectID)

    The commit revision of the subproject repository being tracked by the submodule.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n SubmoduleConnection\n

    \n

    The connection type for Submodule.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([SubmoduleEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([Submodule])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n SubmoduleEdge\n

    \n

    An edge in a connection.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (Submodule)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n SubscribedEvent\n

    \n

    Represents asubscribedevent on a given Subscribable.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    actor (Actor)

    Identifies the actor who performed the event.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    subscribable (Subscribable!)

    Object referenced by event.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n SuggestedReviewer\n

    \n

    A suggestion to review a pull request based on a user's commit history and review comments.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    isAuthor (Boolean!)

    Is this suggestion based on past commits?.

    \n\n\n\n\n\n\n\n\n\n\n\n

    isCommenter (Boolean!)

    Is this suggestion based on past review comments?.

    \n\n\n\n\n\n\n\n\n\n\n\n

    reviewer (User!)

    Identifies the user suggested to review the pull request.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n Tag\n

    \n

    Represents a Git tag.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    abbreviatedOid (String!)

    An abbreviated version of the Git object ID.

    \n\n\n\n\n\n\n\n\n\n\n\n

    commitResourcePath (URI!)

    The HTTP path for this Git object.

    \n\n\n\n\n\n\n\n\n\n\n\n

    commitUrl (URI!)

    The HTTP URL for this Git object.

    \n\n\n\n\n\n\n\n\n\n\n\n

    message (String)

    The Git tag message.

    \n\n\n\n\n\n\n\n\n\n\n\n

    name (String!)

    The Git tag name.

    \n\n\n\n\n\n\n\n\n\n\n\n

    oid (GitObjectID!)

    The Git object ID.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repository (Repository!)

    The Repository the Git object belongs to.

    \n\n\n\n\n\n\n\n\n\n\n\n

    tagger (GitActor)

    Details about the tag author.

    \n\n\n\n\n\n\n\n\n\n\n\n

    target (GitObject!)

    The Git object the tag points to.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n Team\n

    \n

    A team of users in an organization.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    ancestors (TeamConnection!)

    A list of teams that are ancestors of this team.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n\n\n

    avatarUrl (URI)

    A URL pointing to the team's avatar.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    size (Int)

    \n

    The size in pixels of the resulting square image.

    \n

    The default value is 400.

    \n
    \n\n
    \n\n\n

    childTeams (TeamConnection!)

    List of child teams belonging to this team.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    immediateOnly (Boolean)

    \n

    Whether to list immediate child teams or all descendant child teams.

    \n

    The default value is true.

    \n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (TeamOrder)

    \n

    Order for connection.

    \n\n
    \n\n
    \n

    userLogins ([String!])

    \n

    User logins to filter by.

    \n\n
    \n\n
    \n\n\n

    combinedSlug (String!)

    The slug corresponding to the organization and team.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    databaseId (Int)

    Identifies the primary key from the database.

    \n\n\n\n\n\n\n\n\n\n\n\n

    description (String)

    The description of the team.

    \n\n\n\n\n\n\n\n\n\n\n\n

    discussion (TeamDiscussion)

    Find a team discussion by its number.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    number (Int!)

    \n

    The sequence number of the discussion to find.

    \n\n
    \n\n
    \n\n\n

    discussions (TeamDiscussionConnection!)

    A list of team discussions.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    isPinned (Boolean)

    \n

    If provided, filters discussions according to whether or not they are pinned.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (TeamDiscussionOrder)

    \n

    Order for connection.

    \n\n
    \n\n
    \n\n\n

    discussionsResourcePath (URI!)

    The HTTP path for team discussions.

    \n\n\n\n\n\n\n\n\n\n\n\n

    discussionsUrl (URI!)

    The HTTP URL for team discussions.

    \n\n\n\n\n\n\n\n\n\n\n\n

    editTeamResourcePath (URI!)

    The HTTP path for editing this team.

    \n\n\n\n\n\n\n\n\n\n\n\n

    editTeamUrl (URI!)

    The HTTP URL for editing this team.

    \n\n\n\n\n\n\n\n\n\n\n\n

    invitations (OrganizationInvitationConnection)

    A list of pending invitations for users to this team.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n\n\n

    memberStatuses (UserStatusConnection!)

    Get the status messages members of this entity have set that are either public or visible only to the organization.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (UserStatusOrder)

    \n

    Ordering options for user statuses returned from the connection.

    \n\n
    \n\n
    \n\n\n

    members (TeamMemberConnection!)

    A list of users who are members of this team.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    membership (TeamMembershipType)

    \n

    Filter by membership type.

    \n

    The default value is ALL.

    \n
    \n\n
    \n

    orderBy (TeamMemberOrder)

    \n

    Order for the connection.

    \n\n
    \n\n
    \n

    query (String)

    \n

    The search string to look for.

    \n\n
    \n\n
    \n

    role (TeamMemberRole)

    \n

    Filter by team member role.

    \n\n
    \n\n
    \n\n\n

    membersResourcePath (URI!)

    The HTTP path for the team' members.

    \n\n\n\n\n\n\n\n\n\n\n\n

    membersUrl (URI!)

    The HTTP URL for the team' members.

    \n\n\n\n\n\n\n\n\n\n\n\n

    name (String!)

    The name of the team.

    \n\n\n\n\n\n\n\n\n\n\n\n

    newTeamResourcePath (URI!)

    The HTTP path creating a new team.

    \n\n\n\n\n\n\n\n\n\n\n\n

    newTeamUrl (URI!)

    The HTTP URL creating a new team.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organization (Organization!)

    The organization that owns this team.

    \n\n\n\n\n\n\n\n\n\n\n\n

    parentTeam (Team)

    The parent team of the team.

    \n\n\n\n\n\n\n\n\n\n\n\n

    privacy (TeamPrivacy!)

    The level of privacy the team has.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repositories (TeamRepositoryConnection!)

    A list of repositories this team has access to.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (TeamRepositoryOrder)

    \n

    Order for the connection.

    \n\n
    \n\n
    \n

    query (String)

    \n

    The search string to look for.

    \n\n
    \n\n
    \n\n\n

    repositoriesResourcePath (URI!)

    The HTTP path for this team's repositories.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repositoriesUrl (URI!)

    The HTTP URL for this team's repositories.

    \n\n\n\n\n\n\n\n\n\n\n\n

    resourcePath (URI!)

    The HTTP path for this team.

    \n\n\n\n\n\n\n\n\n\n\n\n

    reviewRequestDelegationAlgorithm (TeamReviewAssignmentAlgorithm)

    What algorithm is used for review assignment for this team.

    \n\n\n\n\n
    \n

    Preview notice

    \n

    reviewRequestDelegationAlgorithm is available under the Team review assignments preview. During the preview period, the API may change without notice.

    \n
    \n\n\n\n\n\n\n\n\n

    reviewRequestDelegationEnabled (Boolean!)

    True if review assignment is enabled for this team.

    \n\n\n\n\n
    \n

    Preview notice

    \n

    reviewRequestDelegationEnabled is available under the Team review assignments preview. During the preview period, the API may change without notice.

    \n
    \n\n\n\n\n\n\n\n\n

    reviewRequestDelegationMemberCount (Int)

    How many team members are required for review assignment for this team.

    \n\n\n\n\n
    \n

    Preview notice

    \n

    reviewRequestDelegationMemberCount is available under the Team review assignments preview. During the preview period, the API may change without notice.

    \n
    \n\n\n\n\n\n\n\n\n

    reviewRequestDelegationNotifyTeam (Boolean!)

    When assigning team members via delegation, whether the entire team should be notified as well.

    \n\n\n\n\n
    \n

    Preview notice

    \n

    reviewRequestDelegationNotifyTeam is available under the Team review assignments preview. During the preview period, the API may change without notice.

    \n
    \n\n\n\n\n\n\n\n\n

    slug (String!)

    The slug corresponding to the team.

    \n\n\n\n\n\n\n\n\n\n\n\n

    teamsResourcePath (URI!)

    The HTTP path for this team's teams.

    \n\n\n\n\n\n\n\n\n\n\n\n

    teamsUrl (URI!)

    The HTTP URL for this team's teams.

    \n\n\n\n\n\n\n\n\n\n\n\n

    updatedAt (DateTime!)

    Identifies the date and time when the object was last updated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    url (URI!)

    The HTTP URL for this team.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerCanAdminister (Boolean!)

    Team is adminable by the viewer.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerCanSubscribe (Boolean!)

    Check if the viewer is able to change their subscription status for the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerSubscription (SubscriptionState)

    Identifies if the viewer is watching, not watching, or ignoring the subscribable entity.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n TeamAddMemberAuditEntry\n

    \n

    Audit log entry for a team.add_member event.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    action (String!)

    The action name.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actor (AuditEntryActor)

    The user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorIp (String)

    The IP address of the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLocation (ActorLocation)

    A readable representation of the actor's location.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLogin (String)

    The username of the user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorResourcePath (URI)

    The HTTP path for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorUrl (URI)

    The HTTP URL for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (PreciseDateTime!)

    The time the action was initiated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    isLdapMapped (Boolean)

    Whether the team was mapped to an LDAP Group.

    \n\n\n\n\n\n\n\n\n\n\n\n

    operationType (OperationType)

    The corresponding operation type for the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organization (Organization)

    The Organization associated with the Audit Entry.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationName (String)

    The name of the Organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationResourcePath (URI)

    The HTTP path for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationUrl (URI)

    The HTTP URL for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    team (Team)

    The team associated with the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    teamName (String)

    The name of the team.

    \n\n\n\n\n\n\n\n\n\n\n\n

    teamResourcePath (URI)

    The HTTP path for this team.

    \n\n\n\n\n\n\n\n\n\n\n\n

    teamUrl (URI)

    The HTTP URL for this team.

    \n\n\n\n\n\n\n\n\n\n\n\n

    user (User)

    The user affected by the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userLogin (String)

    For actions involving two users, the actor is the initiator and the user is the affected user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userResourcePath (URI)

    The HTTP path for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userUrl (URI)

    The HTTP URL for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n TeamAddRepositoryAuditEntry\n

    \n

    Audit log entry for a team.add_repository event.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    action (String!)

    The action name.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actor (AuditEntryActor)

    The user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorIp (String)

    The IP address of the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLocation (ActorLocation)

    A readable representation of the actor's location.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLogin (String)

    The username of the user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorResourcePath (URI)

    The HTTP path for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorUrl (URI)

    The HTTP URL for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (PreciseDateTime!)

    The time the action was initiated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    isLdapMapped (Boolean)

    Whether the team was mapped to an LDAP Group.

    \n\n\n\n\n\n\n\n\n\n\n\n

    operationType (OperationType)

    The corresponding operation type for the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organization (Organization)

    The Organization associated with the Audit Entry.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationName (String)

    The name of the Organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationResourcePath (URI)

    The HTTP path for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationUrl (URI)

    The HTTP URL for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repository (Repository)

    The repository associated with the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repositoryName (String)

    The name of the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repositoryResourcePath (URI)

    The HTTP path for the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repositoryUrl (URI)

    The HTTP URL for the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    team (Team)

    The team associated with the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    teamName (String)

    The name of the team.

    \n\n\n\n\n\n\n\n\n\n\n\n

    teamResourcePath (URI)

    The HTTP path for this team.

    \n\n\n\n\n\n\n\n\n\n\n\n

    teamUrl (URI)

    The HTTP URL for this team.

    \n\n\n\n\n\n\n\n\n\n\n\n

    user (User)

    The user affected by the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userLogin (String)

    For actions involving two users, the actor is the initiator and the user is the affected user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userResourcePath (URI)

    The HTTP path for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userUrl (URI)

    The HTTP URL for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n TeamChangeParentTeamAuditEntry\n

    \n

    Audit log entry for a team.change_parent_team event.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    action (String!)

    The action name.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actor (AuditEntryActor)

    The user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorIp (String)

    The IP address of the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLocation (ActorLocation)

    A readable representation of the actor's location.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLogin (String)

    The username of the user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorResourcePath (URI)

    The HTTP path for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorUrl (URI)

    The HTTP URL for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (PreciseDateTime!)

    The time the action was initiated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    isLdapMapped (Boolean)

    Whether the team was mapped to an LDAP Group.

    \n\n\n\n\n\n\n\n\n\n\n\n

    operationType (OperationType)

    The corresponding operation type for the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organization (Organization)

    The Organization associated with the Audit Entry.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationName (String)

    The name of the Organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationResourcePath (URI)

    The HTTP path for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationUrl (URI)

    The HTTP URL for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    parentTeam (Team)

    The new parent team.

    \n\n\n\n\n\n\n\n\n\n\n\n

    parentTeamName (String)

    The name of the new parent team.

    \n\n\n\n\n\n\n\n\n\n\n\n

    parentTeamNameWas (String)

    The name of the former parent team.

    \n\n\n\n\n\n\n\n\n\n\n\n

    parentTeamResourcePath (URI)

    The HTTP path for the parent team.

    \n\n\n\n\n\n\n\n\n\n\n\n

    parentTeamUrl (URI)

    The HTTP URL for the parent team.

    \n\n\n\n\n\n\n\n\n\n\n\n

    parentTeamWas (Team)

    The former parent team.

    \n\n\n\n\n\n\n\n\n\n\n\n

    parentTeamWasResourcePath (URI)

    The HTTP path for the previous parent team.

    \n\n\n\n\n\n\n\n\n\n\n\n

    parentTeamWasUrl (URI)

    The HTTP URL for the previous parent team.

    \n\n\n\n\n\n\n\n\n\n\n\n

    team (Team)

    The team associated with the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    teamName (String)

    The name of the team.

    \n\n\n\n\n\n\n\n\n\n\n\n

    teamResourcePath (URI)

    The HTTP path for this team.

    \n\n\n\n\n\n\n\n\n\n\n\n

    teamUrl (URI)

    The HTTP URL for this team.

    \n\n\n\n\n\n\n\n\n\n\n\n

    user (User)

    The user affected by the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userLogin (String)

    For actions involving two users, the actor is the initiator and the user is the affected user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userResourcePath (URI)

    The HTTP path for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userUrl (URI)

    The HTTP URL for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n TeamConnection\n

    \n

    The connection type for Team.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([TeamEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([Team])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n TeamDiscussion\n

    \n

    A team discussion.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    author (Actor)

    The actor who authored the comment.

    \n\n\n\n\n\n\n\n\n\n\n\n

    authorAssociation (CommentAuthorAssociation!)

    Author's association with the discussion's team.

    \n\n\n\n\n\n\n\n\n\n\n\n

    body (String!)

    The body as Markdown.

    \n\n\n\n\n\n\n\n\n\n\n\n

    bodyHTML (HTML!)

    The body rendered to HTML.

    \n\n\n\n\n\n\n\n\n\n\n\n

    bodyText (String!)

    The body rendered to text.

    \n\n\n\n\n\n\n\n\n\n\n\n

    bodyVersion (String!)

    Identifies the discussion body hash.

    \n\n\n\n\n\n\n\n\n\n\n\n

    comments (TeamDiscussionCommentConnection!)

    A list of comments on this discussion.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    fromComment (Int)

    \n

    When provided, filters the connection such that results begin with the comment with this number.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (TeamDiscussionCommentOrder)

    \n

    Order for connection.

    \n\n
    \n\n
    \n\n\n

    commentsResourcePath (URI!)

    The HTTP path for discussion comments.

    \n\n\n\n\n\n\n\n\n\n\n\n

    commentsUrl (URI!)

    The HTTP URL for discussion comments.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdViaEmail (Boolean!)

    Check if this comment was created via an email reply.

    \n\n\n\n\n\n\n\n\n\n\n\n

    databaseId (Int)

    Identifies the primary key from the database.

    \n\n\n\n\n\n\n\n\n\n\n\n

    editor (Actor)

    The actor who edited the comment.

    \n\n\n\n\n\n\n\n\n\n\n\n

    includesCreatedEdit (Boolean!)

    Check if this comment was edited and includes an edit with the creation data.

    \n\n\n\n\n\n\n\n\n\n\n\n

    isPinned (Boolean!)

    Whether or not the discussion is pinned.

    \n\n\n\n\n\n\n\n\n\n\n\n

    isPrivate (Boolean!)

    Whether or not the discussion is only visible to team members and org admins.

    \n\n\n\n\n\n\n\n\n\n\n\n

    lastEditedAt (DateTime)

    The moment the editor made the last edit.

    \n\n\n\n\n\n\n\n\n\n\n\n

    number (Int!)

    Identifies the discussion within its team.

    \n\n\n\n\n\n\n\n\n\n\n\n

    publishedAt (DateTime)

    Identifies when the comment was published at.

    \n\n\n\n\n\n\n\n\n\n\n\n

    reactionGroups ([ReactionGroup!])

    A list of reactions grouped by content left on the subject.

    \n\n\n\n\n\n\n\n\n\n\n\n

    reactions (ReactionConnection!)

    A list of Reactions left on the Issue.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    content (ReactionContent)

    \n

    Allows filtering Reactions by emoji.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (ReactionOrder)

    \n

    Allows specifying the order in which reactions are returned.

    \n\n
    \n\n
    \n\n\n

    resourcePath (URI!)

    The HTTP path for this discussion.

    \n\n\n\n\n\n\n\n\n\n\n\n

    team (Team!)

    The team that defines the context of this discussion.

    \n\n\n\n\n\n\n\n\n\n\n\n

    title (String!)

    The title of the discussion.

    \n\n\n\n\n\n\n\n\n\n\n\n

    updatedAt (DateTime!)

    Identifies the date and time when the object was last updated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    url (URI!)

    The HTTP URL for this discussion.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userContentEdits (UserContentEditConnection)

    A list of edits to this content.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n\n\n

    viewerCanDelete (Boolean!)

    Check if the current viewer can delete this object.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerCanPin (Boolean!)

    Whether or not the current viewer can pin this discussion.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerCanReact (Boolean!)

    Can user react to this subject.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerCanSubscribe (Boolean!)

    Check if the viewer is able to change their subscription status for the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerCanUpdate (Boolean!)

    Check if the current viewer can update this object.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerCannotUpdateReasons ([CommentCannotUpdateReason!]!)

    Reasons why the current viewer can not update this comment.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerDidAuthor (Boolean!)

    Did the viewer author this comment.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerSubscription (SubscriptionState)

    Identifies if the viewer is watching, not watching, or ignoring the subscribable entity.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n TeamDiscussionComment\n

    \n

    A comment on a team discussion.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    author (Actor)

    The actor who authored the comment.

    \n\n\n\n\n\n\n\n\n\n\n\n

    authorAssociation (CommentAuthorAssociation!)

    Author's association with the comment's team.

    \n\n\n\n\n\n\n\n\n\n\n\n

    body (String!)

    The body as Markdown.

    \n\n\n\n\n\n\n\n\n\n\n\n

    bodyHTML (HTML!)

    The body rendered to HTML.

    \n\n\n\n\n\n\n\n\n\n\n\n

    bodyText (String!)

    The body rendered to text.

    \n\n\n\n\n\n\n\n\n\n\n\n

    bodyVersion (String!)

    The current version of the body content.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdViaEmail (Boolean!)

    Check if this comment was created via an email reply.

    \n\n\n\n\n\n\n\n\n\n\n\n

    databaseId (Int)

    Identifies the primary key from the database.

    \n\n\n\n\n\n\n\n\n\n\n\n

    discussion (TeamDiscussion!)

    The discussion this comment is about.

    \n\n\n\n\n\n\n\n\n\n\n\n

    editor (Actor)

    The actor who edited the comment.

    \n\n\n\n\n\n\n\n\n\n\n\n

    includesCreatedEdit (Boolean!)

    Check if this comment was edited and includes an edit with the creation data.

    \n\n\n\n\n\n\n\n\n\n\n\n

    lastEditedAt (DateTime)

    The moment the editor made the last edit.

    \n\n\n\n\n\n\n\n\n\n\n\n

    number (Int!)

    Identifies the comment number.

    \n\n\n\n\n\n\n\n\n\n\n\n

    publishedAt (DateTime)

    Identifies when the comment was published at.

    \n\n\n\n\n\n\n\n\n\n\n\n

    reactionGroups ([ReactionGroup!])

    A list of reactions grouped by content left on the subject.

    \n\n\n\n\n\n\n\n\n\n\n\n

    reactions (ReactionConnection!)

    A list of Reactions left on the Issue.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    content (ReactionContent)

    \n

    Allows filtering Reactions by emoji.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (ReactionOrder)

    \n

    Allows specifying the order in which reactions are returned.

    \n\n
    \n\n
    \n\n\n

    resourcePath (URI!)

    The HTTP path for this comment.

    \n\n\n\n\n\n\n\n\n\n\n\n

    updatedAt (DateTime!)

    Identifies the date and time when the object was last updated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    url (URI!)

    The HTTP URL for this comment.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userContentEdits (UserContentEditConnection)

    A list of edits to this content.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n\n\n

    viewerCanDelete (Boolean!)

    Check if the current viewer can delete this object.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerCanReact (Boolean!)

    Can user react to this subject.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerCanUpdate (Boolean!)

    Check if the current viewer can update this object.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerCannotUpdateReasons ([CommentCannotUpdateReason!]!)

    Reasons why the current viewer can not update this comment.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerDidAuthor (Boolean!)

    Did the viewer author this comment.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n TeamDiscussionCommentConnection\n

    \n

    The connection type for TeamDiscussionComment.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([TeamDiscussionCommentEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([TeamDiscussionComment])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n TeamDiscussionCommentEdge\n

    \n

    An edge in a connection.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (TeamDiscussionComment)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n TeamDiscussionConnection\n

    \n

    The connection type for TeamDiscussion.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([TeamDiscussionEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([TeamDiscussion])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n TeamDiscussionEdge\n

    \n

    An edge in a connection.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (TeamDiscussion)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n TeamEdge\n

    \n

    An edge in a connection.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (Team)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n TeamMemberConnection\n

    \n

    The connection type for User.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([TeamMemberEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([User])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n TeamMemberEdge\n

    \n

    Represents a user who is a member of a team.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    memberAccessResourcePath (URI!)

    The HTTP path to the organization's member access page.

    \n\n\n\n\n\n\n\n\n\n\n\n

    memberAccessUrl (URI!)

    The HTTP URL to the organization's member access page.

    \n\n\n\n\n\n\n\n\n\n\n\n

    role (TeamMemberRole!)

    The role the member has on the team.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n TeamRemoveMemberAuditEntry\n

    \n

    Audit log entry for a team.remove_member event.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    action (String!)

    The action name.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actor (AuditEntryActor)

    The user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorIp (String)

    The IP address of the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLocation (ActorLocation)

    A readable representation of the actor's location.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLogin (String)

    The username of the user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorResourcePath (URI)

    The HTTP path for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorUrl (URI)

    The HTTP URL for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (PreciseDateTime!)

    The time the action was initiated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    isLdapMapped (Boolean)

    Whether the team was mapped to an LDAP Group.

    \n\n\n\n\n\n\n\n\n\n\n\n

    operationType (OperationType)

    The corresponding operation type for the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organization (Organization)

    The Organization associated with the Audit Entry.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationName (String)

    The name of the Organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationResourcePath (URI)

    The HTTP path for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationUrl (URI)

    The HTTP URL for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    team (Team)

    The team associated with the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    teamName (String)

    The name of the team.

    \n\n\n\n\n\n\n\n\n\n\n\n

    teamResourcePath (URI)

    The HTTP path for this team.

    \n\n\n\n\n\n\n\n\n\n\n\n

    teamUrl (URI)

    The HTTP URL for this team.

    \n\n\n\n\n\n\n\n\n\n\n\n

    user (User)

    The user affected by the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userLogin (String)

    For actions involving two users, the actor is the initiator and the user is the affected user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userResourcePath (URI)

    The HTTP path for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userUrl (URI)

    The HTTP URL for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n TeamRemoveRepositoryAuditEntry\n

    \n

    Audit log entry for a team.remove_repository event.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    action (String!)

    The action name.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actor (AuditEntryActor)

    The user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorIp (String)

    The IP address of the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLocation (ActorLocation)

    A readable representation of the actor's location.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLogin (String)

    The username of the user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorResourcePath (URI)

    The HTTP path for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorUrl (URI)

    The HTTP URL for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (PreciseDateTime!)

    The time the action was initiated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    isLdapMapped (Boolean)

    Whether the team was mapped to an LDAP Group.

    \n\n\n\n\n\n\n\n\n\n\n\n

    operationType (OperationType)

    The corresponding operation type for the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organization (Organization)

    The Organization associated with the Audit Entry.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationName (String)

    The name of the Organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationResourcePath (URI)

    The HTTP path for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationUrl (URI)

    The HTTP URL for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repository (Repository)

    The repository associated with the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repositoryName (String)

    The name of the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repositoryResourcePath (URI)

    The HTTP path for the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repositoryUrl (URI)

    The HTTP URL for the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    team (Team)

    The team associated with the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    teamName (String)

    The name of the team.

    \n\n\n\n\n\n\n\n\n\n\n\n

    teamResourcePath (URI)

    The HTTP path for this team.

    \n\n\n\n\n\n\n\n\n\n\n\n

    teamUrl (URI)

    The HTTP URL for this team.

    \n\n\n\n\n\n\n\n\n\n\n\n

    user (User)

    The user affected by the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userLogin (String)

    For actions involving two users, the actor is the initiator and the user is the affected user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userResourcePath (URI)

    The HTTP path for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userUrl (URI)

    The HTTP URL for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n TeamRepositoryConnection\n

    \n

    The connection type for Repository.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([TeamRepositoryEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([Repository])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n TeamRepositoryEdge\n

    \n

    Represents a team repository.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    permission (RepositoryPermission!)

    The permission level the team has on the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n TextMatch\n

    \n

    A text match within a search result.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    fragment (String!)

    The specific text fragment within the property matched on.

    \n\n\n\n\n\n\n\n\n\n\n\n

    highlights ([TextMatchHighlight!]!)

    Highlights within the matched fragment.

    \n\n\n\n\n\n\n\n\n\n\n\n

    property (String!)

    The property matched on.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n TextMatchHighlight\n

    \n

    Represents a single highlight in a search result match.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    beginIndice (Int!)

    The indice in the fragment where the matched text begins.

    \n\n\n\n\n\n\n\n\n\n\n\n

    endIndice (Int!)

    The indice in the fragment where the matched text ends.

    \n\n\n\n\n\n\n\n\n\n\n\n

    text (String!)

    The text matched.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n Topic\n

    \n

    A topic aggregates entities that are related to a subject.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    name (String!)

    The topic's name.

    \n\n\n\n\n\n\n\n\n\n\n\n

    relatedTopics ([Topic!]!)

    A list of related topics, including aliases of this topic, sorted with the most relevant\nfirst. Returns up to 10 Topics.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    first (Int)

    \n

    How many topics to return.

    \n

    The default value is 3.

    \n
    \n\n
    \n\n\n

    stargazerCount (Int!)

    Returns a count of how many stargazers there are on this object.

    \n\n\n\n\n\n\n\n\n\n\n\n

    stargazers (StargazerConnection!)

    A list of users who have starred this starrable.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (StarOrder)

    \n

    Order for connection.

    \n\n
    \n\n
    \n\n\n

    viewerHasStarred (Boolean!)

    Returns a boolean indicating whether the viewing user has starred this starrable.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n TransferredEvent\n

    \n

    Represents atransferredevent on a given issue or pull request.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    actor (Actor)

    Identifies the actor who performed the event.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    fromRepository (Repository)

    The repository this came from.

    \n\n\n\n\n\n\n\n\n\n\n\n

    issue (Issue!)

    Identifies the issue associated with the event.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n Tree\n

    \n

    Represents a Git tree.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    abbreviatedOid (String!)

    An abbreviated version of the Git object ID.

    \n\n\n\n\n\n\n\n\n\n\n\n

    commitResourcePath (URI!)

    The HTTP path for this Git object.

    \n\n\n\n\n\n\n\n\n\n\n\n

    commitUrl (URI!)

    The HTTP URL for this Git object.

    \n\n\n\n\n\n\n\n\n\n\n\n

    entries ([TreeEntry!])

    A list of tree entries.

    \n\n\n\n\n\n\n\n\n\n\n\n

    oid (GitObjectID!)

    The Git object ID.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repository (Repository!)

    The Repository the Git object belongs to.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n TreeEntry\n

    \n

    Represents a Git tree entry.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    extension (String)

    The extension of the file.

    \n\n\n\n\n\n\n\n\n\n\n\n

    isGenerated (Boolean!)

    Whether or not this tree entry is generated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    mode (Int!)

    Entry file mode.

    \n\n\n\n\n\n\n\n\n\n\n\n

    name (String!)

    Entry file name.

    \n\n\n\n\n\n\n\n\n\n\n\n

    object (GitObject)

    Entry file object.

    \n\n\n\n\n\n\n\n\n\n\n\n

    oid (GitObjectID!)

    Entry file Git object ID.

    \n\n\n\n\n\n\n\n\n\n\n\n

    path (String)

    The full path of the file.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repository (Repository!)

    The Repository the tree entry belongs to.

    \n\n\n\n\n\n\n\n\n\n\n\n

    submodule (Submodule)

    If the TreeEntry is for a directory occupied by a submodule project, this returns the corresponding submodule.

    \n\n\n\n\n\n\n\n\n\n\n\n

    type (String!)

    Entry file type.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n UnassignedEvent\n

    \n

    Represents anunassignedevent on any assignable object.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    actor (Actor)

    Identifies the actor who performed the event.

    \n\n\n\n\n\n\n\n\n\n\n\n

    assignable (Assignable!)

    Identifies the assignable associated with the event.

    \n\n\n\n\n\n\n\n\n\n\n\n

    assignee (Assignee)

    Identifies the user or mannequin that was unassigned.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    user (User)

    Identifies the subject (user) who was unassigned.

    \n\n\n\n\n\n\n
    \n

    Deprecation notice

    \n

    user is deprecated.

    Assignees can now be mannequins. Use the assignee field instead. Removal on 2020-01-01 UTC.

    \n
    \n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n UnknownSignature\n

    \n

    Represents an unknown signature on a Commit or Tag.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    email (String!)

    Email used to sign this object.

    \n\n\n\n\n\n\n\n\n\n\n\n

    isValid (Boolean!)

    True if the signature is valid and verified by GitHub.

    \n\n\n\n\n\n\n\n\n\n\n\n

    payload (String!)

    Payload for GPG signing object. Raw ODB object without the signature header.

    \n\n\n\n\n\n\n\n\n\n\n\n

    signature (String!)

    ASCII-armored signature header from object.

    \n\n\n\n\n\n\n\n\n\n\n\n

    signer (User)

    GitHub user corresponding to the email signing this commit.

    \n\n\n\n\n\n\n\n\n\n\n\n

    state (GitSignatureState!)

    The state of this signature. VALID if signature is valid and verified by\nGitHub, otherwise represents reason why signature is considered invalid.

    \n\n\n\n\n\n\n\n\n\n\n\n

    wasSignedByGitHub (Boolean!)

    True if the signature was made with GitHub's signing key.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n UnlabeledEvent\n

    \n

    Represents anunlabeledevent on a given issue or pull request.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    actor (Actor)

    Identifies the actor who performed the event.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    label (Label!)

    Identifies the label associated with theunlabeledevent.

    \n\n\n\n\n\n\n\n\n\n\n\n

    labelable (Labelable!)

    Identifies the Labelable associated with the event.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n UnlockedEvent\n

    \n

    Represents anunlockedevent on a given issue or pull request.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    actor (Actor)

    Identifies the actor who performed the event.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    lockable (Lockable!)

    Object that was unlocked.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n UnmarkedAsDuplicateEvent\n

    \n

    Represents anunmarked_as_duplicateevent on a given issue or pull request.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    actor (Actor)

    Identifies the actor who performed the event.

    \n\n\n\n\n\n\n\n\n\n\n\n

    canonical (IssueOrPullRequest)

    The authoritative issue or pull request which has been duplicated by another.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    duplicate (IssueOrPullRequest)

    The issue or pull request which has been marked as a duplicate of another.

    \n\n\n\n\n\n\n\n\n\n\n\n

    isCrossRepository (Boolean!)

    Canonical and duplicate belong to different repositories.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n UnpinnedEvent\n

    \n

    Represents anunpinnedevent on a given issue or pull request.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    actor (Actor)

    Identifies the actor who performed the event.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    issue (Issue!)

    Identifies the issue associated with the event.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n UnsubscribedEvent\n

    \n

    Represents anunsubscribedevent on a given Subscribable.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    actor (Actor)

    Identifies the actor who performed the event.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    subscribable (Subscribable!)

    Object referenced by event.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n User\n

    \n

    A user is an individual's account on GitHub that owns repositories and can make new content.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    anyPinnableItems (Boolean!)

    Determine if this repository owner has any items that can be pinned to their profile.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    type (PinnableItemType)

    \n

    Filter to only a particular kind of pinnable item.

    \n\n
    \n\n
    \n\n\n

    avatarUrl (URI!)

    A URL pointing to the user's public avatar.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    size (Int)

    \n

    The size of the resulting square image.

    \n\n
    \n\n
    \n\n\n

    bio (String)

    The user's public profile bio.

    \n\n\n\n\n\n\n\n\n\n\n\n

    bioHTML (HTML!)

    The user's public profile bio as HTML.

    \n\n\n\n\n\n\n\n\n\n\n\n

    commitComments (CommitCommentConnection!)

    A list of commit comments made by this user.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n\n\n

    company (String)

    The user's public profile company.

    \n\n\n\n\n\n\n\n\n\n\n\n

    companyHTML (HTML!)

    The user's public profile company as HTML.

    \n\n\n\n\n\n\n\n\n\n\n\n

    contributionsCollection (ContributionsCollection!)

    The collection of contributions this user has made to different repositories.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    from (DateTime)

    \n

    Only contributions made at this time or later will be counted. If omitted, defaults to a year ago.

    \n\n
    \n\n
    \n

    organizationID (ID)

    \n

    The ID of the organization used to filter contributions.

    \n\n
    \n\n
    \n

    to (DateTime)

    \n

    Only contributions made before and up to and including this time will be\ncounted. If omitted, defaults to the current time.

    \n\n
    \n\n
    \n\n\n

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    databaseId (Int)

    Identifies the primary key from the database.

    \n\n\n\n\n\n\n\n\n\n\n\n

    email (String!)

    The user's publicly visible profile email.

    \n\n\n\n\n\n\n\n\n\n\n\n

    followers (FollowerConnection!)

    A list of users the given user is followed by.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n\n\n

    following (FollowingConnection!)

    A list of users the given user is following.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n\n\n

    gist (Gist)

    Find gist by repo name.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    name (String!)

    \n

    The gist name to find.

    \n\n
    \n\n
    \n\n\n

    gistComments (GistCommentConnection!)

    A list of gist comments made by this user.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n\n\n

    gists (GistConnection!)

    A list of the Gists the user has created.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (GistOrder)

    \n

    Ordering options for gists returned from the connection.

    \n\n
    \n\n
    \n

    privacy (GistPrivacy)

    \n

    Filters Gists according to privacy.

    \n\n
    \n\n
    \n\n\n

    hasSponsorsListing (Boolean!)

    True if this user/organization has a GitHub Sponsors listing.

    \n\n\n\n\n\n\n\n\n\n\n\n

    hovercard (Hovercard!)

    The hovercard information for this user in a given context.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    primarySubjectId (ID)

    \n

    The ID of the subject to get the hovercard in the context of.

    \n\n
    \n\n
    \n\n\n

    interactionAbility (RepositoryInteractionAbility)

    The interaction ability settings for this user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    isBountyHunter (Boolean!)

    Whether or not this user is a participant in the GitHub Security Bug Bounty.

    \n\n\n\n\n\n\n\n\n\n\n\n

    isCampusExpert (Boolean!)

    Whether or not this user is a participant in the GitHub Campus Experts Program.

    \n\n\n\n\n\n\n\n\n\n\n\n

    isDeveloperProgramMember (Boolean!)

    Whether or not this user is a GitHub Developer Program member.

    \n\n\n\n\n\n\n\n\n\n\n\n

    isEmployee (Boolean!)

    Whether or not this user is a GitHub employee.

    \n\n\n\n\n\n\n\n\n\n\n\n

    isGitHubStar (Boolean!)

    Whether or not this user is a member of the GitHub Stars Program.

    \n\n\n\n\n\n\n\n\n\n\n\n

    isHireable (Boolean!)

    Whether or not the user has marked themselves as for hire.

    \n\n\n\n\n\n\n\n\n\n\n\n

    isSiteAdmin (Boolean!)

    Whether or not this user is a site administrator.

    \n\n\n\n\n\n\n\n\n\n\n\n

    isSponsoredBy (Boolean!)

    Check if the given account is sponsoring this user/organization.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    accountLogin (String!)

    \n

    The target account's login.

    \n\n
    \n\n
    \n\n\n

    isSponsoringViewer (Boolean!)

    True if the viewer is sponsored by this user/organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    isViewer (Boolean!)

    Whether or not this user is the viewing user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    issueComments (IssueCommentConnection!)

    A list of issue comments made by this user.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (IssueCommentOrder)

    \n

    Ordering options for issue comments returned from the connection.

    \n\n
    \n\n
    \n\n\n

    issues (IssueConnection!)

    A list of issues associated with this user.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    filterBy (IssueFilters)

    \n

    Filtering options for issues returned from the connection.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    labels ([String!])

    \n

    A list of label names to filter the pull requests by.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (IssueOrder)

    \n

    Ordering options for issues returned from the connection.

    \n\n
    \n\n
    \n

    states ([IssueState!])

    \n

    A list of states to filter the issues by.

    \n\n
    \n\n
    \n\n\n

    itemShowcase (ProfileItemShowcase!)

    Showcases a selection of repositories and gists that the profile owner has\neither curated or that have been selected automatically based on popularity.

    \n\n\n\n\n\n\n\n\n\n\n\n

    location (String)

    The user's public profile location.

    \n\n\n\n\n\n\n\n\n\n\n\n

    login (String!)

    The username used to login.

    \n\n\n\n\n\n\n\n\n\n\n\n

    name (String)

    The user's public profile name.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organization (Organization)

    Find an organization by its login that the user belongs to.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    login (String!)

    \n

    The login of the organization to find.

    \n\n
    \n\n
    \n\n\n

    organizationVerifiedDomainEmails ([String!]!)

    Verified email addresses that match verified domains for a specified organization the user is a member of.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    login (String!)

    \n

    The login of the organization to match verified domains from.

    \n\n
    \n\n
    \n\n\n

    organizations (OrganizationConnection!)

    A list of organizations the user belongs to.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n\n\n

    packages (PackageConnection!)

    A list of packages under the owner.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    names ([String])

    \n

    Find packages by their names.

    \n\n
    \n\n
    \n

    orderBy (PackageOrder)

    \n

    Ordering of the returned packages.

    \n\n
    \n\n
    \n

    packageType (PackageType)

    \n

    Filter registry package by type.

    \n\n
    \n\n
    \n

    repositoryId (ID)

    \n

    Find packages in a repository by ID.

    \n\n
    \n\n
    \n\n\n

    pinnableItems (PinnableItemConnection!)

    A list of repositories and gists this profile owner can pin to their profile.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    types ([PinnableItemType!])

    \n

    Filter the types of pinnable items that are returned.

    \n\n
    \n\n
    \n\n\n

    pinnedItems (PinnableItemConnection!)

    A list of repositories and gists this profile owner has pinned to their profile.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    types ([PinnableItemType!])

    \n

    Filter the types of pinned items that are returned.

    \n\n
    \n\n
    \n\n\n

    pinnedItemsRemaining (Int!)

    Returns how many more items this profile owner can pin to their profile.

    \n\n\n\n\n\n\n\n\n\n\n\n

    project (Project)

    Find project by number.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    number (Int!)

    \n

    The project number to find.

    \n\n
    \n\n
    \n\n\n

    projects (ProjectConnection!)

    A list of projects under the owner.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (ProjectOrder)

    \n

    Ordering options for projects returned from the connection.

    \n\n
    \n\n
    \n

    search (String)

    \n

    Query to search projects by, currently only searching by name.

    \n\n
    \n\n
    \n

    states ([ProjectState!])

    \n

    A list of states to filter the projects by.

    \n\n
    \n\n
    \n\n\n

    projectsResourcePath (URI!)

    The HTTP path listing user's projects.

    \n\n\n\n\n\n\n\n\n\n\n\n

    projectsUrl (URI!)

    The HTTP URL listing user's projects.

    \n\n\n\n\n\n\n\n\n\n\n\n

    publicKeys (PublicKeyConnection!)

    A list of public keys associated with this user.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n\n\n

    pullRequests (PullRequestConnection!)

    A list of pull requests associated with this user.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    baseRefName (String)

    \n

    The base ref name to filter the pull requests by.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    headRefName (String)

    \n

    The head ref name to filter the pull requests by.

    \n\n
    \n\n
    \n

    labels ([String!])

    \n

    A list of label names to filter the pull requests by.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (IssueOrder)

    \n

    Ordering options for pull requests returned from the connection.

    \n\n
    \n\n
    \n

    states ([PullRequestState!])

    \n

    A list of states to filter the pull requests by.

    \n\n
    \n\n
    \n\n\n

    repositories (RepositoryConnection!)

    A list of repositories that the user owns.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    affiliations ([RepositoryAffiliation])

    \n

    Array of viewer's affiliation options for repositories returned from the\nconnection. For example, OWNER will include only repositories that the\ncurrent viewer owns.

    \n\n
    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    isFork (Boolean)

    \n

    If non-null, filters repositories according to whether they are forks of another repository.

    \n\n
    \n\n
    \n

    isLocked (Boolean)

    \n

    If non-null, filters repositories according to whether they have been locked.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (RepositoryOrder)

    \n

    Ordering options for repositories returned from the connection.

    \n\n
    \n\n
    \n

    ownerAffiliations ([RepositoryAffiliation])

    \n

    Array of owner's affiliation options for repositories returned from the\nconnection. For example, OWNER will include only repositories that the\norganization or user being viewed owns.

    \n\n
    \n\n
    \n

    privacy (RepositoryPrivacy)

    \n

    If non-null, filters repositories according to privacy.

    \n\n
    \n\n
    \n\n\n

    repositoriesContributedTo (RepositoryConnection!)

    A list of repositories that the user recently contributed to.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    contributionTypes ([RepositoryContributionType])

    \n

    If non-null, include only the specified types of contributions. The\nGitHub.com UI uses [COMMIT, ISSUE, PULL_REQUEST, REPOSITORY].

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    includeUserRepositories (Boolean)

    \n

    If true, include user repositories.

    \n\n
    \n\n
    \n

    isLocked (Boolean)

    \n

    If non-null, filters repositories according to whether they have been locked.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (RepositoryOrder)

    \n

    Ordering options for repositories returned from the connection.

    \n\n
    \n\n
    \n

    privacy (RepositoryPrivacy)

    \n

    If non-null, filters repositories according to privacy.

    \n\n
    \n\n
    \n\n\n

    repository (Repository)

    Find Repository.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    name (String!)

    \n

    Name of Repository to find.

    \n\n
    \n\n
    \n\n\n

    resourcePath (URI!)

    The HTTP path for this user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    savedReplies (SavedReplyConnection)

    Replies this user has saved.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (SavedReplyOrder)

    \n

    The field to order saved replies by.

    \n\n
    \n\n
    \n\n\n

    sponsorsListing (SponsorsListing)

    The GitHub Sponsors listing for this user or organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    sponsorshipForViewerAsSponsor (Sponsorship)

    The viewer's sponsorship of this entity.

    \n\n\n\n\n\n\n\n\n\n\n\n

    sponsorshipsAsMaintainer (SponsorshipConnection!)

    This object's sponsorships as the maintainer.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    includePrivate (Boolean)

    \n

    Whether or not to include private sponsorships in the result set.

    \n

    The default value is false.

    \n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (SponsorshipOrder)

    \n

    Ordering options for sponsorships returned from this connection. If left\nblank, the sponsorships will be ordered based on relevancy to the viewer.

    \n\n
    \n\n
    \n\n\n

    sponsorshipsAsSponsor (SponsorshipConnection!)

    This object's sponsorships as the sponsor.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (SponsorshipOrder)

    \n

    Ordering options for sponsorships returned from this connection. If left\nblank, the sponsorships will be ordered based on relevancy to the viewer.

    \n\n
    \n\n
    \n\n\n

    starredRepositories (StarredRepositoryConnection!)

    Repositories the user has starred.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (StarOrder)

    \n

    Order for connection.

    \n\n
    \n\n
    \n

    ownedByViewer (Boolean)

    \n

    Filters starred repositories to only return repositories owned by the viewer.

    \n\n
    \n\n
    \n\n\n

    status (UserStatus)

    The user's description of what they're currently doing.

    \n\n\n\n\n\n\n\n\n\n\n\n

    topRepositories (RepositoryConnection!)

    Repositories the user has contributed to, ordered by contribution rank, plus repositories the user has created.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (RepositoryOrder!)

    \n

    Ordering options for repositories returned from the connection.

    \n\n
    \n\n
    \n

    since (DateTime)

    \n

    How far back in time to fetch contributed repositories.

    \n\n
    \n\n
    \n\n\n

    twitterUsername (String)

    The user's Twitter username.

    \n\n\n\n\n\n\n\n\n\n\n\n

    updatedAt (DateTime!)

    Identifies the date and time when the object was last updated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    url (URI!)

    The HTTP URL for this user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerCanChangePinnedItems (Boolean!)

    Can the viewer pin repositories and gists to the profile?.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerCanCreateProjects (Boolean!)

    Can the current viewer create new projects on this owner.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerCanFollow (Boolean!)

    Whether or not the viewer is able to follow the user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerCanSponsor (Boolean!)

    Whether or not the viewer is able to sponsor this user/organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerIsFollowing (Boolean!)

    Whether or not this user is followed by the viewer.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerIsSponsoring (Boolean!)

    True if the viewer is sponsoring this user/organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    watching (RepositoryConnection!)

    A list of repositories the given user is watching.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    affiliations ([RepositoryAffiliation])

    \n

    Affiliation options for repositories returned from the connection. If none\nspecified, the results will include repositories for which the current\nviewer is an owner or collaborator, or member.

    \n\n
    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    isLocked (Boolean)

    \n

    If non-null, filters repositories according to whether they have been locked.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (RepositoryOrder)

    \n

    Ordering options for repositories returned from the connection.

    \n\n
    \n\n
    \n

    ownerAffiliations ([RepositoryAffiliation])

    \n

    Array of owner's affiliation options for repositories returned from the\nconnection. For example, OWNER will include only repositories that the\norganization or user being viewed owns.

    \n\n
    \n\n
    \n

    privacy (RepositoryPrivacy)

    \n

    If non-null, filters repositories according to privacy.

    \n\n
    \n\n
    \n\n\n

    websiteUrl (URI)

    A URL pointing to the user's public website/blog.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n UserBlockedEvent\n

    \n

    Represents auser_blockedevent on a given user.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    actor (Actor)

    Identifies the actor who performed the event.

    \n\n\n\n\n\n\n\n\n\n\n\n

    blockDuration (UserBlockDuration!)

    Number of days that the user was blocked for.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    subject (User)

    The user who was blocked.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n UserConnection\n

    \n

    The connection type for User.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([UserEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([User])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n UserContentEdit\n

    \n

    An edit on user content.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    deletedAt (DateTime)

    Identifies the date and time when the object was deleted.

    \n\n\n\n\n\n\n\n\n\n\n\n

    deletedBy (Actor)

    The actor who deleted this content.

    \n\n\n\n\n\n\n\n\n\n\n\n

    diff (String)

    A summary of the changes for this edit.

    \n\n\n\n\n\n\n\n\n\n\n\n

    editedAt (DateTime!)

    When this content was edited.

    \n\n\n\n\n\n\n\n\n\n\n\n

    editor (Actor)

    The actor who edited this content.

    \n\n\n\n\n\n\n\n\n\n\n\n

    updatedAt (DateTime!)

    Identifies the date and time when the object was last updated.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n UserContentEditConnection\n

    \n

    A list of edits to content.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([UserContentEditEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([UserContentEdit])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n UserContentEditEdge\n

    \n

    An edge in a connection.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (UserContentEdit)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n UserEdge\n

    \n

    Represents a user.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (User)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n UserEmailMetadata\n

    \n

    Email attributes from External Identity.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    primary (Boolean)

    Boolean to identify primary emails.

    \n\n\n\n\n\n\n\n\n\n\n\n

    type (String)

    Type of email.

    \n\n\n\n\n\n\n\n\n\n\n\n

    value (String!)

    Email id.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n UserStatus\n

    \n

    The user's description of what they're currently doing.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    emoji (String)

    An emoji summarizing the user's status.

    \n\n\n\n\n\n\n\n\n\n\n\n

    emojiHTML (HTML)

    The status emoji as HTML.

    \n\n\n\n\n\n\n\n\n\n\n\n

    expiresAt (DateTime)

    If set, the status will not be shown after this date.

    \n\n\n\n\n\n\n\n\n\n\n\n

    id (ID!)

    ID of the object.

    \n\n\n\n\n\n\n\n\n\n\n\n

    indicatesLimitedAvailability (Boolean!)

    Whether this status indicates the user is not fully available on GitHub.

    \n\n\n\n\n\n\n\n\n\n\n\n

    message (String)

    A brief message describing what the user is doing.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organization (Organization)

    The organization whose members can see this status. If null, this status is publicly visible.

    \n\n\n\n\n\n\n\n\n\n\n\n

    updatedAt (DateTime!)

    Identifies the date and time when the object was last updated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    user (User!)

    The user who has this status.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n UserStatusConnection\n

    \n

    The connection type for UserStatus.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([UserStatusEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([UserStatus])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n UserStatusEdge\n

    \n

    An edge in a connection.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (UserStatus)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n VerifiableDomain\n

    \n

    A domain that can be verified for an organization or an enterprise.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    databaseId (Int)

    Identifies the primary key from the database.

    \n\n\n\n\n\n\n\n\n\n\n\n

    dnsHostName (URI)

    The DNS host name that should be used for verification.

    \n\n\n\n\n\n\n\n\n\n\n\n

    domain (URI!)

    The unicode encoded domain.

    \n\n\n\n\n\n\n\n\n\n\n\n

    hasFoundHostName (Boolean!)

    Whether a TXT record for verification with the expected host name was found.

    \n\n\n\n\n\n\n\n\n\n\n\n

    hasFoundVerificationToken (Boolean!)

    Whether a TXT record for verification with the expected verification token was found.

    \n\n\n\n\n\n\n\n\n\n\n\n

    isRequiredForPolicyEnforcement (Boolean!)

    Whether this domain is required to exist for an organization or enterprise policy to be enforced.

    \n\n\n\n\n\n\n\n\n\n\n\n

    isVerified (Boolean!)

    Whether or not the domain is verified.

    \n\n\n\n\n\n\n\n\n\n\n\n

    owner (VerifiableDomainOwner!)

    The owner of the domain.

    \n\n\n\n\n\n\n\n\n\n\n\n

    punycodeEncodedDomain (URI!)

    The punycode encoded domain.

    \n\n\n\n\n\n\n\n\n\n\n\n

    tokenExpirationTime (DateTime)

    The time that the current verification token will expire.

    \n\n\n\n\n\n\n\n\n\n\n\n

    updatedAt (DateTime!)

    Identifies the date and time when the object was last updated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    verificationToken (String)

    The current verification token for the domain.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n VerifiableDomainConnection\n

    \n

    The connection type for VerifiableDomain.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([VerifiableDomainEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([VerifiableDomain])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n VerifiableDomainEdge\n

    \n

    An edge in a connection.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (VerifiableDomain)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n ViewerHovercardContext\n

    \n

    A hovercard context with a message describing how the viewer is related.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    message (String!)

    A string describing this context.

    \n\n\n\n\n\n\n\n\n\n\n\n

    octicon (String!)

    An octicon to accompany this context.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewer (User!)

    Identifies the user who is related to this context.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n", "miniToc": [ { "contents": "\n ActorLocation\n ", @@ -8834,2148 +8834,8 @@ } ] }, - "ghes-2.20": { - "html": "
    \n
    \n

    \n ActorLocation\n

    \n

    Location information for an actor.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    city (String)

    City.

    \n\n\n\n\n\n\n\n\n\n\n\n

    country (String)

    Country name.

    \n\n\n\n\n\n\n\n\n\n\n\n

    countryCode (String)

    Country code.

    \n\n\n\n\n\n\n\n\n\n\n\n

    region (String)

    Region name.

    \n\n\n\n\n\n\n\n\n\n\n\n

    regionCode (String)

    Region or state code.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n AddedToProjectEvent\n

    \n

    Represents aadded_to_projectevent on a given issue or pull request.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    actor (Actor)

    Identifies the actor who performed the event.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    databaseId (Int)

    Identifies the primary key from the database.

    \n\n\n\n\n\n\n\n\n\n\n\n

    project (Project)

    Project referenced by event.

    \n\n\n\n\n
    \n

    Preview notice

    \n

    project is available under the Project event details preview. During the preview period, the API may change without notice.

    \n
    \n\n\n\n\n\n\n\n\n

    projectCard (ProjectCard)

    Project card referenced by this project event.

    \n\n\n\n\n
    \n

    Preview notice

    \n

    projectCard is available under the Project event details preview. During the preview period, the API may change without notice.

    \n
    \n\n\n\n\n\n\n\n\n

    projectColumnName (String!)

    Column name referenced by this project event.

    \n\n\n\n\n
    \n

    Preview notice

    \n

    projectColumnName is available under the Project event details preview. During the preview period, the API may change without notice.

    \n
    \n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n App\n

    \n

    A GitHub App.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    databaseId (Int)

    Identifies the primary key from the database.

    \n\n\n\n\n\n\n\n\n\n\n\n

    description (String)

    The description of the app.

    \n\n\n\n\n\n\n\n\n\n\n\n

    logoBackgroundColor (String!)

    The hex color code, without the leading '#', for the logo background.

    \n\n\n\n\n\n\n\n\n\n\n\n

    logoUrl (URI!)

    A URL pointing to the app's logo.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    size (Int)

    \n

    The size of the resulting image.

    \n\n
    \n\n
    \n\n\n

    name (String!)

    The name of the app.

    \n\n\n\n\n\n\n\n\n\n\n\n

    slug (String!)

    A slug based on the name of the app for use in URLs.

    \n\n\n\n\n\n\n\n\n\n\n\n

    updatedAt (DateTime!)

    Identifies the date and time when the object was last updated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    url (URI!)

    The URL to the app's homepage.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n AssignedEvent\n

    \n

    Represents anassignedevent on any assignable object.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    actor (Actor)

    Identifies the actor who performed the event.

    \n\n\n\n\n\n\n\n\n\n\n\n

    assignable (Assignable!)

    Identifies the assignable associated with the event.

    \n\n\n\n\n\n\n\n\n\n\n\n

    assignee (Assignee)

    Identifies the user or mannequin that was assigned.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    user (User)

    Identifies the user who was assigned.

    \n\n\n\n\n\n\n
    \n

    Deprecation notice

    \n

    user is deprecated.

    Assignees can now be mannequins. Use the assignee field instead. Removal on 2020-01-01 UTC.

    \n
    \n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n BaseRefChangedEvent\n

    \n

    Represents abase_ref_changedevent on a given issue or pull request.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    actor (Actor)

    Identifies the actor who performed the event.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    databaseId (Int)

    Identifies the primary key from the database.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n BaseRefForcePushedEvent\n

    \n

    Represents abase_ref_force_pushedevent on a given pull request.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    actor (Actor)

    Identifies the actor who performed the event.

    \n\n\n\n\n\n\n\n\n\n\n\n

    afterCommit (Commit)

    Identifies the after commit SHA for thebase_ref_force_pushedevent.

    \n\n\n\n\n\n\n\n\n\n\n\n

    beforeCommit (Commit)

    Identifies the before commit SHA for thebase_ref_force_pushedevent.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pullRequest (PullRequest!)

    PullRequest referenced by event.

    \n\n\n\n\n\n\n\n\n\n\n\n

    ref (Ref)

    Identifies the fully qualified ref name for thebase_ref_force_pushedevent.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n Blame\n

    \n

    Represents a Git blame.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    ranges ([BlameRange!]!)

    The list of ranges from a Git blame.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n BlameRange\n

    \n

    Represents a range of information from a Git blame.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    age (Int!)

    Identifies the recency of the change, from 1 (new) to 10 (old). This is\ncalculated as a 2-quantile and determines the length of distance between the\nmedian age of all the changes in the file and the recency of the current\nrange's change.

    \n\n\n\n\n\n\n\n\n\n\n\n

    commit (Commit!)

    Identifies the line author.

    \n\n\n\n\n\n\n\n\n\n\n\n

    endingLine (Int!)

    The ending line for the range.

    \n\n\n\n\n\n\n\n\n\n\n\n

    startingLine (Int!)

    The starting line for the range.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n Blob\n

    \n

    Represents a Git blob.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    abbreviatedOid (String!)

    An abbreviated version of the Git object ID.

    \n\n\n\n\n\n\n\n\n\n\n\n

    byteSize (Int!)

    Byte size of Blob object.

    \n\n\n\n\n\n\n\n\n\n\n\n

    commitResourcePath (URI!)

    The HTTP path for this Git object.

    \n\n\n\n\n\n\n\n\n\n\n\n

    commitUrl (URI!)

    The HTTP URL for this Git object.

    \n\n\n\n\n\n\n\n\n\n\n\n

    isBinary (Boolean!)

    Indicates whether the Blob is binary or text.

    \n\n\n\n\n\n\n\n\n\n\n\n

    isTruncated (Boolean!)

    Indicates whether the contents is truncated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    oid (GitObjectID!)

    The Git object ID.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repository (Repository!)

    The Repository the Git object belongs to.

    \n\n\n\n\n\n\n\n\n\n\n\n

    text (String)

    UTF8 text data or null if the Blob is binary.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n Bot\n

    \n

    A special type of user which takes actions on behalf of GitHub Apps.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    avatarUrl (URI!)

    A URL pointing to the GitHub App's public avatar.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    size (Int)

    \n

    The size of the resulting square image.

    \n\n
    \n\n
    \n\n\n

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    databaseId (Int)

    Identifies the primary key from the database.

    \n\n\n\n\n\n\n\n\n\n\n\n

    login (String!)

    The username of the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    resourcePath (URI!)

    The HTTP path for this bot.

    \n\n\n\n\n\n\n\n\n\n\n\n

    updatedAt (DateTime!)

    Identifies the date and time when the object was last updated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    url (URI!)

    The HTTP URL for this bot.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n BranchProtectionRule\n

    \n

    A branch protection rule.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    branchProtectionRuleConflicts (BranchProtectionRuleConflictConnection!)

    A list of conflicts matching branches protection rule and other branch protection rules.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n\n\n

    creator (Actor)

    The actor who created this branch protection rule.

    \n\n\n\n\n\n\n\n\n\n\n\n

    databaseId (Int)

    Identifies the primary key from the database.

    \n\n\n\n\n\n\n\n\n\n\n\n

    dismissesStaleReviews (Boolean!)

    Will new commits pushed to matching branches dismiss pull request review approvals.

    \n\n\n\n\n\n\n\n\n\n\n\n

    isAdminEnforced (Boolean!)

    Can admins overwrite branch protection.

    \n\n\n\n\n\n\n\n\n\n\n\n

    matchingRefs (RefConnection!)

    Repository refs that are protected by this rule.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n\n\n

    pattern (String!)

    Identifies the protection rule pattern.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pushAllowances (PushAllowanceConnection!)

    A list push allowances for this branch protection rule.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n\n\n

    repository (Repository)

    The repository associated with this branch protection rule.

    \n\n\n\n\n\n\n\n\n\n\n\n

    requiredApprovingReviewCount (Int)

    Number of approving reviews required to update matching branches.

    \n\n\n\n\n\n\n\n\n\n\n\n

    requiredStatusCheckContexts ([String])

    List of required status check contexts that must pass for commits to be accepted to matching branches.

    \n\n\n\n\n\n\n\n\n\n\n\n

    requiresApprovingReviews (Boolean!)

    Are approving reviews required to update matching branches.

    \n\n\n\n\n\n\n\n\n\n\n\n

    requiresCodeOwnerReviews (Boolean!)

    Are reviews from code owners required to update matching branches.

    \n\n\n\n\n\n\n\n\n\n\n\n

    requiresCommitSignatures (Boolean!)

    Are commits required to be signed.

    \n\n\n\n\n\n\n\n\n\n\n\n

    requiresStatusChecks (Boolean!)

    Are status checks required to update matching branches.

    \n\n\n\n\n\n\n\n\n\n\n\n

    requiresStrictStatusChecks (Boolean!)

    Are branches required to be up to date before merging.

    \n\n\n\n\n\n\n\n\n\n\n\n

    restrictsPushes (Boolean!)

    Is pushing to matching branches restricted.

    \n\n\n\n\n\n\n\n\n\n\n\n

    restrictsReviewDismissals (Boolean!)

    Is dismissal of pull request reviews restricted.

    \n\n\n\n\n\n\n\n\n\n\n\n

    reviewDismissalAllowances (ReviewDismissalAllowanceConnection!)

    A list review dismissal allowances for this branch protection rule.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n BranchProtectionRuleConflict\n

    \n

    A conflict between two branch protection rules.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    branchProtectionRule (BranchProtectionRule)

    Identifies the branch protection rule.

    \n\n\n\n\n\n\n\n\n\n\n\n

    conflictingBranchProtectionRule (BranchProtectionRule)

    Identifies the conflicting branch protection rule.

    \n\n\n\n\n\n\n\n\n\n\n\n

    ref (Ref)

    Identifies the branch ref that has conflicting rules.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n BranchProtectionRuleConflictConnection\n

    \n

    The connection type for BranchProtectionRuleConflict.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([BranchProtectionRuleConflictEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([BranchProtectionRuleConflict])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n BranchProtectionRuleConflictEdge\n

    \n

    An edge in a connection.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (BranchProtectionRuleConflict)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n BranchProtectionRuleConnection\n

    \n

    The connection type for BranchProtectionRule.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([BranchProtectionRuleEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([BranchProtectionRule])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n BranchProtectionRuleEdge\n

    \n

    An edge in a connection.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (BranchProtectionRule)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n CheckAnnotation\n

    \n

    A single check annotation.

    \n
    \n\n
    \n \n
    \n

    Preview notice

    \n

    CheckAnnotation is available under the Checks preview. During the preview period, the API may change without notice.

    \n
    \n\n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    annotationLevel (CheckAnnotationLevel)

    The annotation's severity level.

    \n\n\n\n\n\n\n\n\n\n\n\n

    blobUrl (URI!)

    The path to the file that this annotation was made on.

    \n\n\n\n\n\n\n\n\n\n\n\n

    databaseId (Int)

    Identifies the primary key from the database.

    \n\n\n\n\n\n\n\n\n\n\n\n

    location (CheckAnnotationSpan!)

    The position of this annotation.

    \n\n\n\n\n\n\n\n\n\n\n\n

    message (String!)

    The annotation's message.

    \n\n\n\n\n\n\n\n\n\n\n\n

    path (String!)

    The path that this annotation was made on.

    \n\n\n\n\n\n\n\n\n\n\n\n

    rawDetails (String)

    Additional information about the annotation.

    \n\n\n\n\n\n\n\n\n\n\n\n

    title (String)

    The annotation's title.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n CheckAnnotationConnection\n

    \n

    The connection type for CheckAnnotation.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([CheckAnnotationEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([CheckAnnotation])

    A list of nodes.

    \n\n\n\n\n
    \n

    Preview notice

    \n

    nodes is available under the Checks preview. During the preview period, the API may change without notice.

    \n
    \n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n CheckAnnotationEdge\n

    \n

    An edge in a connection.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (CheckAnnotation)

    The item at the end of the edge.

    \n\n\n\n\n
    \n

    Preview notice

    \n

    node is available under the Checks preview. During the preview period, the API may change without notice.

    \n
    \n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n CheckAnnotationPosition\n

    \n

    A character position in a check annotation.

    \n
    \n\n
    \n \n
    \n

    Preview notice

    \n

    CheckAnnotationPosition is available under the Checks preview. During the preview period, the API may change without notice.

    \n
    \n\n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    column (Int)

    Column number (1 indexed).

    \n\n\n\n\n\n\n\n\n\n\n\n

    line (Int!)

    Line number (1 indexed).

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n CheckAnnotationSpan\n

    \n

    An inclusive pair of positions for a check annotation.

    \n
    \n\n
    \n \n
    \n

    Preview notice

    \n

    CheckAnnotationSpan is available under the Checks preview. During the preview period, the API may change without notice.

    \n
    \n\n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    end (CheckAnnotationPosition!)

    End position (inclusive).

    \n\n\n\n\n\n\n\n\n\n\n\n

    start (CheckAnnotationPosition!)

    Start position (inclusive).

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n CheckRun\n

    \n

    A check run.

    \n
    \n\n
    \n \n
    \n

    Preview notice

    \n

    CheckRun is available under the Checks preview. During the preview period, the API may change without notice.

    \n
    \n\n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    annotations (CheckAnnotationConnection)

    The check run's annotations.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n\n\n

    checkSuite (CheckSuite!)

    The check suite that this run is a part of.

    \n\n\n\n\n\n\n\n\n\n\n\n

    completedAt (DateTime)

    Identifies the date and time when the check run was completed.

    \n\n\n\n\n\n\n\n\n\n\n\n

    conclusion (CheckConclusionState)

    The conclusion of the check run.

    \n\n\n\n\n\n\n\n\n\n\n\n

    databaseId (Int)

    Identifies the primary key from the database.

    \n\n\n\n\n\n\n\n\n\n\n\n

    detailsUrl (URI)

    The URL from which to find full details of the check run on the integrator's site.

    \n\n\n\n\n\n\n\n\n\n\n\n

    externalId (String)

    A reference for the check run on the integrator's system.

    \n\n\n\n\n\n\n\n\n\n\n\n

    name (String!)

    The name of the check for this check run.

    \n\n\n\n\n\n\n\n\n\n\n\n

    permalink (URI!)

    The permalink to the check run summary.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repository (Repository!)

    The repository associated with this check run.

    \n\n\n\n\n\n\n\n\n\n\n\n

    resourcePath (URI!)

    The HTTP path for this check run.

    \n\n\n\n\n\n\n\n\n\n\n\n

    startedAt (DateTime)

    Identifies the date and time when the check run was started.

    \n\n\n\n\n\n\n\n\n\n\n\n

    status (CheckStatusState!)

    The current status of the check run.

    \n\n\n\n\n\n\n\n\n\n\n\n

    summary (String)

    A string representing the check run's summary.

    \n\n\n\n\n\n\n\n\n\n\n\n

    text (String)

    A string representing the check run's text.

    \n\n\n\n\n\n\n\n\n\n\n\n

    title (String)

    A string representing the check run.

    \n\n\n\n\n\n\n\n\n\n\n\n

    url (URI!)

    The HTTP URL for this check run.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n CheckRunConnection\n

    \n

    The connection type for CheckRun.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([CheckRunEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([CheckRun])

    A list of nodes.

    \n\n\n\n\n
    \n

    Preview notice

    \n

    nodes is available under the Checks preview. During the preview period, the API may change without notice.

    \n
    \n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n CheckRunEdge\n

    \n

    An edge in a connection.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (CheckRun)

    The item at the end of the edge.

    \n\n\n\n\n
    \n

    Preview notice

    \n

    node is available under the Checks preview. During the preview period, the API may change without notice.

    \n
    \n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n CheckSuite\n

    \n

    A check suite.

    \n
    \n\n
    \n \n
    \n

    Preview notice

    \n

    CheckSuite is available under the Checks preview. During the preview period, the API may change without notice.

    \n
    \n\n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    app (App)

    The GitHub App which created this check suite.

    \n\n\n\n\n\n\n\n\n\n\n\n

    branch (Ref)

    The name of the branch for this check suite.

    \n\n\n\n\n\n\n\n\n\n\n\n

    checkRuns (CheckRunConnection)

    The check runs associated with a check suite.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    filterBy (CheckRunFilter)

    \n

    Filters the check runs by this type.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n\n\n

    commit (Commit!)

    The commit for this check suite.

    \n\n\n\n\n\n\n\n\n\n\n\n

    conclusion (CheckConclusionState)

    The conclusion of this check suite.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    databaseId (Int)

    Identifies the primary key from the database.

    \n\n\n\n\n\n\n\n\n\n\n\n

    matchingPullRequests (PullRequestConnection)

    A list of open pull requests matching the check suite.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    baseRefName (String)

    \n

    The base ref name to filter the pull requests by.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    headRefName (String)

    \n

    The head ref name to filter the pull requests by.

    \n\n
    \n\n
    \n

    labels ([String!])

    \n

    A list of label names to filter the pull requests by.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (IssueOrder)

    \n

    Ordering options for pull requests returned from the connection.

    \n\n
    \n\n
    \n

    states ([PullRequestState!])

    \n

    A list of states to filter the pull requests by.

    \n\n
    \n\n
    \n\n\n

    push (Push)

    The push that triggered this check suite.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repository (Repository!)

    The repository associated with this check suite.

    \n\n\n\n\n\n\n\n\n\n\n\n

    resourcePath (URI!)

    The HTTP path for this check suite.

    \n\n\n\n\n\n\n\n\n\n\n\n

    status (CheckStatusState!)

    The status of this check suite.

    \n\n\n\n\n\n\n\n\n\n\n\n

    updatedAt (DateTime!)

    Identifies the date and time when the object was last updated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    url (URI!)

    The HTTP URL for this check suite.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n CheckSuiteConnection\n

    \n

    The connection type for CheckSuite.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([CheckSuiteEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([CheckSuite])

    A list of nodes.

    \n\n\n\n\n
    \n

    Preview notice

    \n

    nodes is available under the Checks preview. During the preview period, the API may change without notice.

    \n
    \n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n CheckSuiteEdge\n

    \n

    An edge in a connection.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (CheckSuite)

    The item at the end of the edge.

    \n\n\n\n\n
    \n

    Preview notice

    \n

    node is available under the Checks preview. During the preview period, the API may change without notice.

    \n
    \n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n ClosedEvent\n

    \n

    Represents aclosedevent on any Closable.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    actor (Actor)

    Identifies the actor who performed the event.

    \n\n\n\n\n\n\n\n\n\n\n\n

    closable (Closable!)

    Object that was closed.

    \n\n\n\n\n\n\n\n\n\n\n\n

    closer (Closer)

    Object which triggered the creation of this event.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    resourcePath (URI!)

    The HTTP path for this closed event.

    \n\n\n\n\n\n\n\n\n\n\n\n

    url (URI!)

    The HTTP URL for this closed event.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n CodeOfConduct\n

    \n

    The Code of Conduct for a repository.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    body (String)

    The body of the Code of Conduct.

    \n\n\n\n\n\n\n\n\n\n\n\n

    key (String!)

    The key for the Code of Conduct.

    \n\n\n\n\n\n\n\n\n\n\n\n

    name (String!)

    The formal name of the Code of Conduct.

    \n\n\n\n\n\n\n\n\n\n\n\n

    resourcePath (URI)

    The HTTP path for this Code of Conduct.

    \n\n\n\n\n\n\n\n\n\n\n\n

    url (URI)

    The HTTP URL for this Code of Conduct.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n CommentDeletedEvent\n

    \n

    Represents acomment_deletedevent on a given issue or pull request.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    actor (Actor)

    Identifies the actor who performed the event.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    databaseId (Int)

    Identifies the primary key from the database.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n Commit\n

    \n

    Represents a Git commit.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    abbreviatedOid (String!)

    An abbreviated version of the Git object ID.

    \n\n\n\n\n\n\n\n\n\n\n\n

    additions (Int!)

    The number of additions in this commit.

    \n\n\n\n\n\n\n\n\n\n\n\n

    associatedPullRequests (PullRequestConnection)

    The pull requests associated with a commit.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (PullRequestOrder)

    \n

    Ordering options for pull requests.

    \n\n
    \n\n
    \n\n\n

    author (GitActor)

    Authorship details of the commit.

    \n\n\n\n\n\n\n\n\n\n\n\n

    authoredByCommitter (Boolean!)

    Check if the committer and the author match.

    \n\n\n\n\n\n\n\n\n\n\n\n

    authoredDate (DateTime!)

    The datetime when this commit was authored.

    \n\n\n\n\n\n\n\n\n\n\n\n

    blame (Blame!)

    Fetches git blame information.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    path (String!)

    \n

    The file whose Git blame information you want.

    \n\n
    \n\n
    \n\n\n

    changedFiles (Int!)

    The number of changed files in this commit.

    \n\n\n\n\n\n\n\n\n\n\n\n

    checkSuites (CheckSuiteConnection)

    The check suites associated with a commit.

    \n\n\n\n\n
    \n

    Preview notice

    \n

    checkSuites is available under the Checks preview. During the preview period, the API may change without notice.

    \n
    \n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    filterBy (CheckSuiteFilter)

    \n

    Filters the check suites by this type.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n\n\n

    comments (CommitCommentConnection!)

    Comments made on the commit.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n\n\n

    commitResourcePath (URI!)

    The HTTP path for this Git object.

    \n\n\n\n\n\n\n\n\n\n\n\n

    commitUrl (URI!)

    The HTTP URL for this Git object.

    \n\n\n\n\n\n\n\n\n\n\n\n

    committedDate (DateTime!)

    The datetime when this commit was committed.

    \n\n\n\n\n\n\n\n\n\n\n\n

    committedViaWeb (Boolean!)

    Check if commited via GitHub web UI.

    \n\n\n\n\n\n\n\n\n\n\n\n

    committer (GitActor)

    Committership details of the commit.

    \n\n\n\n\n\n\n\n\n\n\n\n

    deletions (Int!)

    The number of deletions in this commit.

    \n\n\n\n\n\n\n\n\n\n\n\n

    deployments (DeploymentConnection)

    The deployments associated with a commit.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    environments ([String!])

    \n

    Environments to list deployments for.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (DeploymentOrder)

    \n

    Ordering options for deployments returned from the connection.

    \n\n
    \n\n
    \n\n\n

    history (CommitHistoryConnection!)

    The linear commit history starting from (and including) this commit, in the same order as git log.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    author (CommitAuthor)

    \n

    If non-null, filters history to only show commits with matching authorship.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    path (String)

    \n

    If non-null, filters history to only show commits touching files under this path.

    \n\n
    \n\n
    \n

    since (GitTimestamp)

    \n

    Allows specifying a beginning time or date for fetching commits.

    \n\n
    \n\n
    \n

    until (GitTimestamp)

    \n

    Allows specifying an ending time or date for fetching commits.

    \n\n
    \n\n
    \n\n\n

    message (String!)

    The Git commit message.

    \n\n\n\n\n\n\n\n\n\n\n\n

    messageBody (String!)

    The Git commit message body.

    \n\n\n\n\n\n\n\n\n\n\n\n

    messageBodyHTML (HTML!)

    The commit message body rendered to HTML.

    \n\n\n\n\n\n\n\n\n\n\n\n

    messageHeadline (String!)

    The Git commit message headline.

    \n\n\n\n\n\n\n\n\n\n\n\n

    messageHeadlineHTML (HTML!)

    The commit message headline rendered to HTML.

    \n\n\n\n\n\n\n\n\n\n\n\n

    oid (GitObjectID!)

    The Git object ID.

    \n\n\n\n\n\n\n\n\n\n\n\n

    parents (CommitConnection!)

    The parents of a commit.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n\n\n

    pushedDate (DateTime)

    The datetime when this commit was pushed.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repository (Repository!)

    The Repository this commit belongs to.

    \n\n\n\n\n\n\n\n\n\n\n\n

    resourcePath (URI!)

    The HTTP path for this commit.

    \n\n\n\n\n\n\n\n\n\n\n\n

    signature (GitSignature)

    Commit signing information, if present.

    \n\n\n\n\n\n\n\n\n\n\n\n

    status (Status)

    Status information for this commit.

    \n\n\n\n\n\n\n\n\n\n\n\n

    tarballUrl (URI!)

    Returns a URL to download a tarball archive for a repository.\nNote: For private repositories, these links are temporary and expire after five minutes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    tree (Tree!)

    Commit's root Tree.

    \n\n\n\n\n\n\n\n\n\n\n\n

    treeResourcePath (URI!)

    The HTTP path for the tree of this commit.

    \n\n\n\n\n\n\n\n\n\n\n\n

    treeUrl (URI!)

    The HTTP URL for the tree of this commit.

    \n\n\n\n\n\n\n\n\n\n\n\n

    url (URI!)

    The HTTP URL for this commit.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerCanSubscribe (Boolean!)

    Check if the viewer is able to change their subscription status for the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerSubscription (SubscriptionState)

    Identifies if the viewer is watching, not watching, or ignoring the subscribable entity.

    \n\n\n\n\n\n\n\n\n\n\n\n

    zipballUrl (URI!)

    Returns a URL to download a zipball archive for a repository.\nNote: For private repositories, these links are temporary and expire after five minutes.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n CommitComment\n

    \n

    Represents a comment on a given Commit.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    author (Actor)

    The actor who authored the comment.

    \n\n\n\n\n\n\n\n\n\n\n\n

    authorAssociation (CommentAuthorAssociation!)

    Author's association with the subject of the comment.

    \n\n\n\n\n\n\n\n\n\n\n\n

    body (String!)

    Identifies the comment body.

    \n\n\n\n\n\n\n\n\n\n\n\n

    bodyHTML (HTML!)

    The body rendered to HTML.

    \n\n\n\n\n\n\n\n\n\n\n\n

    bodyText (String!)

    The body rendered to text.

    \n\n\n\n\n\n\n\n\n\n\n\n

    commit (Commit)

    Identifies the commit associated with the comment, if the commit exists.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdViaEmail (Boolean!)

    Check if this comment was created via an email reply.

    \n\n\n\n\n\n\n\n\n\n\n\n

    databaseId (Int)

    Identifies the primary key from the database.

    \n\n\n\n\n\n\n\n\n\n\n\n

    editor (Actor)

    The actor who edited the comment.

    \n\n\n\n\n\n\n\n\n\n\n\n

    includesCreatedEdit (Boolean!)

    Check if this comment was edited and includes an edit with the creation data.

    \n\n\n\n\n\n\n\n\n\n\n\n

    isMinimized (Boolean!)

    Returns whether or not a comment has been minimized.

    \n\n\n\n\n\n\n\n\n\n\n\n

    lastEditedAt (DateTime)

    The moment the editor made the last edit.

    \n\n\n\n\n\n\n\n\n\n\n\n

    minimizedReason (String)

    Returns why the comment was minimized.

    \n\n\n\n\n\n\n\n\n\n\n\n

    path (String)

    Identifies the file path associated with the comment.

    \n\n\n\n\n\n\n\n\n\n\n\n

    position (Int)

    Identifies the line position associated with the comment.

    \n\n\n\n\n\n\n\n\n\n\n\n

    publishedAt (DateTime)

    Identifies when the comment was published at.

    \n\n\n\n\n\n\n\n\n\n\n\n

    reactionGroups ([ReactionGroup!])

    A list of reactions grouped by content left on the subject.

    \n\n\n\n\n\n\n\n\n\n\n\n

    reactions (ReactionConnection!)

    A list of Reactions left on the Issue.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    content (ReactionContent)

    \n

    Allows filtering Reactions by emoji.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (ReactionOrder)

    \n

    Allows specifying the order in which reactions are returned.

    \n\n
    \n\n
    \n\n\n

    repository (Repository!)

    The repository associated with this node.

    \n\n\n\n\n\n\n\n\n\n\n\n

    resourcePath (URI!)

    The HTTP path permalink for this commit comment.

    \n\n\n\n\n\n\n\n\n\n\n\n

    updatedAt (DateTime!)

    Identifies the date and time when the object was last updated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    url (URI!)

    The HTTP URL permalink for this commit comment.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userContentEdits (UserContentEditConnection)

    A list of edits to this content.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n\n\n

    viewerCanDelete (Boolean!)

    Check if the current viewer can delete this object.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerCanMinimize (Boolean!)

    Check if the current viewer can minimize this object.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerCanReact (Boolean!)

    Can user react to this subject.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerCanUpdate (Boolean!)

    Check if the current viewer can update this object.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerCannotUpdateReasons ([CommentCannotUpdateReason!]!)

    Reasons why the current viewer can not update this comment.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerDidAuthor (Boolean!)

    Did the viewer author this comment.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n CommitCommentConnection\n

    \n

    The connection type for CommitComment.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([CommitCommentEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([CommitComment])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n CommitCommentEdge\n

    \n

    An edge in a connection.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (CommitComment)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n CommitCommentThread\n

    \n

    A thread of comments on a commit.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    comments (CommitCommentConnection!)

    The comments that exist in this thread.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n\n\n

    commit (Commit)

    The commit the comments were made on.

    \n\n\n\n\n\n\n\n\n\n\n\n

    path (String)

    The file the comments were made on.

    \n\n\n\n\n\n\n\n\n\n\n\n

    position (Int)

    The position in the diff for the commit that the comment was made on.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repository (Repository!)

    The repository associated with this node.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n CommitConnection\n

    \n

    The connection type for Commit.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([CommitEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([Commit])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n CommitContributionsByRepository\n

    \n

    This aggregates commits made by a user within one repository.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    contributions (CreatedCommitContributionConnection!)

    The commit contributions, each representing a day.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (CommitContributionOrder)

    \n

    Ordering options for commit contributions returned from the connection.

    \n\n
    \n\n
    \n\n\n

    repository (Repository!)

    The repository in which the commits were made.

    \n\n\n\n\n\n\n\n\n\n\n\n

    resourcePath (URI!)

    The HTTP path for the user's commits to the repository in this time range.

    \n\n\n\n\n\n\n\n\n\n\n\n

    url (URI!)

    The HTTP URL for the user's commits to the repository in this time range.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n CommitEdge\n

    \n

    An edge in a connection.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (Commit)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n CommitHistoryConnection\n

    \n

    The connection type for Commit.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([CommitEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([Commit])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n ContentAttachment\n

    \n

    A content attachment.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    body (String!)

    The body text of the content attachment. This parameter supports markdown.

    \n\n\n\n\n\n\n\n\n\n\n\n

    contentReference (ContentReference!)

    The content reference that the content attachment is attached to.

    \n\n\n\n\n\n\n\n\n\n\n\n

    databaseId (Int!)

    Identifies the primary key from the database.

    \n\n\n\n\n\n\n\n\n\n\n\n

    title (String!)

    The title of the content attachment.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n ContentReference\n

    \n

    A content reference.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    databaseId (Int!)

    Identifies the primary key from the database.

    \n\n\n\n\n\n\n\n\n\n\n\n

    reference (String!)

    The reference of the content reference.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n ContributionCalendar\n

    \n

    A calendar of contributions made on GitHub by a user.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    colors ([String!]!)

    A list of hex color codes used in this calendar. The darker the color, the more contributions it represents.

    \n\n\n\n\n\n\n\n\n\n\n\n

    isHalloween (Boolean!)

    Determine if the color set was chosen because it's currently Halloween.

    \n\n\n\n\n\n\n\n\n\n\n\n

    months ([ContributionCalendarMonth!]!)

    A list of the months of contributions in this calendar.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalContributions (Int!)

    The count of total contributions in the calendar.

    \n\n\n\n\n\n\n\n\n\n\n\n

    weeks ([ContributionCalendarWeek!]!)

    A list of the weeks of contributions in this calendar.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n ContributionCalendarDay\n

    \n

    Represents a single day of contributions on GitHub by a user.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    color (String!)

    The hex color code that represents how many contributions were made on this day compared to others in the calendar.

    \n\n\n\n\n\n\n\n\n\n\n\n

    contributionCount (Int!)

    How many contributions were made by the user on this day.

    \n\n\n\n\n\n\n\n\n\n\n\n

    date (Date!)

    The day this square represents.

    \n\n\n\n\n\n\n\n\n\n\n\n

    weekday (Int!)

    A number representing which day of the week this square represents, e.g., 1 is Monday.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n ContributionCalendarMonth\n

    \n

    A month of contributions in a user's contribution graph.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    firstDay (Date!)

    The date of the first day of this month.

    \n\n\n\n\n\n\n\n\n\n\n\n

    name (String!)

    The name of the month.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalWeeks (Int!)

    How many weeks started in this month.

    \n\n\n\n\n\n\n\n\n\n\n\n

    year (Int!)

    The year the month occurred in.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n ContributionCalendarWeek\n

    \n

    A week of contributions in a user's contribution graph.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    contributionDays ([ContributionCalendarDay!]!)

    The days of contributions in this week.

    \n\n\n\n\n\n\n\n\n\n\n\n

    firstDay (Date!)

    The date of the earliest square in this week.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n ContributionsCollection\n

    \n

    A contributions collection aggregates contributions such as opened issues and commits created by a user.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    commitContributionsByRepository ([CommitContributionsByRepository!]!)

    Commit contributions made by the user, grouped by repository.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    maxRepositories (Int)

    \n

    How many repositories should be included.

    \n

    The default value is 25.

    \n
    \n\n
    \n\n\n

    contributionCalendar (ContributionCalendar!)

    A calendar of this user's contributions on GitHub.

    \n\n\n\n\n\n\n\n\n\n\n\n

    contributionYears ([Int!]!)

    The years the user has been making contributions with the most recent year first.

    \n\n\n\n\n\n\n\n\n\n\n\n

    doesEndInCurrentMonth (Boolean!)

    Determine if this collection's time span ends in the current month.

    \n\n\n\n\n\n\n\n\n\n\n\n

    earliestRestrictedContributionDate (Date)

    The date of the first restricted contribution the user made in this time\nperiod. Can only be non-null when the user has enabled private contribution counts.

    \n\n\n\n\n\n\n\n\n\n\n\n

    endedAt (DateTime!)

    The ending date and time of this collection.

    \n\n\n\n\n\n\n\n\n\n\n\n

    firstIssueContribution (CreatedIssueOrRestrictedContribution)

    The first issue the user opened on GitHub. This will be null if that issue was\nopened outside the collection's time range and ignoreTimeRange is false. If\nthe issue is not visible but the user has opted to show private contributions,\na RestrictedContribution will be returned.

    \n\n\n\n\n\n\n\n\n\n\n\n

    firstPullRequestContribution (CreatedPullRequestOrRestrictedContribution)

    The first pull request the user opened on GitHub. This will be null if that\npull request was opened outside the collection's time range and\nignoreTimeRange is not true. If the pull request is not visible but the user\nhas opted to show private contributions, a RestrictedContribution will be returned.

    \n\n\n\n\n\n\n\n\n\n\n\n

    firstRepositoryContribution (CreatedRepositoryOrRestrictedContribution)

    The first repository the user created on GitHub. This will be null if that\nfirst repository was created outside the collection's time range and\nignoreTimeRange is false. If the repository is not visible, then a\nRestrictedContribution is returned.

    \n\n\n\n\n\n\n\n\n\n\n\n

    hasActivityInThePast (Boolean!)

    Does the user have any more activity in the timeline that occurred prior to the collection's time range?.

    \n\n\n\n\n\n\n\n\n\n\n\n

    hasAnyContributions (Boolean!)

    Determine if there are any contributions in this collection.

    \n\n\n\n\n\n\n\n\n\n\n\n

    hasAnyRestrictedContributions (Boolean!)

    Determine if the user made any contributions in this time frame whose details\nare not visible because they were made in a private repository. Can only be\ntrue if the user enabled private contribution counts.

    \n\n\n\n\n\n\n\n\n\n\n\n

    isSingleDay (Boolean!)

    Whether or not the collector's time span is all within the same day.

    \n\n\n\n\n\n\n\n\n\n\n\n

    issueContributions (CreatedIssueContributionConnection!)

    A list of issues the user opened.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    excludeFirst (Boolean)

    \n

    Should the user's first issue ever be excluded from the result.

    \n

    The default value is false.

    \n
    \n\n
    \n

    excludePopular (Boolean)

    \n

    Should the user's most commented issue be excluded from the result.

    \n

    The default value is false.

    \n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (ContributionOrder)

    \n

    Ordering options for contributions returned from the connection.

    \n\n
    \n\n
    \n\n\n

    issueContributionsByRepository ([IssueContributionsByRepository!]!)

    Issue contributions made by the user, grouped by repository.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    excludeFirst (Boolean)

    \n

    Should the user's first issue ever be excluded from the result.

    \n

    The default value is false.

    \n
    \n\n
    \n

    excludePopular (Boolean)

    \n

    Should the user's most commented issue be excluded from the result.

    \n

    The default value is false.

    \n
    \n\n
    \n

    maxRepositories (Int)

    \n

    How many repositories should be included.

    \n

    The default value is 25.

    \n
    \n\n
    \n\n\n

    joinedGitHubContribution (JoinedGitHubContribution)

    When the user signed up for GitHub. This will be null if that sign up date\nfalls outside the collection's time range and ignoreTimeRange is false.

    \n\n\n\n\n\n\n\n\n\n\n\n

    latestRestrictedContributionDate (Date)

    The date of the most recent restricted contribution the user made in this time\nperiod. Can only be non-null when the user has enabled private contribution counts.

    \n\n\n\n\n\n\n\n\n\n\n\n

    mostRecentCollectionWithActivity (ContributionsCollection)

    When this collection's time range does not include any activity from the user, use this\nto get a different collection from an earlier time range that does have activity.

    \n\n\n\n\n\n\n\n\n\n\n\n

    mostRecentCollectionWithoutActivity (ContributionsCollection)

    Returns a different contributions collection from an earlier time range than this one\nthat does not have any contributions.

    \n\n\n\n\n\n\n\n\n\n\n\n

    popularIssueContribution (CreatedIssueContribution)

    The issue the user opened on GitHub that received the most comments in the specified\ntime frame.

    \n\n\n\n\n\n\n\n\n\n\n\n

    popularPullRequestContribution (CreatedPullRequestContribution)

    The pull request the user opened on GitHub that received the most comments in the\nspecified time frame.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pullRequestContributions (CreatedPullRequestContributionConnection!)

    Pull request contributions made by the user.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    excludeFirst (Boolean)

    \n

    Should the user's first pull request ever be excluded from the result.

    \n

    The default value is false.

    \n
    \n\n
    \n

    excludePopular (Boolean)

    \n

    Should the user's most commented pull request be excluded from the result.

    \n

    The default value is false.

    \n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (ContributionOrder)

    \n

    Ordering options for contributions returned from the connection.

    \n\n
    \n\n
    \n\n\n

    pullRequestContributionsByRepository ([PullRequestContributionsByRepository!]!)

    Pull request contributions made by the user, grouped by repository.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    excludeFirst (Boolean)

    \n

    Should the user's first pull request ever be excluded from the result.

    \n

    The default value is false.

    \n
    \n\n
    \n

    excludePopular (Boolean)

    \n

    Should the user's most commented pull request be excluded from the result.

    \n

    The default value is false.

    \n
    \n\n
    \n

    maxRepositories (Int)

    \n

    How many repositories should be included.

    \n

    The default value is 25.

    \n
    \n\n
    \n\n\n

    pullRequestReviewContributions (CreatedPullRequestReviewContributionConnection!)

    Pull request review contributions made by the user.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (ContributionOrder)

    \n

    Ordering options for contributions returned from the connection.

    \n\n
    \n\n
    \n\n\n

    pullRequestReviewContributionsByRepository ([PullRequestReviewContributionsByRepository!]!)

    Pull request review contributions made by the user, grouped by repository.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    maxRepositories (Int)

    \n

    How many repositories should be included.

    \n

    The default value is 25.

    \n
    \n\n
    \n\n\n

    repositoryContributions (CreatedRepositoryContributionConnection!)

    A list of repositories owned by the user that the user created in this time range.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    excludeFirst (Boolean)

    \n

    Should the user's first repository ever be excluded from the result.

    \n

    The default value is false.

    \n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (ContributionOrder)

    \n

    Ordering options for contributions returned from the connection.

    \n\n
    \n\n
    \n\n\n

    restrictedContributionsCount (Int!)

    A count of contributions made by the user that the viewer cannot access. Only\nnon-zero when the user has chosen to share their private contribution counts.

    \n\n\n\n\n\n\n\n\n\n\n\n

    startedAt (DateTime!)

    The beginning date and time of this collection.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCommitContributions (Int!)

    How many commits were made by the user in this time span.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalIssueContributions (Int!)

    How many issues the user opened.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    excludeFirst (Boolean)

    \n

    Should the user's first issue ever be excluded from this count.

    \n

    The default value is false.

    \n
    \n\n
    \n

    excludePopular (Boolean)

    \n

    Should the user's most commented issue be excluded from this count.

    \n

    The default value is false.

    \n
    \n\n
    \n\n\n

    totalPullRequestContributions (Int!)

    How many pull requests the user opened.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    excludeFirst (Boolean)

    \n

    Should the user's first pull request ever be excluded from this count.

    \n

    The default value is false.

    \n
    \n\n
    \n

    excludePopular (Boolean)

    \n

    Should the user's most commented pull request be excluded from this count.

    \n

    The default value is false.

    \n
    \n\n
    \n\n\n

    totalPullRequestReviewContributions (Int!)

    How many pull request reviews the user left.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalRepositoriesWithContributedCommits (Int!)

    How many different repositories the user committed to.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalRepositoriesWithContributedIssues (Int!)

    How many different repositories the user opened issues in.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    excludeFirst (Boolean)

    \n

    Should the user's first issue ever be excluded from this count.

    \n

    The default value is false.

    \n
    \n\n
    \n

    excludePopular (Boolean)

    \n

    Should the user's most commented issue be excluded from this count.

    \n

    The default value is false.

    \n
    \n\n
    \n\n\n

    totalRepositoriesWithContributedPullRequestReviews (Int!)

    How many different repositories the user left pull request reviews in.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalRepositoriesWithContributedPullRequests (Int!)

    How many different repositories the user opened pull requests in.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    excludeFirst (Boolean)

    \n

    Should the user's first pull request ever be excluded from this count.

    \n

    The default value is false.

    \n
    \n\n
    \n

    excludePopular (Boolean)

    \n

    Should the user's most commented pull request be excluded from this count.

    \n

    The default value is false.

    \n
    \n\n
    \n\n\n

    totalRepositoryContributions (Int!)

    How many repositories the user created.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    excludeFirst (Boolean)

    \n

    Should the user's first repository ever be excluded from this count.

    \n

    The default value is false.

    \n
    \n\n
    \n\n\n

    user (User!)

    The user who made the contributions in this collection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n ConvertedNoteToIssueEvent\n

    \n

    Represents aconverted_note_to_issueevent on a given issue or pull request.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    actor (Actor)

    Identifies the actor who performed the event.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    databaseId (Int)

    Identifies the primary key from the database.

    \n\n\n\n\n\n\n\n\n\n\n\n

    project (Project)

    Project referenced by event.

    \n\n\n\n\n
    \n

    Preview notice

    \n

    project is available under the Project event details preview. During the preview period, the API may change without notice.

    \n
    \n\n\n\n\n\n\n\n\n

    projectCard (ProjectCard)

    Project card referenced by this project event.

    \n\n\n\n\n
    \n

    Preview notice

    \n

    projectCard is available under the Project event details preview. During the preview period, the API may change without notice.

    \n
    \n\n\n\n\n\n\n\n\n

    projectColumnName (String!)

    Column name referenced by this project event.

    \n\n\n\n\n
    \n

    Preview notice

    \n

    projectColumnName is available under the Project event details preview. During the preview period, the API may change without notice.

    \n
    \n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n CreatedCommitContribution\n

    \n

    Represents the contribution a user made by committing to a repository.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    commitCount (Int!)

    How many commits were made on this day to this repository by the user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    isRestricted (Boolean!)

    Whether this contribution is associated with a record you do not have access to. For\nexample, your own 'first issue' contribution may have been made on a repository you can no\nlonger access.

    \n\n\n\n\n\n\n\n\n\n\n\n

    occurredAt (DateTime!)

    When this contribution was made.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repository (Repository!)

    The repository the user made a commit in.

    \n\n\n\n\n\n\n\n\n\n\n\n

    resourcePath (URI!)

    The HTTP path for this contribution.

    \n\n\n\n\n\n\n\n\n\n\n\n

    url (URI!)

    The HTTP URL for this contribution.

    \n\n\n\n\n\n\n\n\n\n\n\n

    user (User!)

    The user who made this contribution.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n CreatedCommitContributionConnection\n

    \n

    The connection type for CreatedCommitContribution.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([CreatedCommitContributionEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([CreatedCommitContribution])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of commits across days and repositories in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n CreatedCommitContributionEdge\n

    \n

    An edge in a connection.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (CreatedCommitContribution)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n CreatedIssueContribution\n

    \n

    Represents the contribution a user made on GitHub by opening an issue.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    isRestricted (Boolean!)

    Whether this contribution is associated with a record you do not have access to. For\nexample, your own 'first issue' contribution may have been made on a repository you can no\nlonger access.

    \n\n\n\n\n\n\n\n\n\n\n\n

    issue (Issue!)

    The issue that was opened.

    \n\n\n\n\n\n\n\n\n\n\n\n

    occurredAt (DateTime!)

    When this contribution was made.

    \n\n\n\n\n\n\n\n\n\n\n\n

    resourcePath (URI!)

    The HTTP path for this contribution.

    \n\n\n\n\n\n\n\n\n\n\n\n

    url (URI!)

    The HTTP URL for this contribution.

    \n\n\n\n\n\n\n\n\n\n\n\n

    user (User!)

    The user who made this contribution.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n CreatedIssueContributionConnection\n

    \n

    The connection type for CreatedIssueContribution.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([CreatedIssueContributionEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([CreatedIssueContribution])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n CreatedIssueContributionEdge\n

    \n

    An edge in a connection.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (CreatedIssueContribution)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n CreatedPullRequestContribution\n

    \n

    Represents the contribution a user made on GitHub by opening a pull request.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    isRestricted (Boolean!)

    Whether this contribution is associated with a record you do not have access to. For\nexample, your own 'first issue' contribution may have been made on a repository you can no\nlonger access.

    \n\n\n\n\n\n\n\n\n\n\n\n

    occurredAt (DateTime!)

    When this contribution was made.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pullRequest (PullRequest!)

    The pull request that was opened.

    \n\n\n\n\n\n\n\n\n\n\n\n

    resourcePath (URI!)

    The HTTP path for this contribution.

    \n\n\n\n\n\n\n\n\n\n\n\n

    url (URI!)

    The HTTP URL for this contribution.

    \n\n\n\n\n\n\n\n\n\n\n\n

    user (User!)

    The user who made this contribution.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n CreatedPullRequestContributionConnection\n

    \n

    The connection type for CreatedPullRequestContribution.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([CreatedPullRequestContributionEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([CreatedPullRequestContribution])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n CreatedPullRequestContributionEdge\n

    \n

    An edge in a connection.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (CreatedPullRequestContribution)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n CreatedPullRequestReviewContribution\n

    \n

    Represents the contribution a user made by leaving a review on a pull request.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    isRestricted (Boolean!)

    Whether this contribution is associated with a record you do not have access to. For\nexample, your own 'first issue' contribution may have been made on a repository you can no\nlonger access.

    \n\n\n\n\n\n\n\n\n\n\n\n

    occurredAt (DateTime!)

    When this contribution was made.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pullRequest (PullRequest!)

    The pull request the user reviewed.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pullRequestReview (PullRequestReview!)

    The review the user left on the pull request.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repository (Repository!)

    The repository containing the pull request that the user reviewed.

    \n\n\n\n\n\n\n\n\n\n\n\n

    resourcePath (URI!)

    The HTTP path for this contribution.

    \n\n\n\n\n\n\n\n\n\n\n\n

    url (URI!)

    The HTTP URL for this contribution.

    \n\n\n\n\n\n\n\n\n\n\n\n

    user (User!)

    The user who made this contribution.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n CreatedPullRequestReviewContributionConnection\n

    \n

    The connection type for CreatedPullRequestReviewContribution.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([CreatedPullRequestReviewContributionEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([CreatedPullRequestReviewContribution])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n CreatedPullRequestReviewContributionEdge\n

    \n

    An edge in a connection.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (CreatedPullRequestReviewContribution)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n CreatedRepositoryContribution\n

    \n

    Represents the contribution a user made on GitHub by creating a repository.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    isRestricted (Boolean!)

    Whether this contribution is associated with a record you do not have access to. For\nexample, your own 'first issue' contribution may have been made on a repository you can no\nlonger access.

    \n\n\n\n\n\n\n\n\n\n\n\n

    occurredAt (DateTime!)

    When this contribution was made.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repository (Repository!)

    The repository that was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    resourcePath (URI!)

    The HTTP path for this contribution.

    \n\n\n\n\n\n\n\n\n\n\n\n

    url (URI!)

    The HTTP URL for this contribution.

    \n\n\n\n\n\n\n\n\n\n\n\n

    user (User!)

    The user who made this contribution.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n CreatedRepositoryContributionConnection\n

    \n

    The connection type for CreatedRepositoryContribution.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([CreatedRepositoryContributionEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([CreatedRepositoryContribution])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n CreatedRepositoryContributionEdge\n

    \n

    An edge in a connection.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (CreatedRepositoryContribution)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n CrossReferencedEvent\n

    \n

    Represents a mention made by one issue or pull request to another.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    actor (Actor)

    Identifies the actor who performed the event.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    isCrossRepository (Boolean!)

    Reference originated in a different repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    referencedAt (DateTime!)

    Identifies when the reference was made.

    \n\n\n\n\n\n\n\n\n\n\n\n

    resourcePath (URI!)

    The HTTP path for this pull request.

    \n\n\n\n\n\n\n\n\n\n\n\n

    source (ReferencedSubject!)

    Issue or pull request that made the reference.

    \n\n\n\n\n\n\n\n\n\n\n\n

    target (ReferencedSubject!)

    Issue or pull request to which the reference was made.

    \n\n\n\n\n\n\n\n\n\n\n\n

    url (URI!)

    The HTTP URL for this pull request.

    \n\n\n\n\n\n\n\n\n\n\n\n

    willCloseTarget (Boolean!)

    Checks if the target will be closed when the source is merged.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n DemilestonedEvent\n

    \n

    Represents ademilestonedevent on a given issue or pull request.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    actor (Actor)

    Identifies the actor who performed the event.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    milestoneTitle (String!)

    Identifies the milestone title associated with thedemilestonedevent.

    \n\n\n\n\n\n\n\n\n\n\n\n

    subject (MilestoneItem!)

    Object referenced by event.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n DeployKey\n

    \n

    A repository deploy key.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    key (String!)

    The deploy key.

    \n\n\n\n\n\n\n\n\n\n\n\n

    readOnly (Boolean!)

    Whether or not the deploy key is read only.

    \n\n\n\n\n\n\n\n\n\n\n\n

    title (String!)

    The deploy key title.

    \n\n\n\n\n\n\n\n\n\n\n\n

    verified (Boolean!)

    Whether or not the deploy key has been verified.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n DeployKeyConnection\n

    \n

    The connection type for DeployKey.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([DeployKeyEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([DeployKey])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n DeployKeyEdge\n

    \n

    An edge in a connection.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (DeployKey)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n DeployedEvent\n

    \n

    Represents adeployedevent on a given pull request.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    actor (Actor)

    Identifies the actor who performed the event.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    databaseId (Int)

    Identifies the primary key from the database.

    \n\n\n\n\n\n\n\n\n\n\n\n

    deployment (Deployment!)

    The deployment associated with thedeployedevent.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pullRequest (PullRequest!)

    PullRequest referenced by event.

    \n\n\n\n\n\n\n\n\n\n\n\n

    ref (Ref)

    The ref associated with thedeployedevent.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n Deployment\n

    \n

    Represents triggered deployment instance.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    commit (Commit)

    Identifies the commit sha of the deployment.

    \n\n\n\n\n\n\n\n\n\n\n\n

    commitOid (String!)

    Identifies the oid of the deployment commit, even if the commit has been deleted.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    creator (Actor)

    Identifies the actor who triggered the deployment.

    \n\n\n\n\n\n\n\n\n\n\n\n

    databaseId (Int)

    Identifies the primary key from the database.

    \n\n\n\n\n\n\n\n\n\n\n\n

    description (String)

    The deployment description.

    \n\n\n\n\n\n\n\n\n\n\n\n

    environment (String)

    The environment to which this deployment was made.

    \n\n\n\n\n\n\n\n\n\n\n\n

    latestStatus (DeploymentStatus)

    The latest status of this deployment.

    \n\n\n\n\n\n\n\n\n\n\n\n

    payload (String)

    Extra information that a deployment system might need.

    \n\n\n\n\n\n\n\n\n\n\n\n

    ref (Ref)

    Identifies the Ref of the deployment, if the deployment was created by ref.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repository (Repository!)

    Identifies the repository associated with the deployment.

    \n\n\n\n\n\n\n\n\n\n\n\n

    state (DeploymentState)

    The current state of the deployment.

    \n\n\n\n\n\n\n\n\n\n\n\n

    statuses (DeploymentStatusConnection)

    A list of statuses associated with the deployment.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n\n\n

    task (String)

    The deployment task.

    \n\n\n\n\n\n\n\n\n\n\n\n

    updatedAt (DateTime!)

    Identifies the date and time when the object was last updated.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n DeploymentConnection\n

    \n

    The connection type for Deployment.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([DeploymentEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([Deployment])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n DeploymentEdge\n

    \n

    An edge in a connection.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (Deployment)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n DeploymentEnvironmentChangedEvent\n

    \n

    Represents adeployment_environment_changedevent on a given pull request.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    actor (Actor)

    Identifies the actor who performed the event.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    deploymentStatus (DeploymentStatus!)

    The deployment status that updated the deployment environment.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pullRequest (PullRequest!)

    PullRequest referenced by event.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n DeploymentStatus\n

    \n

    Describes the status of a given deployment attempt.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    creator (Actor)

    Identifies the actor who triggered the deployment.

    \n\n\n\n\n\n\n\n\n\n\n\n

    deployment (Deployment!)

    Identifies the deployment associated with status.

    \n\n\n\n\n\n\n\n\n\n\n\n

    description (String)

    Identifies the description of the deployment.

    \n\n\n\n\n\n\n\n\n\n\n\n

    environment (String)

    Identifies the environment of the deployment at the time of this deployment status.

    \n\n\n\n\n
    \n

    Preview notice

    \n

    environment is available under the Deployments preview. During the preview period, the API may change without notice.

    \n
    \n\n\n\n\n\n\n\n\n

    environmentUrl (URI)

    Identifies the environment URL of the deployment.

    \n\n\n\n\n\n\n\n\n\n\n\n

    logUrl (URI)

    Identifies the log URL of the deployment.

    \n\n\n\n\n\n\n\n\n\n\n\n

    state (DeploymentStatusState!)

    Identifies the current state of the deployment.

    \n\n\n\n\n\n\n\n\n\n\n\n

    updatedAt (DateTime!)

    Identifies the date and time when the object was last updated.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n DeploymentStatusConnection\n

    \n

    The connection type for DeploymentStatus.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([DeploymentStatusEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([DeploymentStatus])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n DeploymentStatusEdge\n

    \n

    An edge in a connection.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (DeploymentStatus)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n Enterprise\n

    \n

    An account to manage multiple organizations with consolidated policy and billing.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    avatarUrl (URI!)

    A URL pointing to the enterprise's public avatar.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    size (Int)

    \n

    The size of the resulting square image.

    \n\n
    \n\n
    \n\n\n

    billingInfo (EnterpriseBillingInfo)

    Enterprise billing information visible to enterprise billing managers.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    databaseId (Int)

    Identifies the primary key from the database.

    \n\n\n\n\n\n\n\n\n\n\n\n

    description (String)

    The description of the enterprise.

    \n\n\n\n\n\n\n\n\n\n\n\n

    descriptionHTML (HTML!)

    The description of the enterprise as HTML.

    \n\n\n\n\n\n\n\n\n\n\n\n

    location (String)

    The location of the enterprise.

    \n\n\n\n\n\n\n\n\n\n\n\n

    members (EnterpriseMemberConnection!)

    A list of users who are members of this enterprise.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    deployment (EnterpriseUserDeployment)

    \n

    Only return members within the selected GitHub Enterprise deployment.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (EnterpriseMemberOrder)

    \n

    Ordering options for members returned from the connection.

    \n\n
    \n\n
    \n

    organizationLogins ([String!])

    \n

    Only return members within the organizations with these logins.

    \n\n
    \n\n
    \n

    query (String)

    \n

    The search string to look for.

    \n\n
    \n\n
    \n

    role (EnterpriseUserAccountMembershipRole)

    \n

    The role of the user in the enterprise organization or server.

    \n\n
    \n\n
    \n\n\n

    name (String!)

    The name of the enterprise.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizations (OrganizationConnection!)

    A list of organizations that belong to this enterprise.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (OrganizationOrder)

    \n

    Ordering options for organizations returned from the connection.

    \n\n
    \n\n
    \n

    query (String)

    \n

    The search string to look for.

    \n\n
    \n\n
    \n\n\n

    ownerInfo (EnterpriseOwnerInfo)

    Enterprise information only visible to enterprise owners.

    \n\n\n\n\n\n\n\n\n\n\n\n

    resourcePath (URI!)

    The HTTP path for this enterprise.

    \n\n\n\n\n\n\n\n\n\n\n\n

    url (URI!)

    The HTTP URL for this enterprise.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userAccounts (EnterpriseUserAccountConnection!)

    A list of user accounts on this enterprise.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n\n\n

    viewerIsAdmin (Boolean!)

    Is the current viewer an admin of this enterprise?.

    \n\n\n\n\n\n\n\n\n\n\n\n

    websiteUrl (URI)

    The URL of the enterprise website.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n EnterpriseAdministratorConnection\n

    \n

    The connection type for User.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([EnterpriseAdministratorEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([User])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n EnterpriseAdministratorEdge\n

    \n

    A User who is an administrator of an enterprise.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (User)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n

    role (EnterpriseAdministratorRole!)

    The role of the administrator.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n EnterpriseAdministratorInvitation\n

    \n

    An invitation for a user to become an owner or billing manager of an enterprise.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    email (String)

    The email of the person who was invited to the enterprise.

    \n\n\n\n\n\n\n\n\n\n\n\n

    enterprise (Enterprise!)

    The enterprise the invitation is for.

    \n\n\n\n\n\n\n\n\n\n\n\n

    invitee (User)

    The user who was invited to the enterprise.

    \n\n\n\n\n\n\n\n\n\n\n\n

    inviter (User)

    The user who created the invitation.

    \n\n\n\n\n\n\n\n\n\n\n\n

    role (EnterpriseAdministratorRole!)

    The invitee's pending role in the enterprise (owner or billing_manager).

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n EnterpriseAdministratorInvitationConnection\n

    \n

    The connection type for EnterpriseAdministratorInvitation.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([EnterpriseAdministratorInvitationEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([EnterpriseAdministratorInvitation])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n EnterpriseAdministratorInvitationEdge\n

    \n

    An edge in a connection.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (EnterpriseAdministratorInvitation)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n EnterpriseBillingInfo\n

    \n

    Enterprise billing information visible to enterprise billing managers and owners.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    allLicensableUsersCount (Int!)

    The number of licenseable users/emails across the enterprise.

    \n\n\n\n\n\n\n\n\n\n\n\n

    assetPacks (Int!)

    The number of data packs used by all organizations owned by the enterprise.

    \n\n\n\n\n\n\n\n\n\n\n\n

    availableSeats (Int!)

    The number of available seats across all owned organizations based on the unique number of billable users.

    \n\n\n\n\n\n\n
    \n

    Deprecation notice

    \n

    availableSeats is deprecated.

    availableSeats will be replaced with totalAvailableLicenses to provide more clarity on the value being returned Use EnterpriseBillingInfo.totalAvailableLicenses instead. Removal on 2020-01-01 UTC.

    \n
    \n\n\n\n\n\n\n

    bandwidthQuota (Float!)

    The bandwidth quota in GB for all organizations owned by the enterprise.

    \n\n\n\n\n\n\n\n\n\n\n\n

    bandwidthUsage (Float!)

    The bandwidth usage in GB for all organizations owned by the enterprise.

    \n\n\n\n\n\n\n\n\n\n\n\n

    bandwidthUsagePercentage (Int!)

    The bandwidth usage as a percentage of the bandwidth quota.

    \n\n\n\n\n\n\n\n\n\n\n\n

    seats (Int!)

    The total seats across all organizations owned by the enterprise.

    \n\n\n\n\n\n\n
    \n

    Deprecation notice

    \n

    seats is deprecated.

    seats will be replaced with totalLicenses to provide more clarity on the value being returned Use EnterpriseBillingInfo.totalLicenses instead. Removal on 2020-01-01 UTC.

    \n
    \n\n\n\n\n\n\n

    storageQuota (Float!)

    The storage quota in GB for all organizations owned by the enterprise.

    \n\n\n\n\n\n\n\n\n\n\n\n

    storageUsage (Float!)

    The storage usage in GB for all organizations owned by the enterprise.

    \n\n\n\n\n\n\n\n\n\n\n\n

    storageUsagePercentage (Int!)

    The storage usage as a percentage of the storage quota.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalAvailableLicenses (Int!)

    The number of available licenses across all owned organizations based on the unique number of billable users.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalLicenses (Int!)

    The total number of licenses allocated.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n EnterpriseIdentityProvider\n

    \n

    An identity provider configured to provision identities for an enterprise.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    digestMethod (SamlDigestAlgorithm)

    The digest algorithm used to sign SAML requests for the identity provider.

    \n\n\n\n\n\n\n\n\n\n\n\n

    enterprise (Enterprise)

    The enterprise this identity provider belongs to.

    \n\n\n\n\n\n\n\n\n\n\n\n

    externalIdentities (ExternalIdentityConnection!)

    ExternalIdentities provisioned by this identity provider.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n\n\n

    idpCertificate (X509Certificate)

    The x509 certificate used by the identity provider to sign assertions and responses.

    \n\n\n\n\n\n\n\n\n\n\n\n

    issuer (String)

    The Issuer Entity ID for the SAML identity provider.

    \n\n\n\n\n\n\n\n\n\n\n\n

    recoveryCodes ([String!])

    Recovery codes that can be used by admins to access the enterprise if the identity provider is unavailable.

    \n\n\n\n\n\n\n\n\n\n\n\n

    signatureMethod (SamlSignatureAlgorithm)

    The signature algorithm used to sign SAML requests for the identity provider.

    \n\n\n\n\n\n\n\n\n\n\n\n

    ssoUrl (URI)

    The URL endpoint for the identity provider's SAML SSO.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n EnterpriseMemberConnection\n

    \n

    The connection type for EnterpriseMember.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([EnterpriseMemberEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([EnterpriseMember])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n EnterpriseMemberEdge\n

    \n

    A User who is a member of an enterprise through one or more organizations.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    isUnlicensed (Boolean!)

    Whether the user does not have a license for the enterprise.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (EnterpriseMember)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n EnterpriseOrganizationMembershipConnection\n

    \n

    The connection type for Organization.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([EnterpriseOrganizationMembershipEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([Organization])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n EnterpriseOrganizationMembershipEdge\n

    \n

    An enterprise organization that a user is a member of.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (Organization)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n

    role (EnterpriseUserAccountMembershipRole!)

    The role of the user in the enterprise membership.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n EnterpriseOutsideCollaboratorConnection\n

    \n

    The connection type for User.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([EnterpriseOutsideCollaboratorEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([User])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n EnterpriseOutsideCollaboratorEdge\n

    \n

    A User who is an outside collaborator of an enterprise through one or more organizations.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    isUnlicensed (Boolean!)

    Whether the outside collaborator does not have a license for the enterprise.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (User)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repositories (EnterpriseRepositoryInfoConnection!)

    The enterprise organization repositories this user is a member of.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (RepositoryOrder)

    \n

    Ordering options for repositories.

    \n\n
    \n\n
    \n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n EnterpriseOwnerInfo\n

    \n

    Enterprise information only visible to enterprise owners.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    actionExecutionCapabilitySettingOrganizations (OrganizationConnection!)

    A list of enterprise organizations configured with the provided action execution capabilities setting value.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (OrganizationOrder)

    \n

    Ordering options for organizations with this setting.

    \n\n
    \n\n
    \n\n\n

    admins (EnterpriseAdministratorConnection!)

    A list of all of the administrators for this enterprise.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (EnterpriseMemberOrder)

    \n

    Ordering options for administrators returned from the connection.

    \n\n
    \n\n
    \n

    query (String)

    \n

    The search string to look for.

    \n\n
    \n\n
    \n

    role (EnterpriseAdministratorRole)

    \n

    The role to filter by.

    \n\n
    \n\n
    \n\n\n

    affiliatedUsersWithTwoFactorDisabled (UserConnection!)

    A list of users in the enterprise who currently have two-factor authentication disabled.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n\n\n

    affiliatedUsersWithTwoFactorDisabledExist (Boolean!)

    Whether or not affiliated users with two-factor authentication disabled exist in the enterprise.

    \n\n\n\n\n\n\n\n\n\n\n\n

    allowPrivateRepositoryForkingSetting (EnterpriseEnabledDisabledSettingValue!)

    The setting value for whether private repository forking is enabled for repositories in organizations in this enterprise.

    \n\n\n\n\n\n\n\n\n\n\n\n

    allowPrivateRepositoryForkingSettingOrganizations (OrganizationConnection!)

    A list of enterprise organizations configured with the provided private repository forking setting value.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (OrganizationOrder)

    \n

    Ordering options for organizations with this setting.

    \n\n
    \n\n
    \n

    value (Boolean!)

    \n

    The setting value to find organizations for.

    \n\n
    \n\n
    \n\n\n

    defaultRepositoryPermissionSetting (EnterpriseDefaultRepositoryPermissionSettingValue!)

    The setting value for base repository permissions for organizations in this enterprise.

    \n\n\n\n\n\n\n\n\n\n\n\n

    defaultRepositoryPermissionSettingOrganizations (OrganizationConnection!)

    A list of enterprise organizations configured with the provided default repository permission.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (OrganizationOrder)

    \n

    Ordering options for organizations with this setting.

    \n\n
    \n\n
    \n

    value (DefaultRepositoryPermissionField!)

    \n

    The permission to find organizations for.

    \n\n
    \n\n
    \n\n\n

    isUpdatingDefaultRepositoryPermission (Boolean!)

    Whether or not the default repository permission is currently being updated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    isUpdatingTwoFactorRequirement (Boolean!)

    Whether the two-factor authentication requirement is currently being enforced.

    \n\n\n\n\n\n\n\n\n\n\n\n

    membersCanChangeRepositoryVisibilitySetting (EnterpriseEnabledDisabledSettingValue!)

    The setting value for whether organization members with admin permissions on a\nrepository can change repository visibility.

    \n\n\n\n\n\n\n\n\n\n\n\n

    membersCanChangeRepositoryVisibilitySettingOrganizations (OrganizationConnection!)

    A list of enterprise organizations configured with the provided can change repository visibility setting value.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (OrganizationOrder)

    \n

    Ordering options for organizations with this setting.

    \n\n
    \n\n
    \n

    value (Boolean!)

    \n

    The setting value to find organizations for.

    \n\n
    \n\n
    \n\n\n

    membersCanCreateInternalRepositoriesSetting (Boolean)

    The setting value for whether members of organizations in the enterprise can create internal repositories.

    \n\n\n\n\n\n\n\n\n\n\n\n

    membersCanCreatePrivateRepositoriesSetting (Boolean)

    The setting value for whether members of organizations in the enterprise can create private repositories.

    \n\n\n\n\n\n\n\n\n\n\n\n

    membersCanCreatePublicRepositoriesSetting (Boolean)

    The setting value for whether members of organizations in the enterprise can create public repositories.

    \n\n\n\n\n\n\n\n\n\n\n\n

    membersCanCreateRepositoriesSetting (EnterpriseMembersCanCreateRepositoriesSettingValue)

    The setting value for whether members of organizations in the enterprise can create repositories.

    \n\n\n\n\n\n\n\n\n\n\n\n

    membersCanCreateRepositoriesSettingOrganizations (OrganizationConnection!)

    A list of enterprise organizations configured with the provided repository creation setting value.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (OrganizationOrder)

    \n

    Ordering options for organizations with this setting.

    \n\n
    \n\n
    \n

    value (OrganizationMembersCanCreateRepositoriesSettingValue!)

    \n

    The setting to find organizations for.

    \n\n
    \n\n
    \n\n\n

    membersCanDeleteIssuesSetting (EnterpriseEnabledDisabledSettingValue!)

    The setting value for whether members with admin permissions for repositories can delete issues.

    \n\n\n\n\n\n\n\n\n\n\n\n

    membersCanDeleteIssuesSettingOrganizations (OrganizationConnection!)

    A list of enterprise organizations configured with the provided members can delete issues setting value.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (OrganizationOrder)

    \n

    Ordering options for organizations with this setting.

    \n\n
    \n\n
    \n

    value (Boolean!)

    \n

    The setting value to find organizations for.

    \n\n
    \n\n
    \n\n\n

    membersCanDeleteRepositoriesSetting (EnterpriseEnabledDisabledSettingValue!)

    The setting value for whether members with admin permissions for repositories can delete or transfer repositories.

    \n\n\n\n\n\n\n\n\n\n\n\n

    membersCanDeleteRepositoriesSettingOrganizations (OrganizationConnection!)

    A list of enterprise organizations configured with the provided members can delete repositories setting value.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (OrganizationOrder)

    \n

    Ordering options for organizations with this setting.

    \n\n
    \n\n
    \n

    value (Boolean!)

    \n

    The setting value to find organizations for.

    \n\n
    \n\n
    \n\n\n

    membersCanInviteCollaboratorsSetting (EnterpriseEnabledDisabledSettingValue!)

    The setting value for whether members of organizations in the enterprise can invite outside collaborators.

    \n\n\n\n\n\n\n\n\n\n\n\n

    membersCanInviteCollaboratorsSettingOrganizations (OrganizationConnection!)

    A list of enterprise organizations configured with the provided members can invite collaborators setting value.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (OrganizationOrder)

    \n

    Ordering options for organizations with this setting.

    \n\n
    \n\n
    \n

    value (Boolean!)

    \n

    The setting value to find organizations for.

    \n\n
    \n\n
    \n\n\n

    membersCanMakePurchasesSetting (EnterpriseMembersCanMakePurchasesSettingValue!)

    Indicates whether members of this enterprise's organizations can purchase additional services for those organizations.

    \n\n\n\n\n\n\n\n\n\n\n\n

    membersCanUpdateProtectedBranchesSetting (EnterpriseEnabledDisabledSettingValue!)

    The setting value for whether members with admin permissions for repositories can update protected branches.

    \n\n\n\n\n\n\n\n\n\n\n\n

    membersCanUpdateProtectedBranchesSettingOrganizations (OrganizationConnection!)

    A list of enterprise organizations configured with the provided members can update protected branches setting value.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (OrganizationOrder)

    \n

    Ordering options for organizations with this setting.

    \n\n
    \n\n
    \n

    value (Boolean!)

    \n

    The setting value to find organizations for.

    \n\n
    \n\n
    \n\n\n

    membersCanViewDependencyInsightsSetting (EnterpriseEnabledDisabledSettingValue!)

    The setting value for whether members can view dependency insights.

    \n\n\n\n\n\n\n\n\n\n\n\n

    membersCanViewDependencyInsightsSettingOrganizations (OrganizationConnection!)

    A list of enterprise organizations configured with the provided members can view dependency insights setting value.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (OrganizationOrder)

    \n

    Ordering options for organizations with this setting.

    \n\n
    \n\n
    \n

    value (Boolean!)

    \n

    The setting value to find organizations for.

    \n\n
    \n\n
    \n\n\n

    organizationProjectsSetting (EnterpriseEnabledDisabledSettingValue!)

    The setting value for whether organization projects are enabled for organizations in this enterprise.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationProjectsSettingOrganizations (OrganizationConnection!)

    A list of enterprise organizations configured with the provided organization projects setting value.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (OrganizationOrder)

    \n

    Ordering options for organizations with this setting.

    \n\n
    \n\n
    \n

    value (Boolean!)

    \n

    The setting value to find organizations for.

    \n\n
    \n\n
    \n\n\n

    outsideCollaborators (EnterpriseOutsideCollaboratorConnection!)

    A list of outside collaborators across the repositories in the enterprise.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    login (String)

    \n

    The login of one specific outside collaborator.

    \n\n
    \n\n
    \n

    orderBy (EnterpriseMemberOrder)

    \n

    Ordering options for outside collaborators returned from the connection.

    \n\n
    \n\n
    \n

    query (String)

    \n

    The search string to look for.

    \n\n
    \n\n
    \n

    visibility (RepositoryVisibility)

    \n

    Only return outside collaborators on repositories with this visibility.

    \n\n
    \n\n
    \n\n\n

    pendingAdminInvitations (EnterpriseAdministratorInvitationConnection!)

    A list of pending administrator invitations for the enterprise.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (EnterpriseAdministratorInvitationOrder)

    \n

    Ordering options for pending enterprise administrator invitations returned from the connection.

    \n\n
    \n\n
    \n

    query (String)

    \n

    The search string to look for.

    \n\n
    \n\n
    \n

    role (EnterpriseAdministratorRole)

    \n

    The role to filter by.

    \n\n
    \n\n
    \n\n\n

    pendingCollaborators (EnterprisePendingCollaboratorConnection!)

    A list of pending collaborators across the repositories in the enterprise.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (RepositoryInvitationOrder)

    \n

    Ordering options for pending repository collaborator invitations returned from the connection.

    \n\n
    \n\n
    \n

    query (String)

    \n

    The search string to look for.

    \n\n
    \n\n
    \n\n\n

    pendingMemberInvitations (EnterprisePendingMemberInvitationConnection!)

    A list of pending member invitations for organizations in the enterprise.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    query (String)

    \n

    The search string to look for.

    \n\n
    \n\n
    \n\n\n

    repositoryProjectsSetting (EnterpriseEnabledDisabledSettingValue!)

    The setting value for whether repository projects are enabled in this enterprise.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repositoryProjectsSettingOrganizations (OrganizationConnection!)

    A list of enterprise organizations configured with the provided repository projects setting value.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (OrganizationOrder)

    \n

    Ordering options for organizations with this setting.

    \n\n
    \n\n
    \n

    value (Boolean!)

    \n

    The setting value to find organizations for.

    \n\n
    \n\n
    \n\n\n

    samlIdentityProvider (EnterpriseIdentityProvider)

    The SAML Identity Provider for the enterprise.

    \n\n\n\n\n\n\n\n\n\n\n\n

    samlIdentityProviderSettingOrganizations (OrganizationConnection!)

    A list of enterprise organizations configured with the SAML single sign-on setting value.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (OrganizationOrder)

    \n

    Ordering options for organizations with this setting.

    \n\n
    \n\n
    \n

    value (IdentityProviderConfigurationState!)

    \n

    The setting value to find organizations for.

    \n\n
    \n\n
    \n\n\n

    teamDiscussionsSetting (EnterpriseEnabledDisabledSettingValue!)

    The setting value for whether team discussions are enabled for organizations in this enterprise.

    \n\n\n\n\n\n\n\n\n\n\n\n

    teamDiscussionsSettingOrganizations (OrganizationConnection!)

    A list of enterprise organizations configured with the provided team discussions setting value.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (OrganizationOrder)

    \n

    Ordering options for organizations with this setting.

    \n\n
    \n\n
    \n

    value (Boolean!)

    \n

    The setting value to find organizations for.

    \n\n
    \n\n
    \n\n\n

    twoFactorRequiredSetting (EnterpriseEnabledSettingValue!)

    The setting value for whether the enterprise requires two-factor authentication for its organizations and users.

    \n\n\n\n\n\n\n\n\n\n\n\n

    twoFactorRequiredSettingOrganizations (OrganizationConnection!)

    A list of enterprise organizations configured with the two-factor authentication setting value.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (OrganizationOrder)

    \n

    Ordering options for organizations with this setting.

    \n\n
    \n\n
    \n

    value (Boolean!)

    \n

    The setting value to find organizations for.

    \n\n
    \n\n
    \n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n EnterprisePendingCollaboratorConnection\n

    \n

    The connection type for User.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([EnterprisePendingCollaboratorEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([User])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n EnterprisePendingCollaboratorEdge\n

    \n

    A user with an invitation to be a collaborator on a repository owned by an organization in an enterprise.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    isUnlicensed (Boolean!)

    Whether the invited collaborator does not have a license for the enterprise.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (User)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repositories (EnterpriseRepositoryInfoConnection!)

    The enterprise organization repositories this user is a member of.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (RepositoryOrder)

    \n

    Ordering options for repositories.

    \n\n
    \n\n
    \n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n EnterprisePendingMemberInvitationConnection\n

    \n

    The connection type for OrganizationInvitation.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([EnterprisePendingMemberInvitationEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([OrganizationInvitation])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalUniqueUserCount (Int!)

    Identifies the total count of unique users in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n EnterprisePendingMemberInvitationEdge\n

    \n

    An invitation to be a member in an enterprise organization.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    isUnlicensed (Boolean!)

    Whether the invitation has a license for the enterprise.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (OrganizationInvitation)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n EnterpriseRepositoryInfo\n

    \n

    A subset of repository information queryable from an enterprise.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    isPrivate (Boolean!)

    Identifies if the repository is private.

    \n\n\n\n\n\n\n\n\n\n\n\n

    name (String!)

    The repository's name.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nameWithOwner (String!)

    The repository's name with owner.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n EnterpriseRepositoryInfoConnection\n

    \n

    The connection type for EnterpriseRepositoryInfo.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([EnterpriseRepositoryInfoEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([EnterpriseRepositoryInfo])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n EnterpriseRepositoryInfoEdge\n

    \n

    An edge in a connection.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (EnterpriseRepositoryInfo)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n EnterpriseServerInstallation\n

    \n

    An Enterprise Server installation.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    customerName (String!)

    The customer name to which the Enterprise Server installation belongs.

    \n\n\n\n\n\n\n\n\n\n\n\n

    hostName (String!)

    The host name of the Enterprise Server installation.

    \n\n\n\n\n\n\n\n\n\n\n\n

    isConnected (Boolean!)

    Whether or not the installation is connected to an Enterprise Server installation via GitHub Connect.

    \n\n\n\n\n\n\n\n\n\n\n\n

    updatedAt (DateTime!)

    Identifies the date and time when the object was last updated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userAccounts (EnterpriseServerUserAccountConnection!)

    User accounts on this Enterprise Server installation.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (EnterpriseServerUserAccountOrder)

    \n

    Ordering options for Enterprise Server user accounts returned from the connection.

    \n\n
    \n\n
    \n\n\n

    userAccountsUploads (EnterpriseServerUserAccountsUploadConnection!)

    User accounts uploads for the Enterprise Server installation.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (EnterpriseServerUserAccountsUploadOrder)

    \n

    Ordering options for Enterprise Server user accounts uploads returned from the connection.

    \n\n
    \n\n
    \n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n EnterpriseServerUserAccount\n

    \n

    A user account on an Enterprise Server installation.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    emails (EnterpriseServerUserAccountEmailConnection!)

    User emails belonging to this user account.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (EnterpriseServerUserAccountEmailOrder)

    \n

    Ordering options for Enterprise Server user account emails returned from the connection.

    \n\n
    \n\n
    \n\n\n

    enterpriseServerInstallation (EnterpriseServerInstallation!)

    The Enterprise Server installation on which this user account exists.

    \n\n\n\n\n\n\n\n\n\n\n\n

    isSiteAdmin (Boolean!)

    Whether the user account is a site administrator on the Enterprise Server installation.

    \n\n\n\n\n\n\n\n\n\n\n\n

    login (String!)

    The login of the user account on the Enterprise Server installation.

    \n\n\n\n\n\n\n\n\n\n\n\n

    profileName (String)

    The profile name of the user account on the Enterprise Server installation.

    \n\n\n\n\n\n\n\n\n\n\n\n

    remoteCreatedAt (DateTime!)

    The date and time when the user account was created on the Enterprise Server installation.

    \n\n\n\n\n\n\n\n\n\n\n\n

    remoteUserId (Int!)

    The ID of the user account on the Enterprise Server installation.

    \n\n\n\n\n\n\n\n\n\n\n\n

    updatedAt (DateTime!)

    Identifies the date and time when the object was last updated.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n EnterpriseServerUserAccountConnection\n

    \n

    The connection type for EnterpriseServerUserAccount.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([EnterpriseServerUserAccountEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([EnterpriseServerUserAccount])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n EnterpriseServerUserAccountEdge\n

    \n

    An edge in a connection.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (EnterpriseServerUserAccount)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n EnterpriseServerUserAccountEmail\n

    \n

    An email belonging to a user account on an Enterprise Server installation.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    email (String!)

    The email address.

    \n\n\n\n\n\n\n\n\n\n\n\n

    isPrimary (Boolean!)

    Indicates whether this is the primary email of the associated user account.

    \n\n\n\n\n\n\n\n\n\n\n\n

    updatedAt (DateTime!)

    Identifies the date and time when the object was last updated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userAccount (EnterpriseServerUserAccount!)

    The user account to which the email belongs.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n EnterpriseServerUserAccountEmailConnection\n

    \n

    The connection type for EnterpriseServerUserAccountEmail.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([EnterpriseServerUserAccountEmailEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([EnterpriseServerUserAccountEmail])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n EnterpriseServerUserAccountEmailEdge\n

    \n

    An edge in a connection.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (EnterpriseServerUserAccountEmail)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n EnterpriseServerUserAccountsUpload\n

    \n

    A user accounts upload from an Enterprise Server installation.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    enterprise (Enterprise!)

    The enterprise to which this upload belongs.

    \n\n\n\n\n\n\n\n\n\n\n\n

    enterpriseServerInstallation (EnterpriseServerInstallation!)

    The Enterprise Server installation for which this upload was generated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    name (String!)

    The name of the file uploaded.

    \n\n\n\n\n\n\n\n\n\n\n\n

    syncState (EnterpriseServerUserAccountsUploadSyncState!)

    The synchronization state of the upload.

    \n\n\n\n\n\n\n\n\n\n\n\n

    updatedAt (DateTime!)

    Identifies the date and time when the object was last updated.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n EnterpriseServerUserAccountsUploadConnection\n

    \n

    The connection type for EnterpriseServerUserAccountsUpload.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([EnterpriseServerUserAccountsUploadEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([EnterpriseServerUserAccountsUpload])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n EnterpriseServerUserAccountsUploadEdge\n

    \n

    An edge in a connection.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (EnterpriseServerUserAccountsUpload)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n EnterpriseUserAccount\n

    \n

    An account for a user who is an admin of an enterprise or a member of an enterprise through one or more organizations.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    avatarUrl (URI!)

    A URL pointing to the enterprise user account's public avatar.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    size (Int)

    \n

    The size of the resulting square image.

    \n\n
    \n\n
    \n\n\n

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    enterprise (Enterprise!)

    The enterprise in which this user account exists.

    \n\n\n\n\n\n\n\n\n\n\n\n

    login (String!)

    An identifier for the enterprise user account, a login or email address.

    \n\n\n\n\n\n\n\n\n\n\n\n

    name (String)

    The name of the enterprise user account.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizations (EnterpriseOrganizationMembershipConnection!)

    A list of enterprise organizations this user is a member of.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (OrganizationOrder)

    \n

    Ordering options for organizations returned from the connection.

    \n\n
    \n\n
    \n

    query (String)

    \n

    The search string to look for.

    \n\n
    \n\n
    \n

    role (EnterpriseUserAccountMembershipRole)

    \n

    The role of the user in the enterprise organization.

    \n\n
    \n\n
    \n\n\n

    resourcePath (URI!)

    The HTTP path for this actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    updatedAt (DateTime!)

    Identifies the date and time when the object was last updated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    url (URI!)

    The HTTP URL for this actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    user (User)

    The user within the enterprise.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n EnterpriseUserAccountConnection\n

    \n

    The connection type for EnterpriseUserAccount.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([EnterpriseUserAccountEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([EnterpriseUserAccount])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n EnterpriseUserAccountEdge\n

    \n

    An edge in a connection.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (EnterpriseUserAccount)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n ExternalIdentity\n

    \n

    An external identity provisioned by SAML SSO or SCIM.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    guid (String!)

    The GUID for this identity.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationInvitation (OrganizationInvitation)

    Organization invitation for this SCIM-provisioned external identity.

    \n\n\n\n\n\n\n\n\n\n\n\n

    samlIdentity (ExternalIdentitySamlAttributes)

    SAML Identity attributes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    scimIdentity (ExternalIdentityScimAttributes)

    SCIM Identity attributes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    user (User)

    User linked to this external identity. Will be NULL if this identity has not been claimed by an organization member.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n ExternalIdentityConnection\n

    \n

    The connection type for ExternalIdentity.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([ExternalIdentityEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([ExternalIdentity])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n ExternalIdentityEdge\n

    \n

    An edge in a connection.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (ExternalIdentity)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n ExternalIdentitySamlAttributes\n

    \n

    SAML attributes for the External Identity.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    nameId (String)

    The NameID of the SAML identity.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n ExternalIdentityScimAttributes\n

    \n

    SCIM attributes for the External Identity.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    username (String)

    The userName of the SCIM identity.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n FollowerConnection\n

    \n

    The connection type for User.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([UserEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([User])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n FollowingConnection\n

    \n

    The connection type for User.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([UserEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([User])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n GenericHovercardContext\n

    \n

    A generic hovercard context with a message and icon.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    message (String!)

    A string describing this context.

    \n\n\n\n\n\n\n\n\n\n\n\n

    octicon (String!)

    An octicon to accompany this context.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n Gist\n

    \n

    A Gist.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    comments (GistCommentConnection!)

    A list of comments associated with the gist.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n\n\n

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    description (String)

    The gist description.

    \n\n\n\n\n\n\n\n\n\n\n\n

    files ([GistFile])

    The files in this gist.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    limit (Int)

    \n

    The maximum number of files to return.

    \n

    The default value is 10.

    \n
    \n\n
    \n

    oid (GitObjectID)

    \n

    The oid of the files to return.

    \n\n
    \n\n
    \n\n\n

    forks (GistConnection!)

    A list of forks associated with the gist.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (GistOrder)

    \n

    Ordering options for gists returned from the connection.

    \n\n
    \n\n
    \n\n\n

    isFork (Boolean!)

    Identifies if the gist is a fork.

    \n\n\n\n\n\n\n\n\n\n\n\n

    isPublic (Boolean!)

    Whether the gist is public or not.

    \n\n\n\n\n\n\n\n\n\n\n\n

    name (String!)

    The gist name.

    \n\n\n\n\n\n\n\n\n\n\n\n

    owner (RepositoryOwner)

    The gist owner.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pushedAt (DateTime)

    Identifies when the gist was last pushed to.

    \n\n\n\n\n\n\n\n\n\n\n\n

    resourcePath (URI!)

    The HTML path to this resource.

    \n\n\n\n\n\n\n\n\n\n\n\n

    stargazers (StargazerConnection!)

    A list of users who have starred this starrable.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (StarOrder)

    \n

    Order for connection.

    \n\n
    \n\n
    \n\n\n

    updatedAt (DateTime!)

    Identifies the date and time when the object was last updated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    url (URI!)

    The HTTP URL for this Gist.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerHasStarred (Boolean!)

    Returns a boolean indicating whether the viewing user has starred this starrable.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n GistComment\n

    \n

    Represents a comment on an Gist.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    author (Actor)

    The actor who authored the comment.

    \n\n\n\n\n\n\n\n\n\n\n\n

    authorAssociation (CommentAuthorAssociation!)

    Author's association with the gist.

    \n\n\n\n\n\n\n\n\n\n\n\n

    body (String!)

    Identifies the comment body.

    \n\n\n\n\n\n\n\n\n\n\n\n

    bodyHTML (HTML!)

    The body rendered to HTML.

    \n\n\n\n\n\n\n\n\n\n\n\n

    bodyText (String!)

    The body rendered to text.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdViaEmail (Boolean!)

    Check if this comment was created via an email reply.

    \n\n\n\n\n\n\n\n\n\n\n\n

    databaseId (Int)

    Identifies the primary key from the database.

    \n\n\n\n\n\n\n\n\n\n\n\n

    editor (Actor)

    The actor who edited the comment.

    \n\n\n\n\n\n\n\n\n\n\n\n

    gist (Gist!)

    The associated gist.

    \n\n\n\n\n\n\n\n\n\n\n\n

    includesCreatedEdit (Boolean!)

    Check if this comment was edited and includes an edit with the creation data.

    \n\n\n\n\n\n\n\n\n\n\n\n

    isMinimized (Boolean!)

    Returns whether or not a comment has been minimized.

    \n\n\n\n\n\n\n\n\n\n\n\n

    lastEditedAt (DateTime)

    The moment the editor made the last edit.

    \n\n\n\n\n\n\n\n\n\n\n\n

    minimizedReason (String)

    Returns why the comment was minimized.

    \n\n\n\n\n\n\n\n\n\n\n\n

    publishedAt (DateTime)

    Identifies when the comment was published at.

    \n\n\n\n\n\n\n\n\n\n\n\n

    updatedAt (DateTime!)

    Identifies the date and time when the object was last updated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userContentEdits (UserContentEditConnection)

    A list of edits to this content.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n\n\n

    viewerCanDelete (Boolean!)

    Check if the current viewer can delete this object.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerCanMinimize (Boolean!)

    Check if the current viewer can minimize this object.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerCanUpdate (Boolean!)

    Check if the current viewer can update this object.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerCannotUpdateReasons ([CommentCannotUpdateReason!]!)

    Reasons why the current viewer can not update this comment.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerDidAuthor (Boolean!)

    Did the viewer author this comment.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n GistCommentConnection\n

    \n

    The connection type for GistComment.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([GistCommentEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([GistComment])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n GistCommentEdge\n

    \n

    An edge in a connection.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (GistComment)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n GistConnection\n

    \n

    The connection type for Gist.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([GistEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([Gist])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n GistEdge\n

    \n

    An edge in a connection.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (Gist)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n GistFile\n

    \n

    A file in a gist.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    encodedName (String)

    The file name encoded to remove characters that are invalid in URL paths.

    \n\n\n\n\n\n\n\n\n\n\n\n

    encoding (String)

    The gist file encoding.

    \n\n\n\n\n\n\n\n\n\n\n\n

    extension (String)

    The file extension from the file name.

    \n\n\n\n\n\n\n\n\n\n\n\n

    isImage (Boolean!)

    Indicates if this file is an image.

    \n\n\n\n\n\n\n\n\n\n\n\n

    isTruncated (Boolean!)

    Whether the file's contents were truncated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    language (Language)

    The programming language this file is written in.

    \n\n\n\n\n\n\n\n\n\n\n\n

    name (String)

    The gist file name.

    \n\n\n\n\n\n\n\n\n\n\n\n

    size (Int)

    The gist file size in bytes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    text (String)

    UTF8 text data or null if the file is binary.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    truncate (Int)

    \n

    Optionally truncate the returned file to this length.

    \n\n
    \n\n
    \n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n GitActor\n

    \n

    Represents an actor in a Git commit (ie. an author or committer).

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    avatarUrl (URI!)

    A URL pointing to the author's public avatar.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    size (Int)

    \n

    The size of the resulting square image.

    \n\n
    \n\n
    \n\n\n

    date (GitTimestamp)

    The timestamp of the Git action (authoring or committing).

    \n\n\n\n\n\n\n\n\n\n\n\n

    email (String)

    The email in the Git commit.

    \n\n\n\n\n\n\n\n\n\n\n\n

    name (String)

    The name in the Git commit.

    \n\n\n\n\n\n\n\n\n\n\n\n

    user (User)

    The GitHub user corresponding to the email field. Null if no such user exists.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n GitHubMetadata\n

    \n

    Represents information about the GitHub instance.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    gitHubServicesSha (GitObjectID!)

    Returns a String that's a SHA of github-services.

    \n\n\n\n\n\n\n\n\n\n\n\n

    isPasswordAuthenticationVerifiable (Boolean!)

    Whether or not users are verified.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n GpgSignature\n

    \n

    Represents a GPG signature on a Commit or Tag.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    email (String!)

    Email used to sign this object.

    \n\n\n\n\n\n\n\n\n\n\n\n

    isValid (Boolean!)

    True if the signature is valid and verified by GitHub.

    \n\n\n\n\n\n\n\n\n\n\n\n

    keyId (String)

    Hex-encoded ID of the key that signed this object.

    \n\n\n\n\n\n\n\n\n\n\n\n

    payload (String!)

    Payload for GPG signing object. Raw ODB object without the signature header.

    \n\n\n\n\n\n\n\n\n\n\n\n

    signature (String!)

    ASCII-armored signature header from object.

    \n\n\n\n\n\n\n\n\n\n\n\n

    signer (User)

    GitHub user corresponding to the email signing this commit.

    \n\n\n\n\n\n\n\n\n\n\n\n

    state (GitSignatureState!)

    The state of this signature. VALID if signature is valid and verified by\nGitHub, otherwise represents reason why signature is considered invalid.

    \n\n\n\n\n\n\n\n\n\n\n\n

    wasSignedByGitHub (Boolean!)

    True if the signature was made with GitHub's signing key.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n HeadRefDeletedEvent\n

    \n

    Represents ahead_ref_deletedevent on a given pull request.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    actor (Actor)

    Identifies the actor who performed the event.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    headRef (Ref)

    Identifies the Ref associated with the head_ref_deleted event.

    \n\n\n\n\n\n\n\n\n\n\n\n

    headRefName (String!)

    Identifies the name of the Ref associated with the head_ref_deleted event.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pullRequest (PullRequest!)

    PullRequest referenced by event.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n HeadRefForcePushedEvent\n

    \n

    Represents ahead_ref_force_pushedevent on a given pull request.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    actor (Actor)

    Identifies the actor who performed the event.

    \n\n\n\n\n\n\n\n\n\n\n\n

    afterCommit (Commit)

    Identifies the after commit SHA for thehead_ref_force_pushedevent.

    \n\n\n\n\n\n\n\n\n\n\n\n

    beforeCommit (Commit)

    Identifies the before commit SHA for thehead_ref_force_pushedevent.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pullRequest (PullRequest!)

    PullRequest referenced by event.

    \n\n\n\n\n\n\n\n\n\n\n\n

    ref (Ref)

    Identifies the fully qualified ref name for thehead_ref_force_pushedevent.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n HeadRefRestoredEvent\n

    \n

    Represents ahead_ref_restoredevent on a given pull request.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    actor (Actor)

    Identifies the actor who performed the event.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pullRequest (PullRequest!)

    PullRequest referenced by event.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n Hovercard\n

    \n

    Detail needed to display a hovercard for a user.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    contexts ([HovercardContext!]!)

    Each of the contexts for this hovercard.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n Issue\n

    \n

    An Issue is a place to discuss ideas, enhancements, tasks, and bugs for a project.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    activeLockReason (LockReason)

    Reason that the conversation was locked.

    \n\n\n\n\n\n\n\n\n\n\n\n

    assignees (UserConnection!)

    A list of Users assigned to this object.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n\n\n

    author (Actor)

    The actor who authored the comment.

    \n\n\n\n\n\n\n\n\n\n\n\n

    authorAssociation (CommentAuthorAssociation!)

    Author's association with the subject of the comment.

    \n\n\n\n\n\n\n\n\n\n\n\n

    body (String!)

    Identifies the body of the issue.

    \n\n\n\n\n\n\n\n\n\n\n\n

    bodyHTML (HTML!)

    The body rendered to HTML.

    \n\n\n\n\n\n\n\n\n\n\n\n

    bodyText (String!)

    Identifies the body of the issue rendered to text.

    \n\n\n\n\n\n\n\n\n\n\n\n

    closed (Boolean!)

    true if the object is closed (definition of closed may depend on type).

    \n\n\n\n\n\n\n\n\n\n\n\n

    closedAt (DateTime)

    Identifies the date and time when the object was closed.

    \n\n\n\n\n\n\n\n\n\n\n\n

    comments (IssueCommentConnection!)

    A list of comments associated with the Issue.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n\n\n

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdViaEmail (Boolean!)

    Check if this comment was created via an email reply.

    \n\n\n\n\n\n\n\n\n\n\n\n

    databaseId (Int)

    Identifies the primary key from the database.

    \n\n\n\n\n\n\n\n\n\n\n\n

    editor (Actor)

    The actor who edited the comment.

    \n\n\n\n\n\n\n\n\n\n\n\n

    hovercard (Hovercard!)

    The hovercard information for this issue.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    includeNotificationContexts (Boolean)

    \n

    Whether or not to include notification contexts.

    \n

    The default value is true.

    \n
    \n\n
    \n\n\n

    includesCreatedEdit (Boolean!)

    Check if this comment was edited and includes an edit with the creation data.

    \n\n\n\n\n\n\n\n\n\n\n\n

    labels (LabelConnection)

    A list of labels associated with the object.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (LabelOrder)

    \n

    Ordering options for labels returned from the connection.

    \n\n
    \n\n
    \n\n\n

    lastEditedAt (DateTime)

    The moment the editor made the last edit.

    \n\n\n\n\n\n\n\n\n\n\n\n

    locked (Boolean!)

    true if the object is locked.

    \n\n\n\n\n\n\n\n\n\n\n\n

    milestone (Milestone)

    Identifies the milestone associated with the issue.

    \n\n\n\n\n\n\n\n\n\n\n\n

    number (Int!)

    Identifies the issue number.

    \n\n\n\n\n\n\n\n\n\n\n\n

    participants (UserConnection!)

    A list of Users that are participating in the Issue conversation.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n\n\n

    projectCards (ProjectCardConnection!)

    List of project cards associated with this issue.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    archivedStates ([ProjectCardArchivedState])

    \n

    A list of archived states to filter the cards by.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n\n\n

    publishedAt (DateTime)

    Identifies when the comment was published at.

    \n\n\n\n\n\n\n\n\n\n\n\n

    reactionGroups ([ReactionGroup!])

    A list of reactions grouped by content left on the subject.

    \n\n\n\n\n\n\n\n\n\n\n\n

    reactions (ReactionConnection!)

    A list of Reactions left on the Issue.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    content (ReactionContent)

    \n

    Allows filtering Reactions by emoji.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (ReactionOrder)

    \n

    Allows specifying the order in which reactions are returned.

    \n\n
    \n\n
    \n\n\n

    repository (Repository!)

    The repository associated with this node.

    \n\n\n\n\n\n\n\n\n\n\n\n

    resourcePath (URI!)

    The HTTP path for this issue.

    \n\n\n\n\n\n\n\n\n\n\n\n

    state (IssueState!)

    Identifies the state of the issue.

    \n\n\n\n\n\n\n\n\n\n\n\n

    timeline (IssueTimelineConnection!)

    A list of events, comments, commits, etc. associated with the issue.

    \n\n\n\n\n\n\n
    \n

    Deprecation notice

    \n

    timeline is deprecated.

    timeline will be removed Use Issue.timelineItems instead. Removal on 2019-10-01 UTC.

    \n
    \n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    since (DateTime)

    \n

    Allows filtering timeline events by a since timestamp.

    \n\n
    \n\n
    \n\n\n

    timelineItems (IssueTimelineItemsConnection!)

    A list of events, comments, commits, etc. associated with the issue.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    itemTypes ([IssueTimelineItemsItemType!])

    \n

    Filter timeline items by type.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    since (DateTime)

    \n

    Filter timeline items by a since timestamp.

    \n\n
    \n\n
    \n

    skip (Int)

    \n

    Skips the first n elements in the list.

    \n\n
    \n\n
    \n\n\n

    title (String!)

    Identifies the issue title.

    \n\n\n\n\n\n\n\n\n\n\n\n

    updatedAt (DateTime!)

    Identifies the date and time when the object was last updated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    url (URI!)

    The HTTP URL for this issue.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userContentEdits (UserContentEditConnection)

    A list of edits to this content.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n\n\n

    viewerCanReact (Boolean!)

    Can user react to this subject.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerCanSubscribe (Boolean!)

    Check if the viewer is able to change their subscription status for the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerCanUpdate (Boolean!)

    Check if the current viewer can update this object.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerCannotUpdateReasons ([CommentCannotUpdateReason!]!)

    Reasons why the current viewer can not update this comment.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerDidAuthor (Boolean!)

    Did the viewer author this comment.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerSubscription (SubscriptionState)

    Identifies if the viewer is watching, not watching, or ignoring the subscribable entity.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n IssueComment\n

    \n

    Represents a comment on an Issue.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    author (Actor)

    The actor who authored the comment.

    \n\n\n\n\n\n\n\n\n\n\n\n

    authorAssociation (CommentAuthorAssociation!)

    Author's association with the subject of the comment.

    \n\n\n\n\n\n\n\n\n\n\n\n

    body (String!)

    The body as Markdown.

    \n\n\n\n\n\n\n\n\n\n\n\n

    bodyHTML (HTML!)

    The body rendered to HTML.

    \n\n\n\n\n\n\n\n\n\n\n\n

    bodyText (String!)

    The body rendered to text.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdViaEmail (Boolean!)

    Check if this comment was created via an email reply.

    \n\n\n\n\n\n\n\n\n\n\n\n

    databaseId (Int)

    Identifies the primary key from the database.

    \n\n\n\n\n\n\n\n\n\n\n\n

    editor (Actor)

    The actor who edited the comment.

    \n\n\n\n\n\n\n\n\n\n\n\n

    includesCreatedEdit (Boolean!)

    Check if this comment was edited and includes an edit with the creation data.

    \n\n\n\n\n\n\n\n\n\n\n\n

    isMinimized (Boolean!)

    Returns whether or not a comment has been minimized.

    \n\n\n\n\n\n\n\n\n\n\n\n

    issue (Issue!)

    Identifies the issue associated with the comment.

    \n\n\n\n\n\n\n\n\n\n\n\n

    lastEditedAt (DateTime)

    The moment the editor made the last edit.

    \n\n\n\n\n\n\n\n\n\n\n\n

    minimizedReason (String)

    Returns why the comment was minimized.

    \n\n\n\n\n\n\n\n\n\n\n\n

    publishedAt (DateTime)

    Identifies when the comment was published at.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pullRequest (PullRequest)

    Returns the pull request associated with the comment, if this comment was made on a\npull request.

    \n\n\n\n\n\n\n\n\n\n\n\n

    reactionGroups ([ReactionGroup!])

    A list of reactions grouped by content left on the subject.

    \n\n\n\n\n\n\n\n\n\n\n\n

    reactions (ReactionConnection!)

    A list of Reactions left on the Issue.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    content (ReactionContent)

    \n

    Allows filtering Reactions by emoji.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (ReactionOrder)

    \n

    Allows specifying the order in which reactions are returned.

    \n\n
    \n\n
    \n\n\n

    repository (Repository!)

    The repository associated with this node.

    \n\n\n\n\n\n\n\n\n\n\n\n

    resourcePath (URI!)

    The HTTP path for this issue comment.

    \n\n\n\n\n\n\n\n\n\n\n\n

    updatedAt (DateTime!)

    Identifies the date and time when the object was last updated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    url (URI!)

    The HTTP URL for this issue comment.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userContentEdits (UserContentEditConnection)

    A list of edits to this content.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n\n\n

    viewerCanDelete (Boolean!)

    Check if the current viewer can delete this object.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerCanMinimize (Boolean!)

    Check if the current viewer can minimize this object.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerCanReact (Boolean!)

    Can user react to this subject.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerCanUpdate (Boolean!)

    Check if the current viewer can update this object.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerCannotUpdateReasons ([CommentCannotUpdateReason!]!)

    Reasons why the current viewer can not update this comment.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerDidAuthor (Boolean!)

    Did the viewer author this comment.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n IssueCommentConnection\n

    \n

    The connection type for IssueComment.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([IssueCommentEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([IssueComment])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n IssueCommentEdge\n

    \n

    An edge in a connection.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (IssueComment)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n IssueConnection\n

    \n

    The connection type for Issue.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([IssueEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([Issue])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n IssueContributionsByRepository\n

    \n

    This aggregates issues opened by a user within one repository.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    contributions (CreatedIssueContributionConnection!)

    The issue contributions.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (ContributionOrder)

    \n

    Ordering options for contributions returned from the connection.

    \n\n
    \n\n
    \n\n\n

    repository (Repository!)

    The repository in which the issues were opened.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n IssueEdge\n

    \n

    An edge in a connection.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (Issue)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n IssueTimelineConnection\n

    \n

    The connection type for IssueTimelineItem.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([IssueTimelineItemEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([IssueTimelineItem])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n IssueTimelineItemEdge\n

    \n

    An edge in a connection.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (IssueTimelineItem)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n IssueTimelineItemsConnection\n

    \n

    The connection type for IssueTimelineItems.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([IssueTimelineItemsEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    filteredCount (Int!)

    Identifies the count of items after applying before and after filters.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([IssueTimelineItems])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageCount (Int!)

    Identifies the count of items after applying before/after filters and first/last/skip slicing.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n

    updatedAt (DateTime!)

    Identifies the date and time when the timeline was last updated.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n IssueTimelineItemsEdge\n

    \n

    An edge in a connection.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (IssueTimelineItems)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n JoinedGitHubContribution\n

    \n

    Represents a user signing up for a GitHub account.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    isRestricted (Boolean!)

    Whether this contribution is associated with a record you do not have access to. For\nexample, your own 'first issue' contribution may have been made on a repository you can no\nlonger access.

    \n\n\n\n\n\n\n\n\n\n\n\n

    occurredAt (DateTime!)

    When this contribution was made.

    \n\n\n\n\n\n\n\n\n\n\n\n

    resourcePath (URI!)

    The HTTP path for this contribution.

    \n\n\n\n\n\n\n\n\n\n\n\n

    url (URI!)

    The HTTP URL for this contribution.

    \n\n\n\n\n\n\n\n\n\n\n\n

    user (User!)

    The user who made this contribution.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n Label\n

    \n

    A label for categorizing Issues or Milestones with a given Repository.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    color (String!)

    Identifies the label color.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (DateTime)

    Identifies the date and time when the label was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    description (String)

    A brief description of this label.

    \n\n\n\n\n\n\n\n\n\n\n\n

    isDefault (Boolean!)

    Indicates whether or not this is a default label.

    \n\n\n\n\n\n\n\n\n\n\n\n

    issues (IssueConnection!)

    A list of issues associated with this label.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    filterBy (IssueFilters)

    \n

    Filtering options for issues returned from the connection.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    labels ([String!])

    \n

    A list of label names to filter the pull requests by.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (IssueOrder)

    \n

    Ordering options for issues returned from the connection.

    \n\n
    \n\n
    \n

    states ([IssueState!])

    \n

    A list of states to filter the issues by.

    \n\n
    \n\n
    \n\n\n

    name (String!)

    Identifies the label name.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pullRequests (PullRequestConnection!)

    A list of pull requests associated with this label.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    baseRefName (String)

    \n

    The base ref name to filter the pull requests by.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    headRefName (String)

    \n

    The head ref name to filter the pull requests by.

    \n\n
    \n\n
    \n

    labels ([String!])

    \n

    A list of label names to filter the pull requests by.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (IssueOrder)

    \n

    Ordering options for pull requests returned from the connection.

    \n\n
    \n\n
    \n

    states ([PullRequestState!])

    \n

    A list of states to filter the pull requests by.

    \n\n
    \n\n
    \n\n\n

    repository (Repository!)

    The repository associated with this label.

    \n\n\n\n\n\n\n\n\n\n\n\n

    resourcePath (URI!)

    The HTTP path for this label.

    \n\n\n\n\n\n\n\n\n\n\n\n

    updatedAt (DateTime)

    Identifies the date and time when the label was last updated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    url (URI!)

    The HTTP URL for this label.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n LabelConnection\n

    \n

    The connection type for Label.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([LabelEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([Label])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n LabelEdge\n

    \n

    An edge in a connection.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (Label)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n LabeledEvent\n

    \n

    Represents alabeledevent on a given issue or pull request.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    actor (Actor)

    Identifies the actor who performed the event.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    label (Label!)

    Identifies the label associated with thelabeledevent.

    \n\n\n\n\n\n\n\n\n\n\n\n

    labelable (Labelable!)

    Identifies the Labelable associated with the event.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n Language\n

    \n

    Represents a given language found in repositories.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    color (String)

    The color defined for the current language.

    \n\n\n\n\n\n\n\n\n\n\n\n

    name (String!)

    The name of the current language.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n LanguageConnection\n

    \n

    A list of languages associated with the parent.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([LanguageEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([Language])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalSize (Int!)

    The total size in bytes of files written in that language.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n LanguageEdge\n

    \n

    Represents the language of a repository.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    size (Int!)

    The number of bytes of code written in the language.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n License\n

    \n

    A repository's open source license.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    body (String!)

    The full text of the license.

    \n\n\n\n\n\n\n\n\n\n\n\n

    conditions ([LicenseRule]!)

    The conditions set by the license.

    \n\n\n\n\n\n\n\n\n\n\n\n

    description (String)

    A human-readable description of the license.

    \n\n\n\n\n\n\n\n\n\n\n\n

    featured (Boolean!)

    Whether the license should be featured.

    \n\n\n\n\n\n\n\n\n\n\n\n

    hidden (Boolean!)

    Whether the license should be displayed in license pickers.

    \n\n\n\n\n\n\n\n\n\n\n\n

    implementation (String)

    Instructions on how to implement the license.

    \n\n\n\n\n\n\n\n\n\n\n\n

    key (String!)

    The lowercased SPDX ID of the license.

    \n\n\n\n\n\n\n\n\n\n\n\n

    limitations ([LicenseRule]!)

    The limitations set by the license.

    \n\n\n\n\n\n\n\n\n\n\n\n

    name (String!)

    The license full name specified by https://spdx.org/licenses.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nickname (String)

    Customary short name if applicable (e.g, GPLv3).

    \n\n\n\n\n\n\n\n\n\n\n\n

    permissions ([LicenseRule]!)

    The permissions set by the license.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pseudoLicense (Boolean!)

    Whether the license is a pseudo-license placeholder (e.g., other, no-license).

    \n\n\n\n\n\n\n\n\n\n\n\n

    spdxId (String)

    Short identifier specified by https://spdx.org/licenses.

    \n\n\n\n\n\n\n\n\n\n\n\n

    url (URI)

    URL to the license on https://choosealicense.com.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n LicenseRule\n

    \n

    Describes a License's conditions, permissions, and limitations.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    description (String!)

    A description of the rule.

    \n\n\n\n\n\n\n\n\n\n\n\n

    key (String!)

    The machine-readable rule key.

    \n\n\n\n\n\n\n\n\n\n\n\n

    label (String!)

    The human-readable rule label.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n LockedEvent\n

    \n

    Represents alockedevent on a given issue or pull request.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    actor (Actor)

    Identifies the actor who performed the event.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    lockReason (LockReason)

    Reason that the conversation was locked (optional).

    \n\n\n\n\n\n\n\n\n\n\n\n

    lockable (Lockable!)

    Object that was locked.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n Mannequin\n

    \n

    A placeholder user for attribution of imported data on GitHub.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    avatarUrl (URI!)

    A URL pointing to the GitHub App's public avatar.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    size (Int)

    \n

    The size of the resulting square image.

    \n\n
    \n\n
    \n\n\n

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    databaseId (Int)

    Identifies the primary key from the database.

    \n\n\n\n\n\n\n\n\n\n\n\n

    email (String)

    The mannequin's email on the source instance.

    \n\n\n\n\n\n\n\n\n\n\n\n

    login (String!)

    The username of the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    resourcePath (URI!)

    The HTML path to this resource.

    \n\n\n\n\n\n\n\n\n\n\n\n

    updatedAt (DateTime!)

    Identifies the date and time when the object was last updated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    url (URI!)

    The URL to this resource.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n MarkedAsDuplicateEvent\n

    \n

    Represents amarked_as_duplicateevent on a given issue or pull request.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    actor (Actor)

    Identifies the actor who performed the event.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n MembersCanDeleteReposClearAuditEntry\n

    \n

    Audit log entry for a members_can_delete_repos.clear event.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    action (String!)

    The action name.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actor (AuditEntryActor)

    The user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorIp (String)

    The IP address of the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLocation (ActorLocation)

    A readable representation of the actor's location.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLogin (String)

    The username of the user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorResourcePath (URI)

    The HTTP path for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorUrl (URI)

    The HTTP URL for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (PreciseDateTime!)

    The time the action was initiated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    enterpriseResourcePath (URI)

    The HTTP path for this enterprise.

    \n\n\n\n\n\n\n\n\n\n\n\n

    enterpriseSlug (String)

    The slug of the enterprise.

    \n\n\n\n\n\n\n\n\n\n\n\n

    enterpriseUrl (URI)

    The HTTP URL for this enterprise.

    \n\n\n\n\n\n\n\n\n\n\n\n

    operationType (OperationType)

    The corresponding operation type for the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organization (Organization)

    The Organization associated with the Audit Entry.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationName (String)

    The name of the Organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationResourcePath (URI)

    The HTTP path for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationUrl (URI)

    The HTTP URL for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    user (User)

    The user affected by the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userLogin (String)

    For actions involving two users, the actor is the initiator and the user is the affected user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userResourcePath (URI)

    The HTTP path for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userUrl (URI)

    The HTTP URL for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n MembersCanDeleteReposDisableAuditEntry\n

    \n

    Audit log entry for a members_can_delete_repos.disable event.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    action (String!)

    The action name.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actor (AuditEntryActor)

    The user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorIp (String)

    The IP address of the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLocation (ActorLocation)

    A readable representation of the actor's location.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLogin (String)

    The username of the user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorResourcePath (URI)

    The HTTP path for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorUrl (URI)

    The HTTP URL for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (PreciseDateTime!)

    The time the action was initiated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    enterpriseResourcePath (URI)

    The HTTP path for this enterprise.

    \n\n\n\n\n\n\n\n\n\n\n\n

    enterpriseSlug (String)

    The slug of the enterprise.

    \n\n\n\n\n\n\n\n\n\n\n\n

    enterpriseUrl (URI)

    The HTTP URL for this enterprise.

    \n\n\n\n\n\n\n\n\n\n\n\n

    operationType (OperationType)

    The corresponding operation type for the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organization (Organization)

    The Organization associated with the Audit Entry.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationName (String)

    The name of the Organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationResourcePath (URI)

    The HTTP path for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationUrl (URI)

    The HTTP URL for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    user (User)

    The user affected by the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userLogin (String)

    For actions involving two users, the actor is the initiator and the user is the affected user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userResourcePath (URI)

    The HTTP path for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userUrl (URI)

    The HTTP URL for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n MembersCanDeleteReposEnableAuditEntry\n

    \n

    Audit log entry for a members_can_delete_repos.enable event.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    action (String!)

    The action name.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actor (AuditEntryActor)

    The user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorIp (String)

    The IP address of the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLocation (ActorLocation)

    A readable representation of the actor's location.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLogin (String)

    The username of the user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorResourcePath (URI)

    The HTTP path for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorUrl (URI)

    The HTTP URL for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (PreciseDateTime!)

    The time the action was initiated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    enterpriseResourcePath (URI)

    The HTTP path for this enterprise.

    \n\n\n\n\n\n\n\n\n\n\n\n

    enterpriseSlug (String)

    The slug of the enterprise.

    \n\n\n\n\n\n\n\n\n\n\n\n

    enterpriseUrl (URI)

    The HTTP URL for this enterprise.

    \n\n\n\n\n\n\n\n\n\n\n\n

    operationType (OperationType)

    The corresponding operation type for the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organization (Organization)

    The Organization associated with the Audit Entry.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationName (String)

    The name of the Organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationResourcePath (URI)

    The HTTP path for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationUrl (URI)

    The HTTP URL for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    user (User)

    The user affected by the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userLogin (String)

    For actions involving two users, the actor is the initiator and the user is the affected user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userResourcePath (URI)

    The HTTP path for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userUrl (URI)

    The HTTP URL for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n MentionedEvent\n

    \n

    Represents amentionedevent on a given issue or pull request.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    actor (Actor)

    Identifies the actor who performed the event.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    databaseId (Int)

    Identifies the primary key from the database.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n MergedEvent\n

    \n

    Represents amergedevent on a given pull request.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    actor (Actor)

    Identifies the actor who performed the event.

    \n\n\n\n\n\n\n\n\n\n\n\n

    commit (Commit)

    Identifies the commit associated with the merge event.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    mergeRef (Ref)

    Identifies the Ref associated with the merge event.

    \n\n\n\n\n\n\n\n\n\n\n\n

    mergeRefName (String!)

    Identifies the name of the Ref associated with the merge event.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pullRequest (PullRequest!)

    PullRequest referenced by event.

    \n\n\n\n\n\n\n\n\n\n\n\n

    resourcePath (URI!)

    The HTTP path for this merged event.

    \n\n\n\n\n\n\n\n\n\n\n\n

    url (URI!)

    The HTTP URL for this merged event.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n Milestone\n

    \n

    Represents a Milestone object on a given repository.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    closed (Boolean!)

    true if the object is closed (definition of closed may depend on type).

    \n\n\n\n\n\n\n\n\n\n\n\n

    closedAt (DateTime)

    Identifies the date and time when the object was closed.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    creator (Actor)

    Identifies the actor who created the milestone.

    \n\n\n\n\n\n\n\n\n\n\n\n

    description (String)

    Identifies the description of the milestone.

    \n\n\n\n\n\n\n\n\n\n\n\n

    dueOn (DateTime)

    Identifies the due date of the milestone.

    \n\n\n\n\n\n\n\n\n\n\n\n

    issuePrioritiesDebug (String!)

    Just for debugging on review-lab.

    \n\n\n\n\n\n\n\n\n\n\n\n

    issues (IssueConnection!)

    A list of issues associated with the milestone.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    filterBy (IssueFilters)

    \n

    Filtering options for issues returned from the connection.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    labels ([String!])

    \n

    A list of label names to filter the pull requests by.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (IssueOrder)

    \n

    Ordering options for issues returned from the connection.

    \n\n
    \n\n
    \n

    states ([IssueState!])

    \n

    A list of states to filter the issues by.

    \n\n
    \n\n
    \n\n\n

    number (Int!)

    Identifies the number of the milestone.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pullRequests (PullRequestConnection!)

    A list of pull requests associated with the milestone.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    baseRefName (String)

    \n

    The base ref name to filter the pull requests by.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    headRefName (String)

    \n

    The head ref name to filter the pull requests by.

    \n\n
    \n\n
    \n

    labels ([String!])

    \n

    A list of label names to filter the pull requests by.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (IssueOrder)

    \n

    Ordering options for pull requests returned from the connection.

    \n\n
    \n\n
    \n

    states ([PullRequestState!])

    \n

    A list of states to filter the pull requests by.

    \n\n
    \n\n
    \n\n\n

    repository (Repository!)

    The repository associated with this milestone.

    \n\n\n\n\n\n\n\n\n\n\n\n

    resourcePath (URI!)

    The HTTP path for this milestone.

    \n\n\n\n\n\n\n\n\n\n\n\n

    state (MilestoneState!)

    Identifies the state of the milestone.

    \n\n\n\n\n\n\n\n\n\n\n\n

    title (String!)

    Identifies the title of the milestone.

    \n\n\n\n\n\n\n\n\n\n\n\n

    updatedAt (DateTime!)

    Identifies the date and time when the object was last updated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    url (URI!)

    The HTTP URL for this milestone.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n MilestoneConnection\n

    \n

    The connection type for Milestone.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([MilestoneEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([Milestone])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n MilestoneEdge\n

    \n

    An edge in a connection.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (Milestone)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n MilestonedEvent\n

    \n

    Represents amilestonedevent on a given issue or pull request.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    actor (Actor)

    Identifies the actor who performed the event.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    milestoneTitle (String!)

    Identifies the milestone title associated with themilestonedevent.

    \n\n\n\n\n\n\n\n\n\n\n\n

    subject (MilestoneItem!)

    Object referenced by event.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n MovedColumnsInProjectEvent\n

    \n

    Represents amoved_columns_in_projectevent on a given issue or pull request.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    actor (Actor)

    Identifies the actor who performed the event.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    databaseId (Int)

    Identifies the primary key from the database.

    \n\n\n\n\n\n\n\n\n\n\n\n

    previousProjectColumnName (String!)

    Column name the issue or pull request was moved from.

    \n\n\n\n\n
    \n

    Preview notice

    \n

    previousProjectColumnName is available under the Project event details preview. During the preview period, the API may change without notice.

    \n
    \n\n\n\n\n\n\n\n\n

    project (Project)

    Project referenced by event.

    \n\n\n\n\n
    \n

    Preview notice

    \n

    project is available under the Project event details preview. During the preview period, the API may change without notice.

    \n
    \n\n\n\n\n\n\n\n\n

    projectCard (ProjectCard)

    Project card referenced by this project event.

    \n\n\n\n\n
    \n

    Preview notice

    \n

    projectCard is available under the Project event details preview. During the preview period, the API may change without notice.

    \n
    \n\n\n\n\n\n\n\n\n

    projectColumnName (String!)

    Column name the issue or pull request was moved to.

    \n\n\n\n\n
    \n

    Preview notice

    \n

    projectColumnName is available under the Project event details preview. During the preview period, the API may change without notice.

    \n
    \n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n OauthApplicationCreateAuditEntry\n

    \n

    Audit log entry for a oauth_application.create event.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    action (String!)

    The action name.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actor (AuditEntryActor)

    The user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorIp (String)

    The IP address of the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLocation (ActorLocation)

    A readable representation of the actor's location.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLogin (String)

    The username of the user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorResourcePath (URI)

    The HTTP path for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorUrl (URI)

    The HTTP URL for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    applicationUrl (URI)

    The application URL of the OAuth Application.

    \n\n\n\n\n\n\n\n\n\n\n\n

    callbackUrl (URI)

    The callback URL of the OAuth Application.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (PreciseDateTime!)

    The time the action was initiated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    oauthApplicationName (String)

    The name of the OAuth Application.

    \n\n\n\n\n\n\n\n\n\n\n\n

    oauthApplicationResourcePath (URI)

    The HTTP path for the OAuth Application.

    \n\n\n\n\n\n\n\n\n\n\n\n

    oauthApplicationUrl (URI)

    The HTTP URL for the OAuth Application.

    \n\n\n\n\n\n\n\n\n\n\n\n

    operationType (OperationType)

    The corresponding operation type for the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organization (Organization)

    The Organization associated with the Audit Entry.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationName (String)

    The name of the Organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationResourcePath (URI)

    The HTTP path for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationUrl (URI)

    The HTTP URL for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    rateLimit (Int)

    The rate limit of the OAuth Application.

    \n\n\n\n\n\n\n\n\n\n\n\n

    state (OauthApplicationCreateAuditEntryState)

    The state of the OAuth Application.

    \n\n\n\n\n\n\n\n\n\n\n\n

    user (User)

    The user affected by the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userLogin (String)

    For actions involving two users, the actor is the initiator and the user is the affected user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userResourcePath (URI)

    The HTTP path for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userUrl (URI)

    The HTTP URL for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n OrgAddBillingManagerAuditEntry\n

    \n

    Audit log entry for a org.add_billing_manager.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    action (String!)

    The action name.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actor (AuditEntryActor)

    The user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorIp (String)

    The IP address of the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLocation (ActorLocation)

    A readable representation of the actor's location.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLogin (String)

    The username of the user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorResourcePath (URI)

    The HTTP path for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorUrl (URI)

    The HTTP URL for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (PreciseDateTime!)

    The time the action was initiated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    invitationEmail (String)

    The email address used to invite a billing manager for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    operationType (OperationType)

    The corresponding operation type for the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organization (Organization)

    The Organization associated with the Audit Entry.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationName (String)

    The name of the Organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationResourcePath (URI)

    The HTTP path for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationUrl (URI)

    The HTTP URL for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    user (User)

    The user affected by the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userLogin (String)

    For actions involving two users, the actor is the initiator and the user is the affected user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userResourcePath (URI)

    The HTTP path for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userUrl (URI)

    The HTTP URL for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n OrgAddMemberAuditEntry\n

    \n

    Audit log entry for a org.add_member.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    action (String!)

    The action name.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actor (AuditEntryActor)

    The user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorIp (String)

    The IP address of the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLocation (ActorLocation)

    A readable representation of the actor's location.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLogin (String)

    The username of the user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorResourcePath (URI)

    The HTTP path for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorUrl (URI)

    The HTTP URL for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (PreciseDateTime!)

    The time the action was initiated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    operationType (OperationType)

    The corresponding operation type for the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organization (Organization)

    The Organization associated with the Audit Entry.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationName (String)

    The name of the Organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationResourcePath (URI)

    The HTTP path for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationUrl (URI)

    The HTTP URL for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    permission (OrgAddMemberAuditEntryPermission)

    The permission level of the member added to the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    user (User)

    The user affected by the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userLogin (String)

    For actions involving two users, the actor is the initiator and the user is the affected user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userResourcePath (URI)

    The HTTP path for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userUrl (URI)

    The HTTP URL for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n OrgBlockUserAuditEntry\n

    \n

    Audit log entry for a org.block_user.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    action (String!)

    The action name.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actor (AuditEntryActor)

    The user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorIp (String)

    The IP address of the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLocation (ActorLocation)

    A readable representation of the actor's location.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLogin (String)

    The username of the user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorResourcePath (URI)

    The HTTP path for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorUrl (URI)

    The HTTP URL for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    blockedUser (User)

    The blocked user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    blockedUserName (String)

    The username of the blocked user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    blockedUserResourcePath (URI)

    The HTTP path for the blocked user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    blockedUserUrl (URI)

    The HTTP URL for the blocked user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (PreciseDateTime!)

    The time the action was initiated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    operationType (OperationType)

    The corresponding operation type for the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organization (Organization)

    The Organization associated with the Audit Entry.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationName (String)

    The name of the Organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationResourcePath (URI)

    The HTTP path for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationUrl (URI)

    The HTTP URL for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    user (User)

    The user affected by the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userLogin (String)

    For actions involving two users, the actor is the initiator and the user is the affected user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userResourcePath (URI)

    The HTTP path for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userUrl (URI)

    The HTTP URL for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n OrgConfigDisableCollaboratorsOnlyAuditEntry\n

    \n

    Audit log entry for a org.config.disable_collaborators_only event.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    action (String!)

    The action name.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actor (AuditEntryActor)

    The user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorIp (String)

    The IP address of the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLocation (ActorLocation)

    A readable representation of the actor's location.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLogin (String)

    The username of the user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorResourcePath (URI)

    The HTTP path for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorUrl (URI)

    The HTTP URL for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (PreciseDateTime!)

    The time the action was initiated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    operationType (OperationType)

    The corresponding operation type for the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organization (Organization)

    The Organization associated with the Audit Entry.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationName (String)

    The name of the Organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationResourcePath (URI)

    The HTTP path for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationUrl (URI)

    The HTTP URL for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    user (User)

    The user affected by the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userLogin (String)

    For actions involving two users, the actor is the initiator and the user is the affected user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userResourcePath (URI)

    The HTTP path for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userUrl (URI)

    The HTTP URL for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n OrgConfigEnableCollaboratorsOnlyAuditEntry\n

    \n

    Audit log entry for a org.config.enable_collaborators_only event.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    action (String!)

    The action name.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actor (AuditEntryActor)

    The user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorIp (String)

    The IP address of the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLocation (ActorLocation)

    A readable representation of the actor's location.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLogin (String)

    The username of the user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorResourcePath (URI)

    The HTTP path for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorUrl (URI)

    The HTTP URL for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (PreciseDateTime!)

    The time the action was initiated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    operationType (OperationType)

    The corresponding operation type for the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organization (Organization)

    The Organization associated with the Audit Entry.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationName (String)

    The name of the Organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationResourcePath (URI)

    The HTTP path for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationUrl (URI)

    The HTTP URL for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    user (User)

    The user affected by the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userLogin (String)

    For actions involving two users, the actor is the initiator and the user is the affected user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userResourcePath (URI)

    The HTTP path for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userUrl (URI)

    The HTTP URL for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n OrgCreateAuditEntry\n

    \n

    Audit log entry for a org.create event.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    action (String!)

    The action name.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actor (AuditEntryActor)

    The user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorIp (String)

    The IP address of the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLocation (ActorLocation)

    A readable representation of the actor's location.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLogin (String)

    The username of the user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorResourcePath (URI)

    The HTTP path for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorUrl (URI)

    The HTTP URL for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    billingPlan (OrgCreateAuditEntryBillingPlan)

    The billing plan for the Organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (PreciseDateTime!)

    The time the action was initiated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    operationType (OperationType)

    The corresponding operation type for the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organization (Organization)

    The Organization associated with the Audit Entry.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationName (String)

    The name of the Organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationResourcePath (URI)

    The HTTP path for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationUrl (URI)

    The HTTP URL for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    user (User)

    The user affected by the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userLogin (String)

    For actions involving two users, the actor is the initiator and the user is the affected user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userResourcePath (URI)

    The HTTP path for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userUrl (URI)

    The HTTP URL for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n OrgDisableOauthAppRestrictionsAuditEntry\n

    \n

    Audit log entry for a org.disable_oauth_app_restrictions event.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    action (String!)

    The action name.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actor (AuditEntryActor)

    The user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorIp (String)

    The IP address of the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLocation (ActorLocation)

    A readable representation of the actor's location.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLogin (String)

    The username of the user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorResourcePath (URI)

    The HTTP path for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorUrl (URI)

    The HTTP URL for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (PreciseDateTime!)

    The time the action was initiated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    operationType (OperationType)

    The corresponding operation type for the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organization (Organization)

    The Organization associated with the Audit Entry.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationName (String)

    The name of the Organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationResourcePath (URI)

    The HTTP path for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationUrl (URI)

    The HTTP URL for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    user (User)

    The user affected by the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userLogin (String)

    For actions involving two users, the actor is the initiator and the user is the affected user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userResourcePath (URI)

    The HTTP path for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userUrl (URI)

    The HTTP URL for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n OrgDisableSamlAuditEntry\n

    \n

    Audit log entry for a org.disable_saml event.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    action (String!)

    The action name.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actor (AuditEntryActor)

    The user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorIp (String)

    The IP address of the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLocation (ActorLocation)

    A readable representation of the actor's location.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLogin (String)

    The username of the user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorResourcePath (URI)

    The HTTP path for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorUrl (URI)

    The HTTP URL for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (PreciseDateTime!)

    The time the action was initiated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    digestMethodUrl (URI)

    The SAML provider's digest algorithm URL.

    \n\n\n\n\n\n\n\n\n\n\n\n

    issuerUrl (URI)

    The SAML provider's issuer URL.

    \n\n\n\n\n\n\n\n\n\n\n\n

    operationType (OperationType)

    The corresponding operation type for the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organization (Organization)

    The Organization associated with the Audit Entry.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationName (String)

    The name of the Organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationResourcePath (URI)

    The HTTP path for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationUrl (URI)

    The HTTP URL for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    signatureMethodUrl (URI)

    The SAML provider's signature algorithm URL.

    \n\n\n\n\n\n\n\n\n\n\n\n

    singleSignOnUrl (URI)

    The SAML provider's single sign-on URL.

    \n\n\n\n\n\n\n\n\n\n\n\n

    user (User)

    The user affected by the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userLogin (String)

    For actions involving two users, the actor is the initiator and the user is the affected user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userResourcePath (URI)

    The HTTP path for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userUrl (URI)

    The HTTP URL for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n OrgDisableTwoFactorRequirementAuditEntry\n

    \n

    Audit log entry for a org.disable_two_factor_requirement event.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    action (String!)

    The action name.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actor (AuditEntryActor)

    The user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorIp (String)

    The IP address of the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLocation (ActorLocation)

    A readable representation of the actor's location.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLogin (String)

    The username of the user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorResourcePath (URI)

    The HTTP path for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorUrl (URI)

    The HTTP URL for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (PreciseDateTime!)

    The time the action was initiated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    operationType (OperationType)

    The corresponding operation type for the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organization (Organization)

    The Organization associated with the Audit Entry.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationName (String)

    The name of the Organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationResourcePath (URI)

    The HTTP path for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationUrl (URI)

    The HTTP URL for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    user (User)

    The user affected by the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userLogin (String)

    For actions involving two users, the actor is the initiator and the user is the affected user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userResourcePath (URI)

    The HTTP path for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userUrl (URI)

    The HTTP URL for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n OrgEnableOauthAppRestrictionsAuditEntry\n

    \n

    Audit log entry for a org.enable_oauth_app_restrictions event.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    action (String!)

    The action name.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actor (AuditEntryActor)

    The user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorIp (String)

    The IP address of the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLocation (ActorLocation)

    A readable representation of the actor's location.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLogin (String)

    The username of the user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorResourcePath (URI)

    The HTTP path for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorUrl (URI)

    The HTTP URL for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (PreciseDateTime!)

    The time the action was initiated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    operationType (OperationType)

    The corresponding operation type for the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organization (Organization)

    The Organization associated with the Audit Entry.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationName (String)

    The name of the Organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationResourcePath (URI)

    The HTTP path for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationUrl (URI)

    The HTTP URL for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    user (User)

    The user affected by the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userLogin (String)

    For actions involving two users, the actor is the initiator and the user is the affected user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userResourcePath (URI)

    The HTTP path for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userUrl (URI)

    The HTTP URL for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n OrgEnableSamlAuditEntry\n

    \n

    Audit log entry for a org.enable_saml event.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    action (String!)

    The action name.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actor (AuditEntryActor)

    The user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorIp (String)

    The IP address of the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLocation (ActorLocation)

    A readable representation of the actor's location.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLogin (String)

    The username of the user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorResourcePath (URI)

    The HTTP path for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorUrl (URI)

    The HTTP URL for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (PreciseDateTime!)

    The time the action was initiated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    digestMethodUrl (URI)

    The SAML provider's digest algorithm URL.

    \n\n\n\n\n\n\n\n\n\n\n\n

    issuerUrl (URI)

    The SAML provider's issuer URL.

    \n\n\n\n\n\n\n\n\n\n\n\n

    operationType (OperationType)

    The corresponding operation type for the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organization (Organization)

    The Organization associated with the Audit Entry.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationName (String)

    The name of the Organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationResourcePath (URI)

    The HTTP path for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationUrl (URI)

    The HTTP URL for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    signatureMethodUrl (URI)

    The SAML provider's signature algorithm URL.

    \n\n\n\n\n\n\n\n\n\n\n\n

    singleSignOnUrl (URI)

    The SAML provider's single sign-on URL.

    \n\n\n\n\n\n\n\n\n\n\n\n

    user (User)

    The user affected by the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userLogin (String)

    For actions involving two users, the actor is the initiator and the user is the affected user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userResourcePath (URI)

    The HTTP path for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userUrl (URI)

    The HTTP URL for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n OrgEnableTwoFactorRequirementAuditEntry\n

    \n

    Audit log entry for a org.enable_two_factor_requirement event.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    action (String!)

    The action name.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actor (AuditEntryActor)

    The user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorIp (String)

    The IP address of the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLocation (ActorLocation)

    A readable representation of the actor's location.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLogin (String)

    The username of the user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorResourcePath (URI)

    The HTTP path for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorUrl (URI)

    The HTTP URL for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (PreciseDateTime!)

    The time the action was initiated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    operationType (OperationType)

    The corresponding operation type for the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organization (Organization)

    The Organization associated with the Audit Entry.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationName (String)

    The name of the Organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationResourcePath (URI)

    The HTTP path for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationUrl (URI)

    The HTTP URL for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    user (User)

    The user affected by the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userLogin (String)

    For actions involving two users, the actor is the initiator and the user is the affected user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userResourcePath (URI)

    The HTTP path for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userUrl (URI)

    The HTTP URL for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n OrgInviteMemberAuditEntry\n

    \n

    Audit log entry for a org.invite_member event.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    action (String!)

    The action name.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actor (AuditEntryActor)

    The user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorIp (String)

    The IP address of the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLocation (ActorLocation)

    A readable representation of the actor's location.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLogin (String)

    The username of the user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorResourcePath (URI)

    The HTTP path for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorUrl (URI)

    The HTTP URL for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (PreciseDateTime!)

    The time the action was initiated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    email (String)

    The email address of the organization invitation.

    \n\n\n\n\n\n\n\n\n\n\n\n

    operationType (OperationType)

    The corresponding operation type for the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organization (Organization)

    The Organization associated with the Audit Entry.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationInvitation (OrganizationInvitation)

    The organization invitation.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationName (String)

    The name of the Organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationResourcePath (URI)

    The HTTP path for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationUrl (URI)

    The HTTP URL for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    user (User)

    The user affected by the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userLogin (String)

    For actions involving two users, the actor is the initiator and the user is the affected user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userResourcePath (URI)

    The HTTP path for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userUrl (URI)

    The HTTP URL for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n OrgInviteToBusinessAuditEntry\n

    \n

    Audit log entry for a org.invite_to_business event.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    action (String!)

    The action name.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actor (AuditEntryActor)

    The user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorIp (String)

    The IP address of the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLocation (ActorLocation)

    A readable representation of the actor's location.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLogin (String)

    The username of the user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorResourcePath (URI)

    The HTTP path for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorUrl (URI)

    The HTTP URL for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (PreciseDateTime!)

    The time the action was initiated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    enterpriseResourcePath (URI)

    The HTTP path for this enterprise.

    \n\n\n\n\n\n\n\n\n\n\n\n

    enterpriseSlug (String)

    The slug of the enterprise.

    \n\n\n\n\n\n\n\n\n\n\n\n

    enterpriseUrl (URI)

    The HTTP URL for this enterprise.

    \n\n\n\n\n\n\n\n\n\n\n\n

    operationType (OperationType)

    The corresponding operation type for the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organization (Organization)

    The Organization associated with the Audit Entry.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationName (String)

    The name of the Organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationResourcePath (URI)

    The HTTP path for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationUrl (URI)

    The HTTP URL for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    user (User)

    The user affected by the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userLogin (String)

    For actions involving two users, the actor is the initiator and the user is the affected user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userResourcePath (URI)

    The HTTP path for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userUrl (URI)

    The HTTP URL for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n OrgOauthAppAccessApprovedAuditEntry\n

    \n

    Audit log entry for a org.oauth_app_access_approved event.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    action (String!)

    The action name.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actor (AuditEntryActor)

    The user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorIp (String)

    The IP address of the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLocation (ActorLocation)

    A readable representation of the actor's location.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLogin (String)

    The username of the user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorResourcePath (URI)

    The HTTP path for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorUrl (URI)

    The HTTP URL for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (PreciseDateTime!)

    The time the action was initiated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    oauthApplicationName (String)

    The name of the OAuth Application.

    \n\n\n\n\n\n\n\n\n\n\n\n

    oauthApplicationResourcePath (URI)

    The HTTP path for the OAuth Application.

    \n\n\n\n\n\n\n\n\n\n\n\n

    oauthApplicationUrl (URI)

    The HTTP URL for the OAuth Application.

    \n\n\n\n\n\n\n\n\n\n\n\n

    operationType (OperationType)

    The corresponding operation type for the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organization (Organization)

    The Organization associated with the Audit Entry.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationName (String)

    The name of the Organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationResourcePath (URI)

    The HTTP path for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationUrl (URI)

    The HTTP URL for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    user (User)

    The user affected by the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userLogin (String)

    For actions involving two users, the actor is the initiator and the user is the affected user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userResourcePath (URI)

    The HTTP path for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userUrl (URI)

    The HTTP URL for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n OrgOauthAppAccessDeniedAuditEntry\n

    \n

    Audit log entry for a org.oauth_app_access_denied event.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    action (String!)

    The action name.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actor (AuditEntryActor)

    The user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorIp (String)

    The IP address of the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLocation (ActorLocation)

    A readable representation of the actor's location.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLogin (String)

    The username of the user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorResourcePath (URI)

    The HTTP path for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorUrl (URI)

    The HTTP URL for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (PreciseDateTime!)

    The time the action was initiated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    oauthApplicationName (String)

    The name of the OAuth Application.

    \n\n\n\n\n\n\n\n\n\n\n\n

    oauthApplicationResourcePath (URI)

    The HTTP path for the OAuth Application.

    \n\n\n\n\n\n\n\n\n\n\n\n

    oauthApplicationUrl (URI)

    The HTTP URL for the OAuth Application.

    \n\n\n\n\n\n\n\n\n\n\n\n

    operationType (OperationType)

    The corresponding operation type for the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organization (Organization)

    The Organization associated with the Audit Entry.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationName (String)

    The name of the Organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationResourcePath (URI)

    The HTTP path for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationUrl (URI)

    The HTTP URL for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    user (User)

    The user affected by the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userLogin (String)

    For actions involving two users, the actor is the initiator and the user is the affected user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userResourcePath (URI)

    The HTTP path for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userUrl (URI)

    The HTTP URL for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n OrgOauthAppAccessRequestedAuditEntry\n

    \n

    Audit log entry for a org.oauth_app_access_requested event.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    action (String!)

    The action name.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actor (AuditEntryActor)

    The user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorIp (String)

    The IP address of the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLocation (ActorLocation)

    A readable representation of the actor's location.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLogin (String)

    The username of the user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorResourcePath (URI)

    The HTTP path for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorUrl (URI)

    The HTTP URL for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (PreciseDateTime!)

    The time the action was initiated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    oauthApplicationName (String)

    The name of the OAuth Application.

    \n\n\n\n\n\n\n\n\n\n\n\n

    oauthApplicationResourcePath (URI)

    The HTTP path for the OAuth Application.

    \n\n\n\n\n\n\n\n\n\n\n\n

    oauthApplicationUrl (URI)

    The HTTP URL for the OAuth Application.

    \n\n\n\n\n\n\n\n\n\n\n\n

    operationType (OperationType)

    The corresponding operation type for the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organization (Organization)

    The Organization associated with the Audit Entry.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationName (String)

    The name of the Organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationResourcePath (URI)

    The HTTP path for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationUrl (URI)

    The HTTP URL for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    user (User)

    The user affected by the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userLogin (String)

    For actions involving two users, the actor is the initiator and the user is the affected user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userResourcePath (URI)

    The HTTP path for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userUrl (URI)

    The HTTP URL for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n OrgRemoveBillingManagerAuditEntry\n

    \n

    Audit log entry for a org.remove_billing_manager event.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    action (String!)

    The action name.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actor (AuditEntryActor)

    The user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorIp (String)

    The IP address of the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLocation (ActorLocation)

    A readable representation of the actor's location.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLogin (String)

    The username of the user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorResourcePath (URI)

    The HTTP path for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorUrl (URI)

    The HTTP URL for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (PreciseDateTime!)

    The time the action was initiated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    operationType (OperationType)

    The corresponding operation type for the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organization (Organization)

    The Organization associated with the Audit Entry.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationName (String)

    The name of the Organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationResourcePath (URI)

    The HTTP path for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationUrl (URI)

    The HTTP URL for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    reason (OrgRemoveBillingManagerAuditEntryReason)

    The reason for the billing manager being removed.

    \n\n\n\n\n\n\n\n\n\n\n\n

    user (User)

    The user affected by the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userLogin (String)

    For actions involving two users, the actor is the initiator and the user is the affected user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userResourcePath (URI)

    The HTTP path for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userUrl (URI)

    The HTTP URL for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n OrgRemoveMemberAuditEntry\n

    \n

    Audit log entry for a org.remove_member event.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    action (String!)

    The action name.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actor (AuditEntryActor)

    The user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorIp (String)

    The IP address of the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLocation (ActorLocation)

    A readable representation of the actor's location.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLogin (String)

    The username of the user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorResourcePath (URI)

    The HTTP path for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorUrl (URI)

    The HTTP URL for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (PreciseDateTime!)

    The time the action was initiated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    membershipTypes ([OrgRemoveMemberAuditEntryMembershipType!])

    The types of membership the member has with the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    operationType (OperationType)

    The corresponding operation type for the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organization (Organization)

    The Organization associated with the Audit Entry.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationName (String)

    The name of the Organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationResourcePath (URI)

    The HTTP path for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationUrl (URI)

    The HTTP URL for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    reason (OrgRemoveMemberAuditEntryReason)

    The reason for the member being removed.

    \n\n\n\n\n\n\n\n\n\n\n\n

    user (User)

    The user affected by the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userLogin (String)

    For actions involving two users, the actor is the initiator and the user is the affected user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userResourcePath (URI)

    The HTTP path for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userUrl (URI)

    The HTTP URL for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n OrgRemoveOutsideCollaboratorAuditEntry\n

    \n

    Audit log entry for a org.remove_outside_collaborator event.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    action (String!)

    The action name.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actor (AuditEntryActor)

    The user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorIp (String)

    The IP address of the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLocation (ActorLocation)

    A readable representation of the actor's location.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLogin (String)

    The username of the user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorResourcePath (URI)

    The HTTP path for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorUrl (URI)

    The HTTP URL for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (PreciseDateTime!)

    The time the action was initiated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    membershipTypes ([OrgRemoveOutsideCollaboratorAuditEntryMembershipType!])

    The types of membership the outside collaborator has with the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    operationType (OperationType)

    The corresponding operation type for the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organization (Organization)

    The Organization associated with the Audit Entry.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationName (String)

    The name of the Organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationResourcePath (URI)

    The HTTP path for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationUrl (URI)

    The HTTP URL for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    reason (OrgRemoveOutsideCollaboratorAuditEntryReason)

    The reason for the outside collaborator being removed from the Organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    user (User)

    The user affected by the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userLogin (String)

    For actions involving two users, the actor is the initiator and the user is the affected user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userResourcePath (URI)

    The HTTP path for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userUrl (URI)

    The HTTP URL for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n OrgRestoreMemberAuditEntry\n

    \n

    Audit log entry for a org.restore_member event.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    action (String!)

    The action name.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actor (AuditEntryActor)

    The user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorIp (String)

    The IP address of the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLocation (ActorLocation)

    A readable representation of the actor's location.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLogin (String)

    The username of the user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorResourcePath (URI)

    The HTTP path for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorUrl (URI)

    The HTTP URL for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (PreciseDateTime!)

    The time the action was initiated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    operationType (OperationType)

    The corresponding operation type for the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organization (Organization)

    The Organization associated with the Audit Entry.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationName (String)

    The name of the Organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationResourcePath (URI)

    The HTTP path for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationUrl (URI)

    The HTTP URL for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    restoredCustomEmailRoutingsCount (Int)

    The number of custom email routings for the restored member.

    \n\n\n\n\n\n\n\n\n\n\n\n

    restoredIssueAssignmentsCount (Int)

    The number of issue assignemnts for the restored member.

    \n\n\n\n\n\n\n\n\n\n\n\n

    restoredMemberships ([OrgRestoreMemberAuditEntryMembership!])

    Restored organization membership objects.

    \n\n\n\n\n\n\n\n\n\n\n\n

    restoredMembershipsCount (Int)

    The number of restored memberships.

    \n\n\n\n\n\n\n\n\n\n\n\n

    restoredRepositoriesCount (Int)

    The number of repositories of the restored member.

    \n\n\n\n\n\n\n\n\n\n\n\n

    restoredRepositoryStarsCount (Int)

    The number of starred repositories for the restored member.

    \n\n\n\n\n\n\n\n\n\n\n\n

    restoredRepositoryWatchesCount (Int)

    The number of watched repositories for the restored member.

    \n\n\n\n\n\n\n\n\n\n\n\n

    user (User)

    The user affected by the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userLogin (String)

    For actions involving two users, the actor is the initiator and the user is the affected user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userResourcePath (URI)

    The HTTP path for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userUrl (URI)

    The HTTP URL for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n OrgRestoreMemberMembershipOrganizationAuditEntryData\n

    \n

    Metadata for an organization membership for org.restore_member actions.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    organization (Organization)

    The Organization associated with the Audit Entry.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationName (String)

    The name of the Organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationResourcePath (URI)

    The HTTP path for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationUrl (URI)

    The HTTP URL for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n OrgRestoreMemberMembershipRepositoryAuditEntryData\n

    \n

    Metadata for a repository membership for org.restore_member actions.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    repository (Repository)

    The repository associated with the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repositoryName (String)

    The name of the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repositoryResourcePath (URI)

    The HTTP path for the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repositoryUrl (URI)

    The HTTP URL for the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n OrgRestoreMemberMembershipTeamAuditEntryData\n

    \n

    Metadata for a team membership for org.restore_member actions.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    team (Team)

    The team associated with the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    teamName (String)

    The name of the team.

    \n\n\n\n\n\n\n\n\n\n\n\n

    teamResourcePath (URI)

    The HTTP path for this team.

    \n\n\n\n\n\n\n\n\n\n\n\n

    teamUrl (URI)

    The HTTP URL for this team.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n OrgUnblockUserAuditEntry\n

    \n

    Audit log entry for a org.unblock_user.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    action (String!)

    The action name.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actor (AuditEntryActor)

    The user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorIp (String)

    The IP address of the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLocation (ActorLocation)

    A readable representation of the actor's location.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLogin (String)

    The username of the user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorResourcePath (URI)

    The HTTP path for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorUrl (URI)

    The HTTP URL for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    blockedUser (User)

    The user being unblocked by the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    blockedUserName (String)

    The username of the blocked user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    blockedUserResourcePath (URI)

    The HTTP path for the blocked user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    blockedUserUrl (URI)

    The HTTP URL for the blocked user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (PreciseDateTime!)

    The time the action was initiated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    operationType (OperationType)

    The corresponding operation type for the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organization (Organization)

    The Organization associated with the Audit Entry.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationName (String)

    The name of the Organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationResourcePath (URI)

    The HTTP path for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationUrl (URI)

    The HTTP URL for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    user (User)

    The user affected by the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userLogin (String)

    For actions involving two users, the actor is the initiator and the user is the affected user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userResourcePath (URI)

    The HTTP path for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userUrl (URI)

    The HTTP URL for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n OrgUpdateDefaultRepositoryPermissionAuditEntry\n

    \n

    Audit log entry for a org.update_default_repository_permission.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    action (String!)

    The action name.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actor (AuditEntryActor)

    The user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorIp (String)

    The IP address of the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLocation (ActorLocation)

    A readable representation of the actor's location.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLogin (String)

    The username of the user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorResourcePath (URI)

    The HTTP path for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorUrl (URI)

    The HTTP URL for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (PreciseDateTime!)

    The time the action was initiated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    operationType (OperationType)

    The corresponding operation type for the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organization (Organization)

    The Organization associated with the Audit Entry.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationName (String)

    The name of the Organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationResourcePath (URI)

    The HTTP path for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationUrl (URI)

    The HTTP URL for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    permission (OrgUpdateDefaultRepositoryPermissionAuditEntryPermission)

    The new default repository permission level for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    permissionWas (OrgUpdateDefaultRepositoryPermissionAuditEntryPermission)

    The former default repository permission level for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    user (User)

    The user affected by the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userLogin (String)

    For actions involving two users, the actor is the initiator and the user is the affected user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userResourcePath (URI)

    The HTTP path for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userUrl (URI)

    The HTTP URL for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n OrgUpdateMemberAuditEntry\n

    \n

    Audit log entry for a org.update_member event.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    action (String!)

    The action name.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actor (AuditEntryActor)

    The user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorIp (String)

    The IP address of the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLocation (ActorLocation)

    A readable representation of the actor's location.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLogin (String)

    The username of the user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorResourcePath (URI)

    The HTTP path for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorUrl (URI)

    The HTTP URL for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (PreciseDateTime!)

    The time the action was initiated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    operationType (OperationType)

    The corresponding operation type for the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organization (Organization)

    The Organization associated with the Audit Entry.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationName (String)

    The name of the Organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationResourcePath (URI)

    The HTTP path for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationUrl (URI)

    The HTTP URL for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    permission (OrgUpdateMemberAuditEntryPermission)

    The new member permission level for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    permissionWas (OrgUpdateMemberAuditEntryPermission)

    The former member permission level for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    user (User)

    The user affected by the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userLogin (String)

    For actions involving two users, the actor is the initiator and the user is the affected user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userResourcePath (URI)

    The HTTP path for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userUrl (URI)

    The HTTP URL for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n OrgUpdateMemberRepositoryCreationPermissionAuditEntry\n

    \n

    Audit log entry for a org.update_member_repository_creation_permission event.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    action (String!)

    The action name.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actor (AuditEntryActor)

    The user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorIp (String)

    The IP address of the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLocation (ActorLocation)

    A readable representation of the actor's location.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLogin (String)

    The username of the user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorResourcePath (URI)

    The HTTP path for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorUrl (URI)

    The HTTP URL for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    canCreateRepositories (Boolean)

    Can members create repositories in the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (PreciseDateTime!)

    The time the action was initiated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    operationType (OperationType)

    The corresponding operation type for the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organization (Organization)

    The Organization associated with the Audit Entry.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationName (String)

    The name of the Organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationResourcePath (URI)

    The HTTP path for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationUrl (URI)

    The HTTP URL for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    user (User)

    The user affected by the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userLogin (String)

    For actions involving two users, the actor is the initiator and the user is the affected user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userResourcePath (URI)

    The HTTP path for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userUrl (URI)

    The HTTP URL for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    visibility (OrgUpdateMemberRepositoryCreationPermissionAuditEntryVisibility)

    The permission for visibility level of repositories for this organization.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n OrgUpdateMemberRepositoryInvitationPermissionAuditEntry\n

    \n

    Audit log entry for a org.update_member_repository_invitation_permission event.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    action (String!)

    The action name.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actor (AuditEntryActor)

    The user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorIp (String)

    The IP address of the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLocation (ActorLocation)

    A readable representation of the actor's location.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLogin (String)

    The username of the user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorResourcePath (URI)

    The HTTP path for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorUrl (URI)

    The HTTP URL for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    canInviteOutsideCollaboratorsToRepositories (Boolean)

    Can outside collaborators be invited to repositories in the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (PreciseDateTime!)

    The time the action was initiated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    operationType (OperationType)

    The corresponding operation type for the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organization (Organization)

    The Organization associated with the Audit Entry.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationName (String)

    The name of the Organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationResourcePath (URI)

    The HTTP path for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationUrl (URI)

    The HTTP URL for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    user (User)

    The user affected by the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userLogin (String)

    For actions involving two users, the actor is the initiator and the user is the affected user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userResourcePath (URI)

    The HTTP path for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userUrl (URI)

    The HTTP URL for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n Organization\n

    \n

    An account on GitHub, with one or more owners, that has repositories, members and teams.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    anyPinnableItems (Boolean!)

    Determine if this repository owner has any items that can be pinned to their profile.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    type (PinnableItemType)

    \n

    Filter to only a particular kind of pinnable item.

    \n\n
    \n\n
    \n\n\n

    auditLog (OrganizationAuditEntryConnection!)

    Audit log entries of the organization.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (AuditLogOrder)

    \n

    Ordering options for the returned audit log entries.

    \n\n
    \n\n
    \n

    query (String)

    \n

    The query string to filter audit entries.

    \n\n
    \n\n
    \n\n\n

    avatarUrl (URI!)

    A URL pointing to the organization's public avatar.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    size (Int)

    \n

    The size of the resulting square image.

    \n\n
    \n\n
    \n\n\n

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    databaseId (Int)

    Identifies the primary key from the database.

    \n\n\n\n\n\n\n\n\n\n\n\n

    description (String)

    The organization's public profile description.

    \n\n\n\n\n\n\n\n\n\n\n\n

    descriptionHTML (String)

    The organization's public profile description rendered to HTML.

    \n\n\n\n\n\n\n\n\n\n\n\n

    email (String)

    The organization's public email.

    \n\n\n\n\n\n\n\n\n\n\n\n

    itemShowcase (ProfileItemShowcase!)

    Showcases a selection of repositories and gists that the profile owner has\neither curated or that have been selected automatically based on popularity.

    \n\n\n\n\n\n\n\n\n\n\n\n

    location (String)

    The organization's public profile location.

    \n\n\n\n\n\n\n\n\n\n\n\n

    login (String!)

    The organization's login name.

    \n\n\n\n\n\n\n\n\n\n\n\n

    memberStatuses (UserStatusConnection!)

    Get the status messages members of this entity have set that are either public or visible only to the organization.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (UserStatusOrder)

    \n

    Ordering options for user statuses returned from the connection.

    \n\n
    \n\n
    \n\n\n

    membersWithRole (OrganizationMemberConnection!)

    A list of users who are members of this organization.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n\n\n

    name (String)

    The organization's public profile name.

    \n\n\n\n\n\n\n\n\n\n\n\n

    newTeamResourcePath (URI!)

    The HTTP path creating a new team.

    \n\n\n\n\n\n\n\n\n\n\n\n

    newTeamUrl (URI!)

    The HTTP URL creating a new team.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationBillingEmail (String)

    The billing email for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    packages (PackageConnection!)

    A list of packages under the owner.

    \n\n\n\n\n
    \n

    Preview notice

    \n

    packages is available under the GitHub packages preview. During the preview period, the API may change without notice.

    \n
    \n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    names ([String])

    \n

    Find packages by their names.

    \n\n
    \n\n
    \n

    orderBy (PackageOrder)

    \n

    Ordering of the returned packages.

    \n\n
    \n\n
    \n

    repositoryId (ID)

    \n

    Find packages in a repository by ID.

    \n\n
    \n\n
    \n\n\n

    pendingMembers (UserConnection!)

    A list of users who have been invited to join this organization.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n\n\n

    pinnableItems (PinnableItemConnection!)

    A list of repositories and gists this profile owner can pin to their profile.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    types ([PinnableItemType!])

    \n

    Filter the types of pinnable items that are returned.

    \n\n
    \n\n
    \n\n\n

    pinnedItems (PinnableItemConnection!)

    A list of repositories and gists this profile owner has pinned to their profile.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    types ([PinnableItemType!])

    \n

    Filter the types of pinned items that are returned.

    \n\n
    \n\n
    \n\n\n

    pinnedItemsRemaining (Int!)

    Returns how many more items this profile owner can pin to their profile.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pinnedRepositories (RepositoryConnection!)

    A list of repositories this user has pinned to their profile.

    \n\n\n\n\n\n\n
    \n

    Deprecation notice

    \n

    pinnedRepositories is deprecated.

    pinnedRepositories will be removed Use ProfileOwner.pinnedItems instead. Removal on 2019-10-01 UTC.

    \n
    \n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    affiliations ([RepositoryAffiliation])

    \n

    Array of viewer's affiliation options for repositories returned from the\nconnection. For example, OWNER will include only repositories that the\ncurrent viewer owns.

    \n\n
    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    isLocked (Boolean)

    \n

    If non-null, filters repositories according to whether they have been locked.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (RepositoryOrder)

    \n

    Ordering options for repositories returned from the connection.

    \n\n
    \n\n
    \n

    ownerAffiliations ([RepositoryAffiliation])

    \n

    Array of owner's affiliation options for repositories returned from the\nconnection. For example, OWNER will include only repositories that the\norganization or user being viewed owns.

    \n\n
    \n\n
    \n

    privacy (RepositoryPrivacy)

    \n

    If non-null, filters repositories according to privacy.

    \n\n
    \n\n
    \n\n\n

    project (Project)

    Find project by number.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    number (Int!)

    \n

    The project number to find.

    \n\n
    \n\n
    \n\n\n

    projects (ProjectConnection!)

    A list of projects under the owner.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (ProjectOrder)

    \n

    Ordering options for projects returned from the connection.

    \n\n
    \n\n
    \n

    search (String)

    \n

    Query to search projects by, currently only searching by name.

    \n\n
    \n\n
    \n

    states ([ProjectState!])

    \n

    A list of states to filter the projects by.

    \n\n
    \n\n
    \n\n\n

    projectsResourcePath (URI!)

    The HTTP path listing organization's projects.

    \n\n\n\n\n\n\n\n\n\n\n\n

    projectsUrl (URI!)

    The HTTP URL listing organization's projects.

    \n\n\n\n\n\n\n\n\n\n\n\n

    registryPackages (RegistryPackageConnection!)

    A list of registry packages under the owner.

    \n\n\n\n\n\n\n
    \n

    Deprecation notice

    \n

    registryPackages is deprecated.

    Renaming GitHub Packages fields and objects. Use the PackageOwner object instead. Removal on 2020-04-01 UTC.

    \n
    \n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    name (String)

    \n

    Find registry package by name.

    \n\n
    \n\n
    \n

    names ([String])

    \n

    Find registry packages by their names.

    \n\n
    \n\n
    \n

    packageType (RegistryPackageType)

    \n

    Filter registry package by type.

    \n\n
    \n\n
    \n

    publicOnly (Boolean)

    \n

    Filter registry package by whether it is publicly visible.

    \n

    The default value is false.

    \n
    \n\n
    \n

    registryPackageType (String)

    \n

    Filter registry package by type (string).

    \n\n
    \n\n
    \n

    repositoryId (ID)

    \n

    Find registry packages in a repository.

    \n\n
    \n\n
    \n\n\n

    registryPackagesForQuery (RegistryPackageConnection!)

    A list of registry packages for a particular search query.

    \n\n\n\n\n\n\n
    \n

    Deprecation notice

    \n

    registryPackagesForQuery is deprecated.

    Renaming GitHub Packages fields and objects. Use the PackageSearch object instead. Removal on 2020-04-01 UTC.

    \n
    \n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    packageType (RegistryPackageType)

    \n

    Filter registry package by type.

    \n\n
    \n\n
    \n

    query (String)

    \n

    Find registry package by search query.

    \n\n
    \n\n
    \n\n\n

    repositories (RepositoryConnection!)

    A list of repositories that the user owns.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    affiliations ([RepositoryAffiliation])

    \n

    Array of viewer's affiliation options for repositories returned from the\nconnection. For example, OWNER will include only repositories that the\ncurrent viewer owns.

    \n\n
    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    isFork (Boolean)

    \n

    If non-null, filters repositories according to whether they are forks of another repository.

    \n\n
    \n\n
    \n

    isLocked (Boolean)

    \n

    If non-null, filters repositories according to whether they have been locked.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (RepositoryOrder)

    \n

    Ordering options for repositories returned from the connection.

    \n\n
    \n\n
    \n

    ownerAffiliations ([RepositoryAffiliation])

    \n

    Array of owner's affiliation options for repositories returned from the\nconnection. For example, OWNER will include only repositories that the\norganization or user being viewed owns.

    \n\n
    \n\n
    \n

    privacy (RepositoryPrivacy)

    \n

    If non-null, filters repositories according to privacy.

    \n\n
    \n\n
    \n\n\n

    repository (Repository)

    Find Repository.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    name (String!)

    \n

    Name of Repository to find.

    \n\n
    \n\n
    \n\n\n

    requiresTwoFactorAuthentication (Boolean)

    When true the organization requires all members, billing managers, and outside\ncollaborators to enable two-factor authentication.

    \n\n\n\n\n\n\n\n\n\n\n\n

    resourcePath (URI!)

    The HTTP path for this organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    samlIdentityProvider (OrganizationIdentityProvider)

    The Organization's SAML identity providers.

    \n\n\n\n\n\n\n\n\n\n\n\n

    sponsorshipsAsMaintainer (SponsorshipConnection!)

    This object's sponsorships as the maintainer.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    includePrivate (Boolean)

    \n

    Whether or not to include private sponsorships in the result set.

    \n

    The default value is false.

    \n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (SponsorshipOrder)

    \n

    Ordering options for sponsorships returned from this connection. If left\nblank, the sponsorships will be ordered based on relevancy to the viewer.

    \n\n
    \n\n
    \n\n\n

    sponsorshipsAsSponsor (SponsorshipConnection!)

    This object's sponsorships as the sponsor.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (SponsorshipOrder)

    \n

    Ordering options for sponsorships returned from this connection. If left\nblank, the sponsorships will be ordered based on relevancy to the viewer.

    \n\n
    \n\n
    \n\n\n

    team (Team)

    Find an organization's team by its slug.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    slug (String!)

    \n

    The name or slug of the team to find.

    \n\n
    \n\n
    \n\n\n

    teams (TeamConnection!)

    A list of teams in this organization.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    ldapMapped (Boolean)

    \n

    If true, filters teams that are mapped to an LDAP Group (Enterprise only).

    \n\n
    \n\n
    \n

    orderBy (TeamOrder)

    \n

    Ordering options for teams returned from the connection.

    \n\n
    \n\n
    \n

    privacy (TeamPrivacy)

    \n

    If non-null, filters teams according to privacy.

    \n\n
    \n\n
    \n

    query (String)

    \n

    If non-null, filters teams with query on team name and team slug.

    \n\n
    \n\n
    \n

    role (TeamRole)

    \n

    If non-null, filters teams according to whether the viewer is an admin or member on team.

    \n\n
    \n\n
    \n

    rootTeamsOnly (Boolean)

    \n

    If true, restrict to only root teams.

    \n

    The default value is false.

    \n
    \n\n
    \n

    userLogins ([String!])

    \n

    User logins to filter by.

    \n\n
    \n\n
    \n\n\n

    teamsResourcePath (URI!)

    The HTTP path listing organization's teams.

    \n\n\n\n\n\n\n\n\n\n\n\n

    teamsUrl (URI!)

    The HTTP URL listing organization's teams.

    \n\n\n\n\n\n\n\n\n\n\n\n

    updatedAt (DateTime!)

    Identifies the date and time when the object was last updated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    url (URI!)

    The HTTP URL for this organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerCanAdminister (Boolean!)

    Organization is adminable by the viewer.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerCanChangePinnedItems (Boolean!)

    Can the viewer pin repositories and gists to the profile?.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerCanCreateProjects (Boolean!)

    Can the current viewer create new projects on this owner.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerCanCreateRepositories (Boolean!)

    Viewer can create repositories on this organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerCanCreateTeams (Boolean!)

    Viewer can create teams on this organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerIsAMember (Boolean!)

    Viewer is an active member of this organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    websiteUrl (URI)

    The organization's public profile URL.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n OrganizationAuditEntryConnection\n

    \n

    The connection type for OrganizationAuditEntry.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([OrganizationAuditEntryEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([OrganizationAuditEntry])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n OrganizationAuditEntryEdge\n

    \n

    An edge in a connection.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (OrganizationAuditEntry)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n OrganizationConnection\n

    \n

    The connection type for Organization.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([OrganizationEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([Organization])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n OrganizationEdge\n

    \n

    An edge in a connection.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (Organization)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n OrganizationIdentityProvider\n

    \n

    An Identity Provider configured to provision SAML and SCIM identities for Organizations.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    digestMethod (URI)

    The digest algorithm used to sign SAML requests for the Identity Provider.

    \n\n\n\n\n\n\n\n\n\n\n\n

    externalIdentities (ExternalIdentityConnection!)

    External Identities provisioned by this Identity Provider.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n\n\n

    idpCertificate (X509Certificate)

    The x509 certificate used by the Identity Provder to sign assertions and responses.

    \n\n\n\n\n\n\n\n\n\n\n\n

    issuer (String)

    The Issuer Entity ID for the SAML Identity Provider.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organization (Organization)

    Organization this Identity Provider belongs to.

    \n\n\n\n\n\n\n\n\n\n\n\n

    signatureMethod (URI)

    The signature algorithm used to sign SAML requests for the Identity Provider.

    \n\n\n\n\n\n\n\n\n\n\n\n

    ssoUrl (URI)

    The URL endpoint for the Identity Provider's SAML SSO.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n OrganizationInvitation\n

    \n

    An Invitation for a user to an organization.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    email (String)

    The email address of the user invited to the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    invitationType (OrganizationInvitationType!)

    The type of invitation that was sent (e.g. email, user).

    \n\n\n\n\n\n\n\n\n\n\n\n

    invitee (User)

    The user who was invited to the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    inviter (User!)

    The user who created the invitation.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organization (Organization!)

    The organization the invite is for.

    \n\n\n\n\n\n\n\n\n\n\n\n

    role (OrganizationInvitationRole!)

    The user's pending role in the organization (e.g. member, owner).

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n OrganizationInvitationConnection\n

    \n

    The connection type for OrganizationInvitation.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([OrganizationInvitationEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([OrganizationInvitation])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n OrganizationInvitationEdge\n

    \n

    An edge in a connection.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (OrganizationInvitation)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n OrganizationMemberConnection\n

    \n

    The connection type for User.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([OrganizationMemberEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([User])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n OrganizationMemberEdge\n

    \n

    Represents a user within an organization.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    hasTwoFactorEnabled (Boolean)

    Whether the organization member has two factor enabled or not. Returns null if information is not available to viewer.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (User)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n

    role (OrganizationMemberRole)

    The role this user has in the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n OrganizationTeamsHovercardContext\n

    \n

    An organization teams hovercard context.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    message (String!)

    A string describing this context.

    \n\n\n\n\n\n\n\n\n\n\n\n

    octicon (String!)

    An octicon to accompany this context.

    \n\n\n\n\n\n\n\n\n\n\n\n

    relevantTeams (TeamConnection!)

    Teams in this organization the user is a member of that are relevant.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n\n\n

    teamsResourcePath (URI!)

    The path for the full team list for this user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    teamsUrl (URI!)

    The URL for the full team list for this user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalTeamCount (Int!)

    The total number of teams the user is on in the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n OrganizationsHovercardContext\n

    \n

    An organization list hovercard context.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    message (String!)

    A string describing this context.

    \n\n\n\n\n\n\n\n\n\n\n\n

    octicon (String!)

    An octicon to accompany this context.

    \n\n\n\n\n\n\n\n\n\n\n\n

    relevantOrganizations (OrganizationConnection!)

    Organizations this user is a member of that are relevant.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n\n\n

    totalOrganizationCount (Int!)

    The total number of organizations this user is in.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n Package\n

    \n

    Information for an uploaded package.

    \n
    \n\n
    \n \n
    \n

    Preview notice

    \n

    Package is available under the GitHub packages preview. During the preview period, the API may change without notice.

    \n
    \n\n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    latestVersion (PackageVersion)

    Find the latest version for the package.

    \n\n\n\n\n\n\n\n\n\n\n\n

    name (String!)

    Identifies the name of the package.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repository (Repository)

    The repository this package belongs to.

    \n\n\n\n\n\n\n\n\n\n\n\n

    statistics (PackageStatistics)

    Statistics about package activity.

    \n\n\n\n\n\n\n\n\n\n\n\n

    version (PackageVersion)

    Find package version by version string.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    version (String!)

    \n

    The package version.

    \n\n
    \n\n
    \n\n\n

    versions (PackageVersionConnection!)

    list of versions for this package.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (PackageVersionOrder)

    \n

    Ordering of the returned packages.

    \n\n
    \n\n
    \n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n PackageConnection\n

    \n

    The connection type for Package.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([PackageEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([Package])

    A list of nodes.

    \n\n\n\n\n
    \n

    Preview notice

    \n

    nodes is available under the GitHub packages preview. During the preview period, the API may change without notice.

    \n
    \n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n PackageEdge\n

    \n

    An edge in a connection.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (Package)

    The item at the end of the edge.

    \n\n\n\n\n
    \n

    Preview notice

    \n

    node is available under the GitHub packages preview. During the preview period, the API may change without notice.

    \n
    \n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n PackageFile\n

    \n

    A file in a package version.

    \n
    \n\n
    \n \n
    \n

    Preview notice

    \n

    PackageFile is available under the GitHub packages preview. During the preview period, the API may change without notice.

    \n
    \n\n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    md5 (String)

    MD5 hash of the file.

    \n\n\n\n\n\n\n\n\n\n\n\n

    name (String!)

    Name of the file.

    \n\n\n\n\n\n\n\n\n\n\n\n

    packageVersion (PackageVersion)

    The package version this file belongs to.

    \n\n\n\n\n\n\n\n\n\n\n\n

    sha1 (String)

    SHA1 hash of the file.

    \n\n\n\n\n\n\n\n\n\n\n\n

    sha256 (String)

    SHA256 hash of the file.

    \n\n\n\n\n\n\n\n\n\n\n\n

    size (Int)

    Size of the file in bytes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    updatedAt (DateTime!)

    Identifies the date and time when the object was last updated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    url (URI)

    URL to download the asset.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n PackageFileConnection\n

    \n

    The connection type for PackageFile.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([PackageFileEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([PackageFile])

    A list of nodes.

    \n\n\n\n\n
    \n

    Preview notice

    \n

    nodes is available under the GitHub packages preview. During the preview period, the API may change without notice.

    \n
    \n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n PackageFileEdge\n

    \n

    An edge in a connection.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (PackageFile)

    The item at the end of the edge.

    \n\n\n\n\n
    \n

    Preview notice

    \n

    node is available under the GitHub packages preview. During the preview period, the API may change without notice.

    \n
    \n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n PackageStatistics\n

    \n

    Represents a object that contains package activity statistics such as downloads.

    \n
    \n\n
    \n \n
    \n

    Preview notice

    \n

    PackageStatistics is available under the GitHub packages preview. During the preview period, the API may change without notice.

    \n
    \n\n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    downloadsTotalCount (Int!)

    Number of times the package was downloaded since it was created.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n PackageTag\n

    \n

    A version tag contains the mapping between a tag name and a version.

    \n
    \n\n
    \n \n
    \n

    Preview notice

    \n

    PackageTag is available under the GitHub packages preview. During the preview period, the API may change without notice.

    \n
    \n\n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    name (String!)

    Identifies the tag name of the version.

    \n\n\n\n\n\n\n\n\n\n\n\n

    version (PackageVersion)

    Version that the tag is associated with.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n PackageVersion\n

    \n

    Information about a specific package version.

    \n
    \n\n
    \n \n
    \n

    Preview notice

    \n

    PackageVersion is available under the GitHub packages preview. During the preview period, the API may change without notice.

    \n
    \n\n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    files (PackageFileConnection!)

    List of files associated with this package version.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (PackageFileOrder)

    \n

    Ordering of the returned package files.

    \n\n
    \n\n
    \n\n\n

    package (Package)

    The package associated with this version.

    \n\n\n\n\n\n\n\n\n\n\n\n

    platform (String)

    The platform this version was built for.

    \n\n\n\n\n\n\n\n\n\n\n\n

    preRelease (Boolean!)

    Whether or not this version is a pre-release.

    \n\n\n\n\n\n\n\n\n\n\n\n

    readme (String)

    The README of this package version.

    \n\n\n\n\n\n\n\n\n\n\n\n

    release (Release)

    The release associated with this package version.

    \n\n\n\n\n\n\n\n\n\n\n\n

    statistics (PackageVersionStatistics)

    Statistics about package activity.

    \n\n\n\n\n\n\n\n\n\n\n\n

    summary (String)

    The package version summary.

    \n\n\n\n\n\n\n\n\n\n\n\n

    version (String!)

    The version string.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n PackageVersionConnection\n

    \n

    The connection type for PackageVersion.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([PackageVersionEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([PackageVersion])

    A list of nodes.

    \n\n\n\n\n
    \n

    Preview notice

    \n

    nodes is available under the GitHub packages preview. During the preview period, the API may change without notice.

    \n
    \n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n PackageVersionEdge\n

    \n

    An edge in a connection.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (PackageVersion)

    The item at the end of the edge.

    \n\n\n\n\n
    \n

    Preview notice

    \n

    node is available under the GitHub packages preview. During the preview period, the API may change without notice.

    \n
    \n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n PackageVersionStatistics\n

    \n

    Represents a object that contains package version activity statistics such as downloads.

    \n
    \n\n
    \n \n
    \n

    Preview notice

    \n

    PackageVersionStatistics is available under the GitHub packages preview. During the preview period, the API may change without notice.

    \n
    \n\n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    downloadsTotalCount (Int!)

    Number of times the package was downloaded since it was created.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n PageInfo\n

    \n

    Information about pagination in a connection.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    endCursor (String)

    When paginating forwards, the cursor to continue.

    \n\n\n\n\n\n\n\n\n\n\n\n

    hasNextPage (Boolean!)

    When paginating forwards, are there more items?.

    \n\n\n\n\n\n\n\n\n\n\n\n

    hasPreviousPage (Boolean!)

    When paginating backwards, are there more items?.

    \n\n\n\n\n\n\n\n\n\n\n\n

    startCursor (String)

    When paginating backwards, the cursor to continue.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n PermissionSource\n

    \n

    A level of permission and source for a user's access to a repository.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    organization (Organization!)

    The organization the repository belongs to.

    \n\n\n\n\n\n\n\n\n\n\n\n

    permission (DefaultRepositoryPermissionField!)

    The level of access this source has granted to the user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    source (PermissionGranter!)

    The source of this permission.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n PinnableItemConnection\n

    \n

    The connection type for PinnableItem.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([PinnableItemEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([PinnableItem])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n PinnableItemEdge\n

    \n

    An edge in a connection.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (PinnableItem)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n PinnedEvent\n

    \n

    Represents apinnedevent on a given issue or pull request.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    actor (Actor)

    Identifies the actor who performed the event.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    issue (Issue!)

    Identifies the issue associated with the event.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n PinnedIssue\n

    \n

    A Pinned Issue is a issue pinned to a repository's index page.

    \n
    \n\n
    \n \n
    \n

    Preview notice

    \n

    PinnedIssue is available under the Pinned issues preview. During the preview period, the API may change without notice.

    \n
    \n\n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    databaseId (Int)

    Identifies the primary key from the database.

    \n\n\n\n\n\n\n\n\n\n\n\n

    issue (Issue!)

    The issue that was pinned.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pinnedBy (Actor!)

    The actor that pinned this issue.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repository (Repository!)

    The repository that this issue was pinned to.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n PinnedIssueConnection\n

    \n

    The connection type for PinnedIssue.

    \n
    \n\n
    \n \n
    \n

    Preview notice

    \n

    PinnedIssueConnection is available under the Pinned issues preview. During the preview period, the API may change without notice.

    \n
    \n\n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([PinnedIssueEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([PinnedIssue])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n PinnedIssueEdge\n

    \n

    An edge in a connection.

    \n
    \n\n
    \n \n
    \n

    Preview notice

    \n

    PinnedIssueEdge is available under the Pinned issues preview. During the preview period, the API may change without notice.

    \n
    \n\n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (PinnedIssue)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n PrivateRepositoryForkingDisableAuditEntry\n

    \n

    Audit log entry for a private_repository_forking.disable event.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    action (String!)

    The action name.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actor (AuditEntryActor)

    The user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorIp (String)

    The IP address of the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLocation (ActorLocation)

    A readable representation of the actor's location.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLogin (String)

    The username of the user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorResourcePath (URI)

    The HTTP path for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorUrl (URI)

    The HTTP URL for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (PreciseDateTime!)

    The time the action was initiated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    enterpriseResourcePath (URI)

    The HTTP path for this enterprise.

    \n\n\n\n\n\n\n\n\n\n\n\n

    enterpriseSlug (String)

    The slug of the enterprise.

    \n\n\n\n\n\n\n\n\n\n\n\n

    enterpriseUrl (URI)

    The HTTP URL for this enterprise.

    \n\n\n\n\n\n\n\n\n\n\n\n

    operationType (OperationType)

    The corresponding operation type for the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organization (Organization)

    The Organization associated with the Audit Entry.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationName (String)

    The name of the Organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationResourcePath (URI)

    The HTTP path for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationUrl (URI)

    The HTTP URL for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repository (Repository)

    The repository associated with the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repositoryName (String)

    The name of the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repositoryResourcePath (URI)

    The HTTP path for the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repositoryUrl (URI)

    The HTTP URL for the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    user (User)

    The user affected by the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userLogin (String)

    For actions involving two users, the actor is the initiator and the user is the affected user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userResourcePath (URI)

    The HTTP path for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userUrl (URI)

    The HTTP URL for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n PrivateRepositoryForkingEnableAuditEntry\n

    \n

    Audit log entry for a private_repository_forking.enable event.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    action (String!)

    The action name.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actor (AuditEntryActor)

    The user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorIp (String)

    The IP address of the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLocation (ActorLocation)

    A readable representation of the actor's location.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLogin (String)

    The username of the user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorResourcePath (URI)

    The HTTP path for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorUrl (URI)

    The HTTP URL for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (PreciseDateTime!)

    The time the action was initiated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    enterpriseResourcePath (URI)

    The HTTP path for this enterprise.

    \n\n\n\n\n\n\n\n\n\n\n\n

    enterpriseSlug (String)

    The slug of the enterprise.

    \n\n\n\n\n\n\n\n\n\n\n\n

    enterpriseUrl (URI)

    The HTTP URL for this enterprise.

    \n\n\n\n\n\n\n\n\n\n\n\n

    operationType (OperationType)

    The corresponding operation type for the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organization (Organization)

    The Organization associated with the Audit Entry.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationName (String)

    The name of the Organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationResourcePath (URI)

    The HTTP path for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationUrl (URI)

    The HTTP URL for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repository (Repository)

    The repository associated with the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repositoryName (String)

    The name of the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repositoryResourcePath (URI)

    The HTTP path for the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repositoryUrl (URI)

    The HTTP URL for the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    user (User)

    The user affected by the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userLogin (String)

    For actions involving two users, the actor is the initiator and the user is the affected user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userResourcePath (URI)

    The HTTP path for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userUrl (URI)

    The HTTP URL for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n ProfileItemShowcase\n

    \n

    A curatable list of repositories relating to a repository owner, which defaults\nto showing the most popular repositories they own.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    hasPinnedItems (Boolean!)

    Whether or not the owner has pinned any repositories or gists.

    \n\n\n\n\n\n\n\n\n\n\n\n

    items (PinnableItemConnection!)

    The repositories and gists in the showcase. If the profile owner has any\npinned items, those will be returned. Otherwise, the profile owner's popular\nrepositories will be returned.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n Project\n

    \n

    Projects manage issues, pull requests and notes within a project owner.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    body (String)

    The project's description body.

    \n\n\n\n\n\n\n\n\n\n\n\n

    bodyHTML (HTML!)

    The projects description body rendered to HTML.

    \n\n\n\n\n\n\n\n\n\n\n\n

    closed (Boolean!)

    true if the object is closed (definition of closed may depend on type).

    \n\n\n\n\n\n\n\n\n\n\n\n

    closedAt (DateTime)

    Identifies the date and time when the object was closed.

    \n\n\n\n\n\n\n\n\n\n\n\n

    columns (ProjectColumnConnection!)

    List of columns in the project.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n\n\n

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    creator (Actor)

    The actor who originally created the project.

    \n\n\n\n\n\n\n\n\n\n\n\n

    databaseId (Int)

    Identifies the primary key from the database.

    \n\n\n\n\n\n\n\n\n\n\n\n

    name (String!)

    The project's name.

    \n\n\n\n\n\n\n\n\n\n\n\n

    number (Int!)

    The project's number.

    \n\n\n\n\n\n\n\n\n\n\n\n

    owner (ProjectOwner!)

    The project's owner. Currently limited to repositories, organizations, and users.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pendingCards (ProjectCardConnection!)

    List of pending cards in this project.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    archivedStates ([ProjectCardArchivedState])

    \n

    A list of archived states to filter the cards by.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n\n\n

    resourcePath (URI!)

    The HTTP path for this project.

    \n\n\n\n\n\n\n\n\n\n\n\n

    state (ProjectState!)

    Whether the project is open or closed.

    \n\n\n\n\n\n\n\n\n\n\n\n

    updatedAt (DateTime!)

    Identifies the date and time when the object was last updated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    url (URI!)

    The HTTP URL for this project.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerCanUpdate (Boolean!)

    Check if the current viewer can update this object.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n ProjectCard\n

    \n

    A card in a project.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    column (ProjectColumn)

    The project column this card is associated under. A card may only belong to one\nproject column at a time. The column field will be null if the card is created\nin a pending state and has yet to be associated with a column. Once cards are\nassociated with a column, they will not become pending in the future.

    \n\n\n\n\n\n\n\n\n\n\n\n

    content (ProjectCardItem)

    The card content item.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    creator (Actor)

    The actor who created this card.

    \n\n\n\n\n\n\n\n\n\n\n\n

    databaseId (Int)

    Identifies the primary key from the database.

    \n\n\n\n\n\n\n\n\n\n\n\n

    isArchived (Boolean!)

    Whether the card is archived.

    \n\n\n\n\n\n\n\n\n\n\n\n

    note (String)

    The card note.

    \n\n\n\n\n\n\n\n\n\n\n\n

    project (Project!)

    The project that contains this card.

    \n\n\n\n\n\n\n\n\n\n\n\n

    resourcePath (URI!)

    The HTTP path for this card.

    \n\n\n\n\n\n\n\n\n\n\n\n

    state (ProjectCardState)

    The state of ProjectCard.

    \n\n\n\n\n\n\n\n\n\n\n\n

    updatedAt (DateTime!)

    Identifies the date and time when the object was last updated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    url (URI!)

    The HTTP URL for this card.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n ProjectCardConnection\n

    \n

    The connection type for ProjectCard.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([ProjectCardEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([ProjectCard])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n ProjectCardEdge\n

    \n

    An edge in a connection.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (ProjectCard)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n ProjectColumn\n

    \n

    A column inside a project.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cards (ProjectCardConnection!)

    List of cards in the column.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    archivedStates ([ProjectCardArchivedState])

    \n

    A list of archived states to filter the cards by.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n\n\n

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    databaseId (Int)

    Identifies the primary key from the database.

    \n\n\n\n\n\n\n\n\n\n\n\n

    name (String!)

    The project column's name.

    \n\n\n\n\n\n\n\n\n\n\n\n

    project (Project!)

    The project that contains this column.

    \n\n\n\n\n\n\n\n\n\n\n\n

    purpose (ProjectColumnPurpose)

    The semantic purpose of the column.

    \n\n\n\n\n\n\n\n\n\n\n\n

    resourcePath (URI!)

    The HTTP path for this project column.

    \n\n\n\n\n\n\n\n\n\n\n\n

    updatedAt (DateTime!)

    Identifies the date and time when the object was last updated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    url (URI!)

    The HTTP URL for this project column.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n ProjectColumnConnection\n

    \n

    The connection type for ProjectColumn.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([ProjectColumnEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([ProjectColumn])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n ProjectColumnEdge\n

    \n

    An edge in a connection.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (ProjectColumn)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n ProjectConnection\n

    \n

    A list of projects associated with the owner.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([ProjectEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([Project])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n ProjectEdge\n

    \n

    An edge in a connection.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (Project)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n PublicKey\n

    \n

    A user's public key.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    accessedAt (DateTime)

    The last time this authorization was used to perform an action. Values will be null for keys not owned by the user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (DateTime)

    Identifies the date and time when the key was created. Keys created before\nMarch 5th, 2014 have inaccurate values. Values will be null for keys not owned by the user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    fingerprint (String!)

    The fingerprint for this PublicKey.

    \n\n\n\n\n\n\n\n\n\n\n\n

    isReadOnly (Boolean)

    Whether this PublicKey is read-only or not. Values will be null for keys not owned by the user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    key (String!)

    The public key string.

    \n\n\n\n\n\n\n\n\n\n\n\n

    updatedAt (DateTime)

    Identifies the date and time when the key was updated. Keys created before\nMarch 5th, 2014 may have inaccurate values. Values will be null for keys not\nowned by the user.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n PublicKeyConnection\n

    \n

    The connection type for PublicKey.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([PublicKeyEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([PublicKey])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n PublicKeyEdge\n

    \n

    An edge in a connection.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (PublicKey)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n PullRequest\n

    \n

    A repository pull request.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    activeLockReason (LockReason)

    Reason that the conversation was locked.

    \n\n\n\n\n\n\n\n\n\n\n\n

    additions (Int!)

    The number of additions in this pull request.

    \n\n\n\n\n\n\n\n\n\n\n\n

    assignees (UserConnection!)

    A list of Users assigned to this object.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n\n\n

    author (Actor)

    The actor who authored the comment.

    \n\n\n\n\n\n\n\n\n\n\n\n

    authorAssociation (CommentAuthorAssociation!)

    Author's association with the subject of the comment.

    \n\n\n\n\n\n\n\n\n\n\n\n

    baseRef (Ref)

    Identifies the base Ref associated with the pull request.

    \n\n\n\n\n\n\n\n\n\n\n\n

    baseRefName (String!)

    Identifies the name of the base Ref associated with the pull request, even if the ref has been deleted.

    \n\n\n\n\n\n\n\n\n\n\n\n

    baseRefOid (GitObjectID!)

    Identifies the oid of the base ref associated with the pull request, even if the ref has been deleted.

    \n\n\n\n\n\n\n\n\n\n\n\n

    baseRepository (Repository)

    The repository associated with this pull request's base Ref.

    \n\n\n\n\n\n\n\n\n\n\n\n

    body (String!)

    The body as Markdown.

    \n\n\n\n\n\n\n\n\n\n\n\n

    bodyHTML (HTML!)

    The body rendered to HTML.

    \n\n\n\n\n\n\n\n\n\n\n\n

    bodyText (String!)

    The body rendered to text.

    \n\n\n\n\n\n\n\n\n\n\n\n

    canBeRebased (Boolean!)

    Whether or not the pull request is rebaseable.

    \n\n\n\n\n
    \n

    Preview notice

    \n

    canBeRebased is available under the Merge info preview. During the preview period, the API may change without notice.

    \n
    \n\n\n\n\n\n\n\n\n

    changedFiles (Int!)

    The number of changed files in this pull request.

    \n\n\n\n\n\n\n\n\n\n\n\n

    closed (Boolean!)

    true if the pull request is closed.

    \n\n\n\n\n\n\n\n\n\n\n\n

    closedAt (DateTime)

    Identifies the date and time when the object was closed.

    \n\n\n\n\n\n\n\n\n\n\n\n

    comments (IssueCommentConnection!)

    A list of comments associated with the pull request.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n\n\n

    commits (PullRequestCommitConnection!)

    A list of commits present in this pull request's head branch not present in the base branch.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n\n\n

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdViaEmail (Boolean!)

    Check if this comment was created via an email reply.

    \n\n\n\n\n\n\n\n\n\n\n\n

    databaseId (Int)

    Identifies the primary key from the database.

    \n\n\n\n\n\n\n\n\n\n\n\n

    deletions (Int!)

    The number of deletions in this pull request.

    \n\n\n\n\n\n\n\n\n\n\n\n

    editor (Actor)

    The actor who edited this pull request's body.

    \n\n\n\n\n\n\n\n\n\n\n\n

    files (PullRequestChangedFileConnection)

    Lists the files changed within this pull request.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n\n\n

    headRef (Ref)

    Identifies the head Ref associated with the pull request.

    \n\n\n\n\n\n\n\n\n\n\n\n

    headRefName (String!)

    Identifies the name of the head Ref associated with the pull request, even if the ref has been deleted.

    \n\n\n\n\n\n\n\n\n\n\n\n

    headRefOid (GitObjectID!)

    Identifies the oid of the head ref associated with the pull request, even if the ref has been deleted.

    \n\n\n\n\n\n\n\n\n\n\n\n

    headRepository (Repository)

    The repository associated with this pull request's head Ref.

    \n\n\n\n\n\n\n\n\n\n\n\n

    headRepositoryOwner (RepositoryOwner)

    The owner of the repository associated with this pull request's head Ref.

    \n\n\n\n\n\n\n\n\n\n\n\n

    hovercard (Hovercard!)

    The hovercard information for this issue.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    includeNotificationContexts (Boolean)

    \n

    Whether or not to include notification contexts.

    \n

    The default value is true.

    \n
    \n\n
    \n\n\n

    includesCreatedEdit (Boolean!)

    Check if this comment was edited and includes an edit with the creation data.

    \n\n\n\n\n\n\n\n\n\n\n\n

    isCrossRepository (Boolean!)

    The head and base repositories are different.

    \n\n\n\n\n\n\n\n\n\n\n\n

    isDraft (Boolean!)

    Identifies if the pull request is a draft.

    \n\n\n\n\n
    \n

    Preview notice

    \n

    isDraft is available under the Draft pull requests preview. During the preview period, the API may change without notice.

    \n
    \n\n\n\n\n\n\n\n\n

    labels (LabelConnection)

    A list of labels associated with the object.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (LabelOrder)

    \n

    Ordering options for labels returned from the connection.

    \n\n
    \n\n
    \n\n\n

    lastEditedAt (DateTime)

    The moment the editor made the last edit.

    \n\n\n\n\n\n\n\n\n\n\n\n

    locked (Boolean!)

    true if the pull request is locked.

    \n\n\n\n\n\n\n\n\n\n\n\n

    maintainerCanModify (Boolean!)

    Indicates whether maintainers can modify the pull request.

    \n\n\n\n\n\n\n\n\n\n\n\n

    mergeCommit (Commit)

    The commit that was created when this pull request was merged.

    \n\n\n\n\n\n\n\n\n\n\n\n

    mergeStateStatus (MergeStateStatus!)

    Detailed information about the current pull request merge state status.

    \n\n\n\n\n
    \n

    Preview notice

    \n

    mergeStateStatus is available under the Merge info preview. During the preview period, the API may change without notice.

    \n
    \n\n\n\n\n\n\n\n\n

    mergeable (MergeableState!)

    Whether or not the pull request can be merged based on the existence of merge conflicts.

    \n\n\n\n\n\n\n\n\n\n\n\n

    merged (Boolean!)

    Whether or not the pull request was merged.

    \n\n\n\n\n\n\n\n\n\n\n\n

    mergedAt (DateTime)

    The date and time that the pull request was merged.

    \n\n\n\n\n\n\n\n\n\n\n\n

    mergedBy (Actor)

    The actor who merged the pull request.

    \n\n\n\n\n\n\n\n\n\n\n\n

    milestone (Milestone)

    Identifies the milestone associated with the pull request.

    \n\n\n\n\n\n\n\n\n\n\n\n

    number (Int!)

    Identifies the pull request number.

    \n\n\n\n\n\n\n\n\n\n\n\n

    participants (UserConnection!)

    A list of Users that are participating in the Pull Request conversation.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n\n\n

    permalink (URI!)

    The permalink to the pull request.

    \n\n\n\n\n\n\n\n\n\n\n\n

    potentialMergeCommit (Commit)

    The commit that GitHub automatically generated to test if this pull request\ncould be merged. This field will not return a value if the pull request is\nmerged, or if the test merge commit is still being generated. See the\nmergeable field for more details on the mergeability of the pull request.

    \n\n\n\n\n\n\n\n\n\n\n\n

    projectCards (ProjectCardConnection!)

    List of project cards associated with this pull request.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    archivedStates ([ProjectCardArchivedState])

    \n

    A list of archived states to filter the cards by.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n\n\n

    publishedAt (DateTime)

    Identifies when the comment was published at.

    \n\n\n\n\n\n\n\n\n\n\n\n

    reactionGroups ([ReactionGroup!])

    A list of reactions grouped by content left on the subject.

    \n\n\n\n\n\n\n\n\n\n\n\n

    reactions (ReactionConnection!)

    A list of Reactions left on the Issue.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    content (ReactionContent)

    \n

    Allows filtering Reactions by emoji.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (ReactionOrder)

    \n

    Allows specifying the order in which reactions are returned.

    \n\n
    \n\n
    \n\n\n

    repository (Repository!)

    The repository associated with this node.

    \n\n\n\n\n\n\n\n\n\n\n\n

    resourcePath (URI!)

    The HTTP path for this pull request.

    \n\n\n\n\n\n\n\n\n\n\n\n

    revertResourcePath (URI!)

    The HTTP path for reverting this pull request.

    \n\n\n\n\n\n\n\n\n\n\n\n

    revertUrl (URI!)

    The HTTP URL for reverting this pull request.

    \n\n\n\n\n\n\n\n\n\n\n\n

    reviewRequests (ReviewRequestConnection)

    A list of review requests associated with the pull request.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n\n\n

    reviewThreads (PullRequestReviewThreadConnection!)

    The list of all review threads for this pull request.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n\n\n

    reviews (PullRequestReviewConnection)

    A list of reviews associated with the pull request.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    author (String)

    \n

    Filter by author of the review.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    states ([PullRequestReviewState!])

    \n

    A list of states to filter the reviews.

    \n\n
    \n\n
    \n\n\n

    state (PullRequestState!)

    Identifies the state of the pull request.

    \n\n\n\n\n\n\n\n\n\n\n\n

    suggestedReviewers ([SuggestedReviewer]!)

    A list of reviewer suggestions based on commit history and past review comments.

    \n\n\n\n\n\n\n\n\n\n\n\n

    timeline (PullRequestTimelineConnection!)

    A list of events, comments, commits, etc. associated with the pull request.

    \n\n\n\n\n\n\n
    \n

    Deprecation notice

    \n

    timeline is deprecated.

    timeline will be removed Use PullRequest.timelineItems instead. Removal on 2019-10-01 UTC.

    \n
    \n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    since (DateTime)

    \n

    Allows filtering timeline events by a since timestamp.

    \n\n
    \n\n
    \n\n\n

    timelineItems (PullRequestTimelineItemsConnection!)

    A list of events, comments, commits, etc. associated with the pull request.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    itemTypes ([PullRequestTimelineItemsItemType!])

    \n

    Filter timeline items by type.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    since (DateTime)

    \n

    Filter timeline items by a since timestamp.

    \n\n
    \n\n
    \n

    skip (Int)

    \n

    Skips the first n elements in the list.

    \n\n
    \n\n
    \n\n\n

    title (String!)

    Identifies the pull request title.

    \n\n\n\n\n\n\n\n\n\n\n\n

    updatedAt (DateTime!)

    Identifies the date and time when the object was last updated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    url (URI!)

    The HTTP URL for this pull request.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userContentEdits (UserContentEditConnection)

    A list of edits to this content.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n\n\n

    viewerCanApplySuggestion (Boolean!)

    Whether or not the viewer can apply suggestion.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerCanReact (Boolean!)

    Can user react to this subject.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerCanSubscribe (Boolean!)

    Check if the viewer is able to change their subscription status for the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerCanUpdate (Boolean!)

    Check if the current viewer can update this object.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerCannotUpdateReasons ([CommentCannotUpdateReason!]!)

    Reasons why the current viewer can not update this comment.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerDidAuthor (Boolean!)

    Did the viewer author this comment.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerSubscription (SubscriptionState)

    Identifies if the viewer is watching, not watching, or ignoring the subscribable entity.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n PullRequestChangedFile\n

    \n

    A file changed in a pull request.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    additions (Int!)

    The number of additions to the file.

    \n\n\n\n\n\n\n\n\n\n\n\n

    deletions (Int!)

    The number of deletions to the file.

    \n\n\n\n\n\n\n\n\n\n\n\n

    path (String!)

    The path of the file.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n PullRequestChangedFileConnection\n

    \n

    The connection type for PullRequestChangedFile.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([PullRequestChangedFileEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([PullRequestChangedFile])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n PullRequestChangedFileEdge\n

    \n

    An edge in a connection.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (PullRequestChangedFile)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n PullRequestCommit\n

    \n

    Represents a Git commit part of a pull request.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    commit (Commit!)

    The Git commit object.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pullRequest (PullRequest!)

    The pull request this commit belongs to.

    \n\n\n\n\n\n\n\n\n\n\n\n

    resourcePath (URI!)

    The HTTP path for this pull request commit.

    \n\n\n\n\n\n\n\n\n\n\n\n

    url (URI!)

    The HTTP URL for this pull request commit.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n PullRequestCommitCommentThread\n

    \n

    Represents a commit comment thread part of a pull request.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    comments (CommitCommentConnection!)

    The comments that exist in this thread.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n\n\n

    commit (Commit!)

    The commit the comments were made on.

    \n\n\n\n\n\n\n\n\n\n\n\n

    path (String)

    The file the comments were made on.

    \n\n\n\n\n\n\n\n\n\n\n\n

    position (Int)

    The position in the diff for the commit that the comment was made on.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pullRequest (PullRequest!)

    The pull request this commit comment thread belongs to.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repository (Repository!)

    The repository associated with this node.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n PullRequestCommitConnection\n

    \n

    The connection type for PullRequestCommit.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([PullRequestCommitEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([PullRequestCommit])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n PullRequestCommitEdge\n

    \n

    An edge in a connection.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (PullRequestCommit)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n PullRequestConnection\n

    \n

    The connection type for PullRequest.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([PullRequestEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([PullRequest])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n PullRequestContributionsByRepository\n

    \n

    This aggregates pull requests opened by a user within one repository.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    contributions (CreatedPullRequestContributionConnection!)

    The pull request contributions.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (ContributionOrder)

    \n

    Ordering options for contributions returned from the connection.

    \n\n
    \n\n
    \n\n\n

    repository (Repository!)

    The repository in which the pull requests were opened.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n PullRequestEdge\n

    \n

    An edge in a connection.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (PullRequest)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n PullRequestReview\n

    \n

    A review object for a given pull request.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    author (Actor)

    The actor who authored the comment.

    \n\n\n\n\n\n\n\n\n\n\n\n

    authorAssociation (CommentAuthorAssociation!)

    Author's association with the subject of the comment.

    \n\n\n\n\n\n\n\n\n\n\n\n

    body (String!)

    Identifies the pull request review body.

    \n\n\n\n\n\n\n\n\n\n\n\n

    bodyHTML (HTML!)

    The body rendered to HTML.

    \n\n\n\n\n\n\n\n\n\n\n\n

    bodyText (String!)

    The body of this review rendered as plain text.

    \n\n\n\n\n\n\n\n\n\n\n\n

    comments (PullRequestReviewCommentConnection!)

    A list of review comments for the current pull request review.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n\n\n

    commit (Commit)

    Identifies the commit associated with this pull request review.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdViaEmail (Boolean!)

    Check if this comment was created via an email reply.

    \n\n\n\n\n\n\n\n\n\n\n\n

    databaseId (Int)

    Identifies the primary key from the database.

    \n\n\n\n\n\n\n\n\n\n\n\n

    editor (Actor)

    The actor who edited the comment.

    \n\n\n\n\n\n\n\n\n\n\n\n

    includesCreatedEdit (Boolean!)

    Check if this comment was edited and includes an edit with the creation data.

    \n\n\n\n\n\n\n\n\n\n\n\n

    lastEditedAt (DateTime)

    The moment the editor made the last edit.

    \n\n\n\n\n\n\n\n\n\n\n\n

    onBehalfOf (TeamConnection!)

    A list of teams that this review was made on behalf of.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n\n\n

    publishedAt (DateTime)

    Identifies when the comment was published at.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pullRequest (PullRequest!)

    Identifies the pull request associated with this pull request review.

    \n\n\n\n\n\n\n\n\n\n\n\n

    reactionGroups ([ReactionGroup!])

    A list of reactions grouped by content left on the subject.

    \n\n\n\n\n\n\n\n\n\n\n\n

    reactions (ReactionConnection!)

    A list of Reactions left on the Issue.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    content (ReactionContent)

    \n

    Allows filtering Reactions by emoji.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (ReactionOrder)

    \n

    Allows specifying the order in which reactions are returned.

    \n\n
    \n\n
    \n\n\n

    repository (Repository!)

    The repository associated with this node.

    \n\n\n\n\n\n\n\n\n\n\n\n

    resourcePath (URI!)

    The HTTP path permalink for this PullRequestReview.

    \n\n\n\n\n\n\n\n\n\n\n\n

    state (PullRequestReviewState!)

    Identifies the current state of the pull request review.

    \n\n\n\n\n\n\n\n\n\n\n\n

    submittedAt (DateTime)

    Identifies when the Pull Request Review was submitted.

    \n\n\n\n\n\n\n\n\n\n\n\n

    updatedAt (DateTime!)

    Identifies the date and time when the object was last updated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    url (URI!)

    The HTTP URL permalink for this PullRequestReview.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userContentEdits (UserContentEditConnection)

    A list of edits to this content.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n\n\n

    viewerCanDelete (Boolean!)

    Check if the current viewer can delete this object.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerCanReact (Boolean!)

    Can user react to this subject.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerCanUpdate (Boolean!)

    Check if the current viewer can update this object.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerCannotUpdateReasons ([CommentCannotUpdateReason!]!)

    Reasons why the current viewer can not update this comment.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerDidAuthor (Boolean!)

    Did the viewer author this comment.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n PullRequestReviewComment\n

    \n

    A review comment associated with a given repository pull request.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    author (Actor)

    The actor who authored the comment.

    \n\n\n\n\n\n\n\n\n\n\n\n

    authorAssociation (CommentAuthorAssociation!)

    Author's association with the subject of the comment.

    \n\n\n\n\n\n\n\n\n\n\n\n

    body (String!)

    The comment body of this review comment.

    \n\n\n\n\n\n\n\n\n\n\n\n

    bodyHTML (HTML!)

    The body rendered to HTML.

    \n\n\n\n\n\n\n\n\n\n\n\n

    bodyText (String!)

    The comment body of this review comment rendered as plain text.

    \n\n\n\n\n\n\n\n\n\n\n\n

    commit (Commit)

    Identifies the commit associated with the comment.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (DateTime!)

    Identifies when the comment was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdViaEmail (Boolean!)

    Check if this comment was created via an email reply.

    \n\n\n\n\n\n\n\n\n\n\n\n

    databaseId (Int)

    Identifies the primary key from the database.

    \n\n\n\n\n\n\n\n\n\n\n\n

    diffHunk (String!)

    The diff hunk to which the comment applies.

    \n\n\n\n\n\n\n\n\n\n\n\n

    draftedAt (DateTime!)

    Identifies when the comment was created in a draft state.

    \n\n\n\n\n\n\n\n\n\n\n\n

    editor (Actor)

    The actor who edited the comment.

    \n\n\n\n\n\n\n\n\n\n\n\n

    includesCreatedEdit (Boolean!)

    Check if this comment was edited and includes an edit with the creation data.

    \n\n\n\n\n\n\n\n\n\n\n\n

    isMinimized (Boolean!)

    Returns whether or not a comment has been minimized.

    \n\n\n\n\n\n\n\n\n\n\n\n

    lastEditedAt (DateTime)

    The moment the editor made the last edit.

    \n\n\n\n\n\n\n\n\n\n\n\n

    minimizedReason (String)

    Returns why the comment was minimized.

    \n\n\n\n\n\n\n\n\n\n\n\n

    originalCommit (Commit)

    Identifies the original commit associated with the comment.

    \n\n\n\n\n\n\n\n\n\n\n\n

    originalPosition (Int!)

    The original line index in the diff to which the comment applies.

    \n\n\n\n\n\n\n\n\n\n\n\n

    outdated (Boolean!)

    Identifies when the comment body is outdated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    path (String!)

    The path to which the comment applies.

    \n\n\n\n\n\n\n\n\n\n\n\n

    position (Int)

    The line index in the diff to which the comment applies.

    \n\n\n\n\n\n\n\n\n\n\n\n

    publishedAt (DateTime)

    Identifies when the comment was published at.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pullRequest (PullRequest!)

    The pull request associated with this review comment.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pullRequestReview (PullRequestReview)

    The pull request review associated with this review comment.

    \n\n\n\n\n\n\n\n\n\n\n\n

    reactionGroups ([ReactionGroup!])

    A list of reactions grouped by content left on the subject.

    \n\n\n\n\n\n\n\n\n\n\n\n

    reactions (ReactionConnection!)

    A list of Reactions left on the Issue.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    content (ReactionContent)

    \n

    Allows filtering Reactions by emoji.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (ReactionOrder)

    \n

    Allows specifying the order in which reactions are returned.

    \n\n
    \n\n
    \n\n\n

    replyTo (PullRequestReviewComment)

    The comment this is a reply to.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repository (Repository!)

    The repository associated with this node.

    \n\n\n\n\n\n\n\n\n\n\n\n

    resourcePath (URI!)

    The HTTP path permalink for this review comment.

    \n\n\n\n\n\n\n\n\n\n\n\n

    state (PullRequestReviewCommentState!)

    Identifies the state of the comment.

    \n\n\n\n\n\n\n\n\n\n\n\n

    updatedAt (DateTime!)

    Identifies when the comment was last updated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    url (URI!)

    The HTTP URL permalink for this review comment.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userContentEdits (UserContentEditConnection)

    A list of edits to this content.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n\n\n

    viewerCanDelete (Boolean!)

    Check if the current viewer can delete this object.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerCanMinimize (Boolean!)

    Check if the current viewer can minimize this object.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerCanReact (Boolean!)

    Can user react to this subject.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerCanUpdate (Boolean!)

    Check if the current viewer can update this object.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerCannotUpdateReasons ([CommentCannotUpdateReason!]!)

    Reasons why the current viewer can not update this comment.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerDidAuthor (Boolean!)

    Did the viewer author this comment.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n PullRequestReviewCommentConnection\n

    \n

    The connection type for PullRequestReviewComment.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([PullRequestReviewCommentEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([PullRequestReviewComment])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n PullRequestReviewCommentEdge\n

    \n

    An edge in a connection.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (PullRequestReviewComment)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n PullRequestReviewConnection\n

    \n

    The connection type for PullRequestReview.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([PullRequestReviewEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([PullRequestReview])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n PullRequestReviewContributionsByRepository\n

    \n

    This aggregates pull request reviews made by a user within one repository.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    contributions (CreatedPullRequestReviewContributionConnection!)

    The pull request review contributions.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (ContributionOrder)

    \n

    Ordering options for contributions returned from the connection.

    \n\n
    \n\n
    \n\n\n

    repository (Repository!)

    The repository in which the pull request reviews were made.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n PullRequestReviewEdge\n

    \n

    An edge in a connection.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (PullRequestReview)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n PullRequestReviewThread\n

    \n

    A threaded list of comments for a given pull request.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    comments (PullRequestReviewCommentConnection!)

    A list of pull request comments associated with the thread.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    skip (Int)

    \n

    Skips the first n elements in the list.

    \n\n
    \n\n
    \n\n\n

    diffSide (DiffSide!)

    The side of the diff on which this thread was placed.

    \n\n\n\n\n
    \n

    Preview notice

    \n

    diffSide is available under the Multi line comments preview. During the preview period, the API may change without notice.

    \n
    \n\n\n\n\n\n\n\n\n

    isResolved (Boolean!)

    Whether this thread has been resolved.

    \n\n\n\n\n\n\n\n\n\n\n\n

    line (Int)

    The line in the file to which this thread refers.

    \n\n\n\n\n
    \n

    Preview notice

    \n

    line is available under the Multi line comments preview. During the preview period, the API may change without notice.

    \n
    \n\n\n\n\n\n\n\n\n

    originalLine (Int)

    The original line in the file to which this thread refers.

    \n\n\n\n\n
    \n

    Preview notice

    \n

    originalLine is available under the Multi line comments preview. During the preview period, the API may change without notice.

    \n
    \n\n\n\n\n\n\n\n\n

    originalStartLine (Int)

    The original start line in the file to which this thread refers (multi-line only).

    \n\n\n\n\n
    \n

    Preview notice

    \n

    originalStartLine is available under the Multi line comments preview. During the preview period, the API may change without notice.

    \n
    \n\n\n\n\n\n\n\n\n

    pullRequest (PullRequest!)

    Identifies the pull request associated with this thread.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repository (Repository!)

    Identifies the repository associated with this thread.

    \n\n\n\n\n\n\n\n\n\n\n\n

    resolvedBy (User)

    The user who resolved this thread.

    \n\n\n\n\n\n\n\n\n\n\n\n

    startDiffSide (DiffSide)

    The side of the diff that the first line of the thread starts on (multi-line only).

    \n\n\n\n\n
    \n

    Preview notice

    \n

    startDiffSide is available under the Multi line comments preview. During the preview period, the API may change without notice.

    \n
    \n\n\n\n\n\n\n\n\n

    startLine (Int)

    The start line in the file to which this thread refers (multi-line only).

    \n\n\n\n\n
    \n

    Preview notice

    \n

    startLine is available under the Multi line comments preview. During the preview period, the API may change without notice.

    \n
    \n\n\n\n\n\n\n\n\n

    viewerCanResolve (Boolean!)

    Whether or not the viewer can resolve this thread.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerCanUnresolve (Boolean!)

    Whether or not the viewer can unresolve this thread.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n PullRequestReviewThreadConnection\n

    \n

    Review comment threads for a pull request review.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([PullRequestReviewThreadEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([PullRequestReviewThread])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n PullRequestReviewThreadEdge\n

    \n

    An edge in a connection.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (PullRequestReviewThread)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n PullRequestRevisionMarker\n

    \n

    Represents the latest point in the pull request timeline for which the viewer has seen the pull request's commits.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    lastSeenCommit (Commit!)

    The last commit the viewer has seen.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pullRequest (PullRequest!)

    The pull request to which the marker belongs.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n PullRequestTimelineConnection\n

    \n

    The connection type for PullRequestTimelineItem.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([PullRequestTimelineItemEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([PullRequestTimelineItem])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n PullRequestTimelineItemEdge\n

    \n

    An edge in a connection.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (PullRequestTimelineItem)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n PullRequestTimelineItemsConnection\n

    \n

    The connection type for PullRequestTimelineItems.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([PullRequestTimelineItemsEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    filteredCount (Int!)

    Identifies the count of items after applying before and after filters.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([PullRequestTimelineItems])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageCount (Int!)

    Identifies the count of items after applying before/after filters and first/last/skip slicing.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n

    updatedAt (DateTime!)

    Identifies the date and time when the timeline was last updated.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n PullRequestTimelineItemsEdge\n

    \n

    An edge in a connection.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (PullRequestTimelineItems)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n Push\n

    \n

    A Git push.

    \n
    \n\n
    \n \n
    \n

    Preview notice

    \n

    Push is available under the Checks preview. During the preview period, the API may change without notice.

    \n
    \n\n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    nextSha (GitObjectID)

    The SHA after the push.

    \n\n\n\n\n\n\n\n\n\n\n\n

    permalink (URI!)

    The permalink for this push.

    \n\n\n\n\n\n\n\n\n\n\n\n

    previousSha (GitObjectID)

    The SHA before the push.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pusher (User!)

    The user who pushed.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repository (Repository!)

    The repository that was pushed to.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n PushAllowance\n

    \n

    A team, user or app who has the ability to push to a protected branch.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    actor (PushAllowanceActor)

    The actor that can push.

    \n\n\n\n\n\n\n\n\n\n\n\n

    branchProtectionRule (BranchProtectionRule)

    Identifies the branch protection rule associated with the allowed user or team.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n PushAllowanceConnection\n

    \n

    The connection type for PushAllowance.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([PushAllowanceEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([PushAllowance])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n PushAllowanceEdge\n

    \n

    An edge in a connection.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (PushAllowance)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n RateLimit\n

    \n

    Represents the client's rate limit.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cost (Int!)

    The point cost for the current query counting against the rate limit.

    \n\n\n\n\n\n\n\n\n\n\n\n

    limit (Int!)

    The maximum number of points the client is permitted to consume in a 60 minute window.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodeCount (Int!)

    The maximum number of nodes this query may return.

    \n\n\n\n\n\n\n\n\n\n\n\n

    remaining (Int!)

    The number of points remaining in the current rate limit window.

    \n\n\n\n\n\n\n\n\n\n\n\n

    resetAt (DateTime!)

    The time at which the current rate limit window resets in UTC epoch seconds.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n ReactingUserConnection\n

    \n

    The connection type for User.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([ReactingUserEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([User])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n ReactingUserEdge\n

    \n

    Represents a user that's made a reaction.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    reactedAt (DateTime!)

    The moment when the user made the reaction.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n Reaction\n

    \n

    An emoji reaction to a particular piece of content.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    content (ReactionContent!)

    Identifies the emoji reaction.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    databaseId (Int)

    Identifies the primary key from the database.

    \n\n\n\n\n\n\n\n\n\n\n\n

    reactable (Reactable!)

    The reactable piece of content.

    \n\n\n\n\n\n\n\n\n\n\n\n

    user (User)

    Identifies the user who created this reaction.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n ReactionConnection\n

    \n

    A list of reactions that have been left on the subject.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([ReactionEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([Reaction])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerHasReacted (Boolean!)

    Whether or not the authenticated user has left a reaction on the subject.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n ReactionEdge\n

    \n

    An edge in a connection.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (Reaction)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n ReactionGroup\n

    \n

    A group of emoji reactions to a particular piece of content.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    content (ReactionContent!)

    Identifies the emoji reaction.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (DateTime)

    Identifies when the reaction was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    subject (Reactable!)

    The subject that was reacted to.

    \n\n\n\n\n\n\n\n\n\n\n\n

    users (ReactingUserConnection!)

    Users who have reacted to the reaction subject with the emotion represented by this reaction group.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n\n\n

    viewerHasReacted (Boolean!)

    Whether or not the authenticated user has left a reaction on the subject.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n ReadyForReviewEvent\n

    \n

    Represents aready_for_reviewevent on a given pull request.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    actor (Actor)

    Identifies the actor who performed the event.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pullRequest (PullRequest!)

    PullRequest referenced by event.

    \n\n\n\n\n\n\n\n\n\n\n\n

    resourcePath (URI!)

    The HTTP path for this ready for review event.

    \n\n\n\n\n\n\n\n\n\n\n\n

    url (URI!)

    The HTTP URL for this ready for review event.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n Ref\n

    \n

    Represents a Git reference.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    associatedPullRequests (PullRequestConnection!)

    A list of pull requests with this ref as the head ref.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    baseRefName (String)

    \n

    The base ref name to filter the pull requests by.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    headRefName (String)

    \n

    The head ref name to filter the pull requests by.

    \n\n
    \n\n
    \n

    labels ([String!])

    \n

    A list of label names to filter the pull requests by.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (IssueOrder)

    \n

    Ordering options for pull requests returned from the connection.

    \n\n
    \n\n
    \n

    states ([PullRequestState!])

    \n

    A list of states to filter the pull requests by.

    \n\n
    \n\n
    \n\n\n

    name (String!)

    The ref name.

    \n\n\n\n\n\n\n\n\n\n\n\n

    prefix (String!)

    The ref's prefix, such as refs/heads/ or refs/tags/.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repository (Repository!)

    The repository the ref belongs to.

    \n\n\n\n\n\n\n\n\n\n\n\n

    target (GitObject!)

    The object the ref points to.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n RefConnection\n

    \n

    The connection type for Ref.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([RefEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([Ref])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n RefEdge\n

    \n

    An edge in a connection.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (Ref)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n ReferencedEvent\n

    \n

    Represents areferencedevent on a given ReferencedSubject.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    actor (Actor)

    Identifies the actor who performed the event.

    \n\n\n\n\n\n\n\n\n\n\n\n

    commit (Commit)

    Identifies the commit associated with thereferencedevent.

    \n\n\n\n\n\n\n\n\n\n\n\n

    commitRepository (Repository!)

    Identifies the repository associated with thereferencedevent.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    isCrossRepository (Boolean!)

    Reference originated in a different repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    isDirectReference (Boolean!)

    Checks if the commit message itself references the subject. Can be false in the case of a commit comment reference.

    \n\n\n\n\n\n\n\n\n\n\n\n

    subject (ReferencedSubject!)

    Object referenced by event.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n RegistryPackage\n

    \n

    A registry package contains the content for an uploaded package.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    color (String!)

    The package type color.

    \n\n\n\n\n\n\n
    \n

    Deprecation notice

    \n

    color is deprecated.

    Renaming GitHub Packages fields and objects. Use the Package object instead. Removal on 2020-04-01 UTC.

    \n
    \n\n\n\n\n\n\n

    latestVersion (RegistryPackageVersion)

    Find the latest version for the package.

    \n\n\n\n\n\n\n
    \n

    Deprecation notice

    \n

    latestVersion is deprecated.

    Renaming GitHub Packages fields and objects. Use the Package object instead. Removal on 2020-04-01 UTC.

    \n
    \n\n\n\n\n\n\n

    name (String!)

    Identifies the title of the package.

    \n\n\n\n\n\n\n
    \n

    Deprecation notice

    \n

    name is deprecated.

    Renaming GitHub Packages fields and objects. Use the Package object instead. Removal on 2020-04-01 UTC.

    \n
    \n\n\n\n\n\n\n

    nameWithOwner (String!)

    Identifies the title of the package, with the owner prefixed.

    \n\n\n\n\n\n\n
    \n

    Deprecation notice

    \n

    nameWithOwner is deprecated.

    Renaming GitHub Packages fields and objects. Use the Package object instead. Removal on 2020-04-01 UTC.

    \n
    \n\n\n\n\n\n\n

    packageFileByGuid (RegistryPackageFile)

    Find the package file identified by the guid.

    \n\n\n\n\n\n\n
    \n

    Deprecation notice

    \n

    packageFileByGuid is deprecated.

    Renaming GitHub Packages fields and objects. Use the Package object. Removal on 2020-04-01 UTC.

    \n
    \n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    guid (String!)

    \n

    The unique identifier of the package_file.

    \n\n
    \n\n
    \n\n\n

    packageFileBySha256 (RegistryPackageFile)

    Find the package file identified by the sha256.

    \n\n\n\n\n\n\n
    \n

    Deprecation notice

    \n

    packageFileBySha256 is deprecated.

    Renaming GitHub Packages fields and objects. Use the Package object. Removal on 2020-04-01 UTC.

    \n
    \n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    sha256 (String!)

    \n

    The SHA256 of the package_file.

    \n\n
    \n\n
    \n\n\n

    packageType (RegistryPackageType!)

    Identifies the type of the package.

    \n\n\n\n\n\n\n
    \n

    Deprecation notice

    \n

    packageType is deprecated.

    Renaming GitHub Packages fields and objects. Use the Package object instead. Removal on 2020-04-01 UTC.

    \n
    \n\n\n\n\n\n\n

    preReleaseVersions (RegistryPackageVersionConnection)

    List the prerelease versions for this package.

    \n\n\n\n\n\n\n
    \n

    Deprecation notice

    \n

    preReleaseVersions is deprecated.

    Renaming GitHub Packages fields and objects. Use the Package object instead. Removal on 2020-04-01 UTC.

    \n
    \n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n\n\n

    registryPackageType (String)

    The type of the package.

    \n\n\n\n\n\n\n
    \n

    Deprecation notice

    \n

    registryPackageType is deprecated.

    Renaming GitHub Packages fields and objects. Use the Package object instead. Removal on 2020-04-01 UTC.

    \n
    \n\n\n\n\n\n\n

    repository (Repository)

    repository that the release is associated with.

    \n\n\n\n\n\n\n
    \n

    Deprecation notice

    \n

    repository is deprecated.

    Renaming GitHub Packages fields and objects. Use the Package object instead. Removal on 2020-04-01 UTC.

    \n
    \n\n\n\n\n\n\n

    statistics (RegistryPackageStatistics)

    Statistics about package activity.

    \n\n\n\n\n\n\n
    \n

    Deprecation notice

    \n

    statistics is deprecated.

    Renaming GitHub Packages fields and objects. Use the Package object instead. Removal on 2020-04-01 UTC.

    \n
    \n\n\n\n\n\n\n

    tags (RegistryPackageTagConnection!)

    list of tags for this package.

    \n\n\n\n\n\n\n
    \n

    Deprecation notice

    \n

    tags is deprecated.

    Renaming GitHub Packages fields and objects. Use the Package object. Removal on 2020-04-01 UTC.

    \n
    \n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n\n\n

    topics (TopicConnection)

    List the topics for this package.

    \n\n\n\n\n\n\n
    \n

    Deprecation notice

    \n

    topics is deprecated.

    Renaming GitHub Packages fields and objects. Use the Package object. Removal on 2020-04-01 UTC.

    \n
    \n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n\n\n

    version (RegistryPackageVersion)

    Find package version by version string.

    \n\n\n\n\n\n\n
    \n

    Deprecation notice

    \n

    version is deprecated.

    Renaming GitHub Packages fields and objects. Use the Package object instead. Removal on 2020-04-01 UTC.

    \n
    \n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    version (String!)

    \n

    The package version.

    \n\n
    \n\n
    \n\n\n

    versionByPlatform (RegistryPackageVersion)

    Find package version by version string.

    \n\n\n\n\n\n\n
    \n

    Deprecation notice

    \n

    versionByPlatform is deprecated.

    Renaming GitHub Packages fields and objects. Use the Package object instead. Removal on 2020-04-01 UTC.

    \n
    \n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    platform (String!)

    \n

    Find a registry package for a specific platform.

    \n\n
    \n\n
    \n

    version (String!)

    \n

    The package version.

    \n\n
    \n\n
    \n\n\n

    versionBySha256 (RegistryPackageVersion)

    Find package version by manifest SHA256.

    \n\n\n\n\n\n\n
    \n

    Deprecation notice

    \n

    versionBySha256 is deprecated.

    Renaming GitHub Packages fields and objects. Use the Package object instead. Removal on 2020-04-01 UTC.

    \n
    \n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    sha256 (String!)

    \n

    The package SHA256 digest.

    \n\n
    \n\n
    \n\n\n

    versions (RegistryPackageVersionConnection!)

    list of versions for this package.

    \n\n\n\n\n\n\n
    \n

    Deprecation notice

    \n

    versions is deprecated.

    Renaming GitHub Packages fields and objects. Use the Package object instead. Removal on 2020-04-01 UTC.

    \n
    \n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n\n\n

    versionsByMetadatum (RegistryPackageVersionConnection)

    List package versions with a specific metadatum.

    \n\n\n\n\n\n\n
    \n

    Deprecation notice

    \n

    versionsByMetadatum is deprecated.

    Renaming GitHub Packages fields and objects. Use the Package object instead. Removal on 2020-04-01 UTC.

    \n
    \n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    metadatum (RegistryPackageMetadatum!)

    \n

    Filter on a specific metadatum.

    \n\n
    \n\n
    \n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n RegistryPackageConnection\n

    \n

    The connection type for RegistryPackage.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([RegistryPackageEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([RegistryPackage])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n RegistryPackageDependency\n

    \n

    A package dependency contains the information needed to satisfy a dependency.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    dependencyType (RegistryPackageDependencyType!)

    Identifies the type of dependency.

    \n\n\n\n\n\n\n
    \n

    Deprecation notice

    \n

    dependencyType is deprecated.

    Renaming GitHub Packages fields and objects. Use the PackageDependency object instead. Removal on 2020-04-01 UTC.

    \n
    \n\n\n\n\n\n\n

    name (String!)

    Identifies the name of the dependency.

    \n\n\n\n\n\n\n
    \n

    Deprecation notice

    \n

    name is deprecated.

    Renaming GitHub Packages fields and objects. Use the PackageDependency object instead. Removal on 2020-04-01 UTC.

    \n
    \n\n\n\n\n\n\n

    version (String!)

    Identifies the version of the dependency.

    \n\n\n\n\n\n\n
    \n

    Deprecation notice

    \n

    version is deprecated.

    Renaming GitHub Packages fields and objects. Use the PackageDependency object instead. Removal on 2020-04-01 UTC.

    \n
    \n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n RegistryPackageDependencyConnection\n

    \n

    The connection type for RegistryPackageDependency.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([RegistryPackageDependencyEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([RegistryPackageDependency])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n RegistryPackageDependencyEdge\n

    \n

    An edge in a connection.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (RegistryPackageDependency)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n RegistryPackageEdge\n

    \n

    An edge in a connection.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (RegistryPackage)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n RegistryPackageFile\n

    \n

    A file in a specific registry package version.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    guid (String)

    A unique identifier for this file.

    \n\n\n\n\n\n\n
    \n

    Deprecation notice

    \n

    guid is deprecated.

    Renaming GitHub Packages fields and objects. Use the PackageFile object instead. Removal on 2020-04-01 UTC.

    \n
    \n\n\n\n\n\n\n

    md5 (String)

    Identifies the md5.

    \n\n\n\n\n\n\n
    \n

    Deprecation notice

    \n

    md5 is deprecated.

    Renaming GitHub Packages fields and objects. Use the PackageFile object instead. Removal on 2020-04-01 UTC.

    \n
    \n\n\n\n\n\n\n

    metadataUrl (URI!)

    URL to download the asset metadata.

    \n\n\n\n\n\n\n
    \n

    Deprecation notice

    \n

    metadataUrl is deprecated.

    Renaming GitHub Packages fields and objects. Use the PackageFile object instead. Removal on 2020-04-01 UTC.

    \n
    \n\n\n\n\n\n\n

    name (String!)

    Name of the file.

    \n\n\n\n\n\n\n
    \n

    Deprecation notice

    \n

    name is deprecated.

    Renaming GitHub Packages fields and objects. Use the PackageFile object instead. Removal on 2020-04-01 UTC.

    \n
    \n\n\n\n\n\n\n

    packageVersion (RegistryPackageVersion!)

    The package version this file belongs to.

    \n\n\n\n\n\n\n
    \n

    Deprecation notice

    \n

    packageVersion is deprecated.

    Renaming GitHub Packages fields and objects. Use the PackageFile object instead. Removal on 2020-04-01 UTC.

    \n
    \n\n\n\n\n\n\n

    sha1 (String)

    Identifies the sha1.

    \n\n\n\n\n\n\n
    \n

    Deprecation notice

    \n

    sha1 is deprecated.

    Renaming GitHub Packages fields and objects. Use the PackageFile object instead. Removal on 2020-04-01 UTC.

    \n
    \n\n\n\n\n\n\n

    sha256 (String)

    Identifies the sha256.

    \n\n\n\n\n\n\n
    \n

    Deprecation notice

    \n

    sha256 is deprecated.

    Renaming GitHub Packages fields and objects. Use the PackageFile object instead. Removal on 2020-04-01 UTC.

    \n
    \n\n\n\n\n\n\n

    size (Int)

    Identifies the size.

    \n\n\n\n\n\n\n
    \n

    Deprecation notice

    \n

    size is deprecated.

    Renaming GitHub Packages fields and objects. Use the PackageFile object instead. Removal on 2020-04-01 UTC.

    \n
    \n\n\n\n\n\n\n

    updatedAt (DateTime!)

    Identifies the date and time when the object was last updated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    url (URI!)

    URL to download the asset.

    \n\n\n\n\n\n\n
    \n

    Deprecation notice

    \n

    url is deprecated.

    Renaming GitHub Packages fields and objects. Use the PackageFile object instead. Removal on 2020-04-01 UTC.

    \n
    \n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n RegistryPackageFileConnection\n

    \n

    The connection type for RegistryPackageFile.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([RegistryPackageFileEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([RegistryPackageFile])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n RegistryPackageFileEdge\n

    \n

    An edge in a connection.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (RegistryPackageFile)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n RegistryPackageStatistics\n

    \n

    Represents a object that contains package activity statistics such as downloads.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    downloadsThisMonth (Int!)

    Number of times the package was downloaded this month.

    \n\n\n\n\n\n\n
    \n

    Deprecation notice

    \n

    downloadsThisMonth is deprecated.

    Renaming GitHub Packages fields and objects. Use the PackageStatistics object instead. Removal on 2020-04-01 UTC.

    \n
    \n\n\n\n\n\n\n

    downloadsThisWeek (Int!)

    Number of times the package was downloaded this week.

    \n\n\n\n\n\n\n
    \n

    Deprecation notice

    \n

    downloadsThisWeek is deprecated.

    Renaming GitHub Packages fields and objects. Use the PackageStatistics object instead. Removal on 2020-04-01 UTC.

    \n
    \n\n\n\n\n\n\n

    downloadsThisYear (Int!)

    Number of times the package was downloaded this year.

    \n\n\n\n\n\n\n
    \n

    Deprecation notice

    \n

    downloadsThisYear is deprecated.

    Renaming GitHub Packages fields and objects. Use the PackageStatistics object instead. Removal on 2020-04-01 UTC.

    \n
    \n\n\n\n\n\n\n

    downloadsToday (Int!)

    Number of times the package was downloaded today.

    \n\n\n\n\n\n\n
    \n

    Deprecation notice

    \n

    downloadsToday is deprecated.

    Renaming GitHub Packages fields and objects. Use the PackageStatistics object instead. Removal on 2020-04-01 UTC.

    \n
    \n\n\n\n\n\n\n

    downloadsTotalCount (Int!)

    Number of times the package was downloaded since it was created.

    \n\n\n\n\n\n\n
    \n

    Deprecation notice

    \n

    downloadsTotalCount is deprecated.

    Renaming GitHub Packages fields and objects. Use the PackageStatistics object instead. Removal on 2020-04-01 UTC.

    \n
    \n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n RegistryPackageTag\n

    \n

    A version tag contains the mapping between a tag name and a version.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    name (String!)

    Identifies the tag name of the version.

    \n\n\n\n\n\n\n
    \n

    Deprecation notice

    \n

    name is deprecated.

    Renaming GitHub Packages fields and objects. Use the PackageTag object instead. Removal on 2020-04-01 UTC.

    \n
    \n\n\n\n\n\n\n

    version (RegistryPackageVersion)

    version that the tag is associated with.

    \n\n\n\n\n\n\n
    \n

    Deprecation notice

    \n

    version is deprecated.

    Renaming GitHub Packages fields and objects. Use the PackageTag object instead. Removal on 2020-04-01 UTC.

    \n
    \n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n RegistryPackageTagConnection\n

    \n

    The connection type for RegistryPackageTag.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([RegistryPackageTagEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([RegistryPackageTag])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n RegistryPackageTagEdge\n

    \n

    An edge in a connection.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (RegistryPackageTag)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n RegistryPackageVersion\n

    \n

    A package version contains the information about a specific package version.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    dependencies (RegistryPackageDependencyConnection!)

    list of dependencies for this package.

    \n\n\n\n\n\n\n
    \n

    Deprecation notice

    \n

    dependencies is deprecated.

    Renaming GitHub Packages fields and objects. Use the PackageVersion object instead. Removal on 2020-04-01 UTC.

    \n
    \n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    type (RegistryPackageDependencyType)

    \n

    Find dependencies by type.

    \n\n
    \n\n
    \n\n\n

    fileByName (RegistryPackageFile)

    A file associated with this registry package version.

    \n\n\n\n\n\n\n
    \n

    Deprecation notice

    \n

    fileByName is deprecated.

    Renaming GitHub Packages fields and objects. Use the PackageVersion object instead. Removal on 2020-04-01 UTC.

    \n
    \n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    filename (String!)

    \n

    A specific file to find.

    \n\n
    \n\n
    \n\n\n

    files (RegistryPackageFileConnection!)

    List of files associated with this registry package version.

    \n\n\n\n\n\n\n
    \n

    Deprecation notice

    \n

    files is deprecated.

    Renaming GitHub Packages fields and objects. Use the PackageVersion object instead. Removal on 2020-04-01 UTC.

    \n
    \n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n\n\n

    installationCommand (String)

    A single line of text to install this package version.

    \n\n\n\n\n\n\n
    \n

    Deprecation notice

    \n

    installationCommand is deprecated.

    Renaming GitHub Packages fields and objects. Use the PackageVersion object instead. Removal on 2020-04-01 UTC.

    \n
    \n\n\n\n\n\n\n

    manifest (String)

    Identifies the package manifest for this package version.

    \n\n\n\n\n\n\n
    \n

    Deprecation notice

    \n

    manifest is deprecated.

    Renaming GitHub Packages fields and objects. Use the PackageVersion object instead. Removal on 2020-04-01 UTC.

    \n
    \n\n\n\n\n\n\n

    platform (String)

    Identifies the platform this version was built for.

    \n\n\n\n\n\n\n
    \n

    Deprecation notice

    \n

    platform is deprecated.

    Renaming GitHub Packages fields and objects. Use the PackageVersion object instead. Removal on 2020-04-01 UTC.

    \n
    \n\n\n\n\n\n\n

    preRelease (Boolean!)

    Indicates whether this version is a pre-release.

    \n\n\n\n\n\n\n
    \n

    Deprecation notice

    \n

    preRelease is deprecated.

    Renaming GitHub Packages fields and objects. Use the PackageVersion object instead. Removal on 2020-04-01 UTC.

    \n
    \n\n\n\n\n\n\n

    readme (String)

    The README of this package version.

    \n\n\n\n\n\n\n
    \n

    Deprecation notice

    \n

    readme is deprecated.

    Renaming GitHub Packages fields and objects. Use the PackageVersion object instead. Removal on 2020-04-01 UTC.

    \n
    \n\n\n\n\n\n\n

    readmeHtml (HTML)

    The HTML README of this package version.

    \n\n\n\n\n\n\n
    \n

    Deprecation notice

    \n

    readmeHtml is deprecated.

    Renaming GitHub Packages fields and objects. Use the PackageVersion object instead. Removal on 2020-04-01 UTC.

    \n
    \n\n\n\n\n\n\n

    registryPackage (RegistryPackage)

    Registry package associated with this version.

    \n\n\n\n\n\n\n
    \n

    Deprecation notice

    \n

    registryPackage is deprecated.

    Renaming GitHub Packages fields and objects. Use the PackageVersion object instead. Removal on 2020-04-01 UTC.

    \n
    \n\n\n\n\n\n\n

    release (Release)

    Release associated with this package.

    \n\n\n\n\n\n\n
    \n

    Deprecation notice

    \n

    release is deprecated.

    Renaming GitHub Packages fields and objects. Use the PackageVersion object instead. Removal on 2020-04-01 UTC.

    \n
    \n\n\n\n\n\n\n

    sha256 (String)

    Identifies the sha256.

    \n\n\n\n\n\n\n
    \n

    Deprecation notice

    \n

    sha256 is deprecated.

    Renaming GitHub Packages fields and objects. Use the PackageVersion object instead. Removal on 2020-04-01 UTC.

    \n
    \n\n\n\n\n\n\n

    size (Int)

    Identifies the size.

    \n\n\n\n\n\n\n
    \n

    Deprecation notice

    \n

    size is deprecated.

    Renaming GitHub Packages fields and objects. Use the PackageVersion object instead. Removal on 2020-04-01 UTC.

    \n
    \n\n\n\n\n\n\n

    statistics (RegistryPackageVersionStatistics)

    Statistics about package activity.

    \n\n\n\n\n\n\n
    \n

    Deprecation notice

    \n

    statistics is deprecated.

    Renaming GitHub Packages fields and objects. Use the PackageVersion object instead. Removal on 2020-04-01 UTC.

    \n
    \n\n\n\n\n\n\n

    summary (String)

    Identifies the package version summary.

    \n\n\n\n\n\n\n
    \n

    Deprecation notice

    \n

    summary is deprecated.

    Renaming GitHub Packages fields and objects. Use the PackageVersion object instead. Removal on 2020-04-01 UTC.

    \n
    \n\n\n\n\n\n\n

    updatedAt (DateTime!)

    Time at which the most recent file upload for this package version finished.

    \n\n\n\n\n\n\n
    \n

    Deprecation notice

    \n

    updatedAt is deprecated.

    Renaming GitHub Packages fields and objects. Use the PackageVersion object instead. Removal on 2020-04-01 UTC.

    \n
    \n\n\n\n\n\n\n

    version (String!)

    Identifies the version number.

    \n\n\n\n\n\n\n
    \n

    Deprecation notice

    \n

    version is deprecated.

    Renaming GitHub Packages fields and objects. Use the PackageVersion object instead. Removal on 2020-04-01 UTC.

    \n
    \n\n\n\n\n\n\n

    viewerCanEdit (Boolean!)

    Can the current viewer edit this Package version.

    \n\n\n\n\n\n\n
    \n

    Deprecation notice

    \n

    viewerCanEdit is deprecated.

    Renaming GitHub Packages fields and objects. Use the PackageVersion object instead. Removal on 2020-04-01 UTC.

    \n
    \n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n RegistryPackageVersionConnection\n

    \n

    The connection type for RegistryPackageVersion.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([RegistryPackageVersionEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([RegistryPackageVersion])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n RegistryPackageVersionEdge\n

    \n

    An edge in a connection.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (RegistryPackageVersion)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n RegistryPackageVersionStatistics\n

    \n

    Represents a object that contains package version activity statistics such as downloads.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    downloadsThisMonth (Int!)

    Number of times the package was downloaded this month.

    \n\n\n\n\n\n\n
    \n

    Deprecation notice

    \n

    downloadsThisMonth is deprecated.

    Renaming GitHub Packages fields and objects. Use the PackageVersionStatistics object instead. Removal on 2020-04-01 UTC.

    \n
    \n\n\n\n\n\n\n

    downloadsThisWeek (Int!)

    Number of times the package was downloaded this week.

    \n\n\n\n\n\n\n
    \n

    Deprecation notice

    \n

    downloadsThisWeek is deprecated.

    Renaming GitHub Packages fields and objects. Use the PackageVersionStatistics object instead. Removal on 2020-04-01 UTC.

    \n
    \n\n\n\n\n\n\n

    downloadsThisYear (Int!)

    Number of times the package was downloaded this year.

    \n\n\n\n\n\n\n
    \n

    Deprecation notice

    \n

    downloadsThisYear is deprecated.

    Renaming GitHub Packages fields and objects. Use the PackageVersionStatistics object instead. Removal on 2020-04-01 UTC.

    \n
    \n\n\n\n\n\n\n

    downloadsToday (Int!)

    Number of times the package was downloaded today.

    \n\n\n\n\n\n\n
    \n

    Deprecation notice

    \n

    downloadsToday is deprecated.

    Renaming GitHub Packages fields and objects. Use the PackageVersionStatistics object instead. Removal on 2020-04-01 UTC.

    \n
    \n\n\n\n\n\n\n

    downloadsTotalCount (Int!)

    Number of times the package was downloaded since it was created.

    \n\n\n\n\n\n\n
    \n

    Deprecation notice

    \n

    downloadsTotalCount is deprecated.

    Renaming GitHub Packages fields and objects. Use the PackageVersionStatistics object instead. Removal on 2020-04-01 UTC.

    \n
    \n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n Release\n

    \n

    A release contains the content for a release.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    author (User)

    The author of the release.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    description (String)

    The description of the release.

    \n\n\n\n\n\n\n\n\n\n\n\n

    descriptionHTML (HTML)

    The description of this release rendered to HTML.

    \n\n\n\n\n\n\n\n\n\n\n\n

    isDraft (Boolean!)

    Whether or not the release is a draft.

    \n\n\n\n\n\n\n\n\n\n\n\n

    isPrerelease (Boolean!)

    Whether or not the release is a prerelease.

    \n\n\n\n\n\n\n\n\n\n\n\n

    name (String)

    The title of the release.

    \n\n\n\n\n\n\n\n\n\n\n\n

    publishedAt (DateTime)

    Identifies the date and time when the release was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    releaseAssets (ReleaseAssetConnection!)

    List of releases assets which are dependent on this release.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    name (String)

    \n

    A list of names to filter the assets by.

    \n\n
    \n\n
    \n\n\n

    resourcePath (URI!)

    The HTTP path for this issue.

    \n\n\n\n\n\n\n\n\n\n\n\n

    shortDescriptionHTML (HTML)

    A description of the release, rendered to HTML without any links in it.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    limit (Int)

    \n

    How many characters to return.

    \n

    The default value is 200.

    \n
    \n\n
    \n\n\n

    tag (Ref)

    The Git tag the release points to.

    \n\n\n\n\n\n\n\n\n\n\n\n

    tagName (String!)

    The name of the release's Git tag.

    \n\n\n\n\n\n\n\n\n\n\n\n

    updatedAt (DateTime!)

    Identifies the date and time when the object was last updated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    url (URI!)

    The HTTP URL for this issue.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n ReleaseAsset\n

    \n

    A release asset contains the content for a release asset.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    contentType (String!)

    The asset's content-type.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    downloadCount (Int!)

    The number of times this asset was downloaded.

    \n\n\n\n\n\n\n\n\n\n\n\n

    downloadUrl (URI!)

    Identifies the URL where you can download the release asset via the browser.

    \n\n\n\n\n\n\n\n\n\n\n\n

    name (String!)

    Identifies the title of the release asset.

    \n\n\n\n\n\n\n\n\n\n\n\n

    release (Release)

    Release that the asset is associated with.

    \n\n\n\n\n\n\n\n\n\n\n\n

    size (Int!)

    The size (in bytes) of the asset.

    \n\n\n\n\n\n\n\n\n\n\n\n

    updatedAt (DateTime!)

    Identifies the date and time when the object was last updated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    uploadedBy (User!)

    The user that performed the upload.

    \n\n\n\n\n\n\n\n\n\n\n\n

    url (URI!)

    Identifies the URL of the release asset.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n ReleaseAssetConnection\n

    \n

    The connection type for ReleaseAsset.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([ReleaseAssetEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([ReleaseAsset])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n ReleaseAssetEdge\n

    \n

    An edge in a connection.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (ReleaseAsset)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n ReleaseConnection\n

    \n

    The connection type for Release.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([ReleaseEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([Release])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n ReleaseEdge\n

    \n

    An edge in a connection.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (Release)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n RemovedFromProjectEvent\n

    \n

    Represents aremoved_from_projectevent on a given issue or pull request.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    actor (Actor)

    Identifies the actor who performed the event.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    databaseId (Int)

    Identifies the primary key from the database.

    \n\n\n\n\n\n\n\n\n\n\n\n

    project (Project)

    Project referenced by event.

    \n\n\n\n\n
    \n

    Preview notice

    \n

    project is available under the Project event details preview. During the preview period, the API may change without notice.

    \n
    \n\n\n\n\n\n\n\n\n

    projectColumnName (String!)

    Column name referenced by this project event.

    \n\n\n\n\n
    \n

    Preview notice

    \n

    projectColumnName is available under the Project event details preview. During the preview period, the API may change without notice.

    \n
    \n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n RenamedTitleEvent\n

    \n

    Represents arenamedevent on a given issue or pull request.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    actor (Actor)

    Identifies the actor who performed the event.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    currentTitle (String!)

    Identifies the current title of the issue or pull request.

    \n\n\n\n\n\n\n\n\n\n\n\n

    previousTitle (String!)

    Identifies the previous title of the issue or pull request.

    \n\n\n\n\n\n\n\n\n\n\n\n

    subject (RenamedTitleSubject!)

    Subject that was renamed.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n ReopenedEvent\n

    \n

    Represents areopenedevent on any Closable.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    actor (Actor)

    Identifies the actor who performed the event.

    \n\n\n\n\n\n\n\n\n\n\n\n

    closable (Closable!)

    Object that was reopened.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n RepoAccessAuditEntry\n

    \n

    Audit log entry for a repo.access event.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    action (String!)

    The action name.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actor (AuditEntryActor)

    The user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorIp (String)

    The IP address of the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLocation (ActorLocation)

    A readable representation of the actor's location.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLogin (String)

    The username of the user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorResourcePath (URI)

    The HTTP path for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorUrl (URI)

    The HTTP URL for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (PreciseDateTime!)

    The time the action was initiated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    operationType (OperationType)

    The corresponding operation type for the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organization (Organization)

    The Organization associated with the Audit Entry.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationName (String)

    The name of the Organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationResourcePath (URI)

    The HTTP path for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationUrl (URI)

    The HTTP URL for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repository (Repository)

    The repository associated with the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repositoryName (String)

    The name of the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repositoryResourcePath (URI)

    The HTTP path for the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repositoryUrl (URI)

    The HTTP URL for the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    user (User)

    The user affected by the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userLogin (String)

    For actions involving two users, the actor is the initiator and the user is the affected user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userResourcePath (URI)

    The HTTP path for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userUrl (URI)

    The HTTP URL for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    visibility (RepoAccessAuditEntryVisibility)

    The visibility of the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n RepoAddMemberAuditEntry\n

    \n

    Audit log entry for a repo.add_member event.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    action (String!)

    The action name.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actor (AuditEntryActor)

    The user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorIp (String)

    The IP address of the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLocation (ActorLocation)

    A readable representation of the actor's location.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLogin (String)

    The username of the user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorResourcePath (URI)

    The HTTP path for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorUrl (URI)

    The HTTP URL for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (PreciseDateTime!)

    The time the action was initiated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    operationType (OperationType)

    The corresponding operation type for the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organization (Organization)

    The Organization associated with the Audit Entry.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationName (String)

    The name of the Organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationResourcePath (URI)

    The HTTP path for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationUrl (URI)

    The HTTP URL for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repository (Repository)

    The repository associated with the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repositoryName (String)

    The name of the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repositoryResourcePath (URI)

    The HTTP path for the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repositoryUrl (URI)

    The HTTP URL for the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    user (User)

    The user affected by the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userLogin (String)

    For actions involving two users, the actor is the initiator and the user is the affected user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userResourcePath (URI)

    The HTTP path for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userUrl (URI)

    The HTTP URL for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    visibility (RepoAddMemberAuditEntryVisibility)

    The visibility of the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n RepoAddTopicAuditEntry\n

    \n

    Audit log entry for a repo.add_topic event.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    action (String!)

    The action name.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actor (AuditEntryActor)

    The user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorIp (String)

    The IP address of the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLocation (ActorLocation)

    A readable representation of the actor's location.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLogin (String)

    The username of the user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorResourcePath (URI)

    The HTTP path for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorUrl (URI)

    The HTTP URL for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (PreciseDateTime!)

    The time the action was initiated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    operationType (OperationType)

    The corresponding operation type for the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organization (Organization)

    The Organization associated with the Audit Entry.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationName (String)

    The name of the Organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationResourcePath (URI)

    The HTTP path for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationUrl (URI)

    The HTTP URL for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repository (Repository)

    The repository associated with the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repositoryName (String)

    The name of the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repositoryResourcePath (URI)

    The HTTP path for the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repositoryUrl (URI)

    The HTTP URL for the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    topic (Topic)

    The name of the topic added to the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    topicName (String)

    The name of the topic added to the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    user (User)

    The user affected by the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userLogin (String)

    For actions involving two users, the actor is the initiator and the user is the affected user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userResourcePath (URI)

    The HTTP path for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userUrl (URI)

    The HTTP URL for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n RepoArchivedAuditEntry\n

    \n

    Audit log entry for a repo.archived event.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    action (String!)

    The action name.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actor (AuditEntryActor)

    The user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorIp (String)

    The IP address of the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLocation (ActorLocation)

    A readable representation of the actor's location.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLogin (String)

    The username of the user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorResourcePath (URI)

    The HTTP path for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorUrl (URI)

    The HTTP URL for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (PreciseDateTime!)

    The time the action was initiated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    operationType (OperationType)

    The corresponding operation type for the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organization (Organization)

    The Organization associated with the Audit Entry.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationName (String)

    The name of the Organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationResourcePath (URI)

    The HTTP path for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationUrl (URI)

    The HTTP URL for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repository (Repository)

    The repository associated with the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repositoryName (String)

    The name of the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repositoryResourcePath (URI)

    The HTTP path for the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repositoryUrl (URI)

    The HTTP URL for the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    user (User)

    The user affected by the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userLogin (String)

    For actions involving two users, the actor is the initiator and the user is the affected user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userResourcePath (URI)

    The HTTP path for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userUrl (URI)

    The HTTP URL for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    visibility (RepoArchivedAuditEntryVisibility)

    The visibility of the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n RepoChangeMergeSettingAuditEntry\n

    \n

    Audit log entry for a repo.change_merge_setting event.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    action (String!)

    The action name.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actor (AuditEntryActor)

    The user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorIp (String)

    The IP address of the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLocation (ActorLocation)

    A readable representation of the actor's location.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLogin (String)

    The username of the user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorResourcePath (URI)

    The HTTP path for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorUrl (URI)

    The HTTP URL for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (PreciseDateTime!)

    The time the action was initiated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    isEnabled (Boolean)

    Whether the change was to enable (true) or disable (false) the merge type.

    \n\n\n\n\n\n\n\n\n\n\n\n

    mergeType (RepoChangeMergeSettingAuditEntryMergeType)

    The merge method affected by the change.

    \n\n\n\n\n\n\n\n\n\n\n\n

    operationType (OperationType)

    The corresponding operation type for the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organization (Organization)

    The Organization associated with the Audit Entry.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationName (String)

    The name of the Organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationResourcePath (URI)

    The HTTP path for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationUrl (URI)

    The HTTP URL for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repository (Repository)

    The repository associated with the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repositoryName (String)

    The name of the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repositoryResourcePath (URI)

    The HTTP path for the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repositoryUrl (URI)

    The HTTP URL for the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    user (User)

    The user affected by the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userLogin (String)

    For actions involving two users, the actor is the initiator and the user is the affected user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userResourcePath (URI)

    The HTTP path for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userUrl (URI)

    The HTTP URL for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n RepoConfigDisableAnonymousGitAccessAuditEntry\n

    \n

    Audit log entry for a repo.config.disable_anonymous_git_access event.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    action (String!)

    The action name.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actor (AuditEntryActor)

    The user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorIp (String)

    The IP address of the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLocation (ActorLocation)

    A readable representation of the actor's location.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLogin (String)

    The username of the user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorResourcePath (URI)

    The HTTP path for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorUrl (URI)

    The HTTP URL for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (PreciseDateTime!)

    The time the action was initiated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    operationType (OperationType)

    The corresponding operation type for the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organization (Organization)

    The Organization associated with the Audit Entry.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationName (String)

    The name of the Organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationResourcePath (URI)

    The HTTP path for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationUrl (URI)

    The HTTP URL for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repository (Repository)

    The repository associated with the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repositoryName (String)

    The name of the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repositoryResourcePath (URI)

    The HTTP path for the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repositoryUrl (URI)

    The HTTP URL for the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    user (User)

    The user affected by the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userLogin (String)

    For actions involving two users, the actor is the initiator and the user is the affected user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userResourcePath (URI)

    The HTTP path for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userUrl (URI)

    The HTTP URL for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n RepoConfigDisableCollaboratorsOnlyAuditEntry\n

    \n

    Audit log entry for a repo.config.disable_collaborators_only event.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    action (String!)

    The action name.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actor (AuditEntryActor)

    The user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorIp (String)

    The IP address of the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLocation (ActorLocation)

    A readable representation of the actor's location.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLogin (String)

    The username of the user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorResourcePath (URI)

    The HTTP path for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorUrl (URI)

    The HTTP URL for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (PreciseDateTime!)

    The time the action was initiated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    operationType (OperationType)

    The corresponding operation type for the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organization (Organization)

    The Organization associated with the Audit Entry.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationName (String)

    The name of the Organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationResourcePath (URI)

    The HTTP path for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationUrl (URI)

    The HTTP URL for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repository (Repository)

    The repository associated with the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repositoryName (String)

    The name of the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repositoryResourcePath (URI)

    The HTTP path for the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repositoryUrl (URI)

    The HTTP URL for the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    user (User)

    The user affected by the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userLogin (String)

    For actions involving two users, the actor is the initiator and the user is the affected user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userResourcePath (URI)

    The HTTP path for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userUrl (URI)

    The HTTP URL for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n RepoConfigDisableContributorsOnlyAuditEntry\n

    \n

    Audit log entry for a repo.config.disable_contributors_only event.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    action (String!)

    The action name.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actor (AuditEntryActor)

    The user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorIp (String)

    The IP address of the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLocation (ActorLocation)

    A readable representation of the actor's location.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLogin (String)

    The username of the user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorResourcePath (URI)

    The HTTP path for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorUrl (URI)

    The HTTP URL for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (PreciseDateTime!)

    The time the action was initiated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    operationType (OperationType)

    The corresponding operation type for the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organization (Organization)

    The Organization associated with the Audit Entry.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationName (String)

    The name of the Organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationResourcePath (URI)

    The HTTP path for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationUrl (URI)

    The HTTP URL for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repository (Repository)

    The repository associated with the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repositoryName (String)

    The name of the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repositoryResourcePath (URI)

    The HTTP path for the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repositoryUrl (URI)

    The HTTP URL for the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    user (User)

    The user affected by the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userLogin (String)

    For actions involving two users, the actor is the initiator and the user is the affected user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userResourcePath (URI)

    The HTTP path for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userUrl (URI)

    The HTTP URL for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n RepoConfigDisableSockpuppetDisallowedAuditEntry\n

    \n

    Audit log entry for a repo.config.disable_sockpuppet_disallowed event.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    action (String!)

    The action name.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actor (AuditEntryActor)

    The user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorIp (String)

    The IP address of the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLocation (ActorLocation)

    A readable representation of the actor's location.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLogin (String)

    The username of the user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorResourcePath (URI)

    The HTTP path for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorUrl (URI)

    The HTTP URL for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (PreciseDateTime!)

    The time the action was initiated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    operationType (OperationType)

    The corresponding operation type for the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organization (Organization)

    The Organization associated with the Audit Entry.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationName (String)

    The name of the Organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationResourcePath (URI)

    The HTTP path for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationUrl (URI)

    The HTTP URL for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repository (Repository)

    The repository associated with the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repositoryName (String)

    The name of the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repositoryResourcePath (URI)

    The HTTP path for the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repositoryUrl (URI)

    The HTTP URL for the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    user (User)

    The user affected by the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userLogin (String)

    For actions involving two users, the actor is the initiator and the user is the affected user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userResourcePath (URI)

    The HTTP path for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userUrl (URI)

    The HTTP URL for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n RepoConfigEnableAnonymousGitAccessAuditEntry\n

    \n

    Audit log entry for a repo.config.enable_anonymous_git_access event.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    action (String!)

    The action name.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actor (AuditEntryActor)

    The user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorIp (String)

    The IP address of the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLocation (ActorLocation)

    A readable representation of the actor's location.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLogin (String)

    The username of the user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorResourcePath (URI)

    The HTTP path for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorUrl (URI)

    The HTTP URL for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (PreciseDateTime!)

    The time the action was initiated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    operationType (OperationType)

    The corresponding operation type for the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organization (Organization)

    The Organization associated with the Audit Entry.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationName (String)

    The name of the Organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationResourcePath (URI)

    The HTTP path for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationUrl (URI)

    The HTTP URL for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repository (Repository)

    The repository associated with the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repositoryName (String)

    The name of the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repositoryResourcePath (URI)

    The HTTP path for the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repositoryUrl (URI)

    The HTTP URL for the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    user (User)

    The user affected by the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userLogin (String)

    For actions involving two users, the actor is the initiator and the user is the affected user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userResourcePath (URI)

    The HTTP path for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userUrl (URI)

    The HTTP URL for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n RepoConfigEnableCollaboratorsOnlyAuditEntry\n

    \n

    Audit log entry for a repo.config.enable_collaborators_only event.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    action (String!)

    The action name.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actor (AuditEntryActor)

    The user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorIp (String)

    The IP address of the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLocation (ActorLocation)

    A readable representation of the actor's location.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLogin (String)

    The username of the user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorResourcePath (URI)

    The HTTP path for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorUrl (URI)

    The HTTP URL for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (PreciseDateTime!)

    The time the action was initiated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    operationType (OperationType)

    The corresponding operation type for the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organization (Organization)

    The Organization associated with the Audit Entry.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationName (String)

    The name of the Organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationResourcePath (URI)

    The HTTP path for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationUrl (URI)

    The HTTP URL for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repository (Repository)

    The repository associated with the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repositoryName (String)

    The name of the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repositoryResourcePath (URI)

    The HTTP path for the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repositoryUrl (URI)

    The HTTP URL for the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    user (User)

    The user affected by the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userLogin (String)

    For actions involving two users, the actor is the initiator and the user is the affected user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userResourcePath (URI)

    The HTTP path for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userUrl (URI)

    The HTTP URL for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n RepoConfigEnableContributorsOnlyAuditEntry\n

    \n

    Audit log entry for a repo.config.enable_contributors_only event.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    action (String!)

    The action name.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actor (AuditEntryActor)

    The user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorIp (String)

    The IP address of the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLocation (ActorLocation)

    A readable representation of the actor's location.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLogin (String)

    The username of the user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorResourcePath (URI)

    The HTTP path for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorUrl (URI)

    The HTTP URL for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (PreciseDateTime!)

    The time the action was initiated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    operationType (OperationType)

    The corresponding operation type for the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organization (Organization)

    The Organization associated with the Audit Entry.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationName (String)

    The name of the Organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationResourcePath (URI)

    The HTTP path for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationUrl (URI)

    The HTTP URL for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repository (Repository)

    The repository associated with the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repositoryName (String)

    The name of the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repositoryResourcePath (URI)

    The HTTP path for the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repositoryUrl (URI)

    The HTTP URL for the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    user (User)

    The user affected by the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userLogin (String)

    For actions involving two users, the actor is the initiator and the user is the affected user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userResourcePath (URI)

    The HTTP path for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userUrl (URI)

    The HTTP URL for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n RepoConfigEnableSockpuppetDisallowedAuditEntry\n

    \n

    Audit log entry for a repo.config.enable_sockpuppet_disallowed event.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    action (String!)

    The action name.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actor (AuditEntryActor)

    The user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorIp (String)

    The IP address of the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLocation (ActorLocation)

    A readable representation of the actor's location.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLogin (String)

    The username of the user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorResourcePath (URI)

    The HTTP path for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorUrl (URI)

    The HTTP URL for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (PreciseDateTime!)

    The time the action was initiated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    operationType (OperationType)

    The corresponding operation type for the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organization (Organization)

    The Organization associated with the Audit Entry.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationName (String)

    The name of the Organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationResourcePath (URI)

    The HTTP path for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationUrl (URI)

    The HTTP URL for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repository (Repository)

    The repository associated with the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repositoryName (String)

    The name of the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repositoryResourcePath (URI)

    The HTTP path for the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repositoryUrl (URI)

    The HTTP URL for the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    user (User)

    The user affected by the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userLogin (String)

    For actions involving two users, the actor is the initiator and the user is the affected user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userResourcePath (URI)

    The HTTP path for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userUrl (URI)

    The HTTP URL for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n RepoConfigLockAnonymousGitAccessAuditEntry\n

    \n

    Audit log entry for a repo.config.lock_anonymous_git_access event.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    action (String!)

    The action name.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actor (AuditEntryActor)

    The user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorIp (String)

    The IP address of the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLocation (ActorLocation)

    A readable representation of the actor's location.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLogin (String)

    The username of the user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorResourcePath (URI)

    The HTTP path for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorUrl (URI)

    The HTTP URL for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (PreciseDateTime!)

    The time the action was initiated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    operationType (OperationType)

    The corresponding operation type for the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organization (Organization)

    The Organization associated with the Audit Entry.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationName (String)

    The name of the Organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationResourcePath (URI)

    The HTTP path for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationUrl (URI)

    The HTTP URL for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repository (Repository)

    The repository associated with the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repositoryName (String)

    The name of the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repositoryResourcePath (URI)

    The HTTP path for the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repositoryUrl (URI)

    The HTTP URL for the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    user (User)

    The user affected by the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userLogin (String)

    For actions involving two users, the actor is the initiator and the user is the affected user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userResourcePath (URI)

    The HTTP path for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userUrl (URI)

    The HTTP URL for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n RepoConfigUnlockAnonymousGitAccessAuditEntry\n

    \n

    Audit log entry for a repo.config.unlock_anonymous_git_access event.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    action (String!)

    The action name.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actor (AuditEntryActor)

    The user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorIp (String)

    The IP address of the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLocation (ActorLocation)

    A readable representation of the actor's location.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLogin (String)

    The username of the user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorResourcePath (URI)

    The HTTP path for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorUrl (URI)

    The HTTP URL for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (PreciseDateTime!)

    The time the action was initiated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    operationType (OperationType)

    The corresponding operation type for the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organization (Organization)

    The Organization associated with the Audit Entry.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationName (String)

    The name of the Organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationResourcePath (URI)

    The HTTP path for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationUrl (URI)

    The HTTP URL for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repository (Repository)

    The repository associated with the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repositoryName (String)

    The name of the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repositoryResourcePath (URI)

    The HTTP path for the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repositoryUrl (URI)

    The HTTP URL for the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    user (User)

    The user affected by the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userLogin (String)

    For actions involving two users, the actor is the initiator and the user is the affected user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userResourcePath (URI)

    The HTTP path for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userUrl (URI)

    The HTTP URL for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n RepoCreateAuditEntry\n

    \n

    Audit log entry for a repo.create event.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    action (String!)

    The action name.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actor (AuditEntryActor)

    The user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorIp (String)

    The IP address of the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLocation (ActorLocation)

    A readable representation of the actor's location.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLogin (String)

    The username of the user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorResourcePath (URI)

    The HTTP path for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorUrl (URI)

    The HTTP URL for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (PreciseDateTime!)

    The time the action was initiated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    forkParentName (String)

    The name of the parent repository for this forked repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    forkSourceName (String)

    The name of the root repository for this netork.

    \n\n\n\n\n\n\n\n\n\n\n\n

    operationType (OperationType)

    The corresponding operation type for the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organization (Organization)

    The Organization associated with the Audit Entry.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationName (String)

    The name of the Organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationResourcePath (URI)

    The HTTP path for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationUrl (URI)

    The HTTP URL for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repository (Repository)

    The repository associated with the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repositoryName (String)

    The name of the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repositoryResourcePath (URI)

    The HTTP path for the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repositoryUrl (URI)

    The HTTP URL for the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    user (User)

    The user affected by the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userLogin (String)

    For actions involving two users, the actor is the initiator and the user is the affected user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userResourcePath (URI)

    The HTTP path for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userUrl (URI)

    The HTTP URL for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    visibility (RepoCreateAuditEntryVisibility)

    The visibility of the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n RepoDestroyAuditEntry\n

    \n

    Audit log entry for a repo.destroy event.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    action (String!)

    The action name.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actor (AuditEntryActor)

    The user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorIp (String)

    The IP address of the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLocation (ActorLocation)

    A readable representation of the actor's location.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLogin (String)

    The username of the user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorResourcePath (URI)

    The HTTP path for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorUrl (URI)

    The HTTP URL for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (PreciseDateTime!)

    The time the action was initiated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    operationType (OperationType)

    The corresponding operation type for the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organization (Organization)

    The Organization associated with the Audit Entry.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationName (String)

    The name of the Organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationResourcePath (URI)

    The HTTP path for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationUrl (URI)

    The HTTP URL for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repository (Repository)

    The repository associated with the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repositoryName (String)

    The name of the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repositoryResourcePath (URI)

    The HTTP path for the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repositoryUrl (URI)

    The HTTP URL for the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    user (User)

    The user affected by the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userLogin (String)

    For actions involving two users, the actor is the initiator and the user is the affected user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userResourcePath (URI)

    The HTTP path for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userUrl (URI)

    The HTTP URL for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    visibility (RepoDestroyAuditEntryVisibility)

    The visibility of the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n RepoRemoveMemberAuditEntry\n

    \n

    Audit log entry for a repo.remove_member event.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    action (String!)

    The action name.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actor (AuditEntryActor)

    The user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorIp (String)

    The IP address of the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLocation (ActorLocation)

    A readable representation of the actor's location.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLogin (String)

    The username of the user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorResourcePath (URI)

    The HTTP path for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorUrl (URI)

    The HTTP URL for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (PreciseDateTime!)

    The time the action was initiated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    operationType (OperationType)

    The corresponding operation type for the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organization (Organization)

    The Organization associated with the Audit Entry.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationName (String)

    The name of the Organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationResourcePath (URI)

    The HTTP path for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationUrl (URI)

    The HTTP URL for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repository (Repository)

    The repository associated with the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repositoryName (String)

    The name of the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repositoryResourcePath (URI)

    The HTTP path for the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repositoryUrl (URI)

    The HTTP URL for the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    user (User)

    The user affected by the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userLogin (String)

    For actions involving two users, the actor is the initiator and the user is the affected user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userResourcePath (URI)

    The HTTP path for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userUrl (URI)

    The HTTP URL for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    visibility (RepoRemoveMemberAuditEntryVisibility)

    The visibility of the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n RepoRemoveTopicAuditEntry\n

    \n

    Audit log entry for a repo.remove_topic event.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    action (String!)

    The action name.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actor (AuditEntryActor)

    The user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorIp (String)

    The IP address of the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLocation (ActorLocation)

    A readable representation of the actor's location.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLogin (String)

    The username of the user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorResourcePath (URI)

    The HTTP path for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorUrl (URI)

    The HTTP URL for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (PreciseDateTime!)

    The time the action was initiated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    operationType (OperationType)

    The corresponding operation type for the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organization (Organization)

    The Organization associated with the Audit Entry.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationName (String)

    The name of the Organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationResourcePath (URI)

    The HTTP path for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationUrl (URI)

    The HTTP URL for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repository (Repository)

    The repository associated with the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repositoryName (String)

    The name of the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repositoryResourcePath (URI)

    The HTTP path for the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repositoryUrl (URI)

    The HTTP URL for the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    topic (Topic)

    The name of the topic added to the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    topicName (String)

    The name of the topic added to the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    user (User)

    The user affected by the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userLogin (String)

    For actions involving two users, the actor is the initiator and the user is the affected user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userResourcePath (URI)

    The HTTP path for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userUrl (URI)

    The HTTP URL for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n Repository\n

    \n

    A repository contains the content for a project.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    assignableUsers (UserConnection!)

    A list of users that can be assigned to issues in this repository.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    query (String)

    \n

    Filters users with query on user name and login.

    \n\n
    \n\n
    \n\n\n

    branchProtectionRules (BranchProtectionRuleConnection!)

    A list of branch protection rules for this repository.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n\n\n

    codeOfConduct (CodeOfConduct)

    Returns the code of conduct for this repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    collaborators (RepositoryCollaboratorConnection)

    A list of collaborators associated with the repository.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    affiliation (CollaboratorAffiliation)

    \n

    Collaborators affiliation level with a repository.

    \n\n
    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    query (String)

    \n

    Filters users with query on user name and login.

    \n\n
    \n\n
    \n\n\n

    commitComments (CommitCommentConnection!)

    A list of commit comments associated with the repository.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n\n\n

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    databaseId (Int)

    Identifies the primary key from the database.

    \n\n\n\n\n\n\n\n\n\n\n\n

    defaultBranchRef (Ref)

    The Ref associated with the repository's default branch.

    \n\n\n\n\n\n\n\n\n\n\n\n

    deployKeys (DeployKeyConnection!)

    A list of deploy keys that are on this repository.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n\n\n

    deployments (DeploymentConnection!)

    Deployments associated with the repository.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    environments ([String!])

    \n

    Environments to list deployments for.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (DeploymentOrder)

    \n

    Ordering options for deployments returned from the connection.

    \n\n
    \n\n
    \n\n\n

    description (String)

    The description of the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    descriptionHTML (HTML!)

    The description of the repository rendered to HTML.

    \n\n\n\n\n\n\n\n\n\n\n\n

    diskUsage (Int)

    The number of kilobytes this repository occupies on disk.

    \n\n\n\n\n\n\n\n\n\n\n\n

    forkCount (Int!)

    Returns how many forks there are of this repository in the whole network.

    \n\n\n\n\n\n\n\n\n\n\n\n

    forks (RepositoryConnection!)

    A list of direct forked repositories.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    affiliations ([RepositoryAffiliation])

    \n

    Array of viewer's affiliation options for repositories returned from the\nconnection. For example, OWNER will include only repositories that the\ncurrent viewer owns.

    \n\n
    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    isLocked (Boolean)

    \n

    If non-null, filters repositories according to whether they have been locked.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (RepositoryOrder)

    \n

    Ordering options for repositories returned from the connection.

    \n\n
    \n\n
    \n

    ownerAffiliations ([RepositoryAffiliation])

    \n

    Array of owner's affiliation options for repositories returned from the\nconnection. For example, OWNER will include only repositories that the\norganization or user being viewed owns.

    \n\n
    \n\n
    \n

    privacy (RepositoryPrivacy)

    \n

    If non-null, filters repositories according to privacy.

    \n\n
    \n\n
    \n\n\n

    hasAnonymousAccessEnabled (Boolean!)

    Indicates if the repository has anonymous Git read access feature enabled.

    \n\n\n\n\n\n\n\n\n\n\n\n

    hasIssuesEnabled (Boolean!)

    Indicates if the repository has issues feature enabled.

    \n\n\n\n\n\n\n\n\n\n\n\n

    hasProjectsEnabled (Boolean!)

    Indicates if the repository has the Projects feature enabled.

    \n\n\n\n\n\n\n\n\n\n\n\n

    hasWikiEnabled (Boolean!)

    Indicates if the repository has wiki feature enabled.

    \n\n\n\n\n\n\n\n\n\n\n\n

    homepageUrl (URI)

    The repository's URL.

    \n\n\n\n\n\n\n\n\n\n\n\n

    isArchived (Boolean!)

    Indicates if the repository is unmaintained.

    \n\n\n\n\n\n\n\n\n\n\n\n

    isDisabled (Boolean!)

    Returns whether or not this repository disabled.

    \n\n\n\n\n\n\n\n\n\n\n\n

    isFork (Boolean!)

    Identifies if the repository is a fork.

    \n\n\n\n\n\n\n\n\n\n\n\n

    isLocked (Boolean!)

    Indicates if the repository has been locked or not.

    \n\n\n\n\n\n\n\n\n\n\n\n

    isMirror (Boolean!)

    Identifies if the repository is a mirror.

    \n\n\n\n\n\n\n\n\n\n\n\n

    isPrivate (Boolean!)

    Identifies if the repository is private.

    \n\n\n\n\n\n\n\n\n\n\n\n

    isTemplate (Boolean!)

    Identifies if the repository is a template that can be used to generate new repositories.

    \n\n\n\n\n\n\n\n\n\n\n\n

    issue (Issue)

    Returns a single issue from the current repository by number.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    number (Int!)

    \n

    The number for the issue to be returned.

    \n\n
    \n\n
    \n\n\n

    issueOrPullRequest (IssueOrPullRequest)

    Returns a single issue-like object from the current repository by number.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    number (Int!)

    \n

    The number for the issue to be returned.

    \n\n
    \n\n
    \n\n\n

    issues (IssueConnection!)

    A list of issues that have been opened in the repository.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    filterBy (IssueFilters)

    \n

    Filtering options for issues returned from the connection.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    labels ([String!])

    \n

    A list of label names to filter the pull requests by.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (IssueOrder)

    \n

    Ordering options for issues returned from the connection.

    \n\n
    \n\n
    \n

    states ([IssueState!])

    \n

    A list of states to filter the issues by.

    \n\n
    \n\n
    \n\n\n

    label (Label)

    Returns a single label by name.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    name (String!)

    \n

    Label name.

    \n\n
    \n\n
    \n\n\n

    labels (LabelConnection)

    A list of labels associated with the repository.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (LabelOrder)

    \n

    Ordering options for labels returned from the connection.

    \n\n
    \n\n
    \n

    query (String)

    \n

    If provided, searches labels by name and description.

    \n\n
    \n\n
    \n\n\n

    languages (LanguageConnection)

    A list containing a breakdown of the language composition of the repository.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (LanguageOrder)

    \n

    Order for connection.

    \n\n
    \n\n
    \n\n\n

    licenseInfo (License)

    The license associated with the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    lockReason (RepositoryLockReason)

    The reason the repository has been locked.

    \n\n\n\n\n\n\n\n\n\n\n\n

    mentionableUsers (UserConnection!)

    A list of Users that can be mentioned in the context of the repository.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    query (String)

    \n

    Filters users with query on user name and login.

    \n\n
    \n\n
    \n\n\n

    mergeCommitAllowed (Boolean!)

    Whether or not PRs are merged with a merge commit on this repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    milestone (Milestone)

    Returns a single milestone from the current repository by number.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    number (Int!)

    \n

    The number for the milestone to be returned.

    \n\n
    \n\n
    \n\n\n

    milestones (MilestoneConnection)

    A list of milestones associated with the repository.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (MilestoneOrder)

    \n

    Ordering options for milestones.

    \n\n
    \n\n
    \n

    states ([MilestoneState!])

    \n

    Filter by the state of the milestones.

    \n\n
    \n\n
    \n\n\n

    mirrorUrl (URI)

    The repository's original mirror URL.

    \n\n\n\n\n\n\n\n\n\n\n\n

    name (String!)

    The name of the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nameWithOwner (String!)

    The repository's name with owner.

    \n\n\n\n\n\n\n\n\n\n\n\n

    object (GitObject)

    A Git object in the repository.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    expression (String)

    \n

    A Git revision expression suitable for rev-parse.

    \n\n
    \n\n
    \n

    oid (GitObjectID)

    \n

    The Git object ID.

    \n\n
    \n\n
    \n\n\n

    openGraphImageUrl (URI!)

    The image used to represent this repository in Open Graph data.

    \n\n\n\n\n\n\n\n\n\n\n\n

    owner (RepositoryOwner!)

    The User owner of the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    packages (PackageConnection!)

    A list of packages under the owner.

    \n\n\n\n\n
    \n

    Preview notice

    \n

    packages is available under the GitHub packages preview. During the preview period, the API may change without notice.

    \n
    \n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    names ([String])

    \n

    Find packages by their names.

    \n\n
    \n\n
    \n

    orderBy (PackageOrder)

    \n

    Ordering of the returned packages.

    \n\n
    \n\n
    \n

    repositoryId (ID)

    \n

    Find packages in a repository by ID.

    \n\n
    \n\n
    \n\n\n

    parent (Repository)

    The repository parent, if this is a fork.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pinnedIssues (PinnedIssueConnection)

    A list of pinned issues for this repository.

    \n\n\n\n\n
    \n

    Preview notice

    \n

    pinnedIssues is available under the Pinned issues preview. During the preview period, the API may change without notice.

    \n
    \n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n\n\n

    primaryLanguage (Language)

    The primary language of the repository's code.

    \n\n\n\n\n\n\n\n\n\n\n\n

    project (Project)

    Find project by number.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    number (Int!)

    \n

    The project number to find.

    \n\n
    \n\n
    \n\n\n

    projects (ProjectConnection!)

    A list of projects under the owner.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (ProjectOrder)

    \n

    Ordering options for projects returned from the connection.

    \n\n
    \n\n
    \n

    search (String)

    \n

    Query to search projects by, currently only searching by name.

    \n\n
    \n\n
    \n

    states ([ProjectState!])

    \n

    A list of states to filter the projects by.

    \n\n
    \n\n
    \n\n\n

    projectsResourcePath (URI!)

    The HTTP path listing the repository's projects.

    \n\n\n\n\n\n\n\n\n\n\n\n

    projectsUrl (URI!)

    The HTTP URL listing the repository's projects.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pullRequest (PullRequest)

    Returns a single pull request from the current repository by number.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    number (Int!)

    \n

    The number for the pull request to be returned.

    \n\n
    \n\n
    \n\n\n

    pullRequests (PullRequestConnection!)

    A list of pull requests that have been opened in the repository.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    baseRefName (String)

    \n

    The base ref name to filter the pull requests by.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    headRefName (String)

    \n

    The head ref name to filter the pull requests by.

    \n\n
    \n\n
    \n

    labels ([String!])

    \n

    A list of label names to filter the pull requests by.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (IssueOrder)

    \n

    Ordering options for pull requests returned from the connection.

    \n\n
    \n\n
    \n

    states ([PullRequestState!])

    \n

    A list of states to filter the pull requests by.

    \n\n
    \n\n
    \n\n\n

    pushedAt (DateTime)

    Identifies when the repository was last pushed to.

    \n\n\n\n\n\n\n\n\n\n\n\n

    rebaseMergeAllowed (Boolean!)

    Whether or not rebase-merging is enabled on this repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    ref (Ref)

    Fetch a given ref from the repository.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    qualifiedName (String!)

    \n

    The ref to retrieve. Fully qualified matches are checked in order\n(refs/heads/master) before falling back onto checks for short name matches (master).

    \n\n
    \n\n
    \n\n\n

    refs (RefConnection)

    Fetch a list of refs from the repository.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    direction (OrderDirection)

    \n

    DEPRECATED: use orderBy. The ordering direction.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (RefOrder)

    \n

    Ordering options for refs returned from the connection.

    \n\n
    \n\n
    \n

    refPrefix (String!)

    \n

    A ref name prefix like refs/heads/, refs/tags/, etc.

    \n\n
    \n\n
    \n\n\n

    registryPackages (RegistryPackageConnection!)

    A list of registry packages under the owner.

    \n\n\n\n\n\n\n
    \n

    Deprecation notice

    \n

    registryPackages is deprecated.

    Renaming GitHub Packages fields and objects. Use the PackageOwner object instead. Removal on 2020-04-01 UTC.

    \n
    \n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    name (String)

    \n

    Find registry package by name.

    \n\n
    \n\n
    \n

    names ([String])

    \n

    Find registry packages by their names.

    \n\n
    \n\n
    \n

    packageType (RegistryPackageType)

    \n

    Filter registry package by type.

    \n\n
    \n\n
    \n

    publicOnly (Boolean)

    \n

    Filter registry package by whether it is publicly visible.

    \n

    The default value is false.

    \n
    \n\n
    \n

    registryPackageType (String)

    \n

    Filter registry package by type (string).

    \n\n
    \n\n
    \n

    repositoryId (ID)

    \n

    Find registry packages in a repository.

    \n\n
    \n\n
    \n\n\n

    registryPackagesForQuery (RegistryPackageConnection!)

    A list of registry packages for a particular search query.

    \n\n\n\n\n\n\n
    \n

    Deprecation notice

    \n

    registryPackagesForQuery is deprecated.

    Renaming GitHub Packages fields and objects. Use the PackageSearch object instead. Removal on 2020-04-01 UTC.

    \n
    \n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    packageType (RegistryPackageType)

    \n

    Filter registry package by type.

    \n\n
    \n\n
    \n

    query (String)

    \n

    Find registry package by search query.

    \n\n
    \n\n
    \n\n\n

    release (Release)

    Lookup a single release given various criteria.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    tagName (String!)

    \n

    The name of the Tag the Release was created from.

    \n\n
    \n\n
    \n\n\n

    releases (ReleaseConnection!)

    List of releases which are dependent on this repository.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (ReleaseOrder)

    \n

    Order for connection.

    \n\n
    \n\n
    \n\n\n

    repositoryTopics (RepositoryTopicConnection!)

    A list of applied repository-topic associations for this repository.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n\n\n

    resourcePath (URI!)

    The HTTP path for this repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    shortDescriptionHTML (HTML!)

    A description of the repository, rendered to HTML without any links in it.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    limit (Int)

    \n

    How many characters to return.

    \n

    The default value is 200.

    \n
    \n\n
    \n\n\n

    squashMergeAllowed (Boolean!)

    Whether or not squash-merging is enabled on this repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    sshUrl (GitSSHRemote!)

    The SSH URL to clone this repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    stargazers (StargazerConnection!)

    A list of users who have starred this starrable.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (StarOrder)

    \n

    Order for connection.

    \n\n
    \n\n
    \n\n\n

    tempCloneToken (String)

    Temporary authentication token for cloning this repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    templateRepository (Repository)

    The repository from which this repository was generated, if any.

    \n\n\n\n\n\n\n\n\n\n\n\n

    updatedAt (DateTime!)

    Identifies the date and time when the object was last updated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    url (URI!)

    The HTTP URL for this repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    usesCustomOpenGraphImage (Boolean!)

    Whether this repository has a custom image to use with Open Graph as opposed to being represented by the owner's avatar.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerCanAdminister (Boolean!)

    Indicates whether the viewer has admin permissions on this repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerCanCreateProjects (Boolean!)

    Can the current viewer create new projects on this owner.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerCanSubscribe (Boolean!)

    Check if the viewer is able to change their subscription status for the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerCanUpdateTopics (Boolean!)

    Indicates whether the viewer can update the topics of this repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerHasStarred (Boolean!)

    Returns a boolean indicating whether the viewing user has starred this starrable.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerPermission (RepositoryPermission)

    The users permission level on the repository. Will return null if authenticated as an GitHub App.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerSubscription (SubscriptionState)

    Identifies if the viewer is watching, not watching, or ignoring the subscribable entity.

    \n\n\n\n\n\n\n\n\n\n\n\n

    vulnerabilityAlerts (RepositoryVulnerabilityAlertConnection)

    A list of vulnerability alerts that are on this repository.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n\n\n

    watchers (UserConnection!)

    A list of users watching the repository.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n RepositoryCollaboratorConnection\n

    \n

    The connection type for User.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([RepositoryCollaboratorEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([User])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n RepositoryCollaboratorEdge\n

    \n

    Represents a user who is a collaborator of a repository.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    permission (RepositoryPermission!)

    The permission the user has on the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    permissionSources ([PermissionSource!])

    A list of sources for the user's access to the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n RepositoryConnection\n

    \n

    A list of repositories owned by the subject.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([RepositoryEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([Repository])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalDiskUsage (Int!)

    The total size in kilobytes of all repositories in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n RepositoryEdge\n

    \n

    An edge in a connection.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (Repository)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n RepositoryInvitation\n

    \n

    An invitation for a user to be added to a repository.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    invitee (User!)

    The user who received the invitation.

    \n\n\n\n\n\n\n\n\n\n\n\n

    inviter (User!)

    The user who created the invitation.

    \n\n\n\n\n\n\n\n\n\n\n\n

    permission (RepositoryPermission!)

    The permission granted on this repository by this invitation.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repository (RepositoryInfo)

    The Repository the user is invited to.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n RepositoryTopic\n

    \n

    A repository-topic connects a repository to a topic.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    resourcePath (URI!)

    The HTTP path for this repository-topic.

    \n\n\n\n\n\n\n\n\n\n\n\n

    topic (Topic!)

    The topic.

    \n\n\n\n\n\n\n\n\n\n\n\n

    url (URI!)

    The HTTP URL for this repository-topic.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n RepositoryTopicConnection\n

    \n

    The connection type for RepositoryTopic.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([RepositoryTopicEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([RepositoryTopic])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n RepositoryTopicEdge\n

    \n

    An edge in a connection.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (RepositoryTopic)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n RepositoryVisibilityChangeDisableAuditEntry\n

    \n

    Audit log entry for a repository_visibility_change.disable event.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    action (String!)

    The action name.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actor (AuditEntryActor)

    The user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorIp (String)

    The IP address of the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLocation (ActorLocation)

    A readable representation of the actor's location.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLogin (String)

    The username of the user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorResourcePath (URI)

    The HTTP path for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorUrl (URI)

    The HTTP URL for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (PreciseDateTime!)

    The time the action was initiated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    enterpriseResourcePath (URI)

    The HTTP path for this enterprise.

    \n\n\n\n\n\n\n\n\n\n\n\n

    enterpriseSlug (String)

    The slug of the enterprise.

    \n\n\n\n\n\n\n\n\n\n\n\n

    enterpriseUrl (URI)

    The HTTP URL for this enterprise.

    \n\n\n\n\n\n\n\n\n\n\n\n

    operationType (OperationType)

    The corresponding operation type for the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organization (Organization)

    The Organization associated with the Audit Entry.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationName (String)

    The name of the Organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationResourcePath (URI)

    The HTTP path for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationUrl (URI)

    The HTTP URL for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    user (User)

    The user affected by the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userLogin (String)

    For actions involving two users, the actor is the initiator and the user is the affected user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userResourcePath (URI)

    The HTTP path for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userUrl (URI)

    The HTTP URL for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n RepositoryVisibilityChangeEnableAuditEntry\n

    \n

    Audit log entry for a repository_visibility_change.enable event.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    action (String!)

    The action name.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actor (AuditEntryActor)

    The user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorIp (String)

    The IP address of the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLocation (ActorLocation)

    A readable representation of the actor's location.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLogin (String)

    The username of the user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorResourcePath (URI)

    The HTTP path for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorUrl (URI)

    The HTTP URL for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (PreciseDateTime!)

    The time the action was initiated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    enterpriseResourcePath (URI)

    The HTTP path for this enterprise.

    \n\n\n\n\n\n\n\n\n\n\n\n

    enterpriseSlug (String)

    The slug of the enterprise.

    \n\n\n\n\n\n\n\n\n\n\n\n

    enterpriseUrl (URI)

    The HTTP URL for this enterprise.

    \n\n\n\n\n\n\n\n\n\n\n\n

    operationType (OperationType)

    The corresponding operation type for the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organization (Organization)

    The Organization associated with the Audit Entry.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationName (String)

    The name of the Organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationResourcePath (URI)

    The HTTP path for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationUrl (URI)

    The HTTP URL for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    user (User)

    The user affected by the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userLogin (String)

    For actions involving two users, the actor is the initiator and the user is the affected user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userResourcePath (URI)

    The HTTP path for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userUrl (URI)

    The HTTP URL for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n RepositoryVulnerabilityAlert\n

    \n

    A alert for a repository with an affected vulnerability.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    createdAt (DateTime!)

    When was the alert created?.

    \n\n\n\n\n\n\n\n\n\n\n\n

    dismissReason (String)

    The reason the alert was dismissed.

    \n\n\n\n\n\n\n\n\n\n\n\n

    dismissedAt (DateTime)

    When was the alert dimissed?.

    \n\n\n\n\n\n\n\n\n\n\n\n

    dismisser (User)

    The user who dismissed the alert.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repository (Repository!)

    The associated repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    securityAdvisory (SecurityAdvisory)

    The associated security advisory.

    \n\n\n\n\n\n\n\n\n\n\n\n

    securityVulnerability (SecurityVulnerability)

    The associated security vulnerablity.

    \n\n\n\n\n\n\n\n\n\n\n\n

    vulnerableManifestFilename (String!)

    The vulnerable manifest filename.

    \n\n\n\n\n\n\n\n\n\n\n\n

    vulnerableManifestPath (String!)

    The vulnerable manifest path.

    \n\n\n\n\n\n\n\n\n\n\n\n

    vulnerableRequirements (String)

    The vulnerable requirements.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n RepositoryVulnerabilityAlertConnection\n

    \n

    The connection type for RepositoryVulnerabilityAlert.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([RepositoryVulnerabilityAlertEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([RepositoryVulnerabilityAlert])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n RepositoryVulnerabilityAlertEdge\n

    \n

    An edge in a connection.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (RepositoryVulnerabilityAlert)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n RestrictedContribution\n

    \n

    Represents a private contribution a user made on GitHub.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    isRestricted (Boolean!)

    Whether this contribution is associated with a record you do not have access to. For\nexample, your own 'first issue' contribution may have been made on a repository you can no\nlonger access.

    \n\n\n\n\n\n\n\n\n\n\n\n

    occurredAt (DateTime!)

    When this contribution was made.

    \n\n\n\n\n\n\n\n\n\n\n\n

    resourcePath (URI!)

    The HTTP path for this contribution.

    \n\n\n\n\n\n\n\n\n\n\n\n

    url (URI!)

    The HTTP URL for this contribution.

    \n\n\n\n\n\n\n\n\n\n\n\n

    user (User!)

    The user who made this contribution.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n ReviewDismissalAllowance\n

    \n

    A team or user who has the ability to dismiss a review on a protected branch.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    actor (ReviewDismissalAllowanceActor)

    The actor that can dismiss.

    \n\n\n\n\n\n\n\n\n\n\n\n

    branchProtectionRule (BranchProtectionRule)

    Identifies the branch protection rule associated with the allowed user or team.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n ReviewDismissalAllowanceConnection\n

    \n

    The connection type for ReviewDismissalAllowance.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([ReviewDismissalAllowanceEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([ReviewDismissalAllowance])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n ReviewDismissalAllowanceEdge\n

    \n

    An edge in a connection.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (ReviewDismissalAllowance)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n ReviewDismissedEvent\n

    \n

    Represents areview_dismissedevent on a given issue or pull request.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    actor (Actor)

    Identifies the actor who performed the event.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    databaseId (Int)

    Identifies the primary key from the database.

    \n\n\n\n\n\n\n\n\n\n\n\n

    dismissalMessage (String)

    Identifies the optional message associated with thereview_dismissedevent.

    \n\n\n\n\n\n\n\n\n\n\n\n

    dismissalMessageHTML (String)

    Identifies the optional message associated with the event, rendered to HTML.

    \n\n\n\n\n\n\n\n\n\n\n\n

    previousReviewState (PullRequestReviewState!)

    Identifies the previous state of the review with thereview_dismissedevent.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pullRequest (PullRequest!)

    PullRequest referenced by event.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pullRequestCommit (PullRequestCommit)

    Identifies the commit which caused the review to become stale.

    \n\n\n\n\n\n\n\n\n\n\n\n

    resourcePath (URI!)

    The HTTP path for this review dismissed event.

    \n\n\n\n\n\n\n\n\n\n\n\n

    review (PullRequestReview)

    Identifies the review associated with thereview_dismissedevent.

    \n\n\n\n\n\n\n\n\n\n\n\n

    url (URI!)

    The HTTP URL for this review dismissed event.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n ReviewRequest\n

    \n

    A request for a user to review a pull request.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    databaseId (Int)

    Identifies the primary key from the database.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pullRequest (PullRequest!)

    Identifies the pull request associated with this review request.

    \n\n\n\n\n\n\n\n\n\n\n\n

    requestedReviewer (RequestedReviewer)

    The reviewer that is requested.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n ReviewRequestConnection\n

    \n

    The connection type for ReviewRequest.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([ReviewRequestEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([ReviewRequest])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n ReviewRequestEdge\n

    \n

    An edge in a connection.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (ReviewRequest)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n ReviewRequestRemovedEvent\n

    \n

    Represents anreview_request_removedevent on a given pull request.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    actor (Actor)

    Identifies the actor who performed the event.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pullRequest (PullRequest!)

    PullRequest referenced by event.

    \n\n\n\n\n\n\n\n\n\n\n\n

    requestedReviewer (RequestedReviewer)

    Identifies the reviewer whose review request was removed.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n ReviewRequestedEvent\n

    \n

    Represents anreview_requestedevent on a given pull request.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    actor (Actor)

    Identifies the actor who performed the event.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pullRequest (PullRequest!)

    PullRequest referenced by event.

    \n\n\n\n\n\n\n\n\n\n\n\n

    requestedReviewer (RequestedReviewer)

    Identifies the reviewer whose review was requested.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n ReviewStatusHovercardContext\n

    \n

    A hovercard context with a message describing the current code review state of the pull\nrequest.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    message (String!)

    A string describing this context.

    \n\n\n\n\n\n\n\n\n\n\n\n

    octicon (String!)

    An octicon to accompany this context.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n SavedReply\n

    \n

    A Saved Reply is text a user can use to reply quickly.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    body (String!)

    The body of the saved reply.

    \n\n\n\n\n\n\n\n\n\n\n\n

    bodyHTML (HTML!)

    The saved reply body rendered to HTML.

    \n\n\n\n\n\n\n\n\n\n\n\n

    databaseId (Int)

    Identifies the primary key from the database.

    \n\n\n\n\n\n\n\n\n\n\n\n

    title (String!)

    The title of the saved reply.

    \n\n\n\n\n\n\n\n\n\n\n\n

    user (Actor)

    The user that saved this reply.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n SavedReplyConnection\n

    \n

    The connection type for SavedReply.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([SavedReplyEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([SavedReply])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n SavedReplyEdge\n

    \n

    An edge in a connection.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (SavedReply)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n SearchResultItemConnection\n

    \n

    A list of results that matched against a search query.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    codeCount (Int!)

    The number of pieces of code that matched the search query.

    \n\n\n\n\n\n\n\n\n\n\n\n

    edges ([SearchResultItemEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    issueCount (Int!)

    The number of issues that matched the search query.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([SearchResultItem])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repositoryCount (Int!)

    The number of repositories that matched the search query.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userCount (Int!)

    The number of users that matched the search query.

    \n\n\n\n\n\n\n\n\n\n\n\n

    wikiCount (Int!)

    The number of wiki pages that matched the search query.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n SearchResultItemEdge\n

    \n

    An edge in a connection.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (SearchResultItem)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n

    textMatches ([TextMatch])

    Text matches on the result found.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n SecurityAdvisory\n

    \n

    A GitHub Security Advisory.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    databaseId (Int)

    Identifies the primary key from the database.

    \n\n\n\n\n\n\n\n\n\n\n\n

    description (String!)

    This is a long plaintext description of the advisory.

    \n\n\n\n\n\n\n\n\n\n\n\n

    ghsaId (String!)

    The GitHub Security Advisory ID.

    \n\n\n\n\n\n\n\n\n\n\n\n

    identifiers ([SecurityAdvisoryIdentifier!]!)

    A list of identifiers for this advisory.

    \n\n\n\n\n\n\n\n\n\n\n\n

    origin (String!)

    The organization that originated the advisory.

    \n\n\n\n\n\n\n\n\n\n\n\n

    publishedAt (DateTime!)

    When the advisory was published.

    \n\n\n\n\n\n\n\n\n\n\n\n

    references ([SecurityAdvisoryReference!]!)

    A list of references for this advisory.

    \n\n\n\n\n\n\n\n\n\n\n\n

    severity (SecurityAdvisorySeverity!)

    The severity of the advisory.

    \n\n\n\n\n\n\n\n\n\n\n\n

    summary (String!)

    A short plaintext summary of the advisory.

    \n\n\n\n\n\n\n\n\n\n\n\n

    updatedAt (DateTime!)

    When the advisory was last updated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    vulnerabilities (SecurityVulnerabilityConnection!)

    Vulnerabilities associated with this Advisory.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    ecosystem (SecurityAdvisoryEcosystem)

    \n

    An ecosystem to filter vulnerabilities by.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    package (String)

    \n

    A package name to filter vulnerabilities by.

    \n\n
    \n\n
    \n

    severities ([SecurityAdvisorySeverity!])

    \n

    A list of severities to filter vulnerabilities by.

    \n\n
    \n\n
    \n\n\n

    withdrawnAt (DateTime)

    When the advisory was withdrawn, if it has been withdrawn.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n SecurityAdvisoryConnection\n

    \n

    The connection type for SecurityAdvisory.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([SecurityAdvisoryEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([SecurityAdvisory])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n SecurityAdvisoryEdge\n

    \n

    An edge in a connection.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (SecurityAdvisory)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n SecurityAdvisoryIdentifier\n

    \n

    A GitHub Security Advisory Identifier.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    type (String!)

    The identifier type, e.g. GHSA, CVE.

    \n\n\n\n\n\n\n\n\n\n\n\n

    value (String!)

    The identifier.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n SecurityAdvisoryPackage\n

    \n

    An individual package.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    ecosystem (SecurityAdvisoryEcosystem!)

    The ecosystem the package belongs to, e.g. RUBYGEMS, NPM.

    \n\n\n\n\n\n\n\n\n\n\n\n

    name (String!)

    The package name.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n SecurityAdvisoryPackageVersion\n

    \n

    An individual package version.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    identifier (String!)

    The package name or version.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n SecurityAdvisoryReference\n

    \n

    A GitHub Security Advisory Reference.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    url (URI!)

    A publicly accessible reference.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n SecurityVulnerability\n

    \n

    An individual vulnerability within an Advisory.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    advisory (SecurityAdvisory!)

    The Advisory associated with this Vulnerability.

    \n\n\n\n\n\n\n\n\n\n\n\n

    firstPatchedVersion (SecurityAdvisoryPackageVersion)

    The first version containing a fix for the vulnerability.

    \n\n\n\n\n\n\n\n\n\n\n\n

    package (SecurityAdvisoryPackage!)

    A description of the vulnerable package.

    \n\n\n\n\n\n\n\n\n\n\n\n

    severity (SecurityAdvisorySeverity!)

    The severity of the vulnerability within this package.

    \n\n\n\n\n\n\n\n\n\n\n\n

    updatedAt (DateTime!)

    When the vulnerability was last updated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    vulnerableVersionRange (String!)

    A string that describes the vulnerable package versions.\nThis string follows a basic syntax with a few forms.

    \n
      \n
    • = 0.2.0 denotes a single vulnerable version.
    • \n
    • <= 1.0.8 denotes a version range up to and including the specified version
    • \n
    • < 0.1.11 denotes a version range up to, but excluding, the specified version
    • \n
    • >= 4.3.0, < 4.3.5 denotes a version range with a known minimum and maximum version.
    • \n
    • >= 0.0.1 denotes a version range with a known minimum, but no known maximum.
    • \n

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n SecurityVulnerabilityConnection\n

    \n

    The connection type for SecurityVulnerability.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([SecurityVulnerabilityEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([SecurityVulnerability])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n SecurityVulnerabilityEdge\n

    \n

    An edge in a connection.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (SecurityVulnerability)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n SmimeSignature\n

    \n

    Represents an S/MIME signature on a Commit or Tag.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    email (String!)

    Email used to sign this object.

    \n\n\n\n\n\n\n\n\n\n\n\n

    isValid (Boolean!)

    True if the signature is valid and verified by GitHub.

    \n\n\n\n\n\n\n\n\n\n\n\n

    payload (String!)

    Payload for GPG signing object. Raw ODB object without the signature header.

    \n\n\n\n\n\n\n\n\n\n\n\n

    signature (String!)

    ASCII-armored signature header from object.

    \n\n\n\n\n\n\n\n\n\n\n\n

    signer (User)

    GitHub user corresponding to the email signing this commit.

    \n\n\n\n\n\n\n\n\n\n\n\n

    state (GitSignatureState!)

    The state of this signature. VALID if signature is valid and verified by\nGitHub, otherwise represents reason why signature is considered invalid.

    \n\n\n\n\n\n\n\n\n\n\n\n

    wasSignedByGitHub (Boolean!)

    True if the signature was made with GitHub's signing key.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n Sponsorship\n

    \n

    A sponsorship relationship between a sponsor and a maintainer.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    maintainer (User!)

    The entity that is being sponsored.

    \n\n\n\n\n\n\n
    \n

    Deprecation notice

    \n

    maintainer is deprecated.

    Sponsorship.maintainer will be removed. Use Sponsorship.sponsorable instead. Removal on 2020-04-01 UTC.

    \n
    \n\n\n\n\n\n\n

    privacyLevel (SponsorshipPrivacy!)

    The privacy level for this sponsorship.

    \n\n\n\n\n\n\n\n\n\n\n\n

    sponsor (User)

    The entity that is sponsoring. Returns null if the sponsorship is private.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n SponsorshipConnection\n

    \n

    The connection type for Sponsorship.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([SponsorshipEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([Sponsorship])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n SponsorshipEdge\n

    \n

    An edge in a connection.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (Sponsorship)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n StargazerConnection\n

    \n

    The connection type for User.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([StargazerEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([User])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n StargazerEdge\n

    \n

    Represents a user that's starred a repository.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    starredAt (DateTime!)

    Identifies when the item was starred.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n StarredRepositoryConnection\n

    \n

    The connection type for Repository.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([StarredRepositoryEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([Repository])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n StarredRepositoryEdge\n

    \n

    Represents a starred repository.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    starredAt (DateTime!)

    Identifies when the item was starred.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n Status\n

    \n

    Represents a commit status.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    commit (Commit)

    The commit this status is attached to.

    \n\n\n\n\n\n\n\n\n\n\n\n

    context (StatusContext)

    Looks up an individual status context by context name.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    name (String!)

    \n

    The context name.

    \n\n
    \n\n
    \n\n\n

    contexts ([StatusContext!]!)

    The individual status contexts for this commit.

    \n\n\n\n\n\n\n\n\n\n\n\n

    state (StatusState!)

    The combined commit status.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n StatusContext\n

    \n

    Represents an individual commit status context.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    avatarUrl (URI)

    The avatar of the OAuth application or the user that created the status.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    size (Int)

    \n

    The size of the resulting square image.

    \n

    The default value is 40.

    \n
    \n\n
    \n\n\n

    commit (Commit)

    This commit this status context is attached to.

    \n\n\n\n\n\n\n\n\n\n\n\n

    context (String!)

    The name of this status context.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    creator (Actor)

    The actor who created this status context.

    \n\n\n\n\n\n\n\n\n\n\n\n

    description (String)

    The description for this status context.

    \n\n\n\n\n\n\n\n\n\n\n\n

    state (StatusState!)

    The state of this status context.

    \n\n\n\n\n\n\n\n\n\n\n\n

    targetUrl (URI)

    The URL for this status context.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n SubscribedEvent\n

    \n

    Represents asubscribedevent on a given Subscribable.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    actor (Actor)

    Identifies the actor who performed the event.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    subscribable (Subscribable!)

    Object referenced by event.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n SuggestedReviewer\n

    \n

    A suggestion to review a pull request based on a user's commit history and review comments.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    isAuthor (Boolean!)

    Is this suggestion based on past commits?.

    \n\n\n\n\n\n\n\n\n\n\n\n

    isCommenter (Boolean!)

    Is this suggestion based on past review comments?.

    \n\n\n\n\n\n\n\n\n\n\n\n

    reviewer (User!)

    Identifies the user suggested to review the pull request.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n Tag\n

    \n

    Represents a Git tag.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    abbreviatedOid (String!)

    An abbreviated version of the Git object ID.

    \n\n\n\n\n\n\n\n\n\n\n\n

    commitResourcePath (URI!)

    The HTTP path for this Git object.

    \n\n\n\n\n\n\n\n\n\n\n\n

    commitUrl (URI!)

    The HTTP URL for this Git object.

    \n\n\n\n\n\n\n\n\n\n\n\n

    message (String)

    The Git tag message.

    \n\n\n\n\n\n\n\n\n\n\n\n

    name (String!)

    The Git tag name.

    \n\n\n\n\n\n\n\n\n\n\n\n

    oid (GitObjectID!)

    The Git object ID.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repository (Repository!)

    The Repository the Git object belongs to.

    \n\n\n\n\n\n\n\n\n\n\n\n

    tagger (GitActor)

    Details about the tag author.

    \n\n\n\n\n\n\n\n\n\n\n\n

    target (GitObject!)

    The Git object the tag points to.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n Team\n

    \n

    A team of users in an organization.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    ancestors (TeamConnection!)

    A list of teams that are ancestors of this team.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n\n\n

    avatarUrl (URI)

    A URL pointing to the team's avatar.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    size (Int)

    \n

    The size in pixels of the resulting square image.

    \n

    The default value is 400.

    \n
    \n\n
    \n\n\n

    childTeams (TeamConnection!)

    List of child teams belonging to this team.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    immediateOnly (Boolean)

    \n

    Whether to list immediate child teams or all descendant child teams.

    \n

    The default value is true.

    \n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (TeamOrder)

    \n

    Order for connection.

    \n\n
    \n\n
    \n

    userLogins ([String!])

    \n

    User logins to filter by.

    \n\n
    \n\n
    \n\n\n

    combinedSlug (String!)

    The slug corresponding to the organization and team.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    description (String)

    The description of the team.

    \n\n\n\n\n\n\n\n\n\n\n\n

    discussion (TeamDiscussion)

    Find a team discussion by its number.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    number (Int!)

    \n

    The sequence number of the discussion to find.

    \n\n
    \n\n
    \n\n\n

    discussions (TeamDiscussionConnection!)

    A list of team discussions.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    isPinned (Boolean)

    \n

    If provided, filters discussions according to whether or not they are pinned.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (TeamDiscussionOrder)

    \n

    Order for connection.

    \n\n
    \n\n
    \n\n\n

    discussionsResourcePath (URI!)

    The HTTP path for team discussions.

    \n\n\n\n\n\n\n\n\n\n\n\n

    discussionsUrl (URI!)

    The HTTP URL for team discussions.

    \n\n\n\n\n\n\n\n\n\n\n\n

    editTeamResourcePath (URI!)

    The HTTP path for editing this team.

    \n\n\n\n\n\n\n\n\n\n\n\n

    editTeamUrl (URI!)

    The HTTP URL for editing this team.

    \n\n\n\n\n\n\n\n\n\n\n\n

    invitations (OrganizationInvitationConnection)

    A list of pending invitations for users to this team.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n\n\n

    memberStatuses (UserStatusConnection!)

    Get the status messages members of this entity have set that are either public or visible only to the organization.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (UserStatusOrder)

    \n

    Ordering options for user statuses returned from the connection.

    \n\n
    \n\n
    \n\n\n

    members (TeamMemberConnection!)

    A list of users who are members of this team.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    membership (TeamMembershipType)

    \n

    Filter by membership type.

    \n

    The default value is ALL.

    \n
    \n\n
    \n

    orderBy (TeamMemberOrder)

    \n

    Order for the connection.

    \n\n
    \n\n
    \n

    query (String)

    \n

    The search string to look for.

    \n\n
    \n\n
    \n

    role (TeamMemberRole)

    \n

    Filter by team member role.

    \n\n
    \n\n
    \n\n\n

    membersResourcePath (URI!)

    The HTTP path for the team' members.

    \n\n\n\n\n\n\n\n\n\n\n\n

    membersUrl (URI!)

    The HTTP URL for the team' members.

    \n\n\n\n\n\n\n\n\n\n\n\n

    name (String!)

    The name of the team.

    \n\n\n\n\n\n\n\n\n\n\n\n

    newTeamResourcePath (URI!)

    The HTTP path creating a new team.

    \n\n\n\n\n\n\n\n\n\n\n\n

    newTeamUrl (URI!)

    The HTTP URL creating a new team.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organization (Organization!)

    The organization that owns this team.

    \n\n\n\n\n\n\n\n\n\n\n\n

    parentTeam (Team)

    The parent team of the team.

    \n\n\n\n\n\n\n\n\n\n\n\n

    privacy (TeamPrivacy!)

    The level of privacy the team has.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repositories (TeamRepositoryConnection!)

    A list of repositories this team has access to.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (TeamRepositoryOrder)

    \n

    Order for the connection.

    \n\n
    \n\n
    \n

    query (String)

    \n

    The search string to look for.

    \n\n
    \n\n
    \n\n\n

    repositoriesResourcePath (URI!)

    The HTTP path for this team's repositories.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repositoriesUrl (URI!)

    The HTTP URL for this team's repositories.

    \n\n\n\n\n\n\n\n\n\n\n\n

    resourcePath (URI!)

    The HTTP path for this team.

    \n\n\n\n\n\n\n\n\n\n\n\n

    reviewRequestDelegationAlgorithm (TeamReviewAssignmentAlgorithm)

    What algorithm is used for review assignment for this team.

    \n\n\n\n\n
    \n

    Preview notice

    \n

    reviewRequestDelegationAlgorithm is available under the Team review assignments preview. During the preview period, the API may change without notice.

    \n
    \n\n\n\n\n\n\n\n\n

    reviewRequestDelegationEnabled (Boolean!)

    True if review assignment is enabled for this team.

    \n\n\n\n\n
    \n

    Preview notice

    \n

    reviewRequestDelegationEnabled is available under the Team review assignments preview. During the preview period, the API may change without notice.

    \n
    \n\n\n\n\n\n\n\n\n

    reviewRequestDelegationMemberCount (Int)

    How many team members are required for review assignment for this team.

    \n\n\n\n\n
    \n

    Preview notice

    \n

    reviewRequestDelegationMemberCount is available under the Team review assignments preview. During the preview period, the API may change without notice.

    \n
    \n\n\n\n\n\n\n\n\n

    reviewRequestDelegationNotifyTeam (Boolean!)

    When assigning team members via delegation, whether the entire team should be notified as well.

    \n\n\n\n\n
    \n

    Preview notice

    \n

    reviewRequestDelegationNotifyTeam is available under the Team review assignments preview. During the preview period, the API may change without notice.

    \n
    \n\n\n\n\n\n\n\n\n

    slug (String!)

    The slug corresponding to the team.

    \n\n\n\n\n\n\n\n\n\n\n\n

    teamsResourcePath (URI!)

    The HTTP path for this team's teams.

    \n\n\n\n\n\n\n\n\n\n\n\n

    teamsUrl (URI!)

    The HTTP URL for this team's teams.

    \n\n\n\n\n\n\n\n\n\n\n\n

    updatedAt (DateTime!)

    Identifies the date and time when the object was last updated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    url (URI!)

    The HTTP URL for this team.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerCanAdminister (Boolean!)

    Team is adminable by the viewer.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerCanSubscribe (Boolean!)

    Check if the viewer is able to change their subscription status for the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerSubscription (SubscriptionState)

    Identifies if the viewer is watching, not watching, or ignoring the subscribable entity.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n TeamAddMemberAuditEntry\n

    \n

    Audit log entry for a team.add_member event.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    action (String!)

    The action name.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actor (AuditEntryActor)

    The user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorIp (String)

    The IP address of the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLocation (ActorLocation)

    A readable representation of the actor's location.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLogin (String)

    The username of the user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorResourcePath (URI)

    The HTTP path for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorUrl (URI)

    The HTTP URL for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (PreciseDateTime!)

    The time the action was initiated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    isLdapMapped (Boolean)

    Whether the team was mapped to an LDAP Group.

    \n\n\n\n\n\n\n\n\n\n\n\n

    operationType (OperationType)

    The corresponding operation type for the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organization (Organization)

    The Organization associated with the Audit Entry.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationName (String)

    The name of the Organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationResourcePath (URI)

    The HTTP path for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationUrl (URI)

    The HTTP URL for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    team (Team)

    The team associated with the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    teamName (String)

    The name of the team.

    \n\n\n\n\n\n\n\n\n\n\n\n

    teamResourcePath (URI)

    The HTTP path for this team.

    \n\n\n\n\n\n\n\n\n\n\n\n

    teamUrl (URI)

    The HTTP URL for this team.

    \n\n\n\n\n\n\n\n\n\n\n\n

    user (User)

    The user affected by the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userLogin (String)

    For actions involving two users, the actor is the initiator and the user is the affected user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userResourcePath (URI)

    The HTTP path for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userUrl (URI)

    The HTTP URL for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n TeamAddRepositoryAuditEntry\n

    \n

    Audit log entry for a team.add_repository event.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    action (String!)

    The action name.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actor (AuditEntryActor)

    The user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorIp (String)

    The IP address of the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLocation (ActorLocation)

    A readable representation of the actor's location.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLogin (String)

    The username of the user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorResourcePath (URI)

    The HTTP path for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorUrl (URI)

    The HTTP URL for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (PreciseDateTime!)

    The time the action was initiated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    isLdapMapped (Boolean)

    Whether the team was mapped to an LDAP Group.

    \n\n\n\n\n\n\n\n\n\n\n\n

    operationType (OperationType)

    The corresponding operation type for the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organization (Organization)

    The Organization associated with the Audit Entry.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationName (String)

    The name of the Organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationResourcePath (URI)

    The HTTP path for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationUrl (URI)

    The HTTP URL for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repository (Repository)

    The repository associated with the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repositoryName (String)

    The name of the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repositoryResourcePath (URI)

    The HTTP path for the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repositoryUrl (URI)

    The HTTP URL for the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    team (Team)

    The team associated with the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    teamName (String)

    The name of the team.

    \n\n\n\n\n\n\n\n\n\n\n\n

    teamResourcePath (URI)

    The HTTP path for this team.

    \n\n\n\n\n\n\n\n\n\n\n\n

    teamUrl (URI)

    The HTTP URL for this team.

    \n\n\n\n\n\n\n\n\n\n\n\n

    user (User)

    The user affected by the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userLogin (String)

    For actions involving two users, the actor is the initiator and the user is the affected user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userResourcePath (URI)

    The HTTP path for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userUrl (URI)

    The HTTP URL for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n TeamChangeParentTeamAuditEntry\n

    \n

    Audit log entry for a team.change_parent_team event.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    action (String!)

    The action name.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actor (AuditEntryActor)

    The user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorIp (String)

    The IP address of the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLocation (ActorLocation)

    A readable representation of the actor's location.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLogin (String)

    The username of the user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorResourcePath (URI)

    The HTTP path for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorUrl (URI)

    The HTTP URL for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (PreciseDateTime!)

    The time the action was initiated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    isLdapMapped (Boolean)

    Whether the team was mapped to an LDAP Group.

    \n\n\n\n\n\n\n\n\n\n\n\n

    operationType (OperationType)

    The corresponding operation type for the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organization (Organization)

    The Organization associated with the Audit Entry.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationName (String)

    The name of the Organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationResourcePath (URI)

    The HTTP path for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationUrl (URI)

    The HTTP URL for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    parentTeam (Team)

    The new parent team.

    \n\n\n\n\n\n\n\n\n\n\n\n

    parentTeamName (String)

    The name of the new parent team.

    \n\n\n\n\n\n\n\n\n\n\n\n

    parentTeamNameWas (String)

    The name of the former parent team.

    \n\n\n\n\n\n\n\n\n\n\n\n

    parentTeamResourcePath (URI)

    The HTTP path for the parent team.

    \n\n\n\n\n\n\n\n\n\n\n\n

    parentTeamUrl (URI)

    The HTTP URL for the parent team.

    \n\n\n\n\n\n\n\n\n\n\n\n

    parentTeamWas (Team)

    The former parent team.

    \n\n\n\n\n\n\n\n\n\n\n\n

    parentTeamWasResourcePath (URI)

    The HTTP path for the previous parent team.

    \n\n\n\n\n\n\n\n\n\n\n\n

    parentTeamWasUrl (URI)

    The HTTP URL for the previous parent team.

    \n\n\n\n\n\n\n\n\n\n\n\n

    team (Team)

    The team associated with the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    teamName (String)

    The name of the team.

    \n\n\n\n\n\n\n\n\n\n\n\n

    teamResourcePath (URI)

    The HTTP path for this team.

    \n\n\n\n\n\n\n\n\n\n\n\n

    teamUrl (URI)

    The HTTP URL for this team.

    \n\n\n\n\n\n\n\n\n\n\n\n

    user (User)

    The user affected by the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userLogin (String)

    For actions involving two users, the actor is the initiator and the user is the affected user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userResourcePath (URI)

    The HTTP path for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userUrl (URI)

    The HTTP URL for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n TeamConnection\n

    \n

    The connection type for Team.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([TeamEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([Team])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n TeamDiscussion\n

    \n

    A team discussion.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    author (Actor)

    The actor who authored the comment.

    \n\n\n\n\n\n\n\n\n\n\n\n

    authorAssociation (CommentAuthorAssociation!)

    Author's association with the discussion's team.

    \n\n\n\n\n\n\n\n\n\n\n\n

    body (String!)

    The body as Markdown.

    \n\n\n\n\n\n\n\n\n\n\n\n

    bodyHTML (HTML!)

    The body rendered to HTML.

    \n\n\n\n\n\n\n\n\n\n\n\n

    bodyText (String!)

    The body rendered to text.

    \n\n\n\n\n\n\n\n\n\n\n\n

    bodyVersion (String!)

    Identifies the discussion body hash.

    \n\n\n\n\n\n\n\n\n\n\n\n

    comments (TeamDiscussionCommentConnection!)

    A list of comments on this discussion.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    fromComment (Int)

    \n

    When provided, filters the connection such that results begin with the comment with this number.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (TeamDiscussionCommentOrder)

    \n

    Order for connection.

    \n\n
    \n\n
    \n\n\n

    commentsResourcePath (URI!)

    The HTTP path for discussion comments.

    \n\n\n\n\n\n\n\n\n\n\n\n

    commentsUrl (URI!)

    The HTTP URL for discussion comments.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdViaEmail (Boolean!)

    Check if this comment was created via an email reply.

    \n\n\n\n\n\n\n\n\n\n\n\n

    databaseId (Int)

    Identifies the primary key from the database.

    \n\n\n\n\n\n\n\n\n\n\n\n

    editor (Actor)

    The actor who edited the comment.

    \n\n\n\n\n\n\n\n\n\n\n\n

    includesCreatedEdit (Boolean!)

    Check if this comment was edited and includes an edit with the creation data.

    \n\n\n\n\n\n\n\n\n\n\n\n

    isPinned (Boolean!)

    Whether or not the discussion is pinned.

    \n\n\n\n\n\n\n\n\n\n\n\n

    isPrivate (Boolean!)

    Whether or not the discussion is only visible to team members and org admins.

    \n\n\n\n\n\n\n\n\n\n\n\n

    lastEditedAt (DateTime)

    The moment the editor made the last edit.

    \n\n\n\n\n\n\n\n\n\n\n\n

    number (Int!)

    Identifies the discussion within its team.

    \n\n\n\n\n\n\n\n\n\n\n\n

    publishedAt (DateTime)

    Identifies when the comment was published at.

    \n\n\n\n\n\n\n\n\n\n\n\n

    reactionGroups ([ReactionGroup!])

    A list of reactions grouped by content left on the subject.

    \n\n\n\n\n\n\n\n\n\n\n\n

    reactions (ReactionConnection!)

    A list of Reactions left on the Issue.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    content (ReactionContent)

    \n

    Allows filtering Reactions by emoji.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (ReactionOrder)

    \n

    Allows specifying the order in which reactions are returned.

    \n\n
    \n\n
    \n\n\n

    resourcePath (URI!)

    The HTTP path for this discussion.

    \n\n\n\n\n\n\n\n\n\n\n\n

    team (Team!)

    The team that defines the context of this discussion.

    \n\n\n\n\n\n\n\n\n\n\n\n

    title (String!)

    The title of the discussion.

    \n\n\n\n\n\n\n\n\n\n\n\n

    updatedAt (DateTime!)

    Identifies the date and time when the object was last updated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    url (URI!)

    The HTTP URL for this discussion.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userContentEdits (UserContentEditConnection)

    A list of edits to this content.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n\n\n

    viewerCanDelete (Boolean!)

    Check if the current viewer can delete this object.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerCanPin (Boolean!)

    Whether or not the current viewer can pin this discussion.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerCanReact (Boolean!)

    Can user react to this subject.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerCanSubscribe (Boolean!)

    Check if the viewer is able to change their subscription status for the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerCanUpdate (Boolean!)

    Check if the current viewer can update this object.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerCannotUpdateReasons ([CommentCannotUpdateReason!]!)

    Reasons why the current viewer can not update this comment.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerDidAuthor (Boolean!)

    Did the viewer author this comment.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerSubscription (SubscriptionState)

    Identifies if the viewer is watching, not watching, or ignoring the subscribable entity.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n TeamDiscussionComment\n

    \n

    A comment on a team discussion.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    author (Actor)

    The actor who authored the comment.

    \n\n\n\n\n\n\n\n\n\n\n\n

    authorAssociation (CommentAuthorAssociation!)

    Author's association with the comment's team.

    \n\n\n\n\n\n\n\n\n\n\n\n

    body (String!)

    The body as Markdown.

    \n\n\n\n\n\n\n\n\n\n\n\n

    bodyHTML (HTML!)

    The body rendered to HTML.

    \n\n\n\n\n\n\n\n\n\n\n\n

    bodyText (String!)

    The body rendered to text.

    \n\n\n\n\n\n\n\n\n\n\n\n

    bodyVersion (String!)

    The current version of the body content.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdViaEmail (Boolean!)

    Check if this comment was created via an email reply.

    \n\n\n\n\n\n\n\n\n\n\n\n

    databaseId (Int)

    Identifies the primary key from the database.

    \n\n\n\n\n\n\n\n\n\n\n\n

    discussion (TeamDiscussion!)

    The discussion this comment is about.

    \n\n\n\n\n\n\n\n\n\n\n\n

    editor (Actor)

    The actor who edited the comment.

    \n\n\n\n\n\n\n\n\n\n\n\n

    includesCreatedEdit (Boolean!)

    Check if this comment was edited and includes an edit with the creation data.

    \n\n\n\n\n\n\n\n\n\n\n\n

    lastEditedAt (DateTime)

    The moment the editor made the last edit.

    \n\n\n\n\n\n\n\n\n\n\n\n

    number (Int!)

    Identifies the comment number.

    \n\n\n\n\n\n\n\n\n\n\n\n

    publishedAt (DateTime)

    Identifies when the comment was published at.

    \n\n\n\n\n\n\n\n\n\n\n\n

    reactionGroups ([ReactionGroup!])

    A list of reactions grouped by content left on the subject.

    \n\n\n\n\n\n\n\n\n\n\n\n

    reactions (ReactionConnection!)

    A list of Reactions left on the Issue.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    content (ReactionContent)

    \n

    Allows filtering Reactions by emoji.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (ReactionOrder)

    \n

    Allows specifying the order in which reactions are returned.

    \n\n
    \n\n
    \n\n\n

    resourcePath (URI!)

    The HTTP path for this comment.

    \n\n\n\n\n\n\n\n\n\n\n\n

    updatedAt (DateTime!)

    Identifies the date and time when the object was last updated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    url (URI!)

    The HTTP URL for this comment.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userContentEdits (UserContentEditConnection)

    A list of edits to this content.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n\n\n

    viewerCanDelete (Boolean!)

    Check if the current viewer can delete this object.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerCanReact (Boolean!)

    Can user react to this subject.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerCanUpdate (Boolean!)

    Check if the current viewer can update this object.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerCannotUpdateReasons ([CommentCannotUpdateReason!]!)

    Reasons why the current viewer can not update this comment.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerDidAuthor (Boolean!)

    Did the viewer author this comment.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n TeamDiscussionCommentConnection\n

    \n

    The connection type for TeamDiscussionComment.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([TeamDiscussionCommentEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([TeamDiscussionComment])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n TeamDiscussionCommentEdge\n

    \n

    An edge in a connection.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (TeamDiscussionComment)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n TeamDiscussionConnection\n

    \n

    The connection type for TeamDiscussion.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([TeamDiscussionEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([TeamDiscussion])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n TeamDiscussionEdge\n

    \n

    An edge in a connection.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (TeamDiscussion)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n TeamEdge\n

    \n

    An edge in a connection.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (Team)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n TeamMemberConnection\n

    \n

    The connection type for User.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([TeamMemberEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([User])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n TeamMemberEdge\n

    \n

    Represents a user who is a member of a team.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    memberAccessResourcePath (URI!)

    The HTTP path to the organization's member access page.

    \n\n\n\n\n\n\n\n\n\n\n\n

    memberAccessUrl (URI!)

    The HTTP URL to the organization's member access page.

    \n\n\n\n\n\n\n\n\n\n\n\n

    role (TeamMemberRole!)

    The role the member has on the team.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n TeamRemoveMemberAuditEntry\n

    \n

    Audit log entry for a team.remove_member event.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    action (String!)

    The action name.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actor (AuditEntryActor)

    The user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorIp (String)

    The IP address of the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLocation (ActorLocation)

    A readable representation of the actor's location.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLogin (String)

    The username of the user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorResourcePath (URI)

    The HTTP path for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorUrl (URI)

    The HTTP URL for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (PreciseDateTime!)

    The time the action was initiated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    isLdapMapped (Boolean)

    Whether the team was mapped to an LDAP Group.

    \n\n\n\n\n\n\n\n\n\n\n\n

    operationType (OperationType)

    The corresponding operation type for the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organization (Organization)

    The Organization associated with the Audit Entry.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationName (String)

    The name of the Organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationResourcePath (URI)

    The HTTP path for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationUrl (URI)

    The HTTP URL for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    team (Team)

    The team associated with the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    teamName (String)

    The name of the team.

    \n\n\n\n\n\n\n\n\n\n\n\n

    teamResourcePath (URI)

    The HTTP path for this team.

    \n\n\n\n\n\n\n\n\n\n\n\n

    teamUrl (URI)

    The HTTP URL for this team.

    \n\n\n\n\n\n\n\n\n\n\n\n

    user (User)

    The user affected by the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userLogin (String)

    For actions involving two users, the actor is the initiator and the user is the affected user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userResourcePath (URI)

    The HTTP path for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userUrl (URI)

    The HTTP URL for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n TeamRemoveRepositoryAuditEntry\n

    \n

    Audit log entry for a team.remove_repository event.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    action (String!)

    The action name.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actor (AuditEntryActor)

    The user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorIp (String)

    The IP address of the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLocation (ActorLocation)

    A readable representation of the actor's location.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLogin (String)

    The username of the user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorResourcePath (URI)

    The HTTP path for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorUrl (URI)

    The HTTP URL for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (PreciseDateTime!)

    The time the action was initiated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    isLdapMapped (Boolean)

    Whether the team was mapped to an LDAP Group.

    \n\n\n\n\n\n\n\n\n\n\n\n

    operationType (OperationType)

    The corresponding operation type for the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organization (Organization)

    The Organization associated with the Audit Entry.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationName (String)

    The name of the Organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationResourcePath (URI)

    The HTTP path for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationUrl (URI)

    The HTTP URL for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repository (Repository)

    The repository associated with the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repositoryName (String)

    The name of the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repositoryResourcePath (URI)

    The HTTP path for the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repositoryUrl (URI)

    The HTTP URL for the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    team (Team)

    The team associated with the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    teamName (String)

    The name of the team.

    \n\n\n\n\n\n\n\n\n\n\n\n

    teamResourcePath (URI)

    The HTTP path for this team.

    \n\n\n\n\n\n\n\n\n\n\n\n

    teamUrl (URI)

    The HTTP URL for this team.

    \n\n\n\n\n\n\n\n\n\n\n\n

    user (User)

    The user affected by the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userLogin (String)

    For actions involving two users, the actor is the initiator and the user is the affected user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userResourcePath (URI)

    The HTTP path for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userUrl (URI)

    The HTTP URL for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n TeamRepositoryConnection\n

    \n

    The connection type for Repository.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([TeamRepositoryEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([Repository])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n TeamRepositoryEdge\n

    \n

    Represents a team repository.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    permission (RepositoryPermission!)

    The permission level the team has on the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n TextMatch\n

    \n

    A text match within a search result.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    fragment (String!)

    The specific text fragment within the property matched on.

    \n\n\n\n\n\n\n\n\n\n\n\n

    highlights ([TextMatchHighlight!]!)

    Highlights within the matched fragment.

    \n\n\n\n\n\n\n\n\n\n\n\n

    property (String!)

    The property matched on.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n TextMatchHighlight\n

    \n

    Represents a single highlight in a search result match.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    beginIndice (Int!)

    The indice in the fragment where the matched text begins.

    \n\n\n\n\n\n\n\n\n\n\n\n

    endIndice (Int!)

    The indice in the fragment where the matched text ends.

    \n\n\n\n\n\n\n\n\n\n\n\n

    text (String!)

    The text matched.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n Topic\n

    \n

    A topic aggregates entities that are related to a subject.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    name (String!)

    The topic's name.

    \n\n\n\n\n\n\n\n\n\n\n\n

    relatedTopics ([Topic!]!)

    A list of related topics, including aliases of this topic, sorted with the most relevant\nfirst. Returns up to 10 Topics.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    first (Int)

    \n

    How many topics to return.

    \n

    The default value is 3.

    \n
    \n\n
    \n\n\n

    stargazers (StargazerConnection!)

    A list of users who have starred this starrable.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (StarOrder)

    \n

    Order for connection.

    \n\n
    \n\n
    \n\n\n

    viewerHasStarred (Boolean!)

    Returns a boolean indicating whether the viewing user has starred this starrable.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n TopicConnection\n

    \n

    The connection type for Topic.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([TopicEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([Topic])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n TopicEdge\n

    \n

    An edge in a connection.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (Topic)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n TransferredEvent\n

    \n

    Represents atransferredevent on a given issue or pull request.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    actor (Actor)

    Identifies the actor who performed the event.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    fromRepository (Repository)

    The repository this came from.

    \n\n\n\n\n\n\n\n\n\n\n\n

    issue (Issue!)

    Identifies the issue associated with the event.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n Tree\n

    \n

    Represents a Git tree.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    abbreviatedOid (String!)

    An abbreviated version of the Git object ID.

    \n\n\n\n\n\n\n\n\n\n\n\n

    commitResourcePath (URI!)

    The HTTP path for this Git object.

    \n\n\n\n\n\n\n\n\n\n\n\n

    commitUrl (URI!)

    The HTTP URL for this Git object.

    \n\n\n\n\n\n\n\n\n\n\n\n

    entries ([TreeEntry!])

    A list of tree entries.

    \n\n\n\n\n\n\n\n\n\n\n\n

    oid (GitObjectID!)

    The Git object ID.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repository (Repository!)

    The Repository the Git object belongs to.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n TreeEntry\n

    \n

    Represents a Git tree entry.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    mode (Int!)

    Entry file mode.

    \n\n\n\n\n\n\n\n\n\n\n\n

    name (String!)

    Entry file name.

    \n\n\n\n\n\n\n\n\n\n\n\n

    object (GitObject)

    Entry file object.

    \n\n\n\n\n\n\n\n\n\n\n\n

    oid (GitObjectID!)

    Entry file Git object ID.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repository (Repository!)

    The Repository the tree entry belongs to.

    \n\n\n\n\n\n\n\n\n\n\n\n

    type (String!)

    Entry file type.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n UnassignedEvent\n

    \n

    Represents anunassignedevent on any assignable object.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    actor (Actor)

    Identifies the actor who performed the event.

    \n\n\n\n\n\n\n\n\n\n\n\n

    assignable (Assignable!)

    Identifies the assignable associated with the event.

    \n\n\n\n\n\n\n\n\n\n\n\n

    assignee (Assignee)

    Identifies the user or mannequin that was unassigned.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    user (User)

    Identifies the subject (user) who was unassigned.

    \n\n\n\n\n\n\n
    \n

    Deprecation notice

    \n

    user is deprecated.

    Assignees can now be mannequins. Use the assignee field instead. Removal on 2020-01-01 UTC.

    \n
    \n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n UnknownSignature\n

    \n

    Represents an unknown signature on a Commit or Tag.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    email (String!)

    Email used to sign this object.

    \n\n\n\n\n\n\n\n\n\n\n\n

    isValid (Boolean!)

    True if the signature is valid and verified by GitHub.

    \n\n\n\n\n\n\n\n\n\n\n\n

    payload (String!)

    Payload for GPG signing object. Raw ODB object without the signature header.

    \n\n\n\n\n\n\n\n\n\n\n\n

    signature (String!)

    ASCII-armored signature header from object.

    \n\n\n\n\n\n\n\n\n\n\n\n

    signer (User)

    GitHub user corresponding to the email signing this commit.

    \n\n\n\n\n\n\n\n\n\n\n\n

    state (GitSignatureState!)

    The state of this signature. VALID if signature is valid and verified by\nGitHub, otherwise represents reason why signature is considered invalid.

    \n\n\n\n\n\n\n\n\n\n\n\n

    wasSignedByGitHub (Boolean!)

    True if the signature was made with GitHub's signing key.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n UnlabeledEvent\n

    \n

    Represents anunlabeledevent on a given issue or pull request.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    actor (Actor)

    Identifies the actor who performed the event.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    label (Label!)

    Identifies the label associated with theunlabeledevent.

    \n\n\n\n\n\n\n\n\n\n\n\n

    labelable (Labelable!)

    Identifies the Labelable associated with the event.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n UnlockedEvent\n

    \n

    Represents anunlockedevent on a given issue or pull request.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    actor (Actor)

    Identifies the actor who performed the event.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    lockable (Lockable!)

    Object that was unlocked.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n UnpinnedEvent\n

    \n

    Represents anunpinnedevent on a given issue or pull request.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    actor (Actor)

    Identifies the actor who performed the event.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    issue (Issue!)

    Identifies the issue associated with the event.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n UnsubscribedEvent\n

    \n

    Represents anunsubscribedevent on a given Subscribable.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    actor (Actor)

    Identifies the actor who performed the event.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    subscribable (Subscribable!)

    Object referenced by event.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n User\n

    \n

    A user is an individual's account on GitHub that owns repositories and can make new content.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    anyPinnableItems (Boolean!)

    Determine if this repository owner has any items that can be pinned to their profile.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    type (PinnableItemType)

    \n

    Filter to only a particular kind of pinnable item.

    \n\n
    \n\n
    \n\n\n

    avatarUrl (URI!)

    A URL pointing to the user's public avatar.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    size (Int)

    \n

    The size of the resulting square image.

    \n\n
    \n\n
    \n\n\n

    bio (String)

    The user's public profile bio.

    \n\n\n\n\n\n\n\n\n\n\n\n

    bioHTML (HTML!)

    The user's public profile bio as HTML.

    \n\n\n\n\n\n\n\n\n\n\n\n

    commitComments (CommitCommentConnection!)

    A list of commit comments made by this user.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n\n\n

    company (String)

    The user's public profile company.

    \n\n\n\n\n\n\n\n\n\n\n\n

    companyHTML (HTML!)

    The user's public profile company as HTML.

    \n\n\n\n\n\n\n\n\n\n\n\n

    contributionsCollection (ContributionsCollection!)

    The collection of contributions this user has made to different repositories.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    from (DateTime)

    \n

    Only contributions made at this time or later will be counted. If omitted, defaults to a year ago.

    \n\n
    \n\n
    \n

    organizationID (ID)

    \n

    The ID of the organization used to filter contributions.

    \n\n
    \n\n
    \n

    to (DateTime)

    \n

    Only contributions made before and up to and including this time will be\ncounted. If omitted, defaults to the current time.

    \n\n
    \n\n
    \n\n\n

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    databaseId (Int)

    Identifies the primary key from the database.

    \n\n\n\n\n\n\n\n\n\n\n\n

    email (String!)

    The user's publicly visible profile email.

    \n\n\n\n\n\n\n\n\n\n\n\n

    followers (FollowerConnection!)

    A list of users the given user is followed by.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n\n\n

    following (FollowingConnection!)

    A list of users the given user is following.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n\n\n

    gist (Gist)

    Find gist by repo name.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    name (String!)

    \n

    The gist name to find.

    \n\n
    \n\n
    \n\n\n

    gistComments (GistCommentConnection!)

    A list of gist comments made by this user.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n\n\n

    gists (GistConnection!)

    A list of the Gists the user has created.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (GistOrder)

    \n

    Ordering options for gists returned from the connection.

    \n\n
    \n\n
    \n

    privacy (GistPrivacy)

    \n

    Filters Gists according to privacy.

    \n\n
    \n\n
    \n\n\n

    hovercard (Hovercard!)

    The hovercard information for this user in a given context.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    primarySubjectId (ID)

    \n

    The ID of the subject to get the hovercard in the context of.

    \n\n
    \n\n
    \n\n\n

    isBountyHunter (Boolean!)

    Whether or not this user is a participant in the GitHub Security Bug Bounty.

    \n\n\n\n\n\n\n\n\n\n\n\n

    isCampusExpert (Boolean!)

    Whether or not this user is a participant in the GitHub Campus Experts Program.

    \n\n\n\n\n\n\n\n\n\n\n\n

    isDeveloperProgramMember (Boolean!)

    Whether or not this user is a GitHub Developer Program member.

    \n\n\n\n\n\n\n\n\n\n\n\n

    isEmployee (Boolean!)

    Whether or not this user is a GitHub employee.

    \n\n\n\n\n\n\n\n\n\n\n\n

    isHireable (Boolean!)

    Whether or not the user has marked themselves as for hire.

    \n\n\n\n\n\n\n\n\n\n\n\n

    isSiteAdmin (Boolean!)

    Whether or not this user is a site administrator.

    \n\n\n\n\n\n\n\n\n\n\n\n

    isViewer (Boolean!)

    Whether or not this user is the viewing user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    issueComments (IssueCommentConnection!)

    A list of issue comments made by this user.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n\n\n

    issues (IssueConnection!)

    A list of issues associated with this user.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    filterBy (IssueFilters)

    \n

    Filtering options for issues returned from the connection.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    labels ([String!])

    \n

    A list of label names to filter the pull requests by.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (IssueOrder)

    \n

    Ordering options for issues returned from the connection.

    \n\n
    \n\n
    \n

    states ([IssueState!])

    \n

    A list of states to filter the issues by.

    \n\n
    \n\n
    \n\n\n

    itemShowcase (ProfileItemShowcase!)

    Showcases a selection of repositories and gists that the profile owner has\neither curated or that have been selected automatically based on popularity.

    \n\n\n\n\n\n\n\n\n\n\n\n

    location (String)

    The user's public profile location.

    \n\n\n\n\n\n\n\n\n\n\n\n

    login (String!)

    The username used to login.

    \n\n\n\n\n\n\n\n\n\n\n\n

    name (String)

    The user's public profile name.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organization (Organization)

    Find an organization by its login that the user belongs to.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    login (String!)

    \n

    The login of the organization to find.

    \n\n
    \n\n
    \n\n\n

    organizations (OrganizationConnection!)

    A list of organizations the user belongs to.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n\n\n

    packages (PackageConnection!)

    A list of packages under the owner.

    \n\n\n\n\n
    \n

    Preview notice

    \n

    packages is available under the GitHub packages preview. During the preview period, the API may change without notice.

    \n
    \n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    names ([String])

    \n

    Find packages by their names.

    \n\n
    \n\n
    \n

    orderBy (PackageOrder)

    \n

    Ordering of the returned packages.

    \n\n
    \n\n
    \n

    repositoryId (ID)

    \n

    Find packages in a repository by ID.

    \n\n
    \n\n
    \n\n\n

    pinnableItems (PinnableItemConnection!)

    A list of repositories and gists this profile owner can pin to their profile.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    types ([PinnableItemType!])

    \n

    Filter the types of pinnable items that are returned.

    \n\n
    \n\n
    \n\n\n

    pinnedItems (PinnableItemConnection!)

    A list of repositories and gists this profile owner has pinned to their profile.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    types ([PinnableItemType!])

    \n

    Filter the types of pinned items that are returned.

    \n\n
    \n\n
    \n\n\n

    pinnedItemsRemaining (Int!)

    Returns how many more items this profile owner can pin to their profile.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pinnedRepositories (RepositoryConnection!)

    A list of repositories this user has pinned to their profile.

    \n\n\n\n\n\n\n
    \n

    Deprecation notice

    \n

    pinnedRepositories is deprecated.

    pinnedRepositories will be removed Use ProfileOwner.pinnedItems instead. Removal on 2019-10-01 UTC.

    \n
    \n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    affiliations ([RepositoryAffiliation])

    \n

    Array of viewer's affiliation options for repositories returned from the\nconnection. For example, OWNER will include only repositories that the\ncurrent viewer owns.

    \n\n
    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    isLocked (Boolean)

    \n

    If non-null, filters repositories according to whether they have been locked.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (RepositoryOrder)

    \n

    Ordering options for repositories returned from the connection.

    \n\n
    \n\n
    \n

    ownerAffiliations ([RepositoryAffiliation])

    \n

    Array of owner's affiliation options for repositories returned from the\nconnection. For example, OWNER will include only repositories that the\norganization or user being viewed owns.

    \n\n
    \n\n
    \n

    privacy (RepositoryPrivacy)

    \n

    If non-null, filters repositories according to privacy.

    \n\n
    \n\n
    \n\n\n

    project (Project)

    Find project by number.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    number (Int!)

    \n

    The project number to find.

    \n\n
    \n\n
    \n\n\n

    projects (ProjectConnection!)

    A list of projects under the owner.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (ProjectOrder)

    \n

    Ordering options for projects returned from the connection.

    \n\n
    \n\n
    \n

    search (String)

    \n

    Query to search projects by, currently only searching by name.

    \n\n
    \n\n
    \n

    states ([ProjectState!])

    \n

    A list of states to filter the projects by.

    \n\n
    \n\n
    \n\n\n

    projectsResourcePath (URI!)

    The HTTP path listing user's projects.

    \n\n\n\n\n\n\n\n\n\n\n\n

    projectsUrl (URI!)

    The HTTP URL listing user's projects.

    \n\n\n\n\n\n\n\n\n\n\n\n

    publicKeys (PublicKeyConnection!)

    A list of public keys associated with this user.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n\n\n

    pullRequests (PullRequestConnection!)

    A list of pull requests associated with this user.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    baseRefName (String)

    \n

    The base ref name to filter the pull requests by.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    headRefName (String)

    \n

    The head ref name to filter the pull requests by.

    \n\n
    \n\n
    \n

    labels ([String!])

    \n

    A list of label names to filter the pull requests by.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (IssueOrder)

    \n

    Ordering options for pull requests returned from the connection.

    \n\n
    \n\n
    \n

    states ([PullRequestState!])

    \n

    A list of states to filter the pull requests by.

    \n\n
    \n\n
    \n\n\n

    registryPackages (RegistryPackageConnection!)

    A list of registry packages under the owner.

    \n\n\n\n\n\n\n
    \n

    Deprecation notice

    \n

    registryPackages is deprecated.

    Renaming GitHub Packages fields and objects. Use the PackageOwner object instead. Removal on 2020-04-01 UTC.

    \n
    \n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    name (String)

    \n

    Find registry package by name.

    \n\n
    \n\n
    \n

    names ([String])

    \n

    Find registry packages by their names.

    \n\n
    \n\n
    \n

    packageType (RegistryPackageType)

    \n

    Filter registry package by type.

    \n\n
    \n\n
    \n

    publicOnly (Boolean)

    \n

    Filter registry package by whether it is publicly visible.

    \n

    The default value is false.

    \n
    \n\n
    \n

    registryPackageType (String)

    \n

    Filter registry package by type (string).

    \n\n
    \n\n
    \n

    repositoryId (ID)

    \n

    Find registry packages in a repository.

    \n\n
    \n\n
    \n\n\n

    registryPackagesForQuery (RegistryPackageConnection!)

    A list of registry packages for a particular search query.

    \n\n\n\n\n\n\n
    \n

    Deprecation notice

    \n

    registryPackagesForQuery is deprecated.

    Renaming GitHub Packages fields and objects. Use the PackageSearch object instead. Removal on 2020-04-01 UTC.

    \n
    \n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    packageType (RegistryPackageType)

    \n

    Filter registry package by type.

    \n\n
    \n\n
    \n

    query (String)

    \n

    Find registry package by search query.

    \n\n
    \n\n
    \n\n\n

    repositories (RepositoryConnection!)

    A list of repositories that the user owns.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    affiliations ([RepositoryAffiliation])

    \n

    Array of viewer's affiliation options for repositories returned from the\nconnection. For example, OWNER will include only repositories that the\ncurrent viewer owns.

    \n\n
    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    isFork (Boolean)

    \n

    If non-null, filters repositories according to whether they are forks of another repository.

    \n\n
    \n\n
    \n

    isLocked (Boolean)

    \n

    If non-null, filters repositories according to whether they have been locked.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (RepositoryOrder)

    \n

    Ordering options for repositories returned from the connection.

    \n\n
    \n\n
    \n

    ownerAffiliations ([RepositoryAffiliation])

    \n

    Array of owner's affiliation options for repositories returned from the\nconnection. For example, OWNER will include only repositories that the\norganization or user being viewed owns.

    \n\n
    \n\n
    \n

    privacy (RepositoryPrivacy)

    \n

    If non-null, filters repositories according to privacy.

    \n\n
    \n\n
    \n\n\n

    repositoriesContributedTo (RepositoryConnection!)

    A list of repositories that the user recently contributed to.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    contributionTypes ([RepositoryContributionType])

    \n

    If non-null, include only the specified types of contributions. The\nGitHub.com UI uses [COMMIT, ISSUE, PULL_REQUEST, REPOSITORY].

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    includeUserRepositories (Boolean)

    \n

    If true, include user repositories.

    \n\n
    \n\n
    \n

    isLocked (Boolean)

    \n

    If non-null, filters repositories according to whether they have been locked.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (RepositoryOrder)

    \n

    Ordering options for repositories returned from the connection.

    \n\n
    \n\n
    \n

    privacy (RepositoryPrivacy)

    \n

    If non-null, filters repositories according to privacy.

    \n\n
    \n\n
    \n\n\n

    repository (Repository)

    Find Repository.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    name (String!)

    \n

    Name of Repository to find.

    \n\n
    \n\n
    \n\n\n

    resourcePath (URI!)

    The HTTP path for this user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    savedReplies (SavedReplyConnection)

    Replies this user has saved.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (SavedReplyOrder)

    \n

    The field to order saved replies by.

    \n\n
    \n\n
    \n\n\n

    sponsorshipsAsMaintainer (SponsorshipConnection!)

    This object's sponsorships as the maintainer.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    includePrivate (Boolean)

    \n

    Whether or not to include private sponsorships in the result set.

    \n

    The default value is false.

    \n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (SponsorshipOrder)

    \n

    Ordering options for sponsorships returned from this connection. If left\nblank, the sponsorships will be ordered based on relevancy to the viewer.

    \n\n
    \n\n
    \n\n\n

    sponsorshipsAsSponsor (SponsorshipConnection!)

    This object's sponsorships as the sponsor.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (SponsorshipOrder)

    \n

    Ordering options for sponsorships returned from this connection. If left\nblank, the sponsorships will be ordered based on relevancy to the viewer.

    \n\n
    \n\n
    \n\n\n

    starredRepositories (StarredRepositoryConnection!)

    Repositories the user has starred.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (StarOrder)

    \n

    Order for connection.

    \n\n
    \n\n
    \n

    ownedByViewer (Boolean)

    \n

    Filters starred repositories to only return repositories owned by the viewer.

    \n\n
    \n\n
    \n\n\n

    status (UserStatus)

    The user's description of what they're currently doing.

    \n\n\n\n\n\n\n\n\n\n\n\n

    suspendedAt (DateTime)

    Identifies the date and time when the user was suspended.

    \n\n\n\n\n\n\n\n\n\n\n\n

    topRepositories (RepositoryConnection!)

    Repositories the user has contributed to, ordered by contribution rank, plus repositories the user has created.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (RepositoryOrder!)

    \n

    Ordering options for repositories returned from the connection.

    \n\n
    \n\n
    \n

    since (DateTime)

    \n

    How far back in time to fetch contributed repositories.

    \n\n
    \n\n
    \n\n\n

    updatedAt (DateTime!)

    Identifies the date and time when the object was last updated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    url (URI!)

    The HTTP URL for this user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerCanChangePinnedItems (Boolean!)

    Can the viewer pin repositories and gists to the profile?.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerCanCreateProjects (Boolean!)

    Can the current viewer create new projects on this owner.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerCanFollow (Boolean!)

    Whether or not the viewer is able to follow the user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerIsFollowing (Boolean!)

    Whether or not this user is followed by the viewer.

    \n\n\n\n\n\n\n\n\n\n\n\n

    watching (RepositoryConnection!)

    A list of repositories the given user is watching.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    affiliations ([RepositoryAffiliation])

    \n

    Affiliation options for repositories returned from the connection. If none\nspecified, the results will include repositories for which the current\nviewer is an owner or collaborator, or member.

    \n\n
    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    isLocked (Boolean)

    \n

    If non-null, filters repositories according to whether they have been locked.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (RepositoryOrder)

    \n

    Ordering options for repositories returned from the connection.

    \n\n
    \n\n
    \n

    ownerAffiliations ([RepositoryAffiliation])

    \n

    Array of owner's affiliation options for repositories returned from the\nconnection. For example, OWNER will include only repositories that the\norganization or user being viewed owns.

    \n\n
    \n\n
    \n

    privacy (RepositoryPrivacy)

    \n

    If non-null, filters repositories according to privacy.

    \n\n
    \n\n
    \n\n\n

    websiteUrl (URI)

    A URL pointing to the user's public website/blog.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n UserBlockedEvent\n

    \n

    Represents auser_blockedevent on a given user.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    actor (Actor)

    Identifies the actor who performed the event.

    \n\n\n\n\n\n\n\n\n\n\n\n

    blockDuration (UserBlockDuration!)

    Number of days that the user was blocked for.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    subject (User)

    The user who was blocked.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n UserConnection\n

    \n

    The connection type for User.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([UserEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([User])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n UserContentEdit\n

    \n

    An edit on user content.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    deletedAt (DateTime)

    Identifies the date and time when the object was deleted.

    \n\n\n\n\n\n\n\n\n\n\n\n

    deletedBy (Actor)

    The actor who deleted this content.

    \n\n\n\n\n\n\n\n\n\n\n\n

    diff (String)

    A summary of the changes for this edit.

    \n\n\n\n\n\n\n\n\n\n\n\n

    editedAt (DateTime!)

    When this content was edited.

    \n\n\n\n\n\n\n\n\n\n\n\n

    editor (Actor)

    The actor who edited this content.

    \n\n\n\n\n\n\n\n\n\n\n\n

    updatedAt (DateTime!)

    Identifies the date and time when the object was last updated.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n UserContentEditConnection\n

    \n

    A list of edits to content.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([UserContentEditEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([UserContentEdit])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n UserContentEditEdge\n

    \n

    An edge in a connection.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (UserContentEdit)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n UserEdge\n

    \n

    Represents a user.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (User)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n UserStatus\n

    \n

    The user's description of what they're currently doing.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    emoji (String)

    An emoji summarizing the user's status.

    \n\n\n\n\n\n\n\n\n\n\n\n

    emojiHTML (HTML)

    The status emoji as HTML.

    \n\n\n\n\n\n\n\n\n\n\n\n

    expiresAt (DateTime)

    If set, the status will not be shown after this date.

    \n\n\n\n\n\n\n\n\n\n\n\n

    id (ID!)

    ID of the object.

    \n\n\n\n\n\n\n\n\n\n\n\n

    indicatesLimitedAvailability (Boolean!)

    Whether this status indicates the user is not fully available on GitHub.

    \n\n\n\n\n\n\n\n\n\n\n\n

    message (String)

    A brief message describing what the user is doing.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organization (Organization)

    The organization whose members can see this status. If null, this status is publicly visible.

    \n\n\n\n\n\n\n\n\n\n\n\n

    updatedAt (DateTime!)

    Identifies the date and time when the object was last updated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    user (User!)

    The user who has this status.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n UserStatusConnection\n

    \n

    The connection type for UserStatus.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([UserStatusEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([UserStatus])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n UserStatusEdge\n

    \n

    An edge in a connection.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (UserStatus)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n ViewerHovercardContext\n

    \n

    A hovercard context with a message describing how the viewer is related.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    message (String!)

    A string describing this context.

    \n\n\n\n\n\n\n\n\n\n\n\n

    octicon (String!)

    An octicon to accompany this context.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewer (User!)

    Identifies the user who is related to this context.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n", - "miniToc": [ - { - "contents": "\n ActorLocation\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n AddedToProjectEvent\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n App\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n AssignedEvent\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n BaseRefChangedEvent\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n BaseRefForcePushedEvent\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n Blame\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n BlameRange\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n Blob\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n Bot\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n BranchProtectionRule\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n BranchProtectionRuleConflict\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n BranchProtectionRuleConflictConnection\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n BranchProtectionRuleConflictEdge\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n BranchProtectionRuleConnection\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n BranchProtectionRuleEdge\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n CheckAnnotation\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n CheckAnnotationConnection\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n CheckAnnotationEdge\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n CheckAnnotationPosition\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n CheckAnnotationSpan\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n CheckRun\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n CheckRunConnection\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n CheckRunEdge\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n CheckSuite\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n CheckSuiteConnection\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n CheckSuiteEdge\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n ClosedEvent\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n CodeOfConduct\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n CommentDeletedEvent\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n Commit\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n CommitComment\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n CommitCommentConnection\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n CommitCommentEdge\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n CommitCommentThread\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n CommitConnection\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n CommitContributionsByRepository\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n CommitEdge\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n CommitHistoryConnection\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n ContentAttachment\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n ContentReference\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n ContributionCalendar\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n ContributionCalendarDay\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n ContributionCalendarMonth\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n ContributionCalendarWeek\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n ContributionsCollection\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n ConvertedNoteToIssueEvent\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n CreatedCommitContribution\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n CreatedCommitContributionConnection\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n CreatedCommitContributionEdge\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n CreatedIssueContribution\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n CreatedIssueContributionConnection\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n CreatedIssueContributionEdge\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n CreatedPullRequestContribution\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n CreatedPullRequestContributionConnection\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n CreatedPullRequestContributionEdge\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n CreatedPullRequestReviewContribution\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n CreatedPullRequestReviewContributionConnection\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n CreatedPullRequestReviewContributionEdge\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n CreatedRepositoryContribution\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n CreatedRepositoryContributionConnection\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n CreatedRepositoryContributionEdge\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n CrossReferencedEvent\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n DemilestonedEvent\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n DeployKey\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n DeployKeyConnection\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n DeployKeyEdge\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n DeployedEvent\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n Deployment\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n DeploymentConnection\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n DeploymentEdge\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n DeploymentEnvironmentChangedEvent\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n DeploymentStatus\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n DeploymentStatusConnection\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n DeploymentStatusEdge\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n Enterprise\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n EnterpriseAdministratorConnection\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n EnterpriseAdministratorEdge\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n EnterpriseAdministratorInvitation\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n EnterpriseAdministratorInvitationConnection\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n EnterpriseAdministratorInvitationEdge\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n EnterpriseBillingInfo\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n EnterpriseIdentityProvider\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n EnterpriseMemberConnection\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n EnterpriseMemberEdge\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n EnterpriseOrganizationMembershipConnection\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n EnterpriseOrganizationMembershipEdge\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n EnterpriseOutsideCollaboratorConnection\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n EnterpriseOutsideCollaboratorEdge\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n EnterpriseOwnerInfo\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n EnterprisePendingCollaboratorConnection\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n EnterprisePendingCollaboratorEdge\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n EnterprisePendingMemberInvitationConnection\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n EnterprisePendingMemberInvitationEdge\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n EnterpriseRepositoryInfo\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n EnterpriseRepositoryInfoConnection\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n EnterpriseRepositoryInfoEdge\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n EnterpriseServerInstallation\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n EnterpriseServerUserAccount\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n EnterpriseServerUserAccountConnection\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n EnterpriseServerUserAccountEdge\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n EnterpriseServerUserAccountEmail\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n EnterpriseServerUserAccountEmailConnection\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n EnterpriseServerUserAccountEmailEdge\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n EnterpriseServerUserAccountsUpload\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n EnterpriseServerUserAccountsUploadConnection\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n EnterpriseServerUserAccountsUploadEdge\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n EnterpriseUserAccount\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n EnterpriseUserAccountConnection\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n EnterpriseUserAccountEdge\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n ExternalIdentity\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n ExternalIdentityConnection\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n ExternalIdentityEdge\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n ExternalIdentitySamlAttributes\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n ExternalIdentityScimAttributes\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n FollowerConnection\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n FollowingConnection\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n GenericHovercardContext\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n Gist\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n GistComment\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n GistCommentConnection\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n GistCommentEdge\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n GistConnection\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n GistEdge\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n GistFile\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n GitActor\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n GitHubMetadata\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n GpgSignature\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n HeadRefDeletedEvent\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n HeadRefForcePushedEvent\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n HeadRefRestoredEvent\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n Hovercard\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n Issue\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n IssueComment\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n IssueCommentConnection\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n IssueCommentEdge\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n IssueConnection\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n IssueContributionsByRepository\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n IssueEdge\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n IssueTimelineConnection\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n IssueTimelineItemEdge\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n IssueTimelineItemsConnection\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n IssueTimelineItemsEdge\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n JoinedGitHubContribution\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n Label\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n LabelConnection\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n LabelEdge\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n LabeledEvent\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n Language\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n LanguageConnection\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n LanguageEdge\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n License\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n LicenseRule\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n LockedEvent\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n Mannequin\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n MarkedAsDuplicateEvent\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n MembersCanDeleteReposClearAuditEntry\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n MembersCanDeleteReposDisableAuditEntry\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n MembersCanDeleteReposEnableAuditEntry\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n MentionedEvent\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n MergedEvent\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n Milestone\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n MilestoneConnection\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n MilestoneEdge\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n MilestonedEvent\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n MovedColumnsInProjectEvent\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n OauthApplicationCreateAuditEntry\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n OrgAddBillingManagerAuditEntry\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n OrgAddMemberAuditEntry\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n OrgBlockUserAuditEntry\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n OrgConfigDisableCollaboratorsOnlyAuditEntry\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n OrgConfigEnableCollaboratorsOnlyAuditEntry\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n OrgCreateAuditEntry\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n OrgDisableOauthAppRestrictionsAuditEntry\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n OrgDisableSamlAuditEntry\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n OrgDisableTwoFactorRequirementAuditEntry\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n OrgEnableOauthAppRestrictionsAuditEntry\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n OrgEnableSamlAuditEntry\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n OrgEnableTwoFactorRequirementAuditEntry\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n OrgInviteMemberAuditEntry\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n OrgInviteToBusinessAuditEntry\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n OrgOauthAppAccessApprovedAuditEntry\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n OrgOauthAppAccessDeniedAuditEntry\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n OrgOauthAppAccessRequestedAuditEntry\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n OrgRemoveBillingManagerAuditEntry\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n OrgRemoveMemberAuditEntry\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n OrgRemoveOutsideCollaboratorAuditEntry\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n OrgRestoreMemberAuditEntry\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n OrgRestoreMemberMembershipOrganizationAuditEntryData\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n OrgRestoreMemberMembershipRepositoryAuditEntryData\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n OrgRestoreMemberMembershipTeamAuditEntryData\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n OrgUnblockUserAuditEntry\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n OrgUpdateDefaultRepositoryPermissionAuditEntry\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n OrgUpdateMemberAuditEntry\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n OrgUpdateMemberRepositoryCreationPermissionAuditEntry\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n OrgUpdateMemberRepositoryInvitationPermissionAuditEntry\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n Organization\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n OrganizationAuditEntryConnection\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n OrganizationAuditEntryEdge\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n OrganizationConnection\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n OrganizationEdge\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n OrganizationIdentityProvider\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n OrganizationInvitation\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n OrganizationInvitationConnection\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n OrganizationInvitationEdge\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n OrganizationMemberConnection\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n OrganizationMemberEdge\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n OrganizationTeamsHovercardContext\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n OrganizationsHovercardContext\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n Package\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n PackageConnection\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n PackageEdge\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n PackageFile\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n PackageFileConnection\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n PackageFileEdge\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n PackageStatistics\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n PackageTag\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n PackageVersion\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n PackageVersionConnection\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n PackageVersionEdge\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n PackageVersionStatistics\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n PageInfo\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n PermissionSource\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n PinnableItemConnection\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n PinnableItemEdge\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n PinnedEvent\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n PinnedIssue\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n PinnedIssueConnection\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n PinnedIssueEdge\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n PrivateRepositoryForkingDisableAuditEntry\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n PrivateRepositoryForkingEnableAuditEntry\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n ProfileItemShowcase\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n Project\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n ProjectCard\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n ProjectCardConnection\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n ProjectCardEdge\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n ProjectColumn\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n ProjectColumnConnection\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n ProjectColumnEdge\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n ProjectConnection\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n ProjectEdge\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n PublicKey\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n PublicKeyConnection\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n PublicKeyEdge\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n PullRequest\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n PullRequestChangedFile\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n PullRequestChangedFileConnection\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n PullRequestChangedFileEdge\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n PullRequestCommit\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n PullRequestCommitCommentThread\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n PullRequestCommitConnection\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n PullRequestCommitEdge\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n PullRequestConnection\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n PullRequestContributionsByRepository\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n PullRequestEdge\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n PullRequestReview\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n PullRequestReviewComment\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n PullRequestReviewCommentConnection\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n PullRequestReviewCommentEdge\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n PullRequestReviewConnection\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n PullRequestReviewContributionsByRepository\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n PullRequestReviewEdge\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n PullRequestReviewThread\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n PullRequestReviewThreadConnection\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n PullRequestReviewThreadEdge\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n PullRequestRevisionMarker\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n PullRequestTimelineConnection\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n PullRequestTimelineItemEdge\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n PullRequestTimelineItemsConnection\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n PullRequestTimelineItemsEdge\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n Push\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n PushAllowance\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n PushAllowanceConnection\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n PushAllowanceEdge\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n RateLimit\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n ReactingUserConnection\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n ReactingUserEdge\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n Reaction\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n ReactionConnection\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n ReactionEdge\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n ReactionGroup\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n ReadyForReviewEvent\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n Ref\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n RefConnection\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n RefEdge\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n ReferencedEvent\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n RegistryPackage\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n RegistryPackageConnection\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n RegistryPackageDependency\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n RegistryPackageDependencyConnection\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n RegistryPackageDependencyEdge\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n RegistryPackageEdge\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n RegistryPackageFile\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n RegistryPackageFileConnection\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n RegistryPackageFileEdge\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n RegistryPackageStatistics\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n RegistryPackageTag\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n RegistryPackageTagConnection\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n RegistryPackageTagEdge\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n RegistryPackageVersion\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n RegistryPackageVersionConnection\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n RegistryPackageVersionEdge\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n RegistryPackageVersionStatistics\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n Release\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n ReleaseAsset\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n ReleaseAssetConnection\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n ReleaseAssetEdge\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n ReleaseConnection\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n ReleaseEdge\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n RemovedFromProjectEvent\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n RenamedTitleEvent\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n ReopenedEvent\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n RepoAccessAuditEntry\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n RepoAddMemberAuditEntry\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n RepoAddTopicAuditEntry\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n RepoArchivedAuditEntry\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n RepoChangeMergeSettingAuditEntry\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n RepoConfigDisableAnonymousGitAccessAuditEntry\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n RepoConfigDisableCollaboratorsOnlyAuditEntry\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n RepoConfigDisableContributorsOnlyAuditEntry\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n RepoConfigDisableSockpuppetDisallowedAuditEntry\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n RepoConfigEnableAnonymousGitAccessAuditEntry\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n RepoConfigEnableCollaboratorsOnlyAuditEntry\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n RepoConfigEnableContributorsOnlyAuditEntry\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n RepoConfigEnableSockpuppetDisallowedAuditEntry\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n RepoConfigLockAnonymousGitAccessAuditEntry\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n RepoConfigUnlockAnonymousGitAccessAuditEntry\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n RepoCreateAuditEntry\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n RepoDestroyAuditEntry\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n RepoRemoveMemberAuditEntry\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n RepoRemoveTopicAuditEntry\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n Repository\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n RepositoryCollaboratorConnection\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n RepositoryCollaboratorEdge\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n RepositoryConnection\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n RepositoryEdge\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n RepositoryInvitation\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n RepositoryTopic\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n RepositoryTopicConnection\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n RepositoryTopicEdge\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n RepositoryVisibilityChangeDisableAuditEntry\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n RepositoryVisibilityChangeEnableAuditEntry\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n RepositoryVulnerabilityAlert\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n RepositoryVulnerabilityAlertConnection\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n RepositoryVulnerabilityAlertEdge\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n RestrictedContribution\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n ReviewDismissalAllowance\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n ReviewDismissalAllowanceConnection\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n ReviewDismissalAllowanceEdge\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n ReviewDismissedEvent\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n ReviewRequest\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n ReviewRequestConnection\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n ReviewRequestEdge\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n ReviewRequestRemovedEvent\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n ReviewRequestedEvent\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n ReviewStatusHovercardContext\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n SavedReply\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n SavedReplyConnection\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n SavedReplyEdge\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n SearchResultItemConnection\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n SearchResultItemEdge\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n SecurityAdvisory\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n SecurityAdvisoryConnection\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n SecurityAdvisoryEdge\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n SecurityAdvisoryIdentifier\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n SecurityAdvisoryPackage\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n SecurityAdvisoryPackageVersion\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n SecurityAdvisoryReference\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n SecurityVulnerability\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n SecurityVulnerabilityConnection\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n SecurityVulnerabilityEdge\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n SmimeSignature\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n Sponsorship\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n SponsorshipConnection\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n SponsorshipEdge\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n StargazerConnection\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n StargazerEdge\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n StarredRepositoryConnection\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n StarredRepositoryEdge\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n Status\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n StatusContext\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n SubscribedEvent\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n SuggestedReviewer\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n Tag\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n Team\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n TeamAddMemberAuditEntry\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n TeamAddRepositoryAuditEntry\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n TeamChangeParentTeamAuditEntry\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n TeamConnection\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n TeamDiscussion\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n TeamDiscussionComment\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n TeamDiscussionCommentConnection\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n TeamDiscussionCommentEdge\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n TeamDiscussionConnection\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n TeamDiscussionEdge\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n TeamEdge\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n TeamMemberConnection\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n TeamMemberEdge\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n TeamRemoveMemberAuditEntry\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n TeamRemoveRepositoryAuditEntry\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n TeamRepositoryConnection\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n TeamRepositoryEdge\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n TextMatch\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n TextMatchHighlight\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n Topic\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n TopicConnection\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n TopicEdge\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n TransferredEvent\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n Tree\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n TreeEntry\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n UnassignedEvent\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n UnknownSignature\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n UnlabeledEvent\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n UnlockedEvent\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n UnpinnedEvent\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n UnsubscribedEvent\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n User\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n UserBlockedEvent\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n UserConnection\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n UserContentEdit\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n UserContentEditConnection\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n UserContentEditEdge\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n UserEdge\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n UserStatus\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n UserStatusConnection\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n UserStatusEdge\n ", - "headingLevel": 3, - "indentationLevel": 0 - }, - { - "contents": "\n ViewerHovercardContext\n ", - "headingLevel": 3, - "indentationLevel": 0 - } - ] - }, "ghae": { - "html": "
    \n
    \n

    \n ActorLocation\n

    \n

    Location information for an actor.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    city (String)

    City.

    \n\n\n\n\n\n\n\n\n\n\n\n

    country (String)

    Country name.

    \n\n\n\n\n\n\n\n\n\n\n\n

    countryCode (String)

    Country code.

    \n\n\n\n\n\n\n\n\n\n\n\n

    region (String)

    Region name.

    \n\n\n\n\n\n\n\n\n\n\n\n

    regionCode (String)

    Region or state code.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n AddedToProjectEvent\n

    \n

    Represents aadded_to_projectevent on a given issue or pull request.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    actor (Actor)

    Identifies the actor who performed the event.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    databaseId (Int)

    Identifies the primary key from the database.

    \n\n\n\n\n\n\n\n\n\n\n\n

    project (Project)

    Project referenced by event.

    \n\n\n\n\n
    \n

    Preview notice

    \n

    project is available under the Project event details preview. During the preview period, the API may change without notice.

    \n
    \n\n\n\n\n\n\n\n\n

    projectCard (ProjectCard)

    Project card referenced by this project event.

    \n\n\n\n\n
    \n

    Preview notice

    \n

    projectCard is available under the Project event details preview. During the preview period, the API may change without notice.

    \n
    \n\n\n\n\n\n\n\n\n

    projectColumnName (String!)

    Column name referenced by this project event.

    \n\n\n\n\n
    \n

    Preview notice

    \n

    projectColumnName is available under the Project event details preview. During the preview period, the API may change without notice.

    \n
    \n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n App\n

    \n

    A GitHub App.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    databaseId (Int)

    Identifies the primary key from the database.

    \n\n\n\n\n\n\n\n\n\n\n\n

    description (String)

    The description of the app.

    \n\n\n\n\n\n\n\n\n\n\n\n

    logoBackgroundColor (String!)

    The hex color code, without the leading '#', for the logo background.

    \n\n\n\n\n\n\n\n\n\n\n\n

    logoUrl (URI!)

    A URL pointing to the app's logo.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    size (Int)

    \n

    The size of the resulting image.

    \n\n
    \n\n
    \n\n\n

    name (String!)

    The name of the app.

    \n\n\n\n\n\n\n\n\n\n\n\n

    slug (String!)

    A slug based on the name of the app for use in URLs.

    \n\n\n\n\n\n\n\n\n\n\n\n

    updatedAt (DateTime!)

    Identifies the date and time when the object was last updated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    url (URI!)

    The URL to the app's homepage.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n AssignedEvent\n

    \n

    Represents anassignedevent on any assignable object.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    actor (Actor)

    Identifies the actor who performed the event.

    \n\n\n\n\n\n\n\n\n\n\n\n

    assignable (Assignable!)

    Identifies the assignable associated with the event.

    \n\n\n\n\n\n\n\n\n\n\n\n

    assignee (Assignee)

    Identifies the user or mannequin that was assigned.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    user (User)

    Identifies the user who was assigned.

    \n\n\n\n\n\n\n
    \n

    Deprecation notice

    \n

    user is deprecated.

    Assignees can now be mannequins. Use the assignee field instead. Removal on 2020-01-01 UTC.

    \n
    \n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n AutoMergeDisabledEvent\n

    \n

    Represents aauto_merge_disabledevent on a given pull request.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    actor (Actor)

    Identifies the actor who performed the event.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    disabler (User)

    The user who disabled auto-merge for this Pull Request.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pullRequest (PullRequest)

    PullRequest referenced by event.

    \n\n\n\n\n\n\n\n\n\n\n\n

    reason (String)

    The reason auto-merge was disabled.

    \n\n\n\n\n\n\n\n\n\n\n\n

    reasonCode (String)

    The reason_code relating to why auto-merge was disabled.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n AutoMergeEnabledEvent\n

    \n

    Represents aauto_merge_enabledevent on a given pull request.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    actor (Actor)

    Identifies the actor who performed the event.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    enabler (User)

    The user who enabled auto-merge for this Pull Request.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pullRequest (PullRequest)

    PullRequest referenced by event.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n AutoMergeRequest\n

    \n

    Represents an auto-merge request for a pull request.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    authorEmail (String)

    The email address of the author of this auto-merge request.

    \n\n\n\n\n\n\n\n\n\n\n\n

    commitBody (String)

    The commit message of the auto-merge request.

    \n\n\n\n\n\n\n\n\n\n\n\n

    commitHeadline (String)

    The commit title of the auto-merge request.

    \n\n\n\n\n\n\n\n\n\n\n\n

    enabledAt (DateTime)

    When was this auto-merge request was enabled.

    \n\n\n\n\n\n\n\n\n\n\n\n

    enabledBy (Actor)

    The actor who created the auto-merge request.

    \n\n\n\n\n\n\n\n\n\n\n\n

    mergeMethod (PullRequestMergeMethod!)

    The merge method of the auto-merge request.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pullRequest (PullRequest!)

    The pull request that this auto-merge request is set against.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n AutoRebaseEnabledEvent\n

    \n

    Represents aauto_rebase_enabledevent on a given pull request.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    actor (Actor)

    Identifies the actor who performed the event.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    enabler (User)

    The user who enabled auto-merge (rebase) for this Pull Request.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pullRequest (PullRequest)

    PullRequest referenced by event.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n AutoSquashEnabledEvent\n

    \n

    Represents aauto_squash_enabledevent on a given pull request.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    actor (Actor)

    Identifies the actor who performed the event.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    enabler (User)

    The user who enabled auto-merge (squash) for this Pull Request.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pullRequest (PullRequest)

    PullRequest referenced by event.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n AutomaticBaseChangeFailedEvent\n

    \n

    Represents aautomatic_base_change_failedevent on a given pull request.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    actor (Actor)

    Identifies the actor who performed the event.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    newBase (String!)

    The new base for this PR.

    \n\n\n\n\n\n\n\n\n\n\n\n

    oldBase (String!)

    The old base for this PR.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pullRequest (PullRequest!)

    PullRequest referenced by event.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n AutomaticBaseChangeSucceededEvent\n

    \n

    Represents aautomatic_base_change_succeededevent on a given pull request.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    actor (Actor)

    Identifies the actor who performed the event.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    newBase (String!)

    The new base for this PR.

    \n\n\n\n\n\n\n\n\n\n\n\n

    oldBase (String!)

    The old base for this PR.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pullRequest (PullRequest!)

    PullRequest referenced by event.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n BaseRefChangedEvent\n

    \n

    Represents abase_ref_changedevent on a given issue or pull request.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    actor (Actor)

    Identifies the actor who performed the event.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    currentRefName (String!)

    Identifies the name of the base ref for the pull request after it was changed.

    \n\n\n\n\n\n\n\n\n\n\n\n

    databaseId (Int)

    Identifies the primary key from the database.

    \n\n\n\n\n\n\n\n\n\n\n\n

    previousRefName (String!)

    Identifies the name of the base ref for the pull request before it was changed.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pullRequest (PullRequest!)

    PullRequest referenced by event.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n BaseRefDeletedEvent\n

    \n

    Represents abase_ref_deletedevent on a given pull request.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    actor (Actor)

    Identifies the actor who performed the event.

    \n\n\n\n\n\n\n\n\n\n\n\n

    baseRefName (String)

    Identifies the name of the Ref associated with the base_ref_deleted event.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pullRequest (PullRequest)

    PullRequest referenced by event.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n BaseRefForcePushedEvent\n

    \n

    Represents abase_ref_force_pushedevent on a given pull request.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    actor (Actor)

    Identifies the actor who performed the event.

    \n\n\n\n\n\n\n\n\n\n\n\n

    afterCommit (Commit)

    Identifies the after commit SHA for thebase_ref_force_pushedevent.

    \n\n\n\n\n\n\n\n\n\n\n\n

    beforeCommit (Commit)

    Identifies the before commit SHA for thebase_ref_force_pushedevent.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pullRequest (PullRequest!)

    PullRequest referenced by event.

    \n\n\n\n\n\n\n\n\n\n\n\n

    ref (Ref)

    Identifies the fully qualified ref name for thebase_ref_force_pushedevent.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n Blame\n

    \n

    Represents a Git blame.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    ranges ([BlameRange!]!)

    The list of ranges from a Git blame.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n BlameRange\n

    \n

    Represents a range of information from a Git blame.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    age (Int!)

    Identifies the recency of the change, from 1 (new) to 10 (old). This is\ncalculated as a 2-quantile and determines the length of distance between the\nmedian age of all the changes in the file and the recency of the current\nrange's change.

    \n\n\n\n\n\n\n\n\n\n\n\n

    commit (Commit!)

    Identifies the line author.

    \n\n\n\n\n\n\n\n\n\n\n\n

    endingLine (Int!)

    The ending line for the range.

    \n\n\n\n\n\n\n\n\n\n\n\n

    startingLine (Int!)

    The starting line for the range.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n Blob\n

    \n

    Represents a Git blob.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    abbreviatedOid (String!)

    An abbreviated version of the Git object ID.

    \n\n\n\n\n\n\n\n\n\n\n\n

    byteSize (Int!)

    Byte size of Blob object.

    \n\n\n\n\n\n\n\n\n\n\n\n

    commitResourcePath (URI!)

    The HTTP path for this Git object.

    \n\n\n\n\n\n\n\n\n\n\n\n

    commitUrl (URI!)

    The HTTP URL for this Git object.

    \n\n\n\n\n\n\n\n\n\n\n\n

    isBinary (Boolean)

    Indicates whether the Blob is binary or text. Returns null if unable to determine the encoding.

    \n\n\n\n\n\n\n\n\n\n\n\n

    isTruncated (Boolean!)

    Indicates whether the contents is truncated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    oid (GitObjectID!)

    The Git object ID.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repository (Repository!)

    The Repository the Git object belongs to.

    \n\n\n\n\n\n\n\n\n\n\n\n

    text (String)

    UTF8 text data or null if the Blob is binary.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n Bot\n

    \n

    A special type of user which takes actions on behalf of GitHub Apps.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    avatarUrl (URI!)

    A URL pointing to the GitHub App's public avatar.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    size (Int)

    \n

    The size of the resulting square image.

    \n\n
    \n\n
    \n\n\n

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    databaseId (Int)

    Identifies the primary key from the database.

    \n\n\n\n\n\n\n\n\n\n\n\n

    login (String!)

    The username of the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    resourcePath (URI!)

    The HTTP path for this bot.

    \n\n\n\n\n\n\n\n\n\n\n\n

    updatedAt (DateTime!)

    Identifies the date and time when the object was last updated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    url (URI!)

    The HTTP URL for this bot.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n BranchProtectionRule\n

    \n

    A branch protection rule.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    allowsDeletions (Boolean!)

    Can this branch be deleted.

    \n\n\n\n\n\n\n\n\n\n\n\n

    allowsForcePushes (Boolean!)

    Are force pushes allowed on this branch.

    \n\n\n\n\n\n\n\n\n\n\n\n

    branchProtectionRuleConflicts (BranchProtectionRuleConflictConnection!)

    A list of conflicts matching branches protection rule and other branch protection rules.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n\n\n

    creator (Actor)

    The actor who created this branch protection rule.

    \n\n\n\n\n\n\n\n\n\n\n\n

    databaseId (Int)

    Identifies the primary key from the database.

    \n\n\n\n\n\n\n\n\n\n\n\n

    dismissesStaleReviews (Boolean!)

    Will new commits pushed to matching branches dismiss pull request review approvals.

    \n\n\n\n\n\n\n\n\n\n\n\n

    isAdminEnforced (Boolean!)

    Can admins overwrite branch protection.

    \n\n\n\n\n\n\n\n\n\n\n\n

    matchingRefs (RefConnection!)

    Repository refs that are protected by this rule.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    query (String)

    \n

    Filters refs with query on name.

    \n\n
    \n\n
    \n\n\n

    pattern (String!)

    Identifies the protection rule pattern.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pushAllowances (PushAllowanceConnection!)

    A list push allowances for this branch protection rule.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n\n\n

    repository (Repository)

    The repository associated with this branch protection rule.

    \n\n\n\n\n\n\n\n\n\n\n\n

    requiredApprovingReviewCount (Int)

    Number of approving reviews required to update matching branches.

    \n\n\n\n\n\n\n\n\n\n\n\n

    requiredStatusCheckContexts ([String])

    List of required status check contexts that must pass for commits to be accepted to matching branches.

    \n\n\n\n\n\n\n\n\n\n\n\n

    requiresApprovingReviews (Boolean!)

    Are approving reviews required to update matching branches.

    \n\n\n\n\n\n\n\n\n\n\n\n

    requiresCodeOwnerReviews (Boolean!)

    Are reviews from code owners required to update matching branches.

    \n\n\n\n\n\n\n\n\n\n\n\n

    requiresCommitSignatures (Boolean!)

    Are commits required to be signed.

    \n\n\n\n\n\n\n\n\n\n\n\n

    requiresLinearHistory (Boolean!)

    Are merge commits prohibited from being pushed to this branch.

    \n\n\n\n\n\n\n\n\n\n\n\n

    requiresStatusChecks (Boolean!)

    Are status checks required to update matching branches.

    \n\n\n\n\n\n\n\n\n\n\n\n

    requiresStrictStatusChecks (Boolean!)

    Are branches required to be up to date before merging.

    \n\n\n\n\n\n\n\n\n\n\n\n

    restrictsPushes (Boolean!)

    Is pushing to matching branches restricted.

    \n\n\n\n\n\n\n\n\n\n\n\n

    restrictsReviewDismissals (Boolean!)

    Is dismissal of pull request reviews restricted.

    \n\n\n\n\n\n\n\n\n\n\n\n

    reviewDismissalAllowances (ReviewDismissalAllowanceConnection!)

    A list review dismissal allowances for this branch protection rule.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n BranchProtectionRuleConflict\n

    \n

    A conflict between two branch protection rules.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    branchProtectionRule (BranchProtectionRule)

    Identifies the branch protection rule.

    \n\n\n\n\n\n\n\n\n\n\n\n

    conflictingBranchProtectionRule (BranchProtectionRule)

    Identifies the conflicting branch protection rule.

    \n\n\n\n\n\n\n\n\n\n\n\n

    ref (Ref)

    Identifies the branch ref that has conflicting rules.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n BranchProtectionRuleConflictConnection\n

    \n

    The connection type for BranchProtectionRuleConflict.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([BranchProtectionRuleConflictEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([BranchProtectionRuleConflict])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n BranchProtectionRuleConflictEdge\n

    \n

    An edge in a connection.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (BranchProtectionRuleConflict)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n BranchProtectionRuleConnection\n

    \n

    The connection type for BranchProtectionRule.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([BranchProtectionRuleEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([BranchProtectionRule])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n BranchProtectionRuleEdge\n

    \n

    An edge in a connection.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (BranchProtectionRule)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n CVSS\n

    \n

    The Common Vulnerability Scoring System.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    score (Float!)

    The CVSS score associated with this advisory.

    \n\n\n\n\n\n\n\n\n\n\n\n

    vectorString (String)

    The CVSS vector string associated with this advisory.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n CWE\n

    \n

    A common weakness enumeration.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cweId (String!)

    The id of the CWE.

    \n\n\n\n\n\n\n\n\n\n\n\n

    description (String!)

    A detailed description of this CWE.

    \n\n\n\n\n\n\n\n\n\n\n\n

    id (ID!)

    ID of the object.

    \n\n\n\n\n\n\n\n\n\n\n\n

    name (String!)

    The name of this CWE.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n CWEConnection\n

    \n

    The connection type for CWE.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([CWEEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([CWE])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n CWEEdge\n

    \n

    An edge in a connection.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (CWE)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n CheckAnnotation\n

    \n

    A single check annotation.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    annotationLevel (CheckAnnotationLevel)

    The annotation's severity level.

    \n\n\n\n\n\n\n\n\n\n\n\n

    blobUrl (URI!)

    The path to the file that this annotation was made on.

    \n\n\n\n\n\n\n\n\n\n\n\n

    databaseId (Int)

    Identifies the primary key from the database.

    \n\n\n\n\n\n\n\n\n\n\n\n

    location (CheckAnnotationSpan!)

    The position of this annotation.

    \n\n\n\n\n\n\n\n\n\n\n\n

    message (String!)

    The annotation's message.

    \n\n\n\n\n\n\n\n\n\n\n\n

    path (String!)

    The path that this annotation was made on.

    \n\n\n\n\n\n\n\n\n\n\n\n

    rawDetails (String)

    Additional information about the annotation.

    \n\n\n\n\n\n\n\n\n\n\n\n

    title (String)

    The annotation's title.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n CheckAnnotationConnection\n

    \n

    The connection type for CheckAnnotation.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([CheckAnnotationEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([CheckAnnotation])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n CheckAnnotationEdge\n

    \n

    An edge in a connection.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (CheckAnnotation)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n CheckAnnotationPosition\n

    \n

    A character position in a check annotation.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    column (Int)

    Column number (1 indexed).

    \n\n\n\n\n\n\n\n\n\n\n\n

    line (Int!)

    Line number (1 indexed).

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n CheckAnnotationSpan\n

    \n

    An inclusive pair of positions for a check annotation.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    end (CheckAnnotationPosition!)

    End position (inclusive).

    \n\n\n\n\n\n\n\n\n\n\n\n

    start (CheckAnnotationPosition!)

    Start position (inclusive).

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n CheckRun\n

    \n

    A check run.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    annotations (CheckAnnotationConnection)

    The check run's annotations.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n\n\n

    checkSuite (CheckSuite!)

    The check suite that this run is a part of.

    \n\n\n\n\n\n\n\n\n\n\n\n

    completedAt (DateTime)

    Identifies the date and time when the check run was completed.

    \n\n\n\n\n\n\n\n\n\n\n\n

    conclusion (CheckConclusionState)

    The conclusion of the check run.

    \n\n\n\n\n\n\n\n\n\n\n\n

    databaseId (Int)

    Identifies the primary key from the database.

    \n\n\n\n\n\n\n\n\n\n\n\n

    detailsUrl (URI)

    The URL from which to find full details of the check run on the integrator's site.

    \n\n\n\n\n\n\n\n\n\n\n\n

    externalId (String)

    A reference for the check run on the integrator's system.

    \n\n\n\n\n\n\n\n\n\n\n\n

    name (String!)

    The name of the check for this check run.

    \n\n\n\n\n\n\n\n\n\n\n\n

    permalink (URI!)

    The permalink to the check run summary.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repository (Repository!)

    The repository associated with this check run.

    \n\n\n\n\n\n\n\n\n\n\n\n

    resourcePath (URI!)

    The HTTP path for this check run.

    \n\n\n\n\n\n\n\n\n\n\n\n

    startedAt (DateTime)

    Identifies the date and time when the check run was started.

    \n\n\n\n\n\n\n\n\n\n\n\n

    status (CheckStatusState!)

    The current status of the check run.

    \n\n\n\n\n\n\n\n\n\n\n\n

    summary (String)

    A string representing the check run's summary.

    \n\n\n\n\n\n\n\n\n\n\n\n

    text (String)

    A string representing the check run's text.

    \n\n\n\n\n\n\n\n\n\n\n\n

    title (String)

    A string representing the check run.

    \n\n\n\n\n\n\n\n\n\n\n\n

    url (URI!)

    The HTTP URL for this check run.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n CheckRunConnection\n

    \n

    The connection type for CheckRun.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([CheckRunEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([CheckRun])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n CheckRunEdge\n

    \n

    An edge in a connection.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (CheckRun)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n CheckSuite\n

    \n

    A check suite.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    app (App)

    The GitHub App which created this check suite.

    \n\n\n\n\n\n\n\n\n\n\n\n

    branch (Ref)

    The name of the branch for this check suite.

    \n\n\n\n\n\n\n\n\n\n\n\n

    checkRuns (CheckRunConnection)

    The check runs associated with a check suite.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    filterBy (CheckRunFilter)

    \n

    Filters the check runs by this type.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n\n\n

    commit (Commit!)

    The commit for this check suite.

    \n\n\n\n\n\n\n\n\n\n\n\n

    conclusion (CheckConclusionState)

    The conclusion of this check suite.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    databaseId (Int)

    Identifies the primary key from the database.

    \n\n\n\n\n\n\n\n\n\n\n\n

    matchingPullRequests (PullRequestConnection)

    A list of open pull requests matching the check suite.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    baseRefName (String)

    \n

    The base ref name to filter the pull requests by.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    headRefName (String)

    \n

    The head ref name to filter the pull requests by.

    \n\n
    \n\n
    \n

    labels ([String!])

    \n

    A list of label names to filter the pull requests by.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (IssueOrder)

    \n

    Ordering options for pull requests returned from the connection.

    \n\n
    \n\n
    \n

    states ([PullRequestState!])

    \n

    A list of states to filter the pull requests by.

    \n\n
    \n\n
    \n\n\n

    push (Push)

    The push that triggered this check suite.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repository (Repository!)

    The repository associated with this check suite.

    \n\n\n\n\n\n\n\n\n\n\n\n

    resourcePath (URI!)

    The HTTP path for this check suite.

    \n\n\n\n\n\n\n\n\n\n\n\n

    status (CheckStatusState!)

    The status of this check suite.

    \n\n\n\n\n\n\n\n\n\n\n\n

    updatedAt (DateTime!)

    Identifies the date and time when the object was last updated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    url (URI!)

    The HTTP URL for this check suite.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n CheckSuiteConnection\n

    \n

    The connection type for CheckSuite.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([CheckSuiteEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([CheckSuite])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n CheckSuiteEdge\n

    \n

    An edge in a connection.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (CheckSuite)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n ClosedEvent\n

    \n

    Represents aclosedevent on any Closable.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    actor (Actor)

    Identifies the actor who performed the event.

    \n\n\n\n\n\n\n\n\n\n\n\n

    closable (Closable!)

    Object that was closed.

    \n\n\n\n\n\n\n\n\n\n\n\n

    closer (Closer)

    Object which triggered the creation of this event.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    resourcePath (URI!)

    The HTTP path for this closed event.

    \n\n\n\n\n\n\n\n\n\n\n\n

    url (URI!)

    The HTTP URL for this closed event.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n CodeOfConduct\n

    \n

    The Code of Conduct for a repository.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    body (String)

    The body of the Code of Conduct.

    \n\n\n\n\n\n\n\n\n\n\n\n

    key (String!)

    The key for the Code of Conduct.

    \n\n\n\n\n\n\n\n\n\n\n\n

    name (String!)

    The formal name of the Code of Conduct.

    \n\n\n\n\n\n\n\n\n\n\n\n

    resourcePath (URI)

    The HTTP path for this Code of Conduct.

    \n\n\n\n\n\n\n\n\n\n\n\n

    url (URI)

    The HTTP URL for this Code of Conduct.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n CommentDeletedEvent\n

    \n

    Represents acomment_deletedevent on a given issue or pull request.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    actor (Actor)

    Identifies the actor who performed the event.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    databaseId (Int)

    Identifies the primary key from the database.

    \n\n\n\n\n\n\n\n\n\n\n\n

    deletedCommentAuthor (Actor)

    The user who authored the deleted comment.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n Commit\n

    \n

    Represents a Git commit.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    abbreviatedOid (String!)

    An abbreviated version of the Git object ID.

    \n\n\n\n\n\n\n\n\n\n\n\n

    additions (Int!)

    The number of additions in this commit.

    \n\n\n\n\n\n\n\n\n\n\n\n

    associatedPullRequests (PullRequestConnection)

    The pull requests associated with a commit.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (PullRequestOrder)

    \n

    Ordering options for pull requests.

    \n\n
    \n\n
    \n\n\n

    author (GitActor)

    Authorship details of the commit.

    \n\n\n\n\n\n\n\n\n\n\n\n

    authoredByCommitter (Boolean!)

    Check if the committer and the author match.

    \n\n\n\n\n\n\n\n\n\n\n\n

    authoredDate (DateTime!)

    The datetime when this commit was authored.

    \n\n\n\n\n\n\n\n\n\n\n\n

    authors (GitActorConnection!)

    The list of authors for this commit based on the git author and the Co-authored-by\nmessage trailer. The git author will always be first.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n\n\n

    blame (Blame!)

    Fetches git blame information.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    path (String!)

    \n

    The file whose Git blame information you want.

    \n\n
    \n\n
    \n\n\n

    changedFiles (Int!)

    The number of changed files in this commit.

    \n\n\n\n\n\n\n\n\n\n\n\n

    checkSuites (CheckSuiteConnection)

    The check suites associated with a commit.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    filterBy (CheckSuiteFilter)

    \n

    Filters the check suites by this type.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n\n\n

    comments (CommitCommentConnection!)

    Comments made on the commit.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n\n\n

    commitResourcePath (URI!)

    The HTTP path for this Git object.

    \n\n\n\n\n\n\n\n\n\n\n\n

    commitUrl (URI!)

    The HTTP URL for this Git object.

    \n\n\n\n\n\n\n\n\n\n\n\n

    committedDate (DateTime!)

    The datetime when this commit was committed.

    \n\n\n\n\n\n\n\n\n\n\n\n

    committedViaWeb (Boolean!)

    Check if committed via GitHub web UI.

    \n\n\n\n\n\n\n\n\n\n\n\n

    committer (GitActor)

    Committer details of the commit.

    \n\n\n\n\n\n\n\n\n\n\n\n

    deletions (Int!)

    The number of deletions in this commit.

    \n\n\n\n\n\n\n\n\n\n\n\n

    deployments (DeploymentConnection)

    The deployments associated with a commit.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    environments ([String!])

    \n

    Environments to list deployments for.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (DeploymentOrder)

    \n

    Ordering options for deployments returned from the connection.

    \n\n
    \n\n
    \n\n\n

    file (TreeEntry)

    The tree entry representing the file located at the given path.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    path (String!)

    \n

    The path for the file.

    \n\n
    \n\n
    \n\n\n

    history (CommitHistoryConnection!)

    The linear commit history starting from (and including) this commit, in the same order as git log.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    author (CommitAuthor)

    \n

    If non-null, filters history to only show commits with matching authorship.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    path (String)

    \n

    If non-null, filters history to only show commits touching files under this path.

    \n\n
    \n\n
    \n

    since (GitTimestamp)

    \n

    Allows specifying a beginning time or date for fetching commits.

    \n\n
    \n\n
    \n

    until (GitTimestamp)

    \n

    Allows specifying an ending time or date for fetching commits.

    \n\n
    \n\n
    \n\n\n

    message (String!)

    The Git commit message.

    \n\n\n\n\n\n\n\n\n\n\n\n

    messageBody (String!)

    The Git commit message body.

    \n\n\n\n\n\n\n\n\n\n\n\n

    messageBodyHTML (HTML!)

    The commit message body rendered to HTML.

    \n\n\n\n\n\n\n\n\n\n\n\n

    messageHeadline (String!)

    The Git commit message headline.

    \n\n\n\n\n\n\n\n\n\n\n\n

    messageHeadlineHTML (HTML!)

    The commit message headline rendered to HTML.

    \n\n\n\n\n\n\n\n\n\n\n\n

    oid (GitObjectID!)

    The Git object ID.

    \n\n\n\n\n\n\n\n\n\n\n\n

    onBehalfOf (Organization)

    The organization this commit was made on behalf of.

    \n\n\n\n\n\n\n\n\n\n\n\n

    parents (CommitConnection!)

    The parents of a commit.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n\n\n

    pushedDate (DateTime)

    The datetime when this commit was pushed.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repository (Repository!)

    The Repository this commit belongs to.

    \n\n\n\n\n\n\n\n\n\n\n\n

    resourcePath (URI!)

    The HTTP path for this commit.

    \n\n\n\n\n\n\n\n\n\n\n\n

    signature (GitSignature)

    Commit signing information, if present.

    \n\n\n\n\n\n\n\n\n\n\n\n

    status (Status)

    Status information for this commit.

    \n\n\n\n\n\n\n\n\n\n\n\n

    statusCheckRollup (StatusCheckRollup)

    Check and Status rollup information for this commit.

    \n\n\n\n\n\n\n\n\n\n\n\n

    submodules (SubmoduleConnection!)

    Returns a list of all submodules in this repository as of this Commit parsed from the .gitmodules file.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n\n\n

    tarballUrl (URI!)

    Returns a URL to download a tarball archive for a repository.\nNote: For private repositories, these links are temporary and expire after five minutes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    tree (Tree!)

    Commit's root Tree.

    \n\n\n\n\n\n\n\n\n\n\n\n

    treeResourcePath (URI!)

    The HTTP path for the tree of this commit.

    \n\n\n\n\n\n\n\n\n\n\n\n

    treeUrl (URI!)

    The HTTP URL for the tree of this commit.

    \n\n\n\n\n\n\n\n\n\n\n\n

    url (URI!)

    The HTTP URL for this commit.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerCanSubscribe (Boolean!)

    Check if the viewer is able to change their subscription status for the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerSubscription (SubscriptionState)

    Identifies if the viewer is watching, not watching, or ignoring the subscribable entity.

    \n\n\n\n\n\n\n\n\n\n\n\n

    zipballUrl (URI!)

    Returns a URL to download a zipball archive for a repository.\nNote: For private repositories, these links are temporary and expire after five minutes.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n CommitComment\n

    \n

    Represents a comment on a given Commit.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    author (Actor)

    The actor who authored the comment.

    \n\n\n\n\n\n\n\n\n\n\n\n

    authorAssociation (CommentAuthorAssociation!)

    Author's association with the subject of the comment.

    \n\n\n\n\n\n\n\n\n\n\n\n

    body (String!)

    Identifies the comment body.

    \n\n\n\n\n\n\n\n\n\n\n\n

    bodyHTML (HTML!)

    The body rendered to HTML.

    \n\n\n\n\n\n\n\n\n\n\n\n

    bodyText (String!)

    The body rendered to text.

    \n\n\n\n\n\n\n\n\n\n\n\n

    commit (Commit)

    Identifies the commit associated with the comment, if the commit exists.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdViaEmail (Boolean!)

    Check if this comment was created via an email reply.

    \n\n\n\n\n\n\n\n\n\n\n\n

    databaseId (Int)

    Identifies the primary key from the database.

    \n\n\n\n\n\n\n\n\n\n\n\n

    editor (Actor)

    The actor who edited the comment.

    \n\n\n\n\n\n\n\n\n\n\n\n

    includesCreatedEdit (Boolean!)

    Check if this comment was edited and includes an edit with the creation data.

    \n\n\n\n\n\n\n\n\n\n\n\n

    isMinimized (Boolean!)

    Returns whether or not a comment has been minimized.

    \n\n\n\n\n\n\n\n\n\n\n\n

    lastEditedAt (DateTime)

    The moment the editor made the last edit.

    \n\n\n\n\n\n\n\n\n\n\n\n

    minimizedReason (String)

    Returns why the comment was minimized.

    \n\n\n\n\n\n\n\n\n\n\n\n

    path (String)

    Identifies the file path associated with the comment.

    \n\n\n\n\n\n\n\n\n\n\n\n

    position (Int)

    Identifies the line position associated with the comment.

    \n\n\n\n\n\n\n\n\n\n\n\n

    publishedAt (DateTime)

    Identifies when the comment was published at.

    \n\n\n\n\n\n\n\n\n\n\n\n

    reactionGroups ([ReactionGroup!])

    A list of reactions grouped by content left on the subject.

    \n\n\n\n\n\n\n\n\n\n\n\n

    reactions (ReactionConnection!)

    A list of Reactions left on the Issue.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    content (ReactionContent)

    \n

    Allows filtering Reactions by emoji.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (ReactionOrder)

    \n

    Allows specifying the order in which reactions are returned.

    \n\n
    \n\n
    \n\n\n

    repository (Repository!)

    The repository associated with this node.

    \n\n\n\n\n\n\n\n\n\n\n\n

    resourcePath (URI!)

    The HTTP path permalink for this commit comment.

    \n\n\n\n\n\n\n\n\n\n\n\n

    updatedAt (DateTime!)

    Identifies the date and time when the object was last updated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    url (URI!)

    The HTTP URL permalink for this commit comment.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userContentEdits (UserContentEditConnection)

    A list of edits to this content.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n\n\n

    viewerCanDelete (Boolean!)

    Check if the current viewer can delete this object.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerCanMinimize (Boolean!)

    Check if the current viewer can minimize this object.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerCanReact (Boolean!)

    Can user react to this subject.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerCanUpdate (Boolean!)

    Check if the current viewer can update this object.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerCannotUpdateReasons ([CommentCannotUpdateReason!]!)

    Reasons why the current viewer can not update this comment.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerDidAuthor (Boolean!)

    Did the viewer author this comment.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n CommitCommentConnection\n

    \n

    The connection type for CommitComment.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([CommitCommentEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([CommitComment])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n CommitCommentEdge\n

    \n

    An edge in a connection.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (CommitComment)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n CommitCommentThread\n

    \n

    A thread of comments on a commit.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    comments (CommitCommentConnection!)

    The comments that exist in this thread.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n\n\n

    commit (Commit)

    The commit the comments were made on.

    \n\n\n\n\n\n\n\n\n\n\n\n

    path (String)

    The file the comments were made on.

    \n\n\n\n\n\n\n\n\n\n\n\n

    position (Int)

    The position in the diff for the commit that the comment was made on.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repository (Repository!)

    The repository associated with this node.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n CommitConnection\n

    \n

    The connection type for Commit.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([CommitEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([Commit])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n CommitContributionsByRepository\n

    \n

    This aggregates commits made by a user within one repository.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    contributions (CreatedCommitContributionConnection!)

    The commit contributions, each representing a day.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (CommitContributionOrder)

    \n

    Ordering options for commit contributions returned from the connection.

    \n\n
    \n\n
    \n\n\n

    repository (Repository!)

    The repository in which the commits were made.

    \n\n\n\n\n\n\n\n\n\n\n\n

    resourcePath (URI!)

    The HTTP path for the user's commits to the repository in this time range.

    \n\n\n\n\n\n\n\n\n\n\n\n

    url (URI!)

    The HTTP URL for the user's commits to the repository in this time range.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n CommitEdge\n

    \n

    An edge in a connection.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (Commit)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n CommitHistoryConnection\n

    \n

    The connection type for Commit.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([CommitEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([Commit])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n ConnectedEvent\n

    \n

    Represents aconnectedevent on a given issue or pull request.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    actor (Actor)

    Identifies the actor who performed the event.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    isCrossRepository (Boolean!)

    Reference originated in a different repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    source (ReferencedSubject!)

    Issue or pull request that made the reference.

    \n\n\n\n\n\n\n\n\n\n\n\n

    subject (ReferencedSubject!)

    Issue or pull request which was connected.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n ContentAttachment\n

    \n

    A content attachment.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    body (String!)

    The body text of the content attachment. This parameter supports markdown.

    \n\n\n\n\n\n\n\n\n\n\n\n

    contentReference (ContentReference!)

    The content reference that the content attachment is attached to.

    \n\n\n\n\n\n\n\n\n\n\n\n

    databaseId (Int!)

    Identifies the primary key from the database.

    \n\n\n\n\n\n\n\n\n\n\n\n

    title (String!)

    The title of the content attachment.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n ContentReference\n

    \n

    A content reference.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    databaseId (Int!)

    Identifies the primary key from the database.

    \n\n\n\n\n\n\n\n\n\n\n\n

    reference (String!)

    The reference of the content reference.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n ContributionCalendar\n

    \n

    A calendar of contributions made on GitHub by a user.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    colors ([String!]!)

    A list of hex color codes used in this calendar. The darker the color, the more contributions it represents.

    \n\n\n\n\n\n\n\n\n\n\n\n

    isHalloween (Boolean!)

    Determine if the color set was chosen because it's currently Halloween.

    \n\n\n\n\n\n\n\n\n\n\n\n

    months ([ContributionCalendarMonth!]!)

    A list of the months of contributions in this calendar.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalContributions (Int!)

    The count of total contributions in the calendar.

    \n\n\n\n\n\n\n\n\n\n\n\n

    weeks ([ContributionCalendarWeek!]!)

    A list of the weeks of contributions in this calendar.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n ContributionCalendarDay\n

    \n

    Represents a single day of contributions on GitHub by a user.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    color (String!)

    The hex color code that represents how many contributions were made on this day compared to others in the calendar.

    \n\n\n\n\n\n\n\n\n\n\n\n

    contributionCount (Int!)

    How many contributions were made by the user on this day.

    \n\n\n\n\n\n\n\n\n\n\n\n

    contributionLevel (ContributionLevel!)

    Indication of contributions, relative to other days. Can be used to indicate\nwhich color to represent this day on a calendar.

    \n\n\n\n\n\n\n\n\n\n\n\n

    date (Date!)

    The day this square represents.

    \n\n\n\n\n\n\n\n\n\n\n\n

    weekday (Int!)

    A number representing which day of the week this square represents, e.g., 1 is Monday.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n ContributionCalendarMonth\n

    \n

    A month of contributions in a user's contribution graph.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    firstDay (Date!)

    The date of the first day of this month.

    \n\n\n\n\n\n\n\n\n\n\n\n

    name (String!)

    The name of the month.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalWeeks (Int!)

    How many weeks started in this month.

    \n\n\n\n\n\n\n\n\n\n\n\n

    year (Int!)

    The year the month occurred in.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n ContributionCalendarWeek\n

    \n

    A week of contributions in a user's contribution graph.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    contributionDays ([ContributionCalendarDay!]!)

    The days of contributions in this week.

    \n\n\n\n\n\n\n\n\n\n\n\n

    firstDay (Date!)

    The date of the earliest square in this week.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n ContributionsCollection\n

    \n

    A contributions collection aggregates contributions such as opened issues and commits created by a user.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    commitContributionsByRepository ([CommitContributionsByRepository!]!)

    Commit contributions made by the user, grouped by repository.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    maxRepositories (Int)

    \n

    How many repositories should be included.

    \n

    The default value is 25.

    \n
    \n\n
    \n\n\n

    contributionCalendar (ContributionCalendar!)

    A calendar of this user's contributions on GitHub.

    \n\n\n\n\n\n\n\n\n\n\n\n

    contributionYears ([Int!]!)

    The years the user has been making contributions with the most recent year first.

    \n\n\n\n\n\n\n\n\n\n\n\n

    doesEndInCurrentMonth (Boolean!)

    Determine if this collection's time span ends in the current month.

    \n\n\n\n\n\n\n\n\n\n\n\n

    earliestRestrictedContributionDate (Date)

    The date of the first restricted contribution the user made in this time\nperiod. Can only be non-null when the user has enabled private contribution counts.

    \n\n\n\n\n\n\n\n\n\n\n\n

    endedAt (DateTime!)

    The ending date and time of this collection.

    \n\n\n\n\n\n\n\n\n\n\n\n

    firstIssueContribution (CreatedIssueOrRestrictedContribution)

    The first issue the user opened on GitHub. This will be null if that issue was\nopened outside the collection's time range and ignoreTimeRange is false. If\nthe issue is not visible but the user has opted to show private contributions,\na RestrictedContribution will be returned.

    \n\n\n\n\n\n\n\n\n\n\n\n

    firstPullRequestContribution (CreatedPullRequestOrRestrictedContribution)

    The first pull request the user opened on GitHub. This will be null if that\npull request was opened outside the collection's time range and\nignoreTimeRange is not true. If the pull request is not visible but the user\nhas opted to show private contributions, a RestrictedContribution will be returned.

    \n\n\n\n\n\n\n\n\n\n\n\n

    firstRepositoryContribution (CreatedRepositoryOrRestrictedContribution)

    The first repository the user created on GitHub. This will be null if that\nfirst repository was created outside the collection's time range and\nignoreTimeRange is false. If the repository is not visible, then a\nRestrictedContribution is returned.

    \n\n\n\n\n\n\n\n\n\n\n\n

    hasActivityInThePast (Boolean!)

    Does the user have any more activity in the timeline that occurred prior to the collection's time range?.

    \n\n\n\n\n\n\n\n\n\n\n\n

    hasAnyContributions (Boolean!)

    Determine if there are any contributions in this collection.

    \n\n\n\n\n\n\n\n\n\n\n\n

    hasAnyRestrictedContributions (Boolean!)

    Determine if the user made any contributions in this time frame whose details\nare not visible because they were made in a private repository. Can only be\ntrue if the user enabled private contribution counts.

    \n\n\n\n\n\n\n\n\n\n\n\n

    isSingleDay (Boolean!)

    Whether or not the collector's time span is all within the same day.

    \n\n\n\n\n\n\n\n\n\n\n\n

    issueContributions (CreatedIssueContributionConnection!)

    A list of issues the user opened.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    excludeFirst (Boolean)

    \n

    Should the user's first issue ever be excluded from the result.

    \n

    The default value is false.

    \n
    \n\n
    \n

    excludePopular (Boolean)

    \n

    Should the user's most commented issue be excluded from the result.

    \n

    The default value is false.

    \n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (ContributionOrder)

    \n

    Ordering options for contributions returned from the connection.

    \n\n
    \n\n
    \n\n\n

    issueContributionsByRepository ([IssueContributionsByRepository!]!)

    Issue contributions made by the user, grouped by repository.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    excludeFirst (Boolean)

    \n

    Should the user's first issue ever be excluded from the result.

    \n

    The default value is false.

    \n
    \n\n
    \n

    excludePopular (Boolean)

    \n

    Should the user's most commented issue be excluded from the result.

    \n

    The default value is false.

    \n
    \n\n
    \n

    maxRepositories (Int)

    \n

    How many repositories should be included.

    \n

    The default value is 25.

    \n
    \n\n
    \n\n\n

    joinedGitHubContribution (JoinedGitHubContribution)

    When the user signed up for GitHub. This will be null if that sign up date\nfalls outside the collection's time range and ignoreTimeRange is false.

    \n\n\n\n\n\n\n\n\n\n\n\n

    latestRestrictedContributionDate (Date)

    The date of the most recent restricted contribution the user made in this time\nperiod. Can only be non-null when the user has enabled private contribution counts.

    \n\n\n\n\n\n\n\n\n\n\n\n

    mostRecentCollectionWithActivity (ContributionsCollection)

    When this collection's time range does not include any activity from the user, use this\nto get a different collection from an earlier time range that does have activity.

    \n\n\n\n\n\n\n\n\n\n\n\n

    mostRecentCollectionWithoutActivity (ContributionsCollection)

    Returns a different contributions collection from an earlier time range than this one\nthat does not have any contributions.

    \n\n\n\n\n\n\n\n\n\n\n\n

    popularIssueContribution (CreatedIssueContribution)

    The issue the user opened on GitHub that received the most comments in the specified\ntime frame.

    \n\n\n\n\n\n\n\n\n\n\n\n

    popularPullRequestContribution (CreatedPullRequestContribution)

    The pull request the user opened on GitHub that received the most comments in the\nspecified time frame.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pullRequestContributions (CreatedPullRequestContributionConnection!)

    Pull request contributions made by the user.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    excludeFirst (Boolean)

    \n

    Should the user's first pull request ever be excluded from the result.

    \n

    The default value is false.

    \n
    \n\n
    \n

    excludePopular (Boolean)

    \n

    Should the user's most commented pull request be excluded from the result.

    \n

    The default value is false.

    \n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (ContributionOrder)

    \n

    Ordering options for contributions returned from the connection.

    \n\n
    \n\n
    \n\n\n

    pullRequestContributionsByRepository ([PullRequestContributionsByRepository!]!)

    Pull request contributions made by the user, grouped by repository.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    excludeFirst (Boolean)

    \n

    Should the user's first pull request ever be excluded from the result.

    \n

    The default value is false.

    \n
    \n\n
    \n

    excludePopular (Boolean)

    \n

    Should the user's most commented pull request be excluded from the result.

    \n

    The default value is false.

    \n
    \n\n
    \n

    maxRepositories (Int)

    \n

    How many repositories should be included.

    \n

    The default value is 25.

    \n
    \n\n
    \n\n\n

    pullRequestReviewContributions (CreatedPullRequestReviewContributionConnection!)

    Pull request review contributions made by the user.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (ContributionOrder)

    \n

    Ordering options for contributions returned from the connection.

    \n\n
    \n\n
    \n\n\n

    pullRequestReviewContributionsByRepository ([PullRequestReviewContributionsByRepository!]!)

    Pull request review contributions made by the user, grouped by repository.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    maxRepositories (Int)

    \n

    How many repositories should be included.

    \n

    The default value is 25.

    \n
    \n\n
    \n\n\n

    repositoryContributions (CreatedRepositoryContributionConnection!)

    A list of repositories owned by the user that the user created in this time range.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    excludeFirst (Boolean)

    \n

    Should the user's first repository ever be excluded from the result.

    \n

    The default value is false.

    \n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (ContributionOrder)

    \n

    Ordering options for contributions returned from the connection.

    \n\n
    \n\n
    \n\n\n

    restrictedContributionsCount (Int!)

    A count of contributions made by the user that the viewer cannot access. Only\nnon-zero when the user has chosen to share their private contribution counts.

    \n\n\n\n\n\n\n\n\n\n\n\n

    startedAt (DateTime!)

    The beginning date and time of this collection.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCommitContributions (Int!)

    How many commits were made by the user in this time span.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalIssueContributions (Int!)

    How many issues the user opened.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    excludeFirst (Boolean)

    \n

    Should the user's first issue ever be excluded from this count.

    \n

    The default value is false.

    \n
    \n\n
    \n

    excludePopular (Boolean)

    \n

    Should the user's most commented issue be excluded from this count.

    \n

    The default value is false.

    \n
    \n\n
    \n\n\n

    totalPullRequestContributions (Int!)

    How many pull requests the user opened.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    excludeFirst (Boolean)

    \n

    Should the user's first pull request ever be excluded from this count.

    \n

    The default value is false.

    \n
    \n\n
    \n

    excludePopular (Boolean)

    \n

    Should the user's most commented pull request be excluded from this count.

    \n

    The default value is false.

    \n
    \n\n
    \n\n\n

    totalPullRequestReviewContributions (Int!)

    How many pull request reviews the user left.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalRepositoriesWithContributedCommits (Int!)

    How many different repositories the user committed to.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalRepositoriesWithContributedIssues (Int!)

    How many different repositories the user opened issues in.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    excludeFirst (Boolean)

    \n

    Should the user's first issue ever be excluded from this count.

    \n

    The default value is false.

    \n
    \n\n
    \n

    excludePopular (Boolean)

    \n

    Should the user's most commented issue be excluded from this count.

    \n

    The default value is false.

    \n
    \n\n
    \n\n\n

    totalRepositoriesWithContributedPullRequestReviews (Int!)

    How many different repositories the user left pull request reviews in.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalRepositoriesWithContributedPullRequests (Int!)

    How many different repositories the user opened pull requests in.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    excludeFirst (Boolean)

    \n

    Should the user's first pull request ever be excluded from this count.

    \n

    The default value is false.

    \n
    \n\n
    \n

    excludePopular (Boolean)

    \n

    Should the user's most commented pull request be excluded from this count.

    \n

    The default value is false.

    \n
    \n\n
    \n\n\n

    totalRepositoryContributions (Int!)

    How many repositories the user created.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    excludeFirst (Boolean)

    \n

    Should the user's first repository ever be excluded from this count.

    \n

    The default value is false.

    \n
    \n\n
    \n\n\n

    user (User!)

    The user who made the contributions in this collection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n ConvertToDraftEvent\n

    \n

    Represents aconvert_to_draftevent on a given pull request.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    actor (Actor)

    Identifies the actor who performed the event.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pullRequest (PullRequest!)

    PullRequest referenced by event.

    \n\n\n\n\n\n\n\n\n\n\n\n

    resourcePath (URI!)

    The HTTP path for this convert to draft event.

    \n\n\n\n\n\n\n\n\n\n\n\n

    url (URI!)

    The HTTP URL for this convert to draft event.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n ConvertedNoteToIssueEvent\n

    \n

    Represents aconverted_note_to_issueevent on a given issue or pull request.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    actor (Actor)

    Identifies the actor who performed the event.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    databaseId (Int)

    Identifies the primary key from the database.

    \n\n\n\n\n\n\n\n\n\n\n\n

    project (Project)

    Project referenced by event.

    \n\n\n\n\n
    \n

    Preview notice

    \n

    project is available under the Project event details preview. During the preview period, the API may change without notice.

    \n
    \n\n\n\n\n\n\n\n\n

    projectCard (ProjectCard)

    Project card referenced by this project event.

    \n\n\n\n\n
    \n

    Preview notice

    \n

    projectCard is available under the Project event details preview. During the preview period, the API may change without notice.

    \n
    \n\n\n\n\n\n\n\n\n

    projectColumnName (String!)

    Column name referenced by this project event.

    \n\n\n\n\n
    \n

    Preview notice

    \n

    projectColumnName is available under the Project event details preview. During the preview period, the API may change without notice.

    \n
    \n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n CreatedCommitContribution\n

    \n

    Represents the contribution a user made by committing to a repository.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    commitCount (Int!)

    How many commits were made on this day to this repository by the user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    isRestricted (Boolean!)

    Whether this contribution is associated with a record you do not have access to. For\nexample, your own 'first issue' contribution may have been made on a repository you can no\nlonger access.

    \n\n\n\n\n\n\n\n\n\n\n\n

    occurredAt (DateTime!)

    When this contribution was made.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repository (Repository!)

    The repository the user made a commit in.

    \n\n\n\n\n\n\n\n\n\n\n\n

    resourcePath (URI!)

    The HTTP path for this contribution.

    \n\n\n\n\n\n\n\n\n\n\n\n

    url (URI!)

    The HTTP URL for this contribution.

    \n\n\n\n\n\n\n\n\n\n\n\n

    user (User!)

    The user who made this contribution.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n CreatedCommitContributionConnection\n

    \n

    The connection type for CreatedCommitContribution.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([CreatedCommitContributionEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([CreatedCommitContribution])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of commits across days and repositories in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n CreatedCommitContributionEdge\n

    \n

    An edge in a connection.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (CreatedCommitContribution)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n CreatedIssueContribution\n

    \n

    Represents the contribution a user made on GitHub by opening an issue.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    isRestricted (Boolean!)

    Whether this contribution is associated with a record you do not have access to. For\nexample, your own 'first issue' contribution may have been made on a repository you can no\nlonger access.

    \n\n\n\n\n\n\n\n\n\n\n\n

    issue (Issue!)

    The issue that was opened.

    \n\n\n\n\n\n\n\n\n\n\n\n

    occurredAt (DateTime!)

    When this contribution was made.

    \n\n\n\n\n\n\n\n\n\n\n\n

    resourcePath (URI!)

    The HTTP path for this contribution.

    \n\n\n\n\n\n\n\n\n\n\n\n

    url (URI!)

    The HTTP URL for this contribution.

    \n\n\n\n\n\n\n\n\n\n\n\n

    user (User!)

    The user who made this contribution.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n CreatedIssueContributionConnection\n

    \n

    The connection type for CreatedIssueContribution.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([CreatedIssueContributionEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([CreatedIssueContribution])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n CreatedIssueContributionEdge\n

    \n

    An edge in a connection.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (CreatedIssueContribution)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n CreatedPullRequestContribution\n

    \n

    Represents the contribution a user made on GitHub by opening a pull request.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    isRestricted (Boolean!)

    Whether this contribution is associated with a record you do not have access to. For\nexample, your own 'first issue' contribution may have been made on a repository you can no\nlonger access.

    \n\n\n\n\n\n\n\n\n\n\n\n

    occurredAt (DateTime!)

    When this contribution was made.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pullRequest (PullRequest!)

    The pull request that was opened.

    \n\n\n\n\n\n\n\n\n\n\n\n

    resourcePath (URI!)

    The HTTP path for this contribution.

    \n\n\n\n\n\n\n\n\n\n\n\n

    url (URI!)

    The HTTP URL for this contribution.

    \n\n\n\n\n\n\n\n\n\n\n\n

    user (User!)

    The user who made this contribution.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n CreatedPullRequestContributionConnection\n

    \n

    The connection type for CreatedPullRequestContribution.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([CreatedPullRequestContributionEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([CreatedPullRequestContribution])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n CreatedPullRequestContributionEdge\n

    \n

    An edge in a connection.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (CreatedPullRequestContribution)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n CreatedPullRequestReviewContribution\n

    \n

    Represents the contribution a user made by leaving a review on a pull request.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    isRestricted (Boolean!)

    Whether this contribution is associated with a record you do not have access to. For\nexample, your own 'first issue' contribution may have been made on a repository you can no\nlonger access.

    \n\n\n\n\n\n\n\n\n\n\n\n

    occurredAt (DateTime!)

    When this contribution was made.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pullRequest (PullRequest!)

    The pull request the user reviewed.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pullRequestReview (PullRequestReview!)

    The review the user left on the pull request.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repository (Repository!)

    The repository containing the pull request that the user reviewed.

    \n\n\n\n\n\n\n\n\n\n\n\n

    resourcePath (URI!)

    The HTTP path for this contribution.

    \n\n\n\n\n\n\n\n\n\n\n\n

    url (URI!)

    The HTTP URL for this contribution.

    \n\n\n\n\n\n\n\n\n\n\n\n

    user (User!)

    The user who made this contribution.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n CreatedPullRequestReviewContributionConnection\n

    \n

    The connection type for CreatedPullRequestReviewContribution.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([CreatedPullRequestReviewContributionEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([CreatedPullRequestReviewContribution])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n CreatedPullRequestReviewContributionEdge\n

    \n

    An edge in a connection.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (CreatedPullRequestReviewContribution)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n CreatedRepositoryContribution\n

    \n

    Represents the contribution a user made on GitHub by creating a repository.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    isRestricted (Boolean!)

    Whether this contribution is associated with a record you do not have access to. For\nexample, your own 'first issue' contribution may have been made on a repository you can no\nlonger access.

    \n\n\n\n\n\n\n\n\n\n\n\n

    occurredAt (DateTime!)

    When this contribution was made.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repository (Repository!)

    The repository that was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    resourcePath (URI!)

    The HTTP path for this contribution.

    \n\n\n\n\n\n\n\n\n\n\n\n

    url (URI!)

    The HTTP URL for this contribution.

    \n\n\n\n\n\n\n\n\n\n\n\n

    user (User!)

    The user who made this contribution.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n CreatedRepositoryContributionConnection\n

    \n

    The connection type for CreatedRepositoryContribution.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([CreatedRepositoryContributionEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([CreatedRepositoryContribution])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n CreatedRepositoryContributionEdge\n

    \n

    An edge in a connection.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (CreatedRepositoryContribution)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n CrossReferencedEvent\n

    \n

    Represents a mention made by one issue or pull request to another.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    actor (Actor)

    Identifies the actor who performed the event.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    isCrossRepository (Boolean!)

    Reference originated in a different repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    referencedAt (DateTime!)

    Identifies when the reference was made.

    \n\n\n\n\n\n\n\n\n\n\n\n

    resourcePath (URI!)

    The HTTP path for this pull request.

    \n\n\n\n\n\n\n\n\n\n\n\n

    source (ReferencedSubject!)

    Issue or pull request that made the reference.

    \n\n\n\n\n\n\n\n\n\n\n\n

    target (ReferencedSubject!)

    Issue or pull request to which the reference was made.

    \n\n\n\n\n\n\n\n\n\n\n\n

    url (URI!)

    The HTTP URL for this pull request.

    \n\n\n\n\n\n\n\n\n\n\n\n

    willCloseTarget (Boolean!)

    Checks if the target will be closed when the source is merged.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n DemilestonedEvent\n

    \n

    Represents ademilestonedevent on a given issue or pull request.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    actor (Actor)

    Identifies the actor who performed the event.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    milestoneTitle (String!)

    Identifies the milestone title associated with thedemilestonedevent.

    \n\n\n\n\n\n\n\n\n\n\n\n

    subject (MilestoneItem!)

    Object referenced by event.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n DeployKey\n

    \n

    A repository deploy key.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    key (String!)

    The deploy key.

    \n\n\n\n\n\n\n\n\n\n\n\n

    readOnly (Boolean!)

    Whether or not the deploy key is read only.

    \n\n\n\n\n\n\n\n\n\n\n\n

    title (String!)

    The deploy key title.

    \n\n\n\n\n\n\n\n\n\n\n\n

    verified (Boolean!)

    Whether or not the deploy key has been verified.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n DeployKeyConnection\n

    \n

    The connection type for DeployKey.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([DeployKeyEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([DeployKey])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n DeployKeyEdge\n

    \n

    An edge in a connection.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (DeployKey)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n DeployedEvent\n

    \n

    Represents adeployedevent on a given pull request.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    actor (Actor)

    Identifies the actor who performed the event.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    databaseId (Int)

    Identifies the primary key from the database.

    \n\n\n\n\n\n\n\n\n\n\n\n

    deployment (Deployment!)

    The deployment associated with thedeployedevent.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pullRequest (PullRequest!)

    PullRequest referenced by event.

    \n\n\n\n\n\n\n\n\n\n\n\n

    ref (Ref)

    The ref associated with thedeployedevent.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n Deployment\n

    \n

    Represents triggered deployment instance.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    commit (Commit)

    Identifies the commit sha of the deployment.

    \n\n\n\n\n\n\n\n\n\n\n\n

    commitOid (String!)

    Identifies the oid of the deployment commit, even if the commit has been deleted.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    creator (Actor!)

    Identifies the actor who triggered the deployment.

    \n\n\n\n\n\n\n\n\n\n\n\n

    databaseId (Int)

    Identifies the primary key from the database.

    \n\n\n\n\n\n\n\n\n\n\n\n

    description (String)

    The deployment description.

    \n\n\n\n\n\n\n\n\n\n\n\n

    environment (String)

    The latest environment to which this deployment was made.

    \n\n\n\n\n\n\n\n\n\n\n\n

    latestEnvironment (String)

    The latest environment to which this deployment was made.

    \n\n\n\n\n\n\n\n\n\n\n\n

    latestStatus (DeploymentStatus)

    The latest status of this deployment.

    \n\n\n\n\n\n\n\n\n\n\n\n

    originalEnvironment (String)

    The original environment to which this deployment was made.

    \n\n\n\n\n\n\n\n\n\n\n\n

    payload (String)

    Extra information that a deployment system might need.

    \n\n\n\n\n\n\n\n\n\n\n\n

    ref (Ref)

    Identifies the Ref of the deployment, if the deployment was created by ref.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repository (Repository!)

    Identifies the repository associated with the deployment.

    \n\n\n\n\n\n\n\n\n\n\n\n

    state (DeploymentState)

    The current state of the deployment.

    \n\n\n\n\n\n\n\n\n\n\n\n

    statuses (DeploymentStatusConnection)

    A list of statuses associated with the deployment.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n\n\n

    task (String)

    The deployment task.

    \n\n\n\n\n\n\n\n\n\n\n\n

    updatedAt (DateTime!)

    Identifies the date and time when the object was last updated.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n DeploymentConnection\n

    \n

    The connection type for Deployment.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([DeploymentEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([Deployment])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n DeploymentEdge\n

    \n

    An edge in a connection.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (Deployment)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n DeploymentEnvironmentChangedEvent\n

    \n

    Represents adeployment_environment_changedevent on a given pull request.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    actor (Actor)

    Identifies the actor who performed the event.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    deploymentStatus (DeploymentStatus!)

    The deployment status that updated the deployment environment.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pullRequest (PullRequest!)

    PullRequest referenced by event.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n DeploymentStatus\n

    \n

    Describes the status of a given deployment attempt.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    creator (Actor!)

    Identifies the actor who triggered the deployment.

    \n\n\n\n\n\n\n\n\n\n\n\n

    deployment (Deployment!)

    Identifies the deployment associated with status.

    \n\n\n\n\n\n\n\n\n\n\n\n

    description (String)

    Identifies the description of the deployment.

    \n\n\n\n\n\n\n\n\n\n\n\n

    environment (String)

    Identifies the environment of the deployment at the time of this deployment status.

    \n\n\n\n\n
    \n

    Preview notice

    \n

    environment is available under the Deployments preview. During the preview period, the API may change without notice.

    \n
    \n\n\n\n\n\n\n\n\n

    environmentUrl (URI)

    Identifies the environment URL of the deployment.

    \n\n\n\n\n\n\n\n\n\n\n\n

    logUrl (URI)

    Identifies the log URL of the deployment.

    \n\n\n\n\n\n\n\n\n\n\n\n

    state (DeploymentStatusState!)

    Identifies the current state of the deployment.

    \n\n\n\n\n\n\n\n\n\n\n\n

    updatedAt (DateTime!)

    Identifies the date and time when the object was last updated.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n DeploymentStatusConnection\n

    \n

    The connection type for DeploymentStatus.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([DeploymentStatusEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([DeploymentStatus])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n DeploymentStatusEdge\n

    \n

    An edge in a connection.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (DeploymentStatus)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n DisconnectedEvent\n

    \n

    Represents adisconnectedevent on a given issue or pull request.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    actor (Actor)

    Identifies the actor who performed the event.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    isCrossRepository (Boolean!)

    Reference originated in a different repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    source (ReferencedSubject!)

    Issue or pull request from which the issue was disconnected.

    \n\n\n\n\n\n\n\n\n\n\n\n

    subject (ReferencedSubject!)

    Issue or pull request which was disconnected.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n Enterprise\n

    \n

    An account to manage multiple organizations with consolidated policy and billing.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    avatarUrl (URI!)

    A URL pointing to the enterprise's public avatar.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    size (Int)

    \n

    The size of the resulting square image.

    \n\n
    \n\n
    \n\n\n

    billingInfo (EnterpriseBillingInfo)

    Enterprise billing information visible to enterprise billing managers.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    databaseId (Int)

    Identifies the primary key from the database.

    \n\n\n\n\n\n\n\n\n\n\n\n

    description (String)

    The description of the enterprise.

    \n\n\n\n\n\n\n\n\n\n\n\n

    descriptionHTML (HTML!)

    The description of the enterprise as HTML.

    \n\n\n\n\n\n\n\n\n\n\n\n

    location (String)

    The location of the enterprise.

    \n\n\n\n\n\n\n\n\n\n\n\n

    members (EnterpriseMemberConnection!)

    A list of users who are members of this enterprise.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    deployment (EnterpriseUserDeployment)

    \n

    Only return members within the selected GitHub Enterprise deployment.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (EnterpriseMemberOrder)

    \n

    Ordering options for members returned from the connection.

    \n\n
    \n\n
    \n

    organizationLogins ([String!])

    \n

    Only return members within the organizations with these logins.

    \n\n
    \n\n
    \n

    query (String)

    \n

    The search string to look for.

    \n\n
    \n\n
    \n

    role (EnterpriseUserAccountMembershipRole)

    \n

    The role of the user in the enterprise organization or server.

    \n\n
    \n\n
    \n\n\n

    name (String!)

    The name of the enterprise.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizations (OrganizationConnection!)

    A list of organizations that belong to this enterprise.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (OrganizationOrder)

    \n

    Ordering options for organizations returned from the connection.

    \n\n
    \n\n
    \n

    query (String)

    \n

    The search string to look for.

    \n\n
    \n\n
    \n\n\n

    ownerInfo (EnterpriseOwnerInfo)

    Enterprise information only visible to enterprise owners.

    \n\n\n\n\n\n\n\n\n\n\n\n

    resourcePath (URI!)

    The HTTP path for this enterprise.

    \n\n\n\n\n\n\n\n\n\n\n\n

    slug (String!)

    The URL-friendly identifier for the enterprise.

    \n\n\n\n\n\n\n\n\n\n\n\n

    url (URI!)

    The HTTP URL for this enterprise.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userAccounts (EnterpriseUserAccountConnection!)

    A list of user accounts on this enterprise.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n\n\n

    viewerIsAdmin (Boolean!)

    Is the current viewer an admin of this enterprise?.

    \n\n\n\n\n\n\n\n\n\n\n\n

    websiteUrl (URI)

    The URL of the enterprise website.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n EnterpriseAdministratorConnection\n

    \n

    The connection type for User.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([EnterpriseAdministratorEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([User])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n EnterpriseAdministratorEdge\n

    \n

    A User who is an administrator of an enterprise.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (User)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n

    role (EnterpriseAdministratorRole!)

    The role of the administrator.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n EnterpriseAdministratorInvitation\n

    \n

    An invitation for a user to become an owner or billing manager of an enterprise.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    email (String)

    The email of the person who was invited to the enterprise.

    \n\n\n\n\n\n\n\n\n\n\n\n

    enterprise (Enterprise!)

    The enterprise the invitation is for.

    \n\n\n\n\n\n\n\n\n\n\n\n

    invitee (User)

    The user who was invited to the enterprise.

    \n\n\n\n\n\n\n\n\n\n\n\n

    inviter (User)

    The user who created the invitation.

    \n\n\n\n\n\n\n\n\n\n\n\n

    role (EnterpriseAdministratorRole!)

    The invitee's pending role in the enterprise (owner or billing_manager).

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n EnterpriseAdministratorInvitationConnection\n

    \n

    The connection type for EnterpriseAdministratorInvitation.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([EnterpriseAdministratorInvitationEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([EnterpriseAdministratorInvitation])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n EnterpriseAdministratorInvitationEdge\n

    \n

    An edge in a connection.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (EnterpriseAdministratorInvitation)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n EnterpriseBillingInfo\n

    \n

    Enterprise billing information visible to enterprise billing managers and owners.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    allLicensableUsersCount (Int!)

    The number of licenseable users/emails across the enterprise.

    \n\n\n\n\n\n\n\n\n\n\n\n

    assetPacks (Int!)

    The number of data packs used by all organizations owned by the enterprise.

    \n\n\n\n\n\n\n\n\n\n\n\n

    availableSeats (Int!)

    The number of available seats across all owned organizations based on the unique number of billable users.

    \n\n\n\n\n\n\n
    \n

    Deprecation notice

    \n

    availableSeats is deprecated.

    availableSeats will be replaced with totalAvailableLicenses to provide more clarity on the value being returned Use EnterpriseBillingInfo.totalAvailableLicenses instead. Removal on 2020-01-01 UTC.

    \n
    \n\n\n\n\n\n\n

    bandwidthQuota (Float!)

    The bandwidth quota in GB for all organizations owned by the enterprise.

    \n\n\n\n\n\n\n\n\n\n\n\n

    bandwidthUsage (Float!)

    The bandwidth usage in GB for all organizations owned by the enterprise.

    \n\n\n\n\n\n\n\n\n\n\n\n

    bandwidthUsagePercentage (Int!)

    The bandwidth usage as a percentage of the bandwidth quota.

    \n\n\n\n\n\n\n\n\n\n\n\n

    seats (Int!)

    The total seats across all organizations owned by the enterprise.

    \n\n\n\n\n\n\n
    \n

    Deprecation notice

    \n

    seats is deprecated.

    seats will be replaced with totalLicenses to provide more clarity on the value being returned Use EnterpriseBillingInfo.totalLicenses instead. Removal on 2020-01-01 UTC.

    \n
    \n\n\n\n\n\n\n

    storageQuota (Float!)

    The storage quota in GB for all organizations owned by the enterprise.

    \n\n\n\n\n\n\n\n\n\n\n\n

    storageUsage (Float!)

    The storage usage in GB for all organizations owned by the enterprise.

    \n\n\n\n\n\n\n\n\n\n\n\n

    storageUsagePercentage (Int!)

    The storage usage as a percentage of the storage quota.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalAvailableLicenses (Int!)

    The number of available licenses across all owned organizations based on the unique number of billable users.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalLicenses (Int!)

    The total number of licenses allocated.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n EnterpriseIdentityProvider\n

    \n

    An identity provider configured to provision identities for an enterprise.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    digestMethod (SamlDigestAlgorithm)

    The digest algorithm used to sign SAML requests for the identity provider.

    \n\n\n\n\n\n\n\n\n\n\n\n

    enterprise (Enterprise)

    The enterprise this identity provider belongs to.

    \n\n\n\n\n\n\n\n\n\n\n\n

    externalIdentities (ExternalIdentityConnection!)

    ExternalIdentities provisioned by this identity provider.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n\n\n

    idpCertificate (X509Certificate)

    The x509 certificate used by the identity provider to sign assertions and responses.

    \n\n\n\n\n\n\n\n\n\n\n\n

    issuer (String)

    The Issuer Entity ID for the SAML identity provider.

    \n\n\n\n\n\n\n\n\n\n\n\n

    recoveryCodes ([String!])

    Recovery codes that can be used by admins to access the enterprise if the identity provider is unavailable.

    \n\n\n\n\n\n\n\n\n\n\n\n

    signatureMethod (SamlSignatureAlgorithm)

    The signature algorithm used to sign SAML requests for the identity provider.

    \n\n\n\n\n\n\n\n\n\n\n\n

    ssoUrl (URI)

    The URL endpoint for the identity provider's SAML SSO.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n EnterpriseMemberConnection\n

    \n

    The connection type for EnterpriseMember.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([EnterpriseMemberEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([EnterpriseMember])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n EnterpriseMemberEdge\n

    \n

    A User who is a member of an enterprise through one or more organizations.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    isUnlicensed (Boolean!)

    Whether the user does not have a license for the enterprise.

    \n\n\n\n\n\n\n
    \n

    Deprecation notice

    \n

    isUnlicensed is deprecated.

    All members consume a license Removal on 2021-01-01 UTC.

    \n
    \n\n\n\n\n\n\n

    node (EnterpriseMember)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n EnterpriseOrganizationMembershipConnection\n

    \n

    The connection type for Organization.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([EnterpriseOrganizationMembershipEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([Organization])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n EnterpriseOrganizationMembershipEdge\n

    \n

    An enterprise organization that a user is a member of.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (Organization)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n

    role (EnterpriseUserAccountMembershipRole!)

    The role of the user in the enterprise membership.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n EnterpriseOutsideCollaboratorConnection\n

    \n

    The connection type for User.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([EnterpriseOutsideCollaboratorEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([User])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n EnterpriseOutsideCollaboratorEdge\n

    \n

    A User who is an outside collaborator of an enterprise through one or more organizations.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    isUnlicensed (Boolean!)

    Whether the outside collaborator does not have a license for the enterprise.

    \n\n\n\n\n\n\n
    \n

    Deprecation notice

    \n

    isUnlicensed is deprecated.

    All outside collaborators consume a license Removal on 2021-01-01 UTC.

    \n
    \n\n\n\n\n\n\n

    node (User)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repositories (EnterpriseRepositoryInfoConnection!)

    The enterprise organization repositories this user is a member of.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (RepositoryOrder)

    \n

    Ordering options for repositories.

    \n\n
    \n\n
    \n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n EnterpriseOwnerInfo\n

    \n

    Enterprise information only visible to enterprise owners.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    admins (EnterpriseAdministratorConnection!)

    A list of all of the administrators for this enterprise.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (EnterpriseMemberOrder)

    \n

    Ordering options for administrators returned from the connection.

    \n\n
    \n\n
    \n

    query (String)

    \n

    The search string to look for.

    \n\n
    \n\n
    \n

    role (EnterpriseAdministratorRole)

    \n

    The role to filter by.

    \n\n
    \n\n
    \n\n\n

    affiliatedUsersWithTwoFactorDisabled (UserConnection!)

    A list of users in the enterprise who currently have two-factor authentication disabled.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n\n\n

    affiliatedUsersWithTwoFactorDisabledExist (Boolean!)

    Whether or not affiliated users with two-factor authentication disabled exist in the enterprise.

    \n\n\n\n\n\n\n\n\n\n\n\n

    allowPrivateRepositoryForkingSetting (EnterpriseEnabledDisabledSettingValue!)

    The setting value for whether private repository forking is enabled for repositories in organizations in this enterprise.

    \n\n\n\n\n\n\n\n\n\n\n\n

    allowPrivateRepositoryForkingSettingOrganizations (OrganizationConnection!)

    A list of enterprise organizations configured with the provided private repository forking setting value.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (OrganizationOrder)

    \n

    Ordering options for organizations with this setting.

    \n\n
    \n\n
    \n

    value (Boolean!)

    \n

    The setting value to find organizations for.

    \n\n
    \n\n
    \n\n\n

    defaultRepositoryPermissionSetting (EnterpriseDefaultRepositoryPermissionSettingValue!)

    The setting value for base repository permissions for organizations in this enterprise.

    \n\n\n\n\n\n\n\n\n\n\n\n

    defaultRepositoryPermissionSettingOrganizations (OrganizationConnection!)

    A list of enterprise organizations configured with the provided default repository permission.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (OrganizationOrder)

    \n

    Ordering options for organizations with this setting.

    \n\n
    \n\n
    \n

    value (DefaultRepositoryPermissionField!)

    \n

    The permission to find organizations for.

    \n\n
    \n\n
    \n\n\n

    ipAllowListEnabledSetting (IpAllowListEnabledSettingValue!)

    The setting value for whether the enterprise has an IP allow list enabled.

    \n\n\n\n\n\n\n\n\n\n\n\n

    ipAllowListEntries (IpAllowListEntryConnection!)

    The IP addresses that are allowed to access resources owned by the enterprise.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (IpAllowListEntryOrder)

    \n

    Ordering options for IP allow list entries returned.

    \n\n
    \n\n
    \n\n\n

    isUpdatingDefaultRepositoryPermission (Boolean!)

    Whether or not the default repository permission is currently being updated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    isUpdatingTwoFactorRequirement (Boolean!)

    Whether the two-factor authentication requirement is currently being enforced.

    \n\n\n\n\n\n\n\n\n\n\n\n

    membersCanChangeRepositoryVisibilitySetting (EnterpriseEnabledDisabledSettingValue!)

    The setting value for whether organization members with admin permissions on a\nrepository can change repository visibility.

    \n\n\n\n\n\n\n\n\n\n\n\n

    membersCanChangeRepositoryVisibilitySettingOrganizations (OrganizationConnection!)

    A list of enterprise organizations configured with the provided can change repository visibility setting value.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (OrganizationOrder)

    \n

    Ordering options for organizations with this setting.

    \n\n
    \n\n
    \n

    value (Boolean!)

    \n

    The setting value to find organizations for.

    \n\n
    \n\n
    \n\n\n

    membersCanCreateInternalRepositoriesSetting (Boolean)

    The setting value for whether members of organizations in the enterprise can create internal repositories.

    \n\n\n\n\n\n\n\n\n\n\n\n

    membersCanCreatePrivateRepositoriesSetting (Boolean)

    The setting value for whether members of organizations in the enterprise can create private repositories.

    \n\n\n\n\n\n\n\n\n\n\n\n

    membersCanCreatePublicRepositoriesSetting (Boolean)

    The setting value for whether members of organizations in the enterprise can create public repositories.

    \n\n\n\n\n\n\n\n\n\n\n\n

    membersCanCreateRepositoriesSetting (EnterpriseMembersCanCreateRepositoriesSettingValue)

    The setting value for whether members of organizations in the enterprise can create repositories.

    \n\n\n\n\n\n\n\n\n\n\n\n

    membersCanCreateRepositoriesSettingOrganizations (OrganizationConnection!)

    A list of enterprise organizations configured with the provided repository creation setting value.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (OrganizationOrder)

    \n

    Ordering options for organizations with this setting.

    \n\n
    \n\n
    \n

    value (OrganizationMembersCanCreateRepositoriesSettingValue!)

    \n

    The setting to find organizations for.

    \n\n
    \n\n
    \n\n\n

    membersCanDeleteIssuesSetting (EnterpriseEnabledDisabledSettingValue!)

    The setting value for whether members with admin permissions for repositories can delete issues.

    \n\n\n\n\n\n\n\n\n\n\n\n

    membersCanDeleteIssuesSettingOrganizations (OrganizationConnection!)

    A list of enterprise organizations configured with the provided members can delete issues setting value.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (OrganizationOrder)

    \n

    Ordering options for organizations with this setting.

    \n\n
    \n\n
    \n

    value (Boolean!)

    \n

    The setting value to find organizations for.

    \n\n
    \n\n
    \n\n\n

    membersCanDeleteRepositoriesSetting (EnterpriseEnabledDisabledSettingValue!)

    The setting value for whether members with admin permissions for repositories can delete or transfer repositories.

    \n\n\n\n\n\n\n\n\n\n\n\n

    membersCanDeleteRepositoriesSettingOrganizations (OrganizationConnection!)

    A list of enterprise organizations configured with the provided members can delete repositories setting value.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (OrganizationOrder)

    \n

    Ordering options for organizations with this setting.

    \n\n
    \n\n
    \n

    value (Boolean!)

    \n

    The setting value to find organizations for.

    \n\n
    \n\n
    \n\n\n

    membersCanInviteCollaboratorsSetting (EnterpriseEnabledDisabledSettingValue!)

    The setting value for whether members of organizations in the enterprise can invite outside collaborators.

    \n\n\n\n\n\n\n\n\n\n\n\n

    membersCanInviteCollaboratorsSettingOrganizations (OrganizationConnection!)

    A list of enterprise organizations configured with the provided members can invite collaborators setting value.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (OrganizationOrder)

    \n

    Ordering options for organizations with this setting.

    \n\n
    \n\n
    \n

    value (Boolean!)

    \n

    The setting value to find organizations for.

    \n\n
    \n\n
    \n\n\n

    membersCanMakePurchasesSetting (EnterpriseMembersCanMakePurchasesSettingValue!)

    Indicates whether members of this enterprise's organizations can purchase additional services for those organizations.

    \n\n\n\n\n\n\n\n\n\n\n\n

    membersCanUpdateProtectedBranchesSetting (EnterpriseEnabledDisabledSettingValue!)

    The setting value for whether members with admin permissions for repositories can update protected branches.

    \n\n\n\n\n\n\n\n\n\n\n\n

    membersCanUpdateProtectedBranchesSettingOrganizations (OrganizationConnection!)

    A list of enterprise organizations configured with the provided members can update protected branches setting value.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (OrganizationOrder)

    \n

    Ordering options for organizations with this setting.

    \n\n
    \n\n
    \n

    value (Boolean!)

    \n

    The setting value to find organizations for.

    \n\n
    \n\n
    \n\n\n

    membersCanViewDependencyInsightsSetting (EnterpriseEnabledDisabledSettingValue!)

    The setting value for whether members can view dependency insights.

    \n\n\n\n\n\n\n\n\n\n\n\n

    membersCanViewDependencyInsightsSettingOrganizations (OrganizationConnection!)

    A list of enterprise organizations configured with the provided members can view dependency insights setting value.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (OrganizationOrder)

    \n

    Ordering options for organizations with this setting.

    \n\n
    \n\n
    \n

    value (Boolean!)

    \n

    The setting value to find organizations for.

    \n\n
    \n\n
    \n\n\n

    organizationProjectsSetting (EnterpriseEnabledDisabledSettingValue!)

    The setting value for whether organization projects are enabled for organizations in this enterprise.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationProjectsSettingOrganizations (OrganizationConnection!)

    A list of enterprise organizations configured with the provided organization projects setting value.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (OrganizationOrder)

    \n

    Ordering options for organizations with this setting.

    \n\n
    \n\n
    \n

    value (Boolean!)

    \n

    The setting value to find organizations for.

    \n\n
    \n\n
    \n\n\n

    outsideCollaborators (EnterpriseOutsideCollaboratorConnection!)

    A list of outside collaborators across the repositories in the enterprise.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    login (String)

    \n

    The login of one specific outside collaborator.

    \n\n
    \n\n
    \n

    orderBy (EnterpriseMemberOrder)

    \n

    Ordering options for outside collaborators returned from the connection.

    \n\n
    \n\n
    \n

    query (String)

    \n

    The search string to look for.

    \n\n
    \n\n
    \n

    visibility (RepositoryVisibility)

    \n

    Only return outside collaborators on repositories with this visibility.

    \n\n
    \n\n
    \n\n\n

    pendingAdminInvitations (EnterpriseAdministratorInvitationConnection!)

    A list of pending administrator invitations for the enterprise.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (EnterpriseAdministratorInvitationOrder)

    \n

    Ordering options for pending enterprise administrator invitations returned from the connection.

    \n\n
    \n\n
    \n

    query (String)

    \n

    The search string to look for.

    \n\n
    \n\n
    \n

    role (EnterpriseAdministratorRole)

    \n

    The role to filter by.

    \n\n
    \n\n
    \n\n\n

    pendingCollaboratorInvitations (RepositoryInvitationConnection!)

    A list of pending collaborator invitations across the repositories in the enterprise.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (RepositoryInvitationOrder)

    \n

    Ordering options for pending repository collaborator invitations returned from the connection.

    \n\n
    \n\n
    \n

    query (String)

    \n

    The search string to look for.

    \n\n
    \n\n
    \n\n\n

    pendingCollaborators (EnterprisePendingCollaboratorConnection!)

    A list of pending collaborators across the repositories in the enterprise.

    \n\n\n\n\n\n\n
    \n

    Deprecation notice

    \n

    pendingCollaborators is deprecated.

    Repository invitations can now be associated with an email, not only an invitee. Use the pendingCollaboratorInvitations field instead. Removal on 2020-10-01 UTC.

    \n
    \n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (RepositoryInvitationOrder)

    \n

    Ordering options for pending repository collaborator invitations returned from the connection.

    \n\n
    \n\n
    \n

    query (String)

    \n

    The search string to look for.

    \n\n
    \n\n
    \n\n\n

    pendingMemberInvitations (EnterprisePendingMemberInvitationConnection!)

    A list of pending member invitations for organizations in the enterprise.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    query (String)

    \n

    The search string to look for.

    \n\n
    \n\n
    \n\n\n

    repositoryProjectsSetting (EnterpriseEnabledDisabledSettingValue!)

    The setting value for whether repository projects are enabled in this enterprise.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repositoryProjectsSettingOrganizations (OrganizationConnection!)

    A list of enterprise organizations configured with the provided repository projects setting value.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (OrganizationOrder)

    \n

    Ordering options for organizations with this setting.

    \n\n
    \n\n
    \n

    value (Boolean!)

    \n

    The setting value to find organizations for.

    \n\n
    \n\n
    \n\n\n

    samlIdentityProvider (EnterpriseIdentityProvider)

    The SAML Identity Provider for the enterprise.

    \n\n\n\n\n\n\n\n\n\n\n\n

    samlIdentityProviderSettingOrganizations (OrganizationConnection!)

    A list of enterprise organizations configured with the SAML single sign-on setting value.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (OrganizationOrder)

    \n

    Ordering options for organizations with this setting.

    \n\n
    \n\n
    \n

    value (IdentityProviderConfigurationState!)

    \n

    The setting value to find organizations for.

    \n\n
    \n\n
    \n\n\n

    teamDiscussionsSetting (EnterpriseEnabledDisabledSettingValue!)

    The setting value for whether team discussions are enabled for organizations in this enterprise.

    \n\n\n\n\n\n\n\n\n\n\n\n

    teamDiscussionsSettingOrganizations (OrganizationConnection!)

    A list of enterprise organizations configured with the provided team discussions setting value.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (OrganizationOrder)

    \n

    Ordering options for organizations with this setting.

    \n\n
    \n\n
    \n

    value (Boolean!)

    \n

    The setting value to find organizations for.

    \n\n
    \n\n
    \n\n\n

    twoFactorRequiredSetting (EnterpriseEnabledSettingValue!)

    The setting value for whether the enterprise requires two-factor authentication for its organizations and users.

    \n\n\n\n\n\n\n\n\n\n\n\n

    twoFactorRequiredSettingOrganizations (OrganizationConnection!)

    A list of enterprise organizations configured with the two-factor authentication setting value.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (OrganizationOrder)

    \n

    Ordering options for organizations with this setting.

    \n\n
    \n\n
    \n

    value (Boolean!)

    \n

    The setting value to find organizations for.

    \n\n
    \n\n
    \n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n EnterprisePendingCollaboratorConnection\n

    \n

    The connection type for User.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([EnterprisePendingCollaboratorEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([User])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n EnterprisePendingCollaboratorEdge\n

    \n

    A user with an invitation to be a collaborator on a repository owned by an organization in an enterprise.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    isUnlicensed (Boolean!)

    Whether the invited collaborator does not have a license for the enterprise.

    \n\n\n\n\n\n\n
    \n

    Deprecation notice

    \n

    isUnlicensed is deprecated.

    All pending collaborators consume a license Removal on 2021-01-01 UTC.

    \n
    \n\n\n\n\n\n\n

    node (User)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repositories (EnterpriseRepositoryInfoConnection!)

    The enterprise organization repositories this user is a member of.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (RepositoryOrder)

    \n

    Ordering options for repositories.

    \n\n
    \n\n
    \n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n EnterprisePendingMemberInvitationConnection\n

    \n

    The connection type for OrganizationInvitation.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([EnterprisePendingMemberInvitationEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([OrganizationInvitation])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalUniqueUserCount (Int!)

    Identifies the total count of unique users in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n EnterprisePendingMemberInvitationEdge\n

    \n

    An invitation to be a member in an enterprise organization.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    isUnlicensed (Boolean!)

    Whether the invitation has a license for the enterprise.

    \n\n\n\n\n\n\n
    \n

    Deprecation notice

    \n

    isUnlicensed is deprecated.

    All pending members consume a license Removal on 2020-07-01 UTC.

    \n
    \n\n\n\n\n\n\n

    node (OrganizationInvitation)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n EnterpriseRepositoryInfo\n

    \n

    A subset of repository information queryable from an enterprise.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    isPrivate (Boolean!)

    Identifies if the repository is private.

    \n\n\n\n\n\n\n\n\n\n\n\n

    name (String!)

    The repository's name.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nameWithOwner (String!)

    The repository's name with owner.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n EnterpriseRepositoryInfoConnection\n

    \n

    The connection type for EnterpriseRepositoryInfo.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([EnterpriseRepositoryInfoEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([EnterpriseRepositoryInfo])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n EnterpriseRepositoryInfoEdge\n

    \n

    An edge in a connection.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (EnterpriseRepositoryInfo)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n EnterpriseServerInstallation\n

    \n

    An Enterprise Server installation.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    customerName (String!)

    The customer name to which the Enterprise Server installation belongs.

    \n\n\n\n\n\n\n\n\n\n\n\n

    hostName (String!)

    The host name of the Enterprise Server installation.

    \n\n\n\n\n\n\n\n\n\n\n\n

    isConnected (Boolean!)

    Whether or not the installation is connected to an Enterprise Server installation via GitHub Connect.

    \n\n\n\n\n\n\n\n\n\n\n\n

    updatedAt (DateTime!)

    Identifies the date and time when the object was last updated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userAccounts (EnterpriseServerUserAccountConnection!)

    User accounts on this Enterprise Server installation.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (EnterpriseServerUserAccountOrder)

    \n

    Ordering options for Enterprise Server user accounts returned from the connection.

    \n\n
    \n\n
    \n\n\n

    userAccountsUploads (EnterpriseServerUserAccountsUploadConnection!)

    User accounts uploads for the Enterprise Server installation.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (EnterpriseServerUserAccountsUploadOrder)

    \n

    Ordering options for Enterprise Server user accounts uploads returned from the connection.

    \n\n
    \n\n
    \n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n EnterpriseServerUserAccount\n

    \n

    A user account on an Enterprise Server installation.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    emails (EnterpriseServerUserAccountEmailConnection!)

    User emails belonging to this user account.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (EnterpriseServerUserAccountEmailOrder)

    \n

    Ordering options for Enterprise Server user account emails returned from the connection.

    \n\n
    \n\n
    \n\n\n

    enterpriseServerInstallation (EnterpriseServerInstallation!)

    The Enterprise Server installation on which this user account exists.

    \n\n\n\n\n\n\n\n\n\n\n\n

    isSiteAdmin (Boolean!)

    Whether the user account is a site administrator on the Enterprise Server installation.

    \n\n\n\n\n\n\n\n\n\n\n\n

    login (String!)

    The login of the user account on the Enterprise Server installation.

    \n\n\n\n\n\n\n\n\n\n\n\n

    profileName (String)

    The profile name of the user account on the Enterprise Server installation.

    \n\n\n\n\n\n\n\n\n\n\n\n

    remoteCreatedAt (DateTime!)

    The date and time when the user account was created on the Enterprise Server installation.

    \n\n\n\n\n\n\n\n\n\n\n\n

    remoteUserId (Int!)

    The ID of the user account on the Enterprise Server installation.

    \n\n\n\n\n\n\n\n\n\n\n\n

    updatedAt (DateTime!)

    Identifies the date and time when the object was last updated.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n EnterpriseServerUserAccountConnection\n

    \n

    The connection type for EnterpriseServerUserAccount.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([EnterpriseServerUserAccountEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([EnterpriseServerUserAccount])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n EnterpriseServerUserAccountEdge\n

    \n

    An edge in a connection.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (EnterpriseServerUserAccount)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n EnterpriseServerUserAccountEmail\n

    \n

    An email belonging to a user account on an Enterprise Server installation.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    email (String!)

    The email address.

    \n\n\n\n\n\n\n\n\n\n\n\n

    isPrimary (Boolean!)

    Indicates whether this is the primary email of the associated user account.

    \n\n\n\n\n\n\n\n\n\n\n\n

    updatedAt (DateTime!)

    Identifies the date and time when the object was last updated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userAccount (EnterpriseServerUserAccount!)

    The user account to which the email belongs.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n EnterpriseServerUserAccountEmailConnection\n

    \n

    The connection type for EnterpriseServerUserAccountEmail.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([EnterpriseServerUserAccountEmailEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([EnterpriseServerUserAccountEmail])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n EnterpriseServerUserAccountEmailEdge\n

    \n

    An edge in a connection.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (EnterpriseServerUserAccountEmail)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n EnterpriseServerUserAccountsUpload\n

    \n

    A user accounts upload from an Enterprise Server installation.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    enterprise (Enterprise!)

    The enterprise to which this upload belongs.

    \n\n\n\n\n\n\n\n\n\n\n\n

    enterpriseServerInstallation (EnterpriseServerInstallation!)

    The Enterprise Server installation for which this upload was generated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    name (String!)

    The name of the file uploaded.

    \n\n\n\n\n\n\n\n\n\n\n\n

    syncState (EnterpriseServerUserAccountsUploadSyncState!)

    The synchronization state of the upload.

    \n\n\n\n\n\n\n\n\n\n\n\n

    updatedAt (DateTime!)

    Identifies the date and time when the object was last updated.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n EnterpriseServerUserAccountsUploadConnection\n

    \n

    The connection type for EnterpriseServerUserAccountsUpload.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([EnterpriseServerUserAccountsUploadEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([EnterpriseServerUserAccountsUpload])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n EnterpriseServerUserAccountsUploadEdge\n

    \n

    An edge in a connection.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (EnterpriseServerUserAccountsUpload)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n EnterpriseUserAccount\n

    \n

    An account for a user who is an admin of an enterprise or a member of an enterprise through one or more organizations.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    avatarUrl (URI!)

    A URL pointing to the enterprise user account's public avatar.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    size (Int)

    \n

    The size of the resulting square image.

    \n\n
    \n\n
    \n\n\n

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    enterprise (Enterprise!)

    The enterprise in which this user account exists.

    \n\n\n\n\n\n\n\n\n\n\n\n

    login (String!)

    An identifier for the enterprise user account, a login or email address.

    \n\n\n\n\n\n\n\n\n\n\n\n

    name (String)

    The name of the enterprise user account.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizations (EnterpriseOrganizationMembershipConnection!)

    A list of enterprise organizations this user is a member of.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (OrganizationOrder)

    \n

    Ordering options for organizations returned from the connection.

    \n\n
    \n\n
    \n

    query (String)

    \n

    The search string to look for.

    \n\n
    \n\n
    \n

    role (EnterpriseUserAccountMembershipRole)

    \n

    The role of the user in the enterprise organization.

    \n\n
    \n\n
    \n\n\n

    resourcePath (URI!)

    The HTTP path for this user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    updatedAt (DateTime!)

    Identifies the date and time when the object was last updated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    url (URI!)

    The HTTP URL for this user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    user (User)

    The user within the enterprise.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n EnterpriseUserAccountConnection\n

    \n

    The connection type for EnterpriseUserAccount.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([EnterpriseUserAccountEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([EnterpriseUserAccount])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n EnterpriseUserAccountEdge\n

    \n

    An edge in a connection.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (EnterpriseUserAccount)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n ExternalIdentity\n

    \n

    An external identity provisioned by SAML SSO or SCIM.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    guid (String!)

    The GUID for this identity.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationInvitation (OrganizationInvitation)

    Organization invitation for this SCIM-provisioned external identity.

    \n\n\n\n\n\n\n\n\n\n\n\n

    samlIdentity (ExternalIdentitySamlAttributes)

    SAML Identity attributes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    scimIdentity (ExternalIdentityScimAttributes)

    SCIM Identity attributes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    user (User)

    User linked to this external identity. Will be NULL if this identity has not been claimed by an organization member.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n ExternalIdentityConnection\n

    \n

    The connection type for ExternalIdentity.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([ExternalIdentityEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([ExternalIdentity])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n ExternalIdentityEdge\n

    \n

    An edge in a connection.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (ExternalIdentity)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n ExternalIdentitySamlAttributes\n

    \n

    SAML attributes for the External Identity.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    emails ([UserEmailMetadata!])

    The emails associated with the SAML identity.

    \n\n\n\n\n\n\n\n\n\n\n\n

    familyName (String)

    Family name of the SAML identity.

    \n\n\n\n\n\n\n\n\n\n\n\n

    givenName (String)

    Given name of the SAML identity.

    \n\n\n\n\n\n\n\n\n\n\n\n

    groups ([String!])

    The groups linked to this identity in IDP.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nameId (String)

    The NameID of the SAML identity.

    \n\n\n\n\n\n\n\n\n\n\n\n

    username (String)

    The userName of the SAML identity.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n ExternalIdentityScimAttributes\n

    \n

    SCIM attributes for the External Identity.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    emails ([UserEmailMetadata!])

    The emails associated with the SCIM identity.

    \n\n\n\n\n\n\n\n\n\n\n\n

    familyName (String)

    Family name of the SCIM identity.

    \n\n\n\n\n\n\n\n\n\n\n\n

    givenName (String)

    Given name of the SCIM identity.

    \n\n\n\n\n\n\n\n\n\n\n\n

    groups ([String!])

    The groups linked to this identity in IDP.

    \n\n\n\n\n\n\n\n\n\n\n\n

    username (String)

    The userName of the SCIM identity.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n FollowerConnection\n

    \n

    The connection type for User.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([UserEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([User])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n FollowingConnection\n

    \n

    The connection type for User.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([UserEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([User])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n GenericHovercardContext\n

    \n

    A generic hovercard context with a message and icon.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    message (String!)

    A string describing this context.

    \n\n\n\n\n\n\n\n\n\n\n\n

    octicon (String!)

    An octicon to accompany this context.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n Gist\n

    \n

    A Gist.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    comments (GistCommentConnection!)

    A list of comments associated with the gist.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n\n\n

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    description (String)

    The gist description.

    \n\n\n\n\n\n\n\n\n\n\n\n

    files ([GistFile])

    The files in this gist.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    limit (Int)

    \n

    The maximum number of files to return.

    \n

    The default value is 10.

    \n
    \n\n
    \n

    oid (GitObjectID)

    \n

    The oid of the files to return.

    \n\n
    \n\n
    \n\n\n

    forks (GistConnection!)

    A list of forks associated with the gist.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (GistOrder)

    \n

    Ordering options for gists returned from the connection.

    \n\n
    \n\n
    \n\n\n

    isFork (Boolean!)

    Identifies if the gist is a fork.

    \n\n\n\n\n\n\n\n\n\n\n\n

    isPublic (Boolean!)

    Whether the gist is public or not.

    \n\n\n\n\n\n\n\n\n\n\n\n

    name (String!)

    The gist name.

    \n\n\n\n\n\n\n\n\n\n\n\n

    owner (RepositoryOwner)

    The gist owner.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pushedAt (DateTime)

    Identifies when the gist was last pushed to.

    \n\n\n\n\n\n\n\n\n\n\n\n

    resourcePath (URI!)

    The HTML path to this resource.

    \n\n\n\n\n\n\n\n\n\n\n\n

    stargazerCount (Int!)

    Returns a count of how many stargazers there are on this object.

    \n\n\n\n\n\n\n\n\n\n\n\n

    stargazers (StargazerConnection!)

    A list of users who have starred this starrable.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (StarOrder)

    \n

    Order for connection.

    \n\n
    \n\n
    \n\n\n

    updatedAt (DateTime!)

    Identifies the date and time when the object was last updated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    url (URI!)

    The HTTP URL for this Gist.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerHasStarred (Boolean!)

    Returns a boolean indicating whether the viewing user has starred this starrable.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n GistComment\n

    \n

    Represents a comment on an Gist.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    author (Actor)

    The actor who authored the comment.

    \n\n\n\n\n\n\n\n\n\n\n\n

    authorAssociation (CommentAuthorAssociation!)

    Author's association with the gist.

    \n\n\n\n\n\n\n\n\n\n\n\n

    body (String!)

    Identifies the comment body.

    \n\n\n\n\n\n\n\n\n\n\n\n

    bodyHTML (HTML!)

    The body rendered to HTML.

    \n\n\n\n\n\n\n\n\n\n\n\n

    bodyText (String!)

    The body rendered to text.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdViaEmail (Boolean!)

    Check if this comment was created via an email reply.

    \n\n\n\n\n\n\n\n\n\n\n\n

    databaseId (Int)

    Identifies the primary key from the database.

    \n\n\n\n\n\n\n\n\n\n\n\n

    editor (Actor)

    The actor who edited the comment.

    \n\n\n\n\n\n\n\n\n\n\n\n

    gist (Gist!)

    The associated gist.

    \n\n\n\n\n\n\n\n\n\n\n\n

    includesCreatedEdit (Boolean!)

    Check if this comment was edited and includes an edit with the creation data.

    \n\n\n\n\n\n\n\n\n\n\n\n

    isMinimized (Boolean!)

    Returns whether or not a comment has been minimized.

    \n\n\n\n\n\n\n\n\n\n\n\n

    lastEditedAt (DateTime)

    The moment the editor made the last edit.

    \n\n\n\n\n\n\n\n\n\n\n\n

    minimizedReason (String)

    Returns why the comment was minimized.

    \n\n\n\n\n\n\n\n\n\n\n\n

    publishedAt (DateTime)

    Identifies when the comment was published at.

    \n\n\n\n\n\n\n\n\n\n\n\n

    updatedAt (DateTime!)

    Identifies the date and time when the object was last updated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userContentEdits (UserContentEditConnection)

    A list of edits to this content.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n\n\n

    viewerCanDelete (Boolean!)

    Check if the current viewer can delete this object.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerCanMinimize (Boolean!)

    Check if the current viewer can minimize this object.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerCanUpdate (Boolean!)

    Check if the current viewer can update this object.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerCannotUpdateReasons ([CommentCannotUpdateReason!]!)

    Reasons why the current viewer can not update this comment.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerDidAuthor (Boolean!)

    Did the viewer author this comment.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n GistCommentConnection\n

    \n

    The connection type for GistComment.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([GistCommentEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([GistComment])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n GistCommentEdge\n

    \n

    An edge in a connection.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (GistComment)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n GistConnection\n

    \n

    The connection type for Gist.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([GistEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([Gist])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n GistEdge\n

    \n

    An edge in a connection.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (Gist)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n GistFile\n

    \n

    A file in a gist.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    encodedName (String)

    The file name encoded to remove characters that are invalid in URL paths.

    \n\n\n\n\n\n\n\n\n\n\n\n

    encoding (String)

    The gist file encoding.

    \n\n\n\n\n\n\n\n\n\n\n\n

    extension (String)

    The file extension from the file name.

    \n\n\n\n\n\n\n\n\n\n\n\n

    isImage (Boolean!)

    Indicates if this file is an image.

    \n\n\n\n\n\n\n\n\n\n\n\n

    isTruncated (Boolean!)

    Whether the file's contents were truncated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    language (Language)

    The programming language this file is written in.

    \n\n\n\n\n\n\n\n\n\n\n\n

    name (String)

    The gist file name.

    \n\n\n\n\n\n\n\n\n\n\n\n

    size (Int)

    The gist file size in bytes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    text (String)

    UTF8 text data or null if the file is binary.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    truncate (Int)

    \n

    Optionally truncate the returned file to this length.

    \n\n
    \n\n
    \n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n GitActor\n

    \n

    Represents an actor in a Git commit (ie. an author or committer).

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    avatarUrl (URI!)

    A URL pointing to the author's public avatar.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    size (Int)

    \n

    The size of the resulting square image.

    \n\n
    \n\n
    \n\n\n

    date (GitTimestamp)

    The timestamp of the Git action (authoring or committing).

    \n\n\n\n\n\n\n\n\n\n\n\n

    email (String)

    The email in the Git commit.

    \n\n\n\n\n\n\n\n\n\n\n\n

    name (String)

    The name in the Git commit.

    \n\n\n\n\n\n\n\n\n\n\n\n

    user (User)

    The GitHub user corresponding to the email field. Null if no such user exists.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n GitActorConnection\n

    \n

    The connection type for GitActor.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([GitActorEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([GitActor])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n GitActorEdge\n

    \n

    An edge in a connection.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (GitActor)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n GitHubMetadata\n

    \n

    Represents information about the GitHub instance.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    gitHubServicesSha (GitObjectID!)

    Returns a String that's a SHA of github-services.

    \n\n\n\n\n\n\n\n\n\n\n\n

    isPasswordAuthenticationVerifiable (Boolean!)

    Whether or not users are verified.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n GpgSignature\n

    \n

    Represents a GPG signature on a Commit or Tag.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    email (String!)

    Email used to sign this object.

    \n\n\n\n\n\n\n\n\n\n\n\n

    isValid (Boolean!)

    True if the signature is valid and verified by GitHub.

    \n\n\n\n\n\n\n\n\n\n\n\n

    keyId (String)

    Hex-encoded ID of the key that signed this object.

    \n\n\n\n\n\n\n\n\n\n\n\n

    payload (String!)

    Payload for GPG signing object. Raw ODB object without the signature header.

    \n\n\n\n\n\n\n\n\n\n\n\n

    signature (String!)

    ASCII-armored signature header from object.

    \n\n\n\n\n\n\n\n\n\n\n\n

    signer (User)

    GitHub user corresponding to the email signing this commit.

    \n\n\n\n\n\n\n\n\n\n\n\n

    state (GitSignatureState!)

    The state of this signature. VALID if signature is valid and verified by\nGitHub, otherwise represents reason why signature is considered invalid.

    \n\n\n\n\n\n\n\n\n\n\n\n

    wasSignedByGitHub (Boolean!)

    True if the signature was made with GitHub's signing key.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n HeadRefDeletedEvent\n

    \n

    Represents ahead_ref_deletedevent on a given pull request.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    actor (Actor)

    Identifies the actor who performed the event.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    headRef (Ref)

    Identifies the Ref associated with the head_ref_deleted event.

    \n\n\n\n\n\n\n\n\n\n\n\n

    headRefName (String!)

    Identifies the name of the Ref associated with the head_ref_deleted event.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pullRequest (PullRequest!)

    PullRequest referenced by event.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n HeadRefForcePushedEvent\n

    \n

    Represents ahead_ref_force_pushedevent on a given pull request.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    actor (Actor)

    Identifies the actor who performed the event.

    \n\n\n\n\n\n\n\n\n\n\n\n

    afterCommit (Commit)

    Identifies the after commit SHA for thehead_ref_force_pushedevent.

    \n\n\n\n\n\n\n\n\n\n\n\n

    beforeCommit (Commit)

    Identifies the before commit SHA for thehead_ref_force_pushedevent.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pullRequest (PullRequest!)

    PullRequest referenced by event.

    \n\n\n\n\n\n\n\n\n\n\n\n

    ref (Ref)

    Identifies the fully qualified ref name for thehead_ref_force_pushedevent.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n HeadRefRestoredEvent\n

    \n

    Represents ahead_ref_restoredevent on a given pull request.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    actor (Actor)

    Identifies the actor who performed the event.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pullRequest (PullRequest!)

    PullRequest referenced by event.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n Hovercard\n

    \n

    Detail needed to display a hovercard for a user.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    contexts ([HovercardContext!]!)

    Each of the contexts for this hovercard.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n IpAllowListEntry\n

    \n

    An IP address or range of addresses that is allowed to access an owner's resources.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    allowListValue (String!)

    A single IP address or range of IP addresses in CIDR notation.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    isActive (Boolean!)

    Whether the entry is currently active.

    \n\n\n\n\n\n\n\n\n\n\n\n

    name (String)

    The name of the IP allow list entry.

    \n\n\n\n\n\n\n\n\n\n\n\n

    owner (IpAllowListOwner!)

    The owner of the IP allow list entry.

    \n\n\n\n\n\n\n\n\n\n\n\n

    updatedAt (DateTime!)

    Identifies the date and time when the object was last updated.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n IpAllowListEntryConnection\n

    \n

    The connection type for IpAllowListEntry.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([IpAllowListEntryEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([IpAllowListEntry])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n IpAllowListEntryEdge\n

    \n

    An edge in a connection.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (IpAllowListEntry)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n Issue\n

    \n

    An Issue is a place to discuss ideas, enhancements, tasks, and bugs for a project.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    activeLockReason (LockReason)

    Reason that the conversation was locked.

    \n\n\n\n\n\n\n\n\n\n\n\n

    assignees (UserConnection!)

    A list of Users assigned to this object.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n\n\n

    author (Actor)

    The actor who authored the comment.

    \n\n\n\n\n\n\n\n\n\n\n\n

    authorAssociation (CommentAuthorAssociation!)

    Author's association with the subject of the comment.

    \n\n\n\n\n\n\n\n\n\n\n\n

    body (String!)

    Identifies the body of the issue.

    \n\n\n\n\n\n\n\n\n\n\n\n

    bodyHTML (HTML!)

    The body rendered to HTML.

    \n\n\n\n\n\n\n\n\n\n\n\n

    bodyResourcePath (URI!)

    The http path for this issue body.

    \n\n\n\n\n\n\n\n\n\n\n\n

    bodyText (String!)

    Identifies the body of the issue rendered to text.

    \n\n\n\n\n\n\n\n\n\n\n\n

    bodyUrl (URI!)

    The http URL for this issue body.

    \n\n\n\n\n\n\n\n\n\n\n\n

    closed (Boolean!)

    true if the object is closed (definition of closed may depend on type).

    \n\n\n\n\n\n\n\n\n\n\n\n

    closedAt (DateTime)

    Identifies the date and time when the object was closed.

    \n\n\n\n\n\n\n\n\n\n\n\n

    comments (IssueCommentConnection!)

    A list of comments associated with the Issue.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (IssueCommentOrder)

    \n

    Ordering options for issue comments returned from the connection.

    \n\n
    \n\n
    \n\n\n

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdViaEmail (Boolean!)

    Check if this comment was created via an email reply.

    \n\n\n\n\n\n\n\n\n\n\n\n

    databaseId (Int)

    Identifies the primary key from the database.

    \n\n\n\n\n\n\n\n\n\n\n\n

    editor (Actor)

    The actor who edited the comment.

    \n\n\n\n\n\n\n\n\n\n\n\n

    hovercard (Hovercard!)

    The hovercard information for this issue.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    includeNotificationContexts (Boolean)

    \n

    Whether or not to include notification contexts.

    \n

    The default value is true.

    \n
    \n\n
    \n\n\n

    includesCreatedEdit (Boolean!)

    Check if this comment was edited and includes an edit with the creation data.

    \n\n\n\n\n\n\n\n\n\n\n\n

    isPinned (Boolean)

    Indicates whether or not this issue is currently pinned to the repository issues list.

    \n\n\n\n\n\n\n\n\n\n\n\n

    isReadByViewer (Boolean)

    Is this issue read by the viewer.

    \n\n\n\n\n\n\n\n\n\n\n\n

    labels (LabelConnection)

    A list of labels associated with the object.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (LabelOrder)

    \n

    Ordering options for labels returned from the connection.

    \n\n
    \n\n
    \n\n\n

    lastEditedAt (DateTime)

    The moment the editor made the last edit.

    \n\n\n\n\n\n\n\n\n\n\n\n

    locked (Boolean!)

    true if the object is locked.

    \n\n\n\n\n\n\n\n\n\n\n\n

    milestone (Milestone)

    Identifies the milestone associated with the issue.

    \n\n\n\n\n\n\n\n\n\n\n\n

    number (Int!)

    Identifies the issue number.

    \n\n\n\n\n\n\n\n\n\n\n\n

    participants (UserConnection!)

    A list of Users that are participating in the Issue conversation.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n\n\n

    projectCards (ProjectCardConnection!)

    List of project cards associated with this issue.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    archivedStates ([ProjectCardArchivedState])

    \n

    A list of archived states to filter the cards by.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n\n\n

    publishedAt (DateTime)

    Identifies when the comment was published at.

    \n\n\n\n\n\n\n\n\n\n\n\n

    reactionGroups ([ReactionGroup!])

    A list of reactions grouped by content left on the subject.

    \n\n\n\n\n\n\n\n\n\n\n\n

    reactions (ReactionConnection!)

    A list of Reactions left on the Issue.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    content (ReactionContent)

    \n

    Allows filtering Reactions by emoji.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (ReactionOrder)

    \n

    Allows specifying the order in which reactions are returned.

    \n\n
    \n\n
    \n\n\n

    repository (Repository!)

    The repository associated with this node.

    \n\n\n\n\n\n\n\n\n\n\n\n

    resourcePath (URI!)

    The HTTP path for this issue.

    \n\n\n\n\n\n\n\n\n\n\n\n

    state (IssueState!)

    Identifies the state of the issue.

    \n\n\n\n\n\n\n\n\n\n\n\n

    timeline (IssueTimelineConnection!)

    A list of events, comments, commits, etc. associated with the issue.

    \n\n\n\n\n\n\n
    \n

    Deprecation notice

    \n

    timeline is deprecated.

    timeline will be removed Use Issue.timelineItems instead. Removal on 2020-10-01 UTC.

    \n
    \n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    since (DateTime)

    \n

    Allows filtering timeline events by a since timestamp.

    \n\n
    \n\n
    \n\n\n

    timelineItems (IssueTimelineItemsConnection!)

    A list of events, comments, commits, etc. associated with the issue.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    itemTypes ([IssueTimelineItemsItemType!])

    \n

    Filter timeline items by type.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    since (DateTime)

    \n

    Filter timeline items by a since timestamp.

    \n\n
    \n\n
    \n

    skip (Int)

    \n

    Skips the first n elements in the list.

    \n\n
    \n\n
    \n\n\n

    title (String!)

    Identifies the issue title.

    \n\n\n\n\n\n\n\n\n\n\n\n

    updatedAt (DateTime!)

    Identifies the date and time when the object was last updated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    url (URI!)

    The HTTP URL for this issue.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userContentEdits (UserContentEditConnection)

    A list of edits to this content.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n\n\n

    viewerCanReact (Boolean!)

    Can user react to this subject.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerCanSubscribe (Boolean!)

    Check if the viewer is able to change their subscription status for the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerCanUpdate (Boolean!)

    Check if the current viewer can update this object.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerCannotUpdateReasons ([CommentCannotUpdateReason!]!)

    Reasons why the current viewer can not update this comment.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerDidAuthor (Boolean!)

    Did the viewer author this comment.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerSubscription (SubscriptionState)

    Identifies if the viewer is watching, not watching, or ignoring the subscribable entity.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n IssueComment\n

    \n

    Represents a comment on an Issue.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    author (Actor)

    The actor who authored the comment.

    \n\n\n\n\n\n\n\n\n\n\n\n

    authorAssociation (CommentAuthorAssociation!)

    Author's association with the subject of the comment.

    \n\n\n\n\n\n\n\n\n\n\n\n

    body (String!)

    The body as Markdown.

    \n\n\n\n\n\n\n\n\n\n\n\n

    bodyHTML (HTML!)

    The body rendered to HTML.

    \n\n\n\n\n\n\n\n\n\n\n\n

    bodyText (String!)

    The body rendered to text.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdViaEmail (Boolean!)

    Check if this comment was created via an email reply.

    \n\n\n\n\n\n\n\n\n\n\n\n

    databaseId (Int)

    Identifies the primary key from the database.

    \n\n\n\n\n\n\n\n\n\n\n\n

    editor (Actor)

    The actor who edited the comment.

    \n\n\n\n\n\n\n\n\n\n\n\n

    includesCreatedEdit (Boolean!)

    Check if this comment was edited and includes an edit with the creation data.

    \n\n\n\n\n\n\n\n\n\n\n\n

    isMinimized (Boolean!)

    Returns whether or not a comment has been minimized.

    \n\n\n\n\n\n\n\n\n\n\n\n

    issue (Issue!)

    Identifies the issue associated with the comment.

    \n\n\n\n\n\n\n\n\n\n\n\n

    lastEditedAt (DateTime)

    The moment the editor made the last edit.

    \n\n\n\n\n\n\n\n\n\n\n\n

    minimizedReason (String)

    Returns why the comment was minimized.

    \n\n\n\n\n\n\n\n\n\n\n\n

    publishedAt (DateTime)

    Identifies when the comment was published at.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pullRequest (PullRequest)

    Returns the pull request associated with the comment, if this comment was made on a\npull request.

    \n\n\n\n\n\n\n\n\n\n\n\n

    reactionGroups ([ReactionGroup!])

    A list of reactions grouped by content left on the subject.

    \n\n\n\n\n\n\n\n\n\n\n\n

    reactions (ReactionConnection!)

    A list of Reactions left on the Issue.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    content (ReactionContent)

    \n

    Allows filtering Reactions by emoji.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (ReactionOrder)

    \n

    Allows specifying the order in which reactions are returned.

    \n\n
    \n\n
    \n\n\n

    repository (Repository!)

    The repository associated with this node.

    \n\n\n\n\n\n\n\n\n\n\n\n

    resourcePath (URI!)

    The HTTP path for this issue comment.

    \n\n\n\n\n\n\n\n\n\n\n\n

    updatedAt (DateTime!)

    Identifies the date and time when the object was last updated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    url (URI!)

    The HTTP URL for this issue comment.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userContentEdits (UserContentEditConnection)

    A list of edits to this content.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n\n\n

    viewerCanDelete (Boolean!)

    Check if the current viewer can delete this object.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerCanMinimize (Boolean!)

    Check if the current viewer can minimize this object.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerCanReact (Boolean!)

    Can user react to this subject.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerCanUpdate (Boolean!)

    Check if the current viewer can update this object.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerCannotUpdateReasons ([CommentCannotUpdateReason!]!)

    Reasons why the current viewer can not update this comment.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerDidAuthor (Boolean!)

    Did the viewer author this comment.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n IssueCommentConnection\n

    \n

    The connection type for IssueComment.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([IssueCommentEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([IssueComment])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n IssueCommentEdge\n

    \n

    An edge in a connection.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (IssueComment)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n IssueConnection\n

    \n

    The connection type for Issue.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([IssueEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([Issue])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n IssueContributionsByRepository\n

    \n

    This aggregates issues opened by a user within one repository.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    contributions (CreatedIssueContributionConnection!)

    The issue contributions.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (ContributionOrder)

    \n

    Ordering options for contributions returned from the connection.

    \n\n
    \n\n
    \n\n\n

    repository (Repository!)

    The repository in which the issues were opened.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n IssueEdge\n

    \n

    An edge in a connection.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (Issue)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n IssueTemplate\n

    \n

    A repository issue template.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    about (String)

    The template purpose.

    \n\n\n\n\n\n\n\n\n\n\n\n

    body (String)

    The suggested issue body.

    \n\n\n\n\n\n\n\n\n\n\n\n

    name (String!)

    The template name.

    \n\n\n\n\n\n\n\n\n\n\n\n

    title (String)

    The suggested issue title.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n IssueTimelineConnection\n

    \n

    The connection type for IssueTimelineItem.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([IssueTimelineItemEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([IssueTimelineItem])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n IssueTimelineItemEdge\n

    \n

    An edge in a connection.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (IssueTimelineItem)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n IssueTimelineItemsConnection\n

    \n

    The connection type for IssueTimelineItems.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([IssueTimelineItemsEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    filteredCount (Int!)

    Identifies the count of items after applying before and after filters.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([IssueTimelineItems])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageCount (Int!)

    Identifies the count of items after applying before/after filters and first/last/skip slicing.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n

    updatedAt (DateTime!)

    Identifies the date and time when the timeline was last updated.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n IssueTimelineItemsEdge\n

    \n

    An edge in a connection.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (IssueTimelineItems)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n JoinedGitHubContribution\n

    \n

    Represents a user signing up for a GitHub account.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    isRestricted (Boolean!)

    Whether this contribution is associated with a record you do not have access to. For\nexample, your own 'first issue' contribution may have been made on a repository you can no\nlonger access.

    \n\n\n\n\n\n\n\n\n\n\n\n

    occurredAt (DateTime!)

    When this contribution was made.

    \n\n\n\n\n\n\n\n\n\n\n\n

    resourcePath (URI!)

    The HTTP path for this contribution.

    \n\n\n\n\n\n\n\n\n\n\n\n

    url (URI!)

    The HTTP URL for this contribution.

    \n\n\n\n\n\n\n\n\n\n\n\n

    user (User!)

    The user who made this contribution.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n Label\n

    \n

    A label for categorizing Issues or Milestones with a given Repository.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    color (String!)

    Identifies the label color.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (DateTime)

    Identifies the date and time when the label was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    description (String)

    A brief description of this label.

    \n\n\n\n\n\n\n\n\n\n\n\n

    isDefault (Boolean!)

    Indicates whether or not this is a default label.

    \n\n\n\n\n\n\n\n\n\n\n\n

    issues (IssueConnection!)

    A list of issues associated with this label.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    filterBy (IssueFilters)

    \n

    Filtering options for issues returned from the connection.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    labels ([String!])

    \n

    A list of label names to filter the pull requests by.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (IssueOrder)

    \n

    Ordering options for issues returned from the connection.

    \n\n
    \n\n
    \n

    states ([IssueState!])

    \n

    A list of states to filter the issues by.

    \n\n
    \n\n
    \n\n\n

    name (String!)

    Identifies the label name.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pullRequests (PullRequestConnection!)

    A list of pull requests associated with this label.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    baseRefName (String)

    \n

    The base ref name to filter the pull requests by.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    headRefName (String)

    \n

    The head ref name to filter the pull requests by.

    \n\n
    \n\n
    \n

    labels ([String!])

    \n

    A list of label names to filter the pull requests by.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (IssueOrder)

    \n

    Ordering options for pull requests returned from the connection.

    \n\n
    \n\n
    \n

    states ([PullRequestState!])

    \n

    A list of states to filter the pull requests by.

    \n\n
    \n\n
    \n\n\n

    repository (Repository!)

    The repository associated with this label.

    \n\n\n\n\n\n\n\n\n\n\n\n

    resourcePath (URI!)

    The HTTP path for this label.

    \n\n\n\n\n\n\n\n\n\n\n\n

    updatedAt (DateTime)

    Identifies the date and time when the label was last updated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    url (URI!)

    The HTTP URL for this label.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n LabelConnection\n

    \n

    The connection type for Label.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([LabelEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([Label])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n LabelEdge\n

    \n

    An edge in a connection.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (Label)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n LabeledEvent\n

    \n

    Represents alabeledevent on a given issue or pull request.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    actor (Actor)

    Identifies the actor who performed the event.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    label (Label!)

    Identifies the label associated with thelabeledevent.

    \n\n\n\n\n\n\n\n\n\n\n\n

    labelable (Labelable!)

    Identifies the Labelable associated with the event.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n Language\n

    \n

    Represents a given language found in repositories.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    color (String)

    The color defined for the current language.

    \n\n\n\n\n\n\n\n\n\n\n\n

    name (String!)

    The name of the current language.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n LanguageConnection\n

    \n

    A list of languages associated with the parent.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([LanguageEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([Language])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalSize (Int!)

    The total size in bytes of files written in that language.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n LanguageEdge\n

    \n

    Represents the language of a repository.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    size (Int!)

    The number of bytes of code written in the language.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n License\n

    \n

    A repository's open source license.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    body (String!)

    The full text of the license.

    \n\n\n\n\n\n\n\n\n\n\n\n

    conditions ([LicenseRule]!)

    The conditions set by the license.

    \n\n\n\n\n\n\n\n\n\n\n\n

    description (String)

    A human-readable description of the license.

    \n\n\n\n\n\n\n\n\n\n\n\n

    featured (Boolean!)

    Whether the license should be featured.

    \n\n\n\n\n\n\n\n\n\n\n\n

    hidden (Boolean!)

    Whether the license should be displayed in license pickers.

    \n\n\n\n\n\n\n\n\n\n\n\n

    implementation (String)

    Instructions on how to implement the license.

    \n\n\n\n\n\n\n\n\n\n\n\n

    key (String!)

    The lowercased SPDX ID of the license.

    \n\n\n\n\n\n\n\n\n\n\n\n

    limitations ([LicenseRule]!)

    The limitations set by the license.

    \n\n\n\n\n\n\n\n\n\n\n\n

    name (String!)

    The license full name specified by https://spdx.org/licenses.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nickname (String)

    Customary short name if applicable (e.g, GPLv3).

    \n\n\n\n\n\n\n\n\n\n\n\n

    permissions ([LicenseRule]!)

    The permissions set by the license.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pseudoLicense (Boolean!)

    Whether the license is a pseudo-license placeholder (e.g., other, no-license).

    \n\n\n\n\n\n\n\n\n\n\n\n

    spdxId (String)

    Short identifier specified by https://spdx.org/licenses.

    \n\n\n\n\n\n\n\n\n\n\n\n

    url (URI)

    URL to the license on https://choosealicense.com.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n LicenseRule\n

    \n

    Describes a License's conditions, permissions, and limitations.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    description (String!)

    A description of the rule.

    \n\n\n\n\n\n\n\n\n\n\n\n

    key (String!)

    The machine-readable rule key.

    \n\n\n\n\n\n\n\n\n\n\n\n

    label (String!)

    The human-readable rule label.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n LockedEvent\n

    \n

    Represents alockedevent on a given issue or pull request.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    actor (Actor)

    Identifies the actor who performed the event.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    lockReason (LockReason)

    Reason that the conversation was locked (optional).

    \n\n\n\n\n\n\n\n\n\n\n\n

    lockable (Lockable!)

    Object that was locked.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n Mannequin\n

    \n

    A placeholder user for attribution of imported data on GitHub.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    avatarUrl (URI!)

    A URL pointing to the GitHub App's public avatar.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    size (Int)

    \n

    The size of the resulting square image.

    \n\n
    \n\n
    \n\n\n

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    databaseId (Int)

    Identifies the primary key from the database.

    \n\n\n\n\n\n\n\n\n\n\n\n

    email (String)

    The mannequin's email on the source instance.

    \n\n\n\n\n\n\n\n\n\n\n\n

    login (String!)

    The username of the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    resourcePath (URI!)

    The HTML path to this resource.

    \n\n\n\n\n\n\n\n\n\n\n\n

    updatedAt (DateTime!)

    Identifies the date and time when the object was last updated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    url (URI!)

    The URL to this resource.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n MarkedAsDuplicateEvent\n

    \n

    Represents amarked_as_duplicateevent on a given issue or pull request.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    actor (Actor)

    Identifies the actor who performed the event.

    \n\n\n\n\n\n\n\n\n\n\n\n

    canonical (IssueOrPullRequest)

    The authoritative issue or pull request which has been duplicated by another.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    duplicate (IssueOrPullRequest)

    The issue or pull request which has been marked as a duplicate of another.

    \n\n\n\n\n\n\n\n\n\n\n\n

    isCrossRepository (Boolean!)

    Canonical and duplicate belong to different repositories.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n MembersCanDeleteReposClearAuditEntry\n

    \n

    Audit log entry for a members_can_delete_repos.clear event.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    action (String!)

    The action name.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actor (AuditEntryActor)

    The user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorIp (String)

    The IP address of the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLocation (ActorLocation)

    A readable representation of the actor's location.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLogin (String)

    The username of the user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorResourcePath (URI)

    The HTTP path for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorUrl (URI)

    The HTTP URL for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (PreciseDateTime!)

    The time the action was initiated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    enterpriseResourcePath (URI)

    The HTTP path for this enterprise.

    \n\n\n\n\n\n\n\n\n\n\n\n

    enterpriseSlug (String)

    The slug of the enterprise.

    \n\n\n\n\n\n\n\n\n\n\n\n

    enterpriseUrl (URI)

    The HTTP URL for this enterprise.

    \n\n\n\n\n\n\n\n\n\n\n\n

    operationType (OperationType)

    The corresponding operation type for the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organization (Organization)

    The Organization associated with the Audit Entry.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationName (String)

    The name of the Organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationResourcePath (URI)

    The HTTP path for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationUrl (URI)

    The HTTP URL for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    user (User)

    The user affected by the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userLogin (String)

    For actions involving two users, the actor is the initiator and the user is the affected user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userResourcePath (URI)

    The HTTP path for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userUrl (URI)

    The HTTP URL for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n MembersCanDeleteReposDisableAuditEntry\n

    \n

    Audit log entry for a members_can_delete_repos.disable event.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    action (String!)

    The action name.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actor (AuditEntryActor)

    The user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorIp (String)

    The IP address of the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLocation (ActorLocation)

    A readable representation of the actor's location.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLogin (String)

    The username of the user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorResourcePath (URI)

    The HTTP path for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorUrl (URI)

    The HTTP URL for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (PreciseDateTime!)

    The time the action was initiated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    enterpriseResourcePath (URI)

    The HTTP path for this enterprise.

    \n\n\n\n\n\n\n\n\n\n\n\n

    enterpriseSlug (String)

    The slug of the enterprise.

    \n\n\n\n\n\n\n\n\n\n\n\n

    enterpriseUrl (URI)

    The HTTP URL for this enterprise.

    \n\n\n\n\n\n\n\n\n\n\n\n

    operationType (OperationType)

    The corresponding operation type for the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organization (Organization)

    The Organization associated with the Audit Entry.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationName (String)

    The name of the Organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationResourcePath (URI)

    The HTTP path for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationUrl (URI)

    The HTTP URL for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    user (User)

    The user affected by the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userLogin (String)

    For actions involving two users, the actor is the initiator and the user is the affected user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userResourcePath (URI)

    The HTTP path for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userUrl (URI)

    The HTTP URL for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n MembersCanDeleteReposEnableAuditEntry\n

    \n

    Audit log entry for a members_can_delete_repos.enable event.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    action (String!)

    The action name.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actor (AuditEntryActor)

    The user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorIp (String)

    The IP address of the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLocation (ActorLocation)

    A readable representation of the actor's location.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLogin (String)

    The username of the user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorResourcePath (URI)

    The HTTP path for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorUrl (URI)

    The HTTP URL for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (PreciseDateTime!)

    The time the action was initiated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    enterpriseResourcePath (URI)

    The HTTP path for this enterprise.

    \n\n\n\n\n\n\n\n\n\n\n\n

    enterpriseSlug (String)

    The slug of the enterprise.

    \n\n\n\n\n\n\n\n\n\n\n\n

    enterpriseUrl (URI)

    The HTTP URL for this enterprise.

    \n\n\n\n\n\n\n\n\n\n\n\n

    operationType (OperationType)

    The corresponding operation type for the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organization (Organization)

    The Organization associated with the Audit Entry.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationName (String)

    The name of the Organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationResourcePath (URI)

    The HTTP path for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationUrl (URI)

    The HTTP URL for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    user (User)

    The user affected by the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userLogin (String)

    For actions involving two users, the actor is the initiator and the user is the affected user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userResourcePath (URI)

    The HTTP path for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userUrl (URI)

    The HTTP URL for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n MentionedEvent\n

    \n

    Represents amentionedevent on a given issue or pull request.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    actor (Actor)

    Identifies the actor who performed the event.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    databaseId (Int)

    Identifies the primary key from the database.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n MergedEvent\n

    \n

    Represents amergedevent on a given pull request.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    actor (Actor)

    Identifies the actor who performed the event.

    \n\n\n\n\n\n\n\n\n\n\n\n

    commit (Commit)

    Identifies the commit associated with the merge event.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    mergeRef (Ref)

    Identifies the Ref associated with the merge event.

    \n\n\n\n\n\n\n\n\n\n\n\n

    mergeRefName (String!)

    Identifies the name of the Ref associated with the merge event.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pullRequest (PullRequest!)

    PullRequest referenced by event.

    \n\n\n\n\n\n\n\n\n\n\n\n

    resourcePath (URI!)

    The HTTP path for this merged event.

    \n\n\n\n\n\n\n\n\n\n\n\n

    url (URI!)

    The HTTP URL for this merged event.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n Milestone\n

    \n

    Represents a Milestone object on a given repository.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    closed (Boolean!)

    true if the object is closed (definition of closed may depend on type).

    \n\n\n\n\n\n\n\n\n\n\n\n

    closedAt (DateTime)

    Identifies the date and time when the object was closed.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    creator (Actor)

    Identifies the actor who created the milestone.

    \n\n\n\n\n\n\n\n\n\n\n\n

    description (String)

    Identifies the description of the milestone.

    \n\n\n\n\n\n\n\n\n\n\n\n

    dueOn (DateTime)

    Identifies the due date of the milestone.

    \n\n\n\n\n\n\n\n\n\n\n\n

    issues (IssueConnection!)

    A list of issues associated with the milestone.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    filterBy (IssueFilters)

    \n

    Filtering options for issues returned from the connection.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    labels ([String!])

    \n

    A list of label names to filter the pull requests by.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (IssueOrder)

    \n

    Ordering options for issues returned from the connection.

    \n\n
    \n\n
    \n

    states ([IssueState!])

    \n

    A list of states to filter the issues by.

    \n\n
    \n\n
    \n\n\n

    number (Int!)

    Identifies the number of the milestone.

    \n\n\n\n\n\n\n\n\n\n\n\n

    progressPercentage (Float!)

    Identifies the percentage complete for the milestone.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pullRequests (PullRequestConnection!)

    A list of pull requests associated with the milestone.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    baseRefName (String)

    \n

    The base ref name to filter the pull requests by.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    headRefName (String)

    \n

    The head ref name to filter the pull requests by.

    \n\n
    \n\n
    \n

    labels ([String!])

    \n

    A list of label names to filter the pull requests by.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (IssueOrder)

    \n

    Ordering options for pull requests returned from the connection.

    \n\n
    \n\n
    \n

    states ([PullRequestState!])

    \n

    A list of states to filter the pull requests by.

    \n\n
    \n\n
    \n\n\n

    repository (Repository!)

    The repository associated with this milestone.

    \n\n\n\n\n\n\n\n\n\n\n\n

    resourcePath (URI!)

    The HTTP path for this milestone.

    \n\n\n\n\n\n\n\n\n\n\n\n

    state (MilestoneState!)

    Identifies the state of the milestone.

    \n\n\n\n\n\n\n\n\n\n\n\n

    title (String!)

    Identifies the title of the milestone.

    \n\n\n\n\n\n\n\n\n\n\n\n

    updatedAt (DateTime!)

    Identifies the date and time when the object was last updated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    url (URI!)

    The HTTP URL for this milestone.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n MilestoneConnection\n

    \n

    The connection type for Milestone.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([MilestoneEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([Milestone])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n MilestoneEdge\n

    \n

    An edge in a connection.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (Milestone)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n MilestonedEvent\n

    \n

    Represents amilestonedevent on a given issue or pull request.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    actor (Actor)

    Identifies the actor who performed the event.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    milestoneTitle (String!)

    Identifies the milestone title associated with themilestonedevent.

    \n\n\n\n\n\n\n\n\n\n\n\n

    subject (MilestoneItem!)

    Object referenced by event.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n MovedColumnsInProjectEvent\n

    \n

    Represents amoved_columns_in_projectevent on a given issue or pull request.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    actor (Actor)

    Identifies the actor who performed the event.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    databaseId (Int)

    Identifies the primary key from the database.

    \n\n\n\n\n\n\n\n\n\n\n\n

    previousProjectColumnName (String!)

    Column name the issue or pull request was moved from.

    \n\n\n\n\n
    \n

    Preview notice

    \n

    previousProjectColumnName is available under the Project event details preview. During the preview period, the API may change without notice.

    \n
    \n\n\n\n\n\n\n\n\n

    project (Project)

    Project referenced by event.

    \n\n\n\n\n
    \n

    Preview notice

    \n

    project is available under the Project event details preview. During the preview period, the API may change without notice.

    \n
    \n\n\n\n\n\n\n\n\n

    projectCard (ProjectCard)

    Project card referenced by this project event.

    \n\n\n\n\n
    \n

    Preview notice

    \n

    projectCard is available under the Project event details preview. During the preview period, the API may change without notice.

    \n
    \n\n\n\n\n\n\n\n\n

    projectColumnName (String!)

    Column name the issue or pull request was moved to.

    \n\n\n\n\n
    \n

    Preview notice

    \n

    projectColumnName is available under the Project event details preview. During the preview period, the API may change without notice.

    \n
    \n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n OauthApplicationCreateAuditEntry\n

    \n

    Audit log entry for a oauth_application.create event.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    action (String!)

    The action name.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actor (AuditEntryActor)

    The user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorIp (String)

    The IP address of the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLocation (ActorLocation)

    A readable representation of the actor's location.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLogin (String)

    The username of the user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorResourcePath (URI)

    The HTTP path for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorUrl (URI)

    The HTTP URL for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    applicationUrl (URI)

    The application URL of the OAuth Application.

    \n\n\n\n\n\n\n\n\n\n\n\n

    callbackUrl (URI)

    The callback URL of the OAuth Application.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (PreciseDateTime!)

    The time the action was initiated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    oauthApplicationName (String)

    The name of the OAuth Application.

    \n\n\n\n\n\n\n\n\n\n\n\n

    oauthApplicationResourcePath (URI)

    The HTTP path for the OAuth Application.

    \n\n\n\n\n\n\n\n\n\n\n\n

    oauthApplicationUrl (URI)

    The HTTP URL for the OAuth Application.

    \n\n\n\n\n\n\n\n\n\n\n\n

    operationType (OperationType)

    The corresponding operation type for the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organization (Organization)

    The Organization associated with the Audit Entry.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationName (String)

    The name of the Organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationResourcePath (URI)

    The HTTP path for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationUrl (URI)

    The HTTP URL for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    rateLimit (Int)

    The rate limit of the OAuth Application.

    \n\n\n\n\n\n\n\n\n\n\n\n

    state (OauthApplicationCreateAuditEntryState)

    The state of the OAuth Application.

    \n\n\n\n\n\n\n\n\n\n\n\n

    user (User)

    The user affected by the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userLogin (String)

    For actions involving two users, the actor is the initiator and the user is the affected user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userResourcePath (URI)

    The HTTP path for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userUrl (URI)

    The HTTP URL for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n OrgAddBillingManagerAuditEntry\n

    \n

    Audit log entry for a org.add_billing_manager.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    action (String!)

    The action name.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actor (AuditEntryActor)

    The user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorIp (String)

    The IP address of the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLocation (ActorLocation)

    A readable representation of the actor's location.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLogin (String)

    The username of the user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorResourcePath (URI)

    The HTTP path for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorUrl (URI)

    The HTTP URL for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (PreciseDateTime!)

    The time the action was initiated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    invitationEmail (String)

    The email address used to invite a billing manager for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    operationType (OperationType)

    The corresponding operation type for the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organization (Organization)

    The Organization associated with the Audit Entry.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationName (String)

    The name of the Organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationResourcePath (URI)

    The HTTP path for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationUrl (URI)

    The HTTP URL for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    user (User)

    The user affected by the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userLogin (String)

    For actions involving two users, the actor is the initiator and the user is the affected user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userResourcePath (URI)

    The HTTP path for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userUrl (URI)

    The HTTP URL for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n OrgAddMemberAuditEntry\n

    \n

    Audit log entry for a org.add_member.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    action (String!)

    The action name.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actor (AuditEntryActor)

    The user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorIp (String)

    The IP address of the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLocation (ActorLocation)

    A readable representation of the actor's location.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLogin (String)

    The username of the user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorResourcePath (URI)

    The HTTP path for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorUrl (URI)

    The HTTP URL for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (PreciseDateTime!)

    The time the action was initiated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    operationType (OperationType)

    The corresponding operation type for the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organization (Organization)

    The Organization associated with the Audit Entry.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationName (String)

    The name of the Organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationResourcePath (URI)

    The HTTP path for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationUrl (URI)

    The HTTP URL for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    permission (OrgAddMemberAuditEntryPermission)

    The permission level of the member added to the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    user (User)

    The user affected by the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userLogin (String)

    For actions involving two users, the actor is the initiator and the user is the affected user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userResourcePath (URI)

    The HTTP path for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userUrl (URI)

    The HTTP URL for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n OrgBlockUserAuditEntry\n

    \n

    Audit log entry for a org.block_user.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    action (String!)

    The action name.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actor (AuditEntryActor)

    The user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorIp (String)

    The IP address of the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLocation (ActorLocation)

    A readable representation of the actor's location.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLogin (String)

    The username of the user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorResourcePath (URI)

    The HTTP path for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorUrl (URI)

    The HTTP URL for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    blockedUser (User)

    The blocked user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    blockedUserName (String)

    The username of the blocked user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    blockedUserResourcePath (URI)

    The HTTP path for the blocked user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    blockedUserUrl (URI)

    The HTTP URL for the blocked user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (PreciseDateTime!)

    The time the action was initiated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    operationType (OperationType)

    The corresponding operation type for the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organization (Organization)

    The Organization associated with the Audit Entry.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationName (String)

    The name of the Organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationResourcePath (URI)

    The HTTP path for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationUrl (URI)

    The HTTP URL for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    user (User)

    The user affected by the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userLogin (String)

    For actions involving two users, the actor is the initiator and the user is the affected user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userResourcePath (URI)

    The HTTP path for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userUrl (URI)

    The HTTP URL for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n OrgConfigDisableCollaboratorsOnlyAuditEntry\n

    \n

    Audit log entry for a org.config.disable_collaborators_only event.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    action (String!)

    The action name.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actor (AuditEntryActor)

    The user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorIp (String)

    The IP address of the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLocation (ActorLocation)

    A readable representation of the actor's location.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLogin (String)

    The username of the user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorResourcePath (URI)

    The HTTP path for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorUrl (URI)

    The HTTP URL for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (PreciseDateTime!)

    The time the action was initiated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    operationType (OperationType)

    The corresponding operation type for the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organization (Organization)

    The Organization associated with the Audit Entry.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationName (String)

    The name of the Organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationResourcePath (URI)

    The HTTP path for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationUrl (URI)

    The HTTP URL for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    user (User)

    The user affected by the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userLogin (String)

    For actions involving two users, the actor is the initiator and the user is the affected user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userResourcePath (URI)

    The HTTP path for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userUrl (URI)

    The HTTP URL for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n OrgConfigEnableCollaboratorsOnlyAuditEntry\n

    \n

    Audit log entry for a org.config.enable_collaborators_only event.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    action (String!)

    The action name.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actor (AuditEntryActor)

    The user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorIp (String)

    The IP address of the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLocation (ActorLocation)

    A readable representation of the actor's location.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLogin (String)

    The username of the user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorResourcePath (URI)

    The HTTP path for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorUrl (URI)

    The HTTP URL for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (PreciseDateTime!)

    The time the action was initiated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    operationType (OperationType)

    The corresponding operation type for the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organization (Organization)

    The Organization associated with the Audit Entry.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationName (String)

    The name of the Organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationResourcePath (URI)

    The HTTP path for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationUrl (URI)

    The HTTP URL for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    user (User)

    The user affected by the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userLogin (String)

    For actions involving two users, the actor is the initiator and the user is the affected user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userResourcePath (URI)

    The HTTP path for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userUrl (URI)

    The HTTP URL for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n OrgCreateAuditEntry\n

    \n

    Audit log entry for a org.create event.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    action (String!)

    The action name.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actor (AuditEntryActor)

    The user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorIp (String)

    The IP address of the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLocation (ActorLocation)

    A readable representation of the actor's location.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLogin (String)

    The username of the user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorResourcePath (URI)

    The HTTP path for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorUrl (URI)

    The HTTP URL for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    billingPlan (OrgCreateAuditEntryBillingPlan)

    The billing plan for the Organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (PreciseDateTime!)

    The time the action was initiated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    operationType (OperationType)

    The corresponding operation type for the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organization (Organization)

    The Organization associated with the Audit Entry.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationName (String)

    The name of the Organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationResourcePath (URI)

    The HTTP path for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationUrl (URI)

    The HTTP URL for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    user (User)

    The user affected by the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userLogin (String)

    For actions involving two users, the actor is the initiator and the user is the affected user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userResourcePath (URI)

    The HTTP path for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userUrl (URI)

    The HTTP URL for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n OrgDisableOauthAppRestrictionsAuditEntry\n

    \n

    Audit log entry for a org.disable_oauth_app_restrictions event.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    action (String!)

    The action name.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actor (AuditEntryActor)

    The user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorIp (String)

    The IP address of the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLocation (ActorLocation)

    A readable representation of the actor's location.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLogin (String)

    The username of the user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorResourcePath (URI)

    The HTTP path for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorUrl (URI)

    The HTTP URL for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (PreciseDateTime!)

    The time the action was initiated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    operationType (OperationType)

    The corresponding operation type for the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organization (Organization)

    The Organization associated with the Audit Entry.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationName (String)

    The name of the Organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationResourcePath (URI)

    The HTTP path for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationUrl (URI)

    The HTTP URL for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    user (User)

    The user affected by the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userLogin (String)

    For actions involving two users, the actor is the initiator and the user is the affected user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userResourcePath (URI)

    The HTTP path for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userUrl (URI)

    The HTTP URL for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n OrgDisableSamlAuditEntry\n

    \n

    Audit log entry for a org.disable_saml event.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    action (String!)

    The action name.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actor (AuditEntryActor)

    The user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorIp (String)

    The IP address of the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLocation (ActorLocation)

    A readable representation of the actor's location.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLogin (String)

    The username of the user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorResourcePath (URI)

    The HTTP path for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorUrl (URI)

    The HTTP URL for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (PreciseDateTime!)

    The time the action was initiated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    digestMethodUrl (URI)

    The SAML provider's digest algorithm URL.

    \n\n\n\n\n\n\n\n\n\n\n\n

    issuerUrl (URI)

    The SAML provider's issuer URL.

    \n\n\n\n\n\n\n\n\n\n\n\n

    operationType (OperationType)

    The corresponding operation type for the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organization (Organization)

    The Organization associated with the Audit Entry.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationName (String)

    The name of the Organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationResourcePath (URI)

    The HTTP path for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationUrl (URI)

    The HTTP URL for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    signatureMethodUrl (URI)

    The SAML provider's signature algorithm URL.

    \n\n\n\n\n\n\n\n\n\n\n\n

    singleSignOnUrl (URI)

    The SAML provider's single sign-on URL.

    \n\n\n\n\n\n\n\n\n\n\n\n

    user (User)

    The user affected by the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userLogin (String)

    For actions involving two users, the actor is the initiator and the user is the affected user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userResourcePath (URI)

    The HTTP path for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userUrl (URI)

    The HTTP URL for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n OrgDisableTwoFactorRequirementAuditEntry\n

    \n

    Audit log entry for a org.disable_two_factor_requirement event.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    action (String!)

    The action name.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actor (AuditEntryActor)

    The user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorIp (String)

    The IP address of the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLocation (ActorLocation)

    A readable representation of the actor's location.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLogin (String)

    The username of the user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorResourcePath (URI)

    The HTTP path for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorUrl (URI)

    The HTTP URL for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (PreciseDateTime!)

    The time the action was initiated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    operationType (OperationType)

    The corresponding operation type for the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organization (Organization)

    The Organization associated with the Audit Entry.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationName (String)

    The name of the Organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationResourcePath (URI)

    The HTTP path for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationUrl (URI)

    The HTTP URL for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    user (User)

    The user affected by the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userLogin (String)

    For actions involving two users, the actor is the initiator and the user is the affected user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userResourcePath (URI)

    The HTTP path for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userUrl (URI)

    The HTTP URL for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n OrgEnableOauthAppRestrictionsAuditEntry\n

    \n

    Audit log entry for a org.enable_oauth_app_restrictions event.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    action (String!)

    The action name.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actor (AuditEntryActor)

    The user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorIp (String)

    The IP address of the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLocation (ActorLocation)

    A readable representation of the actor's location.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLogin (String)

    The username of the user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorResourcePath (URI)

    The HTTP path for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorUrl (URI)

    The HTTP URL for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (PreciseDateTime!)

    The time the action was initiated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    operationType (OperationType)

    The corresponding operation type for the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organization (Organization)

    The Organization associated with the Audit Entry.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationName (String)

    The name of the Organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationResourcePath (URI)

    The HTTP path for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationUrl (URI)

    The HTTP URL for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    user (User)

    The user affected by the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userLogin (String)

    For actions involving two users, the actor is the initiator and the user is the affected user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userResourcePath (URI)

    The HTTP path for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userUrl (URI)

    The HTTP URL for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n OrgEnableSamlAuditEntry\n

    \n

    Audit log entry for a org.enable_saml event.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    action (String!)

    The action name.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actor (AuditEntryActor)

    The user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorIp (String)

    The IP address of the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLocation (ActorLocation)

    A readable representation of the actor's location.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLogin (String)

    The username of the user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorResourcePath (URI)

    The HTTP path for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorUrl (URI)

    The HTTP URL for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (PreciseDateTime!)

    The time the action was initiated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    digestMethodUrl (URI)

    The SAML provider's digest algorithm URL.

    \n\n\n\n\n\n\n\n\n\n\n\n

    issuerUrl (URI)

    The SAML provider's issuer URL.

    \n\n\n\n\n\n\n\n\n\n\n\n

    operationType (OperationType)

    The corresponding operation type for the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organization (Organization)

    The Organization associated with the Audit Entry.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationName (String)

    The name of the Organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationResourcePath (URI)

    The HTTP path for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationUrl (URI)

    The HTTP URL for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    signatureMethodUrl (URI)

    The SAML provider's signature algorithm URL.

    \n\n\n\n\n\n\n\n\n\n\n\n

    singleSignOnUrl (URI)

    The SAML provider's single sign-on URL.

    \n\n\n\n\n\n\n\n\n\n\n\n

    user (User)

    The user affected by the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userLogin (String)

    For actions involving two users, the actor is the initiator and the user is the affected user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userResourcePath (URI)

    The HTTP path for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userUrl (URI)

    The HTTP URL for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n OrgEnableTwoFactorRequirementAuditEntry\n

    \n

    Audit log entry for a org.enable_two_factor_requirement event.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    action (String!)

    The action name.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actor (AuditEntryActor)

    The user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorIp (String)

    The IP address of the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLocation (ActorLocation)

    A readable representation of the actor's location.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLogin (String)

    The username of the user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorResourcePath (URI)

    The HTTP path for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorUrl (URI)

    The HTTP URL for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (PreciseDateTime!)

    The time the action was initiated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    operationType (OperationType)

    The corresponding operation type for the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organization (Organization)

    The Organization associated with the Audit Entry.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationName (String)

    The name of the Organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationResourcePath (URI)

    The HTTP path for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationUrl (URI)

    The HTTP URL for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    user (User)

    The user affected by the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userLogin (String)

    For actions involving two users, the actor is the initiator and the user is the affected user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userResourcePath (URI)

    The HTTP path for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userUrl (URI)

    The HTTP URL for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n OrgInviteMemberAuditEntry\n

    \n

    Audit log entry for a org.invite_member event.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    action (String!)

    The action name.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actor (AuditEntryActor)

    The user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorIp (String)

    The IP address of the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLocation (ActorLocation)

    A readable representation of the actor's location.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLogin (String)

    The username of the user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorResourcePath (URI)

    The HTTP path for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorUrl (URI)

    The HTTP URL for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (PreciseDateTime!)

    The time the action was initiated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    email (String)

    The email address of the organization invitation.

    \n\n\n\n\n\n\n\n\n\n\n\n

    operationType (OperationType)

    The corresponding operation type for the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organization (Organization)

    The Organization associated with the Audit Entry.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationInvitation (OrganizationInvitation)

    The organization invitation.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationName (String)

    The name of the Organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationResourcePath (URI)

    The HTTP path for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationUrl (URI)

    The HTTP URL for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    user (User)

    The user affected by the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userLogin (String)

    For actions involving two users, the actor is the initiator and the user is the affected user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userResourcePath (URI)

    The HTTP path for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userUrl (URI)

    The HTTP URL for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n OrgInviteToBusinessAuditEntry\n

    \n

    Audit log entry for a org.invite_to_business event.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    action (String!)

    The action name.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actor (AuditEntryActor)

    The user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorIp (String)

    The IP address of the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLocation (ActorLocation)

    A readable representation of the actor's location.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLogin (String)

    The username of the user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorResourcePath (URI)

    The HTTP path for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorUrl (URI)

    The HTTP URL for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (PreciseDateTime!)

    The time the action was initiated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    enterpriseResourcePath (URI)

    The HTTP path for this enterprise.

    \n\n\n\n\n\n\n\n\n\n\n\n

    enterpriseSlug (String)

    The slug of the enterprise.

    \n\n\n\n\n\n\n\n\n\n\n\n

    enterpriseUrl (URI)

    The HTTP URL for this enterprise.

    \n\n\n\n\n\n\n\n\n\n\n\n

    operationType (OperationType)

    The corresponding operation type for the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organization (Organization)

    The Organization associated with the Audit Entry.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationName (String)

    The name of the Organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationResourcePath (URI)

    The HTTP path for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationUrl (URI)

    The HTTP URL for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    user (User)

    The user affected by the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userLogin (String)

    For actions involving two users, the actor is the initiator and the user is the affected user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userResourcePath (URI)

    The HTTP path for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userUrl (URI)

    The HTTP URL for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n OrgOauthAppAccessApprovedAuditEntry\n

    \n

    Audit log entry for a org.oauth_app_access_approved event.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    action (String!)

    The action name.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actor (AuditEntryActor)

    The user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorIp (String)

    The IP address of the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLocation (ActorLocation)

    A readable representation of the actor's location.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLogin (String)

    The username of the user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorResourcePath (URI)

    The HTTP path for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorUrl (URI)

    The HTTP URL for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (PreciseDateTime!)

    The time the action was initiated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    oauthApplicationName (String)

    The name of the OAuth Application.

    \n\n\n\n\n\n\n\n\n\n\n\n

    oauthApplicationResourcePath (URI)

    The HTTP path for the OAuth Application.

    \n\n\n\n\n\n\n\n\n\n\n\n

    oauthApplicationUrl (URI)

    The HTTP URL for the OAuth Application.

    \n\n\n\n\n\n\n\n\n\n\n\n

    operationType (OperationType)

    The corresponding operation type for the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organization (Organization)

    The Organization associated with the Audit Entry.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationName (String)

    The name of the Organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationResourcePath (URI)

    The HTTP path for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationUrl (URI)

    The HTTP URL for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    user (User)

    The user affected by the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userLogin (String)

    For actions involving two users, the actor is the initiator and the user is the affected user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userResourcePath (URI)

    The HTTP path for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userUrl (URI)

    The HTTP URL for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n OrgOauthAppAccessDeniedAuditEntry\n

    \n

    Audit log entry for a org.oauth_app_access_denied event.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    action (String!)

    The action name.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actor (AuditEntryActor)

    The user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorIp (String)

    The IP address of the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLocation (ActorLocation)

    A readable representation of the actor's location.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLogin (String)

    The username of the user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorResourcePath (URI)

    The HTTP path for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorUrl (URI)

    The HTTP URL for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (PreciseDateTime!)

    The time the action was initiated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    oauthApplicationName (String)

    The name of the OAuth Application.

    \n\n\n\n\n\n\n\n\n\n\n\n

    oauthApplicationResourcePath (URI)

    The HTTP path for the OAuth Application.

    \n\n\n\n\n\n\n\n\n\n\n\n

    oauthApplicationUrl (URI)

    The HTTP URL for the OAuth Application.

    \n\n\n\n\n\n\n\n\n\n\n\n

    operationType (OperationType)

    The corresponding operation type for the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organization (Organization)

    The Organization associated with the Audit Entry.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationName (String)

    The name of the Organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationResourcePath (URI)

    The HTTP path for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationUrl (URI)

    The HTTP URL for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    user (User)

    The user affected by the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userLogin (String)

    For actions involving two users, the actor is the initiator and the user is the affected user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userResourcePath (URI)

    The HTTP path for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userUrl (URI)

    The HTTP URL for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n OrgOauthAppAccessRequestedAuditEntry\n

    \n

    Audit log entry for a org.oauth_app_access_requested event.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    action (String!)

    The action name.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actor (AuditEntryActor)

    The user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorIp (String)

    The IP address of the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLocation (ActorLocation)

    A readable representation of the actor's location.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLogin (String)

    The username of the user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorResourcePath (URI)

    The HTTP path for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorUrl (URI)

    The HTTP URL for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (PreciseDateTime!)

    The time the action was initiated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    oauthApplicationName (String)

    The name of the OAuth Application.

    \n\n\n\n\n\n\n\n\n\n\n\n

    oauthApplicationResourcePath (URI)

    The HTTP path for the OAuth Application.

    \n\n\n\n\n\n\n\n\n\n\n\n

    oauthApplicationUrl (URI)

    The HTTP URL for the OAuth Application.

    \n\n\n\n\n\n\n\n\n\n\n\n

    operationType (OperationType)

    The corresponding operation type for the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organization (Organization)

    The Organization associated with the Audit Entry.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationName (String)

    The name of the Organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationResourcePath (URI)

    The HTTP path for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationUrl (URI)

    The HTTP URL for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    user (User)

    The user affected by the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userLogin (String)

    For actions involving two users, the actor is the initiator and the user is the affected user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userResourcePath (URI)

    The HTTP path for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userUrl (URI)

    The HTTP URL for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n OrgRemoveBillingManagerAuditEntry\n

    \n

    Audit log entry for a org.remove_billing_manager event.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    action (String!)

    The action name.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actor (AuditEntryActor)

    The user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorIp (String)

    The IP address of the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLocation (ActorLocation)

    A readable representation of the actor's location.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLogin (String)

    The username of the user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorResourcePath (URI)

    The HTTP path for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorUrl (URI)

    The HTTP URL for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (PreciseDateTime!)

    The time the action was initiated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    operationType (OperationType)

    The corresponding operation type for the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organization (Organization)

    The Organization associated with the Audit Entry.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationName (String)

    The name of the Organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationResourcePath (URI)

    The HTTP path for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationUrl (URI)

    The HTTP URL for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    reason (OrgRemoveBillingManagerAuditEntryReason)

    The reason for the billing manager being removed.

    \n\n\n\n\n\n\n\n\n\n\n\n

    user (User)

    The user affected by the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userLogin (String)

    For actions involving two users, the actor is the initiator and the user is the affected user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userResourcePath (URI)

    The HTTP path for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userUrl (URI)

    The HTTP URL for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n OrgRemoveMemberAuditEntry\n

    \n

    Audit log entry for a org.remove_member event.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    action (String!)

    The action name.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actor (AuditEntryActor)

    The user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorIp (String)

    The IP address of the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLocation (ActorLocation)

    A readable representation of the actor's location.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLogin (String)

    The username of the user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorResourcePath (URI)

    The HTTP path for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorUrl (URI)

    The HTTP URL for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (PreciseDateTime!)

    The time the action was initiated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    membershipTypes ([OrgRemoveMemberAuditEntryMembershipType!])

    The types of membership the member has with the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    operationType (OperationType)

    The corresponding operation type for the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organization (Organization)

    The Organization associated with the Audit Entry.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationName (String)

    The name of the Organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationResourcePath (URI)

    The HTTP path for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationUrl (URI)

    The HTTP URL for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    reason (OrgRemoveMemberAuditEntryReason)

    The reason for the member being removed.

    \n\n\n\n\n\n\n\n\n\n\n\n

    user (User)

    The user affected by the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userLogin (String)

    For actions involving two users, the actor is the initiator and the user is the affected user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userResourcePath (URI)

    The HTTP path for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userUrl (URI)

    The HTTP URL for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n OrgRemoveOutsideCollaboratorAuditEntry\n

    \n

    Audit log entry for a org.remove_outside_collaborator event.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    action (String!)

    The action name.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actor (AuditEntryActor)

    The user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorIp (String)

    The IP address of the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLocation (ActorLocation)

    A readable representation of the actor's location.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLogin (String)

    The username of the user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorResourcePath (URI)

    The HTTP path for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorUrl (URI)

    The HTTP URL for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (PreciseDateTime!)

    The time the action was initiated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    membershipTypes ([OrgRemoveOutsideCollaboratorAuditEntryMembershipType!])

    The types of membership the outside collaborator has with the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    operationType (OperationType)

    The corresponding operation type for the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organization (Organization)

    The Organization associated with the Audit Entry.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationName (String)

    The name of the Organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationResourcePath (URI)

    The HTTP path for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationUrl (URI)

    The HTTP URL for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    reason (OrgRemoveOutsideCollaboratorAuditEntryReason)

    The reason for the outside collaborator being removed from the Organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    user (User)

    The user affected by the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userLogin (String)

    For actions involving two users, the actor is the initiator and the user is the affected user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userResourcePath (URI)

    The HTTP path for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userUrl (URI)

    The HTTP URL for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n OrgRestoreMemberAuditEntry\n

    \n

    Audit log entry for a org.restore_member event.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    action (String!)

    The action name.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actor (AuditEntryActor)

    The user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorIp (String)

    The IP address of the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLocation (ActorLocation)

    A readable representation of the actor's location.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLogin (String)

    The username of the user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorResourcePath (URI)

    The HTTP path for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorUrl (URI)

    The HTTP URL for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (PreciseDateTime!)

    The time the action was initiated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    operationType (OperationType)

    The corresponding operation type for the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organization (Organization)

    The Organization associated with the Audit Entry.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationName (String)

    The name of the Organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationResourcePath (URI)

    The HTTP path for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationUrl (URI)

    The HTTP URL for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    restoredCustomEmailRoutingsCount (Int)

    The number of custom email routings for the restored member.

    \n\n\n\n\n\n\n\n\n\n\n\n

    restoredIssueAssignmentsCount (Int)

    The number of issue assignments for the restored member.

    \n\n\n\n\n\n\n\n\n\n\n\n

    restoredMemberships ([OrgRestoreMemberAuditEntryMembership!])

    Restored organization membership objects.

    \n\n\n\n\n\n\n\n\n\n\n\n

    restoredMembershipsCount (Int)

    The number of restored memberships.

    \n\n\n\n\n\n\n\n\n\n\n\n

    restoredRepositoriesCount (Int)

    The number of repositories of the restored member.

    \n\n\n\n\n\n\n\n\n\n\n\n

    restoredRepositoryStarsCount (Int)

    The number of starred repositories for the restored member.

    \n\n\n\n\n\n\n\n\n\n\n\n

    restoredRepositoryWatchesCount (Int)

    The number of watched repositories for the restored member.

    \n\n\n\n\n\n\n\n\n\n\n\n

    user (User)

    The user affected by the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userLogin (String)

    For actions involving two users, the actor is the initiator and the user is the affected user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userResourcePath (URI)

    The HTTP path for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userUrl (URI)

    The HTTP URL for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n OrgRestoreMemberMembershipOrganizationAuditEntryData\n

    \n

    Metadata for an organization membership for org.restore_member actions.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    organization (Organization)

    The Organization associated with the Audit Entry.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationName (String)

    The name of the Organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationResourcePath (URI)

    The HTTP path for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationUrl (URI)

    The HTTP URL for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n OrgRestoreMemberMembershipRepositoryAuditEntryData\n

    \n

    Metadata for a repository membership for org.restore_member actions.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    repository (Repository)

    The repository associated with the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repositoryName (String)

    The name of the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repositoryResourcePath (URI)

    The HTTP path for the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repositoryUrl (URI)

    The HTTP URL for the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n OrgRestoreMemberMembershipTeamAuditEntryData\n

    \n

    Metadata for a team membership for org.restore_member actions.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    team (Team)

    The team associated with the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    teamName (String)

    The name of the team.

    \n\n\n\n\n\n\n\n\n\n\n\n

    teamResourcePath (URI)

    The HTTP path for this team.

    \n\n\n\n\n\n\n\n\n\n\n\n

    teamUrl (URI)

    The HTTP URL for this team.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n OrgUnblockUserAuditEntry\n

    \n

    Audit log entry for a org.unblock_user.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    action (String!)

    The action name.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actor (AuditEntryActor)

    The user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorIp (String)

    The IP address of the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLocation (ActorLocation)

    A readable representation of the actor's location.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLogin (String)

    The username of the user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorResourcePath (URI)

    The HTTP path for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorUrl (URI)

    The HTTP URL for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    blockedUser (User)

    The user being unblocked by the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    blockedUserName (String)

    The username of the blocked user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    blockedUserResourcePath (URI)

    The HTTP path for the blocked user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    blockedUserUrl (URI)

    The HTTP URL for the blocked user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (PreciseDateTime!)

    The time the action was initiated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    operationType (OperationType)

    The corresponding operation type for the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organization (Organization)

    The Organization associated with the Audit Entry.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationName (String)

    The name of the Organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationResourcePath (URI)

    The HTTP path for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationUrl (URI)

    The HTTP URL for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    user (User)

    The user affected by the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userLogin (String)

    For actions involving two users, the actor is the initiator and the user is the affected user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userResourcePath (URI)

    The HTTP path for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userUrl (URI)

    The HTTP URL for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n OrgUpdateDefaultRepositoryPermissionAuditEntry\n

    \n

    Audit log entry for a org.update_default_repository_permission.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    action (String!)

    The action name.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actor (AuditEntryActor)

    The user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorIp (String)

    The IP address of the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLocation (ActorLocation)

    A readable representation of the actor's location.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLogin (String)

    The username of the user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorResourcePath (URI)

    The HTTP path for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorUrl (URI)

    The HTTP URL for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (PreciseDateTime!)

    The time the action was initiated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    operationType (OperationType)

    The corresponding operation type for the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organization (Organization)

    The Organization associated with the Audit Entry.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationName (String)

    The name of the Organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationResourcePath (URI)

    The HTTP path for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationUrl (URI)

    The HTTP URL for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    permission (OrgUpdateDefaultRepositoryPermissionAuditEntryPermission)

    The new default repository permission level for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    permissionWas (OrgUpdateDefaultRepositoryPermissionAuditEntryPermission)

    The former default repository permission level for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    user (User)

    The user affected by the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userLogin (String)

    For actions involving two users, the actor is the initiator and the user is the affected user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userResourcePath (URI)

    The HTTP path for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userUrl (URI)

    The HTTP URL for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n OrgUpdateMemberAuditEntry\n

    \n

    Audit log entry for a org.update_member event.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    action (String!)

    The action name.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actor (AuditEntryActor)

    The user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorIp (String)

    The IP address of the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLocation (ActorLocation)

    A readable representation of the actor's location.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLogin (String)

    The username of the user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorResourcePath (URI)

    The HTTP path for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorUrl (URI)

    The HTTP URL for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (PreciseDateTime!)

    The time the action was initiated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    operationType (OperationType)

    The corresponding operation type for the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organization (Organization)

    The Organization associated with the Audit Entry.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationName (String)

    The name of the Organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationResourcePath (URI)

    The HTTP path for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationUrl (URI)

    The HTTP URL for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    permission (OrgUpdateMemberAuditEntryPermission)

    The new member permission level for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    permissionWas (OrgUpdateMemberAuditEntryPermission)

    The former member permission level for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    user (User)

    The user affected by the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userLogin (String)

    For actions involving two users, the actor is the initiator and the user is the affected user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userResourcePath (URI)

    The HTTP path for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userUrl (URI)

    The HTTP URL for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n OrgUpdateMemberRepositoryCreationPermissionAuditEntry\n

    \n

    Audit log entry for a org.update_member_repository_creation_permission event.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    action (String!)

    The action name.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actor (AuditEntryActor)

    The user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorIp (String)

    The IP address of the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLocation (ActorLocation)

    A readable representation of the actor's location.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLogin (String)

    The username of the user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorResourcePath (URI)

    The HTTP path for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorUrl (URI)

    The HTTP URL for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    canCreateRepositories (Boolean)

    Can members create repositories in the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (PreciseDateTime!)

    The time the action was initiated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    operationType (OperationType)

    The corresponding operation type for the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organization (Organization)

    The Organization associated with the Audit Entry.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationName (String)

    The name of the Organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationResourcePath (URI)

    The HTTP path for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationUrl (URI)

    The HTTP URL for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    user (User)

    The user affected by the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userLogin (String)

    For actions involving two users, the actor is the initiator and the user is the affected user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userResourcePath (URI)

    The HTTP path for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userUrl (URI)

    The HTTP URL for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    visibility (OrgUpdateMemberRepositoryCreationPermissionAuditEntryVisibility)

    The permission for visibility level of repositories for this organization.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n OrgUpdateMemberRepositoryInvitationPermissionAuditEntry\n

    \n

    Audit log entry for a org.update_member_repository_invitation_permission event.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    action (String!)

    The action name.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actor (AuditEntryActor)

    The user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorIp (String)

    The IP address of the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLocation (ActorLocation)

    A readable representation of the actor's location.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLogin (String)

    The username of the user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorResourcePath (URI)

    The HTTP path for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorUrl (URI)

    The HTTP URL for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    canInviteOutsideCollaboratorsToRepositories (Boolean)

    Can outside collaborators be invited to repositories in the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (PreciseDateTime!)

    The time the action was initiated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    operationType (OperationType)

    The corresponding operation type for the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organization (Organization)

    The Organization associated with the Audit Entry.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationName (String)

    The name of the Organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationResourcePath (URI)

    The HTTP path for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationUrl (URI)

    The HTTP URL for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    user (User)

    The user affected by the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userLogin (String)

    For actions involving two users, the actor is the initiator and the user is the affected user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userResourcePath (URI)

    The HTTP path for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userUrl (URI)

    The HTTP URL for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n Organization\n

    \n

    An account on GitHub, with one or more owners, that has repositories, members and teams.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    anyPinnableItems (Boolean!)

    Determine if this repository owner has any items that can be pinned to their profile.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    type (PinnableItemType)

    \n

    Filter to only a particular kind of pinnable item.

    \n\n
    \n\n
    \n\n\n

    auditLog (OrganizationAuditEntryConnection!)

    Audit log entries of the organization.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (AuditLogOrder)

    \n

    Ordering options for the returned audit log entries.

    \n\n
    \n\n
    \n

    query (String)

    \n

    The query string to filter audit entries.

    \n\n
    \n\n
    \n\n\n

    avatarUrl (URI!)

    A URL pointing to the organization's public avatar.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    size (Int)

    \n

    The size of the resulting square image.

    \n\n
    \n\n
    \n\n\n

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    databaseId (Int)

    Identifies the primary key from the database.

    \n\n\n\n\n\n\n\n\n\n\n\n

    description (String)

    The organization's public profile description.

    \n\n\n\n\n\n\n\n\n\n\n\n

    descriptionHTML (String)

    The organization's public profile description rendered to HTML.

    \n\n\n\n\n\n\n\n\n\n\n\n

    email (String)

    The organization's public email.

    \n\n\n\n\n\n\n\n\n\n\n\n

    ipAllowListEnabledSetting (IpAllowListEnabledSettingValue!)

    The setting value for whether the organization has an IP allow list enabled.

    \n\n\n\n\n\n\n\n\n\n\n\n

    ipAllowListEntries (IpAllowListEntryConnection!)

    The IP addresses that are allowed to access resources owned by the organization.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (IpAllowListEntryOrder)

    \n

    Ordering options for IP allow list entries returned.

    \n\n
    \n\n
    \n\n\n

    isVerified (Boolean!)

    Whether the organization has verified its profile email and website, always false on Enterprise.

    \n\n\n\n\n\n\n\n\n\n\n\n

    itemShowcase (ProfileItemShowcase!)

    Showcases a selection of repositories and gists that the profile owner has\neither curated or that have been selected automatically based on popularity.

    \n\n\n\n\n\n\n\n\n\n\n\n

    location (String)

    The organization's public profile location.

    \n\n\n\n\n\n\n\n\n\n\n\n

    login (String!)

    The organization's login name.

    \n\n\n\n\n\n\n\n\n\n\n\n

    memberStatuses (UserStatusConnection!)

    Get the status messages members of this entity have set that are either public or visible only to the organization.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (UserStatusOrder)

    \n

    Ordering options for user statuses returned from the connection.

    \n\n
    \n\n
    \n\n\n

    membersWithRole (OrganizationMemberConnection!)

    A list of users who are members of this organization.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n\n\n

    name (String)

    The organization's public profile name.

    \n\n\n\n\n\n\n\n\n\n\n\n

    newTeamResourcePath (URI!)

    The HTTP path creating a new team.

    \n\n\n\n\n\n\n\n\n\n\n\n

    newTeamUrl (URI!)

    The HTTP URL creating a new team.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationBillingEmail (String)

    The billing email for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pendingMembers (UserConnection!)

    A list of users who have been invited to join this organization.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n\n\n

    pinnableItems (PinnableItemConnection!)

    A list of repositories and gists this profile owner can pin to their profile.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    types ([PinnableItemType!])

    \n

    Filter the types of pinnable items that are returned.

    \n\n
    \n\n
    \n\n\n

    pinnedItems (PinnableItemConnection!)

    A list of repositories and gists this profile owner has pinned to their profile.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    types ([PinnableItemType!])

    \n

    Filter the types of pinned items that are returned.

    \n\n
    \n\n
    \n\n\n

    pinnedItemsRemaining (Int!)

    Returns how many more items this profile owner can pin to their profile.

    \n\n\n\n\n\n\n\n\n\n\n\n

    project (Project)

    Find project by number.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    number (Int!)

    \n

    The project number to find.

    \n\n
    \n\n
    \n\n\n

    projects (ProjectConnection!)

    A list of projects under the owner.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (ProjectOrder)

    \n

    Ordering options for projects returned from the connection.

    \n\n
    \n\n
    \n

    search (String)

    \n

    Query to search projects by, currently only searching by name.

    \n\n
    \n\n
    \n

    states ([ProjectState!])

    \n

    A list of states to filter the projects by.

    \n\n
    \n\n
    \n\n\n

    projectsResourcePath (URI!)

    The HTTP path listing organization's projects.

    \n\n\n\n\n\n\n\n\n\n\n\n

    projectsUrl (URI!)

    The HTTP URL listing organization's projects.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repositories (RepositoryConnection!)

    A list of repositories that the user owns.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    affiliations ([RepositoryAffiliation])

    \n

    Array of viewer's affiliation options for repositories returned from the\nconnection. For example, OWNER will include only repositories that the\ncurrent viewer owns.

    \n\n
    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    isFork (Boolean)

    \n

    If non-null, filters repositories according to whether they are forks of another repository.

    \n\n
    \n\n
    \n

    isLocked (Boolean)

    \n

    If non-null, filters repositories according to whether they have been locked.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (RepositoryOrder)

    \n

    Ordering options for repositories returned from the connection.

    \n\n
    \n\n
    \n

    ownerAffiliations ([RepositoryAffiliation])

    \n

    Array of owner's affiliation options for repositories returned from the\nconnection. For example, OWNER will include only repositories that the\norganization or user being viewed owns.

    \n\n
    \n\n
    \n

    privacy (RepositoryPrivacy)

    \n

    If non-null, filters repositories according to privacy.

    \n\n
    \n\n
    \n\n\n

    repository (Repository)

    Find Repository.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    name (String!)

    \n

    Name of Repository to find.

    \n\n
    \n\n
    \n\n\n

    requiresTwoFactorAuthentication (Boolean)

    When true the organization requires all members, billing managers, and outside\ncollaborators to enable two-factor authentication.

    \n\n\n\n\n\n\n\n\n\n\n\n

    resourcePath (URI!)

    The HTTP path for this organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    samlIdentityProvider (OrganizationIdentityProvider)

    The Organization's SAML identity providers.

    \n\n\n\n\n\n\n\n\n\n\n\n

    sponsorshipsAsMaintainer (SponsorshipConnection!)

    This object's sponsorships as the maintainer.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    includePrivate (Boolean)

    \n

    Whether or not to include private sponsorships in the result set.

    \n

    The default value is false.

    \n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (SponsorshipOrder)

    \n

    Ordering options for sponsorships returned from this connection. If left\nblank, the sponsorships will be ordered based on relevancy to the viewer.

    \n\n
    \n\n
    \n\n\n

    sponsorshipsAsSponsor (SponsorshipConnection!)

    This object's sponsorships as the sponsor.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (SponsorshipOrder)

    \n

    Ordering options for sponsorships returned from this connection. If left\nblank, the sponsorships will be ordered based on relevancy to the viewer.

    \n\n
    \n\n
    \n\n\n

    team (Team)

    Find an organization's team by its slug.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    slug (String!)

    \n

    The name or slug of the team to find.

    \n\n
    \n\n
    \n\n\n

    teams (TeamConnection!)

    A list of teams in this organization.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    ldapMapped (Boolean)

    \n

    If true, filters teams that are mapped to an LDAP Group (Enterprise only).

    \n\n
    \n\n
    \n

    orderBy (TeamOrder)

    \n

    Ordering options for teams returned from the connection.

    \n\n
    \n\n
    \n

    privacy (TeamPrivacy)

    \n

    If non-null, filters teams according to privacy.

    \n\n
    \n\n
    \n

    query (String)

    \n

    If non-null, filters teams with query on team name and team slug.

    \n\n
    \n\n
    \n

    role (TeamRole)

    \n

    If non-null, filters teams according to whether the viewer is an admin or member on team.

    \n\n
    \n\n
    \n

    rootTeamsOnly (Boolean)

    \n

    If true, restrict to only root teams.

    \n

    The default value is false.

    \n
    \n\n
    \n

    userLogins ([String!])

    \n

    User logins to filter by.

    \n\n
    \n\n
    \n\n\n

    teamsResourcePath (URI!)

    The HTTP path listing organization's teams.

    \n\n\n\n\n\n\n\n\n\n\n\n

    teamsUrl (URI!)

    The HTTP URL listing organization's teams.

    \n\n\n\n\n\n\n\n\n\n\n\n

    twitterUsername (String)

    The organization's Twitter username.

    \n\n\n\n\n\n\n\n\n\n\n\n

    updatedAt (DateTime!)

    Identifies the date and time when the object was last updated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    url (URI!)

    The HTTP URL for this organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerCanAdminister (Boolean!)

    Organization is adminable by the viewer.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerCanChangePinnedItems (Boolean!)

    Can the viewer pin repositories and gists to the profile?.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerCanCreateProjects (Boolean!)

    Can the current viewer create new projects on this owner.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerCanCreateRepositories (Boolean!)

    Viewer can create repositories on this organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerCanCreateTeams (Boolean!)

    Viewer can create teams on this organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerIsAMember (Boolean!)

    Viewer is an active member of this organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    websiteUrl (URI)

    The organization's public profile URL.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n OrganizationAuditEntryConnection\n

    \n

    The connection type for OrganizationAuditEntry.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([OrganizationAuditEntryEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([OrganizationAuditEntry])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n OrganizationAuditEntryEdge\n

    \n

    An edge in a connection.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (OrganizationAuditEntry)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n OrganizationConnection\n

    \n

    The connection type for Organization.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([OrganizationEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([Organization])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n OrganizationEdge\n

    \n

    An edge in a connection.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (Organization)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n OrganizationIdentityProvider\n

    \n

    An Identity Provider configured to provision SAML and SCIM identities for Organizations.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    digestMethod (URI)

    The digest algorithm used to sign SAML requests for the Identity Provider.

    \n\n\n\n\n\n\n\n\n\n\n\n

    externalIdentities (ExternalIdentityConnection!)

    External Identities provisioned by this Identity Provider.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n\n\n

    idpCertificate (X509Certificate)

    The x509 certificate used by the Identity Provider to sign assertions and responses.

    \n\n\n\n\n\n\n\n\n\n\n\n

    issuer (String)

    The Issuer Entity ID for the SAML Identity Provider.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organization (Organization)

    Organization this Identity Provider belongs to.

    \n\n\n\n\n\n\n\n\n\n\n\n

    signatureMethod (URI)

    The signature algorithm used to sign SAML requests for the Identity Provider.

    \n\n\n\n\n\n\n\n\n\n\n\n

    ssoUrl (URI)

    The URL endpoint for the Identity Provider's SAML SSO.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n OrganizationInvitation\n

    \n

    An Invitation for a user to an organization.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    email (String)

    The email address of the user invited to the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    invitationType (OrganizationInvitationType!)

    The type of invitation that was sent (e.g. email, user).

    \n\n\n\n\n\n\n\n\n\n\n\n

    invitee (User)

    The user who was invited to the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    inviter (User!)

    The user who created the invitation.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organization (Organization!)

    The organization the invite is for.

    \n\n\n\n\n\n\n\n\n\n\n\n

    role (OrganizationInvitationRole!)

    The user's pending role in the organization (e.g. member, owner).

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n OrganizationInvitationConnection\n

    \n

    The connection type for OrganizationInvitation.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([OrganizationInvitationEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([OrganizationInvitation])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n OrganizationInvitationEdge\n

    \n

    An edge in a connection.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (OrganizationInvitation)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n OrganizationMemberConnection\n

    \n

    The connection type for User.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([OrganizationMemberEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([User])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n OrganizationMemberEdge\n

    \n

    Represents a user within an organization.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    hasTwoFactorEnabled (Boolean)

    Whether the organization member has two factor enabled or not. Returns null if information is not available to viewer.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (User)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n

    role (OrganizationMemberRole)

    The role this user has in the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n OrganizationTeamsHovercardContext\n

    \n

    An organization teams hovercard context.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    message (String!)

    A string describing this context.

    \n\n\n\n\n\n\n\n\n\n\n\n

    octicon (String!)

    An octicon to accompany this context.

    \n\n\n\n\n\n\n\n\n\n\n\n

    relevantTeams (TeamConnection!)

    Teams in this organization the user is a member of that are relevant.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n\n\n

    teamsResourcePath (URI!)

    The path for the full team list for this user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    teamsUrl (URI!)

    The URL for the full team list for this user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalTeamCount (Int!)

    The total number of teams the user is on in the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n OrganizationsHovercardContext\n

    \n

    An organization list hovercard context.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    message (String!)

    A string describing this context.

    \n\n\n\n\n\n\n\n\n\n\n\n

    octicon (String!)

    An octicon to accompany this context.

    \n\n\n\n\n\n\n\n\n\n\n\n

    relevantOrganizations (OrganizationConnection!)

    Organizations this user is a member of that are relevant.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n\n\n

    totalOrganizationCount (Int!)

    The total number of organizations this user is in.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n PageInfo\n

    \n

    Information about pagination in a connection.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    endCursor (String)

    When paginating forwards, the cursor to continue.

    \n\n\n\n\n\n\n\n\n\n\n\n

    hasNextPage (Boolean!)

    When paginating forwards, are there more items?.

    \n\n\n\n\n\n\n\n\n\n\n\n

    hasPreviousPage (Boolean!)

    When paginating backwards, are there more items?.

    \n\n\n\n\n\n\n\n\n\n\n\n

    startCursor (String)

    When paginating backwards, the cursor to continue.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n PermissionSource\n

    \n

    A level of permission and source for a user's access to a repository.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    organization (Organization!)

    The organization the repository belongs to.

    \n\n\n\n\n\n\n\n\n\n\n\n

    permission (DefaultRepositoryPermissionField!)

    The level of access this source has granted to the user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    source (PermissionGranter!)

    The source of this permission.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n PinnableItemConnection\n

    \n

    The connection type for PinnableItem.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([PinnableItemEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([PinnableItem])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n PinnableItemEdge\n

    \n

    An edge in a connection.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (PinnableItem)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n PinnedEvent\n

    \n

    Represents apinnedevent on a given issue or pull request.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    actor (Actor)

    Identifies the actor who performed the event.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    issue (Issue!)

    Identifies the issue associated with the event.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n PinnedIssue\n

    \n

    A Pinned Issue is a issue pinned to a repository's index page.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    databaseId (Int)

    Identifies the primary key from the database.

    \n\n\n\n\n\n\n\n\n\n\n\n

    issue (Issue!)

    The issue that was pinned.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pinnedBy (Actor!)

    The actor that pinned this issue.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repository (Repository!)

    The repository that this issue was pinned to.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n PinnedIssueConnection\n

    \n

    The connection type for PinnedIssue.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([PinnedIssueEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([PinnedIssue])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n PinnedIssueEdge\n

    \n

    An edge in a connection.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (PinnedIssue)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n PrivateRepositoryForkingDisableAuditEntry\n

    \n

    Audit log entry for a private_repository_forking.disable event.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    action (String!)

    The action name.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actor (AuditEntryActor)

    The user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorIp (String)

    The IP address of the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLocation (ActorLocation)

    A readable representation of the actor's location.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLogin (String)

    The username of the user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorResourcePath (URI)

    The HTTP path for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorUrl (URI)

    The HTTP URL for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (PreciseDateTime!)

    The time the action was initiated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    enterpriseResourcePath (URI)

    The HTTP path for this enterprise.

    \n\n\n\n\n\n\n\n\n\n\n\n

    enterpriseSlug (String)

    The slug of the enterprise.

    \n\n\n\n\n\n\n\n\n\n\n\n

    enterpriseUrl (URI)

    The HTTP URL for this enterprise.

    \n\n\n\n\n\n\n\n\n\n\n\n

    operationType (OperationType)

    The corresponding operation type for the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organization (Organization)

    The Organization associated with the Audit Entry.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationName (String)

    The name of the Organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationResourcePath (URI)

    The HTTP path for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationUrl (URI)

    The HTTP URL for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repository (Repository)

    The repository associated with the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repositoryName (String)

    The name of the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repositoryResourcePath (URI)

    The HTTP path for the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repositoryUrl (URI)

    The HTTP URL for the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    user (User)

    The user affected by the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userLogin (String)

    For actions involving two users, the actor is the initiator and the user is the affected user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userResourcePath (URI)

    The HTTP path for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userUrl (URI)

    The HTTP URL for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n PrivateRepositoryForkingEnableAuditEntry\n

    \n

    Audit log entry for a private_repository_forking.enable event.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    action (String!)

    The action name.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actor (AuditEntryActor)

    The user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorIp (String)

    The IP address of the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLocation (ActorLocation)

    A readable representation of the actor's location.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLogin (String)

    The username of the user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorResourcePath (URI)

    The HTTP path for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorUrl (URI)

    The HTTP URL for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (PreciseDateTime!)

    The time the action was initiated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    enterpriseResourcePath (URI)

    The HTTP path for this enterprise.

    \n\n\n\n\n\n\n\n\n\n\n\n

    enterpriseSlug (String)

    The slug of the enterprise.

    \n\n\n\n\n\n\n\n\n\n\n\n

    enterpriseUrl (URI)

    The HTTP URL for this enterprise.

    \n\n\n\n\n\n\n\n\n\n\n\n

    operationType (OperationType)

    The corresponding operation type for the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organization (Organization)

    The Organization associated with the Audit Entry.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationName (String)

    The name of the Organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationResourcePath (URI)

    The HTTP path for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationUrl (URI)

    The HTTP URL for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repository (Repository)

    The repository associated with the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repositoryName (String)

    The name of the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repositoryResourcePath (URI)

    The HTTP path for the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repositoryUrl (URI)

    The HTTP URL for the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    user (User)

    The user affected by the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userLogin (String)

    For actions involving two users, the actor is the initiator and the user is the affected user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userResourcePath (URI)

    The HTTP path for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userUrl (URI)

    The HTTP URL for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n ProfileItemShowcase\n

    \n

    A curatable list of repositories relating to a repository owner, which defaults\nto showing the most popular repositories they own.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    hasPinnedItems (Boolean!)

    Whether or not the owner has pinned any repositories or gists.

    \n\n\n\n\n\n\n\n\n\n\n\n

    items (PinnableItemConnection!)

    The repositories and gists in the showcase. If the profile owner has any\npinned items, those will be returned. Otherwise, the profile owner's popular\nrepositories will be returned.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n Project\n

    \n

    Projects manage issues, pull requests and notes within a project owner.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    body (String)

    The project's description body.

    \n\n\n\n\n\n\n\n\n\n\n\n

    bodyHTML (HTML!)

    The projects description body rendered to HTML.

    \n\n\n\n\n\n\n\n\n\n\n\n

    closed (Boolean!)

    true if the object is closed (definition of closed may depend on type).

    \n\n\n\n\n\n\n\n\n\n\n\n

    closedAt (DateTime)

    Identifies the date and time when the object was closed.

    \n\n\n\n\n\n\n\n\n\n\n\n

    columns (ProjectColumnConnection!)

    List of columns in the project.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n\n\n

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    creator (Actor)

    The actor who originally created the project.

    \n\n\n\n\n\n\n\n\n\n\n\n

    databaseId (Int)

    Identifies the primary key from the database.

    \n\n\n\n\n\n\n\n\n\n\n\n

    name (String!)

    The project's name.

    \n\n\n\n\n\n\n\n\n\n\n\n

    number (Int!)

    The project's number.

    \n\n\n\n\n\n\n\n\n\n\n\n

    owner (ProjectOwner!)

    The project's owner. Currently limited to repositories, organizations, and users.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pendingCards (ProjectCardConnection!)

    List of pending cards in this project.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    archivedStates ([ProjectCardArchivedState])

    \n

    A list of archived states to filter the cards by.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n\n\n

    progress (ProjectProgress!)

    Project progress details.

    \n\n\n\n\n\n\n\n\n\n\n\n

    resourcePath (URI!)

    The HTTP path for this project.

    \n\n\n\n\n\n\n\n\n\n\n\n

    state (ProjectState!)

    Whether the project is open or closed.

    \n\n\n\n\n\n\n\n\n\n\n\n

    updatedAt (DateTime!)

    Identifies the date and time when the object was last updated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    url (URI!)

    The HTTP URL for this project.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerCanUpdate (Boolean!)

    Check if the current viewer can update this object.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n ProjectCard\n

    \n

    A card in a project.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    column (ProjectColumn)

    The project column this card is associated under. A card may only belong to one\nproject column at a time. The column field will be null if the card is created\nin a pending state and has yet to be associated with a column. Once cards are\nassociated with a column, they will not become pending in the future.

    \n\n\n\n\n\n\n\n\n\n\n\n

    content (ProjectCardItem)

    The card content item.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    creator (Actor)

    The actor who created this card.

    \n\n\n\n\n\n\n\n\n\n\n\n

    databaseId (Int)

    Identifies the primary key from the database.

    \n\n\n\n\n\n\n\n\n\n\n\n

    isArchived (Boolean!)

    Whether the card is archived.

    \n\n\n\n\n\n\n\n\n\n\n\n

    note (String)

    The card note.

    \n\n\n\n\n\n\n\n\n\n\n\n

    project (Project!)

    The project that contains this card.

    \n\n\n\n\n\n\n\n\n\n\n\n

    resourcePath (URI!)

    The HTTP path for this card.

    \n\n\n\n\n\n\n\n\n\n\n\n

    state (ProjectCardState)

    The state of ProjectCard.

    \n\n\n\n\n\n\n\n\n\n\n\n

    updatedAt (DateTime!)

    Identifies the date and time when the object was last updated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    url (URI!)

    The HTTP URL for this card.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n ProjectCardConnection\n

    \n

    The connection type for ProjectCard.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([ProjectCardEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([ProjectCard])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n ProjectCardEdge\n

    \n

    An edge in a connection.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (ProjectCard)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n ProjectColumn\n

    \n

    A column inside a project.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cards (ProjectCardConnection!)

    List of cards in the column.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    archivedStates ([ProjectCardArchivedState])

    \n

    A list of archived states to filter the cards by.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n\n\n

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    databaseId (Int)

    Identifies the primary key from the database.

    \n\n\n\n\n\n\n\n\n\n\n\n

    name (String!)

    The project column's name.

    \n\n\n\n\n\n\n\n\n\n\n\n

    project (Project!)

    The project that contains this column.

    \n\n\n\n\n\n\n\n\n\n\n\n

    purpose (ProjectColumnPurpose)

    The semantic purpose of the column.

    \n\n\n\n\n\n\n\n\n\n\n\n

    resourcePath (URI!)

    The HTTP path for this project column.

    \n\n\n\n\n\n\n\n\n\n\n\n

    updatedAt (DateTime!)

    Identifies the date and time when the object was last updated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    url (URI!)

    The HTTP URL for this project column.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n ProjectColumnConnection\n

    \n

    The connection type for ProjectColumn.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([ProjectColumnEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([ProjectColumn])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n ProjectColumnEdge\n

    \n

    An edge in a connection.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (ProjectColumn)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n ProjectConnection\n

    \n

    A list of projects associated with the owner.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([ProjectEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([Project])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n ProjectEdge\n

    \n

    An edge in a connection.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (Project)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n ProjectProgress\n

    \n

    Project progress stats.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    doneCount (Int!)

    The number of done cards.

    \n\n\n\n\n\n\n\n\n\n\n\n

    donePercentage (Float!)

    The percentage of done cards.

    \n\n\n\n\n\n\n\n\n\n\n\n

    enabled (Boolean!)

    Whether progress tracking is enabled and cards with purpose exist for this project.

    \n\n\n\n\n\n\n\n\n\n\n\n

    inProgressCount (Int!)

    The number of in-progress cards.

    \n\n\n\n\n\n\n\n\n\n\n\n

    inProgressPercentage (Float!)

    The percentage of in-progress cards.

    \n\n\n\n\n\n\n\n\n\n\n\n

    todoCount (Int!)

    The number of to do cards.

    \n\n\n\n\n\n\n\n\n\n\n\n

    todoPercentage (Float!)

    The percentage of to do cards.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n PublicKey\n

    \n

    A user's public key.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    accessedAt (DateTime)

    The last time this authorization was used to perform an action. Values will be null for keys not owned by the user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (DateTime)

    Identifies the date and time when the key was created. Keys created before\nMarch 5th, 2014 have inaccurate values. Values will be null for keys not owned by the user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    fingerprint (String!)

    The fingerprint for this PublicKey.

    \n\n\n\n\n\n\n\n\n\n\n\n

    isReadOnly (Boolean)

    Whether this PublicKey is read-only or not. Values will be null for keys not owned by the user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    key (String!)

    The public key string.

    \n\n\n\n\n\n\n\n\n\n\n\n

    updatedAt (DateTime)

    Identifies the date and time when the key was updated. Keys created before\nMarch 5th, 2014 may have inaccurate values. Values will be null for keys not\nowned by the user.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n PublicKeyConnection\n

    \n

    The connection type for PublicKey.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([PublicKeyEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([PublicKey])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n PublicKeyEdge\n

    \n

    An edge in a connection.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (PublicKey)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n PullRequest\n

    \n

    A repository pull request.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    activeLockReason (LockReason)

    Reason that the conversation was locked.

    \n\n\n\n\n\n\n\n\n\n\n\n

    additions (Int!)

    The number of additions in this pull request.

    \n\n\n\n\n\n\n\n\n\n\n\n

    assignees (UserConnection!)

    A list of Users assigned to this object.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n\n\n

    author (Actor)

    The actor who authored the comment.

    \n\n\n\n\n\n\n\n\n\n\n\n

    authorAssociation (CommentAuthorAssociation!)

    Author's association with the subject of the comment.

    \n\n\n\n\n\n\n\n\n\n\n\n

    autoMergeRequest (AutoMergeRequest)

    Returns the auto-merge request object if one exists for this pull request.

    \n\n\n\n\n\n\n\n\n\n\n\n

    baseRef (Ref)

    Identifies the base Ref associated with the pull request.

    \n\n\n\n\n\n\n\n\n\n\n\n

    baseRefName (String!)

    Identifies the name of the base Ref associated with the pull request, even if the ref has been deleted.

    \n\n\n\n\n\n\n\n\n\n\n\n

    baseRefOid (GitObjectID!)

    Identifies the oid of the base ref associated with the pull request, even if the ref has been deleted.

    \n\n\n\n\n\n\n\n\n\n\n\n

    baseRepository (Repository)

    The repository associated with this pull request's base Ref.

    \n\n\n\n\n\n\n\n\n\n\n\n

    body (String!)

    The body as Markdown.

    \n\n\n\n\n\n\n\n\n\n\n\n

    bodyHTML (HTML!)

    The body rendered to HTML.

    \n\n\n\n\n\n\n\n\n\n\n\n

    bodyText (String!)

    The body rendered to text.

    \n\n\n\n\n\n\n\n\n\n\n\n

    canBeRebased (Boolean!)

    Whether or not the pull request is rebaseable.

    \n\n\n\n\n
    \n

    Preview notice

    \n

    canBeRebased is available under the Merge info preview. During the preview period, the API may change without notice.

    \n
    \n\n\n\n\n\n\n\n\n

    changedFiles (Int!)

    The number of changed files in this pull request.

    \n\n\n\n\n\n\n\n\n\n\n\n

    checksResourcePath (URI!)

    The HTTP path for the checks of this pull request.

    \n\n\n\n\n\n\n\n\n\n\n\n

    checksUrl (URI!)

    The HTTP URL for the checks of this pull request.

    \n\n\n\n\n\n\n\n\n\n\n\n

    closed (Boolean!)

    true if the pull request is closed.

    \n\n\n\n\n\n\n\n\n\n\n\n

    closedAt (DateTime)

    Identifies the date and time when the object was closed.

    \n\n\n\n\n\n\n\n\n\n\n\n

    comments (IssueCommentConnection!)

    A list of comments associated with the pull request.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (IssueCommentOrder)

    \n

    Ordering options for issue comments returned from the connection.

    \n\n
    \n\n
    \n\n\n

    commits (PullRequestCommitConnection!)

    A list of commits present in this pull request's head branch not present in the base branch.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n\n\n

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdViaEmail (Boolean!)

    Check if this comment was created via an email reply.

    \n\n\n\n\n\n\n\n\n\n\n\n

    databaseId (Int)

    Identifies the primary key from the database.

    \n\n\n\n\n\n\n\n\n\n\n\n

    deletions (Int!)

    The number of deletions in this pull request.

    \n\n\n\n\n\n\n\n\n\n\n\n

    editor (Actor)

    The actor who edited this pull request's body.

    \n\n\n\n\n\n\n\n\n\n\n\n

    files (PullRequestChangedFileConnection)

    Lists the files changed within this pull request.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n\n\n

    headRef (Ref)

    Identifies the head Ref associated with the pull request.

    \n\n\n\n\n\n\n\n\n\n\n\n

    headRefName (String!)

    Identifies the name of the head Ref associated with the pull request, even if the ref has been deleted.

    \n\n\n\n\n\n\n\n\n\n\n\n

    headRefOid (GitObjectID!)

    Identifies the oid of the head ref associated with the pull request, even if the ref has been deleted.

    \n\n\n\n\n\n\n\n\n\n\n\n

    headRepository (Repository)

    The repository associated with this pull request's head Ref.

    \n\n\n\n\n\n\n\n\n\n\n\n

    headRepositoryOwner (RepositoryOwner)

    The owner of the repository associated with this pull request's head Ref.

    \n\n\n\n\n\n\n\n\n\n\n\n

    hovercard (Hovercard!)

    The hovercard information for this issue.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    includeNotificationContexts (Boolean)

    \n

    Whether or not to include notification contexts.

    \n

    The default value is true.

    \n
    \n\n
    \n\n\n

    includesCreatedEdit (Boolean!)

    Check if this comment was edited and includes an edit with the creation data.

    \n\n\n\n\n\n\n\n\n\n\n\n

    isCrossRepository (Boolean!)

    The head and base repositories are different.

    \n\n\n\n\n\n\n\n\n\n\n\n

    isDraft (Boolean!)

    Identifies if the pull request is a draft.

    \n\n\n\n\n\n\n\n\n\n\n\n

    isReadByViewer (Boolean)

    Is this pull request read by the viewer.

    \n\n\n\n\n\n\n\n\n\n\n\n

    labels (LabelConnection)

    A list of labels associated with the object.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (LabelOrder)

    \n

    Ordering options for labels returned from the connection.

    \n\n
    \n\n
    \n\n\n

    lastEditedAt (DateTime)

    The moment the editor made the last edit.

    \n\n\n\n\n\n\n\n\n\n\n\n

    latestOpinionatedReviews (PullRequestReviewConnection)

    A list of latest reviews per user associated with the pull request.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    writersOnly (Boolean)

    \n

    Only return reviews from user who have write access to the repository.

    \n

    The default value is false.

    \n
    \n\n
    \n\n\n

    latestReviews (PullRequestReviewConnection)

    A list of latest reviews per user associated with the pull request that are not also pending review.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n\n\n

    locked (Boolean!)

    true if the pull request is locked.

    \n\n\n\n\n\n\n\n\n\n\n\n

    maintainerCanModify (Boolean!)

    Indicates whether maintainers can modify the pull request.

    \n\n\n\n\n\n\n\n\n\n\n\n

    mergeCommit (Commit)

    The commit that was created when this pull request was merged.

    \n\n\n\n\n\n\n\n\n\n\n\n

    mergeStateStatus (MergeStateStatus!)

    Detailed information about the current pull request merge state status.

    \n\n\n\n\n
    \n

    Preview notice

    \n

    mergeStateStatus is available under the Merge info preview. During the preview period, the API may change without notice.

    \n
    \n\n\n\n\n\n\n\n\n

    mergeable (MergeableState!)

    Whether or not the pull request can be merged based on the existence of merge conflicts.

    \n\n\n\n\n\n\n\n\n\n\n\n

    merged (Boolean!)

    Whether or not the pull request was merged.

    \n\n\n\n\n\n\n\n\n\n\n\n

    mergedAt (DateTime)

    The date and time that the pull request was merged.

    \n\n\n\n\n\n\n\n\n\n\n\n

    mergedBy (Actor)

    The actor who merged the pull request.

    \n\n\n\n\n\n\n\n\n\n\n\n

    milestone (Milestone)

    Identifies the milestone associated with the pull request.

    \n\n\n\n\n\n\n\n\n\n\n\n

    number (Int!)

    Identifies the pull request number.

    \n\n\n\n\n\n\n\n\n\n\n\n

    participants (UserConnection!)

    A list of Users that are participating in the Pull Request conversation.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n\n\n

    permalink (URI!)

    The permalink to the pull request.

    \n\n\n\n\n\n\n\n\n\n\n\n

    potentialMergeCommit (Commit)

    The commit that GitHub automatically generated to test if this pull request\ncould be merged. This field will not return a value if the pull request is\nmerged, or if the test merge commit is still being generated. See the\nmergeable field for more details on the mergeability of the pull request.

    \n\n\n\n\n\n\n\n\n\n\n\n

    projectCards (ProjectCardConnection!)

    List of project cards associated with this pull request.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    archivedStates ([ProjectCardArchivedState])

    \n

    A list of archived states to filter the cards by.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n\n\n

    publishedAt (DateTime)

    Identifies when the comment was published at.

    \n\n\n\n\n\n\n\n\n\n\n\n

    reactionGroups ([ReactionGroup!])

    A list of reactions grouped by content left on the subject.

    \n\n\n\n\n\n\n\n\n\n\n\n

    reactions (ReactionConnection!)

    A list of Reactions left on the Issue.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    content (ReactionContent)

    \n

    Allows filtering Reactions by emoji.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (ReactionOrder)

    \n

    Allows specifying the order in which reactions are returned.

    \n\n
    \n\n
    \n\n\n

    repository (Repository!)

    The repository associated with this node.

    \n\n\n\n\n\n\n\n\n\n\n\n

    resourcePath (URI!)

    The HTTP path for this pull request.

    \n\n\n\n\n\n\n\n\n\n\n\n

    revertResourcePath (URI!)

    The HTTP path for reverting this pull request.

    \n\n\n\n\n\n\n\n\n\n\n\n

    revertUrl (URI!)

    The HTTP URL for reverting this pull request.

    \n\n\n\n\n\n\n\n\n\n\n\n

    reviewDecision (PullRequestReviewDecision)

    The current status of this pull request with respect to code review.

    \n\n\n\n\n\n\n\n\n\n\n\n

    reviewRequests (ReviewRequestConnection)

    A list of review requests associated with the pull request.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n\n\n

    reviewThreads (PullRequestReviewThreadConnection!)

    The list of all review threads for this pull request.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n\n\n

    reviews (PullRequestReviewConnection)

    A list of reviews associated with the pull request.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    author (String)

    \n

    Filter by author of the review.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    states ([PullRequestReviewState!])

    \n

    A list of states to filter the reviews.

    \n\n
    \n\n
    \n\n\n

    state (PullRequestState!)

    Identifies the state of the pull request.

    \n\n\n\n\n\n\n\n\n\n\n\n

    suggestedReviewers ([SuggestedReviewer]!)

    A list of reviewer suggestions based on commit history and past review comments.

    \n\n\n\n\n\n\n\n\n\n\n\n

    timeline (PullRequestTimelineConnection!)

    A list of events, comments, commits, etc. associated with the pull request.

    \n\n\n\n\n\n\n
    \n

    Deprecation notice

    \n

    timeline is deprecated.

    timeline will be removed Use PullRequest.timelineItems instead. Removal on 2020-10-01 UTC.

    \n
    \n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    since (DateTime)

    \n

    Allows filtering timeline events by a since timestamp.

    \n\n
    \n\n
    \n\n\n

    timelineItems (PullRequestTimelineItemsConnection!)

    A list of events, comments, commits, etc. associated with the pull request.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    itemTypes ([PullRequestTimelineItemsItemType!])

    \n

    Filter timeline items by type.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    since (DateTime)

    \n

    Filter timeline items by a since timestamp.

    \n\n
    \n\n
    \n

    skip (Int)

    \n

    Skips the first n elements in the list.

    \n\n
    \n\n
    \n\n\n

    title (String!)

    Identifies the pull request title.

    \n\n\n\n\n\n\n\n\n\n\n\n

    updatedAt (DateTime!)

    Identifies the date and time when the object was last updated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    url (URI!)

    The HTTP URL for this pull request.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userContentEdits (UserContentEditConnection)

    A list of edits to this content.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n\n\n

    viewerCanApplySuggestion (Boolean!)

    Whether or not the viewer can apply suggestion.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerCanDeleteHeadRef (Boolean!)

    Check if the viewer can restore the deleted head ref.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerCanDisableAutoMerge (Boolean!)

    Whether or not the viewer can disable auto-merge.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerCanEnableAutoMerge (Boolean!)

    Whether or not the viewer can enable auto-merge.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerCanReact (Boolean!)

    Can user react to this subject.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerCanSubscribe (Boolean!)

    Check if the viewer is able to change their subscription status for the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerCanUpdate (Boolean!)

    Check if the current viewer can update this object.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerCannotUpdateReasons ([CommentCannotUpdateReason!]!)

    Reasons why the current viewer can not update this comment.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerDidAuthor (Boolean!)

    Did the viewer author this comment.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerMergeBodyText (String!)

    The merge body text for the viewer and method.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    mergeType (PullRequestMergeMethod)

    \n

    The merge method for the message.

    \n\n
    \n\n
    \n\n\n

    viewerMergeHeadlineText (String!)

    The merge headline text for the viewer and method.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    mergeType (PullRequestMergeMethod)

    \n

    The merge method for the message.

    \n\n
    \n\n
    \n\n\n

    viewerSubscription (SubscriptionState)

    Identifies if the viewer is watching, not watching, or ignoring the subscribable entity.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n PullRequestChangedFile\n

    \n

    A file changed in a pull request.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    additions (Int!)

    The number of additions to the file.

    \n\n\n\n\n\n\n\n\n\n\n\n

    deletions (Int!)

    The number of deletions to the file.

    \n\n\n\n\n\n\n\n\n\n\n\n

    path (String!)

    The path of the file.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerViewedState (FileViewedState!)

    The state of the file for the viewer.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n PullRequestChangedFileConnection\n

    \n

    The connection type for PullRequestChangedFile.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([PullRequestChangedFileEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([PullRequestChangedFile])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n PullRequestChangedFileEdge\n

    \n

    An edge in a connection.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (PullRequestChangedFile)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n PullRequestCommit\n

    \n

    Represents a Git commit part of a pull request.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    commit (Commit!)

    The Git commit object.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pullRequest (PullRequest!)

    The pull request this commit belongs to.

    \n\n\n\n\n\n\n\n\n\n\n\n

    resourcePath (URI!)

    The HTTP path for this pull request commit.

    \n\n\n\n\n\n\n\n\n\n\n\n

    url (URI!)

    The HTTP URL for this pull request commit.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n PullRequestCommitCommentThread\n

    \n

    Represents a commit comment thread part of a pull request.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    comments (CommitCommentConnection!)

    The comments that exist in this thread.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n\n\n

    commit (Commit!)

    The commit the comments were made on.

    \n\n\n\n\n\n\n\n\n\n\n\n

    path (String)

    The file the comments were made on.

    \n\n\n\n\n\n\n\n\n\n\n\n

    position (Int)

    The position in the diff for the commit that the comment was made on.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pullRequest (PullRequest!)

    The pull request this commit comment thread belongs to.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repository (Repository!)

    The repository associated with this node.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n PullRequestCommitConnection\n

    \n

    The connection type for PullRequestCommit.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([PullRequestCommitEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([PullRequestCommit])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n PullRequestCommitEdge\n

    \n

    An edge in a connection.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (PullRequestCommit)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n PullRequestConnection\n

    \n

    The connection type for PullRequest.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([PullRequestEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([PullRequest])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n PullRequestContributionsByRepository\n

    \n

    This aggregates pull requests opened by a user within one repository.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    contributions (CreatedPullRequestContributionConnection!)

    The pull request contributions.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (ContributionOrder)

    \n

    Ordering options for contributions returned from the connection.

    \n\n
    \n\n
    \n\n\n

    repository (Repository!)

    The repository in which the pull requests were opened.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n PullRequestEdge\n

    \n

    An edge in a connection.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (PullRequest)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n PullRequestReview\n

    \n

    A review object for a given pull request.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    author (Actor)

    The actor who authored the comment.

    \n\n\n\n\n\n\n\n\n\n\n\n

    authorAssociation (CommentAuthorAssociation!)

    Author's association with the subject of the comment.

    \n\n\n\n\n\n\n\n\n\n\n\n

    authorCanPushToRepository (Boolean!)

    Indicates whether the author of this review has push access to the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    body (String!)

    Identifies the pull request review body.

    \n\n\n\n\n\n\n\n\n\n\n\n

    bodyHTML (HTML!)

    The body rendered to HTML.

    \n\n\n\n\n\n\n\n\n\n\n\n

    bodyText (String!)

    The body of this review rendered as plain text.

    \n\n\n\n\n\n\n\n\n\n\n\n

    comments (PullRequestReviewCommentConnection!)

    A list of review comments for the current pull request review.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n\n\n

    commit (Commit)

    Identifies the commit associated with this pull request review.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdViaEmail (Boolean!)

    Check if this comment was created via an email reply.

    \n\n\n\n\n\n\n\n\n\n\n\n

    databaseId (Int)

    Identifies the primary key from the database.

    \n\n\n\n\n\n\n\n\n\n\n\n

    editor (Actor)

    The actor who edited the comment.

    \n\n\n\n\n\n\n\n\n\n\n\n

    includesCreatedEdit (Boolean!)

    Check if this comment was edited and includes an edit with the creation data.

    \n\n\n\n\n\n\n\n\n\n\n\n

    lastEditedAt (DateTime)

    The moment the editor made the last edit.

    \n\n\n\n\n\n\n\n\n\n\n\n

    onBehalfOf (TeamConnection!)

    A list of teams that this review was made on behalf of.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n\n\n

    publishedAt (DateTime)

    Identifies when the comment was published at.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pullRequest (PullRequest!)

    Identifies the pull request associated with this pull request review.

    \n\n\n\n\n\n\n\n\n\n\n\n

    reactionGroups ([ReactionGroup!])

    A list of reactions grouped by content left on the subject.

    \n\n\n\n\n\n\n\n\n\n\n\n

    reactions (ReactionConnection!)

    A list of Reactions left on the Issue.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    content (ReactionContent)

    \n

    Allows filtering Reactions by emoji.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (ReactionOrder)

    \n

    Allows specifying the order in which reactions are returned.

    \n\n
    \n\n
    \n\n\n

    repository (Repository!)

    The repository associated with this node.

    \n\n\n\n\n\n\n\n\n\n\n\n

    resourcePath (URI!)

    The HTTP path permalink for this PullRequestReview.

    \n\n\n\n\n\n\n\n\n\n\n\n

    state (PullRequestReviewState!)

    Identifies the current state of the pull request review.

    \n\n\n\n\n\n\n\n\n\n\n\n

    submittedAt (DateTime)

    Identifies when the Pull Request Review was submitted.

    \n\n\n\n\n\n\n\n\n\n\n\n

    updatedAt (DateTime!)

    Identifies the date and time when the object was last updated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    url (URI!)

    The HTTP URL permalink for this PullRequestReview.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userContentEdits (UserContentEditConnection)

    A list of edits to this content.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n\n\n

    viewerCanDelete (Boolean!)

    Check if the current viewer can delete this object.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerCanReact (Boolean!)

    Can user react to this subject.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerCanUpdate (Boolean!)

    Check if the current viewer can update this object.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerCannotUpdateReasons ([CommentCannotUpdateReason!]!)

    Reasons why the current viewer can not update this comment.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerDidAuthor (Boolean!)

    Did the viewer author this comment.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n PullRequestReviewComment\n

    \n

    A review comment associated with a given repository pull request.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    author (Actor)

    The actor who authored the comment.

    \n\n\n\n\n\n\n\n\n\n\n\n

    authorAssociation (CommentAuthorAssociation!)

    Author's association with the subject of the comment.

    \n\n\n\n\n\n\n\n\n\n\n\n

    body (String!)

    The comment body of this review comment.

    \n\n\n\n\n\n\n\n\n\n\n\n

    bodyHTML (HTML!)

    The body rendered to HTML.

    \n\n\n\n\n\n\n\n\n\n\n\n

    bodyText (String!)

    The comment body of this review comment rendered as plain text.

    \n\n\n\n\n\n\n\n\n\n\n\n

    commit (Commit)

    Identifies the commit associated with the comment.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (DateTime!)

    Identifies when the comment was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdViaEmail (Boolean!)

    Check if this comment was created via an email reply.

    \n\n\n\n\n\n\n\n\n\n\n\n

    databaseId (Int)

    Identifies the primary key from the database.

    \n\n\n\n\n\n\n\n\n\n\n\n

    diffHunk (String!)

    The diff hunk to which the comment applies.

    \n\n\n\n\n\n\n\n\n\n\n\n

    draftedAt (DateTime!)

    Identifies when the comment was created in a draft state.

    \n\n\n\n\n\n\n\n\n\n\n\n

    editor (Actor)

    The actor who edited the comment.

    \n\n\n\n\n\n\n\n\n\n\n\n

    includesCreatedEdit (Boolean!)

    Check if this comment was edited and includes an edit with the creation data.

    \n\n\n\n\n\n\n\n\n\n\n\n

    isMinimized (Boolean!)

    Returns whether or not a comment has been minimized.

    \n\n\n\n\n\n\n\n\n\n\n\n

    lastEditedAt (DateTime)

    The moment the editor made the last edit.

    \n\n\n\n\n\n\n\n\n\n\n\n

    minimizedReason (String)

    Returns why the comment was minimized.

    \n\n\n\n\n\n\n\n\n\n\n\n

    originalCommit (Commit)

    Identifies the original commit associated with the comment.

    \n\n\n\n\n\n\n\n\n\n\n\n

    originalPosition (Int!)

    The original line index in the diff to which the comment applies.

    \n\n\n\n\n\n\n\n\n\n\n\n

    outdated (Boolean!)

    Identifies when the comment body is outdated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    path (String!)

    The path to which the comment applies.

    \n\n\n\n\n\n\n\n\n\n\n\n

    position (Int)

    The line index in the diff to which the comment applies.

    \n\n\n\n\n\n\n\n\n\n\n\n

    publishedAt (DateTime)

    Identifies when the comment was published at.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pullRequest (PullRequest!)

    The pull request associated with this review comment.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pullRequestReview (PullRequestReview)

    The pull request review associated with this review comment.

    \n\n\n\n\n\n\n\n\n\n\n\n

    reactionGroups ([ReactionGroup!])

    A list of reactions grouped by content left on the subject.

    \n\n\n\n\n\n\n\n\n\n\n\n

    reactions (ReactionConnection!)

    A list of Reactions left on the Issue.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    content (ReactionContent)

    \n

    Allows filtering Reactions by emoji.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (ReactionOrder)

    \n

    Allows specifying the order in which reactions are returned.

    \n\n
    \n\n
    \n\n\n

    replyTo (PullRequestReviewComment)

    The comment this is a reply to.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repository (Repository!)

    The repository associated with this node.

    \n\n\n\n\n\n\n\n\n\n\n\n

    resourcePath (URI!)

    The HTTP path permalink for this review comment.

    \n\n\n\n\n\n\n\n\n\n\n\n

    state (PullRequestReviewCommentState!)

    Identifies the state of the comment.

    \n\n\n\n\n\n\n\n\n\n\n\n

    updatedAt (DateTime!)

    Identifies when the comment was last updated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    url (URI!)

    The HTTP URL permalink for this review comment.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userContentEdits (UserContentEditConnection)

    A list of edits to this content.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n\n\n

    viewerCanDelete (Boolean!)

    Check if the current viewer can delete this object.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerCanMinimize (Boolean!)

    Check if the current viewer can minimize this object.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerCanReact (Boolean!)

    Can user react to this subject.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerCanUpdate (Boolean!)

    Check if the current viewer can update this object.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerCannotUpdateReasons ([CommentCannotUpdateReason!]!)

    Reasons why the current viewer can not update this comment.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerDidAuthor (Boolean!)

    Did the viewer author this comment.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n PullRequestReviewCommentConnection\n

    \n

    The connection type for PullRequestReviewComment.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([PullRequestReviewCommentEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([PullRequestReviewComment])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n PullRequestReviewCommentEdge\n

    \n

    An edge in a connection.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (PullRequestReviewComment)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n PullRequestReviewConnection\n

    \n

    The connection type for PullRequestReview.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([PullRequestReviewEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([PullRequestReview])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n PullRequestReviewContributionsByRepository\n

    \n

    This aggregates pull request reviews made by a user within one repository.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    contributions (CreatedPullRequestReviewContributionConnection!)

    The pull request review contributions.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (ContributionOrder)

    \n

    Ordering options for contributions returned from the connection.

    \n\n
    \n\n
    \n\n\n

    repository (Repository!)

    The repository in which the pull request reviews were made.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n PullRequestReviewEdge\n

    \n

    An edge in a connection.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (PullRequestReview)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n PullRequestReviewThread\n

    \n

    A threaded list of comments for a given pull request.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    comments (PullRequestReviewCommentConnection!)

    A list of pull request comments associated with the thread.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    skip (Int)

    \n

    Skips the first n elements in the list.

    \n\n
    \n\n
    \n\n\n

    diffSide (DiffSide!)

    The side of the diff on which this thread was placed.

    \n\n\n\n\n\n\n\n\n\n\n\n

    isCollapsed (Boolean!)

    Whether or not the thread has been collapsed (outdated or resolved).

    \n\n\n\n\n\n\n\n\n\n\n\n

    isOutdated (Boolean!)

    Indicates whether this thread was outdated by newer changes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    isResolved (Boolean!)

    Whether this thread has been resolved.

    \n\n\n\n\n\n\n\n\n\n\n\n

    line (Int)

    The line in the file to which this thread refers.

    \n\n\n\n\n\n\n\n\n\n\n\n

    originalLine (Int)

    The original line in the file to which this thread refers.

    \n\n\n\n\n\n\n\n\n\n\n\n

    originalStartLine (Int)

    The original start line in the file to which this thread refers (multi-line only).

    \n\n\n\n\n\n\n\n\n\n\n\n

    path (String!)

    Identifies the file path of this thread.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pullRequest (PullRequest!)

    Identifies the pull request associated with this thread.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repository (Repository!)

    Identifies the repository associated with this thread.

    \n\n\n\n\n\n\n\n\n\n\n\n

    resolvedBy (User)

    The user who resolved this thread.

    \n\n\n\n\n\n\n\n\n\n\n\n

    startDiffSide (DiffSide)

    The side of the diff that the first line of the thread starts on (multi-line only).

    \n\n\n\n\n\n\n\n\n\n\n\n

    startLine (Int)

    The start line in the file to which this thread refers (multi-line only).

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerCanReply (Boolean!)

    Indicates whether the current viewer can reply to this thread.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerCanResolve (Boolean!)

    Whether or not the viewer can resolve this thread.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerCanUnresolve (Boolean!)

    Whether or not the viewer can unresolve this thread.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n PullRequestReviewThreadConnection\n

    \n

    Review comment threads for a pull request review.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([PullRequestReviewThreadEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([PullRequestReviewThread])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n PullRequestReviewThreadEdge\n

    \n

    An edge in a connection.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (PullRequestReviewThread)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n PullRequestRevisionMarker\n

    \n

    Represents the latest point in the pull request timeline for which the viewer has seen the pull request's commits.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    lastSeenCommit (Commit!)

    The last commit the viewer has seen.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pullRequest (PullRequest!)

    The pull request to which the marker belongs.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n PullRequestTimelineConnection\n

    \n

    The connection type for PullRequestTimelineItem.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([PullRequestTimelineItemEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([PullRequestTimelineItem])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n PullRequestTimelineItemEdge\n

    \n

    An edge in a connection.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (PullRequestTimelineItem)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n PullRequestTimelineItemsConnection\n

    \n

    The connection type for PullRequestTimelineItems.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([PullRequestTimelineItemsEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    filteredCount (Int!)

    Identifies the count of items after applying before and after filters.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([PullRequestTimelineItems])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageCount (Int!)

    Identifies the count of items after applying before/after filters and first/last/skip slicing.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n

    updatedAt (DateTime!)

    Identifies the date and time when the timeline was last updated.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n PullRequestTimelineItemsEdge\n

    \n

    An edge in a connection.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (PullRequestTimelineItems)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n Push\n

    \n

    A Git push.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    nextSha (GitObjectID)

    The SHA after the push.

    \n\n\n\n\n\n\n\n\n\n\n\n

    permalink (URI!)

    The permalink for this push.

    \n\n\n\n\n\n\n\n\n\n\n\n

    previousSha (GitObjectID)

    The SHA before the push.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pusher (User!)

    The user who pushed.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repository (Repository!)

    The repository that was pushed to.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n PushAllowance\n

    \n

    A team, user or app who has the ability to push to a protected branch.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    actor (PushAllowanceActor)

    The actor that can push.

    \n\n\n\n\n\n\n\n\n\n\n\n

    branchProtectionRule (BranchProtectionRule)

    Identifies the branch protection rule associated with the allowed user or team.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n PushAllowanceConnection\n

    \n

    The connection type for PushAllowance.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([PushAllowanceEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([PushAllowance])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n PushAllowanceEdge\n

    \n

    An edge in a connection.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (PushAllowance)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n RateLimit\n

    \n

    Represents the client's rate limit.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cost (Int!)

    The point cost for the current query counting against the rate limit.

    \n\n\n\n\n\n\n\n\n\n\n\n

    limit (Int!)

    The maximum number of points the client is permitted to consume in a 60 minute window.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodeCount (Int!)

    The maximum number of nodes this query may return.

    \n\n\n\n\n\n\n\n\n\n\n\n

    remaining (Int!)

    The number of points remaining in the current rate limit window.

    \n\n\n\n\n\n\n\n\n\n\n\n

    resetAt (DateTime!)

    The time at which the current rate limit window resets in UTC epoch seconds.

    \n\n\n\n\n\n\n\n\n\n\n\n

    used (Int!)

    The number of points used in the current rate limit window.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n ReactingUserConnection\n

    \n

    The connection type for User.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([ReactingUserEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([User])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n ReactingUserEdge\n

    \n

    Represents a user that's made a reaction.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    reactedAt (DateTime!)

    The moment when the user made the reaction.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n Reaction\n

    \n

    An emoji reaction to a particular piece of content.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    content (ReactionContent!)

    Identifies the emoji reaction.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    databaseId (Int)

    Identifies the primary key from the database.

    \n\n\n\n\n\n\n\n\n\n\n\n

    reactable (Reactable!)

    The reactable piece of content.

    \n\n\n\n\n\n\n\n\n\n\n\n

    user (User)

    Identifies the user who created this reaction.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n ReactionConnection\n

    \n

    A list of reactions that have been left on the subject.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([ReactionEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([Reaction])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerHasReacted (Boolean!)

    Whether or not the authenticated user has left a reaction on the subject.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n ReactionEdge\n

    \n

    An edge in a connection.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (Reaction)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n ReactionGroup\n

    \n

    A group of emoji reactions to a particular piece of content.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    content (ReactionContent!)

    Identifies the emoji reaction.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (DateTime)

    Identifies when the reaction was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    subject (Reactable!)

    The subject that was reacted to.

    \n\n\n\n\n\n\n\n\n\n\n\n

    users (ReactingUserConnection!)

    Users who have reacted to the reaction subject with the emotion represented by this reaction group.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n\n\n

    viewerHasReacted (Boolean!)

    Whether or not the authenticated user has left a reaction on the subject.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n ReadyForReviewEvent\n

    \n

    Represents aready_for_reviewevent on a given pull request.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    actor (Actor)

    Identifies the actor who performed the event.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pullRequest (PullRequest!)

    PullRequest referenced by event.

    \n\n\n\n\n\n\n\n\n\n\n\n

    resourcePath (URI!)

    The HTTP path for this ready for review event.

    \n\n\n\n\n\n\n\n\n\n\n\n

    url (URI!)

    The HTTP URL for this ready for review event.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n Ref\n

    \n

    Represents a Git reference.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    associatedPullRequests (PullRequestConnection!)

    A list of pull requests with this ref as the head ref.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    baseRefName (String)

    \n

    The base ref name to filter the pull requests by.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    headRefName (String)

    \n

    The head ref name to filter the pull requests by.

    \n\n
    \n\n
    \n

    labels ([String!])

    \n

    A list of label names to filter the pull requests by.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (IssueOrder)

    \n

    Ordering options for pull requests returned from the connection.

    \n\n
    \n\n
    \n

    states ([PullRequestState!])

    \n

    A list of states to filter the pull requests by.

    \n\n
    \n\n
    \n\n\n

    branchProtectionRule (BranchProtectionRule)

    Branch protection rules for this ref.

    \n\n\n\n\n\n\n\n\n\n\n\n

    name (String!)

    The ref name.

    \n\n\n\n\n\n\n\n\n\n\n\n

    prefix (String!)

    The ref's prefix, such as refs/heads/ or refs/tags/.

    \n\n\n\n\n\n\n\n\n\n\n\n

    refUpdateRule (RefUpdateRule)

    Branch protection rules that are viewable by non-admins.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repository (Repository!)

    The repository the ref belongs to.

    \n\n\n\n\n\n\n\n\n\n\n\n

    target (GitObject)

    The object the ref points to. Returns null when object does not exist.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n RefConnection\n

    \n

    The connection type for Ref.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([RefEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([Ref])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n RefEdge\n

    \n

    An edge in a connection.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (Ref)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n RefUpdateRule\n

    \n

    A ref update rules for a viewer.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    allowsDeletions (Boolean!)

    Can this branch be deleted.

    \n\n\n\n\n\n\n\n\n\n\n\n

    allowsForcePushes (Boolean!)

    Are force pushes allowed on this branch.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pattern (String!)

    Identifies the protection rule pattern.

    \n\n\n\n\n\n\n\n\n\n\n\n

    requiredApprovingReviewCount (Int)

    Number of approving reviews required to update matching branches.

    \n\n\n\n\n\n\n\n\n\n\n\n

    requiredStatusCheckContexts ([String])

    List of required status check contexts that must pass for commits to be accepted to matching branches.

    \n\n\n\n\n\n\n\n\n\n\n\n

    requiresLinearHistory (Boolean!)

    Are merge commits prohibited from being pushed to this branch.

    \n\n\n\n\n\n\n\n\n\n\n\n

    requiresSignatures (Boolean!)

    Are commits required to be signed.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerCanPush (Boolean!)

    Can the viewer push to the branch.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n ReferencedEvent\n

    \n

    Represents areferencedevent on a given ReferencedSubject.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    actor (Actor)

    Identifies the actor who performed the event.

    \n\n\n\n\n\n\n\n\n\n\n\n

    commit (Commit)

    Identifies the commit associated with thereferencedevent.

    \n\n\n\n\n\n\n\n\n\n\n\n

    commitRepository (Repository!)

    Identifies the repository associated with thereferencedevent.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    isCrossRepository (Boolean!)

    Reference originated in a different repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    isDirectReference (Boolean!)

    Checks if the commit message itself references the subject. Can be false in the case of a commit comment reference.

    \n\n\n\n\n\n\n\n\n\n\n\n

    subject (ReferencedSubject!)

    Object referenced by event.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n Release\n

    \n

    A release contains the content for a release.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    author (User)

    The author of the release.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    description (String)

    The description of the release.

    \n\n\n\n\n\n\n\n\n\n\n\n

    descriptionHTML (HTML)

    The description of this release rendered to HTML.

    \n\n\n\n\n\n\n\n\n\n\n\n

    isDraft (Boolean!)

    Whether or not the release is a draft.

    \n\n\n\n\n\n\n\n\n\n\n\n

    isLatest (Boolean!)

    Whether or not the release is the latest releast.

    \n\n\n\n\n\n\n\n\n\n\n\n

    isPrerelease (Boolean!)

    Whether or not the release is a prerelease.

    \n\n\n\n\n\n\n\n\n\n\n\n

    name (String)

    The title of the release.

    \n\n\n\n\n\n\n\n\n\n\n\n

    publishedAt (DateTime)

    Identifies the date and time when the release was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    releaseAssets (ReleaseAssetConnection!)

    List of releases assets which are dependent on this release.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    name (String)

    \n

    A list of names to filter the assets by.

    \n\n
    \n\n
    \n\n\n

    repository (Repository!)

    The repository that the release belongs to.

    \n\n\n\n\n\n\n\n\n\n\n\n

    resourcePath (URI!)

    The HTTP path for this issue.

    \n\n\n\n\n\n\n\n\n\n\n\n

    shortDescriptionHTML (HTML)

    A description of the release, rendered to HTML without any links in it.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    limit (Int)

    \n

    How many characters to return.

    \n

    The default value is 200.

    \n
    \n\n
    \n\n\n

    tag (Ref)

    The Git tag the release points to.

    \n\n\n\n\n\n\n\n\n\n\n\n

    tagCommit (Commit)

    The tag commit for this release.

    \n\n\n\n\n\n\n\n\n\n\n\n

    tagName (String!)

    The name of the release's Git tag.

    \n\n\n\n\n\n\n\n\n\n\n\n

    updatedAt (DateTime!)

    Identifies the date and time when the object was last updated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    url (URI!)

    The HTTP URL for this issue.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n ReleaseAsset\n

    \n

    A release asset contains the content for a release asset.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    contentType (String!)

    The asset's content-type.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    downloadCount (Int!)

    The number of times this asset was downloaded.

    \n\n\n\n\n\n\n\n\n\n\n\n

    downloadUrl (URI!)

    Identifies the URL where you can download the release asset via the browser.

    \n\n\n\n\n\n\n\n\n\n\n\n

    name (String!)

    Identifies the title of the release asset.

    \n\n\n\n\n\n\n\n\n\n\n\n

    release (Release)

    Release that the asset is associated with.

    \n\n\n\n\n\n\n\n\n\n\n\n

    size (Int!)

    The size (in bytes) of the asset.

    \n\n\n\n\n\n\n\n\n\n\n\n

    updatedAt (DateTime!)

    Identifies the date and time when the object was last updated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    uploadedBy (User!)

    The user that performed the upload.

    \n\n\n\n\n\n\n\n\n\n\n\n

    url (URI!)

    Identifies the URL of the release asset.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n ReleaseAssetConnection\n

    \n

    The connection type for ReleaseAsset.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([ReleaseAssetEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([ReleaseAsset])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n ReleaseAssetEdge\n

    \n

    An edge in a connection.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (ReleaseAsset)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n ReleaseConnection\n

    \n

    The connection type for Release.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([ReleaseEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([Release])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n ReleaseEdge\n

    \n

    An edge in a connection.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (Release)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n RemovedFromProjectEvent\n

    \n

    Represents aremoved_from_projectevent on a given issue or pull request.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    actor (Actor)

    Identifies the actor who performed the event.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    databaseId (Int)

    Identifies the primary key from the database.

    \n\n\n\n\n\n\n\n\n\n\n\n

    project (Project)

    Project referenced by event.

    \n\n\n\n\n
    \n

    Preview notice

    \n

    project is available under the Project event details preview. During the preview period, the API may change without notice.

    \n
    \n\n\n\n\n\n\n\n\n

    projectColumnName (String!)

    Column name referenced by this project event.

    \n\n\n\n\n
    \n

    Preview notice

    \n

    projectColumnName is available under the Project event details preview. During the preview period, the API may change without notice.

    \n
    \n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n RenamedTitleEvent\n

    \n

    Represents arenamedevent on a given issue or pull request.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    actor (Actor)

    Identifies the actor who performed the event.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    currentTitle (String!)

    Identifies the current title of the issue or pull request.

    \n\n\n\n\n\n\n\n\n\n\n\n

    previousTitle (String!)

    Identifies the previous title of the issue or pull request.

    \n\n\n\n\n\n\n\n\n\n\n\n

    subject (RenamedTitleSubject!)

    Subject that was renamed.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n ReopenedEvent\n

    \n

    Represents areopenedevent on any Closable.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    actor (Actor)

    Identifies the actor who performed the event.

    \n\n\n\n\n\n\n\n\n\n\n\n

    closable (Closable!)

    Object that was reopened.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n RepoAccessAuditEntry\n

    \n

    Audit log entry for a repo.access event.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    action (String!)

    The action name.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actor (AuditEntryActor)

    The user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorIp (String)

    The IP address of the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLocation (ActorLocation)

    A readable representation of the actor's location.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLogin (String)

    The username of the user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorResourcePath (URI)

    The HTTP path for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorUrl (URI)

    The HTTP URL for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (PreciseDateTime!)

    The time the action was initiated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    operationType (OperationType)

    The corresponding operation type for the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organization (Organization)

    The Organization associated with the Audit Entry.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationName (String)

    The name of the Organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationResourcePath (URI)

    The HTTP path for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationUrl (URI)

    The HTTP URL for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repository (Repository)

    The repository associated with the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repositoryName (String)

    The name of the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repositoryResourcePath (URI)

    The HTTP path for the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repositoryUrl (URI)

    The HTTP URL for the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    user (User)

    The user affected by the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userLogin (String)

    For actions involving two users, the actor is the initiator and the user is the affected user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userResourcePath (URI)

    The HTTP path for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userUrl (URI)

    The HTTP URL for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    visibility (RepoAccessAuditEntryVisibility)

    The visibility of the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n RepoAddMemberAuditEntry\n

    \n

    Audit log entry for a repo.add_member event.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    action (String!)

    The action name.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actor (AuditEntryActor)

    The user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorIp (String)

    The IP address of the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLocation (ActorLocation)

    A readable representation of the actor's location.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLogin (String)

    The username of the user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorResourcePath (URI)

    The HTTP path for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorUrl (URI)

    The HTTP URL for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (PreciseDateTime!)

    The time the action was initiated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    operationType (OperationType)

    The corresponding operation type for the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organization (Organization)

    The Organization associated with the Audit Entry.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationName (String)

    The name of the Organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationResourcePath (URI)

    The HTTP path for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationUrl (URI)

    The HTTP URL for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repository (Repository)

    The repository associated with the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repositoryName (String)

    The name of the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repositoryResourcePath (URI)

    The HTTP path for the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repositoryUrl (URI)

    The HTTP URL for the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    user (User)

    The user affected by the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userLogin (String)

    For actions involving two users, the actor is the initiator and the user is the affected user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userResourcePath (URI)

    The HTTP path for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userUrl (URI)

    The HTTP URL for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    visibility (RepoAddMemberAuditEntryVisibility)

    The visibility of the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n RepoAddTopicAuditEntry\n

    \n

    Audit log entry for a repo.add_topic event.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    action (String!)

    The action name.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actor (AuditEntryActor)

    The user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorIp (String)

    The IP address of the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLocation (ActorLocation)

    A readable representation of the actor's location.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLogin (String)

    The username of the user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorResourcePath (URI)

    The HTTP path for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorUrl (URI)

    The HTTP URL for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (PreciseDateTime!)

    The time the action was initiated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    operationType (OperationType)

    The corresponding operation type for the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organization (Organization)

    The Organization associated with the Audit Entry.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationName (String)

    The name of the Organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationResourcePath (URI)

    The HTTP path for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationUrl (URI)

    The HTTP URL for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repository (Repository)

    The repository associated with the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repositoryName (String)

    The name of the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repositoryResourcePath (URI)

    The HTTP path for the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repositoryUrl (URI)

    The HTTP URL for the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    topic (Topic)

    The name of the topic added to the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    topicName (String)

    The name of the topic added to the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    user (User)

    The user affected by the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userLogin (String)

    For actions involving two users, the actor is the initiator and the user is the affected user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userResourcePath (URI)

    The HTTP path for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userUrl (URI)

    The HTTP URL for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n RepoArchivedAuditEntry\n

    \n

    Audit log entry for a repo.archived event.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    action (String!)

    The action name.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actor (AuditEntryActor)

    The user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorIp (String)

    The IP address of the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLocation (ActorLocation)

    A readable representation of the actor's location.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLogin (String)

    The username of the user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorResourcePath (URI)

    The HTTP path for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorUrl (URI)

    The HTTP URL for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (PreciseDateTime!)

    The time the action was initiated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    operationType (OperationType)

    The corresponding operation type for the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organization (Organization)

    The Organization associated with the Audit Entry.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationName (String)

    The name of the Organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationResourcePath (URI)

    The HTTP path for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationUrl (URI)

    The HTTP URL for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repository (Repository)

    The repository associated with the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repositoryName (String)

    The name of the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repositoryResourcePath (URI)

    The HTTP path for the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repositoryUrl (URI)

    The HTTP URL for the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    user (User)

    The user affected by the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userLogin (String)

    For actions involving two users, the actor is the initiator and the user is the affected user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userResourcePath (URI)

    The HTTP path for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userUrl (URI)

    The HTTP URL for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    visibility (RepoArchivedAuditEntryVisibility)

    The visibility of the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n RepoChangeMergeSettingAuditEntry\n

    \n

    Audit log entry for a repo.change_merge_setting event.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    action (String!)

    The action name.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actor (AuditEntryActor)

    The user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorIp (String)

    The IP address of the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLocation (ActorLocation)

    A readable representation of the actor's location.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLogin (String)

    The username of the user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorResourcePath (URI)

    The HTTP path for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorUrl (URI)

    The HTTP URL for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (PreciseDateTime!)

    The time the action was initiated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    isEnabled (Boolean)

    Whether the change was to enable (true) or disable (false) the merge type.

    \n\n\n\n\n\n\n\n\n\n\n\n

    mergeType (RepoChangeMergeSettingAuditEntryMergeType)

    The merge method affected by the change.

    \n\n\n\n\n\n\n\n\n\n\n\n

    operationType (OperationType)

    The corresponding operation type for the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organization (Organization)

    The Organization associated with the Audit Entry.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationName (String)

    The name of the Organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationResourcePath (URI)

    The HTTP path for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationUrl (URI)

    The HTTP URL for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repository (Repository)

    The repository associated with the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repositoryName (String)

    The name of the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repositoryResourcePath (URI)

    The HTTP path for the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repositoryUrl (URI)

    The HTTP URL for the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    user (User)

    The user affected by the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userLogin (String)

    For actions involving two users, the actor is the initiator and the user is the affected user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userResourcePath (URI)

    The HTTP path for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userUrl (URI)

    The HTTP URL for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n RepoConfigDisableAnonymousGitAccessAuditEntry\n

    \n

    Audit log entry for a repo.config.disable_anonymous_git_access event.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    action (String!)

    The action name.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actor (AuditEntryActor)

    The user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorIp (String)

    The IP address of the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLocation (ActorLocation)

    A readable representation of the actor's location.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLogin (String)

    The username of the user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorResourcePath (URI)

    The HTTP path for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorUrl (URI)

    The HTTP URL for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (PreciseDateTime!)

    The time the action was initiated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    operationType (OperationType)

    The corresponding operation type for the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organization (Organization)

    The Organization associated with the Audit Entry.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationName (String)

    The name of the Organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationResourcePath (URI)

    The HTTP path for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationUrl (URI)

    The HTTP URL for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repository (Repository)

    The repository associated with the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repositoryName (String)

    The name of the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repositoryResourcePath (URI)

    The HTTP path for the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repositoryUrl (URI)

    The HTTP URL for the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    user (User)

    The user affected by the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userLogin (String)

    For actions involving two users, the actor is the initiator and the user is the affected user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userResourcePath (URI)

    The HTTP path for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userUrl (URI)

    The HTTP URL for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n RepoConfigDisableCollaboratorsOnlyAuditEntry\n

    \n

    Audit log entry for a repo.config.disable_collaborators_only event.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    action (String!)

    The action name.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actor (AuditEntryActor)

    The user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorIp (String)

    The IP address of the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLocation (ActorLocation)

    A readable representation of the actor's location.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLogin (String)

    The username of the user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorResourcePath (URI)

    The HTTP path for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorUrl (URI)

    The HTTP URL for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (PreciseDateTime!)

    The time the action was initiated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    operationType (OperationType)

    The corresponding operation type for the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organization (Organization)

    The Organization associated with the Audit Entry.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationName (String)

    The name of the Organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationResourcePath (URI)

    The HTTP path for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationUrl (URI)

    The HTTP URL for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repository (Repository)

    The repository associated with the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repositoryName (String)

    The name of the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repositoryResourcePath (URI)

    The HTTP path for the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repositoryUrl (URI)

    The HTTP URL for the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    user (User)

    The user affected by the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userLogin (String)

    For actions involving two users, the actor is the initiator and the user is the affected user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userResourcePath (URI)

    The HTTP path for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userUrl (URI)

    The HTTP URL for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n RepoConfigDisableContributorsOnlyAuditEntry\n

    \n

    Audit log entry for a repo.config.disable_contributors_only event.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    action (String!)

    The action name.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actor (AuditEntryActor)

    The user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorIp (String)

    The IP address of the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLocation (ActorLocation)

    A readable representation of the actor's location.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLogin (String)

    The username of the user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorResourcePath (URI)

    The HTTP path for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorUrl (URI)

    The HTTP URL for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (PreciseDateTime!)

    The time the action was initiated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    operationType (OperationType)

    The corresponding operation type for the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organization (Organization)

    The Organization associated with the Audit Entry.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationName (String)

    The name of the Organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationResourcePath (URI)

    The HTTP path for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationUrl (URI)

    The HTTP URL for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repository (Repository)

    The repository associated with the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repositoryName (String)

    The name of the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repositoryResourcePath (URI)

    The HTTP path for the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repositoryUrl (URI)

    The HTTP URL for the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    user (User)

    The user affected by the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userLogin (String)

    For actions involving two users, the actor is the initiator and the user is the affected user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userResourcePath (URI)

    The HTTP path for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userUrl (URI)

    The HTTP URL for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n RepoConfigDisableSockpuppetDisallowedAuditEntry\n

    \n

    Audit log entry for a repo.config.disable_sockpuppet_disallowed event.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    action (String!)

    The action name.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actor (AuditEntryActor)

    The user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorIp (String)

    The IP address of the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLocation (ActorLocation)

    A readable representation of the actor's location.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLogin (String)

    The username of the user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorResourcePath (URI)

    The HTTP path for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorUrl (URI)

    The HTTP URL for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (PreciseDateTime!)

    The time the action was initiated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    operationType (OperationType)

    The corresponding operation type for the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organization (Organization)

    The Organization associated with the Audit Entry.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationName (String)

    The name of the Organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationResourcePath (URI)

    The HTTP path for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationUrl (URI)

    The HTTP URL for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repository (Repository)

    The repository associated with the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repositoryName (String)

    The name of the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repositoryResourcePath (URI)

    The HTTP path for the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repositoryUrl (URI)

    The HTTP URL for the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    user (User)

    The user affected by the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userLogin (String)

    For actions involving two users, the actor is the initiator and the user is the affected user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userResourcePath (URI)

    The HTTP path for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userUrl (URI)

    The HTTP URL for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n RepoConfigEnableAnonymousGitAccessAuditEntry\n

    \n

    Audit log entry for a repo.config.enable_anonymous_git_access event.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    action (String!)

    The action name.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actor (AuditEntryActor)

    The user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorIp (String)

    The IP address of the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLocation (ActorLocation)

    A readable representation of the actor's location.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLogin (String)

    The username of the user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorResourcePath (URI)

    The HTTP path for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorUrl (URI)

    The HTTP URL for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (PreciseDateTime!)

    The time the action was initiated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    operationType (OperationType)

    The corresponding operation type for the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organization (Organization)

    The Organization associated with the Audit Entry.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationName (String)

    The name of the Organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationResourcePath (URI)

    The HTTP path for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationUrl (URI)

    The HTTP URL for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repository (Repository)

    The repository associated with the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repositoryName (String)

    The name of the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repositoryResourcePath (URI)

    The HTTP path for the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repositoryUrl (URI)

    The HTTP URL for the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    user (User)

    The user affected by the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userLogin (String)

    For actions involving two users, the actor is the initiator and the user is the affected user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userResourcePath (URI)

    The HTTP path for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userUrl (URI)

    The HTTP URL for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n RepoConfigEnableCollaboratorsOnlyAuditEntry\n

    \n

    Audit log entry for a repo.config.enable_collaborators_only event.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    action (String!)

    The action name.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actor (AuditEntryActor)

    The user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorIp (String)

    The IP address of the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLocation (ActorLocation)

    A readable representation of the actor's location.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLogin (String)

    The username of the user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorResourcePath (URI)

    The HTTP path for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorUrl (URI)

    The HTTP URL for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (PreciseDateTime!)

    The time the action was initiated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    operationType (OperationType)

    The corresponding operation type for the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organization (Organization)

    The Organization associated with the Audit Entry.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationName (String)

    The name of the Organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationResourcePath (URI)

    The HTTP path for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationUrl (URI)

    The HTTP URL for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repository (Repository)

    The repository associated with the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repositoryName (String)

    The name of the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repositoryResourcePath (URI)

    The HTTP path for the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repositoryUrl (URI)

    The HTTP URL for the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    user (User)

    The user affected by the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userLogin (String)

    For actions involving two users, the actor is the initiator and the user is the affected user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userResourcePath (URI)

    The HTTP path for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userUrl (URI)

    The HTTP URL for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n RepoConfigEnableContributorsOnlyAuditEntry\n

    \n

    Audit log entry for a repo.config.enable_contributors_only event.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    action (String!)

    The action name.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actor (AuditEntryActor)

    The user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorIp (String)

    The IP address of the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLocation (ActorLocation)

    A readable representation of the actor's location.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLogin (String)

    The username of the user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorResourcePath (URI)

    The HTTP path for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorUrl (URI)

    The HTTP URL for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (PreciseDateTime!)

    The time the action was initiated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    operationType (OperationType)

    The corresponding operation type for the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organization (Organization)

    The Organization associated with the Audit Entry.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationName (String)

    The name of the Organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationResourcePath (URI)

    The HTTP path for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationUrl (URI)

    The HTTP URL for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repository (Repository)

    The repository associated with the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repositoryName (String)

    The name of the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repositoryResourcePath (URI)

    The HTTP path for the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repositoryUrl (URI)

    The HTTP URL for the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    user (User)

    The user affected by the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userLogin (String)

    For actions involving two users, the actor is the initiator and the user is the affected user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userResourcePath (URI)

    The HTTP path for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userUrl (URI)

    The HTTP URL for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n RepoConfigEnableSockpuppetDisallowedAuditEntry\n

    \n

    Audit log entry for a repo.config.enable_sockpuppet_disallowed event.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    action (String!)

    The action name.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actor (AuditEntryActor)

    The user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorIp (String)

    The IP address of the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLocation (ActorLocation)

    A readable representation of the actor's location.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLogin (String)

    The username of the user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorResourcePath (URI)

    The HTTP path for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorUrl (URI)

    The HTTP URL for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (PreciseDateTime!)

    The time the action was initiated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    operationType (OperationType)

    The corresponding operation type for the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organization (Organization)

    The Organization associated with the Audit Entry.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationName (String)

    The name of the Organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationResourcePath (URI)

    The HTTP path for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationUrl (URI)

    The HTTP URL for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repository (Repository)

    The repository associated with the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repositoryName (String)

    The name of the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repositoryResourcePath (URI)

    The HTTP path for the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repositoryUrl (URI)

    The HTTP URL for the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    user (User)

    The user affected by the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userLogin (String)

    For actions involving two users, the actor is the initiator and the user is the affected user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userResourcePath (URI)

    The HTTP path for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userUrl (URI)

    The HTTP URL for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n RepoConfigLockAnonymousGitAccessAuditEntry\n

    \n

    Audit log entry for a repo.config.lock_anonymous_git_access event.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    action (String!)

    The action name.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actor (AuditEntryActor)

    The user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorIp (String)

    The IP address of the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLocation (ActorLocation)

    A readable representation of the actor's location.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLogin (String)

    The username of the user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorResourcePath (URI)

    The HTTP path for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorUrl (URI)

    The HTTP URL for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (PreciseDateTime!)

    The time the action was initiated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    operationType (OperationType)

    The corresponding operation type for the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organization (Organization)

    The Organization associated with the Audit Entry.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationName (String)

    The name of the Organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationResourcePath (URI)

    The HTTP path for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationUrl (URI)

    The HTTP URL for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repository (Repository)

    The repository associated with the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repositoryName (String)

    The name of the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repositoryResourcePath (URI)

    The HTTP path for the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repositoryUrl (URI)

    The HTTP URL for the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    user (User)

    The user affected by the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userLogin (String)

    For actions involving two users, the actor is the initiator and the user is the affected user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userResourcePath (URI)

    The HTTP path for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userUrl (URI)

    The HTTP URL for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n RepoConfigUnlockAnonymousGitAccessAuditEntry\n

    \n

    Audit log entry for a repo.config.unlock_anonymous_git_access event.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    action (String!)

    The action name.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actor (AuditEntryActor)

    The user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorIp (String)

    The IP address of the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLocation (ActorLocation)

    A readable representation of the actor's location.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLogin (String)

    The username of the user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorResourcePath (URI)

    The HTTP path for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorUrl (URI)

    The HTTP URL for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (PreciseDateTime!)

    The time the action was initiated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    operationType (OperationType)

    The corresponding operation type for the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organization (Organization)

    The Organization associated with the Audit Entry.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationName (String)

    The name of the Organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationResourcePath (URI)

    The HTTP path for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationUrl (URI)

    The HTTP URL for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repository (Repository)

    The repository associated with the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repositoryName (String)

    The name of the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repositoryResourcePath (URI)

    The HTTP path for the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repositoryUrl (URI)

    The HTTP URL for the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    user (User)

    The user affected by the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userLogin (String)

    For actions involving two users, the actor is the initiator and the user is the affected user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userResourcePath (URI)

    The HTTP path for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userUrl (URI)

    The HTTP URL for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n RepoCreateAuditEntry\n

    \n

    Audit log entry for a repo.create event.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    action (String!)

    The action name.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actor (AuditEntryActor)

    The user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorIp (String)

    The IP address of the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLocation (ActorLocation)

    A readable representation of the actor's location.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLogin (String)

    The username of the user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorResourcePath (URI)

    The HTTP path for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorUrl (URI)

    The HTTP URL for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (PreciseDateTime!)

    The time the action was initiated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    forkParentName (String)

    The name of the parent repository for this forked repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    forkSourceName (String)

    The name of the root repository for this network.

    \n\n\n\n\n\n\n\n\n\n\n\n

    operationType (OperationType)

    The corresponding operation type for the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organization (Organization)

    The Organization associated with the Audit Entry.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationName (String)

    The name of the Organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationResourcePath (URI)

    The HTTP path for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationUrl (URI)

    The HTTP URL for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repository (Repository)

    The repository associated with the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repositoryName (String)

    The name of the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repositoryResourcePath (URI)

    The HTTP path for the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repositoryUrl (URI)

    The HTTP URL for the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    user (User)

    The user affected by the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userLogin (String)

    For actions involving two users, the actor is the initiator and the user is the affected user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userResourcePath (URI)

    The HTTP path for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userUrl (URI)

    The HTTP URL for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    visibility (RepoCreateAuditEntryVisibility)

    The visibility of the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n RepoDestroyAuditEntry\n

    \n

    Audit log entry for a repo.destroy event.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    action (String!)

    The action name.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actor (AuditEntryActor)

    The user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorIp (String)

    The IP address of the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLocation (ActorLocation)

    A readable representation of the actor's location.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLogin (String)

    The username of the user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorResourcePath (URI)

    The HTTP path for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorUrl (URI)

    The HTTP URL for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (PreciseDateTime!)

    The time the action was initiated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    operationType (OperationType)

    The corresponding operation type for the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organization (Organization)

    The Organization associated with the Audit Entry.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationName (String)

    The name of the Organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationResourcePath (URI)

    The HTTP path for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationUrl (URI)

    The HTTP URL for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repository (Repository)

    The repository associated with the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repositoryName (String)

    The name of the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repositoryResourcePath (URI)

    The HTTP path for the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repositoryUrl (URI)

    The HTTP URL for the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    user (User)

    The user affected by the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userLogin (String)

    For actions involving two users, the actor is the initiator and the user is the affected user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userResourcePath (URI)

    The HTTP path for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userUrl (URI)

    The HTTP URL for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    visibility (RepoDestroyAuditEntryVisibility)

    The visibility of the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n RepoRemoveMemberAuditEntry\n

    \n

    Audit log entry for a repo.remove_member event.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    action (String!)

    The action name.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actor (AuditEntryActor)

    The user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorIp (String)

    The IP address of the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLocation (ActorLocation)

    A readable representation of the actor's location.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLogin (String)

    The username of the user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorResourcePath (URI)

    The HTTP path for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorUrl (URI)

    The HTTP URL for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (PreciseDateTime!)

    The time the action was initiated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    operationType (OperationType)

    The corresponding operation type for the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organization (Organization)

    The Organization associated with the Audit Entry.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationName (String)

    The name of the Organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationResourcePath (URI)

    The HTTP path for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationUrl (URI)

    The HTTP URL for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repository (Repository)

    The repository associated with the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repositoryName (String)

    The name of the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repositoryResourcePath (URI)

    The HTTP path for the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repositoryUrl (URI)

    The HTTP URL for the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    user (User)

    The user affected by the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userLogin (String)

    For actions involving two users, the actor is the initiator and the user is the affected user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userResourcePath (URI)

    The HTTP path for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userUrl (URI)

    The HTTP URL for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    visibility (RepoRemoveMemberAuditEntryVisibility)

    The visibility of the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n RepoRemoveTopicAuditEntry\n

    \n

    Audit log entry for a repo.remove_topic event.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    action (String!)

    The action name.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actor (AuditEntryActor)

    The user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorIp (String)

    The IP address of the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLocation (ActorLocation)

    A readable representation of the actor's location.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLogin (String)

    The username of the user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorResourcePath (URI)

    The HTTP path for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorUrl (URI)

    The HTTP URL for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (PreciseDateTime!)

    The time the action was initiated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    operationType (OperationType)

    The corresponding operation type for the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organization (Organization)

    The Organization associated with the Audit Entry.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationName (String)

    The name of the Organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationResourcePath (URI)

    The HTTP path for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationUrl (URI)

    The HTTP URL for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repository (Repository)

    The repository associated with the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repositoryName (String)

    The name of the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repositoryResourcePath (URI)

    The HTTP path for the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repositoryUrl (URI)

    The HTTP URL for the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    topic (Topic)

    The name of the topic added to the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    topicName (String)

    The name of the topic added to the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    user (User)

    The user affected by the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userLogin (String)

    For actions involving two users, the actor is the initiator and the user is the affected user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userResourcePath (URI)

    The HTTP path for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userUrl (URI)

    The HTTP URL for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n Repository\n

    \n

    A repository contains the content for a project.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    assignableUsers (UserConnection!)

    A list of users that can be assigned to issues in this repository.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    query (String)

    \n

    Filters users with query on user name and login.

    \n\n
    \n\n
    \n\n\n

    branchProtectionRules (BranchProtectionRuleConnection!)

    A list of branch protection rules for this repository.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n\n\n

    codeOfConduct (CodeOfConduct)

    Returns the code of conduct for this repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    collaborators (RepositoryCollaboratorConnection)

    A list of collaborators associated with the repository.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    affiliation (CollaboratorAffiliation)

    \n

    Collaborators affiliation level with a repository.

    \n\n
    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    query (String)

    \n

    Filters users with query on user name and login.

    \n\n
    \n\n
    \n\n\n

    commitComments (CommitCommentConnection!)

    A list of commit comments associated with the repository.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n\n\n

    contactLinks ([RepositoryContactLink!])

    Returns a list of contact links associated to the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    databaseId (Int)

    Identifies the primary key from the database.

    \n\n\n\n\n\n\n\n\n\n\n\n

    defaultBranchRef (Ref)

    The Ref associated with the repository's default branch.

    \n\n\n\n\n\n\n\n\n\n\n\n

    deleteBranchOnMerge (Boolean!)

    Whether or not branches are automatically deleted when merged in this repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    deployKeys (DeployKeyConnection!)

    A list of deploy keys that are on this repository.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n\n\n

    deployments (DeploymentConnection!)

    Deployments associated with the repository.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    environments ([String!])

    \n

    Environments to list deployments for.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (DeploymentOrder)

    \n

    Ordering options for deployments returned from the connection.

    \n\n
    \n\n
    \n\n\n

    description (String)

    The description of the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    descriptionHTML (HTML!)

    The description of the repository rendered to HTML.

    \n\n\n\n\n\n\n\n\n\n\n\n

    diskUsage (Int)

    The number of kilobytes this repository occupies on disk.

    \n\n\n\n\n\n\n\n\n\n\n\n

    forkCount (Int!)

    Returns how many forks there are of this repository in the whole network.

    \n\n\n\n\n\n\n\n\n\n\n\n

    forks (RepositoryConnection!)

    A list of direct forked repositories.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    affiliations ([RepositoryAffiliation])

    \n

    Array of viewer's affiliation options for repositories returned from the\nconnection. For example, OWNER will include only repositories that the\ncurrent viewer owns.

    \n\n
    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    isLocked (Boolean)

    \n

    If non-null, filters repositories according to whether they have been locked.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (RepositoryOrder)

    \n

    Ordering options for repositories returned from the connection.

    \n\n
    \n\n
    \n

    ownerAffiliations ([RepositoryAffiliation])

    \n

    Array of owner's affiliation options for repositories returned from the\nconnection. For example, OWNER will include only repositories that the\norganization or user being viewed owns.

    \n\n
    \n\n
    \n

    privacy (RepositoryPrivacy)

    \n

    If non-null, filters repositories according to privacy.

    \n\n
    \n\n
    \n\n\n

    hasAnonymousAccessEnabled (Boolean!)

    Indicates if the repository has anonymous Git read access feature enabled.

    \n\n\n\n\n\n\n\n\n\n\n\n

    hasIssuesEnabled (Boolean!)

    Indicates if the repository has issues feature enabled.

    \n\n\n\n\n\n\n\n\n\n\n\n

    hasProjectsEnabled (Boolean!)

    Indicates if the repository has the Projects feature enabled.

    \n\n\n\n\n\n\n\n\n\n\n\n

    hasWikiEnabled (Boolean!)

    Indicates if the repository has wiki feature enabled.

    \n\n\n\n\n\n\n\n\n\n\n\n

    homepageUrl (URI)

    The repository's URL.

    \n\n\n\n\n\n\n\n\n\n\n\n

    isArchived (Boolean!)

    Indicates if the repository is unmaintained.

    \n\n\n\n\n\n\n\n\n\n\n\n

    isBlankIssuesEnabled (Boolean!)

    Returns true if blank issue creation is allowed.

    \n\n\n\n\n\n\n\n\n\n\n\n

    isDisabled (Boolean!)

    Returns whether or not this repository disabled.

    \n\n\n\n\n\n\n\n\n\n\n\n

    isEmpty (Boolean!)

    Returns whether or not this repository is empty.

    \n\n\n\n\n\n\n\n\n\n\n\n

    isFork (Boolean!)

    Identifies if the repository is a fork.

    \n\n\n\n\n\n\n\n\n\n\n\n

    isInOrganization (Boolean!)

    Indicates if a repository is either owned by an organization, or is a private fork of an organization repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    isLocked (Boolean!)

    Indicates if the repository has been locked or not.

    \n\n\n\n\n\n\n\n\n\n\n\n

    isMirror (Boolean!)

    Identifies if the repository is a mirror.

    \n\n\n\n\n\n\n\n\n\n\n\n

    isPrivate (Boolean!)

    Identifies if the repository is private.

    \n\n\n\n\n\n\n\n\n\n\n\n

    isSecurityPolicyEnabled (Boolean)

    Returns true if this repository has a security policy.

    \n\n\n\n\n\n\n\n\n\n\n\n

    isTemplate (Boolean!)

    Identifies if the repository is a template that can be used to generate new repositories.

    \n\n\n\n\n\n\n\n\n\n\n\n

    isUserConfigurationRepository (Boolean!)

    Is this repository a user configuration repository?.

    \n\n\n\n\n\n\n\n\n\n\n\n

    issue (Issue)

    Returns a single issue from the current repository by number.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    number (Int!)

    \n

    The number for the issue to be returned.

    \n\n
    \n\n
    \n\n\n

    issueOrPullRequest (IssueOrPullRequest)

    Returns a single issue-like object from the current repository by number.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    number (Int!)

    \n

    The number for the issue to be returned.

    \n\n
    \n\n
    \n\n\n

    issueTemplates ([IssueTemplate!])

    Returns a list of issue templates associated to the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    issues (IssueConnection!)

    A list of issues that have been opened in the repository.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    filterBy (IssueFilters)

    \n

    Filtering options for issues returned from the connection.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    labels ([String!])

    \n

    A list of label names to filter the pull requests by.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (IssueOrder)

    \n

    Ordering options for issues returned from the connection.

    \n\n
    \n\n
    \n

    states ([IssueState!])

    \n

    A list of states to filter the issues by.

    \n\n
    \n\n
    \n\n\n

    label (Label)

    Returns a single label by name.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    name (String!)

    \n

    Label name.

    \n\n
    \n\n
    \n\n\n

    labels (LabelConnection)

    A list of labels associated with the repository.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (LabelOrder)

    \n

    Ordering options for labels returned from the connection.

    \n\n
    \n\n
    \n

    query (String)

    \n

    If provided, searches labels by name and description.

    \n\n
    \n\n
    \n\n\n

    languages (LanguageConnection)

    A list containing a breakdown of the language composition of the repository.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (LanguageOrder)

    \n

    Order for connection.

    \n\n
    \n\n
    \n\n\n

    latestRelease (Release)

    Get the latest release for the repository if one exists.

    \n\n\n\n\n\n\n\n\n\n\n\n

    licenseInfo (License)

    The license associated with the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    lockReason (RepositoryLockReason)

    The reason the repository has been locked.

    \n\n\n\n\n\n\n\n\n\n\n\n

    mentionableUsers (UserConnection!)

    A list of Users that can be mentioned in the context of the repository.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    query (String)

    \n

    Filters users with query on user name and login.

    \n\n
    \n\n
    \n\n\n

    mergeCommitAllowed (Boolean!)

    Whether or not PRs are merged with a merge commit on this repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    milestone (Milestone)

    Returns a single milestone from the current repository by number.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    number (Int!)

    \n

    The number for the milestone to be returned.

    \n\n
    \n\n
    \n\n\n

    milestones (MilestoneConnection)

    A list of milestones associated with the repository.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (MilestoneOrder)

    \n

    Ordering options for milestones.

    \n\n
    \n\n
    \n

    query (String)

    \n

    Filters milestones with a query on the title.

    \n\n
    \n\n
    \n

    states ([MilestoneState!])

    \n

    Filter by the state of the milestones.

    \n\n
    \n\n
    \n\n\n

    mirrorUrl (URI)

    The repository's original mirror URL.

    \n\n\n\n\n\n\n\n\n\n\n\n

    name (String!)

    The name of the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nameWithOwner (String!)

    The repository's name with owner.

    \n\n\n\n\n\n\n\n\n\n\n\n

    object (GitObject)

    A Git object in the repository.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    expression (String)

    \n

    A Git revision expression suitable for rev-parse.

    \n\n
    \n\n
    \n

    oid (GitObjectID)

    \n

    The Git object ID.

    \n\n
    \n\n
    \n\n\n

    openGraphImageUrl (URI!)

    The image used to represent this repository in Open Graph data.

    \n\n\n\n\n\n\n\n\n\n\n\n

    owner (RepositoryOwner!)

    The User owner of the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    parent (Repository)

    The repository parent, if this is a fork.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pinnedIssues (PinnedIssueConnection)

    A list of pinned issues for this repository.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n\n\n

    primaryLanguage (Language)

    The primary language of the repository's code.

    \n\n\n\n\n\n\n\n\n\n\n\n

    project (Project)

    Find project by number.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    number (Int!)

    \n

    The project number to find.

    \n\n
    \n\n
    \n\n\n

    projects (ProjectConnection!)

    A list of projects under the owner.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (ProjectOrder)

    \n

    Ordering options for projects returned from the connection.

    \n\n
    \n\n
    \n

    search (String)

    \n

    Query to search projects by, currently only searching by name.

    \n\n
    \n\n
    \n

    states ([ProjectState!])

    \n

    A list of states to filter the projects by.

    \n\n
    \n\n
    \n\n\n

    projectsResourcePath (URI!)

    The HTTP path listing the repository's projects.

    \n\n\n\n\n\n\n\n\n\n\n\n

    projectsUrl (URI!)

    The HTTP URL listing the repository's projects.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pullRequest (PullRequest)

    Returns a single pull request from the current repository by number.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    number (Int!)

    \n

    The number for the pull request to be returned.

    \n\n
    \n\n
    \n\n\n

    pullRequests (PullRequestConnection!)

    A list of pull requests that have been opened in the repository.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    baseRefName (String)

    \n

    The base ref name to filter the pull requests by.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    headRefName (String)

    \n

    The head ref name to filter the pull requests by.

    \n\n
    \n\n
    \n

    labels ([String!])

    \n

    A list of label names to filter the pull requests by.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (IssueOrder)

    \n

    Ordering options for pull requests returned from the connection.

    \n\n
    \n\n
    \n

    states ([PullRequestState!])

    \n

    A list of states to filter the pull requests by.

    \n\n
    \n\n
    \n\n\n

    pushedAt (DateTime)

    Identifies when the repository was last pushed to.

    \n\n\n\n\n\n\n\n\n\n\n\n

    rebaseMergeAllowed (Boolean!)

    Whether or not rebase-merging is enabled on this repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    ref (Ref)

    Fetch a given ref from the repository.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    qualifiedName (String!)

    \n

    The ref to retrieve. Fully qualified matches are checked in order\n(refs/heads/master) before falling back onto checks for short name matches (master).

    \n\n
    \n\n
    \n\n\n

    refs (RefConnection)

    Fetch a list of refs from the repository.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    direction (OrderDirection)

    \n

    DEPRECATED: use orderBy. The ordering direction.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (RefOrder)

    \n

    Ordering options for refs returned from the connection.

    \n\n
    \n\n
    \n

    query (String)

    \n

    Filters refs with query on name.

    \n\n
    \n\n
    \n

    refPrefix (String!)

    \n

    A ref name prefix like refs/heads/, refs/tags/, etc.

    \n\n
    \n\n
    \n\n\n

    release (Release)

    Lookup a single release given various criteria.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    tagName (String!)

    \n

    The name of the Tag the Release was created from.

    \n\n
    \n\n
    \n\n\n

    releases (ReleaseConnection!)

    List of releases which are dependent on this repository.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (ReleaseOrder)

    \n

    Order for connection.

    \n\n
    \n\n
    \n\n\n

    repositoryTopics (RepositoryTopicConnection!)

    A list of applied repository-topic associations for this repository.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n\n\n

    resourcePath (URI!)

    The HTTP path for this repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    securityPolicyUrl (URI)

    The security policy URL.

    \n\n\n\n\n\n\n\n\n\n\n\n

    shortDescriptionHTML (HTML!)

    A description of the repository, rendered to HTML without any links in it.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    limit (Int)

    \n

    How many characters to return.

    \n

    The default value is 200.

    \n
    \n\n
    \n\n\n

    squashMergeAllowed (Boolean!)

    Whether or not squash-merging is enabled on this repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    sshUrl (GitSSHRemote!)

    The SSH URL to clone this repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    stargazerCount (Int!)

    Returns a count of how many stargazers there are on this object.

    \n\n\n\n\n\n\n\n\n\n\n\n

    stargazers (StargazerConnection!)

    A list of users who have starred this starrable.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (StarOrder)

    \n

    Order for connection.

    \n\n
    \n\n
    \n\n\n

    submodules (SubmoduleConnection!)

    Returns a list of all submodules in this repository parsed from the\n.gitmodules file as of the default branch's HEAD commit.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n\n\n

    tempCloneToken (String)

    Temporary authentication token for cloning this repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    templateRepository (Repository)

    The repository from which this repository was generated, if any.

    \n\n\n\n\n\n\n\n\n\n\n\n

    updatedAt (DateTime!)

    Identifies the date and time when the object was last updated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    url (URI!)

    The HTTP URL for this repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    usesCustomOpenGraphImage (Boolean!)

    Whether this repository has a custom image to use with Open Graph as opposed to being represented by the owner's avatar.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerCanAdminister (Boolean!)

    Indicates whether the viewer has admin permissions on this repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerCanCreateProjects (Boolean!)

    Can the current viewer create new projects on this owner.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerCanSubscribe (Boolean!)

    Check if the viewer is able to change their subscription status for the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerCanUpdateTopics (Boolean!)

    Indicates whether the viewer can update the topics of this repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerDefaultCommitEmail (String)

    The last commit email for the viewer.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerDefaultMergeMethod (PullRequestMergeMethod!)

    The last used merge method by the viewer or the default for the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerHasStarred (Boolean!)

    Returns a boolean indicating whether the viewing user has starred this starrable.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerPermission (RepositoryPermission)

    The users permission level on the repository. Will return null if authenticated as an GitHub App.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerPossibleCommitEmails ([String!])

    A list of emails this viewer can commit with.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerSubscription (SubscriptionState)

    Identifies if the viewer is watching, not watching, or ignoring the subscribable entity.

    \n\n\n\n\n\n\n\n\n\n\n\n

    vulnerabilityAlerts (RepositoryVulnerabilityAlertConnection)

    A list of vulnerability alerts that are on this repository.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n\n\n

    watchers (UserConnection!)

    A list of users watching the repository.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n RepositoryCollaboratorConnection\n

    \n

    The connection type for User.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([RepositoryCollaboratorEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([User])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n RepositoryCollaboratorEdge\n

    \n

    Represents a user who is a collaborator of a repository.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    permission (RepositoryPermission!)

    The permission the user has on the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    permissionSources ([PermissionSource!])

    A list of sources for the user's access to the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n RepositoryConnection\n

    \n

    A list of repositories owned by the subject.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([RepositoryEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([Repository])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalDiskUsage (Int!)

    The total size in kilobytes of all repositories in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n RepositoryContactLink\n

    \n

    A repository contact link.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    about (String!)

    The contact link purpose.

    \n\n\n\n\n\n\n\n\n\n\n\n

    name (String!)

    The contact link name.

    \n\n\n\n\n\n\n\n\n\n\n\n

    url (URI!)

    The contact link URL.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n RepositoryEdge\n

    \n

    An edge in a connection.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (Repository)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n RepositoryInvitation\n

    \n

    An invitation for a user to be added to a repository.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    email (String)

    The email address that received the invitation.

    \n\n\n\n\n\n\n\n\n\n\n\n

    invitee (User)

    The user who received the invitation.

    \n\n\n\n\n\n\n\n\n\n\n\n

    inviter (User!)

    The user who created the invitation.

    \n\n\n\n\n\n\n\n\n\n\n\n

    permalink (URI!)

    The permalink for this repository invitation.

    \n\n\n\n\n\n\n\n\n\n\n\n

    permission (RepositoryPermission!)

    The permission granted on this repository by this invitation.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repository (RepositoryInfo)

    The Repository the user is invited to.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n RepositoryInvitationConnection\n

    \n

    The connection type for RepositoryInvitation.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([RepositoryInvitationEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([RepositoryInvitation])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n RepositoryInvitationEdge\n

    \n

    An edge in a connection.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (RepositoryInvitation)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n RepositoryTopic\n

    \n

    A repository-topic connects a repository to a topic.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    resourcePath (URI!)

    The HTTP path for this repository-topic.

    \n\n\n\n\n\n\n\n\n\n\n\n

    topic (Topic!)

    The topic.

    \n\n\n\n\n\n\n\n\n\n\n\n

    url (URI!)

    The HTTP URL for this repository-topic.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n RepositoryTopicConnection\n

    \n

    The connection type for RepositoryTopic.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([RepositoryTopicEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([RepositoryTopic])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n RepositoryTopicEdge\n

    \n

    An edge in a connection.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (RepositoryTopic)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n RepositoryVisibilityChangeDisableAuditEntry\n

    \n

    Audit log entry for a repository_visibility_change.disable event.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    action (String!)

    The action name.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actor (AuditEntryActor)

    The user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorIp (String)

    The IP address of the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLocation (ActorLocation)

    A readable representation of the actor's location.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLogin (String)

    The username of the user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorResourcePath (URI)

    The HTTP path for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorUrl (URI)

    The HTTP URL for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (PreciseDateTime!)

    The time the action was initiated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    enterpriseResourcePath (URI)

    The HTTP path for this enterprise.

    \n\n\n\n\n\n\n\n\n\n\n\n

    enterpriseSlug (String)

    The slug of the enterprise.

    \n\n\n\n\n\n\n\n\n\n\n\n

    enterpriseUrl (URI)

    The HTTP URL for this enterprise.

    \n\n\n\n\n\n\n\n\n\n\n\n

    operationType (OperationType)

    The corresponding operation type for the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organization (Organization)

    The Organization associated with the Audit Entry.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationName (String)

    The name of the Organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationResourcePath (URI)

    The HTTP path for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationUrl (URI)

    The HTTP URL for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    user (User)

    The user affected by the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userLogin (String)

    For actions involving two users, the actor is the initiator and the user is the affected user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userResourcePath (URI)

    The HTTP path for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userUrl (URI)

    The HTTP URL for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n RepositoryVisibilityChangeEnableAuditEntry\n

    \n

    Audit log entry for a repository_visibility_change.enable event.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    action (String!)

    The action name.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actor (AuditEntryActor)

    The user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorIp (String)

    The IP address of the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLocation (ActorLocation)

    A readable representation of the actor's location.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLogin (String)

    The username of the user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorResourcePath (URI)

    The HTTP path for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorUrl (URI)

    The HTTP URL for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (PreciseDateTime!)

    The time the action was initiated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    enterpriseResourcePath (URI)

    The HTTP path for this enterprise.

    \n\n\n\n\n\n\n\n\n\n\n\n

    enterpriseSlug (String)

    The slug of the enterprise.

    \n\n\n\n\n\n\n\n\n\n\n\n

    enterpriseUrl (URI)

    The HTTP URL for this enterprise.

    \n\n\n\n\n\n\n\n\n\n\n\n

    operationType (OperationType)

    The corresponding operation type for the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organization (Organization)

    The Organization associated with the Audit Entry.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationName (String)

    The name of the Organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationResourcePath (URI)

    The HTTP path for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationUrl (URI)

    The HTTP URL for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    user (User)

    The user affected by the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userLogin (String)

    For actions involving two users, the actor is the initiator and the user is the affected user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userResourcePath (URI)

    The HTTP path for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userUrl (URI)

    The HTTP URL for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n RepositoryVulnerabilityAlert\n

    \n

    A alert for a repository with an affected vulnerability.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    createdAt (DateTime!)

    When was the alert created?.

    \n\n\n\n\n\n\n\n\n\n\n\n

    dismissReason (String)

    The reason the alert was dismissed.

    \n\n\n\n\n\n\n\n\n\n\n\n

    dismissedAt (DateTime)

    When was the alert dismissed?.

    \n\n\n\n\n\n\n\n\n\n\n\n

    dismisser (User)

    The user who dismissed the alert.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repository (Repository!)

    The associated repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    securityAdvisory (SecurityAdvisory)

    The associated security advisory.

    \n\n\n\n\n\n\n\n\n\n\n\n

    securityVulnerability (SecurityVulnerability)

    The associated security vulnerability.

    \n\n\n\n\n\n\n\n\n\n\n\n

    vulnerableManifestFilename (String!)

    The vulnerable manifest filename.

    \n\n\n\n\n\n\n\n\n\n\n\n

    vulnerableManifestPath (String!)

    The vulnerable manifest path.

    \n\n\n\n\n\n\n\n\n\n\n\n

    vulnerableRequirements (String)

    The vulnerable requirements.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n RepositoryVulnerabilityAlertConnection\n

    \n

    The connection type for RepositoryVulnerabilityAlert.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([RepositoryVulnerabilityAlertEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([RepositoryVulnerabilityAlert])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n RepositoryVulnerabilityAlertEdge\n

    \n

    An edge in a connection.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (RepositoryVulnerabilityAlert)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n RestrictedContribution\n

    \n

    Represents a private contribution a user made on GitHub.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    isRestricted (Boolean!)

    Whether this contribution is associated with a record you do not have access to. For\nexample, your own 'first issue' contribution may have been made on a repository you can no\nlonger access.

    \n\n\n\n\n\n\n\n\n\n\n\n

    occurredAt (DateTime!)

    When this contribution was made.

    \n\n\n\n\n\n\n\n\n\n\n\n

    resourcePath (URI!)

    The HTTP path for this contribution.

    \n\n\n\n\n\n\n\n\n\n\n\n

    url (URI!)

    The HTTP URL for this contribution.

    \n\n\n\n\n\n\n\n\n\n\n\n

    user (User!)

    The user who made this contribution.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n ReviewDismissalAllowance\n

    \n

    A team or user who has the ability to dismiss a review on a protected branch.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    actor (ReviewDismissalAllowanceActor)

    The actor that can dismiss.

    \n\n\n\n\n\n\n\n\n\n\n\n

    branchProtectionRule (BranchProtectionRule)

    Identifies the branch protection rule associated with the allowed user or team.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n ReviewDismissalAllowanceConnection\n

    \n

    The connection type for ReviewDismissalAllowance.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([ReviewDismissalAllowanceEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([ReviewDismissalAllowance])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n ReviewDismissalAllowanceEdge\n

    \n

    An edge in a connection.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (ReviewDismissalAllowance)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n ReviewDismissedEvent\n

    \n

    Represents areview_dismissedevent on a given issue or pull request.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    actor (Actor)

    Identifies the actor who performed the event.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    databaseId (Int)

    Identifies the primary key from the database.

    \n\n\n\n\n\n\n\n\n\n\n\n

    dismissalMessage (String)

    Identifies the optional message associated with thereview_dismissedevent.

    \n\n\n\n\n\n\n\n\n\n\n\n

    dismissalMessageHTML (String)

    Identifies the optional message associated with the event, rendered to HTML.

    \n\n\n\n\n\n\n\n\n\n\n\n

    previousReviewState (PullRequestReviewState!)

    Identifies the previous state of the review with thereview_dismissedevent.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pullRequest (PullRequest!)

    PullRequest referenced by event.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pullRequestCommit (PullRequestCommit)

    Identifies the commit which caused the review to become stale.

    \n\n\n\n\n\n\n\n\n\n\n\n

    resourcePath (URI!)

    The HTTP path for this review dismissed event.

    \n\n\n\n\n\n\n\n\n\n\n\n

    review (PullRequestReview)

    Identifies the review associated with thereview_dismissedevent.

    \n\n\n\n\n\n\n\n\n\n\n\n

    url (URI!)

    The HTTP URL for this review dismissed event.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n ReviewRequest\n

    \n

    A request for a user to review a pull request.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    asCodeOwner (Boolean!)

    Whether this request was created for a code owner.

    \n\n\n\n\n\n\n\n\n\n\n\n

    databaseId (Int)

    Identifies the primary key from the database.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pullRequest (PullRequest!)

    Identifies the pull request associated with this review request.

    \n\n\n\n\n\n\n\n\n\n\n\n

    requestedReviewer (RequestedReviewer)

    The reviewer that is requested.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n ReviewRequestConnection\n

    \n

    The connection type for ReviewRequest.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([ReviewRequestEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([ReviewRequest])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n ReviewRequestEdge\n

    \n

    An edge in a connection.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (ReviewRequest)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n ReviewRequestRemovedEvent\n

    \n

    Represents anreview_request_removedevent on a given pull request.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    actor (Actor)

    Identifies the actor who performed the event.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pullRequest (PullRequest!)

    PullRequest referenced by event.

    \n\n\n\n\n\n\n\n\n\n\n\n

    requestedReviewer (RequestedReviewer)

    Identifies the reviewer whose review request was removed.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n ReviewRequestedEvent\n

    \n

    Represents anreview_requestedevent on a given pull request.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    actor (Actor)

    Identifies the actor who performed the event.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pullRequest (PullRequest!)

    PullRequest referenced by event.

    \n\n\n\n\n\n\n\n\n\n\n\n

    requestedReviewer (RequestedReviewer)

    Identifies the reviewer whose review was requested.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n ReviewStatusHovercardContext\n

    \n

    A hovercard context with a message describing the current code review state of the pull\nrequest.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    message (String!)

    A string describing this context.

    \n\n\n\n\n\n\n\n\n\n\n\n

    octicon (String!)

    An octicon to accompany this context.

    \n\n\n\n\n\n\n\n\n\n\n\n

    reviewDecision (PullRequestReviewDecision)

    The current status of the pull request with respect to code review.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n SavedReply\n

    \n

    A Saved Reply is text a user can use to reply quickly.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    body (String!)

    The body of the saved reply.

    \n\n\n\n\n\n\n\n\n\n\n\n

    bodyHTML (HTML!)

    The saved reply body rendered to HTML.

    \n\n\n\n\n\n\n\n\n\n\n\n

    databaseId (Int)

    Identifies the primary key from the database.

    \n\n\n\n\n\n\n\n\n\n\n\n

    title (String!)

    The title of the saved reply.

    \n\n\n\n\n\n\n\n\n\n\n\n

    user (Actor)

    The user that saved this reply.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n SavedReplyConnection\n

    \n

    The connection type for SavedReply.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([SavedReplyEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([SavedReply])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n SavedReplyEdge\n

    \n

    An edge in a connection.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (SavedReply)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n SearchResultItemConnection\n

    \n

    A list of results that matched against a search query.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    codeCount (Int!)

    The number of pieces of code that matched the search query.

    \n\n\n\n\n\n\n\n\n\n\n\n

    edges ([SearchResultItemEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    issueCount (Int!)

    The number of issues that matched the search query.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([SearchResultItem])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repositoryCount (Int!)

    The number of repositories that matched the search query.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userCount (Int!)

    The number of users that matched the search query.

    \n\n\n\n\n\n\n\n\n\n\n\n

    wikiCount (Int!)

    The number of wiki pages that matched the search query.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n SearchResultItemEdge\n

    \n

    An edge in a connection.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (SearchResultItem)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n

    textMatches ([TextMatch])

    Text matches on the result found.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n SecurityAdvisory\n

    \n

    A GitHub Security Advisory.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cvss (CVSS!)

    The CVSS associated with this advisory.

    \n\n\n\n\n\n\n\n\n\n\n\n

    cwes (CWEConnection!)

    CWEs associated with this Advisory.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n\n\n

    databaseId (Int)

    Identifies the primary key from the database.

    \n\n\n\n\n\n\n\n\n\n\n\n

    description (String!)

    This is a long plaintext description of the advisory.

    \n\n\n\n\n\n\n\n\n\n\n\n

    ghsaId (String!)

    The GitHub Security Advisory ID.

    \n\n\n\n\n\n\n\n\n\n\n\n

    identifiers ([SecurityAdvisoryIdentifier!]!)

    A list of identifiers for this advisory.

    \n\n\n\n\n\n\n\n\n\n\n\n

    notificationsPermalink (URI)

    The permalink for the advisory's dependabot alerts page.

    \n\n\n\n\n\n\n\n\n\n\n\n

    origin (String!)

    The organization that originated the advisory.

    \n\n\n\n\n\n\n\n\n\n\n\n

    permalink (URI)

    The permalink for the advisory.

    \n\n\n\n\n\n\n\n\n\n\n\n

    publishedAt (DateTime!)

    When the advisory was published.

    \n\n\n\n\n\n\n\n\n\n\n\n

    references ([SecurityAdvisoryReference!]!)

    A list of references for this advisory.

    \n\n\n\n\n\n\n\n\n\n\n\n

    severity (SecurityAdvisorySeverity!)

    The severity of the advisory.

    \n\n\n\n\n\n\n\n\n\n\n\n

    summary (String!)

    A short plaintext summary of the advisory.

    \n\n\n\n\n\n\n\n\n\n\n\n

    updatedAt (DateTime!)

    When the advisory was last updated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    vulnerabilities (SecurityVulnerabilityConnection!)

    Vulnerabilities associated with this Advisory.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    ecosystem (SecurityAdvisoryEcosystem)

    \n

    An ecosystem to filter vulnerabilities by.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    package (String)

    \n

    A package name to filter vulnerabilities by.

    \n\n
    \n\n
    \n

    severities ([SecurityAdvisorySeverity!])

    \n

    A list of severities to filter vulnerabilities by.

    \n\n
    \n\n
    \n\n\n

    withdrawnAt (DateTime)

    When the advisory was withdrawn, if it has been withdrawn.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n SecurityAdvisoryConnection\n

    \n

    The connection type for SecurityAdvisory.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([SecurityAdvisoryEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([SecurityAdvisory])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n SecurityAdvisoryEdge\n

    \n

    An edge in a connection.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (SecurityAdvisory)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n SecurityAdvisoryIdentifier\n

    \n

    A GitHub Security Advisory Identifier.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    type (String!)

    The identifier type, e.g. GHSA, CVE.

    \n\n\n\n\n\n\n\n\n\n\n\n

    value (String!)

    The identifier.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n SecurityAdvisoryPackage\n

    \n

    An individual package.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    ecosystem (SecurityAdvisoryEcosystem!)

    The ecosystem the package belongs to, e.g. RUBYGEMS, NPM.

    \n\n\n\n\n\n\n\n\n\n\n\n

    name (String!)

    The package name.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n SecurityAdvisoryPackageVersion\n

    \n

    An individual package version.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    identifier (String!)

    The package name or version.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n SecurityAdvisoryReference\n

    \n

    A GitHub Security Advisory Reference.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    url (URI!)

    A publicly accessible reference.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n SecurityVulnerability\n

    \n

    An individual vulnerability within an Advisory.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    advisory (SecurityAdvisory!)

    The Advisory associated with this Vulnerability.

    \n\n\n\n\n\n\n\n\n\n\n\n

    firstPatchedVersion (SecurityAdvisoryPackageVersion)

    The first version containing a fix for the vulnerability.

    \n\n\n\n\n\n\n\n\n\n\n\n

    package (SecurityAdvisoryPackage!)

    A description of the vulnerable package.

    \n\n\n\n\n\n\n\n\n\n\n\n

    severity (SecurityAdvisorySeverity!)

    The severity of the vulnerability within this package.

    \n\n\n\n\n\n\n\n\n\n\n\n

    updatedAt (DateTime!)

    When the vulnerability was last updated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    vulnerableVersionRange (String!)

    A string that describes the vulnerable package versions.\nThis string follows a basic syntax with a few forms.

    \n
      \n
    • = 0.2.0 denotes a single vulnerable version.
    • \n
    • <= 1.0.8 denotes a version range up to and including the specified version
    • \n
    • < 0.1.11 denotes a version range up to, but excluding, the specified version
    • \n
    • >= 4.3.0, < 4.3.5 denotes a version range with a known minimum and maximum version.
    • \n
    • >= 0.0.1 denotes a version range with a known minimum, but no known maximum.
    • \n

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n SecurityVulnerabilityConnection\n

    \n

    The connection type for SecurityVulnerability.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([SecurityVulnerabilityEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([SecurityVulnerability])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n SecurityVulnerabilityEdge\n

    \n

    An edge in a connection.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (SecurityVulnerability)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n SmimeSignature\n

    \n

    Represents an S/MIME signature on a Commit or Tag.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    email (String!)

    Email used to sign this object.

    \n\n\n\n\n\n\n\n\n\n\n\n

    isValid (Boolean!)

    True if the signature is valid and verified by GitHub.

    \n\n\n\n\n\n\n\n\n\n\n\n

    payload (String!)

    Payload for GPG signing object. Raw ODB object without the signature header.

    \n\n\n\n\n\n\n\n\n\n\n\n

    signature (String!)

    ASCII-armored signature header from object.

    \n\n\n\n\n\n\n\n\n\n\n\n

    signer (User)

    GitHub user corresponding to the email signing this commit.

    \n\n\n\n\n\n\n\n\n\n\n\n

    state (GitSignatureState!)

    The state of this signature. VALID if signature is valid and verified by\nGitHub, otherwise represents reason why signature is considered invalid.

    \n\n\n\n\n\n\n\n\n\n\n\n

    wasSignedByGitHub (Boolean!)

    True if the signature was made with GitHub's signing key.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n Sponsorship\n

    \n

    A sponsorship relationship between a sponsor and a maintainer.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    maintainer (User!)

    The entity that is being sponsored.

    \n\n\n\n\n\n\n
    \n

    Deprecation notice

    \n

    maintainer is deprecated.

    Sponsorship.maintainer will be removed. Use Sponsorship.sponsorable instead. Removal on 2020-04-01 UTC.

    \n
    \n\n\n\n\n\n\n

    privacyLevel (SponsorshipPrivacy!)

    The privacy level for this sponsorship.

    \n\n\n\n\n\n\n\n\n\n\n\n

    sponsor (User)

    The user that is sponsoring. Returns null if the sponsorship is private or if sponsor is not a user.

    \n\n\n\n\n\n\n
    \n

    Deprecation notice

    \n

    sponsor is deprecated.

    Sponsorship.sponsor will be removed. Use Sponsorship.sponsorEntity instead. Removal on 2020-10-01 UTC.

    \n
    \n\n\n\n\n\n\n

    sponsorEntity (Sponsor)

    The user or organization that is sponsoring, if you have permission to view them.

    \n\n\n\n\n\n\n\n\n\n\n\n

    sponsorable (Sponsorable!)

    The entity that is being sponsored.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n SponsorshipConnection\n

    \n

    The connection type for Sponsorship.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([SponsorshipEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([Sponsorship])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n SponsorshipEdge\n

    \n

    An edge in a connection.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (Sponsorship)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n StargazerConnection\n

    \n

    The connection type for User.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([StargazerEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([User])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n StargazerEdge\n

    \n

    Represents a user that's starred a repository.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    starredAt (DateTime!)

    Identifies when the item was starred.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n StarredRepositoryConnection\n

    \n

    The connection type for Repository.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([StarredRepositoryEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    isOverLimit (Boolean!)

    Is the list of stars for this user truncated? This is true for users that have many stars.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([Repository])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n StarredRepositoryEdge\n

    \n

    Represents a starred repository.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    starredAt (DateTime!)

    Identifies when the item was starred.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n Status\n

    \n

    Represents a commit status.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    combinedContexts (StatusCheckRollupContextConnection!)

    A list of status contexts and check runs for this commit.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n\n\n

    commit (Commit)

    The commit this status is attached to.

    \n\n\n\n\n\n\n\n\n\n\n\n

    context (StatusContext)

    Looks up an individual status context by context name.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    name (String!)

    \n

    The context name.

    \n\n
    \n\n
    \n\n\n

    contexts ([StatusContext!]!)

    The individual status contexts for this commit.

    \n\n\n\n\n\n\n\n\n\n\n\n

    state (StatusState!)

    The combined commit status.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n StatusCheckRollup\n

    \n

    Represents the rollup for both the check runs and status for a commit.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    commit (Commit)

    The commit the status and check runs are attached to.

    \n\n\n\n\n\n\n\n\n\n\n\n

    contexts (StatusCheckRollupContextConnection!)

    A list of status contexts and check runs for this commit.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n\n\n

    state (StatusState!)

    The combined status for the commit.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n StatusCheckRollupContextConnection\n

    \n

    The connection type for StatusCheckRollupContext.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([StatusCheckRollupContextEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([StatusCheckRollupContext])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n StatusCheckRollupContextEdge\n

    \n

    An edge in a connection.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (StatusCheckRollupContext)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n StatusContext\n

    \n

    Represents an individual commit status context.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    avatarUrl (URI)

    The avatar of the OAuth application or the user that created the status.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    size (Int)

    \n

    The size of the resulting square image.

    \n

    The default value is 40.

    \n
    \n\n
    \n\n\n

    commit (Commit)

    This commit this status context is attached to.

    \n\n\n\n\n\n\n\n\n\n\n\n

    context (String!)

    The name of this status context.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    creator (Actor)

    The actor who created this status context.

    \n\n\n\n\n\n\n\n\n\n\n\n

    description (String)

    The description for this status context.

    \n\n\n\n\n\n\n\n\n\n\n\n

    state (StatusState!)

    The state of this status context.

    \n\n\n\n\n\n\n\n\n\n\n\n

    targetUrl (URI)

    The URL for this status context.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n Submodule\n

    \n

    A pointer to a repository at a specific revision embedded inside another repository.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    branch (String)

    The branch of the upstream submodule for tracking updates.

    \n\n\n\n\n\n\n\n\n\n\n\n

    gitUrl (URI!)

    The git URL of the submodule repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    name (String!)

    The name of the submodule in .gitmodules.

    \n\n\n\n\n\n\n\n\n\n\n\n

    path (String!)

    The path in the superproject that this submodule is located in.

    \n\n\n\n\n\n\n\n\n\n\n\n

    subprojectCommitOid (GitObjectID)

    The commit revision of the subproject repository being tracked by the submodule.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n SubmoduleConnection\n

    \n

    The connection type for Submodule.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([SubmoduleEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([Submodule])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n SubmoduleEdge\n

    \n

    An edge in a connection.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (Submodule)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n SubscribedEvent\n

    \n

    Represents asubscribedevent on a given Subscribable.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    actor (Actor)

    Identifies the actor who performed the event.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    subscribable (Subscribable!)

    Object referenced by event.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n SuggestedReviewer\n

    \n

    A suggestion to review a pull request based on a user's commit history and review comments.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    isAuthor (Boolean!)

    Is this suggestion based on past commits?.

    \n\n\n\n\n\n\n\n\n\n\n\n

    isCommenter (Boolean!)

    Is this suggestion based on past review comments?.

    \n\n\n\n\n\n\n\n\n\n\n\n

    reviewer (User!)

    Identifies the user suggested to review the pull request.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n Tag\n

    \n

    Represents a Git tag.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    abbreviatedOid (String!)

    An abbreviated version of the Git object ID.

    \n\n\n\n\n\n\n\n\n\n\n\n

    commitResourcePath (URI!)

    The HTTP path for this Git object.

    \n\n\n\n\n\n\n\n\n\n\n\n

    commitUrl (URI!)

    The HTTP URL for this Git object.

    \n\n\n\n\n\n\n\n\n\n\n\n

    message (String)

    The Git tag message.

    \n\n\n\n\n\n\n\n\n\n\n\n

    name (String!)

    The Git tag name.

    \n\n\n\n\n\n\n\n\n\n\n\n

    oid (GitObjectID!)

    The Git object ID.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repository (Repository!)

    The Repository the Git object belongs to.

    \n\n\n\n\n\n\n\n\n\n\n\n

    tagger (GitActor)

    Details about the tag author.

    \n\n\n\n\n\n\n\n\n\n\n\n

    target (GitObject!)

    The Git object the tag points to.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n Team\n

    \n

    A team of users in an organization.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    ancestors (TeamConnection!)

    A list of teams that are ancestors of this team.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n\n\n

    avatarUrl (URI)

    A URL pointing to the team's avatar.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    size (Int)

    \n

    The size in pixels of the resulting square image.

    \n

    The default value is 400.

    \n
    \n\n
    \n\n\n

    childTeams (TeamConnection!)

    List of child teams belonging to this team.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    immediateOnly (Boolean)

    \n

    Whether to list immediate child teams or all descendant child teams.

    \n

    The default value is true.

    \n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (TeamOrder)

    \n

    Order for connection.

    \n\n
    \n\n
    \n

    userLogins ([String!])

    \n

    User logins to filter by.

    \n\n
    \n\n
    \n\n\n

    combinedSlug (String!)

    The slug corresponding to the organization and team.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    databaseId (Int)

    Identifies the primary key from the database.

    \n\n\n\n\n\n\n\n\n\n\n\n

    description (String)

    The description of the team.

    \n\n\n\n\n\n\n\n\n\n\n\n

    discussion (TeamDiscussion)

    Find a team discussion by its number.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    number (Int!)

    \n

    The sequence number of the discussion to find.

    \n\n
    \n\n
    \n\n\n

    discussions (TeamDiscussionConnection!)

    A list of team discussions.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    isPinned (Boolean)

    \n

    If provided, filters discussions according to whether or not they are pinned.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (TeamDiscussionOrder)

    \n

    Order for connection.

    \n\n
    \n\n
    \n\n\n

    discussionsResourcePath (URI!)

    The HTTP path for team discussions.

    \n\n\n\n\n\n\n\n\n\n\n\n

    discussionsUrl (URI!)

    The HTTP URL for team discussions.

    \n\n\n\n\n\n\n\n\n\n\n\n

    editTeamResourcePath (URI!)

    The HTTP path for editing this team.

    \n\n\n\n\n\n\n\n\n\n\n\n

    editTeamUrl (URI!)

    The HTTP URL for editing this team.

    \n\n\n\n\n\n\n\n\n\n\n\n

    invitations (OrganizationInvitationConnection)

    A list of pending invitations for users to this team.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n\n\n

    memberStatuses (UserStatusConnection!)

    Get the status messages members of this entity have set that are either public or visible only to the organization.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (UserStatusOrder)

    \n

    Ordering options for user statuses returned from the connection.

    \n\n
    \n\n
    \n\n\n

    members (TeamMemberConnection!)

    A list of users who are members of this team.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    membership (TeamMembershipType)

    \n

    Filter by membership type.

    \n

    The default value is ALL.

    \n
    \n\n
    \n

    orderBy (TeamMemberOrder)

    \n

    Order for the connection.

    \n\n
    \n\n
    \n

    query (String)

    \n

    The search string to look for.

    \n\n
    \n\n
    \n

    role (TeamMemberRole)

    \n

    Filter by team member role.

    \n\n
    \n\n
    \n\n\n

    membersResourcePath (URI!)

    The HTTP path for the team' members.

    \n\n\n\n\n\n\n\n\n\n\n\n

    membersUrl (URI!)

    The HTTP URL for the team' members.

    \n\n\n\n\n\n\n\n\n\n\n\n

    name (String!)

    The name of the team.

    \n\n\n\n\n\n\n\n\n\n\n\n

    newTeamResourcePath (URI!)

    The HTTP path creating a new team.

    \n\n\n\n\n\n\n\n\n\n\n\n

    newTeamUrl (URI!)

    The HTTP URL creating a new team.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organization (Organization!)

    The organization that owns this team.

    \n\n\n\n\n\n\n\n\n\n\n\n

    parentTeam (Team)

    The parent team of the team.

    \n\n\n\n\n\n\n\n\n\n\n\n

    privacy (TeamPrivacy!)

    The level of privacy the team has.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repositories (TeamRepositoryConnection!)

    A list of repositories this team has access to.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (TeamRepositoryOrder)

    \n

    Order for the connection.

    \n\n
    \n\n
    \n

    query (String)

    \n

    The search string to look for.

    \n\n
    \n\n
    \n\n\n

    repositoriesResourcePath (URI!)

    The HTTP path for this team's repositories.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repositoriesUrl (URI!)

    The HTTP URL for this team's repositories.

    \n\n\n\n\n\n\n\n\n\n\n\n

    resourcePath (URI!)

    The HTTP path for this team.

    \n\n\n\n\n\n\n\n\n\n\n\n

    reviewRequestDelegationAlgorithm (TeamReviewAssignmentAlgorithm)

    What algorithm is used for review assignment for this team.

    \n\n\n\n\n
    \n

    Preview notice

    \n

    reviewRequestDelegationAlgorithm is available under the Team review assignments preview. During the preview period, the API may change without notice.

    \n
    \n\n\n\n\n\n\n\n\n

    reviewRequestDelegationEnabled (Boolean!)

    True if review assignment is enabled for this team.

    \n\n\n\n\n
    \n

    Preview notice

    \n

    reviewRequestDelegationEnabled is available under the Team review assignments preview. During the preview period, the API may change without notice.

    \n
    \n\n\n\n\n\n\n\n\n

    reviewRequestDelegationMemberCount (Int)

    How many team members are required for review assignment for this team.

    \n\n\n\n\n
    \n

    Preview notice

    \n

    reviewRequestDelegationMemberCount is available under the Team review assignments preview. During the preview period, the API may change without notice.

    \n
    \n\n\n\n\n\n\n\n\n

    reviewRequestDelegationNotifyTeam (Boolean!)

    When assigning team members via delegation, whether the entire team should be notified as well.

    \n\n\n\n\n
    \n

    Preview notice

    \n

    reviewRequestDelegationNotifyTeam is available under the Team review assignments preview. During the preview period, the API may change without notice.

    \n
    \n\n\n\n\n\n\n\n\n

    slug (String!)

    The slug corresponding to the team.

    \n\n\n\n\n\n\n\n\n\n\n\n

    teamsResourcePath (URI!)

    The HTTP path for this team's teams.

    \n\n\n\n\n\n\n\n\n\n\n\n

    teamsUrl (URI!)

    The HTTP URL for this team's teams.

    \n\n\n\n\n\n\n\n\n\n\n\n

    updatedAt (DateTime!)

    Identifies the date and time when the object was last updated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    url (URI!)

    The HTTP URL for this team.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerCanAdminister (Boolean!)

    Team is adminable by the viewer.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerCanSubscribe (Boolean!)

    Check if the viewer is able to change their subscription status for the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerSubscription (SubscriptionState)

    Identifies if the viewer is watching, not watching, or ignoring the subscribable entity.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n TeamAddMemberAuditEntry\n

    \n

    Audit log entry for a team.add_member event.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    action (String!)

    The action name.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actor (AuditEntryActor)

    The user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorIp (String)

    The IP address of the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLocation (ActorLocation)

    A readable representation of the actor's location.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLogin (String)

    The username of the user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorResourcePath (URI)

    The HTTP path for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorUrl (URI)

    The HTTP URL for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (PreciseDateTime!)

    The time the action was initiated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    isLdapMapped (Boolean)

    Whether the team was mapped to an LDAP Group.

    \n\n\n\n\n\n\n\n\n\n\n\n

    operationType (OperationType)

    The corresponding operation type for the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organization (Organization)

    The Organization associated with the Audit Entry.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationName (String)

    The name of the Organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationResourcePath (URI)

    The HTTP path for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationUrl (URI)

    The HTTP URL for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    team (Team)

    The team associated with the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    teamName (String)

    The name of the team.

    \n\n\n\n\n\n\n\n\n\n\n\n

    teamResourcePath (URI)

    The HTTP path for this team.

    \n\n\n\n\n\n\n\n\n\n\n\n

    teamUrl (URI)

    The HTTP URL for this team.

    \n\n\n\n\n\n\n\n\n\n\n\n

    user (User)

    The user affected by the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userLogin (String)

    For actions involving two users, the actor is the initiator and the user is the affected user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userResourcePath (URI)

    The HTTP path for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userUrl (URI)

    The HTTP URL for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n TeamAddRepositoryAuditEntry\n

    \n

    Audit log entry for a team.add_repository event.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    action (String!)

    The action name.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actor (AuditEntryActor)

    The user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorIp (String)

    The IP address of the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLocation (ActorLocation)

    A readable representation of the actor's location.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLogin (String)

    The username of the user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorResourcePath (URI)

    The HTTP path for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorUrl (URI)

    The HTTP URL for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (PreciseDateTime!)

    The time the action was initiated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    isLdapMapped (Boolean)

    Whether the team was mapped to an LDAP Group.

    \n\n\n\n\n\n\n\n\n\n\n\n

    operationType (OperationType)

    The corresponding operation type for the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organization (Organization)

    The Organization associated with the Audit Entry.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationName (String)

    The name of the Organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationResourcePath (URI)

    The HTTP path for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationUrl (URI)

    The HTTP URL for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repository (Repository)

    The repository associated with the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repositoryName (String)

    The name of the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repositoryResourcePath (URI)

    The HTTP path for the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repositoryUrl (URI)

    The HTTP URL for the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    team (Team)

    The team associated with the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    teamName (String)

    The name of the team.

    \n\n\n\n\n\n\n\n\n\n\n\n

    teamResourcePath (URI)

    The HTTP path for this team.

    \n\n\n\n\n\n\n\n\n\n\n\n

    teamUrl (URI)

    The HTTP URL for this team.

    \n\n\n\n\n\n\n\n\n\n\n\n

    user (User)

    The user affected by the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userLogin (String)

    For actions involving two users, the actor is the initiator and the user is the affected user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userResourcePath (URI)

    The HTTP path for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userUrl (URI)

    The HTTP URL for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n TeamChangeParentTeamAuditEntry\n

    \n

    Audit log entry for a team.change_parent_team event.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    action (String!)

    The action name.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actor (AuditEntryActor)

    The user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorIp (String)

    The IP address of the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLocation (ActorLocation)

    A readable representation of the actor's location.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLogin (String)

    The username of the user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorResourcePath (URI)

    The HTTP path for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorUrl (URI)

    The HTTP URL for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (PreciseDateTime!)

    The time the action was initiated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    isLdapMapped (Boolean)

    Whether the team was mapped to an LDAP Group.

    \n\n\n\n\n\n\n\n\n\n\n\n

    operationType (OperationType)

    The corresponding operation type for the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organization (Organization)

    The Organization associated with the Audit Entry.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationName (String)

    The name of the Organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationResourcePath (URI)

    The HTTP path for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationUrl (URI)

    The HTTP URL for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    parentTeam (Team)

    The new parent team.

    \n\n\n\n\n\n\n\n\n\n\n\n

    parentTeamName (String)

    The name of the new parent team.

    \n\n\n\n\n\n\n\n\n\n\n\n

    parentTeamNameWas (String)

    The name of the former parent team.

    \n\n\n\n\n\n\n\n\n\n\n\n

    parentTeamResourcePath (URI)

    The HTTP path for the parent team.

    \n\n\n\n\n\n\n\n\n\n\n\n

    parentTeamUrl (URI)

    The HTTP URL for the parent team.

    \n\n\n\n\n\n\n\n\n\n\n\n

    parentTeamWas (Team)

    The former parent team.

    \n\n\n\n\n\n\n\n\n\n\n\n

    parentTeamWasResourcePath (URI)

    The HTTP path for the previous parent team.

    \n\n\n\n\n\n\n\n\n\n\n\n

    parentTeamWasUrl (URI)

    The HTTP URL for the previous parent team.

    \n\n\n\n\n\n\n\n\n\n\n\n

    team (Team)

    The team associated with the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    teamName (String)

    The name of the team.

    \n\n\n\n\n\n\n\n\n\n\n\n

    teamResourcePath (URI)

    The HTTP path for this team.

    \n\n\n\n\n\n\n\n\n\n\n\n

    teamUrl (URI)

    The HTTP URL for this team.

    \n\n\n\n\n\n\n\n\n\n\n\n

    user (User)

    The user affected by the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userLogin (String)

    For actions involving two users, the actor is the initiator and the user is the affected user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userResourcePath (URI)

    The HTTP path for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userUrl (URI)

    The HTTP URL for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n TeamConnection\n

    \n

    The connection type for Team.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([TeamEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([Team])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n TeamDiscussion\n

    \n

    A team discussion.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    author (Actor)

    The actor who authored the comment.

    \n\n\n\n\n\n\n\n\n\n\n\n

    authorAssociation (CommentAuthorAssociation!)

    Author's association with the discussion's team.

    \n\n\n\n\n\n\n\n\n\n\n\n

    body (String!)

    The body as Markdown.

    \n\n\n\n\n\n\n\n\n\n\n\n

    bodyHTML (HTML!)

    The body rendered to HTML.

    \n\n\n\n\n\n\n\n\n\n\n\n

    bodyText (String!)

    The body rendered to text.

    \n\n\n\n\n\n\n\n\n\n\n\n

    bodyVersion (String!)

    Identifies the discussion body hash.

    \n\n\n\n\n\n\n\n\n\n\n\n

    comments (TeamDiscussionCommentConnection!)

    A list of comments on this discussion.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    fromComment (Int)

    \n

    When provided, filters the connection such that results begin with the comment with this number.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (TeamDiscussionCommentOrder)

    \n

    Order for connection.

    \n\n
    \n\n
    \n\n\n

    commentsResourcePath (URI!)

    The HTTP path for discussion comments.

    \n\n\n\n\n\n\n\n\n\n\n\n

    commentsUrl (URI!)

    The HTTP URL for discussion comments.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdViaEmail (Boolean!)

    Check if this comment was created via an email reply.

    \n\n\n\n\n\n\n\n\n\n\n\n

    databaseId (Int)

    Identifies the primary key from the database.

    \n\n\n\n\n\n\n\n\n\n\n\n

    editor (Actor)

    The actor who edited the comment.

    \n\n\n\n\n\n\n\n\n\n\n\n

    includesCreatedEdit (Boolean!)

    Check if this comment was edited and includes an edit with the creation data.

    \n\n\n\n\n\n\n\n\n\n\n\n

    isPinned (Boolean!)

    Whether or not the discussion is pinned.

    \n\n\n\n\n\n\n\n\n\n\n\n

    isPrivate (Boolean!)

    Whether or not the discussion is only visible to team members and org admins.

    \n\n\n\n\n\n\n\n\n\n\n\n

    lastEditedAt (DateTime)

    The moment the editor made the last edit.

    \n\n\n\n\n\n\n\n\n\n\n\n

    number (Int!)

    Identifies the discussion within its team.

    \n\n\n\n\n\n\n\n\n\n\n\n

    publishedAt (DateTime)

    Identifies when the comment was published at.

    \n\n\n\n\n\n\n\n\n\n\n\n

    reactionGroups ([ReactionGroup!])

    A list of reactions grouped by content left on the subject.

    \n\n\n\n\n\n\n\n\n\n\n\n

    reactions (ReactionConnection!)

    A list of Reactions left on the Issue.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    content (ReactionContent)

    \n

    Allows filtering Reactions by emoji.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (ReactionOrder)

    \n

    Allows specifying the order in which reactions are returned.

    \n\n
    \n\n
    \n\n\n

    resourcePath (URI!)

    The HTTP path for this discussion.

    \n\n\n\n\n\n\n\n\n\n\n\n

    team (Team!)

    The team that defines the context of this discussion.

    \n\n\n\n\n\n\n\n\n\n\n\n

    title (String!)

    The title of the discussion.

    \n\n\n\n\n\n\n\n\n\n\n\n

    updatedAt (DateTime!)

    Identifies the date and time when the object was last updated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    url (URI!)

    The HTTP URL for this discussion.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userContentEdits (UserContentEditConnection)

    A list of edits to this content.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n\n\n

    viewerCanDelete (Boolean!)

    Check if the current viewer can delete this object.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerCanPin (Boolean!)

    Whether or not the current viewer can pin this discussion.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerCanReact (Boolean!)

    Can user react to this subject.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerCanSubscribe (Boolean!)

    Check if the viewer is able to change their subscription status for the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerCanUpdate (Boolean!)

    Check if the current viewer can update this object.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerCannotUpdateReasons ([CommentCannotUpdateReason!]!)

    Reasons why the current viewer can not update this comment.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerDidAuthor (Boolean!)

    Did the viewer author this comment.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerSubscription (SubscriptionState)

    Identifies if the viewer is watching, not watching, or ignoring the subscribable entity.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n TeamDiscussionComment\n

    \n

    A comment on a team discussion.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    author (Actor)

    The actor who authored the comment.

    \n\n\n\n\n\n\n\n\n\n\n\n

    authorAssociation (CommentAuthorAssociation!)

    Author's association with the comment's team.

    \n\n\n\n\n\n\n\n\n\n\n\n

    body (String!)

    The body as Markdown.

    \n\n\n\n\n\n\n\n\n\n\n\n

    bodyHTML (HTML!)

    The body rendered to HTML.

    \n\n\n\n\n\n\n\n\n\n\n\n

    bodyText (String!)

    The body rendered to text.

    \n\n\n\n\n\n\n\n\n\n\n\n

    bodyVersion (String!)

    The current version of the body content.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdViaEmail (Boolean!)

    Check if this comment was created via an email reply.

    \n\n\n\n\n\n\n\n\n\n\n\n

    databaseId (Int)

    Identifies the primary key from the database.

    \n\n\n\n\n\n\n\n\n\n\n\n

    discussion (TeamDiscussion!)

    The discussion this comment is about.

    \n\n\n\n\n\n\n\n\n\n\n\n

    editor (Actor)

    The actor who edited the comment.

    \n\n\n\n\n\n\n\n\n\n\n\n

    includesCreatedEdit (Boolean!)

    Check if this comment was edited and includes an edit with the creation data.

    \n\n\n\n\n\n\n\n\n\n\n\n

    lastEditedAt (DateTime)

    The moment the editor made the last edit.

    \n\n\n\n\n\n\n\n\n\n\n\n

    number (Int!)

    Identifies the comment number.

    \n\n\n\n\n\n\n\n\n\n\n\n

    publishedAt (DateTime)

    Identifies when the comment was published at.

    \n\n\n\n\n\n\n\n\n\n\n\n

    reactionGroups ([ReactionGroup!])

    A list of reactions grouped by content left on the subject.

    \n\n\n\n\n\n\n\n\n\n\n\n

    reactions (ReactionConnection!)

    A list of Reactions left on the Issue.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    content (ReactionContent)

    \n

    Allows filtering Reactions by emoji.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (ReactionOrder)

    \n

    Allows specifying the order in which reactions are returned.

    \n\n
    \n\n
    \n\n\n

    resourcePath (URI!)

    The HTTP path for this comment.

    \n\n\n\n\n\n\n\n\n\n\n\n

    updatedAt (DateTime!)

    Identifies the date and time when the object was last updated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    url (URI!)

    The HTTP URL for this comment.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userContentEdits (UserContentEditConnection)

    A list of edits to this content.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n\n\n

    viewerCanDelete (Boolean!)

    Check if the current viewer can delete this object.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerCanReact (Boolean!)

    Can user react to this subject.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerCanUpdate (Boolean!)

    Check if the current viewer can update this object.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerCannotUpdateReasons ([CommentCannotUpdateReason!]!)

    Reasons why the current viewer can not update this comment.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerDidAuthor (Boolean!)

    Did the viewer author this comment.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n TeamDiscussionCommentConnection\n

    \n

    The connection type for TeamDiscussionComment.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([TeamDiscussionCommentEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([TeamDiscussionComment])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n TeamDiscussionCommentEdge\n

    \n

    An edge in a connection.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (TeamDiscussionComment)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n TeamDiscussionConnection\n

    \n

    The connection type for TeamDiscussion.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([TeamDiscussionEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([TeamDiscussion])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n TeamDiscussionEdge\n

    \n

    An edge in a connection.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (TeamDiscussion)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n TeamEdge\n

    \n

    An edge in a connection.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (Team)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n TeamMemberConnection\n

    \n

    The connection type for User.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([TeamMemberEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([User])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n TeamMemberEdge\n

    \n

    Represents a user who is a member of a team.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    memberAccessResourcePath (URI!)

    The HTTP path to the organization's member access page.

    \n\n\n\n\n\n\n\n\n\n\n\n

    memberAccessUrl (URI!)

    The HTTP URL to the organization's member access page.

    \n\n\n\n\n\n\n\n\n\n\n\n

    role (TeamMemberRole!)

    The role the member has on the team.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n TeamRemoveMemberAuditEntry\n

    \n

    Audit log entry for a team.remove_member event.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    action (String!)

    The action name.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actor (AuditEntryActor)

    The user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorIp (String)

    The IP address of the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLocation (ActorLocation)

    A readable representation of the actor's location.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLogin (String)

    The username of the user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorResourcePath (URI)

    The HTTP path for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorUrl (URI)

    The HTTP URL for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (PreciseDateTime!)

    The time the action was initiated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    isLdapMapped (Boolean)

    Whether the team was mapped to an LDAP Group.

    \n\n\n\n\n\n\n\n\n\n\n\n

    operationType (OperationType)

    The corresponding operation type for the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organization (Organization)

    The Organization associated with the Audit Entry.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationName (String)

    The name of the Organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationResourcePath (URI)

    The HTTP path for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationUrl (URI)

    The HTTP URL for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    team (Team)

    The team associated with the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    teamName (String)

    The name of the team.

    \n\n\n\n\n\n\n\n\n\n\n\n

    teamResourcePath (URI)

    The HTTP path for this team.

    \n\n\n\n\n\n\n\n\n\n\n\n

    teamUrl (URI)

    The HTTP URL for this team.

    \n\n\n\n\n\n\n\n\n\n\n\n

    user (User)

    The user affected by the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userLogin (String)

    For actions involving two users, the actor is the initiator and the user is the affected user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userResourcePath (URI)

    The HTTP path for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userUrl (URI)

    The HTTP URL for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n TeamRemoveRepositoryAuditEntry\n

    \n

    Audit log entry for a team.remove_repository event.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    action (String!)

    The action name.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actor (AuditEntryActor)

    The user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorIp (String)

    The IP address of the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLocation (ActorLocation)

    A readable representation of the actor's location.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLogin (String)

    The username of the user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorResourcePath (URI)

    The HTTP path for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorUrl (URI)

    The HTTP URL for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (PreciseDateTime!)

    The time the action was initiated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    isLdapMapped (Boolean)

    Whether the team was mapped to an LDAP Group.

    \n\n\n\n\n\n\n\n\n\n\n\n

    operationType (OperationType)

    The corresponding operation type for the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organization (Organization)

    The Organization associated with the Audit Entry.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationName (String)

    The name of the Organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationResourcePath (URI)

    The HTTP path for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationUrl (URI)

    The HTTP URL for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repository (Repository)

    The repository associated with the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repositoryName (String)

    The name of the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repositoryResourcePath (URI)

    The HTTP path for the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repositoryUrl (URI)

    The HTTP URL for the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    team (Team)

    The team associated with the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    teamName (String)

    The name of the team.

    \n\n\n\n\n\n\n\n\n\n\n\n

    teamResourcePath (URI)

    The HTTP path for this team.

    \n\n\n\n\n\n\n\n\n\n\n\n

    teamUrl (URI)

    The HTTP URL for this team.

    \n\n\n\n\n\n\n\n\n\n\n\n

    user (User)

    The user affected by the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userLogin (String)

    For actions involving two users, the actor is the initiator and the user is the affected user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userResourcePath (URI)

    The HTTP path for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userUrl (URI)

    The HTTP URL for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n TeamRepositoryConnection\n

    \n

    The connection type for Repository.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([TeamRepositoryEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([Repository])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n TeamRepositoryEdge\n

    \n

    Represents a team repository.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    permission (RepositoryPermission!)

    The permission level the team has on the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n TextMatch\n

    \n

    A text match within a search result.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    fragment (String!)

    The specific text fragment within the property matched on.

    \n\n\n\n\n\n\n\n\n\n\n\n

    highlights ([TextMatchHighlight!]!)

    Highlights within the matched fragment.

    \n\n\n\n\n\n\n\n\n\n\n\n

    property (String!)

    The property matched on.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n TextMatchHighlight\n

    \n

    Represents a single highlight in a search result match.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    beginIndice (Int!)

    The indice in the fragment where the matched text begins.

    \n\n\n\n\n\n\n\n\n\n\n\n

    endIndice (Int!)

    The indice in the fragment where the matched text ends.

    \n\n\n\n\n\n\n\n\n\n\n\n

    text (String!)

    The text matched.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n Topic\n

    \n

    A topic aggregates entities that are related to a subject.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    name (String!)

    The topic's name.

    \n\n\n\n\n\n\n\n\n\n\n\n

    relatedTopics ([Topic!]!)

    A list of related topics, including aliases of this topic, sorted with the most relevant\nfirst. Returns up to 10 Topics.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    first (Int)

    \n

    How many topics to return.

    \n

    The default value is 3.

    \n
    \n\n
    \n\n\n

    stargazerCount (Int!)

    Returns a count of how many stargazers there are on this object.

    \n\n\n\n\n\n\n\n\n\n\n\n

    stargazers (StargazerConnection!)

    A list of users who have starred this starrable.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (StarOrder)

    \n

    Order for connection.

    \n\n
    \n\n
    \n\n\n

    viewerHasStarred (Boolean!)

    Returns a boolean indicating whether the viewing user has starred this starrable.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n TransferredEvent\n

    \n

    Represents atransferredevent on a given issue or pull request.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    actor (Actor)

    Identifies the actor who performed the event.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    fromRepository (Repository)

    The repository this came from.

    \n\n\n\n\n\n\n\n\n\n\n\n

    issue (Issue!)

    Identifies the issue associated with the event.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n Tree\n

    \n

    Represents a Git tree.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    abbreviatedOid (String!)

    An abbreviated version of the Git object ID.

    \n\n\n\n\n\n\n\n\n\n\n\n

    commitResourcePath (URI!)

    The HTTP path for this Git object.

    \n\n\n\n\n\n\n\n\n\n\n\n

    commitUrl (URI!)

    The HTTP URL for this Git object.

    \n\n\n\n\n\n\n\n\n\n\n\n

    entries ([TreeEntry!])

    A list of tree entries.

    \n\n\n\n\n\n\n\n\n\n\n\n

    oid (GitObjectID!)

    The Git object ID.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repository (Repository!)

    The Repository the Git object belongs to.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n TreeEntry\n

    \n

    Represents a Git tree entry.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    extension (String)

    The extension of the file.

    \n\n\n\n\n\n\n\n\n\n\n\n

    isGenerated (Boolean!)

    Whether or not this tree entry is generated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    mode (Int!)

    Entry file mode.

    \n\n\n\n\n\n\n\n\n\n\n\n

    name (String!)

    Entry file name.

    \n\n\n\n\n\n\n\n\n\n\n\n

    object (GitObject)

    Entry file object.

    \n\n\n\n\n\n\n\n\n\n\n\n

    oid (GitObjectID!)

    Entry file Git object ID.

    \n\n\n\n\n\n\n\n\n\n\n\n

    path (String)

    The full path of the file.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repository (Repository!)

    The Repository the tree entry belongs to.

    \n\n\n\n\n\n\n\n\n\n\n\n

    submodule (Submodule)

    If the TreeEntry is for a directory occupied by a submodule project, this returns the corresponding submodule.

    \n\n\n\n\n\n\n\n\n\n\n\n

    type (String!)

    Entry file type.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n UnassignedEvent\n

    \n

    Represents anunassignedevent on any assignable object.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    actor (Actor)

    Identifies the actor who performed the event.

    \n\n\n\n\n\n\n\n\n\n\n\n

    assignable (Assignable!)

    Identifies the assignable associated with the event.

    \n\n\n\n\n\n\n\n\n\n\n\n

    assignee (Assignee)

    Identifies the user or mannequin that was unassigned.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    user (User)

    Identifies the subject (user) who was unassigned.

    \n\n\n\n\n\n\n
    \n

    Deprecation notice

    \n

    user is deprecated.

    Assignees can now be mannequins. Use the assignee field instead. Removal on 2020-01-01 UTC.

    \n
    \n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n UnknownSignature\n

    \n

    Represents an unknown signature on a Commit or Tag.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    email (String!)

    Email used to sign this object.

    \n\n\n\n\n\n\n\n\n\n\n\n

    isValid (Boolean!)

    True if the signature is valid and verified by GitHub.

    \n\n\n\n\n\n\n\n\n\n\n\n

    payload (String!)

    Payload for GPG signing object. Raw ODB object without the signature header.

    \n\n\n\n\n\n\n\n\n\n\n\n

    signature (String!)

    ASCII-armored signature header from object.

    \n\n\n\n\n\n\n\n\n\n\n\n

    signer (User)

    GitHub user corresponding to the email signing this commit.

    \n\n\n\n\n\n\n\n\n\n\n\n

    state (GitSignatureState!)

    The state of this signature. VALID if signature is valid and verified by\nGitHub, otherwise represents reason why signature is considered invalid.

    \n\n\n\n\n\n\n\n\n\n\n\n

    wasSignedByGitHub (Boolean!)

    True if the signature was made with GitHub's signing key.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n UnlabeledEvent\n

    \n

    Represents anunlabeledevent on a given issue or pull request.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    actor (Actor)

    Identifies the actor who performed the event.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    label (Label!)

    Identifies the label associated with theunlabeledevent.

    \n\n\n\n\n\n\n\n\n\n\n\n

    labelable (Labelable!)

    Identifies the Labelable associated with the event.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n UnlockedEvent\n

    \n

    Represents anunlockedevent on a given issue or pull request.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    actor (Actor)

    Identifies the actor who performed the event.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    lockable (Lockable!)

    Object that was unlocked.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n UnmarkedAsDuplicateEvent\n

    \n

    Represents anunmarked_as_duplicateevent on a given issue or pull request.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    actor (Actor)

    Identifies the actor who performed the event.

    \n\n\n\n\n\n\n\n\n\n\n\n

    canonical (IssueOrPullRequest)

    The authoritative issue or pull request which has been duplicated by another.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    duplicate (IssueOrPullRequest)

    The issue or pull request which has been marked as a duplicate of another.

    \n\n\n\n\n\n\n\n\n\n\n\n

    isCrossRepository (Boolean!)

    Canonical and duplicate belong to different repositories.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n UnpinnedEvent\n

    \n

    Represents anunpinnedevent on a given issue or pull request.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    actor (Actor)

    Identifies the actor who performed the event.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    issue (Issue!)

    Identifies the issue associated with the event.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n UnsubscribedEvent\n

    \n

    Represents anunsubscribedevent on a given Subscribable.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    actor (Actor)

    Identifies the actor who performed the event.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    subscribable (Subscribable!)

    Object referenced by event.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n User\n

    \n

    A user is an individual's account on GitHub that owns repositories and can make new content.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    anyPinnableItems (Boolean!)

    Determine if this repository owner has any items that can be pinned to their profile.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    type (PinnableItemType)

    \n

    Filter to only a particular kind of pinnable item.

    \n\n
    \n\n
    \n\n\n

    avatarUrl (URI!)

    A URL pointing to the user's public avatar.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    size (Int)

    \n

    The size of the resulting square image.

    \n\n
    \n\n
    \n\n\n

    bio (String)

    The user's public profile bio.

    \n\n\n\n\n\n\n\n\n\n\n\n

    bioHTML (HTML!)

    The user's public profile bio as HTML.

    \n\n\n\n\n\n\n\n\n\n\n\n

    commitComments (CommitCommentConnection!)

    A list of commit comments made by this user.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n\n\n

    company (String)

    The user's public profile company.

    \n\n\n\n\n\n\n\n\n\n\n\n

    companyHTML (HTML!)

    The user's public profile company as HTML.

    \n\n\n\n\n\n\n\n\n\n\n\n

    contributionsCollection (ContributionsCollection!)

    The collection of contributions this user has made to different repositories.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    from (DateTime)

    \n

    Only contributions made at this time or later will be counted. If omitted, defaults to a year ago.

    \n\n
    \n\n
    \n

    organizationID (ID)

    \n

    The ID of the organization used to filter contributions.

    \n\n
    \n\n
    \n

    to (DateTime)

    \n

    Only contributions made before and up to and including this time will be\ncounted. If omitted, defaults to the current time.

    \n\n
    \n\n
    \n\n\n

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    databaseId (Int)

    Identifies the primary key from the database.

    \n\n\n\n\n\n\n\n\n\n\n\n

    email (String!)

    The user's publicly visible profile email.

    \n\n\n\n\n\n\n\n\n\n\n\n

    followers (FollowerConnection!)

    A list of users the given user is followed by.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n\n\n

    following (FollowingConnection!)

    A list of users the given user is following.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n\n\n

    gist (Gist)

    Find gist by repo name.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    name (String!)

    \n

    The gist name to find.

    \n\n
    \n\n
    \n\n\n

    gistComments (GistCommentConnection!)

    A list of gist comments made by this user.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n\n\n

    gists (GistConnection!)

    A list of the Gists the user has created.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (GistOrder)

    \n

    Ordering options for gists returned from the connection.

    \n\n
    \n\n
    \n

    privacy (GistPrivacy)

    \n

    Filters Gists according to privacy.

    \n\n
    \n\n
    \n\n\n

    hovercard (Hovercard!)

    The hovercard information for this user in a given context.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    primarySubjectId (ID)

    \n

    The ID of the subject to get the hovercard in the context of.

    \n\n
    \n\n
    \n\n\n

    isBountyHunter (Boolean!)

    Whether or not this user is a participant in the GitHub Security Bug Bounty.

    \n\n\n\n\n\n\n\n\n\n\n\n

    isCampusExpert (Boolean!)

    Whether or not this user is a participant in the GitHub Campus Experts Program.

    \n\n\n\n\n\n\n\n\n\n\n\n

    isDeveloperProgramMember (Boolean!)

    Whether or not this user is a GitHub Developer Program member.

    \n\n\n\n\n\n\n\n\n\n\n\n

    isEmployee (Boolean!)

    Whether or not this user is a GitHub employee.

    \n\n\n\n\n\n\n\n\n\n\n\n

    isGitHubStar (Boolean!)

    Whether or not this user is a member of the GitHub Stars Program.

    \n\n\n\n\n\n\n\n\n\n\n\n

    isHireable (Boolean!)

    Whether or not the user has marked themselves as for hire.

    \n\n\n\n\n\n\n\n\n\n\n\n

    isSiteAdmin (Boolean!)

    Whether or not this user is a site administrator.

    \n\n\n\n\n\n\n\n\n\n\n\n

    isViewer (Boolean!)

    Whether or not this user is the viewing user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    issueComments (IssueCommentConnection!)

    A list of issue comments made by this user.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (IssueCommentOrder)

    \n

    Ordering options for issue comments returned from the connection.

    \n\n
    \n\n
    \n\n\n

    issues (IssueConnection!)

    A list of issues associated with this user.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    filterBy (IssueFilters)

    \n

    Filtering options for issues returned from the connection.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    labels ([String!])

    \n

    A list of label names to filter the pull requests by.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (IssueOrder)

    \n

    Ordering options for issues returned from the connection.

    \n\n
    \n\n
    \n

    states ([IssueState!])

    \n

    A list of states to filter the issues by.

    \n\n
    \n\n
    \n\n\n

    itemShowcase (ProfileItemShowcase!)

    Showcases a selection of repositories and gists that the profile owner has\neither curated or that have been selected automatically based on popularity.

    \n\n\n\n\n\n\n\n\n\n\n\n

    location (String)

    The user's public profile location.

    \n\n\n\n\n\n\n\n\n\n\n\n

    login (String!)

    The username used to login.

    \n\n\n\n\n\n\n\n\n\n\n\n

    name (String)

    The user's public profile name.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organization (Organization)

    Find an organization by its login that the user belongs to.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    login (String!)

    \n

    The login of the organization to find.

    \n\n
    \n\n
    \n\n\n

    organizationVerifiedDomainEmails ([String!]!)

    Verified email addresses that match verified domains for a specified organization the user is a member of.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    login (String!)

    \n

    The login of the organization to match verified domains from.

    \n\n
    \n\n
    \n\n\n

    organizations (OrganizationConnection!)

    A list of organizations the user belongs to.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n\n\n

    pinnableItems (PinnableItemConnection!)

    A list of repositories and gists this profile owner can pin to their profile.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    types ([PinnableItemType!])

    \n

    Filter the types of pinnable items that are returned.

    \n\n
    \n\n
    \n\n\n

    pinnedItems (PinnableItemConnection!)

    A list of repositories and gists this profile owner has pinned to their profile.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    types ([PinnableItemType!])

    \n

    Filter the types of pinned items that are returned.

    \n\n
    \n\n
    \n\n\n

    pinnedItemsRemaining (Int!)

    Returns how many more items this profile owner can pin to their profile.

    \n\n\n\n\n\n\n\n\n\n\n\n

    project (Project)

    Find project by number.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    number (Int!)

    \n

    The project number to find.

    \n\n
    \n\n
    \n\n\n

    projects (ProjectConnection!)

    A list of projects under the owner.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (ProjectOrder)

    \n

    Ordering options for projects returned from the connection.

    \n\n
    \n\n
    \n

    search (String)

    \n

    Query to search projects by, currently only searching by name.

    \n\n
    \n\n
    \n

    states ([ProjectState!])

    \n

    A list of states to filter the projects by.

    \n\n
    \n\n
    \n\n\n

    projectsResourcePath (URI!)

    The HTTP path listing user's projects.

    \n\n\n\n\n\n\n\n\n\n\n\n

    projectsUrl (URI!)

    The HTTP URL listing user's projects.

    \n\n\n\n\n\n\n\n\n\n\n\n

    publicKeys (PublicKeyConnection!)

    A list of public keys associated with this user.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n\n\n

    pullRequests (PullRequestConnection!)

    A list of pull requests associated with this user.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    baseRefName (String)

    \n

    The base ref name to filter the pull requests by.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    headRefName (String)

    \n

    The head ref name to filter the pull requests by.

    \n\n
    \n\n
    \n

    labels ([String!])

    \n

    A list of label names to filter the pull requests by.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (IssueOrder)

    \n

    Ordering options for pull requests returned from the connection.

    \n\n
    \n\n
    \n

    states ([PullRequestState!])

    \n

    A list of states to filter the pull requests by.

    \n\n
    \n\n
    \n\n\n

    repositories (RepositoryConnection!)

    A list of repositories that the user owns.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    affiliations ([RepositoryAffiliation])

    \n

    Array of viewer's affiliation options for repositories returned from the\nconnection. For example, OWNER will include only repositories that the\ncurrent viewer owns.

    \n\n
    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    isFork (Boolean)

    \n

    If non-null, filters repositories according to whether they are forks of another repository.

    \n\n
    \n\n
    \n

    isLocked (Boolean)

    \n

    If non-null, filters repositories according to whether they have been locked.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (RepositoryOrder)

    \n

    Ordering options for repositories returned from the connection.

    \n\n
    \n\n
    \n

    ownerAffiliations ([RepositoryAffiliation])

    \n

    Array of owner's affiliation options for repositories returned from the\nconnection. For example, OWNER will include only repositories that the\norganization or user being viewed owns.

    \n\n
    \n\n
    \n

    privacy (RepositoryPrivacy)

    \n

    If non-null, filters repositories according to privacy.

    \n\n
    \n\n
    \n\n\n

    repositoriesContributedTo (RepositoryConnection!)

    A list of repositories that the user recently contributed to.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    contributionTypes ([RepositoryContributionType])

    \n

    If non-null, include only the specified types of contributions. The\nGitHub.com UI uses [COMMIT, ISSUE, PULL_REQUEST, REPOSITORY].

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    includeUserRepositories (Boolean)

    \n

    If true, include user repositories.

    \n\n
    \n\n
    \n

    isLocked (Boolean)

    \n

    If non-null, filters repositories according to whether they have been locked.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (RepositoryOrder)

    \n

    Ordering options for repositories returned from the connection.

    \n\n
    \n\n
    \n

    privacy (RepositoryPrivacy)

    \n

    If non-null, filters repositories according to privacy.

    \n\n
    \n\n
    \n\n\n

    repository (Repository)

    Find Repository.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    name (String!)

    \n

    Name of Repository to find.

    \n\n
    \n\n
    \n\n\n

    resourcePath (URI!)

    The HTTP path for this user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    savedReplies (SavedReplyConnection)

    Replies this user has saved.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (SavedReplyOrder)

    \n

    The field to order saved replies by.

    \n\n
    \n\n
    \n\n\n

    sponsorshipsAsMaintainer (SponsorshipConnection!)

    This object's sponsorships as the maintainer.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    includePrivate (Boolean)

    \n

    Whether or not to include private sponsorships in the result set.

    \n

    The default value is false.

    \n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (SponsorshipOrder)

    \n

    Ordering options for sponsorships returned from this connection. If left\nblank, the sponsorships will be ordered based on relevancy to the viewer.

    \n\n
    \n\n
    \n\n\n

    sponsorshipsAsSponsor (SponsorshipConnection!)

    This object's sponsorships as the sponsor.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (SponsorshipOrder)

    \n

    Ordering options for sponsorships returned from this connection. If left\nblank, the sponsorships will be ordered based on relevancy to the viewer.

    \n\n
    \n\n
    \n\n\n

    starredRepositories (StarredRepositoryConnection!)

    Repositories the user has starred.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (StarOrder)

    \n

    Order for connection.

    \n\n
    \n\n
    \n

    ownedByViewer (Boolean)

    \n

    Filters starred repositories to only return repositories owned by the viewer.

    \n\n
    \n\n
    \n\n\n

    status (UserStatus)

    The user's description of what they're currently doing.

    \n\n\n\n\n\n\n\n\n\n\n\n

    suspendedAt (DateTime)

    Identifies the date and time when the user was suspended.

    \n\n\n\n\n\n\n\n\n\n\n\n

    topRepositories (RepositoryConnection!)

    Repositories the user has contributed to, ordered by contribution rank, plus repositories the user has created.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (RepositoryOrder!)

    \n

    Ordering options for repositories returned from the connection.

    \n\n
    \n\n
    \n

    since (DateTime)

    \n

    How far back in time to fetch contributed repositories.

    \n\n
    \n\n
    \n\n\n

    twitterUsername (String)

    The user's Twitter username.

    \n\n\n\n\n\n\n\n\n\n\n\n

    updatedAt (DateTime!)

    Identifies the date and time when the object was last updated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    url (URI!)

    The HTTP URL for this user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerCanChangePinnedItems (Boolean!)

    Can the viewer pin repositories and gists to the profile?.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerCanCreateProjects (Boolean!)

    Can the current viewer create new projects on this owner.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerCanFollow (Boolean!)

    Whether or not the viewer is able to follow the user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerIsFollowing (Boolean!)

    Whether or not this user is followed by the viewer.

    \n\n\n\n\n\n\n\n\n\n\n\n

    watching (RepositoryConnection!)

    A list of repositories the given user is watching.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    affiliations ([RepositoryAffiliation])

    \n

    Affiliation options for repositories returned from the connection. If none\nspecified, the results will include repositories for which the current\nviewer is an owner or collaborator, or member.

    \n\n
    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    isLocked (Boolean)

    \n

    If non-null, filters repositories according to whether they have been locked.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (RepositoryOrder)

    \n

    Ordering options for repositories returned from the connection.

    \n\n
    \n\n
    \n

    ownerAffiliations ([RepositoryAffiliation])

    \n

    Array of owner's affiliation options for repositories returned from the\nconnection. For example, OWNER will include only repositories that the\norganization or user being viewed owns.

    \n\n
    \n\n
    \n

    privacy (RepositoryPrivacy)

    \n

    If non-null, filters repositories according to privacy.

    \n\n
    \n\n
    \n\n\n

    websiteUrl (URI)

    A URL pointing to the user's public website/blog.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n UserBlockedEvent\n

    \n

    Represents auser_blockedevent on a given user.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    actor (Actor)

    Identifies the actor who performed the event.

    \n\n\n\n\n\n\n\n\n\n\n\n

    blockDuration (UserBlockDuration!)

    Number of days that the user was blocked for.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    subject (User)

    The user who was blocked.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n UserConnection\n

    \n

    The connection type for User.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([UserEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([User])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n UserContentEdit\n

    \n

    An edit on user content.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    deletedAt (DateTime)

    Identifies the date and time when the object was deleted.

    \n\n\n\n\n\n\n\n\n\n\n\n

    deletedBy (Actor)

    The actor who deleted this content.

    \n\n\n\n\n\n\n\n\n\n\n\n

    diff (String)

    A summary of the changes for this edit.

    \n\n\n\n\n\n\n\n\n\n\n\n

    editedAt (DateTime!)

    When this content was edited.

    \n\n\n\n\n\n\n\n\n\n\n\n

    editor (Actor)

    The actor who edited this content.

    \n\n\n\n\n\n\n\n\n\n\n\n

    updatedAt (DateTime!)

    Identifies the date and time when the object was last updated.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n UserContentEditConnection\n

    \n

    A list of edits to content.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([UserContentEditEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([UserContentEdit])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n UserContentEditEdge\n

    \n

    An edge in a connection.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (UserContentEdit)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n UserEdge\n

    \n

    Represents a user.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (User)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n UserEmailMetadata\n

    \n

    Email attributes from External Identity.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    primary (Boolean)

    Boolean to identify primary emails.

    \n\n\n\n\n\n\n\n\n\n\n\n

    type (String)

    Type of email.

    \n\n\n\n\n\n\n\n\n\n\n\n

    value (String!)

    Email id.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n UserStatus\n

    \n

    The user's description of what they're currently doing.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    emoji (String)

    An emoji summarizing the user's status.

    \n\n\n\n\n\n\n\n\n\n\n\n

    emojiHTML (HTML)

    The status emoji as HTML.

    \n\n\n\n\n\n\n\n\n\n\n\n

    expiresAt (DateTime)

    If set, the status will not be shown after this date.

    \n\n\n\n\n\n\n\n\n\n\n\n

    id (ID!)

    ID of the object.

    \n\n\n\n\n\n\n\n\n\n\n\n

    indicatesLimitedAvailability (Boolean!)

    Whether this status indicates the user is not fully available on GitHub.

    \n\n\n\n\n\n\n\n\n\n\n\n

    message (String)

    A brief message describing what the user is doing.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organization (Organization)

    The organization whose members can see this status. If null, this status is publicly visible.

    \n\n\n\n\n\n\n\n\n\n\n\n

    updatedAt (DateTime!)

    Identifies the date and time when the object was last updated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    user (User!)

    The user who has this status.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n UserStatusConnection\n

    \n

    The connection type for UserStatus.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([UserStatusEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([UserStatus])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n UserStatusEdge\n

    \n

    An edge in a connection.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (UserStatus)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n VerifiableDomain\n

    \n

    A domain that can be verified for an organization or an enterprise.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    databaseId (Int)

    Identifies the primary key from the database.

    \n\n\n\n\n\n\n\n\n\n\n\n

    dnsHostName (URI)

    The DNS host name that should be used for verification.

    \n\n\n\n\n\n\n\n\n\n\n\n

    domain (URI!)

    The unicode encoded domain.

    \n\n\n\n\n\n\n\n\n\n\n\n

    hasFoundHostName (Boolean!)

    Whether a TXT record for verification with the expected host name was found.

    \n\n\n\n\n\n\n\n\n\n\n\n

    hasFoundVerificationToken (Boolean!)

    Whether a TXT record for verification with the expected verification token was found.

    \n\n\n\n\n\n\n\n\n\n\n\n

    isRequiredForPolicyEnforcement (Boolean!)

    Whether this domain is required to exist for an organization or enterprise policy to be enforced.

    \n\n\n\n\n\n\n\n\n\n\n\n

    isVerified (Boolean!)

    Whether or not the domain is verified.

    \n\n\n\n\n\n\n\n\n\n\n\n

    owner (VerifiableDomainOwner!)

    The owner of the domain.

    \n\n\n\n\n\n\n\n\n\n\n\n

    punycodeEncodedDomain (URI!)

    The punycode encoded domain.

    \n\n\n\n\n\n\n\n\n\n\n\n

    tokenExpirationTime (DateTime)

    The time that the current verification token will expire.

    \n\n\n\n\n\n\n\n\n\n\n\n

    updatedAt (DateTime!)

    Identifies the date and time when the object was last updated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    verificationToken (String)

    The current verification token for the domain.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n ViewerHovercardContext\n

    \n

    A hovercard context with a message describing how the viewer is related.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    message (String!)

    A string describing this context.

    \n\n\n\n\n\n\n\n\n\n\n\n

    octicon (String!)

    An octicon to accompany this context.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewer (User!)

    Identifies the user who is related to this context.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n", + "html": "
    \n
    \n

    \n ActorLocation\n

    \n

    Location information for an actor.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    city (String)

    City.

    \n\n\n\n\n\n\n\n\n\n\n\n

    country (String)

    Country name.

    \n\n\n\n\n\n\n\n\n\n\n\n

    countryCode (String)

    Country code.

    \n\n\n\n\n\n\n\n\n\n\n\n

    region (String)

    Region name.

    \n\n\n\n\n\n\n\n\n\n\n\n

    regionCode (String)

    Region or state code.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n AddedToProjectEvent\n

    \n

    Represents aadded_to_projectevent on a given issue or pull request.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    actor (Actor)

    Identifies the actor who performed the event.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    databaseId (Int)

    Identifies the primary key from the database.

    \n\n\n\n\n\n\n\n\n\n\n\n

    project (Project)

    Project referenced by event.

    \n\n\n\n\n
    \n

    Preview notice

    \n

    project is available under the Project event details preview. During the preview period, the API may change without notice.

    \n
    \n\n\n\n\n\n\n\n\n

    projectCard (ProjectCard)

    Project card referenced by this project event.

    \n\n\n\n\n
    \n

    Preview notice

    \n

    projectCard is available under the Project event details preview. During the preview period, the API may change without notice.

    \n
    \n\n\n\n\n\n\n\n\n

    projectColumnName (String!)

    Column name referenced by this project event.

    \n\n\n\n\n
    \n

    Preview notice

    \n

    projectColumnName is available under the Project event details preview. During the preview period, the API may change without notice.

    \n
    \n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n App\n

    \n

    A GitHub App.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    databaseId (Int)

    Identifies the primary key from the database.

    \n\n\n\n\n\n\n\n\n\n\n\n

    description (String)

    The description of the app.

    \n\n\n\n\n\n\n\n\n\n\n\n

    logoBackgroundColor (String!)

    The hex color code, without the leading '#', for the logo background.

    \n\n\n\n\n\n\n\n\n\n\n\n

    logoUrl (URI!)

    A URL pointing to the app's logo.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    size (Int)

    \n

    The size of the resulting image.

    \n\n
    \n\n
    \n\n\n

    name (String!)

    The name of the app.

    \n\n\n\n\n\n\n\n\n\n\n\n

    slug (String!)

    A slug based on the name of the app for use in URLs.

    \n\n\n\n\n\n\n\n\n\n\n\n

    updatedAt (DateTime!)

    Identifies the date and time when the object was last updated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    url (URI!)

    The URL to the app's homepage.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n AssignedEvent\n

    \n

    Represents anassignedevent on any assignable object.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    actor (Actor)

    Identifies the actor who performed the event.

    \n\n\n\n\n\n\n\n\n\n\n\n

    assignable (Assignable!)

    Identifies the assignable associated with the event.

    \n\n\n\n\n\n\n\n\n\n\n\n

    assignee (Assignee)

    Identifies the user or mannequin that was assigned.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    user (User)

    Identifies the user who was assigned.

    \n\n\n\n\n\n\n
    \n

    Deprecation notice

    \n

    user is deprecated.

    Assignees can now be mannequins. Use the assignee field instead. Removal on 2020-01-01 UTC.

    \n
    \n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n AutoMergeDisabledEvent\n

    \n

    Represents aauto_merge_disabledevent on a given pull request.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    actor (Actor)

    Identifies the actor who performed the event.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    disabler (User)

    The user who disabled auto-merge for this Pull Request.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pullRequest (PullRequest)

    PullRequest referenced by event.

    \n\n\n\n\n\n\n\n\n\n\n\n

    reason (String)

    The reason auto-merge was disabled.

    \n\n\n\n\n\n\n\n\n\n\n\n

    reasonCode (String)

    The reason_code relating to why auto-merge was disabled.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n AutoMergeEnabledEvent\n

    \n

    Represents aauto_merge_enabledevent on a given pull request.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    actor (Actor)

    Identifies the actor who performed the event.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    enabler (User)

    The user who enabled auto-merge for this Pull Request.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pullRequest (PullRequest)

    PullRequest referenced by event.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n AutoMergeRequest\n

    \n

    Represents an auto-merge request for a pull request.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    authorEmail (String)

    The email address of the author of this auto-merge request.

    \n\n\n\n\n\n\n\n\n\n\n\n

    commitBody (String)

    The commit message of the auto-merge request.

    \n\n\n\n\n\n\n\n\n\n\n\n

    commitHeadline (String)

    The commit title of the auto-merge request.

    \n\n\n\n\n\n\n\n\n\n\n\n

    enabledAt (DateTime)

    When was this auto-merge request was enabled.

    \n\n\n\n\n\n\n\n\n\n\n\n

    enabledBy (Actor)

    The actor who created the auto-merge request.

    \n\n\n\n\n\n\n\n\n\n\n\n

    mergeMethod (PullRequestMergeMethod!)

    The merge method of the auto-merge request.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pullRequest (PullRequest!)

    The pull request that this auto-merge request is set against.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n AutoRebaseEnabledEvent\n

    \n

    Represents aauto_rebase_enabledevent on a given pull request.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    actor (Actor)

    Identifies the actor who performed the event.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    enabler (User)

    The user who enabled auto-merge (rebase) for this Pull Request.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pullRequest (PullRequest)

    PullRequest referenced by event.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n AutoSquashEnabledEvent\n

    \n

    Represents aauto_squash_enabledevent on a given pull request.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    actor (Actor)

    Identifies the actor who performed the event.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    enabler (User)

    The user who enabled auto-merge (squash) for this Pull Request.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pullRequest (PullRequest)

    PullRequest referenced by event.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n AutomaticBaseChangeFailedEvent\n

    \n

    Represents aautomatic_base_change_failedevent on a given pull request.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    actor (Actor)

    Identifies the actor who performed the event.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    newBase (String!)

    The new base for this PR.

    \n\n\n\n\n\n\n\n\n\n\n\n

    oldBase (String!)

    The old base for this PR.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pullRequest (PullRequest!)

    PullRequest referenced by event.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n AutomaticBaseChangeSucceededEvent\n

    \n

    Represents aautomatic_base_change_succeededevent on a given pull request.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    actor (Actor)

    Identifies the actor who performed the event.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    newBase (String!)

    The new base for this PR.

    \n\n\n\n\n\n\n\n\n\n\n\n

    oldBase (String!)

    The old base for this PR.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pullRequest (PullRequest!)

    PullRequest referenced by event.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n BaseRefChangedEvent\n

    \n

    Represents abase_ref_changedevent on a given issue or pull request.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    actor (Actor)

    Identifies the actor who performed the event.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    currentRefName (String!)

    Identifies the name of the base ref for the pull request after it was changed.

    \n\n\n\n\n\n\n\n\n\n\n\n

    databaseId (Int)

    Identifies the primary key from the database.

    \n\n\n\n\n\n\n\n\n\n\n\n

    previousRefName (String!)

    Identifies the name of the base ref for the pull request before it was changed.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pullRequest (PullRequest!)

    PullRequest referenced by event.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n BaseRefDeletedEvent\n

    \n

    Represents abase_ref_deletedevent on a given pull request.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    actor (Actor)

    Identifies the actor who performed the event.

    \n\n\n\n\n\n\n\n\n\n\n\n

    baseRefName (String)

    Identifies the name of the Ref associated with the base_ref_deleted event.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pullRequest (PullRequest)

    PullRequest referenced by event.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n BaseRefForcePushedEvent\n

    \n

    Represents abase_ref_force_pushedevent on a given pull request.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    actor (Actor)

    Identifies the actor who performed the event.

    \n\n\n\n\n\n\n\n\n\n\n\n

    afterCommit (Commit)

    Identifies the after commit SHA for thebase_ref_force_pushedevent.

    \n\n\n\n\n\n\n\n\n\n\n\n

    beforeCommit (Commit)

    Identifies the before commit SHA for thebase_ref_force_pushedevent.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pullRequest (PullRequest!)

    PullRequest referenced by event.

    \n\n\n\n\n\n\n\n\n\n\n\n

    ref (Ref)

    Identifies the fully qualified ref name for thebase_ref_force_pushedevent.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n Blame\n

    \n

    Represents a Git blame.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    ranges ([BlameRange!]!)

    The list of ranges from a Git blame.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n BlameRange\n

    \n

    Represents a range of information from a Git blame.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    age (Int!)

    Identifies the recency of the change, from 1 (new) to 10 (old). This is\ncalculated as a 2-quantile and determines the length of distance between the\nmedian age of all the changes in the file and the recency of the current\nrange's change.

    \n\n\n\n\n\n\n\n\n\n\n\n

    commit (Commit!)

    Identifies the line author.

    \n\n\n\n\n\n\n\n\n\n\n\n

    endingLine (Int!)

    The ending line for the range.

    \n\n\n\n\n\n\n\n\n\n\n\n

    startingLine (Int!)

    The starting line for the range.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n Blob\n

    \n

    Represents a Git blob.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    abbreviatedOid (String!)

    An abbreviated version of the Git object ID.

    \n\n\n\n\n\n\n\n\n\n\n\n

    byteSize (Int!)

    Byte size of Blob object.

    \n\n\n\n\n\n\n\n\n\n\n\n

    commitResourcePath (URI!)

    The HTTP path for this Git object.

    \n\n\n\n\n\n\n\n\n\n\n\n

    commitUrl (URI!)

    The HTTP URL for this Git object.

    \n\n\n\n\n\n\n\n\n\n\n\n

    isBinary (Boolean)

    Indicates whether the Blob is binary or text. Returns null if unable to determine the encoding.

    \n\n\n\n\n\n\n\n\n\n\n\n

    isTruncated (Boolean!)

    Indicates whether the contents is truncated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    oid (GitObjectID!)

    The Git object ID.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repository (Repository!)

    The Repository the Git object belongs to.

    \n\n\n\n\n\n\n\n\n\n\n\n

    text (String)

    UTF8 text data or null if the Blob is binary.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n Bot\n

    \n

    A special type of user which takes actions on behalf of GitHub Apps.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    avatarUrl (URI!)

    A URL pointing to the GitHub App's public avatar.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    size (Int)

    \n

    The size of the resulting square image.

    \n\n
    \n\n
    \n\n\n

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    databaseId (Int)

    Identifies the primary key from the database.

    \n\n\n\n\n\n\n\n\n\n\n\n

    login (String!)

    The username of the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    resourcePath (URI!)

    The HTTP path for this bot.

    \n\n\n\n\n\n\n\n\n\n\n\n

    updatedAt (DateTime!)

    Identifies the date and time when the object was last updated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    url (URI!)

    The HTTP URL for this bot.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n BranchProtectionRule\n

    \n

    A branch protection rule.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    allowsDeletions (Boolean!)

    Can this branch be deleted.

    \n\n\n\n\n\n\n\n\n\n\n\n

    allowsForcePushes (Boolean!)

    Are force pushes allowed on this branch.

    \n\n\n\n\n\n\n\n\n\n\n\n

    branchProtectionRuleConflicts (BranchProtectionRuleConflictConnection!)

    A list of conflicts matching branches protection rule and other branch protection rules.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n\n\n

    creator (Actor)

    The actor who created this branch protection rule.

    \n\n\n\n\n\n\n\n\n\n\n\n

    databaseId (Int)

    Identifies the primary key from the database.

    \n\n\n\n\n\n\n\n\n\n\n\n

    dismissesStaleReviews (Boolean!)

    Will new commits pushed to matching branches dismiss pull request review approvals.

    \n\n\n\n\n\n\n\n\n\n\n\n

    isAdminEnforced (Boolean!)

    Can admins overwrite branch protection.

    \n\n\n\n\n\n\n\n\n\n\n\n

    matchingRefs (RefConnection!)

    Repository refs that are protected by this rule.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    query (String)

    \n

    Filters refs with query on name.

    \n\n
    \n\n
    \n\n\n

    pattern (String!)

    Identifies the protection rule pattern.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pushAllowances (PushAllowanceConnection!)

    A list push allowances for this branch protection rule.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n\n\n

    repository (Repository)

    The repository associated with this branch protection rule.

    \n\n\n\n\n\n\n\n\n\n\n\n

    requiredApprovingReviewCount (Int)

    Number of approving reviews required to update matching branches.

    \n\n\n\n\n\n\n\n\n\n\n\n

    requiredStatusCheckContexts ([String])

    List of required status check contexts that must pass for commits to be accepted to matching branches.

    \n\n\n\n\n\n\n\n\n\n\n\n

    requiresApprovingReviews (Boolean!)

    Are approving reviews required to update matching branches.

    \n\n\n\n\n\n\n\n\n\n\n\n

    requiresCodeOwnerReviews (Boolean!)

    Are reviews from code owners required to update matching branches.

    \n\n\n\n\n\n\n\n\n\n\n\n

    requiresCommitSignatures (Boolean!)

    Are commits required to be signed.

    \n\n\n\n\n\n\n\n\n\n\n\n

    requiresLinearHistory (Boolean!)

    Are merge commits prohibited from being pushed to this branch.

    \n\n\n\n\n\n\n\n\n\n\n\n

    requiresStatusChecks (Boolean!)

    Are status checks required to update matching branches.

    \n\n\n\n\n\n\n\n\n\n\n\n

    requiresStrictStatusChecks (Boolean!)

    Are branches required to be up to date before merging.

    \n\n\n\n\n\n\n\n\n\n\n\n

    restrictsPushes (Boolean!)

    Is pushing to matching branches restricted.

    \n\n\n\n\n\n\n\n\n\n\n\n

    restrictsReviewDismissals (Boolean!)

    Is dismissal of pull request reviews restricted.

    \n\n\n\n\n\n\n\n\n\n\n\n

    reviewDismissalAllowances (ReviewDismissalAllowanceConnection!)

    A list review dismissal allowances for this branch protection rule.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n BranchProtectionRuleConflict\n

    \n

    A conflict between two branch protection rules.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    branchProtectionRule (BranchProtectionRule)

    Identifies the branch protection rule.

    \n\n\n\n\n\n\n\n\n\n\n\n

    conflictingBranchProtectionRule (BranchProtectionRule)

    Identifies the conflicting branch protection rule.

    \n\n\n\n\n\n\n\n\n\n\n\n

    ref (Ref)

    Identifies the branch ref that has conflicting rules.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n BranchProtectionRuleConflictConnection\n

    \n

    The connection type for BranchProtectionRuleConflict.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([BranchProtectionRuleConflictEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([BranchProtectionRuleConflict])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n BranchProtectionRuleConflictEdge\n

    \n

    An edge in a connection.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (BranchProtectionRuleConflict)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n BranchProtectionRuleConnection\n

    \n

    The connection type for BranchProtectionRule.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([BranchProtectionRuleEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([BranchProtectionRule])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n BranchProtectionRuleEdge\n

    \n

    An edge in a connection.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (BranchProtectionRule)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n CVSS\n

    \n

    The Common Vulnerability Scoring System.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    score (Float!)

    The CVSS score associated with this advisory.

    \n\n\n\n\n\n\n\n\n\n\n\n

    vectorString (String)

    The CVSS vector string associated with this advisory.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n CWE\n

    \n

    A common weakness enumeration.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cweId (String!)

    The id of the CWE.

    \n\n\n\n\n\n\n\n\n\n\n\n

    description (String!)

    A detailed description of this CWE.

    \n\n\n\n\n\n\n\n\n\n\n\n

    id (ID!)

    ID of the object.

    \n\n\n\n\n\n\n\n\n\n\n\n

    name (String!)

    The name of this CWE.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n CWEConnection\n

    \n

    The connection type for CWE.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([CWEEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([CWE])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n CWEEdge\n

    \n

    An edge in a connection.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (CWE)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n CheckAnnotation\n

    \n

    A single check annotation.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    annotationLevel (CheckAnnotationLevel)

    The annotation's severity level.

    \n\n\n\n\n\n\n\n\n\n\n\n

    blobUrl (URI!)

    The path to the file that this annotation was made on.

    \n\n\n\n\n\n\n\n\n\n\n\n

    databaseId (Int)

    Identifies the primary key from the database.

    \n\n\n\n\n\n\n\n\n\n\n\n

    location (CheckAnnotationSpan!)

    The position of this annotation.

    \n\n\n\n\n\n\n\n\n\n\n\n

    message (String!)

    The annotation's message.

    \n\n\n\n\n\n\n\n\n\n\n\n

    path (String!)

    The path that this annotation was made on.

    \n\n\n\n\n\n\n\n\n\n\n\n

    rawDetails (String)

    Additional information about the annotation.

    \n\n\n\n\n\n\n\n\n\n\n\n

    title (String)

    The annotation's title.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n CheckAnnotationConnection\n

    \n

    The connection type for CheckAnnotation.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([CheckAnnotationEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([CheckAnnotation])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n CheckAnnotationEdge\n

    \n

    An edge in a connection.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (CheckAnnotation)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n CheckAnnotationPosition\n

    \n

    A character position in a check annotation.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    column (Int)

    Column number (1 indexed).

    \n\n\n\n\n\n\n\n\n\n\n\n

    line (Int!)

    Line number (1 indexed).

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n CheckAnnotationSpan\n

    \n

    An inclusive pair of positions for a check annotation.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    end (CheckAnnotationPosition!)

    End position (inclusive).

    \n\n\n\n\n\n\n\n\n\n\n\n

    start (CheckAnnotationPosition!)

    Start position (inclusive).

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n CheckRun\n

    \n

    A check run.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    annotations (CheckAnnotationConnection)

    The check run's annotations.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n\n\n

    checkSuite (CheckSuite!)

    The check suite that this run is a part of.

    \n\n\n\n\n\n\n\n\n\n\n\n

    completedAt (DateTime)

    Identifies the date and time when the check run was completed.

    \n\n\n\n\n\n\n\n\n\n\n\n

    conclusion (CheckConclusionState)

    The conclusion of the check run.

    \n\n\n\n\n\n\n\n\n\n\n\n

    databaseId (Int)

    Identifies the primary key from the database.

    \n\n\n\n\n\n\n\n\n\n\n\n

    detailsUrl (URI)

    The URL from which to find full details of the check run on the integrator's site.

    \n\n\n\n\n\n\n\n\n\n\n\n

    externalId (String)

    A reference for the check run on the integrator's system.

    \n\n\n\n\n\n\n\n\n\n\n\n

    isRequired (Boolean!)

    Whether this is required to pass before merging for a specific pull request.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    pullRequestId (ID)

    \n

    The id of the pull request this is required for.

    \n\n
    \n\n
    \n

    pullRequestNumber (Int)

    \n

    The number of the pull request this is required for.

    \n\n
    \n\n
    \n\n\n

    name (String!)

    The name of the check for this check run.

    \n\n\n\n\n\n\n\n\n\n\n\n

    permalink (URI!)

    The permalink to the check run summary.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repository (Repository!)

    The repository associated with this check run.

    \n\n\n\n\n\n\n\n\n\n\n\n

    resourcePath (URI!)

    The HTTP path for this check run.

    \n\n\n\n\n\n\n\n\n\n\n\n

    startedAt (DateTime)

    Identifies the date and time when the check run was started.

    \n\n\n\n\n\n\n\n\n\n\n\n

    status (CheckStatusState!)

    The current status of the check run.

    \n\n\n\n\n\n\n\n\n\n\n\n

    summary (String)

    A string representing the check run's summary.

    \n\n\n\n\n\n\n\n\n\n\n\n

    text (String)

    A string representing the check run's text.

    \n\n\n\n\n\n\n\n\n\n\n\n

    title (String)

    A string representing the check run.

    \n\n\n\n\n\n\n\n\n\n\n\n

    url (URI!)

    The HTTP URL for this check run.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n CheckRunConnection\n

    \n

    The connection type for CheckRun.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([CheckRunEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([CheckRun])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n CheckRunEdge\n

    \n

    An edge in a connection.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (CheckRun)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n CheckSuite\n

    \n

    A check suite.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    app (App)

    The GitHub App which created this check suite.

    \n\n\n\n\n\n\n\n\n\n\n\n

    branch (Ref)

    The name of the branch for this check suite.

    \n\n\n\n\n\n\n\n\n\n\n\n

    checkRuns (CheckRunConnection)

    The check runs associated with a check suite.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    filterBy (CheckRunFilter)

    \n

    Filters the check runs by this type.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n\n\n

    commit (Commit!)

    The commit for this check suite.

    \n\n\n\n\n\n\n\n\n\n\n\n

    conclusion (CheckConclusionState)

    The conclusion of this check suite.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    databaseId (Int)

    Identifies the primary key from the database.

    \n\n\n\n\n\n\n\n\n\n\n\n

    matchingPullRequests (PullRequestConnection)

    A list of open pull requests matching the check suite.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    baseRefName (String)

    \n

    The base ref name to filter the pull requests by.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    headRefName (String)

    \n

    The head ref name to filter the pull requests by.

    \n\n
    \n\n
    \n

    labels ([String!])

    \n

    A list of label names to filter the pull requests by.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (IssueOrder)

    \n

    Ordering options for pull requests returned from the connection.

    \n\n
    \n\n
    \n

    states ([PullRequestState!])

    \n

    A list of states to filter the pull requests by.

    \n\n
    \n\n
    \n\n\n

    push (Push)

    The push that triggered this check suite.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repository (Repository!)

    The repository associated with this check suite.

    \n\n\n\n\n\n\n\n\n\n\n\n

    resourcePath (URI!)

    The HTTP path for this check suite.

    \n\n\n\n\n\n\n\n\n\n\n\n

    status (CheckStatusState!)

    The status of this check suite.

    \n\n\n\n\n\n\n\n\n\n\n\n

    updatedAt (DateTime!)

    Identifies the date and time when the object was last updated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    url (URI!)

    The HTTP URL for this check suite.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n CheckSuiteConnection\n

    \n

    The connection type for CheckSuite.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([CheckSuiteEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([CheckSuite])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n CheckSuiteEdge\n

    \n

    An edge in a connection.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (CheckSuite)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n ClosedEvent\n

    \n

    Represents aclosedevent on any Closable.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    actor (Actor)

    Identifies the actor who performed the event.

    \n\n\n\n\n\n\n\n\n\n\n\n

    closable (Closable!)

    Object that was closed.

    \n\n\n\n\n\n\n\n\n\n\n\n

    closer (Closer)

    Object which triggered the creation of this event.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    resourcePath (URI!)

    The HTTP path for this closed event.

    \n\n\n\n\n\n\n\n\n\n\n\n

    url (URI!)

    The HTTP URL for this closed event.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n CodeOfConduct\n

    \n

    The Code of Conduct for a repository.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    body (String)

    The body of the Code of Conduct.

    \n\n\n\n\n\n\n\n\n\n\n\n

    key (String!)

    The key for the Code of Conduct.

    \n\n\n\n\n\n\n\n\n\n\n\n

    name (String!)

    The formal name of the Code of Conduct.

    \n\n\n\n\n\n\n\n\n\n\n\n

    resourcePath (URI)

    The HTTP path for this Code of Conduct.

    \n\n\n\n\n\n\n\n\n\n\n\n

    url (URI)

    The HTTP URL for this Code of Conduct.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n CommentDeletedEvent\n

    \n

    Represents acomment_deletedevent on a given issue or pull request.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    actor (Actor)

    Identifies the actor who performed the event.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    databaseId (Int)

    Identifies the primary key from the database.

    \n\n\n\n\n\n\n\n\n\n\n\n

    deletedCommentAuthor (Actor)

    The user who authored the deleted comment.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n Commit\n

    \n

    Represents a Git commit.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    abbreviatedOid (String!)

    An abbreviated version of the Git object ID.

    \n\n\n\n\n\n\n\n\n\n\n\n

    additions (Int!)

    The number of additions in this commit.

    \n\n\n\n\n\n\n\n\n\n\n\n

    associatedPullRequests (PullRequestConnection)

    The pull requests associated with a commit.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (PullRequestOrder)

    \n

    Ordering options for pull requests.

    \n\n
    \n\n
    \n\n\n

    author (GitActor)

    Authorship details of the commit.

    \n\n\n\n\n\n\n\n\n\n\n\n

    authoredByCommitter (Boolean!)

    Check if the committer and the author match.

    \n\n\n\n\n\n\n\n\n\n\n\n

    authoredDate (DateTime!)

    The datetime when this commit was authored.

    \n\n\n\n\n\n\n\n\n\n\n\n

    authors (GitActorConnection!)

    The list of authors for this commit based on the git author and the Co-authored-by\nmessage trailer. The git author will always be first.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n\n\n

    blame (Blame!)

    Fetches git blame information.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    path (String!)

    \n

    The file whose Git blame information you want.

    \n\n
    \n\n
    \n\n\n

    changedFiles (Int!)

    The number of changed files in this commit.

    \n\n\n\n\n\n\n\n\n\n\n\n

    checkSuites (CheckSuiteConnection)

    The check suites associated with a commit.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    filterBy (CheckSuiteFilter)

    \n

    Filters the check suites by this type.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n\n\n

    comments (CommitCommentConnection!)

    Comments made on the commit.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n\n\n

    commitResourcePath (URI!)

    The HTTP path for this Git object.

    \n\n\n\n\n\n\n\n\n\n\n\n

    commitUrl (URI!)

    The HTTP URL for this Git object.

    \n\n\n\n\n\n\n\n\n\n\n\n

    committedDate (DateTime!)

    The datetime when this commit was committed.

    \n\n\n\n\n\n\n\n\n\n\n\n

    committedViaWeb (Boolean!)

    Check if committed via GitHub web UI.

    \n\n\n\n\n\n\n\n\n\n\n\n

    committer (GitActor)

    Committer details of the commit.

    \n\n\n\n\n\n\n\n\n\n\n\n

    deletions (Int!)

    The number of deletions in this commit.

    \n\n\n\n\n\n\n\n\n\n\n\n

    deployments (DeploymentConnection)

    The deployments associated with a commit.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    environments ([String!])

    \n

    Environments to list deployments for.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (DeploymentOrder)

    \n

    Ordering options for deployments returned from the connection.

    \n\n
    \n\n
    \n\n\n

    file (TreeEntry)

    The tree entry representing the file located at the given path.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    path (String!)

    \n

    The path for the file.

    \n\n
    \n\n
    \n\n\n

    history (CommitHistoryConnection!)

    The linear commit history starting from (and including) this commit, in the same order as git log.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    author (CommitAuthor)

    \n

    If non-null, filters history to only show commits with matching authorship.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    path (String)

    \n

    If non-null, filters history to only show commits touching files under this path.

    \n\n
    \n\n
    \n

    since (GitTimestamp)

    \n

    Allows specifying a beginning time or date for fetching commits.

    \n\n
    \n\n
    \n

    until (GitTimestamp)

    \n

    Allows specifying an ending time or date for fetching commits.

    \n\n
    \n\n
    \n\n\n

    message (String!)

    The Git commit message.

    \n\n\n\n\n\n\n\n\n\n\n\n

    messageBody (String!)

    The Git commit message body.

    \n\n\n\n\n\n\n\n\n\n\n\n

    messageBodyHTML (HTML!)

    The commit message body rendered to HTML.

    \n\n\n\n\n\n\n\n\n\n\n\n

    messageHeadline (String!)

    The Git commit message headline.

    \n\n\n\n\n\n\n\n\n\n\n\n

    messageHeadlineHTML (HTML!)

    The commit message headline rendered to HTML.

    \n\n\n\n\n\n\n\n\n\n\n\n

    oid (GitObjectID!)

    The Git object ID.

    \n\n\n\n\n\n\n\n\n\n\n\n

    onBehalfOf (Organization)

    The organization this commit was made on behalf of.

    \n\n\n\n\n\n\n\n\n\n\n\n

    parents (CommitConnection!)

    The parents of a commit.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n\n\n

    pushedDate (DateTime)

    The datetime when this commit was pushed.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repository (Repository!)

    The Repository this commit belongs to.

    \n\n\n\n\n\n\n\n\n\n\n\n

    resourcePath (URI!)

    The HTTP path for this commit.

    \n\n\n\n\n\n\n\n\n\n\n\n

    signature (GitSignature)

    Commit signing information, if present.

    \n\n\n\n\n\n\n\n\n\n\n\n

    status (Status)

    Status information for this commit.

    \n\n\n\n\n\n\n\n\n\n\n\n

    statusCheckRollup (StatusCheckRollup)

    Check and Status rollup information for this commit.

    \n\n\n\n\n\n\n\n\n\n\n\n

    submodules (SubmoduleConnection!)

    Returns a list of all submodules in this repository as of this Commit parsed from the .gitmodules file.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n\n\n

    tarballUrl (URI!)

    Returns a URL to download a tarball archive for a repository.\nNote: For private repositories, these links are temporary and expire after five minutes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    tree (Tree!)

    Commit's root Tree.

    \n\n\n\n\n\n\n\n\n\n\n\n

    treeResourcePath (URI!)

    The HTTP path for the tree of this commit.

    \n\n\n\n\n\n\n\n\n\n\n\n

    treeUrl (URI!)

    The HTTP URL for the tree of this commit.

    \n\n\n\n\n\n\n\n\n\n\n\n

    url (URI!)

    The HTTP URL for this commit.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerCanSubscribe (Boolean!)

    Check if the viewer is able to change their subscription status for the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerSubscription (SubscriptionState)

    Identifies if the viewer is watching, not watching, or ignoring the subscribable entity.

    \n\n\n\n\n\n\n\n\n\n\n\n

    zipballUrl (URI!)

    Returns a URL to download a zipball archive for a repository.\nNote: For private repositories, these links are temporary and expire after five minutes.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n CommitComment\n

    \n

    Represents a comment on a given Commit.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    author (Actor)

    The actor who authored the comment.

    \n\n\n\n\n\n\n\n\n\n\n\n

    authorAssociation (CommentAuthorAssociation!)

    Author's association with the subject of the comment.

    \n\n\n\n\n\n\n\n\n\n\n\n

    body (String!)

    Identifies the comment body.

    \n\n\n\n\n\n\n\n\n\n\n\n

    bodyHTML (HTML!)

    The body rendered to HTML.

    \n\n\n\n\n\n\n\n\n\n\n\n

    bodyText (String!)

    The body rendered to text.

    \n\n\n\n\n\n\n\n\n\n\n\n

    commit (Commit)

    Identifies the commit associated with the comment, if the commit exists.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdViaEmail (Boolean!)

    Check if this comment was created via an email reply.

    \n\n\n\n\n\n\n\n\n\n\n\n

    databaseId (Int)

    Identifies the primary key from the database.

    \n\n\n\n\n\n\n\n\n\n\n\n

    editor (Actor)

    The actor who edited the comment.

    \n\n\n\n\n\n\n\n\n\n\n\n

    includesCreatedEdit (Boolean!)

    Check if this comment was edited and includes an edit with the creation data.

    \n\n\n\n\n\n\n\n\n\n\n\n

    isMinimized (Boolean!)

    Returns whether or not a comment has been minimized.

    \n\n\n\n\n\n\n\n\n\n\n\n

    lastEditedAt (DateTime)

    The moment the editor made the last edit.

    \n\n\n\n\n\n\n\n\n\n\n\n

    minimizedReason (String)

    Returns why the comment was minimized.

    \n\n\n\n\n\n\n\n\n\n\n\n

    path (String)

    Identifies the file path associated with the comment.

    \n\n\n\n\n\n\n\n\n\n\n\n

    position (Int)

    Identifies the line position associated with the comment.

    \n\n\n\n\n\n\n\n\n\n\n\n

    publishedAt (DateTime)

    Identifies when the comment was published at.

    \n\n\n\n\n\n\n\n\n\n\n\n

    reactionGroups ([ReactionGroup!])

    A list of reactions grouped by content left on the subject.

    \n\n\n\n\n\n\n\n\n\n\n\n

    reactions (ReactionConnection!)

    A list of Reactions left on the Issue.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    content (ReactionContent)

    \n

    Allows filtering Reactions by emoji.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (ReactionOrder)

    \n

    Allows specifying the order in which reactions are returned.

    \n\n
    \n\n
    \n\n\n

    repository (Repository!)

    The repository associated with this node.

    \n\n\n\n\n\n\n\n\n\n\n\n

    resourcePath (URI!)

    The HTTP path permalink for this commit comment.

    \n\n\n\n\n\n\n\n\n\n\n\n

    updatedAt (DateTime!)

    Identifies the date and time when the object was last updated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    url (URI!)

    The HTTP URL permalink for this commit comment.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userContentEdits (UserContentEditConnection)

    A list of edits to this content.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n\n\n

    viewerCanDelete (Boolean!)

    Check if the current viewer can delete this object.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerCanMinimize (Boolean!)

    Check if the current viewer can minimize this object.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerCanReact (Boolean!)

    Can user react to this subject.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerCanUpdate (Boolean!)

    Check if the current viewer can update this object.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerCannotUpdateReasons ([CommentCannotUpdateReason!]!)

    Reasons why the current viewer can not update this comment.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerDidAuthor (Boolean!)

    Did the viewer author this comment.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n CommitCommentConnection\n

    \n

    The connection type for CommitComment.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([CommitCommentEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([CommitComment])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n CommitCommentEdge\n

    \n

    An edge in a connection.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (CommitComment)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n CommitCommentThread\n

    \n

    A thread of comments on a commit.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    comments (CommitCommentConnection!)

    The comments that exist in this thread.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n\n\n

    commit (Commit)

    The commit the comments were made on.

    \n\n\n\n\n\n\n\n\n\n\n\n

    path (String)

    The file the comments were made on.

    \n\n\n\n\n\n\n\n\n\n\n\n

    position (Int)

    The position in the diff for the commit that the comment was made on.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repository (Repository!)

    The repository associated with this node.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n CommitConnection\n

    \n

    The connection type for Commit.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([CommitEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([Commit])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n CommitContributionsByRepository\n

    \n

    This aggregates commits made by a user within one repository.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    contributions (CreatedCommitContributionConnection!)

    The commit contributions, each representing a day.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (CommitContributionOrder)

    \n

    Ordering options for commit contributions returned from the connection.

    \n\n
    \n\n
    \n\n\n

    repository (Repository!)

    The repository in which the commits were made.

    \n\n\n\n\n\n\n\n\n\n\n\n

    resourcePath (URI!)

    The HTTP path for the user's commits to the repository in this time range.

    \n\n\n\n\n\n\n\n\n\n\n\n

    url (URI!)

    The HTTP URL for the user's commits to the repository in this time range.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n CommitEdge\n

    \n

    An edge in a connection.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (Commit)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n CommitHistoryConnection\n

    \n

    The connection type for Commit.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([CommitEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([Commit])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n ConnectedEvent\n

    \n

    Represents aconnectedevent on a given issue or pull request.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    actor (Actor)

    Identifies the actor who performed the event.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    isCrossRepository (Boolean!)

    Reference originated in a different repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    source (ReferencedSubject!)

    Issue or pull request that made the reference.

    \n\n\n\n\n\n\n\n\n\n\n\n

    subject (ReferencedSubject!)

    Issue or pull request which was connected.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n ContentAttachment\n

    \n

    A content attachment.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    body (String!)

    The body text of the content attachment. This parameter supports markdown.

    \n\n\n\n\n\n\n\n\n\n\n\n

    contentReference (ContentReference!)

    The content reference that the content attachment is attached to.

    \n\n\n\n\n\n\n\n\n\n\n\n

    databaseId (Int!)

    Identifies the primary key from the database.

    \n\n\n\n\n\n\n\n\n\n\n\n

    title (String!)

    The title of the content attachment.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n ContentReference\n

    \n

    A content reference.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    databaseId (Int!)

    Identifies the primary key from the database.

    \n\n\n\n\n\n\n\n\n\n\n\n

    reference (String!)

    The reference of the content reference.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n ContributionCalendar\n

    \n

    A calendar of contributions made on GitHub by a user.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    colors ([String!]!)

    A list of hex color codes used in this calendar. The darker the color, the more contributions it represents.

    \n\n\n\n\n\n\n\n\n\n\n\n

    isHalloween (Boolean!)

    Determine if the color set was chosen because it's currently Halloween.

    \n\n\n\n\n\n\n\n\n\n\n\n

    months ([ContributionCalendarMonth!]!)

    A list of the months of contributions in this calendar.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalContributions (Int!)

    The count of total contributions in the calendar.

    \n\n\n\n\n\n\n\n\n\n\n\n

    weeks ([ContributionCalendarWeek!]!)

    A list of the weeks of contributions in this calendar.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n ContributionCalendarDay\n

    \n

    Represents a single day of contributions on GitHub by a user.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    color (String!)

    The hex color code that represents how many contributions were made on this day compared to others in the calendar.

    \n\n\n\n\n\n\n\n\n\n\n\n

    contributionCount (Int!)

    How many contributions were made by the user on this day.

    \n\n\n\n\n\n\n\n\n\n\n\n

    contributionLevel (ContributionLevel!)

    Indication of contributions, relative to other days. Can be used to indicate\nwhich color to represent this day on a calendar.

    \n\n\n\n\n\n\n\n\n\n\n\n

    date (Date!)

    The day this square represents.

    \n\n\n\n\n\n\n\n\n\n\n\n

    weekday (Int!)

    A number representing which day of the week this square represents, e.g., 1 is Monday.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n ContributionCalendarMonth\n

    \n

    A month of contributions in a user's contribution graph.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    firstDay (Date!)

    The date of the first day of this month.

    \n\n\n\n\n\n\n\n\n\n\n\n

    name (String!)

    The name of the month.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalWeeks (Int!)

    How many weeks started in this month.

    \n\n\n\n\n\n\n\n\n\n\n\n

    year (Int!)

    The year the month occurred in.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n ContributionCalendarWeek\n

    \n

    A week of contributions in a user's contribution graph.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    contributionDays ([ContributionCalendarDay!]!)

    The days of contributions in this week.

    \n\n\n\n\n\n\n\n\n\n\n\n

    firstDay (Date!)

    The date of the earliest square in this week.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n ContributionsCollection\n

    \n

    A contributions collection aggregates contributions such as opened issues and commits created by a user.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    commitContributionsByRepository ([CommitContributionsByRepository!]!)

    Commit contributions made by the user, grouped by repository.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    maxRepositories (Int)

    \n

    How many repositories should be included.

    \n

    The default value is 25.

    \n
    \n\n
    \n\n\n

    contributionCalendar (ContributionCalendar!)

    A calendar of this user's contributions on GitHub.

    \n\n\n\n\n\n\n\n\n\n\n\n

    contributionYears ([Int!]!)

    The years the user has been making contributions with the most recent year first.

    \n\n\n\n\n\n\n\n\n\n\n\n

    doesEndInCurrentMonth (Boolean!)

    Determine if this collection's time span ends in the current month.

    \n\n\n\n\n\n\n\n\n\n\n\n

    earliestRestrictedContributionDate (Date)

    The date of the first restricted contribution the user made in this time\nperiod. Can only be non-null when the user has enabled private contribution counts.

    \n\n\n\n\n\n\n\n\n\n\n\n

    endedAt (DateTime!)

    The ending date and time of this collection.

    \n\n\n\n\n\n\n\n\n\n\n\n

    firstIssueContribution (CreatedIssueOrRestrictedContribution)

    The first issue the user opened on GitHub. This will be null if that issue was\nopened outside the collection's time range and ignoreTimeRange is false. If\nthe issue is not visible but the user has opted to show private contributions,\na RestrictedContribution will be returned.

    \n\n\n\n\n\n\n\n\n\n\n\n

    firstPullRequestContribution (CreatedPullRequestOrRestrictedContribution)

    The first pull request the user opened on GitHub. This will be null if that\npull request was opened outside the collection's time range and\nignoreTimeRange is not true. If the pull request is not visible but the user\nhas opted to show private contributions, a RestrictedContribution will be returned.

    \n\n\n\n\n\n\n\n\n\n\n\n

    firstRepositoryContribution (CreatedRepositoryOrRestrictedContribution)

    The first repository the user created on GitHub. This will be null if that\nfirst repository was created outside the collection's time range and\nignoreTimeRange is false. If the repository is not visible, then a\nRestrictedContribution is returned.

    \n\n\n\n\n\n\n\n\n\n\n\n

    hasActivityInThePast (Boolean!)

    Does the user have any more activity in the timeline that occurred prior to the collection's time range?.

    \n\n\n\n\n\n\n\n\n\n\n\n

    hasAnyContributions (Boolean!)

    Determine if there are any contributions in this collection.

    \n\n\n\n\n\n\n\n\n\n\n\n

    hasAnyRestrictedContributions (Boolean!)

    Determine if the user made any contributions in this time frame whose details\nare not visible because they were made in a private repository. Can only be\ntrue if the user enabled private contribution counts.

    \n\n\n\n\n\n\n\n\n\n\n\n

    isSingleDay (Boolean!)

    Whether or not the collector's time span is all within the same day.

    \n\n\n\n\n\n\n\n\n\n\n\n

    issueContributions (CreatedIssueContributionConnection!)

    A list of issues the user opened.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    excludeFirst (Boolean)

    \n

    Should the user's first issue ever be excluded from the result.

    \n

    The default value is false.

    \n
    \n\n
    \n

    excludePopular (Boolean)

    \n

    Should the user's most commented issue be excluded from the result.

    \n

    The default value is false.

    \n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (ContributionOrder)

    \n

    Ordering options for contributions returned from the connection.

    \n\n
    \n\n
    \n\n\n

    issueContributionsByRepository ([IssueContributionsByRepository!]!)

    Issue contributions made by the user, grouped by repository.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    excludeFirst (Boolean)

    \n

    Should the user's first issue ever be excluded from the result.

    \n

    The default value is false.

    \n
    \n\n
    \n

    excludePopular (Boolean)

    \n

    Should the user's most commented issue be excluded from the result.

    \n

    The default value is false.

    \n
    \n\n
    \n

    maxRepositories (Int)

    \n

    How many repositories should be included.

    \n

    The default value is 25.

    \n
    \n\n
    \n\n\n

    joinedGitHubContribution (JoinedGitHubContribution)

    When the user signed up for GitHub. This will be null if that sign up date\nfalls outside the collection's time range and ignoreTimeRange is false.

    \n\n\n\n\n\n\n\n\n\n\n\n

    latestRestrictedContributionDate (Date)

    The date of the most recent restricted contribution the user made in this time\nperiod. Can only be non-null when the user has enabled private contribution counts.

    \n\n\n\n\n\n\n\n\n\n\n\n

    mostRecentCollectionWithActivity (ContributionsCollection)

    When this collection's time range does not include any activity from the user, use this\nto get a different collection from an earlier time range that does have activity.

    \n\n\n\n\n\n\n\n\n\n\n\n

    mostRecentCollectionWithoutActivity (ContributionsCollection)

    Returns a different contributions collection from an earlier time range than this one\nthat does not have any contributions.

    \n\n\n\n\n\n\n\n\n\n\n\n

    popularIssueContribution (CreatedIssueContribution)

    The issue the user opened on GitHub that received the most comments in the specified\ntime frame.

    \n\n\n\n\n\n\n\n\n\n\n\n

    popularPullRequestContribution (CreatedPullRequestContribution)

    The pull request the user opened on GitHub that received the most comments in the\nspecified time frame.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pullRequestContributions (CreatedPullRequestContributionConnection!)

    Pull request contributions made by the user.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    excludeFirst (Boolean)

    \n

    Should the user's first pull request ever be excluded from the result.

    \n

    The default value is false.

    \n
    \n\n
    \n

    excludePopular (Boolean)

    \n

    Should the user's most commented pull request be excluded from the result.

    \n

    The default value is false.

    \n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (ContributionOrder)

    \n

    Ordering options for contributions returned from the connection.

    \n\n
    \n\n
    \n\n\n

    pullRequestContributionsByRepository ([PullRequestContributionsByRepository!]!)

    Pull request contributions made by the user, grouped by repository.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    excludeFirst (Boolean)

    \n

    Should the user's first pull request ever be excluded from the result.

    \n

    The default value is false.

    \n
    \n\n
    \n

    excludePopular (Boolean)

    \n

    Should the user's most commented pull request be excluded from the result.

    \n

    The default value is false.

    \n
    \n\n
    \n

    maxRepositories (Int)

    \n

    How many repositories should be included.

    \n

    The default value is 25.

    \n
    \n\n
    \n\n\n

    pullRequestReviewContributions (CreatedPullRequestReviewContributionConnection!)

    Pull request review contributions made by the user.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (ContributionOrder)

    \n

    Ordering options for contributions returned from the connection.

    \n\n
    \n\n
    \n\n\n

    pullRequestReviewContributionsByRepository ([PullRequestReviewContributionsByRepository!]!)

    Pull request review contributions made by the user, grouped by repository.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    maxRepositories (Int)

    \n

    How many repositories should be included.

    \n

    The default value is 25.

    \n
    \n\n
    \n\n\n

    repositoryContributions (CreatedRepositoryContributionConnection!)

    A list of repositories owned by the user that the user created in this time range.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    excludeFirst (Boolean)

    \n

    Should the user's first repository ever be excluded from the result.

    \n

    The default value is false.

    \n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (ContributionOrder)

    \n

    Ordering options for contributions returned from the connection.

    \n\n
    \n\n
    \n\n\n

    restrictedContributionsCount (Int!)

    A count of contributions made by the user that the viewer cannot access. Only\nnon-zero when the user has chosen to share their private contribution counts.

    \n\n\n\n\n\n\n\n\n\n\n\n

    startedAt (DateTime!)

    The beginning date and time of this collection.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCommitContributions (Int!)

    How many commits were made by the user in this time span.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalIssueContributions (Int!)

    How many issues the user opened.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    excludeFirst (Boolean)

    \n

    Should the user's first issue ever be excluded from this count.

    \n

    The default value is false.

    \n
    \n\n
    \n

    excludePopular (Boolean)

    \n

    Should the user's most commented issue be excluded from this count.

    \n

    The default value is false.

    \n
    \n\n
    \n\n\n

    totalPullRequestContributions (Int!)

    How many pull requests the user opened.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    excludeFirst (Boolean)

    \n

    Should the user's first pull request ever be excluded from this count.

    \n

    The default value is false.

    \n
    \n\n
    \n

    excludePopular (Boolean)

    \n

    Should the user's most commented pull request be excluded from this count.

    \n

    The default value is false.

    \n
    \n\n
    \n\n\n

    totalPullRequestReviewContributions (Int!)

    How many pull request reviews the user left.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalRepositoriesWithContributedCommits (Int!)

    How many different repositories the user committed to.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalRepositoriesWithContributedIssues (Int!)

    How many different repositories the user opened issues in.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    excludeFirst (Boolean)

    \n

    Should the user's first issue ever be excluded from this count.

    \n

    The default value is false.

    \n
    \n\n
    \n

    excludePopular (Boolean)

    \n

    Should the user's most commented issue be excluded from this count.

    \n

    The default value is false.

    \n
    \n\n
    \n\n\n

    totalRepositoriesWithContributedPullRequestReviews (Int!)

    How many different repositories the user left pull request reviews in.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalRepositoriesWithContributedPullRequests (Int!)

    How many different repositories the user opened pull requests in.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    excludeFirst (Boolean)

    \n

    Should the user's first pull request ever be excluded from this count.

    \n

    The default value is false.

    \n
    \n\n
    \n

    excludePopular (Boolean)

    \n

    Should the user's most commented pull request be excluded from this count.

    \n

    The default value is false.

    \n
    \n\n
    \n\n\n

    totalRepositoryContributions (Int!)

    How many repositories the user created.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    excludeFirst (Boolean)

    \n

    Should the user's first repository ever be excluded from this count.

    \n

    The default value is false.

    \n
    \n\n
    \n\n\n

    user (User!)

    The user who made the contributions in this collection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n ConvertToDraftEvent\n

    \n

    Represents aconvert_to_draftevent on a given pull request.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    actor (Actor)

    Identifies the actor who performed the event.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pullRequest (PullRequest!)

    PullRequest referenced by event.

    \n\n\n\n\n\n\n\n\n\n\n\n

    resourcePath (URI!)

    The HTTP path for this convert to draft event.

    \n\n\n\n\n\n\n\n\n\n\n\n

    url (URI!)

    The HTTP URL for this convert to draft event.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n ConvertedNoteToIssueEvent\n

    \n

    Represents aconverted_note_to_issueevent on a given issue or pull request.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    actor (Actor)

    Identifies the actor who performed the event.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    databaseId (Int)

    Identifies the primary key from the database.

    \n\n\n\n\n\n\n\n\n\n\n\n

    project (Project)

    Project referenced by event.

    \n\n\n\n\n
    \n

    Preview notice

    \n

    project is available under the Project event details preview. During the preview period, the API may change without notice.

    \n
    \n\n\n\n\n\n\n\n\n

    projectCard (ProjectCard)

    Project card referenced by this project event.

    \n\n\n\n\n
    \n

    Preview notice

    \n

    projectCard is available under the Project event details preview. During the preview period, the API may change without notice.

    \n
    \n\n\n\n\n\n\n\n\n

    projectColumnName (String!)

    Column name referenced by this project event.

    \n\n\n\n\n
    \n

    Preview notice

    \n

    projectColumnName is available under the Project event details preview. During the preview period, the API may change without notice.

    \n
    \n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n CreatedCommitContribution\n

    \n

    Represents the contribution a user made by committing to a repository.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    commitCount (Int!)

    How many commits were made on this day to this repository by the user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    isRestricted (Boolean!)

    Whether this contribution is associated with a record you do not have access to. For\nexample, your own 'first issue' contribution may have been made on a repository you can no\nlonger access.

    \n\n\n\n\n\n\n\n\n\n\n\n

    occurredAt (DateTime!)

    When this contribution was made.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repository (Repository!)

    The repository the user made a commit in.

    \n\n\n\n\n\n\n\n\n\n\n\n

    resourcePath (URI!)

    The HTTP path for this contribution.

    \n\n\n\n\n\n\n\n\n\n\n\n

    url (URI!)

    The HTTP URL for this contribution.

    \n\n\n\n\n\n\n\n\n\n\n\n

    user (User!)

    The user who made this contribution.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n CreatedCommitContributionConnection\n

    \n

    The connection type for CreatedCommitContribution.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([CreatedCommitContributionEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([CreatedCommitContribution])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of commits across days and repositories in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n CreatedCommitContributionEdge\n

    \n

    An edge in a connection.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (CreatedCommitContribution)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n CreatedIssueContribution\n

    \n

    Represents the contribution a user made on GitHub by opening an issue.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    isRestricted (Boolean!)

    Whether this contribution is associated with a record you do not have access to. For\nexample, your own 'first issue' contribution may have been made on a repository you can no\nlonger access.

    \n\n\n\n\n\n\n\n\n\n\n\n

    issue (Issue!)

    The issue that was opened.

    \n\n\n\n\n\n\n\n\n\n\n\n

    occurredAt (DateTime!)

    When this contribution was made.

    \n\n\n\n\n\n\n\n\n\n\n\n

    resourcePath (URI!)

    The HTTP path for this contribution.

    \n\n\n\n\n\n\n\n\n\n\n\n

    url (URI!)

    The HTTP URL for this contribution.

    \n\n\n\n\n\n\n\n\n\n\n\n

    user (User!)

    The user who made this contribution.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n CreatedIssueContributionConnection\n

    \n

    The connection type for CreatedIssueContribution.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([CreatedIssueContributionEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([CreatedIssueContribution])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n CreatedIssueContributionEdge\n

    \n

    An edge in a connection.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (CreatedIssueContribution)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n CreatedPullRequestContribution\n

    \n

    Represents the contribution a user made on GitHub by opening a pull request.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    isRestricted (Boolean!)

    Whether this contribution is associated with a record you do not have access to. For\nexample, your own 'first issue' contribution may have been made on a repository you can no\nlonger access.

    \n\n\n\n\n\n\n\n\n\n\n\n

    occurredAt (DateTime!)

    When this contribution was made.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pullRequest (PullRequest!)

    The pull request that was opened.

    \n\n\n\n\n\n\n\n\n\n\n\n

    resourcePath (URI!)

    The HTTP path for this contribution.

    \n\n\n\n\n\n\n\n\n\n\n\n

    url (URI!)

    The HTTP URL for this contribution.

    \n\n\n\n\n\n\n\n\n\n\n\n

    user (User!)

    The user who made this contribution.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n CreatedPullRequestContributionConnection\n

    \n

    The connection type for CreatedPullRequestContribution.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([CreatedPullRequestContributionEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([CreatedPullRequestContribution])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n CreatedPullRequestContributionEdge\n

    \n

    An edge in a connection.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (CreatedPullRequestContribution)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n CreatedPullRequestReviewContribution\n

    \n

    Represents the contribution a user made by leaving a review on a pull request.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    isRestricted (Boolean!)

    Whether this contribution is associated with a record you do not have access to. For\nexample, your own 'first issue' contribution may have been made on a repository you can no\nlonger access.

    \n\n\n\n\n\n\n\n\n\n\n\n

    occurredAt (DateTime!)

    When this contribution was made.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pullRequest (PullRequest!)

    The pull request the user reviewed.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pullRequestReview (PullRequestReview!)

    The review the user left on the pull request.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repository (Repository!)

    The repository containing the pull request that the user reviewed.

    \n\n\n\n\n\n\n\n\n\n\n\n

    resourcePath (URI!)

    The HTTP path for this contribution.

    \n\n\n\n\n\n\n\n\n\n\n\n

    url (URI!)

    The HTTP URL for this contribution.

    \n\n\n\n\n\n\n\n\n\n\n\n

    user (User!)

    The user who made this contribution.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n CreatedPullRequestReviewContributionConnection\n

    \n

    The connection type for CreatedPullRequestReviewContribution.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([CreatedPullRequestReviewContributionEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([CreatedPullRequestReviewContribution])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n CreatedPullRequestReviewContributionEdge\n

    \n

    An edge in a connection.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (CreatedPullRequestReviewContribution)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n CreatedRepositoryContribution\n

    \n

    Represents the contribution a user made on GitHub by creating a repository.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    isRestricted (Boolean!)

    Whether this contribution is associated with a record you do not have access to. For\nexample, your own 'first issue' contribution may have been made on a repository you can no\nlonger access.

    \n\n\n\n\n\n\n\n\n\n\n\n

    occurredAt (DateTime!)

    When this contribution was made.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repository (Repository!)

    The repository that was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    resourcePath (URI!)

    The HTTP path for this contribution.

    \n\n\n\n\n\n\n\n\n\n\n\n

    url (URI!)

    The HTTP URL for this contribution.

    \n\n\n\n\n\n\n\n\n\n\n\n

    user (User!)

    The user who made this contribution.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n CreatedRepositoryContributionConnection\n

    \n

    The connection type for CreatedRepositoryContribution.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([CreatedRepositoryContributionEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([CreatedRepositoryContribution])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n CreatedRepositoryContributionEdge\n

    \n

    An edge in a connection.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (CreatedRepositoryContribution)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n CrossReferencedEvent\n

    \n

    Represents a mention made by one issue or pull request to another.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    actor (Actor)

    Identifies the actor who performed the event.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    isCrossRepository (Boolean!)

    Reference originated in a different repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    referencedAt (DateTime!)

    Identifies when the reference was made.

    \n\n\n\n\n\n\n\n\n\n\n\n

    resourcePath (URI!)

    The HTTP path for this pull request.

    \n\n\n\n\n\n\n\n\n\n\n\n

    source (ReferencedSubject!)

    Issue or pull request that made the reference.

    \n\n\n\n\n\n\n\n\n\n\n\n

    target (ReferencedSubject!)

    Issue or pull request to which the reference was made.

    \n\n\n\n\n\n\n\n\n\n\n\n

    url (URI!)

    The HTTP URL for this pull request.

    \n\n\n\n\n\n\n\n\n\n\n\n

    willCloseTarget (Boolean!)

    Checks if the target will be closed when the source is merged.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n DemilestonedEvent\n

    \n

    Represents ademilestonedevent on a given issue or pull request.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    actor (Actor)

    Identifies the actor who performed the event.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    milestoneTitle (String!)

    Identifies the milestone title associated with thedemilestonedevent.

    \n\n\n\n\n\n\n\n\n\n\n\n

    subject (MilestoneItem!)

    Object referenced by event.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n DeployKey\n

    \n

    A repository deploy key.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    key (String!)

    The deploy key.

    \n\n\n\n\n\n\n\n\n\n\n\n

    readOnly (Boolean!)

    Whether or not the deploy key is read only.

    \n\n\n\n\n\n\n\n\n\n\n\n

    title (String!)

    The deploy key title.

    \n\n\n\n\n\n\n\n\n\n\n\n

    verified (Boolean!)

    Whether or not the deploy key has been verified.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n DeployKeyConnection\n

    \n

    The connection type for DeployKey.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([DeployKeyEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([DeployKey])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n DeployKeyEdge\n

    \n

    An edge in a connection.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (DeployKey)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n DeployedEvent\n

    \n

    Represents adeployedevent on a given pull request.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    actor (Actor)

    Identifies the actor who performed the event.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    databaseId (Int)

    Identifies the primary key from the database.

    \n\n\n\n\n\n\n\n\n\n\n\n

    deployment (Deployment!)

    The deployment associated with thedeployedevent.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pullRequest (PullRequest!)

    PullRequest referenced by event.

    \n\n\n\n\n\n\n\n\n\n\n\n

    ref (Ref)

    The ref associated with thedeployedevent.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n Deployment\n

    \n

    Represents triggered deployment instance.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    commit (Commit)

    Identifies the commit sha of the deployment.

    \n\n\n\n\n\n\n\n\n\n\n\n

    commitOid (String!)

    Identifies the oid of the deployment commit, even if the commit has been deleted.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    creator (Actor!)

    Identifies the actor who triggered the deployment.

    \n\n\n\n\n\n\n\n\n\n\n\n

    databaseId (Int)

    Identifies the primary key from the database.

    \n\n\n\n\n\n\n\n\n\n\n\n

    description (String)

    The deployment description.

    \n\n\n\n\n\n\n\n\n\n\n\n

    environment (String)

    The latest environment to which this deployment was made.

    \n\n\n\n\n\n\n\n\n\n\n\n

    latestEnvironment (String)

    The latest environment to which this deployment was made.

    \n\n\n\n\n\n\n\n\n\n\n\n

    latestStatus (DeploymentStatus)

    The latest status of this deployment.

    \n\n\n\n\n\n\n\n\n\n\n\n

    originalEnvironment (String)

    The original environment to which this deployment was made.

    \n\n\n\n\n\n\n\n\n\n\n\n

    payload (String)

    Extra information that a deployment system might need.

    \n\n\n\n\n\n\n\n\n\n\n\n

    ref (Ref)

    Identifies the Ref of the deployment, if the deployment was created by ref.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repository (Repository!)

    Identifies the repository associated with the deployment.

    \n\n\n\n\n\n\n\n\n\n\n\n

    state (DeploymentState)

    The current state of the deployment.

    \n\n\n\n\n\n\n\n\n\n\n\n

    statuses (DeploymentStatusConnection)

    A list of statuses associated with the deployment.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n\n\n

    task (String)

    The deployment task.

    \n\n\n\n\n\n\n\n\n\n\n\n

    updatedAt (DateTime!)

    Identifies the date and time when the object was last updated.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n DeploymentConnection\n

    \n

    The connection type for Deployment.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([DeploymentEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([Deployment])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n DeploymentEdge\n

    \n

    An edge in a connection.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (Deployment)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n DeploymentEnvironmentChangedEvent\n

    \n

    Represents adeployment_environment_changedevent on a given pull request.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    actor (Actor)

    Identifies the actor who performed the event.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    deploymentStatus (DeploymentStatus!)

    The deployment status that updated the deployment environment.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pullRequest (PullRequest!)

    PullRequest referenced by event.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n DeploymentStatus\n

    \n

    Describes the status of a given deployment attempt.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    creator (Actor!)

    Identifies the actor who triggered the deployment.

    \n\n\n\n\n\n\n\n\n\n\n\n

    deployment (Deployment!)

    Identifies the deployment associated with status.

    \n\n\n\n\n\n\n\n\n\n\n\n

    description (String)

    Identifies the description of the deployment.

    \n\n\n\n\n\n\n\n\n\n\n\n

    environment (String)

    Identifies the environment of the deployment at the time of this deployment status.

    \n\n\n\n\n
    \n

    Preview notice

    \n

    environment is available under the Deployments preview. During the preview period, the API may change without notice.

    \n
    \n\n\n\n\n\n\n\n\n

    environmentUrl (URI)

    Identifies the environment URL of the deployment.

    \n\n\n\n\n\n\n\n\n\n\n\n

    logUrl (URI)

    Identifies the log URL of the deployment.

    \n\n\n\n\n\n\n\n\n\n\n\n

    state (DeploymentStatusState!)

    Identifies the current state of the deployment.

    \n\n\n\n\n\n\n\n\n\n\n\n

    updatedAt (DateTime!)

    Identifies the date and time when the object was last updated.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n DeploymentStatusConnection\n

    \n

    The connection type for DeploymentStatus.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([DeploymentStatusEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([DeploymentStatus])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n DeploymentStatusEdge\n

    \n

    An edge in a connection.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (DeploymentStatus)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n DisconnectedEvent\n

    \n

    Represents adisconnectedevent on a given issue or pull request.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    actor (Actor)

    Identifies the actor who performed the event.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    isCrossRepository (Boolean!)

    Reference originated in a different repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    source (ReferencedSubject!)

    Issue or pull request from which the issue was disconnected.

    \n\n\n\n\n\n\n\n\n\n\n\n

    subject (ReferencedSubject!)

    Issue or pull request which was disconnected.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n Enterprise\n

    \n

    An account to manage multiple organizations with consolidated policy and billing.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    avatarUrl (URI!)

    A URL pointing to the enterprise's public avatar.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    size (Int)

    \n

    The size of the resulting square image.

    \n\n
    \n\n
    \n\n\n

    billingInfo (EnterpriseBillingInfo)

    Enterprise billing information visible to enterprise billing managers.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    databaseId (Int)

    Identifies the primary key from the database.

    \n\n\n\n\n\n\n\n\n\n\n\n

    description (String)

    The description of the enterprise.

    \n\n\n\n\n\n\n\n\n\n\n\n

    descriptionHTML (HTML!)

    The description of the enterprise as HTML.

    \n\n\n\n\n\n\n\n\n\n\n\n

    location (String)

    The location of the enterprise.

    \n\n\n\n\n\n\n\n\n\n\n\n

    members (EnterpriseMemberConnection!)

    A list of users who are members of this enterprise.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    deployment (EnterpriseUserDeployment)

    \n

    Only return members within the selected GitHub Enterprise deployment.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (EnterpriseMemberOrder)

    \n

    Ordering options for members returned from the connection.

    \n\n
    \n\n
    \n

    organizationLogins ([String!])

    \n

    Only return members within the organizations with these logins.

    \n\n
    \n\n
    \n

    query (String)

    \n

    The search string to look for.

    \n\n
    \n\n
    \n

    role (EnterpriseUserAccountMembershipRole)

    \n

    The role of the user in the enterprise organization or server.

    \n\n
    \n\n
    \n\n\n

    name (String!)

    The name of the enterprise.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizations (OrganizationConnection!)

    A list of organizations that belong to this enterprise.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (OrganizationOrder)

    \n

    Ordering options for organizations returned from the connection.

    \n\n
    \n\n
    \n

    query (String)

    \n

    The search string to look for.

    \n\n
    \n\n
    \n\n\n

    ownerInfo (EnterpriseOwnerInfo)

    Enterprise information only visible to enterprise owners.

    \n\n\n\n\n\n\n\n\n\n\n\n

    resourcePath (URI!)

    The HTTP path for this enterprise.

    \n\n\n\n\n\n\n\n\n\n\n\n

    slug (String!)

    The URL-friendly identifier for the enterprise.

    \n\n\n\n\n\n\n\n\n\n\n\n

    url (URI!)

    The HTTP URL for this enterprise.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userAccounts (EnterpriseUserAccountConnection!)

    A list of user accounts on this enterprise.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n\n\n

    viewerIsAdmin (Boolean!)

    Is the current viewer an admin of this enterprise?.

    \n\n\n\n\n\n\n\n\n\n\n\n

    websiteUrl (URI)

    The URL of the enterprise website.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n EnterpriseAdministratorConnection\n

    \n

    The connection type for User.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([EnterpriseAdministratorEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([User])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n EnterpriseAdministratorEdge\n

    \n

    A User who is an administrator of an enterprise.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (User)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n

    role (EnterpriseAdministratorRole!)

    The role of the administrator.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n EnterpriseAdministratorInvitation\n

    \n

    An invitation for a user to become an owner or billing manager of an enterprise.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    email (String)

    The email of the person who was invited to the enterprise.

    \n\n\n\n\n\n\n\n\n\n\n\n

    enterprise (Enterprise!)

    The enterprise the invitation is for.

    \n\n\n\n\n\n\n\n\n\n\n\n

    invitee (User)

    The user who was invited to the enterprise.

    \n\n\n\n\n\n\n\n\n\n\n\n

    inviter (User)

    The user who created the invitation.

    \n\n\n\n\n\n\n\n\n\n\n\n

    role (EnterpriseAdministratorRole!)

    The invitee's pending role in the enterprise (owner or billing_manager).

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n EnterpriseAdministratorInvitationConnection\n

    \n

    The connection type for EnterpriseAdministratorInvitation.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([EnterpriseAdministratorInvitationEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([EnterpriseAdministratorInvitation])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n EnterpriseAdministratorInvitationEdge\n

    \n

    An edge in a connection.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (EnterpriseAdministratorInvitation)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n EnterpriseBillingInfo\n

    \n

    Enterprise billing information visible to enterprise billing managers and owners.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    allLicensableUsersCount (Int!)

    The number of licenseable users/emails across the enterprise.

    \n\n\n\n\n\n\n\n\n\n\n\n

    assetPacks (Int!)

    The number of data packs used by all organizations owned by the enterprise.

    \n\n\n\n\n\n\n\n\n\n\n\n

    availableSeats (Int!)

    The number of available seats across all owned organizations based on the unique number of billable users.

    \n\n\n\n\n\n\n
    \n

    Deprecation notice

    \n

    availableSeats is deprecated.

    availableSeats will be replaced with totalAvailableLicenses to provide more clarity on the value being returned Use EnterpriseBillingInfo.totalAvailableLicenses instead. Removal on 2020-01-01 UTC.

    \n
    \n\n\n\n\n\n\n

    bandwidthQuota (Float!)

    The bandwidth quota in GB for all organizations owned by the enterprise.

    \n\n\n\n\n\n\n\n\n\n\n\n

    bandwidthUsage (Float!)

    The bandwidth usage in GB for all organizations owned by the enterprise.

    \n\n\n\n\n\n\n\n\n\n\n\n

    bandwidthUsagePercentage (Int!)

    The bandwidth usage as a percentage of the bandwidth quota.

    \n\n\n\n\n\n\n\n\n\n\n\n

    seats (Int!)

    The total seats across all organizations owned by the enterprise.

    \n\n\n\n\n\n\n
    \n

    Deprecation notice

    \n

    seats is deprecated.

    seats will be replaced with totalLicenses to provide more clarity on the value being returned Use EnterpriseBillingInfo.totalLicenses instead. Removal on 2020-01-01 UTC.

    \n
    \n\n\n\n\n\n\n

    storageQuota (Float!)

    The storage quota in GB for all organizations owned by the enterprise.

    \n\n\n\n\n\n\n\n\n\n\n\n

    storageUsage (Float!)

    The storage usage in GB for all organizations owned by the enterprise.

    \n\n\n\n\n\n\n\n\n\n\n\n

    storageUsagePercentage (Int!)

    The storage usage as a percentage of the storage quota.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalAvailableLicenses (Int!)

    The number of available licenses across all owned organizations based on the unique number of billable users.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalLicenses (Int!)

    The total number of licenses allocated.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n EnterpriseIdentityProvider\n

    \n

    An identity provider configured to provision identities for an enterprise.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    digestMethod (SamlDigestAlgorithm)

    The digest algorithm used to sign SAML requests for the identity provider.

    \n\n\n\n\n\n\n\n\n\n\n\n

    enterprise (Enterprise)

    The enterprise this identity provider belongs to.

    \n\n\n\n\n\n\n\n\n\n\n\n

    externalIdentities (ExternalIdentityConnection!)

    ExternalIdentities provisioned by this identity provider.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n\n\n

    idpCertificate (X509Certificate)

    The x509 certificate used by the identity provider to sign assertions and responses.

    \n\n\n\n\n\n\n\n\n\n\n\n

    issuer (String)

    The Issuer Entity ID for the SAML identity provider.

    \n\n\n\n\n\n\n\n\n\n\n\n

    recoveryCodes ([String!])

    Recovery codes that can be used by admins to access the enterprise if the identity provider is unavailable.

    \n\n\n\n\n\n\n\n\n\n\n\n

    signatureMethod (SamlSignatureAlgorithm)

    The signature algorithm used to sign SAML requests for the identity provider.

    \n\n\n\n\n\n\n\n\n\n\n\n

    ssoUrl (URI)

    The URL endpoint for the identity provider's SAML SSO.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n EnterpriseMemberConnection\n

    \n

    The connection type for EnterpriseMember.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([EnterpriseMemberEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([EnterpriseMember])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n EnterpriseMemberEdge\n

    \n

    A User who is a member of an enterprise through one or more organizations.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    isUnlicensed (Boolean!)

    Whether the user does not have a license for the enterprise.

    \n\n\n\n\n\n\n
    \n

    Deprecation notice

    \n

    isUnlicensed is deprecated.

    All members consume a license Removal on 2021-01-01 UTC.

    \n
    \n\n\n\n\n\n\n

    node (EnterpriseMember)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n EnterpriseOrganizationMembershipConnection\n

    \n

    The connection type for Organization.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([EnterpriseOrganizationMembershipEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([Organization])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n EnterpriseOrganizationMembershipEdge\n

    \n

    An enterprise organization that a user is a member of.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (Organization)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n

    role (EnterpriseUserAccountMembershipRole!)

    The role of the user in the enterprise membership.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n EnterpriseOutsideCollaboratorConnection\n

    \n

    The connection type for User.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([EnterpriseOutsideCollaboratorEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([User])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n EnterpriseOutsideCollaboratorEdge\n

    \n

    A User who is an outside collaborator of an enterprise through one or more organizations.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    isUnlicensed (Boolean!)

    Whether the outside collaborator does not have a license for the enterprise.

    \n\n\n\n\n\n\n
    \n

    Deprecation notice

    \n

    isUnlicensed is deprecated.

    All outside collaborators consume a license Removal on 2021-01-01 UTC.

    \n
    \n\n\n\n\n\n\n

    node (User)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repositories (EnterpriseRepositoryInfoConnection!)

    The enterprise organization repositories this user is a member of.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (RepositoryOrder)

    \n

    Ordering options for repositories.

    \n\n
    \n\n
    \n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n EnterpriseOwnerInfo\n

    \n

    Enterprise information only visible to enterprise owners.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    admins (EnterpriseAdministratorConnection!)

    A list of all of the administrators for this enterprise.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (EnterpriseMemberOrder)

    \n

    Ordering options for administrators returned from the connection.

    \n\n
    \n\n
    \n

    query (String)

    \n

    The search string to look for.

    \n\n
    \n\n
    \n

    role (EnterpriseAdministratorRole)

    \n

    The role to filter by.

    \n\n
    \n\n
    \n\n\n

    affiliatedUsersWithTwoFactorDisabled (UserConnection!)

    A list of users in the enterprise who currently have two-factor authentication disabled.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n\n\n

    affiliatedUsersWithTwoFactorDisabledExist (Boolean!)

    Whether or not affiliated users with two-factor authentication disabled exist in the enterprise.

    \n\n\n\n\n\n\n\n\n\n\n\n

    allowPrivateRepositoryForkingSetting (EnterpriseEnabledDisabledSettingValue!)

    The setting value for whether private repository forking is enabled for repositories in organizations in this enterprise.

    \n\n\n\n\n\n\n\n\n\n\n\n

    allowPrivateRepositoryForkingSettingOrganizations (OrganizationConnection!)

    A list of enterprise organizations configured with the provided private repository forking setting value.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (OrganizationOrder)

    \n

    Ordering options for organizations with this setting.

    \n\n
    \n\n
    \n

    value (Boolean!)

    \n

    The setting value to find organizations for.

    \n\n
    \n\n
    \n\n\n

    defaultRepositoryPermissionSetting (EnterpriseDefaultRepositoryPermissionSettingValue!)

    The setting value for base repository permissions for organizations in this enterprise.

    \n\n\n\n\n\n\n\n\n\n\n\n

    defaultRepositoryPermissionSettingOrganizations (OrganizationConnection!)

    A list of enterprise organizations configured with the provided default repository permission.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (OrganizationOrder)

    \n

    Ordering options for organizations with this setting.

    \n\n
    \n\n
    \n

    value (DefaultRepositoryPermissionField!)

    \n

    The permission to find organizations for.

    \n\n
    \n\n
    \n\n\n

    domains (VerifiableDomainConnection!)

    A list of domains owned by the enterprise.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    isVerified (Boolean)

    \n

    Filter whether or not the domain is verified.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (VerifiableDomainOrder)

    \n

    Ordering options for verifiable domains returned.

    \n\n
    \n\n
    \n\n\n

    ipAllowListEnabledSetting (IpAllowListEnabledSettingValue!)

    The setting value for whether the enterprise has an IP allow list enabled.

    \n\n\n\n\n\n\n\n\n\n\n\n

    ipAllowListEntries (IpAllowListEntryConnection!)

    The IP addresses that are allowed to access resources owned by the enterprise.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (IpAllowListEntryOrder)

    \n

    Ordering options for IP allow list entries returned.

    \n\n
    \n\n
    \n\n\n

    isUpdatingDefaultRepositoryPermission (Boolean!)

    Whether or not the default repository permission is currently being updated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    isUpdatingTwoFactorRequirement (Boolean!)

    Whether the two-factor authentication requirement is currently being enforced.

    \n\n\n\n\n\n\n\n\n\n\n\n

    membersCanChangeRepositoryVisibilitySetting (EnterpriseEnabledDisabledSettingValue!)

    The setting value for whether organization members with admin permissions on a\nrepository can change repository visibility.

    \n\n\n\n\n\n\n\n\n\n\n\n

    membersCanChangeRepositoryVisibilitySettingOrganizations (OrganizationConnection!)

    A list of enterprise organizations configured with the provided can change repository visibility setting value.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (OrganizationOrder)

    \n

    Ordering options for organizations with this setting.

    \n\n
    \n\n
    \n

    value (Boolean!)

    \n

    The setting value to find organizations for.

    \n\n
    \n\n
    \n\n\n

    membersCanCreateInternalRepositoriesSetting (Boolean)

    The setting value for whether members of organizations in the enterprise can create internal repositories.

    \n\n\n\n\n\n\n\n\n\n\n\n

    membersCanCreatePrivateRepositoriesSetting (Boolean)

    The setting value for whether members of organizations in the enterprise can create private repositories.

    \n\n\n\n\n\n\n\n\n\n\n\n

    membersCanCreatePublicRepositoriesSetting (Boolean)

    The setting value for whether members of organizations in the enterprise can create public repositories.

    \n\n\n\n\n\n\n\n\n\n\n\n

    membersCanCreateRepositoriesSetting (EnterpriseMembersCanCreateRepositoriesSettingValue)

    The setting value for whether members of organizations in the enterprise can create repositories.

    \n\n\n\n\n\n\n\n\n\n\n\n

    membersCanCreateRepositoriesSettingOrganizations (OrganizationConnection!)

    A list of enterprise organizations configured with the provided repository creation setting value.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (OrganizationOrder)

    \n

    Ordering options for organizations with this setting.

    \n\n
    \n\n
    \n

    value (OrganizationMembersCanCreateRepositoriesSettingValue!)

    \n

    The setting to find organizations for.

    \n\n
    \n\n
    \n\n\n

    membersCanDeleteIssuesSetting (EnterpriseEnabledDisabledSettingValue!)

    The setting value for whether members with admin permissions for repositories can delete issues.

    \n\n\n\n\n\n\n\n\n\n\n\n

    membersCanDeleteIssuesSettingOrganizations (OrganizationConnection!)

    A list of enterprise organizations configured with the provided members can delete issues setting value.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (OrganizationOrder)

    \n

    Ordering options for organizations with this setting.

    \n\n
    \n\n
    \n

    value (Boolean!)

    \n

    The setting value to find organizations for.

    \n\n
    \n\n
    \n\n\n

    membersCanDeleteRepositoriesSetting (EnterpriseEnabledDisabledSettingValue!)

    The setting value for whether members with admin permissions for repositories can delete or transfer repositories.

    \n\n\n\n\n\n\n\n\n\n\n\n

    membersCanDeleteRepositoriesSettingOrganizations (OrganizationConnection!)

    A list of enterprise organizations configured with the provided members can delete repositories setting value.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (OrganizationOrder)

    \n

    Ordering options for organizations with this setting.

    \n\n
    \n\n
    \n

    value (Boolean!)

    \n

    The setting value to find organizations for.

    \n\n
    \n\n
    \n\n\n

    membersCanInviteCollaboratorsSetting (EnterpriseEnabledDisabledSettingValue!)

    The setting value for whether members of organizations in the enterprise can invite outside collaborators.

    \n\n\n\n\n\n\n\n\n\n\n\n

    membersCanInviteCollaboratorsSettingOrganizations (OrganizationConnection!)

    A list of enterprise organizations configured with the provided members can invite collaborators setting value.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (OrganizationOrder)

    \n

    Ordering options for organizations with this setting.

    \n\n
    \n\n
    \n

    value (Boolean!)

    \n

    The setting value to find organizations for.

    \n\n
    \n\n
    \n\n\n

    membersCanMakePurchasesSetting (EnterpriseMembersCanMakePurchasesSettingValue!)

    Indicates whether members of this enterprise's organizations can purchase additional services for those organizations.

    \n\n\n\n\n\n\n\n\n\n\n\n

    membersCanUpdateProtectedBranchesSetting (EnterpriseEnabledDisabledSettingValue!)

    The setting value for whether members with admin permissions for repositories can update protected branches.

    \n\n\n\n\n\n\n\n\n\n\n\n

    membersCanUpdateProtectedBranchesSettingOrganizations (OrganizationConnection!)

    A list of enterprise organizations configured with the provided members can update protected branches setting value.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (OrganizationOrder)

    \n

    Ordering options for organizations with this setting.

    \n\n
    \n\n
    \n

    value (Boolean!)

    \n

    The setting value to find organizations for.

    \n\n
    \n\n
    \n\n\n

    membersCanViewDependencyInsightsSetting (EnterpriseEnabledDisabledSettingValue!)

    The setting value for whether members can view dependency insights.

    \n\n\n\n\n\n\n\n\n\n\n\n

    membersCanViewDependencyInsightsSettingOrganizations (OrganizationConnection!)

    A list of enterprise organizations configured with the provided members can view dependency insights setting value.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (OrganizationOrder)

    \n

    Ordering options for organizations with this setting.

    \n\n
    \n\n
    \n

    value (Boolean!)

    \n

    The setting value to find organizations for.

    \n\n
    \n\n
    \n\n\n

    organizationProjectsSetting (EnterpriseEnabledDisabledSettingValue!)

    The setting value for whether organization projects are enabled for organizations in this enterprise.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationProjectsSettingOrganizations (OrganizationConnection!)

    A list of enterprise organizations configured with the provided organization projects setting value.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (OrganizationOrder)

    \n

    Ordering options for organizations with this setting.

    \n\n
    \n\n
    \n

    value (Boolean!)

    \n

    The setting value to find organizations for.

    \n\n
    \n\n
    \n\n\n

    outsideCollaborators (EnterpriseOutsideCollaboratorConnection!)

    A list of outside collaborators across the repositories in the enterprise.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    login (String)

    \n

    The login of one specific outside collaborator.

    \n\n
    \n\n
    \n

    orderBy (EnterpriseMemberOrder)

    \n

    Ordering options for outside collaborators returned from the connection.

    \n\n
    \n\n
    \n

    query (String)

    \n

    The search string to look for.

    \n\n
    \n\n
    \n

    visibility (RepositoryVisibility)

    \n

    Only return outside collaborators on repositories with this visibility.

    \n\n
    \n\n
    \n\n\n

    pendingAdminInvitations (EnterpriseAdministratorInvitationConnection!)

    A list of pending administrator invitations for the enterprise.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (EnterpriseAdministratorInvitationOrder)

    \n

    Ordering options for pending enterprise administrator invitations returned from the connection.

    \n\n
    \n\n
    \n

    query (String)

    \n

    The search string to look for.

    \n\n
    \n\n
    \n

    role (EnterpriseAdministratorRole)

    \n

    The role to filter by.

    \n\n
    \n\n
    \n\n\n

    pendingCollaboratorInvitations (RepositoryInvitationConnection!)

    A list of pending collaborator invitations across the repositories in the enterprise.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (RepositoryInvitationOrder)

    \n

    Ordering options for pending repository collaborator invitations returned from the connection.

    \n\n
    \n\n
    \n

    query (String)

    \n

    The search string to look for.

    \n\n
    \n\n
    \n\n\n

    pendingCollaborators (EnterprisePendingCollaboratorConnection!)

    A list of pending collaborators across the repositories in the enterprise.

    \n\n\n\n\n\n\n
    \n

    Deprecation notice

    \n

    pendingCollaborators is deprecated.

    Repository invitations can now be associated with an email, not only an invitee. Use the pendingCollaboratorInvitations field instead. Removal on 2020-10-01 UTC.

    \n
    \n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (RepositoryInvitationOrder)

    \n

    Ordering options for pending repository collaborator invitations returned from the connection.

    \n\n
    \n\n
    \n

    query (String)

    \n

    The search string to look for.

    \n\n
    \n\n
    \n\n\n

    pendingMemberInvitations (EnterprisePendingMemberInvitationConnection!)

    A list of pending member invitations for organizations in the enterprise.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    query (String)

    \n

    The search string to look for.

    \n\n
    \n\n
    \n\n\n

    repositoryProjectsSetting (EnterpriseEnabledDisabledSettingValue!)

    The setting value for whether repository projects are enabled in this enterprise.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repositoryProjectsSettingOrganizations (OrganizationConnection!)

    A list of enterprise organizations configured with the provided repository projects setting value.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (OrganizationOrder)

    \n

    Ordering options for organizations with this setting.

    \n\n
    \n\n
    \n

    value (Boolean!)

    \n

    The setting value to find organizations for.

    \n\n
    \n\n
    \n\n\n

    samlIdentityProvider (EnterpriseIdentityProvider)

    The SAML Identity Provider for the enterprise.

    \n\n\n\n\n\n\n\n\n\n\n\n

    samlIdentityProviderSettingOrganizations (OrganizationConnection!)

    A list of enterprise organizations configured with the SAML single sign-on setting value.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (OrganizationOrder)

    \n

    Ordering options for organizations with this setting.

    \n\n
    \n\n
    \n

    value (IdentityProviderConfigurationState!)

    \n

    The setting value to find organizations for.

    \n\n
    \n\n
    \n\n\n

    teamDiscussionsSetting (EnterpriseEnabledDisabledSettingValue!)

    The setting value for whether team discussions are enabled for organizations in this enterprise.

    \n\n\n\n\n\n\n\n\n\n\n\n

    teamDiscussionsSettingOrganizations (OrganizationConnection!)

    A list of enterprise organizations configured with the provided team discussions setting value.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (OrganizationOrder)

    \n

    Ordering options for organizations with this setting.

    \n\n
    \n\n
    \n

    value (Boolean!)

    \n

    The setting value to find organizations for.

    \n\n
    \n\n
    \n\n\n

    twoFactorRequiredSetting (EnterpriseEnabledSettingValue!)

    The setting value for whether the enterprise requires two-factor authentication for its organizations and users.

    \n\n\n\n\n\n\n\n\n\n\n\n

    twoFactorRequiredSettingOrganizations (OrganizationConnection!)

    A list of enterprise organizations configured with the two-factor authentication setting value.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (OrganizationOrder)

    \n

    Ordering options for organizations with this setting.

    \n\n
    \n\n
    \n

    value (Boolean!)

    \n

    The setting value to find organizations for.

    \n\n
    \n\n
    \n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n EnterprisePendingCollaboratorConnection\n

    \n

    The connection type for User.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([EnterprisePendingCollaboratorEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([User])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n EnterprisePendingCollaboratorEdge\n

    \n

    A user with an invitation to be a collaborator on a repository owned by an organization in an enterprise.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    isUnlicensed (Boolean!)

    Whether the invited collaborator does not have a license for the enterprise.

    \n\n\n\n\n\n\n
    \n

    Deprecation notice

    \n

    isUnlicensed is deprecated.

    All pending collaborators consume a license Removal on 2021-01-01 UTC.

    \n
    \n\n\n\n\n\n\n

    node (User)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repositories (EnterpriseRepositoryInfoConnection!)

    The enterprise organization repositories this user is a member of.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (RepositoryOrder)

    \n

    Ordering options for repositories.

    \n\n
    \n\n
    \n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n EnterprisePendingMemberInvitationConnection\n

    \n

    The connection type for OrganizationInvitation.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([EnterprisePendingMemberInvitationEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([OrganizationInvitation])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalUniqueUserCount (Int!)

    Identifies the total count of unique users in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n EnterprisePendingMemberInvitationEdge\n

    \n

    An invitation to be a member in an enterprise organization.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    isUnlicensed (Boolean!)

    Whether the invitation has a license for the enterprise.

    \n\n\n\n\n\n\n
    \n

    Deprecation notice

    \n

    isUnlicensed is deprecated.

    All pending members consume a license Removal on 2020-07-01 UTC.

    \n
    \n\n\n\n\n\n\n

    node (OrganizationInvitation)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n EnterpriseRepositoryInfo\n

    \n

    A subset of repository information queryable from an enterprise.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    isPrivate (Boolean!)

    Identifies if the repository is private or internal.

    \n\n\n\n\n\n\n\n\n\n\n\n

    name (String!)

    The repository's name.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nameWithOwner (String!)

    The repository's name with owner.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n EnterpriseRepositoryInfoConnection\n

    \n

    The connection type for EnterpriseRepositoryInfo.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([EnterpriseRepositoryInfoEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([EnterpriseRepositoryInfo])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n EnterpriseRepositoryInfoEdge\n

    \n

    An edge in a connection.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (EnterpriseRepositoryInfo)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n EnterpriseServerInstallation\n

    \n

    An Enterprise Server installation.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    customerName (String!)

    The customer name to which the Enterprise Server installation belongs.

    \n\n\n\n\n\n\n\n\n\n\n\n

    hostName (String!)

    The host name of the Enterprise Server installation.

    \n\n\n\n\n\n\n\n\n\n\n\n

    isConnected (Boolean!)

    Whether or not the installation is connected to an Enterprise Server installation via GitHub Connect.

    \n\n\n\n\n\n\n\n\n\n\n\n

    updatedAt (DateTime!)

    Identifies the date and time when the object was last updated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userAccounts (EnterpriseServerUserAccountConnection!)

    User accounts on this Enterprise Server installation.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (EnterpriseServerUserAccountOrder)

    \n

    Ordering options for Enterprise Server user accounts returned from the connection.

    \n\n
    \n\n
    \n\n\n

    userAccountsUploads (EnterpriseServerUserAccountsUploadConnection!)

    User accounts uploads for the Enterprise Server installation.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (EnterpriseServerUserAccountsUploadOrder)

    \n

    Ordering options for Enterprise Server user accounts uploads returned from the connection.

    \n\n
    \n\n
    \n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n EnterpriseServerUserAccount\n

    \n

    A user account on an Enterprise Server installation.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    emails (EnterpriseServerUserAccountEmailConnection!)

    User emails belonging to this user account.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (EnterpriseServerUserAccountEmailOrder)

    \n

    Ordering options for Enterprise Server user account emails returned from the connection.

    \n\n
    \n\n
    \n\n\n

    enterpriseServerInstallation (EnterpriseServerInstallation!)

    The Enterprise Server installation on which this user account exists.

    \n\n\n\n\n\n\n\n\n\n\n\n

    isSiteAdmin (Boolean!)

    Whether the user account is a site administrator on the Enterprise Server installation.

    \n\n\n\n\n\n\n\n\n\n\n\n

    login (String!)

    The login of the user account on the Enterprise Server installation.

    \n\n\n\n\n\n\n\n\n\n\n\n

    profileName (String)

    The profile name of the user account on the Enterprise Server installation.

    \n\n\n\n\n\n\n\n\n\n\n\n

    remoteCreatedAt (DateTime!)

    The date and time when the user account was created on the Enterprise Server installation.

    \n\n\n\n\n\n\n\n\n\n\n\n

    remoteUserId (Int!)

    The ID of the user account on the Enterprise Server installation.

    \n\n\n\n\n\n\n\n\n\n\n\n

    updatedAt (DateTime!)

    Identifies the date and time when the object was last updated.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n EnterpriseServerUserAccountConnection\n

    \n

    The connection type for EnterpriseServerUserAccount.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([EnterpriseServerUserAccountEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([EnterpriseServerUserAccount])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n EnterpriseServerUserAccountEdge\n

    \n

    An edge in a connection.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (EnterpriseServerUserAccount)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n EnterpriseServerUserAccountEmail\n

    \n

    An email belonging to a user account on an Enterprise Server installation.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    email (String!)

    The email address.

    \n\n\n\n\n\n\n\n\n\n\n\n

    isPrimary (Boolean!)

    Indicates whether this is the primary email of the associated user account.

    \n\n\n\n\n\n\n\n\n\n\n\n

    updatedAt (DateTime!)

    Identifies the date and time when the object was last updated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userAccount (EnterpriseServerUserAccount!)

    The user account to which the email belongs.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n EnterpriseServerUserAccountEmailConnection\n

    \n

    The connection type for EnterpriseServerUserAccountEmail.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([EnterpriseServerUserAccountEmailEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([EnterpriseServerUserAccountEmail])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n EnterpriseServerUserAccountEmailEdge\n

    \n

    An edge in a connection.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (EnterpriseServerUserAccountEmail)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n EnterpriseServerUserAccountsUpload\n

    \n

    A user accounts upload from an Enterprise Server installation.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    enterprise (Enterprise!)

    The enterprise to which this upload belongs.

    \n\n\n\n\n\n\n\n\n\n\n\n

    enterpriseServerInstallation (EnterpriseServerInstallation!)

    The Enterprise Server installation for which this upload was generated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    name (String!)

    The name of the file uploaded.

    \n\n\n\n\n\n\n\n\n\n\n\n

    syncState (EnterpriseServerUserAccountsUploadSyncState!)

    The synchronization state of the upload.

    \n\n\n\n\n\n\n\n\n\n\n\n

    updatedAt (DateTime!)

    Identifies the date and time when the object was last updated.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n EnterpriseServerUserAccountsUploadConnection\n

    \n

    The connection type for EnterpriseServerUserAccountsUpload.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([EnterpriseServerUserAccountsUploadEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([EnterpriseServerUserAccountsUpload])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n EnterpriseServerUserAccountsUploadEdge\n

    \n

    An edge in a connection.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (EnterpriseServerUserAccountsUpload)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n EnterpriseUserAccount\n

    \n

    An account for a user who is an admin of an enterprise or a member of an enterprise through one or more organizations.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    avatarUrl (URI!)

    A URL pointing to the enterprise user account's public avatar.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    size (Int)

    \n

    The size of the resulting square image.

    \n\n
    \n\n
    \n\n\n

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    enterprise (Enterprise!)

    The enterprise in which this user account exists.

    \n\n\n\n\n\n\n\n\n\n\n\n

    login (String!)

    An identifier for the enterprise user account, a login or email address.

    \n\n\n\n\n\n\n\n\n\n\n\n

    name (String)

    The name of the enterprise user account.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizations (EnterpriseOrganizationMembershipConnection!)

    A list of enterprise organizations this user is a member of.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (OrganizationOrder)

    \n

    Ordering options for organizations returned from the connection.

    \n\n
    \n\n
    \n

    query (String)

    \n

    The search string to look for.

    \n\n
    \n\n
    \n

    role (EnterpriseUserAccountMembershipRole)

    \n

    The role of the user in the enterprise organization.

    \n\n
    \n\n
    \n\n\n

    resourcePath (URI!)

    The HTTP path for this user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    updatedAt (DateTime!)

    Identifies the date and time when the object was last updated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    url (URI!)

    The HTTP URL for this user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    user (User)

    The user within the enterprise.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n EnterpriseUserAccountConnection\n

    \n

    The connection type for EnterpriseUserAccount.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([EnterpriseUserAccountEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([EnterpriseUserAccount])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n EnterpriseUserAccountEdge\n

    \n

    An edge in a connection.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (EnterpriseUserAccount)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n ExternalIdentity\n

    \n

    An external identity provisioned by SAML SSO or SCIM.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    guid (String!)

    The GUID for this identity.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationInvitation (OrganizationInvitation)

    Organization invitation for this SCIM-provisioned external identity.

    \n\n\n\n\n\n\n\n\n\n\n\n

    samlIdentity (ExternalIdentitySamlAttributes)

    SAML Identity attributes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    scimIdentity (ExternalIdentityScimAttributes)

    SCIM Identity attributes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    user (User)

    User linked to this external identity. Will be NULL if this identity has not been claimed by an organization member.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n ExternalIdentityConnection\n

    \n

    The connection type for ExternalIdentity.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([ExternalIdentityEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([ExternalIdentity])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n ExternalIdentityEdge\n

    \n

    An edge in a connection.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (ExternalIdentity)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n ExternalIdentitySamlAttributes\n

    \n

    SAML attributes for the External Identity.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    emails ([UserEmailMetadata!])

    The emails associated with the SAML identity.

    \n\n\n\n\n\n\n\n\n\n\n\n

    familyName (String)

    Family name of the SAML identity.

    \n\n\n\n\n\n\n\n\n\n\n\n

    givenName (String)

    Given name of the SAML identity.

    \n\n\n\n\n\n\n\n\n\n\n\n

    groups ([String!])

    The groups linked to this identity in IDP.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nameId (String)

    The NameID of the SAML identity.

    \n\n\n\n\n\n\n\n\n\n\n\n

    username (String)

    The userName of the SAML identity.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n ExternalIdentityScimAttributes\n

    \n

    SCIM attributes for the External Identity.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    emails ([UserEmailMetadata!])

    The emails associated with the SCIM identity.

    \n\n\n\n\n\n\n\n\n\n\n\n

    familyName (String)

    Family name of the SCIM identity.

    \n\n\n\n\n\n\n\n\n\n\n\n

    givenName (String)

    Given name of the SCIM identity.

    \n\n\n\n\n\n\n\n\n\n\n\n

    groups ([String!])

    The groups linked to this identity in IDP.

    \n\n\n\n\n\n\n\n\n\n\n\n

    username (String)

    The userName of the SCIM identity.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n FollowerConnection\n

    \n

    The connection type for User.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([UserEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([User])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n FollowingConnection\n

    \n

    The connection type for User.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([UserEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([User])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n GenericHovercardContext\n

    \n

    A generic hovercard context with a message and icon.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    message (String!)

    A string describing this context.

    \n\n\n\n\n\n\n\n\n\n\n\n

    octicon (String!)

    An octicon to accompany this context.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n Gist\n

    \n

    A Gist.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    comments (GistCommentConnection!)

    A list of comments associated with the gist.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n\n\n

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    description (String)

    The gist description.

    \n\n\n\n\n\n\n\n\n\n\n\n

    files ([GistFile])

    The files in this gist.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    limit (Int)

    \n

    The maximum number of files to return.

    \n

    The default value is 10.

    \n
    \n\n
    \n

    oid (GitObjectID)

    \n

    The oid of the files to return.

    \n\n
    \n\n
    \n\n\n

    forks (GistConnection!)

    A list of forks associated with the gist.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (GistOrder)

    \n

    Ordering options for gists returned from the connection.

    \n\n
    \n\n
    \n\n\n

    isFork (Boolean!)

    Identifies if the gist is a fork.

    \n\n\n\n\n\n\n\n\n\n\n\n

    isPublic (Boolean!)

    Whether the gist is public or not.

    \n\n\n\n\n\n\n\n\n\n\n\n

    name (String!)

    The gist name.

    \n\n\n\n\n\n\n\n\n\n\n\n

    owner (RepositoryOwner)

    The gist owner.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pushedAt (DateTime)

    Identifies when the gist was last pushed to.

    \n\n\n\n\n\n\n\n\n\n\n\n

    resourcePath (URI!)

    The HTML path to this resource.

    \n\n\n\n\n\n\n\n\n\n\n\n

    stargazerCount (Int!)

    Returns a count of how many stargazers there are on this object.

    \n\n\n\n\n\n\n\n\n\n\n\n

    stargazers (StargazerConnection!)

    A list of users who have starred this starrable.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (StarOrder)

    \n

    Order for connection.

    \n\n
    \n\n
    \n\n\n

    updatedAt (DateTime!)

    Identifies the date and time when the object was last updated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    url (URI!)

    The HTTP URL for this Gist.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerHasStarred (Boolean!)

    Returns a boolean indicating whether the viewing user has starred this starrable.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n GistComment\n

    \n

    Represents a comment on an Gist.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    author (Actor)

    The actor who authored the comment.

    \n\n\n\n\n\n\n\n\n\n\n\n

    authorAssociation (CommentAuthorAssociation!)

    Author's association with the gist.

    \n\n\n\n\n\n\n\n\n\n\n\n

    body (String!)

    Identifies the comment body.

    \n\n\n\n\n\n\n\n\n\n\n\n

    bodyHTML (HTML!)

    The body rendered to HTML.

    \n\n\n\n\n\n\n\n\n\n\n\n

    bodyText (String!)

    The body rendered to text.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdViaEmail (Boolean!)

    Check if this comment was created via an email reply.

    \n\n\n\n\n\n\n\n\n\n\n\n

    databaseId (Int)

    Identifies the primary key from the database.

    \n\n\n\n\n\n\n\n\n\n\n\n

    editor (Actor)

    The actor who edited the comment.

    \n\n\n\n\n\n\n\n\n\n\n\n

    gist (Gist!)

    The associated gist.

    \n\n\n\n\n\n\n\n\n\n\n\n

    includesCreatedEdit (Boolean!)

    Check if this comment was edited and includes an edit with the creation data.

    \n\n\n\n\n\n\n\n\n\n\n\n

    isMinimized (Boolean!)

    Returns whether or not a comment has been minimized.

    \n\n\n\n\n\n\n\n\n\n\n\n

    lastEditedAt (DateTime)

    The moment the editor made the last edit.

    \n\n\n\n\n\n\n\n\n\n\n\n

    minimizedReason (String)

    Returns why the comment was minimized.

    \n\n\n\n\n\n\n\n\n\n\n\n

    publishedAt (DateTime)

    Identifies when the comment was published at.

    \n\n\n\n\n\n\n\n\n\n\n\n

    updatedAt (DateTime!)

    Identifies the date and time when the object was last updated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userContentEdits (UserContentEditConnection)

    A list of edits to this content.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n\n\n

    viewerCanDelete (Boolean!)

    Check if the current viewer can delete this object.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerCanMinimize (Boolean!)

    Check if the current viewer can minimize this object.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerCanUpdate (Boolean!)

    Check if the current viewer can update this object.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerCannotUpdateReasons ([CommentCannotUpdateReason!]!)

    Reasons why the current viewer can not update this comment.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerDidAuthor (Boolean!)

    Did the viewer author this comment.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n GistCommentConnection\n

    \n

    The connection type for GistComment.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([GistCommentEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([GistComment])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n GistCommentEdge\n

    \n

    An edge in a connection.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (GistComment)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n GistConnection\n

    \n

    The connection type for Gist.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([GistEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([Gist])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n GistEdge\n

    \n

    An edge in a connection.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (Gist)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n GistFile\n

    \n

    A file in a gist.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    encodedName (String)

    The file name encoded to remove characters that are invalid in URL paths.

    \n\n\n\n\n\n\n\n\n\n\n\n

    encoding (String)

    The gist file encoding.

    \n\n\n\n\n\n\n\n\n\n\n\n

    extension (String)

    The file extension from the file name.

    \n\n\n\n\n\n\n\n\n\n\n\n

    isImage (Boolean!)

    Indicates if this file is an image.

    \n\n\n\n\n\n\n\n\n\n\n\n

    isTruncated (Boolean!)

    Whether the file's contents were truncated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    language (Language)

    The programming language this file is written in.

    \n\n\n\n\n\n\n\n\n\n\n\n

    name (String)

    The gist file name.

    \n\n\n\n\n\n\n\n\n\n\n\n

    size (Int)

    The gist file size in bytes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    text (String)

    UTF8 text data or null if the file is binary.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    truncate (Int)

    \n

    Optionally truncate the returned file to this length.

    \n\n
    \n\n
    \n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n GitActor\n

    \n

    Represents an actor in a Git commit (ie. an author or committer).

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    avatarUrl (URI!)

    A URL pointing to the author's public avatar.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    size (Int)

    \n

    The size of the resulting square image.

    \n\n
    \n\n
    \n\n\n

    date (GitTimestamp)

    The timestamp of the Git action (authoring or committing).

    \n\n\n\n\n\n\n\n\n\n\n\n

    email (String)

    The email in the Git commit.

    \n\n\n\n\n\n\n\n\n\n\n\n

    name (String)

    The name in the Git commit.

    \n\n\n\n\n\n\n\n\n\n\n\n

    user (User)

    The GitHub user corresponding to the email field. Null if no such user exists.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n GitActorConnection\n

    \n

    The connection type for GitActor.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([GitActorEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([GitActor])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n GitActorEdge\n

    \n

    An edge in a connection.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (GitActor)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n GitHubMetadata\n

    \n

    Represents information about the GitHub instance.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    gitHubServicesSha (GitObjectID!)

    Returns a String that's a SHA of github-services.

    \n\n\n\n\n\n\n\n\n\n\n\n

    isPasswordAuthenticationVerifiable (Boolean!)

    Whether or not users are verified.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n GpgSignature\n

    \n

    Represents a GPG signature on a Commit or Tag.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    email (String!)

    Email used to sign this object.

    \n\n\n\n\n\n\n\n\n\n\n\n

    isValid (Boolean!)

    True if the signature is valid and verified by GitHub.

    \n\n\n\n\n\n\n\n\n\n\n\n

    keyId (String)

    Hex-encoded ID of the key that signed this object.

    \n\n\n\n\n\n\n\n\n\n\n\n

    payload (String!)

    Payload for GPG signing object. Raw ODB object without the signature header.

    \n\n\n\n\n\n\n\n\n\n\n\n

    signature (String!)

    ASCII-armored signature header from object.

    \n\n\n\n\n\n\n\n\n\n\n\n

    signer (User)

    GitHub user corresponding to the email signing this commit.

    \n\n\n\n\n\n\n\n\n\n\n\n

    state (GitSignatureState!)

    The state of this signature. VALID if signature is valid and verified by\nGitHub, otherwise represents reason why signature is considered invalid.

    \n\n\n\n\n\n\n\n\n\n\n\n

    wasSignedByGitHub (Boolean!)

    True if the signature was made with GitHub's signing key.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n HeadRefDeletedEvent\n

    \n

    Represents ahead_ref_deletedevent on a given pull request.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    actor (Actor)

    Identifies the actor who performed the event.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    headRef (Ref)

    Identifies the Ref associated with the head_ref_deleted event.

    \n\n\n\n\n\n\n\n\n\n\n\n

    headRefName (String!)

    Identifies the name of the Ref associated with the head_ref_deleted event.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pullRequest (PullRequest!)

    PullRequest referenced by event.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n HeadRefForcePushedEvent\n

    \n

    Represents ahead_ref_force_pushedevent on a given pull request.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    actor (Actor)

    Identifies the actor who performed the event.

    \n\n\n\n\n\n\n\n\n\n\n\n

    afterCommit (Commit)

    Identifies the after commit SHA for thehead_ref_force_pushedevent.

    \n\n\n\n\n\n\n\n\n\n\n\n

    beforeCommit (Commit)

    Identifies the before commit SHA for thehead_ref_force_pushedevent.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pullRequest (PullRequest!)

    PullRequest referenced by event.

    \n\n\n\n\n\n\n\n\n\n\n\n

    ref (Ref)

    Identifies the fully qualified ref name for thehead_ref_force_pushedevent.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n HeadRefRestoredEvent\n

    \n

    Represents ahead_ref_restoredevent on a given pull request.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    actor (Actor)

    Identifies the actor who performed the event.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pullRequest (PullRequest!)

    PullRequest referenced by event.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n Hovercard\n

    \n

    Detail needed to display a hovercard for a user.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    contexts ([HovercardContext!]!)

    Each of the contexts for this hovercard.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n IpAllowListEntry\n

    \n

    An IP address or range of addresses that is allowed to access an owner's resources.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    allowListValue (String!)

    A single IP address or range of IP addresses in CIDR notation.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    isActive (Boolean!)

    Whether the entry is currently active.

    \n\n\n\n\n\n\n\n\n\n\n\n

    name (String)

    The name of the IP allow list entry.

    \n\n\n\n\n\n\n\n\n\n\n\n

    owner (IpAllowListOwner!)

    The owner of the IP allow list entry.

    \n\n\n\n\n\n\n\n\n\n\n\n

    updatedAt (DateTime!)

    Identifies the date and time when the object was last updated.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n IpAllowListEntryConnection\n

    \n

    The connection type for IpAllowListEntry.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([IpAllowListEntryEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([IpAllowListEntry])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n IpAllowListEntryEdge\n

    \n

    An edge in a connection.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (IpAllowListEntry)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n Issue\n

    \n

    An Issue is a place to discuss ideas, enhancements, tasks, and bugs for a project.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    activeLockReason (LockReason)

    Reason that the conversation was locked.

    \n\n\n\n\n\n\n\n\n\n\n\n

    assignees (UserConnection!)

    A list of Users assigned to this object.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n\n\n

    author (Actor)

    The actor who authored the comment.

    \n\n\n\n\n\n\n\n\n\n\n\n

    authorAssociation (CommentAuthorAssociation!)

    Author's association with the subject of the comment.

    \n\n\n\n\n\n\n\n\n\n\n\n

    body (String!)

    Identifies the body of the issue.

    \n\n\n\n\n\n\n\n\n\n\n\n

    bodyHTML (HTML!)

    The body rendered to HTML.

    \n\n\n\n\n\n\n\n\n\n\n\n

    bodyResourcePath (URI!)

    The http path for this issue body.

    \n\n\n\n\n\n\n\n\n\n\n\n

    bodyText (String!)

    Identifies the body of the issue rendered to text.

    \n\n\n\n\n\n\n\n\n\n\n\n

    bodyUrl (URI!)

    The http URL for this issue body.

    \n\n\n\n\n\n\n\n\n\n\n\n

    closed (Boolean!)

    true if the object is closed (definition of closed may depend on type).

    \n\n\n\n\n\n\n\n\n\n\n\n

    closedAt (DateTime)

    Identifies the date and time when the object was closed.

    \n\n\n\n\n\n\n\n\n\n\n\n

    comments (IssueCommentConnection!)

    A list of comments associated with the Issue.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (IssueCommentOrder)

    \n

    Ordering options for issue comments returned from the connection.

    \n\n
    \n\n
    \n\n\n

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdViaEmail (Boolean!)

    Check if this comment was created via an email reply.

    \n\n\n\n\n\n\n\n\n\n\n\n

    databaseId (Int)

    Identifies the primary key from the database.

    \n\n\n\n\n\n\n\n\n\n\n\n

    editor (Actor)

    The actor who edited the comment.

    \n\n\n\n\n\n\n\n\n\n\n\n

    hovercard (Hovercard!)

    The hovercard information for this issue.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    includeNotificationContexts (Boolean)

    \n

    Whether or not to include notification contexts.

    \n

    The default value is true.

    \n
    \n\n
    \n\n\n

    includesCreatedEdit (Boolean!)

    Check if this comment was edited and includes an edit with the creation data.

    \n\n\n\n\n\n\n\n\n\n\n\n

    isPinned (Boolean)

    Indicates whether or not this issue is currently pinned to the repository issues list.

    \n\n\n\n\n\n\n\n\n\n\n\n

    isReadByViewer (Boolean)

    Is this issue read by the viewer.

    \n\n\n\n\n\n\n\n\n\n\n\n

    labels (LabelConnection)

    A list of labels associated with the object.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (LabelOrder)

    \n

    Ordering options for labels returned from the connection.

    \n\n
    \n\n
    \n\n\n

    lastEditedAt (DateTime)

    The moment the editor made the last edit.

    \n\n\n\n\n\n\n\n\n\n\n\n

    locked (Boolean!)

    true if the object is locked.

    \n\n\n\n\n\n\n\n\n\n\n\n

    milestone (Milestone)

    Identifies the milestone associated with the issue.

    \n\n\n\n\n\n\n\n\n\n\n\n

    number (Int!)

    Identifies the issue number.

    \n\n\n\n\n\n\n\n\n\n\n\n

    participants (UserConnection!)

    A list of Users that are participating in the Issue conversation.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n\n\n

    projectCards (ProjectCardConnection!)

    List of project cards associated with this issue.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    archivedStates ([ProjectCardArchivedState])

    \n

    A list of archived states to filter the cards by.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n\n\n

    publishedAt (DateTime)

    Identifies when the comment was published at.

    \n\n\n\n\n\n\n\n\n\n\n\n

    reactionGroups ([ReactionGroup!])

    A list of reactions grouped by content left on the subject.

    \n\n\n\n\n\n\n\n\n\n\n\n

    reactions (ReactionConnection!)

    A list of Reactions left on the Issue.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    content (ReactionContent)

    \n

    Allows filtering Reactions by emoji.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (ReactionOrder)

    \n

    Allows specifying the order in which reactions are returned.

    \n\n
    \n\n
    \n\n\n

    repository (Repository!)

    The repository associated with this node.

    \n\n\n\n\n\n\n\n\n\n\n\n

    resourcePath (URI!)

    The HTTP path for this issue.

    \n\n\n\n\n\n\n\n\n\n\n\n

    state (IssueState!)

    Identifies the state of the issue.

    \n\n\n\n\n\n\n\n\n\n\n\n

    timeline (IssueTimelineConnection!)

    A list of events, comments, commits, etc. associated with the issue.

    \n\n\n\n\n\n\n
    \n

    Deprecation notice

    \n

    timeline is deprecated.

    timeline will be removed Use Issue.timelineItems instead. Removal on 2020-10-01 UTC.

    \n
    \n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    since (DateTime)

    \n

    Allows filtering timeline events by a since timestamp.

    \n\n
    \n\n
    \n\n\n

    timelineItems (IssueTimelineItemsConnection!)

    A list of events, comments, commits, etc. associated with the issue.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    itemTypes ([IssueTimelineItemsItemType!])

    \n

    Filter timeline items by type.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    since (DateTime)

    \n

    Filter timeline items by a since timestamp.

    \n\n
    \n\n
    \n

    skip (Int)

    \n

    Skips the first n elements in the list.

    \n\n
    \n\n
    \n\n\n

    title (String!)

    Identifies the issue title.

    \n\n\n\n\n\n\n\n\n\n\n\n

    updatedAt (DateTime!)

    Identifies the date and time when the object was last updated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    url (URI!)

    The HTTP URL for this issue.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userContentEdits (UserContentEditConnection)

    A list of edits to this content.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n\n\n

    viewerCanReact (Boolean!)

    Can user react to this subject.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerCanSubscribe (Boolean!)

    Check if the viewer is able to change their subscription status for the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerCanUpdate (Boolean!)

    Check if the current viewer can update this object.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerCannotUpdateReasons ([CommentCannotUpdateReason!]!)

    Reasons why the current viewer can not update this comment.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerDidAuthor (Boolean!)

    Did the viewer author this comment.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerSubscription (SubscriptionState)

    Identifies if the viewer is watching, not watching, or ignoring the subscribable entity.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n IssueComment\n

    \n

    Represents a comment on an Issue.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    author (Actor)

    The actor who authored the comment.

    \n\n\n\n\n\n\n\n\n\n\n\n

    authorAssociation (CommentAuthorAssociation!)

    Author's association with the subject of the comment.

    \n\n\n\n\n\n\n\n\n\n\n\n

    body (String!)

    The body as Markdown.

    \n\n\n\n\n\n\n\n\n\n\n\n

    bodyHTML (HTML!)

    The body rendered to HTML.

    \n\n\n\n\n\n\n\n\n\n\n\n

    bodyText (String!)

    The body rendered to text.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdViaEmail (Boolean!)

    Check if this comment was created via an email reply.

    \n\n\n\n\n\n\n\n\n\n\n\n

    databaseId (Int)

    Identifies the primary key from the database.

    \n\n\n\n\n\n\n\n\n\n\n\n

    editor (Actor)

    The actor who edited the comment.

    \n\n\n\n\n\n\n\n\n\n\n\n

    includesCreatedEdit (Boolean!)

    Check if this comment was edited and includes an edit with the creation data.

    \n\n\n\n\n\n\n\n\n\n\n\n

    isMinimized (Boolean!)

    Returns whether or not a comment has been minimized.

    \n\n\n\n\n\n\n\n\n\n\n\n

    issue (Issue!)

    Identifies the issue associated with the comment.

    \n\n\n\n\n\n\n\n\n\n\n\n

    lastEditedAt (DateTime)

    The moment the editor made the last edit.

    \n\n\n\n\n\n\n\n\n\n\n\n

    minimizedReason (String)

    Returns why the comment was minimized.

    \n\n\n\n\n\n\n\n\n\n\n\n

    publishedAt (DateTime)

    Identifies when the comment was published at.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pullRequest (PullRequest)

    Returns the pull request associated with the comment, if this comment was made on a\npull request.

    \n\n\n\n\n\n\n\n\n\n\n\n

    reactionGroups ([ReactionGroup!])

    A list of reactions grouped by content left on the subject.

    \n\n\n\n\n\n\n\n\n\n\n\n

    reactions (ReactionConnection!)

    A list of Reactions left on the Issue.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    content (ReactionContent)

    \n

    Allows filtering Reactions by emoji.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (ReactionOrder)

    \n

    Allows specifying the order in which reactions are returned.

    \n\n
    \n\n
    \n\n\n

    repository (Repository!)

    The repository associated with this node.

    \n\n\n\n\n\n\n\n\n\n\n\n

    resourcePath (URI!)

    The HTTP path for this issue comment.

    \n\n\n\n\n\n\n\n\n\n\n\n

    updatedAt (DateTime!)

    Identifies the date and time when the object was last updated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    url (URI!)

    The HTTP URL for this issue comment.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userContentEdits (UserContentEditConnection)

    A list of edits to this content.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n\n\n

    viewerCanDelete (Boolean!)

    Check if the current viewer can delete this object.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerCanMinimize (Boolean!)

    Check if the current viewer can minimize this object.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerCanReact (Boolean!)

    Can user react to this subject.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerCanUpdate (Boolean!)

    Check if the current viewer can update this object.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerCannotUpdateReasons ([CommentCannotUpdateReason!]!)

    Reasons why the current viewer can not update this comment.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerDidAuthor (Boolean!)

    Did the viewer author this comment.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n IssueCommentConnection\n

    \n

    The connection type for IssueComment.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([IssueCommentEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([IssueComment])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n IssueCommentEdge\n

    \n

    An edge in a connection.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (IssueComment)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n IssueConnection\n

    \n

    The connection type for Issue.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([IssueEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([Issue])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n IssueContributionsByRepository\n

    \n

    This aggregates issues opened by a user within one repository.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    contributions (CreatedIssueContributionConnection!)

    The issue contributions.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (ContributionOrder)

    \n

    Ordering options for contributions returned from the connection.

    \n\n
    \n\n
    \n\n\n

    repository (Repository!)

    The repository in which the issues were opened.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n IssueEdge\n

    \n

    An edge in a connection.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (Issue)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n IssueTemplate\n

    \n

    A repository issue template.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    about (String)

    The template purpose.

    \n\n\n\n\n\n\n\n\n\n\n\n

    body (String)

    The suggested issue body.

    \n\n\n\n\n\n\n\n\n\n\n\n

    name (String!)

    The template name.

    \n\n\n\n\n\n\n\n\n\n\n\n

    title (String)

    The suggested issue title.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n IssueTimelineConnection\n

    \n

    The connection type for IssueTimelineItem.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([IssueTimelineItemEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([IssueTimelineItem])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n IssueTimelineItemEdge\n

    \n

    An edge in a connection.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (IssueTimelineItem)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n IssueTimelineItemsConnection\n

    \n

    The connection type for IssueTimelineItems.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([IssueTimelineItemsEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    filteredCount (Int!)

    Identifies the count of items after applying before and after filters.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([IssueTimelineItems])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageCount (Int!)

    Identifies the count of items after applying before/after filters and first/last/skip slicing.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n

    updatedAt (DateTime!)

    Identifies the date and time when the timeline was last updated.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n IssueTimelineItemsEdge\n

    \n

    An edge in a connection.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (IssueTimelineItems)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n JoinedGitHubContribution\n

    \n

    Represents a user signing up for a GitHub account.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    isRestricted (Boolean!)

    Whether this contribution is associated with a record you do not have access to. For\nexample, your own 'first issue' contribution may have been made on a repository you can no\nlonger access.

    \n\n\n\n\n\n\n\n\n\n\n\n

    occurredAt (DateTime!)

    When this contribution was made.

    \n\n\n\n\n\n\n\n\n\n\n\n

    resourcePath (URI!)

    The HTTP path for this contribution.

    \n\n\n\n\n\n\n\n\n\n\n\n

    url (URI!)

    The HTTP URL for this contribution.

    \n\n\n\n\n\n\n\n\n\n\n\n

    user (User!)

    The user who made this contribution.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n Label\n

    \n

    A label for categorizing Issues or Milestones with a given Repository.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    color (String!)

    Identifies the label color.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (DateTime)

    Identifies the date and time when the label was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    description (String)

    A brief description of this label.

    \n\n\n\n\n\n\n\n\n\n\n\n

    isDefault (Boolean!)

    Indicates whether or not this is a default label.

    \n\n\n\n\n\n\n\n\n\n\n\n

    issues (IssueConnection!)

    A list of issues associated with this label.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    filterBy (IssueFilters)

    \n

    Filtering options for issues returned from the connection.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    labels ([String!])

    \n

    A list of label names to filter the pull requests by.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (IssueOrder)

    \n

    Ordering options for issues returned from the connection.

    \n\n
    \n\n
    \n

    states ([IssueState!])

    \n

    A list of states to filter the issues by.

    \n\n
    \n\n
    \n\n\n

    name (String!)

    Identifies the label name.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pullRequests (PullRequestConnection!)

    A list of pull requests associated with this label.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    baseRefName (String)

    \n

    The base ref name to filter the pull requests by.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    headRefName (String)

    \n

    The head ref name to filter the pull requests by.

    \n\n
    \n\n
    \n

    labels ([String!])

    \n

    A list of label names to filter the pull requests by.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (IssueOrder)

    \n

    Ordering options for pull requests returned from the connection.

    \n\n
    \n\n
    \n

    states ([PullRequestState!])

    \n

    A list of states to filter the pull requests by.

    \n\n
    \n\n
    \n\n\n

    repository (Repository!)

    The repository associated with this label.

    \n\n\n\n\n\n\n\n\n\n\n\n

    resourcePath (URI!)

    The HTTP path for this label.

    \n\n\n\n\n\n\n\n\n\n\n\n

    updatedAt (DateTime)

    Identifies the date and time when the label was last updated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    url (URI!)

    The HTTP URL for this label.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n LabelConnection\n

    \n

    The connection type for Label.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([LabelEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([Label])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n LabelEdge\n

    \n

    An edge in a connection.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (Label)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n LabeledEvent\n

    \n

    Represents alabeledevent on a given issue or pull request.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    actor (Actor)

    Identifies the actor who performed the event.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    label (Label!)

    Identifies the label associated with thelabeledevent.

    \n\n\n\n\n\n\n\n\n\n\n\n

    labelable (Labelable!)

    Identifies the Labelable associated with the event.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n Language\n

    \n

    Represents a given language found in repositories.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    color (String)

    The color defined for the current language.

    \n\n\n\n\n\n\n\n\n\n\n\n

    name (String!)

    The name of the current language.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n LanguageConnection\n

    \n

    A list of languages associated with the parent.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([LanguageEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([Language])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalSize (Int!)

    The total size in bytes of files written in that language.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n LanguageEdge\n

    \n

    Represents the language of a repository.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    size (Int!)

    The number of bytes of code written in the language.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n License\n

    \n

    A repository's open source license.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    body (String!)

    The full text of the license.

    \n\n\n\n\n\n\n\n\n\n\n\n

    conditions ([LicenseRule]!)

    The conditions set by the license.

    \n\n\n\n\n\n\n\n\n\n\n\n

    description (String)

    A human-readable description of the license.

    \n\n\n\n\n\n\n\n\n\n\n\n

    featured (Boolean!)

    Whether the license should be featured.

    \n\n\n\n\n\n\n\n\n\n\n\n

    hidden (Boolean!)

    Whether the license should be displayed in license pickers.

    \n\n\n\n\n\n\n\n\n\n\n\n

    implementation (String)

    Instructions on how to implement the license.

    \n\n\n\n\n\n\n\n\n\n\n\n

    key (String!)

    The lowercased SPDX ID of the license.

    \n\n\n\n\n\n\n\n\n\n\n\n

    limitations ([LicenseRule]!)

    The limitations set by the license.

    \n\n\n\n\n\n\n\n\n\n\n\n

    name (String!)

    The license full name specified by https://spdx.org/licenses.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nickname (String)

    Customary short name if applicable (e.g, GPLv3).

    \n\n\n\n\n\n\n\n\n\n\n\n

    permissions ([LicenseRule]!)

    The permissions set by the license.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pseudoLicense (Boolean!)

    Whether the license is a pseudo-license placeholder (e.g., other, no-license).

    \n\n\n\n\n\n\n\n\n\n\n\n

    spdxId (String)

    Short identifier specified by https://spdx.org/licenses.

    \n\n\n\n\n\n\n\n\n\n\n\n

    url (URI)

    URL to the license on https://choosealicense.com.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n LicenseRule\n

    \n

    Describes a License's conditions, permissions, and limitations.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    description (String!)

    A description of the rule.

    \n\n\n\n\n\n\n\n\n\n\n\n

    key (String!)

    The machine-readable rule key.

    \n\n\n\n\n\n\n\n\n\n\n\n

    label (String!)

    The human-readable rule label.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n LockedEvent\n

    \n

    Represents alockedevent on a given issue or pull request.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    actor (Actor)

    Identifies the actor who performed the event.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    lockReason (LockReason)

    Reason that the conversation was locked (optional).

    \n\n\n\n\n\n\n\n\n\n\n\n

    lockable (Lockable!)

    Object that was locked.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n Mannequin\n

    \n

    A placeholder user for attribution of imported data on GitHub.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    avatarUrl (URI!)

    A URL pointing to the GitHub App's public avatar.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    size (Int)

    \n

    The size of the resulting square image.

    \n\n
    \n\n
    \n\n\n

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    databaseId (Int)

    Identifies the primary key from the database.

    \n\n\n\n\n\n\n\n\n\n\n\n

    email (String)

    The mannequin's email on the source instance.

    \n\n\n\n\n\n\n\n\n\n\n\n

    login (String!)

    The username of the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    resourcePath (URI!)

    The HTML path to this resource.

    \n\n\n\n\n\n\n\n\n\n\n\n

    updatedAt (DateTime!)

    Identifies the date and time when the object was last updated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    url (URI!)

    The URL to this resource.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n MarkedAsDuplicateEvent\n

    \n

    Represents amarked_as_duplicateevent on a given issue or pull request.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    actor (Actor)

    Identifies the actor who performed the event.

    \n\n\n\n\n\n\n\n\n\n\n\n

    canonical (IssueOrPullRequest)

    The authoritative issue or pull request which has been duplicated by another.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    duplicate (IssueOrPullRequest)

    The issue or pull request which has been marked as a duplicate of another.

    \n\n\n\n\n\n\n\n\n\n\n\n

    isCrossRepository (Boolean!)

    Canonical and duplicate belong to different repositories.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n MembersCanDeleteReposClearAuditEntry\n

    \n

    Audit log entry for a members_can_delete_repos.clear event.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    action (String!)

    The action name.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actor (AuditEntryActor)

    The user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorIp (String)

    The IP address of the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLocation (ActorLocation)

    A readable representation of the actor's location.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLogin (String)

    The username of the user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorResourcePath (URI)

    The HTTP path for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorUrl (URI)

    The HTTP URL for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (PreciseDateTime!)

    The time the action was initiated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    enterpriseResourcePath (URI)

    The HTTP path for this enterprise.

    \n\n\n\n\n\n\n\n\n\n\n\n

    enterpriseSlug (String)

    The slug of the enterprise.

    \n\n\n\n\n\n\n\n\n\n\n\n

    enterpriseUrl (URI)

    The HTTP URL for this enterprise.

    \n\n\n\n\n\n\n\n\n\n\n\n

    operationType (OperationType)

    The corresponding operation type for the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organization (Organization)

    The Organization associated with the Audit Entry.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationName (String)

    The name of the Organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationResourcePath (URI)

    The HTTP path for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationUrl (URI)

    The HTTP URL for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    user (User)

    The user affected by the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userLogin (String)

    For actions involving two users, the actor is the initiator and the user is the affected user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userResourcePath (URI)

    The HTTP path for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userUrl (URI)

    The HTTP URL for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n MembersCanDeleteReposDisableAuditEntry\n

    \n

    Audit log entry for a members_can_delete_repos.disable event.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    action (String!)

    The action name.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actor (AuditEntryActor)

    The user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorIp (String)

    The IP address of the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLocation (ActorLocation)

    A readable representation of the actor's location.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLogin (String)

    The username of the user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorResourcePath (URI)

    The HTTP path for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorUrl (URI)

    The HTTP URL for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (PreciseDateTime!)

    The time the action was initiated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    enterpriseResourcePath (URI)

    The HTTP path for this enterprise.

    \n\n\n\n\n\n\n\n\n\n\n\n

    enterpriseSlug (String)

    The slug of the enterprise.

    \n\n\n\n\n\n\n\n\n\n\n\n

    enterpriseUrl (URI)

    The HTTP URL for this enterprise.

    \n\n\n\n\n\n\n\n\n\n\n\n

    operationType (OperationType)

    The corresponding operation type for the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organization (Organization)

    The Organization associated with the Audit Entry.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationName (String)

    The name of the Organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationResourcePath (URI)

    The HTTP path for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationUrl (URI)

    The HTTP URL for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    user (User)

    The user affected by the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userLogin (String)

    For actions involving two users, the actor is the initiator and the user is the affected user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userResourcePath (URI)

    The HTTP path for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userUrl (URI)

    The HTTP URL for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n MembersCanDeleteReposEnableAuditEntry\n

    \n

    Audit log entry for a members_can_delete_repos.enable event.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    action (String!)

    The action name.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actor (AuditEntryActor)

    The user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorIp (String)

    The IP address of the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLocation (ActorLocation)

    A readable representation of the actor's location.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLogin (String)

    The username of the user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorResourcePath (URI)

    The HTTP path for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorUrl (URI)

    The HTTP URL for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (PreciseDateTime!)

    The time the action was initiated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    enterpriseResourcePath (URI)

    The HTTP path for this enterprise.

    \n\n\n\n\n\n\n\n\n\n\n\n

    enterpriseSlug (String)

    The slug of the enterprise.

    \n\n\n\n\n\n\n\n\n\n\n\n

    enterpriseUrl (URI)

    The HTTP URL for this enterprise.

    \n\n\n\n\n\n\n\n\n\n\n\n

    operationType (OperationType)

    The corresponding operation type for the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organization (Organization)

    The Organization associated with the Audit Entry.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationName (String)

    The name of the Organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationResourcePath (URI)

    The HTTP path for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationUrl (URI)

    The HTTP URL for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    user (User)

    The user affected by the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userLogin (String)

    For actions involving two users, the actor is the initiator and the user is the affected user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userResourcePath (URI)

    The HTTP path for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userUrl (URI)

    The HTTP URL for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n MentionedEvent\n

    \n

    Represents amentionedevent on a given issue or pull request.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    actor (Actor)

    Identifies the actor who performed the event.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    databaseId (Int)

    Identifies the primary key from the database.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n MergedEvent\n

    \n

    Represents amergedevent on a given pull request.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    actor (Actor)

    Identifies the actor who performed the event.

    \n\n\n\n\n\n\n\n\n\n\n\n

    commit (Commit)

    Identifies the commit associated with the merge event.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    mergeRef (Ref)

    Identifies the Ref associated with the merge event.

    \n\n\n\n\n\n\n\n\n\n\n\n

    mergeRefName (String!)

    Identifies the name of the Ref associated with the merge event.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pullRequest (PullRequest!)

    PullRequest referenced by event.

    \n\n\n\n\n\n\n\n\n\n\n\n

    resourcePath (URI!)

    The HTTP path for this merged event.

    \n\n\n\n\n\n\n\n\n\n\n\n

    url (URI!)

    The HTTP URL for this merged event.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n Milestone\n

    \n

    Represents a Milestone object on a given repository.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    closed (Boolean!)

    true if the object is closed (definition of closed may depend on type).

    \n\n\n\n\n\n\n\n\n\n\n\n

    closedAt (DateTime)

    Identifies the date and time when the object was closed.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    creator (Actor)

    Identifies the actor who created the milestone.

    \n\n\n\n\n\n\n\n\n\n\n\n

    description (String)

    Identifies the description of the milestone.

    \n\n\n\n\n\n\n\n\n\n\n\n

    dueOn (DateTime)

    Identifies the due date of the milestone.

    \n\n\n\n\n\n\n\n\n\n\n\n

    issues (IssueConnection!)

    A list of issues associated with the milestone.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    filterBy (IssueFilters)

    \n

    Filtering options for issues returned from the connection.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    labels ([String!])

    \n

    A list of label names to filter the pull requests by.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (IssueOrder)

    \n

    Ordering options for issues returned from the connection.

    \n\n
    \n\n
    \n

    states ([IssueState!])

    \n

    A list of states to filter the issues by.

    \n\n
    \n\n
    \n\n\n

    number (Int!)

    Identifies the number of the milestone.

    \n\n\n\n\n\n\n\n\n\n\n\n

    progressPercentage (Float!)

    Identifies the percentage complete for the milestone.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pullRequests (PullRequestConnection!)

    A list of pull requests associated with the milestone.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    baseRefName (String)

    \n

    The base ref name to filter the pull requests by.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    headRefName (String)

    \n

    The head ref name to filter the pull requests by.

    \n\n
    \n\n
    \n

    labels ([String!])

    \n

    A list of label names to filter the pull requests by.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (IssueOrder)

    \n

    Ordering options for pull requests returned from the connection.

    \n\n
    \n\n
    \n

    states ([PullRequestState!])

    \n

    A list of states to filter the pull requests by.

    \n\n
    \n\n
    \n\n\n

    repository (Repository!)

    The repository associated with this milestone.

    \n\n\n\n\n\n\n\n\n\n\n\n

    resourcePath (URI!)

    The HTTP path for this milestone.

    \n\n\n\n\n\n\n\n\n\n\n\n

    state (MilestoneState!)

    Identifies the state of the milestone.

    \n\n\n\n\n\n\n\n\n\n\n\n

    title (String!)

    Identifies the title of the milestone.

    \n\n\n\n\n\n\n\n\n\n\n\n

    updatedAt (DateTime!)

    Identifies the date and time when the object was last updated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    url (URI!)

    The HTTP URL for this milestone.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n MilestoneConnection\n

    \n

    The connection type for Milestone.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([MilestoneEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([Milestone])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n MilestoneEdge\n

    \n

    An edge in a connection.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (Milestone)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n MilestonedEvent\n

    \n

    Represents amilestonedevent on a given issue or pull request.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    actor (Actor)

    Identifies the actor who performed the event.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    milestoneTitle (String!)

    Identifies the milestone title associated with themilestonedevent.

    \n\n\n\n\n\n\n\n\n\n\n\n

    subject (MilestoneItem!)

    Object referenced by event.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n MovedColumnsInProjectEvent\n

    \n

    Represents amoved_columns_in_projectevent on a given issue or pull request.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    actor (Actor)

    Identifies the actor who performed the event.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    databaseId (Int)

    Identifies the primary key from the database.

    \n\n\n\n\n\n\n\n\n\n\n\n

    previousProjectColumnName (String!)

    Column name the issue or pull request was moved from.

    \n\n\n\n\n
    \n

    Preview notice

    \n

    previousProjectColumnName is available under the Project event details preview. During the preview period, the API may change without notice.

    \n
    \n\n\n\n\n\n\n\n\n

    project (Project)

    Project referenced by event.

    \n\n\n\n\n
    \n

    Preview notice

    \n

    project is available under the Project event details preview. During the preview period, the API may change without notice.

    \n
    \n\n\n\n\n\n\n\n\n

    projectCard (ProjectCard)

    Project card referenced by this project event.

    \n\n\n\n\n
    \n

    Preview notice

    \n

    projectCard is available under the Project event details preview. During the preview period, the API may change without notice.

    \n
    \n\n\n\n\n\n\n\n\n

    projectColumnName (String!)

    Column name the issue or pull request was moved to.

    \n\n\n\n\n
    \n

    Preview notice

    \n

    projectColumnName is available under the Project event details preview. During the preview period, the API may change without notice.

    \n
    \n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n OauthApplicationCreateAuditEntry\n

    \n

    Audit log entry for a oauth_application.create event.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    action (String!)

    The action name.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actor (AuditEntryActor)

    The user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorIp (String)

    The IP address of the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLocation (ActorLocation)

    A readable representation of the actor's location.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLogin (String)

    The username of the user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorResourcePath (URI)

    The HTTP path for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorUrl (URI)

    The HTTP URL for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    applicationUrl (URI)

    The application URL of the OAuth Application.

    \n\n\n\n\n\n\n\n\n\n\n\n

    callbackUrl (URI)

    The callback URL of the OAuth Application.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (PreciseDateTime!)

    The time the action was initiated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    oauthApplicationName (String)

    The name of the OAuth Application.

    \n\n\n\n\n\n\n\n\n\n\n\n

    oauthApplicationResourcePath (URI)

    The HTTP path for the OAuth Application.

    \n\n\n\n\n\n\n\n\n\n\n\n

    oauthApplicationUrl (URI)

    The HTTP URL for the OAuth Application.

    \n\n\n\n\n\n\n\n\n\n\n\n

    operationType (OperationType)

    The corresponding operation type for the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organization (Organization)

    The Organization associated with the Audit Entry.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationName (String)

    The name of the Organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationResourcePath (URI)

    The HTTP path for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationUrl (URI)

    The HTTP URL for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    rateLimit (Int)

    The rate limit of the OAuth Application.

    \n\n\n\n\n\n\n\n\n\n\n\n

    state (OauthApplicationCreateAuditEntryState)

    The state of the OAuth Application.

    \n\n\n\n\n\n\n\n\n\n\n\n

    user (User)

    The user affected by the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userLogin (String)

    For actions involving two users, the actor is the initiator and the user is the affected user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userResourcePath (URI)

    The HTTP path for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userUrl (URI)

    The HTTP URL for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n OrgAddBillingManagerAuditEntry\n

    \n

    Audit log entry for a org.add_billing_manager.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    action (String!)

    The action name.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actor (AuditEntryActor)

    The user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorIp (String)

    The IP address of the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLocation (ActorLocation)

    A readable representation of the actor's location.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLogin (String)

    The username of the user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorResourcePath (URI)

    The HTTP path for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorUrl (URI)

    The HTTP URL for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (PreciseDateTime!)

    The time the action was initiated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    invitationEmail (String)

    The email address used to invite a billing manager for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    operationType (OperationType)

    The corresponding operation type for the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organization (Organization)

    The Organization associated with the Audit Entry.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationName (String)

    The name of the Organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationResourcePath (URI)

    The HTTP path for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationUrl (URI)

    The HTTP URL for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    user (User)

    The user affected by the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userLogin (String)

    For actions involving two users, the actor is the initiator and the user is the affected user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userResourcePath (URI)

    The HTTP path for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userUrl (URI)

    The HTTP URL for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n OrgAddMemberAuditEntry\n

    \n

    Audit log entry for a org.add_member.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    action (String!)

    The action name.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actor (AuditEntryActor)

    The user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorIp (String)

    The IP address of the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLocation (ActorLocation)

    A readable representation of the actor's location.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLogin (String)

    The username of the user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorResourcePath (URI)

    The HTTP path for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorUrl (URI)

    The HTTP URL for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (PreciseDateTime!)

    The time the action was initiated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    operationType (OperationType)

    The corresponding operation type for the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organization (Organization)

    The Organization associated with the Audit Entry.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationName (String)

    The name of the Organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationResourcePath (URI)

    The HTTP path for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationUrl (URI)

    The HTTP URL for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    permission (OrgAddMemberAuditEntryPermission)

    The permission level of the member added to the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    user (User)

    The user affected by the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userLogin (String)

    For actions involving two users, the actor is the initiator and the user is the affected user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userResourcePath (URI)

    The HTTP path for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userUrl (URI)

    The HTTP URL for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n OrgBlockUserAuditEntry\n

    \n

    Audit log entry for a org.block_user.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    action (String!)

    The action name.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actor (AuditEntryActor)

    The user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorIp (String)

    The IP address of the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLocation (ActorLocation)

    A readable representation of the actor's location.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLogin (String)

    The username of the user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorResourcePath (URI)

    The HTTP path for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorUrl (URI)

    The HTTP URL for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    blockedUser (User)

    The blocked user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    blockedUserName (String)

    The username of the blocked user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    blockedUserResourcePath (URI)

    The HTTP path for the blocked user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    blockedUserUrl (URI)

    The HTTP URL for the blocked user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (PreciseDateTime!)

    The time the action was initiated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    operationType (OperationType)

    The corresponding operation type for the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organization (Organization)

    The Organization associated with the Audit Entry.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationName (String)

    The name of the Organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationResourcePath (URI)

    The HTTP path for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationUrl (URI)

    The HTTP URL for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    user (User)

    The user affected by the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userLogin (String)

    For actions involving two users, the actor is the initiator and the user is the affected user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userResourcePath (URI)

    The HTTP path for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userUrl (URI)

    The HTTP URL for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n OrgConfigDisableCollaboratorsOnlyAuditEntry\n

    \n

    Audit log entry for a org.config.disable_collaborators_only event.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    action (String!)

    The action name.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actor (AuditEntryActor)

    The user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorIp (String)

    The IP address of the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLocation (ActorLocation)

    A readable representation of the actor's location.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLogin (String)

    The username of the user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorResourcePath (URI)

    The HTTP path for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorUrl (URI)

    The HTTP URL for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (PreciseDateTime!)

    The time the action was initiated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    operationType (OperationType)

    The corresponding operation type for the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organization (Organization)

    The Organization associated with the Audit Entry.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationName (String)

    The name of the Organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationResourcePath (URI)

    The HTTP path for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationUrl (URI)

    The HTTP URL for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    user (User)

    The user affected by the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userLogin (String)

    For actions involving two users, the actor is the initiator and the user is the affected user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userResourcePath (URI)

    The HTTP path for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userUrl (URI)

    The HTTP URL for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n OrgConfigEnableCollaboratorsOnlyAuditEntry\n

    \n

    Audit log entry for a org.config.enable_collaborators_only event.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    action (String!)

    The action name.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actor (AuditEntryActor)

    The user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorIp (String)

    The IP address of the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLocation (ActorLocation)

    A readable representation of the actor's location.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLogin (String)

    The username of the user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorResourcePath (URI)

    The HTTP path for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorUrl (URI)

    The HTTP URL for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (PreciseDateTime!)

    The time the action was initiated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    operationType (OperationType)

    The corresponding operation type for the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organization (Organization)

    The Organization associated with the Audit Entry.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationName (String)

    The name of the Organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationResourcePath (URI)

    The HTTP path for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationUrl (URI)

    The HTTP URL for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    user (User)

    The user affected by the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userLogin (String)

    For actions involving two users, the actor is the initiator and the user is the affected user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userResourcePath (URI)

    The HTTP path for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userUrl (URI)

    The HTTP URL for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n OrgCreateAuditEntry\n

    \n

    Audit log entry for a org.create event.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    action (String!)

    The action name.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actor (AuditEntryActor)

    The user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorIp (String)

    The IP address of the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLocation (ActorLocation)

    A readable representation of the actor's location.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLogin (String)

    The username of the user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorResourcePath (URI)

    The HTTP path for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorUrl (URI)

    The HTTP URL for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    billingPlan (OrgCreateAuditEntryBillingPlan)

    The billing plan for the Organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (PreciseDateTime!)

    The time the action was initiated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    operationType (OperationType)

    The corresponding operation type for the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organization (Organization)

    The Organization associated with the Audit Entry.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationName (String)

    The name of the Organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationResourcePath (URI)

    The HTTP path for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationUrl (URI)

    The HTTP URL for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    user (User)

    The user affected by the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userLogin (String)

    For actions involving two users, the actor is the initiator and the user is the affected user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userResourcePath (URI)

    The HTTP path for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userUrl (URI)

    The HTTP URL for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n OrgDisableOauthAppRestrictionsAuditEntry\n

    \n

    Audit log entry for a org.disable_oauth_app_restrictions event.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    action (String!)

    The action name.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actor (AuditEntryActor)

    The user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorIp (String)

    The IP address of the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLocation (ActorLocation)

    A readable representation of the actor's location.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLogin (String)

    The username of the user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorResourcePath (URI)

    The HTTP path for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorUrl (URI)

    The HTTP URL for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (PreciseDateTime!)

    The time the action was initiated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    operationType (OperationType)

    The corresponding operation type for the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organization (Organization)

    The Organization associated with the Audit Entry.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationName (String)

    The name of the Organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationResourcePath (URI)

    The HTTP path for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationUrl (URI)

    The HTTP URL for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    user (User)

    The user affected by the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userLogin (String)

    For actions involving two users, the actor is the initiator and the user is the affected user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userResourcePath (URI)

    The HTTP path for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userUrl (URI)

    The HTTP URL for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n OrgDisableSamlAuditEntry\n

    \n

    Audit log entry for a org.disable_saml event.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    action (String!)

    The action name.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actor (AuditEntryActor)

    The user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorIp (String)

    The IP address of the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLocation (ActorLocation)

    A readable representation of the actor's location.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLogin (String)

    The username of the user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorResourcePath (URI)

    The HTTP path for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorUrl (URI)

    The HTTP URL for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (PreciseDateTime!)

    The time the action was initiated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    digestMethodUrl (URI)

    The SAML provider's digest algorithm URL.

    \n\n\n\n\n\n\n\n\n\n\n\n

    issuerUrl (URI)

    The SAML provider's issuer URL.

    \n\n\n\n\n\n\n\n\n\n\n\n

    operationType (OperationType)

    The corresponding operation type for the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organization (Organization)

    The Organization associated with the Audit Entry.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationName (String)

    The name of the Organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationResourcePath (URI)

    The HTTP path for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationUrl (URI)

    The HTTP URL for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    signatureMethodUrl (URI)

    The SAML provider's signature algorithm URL.

    \n\n\n\n\n\n\n\n\n\n\n\n

    singleSignOnUrl (URI)

    The SAML provider's single sign-on URL.

    \n\n\n\n\n\n\n\n\n\n\n\n

    user (User)

    The user affected by the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userLogin (String)

    For actions involving two users, the actor is the initiator and the user is the affected user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userResourcePath (URI)

    The HTTP path for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userUrl (URI)

    The HTTP URL for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n OrgDisableTwoFactorRequirementAuditEntry\n

    \n

    Audit log entry for a org.disable_two_factor_requirement event.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    action (String!)

    The action name.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actor (AuditEntryActor)

    The user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorIp (String)

    The IP address of the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLocation (ActorLocation)

    A readable representation of the actor's location.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLogin (String)

    The username of the user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorResourcePath (URI)

    The HTTP path for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorUrl (URI)

    The HTTP URL for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (PreciseDateTime!)

    The time the action was initiated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    operationType (OperationType)

    The corresponding operation type for the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organization (Organization)

    The Organization associated with the Audit Entry.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationName (String)

    The name of the Organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationResourcePath (URI)

    The HTTP path for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationUrl (URI)

    The HTTP URL for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    user (User)

    The user affected by the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userLogin (String)

    For actions involving two users, the actor is the initiator and the user is the affected user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userResourcePath (URI)

    The HTTP path for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userUrl (URI)

    The HTTP URL for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n OrgEnableOauthAppRestrictionsAuditEntry\n

    \n

    Audit log entry for a org.enable_oauth_app_restrictions event.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    action (String!)

    The action name.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actor (AuditEntryActor)

    The user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorIp (String)

    The IP address of the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLocation (ActorLocation)

    A readable representation of the actor's location.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLogin (String)

    The username of the user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorResourcePath (URI)

    The HTTP path for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorUrl (URI)

    The HTTP URL for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (PreciseDateTime!)

    The time the action was initiated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    operationType (OperationType)

    The corresponding operation type for the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organization (Organization)

    The Organization associated with the Audit Entry.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationName (String)

    The name of the Organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationResourcePath (URI)

    The HTTP path for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationUrl (URI)

    The HTTP URL for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    user (User)

    The user affected by the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userLogin (String)

    For actions involving two users, the actor is the initiator and the user is the affected user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userResourcePath (URI)

    The HTTP path for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userUrl (URI)

    The HTTP URL for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n OrgEnableSamlAuditEntry\n

    \n

    Audit log entry for a org.enable_saml event.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    action (String!)

    The action name.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actor (AuditEntryActor)

    The user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorIp (String)

    The IP address of the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLocation (ActorLocation)

    A readable representation of the actor's location.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLogin (String)

    The username of the user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorResourcePath (URI)

    The HTTP path for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorUrl (URI)

    The HTTP URL for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (PreciseDateTime!)

    The time the action was initiated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    digestMethodUrl (URI)

    The SAML provider's digest algorithm URL.

    \n\n\n\n\n\n\n\n\n\n\n\n

    issuerUrl (URI)

    The SAML provider's issuer URL.

    \n\n\n\n\n\n\n\n\n\n\n\n

    operationType (OperationType)

    The corresponding operation type for the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organization (Organization)

    The Organization associated with the Audit Entry.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationName (String)

    The name of the Organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationResourcePath (URI)

    The HTTP path for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationUrl (URI)

    The HTTP URL for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    signatureMethodUrl (URI)

    The SAML provider's signature algorithm URL.

    \n\n\n\n\n\n\n\n\n\n\n\n

    singleSignOnUrl (URI)

    The SAML provider's single sign-on URL.

    \n\n\n\n\n\n\n\n\n\n\n\n

    user (User)

    The user affected by the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userLogin (String)

    For actions involving two users, the actor is the initiator and the user is the affected user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userResourcePath (URI)

    The HTTP path for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userUrl (URI)

    The HTTP URL for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n OrgEnableTwoFactorRequirementAuditEntry\n

    \n

    Audit log entry for a org.enable_two_factor_requirement event.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    action (String!)

    The action name.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actor (AuditEntryActor)

    The user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorIp (String)

    The IP address of the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLocation (ActorLocation)

    A readable representation of the actor's location.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLogin (String)

    The username of the user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorResourcePath (URI)

    The HTTP path for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorUrl (URI)

    The HTTP URL for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (PreciseDateTime!)

    The time the action was initiated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    operationType (OperationType)

    The corresponding operation type for the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organization (Organization)

    The Organization associated with the Audit Entry.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationName (String)

    The name of the Organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationResourcePath (URI)

    The HTTP path for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationUrl (URI)

    The HTTP URL for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    user (User)

    The user affected by the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userLogin (String)

    For actions involving two users, the actor is the initiator and the user is the affected user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userResourcePath (URI)

    The HTTP path for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userUrl (URI)

    The HTTP URL for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n OrgInviteMemberAuditEntry\n

    \n

    Audit log entry for a org.invite_member event.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    action (String!)

    The action name.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actor (AuditEntryActor)

    The user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorIp (String)

    The IP address of the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLocation (ActorLocation)

    A readable representation of the actor's location.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLogin (String)

    The username of the user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorResourcePath (URI)

    The HTTP path for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorUrl (URI)

    The HTTP URL for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (PreciseDateTime!)

    The time the action was initiated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    email (String)

    The email address of the organization invitation.

    \n\n\n\n\n\n\n\n\n\n\n\n

    operationType (OperationType)

    The corresponding operation type for the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organization (Organization)

    The Organization associated with the Audit Entry.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationInvitation (OrganizationInvitation)

    The organization invitation.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationName (String)

    The name of the Organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationResourcePath (URI)

    The HTTP path for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationUrl (URI)

    The HTTP URL for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    user (User)

    The user affected by the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userLogin (String)

    For actions involving two users, the actor is the initiator and the user is the affected user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userResourcePath (URI)

    The HTTP path for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userUrl (URI)

    The HTTP URL for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n OrgInviteToBusinessAuditEntry\n

    \n

    Audit log entry for a org.invite_to_business event.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    action (String!)

    The action name.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actor (AuditEntryActor)

    The user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorIp (String)

    The IP address of the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLocation (ActorLocation)

    A readable representation of the actor's location.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLogin (String)

    The username of the user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorResourcePath (URI)

    The HTTP path for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorUrl (URI)

    The HTTP URL for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (PreciseDateTime!)

    The time the action was initiated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    enterpriseResourcePath (URI)

    The HTTP path for this enterprise.

    \n\n\n\n\n\n\n\n\n\n\n\n

    enterpriseSlug (String)

    The slug of the enterprise.

    \n\n\n\n\n\n\n\n\n\n\n\n

    enterpriseUrl (URI)

    The HTTP URL for this enterprise.

    \n\n\n\n\n\n\n\n\n\n\n\n

    operationType (OperationType)

    The corresponding operation type for the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organization (Organization)

    The Organization associated with the Audit Entry.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationName (String)

    The name of the Organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationResourcePath (URI)

    The HTTP path for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationUrl (URI)

    The HTTP URL for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    user (User)

    The user affected by the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userLogin (String)

    For actions involving two users, the actor is the initiator and the user is the affected user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userResourcePath (URI)

    The HTTP path for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userUrl (URI)

    The HTTP URL for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n OrgOauthAppAccessApprovedAuditEntry\n

    \n

    Audit log entry for a org.oauth_app_access_approved event.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    action (String!)

    The action name.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actor (AuditEntryActor)

    The user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorIp (String)

    The IP address of the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLocation (ActorLocation)

    A readable representation of the actor's location.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLogin (String)

    The username of the user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorResourcePath (URI)

    The HTTP path for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorUrl (URI)

    The HTTP URL for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (PreciseDateTime!)

    The time the action was initiated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    oauthApplicationName (String)

    The name of the OAuth Application.

    \n\n\n\n\n\n\n\n\n\n\n\n

    oauthApplicationResourcePath (URI)

    The HTTP path for the OAuth Application.

    \n\n\n\n\n\n\n\n\n\n\n\n

    oauthApplicationUrl (URI)

    The HTTP URL for the OAuth Application.

    \n\n\n\n\n\n\n\n\n\n\n\n

    operationType (OperationType)

    The corresponding operation type for the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organization (Organization)

    The Organization associated with the Audit Entry.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationName (String)

    The name of the Organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationResourcePath (URI)

    The HTTP path for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationUrl (URI)

    The HTTP URL for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    user (User)

    The user affected by the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userLogin (String)

    For actions involving two users, the actor is the initiator and the user is the affected user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userResourcePath (URI)

    The HTTP path for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userUrl (URI)

    The HTTP URL for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n OrgOauthAppAccessDeniedAuditEntry\n

    \n

    Audit log entry for a org.oauth_app_access_denied event.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    action (String!)

    The action name.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actor (AuditEntryActor)

    The user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorIp (String)

    The IP address of the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLocation (ActorLocation)

    A readable representation of the actor's location.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLogin (String)

    The username of the user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorResourcePath (URI)

    The HTTP path for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorUrl (URI)

    The HTTP URL for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (PreciseDateTime!)

    The time the action was initiated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    oauthApplicationName (String)

    The name of the OAuth Application.

    \n\n\n\n\n\n\n\n\n\n\n\n

    oauthApplicationResourcePath (URI)

    The HTTP path for the OAuth Application.

    \n\n\n\n\n\n\n\n\n\n\n\n

    oauthApplicationUrl (URI)

    The HTTP URL for the OAuth Application.

    \n\n\n\n\n\n\n\n\n\n\n\n

    operationType (OperationType)

    The corresponding operation type for the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organization (Organization)

    The Organization associated with the Audit Entry.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationName (String)

    The name of the Organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationResourcePath (URI)

    The HTTP path for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationUrl (URI)

    The HTTP URL for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    user (User)

    The user affected by the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userLogin (String)

    For actions involving two users, the actor is the initiator and the user is the affected user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userResourcePath (URI)

    The HTTP path for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userUrl (URI)

    The HTTP URL for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n OrgOauthAppAccessRequestedAuditEntry\n

    \n

    Audit log entry for a org.oauth_app_access_requested event.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    action (String!)

    The action name.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actor (AuditEntryActor)

    The user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorIp (String)

    The IP address of the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLocation (ActorLocation)

    A readable representation of the actor's location.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLogin (String)

    The username of the user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorResourcePath (URI)

    The HTTP path for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorUrl (URI)

    The HTTP URL for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (PreciseDateTime!)

    The time the action was initiated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    oauthApplicationName (String)

    The name of the OAuth Application.

    \n\n\n\n\n\n\n\n\n\n\n\n

    oauthApplicationResourcePath (URI)

    The HTTP path for the OAuth Application.

    \n\n\n\n\n\n\n\n\n\n\n\n

    oauthApplicationUrl (URI)

    The HTTP URL for the OAuth Application.

    \n\n\n\n\n\n\n\n\n\n\n\n

    operationType (OperationType)

    The corresponding operation type for the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organization (Organization)

    The Organization associated with the Audit Entry.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationName (String)

    The name of the Organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationResourcePath (URI)

    The HTTP path for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationUrl (URI)

    The HTTP URL for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    user (User)

    The user affected by the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userLogin (String)

    For actions involving two users, the actor is the initiator and the user is the affected user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userResourcePath (URI)

    The HTTP path for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userUrl (URI)

    The HTTP URL for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n OrgRemoveBillingManagerAuditEntry\n

    \n

    Audit log entry for a org.remove_billing_manager event.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    action (String!)

    The action name.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actor (AuditEntryActor)

    The user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorIp (String)

    The IP address of the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLocation (ActorLocation)

    A readable representation of the actor's location.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLogin (String)

    The username of the user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorResourcePath (URI)

    The HTTP path for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorUrl (URI)

    The HTTP URL for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (PreciseDateTime!)

    The time the action was initiated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    operationType (OperationType)

    The corresponding operation type for the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organization (Organization)

    The Organization associated with the Audit Entry.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationName (String)

    The name of the Organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationResourcePath (URI)

    The HTTP path for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationUrl (URI)

    The HTTP URL for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    reason (OrgRemoveBillingManagerAuditEntryReason)

    The reason for the billing manager being removed.

    \n\n\n\n\n\n\n\n\n\n\n\n

    user (User)

    The user affected by the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userLogin (String)

    For actions involving two users, the actor is the initiator and the user is the affected user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userResourcePath (URI)

    The HTTP path for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userUrl (URI)

    The HTTP URL for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n OrgRemoveMemberAuditEntry\n

    \n

    Audit log entry for a org.remove_member event.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    action (String!)

    The action name.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actor (AuditEntryActor)

    The user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorIp (String)

    The IP address of the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLocation (ActorLocation)

    A readable representation of the actor's location.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLogin (String)

    The username of the user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorResourcePath (URI)

    The HTTP path for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorUrl (URI)

    The HTTP URL for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (PreciseDateTime!)

    The time the action was initiated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    membershipTypes ([OrgRemoveMemberAuditEntryMembershipType!])

    The types of membership the member has with the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    operationType (OperationType)

    The corresponding operation type for the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organization (Organization)

    The Organization associated with the Audit Entry.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationName (String)

    The name of the Organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationResourcePath (URI)

    The HTTP path for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationUrl (URI)

    The HTTP URL for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    reason (OrgRemoveMemberAuditEntryReason)

    The reason for the member being removed.

    \n\n\n\n\n\n\n\n\n\n\n\n

    user (User)

    The user affected by the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userLogin (String)

    For actions involving two users, the actor is the initiator and the user is the affected user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userResourcePath (URI)

    The HTTP path for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userUrl (URI)

    The HTTP URL for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n OrgRemoveOutsideCollaboratorAuditEntry\n

    \n

    Audit log entry for a org.remove_outside_collaborator event.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    action (String!)

    The action name.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actor (AuditEntryActor)

    The user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorIp (String)

    The IP address of the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLocation (ActorLocation)

    A readable representation of the actor's location.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLogin (String)

    The username of the user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorResourcePath (URI)

    The HTTP path for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorUrl (URI)

    The HTTP URL for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (PreciseDateTime!)

    The time the action was initiated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    membershipTypes ([OrgRemoveOutsideCollaboratorAuditEntryMembershipType!])

    The types of membership the outside collaborator has with the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    operationType (OperationType)

    The corresponding operation type for the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organization (Organization)

    The Organization associated with the Audit Entry.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationName (String)

    The name of the Organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationResourcePath (URI)

    The HTTP path for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationUrl (URI)

    The HTTP URL for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    reason (OrgRemoveOutsideCollaboratorAuditEntryReason)

    The reason for the outside collaborator being removed from the Organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    user (User)

    The user affected by the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userLogin (String)

    For actions involving two users, the actor is the initiator and the user is the affected user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userResourcePath (URI)

    The HTTP path for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userUrl (URI)

    The HTTP URL for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n OrgRestoreMemberAuditEntry\n

    \n

    Audit log entry for a org.restore_member event.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    action (String!)

    The action name.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actor (AuditEntryActor)

    The user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorIp (String)

    The IP address of the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLocation (ActorLocation)

    A readable representation of the actor's location.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLogin (String)

    The username of the user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorResourcePath (URI)

    The HTTP path for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorUrl (URI)

    The HTTP URL for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (PreciseDateTime!)

    The time the action was initiated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    operationType (OperationType)

    The corresponding operation type for the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organization (Organization)

    The Organization associated with the Audit Entry.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationName (String)

    The name of the Organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationResourcePath (URI)

    The HTTP path for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationUrl (URI)

    The HTTP URL for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    restoredCustomEmailRoutingsCount (Int)

    The number of custom email routings for the restored member.

    \n\n\n\n\n\n\n\n\n\n\n\n

    restoredIssueAssignmentsCount (Int)

    The number of issue assignments for the restored member.

    \n\n\n\n\n\n\n\n\n\n\n\n

    restoredMemberships ([OrgRestoreMemberAuditEntryMembership!])

    Restored organization membership objects.

    \n\n\n\n\n\n\n\n\n\n\n\n

    restoredMembershipsCount (Int)

    The number of restored memberships.

    \n\n\n\n\n\n\n\n\n\n\n\n

    restoredRepositoriesCount (Int)

    The number of repositories of the restored member.

    \n\n\n\n\n\n\n\n\n\n\n\n

    restoredRepositoryStarsCount (Int)

    The number of starred repositories for the restored member.

    \n\n\n\n\n\n\n\n\n\n\n\n

    restoredRepositoryWatchesCount (Int)

    The number of watched repositories for the restored member.

    \n\n\n\n\n\n\n\n\n\n\n\n

    user (User)

    The user affected by the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userLogin (String)

    For actions involving two users, the actor is the initiator and the user is the affected user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userResourcePath (URI)

    The HTTP path for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userUrl (URI)

    The HTTP URL for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n OrgRestoreMemberMembershipOrganizationAuditEntryData\n

    \n

    Metadata for an organization membership for org.restore_member actions.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    organization (Organization)

    The Organization associated with the Audit Entry.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationName (String)

    The name of the Organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationResourcePath (URI)

    The HTTP path for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationUrl (URI)

    The HTTP URL for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n OrgRestoreMemberMembershipRepositoryAuditEntryData\n

    \n

    Metadata for a repository membership for org.restore_member actions.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    repository (Repository)

    The repository associated with the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repositoryName (String)

    The name of the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repositoryResourcePath (URI)

    The HTTP path for the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repositoryUrl (URI)

    The HTTP URL for the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n OrgRestoreMemberMembershipTeamAuditEntryData\n

    \n

    Metadata for a team membership for org.restore_member actions.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    team (Team)

    The team associated with the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    teamName (String)

    The name of the team.

    \n\n\n\n\n\n\n\n\n\n\n\n

    teamResourcePath (URI)

    The HTTP path for this team.

    \n\n\n\n\n\n\n\n\n\n\n\n

    teamUrl (URI)

    The HTTP URL for this team.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n OrgUnblockUserAuditEntry\n

    \n

    Audit log entry for a org.unblock_user.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    action (String!)

    The action name.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actor (AuditEntryActor)

    The user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorIp (String)

    The IP address of the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLocation (ActorLocation)

    A readable representation of the actor's location.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLogin (String)

    The username of the user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorResourcePath (URI)

    The HTTP path for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorUrl (URI)

    The HTTP URL for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    blockedUser (User)

    The user being unblocked by the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    blockedUserName (String)

    The username of the blocked user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    blockedUserResourcePath (URI)

    The HTTP path for the blocked user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    blockedUserUrl (URI)

    The HTTP URL for the blocked user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (PreciseDateTime!)

    The time the action was initiated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    operationType (OperationType)

    The corresponding operation type for the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organization (Organization)

    The Organization associated with the Audit Entry.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationName (String)

    The name of the Organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationResourcePath (URI)

    The HTTP path for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationUrl (URI)

    The HTTP URL for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    user (User)

    The user affected by the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userLogin (String)

    For actions involving two users, the actor is the initiator and the user is the affected user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userResourcePath (URI)

    The HTTP path for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userUrl (URI)

    The HTTP URL for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n OrgUpdateDefaultRepositoryPermissionAuditEntry\n

    \n

    Audit log entry for a org.update_default_repository_permission.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    action (String!)

    The action name.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actor (AuditEntryActor)

    The user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorIp (String)

    The IP address of the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLocation (ActorLocation)

    A readable representation of the actor's location.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLogin (String)

    The username of the user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorResourcePath (URI)

    The HTTP path for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorUrl (URI)

    The HTTP URL for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (PreciseDateTime!)

    The time the action was initiated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    operationType (OperationType)

    The corresponding operation type for the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organization (Organization)

    The Organization associated with the Audit Entry.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationName (String)

    The name of the Organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationResourcePath (URI)

    The HTTP path for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationUrl (URI)

    The HTTP URL for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    permission (OrgUpdateDefaultRepositoryPermissionAuditEntryPermission)

    The new default repository permission level for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    permissionWas (OrgUpdateDefaultRepositoryPermissionAuditEntryPermission)

    The former default repository permission level for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    user (User)

    The user affected by the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userLogin (String)

    For actions involving two users, the actor is the initiator and the user is the affected user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userResourcePath (URI)

    The HTTP path for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userUrl (URI)

    The HTTP URL for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n OrgUpdateMemberAuditEntry\n

    \n

    Audit log entry for a org.update_member event.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    action (String!)

    The action name.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actor (AuditEntryActor)

    The user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorIp (String)

    The IP address of the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLocation (ActorLocation)

    A readable representation of the actor's location.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLogin (String)

    The username of the user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorResourcePath (URI)

    The HTTP path for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorUrl (URI)

    The HTTP URL for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (PreciseDateTime!)

    The time the action was initiated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    operationType (OperationType)

    The corresponding operation type for the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organization (Organization)

    The Organization associated with the Audit Entry.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationName (String)

    The name of the Organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationResourcePath (URI)

    The HTTP path for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationUrl (URI)

    The HTTP URL for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    permission (OrgUpdateMemberAuditEntryPermission)

    The new member permission level for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    permissionWas (OrgUpdateMemberAuditEntryPermission)

    The former member permission level for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    user (User)

    The user affected by the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userLogin (String)

    For actions involving two users, the actor is the initiator and the user is the affected user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userResourcePath (URI)

    The HTTP path for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userUrl (URI)

    The HTTP URL for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n OrgUpdateMemberRepositoryCreationPermissionAuditEntry\n

    \n

    Audit log entry for a org.update_member_repository_creation_permission event.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    action (String!)

    The action name.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actor (AuditEntryActor)

    The user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorIp (String)

    The IP address of the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLocation (ActorLocation)

    A readable representation of the actor's location.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLogin (String)

    The username of the user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorResourcePath (URI)

    The HTTP path for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorUrl (URI)

    The HTTP URL for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    canCreateRepositories (Boolean)

    Can members create repositories in the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (PreciseDateTime!)

    The time the action was initiated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    operationType (OperationType)

    The corresponding operation type for the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organization (Organization)

    The Organization associated with the Audit Entry.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationName (String)

    The name of the Organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationResourcePath (URI)

    The HTTP path for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationUrl (URI)

    The HTTP URL for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    user (User)

    The user affected by the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userLogin (String)

    For actions involving two users, the actor is the initiator and the user is the affected user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userResourcePath (URI)

    The HTTP path for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userUrl (URI)

    The HTTP URL for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    visibility (OrgUpdateMemberRepositoryCreationPermissionAuditEntryVisibility)

    The permission for visibility level of repositories for this organization.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n OrgUpdateMemberRepositoryInvitationPermissionAuditEntry\n

    \n

    Audit log entry for a org.update_member_repository_invitation_permission event.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    action (String!)

    The action name.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actor (AuditEntryActor)

    The user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorIp (String)

    The IP address of the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLocation (ActorLocation)

    A readable representation of the actor's location.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLogin (String)

    The username of the user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorResourcePath (URI)

    The HTTP path for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorUrl (URI)

    The HTTP URL for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    canInviteOutsideCollaboratorsToRepositories (Boolean)

    Can outside collaborators be invited to repositories in the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (PreciseDateTime!)

    The time the action was initiated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    operationType (OperationType)

    The corresponding operation type for the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organization (Organization)

    The Organization associated with the Audit Entry.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationName (String)

    The name of the Organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationResourcePath (URI)

    The HTTP path for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationUrl (URI)

    The HTTP URL for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    user (User)

    The user affected by the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userLogin (String)

    For actions involving two users, the actor is the initiator and the user is the affected user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userResourcePath (URI)

    The HTTP path for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userUrl (URI)

    The HTTP URL for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n Organization\n

    \n

    An account on GitHub, with one or more owners, that has repositories, members and teams.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    anyPinnableItems (Boolean!)

    Determine if this repository owner has any items that can be pinned to their profile.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    type (PinnableItemType)

    \n

    Filter to only a particular kind of pinnable item.

    \n\n
    \n\n
    \n\n\n

    auditLog (OrganizationAuditEntryConnection!)

    Audit log entries of the organization.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (AuditLogOrder)

    \n

    Ordering options for the returned audit log entries.

    \n\n
    \n\n
    \n

    query (String)

    \n

    The query string to filter audit entries.

    \n\n
    \n\n
    \n\n\n

    avatarUrl (URI!)

    A URL pointing to the organization's public avatar.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    size (Int)

    \n

    The size of the resulting square image.

    \n\n
    \n\n
    \n\n\n

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    databaseId (Int)

    Identifies the primary key from the database.

    \n\n\n\n\n\n\n\n\n\n\n\n

    description (String)

    The organization's public profile description.

    \n\n\n\n\n\n\n\n\n\n\n\n

    descriptionHTML (String)

    The organization's public profile description rendered to HTML.

    \n\n\n\n\n\n\n\n\n\n\n\n

    domains (VerifiableDomainConnection)

    A list of domains owned by the organization.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    isVerified (Boolean)

    \n

    Filter by if the domain is verified.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (VerifiableDomainOrder)

    \n

    Ordering options for verifiable domains returned.

    \n\n
    \n\n
    \n\n\n

    email (String)

    The organization's public email.

    \n\n\n\n\n\n\n\n\n\n\n\n

    ipAllowListEnabledSetting (IpAllowListEnabledSettingValue!)

    The setting value for whether the organization has an IP allow list enabled.

    \n\n\n\n\n\n\n\n\n\n\n\n

    ipAllowListEntries (IpAllowListEntryConnection!)

    The IP addresses that are allowed to access resources owned by the organization.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (IpAllowListEntryOrder)

    \n

    Ordering options for IP allow list entries returned.

    \n\n
    \n\n
    \n\n\n

    isVerified (Boolean!)

    Whether the organization has verified its profile email and website.

    \n\n\n\n\n\n\n\n\n\n\n\n

    itemShowcase (ProfileItemShowcase!)

    Showcases a selection of repositories and gists that the profile owner has\neither curated or that have been selected automatically based on popularity.

    \n\n\n\n\n\n\n\n\n\n\n\n

    location (String)

    The organization's public profile location.

    \n\n\n\n\n\n\n\n\n\n\n\n

    login (String!)

    The organization's login name.

    \n\n\n\n\n\n\n\n\n\n\n\n

    memberStatuses (UserStatusConnection!)

    Get the status messages members of this entity have set that are either public or visible only to the organization.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (UserStatusOrder)

    \n

    Ordering options for user statuses returned from the connection.

    \n\n
    \n\n
    \n\n\n

    membersWithRole (OrganizationMemberConnection!)

    A list of users who are members of this organization.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n\n\n

    name (String)

    The organization's public profile name.

    \n\n\n\n\n\n\n\n\n\n\n\n

    newTeamResourcePath (URI!)

    The HTTP path creating a new team.

    \n\n\n\n\n\n\n\n\n\n\n\n

    newTeamUrl (URI!)

    The HTTP URL creating a new team.

    \n\n\n\n\n\n\n\n\n\n\n\n

    notificationDeliveryRestrictionEnabledSetting (NotificationRestrictionSettingValue!)

    Indicates if email notification delivery for this organization is restricted to verified domains.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationBillingEmail (String)

    The billing email for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pendingMembers (UserConnection!)

    A list of users who have been invited to join this organization.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n\n\n

    pinnableItems (PinnableItemConnection!)

    A list of repositories and gists this profile owner can pin to their profile.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    types ([PinnableItemType!])

    \n

    Filter the types of pinnable items that are returned.

    \n\n
    \n\n
    \n\n\n

    pinnedItems (PinnableItemConnection!)

    A list of repositories and gists this profile owner has pinned to their profile.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    types ([PinnableItemType!])

    \n

    Filter the types of pinned items that are returned.

    \n\n
    \n\n
    \n\n\n

    pinnedItemsRemaining (Int!)

    Returns how many more items this profile owner can pin to their profile.

    \n\n\n\n\n\n\n\n\n\n\n\n

    project (Project)

    Find project by number.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    number (Int!)

    \n

    The project number to find.

    \n\n
    \n\n
    \n\n\n

    projects (ProjectConnection!)

    A list of projects under the owner.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (ProjectOrder)

    \n

    Ordering options for projects returned from the connection.

    \n\n
    \n\n
    \n

    search (String)

    \n

    Query to search projects by, currently only searching by name.

    \n\n
    \n\n
    \n

    states ([ProjectState!])

    \n

    A list of states to filter the projects by.

    \n\n
    \n\n
    \n\n\n

    projectsResourcePath (URI!)

    The HTTP path listing organization's projects.

    \n\n\n\n\n\n\n\n\n\n\n\n

    projectsUrl (URI!)

    The HTTP URL listing organization's projects.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repositories (RepositoryConnection!)

    A list of repositories that the user owns.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    affiliations ([RepositoryAffiliation])

    \n

    Array of viewer's affiliation options for repositories returned from the\nconnection. For example, OWNER will include only repositories that the\ncurrent viewer owns.

    \n\n
    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    isFork (Boolean)

    \n

    If non-null, filters repositories according to whether they are forks of another repository.

    \n\n
    \n\n
    \n

    isLocked (Boolean)

    \n

    If non-null, filters repositories according to whether they have been locked.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (RepositoryOrder)

    \n

    Ordering options for repositories returned from the connection.

    \n\n
    \n\n
    \n

    ownerAffiliations ([RepositoryAffiliation])

    \n

    Array of owner's affiliation options for repositories returned from the\nconnection. For example, OWNER will include only repositories that the\norganization or user being viewed owns.

    \n\n
    \n\n
    \n

    privacy (RepositoryPrivacy)

    \n

    If non-null, filters repositories according to privacy.

    \n\n
    \n\n
    \n\n\n

    repository (Repository)

    Find Repository.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    name (String!)

    \n

    Name of Repository to find.

    \n\n
    \n\n
    \n\n\n

    requiresTwoFactorAuthentication (Boolean)

    When true the organization requires all members, billing managers, and outside\ncollaborators to enable two-factor authentication.

    \n\n\n\n\n\n\n\n\n\n\n\n

    resourcePath (URI!)

    The HTTP path for this organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    samlIdentityProvider (OrganizationIdentityProvider)

    The Organization's SAML identity providers.

    \n\n\n\n\n\n\n\n\n\n\n\n

    sponsorshipsAsMaintainer (SponsorshipConnection!)

    This object's sponsorships as the maintainer.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    includePrivate (Boolean)

    \n

    Whether or not to include private sponsorships in the result set.

    \n

    The default value is false.

    \n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (SponsorshipOrder)

    \n

    Ordering options for sponsorships returned from this connection. If left\nblank, the sponsorships will be ordered based on relevancy to the viewer.

    \n\n
    \n\n
    \n\n\n

    sponsorshipsAsSponsor (SponsorshipConnection!)

    This object's sponsorships as the sponsor.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (SponsorshipOrder)

    \n

    Ordering options for sponsorships returned from this connection. If left\nblank, the sponsorships will be ordered based on relevancy to the viewer.

    \n\n
    \n\n
    \n\n\n

    team (Team)

    Find an organization's team by its slug.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    slug (String!)

    \n

    The name or slug of the team to find.

    \n\n
    \n\n
    \n\n\n

    teams (TeamConnection!)

    A list of teams in this organization.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    ldapMapped (Boolean)

    \n

    If true, filters teams that are mapped to an LDAP Group (Enterprise only).

    \n\n
    \n\n
    \n

    orderBy (TeamOrder)

    \n

    Ordering options for teams returned from the connection.

    \n\n
    \n\n
    \n

    privacy (TeamPrivacy)

    \n

    If non-null, filters teams according to privacy.

    \n\n
    \n\n
    \n

    query (String)

    \n

    If non-null, filters teams with query on team name and team slug.

    \n\n
    \n\n
    \n

    role (TeamRole)

    \n

    If non-null, filters teams according to whether the viewer is an admin or member on team.

    \n\n
    \n\n
    \n

    rootTeamsOnly (Boolean)

    \n

    If true, restrict to only root teams.

    \n

    The default value is false.

    \n
    \n\n
    \n

    userLogins ([String!])

    \n

    User logins to filter by.

    \n\n
    \n\n
    \n\n\n

    teamsResourcePath (URI!)

    The HTTP path listing organization's teams.

    \n\n\n\n\n\n\n\n\n\n\n\n

    teamsUrl (URI!)

    The HTTP URL listing organization's teams.

    \n\n\n\n\n\n\n\n\n\n\n\n

    twitterUsername (String)

    The organization's Twitter username.

    \n\n\n\n\n\n\n\n\n\n\n\n

    updatedAt (DateTime!)

    Identifies the date and time when the object was last updated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    url (URI!)

    The HTTP URL for this organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerCanAdminister (Boolean!)

    Organization is adminable by the viewer.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerCanChangePinnedItems (Boolean!)

    Can the viewer pin repositories and gists to the profile?.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerCanCreateProjects (Boolean!)

    Can the current viewer create new projects on this owner.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerCanCreateRepositories (Boolean!)

    Viewer can create repositories on this organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerCanCreateTeams (Boolean!)

    Viewer can create teams on this organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerIsAMember (Boolean!)

    Viewer is an active member of this organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    websiteUrl (URI)

    The organization's public profile URL.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n OrganizationAuditEntryConnection\n

    \n

    The connection type for OrganizationAuditEntry.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([OrganizationAuditEntryEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([OrganizationAuditEntry])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n OrganizationAuditEntryEdge\n

    \n

    An edge in a connection.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (OrganizationAuditEntry)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n OrganizationConnection\n

    \n

    The connection type for Organization.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([OrganizationEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([Organization])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n OrganizationEdge\n

    \n

    An edge in a connection.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (Organization)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n OrganizationIdentityProvider\n

    \n

    An Identity Provider configured to provision SAML and SCIM identities for Organizations.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    digestMethod (URI)

    The digest algorithm used to sign SAML requests for the Identity Provider.

    \n\n\n\n\n\n\n\n\n\n\n\n

    externalIdentities (ExternalIdentityConnection!)

    External Identities provisioned by this Identity Provider.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n\n\n

    idpCertificate (X509Certificate)

    The x509 certificate used by the Identity Provider to sign assertions and responses.

    \n\n\n\n\n\n\n\n\n\n\n\n

    issuer (String)

    The Issuer Entity ID for the SAML Identity Provider.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organization (Organization)

    Organization this Identity Provider belongs to.

    \n\n\n\n\n\n\n\n\n\n\n\n

    signatureMethod (URI)

    The signature algorithm used to sign SAML requests for the Identity Provider.

    \n\n\n\n\n\n\n\n\n\n\n\n

    ssoUrl (URI)

    The URL endpoint for the Identity Provider's SAML SSO.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n OrganizationInvitation\n

    \n

    An Invitation for a user to an organization.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    email (String)

    The email address of the user invited to the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    invitationType (OrganizationInvitationType!)

    The type of invitation that was sent (e.g. email, user).

    \n\n\n\n\n\n\n\n\n\n\n\n

    invitee (User)

    The user who was invited to the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    inviter (User!)

    The user who created the invitation.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organization (Organization!)

    The organization the invite is for.

    \n\n\n\n\n\n\n\n\n\n\n\n

    role (OrganizationInvitationRole!)

    The user's pending role in the organization (e.g. member, owner).

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n OrganizationInvitationConnection\n

    \n

    The connection type for OrganizationInvitation.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([OrganizationInvitationEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([OrganizationInvitation])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n OrganizationInvitationEdge\n

    \n

    An edge in a connection.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (OrganizationInvitation)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n OrganizationMemberConnection\n

    \n

    The connection type for User.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([OrganizationMemberEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([User])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n OrganizationMemberEdge\n

    \n

    Represents a user within an organization.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    hasTwoFactorEnabled (Boolean)

    Whether the organization member has two factor enabled or not. Returns null if information is not available to viewer.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (User)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n

    role (OrganizationMemberRole)

    The role this user has in the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n OrganizationTeamsHovercardContext\n

    \n

    An organization teams hovercard context.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    message (String!)

    A string describing this context.

    \n\n\n\n\n\n\n\n\n\n\n\n

    octicon (String!)

    An octicon to accompany this context.

    \n\n\n\n\n\n\n\n\n\n\n\n

    relevantTeams (TeamConnection!)

    Teams in this organization the user is a member of that are relevant.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n\n\n

    teamsResourcePath (URI!)

    The path for the full team list for this user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    teamsUrl (URI!)

    The URL for the full team list for this user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalTeamCount (Int!)

    The total number of teams the user is on in the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n OrganizationsHovercardContext\n

    \n

    An organization list hovercard context.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    message (String!)

    A string describing this context.

    \n\n\n\n\n\n\n\n\n\n\n\n

    octicon (String!)

    An octicon to accompany this context.

    \n\n\n\n\n\n\n\n\n\n\n\n

    relevantOrganizations (OrganizationConnection!)

    Organizations this user is a member of that are relevant.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n\n\n

    totalOrganizationCount (Int!)

    The total number of organizations this user is in.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n PageInfo\n

    \n

    Information about pagination in a connection.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    endCursor (String)

    When paginating forwards, the cursor to continue.

    \n\n\n\n\n\n\n\n\n\n\n\n

    hasNextPage (Boolean!)

    When paginating forwards, are there more items?.

    \n\n\n\n\n\n\n\n\n\n\n\n

    hasPreviousPage (Boolean!)

    When paginating backwards, are there more items?.

    \n\n\n\n\n\n\n\n\n\n\n\n

    startCursor (String)

    When paginating backwards, the cursor to continue.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n PermissionSource\n

    \n

    A level of permission and source for a user's access to a repository.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    organization (Organization!)

    The organization the repository belongs to.

    \n\n\n\n\n\n\n\n\n\n\n\n

    permission (DefaultRepositoryPermissionField!)

    The level of access this source has granted to the user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    source (PermissionGranter!)

    The source of this permission.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n PinnableItemConnection\n

    \n

    The connection type for PinnableItem.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([PinnableItemEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([PinnableItem])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n PinnableItemEdge\n

    \n

    An edge in a connection.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (PinnableItem)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n PinnedEvent\n

    \n

    Represents apinnedevent on a given issue or pull request.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    actor (Actor)

    Identifies the actor who performed the event.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    issue (Issue!)

    Identifies the issue associated with the event.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n PinnedIssue\n

    \n

    A Pinned Issue is a issue pinned to a repository's index page.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    databaseId (Int)

    Identifies the primary key from the database.

    \n\n\n\n\n\n\n\n\n\n\n\n

    issue (Issue!)

    The issue that was pinned.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pinnedBy (Actor!)

    The actor that pinned this issue.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repository (Repository!)

    The repository that this issue was pinned to.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n PinnedIssueConnection\n

    \n

    The connection type for PinnedIssue.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([PinnedIssueEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([PinnedIssue])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n PinnedIssueEdge\n

    \n

    An edge in a connection.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (PinnedIssue)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n PrivateRepositoryForkingDisableAuditEntry\n

    \n

    Audit log entry for a private_repository_forking.disable event.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    action (String!)

    The action name.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actor (AuditEntryActor)

    The user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorIp (String)

    The IP address of the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLocation (ActorLocation)

    A readable representation of the actor's location.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLogin (String)

    The username of the user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorResourcePath (URI)

    The HTTP path for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorUrl (URI)

    The HTTP URL for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (PreciseDateTime!)

    The time the action was initiated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    enterpriseResourcePath (URI)

    The HTTP path for this enterprise.

    \n\n\n\n\n\n\n\n\n\n\n\n

    enterpriseSlug (String)

    The slug of the enterprise.

    \n\n\n\n\n\n\n\n\n\n\n\n

    enterpriseUrl (URI)

    The HTTP URL for this enterprise.

    \n\n\n\n\n\n\n\n\n\n\n\n

    operationType (OperationType)

    The corresponding operation type for the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organization (Organization)

    The Organization associated with the Audit Entry.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationName (String)

    The name of the Organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationResourcePath (URI)

    The HTTP path for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationUrl (URI)

    The HTTP URL for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repository (Repository)

    The repository associated with the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repositoryName (String)

    The name of the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repositoryResourcePath (URI)

    The HTTP path for the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repositoryUrl (URI)

    The HTTP URL for the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    user (User)

    The user affected by the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userLogin (String)

    For actions involving two users, the actor is the initiator and the user is the affected user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userResourcePath (URI)

    The HTTP path for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userUrl (URI)

    The HTTP URL for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n PrivateRepositoryForkingEnableAuditEntry\n

    \n

    Audit log entry for a private_repository_forking.enable event.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    action (String!)

    The action name.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actor (AuditEntryActor)

    The user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorIp (String)

    The IP address of the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLocation (ActorLocation)

    A readable representation of the actor's location.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLogin (String)

    The username of the user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorResourcePath (URI)

    The HTTP path for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorUrl (URI)

    The HTTP URL for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (PreciseDateTime!)

    The time the action was initiated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    enterpriseResourcePath (URI)

    The HTTP path for this enterprise.

    \n\n\n\n\n\n\n\n\n\n\n\n

    enterpriseSlug (String)

    The slug of the enterprise.

    \n\n\n\n\n\n\n\n\n\n\n\n

    enterpriseUrl (URI)

    The HTTP URL for this enterprise.

    \n\n\n\n\n\n\n\n\n\n\n\n

    operationType (OperationType)

    The corresponding operation type for the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organization (Organization)

    The Organization associated with the Audit Entry.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationName (String)

    The name of the Organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationResourcePath (URI)

    The HTTP path for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationUrl (URI)

    The HTTP URL for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repository (Repository)

    The repository associated with the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repositoryName (String)

    The name of the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repositoryResourcePath (URI)

    The HTTP path for the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repositoryUrl (URI)

    The HTTP URL for the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    user (User)

    The user affected by the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userLogin (String)

    For actions involving two users, the actor is the initiator and the user is the affected user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userResourcePath (URI)

    The HTTP path for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userUrl (URI)

    The HTTP URL for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n ProfileItemShowcase\n

    \n

    A curatable list of repositories relating to a repository owner, which defaults\nto showing the most popular repositories they own.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    hasPinnedItems (Boolean!)

    Whether or not the owner has pinned any repositories or gists.

    \n\n\n\n\n\n\n\n\n\n\n\n

    items (PinnableItemConnection!)

    The repositories and gists in the showcase. If the profile owner has any\npinned items, those will be returned. Otherwise, the profile owner's popular\nrepositories will be returned.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n Project\n

    \n

    Projects manage issues, pull requests and notes within a project owner.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    body (String)

    The project's description body.

    \n\n\n\n\n\n\n\n\n\n\n\n

    bodyHTML (HTML!)

    The projects description body rendered to HTML.

    \n\n\n\n\n\n\n\n\n\n\n\n

    closed (Boolean!)

    true if the object is closed (definition of closed may depend on type).

    \n\n\n\n\n\n\n\n\n\n\n\n

    closedAt (DateTime)

    Identifies the date and time when the object was closed.

    \n\n\n\n\n\n\n\n\n\n\n\n

    columns (ProjectColumnConnection!)

    List of columns in the project.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n\n\n

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    creator (Actor)

    The actor who originally created the project.

    \n\n\n\n\n\n\n\n\n\n\n\n

    databaseId (Int)

    Identifies the primary key from the database.

    \n\n\n\n\n\n\n\n\n\n\n\n

    name (String!)

    The project's name.

    \n\n\n\n\n\n\n\n\n\n\n\n

    number (Int!)

    The project's number.

    \n\n\n\n\n\n\n\n\n\n\n\n

    owner (ProjectOwner!)

    The project's owner. Currently limited to repositories, organizations, and users.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pendingCards (ProjectCardConnection!)

    List of pending cards in this project.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    archivedStates ([ProjectCardArchivedState])

    \n

    A list of archived states to filter the cards by.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n\n\n

    progress (ProjectProgress!)

    Project progress details.

    \n\n\n\n\n\n\n\n\n\n\n\n

    resourcePath (URI!)

    The HTTP path for this project.

    \n\n\n\n\n\n\n\n\n\n\n\n

    state (ProjectState!)

    Whether the project is open or closed.

    \n\n\n\n\n\n\n\n\n\n\n\n

    updatedAt (DateTime!)

    Identifies the date and time when the object was last updated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    url (URI!)

    The HTTP URL for this project.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerCanUpdate (Boolean!)

    Check if the current viewer can update this object.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n ProjectCard\n

    \n

    A card in a project.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    column (ProjectColumn)

    The project column this card is associated under. A card may only belong to one\nproject column at a time. The column field will be null if the card is created\nin a pending state and has yet to be associated with a column. Once cards are\nassociated with a column, they will not become pending in the future.

    \n\n\n\n\n\n\n\n\n\n\n\n

    content (ProjectCardItem)

    The card content item.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    creator (Actor)

    The actor who created this card.

    \n\n\n\n\n\n\n\n\n\n\n\n

    databaseId (Int)

    Identifies the primary key from the database.

    \n\n\n\n\n\n\n\n\n\n\n\n

    isArchived (Boolean!)

    Whether the card is archived.

    \n\n\n\n\n\n\n\n\n\n\n\n

    note (String)

    The card note.

    \n\n\n\n\n\n\n\n\n\n\n\n

    project (Project!)

    The project that contains this card.

    \n\n\n\n\n\n\n\n\n\n\n\n

    resourcePath (URI!)

    The HTTP path for this card.

    \n\n\n\n\n\n\n\n\n\n\n\n

    state (ProjectCardState)

    The state of ProjectCard.

    \n\n\n\n\n\n\n\n\n\n\n\n

    updatedAt (DateTime!)

    Identifies the date and time when the object was last updated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    url (URI!)

    The HTTP URL for this card.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n ProjectCardConnection\n

    \n

    The connection type for ProjectCard.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([ProjectCardEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([ProjectCard])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n ProjectCardEdge\n

    \n

    An edge in a connection.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (ProjectCard)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n ProjectColumn\n

    \n

    A column inside a project.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cards (ProjectCardConnection!)

    List of cards in the column.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    archivedStates ([ProjectCardArchivedState])

    \n

    A list of archived states to filter the cards by.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n\n\n

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    databaseId (Int)

    Identifies the primary key from the database.

    \n\n\n\n\n\n\n\n\n\n\n\n

    name (String!)

    The project column's name.

    \n\n\n\n\n\n\n\n\n\n\n\n

    project (Project!)

    The project that contains this column.

    \n\n\n\n\n\n\n\n\n\n\n\n

    purpose (ProjectColumnPurpose)

    The semantic purpose of the column.

    \n\n\n\n\n\n\n\n\n\n\n\n

    resourcePath (URI!)

    The HTTP path for this project column.

    \n\n\n\n\n\n\n\n\n\n\n\n

    updatedAt (DateTime!)

    Identifies the date and time when the object was last updated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    url (URI!)

    The HTTP URL for this project column.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n ProjectColumnConnection\n

    \n

    The connection type for ProjectColumn.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([ProjectColumnEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([ProjectColumn])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n ProjectColumnEdge\n

    \n

    An edge in a connection.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (ProjectColumn)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n ProjectConnection\n

    \n

    A list of projects associated with the owner.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([ProjectEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([Project])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n ProjectEdge\n

    \n

    An edge in a connection.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (Project)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n ProjectProgress\n

    \n

    Project progress stats.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    doneCount (Int!)

    The number of done cards.

    \n\n\n\n\n\n\n\n\n\n\n\n

    donePercentage (Float!)

    The percentage of done cards.

    \n\n\n\n\n\n\n\n\n\n\n\n

    enabled (Boolean!)

    Whether progress tracking is enabled and cards with purpose exist for this project.

    \n\n\n\n\n\n\n\n\n\n\n\n

    inProgressCount (Int!)

    The number of in-progress cards.

    \n\n\n\n\n\n\n\n\n\n\n\n

    inProgressPercentage (Float!)

    The percentage of in-progress cards.

    \n\n\n\n\n\n\n\n\n\n\n\n

    todoCount (Int!)

    The number of to do cards.

    \n\n\n\n\n\n\n\n\n\n\n\n

    todoPercentage (Float!)

    The percentage of to do cards.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n PublicKey\n

    \n

    A user's public key.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    accessedAt (DateTime)

    The last time this authorization was used to perform an action. Values will be null for keys not owned by the user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (DateTime)

    Identifies the date and time when the key was created. Keys created before\nMarch 5th, 2014 have inaccurate values. Values will be null for keys not owned by the user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    fingerprint (String!)

    The fingerprint for this PublicKey.

    \n\n\n\n\n\n\n\n\n\n\n\n

    isReadOnly (Boolean)

    Whether this PublicKey is read-only or not. Values will be null for keys not owned by the user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    key (String!)

    The public key string.

    \n\n\n\n\n\n\n\n\n\n\n\n

    updatedAt (DateTime)

    Identifies the date and time when the key was updated. Keys created before\nMarch 5th, 2014 may have inaccurate values. Values will be null for keys not\nowned by the user.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n PublicKeyConnection\n

    \n

    The connection type for PublicKey.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([PublicKeyEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([PublicKey])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n PublicKeyEdge\n

    \n

    An edge in a connection.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (PublicKey)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n PullRequest\n

    \n

    A repository pull request.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    activeLockReason (LockReason)

    Reason that the conversation was locked.

    \n\n\n\n\n\n\n\n\n\n\n\n

    additions (Int!)

    The number of additions in this pull request.

    \n\n\n\n\n\n\n\n\n\n\n\n

    assignees (UserConnection!)

    A list of Users assigned to this object.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n\n\n

    author (Actor)

    The actor who authored the comment.

    \n\n\n\n\n\n\n\n\n\n\n\n

    authorAssociation (CommentAuthorAssociation!)

    Author's association with the subject of the comment.

    \n\n\n\n\n\n\n\n\n\n\n\n

    autoMergeRequest (AutoMergeRequest)

    Returns the auto-merge request object if one exists for this pull request.

    \n\n\n\n\n\n\n\n\n\n\n\n

    baseRef (Ref)

    Identifies the base Ref associated with the pull request.

    \n\n\n\n\n\n\n\n\n\n\n\n

    baseRefName (String!)

    Identifies the name of the base Ref associated with the pull request, even if the ref has been deleted.

    \n\n\n\n\n\n\n\n\n\n\n\n

    baseRefOid (GitObjectID!)

    Identifies the oid of the base ref associated with the pull request, even if the ref has been deleted.

    \n\n\n\n\n\n\n\n\n\n\n\n

    baseRepository (Repository)

    The repository associated with this pull request's base Ref.

    \n\n\n\n\n\n\n\n\n\n\n\n

    body (String!)

    The body as Markdown.

    \n\n\n\n\n\n\n\n\n\n\n\n

    bodyHTML (HTML!)

    The body rendered to HTML.

    \n\n\n\n\n\n\n\n\n\n\n\n

    bodyText (String!)

    The body rendered to text.

    \n\n\n\n\n\n\n\n\n\n\n\n

    canBeRebased (Boolean!)

    Whether or not the pull request is rebaseable.

    \n\n\n\n\n
    \n

    Preview notice

    \n

    canBeRebased is available under the Merge info preview. During the preview period, the API may change without notice.

    \n
    \n\n\n\n\n\n\n\n\n

    changedFiles (Int!)

    The number of changed files in this pull request.

    \n\n\n\n\n\n\n\n\n\n\n\n

    checksResourcePath (URI!)

    The HTTP path for the checks of this pull request.

    \n\n\n\n\n\n\n\n\n\n\n\n

    checksUrl (URI!)

    The HTTP URL for the checks of this pull request.

    \n\n\n\n\n\n\n\n\n\n\n\n

    closed (Boolean!)

    true if the pull request is closed.

    \n\n\n\n\n\n\n\n\n\n\n\n

    closedAt (DateTime)

    Identifies the date and time when the object was closed.

    \n\n\n\n\n\n\n\n\n\n\n\n

    comments (IssueCommentConnection!)

    A list of comments associated with the pull request.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (IssueCommentOrder)

    \n

    Ordering options for issue comments returned from the connection.

    \n\n
    \n\n
    \n\n\n

    commits (PullRequestCommitConnection!)

    A list of commits present in this pull request's head branch not present in the base branch.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n\n\n

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdViaEmail (Boolean!)

    Check if this comment was created via an email reply.

    \n\n\n\n\n\n\n\n\n\n\n\n

    databaseId (Int)

    Identifies the primary key from the database.

    \n\n\n\n\n\n\n\n\n\n\n\n

    deletions (Int!)

    The number of deletions in this pull request.

    \n\n\n\n\n\n\n\n\n\n\n\n

    editor (Actor)

    The actor who edited this pull request's body.

    \n\n\n\n\n\n\n\n\n\n\n\n

    files (PullRequestChangedFileConnection)

    Lists the files changed within this pull request.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n\n\n

    headRef (Ref)

    Identifies the head Ref associated with the pull request.

    \n\n\n\n\n\n\n\n\n\n\n\n

    headRefName (String!)

    Identifies the name of the head Ref associated with the pull request, even if the ref has been deleted.

    \n\n\n\n\n\n\n\n\n\n\n\n

    headRefOid (GitObjectID!)

    Identifies the oid of the head ref associated with the pull request, even if the ref has been deleted.

    \n\n\n\n\n\n\n\n\n\n\n\n

    headRepository (Repository)

    The repository associated with this pull request's head Ref.

    \n\n\n\n\n\n\n\n\n\n\n\n

    headRepositoryOwner (RepositoryOwner)

    The owner of the repository associated with this pull request's head Ref.

    \n\n\n\n\n\n\n\n\n\n\n\n

    hovercard (Hovercard!)

    The hovercard information for this issue.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    includeNotificationContexts (Boolean)

    \n

    Whether or not to include notification contexts.

    \n

    The default value is true.

    \n
    \n\n
    \n\n\n

    includesCreatedEdit (Boolean!)

    Check if this comment was edited and includes an edit with the creation data.

    \n\n\n\n\n\n\n\n\n\n\n\n

    isCrossRepository (Boolean!)

    The head and base repositories are different.

    \n\n\n\n\n\n\n\n\n\n\n\n

    isDraft (Boolean!)

    Identifies if the pull request is a draft.

    \n\n\n\n\n\n\n\n\n\n\n\n

    isReadByViewer (Boolean)

    Is this pull request read by the viewer.

    \n\n\n\n\n\n\n\n\n\n\n\n

    labels (LabelConnection)

    A list of labels associated with the object.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (LabelOrder)

    \n

    Ordering options for labels returned from the connection.

    \n\n
    \n\n
    \n\n\n

    lastEditedAt (DateTime)

    The moment the editor made the last edit.

    \n\n\n\n\n\n\n\n\n\n\n\n

    latestOpinionatedReviews (PullRequestReviewConnection)

    A list of latest reviews per user associated with the pull request.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    writersOnly (Boolean)

    \n

    Only return reviews from user who have write access to the repository.

    \n

    The default value is false.

    \n
    \n\n
    \n\n\n

    latestReviews (PullRequestReviewConnection)

    A list of latest reviews per user associated with the pull request that are not also pending review.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n\n\n

    locked (Boolean!)

    true if the pull request is locked.

    \n\n\n\n\n\n\n\n\n\n\n\n

    maintainerCanModify (Boolean!)

    Indicates whether maintainers can modify the pull request.

    \n\n\n\n\n\n\n\n\n\n\n\n

    mergeCommit (Commit)

    The commit that was created when this pull request was merged.

    \n\n\n\n\n\n\n\n\n\n\n\n

    mergeStateStatus (MergeStateStatus!)

    Detailed information about the current pull request merge state status.

    \n\n\n\n\n
    \n

    Preview notice

    \n

    mergeStateStatus is available under the Merge info preview. During the preview period, the API may change without notice.

    \n
    \n\n\n\n\n\n\n\n\n

    mergeable (MergeableState!)

    Whether or not the pull request can be merged based on the existence of merge conflicts.

    \n\n\n\n\n\n\n\n\n\n\n\n

    merged (Boolean!)

    Whether or not the pull request was merged.

    \n\n\n\n\n\n\n\n\n\n\n\n

    mergedAt (DateTime)

    The date and time that the pull request was merged.

    \n\n\n\n\n\n\n\n\n\n\n\n

    mergedBy (Actor)

    The actor who merged the pull request.

    \n\n\n\n\n\n\n\n\n\n\n\n

    milestone (Milestone)

    Identifies the milestone associated with the pull request.

    \n\n\n\n\n\n\n\n\n\n\n\n

    number (Int!)

    Identifies the pull request number.

    \n\n\n\n\n\n\n\n\n\n\n\n

    participants (UserConnection!)

    A list of Users that are participating in the Pull Request conversation.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n\n\n

    permalink (URI!)

    The permalink to the pull request.

    \n\n\n\n\n\n\n\n\n\n\n\n

    potentialMergeCommit (Commit)

    The commit that GitHub automatically generated to test if this pull request\ncould be merged. This field will not return a value if the pull request is\nmerged, or if the test merge commit is still being generated. See the\nmergeable field for more details on the mergeability of the pull request.

    \n\n\n\n\n\n\n\n\n\n\n\n

    projectCards (ProjectCardConnection!)

    List of project cards associated with this pull request.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    archivedStates ([ProjectCardArchivedState])

    \n

    A list of archived states to filter the cards by.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n\n\n

    publishedAt (DateTime)

    Identifies when the comment was published at.

    \n\n\n\n\n\n\n\n\n\n\n\n

    reactionGroups ([ReactionGroup!])

    A list of reactions grouped by content left on the subject.

    \n\n\n\n\n\n\n\n\n\n\n\n

    reactions (ReactionConnection!)

    A list of Reactions left on the Issue.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    content (ReactionContent)

    \n

    Allows filtering Reactions by emoji.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (ReactionOrder)

    \n

    Allows specifying the order in which reactions are returned.

    \n\n
    \n\n
    \n\n\n

    repository (Repository!)

    The repository associated with this node.

    \n\n\n\n\n\n\n\n\n\n\n\n

    resourcePath (URI!)

    The HTTP path for this pull request.

    \n\n\n\n\n\n\n\n\n\n\n\n

    revertResourcePath (URI!)

    The HTTP path for reverting this pull request.

    \n\n\n\n\n\n\n\n\n\n\n\n

    revertUrl (URI!)

    The HTTP URL for reverting this pull request.

    \n\n\n\n\n\n\n\n\n\n\n\n

    reviewDecision (PullRequestReviewDecision)

    The current status of this pull request with respect to code review.

    \n\n\n\n\n\n\n\n\n\n\n\n

    reviewRequests (ReviewRequestConnection)

    A list of review requests associated with the pull request.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n\n\n

    reviewThreads (PullRequestReviewThreadConnection!)

    The list of all review threads for this pull request.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n\n\n

    reviews (PullRequestReviewConnection)

    A list of reviews associated with the pull request.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    author (String)

    \n

    Filter by author of the review.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    states ([PullRequestReviewState!])

    \n

    A list of states to filter the reviews.

    \n\n
    \n\n
    \n\n\n

    state (PullRequestState!)

    Identifies the state of the pull request.

    \n\n\n\n\n\n\n\n\n\n\n\n

    suggestedReviewers ([SuggestedReviewer]!)

    A list of reviewer suggestions based on commit history and past review comments.

    \n\n\n\n\n\n\n\n\n\n\n\n

    timeline (PullRequestTimelineConnection!)

    A list of events, comments, commits, etc. associated with the pull request.

    \n\n\n\n\n\n\n
    \n

    Deprecation notice

    \n

    timeline is deprecated.

    timeline will be removed Use PullRequest.timelineItems instead. Removal on 2020-10-01 UTC.

    \n
    \n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    since (DateTime)

    \n

    Allows filtering timeline events by a since timestamp.

    \n\n
    \n\n
    \n\n\n

    timelineItems (PullRequestTimelineItemsConnection!)

    A list of events, comments, commits, etc. associated with the pull request.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    itemTypes ([PullRequestTimelineItemsItemType!])

    \n

    Filter timeline items by type.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    since (DateTime)

    \n

    Filter timeline items by a since timestamp.

    \n\n
    \n\n
    \n

    skip (Int)

    \n

    Skips the first n elements in the list.

    \n\n
    \n\n
    \n\n\n

    title (String!)

    Identifies the pull request title.

    \n\n\n\n\n\n\n\n\n\n\n\n

    updatedAt (DateTime!)

    Identifies the date and time when the object was last updated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    url (URI!)

    The HTTP URL for this pull request.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userContentEdits (UserContentEditConnection)

    A list of edits to this content.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n\n\n

    viewerCanApplySuggestion (Boolean!)

    Whether or not the viewer can apply suggestion.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerCanDeleteHeadRef (Boolean!)

    Check if the viewer can restore the deleted head ref.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerCanDisableAutoMerge (Boolean!)

    Whether or not the viewer can disable auto-merge.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerCanEnableAutoMerge (Boolean!)

    Whether or not the viewer can enable auto-merge.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerCanReact (Boolean!)

    Can user react to this subject.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerCanSubscribe (Boolean!)

    Check if the viewer is able to change their subscription status for the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerCanUpdate (Boolean!)

    Check if the current viewer can update this object.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerCannotUpdateReasons ([CommentCannotUpdateReason!]!)

    Reasons why the current viewer can not update this comment.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerDidAuthor (Boolean!)

    Did the viewer author this comment.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerLatestReview (PullRequestReview)

    The latest review given from the viewer.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerLatestReviewRequest (ReviewRequest)

    The person who has requested the viewer for review on this pull request.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerMergeBodyText (String!)

    The merge body text for the viewer and method.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    mergeType (PullRequestMergeMethod)

    \n

    The merge method for the message.

    \n\n
    \n\n
    \n\n\n

    viewerMergeHeadlineText (String!)

    The merge headline text for the viewer and method.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    mergeType (PullRequestMergeMethod)

    \n

    The merge method for the message.

    \n\n
    \n\n
    \n\n\n

    viewerSubscription (SubscriptionState)

    Identifies if the viewer is watching, not watching, or ignoring the subscribable entity.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n PullRequestChangedFile\n

    \n

    A file changed in a pull request.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    additions (Int!)

    The number of additions to the file.

    \n\n\n\n\n\n\n\n\n\n\n\n

    deletions (Int!)

    The number of deletions to the file.

    \n\n\n\n\n\n\n\n\n\n\n\n

    path (String!)

    The path of the file.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerViewedState (FileViewedState!)

    The state of the file for the viewer.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n PullRequestChangedFileConnection\n

    \n

    The connection type for PullRequestChangedFile.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([PullRequestChangedFileEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([PullRequestChangedFile])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n PullRequestChangedFileEdge\n

    \n

    An edge in a connection.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (PullRequestChangedFile)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n PullRequestCommit\n

    \n

    Represents a Git commit part of a pull request.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    commit (Commit!)

    The Git commit object.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pullRequest (PullRequest!)

    The pull request this commit belongs to.

    \n\n\n\n\n\n\n\n\n\n\n\n

    resourcePath (URI!)

    The HTTP path for this pull request commit.

    \n\n\n\n\n\n\n\n\n\n\n\n

    url (URI!)

    The HTTP URL for this pull request commit.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n PullRequestCommitCommentThread\n

    \n

    Represents a commit comment thread part of a pull request.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    comments (CommitCommentConnection!)

    The comments that exist in this thread.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n\n\n

    commit (Commit!)

    The commit the comments were made on.

    \n\n\n\n\n\n\n\n\n\n\n\n

    path (String)

    The file the comments were made on.

    \n\n\n\n\n\n\n\n\n\n\n\n

    position (Int)

    The position in the diff for the commit that the comment was made on.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pullRequest (PullRequest!)

    The pull request this commit comment thread belongs to.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repository (Repository!)

    The repository associated with this node.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n PullRequestCommitConnection\n

    \n

    The connection type for PullRequestCommit.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([PullRequestCommitEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([PullRequestCommit])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n PullRequestCommitEdge\n

    \n

    An edge in a connection.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (PullRequestCommit)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n PullRequestConnection\n

    \n

    The connection type for PullRequest.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([PullRequestEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([PullRequest])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n PullRequestContributionsByRepository\n

    \n

    This aggregates pull requests opened by a user within one repository.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    contributions (CreatedPullRequestContributionConnection!)

    The pull request contributions.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (ContributionOrder)

    \n

    Ordering options for contributions returned from the connection.

    \n\n
    \n\n
    \n\n\n

    repository (Repository!)

    The repository in which the pull requests were opened.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n PullRequestEdge\n

    \n

    An edge in a connection.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (PullRequest)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n PullRequestReview\n

    \n

    A review object for a given pull request.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    author (Actor)

    The actor who authored the comment.

    \n\n\n\n\n\n\n\n\n\n\n\n

    authorAssociation (CommentAuthorAssociation!)

    Author's association with the subject of the comment.

    \n\n\n\n\n\n\n\n\n\n\n\n

    authorCanPushToRepository (Boolean!)

    Indicates whether the author of this review has push access to the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    body (String!)

    Identifies the pull request review body.

    \n\n\n\n\n\n\n\n\n\n\n\n

    bodyHTML (HTML!)

    The body rendered to HTML.

    \n\n\n\n\n\n\n\n\n\n\n\n

    bodyText (String!)

    The body of this review rendered as plain text.

    \n\n\n\n\n\n\n\n\n\n\n\n

    comments (PullRequestReviewCommentConnection!)

    A list of review comments for the current pull request review.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n\n\n

    commit (Commit)

    Identifies the commit associated with this pull request review.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdViaEmail (Boolean!)

    Check if this comment was created via an email reply.

    \n\n\n\n\n\n\n\n\n\n\n\n

    databaseId (Int)

    Identifies the primary key from the database.

    \n\n\n\n\n\n\n\n\n\n\n\n

    editor (Actor)

    The actor who edited the comment.

    \n\n\n\n\n\n\n\n\n\n\n\n

    includesCreatedEdit (Boolean!)

    Check if this comment was edited and includes an edit with the creation data.

    \n\n\n\n\n\n\n\n\n\n\n\n

    lastEditedAt (DateTime)

    The moment the editor made the last edit.

    \n\n\n\n\n\n\n\n\n\n\n\n

    onBehalfOf (TeamConnection!)

    A list of teams that this review was made on behalf of.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n\n\n

    publishedAt (DateTime)

    Identifies when the comment was published at.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pullRequest (PullRequest!)

    Identifies the pull request associated with this pull request review.

    \n\n\n\n\n\n\n\n\n\n\n\n

    reactionGroups ([ReactionGroup!])

    A list of reactions grouped by content left on the subject.

    \n\n\n\n\n\n\n\n\n\n\n\n

    reactions (ReactionConnection!)

    A list of Reactions left on the Issue.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    content (ReactionContent)

    \n

    Allows filtering Reactions by emoji.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (ReactionOrder)

    \n

    Allows specifying the order in which reactions are returned.

    \n\n
    \n\n
    \n\n\n

    repository (Repository!)

    The repository associated with this node.

    \n\n\n\n\n\n\n\n\n\n\n\n

    resourcePath (URI!)

    The HTTP path permalink for this PullRequestReview.

    \n\n\n\n\n\n\n\n\n\n\n\n

    state (PullRequestReviewState!)

    Identifies the current state of the pull request review.

    \n\n\n\n\n\n\n\n\n\n\n\n

    submittedAt (DateTime)

    Identifies when the Pull Request Review was submitted.

    \n\n\n\n\n\n\n\n\n\n\n\n

    updatedAt (DateTime!)

    Identifies the date and time when the object was last updated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    url (URI!)

    The HTTP URL permalink for this PullRequestReview.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userContentEdits (UserContentEditConnection)

    A list of edits to this content.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n\n\n

    viewerCanDelete (Boolean!)

    Check if the current viewer can delete this object.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerCanReact (Boolean!)

    Can user react to this subject.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerCanUpdate (Boolean!)

    Check if the current viewer can update this object.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerCannotUpdateReasons ([CommentCannotUpdateReason!]!)

    Reasons why the current viewer can not update this comment.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerDidAuthor (Boolean!)

    Did the viewer author this comment.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n PullRequestReviewComment\n

    \n

    A review comment associated with a given repository pull request.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    author (Actor)

    The actor who authored the comment.

    \n\n\n\n\n\n\n\n\n\n\n\n

    authorAssociation (CommentAuthorAssociation!)

    Author's association with the subject of the comment.

    \n\n\n\n\n\n\n\n\n\n\n\n

    body (String!)

    The comment body of this review comment.

    \n\n\n\n\n\n\n\n\n\n\n\n

    bodyHTML (HTML!)

    The body rendered to HTML.

    \n\n\n\n\n\n\n\n\n\n\n\n

    bodyText (String!)

    The comment body of this review comment rendered as plain text.

    \n\n\n\n\n\n\n\n\n\n\n\n

    commit (Commit)

    Identifies the commit associated with the comment.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (DateTime!)

    Identifies when the comment was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdViaEmail (Boolean!)

    Check if this comment was created via an email reply.

    \n\n\n\n\n\n\n\n\n\n\n\n

    databaseId (Int)

    Identifies the primary key from the database.

    \n\n\n\n\n\n\n\n\n\n\n\n

    diffHunk (String!)

    The diff hunk to which the comment applies.

    \n\n\n\n\n\n\n\n\n\n\n\n

    draftedAt (DateTime!)

    Identifies when the comment was created in a draft state.

    \n\n\n\n\n\n\n\n\n\n\n\n

    editor (Actor)

    The actor who edited the comment.

    \n\n\n\n\n\n\n\n\n\n\n\n

    includesCreatedEdit (Boolean!)

    Check if this comment was edited and includes an edit with the creation data.

    \n\n\n\n\n\n\n\n\n\n\n\n

    isMinimized (Boolean!)

    Returns whether or not a comment has been minimized.

    \n\n\n\n\n\n\n\n\n\n\n\n

    lastEditedAt (DateTime)

    The moment the editor made the last edit.

    \n\n\n\n\n\n\n\n\n\n\n\n

    minimizedReason (String)

    Returns why the comment was minimized.

    \n\n\n\n\n\n\n\n\n\n\n\n

    originalCommit (Commit)

    Identifies the original commit associated with the comment.

    \n\n\n\n\n\n\n\n\n\n\n\n

    originalPosition (Int!)

    The original line index in the diff to which the comment applies.

    \n\n\n\n\n\n\n\n\n\n\n\n

    outdated (Boolean!)

    Identifies when the comment body is outdated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    path (String!)

    The path to which the comment applies.

    \n\n\n\n\n\n\n\n\n\n\n\n

    position (Int)

    The line index in the diff to which the comment applies.

    \n\n\n\n\n\n\n\n\n\n\n\n

    publishedAt (DateTime)

    Identifies when the comment was published at.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pullRequest (PullRequest!)

    The pull request associated with this review comment.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pullRequestReview (PullRequestReview)

    The pull request review associated with this review comment.

    \n\n\n\n\n\n\n\n\n\n\n\n

    reactionGroups ([ReactionGroup!])

    A list of reactions grouped by content left on the subject.

    \n\n\n\n\n\n\n\n\n\n\n\n

    reactions (ReactionConnection!)

    A list of Reactions left on the Issue.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    content (ReactionContent)

    \n

    Allows filtering Reactions by emoji.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (ReactionOrder)

    \n

    Allows specifying the order in which reactions are returned.

    \n\n
    \n\n
    \n\n\n

    replyTo (PullRequestReviewComment)

    The comment this is a reply to.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repository (Repository!)

    The repository associated with this node.

    \n\n\n\n\n\n\n\n\n\n\n\n

    resourcePath (URI!)

    The HTTP path permalink for this review comment.

    \n\n\n\n\n\n\n\n\n\n\n\n

    state (PullRequestReviewCommentState!)

    Identifies the state of the comment.

    \n\n\n\n\n\n\n\n\n\n\n\n

    updatedAt (DateTime!)

    Identifies when the comment was last updated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    url (URI!)

    The HTTP URL permalink for this review comment.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userContentEdits (UserContentEditConnection)

    A list of edits to this content.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n\n\n

    viewerCanDelete (Boolean!)

    Check if the current viewer can delete this object.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerCanMinimize (Boolean!)

    Check if the current viewer can minimize this object.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerCanReact (Boolean!)

    Can user react to this subject.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerCanUpdate (Boolean!)

    Check if the current viewer can update this object.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerCannotUpdateReasons ([CommentCannotUpdateReason!]!)

    Reasons why the current viewer can not update this comment.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerDidAuthor (Boolean!)

    Did the viewer author this comment.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n PullRequestReviewCommentConnection\n

    \n

    The connection type for PullRequestReviewComment.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([PullRequestReviewCommentEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([PullRequestReviewComment])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n PullRequestReviewCommentEdge\n

    \n

    An edge in a connection.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (PullRequestReviewComment)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n PullRequestReviewConnection\n

    \n

    The connection type for PullRequestReview.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([PullRequestReviewEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([PullRequestReview])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n PullRequestReviewContributionsByRepository\n

    \n

    This aggregates pull request reviews made by a user within one repository.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    contributions (CreatedPullRequestReviewContributionConnection!)

    The pull request review contributions.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (ContributionOrder)

    \n

    Ordering options for contributions returned from the connection.

    \n\n
    \n\n
    \n\n\n

    repository (Repository!)

    The repository in which the pull request reviews were made.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n PullRequestReviewEdge\n

    \n

    An edge in a connection.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (PullRequestReview)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n PullRequestReviewThread\n

    \n

    A threaded list of comments for a given pull request.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    comments (PullRequestReviewCommentConnection!)

    A list of pull request comments associated with the thread.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    skip (Int)

    \n

    Skips the first n elements in the list.

    \n\n
    \n\n
    \n\n\n

    diffSide (DiffSide!)

    The side of the diff on which this thread was placed.

    \n\n\n\n\n\n\n\n\n\n\n\n

    isCollapsed (Boolean!)

    Whether or not the thread has been collapsed (outdated or resolved).

    \n\n\n\n\n\n\n\n\n\n\n\n

    isOutdated (Boolean!)

    Indicates whether this thread was outdated by newer changes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    isResolved (Boolean!)

    Whether this thread has been resolved.

    \n\n\n\n\n\n\n\n\n\n\n\n

    line (Int)

    The line in the file to which this thread refers.

    \n\n\n\n\n\n\n\n\n\n\n\n

    originalLine (Int)

    The original line in the file to which this thread refers.

    \n\n\n\n\n\n\n\n\n\n\n\n

    originalStartLine (Int)

    The original start line in the file to which this thread refers (multi-line only).

    \n\n\n\n\n\n\n\n\n\n\n\n

    path (String!)

    Identifies the file path of this thread.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pullRequest (PullRequest!)

    Identifies the pull request associated with this thread.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repository (Repository!)

    Identifies the repository associated with this thread.

    \n\n\n\n\n\n\n\n\n\n\n\n

    resolvedBy (User)

    The user who resolved this thread.

    \n\n\n\n\n\n\n\n\n\n\n\n

    startDiffSide (DiffSide)

    The side of the diff that the first line of the thread starts on (multi-line only).

    \n\n\n\n\n\n\n\n\n\n\n\n

    startLine (Int)

    The start line in the file to which this thread refers (multi-line only).

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerCanReply (Boolean!)

    Indicates whether the current viewer can reply to this thread.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerCanResolve (Boolean!)

    Whether or not the viewer can resolve this thread.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerCanUnresolve (Boolean!)

    Whether or not the viewer can unresolve this thread.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n PullRequestReviewThreadConnection\n

    \n

    Review comment threads for a pull request review.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([PullRequestReviewThreadEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([PullRequestReviewThread])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n PullRequestReviewThreadEdge\n

    \n

    An edge in a connection.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (PullRequestReviewThread)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n PullRequestRevisionMarker\n

    \n

    Represents the latest point in the pull request timeline for which the viewer has seen the pull request's commits.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    lastSeenCommit (Commit!)

    The last commit the viewer has seen.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pullRequest (PullRequest!)

    The pull request to which the marker belongs.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n PullRequestTimelineConnection\n

    \n

    The connection type for PullRequestTimelineItem.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([PullRequestTimelineItemEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([PullRequestTimelineItem])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n PullRequestTimelineItemEdge\n

    \n

    An edge in a connection.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (PullRequestTimelineItem)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n PullRequestTimelineItemsConnection\n

    \n

    The connection type for PullRequestTimelineItems.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([PullRequestTimelineItemsEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    filteredCount (Int!)

    Identifies the count of items after applying before and after filters.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([PullRequestTimelineItems])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageCount (Int!)

    Identifies the count of items after applying before/after filters and first/last/skip slicing.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n

    updatedAt (DateTime!)

    Identifies the date and time when the timeline was last updated.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n PullRequestTimelineItemsEdge\n

    \n

    An edge in a connection.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (PullRequestTimelineItems)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n Push\n

    \n

    A Git push.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    nextSha (GitObjectID)

    The SHA after the push.

    \n\n\n\n\n\n\n\n\n\n\n\n

    permalink (URI!)

    The permalink for this push.

    \n\n\n\n\n\n\n\n\n\n\n\n

    previousSha (GitObjectID)

    The SHA before the push.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pusher (User!)

    The user who pushed.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repository (Repository!)

    The repository that was pushed to.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n PushAllowance\n

    \n

    A team, user or app who has the ability to push to a protected branch.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    actor (PushAllowanceActor)

    The actor that can push.

    \n\n\n\n\n\n\n\n\n\n\n\n

    branchProtectionRule (BranchProtectionRule)

    Identifies the branch protection rule associated with the allowed user or team.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n PushAllowanceConnection\n

    \n

    The connection type for PushAllowance.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([PushAllowanceEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([PushAllowance])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n PushAllowanceEdge\n

    \n

    An edge in a connection.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (PushAllowance)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n RateLimit\n

    \n

    Represents the client's rate limit.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cost (Int!)

    The point cost for the current query counting against the rate limit.

    \n\n\n\n\n\n\n\n\n\n\n\n

    limit (Int!)

    The maximum number of points the client is permitted to consume in a 60 minute window.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodeCount (Int!)

    The maximum number of nodes this query may return.

    \n\n\n\n\n\n\n\n\n\n\n\n

    remaining (Int!)

    The number of points remaining in the current rate limit window.

    \n\n\n\n\n\n\n\n\n\n\n\n

    resetAt (DateTime!)

    The time at which the current rate limit window resets in UTC epoch seconds.

    \n\n\n\n\n\n\n\n\n\n\n\n

    used (Int!)

    The number of points used in the current rate limit window.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n ReactingUserConnection\n

    \n

    The connection type for User.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([ReactingUserEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([User])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n ReactingUserEdge\n

    \n

    Represents a user that's made a reaction.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    reactedAt (DateTime!)

    The moment when the user made the reaction.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n Reaction\n

    \n

    An emoji reaction to a particular piece of content.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    content (ReactionContent!)

    Identifies the emoji reaction.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    databaseId (Int)

    Identifies the primary key from the database.

    \n\n\n\n\n\n\n\n\n\n\n\n

    reactable (Reactable!)

    The reactable piece of content.

    \n\n\n\n\n\n\n\n\n\n\n\n

    user (User)

    Identifies the user who created this reaction.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n ReactionConnection\n

    \n

    A list of reactions that have been left on the subject.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([ReactionEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([Reaction])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerHasReacted (Boolean!)

    Whether or not the authenticated user has left a reaction on the subject.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n ReactionEdge\n

    \n

    An edge in a connection.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (Reaction)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n ReactionGroup\n

    \n

    A group of emoji reactions to a particular piece of content.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    content (ReactionContent!)

    Identifies the emoji reaction.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (DateTime)

    Identifies when the reaction was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    subject (Reactable!)

    The subject that was reacted to.

    \n\n\n\n\n\n\n\n\n\n\n\n

    users (ReactingUserConnection!)

    Users who have reacted to the reaction subject with the emotion represented by this reaction group.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n\n\n

    viewerHasReacted (Boolean!)

    Whether or not the authenticated user has left a reaction on the subject.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n ReadyForReviewEvent\n

    \n

    Represents aready_for_reviewevent on a given pull request.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    actor (Actor)

    Identifies the actor who performed the event.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pullRequest (PullRequest!)

    PullRequest referenced by event.

    \n\n\n\n\n\n\n\n\n\n\n\n

    resourcePath (URI!)

    The HTTP path for this ready for review event.

    \n\n\n\n\n\n\n\n\n\n\n\n

    url (URI!)

    The HTTP URL for this ready for review event.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n Ref\n

    \n

    Represents a Git reference.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    associatedPullRequests (PullRequestConnection!)

    A list of pull requests with this ref as the head ref.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    baseRefName (String)

    \n

    The base ref name to filter the pull requests by.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    headRefName (String)

    \n

    The head ref name to filter the pull requests by.

    \n\n
    \n\n
    \n

    labels ([String!])

    \n

    A list of label names to filter the pull requests by.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (IssueOrder)

    \n

    Ordering options for pull requests returned from the connection.

    \n\n
    \n\n
    \n

    states ([PullRequestState!])

    \n

    A list of states to filter the pull requests by.

    \n\n
    \n\n
    \n\n\n

    branchProtectionRule (BranchProtectionRule)

    Branch protection rules for this ref.

    \n\n\n\n\n\n\n\n\n\n\n\n

    name (String!)

    The ref name.

    \n\n\n\n\n\n\n\n\n\n\n\n

    prefix (String!)

    The ref's prefix, such as refs/heads/ or refs/tags/.

    \n\n\n\n\n\n\n\n\n\n\n\n

    refUpdateRule (RefUpdateRule)

    Branch protection rules that are viewable by non-admins.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repository (Repository!)

    The repository the ref belongs to.

    \n\n\n\n\n\n\n\n\n\n\n\n

    target (GitObject)

    The object the ref points to. Returns null when object does not exist.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n RefConnection\n

    \n

    The connection type for Ref.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([RefEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([Ref])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n RefEdge\n

    \n

    An edge in a connection.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (Ref)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n RefUpdateRule\n

    \n

    A ref update rules for a viewer.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    allowsDeletions (Boolean!)

    Can this branch be deleted.

    \n\n\n\n\n\n\n\n\n\n\n\n

    allowsForcePushes (Boolean!)

    Are force pushes allowed on this branch.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pattern (String!)

    Identifies the protection rule pattern.

    \n\n\n\n\n\n\n\n\n\n\n\n

    requiredApprovingReviewCount (Int)

    Number of approving reviews required to update matching branches.

    \n\n\n\n\n\n\n\n\n\n\n\n

    requiredStatusCheckContexts ([String])

    List of required status check contexts that must pass for commits to be accepted to matching branches.

    \n\n\n\n\n\n\n\n\n\n\n\n

    requiresCodeOwnerReviews (Boolean!)

    Are reviews from code owners required to update matching branches.

    \n\n\n\n\n\n\n\n\n\n\n\n

    requiresLinearHistory (Boolean!)

    Are merge commits prohibited from being pushed to this branch.

    \n\n\n\n\n\n\n\n\n\n\n\n

    requiresSignatures (Boolean!)

    Are commits required to be signed.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerAllowedToDismissReviews (Boolean!)

    Is the viewer allowed to dismiss reviews.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerCanPush (Boolean!)

    Can the viewer push to the branch.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n ReferencedEvent\n

    \n

    Represents areferencedevent on a given ReferencedSubject.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    actor (Actor)

    Identifies the actor who performed the event.

    \n\n\n\n\n\n\n\n\n\n\n\n

    commit (Commit)

    Identifies the commit associated with thereferencedevent.

    \n\n\n\n\n\n\n\n\n\n\n\n

    commitRepository (Repository!)

    Identifies the repository associated with thereferencedevent.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    isCrossRepository (Boolean!)

    Reference originated in a different repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    isDirectReference (Boolean!)

    Checks if the commit message itself references the subject. Can be false in the case of a commit comment reference.

    \n\n\n\n\n\n\n\n\n\n\n\n

    subject (ReferencedSubject!)

    Object referenced by event.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n Release\n

    \n

    A release contains the content for a release.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    author (User)

    The author of the release.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    description (String)

    The description of the release.

    \n\n\n\n\n\n\n\n\n\n\n\n

    descriptionHTML (HTML)

    The description of this release rendered to HTML.

    \n\n\n\n\n\n\n\n\n\n\n\n

    isDraft (Boolean!)

    Whether or not the release is a draft.

    \n\n\n\n\n\n\n\n\n\n\n\n

    isLatest (Boolean!)

    Whether or not the release is the latest releast.

    \n\n\n\n\n\n\n\n\n\n\n\n

    isPrerelease (Boolean!)

    Whether or not the release is a prerelease.

    \n\n\n\n\n\n\n\n\n\n\n\n

    name (String)

    The title of the release.

    \n\n\n\n\n\n\n\n\n\n\n\n

    publishedAt (DateTime)

    Identifies the date and time when the release was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    releaseAssets (ReleaseAssetConnection!)

    List of releases assets which are dependent on this release.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    name (String)

    \n

    A list of names to filter the assets by.

    \n\n
    \n\n
    \n\n\n

    repository (Repository!)

    The repository that the release belongs to.

    \n\n\n\n\n\n\n\n\n\n\n\n

    resourcePath (URI!)

    The HTTP path for this issue.

    \n\n\n\n\n\n\n\n\n\n\n\n

    shortDescriptionHTML (HTML)

    A description of the release, rendered to HTML without any links in it.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    limit (Int)

    \n

    How many characters to return.

    \n

    The default value is 200.

    \n
    \n\n
    \n\n\n

    tag (Ref)

    The Git tag the release points to.

    \n\n\n\n\n\n\n\n\n\n\n\n

    tagCommit (Commit)

    The tag commit for this release.

    \n\n\n\n\n\n\n\n\n\n\n\n

    tagName (String!)

    The name of the release's Git tag.

    \n\n\n\n\n\n\n\n\n\n\n\n

    updatedAt (DateTime!)

    Identifies the date and time when the object was last updated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    url (URI!)

    The HTTP URL for this issue.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n ReleaseAsset\n

    \n

    A release asset contains the content for a release asset.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    contentType (String!)

    The asset's content-type.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    downloadCount (Int!)

    The number of times this asset was downloaded.

    \n\n\n\n\n\n\n\n\n\n\n\n

    downloadUrl (URI!)

    Identifies the URL where you can download the release asset via the browser.

    \n\n\n\n\n\n\n\n\n\n\n\n

    name (String!)

    Identifies the title of the release asset.

    \n\n\n\n\n\n\n\n\n\n\n\n

    release (Release)

    Release that the asset is associated with.

    \n\n\n\n\n\n\n\n\n\n\n\n

    size (Int!)

    The size (in bytes) of the asset.

    \n\n\n\n\n\n\n\n\n\n\n\n

    updatedAt (DateTime!)

    Identifies the date and time when the object was last updated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    uploadedBy (User!)

    The user that performed the upload.

    \n\n\n\n\n\n\n\n\n\n\n\n

    url (URI!)

    Identifies the URL of the release asset.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n ReleaseAssetConnection\n

    \n

    The connection type for ReleaseAsset.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([ReleaseAssetEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([ReleaseAsset])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n ReleaseAssetEdge\n

    \n

    An edge in a connection.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (ReleaseAsset)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n ReleaseConnection\n

    \n

    The connection type for Release.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([ReleaseEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([Release])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n ReleaseEdge\n

    \n

    An edge in a connection.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (Release)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n RemovedFromProjectEvent\n

    \n

    Represents aremoved_from_projectevent on a given issue or pull request.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    actor (Actor)

    Identifies the actor who performed the event.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    databaseId (Int)

    Identifies the primary key from the database.

    \n\n\n\n\n\n\n\n\n\n\n\n

    project (Project)

    Project referenced by event.

    \n\n\n\n\n
    \n

    Preview notice

    \n

    project is available under the Project event details preview. During the preview period, the API may change without notice.

    \n
    \n\n\n\n\n\n\n\n\n

    projectColumnName (String!)

    Column name referenced by this project event.

    \n\n\n\n\n
    \n

    Preview notice

    \n

    projectColumnName is available under the Project event details preview. During the preview period, the API may change without notice.

    \n
    \n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n RenamedTitleEvent\n

    \n

    Represents arenamedevent on a given issue or pull request.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    actor (Actor)

    Identifies the actor who performed the event.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    currentTitle (String!)

    Identifies the current title of the issue or pull request.

    \n\n\n\n\n\n\n\n\n\n\n\n

    previousTitle (String!)

    Identifies the previous title of the issue or pull request.

    \n\n\n\n\n\n\n\n\n\n\n\n

    subject (RenamedTitleSubject!)

    Subject that was renamed.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n ReopenedEvent\n

    \n

    Represents areopenedevent on any Closable.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    actor (Actor)

    Identifies the actor who performed the event.

    \n\n\n\n\n\n\n\n\n\n\n\n

    closable (Closable!)

    Object that was reopened.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n RepoAccessAuditEntry\n

    \n

    Audit log entry for a repo.access event.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    action (String!)

    The action name.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actor (AuditEntryActor)

    The user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorIp (String)

    The IP address of the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLocation (ActorLocation)

    A readable representation of the actor's location.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLogin (String)

    The username of the user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorResourcePath (URI)

    The HTTP path for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorUrl (URI)

    The HTTP URL for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (PreciseDateTime!)

    The time the action was initiated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    operationType (OperationType)

    The corresponding operation type for the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organization (Organization)

    The Organization associated with the Audit Entry.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationName (String)

    The name of the Organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationResourcePath (URI)

    The HTTP path for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationUrl (URI)

    The HTTP URL for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repository (Repository)

    The repository associated with the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repositoryName (String)

    The name of the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repositoryResourcePath (URI)

    The HTTP path for the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repositoryUrl (URI)

    The HTTP URL for the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    user (User)

    The user affected by the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userLogin (String)

    For actions involving two users, the actor is the initiator and the user is the affected user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userResourcePath (URI)

    The HTTP path for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userUrl (URI)

    The HTTP URL for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    visibility (RepoAccessAuditEntryVisibility)

    The visibility of the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n RepoAddMemberAuditEntry\n

    \n

    Audit log entry for a repo.add_member event.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    action (String!)

    The action name.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actor (AuditEntryActor)

    The user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorIp (String)

    The IP address of the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLocation (ActorLocation)

    A readable representation of the actor's location.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLogin (String)

    The username of the user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorResourcePath (URI)

    The HTTP path for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorUrl (URI)

    The HTTP URL for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (PreciseDateTime!)

    The time the action was initiated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    operationType (OperationType)

    The corresponding operation type for the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organization (Organization)

    The Organization associated with the Audit Entry.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationName (String)

    The name of the Organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationResourcePath (URI)

    The HTTP path for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationUrl (URI)

    The HTTP URL for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repository (Repository)

    The repository associated with the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repositoryName (String)

    The name of the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repositoryResourcePath (URI)

    The HTTP path for the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repositoryUrl (URI)

    The HTTP URL for the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    user (User)

    The user affected by the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userLogin (String)

    For actions involving two users, the actor is the initiator and the user is the affected user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userResourcePath (URI)

    The HTTP path for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userUrl (URI)

    The HTTP URL for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    visibility (RepoAddMemberAuditEntryVisibility)

    The visibility of the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n RepoAddTopicAuditEntry\n

    \n

    Audit log entry for a repo.add_topic event.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    action (String!)

    The action name.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actor (AuditEntryActor)

    The user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorIp (String)

    The IP address of the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLocation (ActorLocation)

    A readable representation of the actor's location.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLogin (String)

    The username of the user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorResourcePath (URI)

    The HTTP path for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorUrl (URI)

    The HTTP URL for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (PreciseDateTime!)

    The time the action was initiated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    operationType (OperationType)

    The corresponding operation type for the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organization (Organization)

    The Organization associated with the Audit Entry.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationName (String)

    The name of the Organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationResourcePath (URI)

    The HTTP path for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationUrl (URI)

    The HTTP URL for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repository (Repository)

    The repository associated with the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repositoryName (String)

    The name of the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repositoryResourcePath (URI)

    The HTTP path for the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repositoryUrl (URI)

    The HTTP URL for the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    topic (Topic)

    The name of the topic added to the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    topicName (String)

    The name of the topic added to the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    user (User)

    The user affected by the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userLogin (String)

    For actions involving two users, the actor is the initiator and the user is the affected user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userResourcePath (URI)

    The HTTP path for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userUrl (URI)

    The HTTP URL for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n RepoArchivedAuditEntry\n

    \n

    Audit log entry for a repo.archived event.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    action (String!)

    The action name.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actor (AuditEntryActor)

    The user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorIp (String)

    The IP address of the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLocation (ActorLocation)

    A readable representation of the actor's location.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLogin (String)

    The username of the user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorResourcePath (URI)

    The HTTP path for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorUrl (URI)

    The HTTP URL for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (PreciseDateTime!)

    The time the action was initiated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    operationType (OperationType)

    The corresponding operation type for the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organization (Organization)

    The Organization associated with the Audit Entry.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationName (String)

    The name of the Organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationResourcePath (URI)

    The HTTP path for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationUrl (URI)

    The HTTP URL for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repository (Repository)

    The repository associated with the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repositoryName (String)

    The name of the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repositoryResourcePath (URI)

    The HTTP path for the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repositoryUrl (URI)

    The HTTP URL for the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    user (User)

    The user affected by the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userLogin (String)

    For actions involving two users, the actor is the initiator and the user is the affected user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userResourcePath (URI)

    The HTTP path for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userUrl (URI)

    The HTTP URL for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    visibility (RepoArchivedAuditEntryVisibility)

    The visibility of the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n RepoChangeMergeSettingAuditEntry\n

    \n

    Audit log entry for a repo.change_merge_setting event.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    action (String!)

    The action name.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actor (AuditEntryActor)

    The user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorIp (String)

    The IP address of the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLocation (ActorLocation)

    A readable representation of the actor's location.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLogin (String)

    The username of the user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorResourcePath (URI)

    The HTTP path for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorUrl (URI)

    The HTTP URL for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (PreciseDateTime!)

    The time the action was initiated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    isEnabled (Boolean)

    Whether the change was to enable (true) or disable (false) the merge type.

    \n\n\n\n\n\n\n\n\n\n\n\n

    mergeType (RepoChangeMergeSettingAuditEntryMergeType)

    The merge method affected by the change.

    \n\n\n\n\n\n\n\n\n\n\n\n

    operationType (OperationType)

    The corresponding operation type for the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organization (Organization)

    The Organization associated with the Audit Entry.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationName (String)

    The name of the Organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationResourcePath (URI)

    The HTTP path for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationUrl (URI)

    The HTTP URL for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repository (Repository)

    The repository associated with the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repositoryName (String)

    The name of the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repositoryResourcePath (URI)

    The HTTP path for the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repositoryUrl (URI)

    The HTTP URL for the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    user (User)

    The user affected by the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userLogin (String)

    For actions involving two users, the actor is the initiator and the user is the affected user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userResourcePath (URI)

    The HTTP path for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userUrl (URI)

    The HTTP URL for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n RepoConfigDisableAnonymousGitAccessAuditEntry\n

    \n

    Audit log entry for a repo.config.disable_anonymous_git_access event.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    action (String!)

    The action name.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actor (AuditEntryActor)

    The user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorIp (String)

    The IP address of the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLocation (ActorLocation)

    A readable representation of the actor's location.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLogin (String)

    The username of the user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorResourcePath (URI)

    The HTTP path for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorUrl (URI)

    The HTTP URL for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (PreciseDateTime!)

    The time the action was initiated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    operationType (OperationType)

    The corresponding operation type for the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organization (Organization)

    The Organization associated with the Audit Entry.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationName (String)

    The name of the Organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationResourcePath (URI)

    The HTTP path for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationUrl (URI)

    The HTTP URL for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repository (Repository)

    The repository associated with the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repositoryName (String)

    The name of the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repositoryResourcePath (URI)

    The HTTP path for the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repositoryUrl (URI)

    The HTTP URL for the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    user (User)

    The user affected by the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userLogin (String)

    For actions involving two users, the actor is the initiator and the user is the affected user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userResourcePath (URI)

    The HTTP path for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userUrl (URI)

    The HTTP URL for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n RepoConfigDisableCollaboratorsOnlyAuditEntry\n

    \n

    Audit log entry for a repo.config.disable_collaborators_only event.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    action (String!)

    The action name.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actor (AuditEntryActor)

    The user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorIp (String)

    The IP address of the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLocation (ActorLocation)

    A readable representation of the actor's location.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLogin (String)

    The username of the user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorResourcePath (URI)

    The HTTP path for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorUrl (URI)

    The HTTP URL for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (PreciseDateTime!)

    The time the action was initiated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    operationType (OperationType)

    The corresponding operation type for the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organization (Organization)

    The Organization associated with the Audit Entry.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationName (String)

    The name of the Organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationResourcePath (URI)

    The HTTP path for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationUrl (URI)

    The HTTP URL for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repository (Repository)

    The repository associated with the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repositoryName (String)

    The name of the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repositoryResourcePath (URI)

    The HTTP path for the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repositoryUrl (URI)

    The HTTP URL for the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    user (User)

    The user affected by the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userLogin (String)

    For actions involving two users, the actor is the initiator and the user is the affected user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userResourcePath (URI)

    The HTTP path for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userUrl (URI)

    The HTTP URL for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n RepoConfigDisableContributorsOnlyAuditEntry\n

    \n

    Audit log entry for a repo.config.disable_contributors_only event.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    action (String!)

    The action name.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actor (AuditEntryActor)

    The user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorIp (String)

    The IP address of the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLocation (ActorLocation)

    A readable representation of the actor's location.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLogin (String)

    The username of the user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorResourcePath (URI)

    The HTTP path for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorUrl (URI)

    The HTTP URL for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (PreciseDateTime!)

    The time the action was initiated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    operationType (OperationType)

    The corresponding operation type for the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organization (Organization)

    The Organization associated with the Audit Entry.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationName (String)

    The name of the Organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationResourcePath (URI)

    The HTTP path for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationUrl (URI)

    The HTTP URL for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repository (Repository)

    The repository associated with the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repositoryName (String)

    The name of the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repositoryResourcePath (URI)

    The HTTP path for the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repositoryUrl (URI)

    The HTTP URL for the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    user (User)

    The user affected by the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userLogin (String)

    For actions involving two users, the actor is the initiator and the user is the affected user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userResourcePath (URI)

    The HTTP path for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userUrl (URI)

    The HTTP URL for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n RepoConfigDisableSockpuppetDisallowedAuditEntry\n

    \n

    Audit log entry for a repo.config.disable_sockpuppet_disallowed event.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    action (String!)

    The action name.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actor (AuditEntryActor)

    The user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorIp (String)

    The IP address of the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLocation (ActorLocation)

    A readable representation of the actor's location.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLogin (String)

    The username of the user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorResourcePath (URI)

    The HTTP path for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorUrl (URI)

    The HTTP URL for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (PreciseDateTime!)

    The time the action was initiated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    operationType (OperationType)

    The corresponding operation type for the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organization (Organization)

    The Organization associated with the Audit Entry.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationName (String)

    The name of the Organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationResourcePath (URI)

    The HTTP path for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationUrl (URI)

    The HTTP URL for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repository (Repository)

    The repository associated with the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repositoryName (String)

    The name of the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repositoryResourcePath (URI)

    The HTTP path for the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repositoryUrl (URI)

    The HTTP URL for the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    user (User)

    The user affected by the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userLogin (String)

    For actions involving two users, the actor is the initiator and the user is the affected user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userResourcePath (URI)

    The HTTP path for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userUrl (URI)

    The HTTP URL for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n RepoConfigEnableAnonymousGitAccessAuditEntry\n

    \n

    Audit log entry for a repo.config.enable_anonymous_git_access event.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    action (String!)

    The action name.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actor (AuditEntryActor)

    The user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorIp (String)

    The IP address of the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLocation (ActorLocation)

    A readable representation of the actor's location.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLogin (String)

    The username of the user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorResourcePath (URI)

    The HTTP path for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorUrl (URI)

    The HTTP URL for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (PreciseDateTime!)

    The time the action was initiated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    operationType (OperationType)

    The corresponding operation type for the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organization (Organization)

    The Organization associated with the Audit Entry.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationName (String)

    The name of the Organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationResourcePath (URI)

    The HTTP path for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationUrl (URI)

    The HTTP URL for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repository (Repository)

    The repository associated with the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repositoryName (String)

    The name of the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repositoryResourcePath (URI)

    The HTTP path for the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repositoryUrl (URI)

    The HTTP URL for the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    user (User)

    The user affected by the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userLogin (String)

    For actions involving two users, the actor is the initiator and the user is the affected user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userResourcePath (URI)

    The HTTP path for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userUrl (URI)

    The HTTP URL for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n RepoConfigEnableCollaboratorsOnlyAuditEntry\n

    \n

    Audit log entry for a repo.config.enable_collaborators_only event.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    action (String!)

    The action name.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actor (AuditEntryActor)

    The user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorIp (String)

    The IP address of the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLocation (ActorLocation)

    A readable representation of the actor's location.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLogin (String)

    The username of the user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorResourcePath (URI)

    The HTTP path for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorUrl (URI)

    The HTTP URL for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (PreciseDateTime!)

    The time the action was initiated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    operationType (OperationType)

    The corresponding operation type for the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organization (Organization)

    The Organization associated with the Audit Entry.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationName (String)

    The name of the Organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationResourcePath (URI)

    The HTTP path for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationUrl (URI)

    The HTTP URL for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repository (Repository)

    The repository associated with the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repositoryName (String)

    The name of the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repositoryResourcePath (URI)

    The HTTP path for the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repositoryUrl (URI)

    The HTTP URL for the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    user (User)

    The user affected by the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userLogin (String)

    For actions involving two users, the actor is the initiator and the user is the affected user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userResourcePath (URI)

    The HTTP path for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userUrl (URI)

    The HTTP URL for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n RepoConfigEnableContributorsOnlyAuditEntry\n

    \n

    Audit log entry for a repo.config.enable_contributors_only event.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    action (String!)

    The action name.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actor (AuditEntryActor)

    The user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorIp (String)

    The IP address of the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLocation (ActorLocation)

    A readable representation of the actor's location.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLogin (String)

    The username of the user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorResourcePath (URI)

    The HTTP path for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorUrl (URI)

    The HTTP URL for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (PreciseDateTime!)

    The time the action was initiated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    operationType (OperationType)

    The corresponding operation type for the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organization (Organization)

    The Organization associated with the Audit Entry.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationName (String)

    The name of the Organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationResourcePath (URI)

    The HTTP path for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationUrl (URI)

    The HTTP URL for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repository (Repository)

    The repository associated with the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repositoryName (String)

    The name of the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repositoryResourcePath (URI)

    The HTTP path for the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repositoryUrl (URI)

    The HTTP URL for the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    user (User)

    The user affected by the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userLogin (String)

    For actions involving two users, the actor is the initiator and the user is the affected user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userResourcePath (URI)

    The HTTP path for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userUrl (URI)

    The HTTP URL for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n RepoConfigEnableSockpuppetDisallowedAuditEntry\n

    \n

    Audit log entry for a repo.config.enable_sockpuppet_disallowed event.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    action (String!)

    The action name.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actor (AuditEntryActor)

    The user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorIp (String)

    The IP address of the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLocation (ActorLocation)

    A readable representation of the actor's location.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLogin (String)

    The username of the user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorResourcePath (URI)

    The HTTP path for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorUrl (URI)

    The HTTP URL for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (PreciseDateTime!)

    The time the action was initiated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    operationType (OperationType)

    The corresponding operation type for the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organization (Organization)

    The Organization associated with the Audit Entry.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationName (String)

    The name of the Organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationResourcePath (URI)

    The HTTP path for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationUrl (URI)

    The HTTP URL for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repository (Repository)

    The repository associated with the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repositoryName (String)

    The name of the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repositoryResourcePath (URI)

    The HTTP path for the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repositoryUrl (URI)

    The HTTP URL for the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    user (User)

    The user affected by the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userLogin (String)

    For actions involving two users, the actor is the initiator and the user is the affected user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userResourcePath (URI)

    The HTTP path for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userUrl (URI)

    The HTTP URL for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n RepoConfigLockAnonymousGitAccessAuditEntry\n

    \n

    Audit log entry for a repo.config.lock_anonymous_git_access event.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    action (String!)

    The action name.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actor (AuditEntryActor)

    The user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorIp (String)

    The IP address of the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLocation (ActorLocation)

    A readable representation of the actor's location.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLogin (String)

    The username of the user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorResourcePath (URI)

    The HTTP path for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorUrl (URI)

    The HTTP URL for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (PreciseDateTime!)

    The time the action was initiated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    operationType (OperationType)

    The corresponding operation type for the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organization (Organization)

    The Organization associated with the Audit Entry.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationName (String)

    The name of the Organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationResourcePath (URI)

    The HTTP path for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationUrl (URI)

    The HTTP URL for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repository (Repository)

    The repository associated with the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repositoryName (String)

    The name of the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repositoryResourcePath (URI)

    The HTTP path for the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repositoryUrl (URI)

    The HTTP URL for the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    user (User)

    The user affected by the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userLogin (String)

    For actions involving two users, the actor is the initiator and the user is the affected user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userResourcePath (URI)

    The HTTP path for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userUrl (URI)

    The HTTP URL for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n RepoConfigUnlockAnonymousGitAccessAuditEntry\n

    \n

    Audit log entry for a repo.config.unlock_anonymous_git_access event.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    action (String!)

    The action name.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actor (AuditEntryActor)

    The user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorIp (String)

    The IP address of the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLocation (ActorLocation)

    A readable representation of the actor's location.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLogin (String)

    The username of the user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorResourcePath (URI)

    The HTTP path for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorUrl (URI)

    The HTTP URL for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (PreciseDateTime!)

    The time the action was initiated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    operationType (OperationType)

    The corresponding operation type for the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organization (Organization)

    The Organization associated with the Audit Entry.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationName (String)

    The name of the Organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationResourcePath (URI)

    The HTTP path for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationUrl (URI)

    The HTTP URL for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repository (Repository)

    The repository associated with the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repositoryName (String)

    The name of the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repositoryResourcePath (URI)

    The HTTP path for the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repositoryUrl (URI)

    The HTTP URL for the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    user (User)

    The user affected by the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userLogin (String)

    For actions involving two users, the actor is the initiator and the user is the affected user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userResourcePath (URI)

    The HTTP path for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userUrl (URI)

    The HTTP URL for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n RepoCreateAuditEntry\n

    \n

    Audit log entry for a repo.create event.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    action (String!)

    The action name.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actor (AuditEntryActor)

    The user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorIp (String)

    The IP address of the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLocation (ActorLocation)

    A readable representation of the actor's location.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLogin (String)

    The username of the user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorResourcePath (URI)

    The HTTP path for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorUrl (URI)

    The HTTP URL for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (PreciseDateTime!)

    The time the action was initiated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    forkParentName (String)

    The name of the parent repository for this forked repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    forkSourceName (String)

    The name of the root repository for this network.

    \n\n\n\n\n\n\n\n\n\n\n\n

    operationType (OperationType)

    The corresponding operation type for the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organization (Organization)

    The Organization associated with the Audit Entry.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationName (String)

    The name of the Organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationResourcePath (URI)

    The HTTP path for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationUrl (URI)

    The HTTP URL for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repository (Repository)

    The repository associated with the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repositoryName (String)

    The name of the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repositoryResourcePath (URI)

    The HTTP path for the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repositoryUrl (URI)

    The HTTP URL for the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    user (User)

    The user affected by the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userLogin (String)

    For actions involving two users, the actor is the initiator and the user is the affected user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userResourcePath (URI)

    The HTTP path for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userUrl (URI)

    The HTTP URL for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    visibility (RepoCreateAuditEntryVisibility)

    The visibility of the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n RepoDestroyAuditEntry\n

    \n

    Audit log entry for a repo.destroy event.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    action (String!)

    The action name.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actor (AuditEntryActor)

    The user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorIp (String)

    The IP address of the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLocation (ActorLocation)

    A readable representation of the actor's location.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLogin (String)

    The username of the user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorResourcePath (URI)

    The HTTP path for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorUrl (URI)

    The HTTP URL for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (PreciseDateTime!)

    The time the action was initiated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    operationType (OperationType)

    The corresponding operation type for the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organization (Organization)

    The Organization associated with the Audit Entry.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationName (String)

    The name of the Organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationResourcePath (URI)

    The HTTP path for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationUrl (URI)

    The HTTP URL for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repository (Repository)

    The repository associated with the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repositoryName (String)

    The name of the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repositoryResourcePath (URI)

    The HTTP path for the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repositoryUrl (URI)

    The HTTP URL for the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    user (User)

    The user affected by the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userLogin (String)

    For actions involving two users, the actor is the initiator and the user is the affected user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userResourcePath (URI)

    The HTTP path for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userUrl (URI)

    The HTTP URL for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    visibility (RepoDestroyAuditEntryVisibility)

    The visibility of the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n RepoRemoveMemberAuditEntry\n

    \n

    Audit log entry for a repo.remove_member event.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    action (String!)

    The action name.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actor (AuditEntryActor)

    The user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorIp (String)

    The IP address of the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLocation (ActorLocation)

    A readable representation of the actor's location.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLogin (String)

    The username of the user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorResourcePath (URI)

    The HTTP path for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorUrl (URI)

    The HTTP URL for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (PreciseDateTime!)

    The time the action was initiated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    operationType (OperationType)

    The corresponding operation type for the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organization (Organization)

    The Organization associated with the Audit Entry.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationName (String)

    The name of the Organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationResourcePath (URI)

    The HTTP path for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationUrl (URI)

    The HTTP URL for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repository (Repository)

    The repository associated with the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repositoryName (String)

    The name of the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repositoryResourcePath (URI)

    The HTTP path for the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repositoryUrl (URI)

    The HTTP URL for the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    user (User)

    The user affected by the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userLogin (String)

    For actions involving two users, the actor is the initiator and the user is the affected user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userResourcePath (URI)

    The HTTP path for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userUrl (URI)

    The HTTP URL for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    visibility (RepoRemoveMemberAuditEntryVisibility)

    The visibility of the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n RepoRemoveTopicAuditEntry\n

    \n

    Audit log entry for a repo.remove_topic event.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    action (String!)

    The action name.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actor (AuditEntryActor)

    The user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorIp (String)

    The IP address of the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLocation (ActorLocation)

    A readable representation of the actor's location.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLogin (String)

    The username of the user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorResourcePath (URI)

    The HTTP path for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorUrl (URI)

    The HTTP URL for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (PreciseDateTime!)

    The time the action was initiated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    operationType (OperationType)

    The corresponding operation type for the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organization (Organization)

    The Organization associated with the Audit Entry.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationName (String)

    The name of the Organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationResourcePath (URI)

    The HTTP path for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationUrl (URI)

    The HTTP URL for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repository (Repository)

    The repository associated with the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repositoryName (String)

    The name of the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repositoryResourcePath (URI)

    The HTTP path for the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repositoryUrl (URI)

    The HTTP URL for the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    topic (Topic)

    The name of the topic added to the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    topicName (String)

    The name of the topic added to the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    user (User)

    The user affected by the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userLogin (String)

    For actions involving two users, the actor is the initiator and the user is the affected user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userResourcePath (URI)

    The HTTP path for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userUrl (URI)

    The HTTP URL for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n Repository\n

    \n

    A repository contains the content for a project.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    assignableUsers (UserConnection!)

    A list of users that can be assigned to issues in this repository.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    query (String)

    \n

    Filters users with query on user name and login.

    \n\n
    \n\n
    \n\n\n

    branchProtectionRules (BranchProtectionRuleConnection!)

    A list of branch protection rules for this repository.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n\n\n

    codeOfConduct (CodeOfConduct)

    Returns the code of conduct for this repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    collaborators (RepositoryCollaboratorConnection)

    A list of collaborators associated with the repository.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    affiliation (CollaboratorAffiliation)

    \n

    Collaborators affiliation level with a repository.

    \n\n
    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    query (String)

    \n

    Filters users with query on user name and login.

    \n\n
    \n\n
    \n\n\n

    commitComments (CommitCommentConnection!)

    A list of commit comments associated with the repository.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n\n\n

    contactLinks ([RepositoryContactLink!])

    Returns a list of contact links associated to the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    databaseId (Int)

    Identifies the primary key from the database.

    \n\n\n\n\n\n\n\n\n\n\n\n

    defaultBranchRef (Ref)

    The Ref associated with the repository's default branch.

    \n\n\n\n\n\n\n\n\n\n\n\n

    deleteBranchOnMerge (Boolean!)

    Whether or not branches are automatically deleted when merged in this repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    deployKeys (DeployKeyConnection!)

    A list of deploy keys that are on this repository.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n\n\n

    deployments (DeploymentConnection!)

    Deployments associated with the repository.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    environments ([String!])

    \n

    Environments to list deployments for.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (DeploymentOrder)

    \n

    Ordering options for deployments returned from the connection.

    \n\n
    \n\n
    \n\n\n

    description (String)

    The description of the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    descriptionHTML (HTML!)

    The description of the repository rendered to HTML.

    \n\n\n\n\n\n\n\n\n\n\n\n

    diskUsage (Int)

    The number of kilobytes this repository occupies on disk.

    \n\n\n\n\n\n\n\n\n\n\n\n

    forkCount (Int!)

    Returns how many forks there are of this repository in the whole network.

    \n\n\n\n\n\n\n\n\n\n\n\n

    forks (RepositoryConnection!)

    A list of direct forked repositories.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    affiliations ([RepositoryAffiliation])

    \n

    Array of viewer's affiliation options for repositories returned from the\nconnection. For example, OWNER will include only repositories that the\ncurrent viewer owns.

    \n\n
    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    isLocked (Boolean)

    \n

    If non-null, filters repositories according to whether they have been locked.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (RepositoryOrder)

    \n

    Ordering options for repositories returned from the connection.

    \n\n
    \n\n
    \n

    ownerAffiliations ([RepositoryAffiliation])

    \n

    Array of owner's affiliation options for repositories returned from the\nconnection. For example, OWNER will include only repositories that the\norganization or user being viewed owns.

    \n\n
    \n\n
    \n

    privacy (RepositoryPrivacy)

    \n

    If non-null, filters repositories according to privacy.

    \n\n
    \n\n
    \n\n\n

    hasAnonymousAccessEnabled (Boolean!)

    Indicates if the repository has anonymous Git read access feature enabled.

    \n\n\n\n\n\n\n\n\n\n\n\n

    hasIssuesEnabled (Boolean!)

    Indicates if the repository has issues feature enabled.

    \n\n\n\n\n\n\n\n\n\n\n\n

    hasProjectsEnabled (Boolean!)

    Indicates if the repository has the Projects feature enabled.

    \n\n\n\n\n\n\n\n\n\n\n\n

    hasWikiEnabled (Boolean!)

    Indicates if the repository has wiki feature enabled.

    \n\n\n\n\n\n\n\n\n\n\n\n

    homepageUrl (URI)

    The repository's URL.

    \n\n\n\n\n\n\n\n\n\n\n\n

    isArchived (Boolean!)

    Indicates if the repository is unmaintained.

    \n\n\n\n\n\n\n\n\n\n\n\n

    isBlankIssuesEnabled (Boolean!)

    Returns true if blank issue creation is allowed.

    \n\n\n\n\n\n\n\n\n\n\n\n

    isDisabled (Boolean!)

    Returns whether or not this repository disabled.

    \n\n\n\n\n\n\n\n\n\n\n\n

    isEmpty (Boolean!)

    Returns whether or not this repository is empty.

    \n\n\n\n\n\n\n\n\n\n\n\n

    isFork (Boolean!)

    Identifies if the repository is a fork.

    \n\n\n\n\n\n\n\n\n\n\n\n

    isInOrganization (Boolean!)

    Indicates if a repository is either owned by an organization, or is a private fork of an organization repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    isLocked (Boolean!)

    Indicates if the repository has been locked or not.

    \n\n\n\n\n\n\n\n\n\n\n\n

    isMirror (Boolean!)

    Identifies if the repository is a mirror.

    \n\n\n\n\n\n\n\n\n\n\n\n

    isPrivate (Boolean!)

    Identifies if the repository is private or internal.

    \n\n\n\n\n\n\n\n\n\n\n\n

    isSecurityPolicyEnabled (Boolean)

    Returns true if this repository has a security policy.

    \n\n\n\n\n\n\n\n\n\n\n\n

    isTemplate (Boolean!)

    Identifies if the repository is a template that can be used to generate new repositories.

    \n\n\n\n\n\n\n\n\n\n\n\n

    isUserConfigurationRepository (Boolean!)

    Is this repository a user configuration repository?.

    \n\n\n\n\n\n\n\n\n\n\n\n

    issue (Issue)

    Returns a single issue from the current repository by number.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    number (Int!)

    \n

    The number for the issue to be returned.

    \n\n
    \n\n
    \n\n\n

    issueOrPullRequest (IssueOrPullRequest)

    Returns a single issue-like object from the current repository by number.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    number (Int!)

    \n

    The number for the issue to be returned.

    \n\n
    \n\n
    \n\n\n

    issueTemplates ([IssueTemplate!])

    Returns a list of issue templates associated to the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    issues (IssueConnection!)

    A list of issues that have been opened in the repository.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    filterBy (IssueFilters)

    \n

    Filtering options for issues returned from the connection.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    labels ([String!])

    \n

    A list of label names to filter the pull requests by.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (IssueOrder)

    \n

    Ordering options for issues returned from the connection.

    \n\n
    \n\n
    \n

    states ([IssueState!])

    \n

    A list of states to filter the issues by.

    \n\n
    \n\n
    \n\n\n

    label (Label)

    Returns a single label by name.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    name (String!)

    \n

    Label name.

    \n\n
    \n\n
    \n\n\n

    labels (LabelConnection)

    A list of labels associated with the repository.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (LabelOrder)

    \n

    Ordering options for labels returned from the connection.

    \n\n
    \n\n
    \n

    query (String)

    \n

    If provided, searches labels by name and description.

    \n\n
    \n\n
    \n\n\n

    languages (LanguageConnection)

    A list containing a breakdown of the language composition of the repository.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (LanguageOrder)

    \n

    Order for connection.

    \n\n
    \n\n
    \n\n\n

    latestRelease (Release)

    Get the latest release for the repository if one exists.

    \n\n\n\n\n\n\n\n\n\n\n\n

    licenseInfo (License)

    The license associated with the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    lockReason (RepositoryLockReason)

    The reason the repository has been locked.

    \n\n\n\n\n\n\n\n\n\n\n\n

    mentionableUsers (UserConnection!)

    A list of Users that can be mentioned in the context of the repository.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    query (String)

    \n

    Filters users with query on user name and login.

    \n\n
    \n\n
    \n\n\n

    mergeCommitAllowed (Boolean!)

    Whether or not PRs are merged with a merge commit on this repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    milestone (Milestone)

    Returns a single milestone from the current repository by number.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    number (Int!)

    \n

    The number for the milestone to be returned.

    \n\n
    \n\n
    \n\n\n

    milestones (MilestoneConnection)

    A list of milestones associated with the repository.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (MilestoneOrder)

    \n

    Ordering options for milestones.

    \n\n
    \n\n
    \n

    query (String)

    \n

    Filters milestones with a query on the title.

    \n\n
    \n\n
    \n

    states ([MilestoneState!])

    \n

    Filter by the state of the milestones.

    \n\n
    \n\n
    \n\n\n

    mirrorUrl (URI)

    The repository's original mirror URL.

    \n\n\n\n\n\n\n\n\n\n\n\n

    name (String!)

    The name of the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nameWithOwner (String!)

    The repository's name with owner.

    \n\n\n\n\n\n\n\n\n\n\n\n

    object (GitObject)

    A Git object in the repository.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    expression (String)

    \n

    A Git revision expression suitable for rev-parse.

    \n\n
    \n\n
    \n

    oid (GitObjectID)

    \n

    The Git object ID.

    \n\n
    \n\n
    \n\n\n

    openGraphImageUrl (URI!)

    The image used to represent this repository in Open Graph data.

    \n\n\n\n\n\n\n\n\n\n\n\n

    owner (RepositoryOwner!)

    The User owner of the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    parent (Repository)

    The repository parent, if this is a fork.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pinnedIssues (PinnedIssueConnection)

    A list of pinned issues for this repository.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n\n\n

    primaryLanguage (Language)

    The primary language of the repository's code.

    \n\n\n\n\n\n\n\n\n\n\n\n

    project (Project)

    Find project by number.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    number (Int!)

    \n

    The project number to find.

    \n\n
    \n\n
    \n\n\n

    projects (ProjectConnection!)

    A list of projects under the owner.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (ProjectOrder)

    \n

    Ordering options for projects returned from the connection.

    \n\n
    \n\n
    \n

    search (String)

    \n

    Query to search projects by, currently only searching by name.

    \n\n
    \n\n
    \n

    states ([ProjectState!])

    \n

    A list of states to filter the projects by.

    \n\n
    \n\n
    \n\n\n

    projectsResourcePath (URI!)

    The HTTP path listing the repository's projects.

    \n\n\n\n\n\n\n\n\n\n\n\n

    projectsUrl (URI!)

    The HTTP URL listing the repository's projects.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pullRequest (PullRequest)

    Returns a single pull request from the current repository by number.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    number (Int!)

    \n

    The number for the pull request to be returned.

    \n\n
    \n\n
    \n\n\n

    pullRequests (PullRequestConnection!)

    A list of pull requests that have been opened in the repository.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    baseRefName (String)

    \n

    The base ref name to filter the pull requests by.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    headRefName (String)

    \n

    The head ref name to filter the pull requests by.

    \n\n
    \n\n
    \n

    labels ([String!])

    \n

    A list of label names to filter the pull requests by.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (IssueOrder)

    \n

    Ordering options for pull requests returned from the connection.

    \n\n
    \n\n
    \n

    states ([PullRequestState!])

    \n

    A list of states to filter the pull requests by.

    \n\n
    \n\n
    \n\n\n

    pushedAt (DateTime)

    Identifies when the repository was last pushed to.

    \n\n\n\n\n\n\n\n\n\n\n\n

    rebaseMergeAllowed (Boolean!)

    Whether or not rebase-merging is enabled on this repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    ref (Ref)

    Fetch a given ref from the repository.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    qualifiedName (String!)

    \n

    The ref to retrieve. Fully qualified matches are checked in order\n(refs/heads/master) before falling back onto checks for short name matches (master).

    \n\n
    \n\n
    \n\n\n

    refs (RefConnection)

    Fetch a list of refs from the repository.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    direction (OrderDirection)

    \n

    DEPRECATED: use orderBy. The ordering direction.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (RefOrder)

    \n

    Ordering options for refs returned from the connection.

    \n\n
    \n\n
    \n

    query (String)

    \n

    Filters refs with query on name.

    \n\n
    \n\n
    \n

    refPrefix (String!)

    \n

    A ref name prefix like refs/heads/, refs/tags/, etc.

    \n\n
    \n\n
    \n\n\n

    release (Release)

    Lookup a single release given various criteria.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    tagName (String!)

    \n

    The name of the Tag the Release was created from.

    \n\n
    \n\n
    \n\n\n

    releases (ReleaseConnection!)

    List of releases which are dependent on this repository.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (ReleaseOrder)

    \n

    Order for connection.

    \n\n
    \n\n
    \n\n\n

    repositoryTopics (RepositoryTopicConnection!)

    A list of applied repository-topic associations for this repository.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n\n\n

    resourcePath (URI!)

    The HTTP path for this repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    securityPolicyUrl (URI)

    The security policy URL.

    \n\n\n\n\n\n\n\n\n\n\n\n

    shortDescriptionHTML (HTML!)

    A description of the repository, rendered to HTML without any links in it.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    limit (Int)

    \n

    How many characters to return.

    \n

    The default value is 200.

    \n
    \n\n
    \n\n\n

    squashMergeAllowed (Boolean!)

    Whether or not squash-merging is enabled on this repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    sshUrl (GitSSHRemote!)

    The SSH URL to clone this repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    stargazerCount (Int!)

    Returns a count of how many stargazers there are on this object.

    \n\n\n\n\n\n\n\n\n\n\n\n

    stargazers (StargazerConnection!)

    A list of users who have starred this starrable.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (StarOrder)

    \n

    Order for connection.

    \n\n
    \n\n
    \n\n\n

    submodules (SubmoduleConnection!)

    Returns a list of all submodules in this repository parsed from the\n.gitmodules file as of the default branch's HEAD commit.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n\n\n

    tempCloneToken (String)

    Temporary authentication token for cloning this repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    templateRepository (Repository)

    The repository from which this repository was generated, if any.

    \n\n\n\n\n\n\n\n\n\n\n\n

    updatedAt (DateTime!)

    Identifies the date and time when the object was last updated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    url (URI!)

    The HTTP URL for this repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    usesCustomOpenGraphImage (Boolean!)

    Whether this repository has a custom image to use with Open Graph as opposed to being represented by the owner's avatar.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerCanAdminister (Boolean!)

    Indicates whether the viewer has admin permissions on this repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerCanCreateProjects (Boolean!)

    Can the current viewer create new projects on this owner.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerCanSubscribe (Boolean!)

    Check if the viewer is able to change their subscription status for the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerCanUpdateTopics (Boolean!)

    Indicates whether the viewer can update the topics of this repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerDefaultCommitEmail (String)

    The last commit email for the viewer.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerDefaultMergeMethod (PullRequestMergeMethod!)

    The last used merge method by the viewer or the default for the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerHasStarred (Boolean!)

    Returns a boolean indicating whether the viewing user has starred this starrable.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerPermission (RepositoryPermission)

    The users permission level on the repository. Will return null if authenticated as an GitHub App.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerPossibleCommitEmails ([String!])

    A list of emails this viewer can commit with.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerSubscription (SubscriptionState)

    Identifies if the viewer is watching, not watching, or ignoring the subscribable entity.

    \n\n\n\n\n\n\n\n\n\n\n\n

    vulnerabilityAlerts (RepositoryVulnerabilityAlertConnection)

    A list of vulnerability alerts that are on this repository.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n\n\n

    watchers (UserConnection!)

    A list of users watching the repository.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n RepositoryCollaboratorConnection\n

    \n

    The connection type for User.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([RepositoryCollaboratorEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([User])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n RepositoryCollaboratorEdge\n

    \n

    Represents a user who is a collaborator of a repository.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    permission (RepositoryPermission!)

    The permission the user has on the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    permissionSources ([PermissionSource!])

    A list of sources for the user's access to the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n RepositoryConnection\n

    \n

    A list of repositories owned by the subject.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([RepositoryEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([Repository])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalDiskUsage (Int!)

    The total size in kilobytes of all repositories in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n RepositoryContactLink\n

    \n

    A repository contact link.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    about (String!)

    The contact link purpose.

    \n\n\n\n\n\n\n\n\n\n\n\n

    name (String!)

    The contact link name.

    \n\n\n\n\n\n\n\n\n\n\n\n

    url (URI!)

    The contact link URL.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n RepositoryEdge\n

    \n

    An edge in a connection.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (Repository)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n RepositoryInvitation\n

    \n

    An invitation for a user to be added to a repository.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    email (String)

    The email address that received the invitation.

    \n\n\n\n\n\n\n\n\n\n\n\n

    invitee (User)

    The user who received the invitation.

    \n\n\n\n\n\n\n\n\n\n\n\n

    inviter (User!)

    The user who created the invitation.

    \n\n\n\n\n\n\n\n\n\n\n\n

    permalink (URI!)

    The permalink for this repository invitation.

    \n\n\n\n\n\n\n\n\n\n\n\n

    permission (RepositoryPermission!)

    The permission granted on this repository by this invitation.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repository (RepositoryInfo)

    The Repository the user is invited to.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n RepositoryInvitationConnection\n

    \n

    The connection type for RepositoryInvitation.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([RepositoryInvitationEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([RepositoryInvitation])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n RepositoryInvitationEdge\n

    \n

    An edge in a connection.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (RepositoryInvitation)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n RepositoryTopic\n

    \n

    A repository-topic connects a repository to a topic.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    resourcePath (URI!)

    The HTTP path for this repository-topic.

    \n\n\n\n\n\n\n\n\n\n\n\n

    topic (Topic!)

    The topic.

    \n\n\n\n\n\n\n\n\n\n\n\n

    url (URI!)

    The HTTP URL for this repository-topic.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n RepositoryTopicConnection\n

    \n

    The connection type for RepositoryTopic.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([RepositoryTopicEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([RepositoryTopic])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n RepositoryTopicEdge\n

    \n

    An edge in a connection.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (RepositoryTopic)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n RepositoryVisibilityChangeDisableAuditEntry\n

    \n

    Audit log entry for a repository_visibility_change.disable event.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    action (String!)

    The action name.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actor (AuditEntryActor)

    The user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorIp (String)

    The IP address of the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLocation (ActorLocation)

    A readable representation of the actor's location.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLogin (String)

    The username of the user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorResourcePath (URI)

    The HTTP path for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorUrl (URI)

    The HTTP URL for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (PreciseDateTime!)

    The time the action was initiated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    enterpriseResourcePath (URI)

    The HTTP path for this enterprise.

    \n\n\n\n\n\n\n\n\n\n\n\n

    enterpriseSlug (String)

    The slug of the enterprise.

    \n\n\n\n\n\n\n\n\n\n\n\n

    enterpriseUrl (URI)

    The HTTP URL for this enterprise.

    \n\n\n\n\n\n\n\n\n\n\n\n

    operationType (OperationType)

    The corresponding operation type for the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organization (Organization)

    The Organization associated with the Audit Entry.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationName (String)

    The name of the Organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationResourcePath (URI)

    The HTTP path for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationUrl (URI)

    The HTTP URL for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    user (User)

    The user affected by the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userLogin (String)

    For actions involving two users, the actor is the initiator and the user is the affected user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userResourcePath (URI)

    The HTTP path for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userUrl (URI)

    The HTTP URL for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n RepositoryVisibilityChangeEnableAuditEntry\n

    \n

    Audit log entry for a repository_visibility_change.enable event.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    action (String!)

    The action name.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actor (AuditEntryActor)

    The user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorIp (String)

    The IP address of the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLocation (ActorLocation)

    A readable representation of the actor's location.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLogin (String)

    The username of the user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorResourcePath (URI)

    The HTTP path for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorUrl (URI)

    The HTTP URL for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (PreciseDateTime!)

    The time the action was initiated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    enterpriseResourcePath (URI)

    The HTTP path for this enterprise.

    \n\n\n\n\n\n\n\n\n\n\n\n

    enterpriseSlug (String)

    The slug of the enterprise.

    \n\n\n\n\n\n\n\n\n\n\n\n

    enterpriseUrl (URI)

    The HTTP URL for this enterprise.

    \n\n\n\n\n\n\n\n\n\n\n\n

    operationType (OperationType)

    The corresponding operation type for the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organization (Organization)

    The Organization associated with the Audit Entry.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationName (String)

    The name of the Organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationResourcePath (URI)

    The HTTP path for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationUrl (URI)

    The HTTP URL for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    user (User)

    The user affected by the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userLogin (String)

    For actions involving two users, the actor is the initiator and the user is the affected user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userResourcePath (URI)

    The HTTP path for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userUrl (URI)

    The HTTP URL for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n RepositoryVulnerabilityAlert\n

    \n

    A alert for a repository with an affected vulnerability.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    createdAt (DateTime!)

    When was the alert created?.

    \n\n\n\n\n\n\n\n\n\n\n\n

    dismissReason (String)

    The reason the alert was dismissed.

    \n\n\n\n\n\n\n\n\n\n\n\n

    dismissedAt (DateTime)

    When was the alert dismissed?.

    \n\n\n\n\n\n\n\n\n\n\n\n

    dismisser (User)

    The user who dismissed the alert.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repository (Repository!)

    The associated repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    securityAdvisory (SecurityAdvisory)

    The associated security advisory.

    \n\n\n\n\n\n\n\n\n\n\n\n

    securityVulnerability (SecurityVulnerability)

    The associated security vulnerability.

    \n\n\n\n\n\n\n\n\n\n\n\n

    vulnerableManifestFilename (String!)

    The vulnerable manifest filename.

    \n\n\n\n\n\n\n\n\n\n\n\n

    vulnerableManifestPath (String!)

    The vulnerable manifest path.

    \n\n\n\n\n\n\n\n\n\n\n\n

    vulnerableRequirements (String)

    The vulnerable requirements.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n RepositoryVulnerabilityAlertConnection\n

    \n

    The connection type for RepositoryVulnerabilityAlert.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([RepositoryVulnerabilityAlertEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([RepositoryVulnerabilityAlert])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n RepositoryVulnerabilityAlertEdge\n

    \n

    An edge in a connection.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (RepositoryVulnerabilityAlert)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n RestrictedContribution\n

    \n

    Represents a private contribution a user made on GitHub.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    isRestricted (Boolean!)

    Whether this contribution is associated with a record you do not have access to. For\nexample, your own 'first issue' contribution may have been made on a repository you can no\nlonger access.

    \n\n\n\n\n\n\n\n\n\n\n\n

    occurredAt (DateTime!)

    When this contribution was made.

    \n\n\n\n\n\n\n\n\n\n\n\n

    resourcePath (URI!)

    The HTTP path for this contribution.

    \n\n\n\n\n\n\n\n\n\n\n\n

    url (URI!)

    The HTTP URL for this contribution.

    \n\n\n\n\n\n\n\n\n\n\n\n

    user (User!)

    The user who made this contribution.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n ReviewDismissalAllowance\n

    \n

    A team or user who has the ability to dismiss a review on a protected branch.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    actor (ReviewDismissalAllowanceActor)

    The actor that can dismiss.

    \n\n\n\n\n\n\n\n\n\n\n\n

    branchProtectionRule (BranchProtectionRule)

    Identifies the branch protection rule associated with the allowed user or team.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n ReviewDismissalAllowanceConnection\n

    \n

    The connection type for ReviewDismissalAllowance.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([ReviewDismissalAllowanceEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([ReviewDismissalAllowance])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n ReviewDismissalAllowanceEdge\n

    \n

    An edge in a connection.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (ReviewDismissalAllowance)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n ReviewDismissedEvent\n

    \n

    Represents areview_dismissedevent on a given issue or pull request.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    actor (Actor)

    Identifies the actor who performed the event.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    databaseId (Int)

    Identifies the primary key from the database.

    \n\n\n\n\n\n\n\n\n\n\n\n

    dismissalMessage (String)

    Identifies the optional message associated with thereview_dismissedevent.

    \n\n\n\n\n\n\n\n\n\n\n\n

    dismissalMessageHTML (String)

    Identifies the optional message associated with the event, rendered to HTML.

    \n\n\n\n\n\n\n\n\n\n\n\n

    previousReviewState (PullRequestReviewState!)

    Identifies the previous state of the review with thereview_dismissedevent.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pullRequest (PullRequest!)

    PullRequest referenced by event.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pullRequestCommit (PullRequestCommit)

    Identifies the commit which caused the review to become stale.

    \n\n\n\n\n\n\n\n\n\n\n\n

    resourcePath (URI!)

    The HTTP path for this review dismissed event.

    \n\n\n\n\n\n\n\n\n\n\n\n

    review (PullRequestReview)

    Identifies the review associated with thereview_dismissedevent.

    \n\n\n\n\n\n\n\n\n\n\n\n

    url (URI!)

    The HTTP URL for this review dismissed event.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n ReviewRequest\n

    \n

    A request for a user to review a pull request.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    asCodeOwner (Boolean!)

    Whether this request was created for a code owner.

    \n\n\n\n\n\n\n\n\n\n\n\n

    databaseId (Int)

    Identifies the primary key from the database.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pullRequest (PullRequest!)

    Identifies the pull request associated with this review request.

    \n\n\n\n\n\n\n\n\n\n\n\n

    requestedReviewer (RequestedReviewer)

    The reviewer that is requested.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n ReviewRequestConnection\n

    \n

    The connection type for ReviewRequest.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([ReviewRequestEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([ReviewRequest])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n ReviewRequestEdge\n

    \n

    An edge in a connection.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (ReviewRequest)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n ReviewRequestRemovedEvent\n

    \n

    Represents anreview_request_removedevent on a given pull request.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    actor (Actor)

    Identifies the actor who performed the event.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pullRequest (PullRequest!)

    PullRequest referenced by event.

    \n\n\n\n\n\n\n\n\n\n\n\n

    requestedReviewer (RequestedReviewer)

    Identifies the reviewer whose review request was removed.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n ReviewRequestedEvent\n

    \n

    Represents anreview_requestedevent on a given pull request.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    actor (Actor)

    Identifies the actor who performed the event.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pullRequest (PullRequest!)

    PullRequest referenced by event.

    \n\n\n\n\n\n\n\n\n\n\n\n

    requestedReviewer (RequestedReviewer)

    Identifies the reviewer whose review was requested.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n ReviewStatusHovercardContext\n

    \n

    A hovercard context with a message describing the current code review state of the pull\nrequest.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    message (String!)

    A string describing this context.

    \n\n\n\n\n\n\n\n\n\n\n\n

    octicon (String!)

    An octicon to accompany this context.

    \n\n\n\n\n\n\n\n\n\n\n\n

    reviewDecision (PullRequestReviewDecision)

    The current status of the pull request with respect to code review.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n SavedReply\n

    \n

    A Saved Reply is text a user can use to reply quickly.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    body (String!)

    The body of the saved reply.

    \n\n\n\n\n\n\n\n\n\n\n\n

    bodyHTML (HTML!)

    The saved reply body rendered to HTML.

    \n\n\n\n\n\n\n\n\n\n\n\n

    databaseId (Int)

    Identifies the primary key from the database.

    \n\n\n\n\n\n\n\n\n\n\n\n

    title (String!)

    The title of the saved reply.

    \n\n\n\n\n\n\n\n\n\n\n\n

    user (Actor)

    The user that saved this reply.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n SavedReplyConnection\n

    \n

    The connection type for SavedReply.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([SavedReplyEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([SavedReply])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n SavedReplyEdge\n

    \n

    An edge in a connection.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (SavedReply)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n SearchResultItemConnection\n

    \n

    A list of results that matched against a search query.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    codeCount (Int!)

    The number of pieces of code that matched the search query.

    \n\n\n\n\n\n\n\n\n\n\n\n

    edges ([SearchResultItemEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    issueCount (Int!)

    The number of issues that matched the search query.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([SearchResultItem])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repositoryCount (Int!)

    The number of repositories that matched the search query.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userCount (Int!)

    The number of users that matched the search query.

    \n\n\n\n\n\n\n\n\n\n\n\n

    wikiCount (Int!)

    The number of wiki pages that matched the search query.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n SearchResultItemEdge\n

    \n

    An edge in a connection.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (SearchResultItem)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n

    textMatches ([TextMatch])

    Text matches on the result found.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n SecurityAdvisory\n

    \n

    A GitHub Security Advisory.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cvss (CVSS!)

    The CVSS associated with this advisory.

    \n\n\n\n\n\n\n\n\n\n\n\n

    cwes (CWEConnection!)

    CWEs associated with this Advisory.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n\n\n

    databaseId (Int)

    Identifies the primary key from the database.

    \n\n\n\n\n\n\n\n\n\n\n\n

    description (String!)

    This is a long plaintext description of the advisory.

    \n\n\n\n\n\n\n\n\n\n\n\n

    ghsaId (String!)

    The GitHub Security Advisory ID.

    \n\n\n\n\n\n\n\n\n\n\n\n

    identifiers ([SecurityAdvisoryIdentifier!]!)

    A list of identifiers for this advisory.

    \n\n\n\n\n\n\n\n\n\n\n\n

    notificationsPermalink (URI)

    The permalink for the advisory's dependabot alerts page.

    \n\n\n\n\n\n\n\n\n\n\n\n

    origin (String!)

    The organization that originated the advisory.

    \n\n\n\n\n\n\n\n\n\n\n\n

    permalink (URI)

    The permalink for the advisory.

    \n\n\n\n\n\n\n\n\n\n\n\n

    publishedAt (DateTime!)

    When the advisory was published.

    \n\n\n\n\n\n\n\n\n\n\n\n

    references ([SecurityAdvisoryReference!]!)

    A list of references for this advisory.

    \n\n\n\n\n\n\n\n\n\n\n\n

    severity (SecurityAdvisorySeverity!)

    The severity of the advisory.

    \n\n\n\n\n\n\n\n\n\n\n\n

    summary (String!)

    A short plaintext summary of the advisory.

    \n\n\n\n\n\n\n\n\n\n\n\n

    updatedAt (DateTime!)

    When the advisory was last updated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    vulnerabilities (SecurityVulnerabilityConnection!)

    Vulnerabilities associated with this Advisory.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    ecosystem (SecurityAdvisoryEcosystem)

    \n

    An ecosystem to filter vulnerabilities by.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    package (String)

    \n

    A package name to filter vulnerabilities by.

    \n\n
    \n\n
    \n

    severities ([SecurityAdvisorySeverity!])

    \n

    A list of severities to filter vulnerabilities by.

    \n\n
    \n\n
    \n\n\n

    withdrawnAt (DateTime)

    When the advisory was withdrawn, if it has been withdrawn.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n SecurityAdvisoryConnection\n

    \n

    The connection type for SecurityAdvisory.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([SecurityAdvisoryEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([SecurityAdvisory])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n SecurityAdvisoryEdge\n

    \n

    An edge in a connection.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (SecurityAdvisory)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n SecurityAdvisoryIdentifier\n

    \n

    A GitHub Security Advisory Identifier.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    type (String!)

    The identifier type, e.g. GHSA, CVE.

    \n\n\n\n\n\n\n\n\n\n\n\n

    value (String!)

    The identifier.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n SecurityAdvisoryPackage\n

    \n

    An individual package.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    ecosystem (SecurityAdvisoryEcosystem!)

    The ecosystem the package belongs to, e.g. RUBYGEMS, NPM.

    \n\n\n\n\n\n\n\n\n\n\n\n

    name (String!)

    The package name.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n SecurityAdvisoryPackageVersion\n

    \n

    An individual package version.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    identifier (String!)

    The package name or version.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n SecurityAdvisoryReference\n

    \n

    A GitHub Security Advisory Reference.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    url (URI!)

    A publicly accessible reference.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n SecurityVulnerability\n

    \n

    An individual vulnerability within an Advisory.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    advisory (SecurityAdvisory!)

    The Advisory associated with this Vulnerability.

    \n\n\n\n\n\n\n\n\n\n\n\n

    firstPatchedVersion (SecurityAdvisoryPackageVersion)

    The first version containing a fix for the vulnerability.

    \n\n\n\n\n\n\n\n\n\n\n\n

    package (SecurityAdvisoryPackage!)

    A description of the vulnerable package.

    \n\n\n\n\n\n\n\n\n\n\n\n

    severity (SecurityAdvisorySeverity!)

    The severity of the vulnerability within this package.

    \n\n\n\n\n\n\n\n\n\n\n\n

    updatedAt (DateTime!)

    When the vulnerability was last updated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    vulnerableVersionRange (String!)

    A string that describes the vulnerable package versions.\nThis string follows a basic syntax with a few forms.

    \n
      \n
    • = 0.2.0 denotes a single vulnerable version.
    • \n
    • <= 1.0.8 denotes a version range up to and including the specified version
    • \n
    • < 0.1.11 denotes a version range up to, but excluding, the specified version
    • \n
    • >= 4.3.0, < 4.3.5 denotes a version range with a known minimum and maximum version.
    • \n
    • >= 0.0.1 denotes a version range with a known minimum, but no known maximum.
    • \n

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n SecurityVulnerabilityConnection\n

    \n

    The connection type for SecurityVulnerability.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([SecurityVulnerabilityEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([SecurityVulnerability])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n SecurityVulnerabilityEdge\n

    \n

    An edge in a connection.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (SecurityVulnerability)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n SmimeSignature\n

    \n

    Represents an S/MIME signature on a Commit or Tag.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    email (String!)

    Email used to sign this object.

    \n\n\n\n\n\n\n\n\n\n\n\n

    isValid (Boolean!)

    True if the signature is valid and verified by GitHub.

    \n\n\n\n\n\n\n\n\n\n\n\n

    payload (String!)

    Payload for GPG signing object. Raw ODB object without the signature header.

    \n\n\n\n\n\n\n\n\n\n\n\n

    signature (String!)

    ASCII-armored signature header from object.

    \n\n\n\n\n\n\n\n\n\n\n\n

    signer (User)

    GitHub user corresponding to the email signing this commit.

    \n\n\n\n\n\n\n\n\n\n\n\n

    state (GitSignatureState!)

    The state of this signature. VALID if signature is valid and verified by\nGitHub, otherwise represents reason why signature is considered invalid.

    \n\n\n\n\n\n\n\n\n\n\n\n

    wasSignedByGitHub (Boolean!)

    True if the signature was made with GitHub's signing key.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n Sponsorship\n

    \n

    A sponsorship relationship between a sponsor and a maintainer.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    maintainer (User!)

    The entity that is being sponsored.

    \n\n\n\n\n\n\n
    \n

    Deprecation notice

    \n

    maintainer is deprecated.

    Sponsorship.maintainer will be removed. Use Sponsorship.sponsorable instead. Removal on 2020-04-01 UTC.

    \n
    \n\n\n\n\n\n\n

    privacyLevel (SponsorshipPrivacy!)

    The privacy level for this sponsorship.

    \n\n\n\n\n\n\n\n\n\n\n\n

    sponsor (User)

    The user that is sponsoring. Returns null if the sponsorship is private or if sponsor is not a user.

    \n\n\n\n\n\n\n
    \n

    Deprecation notice

    \n

    sponsor is deprecated.

    Sponsorship.sponsor will be removed. Use Sponsorship.sponsorEntity instead. Removal on 2020-10-01 UTC.

    \n
    \n\n\n\n\n\n\n

    sponsorEntity (Sponsor)

    The user or organization that is sponsoring, if you have permission to view them.

    \n\n\n\n\n\n\n\n\n\n\n\n

    sponsorable (Sponsorable!)

    The entity that is being sponsored.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n SponsorshipConnection\n

    \n

    The connection type for Sponsorship.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([SponsorshipEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([Sponsorship])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n SponsorshipEdge\n

    \n

    An edge in a connection.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (Sponsorship)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n StargazerConnection\n

    \n

    The connection type for User.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([StargazerEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([User])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n StargazerEdge\n

    \n

    Represents a user that's starred a repository.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    starredAt (DateTime!)

    Identifies when the item was starred.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n StarredRepositoryConnection\n

    \n

    The connection type for Repository.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([StarredRepositoryEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    isOverLimit (Boolean!)

    Is the list of stars for this user truncated? This is true for users that have many stars.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([Repository])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n StarredRepositoryEdge\n

    \n

    Represents a starred repository.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    starredAt (DateTime!)

    Identifies when the item was starred.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n Status\n

    \n

    Represents a commit status.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    combinedContexts (StatusCheckRollupContextConnection!)

    A list of status contexts and check runs for this commit.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n\n\n

    commit (Commit)

    The commit this status is attached to.

    \n\n\n\n\n\n\n\n\n\n\n\n

    context (StatusContext)

    Looks up an individual status context by context name.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    name (String!)

    \n

    The context name.

    \n\n
    \n\n
    \n\n\n

    contexts ([StatusContext!]!)

    The individual status contexts for this commit.

    \n\n\n\n\n\n\n\n\n\n\n\n

    state (StatusState!)

    The combined commit status.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n StatusCheckRollup\n

    \n

    Represents the rollup for both the check runs and status for a commit.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    commit (Commit)

    The commit the status and check runs are attached to.

    \n\n\n\n\n\n\n\n\n\n\n\n

    contexts (StatusCheckRollupContextConnection!)

    A list of status contexts and check runs for this commit.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n\n\n

    state (StatusState!)

    The combined status for the commit.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n StatusCheckRollupContextConnection\n

    \n

    The connection type for StatusCheckRollupContext.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([StatusCheckRollupContextEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([StatusCheckRollupContext])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n StatusCheckRollupContextEdge\n

    \n

    An edge in a connection.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (StatusCheckRollupContext)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n StatusContext\n

    \n

    Represents an individual commit status context.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    avatarUrl (URI)

    The avatar of the OAuth application or the user that created the status.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    size (Int)

    \n

    The size of the resulting square image.

    \n

    The default value is 40.

    \n
    \n\n
    \n\n\n

    commit (Commit)

    This commit this status context is attached to.

    \n\n\n\n\n\n\n\n\n\n\n\n

    context (String!)

    The name of this status context.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    creator (Actor)

    The actor who created this status context.

    \n\n\n\n\n\n\n\n\n\n\n\n

    description (String)

    The description for this status context.

    \n\n\n\n\n\n\n\n\n\n\n\n

    isRequired (Boolean!)

    Whether this is required to pass before merging for a specific pull request.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    pullRequestId (ID)

    \n

    The id of the pull request this is required for.

    \n\n
    \n\n
    \n

    pullRequestNumber (Int)

    \n

    The number of the pull request this is required for.

    \n\n
    \n\n
    \n\n\n

    state (StatusState!)

    The state of this status context.

    \n\n\n\n\n\n\n\n\n\n\n\n

    targetUrl (URI)

    The URL for this status context.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n Submodule\n

    \n

    A pointer to a repository at a specific revision embedded inside another repository.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    branch (String)

    The branch of the upstream submodule for tracking updates.

    \n\n\n\n\n\n\n\n\n\n\n\n

    gitUrl (URI!)

    The git URL of the submodule repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    name (String!)

    The name of the submodule in .gitmodules.

    \n\n\n\n\n\n\n\n\n\n\n\n

    path (String!)

    The path in the superproject that this submodule is located in.

    \n\n\n\n\n\n\n\n\n\n\n\n

    subprojectCommitOid (GitObjectID)

    The commit revision of the subproject repository being tracked by the submodule.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n SubmoduleConnection\n

    \n

    The connection type for Submodule.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([SubmoduleEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([Submodule])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n SubmoduleEdge\n

    \n

    An edge in a connection.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (Submodule)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n SubscribedEvent\n

    \n

    Represents asubscribedevent on a given Subscribable.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    actor (Actor)

    Identifies the actor who performed the event.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    subscribable (Subscribable!)

    Object referenced by event.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n SuggestedReviewer\n

    \n

    A suggestion to review a pull request based on a user's commit history and review comments.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    isAuthor (Boolean!)

    Is this suggestion based on past commits?.

    \n\n\n\n\n\n\n\n\n\n\n\n

    isCommenter (Boolean!)

    Is this suggestion based on past review comments?.

    \n\n\n\n\n\n\n\n\n\n\n\n

    reviewer (User!)

    Identifies the user suggested to review the pull request.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n Tag\n

    \n

    Represents a Git tag.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    abbreviatedOid (String!)

    An abbreviated version of the Git object ID.

    \n\n\n\n\n\n\n\n\n\n\n\n

    commitResourcePath (URI!)

    The HTTP path for this Git object.

    \n\n\n\n\n\n\n\n\n\n\n\n

    commitUrl (URI!)

    The HTTP URL for this Git object.

    \n\n\n\n\n\n\n\n\n\n\n\n

    message (String)

    The Git tag message.

    \n\n\n\n\n\n\n\n\n\n\n\n

    name (String!)

    The Git tag name.

    \n\n\n\n\n\n\n\n\n\n\n\n

    oid (GitObjectID!)

    The Git object ID.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repository (Repository!)

    The Repository the Git object belongs to.

    \n\n\n\n\n\n\n\n\n\n\n\n

    tagger (GitActor)

    Details about the tag author.

    \n\n\n\n\n\n\n\n\n\n\n\n

    target (GitObject!)

    The Git object the tag points to.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n Team\n

    \n

    A team of users in an organization.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    ancestors (TeamConnection!)

    A list of teams that are ancestors of this team.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n\n\n

    avatarUrl (URI)

    A URL pointing to the team's avatar.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    size (Int)

    \n

    The size in pixels of the resulting square image.

    \n

    The default value is 400.

    \n
    \n\n
    \n\n\n

    childTeams (TeamConnection!)

    List of child teams belonging to this team.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    immediateOnly (Boolean)

    \n

    Whether to list immediate child teams or all descendant child teams.

    \n

    The default value is true.

    \n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (TeamOrder)

    \n

    Order for connection.

    \n\n
    \n\n
    \n

    userLogins ([String!])

    \n

    User logins to filter by.

    \n\n
    \n\n
    \n\n\n

    combinedSlug (String!)

    The slug corresponding to the organization and team.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    databaseId (Int)

    Identifies the primary key from the database.

    \n\n\n\n\n\n\n\n\n\n\n\n

    description (String)

    The description of the team.

    \n\n\n\n\n\n\n\n\n\n\n\n

    discussion (TeamDiscussion)

    Find a team discussion by its number.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    number (Int!)

    \n

    The sequence number of the discussion to find.

    \n\n
    \n\n
    \n\n\n

    discussions (TeamDiscussionConnection!)

    A list of team discussions.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    isPinned (Boolean)

    \n

    If provided, filters discussions according to whether or not they are pinned.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (TeamDiscussionOrder)

    \n

    Order for connection.

    \n\n
    \n\n
    \n\n\n

    discussionsResourcePath (URI!)

    The HTTP path for team discussions.

    \n\n\n\n\n\n\n\n\n\n\n\n

    discussionsUrl (URI!)

    The HTTP URL for team discussions.

    \n\n\n\n\n\n\n\n\n\n\n\n

    editTeamResourcePath (URI!)

    The HTTP path for editing this team.

    \n\n\n\n\n\n\n\n\n\n\n\n

    editTeamUrl (URI!)

    The HTTP URL for editing this team.

    \n\n\n\n\n\n\n\n\n\n\n\n

    invitations (OrganizationInvitationConnection)

    A list of pending invitations for users to this team.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n\n\n

    memberStatuses (UserStatusConnection!)

    Get the status messages members of this entity have set that are either public or visible only to the organization.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (UserStatusOrder)

    \n

    Ordering options for user statuses returned from the connection.

    \n\n
    \n\n
    \n\n\n

    members (TeamMemberConnection!)

    A list of users who are members of this team.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    membership (TeamMembershipType)

    \n

    Filter by membership type.

    \n

    The default value is ALL.

    \n
    \n\n
    \n

    orderBy (TeamMemberOrder)

    \n

    Order for the connection.

    \n\n
    \n\n
    \n

    query (String)

    \n

    The search string to look for.

    \n\n
    \n\n
    \n

    role (TeamMemberRole)

    \n

    Filter by team member role.

    \n\n
    \n\n
    \n\n\n

    membersResourcePath (URI!)

    The HTTP path for the team' members.

    \n\n\n\n\n\n\n\n\n\n\n\n

    membersUrl (URI!)

    The HTTP URL for the team' members.

    \n\n\n\n\n\n\n\n\n\n\n\n

    name (String!)

    The name of the team.

    \n\n\n\n\n\n\n\n\n\n\n\n

    newTeamResourcePath (URI!)

    The HTTP path creating a new team.

    \n\n\n\n\n\n\n\n\n\n\n\n

    newTeamUrl (URI!)

    The HTTP URL creating a new team.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organization (Organization!)

    The organization that owns this team.

    \n\n\n\n\n\n\n\n\n\n\n\n

    parentTeam (Team)

    The parent team of the team.

    \n\n\n\n\n\n\n\n\n\n\n\n

    privacy (TeamPrivacy!)

    The level of privacy the team has.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repositories (TeamRepositoryConnection!)

    A list of repositories this team has access to.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (TeamRepositoryOrder)

    \n

    Order for the connection.

    \n\n
    \n\n
    \n

    query (String)

    \n

    The search string to look for.

    \n\n
    \n\n
    \n\n\n

    repositoriesResourcePath (URI!)

    The HTTP path for this team's repositories.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repositoriesUrl (URI!)

    The HTTP URL for this team's repositories.

    \n\n\n\n\n\n\n\n\n\n\n\n

    resourcePath (URI!)

    The HTTP path for this team.

    \n\n\n\n\n\n\n\n\n\n\n\n

    reviewRequestDelegationAlgorithm (TeamReviewAssignmentAlgorithm)

    What algorithm is used for review assignment for this team.

    \n\n\n\n\n
    \n

    Preview notice

    \n

    reviewRequestDelegationAlgorithm is available under the Team review assignments preview. During the preview period, the API may change without notice.

    \n
    \n\n\n\n\n\n\n\n\n

    reviewRequestDelegationEnabled (Boolean!)

    True if review assignment is enabled for this team.

    \n\n\n\n\n
    \n

    Preview notice

    \n

    reviewRequestDelegationEnabled is available under the Team review assignments preview. During the preview period, the API may change without notice.

    \n
    \n\n\n\n\n\n\n\n\n

    reviewRequestDelegationMemberCount (Int)

    How many team members are required for review assignment for this team.

    \n\n\n\n\n
    \n

    Preview notice

    \n

    reviewRequestDelegationMemberCount is available under the Team review assignments preview. During the preview period, the API may change without notice.

    \n
    \n\n\n\n\n\n\n\n\n

    reviewRequestDelegationNotifyTeam (Boolean!)

    When assigning team members via delegation, whether the entire team should be notified as well.

    \n\n\n\n\n
    \n

    Preview notice

    \n

    reviewRequestDelegationNotifyTeam is available under the Team review assignments preview. During the preview period, the API may change without notice.

    \n
    \n\n\n\n\n\n\n\n\n

    slug (String!)

    The slug corresponding to the team.

    \n\n\n\n\n\n\n\n\n\n\n\n

    teamsResourcePath (URI!)

    The HTTP path for this team's teams.

    \n\n\n\n\n\n\n\n\n\n\n\n

    teamsUrl (URI!)

    The HTTP URL for this team's teams.

    \n\n\n\n\n\n\n\n\n\n\n\n

    updatedAt (DateTime!)

    Identifies the date and time when the object was last updated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    url (URI!)

    The HTTP URL for this team.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerCanAdminister (Boolean!)

    Team is adminable by the viewer.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerCanSubscribe (Boolean!)

    Check if the viewer is able to change their subscription status for the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerSubscription (SubscriptionState)

    Identifies if the viewer is watching, not watching, or ignoring the subscribable entity.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n TeamAddMemberAuditEntry\n

    \n

    Audit log entry for a team.add_member event.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    action (String!)

    The action name.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actor (AuditEntryActor)

    The user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorIp (String)

    The IP address of the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLocation (ActorLocation)

    A readable representation of the actor's location.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLogin (String)

    The username of the user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorResourcePath (URI)

    The HTTP path for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorUrl (URI)

    The HTTP URL for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (PreciseDateTime!)

    The time the action was initiated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    isLdapMapped (Boolean)

    Whether the team was mapped to an LDAP Group.

    \n\n\n\n\n\n\n\n\n\n\n\n

    operationType (OperationType)

    The corresponding operation type for the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organization (Organization)

    The Organization associated with the Audit Entry.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationName (String)

    The name of the Organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationResourcePath (URI)

    The HTTP path for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationUrl (URI)

    The HTTP URL for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    team (Team)

    The team associated with the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    teamName (String)

    The name of the team.

    \n\n\n\n\n\n\n\n\n\n\n\n

    teamResourcePath (URI)

    The HTTP path for this team.

    \n\n\n\n\n\n\n\n\n\n\n\n

    teamUrl (URI)

    The HTTP URL for this team.

    \n\n\n\n\n\n\n\n\n\n\n\n

    user (User)

    The user affected by the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userLogin (String)

    For actions involving two users, the actor is the initiator and the user is the affected user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userResourcePath (URI)

    The HTTP path for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userUrl (URI)

    The HTTP URL for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n TeamAddRepositoryAuditEntry\n

    \n

    Audit log entry for a team.add_repository event.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    action (String!)

    The action name.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actor (AuditEntryActor)

    The user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorIp (String)

    The IP address of the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLocation (ActorLocation)

    A readable representation of the actor's location.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLogin (String)

    The username of the user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorResourcePath (URI)

    The HTTP path for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorUrl (URI)

    The HTTP URL for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (PreciseDateTime!)

    The time the action was initiated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    isLdapMapped (Boolean)

    Whether the team was mapped to an LDAP Group.

    \n\n\n\n\n\n\n\n\n\n\n\n

    operationType (OperationType)

    The corresponding operation type for the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organization (Organization)

    The Organization associated with the Audit Entry.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationName (String)

    The name of the Organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationResourcePath (URI)

    The HTTP path for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationUrl (URI)

    The HTTP URL for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repository (Repository)

    The repository associated with the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repositoryName (String)

    The name of the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repositoryResourcePath (URI)

    The HTTP path for the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repositoryUrl (URI)

    The HTTP URL for the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    team (Team)

    The team associated with the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    teamName (String)

    The name of the team.

    \n\n\n\n\n\n\n\n\n\n\n\n

    teamResourcePath (URI)

    The HTTP path for this team.

    \n\n\n\n\n\n\n\n\n\n\n\n

    teamUrl (URI)

    The HTTP URL for this team.

    \n\n\n\n\n\n\n\n\n\n\n\n

    user (User)

    The user affected by the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userLogin (String)

    For actions involving two users, the actor is the initiator and the user is the affected user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userResourcePath (URI)

    The HTTP path for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userUrl (URI)

    The HTTP URL for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n TeamChangeParentTeamAuditEntry\n

    \n

    Audit log entry for a team.change_parent_team event.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    action (String!)

    The action name.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actor (AuditEntryActor)

    The user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorIp (String)

    The IP address of the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLocation (ActorLocation)

    A readable representation of the actor's location.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLogin (String)

    The username of the user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorResourcePath (URI)

    The HTTP path for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorUrl (URI)

    The HTTP URL for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (PreciseDateTime!)

    The time the action was initiated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    isLdapMapped (Boolean)

    Whether the team was mapped to an LDAP Group.

    \n\n\n\n\n\n\n\n\n\n\n\n

    operationType (OperationType)

    The corresponding operation type for the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organization (Organization)

    The Organization associated with the Audit Entry.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationName (String)

    The name of the Organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationResourcePath (URI)

    The HTTP path for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationUrl (URI)

    The HTTP URL for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    parentTeam (Team)

    The new parent team.

    \n\n\n\n\n\n\n\n\n\n\n\n

    parentTeamName (String)

    The name of the new parent team.

    \n\n\n\n\n\n\n\n\n\n\n\n

    parentTeamNameWas (String)

    The name of the former parent team.

    \n\n\n\n\n\n\n\n\n\n\n\n

    parentTeamResourcePath (URI)

    The HTTP path for the parent team.

    \n\n\n\n\n\n\n\n\n\n\n\n

    parentTeamUrl (URI)

    The HTTP URL for the parent team.

    \n\n\n\n\n\n\n\n\n\n\n\n

    parentTeamWas (Team)

    The former parent team.

    \n\n\n\n\n\n\n\n\n\n\n\n

    parentTeamWasResourcePath (URI)

    The HTTP path for the previous parent team.

    \n\n\n\n\n\n\n\n\n\n\n\n

    parentTeamWasUrl (URI)

    The HTTP URL for the previous parent team.

    \n\n\n\n\n\n\n\n\n\n\n\n

    team (Team)

    The team associated with the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    teamName (String)

    The name of the team.

    \n\n\n\n\n\n\n\n\n\n\n\n

    teamResourcePath (URI)

    The HTTP path for this team.

    \n\n\n\n\n\n\n\n\n\n\n\n

    teamUrl (URI)

    The HTTP URL for this team.

    \n\n\n\n\n\n\n\n\n\n\n\n

    user (User)

    The user affected by the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userLogin (String)

    For actions involving two users, the actor is the initiator and the user is the affected user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userResourcePath (URI)

    The HTTP path for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userUrl (URI)

    The HTTP URL for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n TeamConnection\n

    \n

    The connection type for Team.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([TeamEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([Team])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n TeamDiscussion\n

    \n

    A team discussion.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    author (Actor)

    The actor who authored the comment.

    \n\n\n\n\n\n\n\n\n\n\n\n

    authorAssociation (CommentAuthorAssociation!)

    Author's association with the discussion's team.

    \n\n\n\n\n\n\n\n\n\n\n\n

    body (String!)

    The body as Markdown.

    \n\n\n\n\n\n\n\n\n\n\n\n

    bodyHTML (HTML!)

    The body rendered to HTML.

    \n\n\n\n\n\n\n\n\n\n\n\n

    bodyText (String!)

    The body rendered to text.

    \n\n\n\n\n\n\n\n\n\n\n\n

    bodyVersion (String!)

    Identifies the discussion body hash.

    \n\n\n\n\n\n\n\n\n\n\n\n

    comments (TeamDiscussionCommentConnection!)

    A list of comments on this discussion.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    fromComment (Int)

    \n

    When provided, filters the connection such that results begin with the comment with this number.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (TeamDiscussionCommentOrder)

    \n

    Order for connection.

    \n\n
    \n\n
    \n\n\n

    commentsResourcePath (URI!)

    The HTTP path for discussion comments.

    \n\n\n\n\n\n\n\n\n\n\n\n

    commentsUrl (URI!)

    The HTTP URL for discussion comments.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdViaEmail (Boolean!)

    Check if this comment was created via an email reply.

    \n\n\n\n\n\n\n\n\n\n\n\n

    databaseId (Int)

    Identifies the primary key from the database.

    \n\n\n\n\n\n\n\n\n\n\n\n

    editor (Actor)

    The actor who edited the comment.

    \n\n\n\n\n\n\n\n\n\n\n\n

    includesCreatedEdit (Boolean!)

    Check if this comment was edited and includes an edit with the creation data.

    \n\n\n\n\n\n\n\n\n\n\n\n

    isPinned (Boolean!)

    Whether or not the discussion is pinned.

    \n\n\n\n\n\n\n\n\n\n\n\n

    isPrivate (Boolean!)

    Whether or not the discussion is only visible to team members and org admins.

    \n\n\n\n\n\n\n\n\n\n\n\n

    lastEditedAt (DateTime)

    The moment the editor made the last edit.

    \n\n\n\n\n\n\n\n\n\n\n\n

    number (Int!)

    Identifies the discussion within its team.

    \n\n\n\n\n\n\n\n\n\n\n\n

    publishedAt (DateTime)

    Identifies when the comment was published at.

    \n\n\n\n\n\n\n\n\n\n\n\n

    reactionGroups ([ReactionGroup!])

    A list of reactions grouped by content left on the subject.

    \n\n\n\n\n\n\n\n\n\n\n\n

    reactions (ReactionConnection!)

    A list of Reactions left on the Issue.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    content (ReactionContent)

    \n

    Allows filtering Reactions by emoji.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (ReactionOrder)

    \n

    Allows specifying the order in which reactions are returned.

    \n\n
    \n\n
    \n\n\n

    resourcePath (URI!)

    The HTTP path for this discussion.

    \n\n\n\n\n\n\n\n\n\n\n\n

    team (Team!)

    The team that defines the context of this discussion.

    \n\n\n\n\n\n\n\n\n\n\n\n

    title (String!)

    The title of the discussion.

    \n\n\n\n\n\n\n\n\n\n\n\n

    updatedAt (DateTime!)

    Identifies the date and time when the object was last updated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    url (URI!)

    The HTTP URL for this discussion.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userContentEdits (UserContentEditConnection)

    A list of edits to this content.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n\n\n

    viewerCanDelete (Boolean!)

    Check if the current viewer can delete this object.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerCanPin (Boolean!)

    Whether or not the current viewer can pin this discussion.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerCanReact (Boolean!)

    Can user react to this subject.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerCanSubscribe (Boolean!)

    Check if the viewer is able to change their subscription status for the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerCanUpdate (Boolean!)

    Check if the current viewer can update this object.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerCannotUpdateReasons ([CommentCannotUpdateReason!]!)

    Reasons why the current viewer can not update this comment.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerDidAuthor (Boolean!)

    Did the viewer author this comment.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerSubscription (SubscriptionState)

    Identifies if the viewer is watching, not watching, or ignoring the subscribable entity.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n TeamDiscussionComment\n

    \n

    A comment on a team discussion.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    author (Actor)

    The actor who authored the comment.

    \n\n\n\n\n\n\n\n\n\n\n\n

    authorAssociation (CommentAuthorAssociation!)

    Author's association with the comment's team.

    \n\n\n\n\n\n\n\n\n\n\n\n

    body (String!)

    The body as Markdown.

    \n\n\n\n\n\n\n\n\n\n\n\n

    bodyHTML (HTML!)

    The body rendered to HTML.

    \n\n\n\n\n\n\n\n\n\n\n\n

    bodyText (String!)

    The body rendered to text.

    \n\n\n\n\n\n\n\n\n\n\n\n

    bodyVersion (String!)

    The current version of the body content.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdViaEmail (Boolean!)

    Check if this comment was created via an email reply.

    \n\n\n\n\n\n\n\n\n\n\n\n

    databaseId (Int)

    Identifies the primary key from the database.

    \n\n\n\n\n\n\n\n\n\n\n\n

    discussion (TeamDiscussion!)

    The discussion this comment is about.

    \n\n\n\n\n\n\n\n\n\n\n\n

    editor (Actor)

    The actor who edited the comment.

    \n\n\n\n\n\n\n\n\n\n\n\n

    includesCreatedEdit (Boolean!)

    Check if this comment was edited and includes an edit with the creation data.

    \n\n\n\n\n\n\n\n\n\n\n\n

    lastEditedAt (DateTime)

    The moment the editor made the last edit.

    \n\n\n\n\n\n\n\n\n\n\n\n

    number (Int!)

    Identifies the comment number.

    \n\n\n\n\n\n\n\n\n\n\n\n

    publishedAt (DateTime)

    Identifies when the comment was published at.

    \n\n\n\n\n\n\n\n\n\n\n\n

    reactionGroups ([ReactionGroup!])

    A list of reactions grouped by content left on the subject.

    \n\n\n\n\n\n\n\n\n\n\n\n

    reactions (ReactionConnection!)

    A list of Reactions left on the Issue.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    content (ReactionContent)

    \n

    Allows filtering Reactions by emoji.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (ReactionOrder)

    \n

    Allows specifying the order in which reactions are returned.

    \n\n
    \n\n
    \n\n\n

    resourcePath (URI!)

    The HTTP path for this comment.

    \n\n\n\n\n\n\n\n\n\n\n\n

    updatedAt (DateTime!)

    Identifies the date and time when the object was last updated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    url (URI!)

    The HTTP URL for this comment.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userContentEdits (UserContentEditConnection)

    A list of edits to this content.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n\n\n

    viewerCanDelete (Boolean!)

    Check if the current viewer can delete this object.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerCanReact (Boolean!)

    Can user react to this subject.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerCanUpdate (Boolean!)

    Check if the current viewer can update this object.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerCannotUpdateReasons ([CommentCannotUpdateReason!]!)

    Reasons why the current viewer can not update this comment.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerDidAuthor (Boolean!)

    Did the viewer author this comment.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n TeamDiscussionCommentConnection\n

    \n

    The connection type for TeamDiscussionComment.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([TeamDiscussionCommentEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([TeamDiscussionComment])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n TeamDiscussionCommentEdge\n

    \n

    An edge in a connection.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (TeamDiscussionComment)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n TeamDiscussionConnection\n

    \n

    The connection type for TeamDiscussion.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([TeamDiscussionEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([TeamDiscussion])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n TeamDiscussionEdge\n

    \n

    An edge in a connection.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (TeamDiscussion)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n TeamEdge\n

    \n

    An edge in a connection.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (Team)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n TeamMemberConnection\n

    \n

    The connection type for User.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([TeamMemberEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([User])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n TeamMemberEdge\n

    \n

    Represents a user who is a member of a team.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    memberAccessResourcePath (URI!)

    The HTTP path to the organization's member access page.

    \n\n\n\n\n\n\n\n\n\n\n\n

    memberAccessUrl (URI!)

    The HTTP URL to the organization's member access page.

    \n\n\n\n\n\n\n\n\n\n\n\n

    role (TeamMemberRole!)

    The role the member has on the team.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n TeamRemoveMemberAuditEntry\n

    \n

    Audit log entry for a team.remove_member event.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    action (String!)

    The action name.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actor (AuditEntryActor)

    The user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorIp (String)

    The IP address of the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLocation (ActorLocation)

    A readable representation of the actor's location.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLogin (String)

    The username of the user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorResourcePath (URI)

    The HTTP path for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorUrl (URI)

    The HTTP URL for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (PreciseDateTime!)

    The time the action was initiated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    isLdapMapped (Boolean)

    Whether the team was mapped to an LDAP Group.

    \n\n\n\n\n\n\n\n\n\n\n\n

    operationType (OperationType)

    The corresponding operation type for the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organization (Organization)

    The Organization associated with the Audit Entry.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationName (String)

    The name of the Organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationResourcePath (URI)

    The HTTP path for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationUrl (URI)

    The HTTP URL for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    team (Team)

    The team associated with the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    teamName (String)

    The name of the team.

    \n\n\n\n\n\n\n\n\n\n\n\n

    teamResourcePath (URI)

    The HTTP path for this team.

    \n\n\n\n\n\n\n\n\n\n\n\n

    teamUrl (URI)

    The HTTP URL for this team.

    \n\n\n\n\n\n\n\n\n\n\n\n

    user (User)

    The user affected by the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userLogin (String)

    For actions involving two users, the actor is the initiator and the user is the affected user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userResourcePath (URI)

    The HTTP path for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userUrl (URI)

    The HTTP URL for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n TeamRemoveRepositoryAuditEntry\n

    \n

    Audit log entry for a team.remove_repository event.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    action (String!)

    The action name.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actor (AuditEntryActor)

    The user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorIp (String)

    The IP address of the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLocation (ActorLocation)

    A readable representation of the actor's location.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorLogin (String)

    The username of the user who initiated the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorResourcePath (URI)

    The HTTP path for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    actorUrl (URI)

    The HTTP URL for the actor.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (PreciseDateTime!)

    The time the action was initiated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    isLdapMapped (Boolean)

    Whether the team was mapped to an LDAP Group.

    \n\n\n\n\n\n\n\n\n\n\n\n

    operationType (OperationType)

    The corresponding operation type for the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organization (Organization)

    The Organization associated with the Audit Entry.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationName (String)

    The name of the Organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationResourcePath (URI)

    The HTTP path for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organizationUrl (URI)

    The HTTP URL for the organization.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repository (Repository)

    The repository associated with the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repositoryName (String)

    The name of the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repositoryResourcePath (URI)

    The HTTP path for the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repositoryUrl (URI)

    The HTTP URL for the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n

    team (Team)

    The team associated with the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    teamName (String)

    The name of the team.

    \n\n\n\n\n\n\n\n\n\n\n\n

    teamResourcePath (URI)

    The HTTP path for this team.

    \n\n\n\n\n\n\n\n\n\n\n\n

    teamUrl (URI)

    The HTTP URL for this team.

    \n\n\n\n\n\n\n\n\n\n\n\n

    user (User)

    The user affected by the action.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userLogin (String)

    For actions involving two users, the actor is the initiator and the user is the affected user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userResourcePath (URI)

    The HTTP path for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    userUrl (URI)

    The HTTP URL for the user.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n TeamRepositoryConnection\n

    \n

    The connection type for Repository.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([TeamRepositoryEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([Repository])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n TeamRepositoryEdge\n

    \n

    Represents a team repository.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    permission (RepositoryPermission!)

    The permission level the team has on the repository.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n TextMatch\n

    \n

    A text match within a search result.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    fragment (String!)

    The specific text fragment within the property matched on.

    \n\n\n\n\n\n\n\n\n\n\n\n

    highlights ([TextMatchHighlight!]!)

    Highlights within the matched fragment.

    \n\n\n\n\n\n\n\n\n\n\n\n

    property (String!)

    The property matched on.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n TextMatchHighlight\n

    \n

    Represents a single highlight in a search result match.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    beginIndice (Int!)

    The indice in the fragment where the matched text begins.

    \n\n\n\n\n\n\n\n\n\n\n\n

    endIndice (Int!)

    The indice in the fragment where the matched text ends.

    \n\n\n\n\n\n\n\n\n\n\n\n

    text (String!)

    The text matched.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n Topic\n

    \n

    A topic aggregates entities that are related to a subject.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    name (String!)

    The topic's name.

    \n\n\n\n\n\n\n\n\n\n\n\n

    relatedTopics ([Topic!]!)

    A list of related topics, including aliases of this topic, sorted with the most relevant\nfirst. Returns up to 10 Topics.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    first (Int)

    \n

    How many topics to return.

    \n

    The default value is 3.

    \n
    \n\n
    \n\n\n

    stargazerCount (Int!)

    Returns a count of how many stargazers there are on this object.

    \n\n\n\n\n\n\n\n\n\n\n\n

    stargazers (StargazerConnection!)

    A list of users who have starred this starrable.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (StarOrder)

    \n

    Order for connection.

    \n\n
    \n\n
    \n\n\n

    viewerHasStarred (Boolean!)

    Returns a boolean indicating whether the viewing user has starred this starrable.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n TransferredEvent\n

    \n

    Represents atransferredevent on a given issue or pull request.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    actor (Actor)

    Identifies the actor who performed the event.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    fromRepository (Repository)

    The repository this came from.

    \n\n\n\n\n\n\n\n\n\n\n\n

    issue (Issue!)

    Identifies the issue associated with the event.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n Tree\n

    \n

    Represents a Git tree.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    abbreviatedOid (String!)

    An abbreviated version of the Git object ID.

    \n\n\n\n\n\n\n\n\n\n\n\n

    commitResourcePath (URI!)

    The HTTP path for this Git object.

    \n\n\n\n\n\n\n\n\n\n\n\n

    commitUrl (URI!)

    The HTTP URL for this Git object.

    \n\n\n\n\n\n\n\n\n\n\n\n

    entries ([TreeEntry!])

    A list of tree entries.

    \n\n\n\n\n\n\n\n\n\n\n\n

    oid (GitObjectID!)

    The Git object ID.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repository (Repository!)

    The Repository the Git object belongs to.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n TreeEntry\n

    \n

    Represents a Git tree entry.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    extension (String)

    The extension of the file.

    \n\n\n\n\n\n\n\n\n\n\n\n

    isGenerated (Boolean!)

    Whether or not this tree entry is generated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    mode (Int!)

    Entry file mode.

    \n\n\n\n\n\n\n\n\n\n\n\n

    name (String!)

    Entry file name.

    \n\n\n\n\n\n\n\n\n\n\n\n

    object (GitObject)

    Entry file object.

    \n\n\n\n\n\n\n\n\n\n\n\n

    oid (GitObjectID!)

    Entry file Git object ID.

    \n\n\n\n\n\n\n\n\n\n\n\n

    path (String)

    The full path of the file.

    \n\n\n\n\n\n\n\n\n\n\n\n

    repository (Repository!)

    The Repository the tree entry belongs to.

    \n\n\n\n\n\n\n\n\n\n\n\n

    submodule (Submodule)

    If the TreeEntry is for a directory occupied by a submodule project, this returns the corresponding submodule.

    \n\n\n\n\n\n\n\n\n\n\n\n

    type (String!)

    Entry file type.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n UnassignedEvent\n

    \n

    Represents anunassignedevent on any assignable object.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    actor (Actor)

    Identifies the actor who performed the event.

    \n\n\n\n\n\n\n\n\n\n\n\n

    assignable (Assignable!)

    Identifies the assignable associated with the event.

    \n\n\n\n\n\n\n\n\n\n\n\n

    assignee (Assignee)

    Identifies the user or mannequin that was unassigned.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    user (User)

    Identifies the subject (user) who was unassigned.

    \n\n\n\n\n\n\n
    \n

    Deprecation notice

    \n

    user is deprecated.

    Assignees can now be mannequins. Use the assignee field instead. Removal on 2020-01-01 UTC.

    \n
    \n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n UnknownSignature\n

    \n

    Represents an unknown signature on a Commit or Tag.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    email (String!)

    Email used to sign this object.

    \n\n\n\n\n\n\n\n\n\n\n\n

    isValid (Boolean!)

    True if the signature is valid and verified by GitHub.

    \n\n\n\n\n\n\n\n\n\n\n\n

    payload (String!)

    Payload for GPG signing object. Raw ODB object without the signature header.

    \n\n\n\n\n\n\n\n\n\n\n\n

    signature (String!)

    ASCII-armored signature header from object.

    \n\n\n\n\n\n\n\n\n\n\n\n

    signer (User)

    GitHub user corresponding to the email signing this commit.

    \n\n\n\n\n\n\n\n\n\n\n\n

    state (GitSignatureState!)

    The state of this signature. VALID if signature is valid and verified by\nGitHub, otherwise represents reason why signature is considered invalid.

    \n\n\n\n\n\n\n\n\n\n\n\n

    wasSignedByGitHub (Boolean!)

    True if the signature was made with GitHub's signing key.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n UnlabeledEvent\n

    \n

    Represents anunlabeledevent on a given issue or pull request.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    actor (Actor)

    Identifies the actor who performed the event.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    label (Label!)

    Identifies the label associated with theunlabeledevent.

    \n\n\n\n\n\n\n\n\n\n\n\n

    labelable (Labelable!)

    Identifies the Labelable associated with the event.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n UnlockedEvent\n

    \n

    Represents anunlockedevent on a given issue or pull request.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    actor (Actor)

    Identifies the actor who performed the event.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    lockable (Lockable!)

    Object that was unlocked.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n UnmarkedAsDuplicateEvent\n

    \n

    Represents anunmarked_as_duplicateevent on a given issue or pull request.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    actor (Actor)

    Identifies the actor who performed the event.

    \n\n\n\n\n\n\n\n\n\n\n\n

    canonical (IssueOrPullRequest)

    The authoritative issue or pull request which has been duplicated by another.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    duplicate (IssueOrPullRequest)

    The issue or pull request which has been marked as a duplicate of another.

    \n\n\n\n\n\n\n\n\n\n\n\n

    isCrossRepository (Boolean!)

    Canonical and duplicate belong to different repositories.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n UnpinnedEvent\n

    \n

    Represents anunpinnedevent on a given issue or pull request.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    actor (Actor)

    Identifies the actor who performed the event.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    issue (Issue!)

    Identifies the issue associated with the event.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n UnsubscribedEvent\n

    \n

    Represents anunsubscribedevent on a given Subscribable.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    actor (Actor)

    Identifies the actor who performed the event.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    subscribable (Subscribable!)

    Object referenced by event.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n User\n

    \n

    A user is an individual's account on GitHub that owns repositories and can make new content.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    anyPinnableItems (Boolean!)

    Determine if this repository owner has any items that can be pinned to their profile.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    type (PinnableItemType)

    \n

    Filter to only a particular kind of pinnable item.

    \n\n
    \n\n
    \n\n\n

    avatarUrl (URI!)

    A URL pointing to the user's public avatar.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    size (Int)

    \n

    The size of the resulting square image.

    \n\n
    \n\n
    \n\n\n

    bio (String)

    The user's public profile bio.

    \n\n\n\n\n\n\n\n\n\n\n\n

    bioHTML (HTML!)

    The user's public profile bio as HTML.

    \n\n\n\n\n\n\n\n\n\n\n\n

    commitComments (CommitCommentConnection!)

    A list of commit comments made by this user.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n\n\n

    company (String)

    The user's public profile company.

    \n\n\n\n\n\n\n\n\n\n\n\n

    companyHTML (HTML!)

    The user's public profile company as HTML.

    \n\n\n\n\n\n\n\n\n\n\n\n

    contributionsCollection (ContributionsCollection!)

    The collection of contributions this user has made to different repositories.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    from (DateTime)

    \n

    Only contributions made at this time or later will be counted. If omitted, defaults to a year ago.

    \n\n
    \n\n
    \n

    organizationID (ID)

    \n

    The ID of the organization used to filter contributions.

    \n\n
    \n\n
    \n

    to (DateTime)

    \n

    Only contributions made before and up to and including this time will be\ncounted. If omitted, defaults to the current time.

    \n\n
    \n\n
    \n\n\n

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    databaseId (Int)

    Identifies the primary key from the database.

    \n\n\n\n\n\n\n\n\n\n\n\n

    email (String!)

    The user's publicly visible profile email.

    \n\n\n\n\n\n\n\n\n\n\n\n

    followers (FollowerConnection!)

    A list of users the given user is followed by.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n\n\n

    following (FollowingConnection!)

    A list of users the given user is following.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n\n\n

    gist (Gist)

    Find gist by repo name.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    name (String!)

    \n

    The gist name to find.

    \n\n
    \n\n
    \n\n\n

    gistComments (GistCommentConnection!)

    A list of gist comments made by this user.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n\n\n

    gists (GistConnection!)

    A list of the Gists the user has created.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (GistOrder)

    \n

    Ordering options for gists returned from the connection.

    \n\n
    \n\n
    \n

    privacy (GistPrivacy)

    \n

    Filters Gists according to privacy.

    \n\n
    \n\n
    \n\n\n

    hovercard (Hovercard!)

    The hovercard information for this user in a given context.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    primarySubjectId (ID)

    \n

    The ID of the subject to get the hovercard in the context of.

    \n\n
    \n\n
    \n\n\n

    isBountyHunter (Boolean!)

    Whether or not this user is a participant in the GitHub Security Bug Bounty.

    \n\n\n\n\n\n\n\n\n\n\n\n

    isCampusExpert (Boolean!)

    Whether or not this user is a participant in the GitHub Campus Experts Program.

    \n\n\n\n\n\n\n\n\n\n\n\n

    isDeveloperProgramMember (Boolean!)

    Whether or not this user is a GitHub Developer Program member.

    \n\n\n\n\n\n\n\n\n\n\n\n

    isEmployee (Boolean!)

    Whether or not this user is a GitHub employee.

    \n\n\n\n\n\n\n\n\n\n\n\n

    isGitHubStar (Boolean!)

    Whether or not this user is a member of the GitHub Stars Program.

    \n\n\n\n\n\n\n\n\n\n\n\n

    isHireable (Boolean!)

    Whether or not the user has marked themselves as for hire.

    \n\n\n\n\n\n\n\n\n\n\n\n

    isSiteAdmin (Boolean!)

    Whether or not this user is a site administrator.

    \n\n\n\n\n\n\n\n\n\n\n\n

    isViewer (Boolean!)

    Whether or not this user is the viewing user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    issueComments (IssueCommentConnection!)

    A list of issue comments made by this user.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (IssueCommentOrder)

    \n

    Ordering options for issue comments returned from the connection.

    \n\n
    \n\n
    \n\n\n

    issues (IssueConnection!)

    A list of issues associated with this user.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    filterBy (IssueFilters)

    \n

    Filtering options for issues returned from the connection.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    labels ([String!])

    \n

    A list of label names to filter the pull requests by.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (IssueOrder)

    \n

    Ordering options for issues returned from the connection.

    \n\n
    \n\n
    \n

    states ([IssueState!])

    \n

    A list of states to filter the issues by.

    \n\n
    \n\n
    \n\n\n

    itemShowcase (ProfileItemShowcase!)

    Showcases a selection of repositories and gists that the profile owner has\neither curated or that have been selected automatically based on popularity.

    \n\n\n\n\n\n\n\n\n\n\n\n

    location (String)

    The user's public profile location.

    \n\n\n\n\n\n\n\n\n\n\n\n

    login (String!)

    The username used to login.

    \n\n\n\n\n\n\n\n\n\n\n\n

    name (String)

    The user's public profile name.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organization (Organization)

    Find an organization by its login that the user belongs to.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    login (String!)

    \n

    The login of the organization to find.

    \n\n
    \n\n
    \n\n\n

    organizationVerifiedDomainEmails ([String!]!)

    Verified email addresses that match verified domains for a specified organization the user is a member of.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    login (String!)

    \n

    The login of the organization to match verified domains from.

    \n\n
    \n\n
    \n\n\n

    organizations (OrganizationConnection!)

    A list of organizations the user belongs to.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n\n\n

    pinnableItems (PinnableItemConnection!)

    A list of repositories and gists this profile owner can pin to their profile.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    types ([PinnableItemType!])

    \n

    Filter the types of pinnable items that are returned.

    \n\n
    \n\n
    \n\n\n

    pinnedItems (PinnableItemConnection!)

    A list of repositories and gists this profile owner has pinned to their profile.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    types ([PinnableItemType!])

    \n

    Filter the types of pinned items that are returned.

    \n\n
    \n\n
    \n\n\n

    pinnedItemsRemaining (Int!)

    Returns how many more items this profile owner can pin to their profile.

    \n\n\n\n\n\n\n\n\n\n\n\n

    project (Project)

    Find project by number.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    number (Int!)

    \n

    The project number to find.

    \n\n
    \n\n
    \n\n\n

    projects (ProjectConnection!)

    A list of projects under the owner.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (ProjectOrder)

    \n

    Ordering options for projects returned from the connection.

    \n\n
    \n\n
    \n

    search (String)

    \n

    Query to search projects by, currently only searching by name.

    \n\n
    \n\n
    \n

    states ([ProjectState!])

    \n

    A list of states to filter the projects by.

    \n\n
    \n\n
    \n\n\n

    projectsResourcePath (URI!)

    The HTTP path listing user's projects.

    \n\n\n\n\n\n\n\n\n\n\n\n

    projectsUrl (URI!)

    The HTTP URL listing user's projects.

    \n\n\n\n\n\n\n\n\n\n\n\n

    publicKeys (PublicKeyConnection!)

    A list of public keys associated with this user.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n\n\n

    pullRequests (PullRequestConnection!)

    A list of pull requests associated with this user.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    baseRefName (String)

    \n

    The base ref name to filter the pull requests by.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    headRefName (String)

    \n

    The head ref name to filter the pull requests by.

    \n\n
    \n\n
    \n

    labels ([String!])

    \n

    A list of label names to filter the pull requests by.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (IssueOrder)

    \n

    Ordering options for pull requests returned from the connection.

    \n\n
    \n\n
    \n

    states ([PullRequestState!])

    \n

    A list of states to filter the pull requests by.

    \n\n
    \n\n
    \n\n\n

    repositories (RepositoryConnection!)

    A list of repositories that the user owns.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    affiliations ([RepositoryAffiliation])

    \n

    Array of viewer's affiliation options for repositories returned from the\nconnection. For example, OWNER will include only repositories that the\ncurrent viewer owns.

    \n\n
    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    isFork (Boolean)

    \n

    If non-null, filters repositories according to whether they are forks of another repository.

    \n\n
    \n\n
    \n

    isLocked (Boolean)

    \n

    If non-null, filters repositories according to whether they have been locked.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (RepositoryOrder)

    \n

    Ordering options for repositories returned from the connection.

    \n\n
    \n\n
    \n

    ownerAffiliations ([RepositoryAffiliation])

    \n

    Array of owner's affiliation options for repositories returned from the\nconnection. For example, OWNER will include only repositories that the\norganization or user being viewed owns.

    \n\n
    \n\n
    \n

    privacy (RepositoryPrivacy)

    \n

    If non-null, filters repositories according to privacy.

    \n\n
    \n\n
    \n\n\n

    repositoriesContributedTo (RepositoryConnection!)

    A list of repositories that the user recently contributed to.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    contributionTypes ([RepositoryContributionType])

    \n

    If non-null, include only the specified types of contributions. The\nGitHub.com UI uses [COMMIT, ISSUE, PULL_REQUEST, REPOSITORY].

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    includeUserRepositories (Boolean)

    \n

    If true, include user repositories.

    \n\n
    \n\n
    \n

    isLocked (Boolean)

    \n

    If non-null, filters repositories according to whether they have been locked.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (RepositoryOrder)

    \n

    Ordering options for repositories returned from the connection.

    \n\n
    \n\n
    \n

    privacy (RepositoryPrivacy)

    \n

    If non-null, filters repositories according to privacy.

    \n\n
    \n\n
    \n\n\n

    repository (Repository)

    Find Repository.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    name (String!)

    \n

    Name of Repository to find.

    \n\n
    \n\n
    \n\n\n

    resourcePath (URI!)

    The HTTP path for this user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    savedReplies (SavedReplyConnection)

    Replies this user has saved.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (SavedReplyOrder)

    \n

    The field to order saved replies by.

    \n\n
    \n\n
    \n\n\n

    sponsorshipsAsMaintainer (SponsorshipConnection!)

    This object's sponsorships as the maintainer.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    includePrivate (Boolean)

    \n

    Whether or not to include private sponsorships in the result set.

    \n

    The default value is false.

    \n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (SponsorshipOrder)

    \n

    Ordering options for sponsorships returned from this connection. If left\nblank, the sponsorships will be ordered based on relevancy to the viewer.

    \n\n
    \n\n
    \n\n\n

    sponsorshipsAsSponsor (SponsorshipConnection!)

    This object's sponsorships as the sponsor.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (SponsorshipOrder)

    \n

    Ordering options for sponsorships returned from this connection. If left\nblank, the sponsorships will be ordered based on relevancy to the viewer.

    \n\n
    \n\n
    \n\n\n

    starredRepositories (StarredRepositoryConnection!)

    Repositories the user has starred.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (StarOrder)

    \n

    Order for connection.

    \n\n
    \n\n
    \n

    ownedByViewer (Boolean)

    \n

    Filters starred repositories to only return repositories owned by the viewer.

    \n\n
    \n\n
    \n\n\n

    status (UserStatus)

    The user's description of what they're currently doing.

    \n\n\n\n\n\n\n\n\n\n\n\n

    suspendedAt (DateTime)

    Identifies the date and time when the user was suspended.

    \n\n\n\n\n\n\n\n\n\n\n\n

    topRepositories (RepositoryConnection!)

    Repositories the user has contributed to, ordered by contribution rank, plus repositories the user has created.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (RepositoryOrder!)

    \n

    Ordering options for repositories returned from the connection.

    \n\n
    \n\n
    \n

    since (DateTime)

    \n

    How far back in time to fetch contributed repositories.

    \n\n
    \n\n
    \n\n\n

    twitterUsername (String)

    The user's Twitter username.

    \n\n\n\n\n\n\n\n\n\n\n\n

    updatedAt (DateTime!)

    Identifies the date and time when the object was last updated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    url (URI!)

    The HTTP URL for this user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerCanChangePinnedItems (Boolean!)

    Can the viewer pin repositories and gists to the profile?.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerCanCreateProjects (Boolean!)

    Can the current viewer create new projects on this owner.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerCanFollow (Boolean!)

    Whether or not the viewer is able to follow the user.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewerIsFollowing (Boolean!)

    Whether or not this user is followed by the viewer.

    \n\n\n\n\n\n\n\n\n\n\n\n

    watching (RepositoryConnection!)

    A list of repositories the given user is watching.

    \n\n\n\n\n\n\n\n\n\n\n
    \n

    Arguments

    \n\n
    \n

    affiliations ([RepositoryAffiliation])

    \n

    Affiliation options for repositories returned from the connection. If none\nspecified, the results will include repositories for which the current\nviewer is an owner or collaborator, or member.

    \n\n
    \n\n
    \n

    after (String)

    \n

    Returns the elements in the list that come after the specified cursor.

    \n\n
    \n\n
    \n

    before (String)

    \n

    Returns the elements in the list that come before the specified cursor.

    \n\n
    \n\n
    \n

    first (Int)

    \n

    Returns the first n elements from the list.

    \n\n
    \n\n
    \n

    isLocked (Boolean)

    \n

    If non-null, filters repositories according to whether they have been locked.

    \n\n
    \n\n
    \n

    last (Int)

    \n

    Returns the last n elements from the list.

    \n\n
    \n\n
    \n

    orderBy (RepositoryOrder)

    \n

    Ordering options for repositories returned from the connection.

    \n\n
    \n\n
    \n

    ownerAffiliations ([RepositoryAffiliation])

    \n

    Array of owner's affiliation options for repositories returned from the\nconnection. For example, OWNER will include only repositories that the\norganization or user being viewed owns.

    \n\n
    \n\n
    \n

    privacy (RepositoryPrivacy)

    \n

    If non-null, filters repositories according to privacy.

    \n\n
    \n\n
    \n\n\n

    websiteUrl (URI)

    A URL pointing to the user's public website/blog.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n UserBlockedEvent\n

    \n

    Represents auser_blockedevent on a given user.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    actor (Actor)

    Identifies the actor who performed the event.

    \n\n\n\n\n\n\n\n\n\n\n\n

    blockDuration (UserBlockDuration!)

    Number of days that the user was blocked for.

    \n\n\n\n\n\n\n\n\n\n\n\n

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    subject (User)

    The user who was blocked.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n UserConnection\n

    \n

    The connection type for User.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([UserEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([User])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n UserContentEdit\n

    \n

    An edit on user content.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    deletedAt (DateTime)

    Identifies the date and time when the object was deleted.

    \n\n\n\n\n\n\n\n\n\n\n\n

    deletedBy (Actor)

    The actor who deleted this content.

    \n\n\n\n\n\n\n\n\n\n\n\n

    diff (String)

    A summary of the changes for this edit.

    \n\n\n\n\n\n\n\n\n\n\n\n

    editedAt (DateTime!)

    When this content was edited.

    \n\n\n\n\n\n\n\n\n\n\n\n

    editor (Actor)

    The actor who edited this content.

    \n\n\n\n\n\n\n\n\n\n\n\n

    updatedAt (DateTime!)

    Identifies the date and time when the object was last updated.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n UserContentEditConnection\n

    \n

    A list of edits to content.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([UserContentEditEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([UserContentEdit])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n UserContentEditEdge\n

    \n

    An edge in a connection.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (UserContentEdit)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n UserEdge\n

    \n

    Represents a user.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (User)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n UserEmailMetadata\n

    \n

    Email attributes from External Identity.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    primary (Boolean)

    Boolean to identify primary emails.

    \n\n\n\n\n\n\n\n\n\n\n\n

    type (String)

    Type of email.

    \n\n\n\n\n\n\n\n\n\n\n\n

    value (String!)

    Email id.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n UserStatus\n

    \n

    The user's description of what they're currently doing.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    emoji (String)

    An emoji summarizing the user's status.

    \n\n\n\n\n\n\n\n\n\n\n\n

    emojiHTML (HTML)

    The status emoji as HTML.

    \n\n\n\n\n\n\n\n\n\n\n\n

    expiresAt (DateTime)

    If set, the status will not be shown after this date.

    \n\n\n\n\n\n\n\n\n\n\n\n

    id (ID!)

    ID of the object.

    \n\n\n\n\n\n\n\n\n\n\n\n

    indicatesLimitedAvailability (Boolean!)

    Whether this status indicates the user is not fully available on GitHub.

    \n\n\n\n\n\n\n\n\n\n\n\n

    message (String)

    A brief message describing what the user is doing.

    \n\n\n\n\n\n\n\n\n\n\n\n

    organization (Organization)

    The organization whose members can see this status. If null, this status is publicly visible.

    \n\n\n\n\n\n\n\n\n\n\n\n

    updatedAt (DateTime!)

    Identifies the date and time when the object was last updated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    user (User!)

    The user who has this status.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n UserStatusConnection\n

    \n

    The connection type for UserStatus.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([UserStatusEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([UserStatus])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n UserStatusEdge\n

    \n

    An edge in a connection.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (UserStatus)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n VerifiableDomain\n

    \n

    A domain that can be verified for an organization or an enterprise.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    createdAt (DateTime!)

    Identifies the date and time when the object was created.

    \n\n\n\n\n\n\n\n\n\n\n\n

    databaseId (Int)

    Identifies the primary key from the database.

    \n\n\n\n\n\n\n\n\n\n\n\n

    dnsHostName (URI)

    The DNS host name that should be used for verification.

    \n\n\n\n\n\n\n\n\n\n\n\n

    domain (URI!)

    The unicode encoded domain.

    \n\n\n\n\n\n\n\n\n\n\n\n

    hasFoundHostName (Boolean!)

    Whether a TXT record for verification with the expected host name was found.

    \n\n\n\n\n\n\n\n\n\n\n\n

    hasFoundVerificationToken (Boolean!)

    Whether a TXT record for verification with the expected verification token was found.

    \n\n\n\n\n\n\n\n\n\n\n\n

    isRequiredForPolicyEnforcement (Boolean!)

    Whether this domain is required to exist for an organization or enterprise policy to be enforced.

    \n\n\n\n\n\n\n\n\n\n\n\n

    isVerified (Boolean!)

    Whether or not the domain is verified.

    \n\n\n\n\n\n\n\n\n\n\n\n

    owner (VerifiableDomainOwner!)

    The owner of the domain.

    \n\n\n\n\n\n\n\n\n\n\n\n

    punycodeEncodedDomain (URI!)

    The punycode encoded domain.

    \n\n\n\n\n\n\n\n\n\n\n\n

    tokenExpirationTime (DateTime)

    The time that the current verification token will expire.

    \n\n\n\n\n\n\n\n\n\n\n\n

    updatedAt (DateTime!)

    Identifies the date and time when the object was last updated.

    \n\n\n\n\n\n\n\n\n\n\n\n

    verificationToken (String)

    The current verification token for the domain.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n VerifiableDomainConnection\n

    \n

    The connection type for VerifiableDomain.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    edges ([VerifiableDomainEdge])

    A list of edges.

    \n\n\n\n\n\n\n\n\n\n\n\n

    nodes ([VerifiableDomain])

    A list of nodes.

    \n\n\n\n\n\n\n\n\n\n\n\n

    pageInfo (PageInfo!)

    Information to aid in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    totalCount (Int!)

    Identifies the total count of items in the connection.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n VerifiableDomainEdge\n

    \n

    An edge in a connection.

    \n
    \n\n
    \n \n\n \n\n\n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    cursor (String!)

    A cursor for use in pagination.

    \n\n\n\n\n\n\n\n\n\n\n\n

    node (VerifiableDomain)

    The item at the end of the edge.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n\n
    \n
    \n

    \n ViewerHovercardContext\n

    \n

    A hovercard context with a message describing how the viewer is related.

    \n
    \n\n
    \n \n\n \n\n\n \n

    \n \n \n\n \n

    Fields

    \n \n \n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameDescription

    message (String!)

    A string describing this context.

    \n\n\n\n\n\n\n\n\n\n\n\n

    octicon (String!)

    An octicon to accompany this context.

    \n\n\n\n\n\n\n\n\n\n\n\n

    viewer (User!)

    Identifies the user who is related to this context.

    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n \n
    \n
    \n
    \n", "miniToc": [ { "contents": "\n ActorLocation\n ", @@ -13127,6 +10987,16 @@ "headingLevel": 3, "indentationLevel": 0 }, + { + "contents": "\n VerifiableDomainConnection\n ", + "headingLevel": 3, + "indentationLevel": 0 + }, + { + "contents": "\n VerifiableDomainEdge\n ", + "headingLevel": 3, + "indentationLevel": 0 + }, { "contents": "\n ViewerHovercardContext\n ", "headingLevel": 3, diff --git a/lib/graphql/static/previews.json b/lib/graphql/static/previews.json index c444768e75..8721f22b80 100644 --- a/lib/graphql/static/previews.json +++ b/lib/graphql/static/previews.json @@ -774,300 +774,6 @@ "href": "/graphql/overview/schema-previews#team-review-assignments-preview" } ], - "ghes-2.20": [ - { - "title": "GitHub packages preview", - "description": "This preview adds support for objects relating to GitHub Packages.", - "toggled_by": "packages-preview", - "toggled_on": [ - "Package", - "PackageFile", - "PackageFileOrder", - "PackageFileOrderField", - "PackageOrder", - "PackageOrderField", - "PackageOwner", - "PackageStatistics", - "PackageTag", - "PackageVersion", - "PackageVersionOrder", - "PackageVersionOrderField", - "PackageVersionStatistics", - "Organization.packages", - "PackageMetadatum.packageVersion", - "Repository.packages", - "User.packages", - "PackageConnection.nodes", - "PackageFileConnection.nodes", - "PackageTagConnection.nodes", - "PackageVersionConnection.nodes", - "PackageEdge.node", - "PackageFileEdge.node", - "PackageTagEdge.node", - "PackageVersionEdge.node", - "CreateRegistryPackageFilePayload.packageFile", - "CreateRegistryPackageVersionMetadataPayload.packageVersion", - "CreateRegistryPackageVersionPayload.packageVersion", - "DeleteRegistryPackagePayload.package", - "DeleteRegistryPackageTagPayload.package", - "SetRegistryPackageTagPayload.package", - "UpdateRegistryPackageFilePayload.packageFile", - "UpdateRegistryPackageVersionPayload.packageVersion", - "CreatePackageVersionPayload.packageVersion", - "UpdatePackageVersionPayload.packageVersion", - "CreatePackageFilePayload.packageFile", - "UpdatePackageFilePayload.packageFile", - "CreatePackageVersionMetadataPayload.packageVersion", - "AddPackageTagPayload.package", - "DeletePackageTagPayload.package" - ], - "owning_teams": [ - "@github/pe-package-registry" - ], - "accept_header": "application/vnd.github.packages-preview+json", - "href": "/graphql/overview/schema-previews#github-packages-preview" - }, - { - "title": "Deployments preview", - "description": "This preview adds support for deployments mutations and new deployments features.", - "toggled_by": "flash-preview", - "toggled_on": [ - "DeploymentStatus.environment", - "Mutation.createDeploymentStatus", - "Mutation.createDeployment" - ], - "owning_teams": [ - "@github/ecosystem-api" - ], - "accept_header": "application/vnd.github.flash-preview+json", - "href": "/graphql/overview/schema-previews#deployments-preview" - }, - { - "title": "Draft pull requests preview", - "description": "This preview adds support for draft pull requests.", - "toggled_by": "shadow-cat-preview", - "toggled_on": [ - "Mutation.markPullRequestReadyForReview", - "CreatePullRequestInput.draft", - "PullRequest.isDraft" - ], - "owning_teams": [ - "@github/pe-pull-requests" - ], - "accept_header": "application/vnd.github.shadow-cat-preview+json", - "href": "/graphql/overview/schema-previews#draft-pull-requests-preview" - }, - { - "title": "Checks preview", - "description": "This preview adds support for reading checks created by GitHub Apps.", - "toggled_by": "antiope-preview", - "toggled_on": [ - "CheckAnnotationRange", - "CheckAnnotationPosition", - "CheckAnnotationSpan", - "CheckAnnotation", - "CheckAnnotationConnection.nodes", - "CheckAnnotationData", - "CheckAnnotationEdge.node", - "CheckAnnotationLevel", - "CheckConclusionState", - "CheckStatusState", - "CheckSuiteAutoTriggerPreference", - "CheckRun", - "CheckRunConnection.nodes", - "CheckRunEdge.node", - "CheckRunAction", - "CheckRunFilter", - "CheckRunOutput", - "CheckRunOutputImage", - "CheckRunType", - "CheckSuite", - "CheckSuiteConnection.nodes", - "CheckSuiteEdge.node", - "CheckSuiteFilter", - "Commit.checkSuites", - "Mutation.createCheckRun", - "Mutation.createCheckSuite", - "Mutation.rerequestCheckSuite", - "Mutation.updateCheckRun", - "Mutation.updateCheckSuitePreferences", - "Push", - "RequestableCheckStatusState", - "UpdateCheckSuitePayload.checkSuite" - ], - "owning_teams": [ - "@github/ecosystem-primitives" - ], - "accept_header": "application/vnd.github.antiope-preview+json", - "href": "/graphql/overview/schema-previews#checks-preview" - }, - { - "title": "Merge info preview", - "description": "This preview adds support for accessing fields that provide more detailed information about a pull request's merge state.", - "toggled_by": "merge-info-preview", - "toggled_on": [ - "PullRequest.canBeRebased", - "PullRequest.mergeStateStatus" - ], - "owning_teams": [ - "@github/pe-pull-requests" - ], - "accept_header": "application/vnd.github.merge-info-preview+json", - "href": "/graphql/overview/schema-previews#merge-info-preview" - }, - { - "title": "Update refs preview", - "description": "This preview adds support for updating multiple refs in a single operation.", - "toggled_by": "update-refs-preview", - "toggled_on": [ - "Mutation.updateRefs", - "GitRefname", - "RefUpdate" - ], - "owning_teams": [ - "@github/pe-repos" - ], - "accept_header": "application/vnd.github.update-refs-preview+json", - "href": "/graphql/overview/schema-previews#update-refs-preview" - }, - { - "title": "Project event details preview", - "description": "This preview adds project, project card, and project column details to project-related issue events.", - "toggled_by": "starfox-preview", - "toggled_on": [ - "AddedToProjectEvent.project", - "AddedToProjectEvent.projectCard", - "AddedToProjectEvent.projectColumnName", - "ConvertedNoteToIssueEvent.project", - "ConvertedNoteToIssueEvent.projectCard", - "ConvertedNoteToIssueEvent.projectColumnName", - "MovedColumnsInProjectEvent.project", - "MovedColumnsInProjectEvent.projectCard", - "MovedColumnsInProjectEvent.projectColumnName", - "MovedColumnsInProjectEvent.previousProjectColumnName", - "RemovedFromProjectEvent.project", - "RemovedFromProjectEvent.projectColumnName" - ], - "owning_teams": [ - "@github/github-projects" - ], - "accept_header": "application/vnd.github.starfox-preview+json", - "href": "/graphql/overview/schema-previews#project-event-details-preview" - }, - { - "title": "Minimize comments preview", - "description": "This preview adds support for minimizing comments on issues, pull requests, commits, and gists.", - "toggled_by": "queen-beryl-preview", - "toggled_on": [ - "Mutation.minimizeComment", - "Mutation.unminimizeComment", - "Minimizable" - ], - "owning_teams": [ - "@github/ce-community-and-safety" - ], - "accept_header": "application/vnd.github.queen-beryl-preview+json", - "href": "/graphql/overview/schema-previews#minimize-comments-preview" - }, - { - "title": "Create content attachments preview", - "description": "This preview adds support for creating content attachments.", - "toggled_by": "corsair-preview", - "toggled_on": [ - "Mutation.createContentAttachment" - ], - "owning_teams": [ - "@github/ecosystem-primitives" - ], - "accept_header": "application/vnd.github.corsair-preview+json", - "href": "/graphql/overview/schema-previews#create-content-attachments-preview" - }, - { - "title": "Pinned issues preview", - "description": "This preview adds support for pinned issues.", - "toggled_by": "elektra-preview", - "toggled_on": [ - "Repository.pinnedIssues", - "PinnedIssue", - "PinnedIssueEdge", - "PinnedIssueConnection", - "Mutation.pinIssue", - "Mutation.unpinIssue" - ], - "owning_teams": [ - "@github/pe-pull-requests" - ], - "accept_header": "application/vnd.github.elektra-preview+json", - "href": "/graphql/overview/schema-previews#pinned-issues-preview" - }, - { - "title": "Labels preview", - "description": "This preview adds support for adding, updating, creating and deleting labels.", - "toggled_by": "bane-preview", - "toggled_on": [ - "Mutation.createLabel", - "Mutation.deleteLabel", - "Mutation.updateLabel" - ], - "owning_teams": [ - "@github/pe-pull-requests" - ], - "accept_header": "application/vnd.github.bane-preview+json", - "href": "/graphql/overview/schema-previews#labels-preview" - }, - { - "title": "Import project preview", - "description": "This preview adds support for importing projects.", - "toggled_by": "slothette-preview", - "toggled_on": [ - "Mutation.importProject" - ], - "owning_teams": [ - "@github/pe-issues-projects" - ], - "accept_header": "application/vnd.github.slothette-preview+json", - "href": "/graphql/overview/schema-previews#import-project-preview" - }, - { - "title": "Multi line comments preview", - "description": "This preview adds support for blob-positioned and multi-line comments.", - "toggled_by": "comfort-fade-preview", - "toggled_on": [ - "Mutation.addPullRequestReviewThread", - "AddPullRequestReviewInput.threads", - "DiffSide", - "PullRequestReviewThread.startLine", - "PullRequestReviewThread.originalStartLine", - "PullRequestReviewThread.startDiffSide", - "PullRequestReviewThread.line", - "PullRequestReviewThread.originalLine", - "PullRequestReviewThread.diffSide" - ], - "owning_teams": [ - "@github/pe-pull-requests" - ], - "accept_header": "application/vnd.github.comfort-fade-preview+json", - "href": "/graphql/overview/schema-previews#multi-line-comments-preview" - }, - { - "title": "Team review assignments preview", - "description": "This preview adds support for updating the settings for team review assignment.", - "toggled_by": "stone-crop-preview", - "toggled_on": [ - "Mutation.updateTeamReviewAssignment", - "TeamReviewAssignmentAlgorithm", - "Team.reviewRequestDelegationEnabled", - "Team.reviewRequestDelegationAlgorithm", - "Team.reviewRequestDelegationMemberCount", - "Team.reviewRequestDelegationNotifyTeam" - ], - "owning_teams": [ - "@github/pe-pull-requests" - ], - "accept_header": "application/vnd.github.stone-crop-preview+json", - "href": "/graphql/overview/schema-previews#team-review-assignments-preview" - } - ], "ghae": [ { "title": "Access to package version deletion preview", diff --git a/lib/graphql/static/schema-dotcom.json b/lib/graphql/static/schema-dotcom.json index 84652b98d2..5fe51f895b 100644 --- a/lib/graphql/static/schema-dotcom.json +++ b/lib/graphql/static/schema-dotcom.json @@ -8235,6 +8235,11 @@ "id": "node", "href": "/graphql/reference/interfaces#node" }, + { + "name": "RequirableByPullRequest", + "id": "requirablebypullrequest", + "href": "/graphql/reference/interfaces#requirablebypullrequest" + }, { "name": "UniformResourceLocatable", "id": "uniformresourcelocatable", @@ -8340,6 +8345,36 @@ "kind": "scalars", "href": "/graphql/reference/scalars#string" }, + { + "name": "isRequired", + "description": "

    Whether this is required to pass before merging for a specific pull request.

    ", + "type": "Boolean!", + "id": "boolean", + "kind": "scalars", + "href": "/graphql/reference/scalars#boolean", + "arguments": [ + { + "name": "pullRequestId", + "description": "

    The id of the pull request this is required for.

    ", + "type": { + "name": "ID", + "id": "id", + "kind": "scalars", + "href": "/graphql/reference/scalars#id" + } + }, + { + "name": "pullRequestNumber", + "description": "

    The number of the pull request this is required for.

    ", + "type": { + "name": "Int", + "id": "int", + "kind": "scalars", + "href": "/graphql/reference/scalars#int" + } + } + ] + }, { "name": "name", "description": "

    The name of the check for this check run.

    ", @@ -17054,7 +17089,7 @@ "fields": [ { "name": "isPrivate", - "description": "

    Identifies if the repository is private.

    ", + "description": "

    Identifies if the repository is private or internal.

    ", "type": "Boolean!", "id": "boolean", "kind": "scalars", @@ -29790,7 +29825,7 @@ }, { "name": "isVerified", - "description": "

    Whether the organization has verified its profile email and website, always false on Enterprise.

    ", + "description": "

    Whether the organization has verified its profile email and website.

    ", "type": "Boolean!", "id": "boolean", "kind": "scalars", @@ -35489,6 +35524,22 @@ "kind": "scalars", "href": "/graphql/reference/scalars#boolean" }, + { + "name": "viewerLatestReview", + "description": "

    The latest review given from the viewer.

    ", + "type": "PullRequestReview", + "id": "pullrequestreview", + "kind": "objects", + "href": "/graphql/reference/objects#pullrequestreview" + }, + { + "name": "viewerLatestReviewRequest", + "description": "

    The person who has requested the viewer for review on this pull request.

    ", + "type": "ReviewRequest", + "id": "reviewrequest", + "kind": "objects", + "href": "/graphql/reference/objects#reviewrequest" + }, { "name": "viewerMergeBodyText", "description": "

    The merge body text for the viewer and method.

    ", @@ -38472,6 +38523,14 @@ "kind": "scalars", "href": "/graphql/reference/scalars#string" }, + { + "name": "requiresCodeOwnerReviews", + "description": "

    Are reviews from code owners required to update matching branches.

    ", + "type": "Boolean!", + "id": "boolean", + "kind": "scalars", + "href": "/graphql/reference/scalars#boolean" + }, { "name": "requiresLinearHistory", "description": "

    Are merge commits prohibited from being pushed to this branch.

    ", @@ -38488,6 +38547,14 @@ "kind": "scalars", "href": "/graphql/reference/scalars#boolean" }, + { + "name": "viewerAllowedToDismissReviews", + "description": "

    Is the viewer allowed to dismiss reviews.

    ", + "type": "Boolean!", + "id": "boolean", + "kind": "scalars", + "href": "/graphql/reference/scalars#boolean" + }, { "name": "viewerCanPush", "description": "

    Can the viewer push to the branch.

    ", @@ -43922,7 +43989,7 @@ }, { "name": "isPrivate", - "description": "

    Identifies if the repository is private.

    ", + "description": "

    Identifies if the repository is private or internal.

    ", "type": "Boolean!", "id": "boolean", "kind": "scalars", @@ -48933,6 +49000,11 @@ "name": "Node", "id": "node", "href": "/graphql/reference/interfaces#node" + }, + { + "name": "RequirableByPullRequest", + "id": "requirablebypullrequest", + "href": "/graphql/reference/interfaces#requirablebypullrequest" } ], "fields": [ @@ -48997,6 +49069,36 @@ "kind": "scalars", "href": "/graphql/reference/scalars#string" }, + { + "name": "isRequired", + "description": "

    Whether this is required to pass before merging for a specific pull request.

    ", + "type": "Boolean!", + "id": "boolean", + "kind": "scalars", + "href": "/graphql/reference/scalars#boolean", + "arguments": [ + { + "name": "pullRequestId", + "description": "

    The id of the pull request this is required for.

    ", + "type": { + "name": "ID", + "id": "id", + "kind": "scalars", + "href": "/graphql/reference/scalars#id" + } + }, + { + "name": "pullRequestNumber", + "description": "

    The number of the pull request this is required for.

    ", + "type": { + "name": "Int", + "id": "int", + "kind": "scalars", + "href": "/graphql/reference/scalars#int" + } + } + ] + }, { "name": "state", "description": "

    The state of this status context.

    ", @@ -57734,7 +57836,7 @@ }, { "name": "isPrivate", - "description": "

    Identifies if the repository is private.

    ", + "description": "

    Identifies if the repository is private or internal.

    ", "type": "Boolean!", "id": "boolean", "kind": "scalars", @@ -58067,6 +58169,45 @@ } ] }, + { + "name": "RequirableByPullRequest", + "kind": "interfaces", + "id": "requirablebypullrequest", + "href": "/graphql/reference/interfaces#requirablebypullrequest", + "description": "

    Represents a type that can be required by a pull request for merging.

    ", + "fields": [ + { + "name": "isRequired", + "description": "

    Whether this is required to pass before merging for a specific pull request.

    ", + "type": "Boolean!", + "id": "boolean", + "kind": "scalars", + "href": "/graphql/reference/scalars#boolean", + "arguments": [ + { + "name": "pullRequestId", + "description": "

    The id of the pull request this is required for.

    ", + "type": { + "name": "ID", + "id": "id", + "kind": "scalars", + "href": "/graphql/reference/scalars#id" + } + }, + { + "name": "pullRequestNumber", + "description": "

    The number of the pull request this is required for.

    ", + "type": { + "name": "Int", + "id": "int", + "kind": "scalars", + "href": "/graphql/reference/scalars#int" + } + } + ] + } + ] + }, { "name": "Sponsorable", "kind": "interfaces", diff --git a/lib/graphql/static/schema-ghae.json b/lib/graphql/static/schema-ghae.json index 29ce306df5..37d1910476 100644 --- a/lib/graphql/static/schema-ghae.json +++ b/lib/graphql/static/schema-ghae.json @@ -1022,6 +1022,74 @@ } ] }, + { + "name": "addVerifiableDomain", + "kind": "mutations", + "id": "addverifiabledomain", + "href": "/graphql/reference/mutations#addverifiabledomain", + "description": "

    Adds a verifiable domain to an owning account.

    ", + "inputFields": [ + { + "name": "input", + "type": "AddVerifiableDomainInput!", + "id": "addverifiabledomaininput", + "kind": "input-objects", + "href": "/graphql/reference/input-objects#addverifiabledomaininput" + } + ], + "returnFields": [ + { + "name": "clientMutationId", + "type": "String", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string", + "description": "

    A unique identifier for the client performing the mutation.

    " + }, + { + "name": "domain", + "type": "VerifiableDomain", + "id": "verifiabledomain", + "kind": "objects", + "href": "/graphql/reference/objects#verifiabledomain", + "description": "

    The verifiable domain that was added.

    " + } + ] + }, + { + "name": "approveVerifiableDomain", + "kind": "mutations", + "id": "approveverifiabledomain", + "href": "/graphql/reference/mutations#approveverifiabledomain", + "description": "

    Approve a verifiable domain for notification delivery.

    ", + "inputFields": [ + { + "name": "input", + "type": "ApproveVerifiableDomainInput!", + "id": "approveverifiabledomaininput", + "kind": "input-objects", + "href": "/graphql/reference/input-objects#approveverifiabledomaininput" + } + ], + "returnFields": [ + { + "name": "clientMutationId", + "type": "String", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string", + "description": "

    A unique identifier for the client performing the mutation.

    " + }, + { + "name": "domain", + "type": "VerifiableDomain", + "id": "verifiabledomain", + "kind": "objects", + "href": "/graphql/reference/objects#verifiabledomain", + "description": "

    The verifiable domain that was approved.

    " + } + ] + }, { "name": "archiveRepository", "kind": "mutations", @@ -2376,6 +2444,40 @@ } ] }, + { + "name": "deleteVerifiableDomain", + "kind": "mutations", + "id": "deleteverifiabledomain", + "href": "/graphql/reference/mutations#deleteverifiabledomain", + "description": "

    Deletes a verifiable domain.

    ", + "inputFields": [ + { + "name": "input", + "type": "DeleteVerifiableDomainInput!", + "id": "deleteverifiabledomaininput", + "kind": "input-objects", + "href": "/graphql/reference/input-objects#deleteverifiabledomaininput" + } + ], + "returnFields": [ + { + "name": "clientMutationId", + "type": "String", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string", + "description": "

    A unique identifier for the client performing the mutation.

    " + }, + { + "name": "owner", + "type": "VerifiableDomainOwner", + "id": "verifiabledomainowner", + "kind": "unions", + "href": "/graphql/reference/unions#verifiabledomainowner", + "description": "

    The owning account from which the domain was deleted.

    " + } + ] + }, { "name": "disablePullRequestAutoMerge", "kind": "mutations", @@ -2940,6 +3042,40 @@ } ] }, + { + "name": "regenerateVerifiableDomainToken", + "kind": "mutations", + "id": "regenerateverifiabledomaintoken", + "href": "/graphql/reference/mutations#regenerateverifiabledomaintoken", + "description": "

    Regenerates a verifiable domain's verification token.

    ", + "inputFields": [ + { + "name": "input", + "type": "RegenerateVerifiableDomainTokenInput!", + "id": "regenerateverifiabledomaintokeninput", + "kind": "input-objects", + "href": "/graphql/reference/input-objects#regenerateverifiabledomaintokeninput" + } + ], + "returnFields": [ + { + "name": "clientMutationId", + "type": "String", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string", + "description": "

    A unique identifier for the client performing the mutation.

    " + }, + { + "name": "verificationToken", + "type": "String", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string", + "description": "

    The verification token that was generated.

    " + } + ] + }, { "name": "removeAssigneesFromAssignable", "kind": "mutations", @@ -4670,6 +4806,40 @@ } ] }, + { + "name": "updateNotificationRestrictionSetting", + "kind": "mutations", + "id": "updatenotificationrestrictionsetting", + "href": "/graphql/reference/mutations#updatenotificationrestrictionsetting", + "description": "

    Update the setting to restrict notifications to only verified domains available to an owner.

    ", + "inputFields": [ + { + "name": "input", + "type": "UpdateNotificationRestrictionSettingInput!", + "id": "updatenotificationrestrictionsettinginput", + "kind": "input-objects", + "href": "/graphql/reference/input-objects#updatenotificationrestrictionsettinginput" + } + ], + "returnFields": [ + { + "name": "clientMutationId", + "type": "String", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string", + "description": "

    A unique identifier for the client performing the mutation.

    " + }, + { + "name": "owner", + "type": "VerifiableDomainOwner", + "id": "verifiabledomainowner", + "kind": "unions", + "href": "/graphql/reference/unions#verifiabledomainowner", + "description": "

    The owner on which the setting was updated.

    " + } + ] + }, { "name": "updateProject", "kind": "mutations", @@ -5188,6 +5358,40 @@ "description": "

    The updated repository.

    " } ] + }, + { + "name": "verifyVerifiableDomain", + "kind": "mutations", + "id": "verifyverifiabledomain", + "href": "/graphql/reference/mutations#verifyverifiabledomain", + "description": "

    Verify that a verifiable domain has the expected DNS record.

    ", + "inputFields": [ + { + "name": "input", + "type": "VerifyVerifiableDomainInput!", + "id": "verifyverifiabledomaininput", + "kind": "input-objects", + "href": "/graphql/reference/input-objects#verifyverifiabledomaininput" + } + ], + "returnFields": [ + { + "name": "clientMutationId", + "type": "String", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string", + "description": "

    A unique identifier for the client performing the mutation.

    " + }, + { + "name": "domain", + "type": "VerifiableDomain", + "id": "verifiabledomain", + "kind": "objects", + "href": "/graphql/reference/objects#verifiabledomain", + "description": "

    The verifiable domain that was verified.

    " + } + ] } ], "objects": [ @@ -7218,6 +7422,11 @@ "id": "node", "href": "/graphql/reference/interfaces#node" }, + { + "name": "RequirableByPullRequest", + "id": "requirablebypullrequest", + "href": "/graphql/reference/interfaces#requirablebypullrequest" + }, { "name": "UniformResourceLocatable", "id": "uniformresourcelocatable", @@ -7323,6 +7532,36 @@ "kind": "scalars", "href": "/graphql/reference/scalars#string" }, + { + "name": "isRequired", + "description": "

    Whether this is required to pass before merging for a specific pull request.

    ", + "type": "Boolean!", + "id": "boolean", + "kind": "scalars", + "href": "/graphql/reference/scalars#boolean", + "arguments": [ + { + "name": "pullRequestId", + "description": "

    The id of the pull request this is required for.

    ", + "type": { + "name": "ID", + "id": "id", + "kind": "scalars", + "href": "/graphql/reference/scalars#id" + } + }, + { + "name": "pullRequestNumber", + "description": "

    The number of the pull request this is required for.

    ", + "type": { + "name": "Int", + "id": "int", + "kind": "scalars", + "href": "/graphql/reference/scalars#int" + } + } + ] + }, { "name": "name", "description": "

    The name of the check for this check run.

    ", @@ -13745,6 +13984,76 @@ } ] }, + { + "name": "domains", + "description": "

    A list of domains owned by the enterprise.

    ", + "type": "VerifiableDomainConnection!", + "id": "verifiabledomainconnection", + "kind": "objects", + "href": "/graphql/reference/objects#verifiabledomainconnection", + "arguments": [ + { + "name": "after", + "description": "

    Returns the elements in the list that come after the specified cursor.

    ", + "type": { + "name": "String", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string" + } + }, + { + "name": "before", + "description": "

    Returns the elements in the list that come before the specified cursor.

    ", + "type": { + "name": "String", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string" + } + }, + { + "name": "first", + "description": "

    Returns the first n elements from the list.

    ", + "type": { + "name": "Int", + "id": "int", + "kind": "scalars", + "href": "/graphql/reference/scalars#int" + } + }, + { + "name": "isVerified", + "description": "

    Filter whether or not the domain is verified.

    ", + "type": { + "name": "Boolean", + "id": "boolean", + "kind": "scalars", + "href": "/graphql/reference/scalars#boolean" + } + }, + { + "name": "last", + "description": "

    Returns the last n elements from the list.

    ", + "type": { + "name": "Int", + "id": "int", + "kind": "scalars", + "href": "/graphql/reference/scalars#int" + } + }, + { + "name": "orderBy", + "description": "

    Ordering options for verifiable domains returned.

    ", + "type": { + "name": "VerifiableDomainOrder", + "id": "verifiabledomainorder", + "kind": "input-objects", + "href": "/graphql/reference/input-objects#verifiabledomainorder" + } + } + ] + }, { "name": "ipAllowListEnabledSetting", "description": "

    The setting value for whether the enterprise has an IP allow list enabled.

    ", @@ -15407,7 +15716,7 @@ "fields": [ { "name": "isPrivate", - "description": "

    Identifies if the repository is private.

    ", + "description": "

    Identifies if the repository is private or internal.

    ", "type": "Boolean!", "id": "boolean", "kind": "scalars", @@ -27208,6 +27517,76 @@ "kind": "scalars", "href": "/graphql/reference/scalars#string" }, + { + "name": "domains", + "description": "

    A list of domains owned by the organization.

    ", + "type": "VerifiableDomainConnection", + "id": "verifiabledomainconnection", + "kind": "objects", + "href": "/graphql/reference/objects#verifiabledomainconnection", + "arguments": [ + { + "name": "after", + "description": "

    Returns the elements in the list that come after the specified cursor.

    ", + "type": { + "name": "String", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string" + } + }, + { + "name": "before", + "description": "

    Returns the elements in the list that come before the specified cursor.

    ", + "type": { + "name": "String", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string" + } + }, + { + "name": "first", + "description": "

    Returns the first n elements from the list.

    ", + "type": { + "name": "Int", + "id": "int", + "kind": "scalars", + "href": "/graphql/reference/scalars#int" + } + }, + { + "name": "isVerified", + "description": "

    Filter by if the domain is verified.

    ", + "type": { + "name": "Boolean", + "id": "boolean", + "kind": "scalars", + "href": "/graphql/reference/scalars#boolean" + } + }, + { + "name": "last", + "description": "

    Returns the last n elements from the list.

    ", + "type": { + "name": "Int", + "id": "int", + "kind": "scalars", + "href": "/graphql/reference/scalars#int" + } + }, + { + "name": "orderBy", + "description": "

    Ordering options for verifiable domains returned.

    ", + "type": { + "name": "VerifiableDomainOrder", + "id": "verifiabledomainorder", + "kind": "input-objects", + "href": "/graphql/reference/input-objects#verifiabledomainorder" + } + } + ] + }, { "name": "email", "description": "

    The organization's public email.

    ", @@ -27286,7 +27665,7 @@ }, { "name": "isVerified", - "description": "

    Whether the organization has verified its profile email and website, always false on Enterprise.

    ", + "description": "

    Whether the organization has verified its profile email and website.

    ", "type": "Boolean!", "id": "boolean", "kind": "scalars", @@ -27450,6 +27829,14 @@ "kind": "scalars", "href": "/graphql/reference/scalars#uri" }, + { + "name": "notificationDeliveryRestrictionEnabledSetting", + "description": "

    Indicates if email notification delivery for this organization is restricted to verified domains.

    ", + "type": "NotificationRestrictionSettingValue!", + "id": "notificationrestrictionsettingvalue", + "kind": "enums", + "href": "/graphql/reference/enums#notificationrestrictionsettingvalue" + }, { "name": "organizationBillingEmail", "description": "

    The billing email for the organization.

    ", @@ -32235,6 +32622,22 @@ "kind": "scalars", "href": "/graphql/reference/scalars#boolean" }, + { + "name": "viewerLatestReview", + "description": "

    The latest review given from the viewer.

    ", + "type": "PullRequestReview", + "id": "pullrequestreview", + "kind": "objects", + "href": "/graphql/reference/objects#pullrequestreview" + }, + { + "name": "viewerLatestReviewRequest", + "description": "

    The person who has requested the viewer for review on this pull request.

    ", + "type": "ReviewRequest", + "id": "reviewrequest", + "kind": "objects", + "href": "/graphql/reference/objects#reviewrequest" + }, { "name": "viewerMergeBodyText", "description": "

    The merge body text for the viewer and method.

    ", @@ -35218,6 +35621,14 @@ "kind": "scalars", "href": "/graphql/reference/scalars#string" }, + { + "name": "requiresCodeOwnerReviews", + "description": "

    Are reviews from code owners required to update matching branches.

    ", + "type": "Boolean!", + "id": "boolean", + "kind": "scalars", + "href": "/graphql/reference/scalars#boolean" + }, { "name": "requiresLinearHistory", "description": "

    Are merge commits prohibited from being pushed to this branch.

    ", @@ -35234,6 +35645,14 @@ "kind": "scalars", "href": "/graphql/reference/scalars#boolean" }, + { + "name": "viewerAllowedToDismissReviews", + "description": "

    Is the viewer allowed to dismiss reviews.

    ", + "type": "Boolean!", + "id": "boolean", + "kind": "scalars", + "href": "/graphql/reference/scalars#boolean" + }, { "name": "viewerCanPush", "description": "

    Can the viewer push to the branch.

    ", @@ -40554,7 +40973,7 @@ }, { "name": "isPrivate", - "description": "

    Identifies if the repository is private.

    ", + "description": "

    Identifies if the repository is private or internal.

    ", "type": "Boolean!", "id": "boolean", "kind": "scalars", @@ -44943,6 +45362,11 @@ "name": "Node", "id": "node", "href": "/graphql/reference/interfaces#node" + }, + { + "name": "RequirableByPullRequest", + "id": "requirablebypullrequest", + "href": "/graphql/reference/interfaces#requirablebypullrequest" } ], "fields": [ @@ -45007,6 +45431,36 @@ "kind": "scalars", "href": "/graphql/reference/scalars#string" }, + { + "name": "isRequired", + "description": "

    Whether this is required to pass before merging for a specific pull request.

    ", + "type": "Boolean!", + "id": "boolean", + "kind": "scalars", + "href": "/graphql/reference/scalars#boolean", + "arguments": [ + { + "name": "pullRequestId", + "description": "

    The id of the pull request this is required for.

    ", + "type": { + "name": "ID", + "id": "id", + "kind": "scalars", + "href": "/graphql/reference/scalars#id" + } + }, + { + "name": "pullRequestNumber", + "description": "

    The number of the pull request this is required for.

    ", + "type": { + "name": "Int", + "id": "int", + "kind": "scalars", + "href": "/graphql/reference/scalars#int" + } + } + ] + }, { "name": "state", "description": "

    The state of this status context.

    ", @@ -51833,6 +52287,72 @@ } ] }, + { + "name": "VerifiableDomainConnection", + "kind": "objects", + "id": "verifiabledomainconnection", + "href": "/graphql/reference/objects#verifiabledomainconnection", + "description": "

    The connection type for VerifiableDomain.

    ", + "fields": [ + { + "name": "edges", + "description": "

    A list of edges.

    ", + "type": "[VerifiableDomainEdge]", + "id": "verifiabledomainedge", + "kind": "objects", + "href": "/graphql/reference/objects#verifiabledomainedge" + }, + { + "name": "nodes", + "description": "

    A list of nodes.

    ", + "type": "[VerifiableDomain]", + "id": "verifiabledomain", + "kind": "objects", + "href": "/graphql/reference/objects#verifiabledomain" + }, + { + "name": "pageInfo", + "description": "

    Information to aid in pagination.

    ", + "type": "PageInfo!", + "id": "pageinfo", + "kind": "objects", + "href": "/graphql/reference/objects#pageinfo" + }, + { + "name": "totalCount", + "description": "

    Identifies the total count of items in the connection.

    ", + "type": "Int!", + "id": "int", + "kind": "scalars", + "href": "/graphql/reference/scalars#int" + } + ] + }, + { + "name": "VerifiableDomainEdge", + "kind": "objects", + "id": "verifiabledomainedge", + "href": "/graphql/reference/objects#verifiabledomainedge", + "description": "

    An edge in a connection.

    ", + "fields": [ + { + "name": "cursor", + "description": "

    A cursor for use in pagination.

    ", + "type": "String!", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string" + }, + { + "name": "node", + "description": "

    The item at the end of the edge.

    ", + "type": "VerifiableDomain", + "id": "verifiabledomain", + "kind": "objects", + "href": "/graphql/reference/objects#verifiabledomain" + } + ] + }, { "name": "ViewerHovercardContext", "kind": "objects", @@ -53424,7 +53944,7 @@ }, { "name": "isPrivate", - "description": "

    Identifies if the repository is private.

    ", + "description": "

    Identifies if the repository is private or internal.

    ", "type": "Boolean!", "id": "boolean", "kind": "scalars", @@ -53757,6 +54277,45 @@ } ] }, + { + "name": "RequirableByPullRequest", + "kind": "interfaces", + "id": "requirablebypullrequest", + "href": "/graphql/reference/interfaces#requirablebypullrequest", + "description": "

    Represents a type that can be required by a pull request for merging.

    ", + "fields": [ + { + "name": "isRequired", + "description": "

    Whether this is required to pass before merging for a specific pull request.

    ", + "type": "Boolean!", + "id": "boolean", + "kind": "scalars", + "href": "/graphql/reference/scalars#boolean", + "arguments": [ + { + "name": "pullRequestId", + "description": "

    The id of the pull request this is required for.

    ", + "type": { + "name": "ID", + "id": "id", + "kind": "scalars", + "href": "/graphql/reference/scalars#id" + } + }, + { + "name": "pullRequestNumber", + "description": "

    The number of the pull request this is required for.

    ", + "type": { + "name": "Int", + "id": "int", + "kind": "scalars", + "href": "/graphql/reference/scalars#int" + } + } + ] + } + ] + }, { "name": "Sponsorable", "kind": "interfaces", @@ -55341,6 +55900,23 @@ } ] }, + { + "name": "NotificationRestrictionSettingValue", + "kind": "enums", + "id": "notificationrestrictionsettingvalue", + "href": "/graphql/reference/enums#notificationrestrictionsettingvalue", + "description": "

    The possible values for the notification restriction setting.

    ", + "values": [ + { + "name": "DISABLED", + "description": "

    The setting is disabled for the owner.

    " + }, + { + "name": "ENABLED", + "description": "

    The setting is enabled for the owner.

    " + } + ] + }, { "name": "OauthApplicationCreateAuditEntryState", "kind": "enums", @@ -57252,6 +57828,23 @@ "description": "

    Order user statuses by when they were updated.

    " } ] + }, + { + "name": "VerifiableDomainOrderField", + "kind": "enums", + "id": "verifiabledomainorderfield", + "href": "/graphql/reference/enums#verifiabledomainorderfield", + "description": "

    Properties by which verifiable domain connections can be ordered.

    ", + "values": [ + { + "name": "CREATED_AT", + "description": "

    Order verifiable domains by their creation date.

    " + }, + { + "name": "DOMAIN", + "description": "

    Order verifiable domains by the domain name.

    " + } + ] } ], "unions": [ @@ -59269,6 +59862,66 @@ } ] }, + { + "name": "AddVerifiableDomainInput", + "kind": "inputObjects", + "id": "addverifiabledomaininput", + "href": "/graphql/reference/input-objects#addverifiabledomaininput", + "description": "

    Autogenerated input type of AddVerifiableDomain.

    ", + "inputFields": [ + { + "name": "clientMutationId", + "description": "

    A unique identifier for the client performing the mutation.

    ", + "type": "String", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string" + }, + { + "name": "domain", + "description": "

    The URL of the domain.

    ", + "type": "URI!", + "id": "uri", + "kind": "scalars", + "href": "/graphql/reference/scalars#uri" + }, + { + "name": "ownerId", + "description": "

    The ID of the owner to add the domain to.

    ", + "type": "ID!", + "id": "id", + "kind": "scalars", + "href": "/graphql/reference/scalars#id", + "isDeprecated": false + } + ] + }, + { + "name": "ApproveVerifiableDomainInput", + "kind": "inputObjects", + "id": "approveverifiabledomaininput", + "href": "/graphql/reference/input-objects#approveverifiabledomaininput", + "description": "

    Autogenerated input type of ApproveVerifiableDomain.

    ", + "inputFields": [ + { + "name": "clientMutationId", + "description": "

    A unique identifier for the client performing the mutation.

    ", + "type": "String", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string" + }, + { + "name": "id", + "description": "

    The ID of the verifiable domain to approve.

    ", + "type": "ID!", + "id": "id", + "kind": "scalars", + "href": "/graphql/reference/scalars#id", + "isDeprecated": false + } + ] + }, { "name": "ArchiveRepositoryInput", "kind": "inputObjects", @@ -61535,6 +62188,32 @@ } ] }, + { + "name": "DeleteVerifiableDomainInput", + "kind": "inputObjects", + "id": "deleteverifiabledomaininput", + "href": "/graphql/reference/input-objects#deleteverifiabledomaininput", + "description": "

    Autogenerated input type of DeleteVerifiableDomain.

    ", + "inputFields": [ + { + "name": "clientMutationId", + "description": "

    A unique identifier for the client performing the mutation.

    ", + "type": "String", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string" + }, + { + "name": "id", + "description": "

    The ID of the verifiable domain to delete.

    ", + "type": "ID!", + "id": "id", + "kind": "scalars", + "href": "/graphql/reference/scalars#id", + "isDeprecated": false + } + ] + }, { "name": "DeploymentOrder", "kind": "inputObjects", @@ -62848,6 +63527,32 @@ } ] }, + { + "name": "RegenerateVerifiableDomainTokenInput", + "kind": "inputObjects", + "id": "regenerateverifiabledomaintokeninput", + "href": "/graphql/reference/input-objects#regenerateverifiabledomaintokeninput", + "description": "

    Autogenerated input type of RegenerateVerifiableDomainToken.

    ", + "inputFields": [ + { + "name": "clientMutationId", + "description": "

    A unique identifier for the client performing the mutation.

    ", + "type": "String", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string" + }, + { + "name": "id", + "description": "

    The ID of the verifiable domain to regenerate the verification token of.

    ", + "type": "ID!", + "id": "id", + "kind": "scalars", + "href": "/graphql/reference/scalars#id", + "isDeprecated": false + } + ] + }, { "name": "ReleaseOrder", "kind": "inputObjects", @@ -64963,6 +65668,40 @@ } ] }, + { + "name": "UpdateNotificationRestrictionSettingInput", + "kind": "inputObjects", + "id": "updatenotificationrestrictionsettinginput", + "href": "/graphql/reference/input-objects#updatenotificationrestrictionsettinginput", + "description": "

    Autogenerated input type of UpdateNotificationRestrictionSetting.

    ", + "inputFields": [ + { + "name": "clientMutationId", + "description": "

    A unique identifier for the client performing the mutation.

    ", + "type": "String", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string" + }, + { + "name": "ownerId", + "description": "

    The ID of the owner on which to set the restrict notifications setting.

    ", + "type": "ID!", + "id": "id", + "kind": "scalars", + "href": "/graphql/reference/scalars#id", + "isDeprecated": false + }, + { + "name": "settingValue", + "description": "

    The value for the restrict notifications setting.

    ", + "type": "NotificationRestrictionSettingValue!", + "id": "notificationrestrictionsettingvalue", + "kind": "enums", + "href": "/graphql/reference/enums#notificationrestrictionsettingvalue" + } + ] + }, { "name": "UpdateProjectCardInput", "kind": "inputObjects", @@ -65718,6 +66457,57 @@ "href": "/graphql/reference/enums#userstatusorderfield" } ] + }, + { + "name": "VerifiableDomainOrder", + "kind": "inputObjects", + "id": "verifiabledomainorder", + "href": "/graphql/reference/input-objects#verifiabledomainorder", + "description": "

    Ordering options for verifiable domain connections.

    ", + "inputFields": [ + { + "name": "direction", + "description": "

    The ordering direction.

    ", + "type": "OrderDirection!", + "id": "orderdirection", + "kind": "enums", + "href": "/graphql/reference/enums#orderdirection" + }, + { + "name": "field", + "description": "

    The field to order verifiable domains by.

    ", + "type": "VerifiableDomainOrderField!", + "id": "verifiabledomainorderfield", + "kind": "enums", + "href": "/graphql/reference/enums#verifiabledomainorderfield" + } + ] + }, + { + "name": "VerifyVerifiableDomainInput", + "kind": "inputObjects", + "id": "verifyverifiabledomaininput", + "href": "/graphql/reference/input-objects#verifyverifiabledomaininput", + "description": "

    Autogenerated input type of VerifyVerifiableDomain.

    ", + "inputFields": [ + { + "name": "clientMutationId", + "description": "

    A unique identifier for the client performing the mutation.

    ", + "type": "String", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string" + }, + { + "name": "id", + "description": "

    The ID of the verifiable domain to verify.

    ", + "type": "ID!", + "id": "id", + "kind": "scalars", + "href": "/graphql/reference/scalars#id", + "isDeprecated": false + } + ] } ], "scalars": [ diff --git a/lib/graphql/static/upcoming-changes.json b/lib/graphql/static/upcoming-changes.json index 1257c25223..194cb914e7 100644 --- a/lib/graphql/static/upcoming-changes.json +++ b/lib/graphql/static/upcoming-changes.json @@ -1109,656 +1109,6 @@ } ] }, - "ghes-2.20": { - "2019-04-01": [ - { - "location": "Migration.uploadUrlTemplate", - "description": "

    uploadUrlTemplate will be removed. Use uploadUrl instead.

    ", - "reason": "

    uploadUrlTemplate is being removed because it is not a standard URL and adds an extra user step.

    ", - "date": "2019-04-01", - "criticality": "breaking", - "owner": "tambling" - } - ], - "2019-10-01": [ - { - "location": "ContributionOrder.field", - "description": "

    field will be removed. Only one order field is supported.

    ", - "reason": "

    field will be removed.

    ", - "date": "2019-10-01", - "criticality": "breaking", - "owner": "dinahshi" - }, - { - "location": "Issue.timeline", - "description": "

    timeline will be removed. Use Issue.timelineItems instead.

    ", - "reason": "

    timeline will be removed

    ", - "date": "2019-10-01", - "criticality": "breaking", - "owner": "mikesea" - }, - { - "location": "Organization.pinnedRepositories", - "description": "

    pinnedRepositories will be removed. Use ProfileOwner.pinnedItems instead.

    ", - "reason": "

    pinnedRepositories will be removed

    ", - "date": "2019-10-01", - "criticality": "breaking", - "owner": "cheshire137" - }, - { - "location": "PullRequest.timeline", - "description": "

    timeline will be removed. Use PullRequest.timelineItems instead.

    ", - "reason": "

    timeline will be removed

    ", - "date": "2019-10-01", - "criticality": "breaking", - "owner": "mikesea" - }, - { - "location": "RepositoryOwner.pinnedRepositories", - "description": "

    pinnedRepositories will be removed. Use ProfileOwner.pinnedItems instead.

    ", - "reason": "

    pinnedRepositories will be removed

    ", - "date": "2019-10-01", - "criticality": "breaking", - "owner": "cheshire137" - }, - { - "location": "User.pinnedRepositories", - "description": "

    pinnedRepositories will be removed. Use ProfileOwner.pinnedItems instead.

    ", - "reason": "

    pinnedRepositories will be removed

    ", - "date": "2019-10-01", - "criticality": "breaking", - "owner": "cheshire137" - } - ], - "2020-01-01": [ - { - "location": "AssignedEvent.user", - "description": "

    user will be removed. Use the assignee field instead.

    ", - "reason": "

    Assignees can now be mannequins.

    ", - "date": "2020-01-01", - "criticality": "breaking", - "owner": "tambling" - }, - { - "location": "EnterpriseBillingInfo.availableSeats", - "description": "

    availableSeats will be removed. Use EnterpriseBillingInfo.totalAvailableLicenses instead.

    ", - "reason": "

    availableSeats will be replaced with totalAvailableLicenses to provide more clarity on the value being returned

    ", - "date": "2020-01-01", - "criticality": "breaking", - "owner": "BlakeWilliams" - }, - { - "location": "EnterpriseBillingInfo.seats", - "description": "

    seats will be removed. Use EnterpriseBillingInfo.totalLicenses instead.

    ", - "reason": "

    seats will be replaced with totalLicenses to provide more clarity on the value being returned

    ", - "date": "2020-01-01", - "criticality": "breaking", - "owner": "BlakeWilliams" - }, - { - "location": "UnassignedEvent.user", - "description": "

    user will be removed. Use the assignee field instead.

    ", - "reason": "

    Assignees can now be mannequins.

    ", - "date": "2020-01-01", - "criticality": "breaking", - "owner": "tambling" - } - ], - "2020-04-01": [ - { - "location": "Organization.registryPackages", - "description": "

    registryPackages will be removed. Use the PackageOwner object instead.

    ", - "reason": "

    Renaming GitHub Packages fields and objects.

    ", - "date": "2020-04-01", - "criticality": "breaking", - "owner": "dinahshi" - }, - { - "location": "Organization.registryPackagesForQuery", - "description": "

    registryPackagesForQuery will be removed. Use the PackageSearch object instead.

    ", - "reason": "

    Renaming GitHub Packages fields and objects.

    ", - "date": "2020-04-01", - "criticality": "breaking", - "owner": "dinahshi" - }, - { - "location": "RegistryPackage.color", - "description": "

    color will be removed. Use the Package object instead.

    ", - "reason": "

    Renaming GitHub Packages fields and objects.

    ", - "date": "2020-04-01", - "criticality": "breaking", - "owner": "dinahshi" - }, - { - "location": "RegistryPackage.latestVersion", - "description": "

    latestVersion will be removed. Use the Package object instead.

    ", - "reason": "

    Renaming GitHub Packages fields and objects.

    ", - "date": "2020-04-01", - "criticality": "breaking", - "owner": "dinahshi" - }, - { - "location": "RegistryPackage.name", - "description": "

    name will be removed. Use the Package object instead.

    ", - "reason": "

    Renaming GitHub Packages fields and objects.

    ", - "date": "2020-04-01", - "criticality": "breaking", - "owner": "dinahshi" - }, - { - "location": "RegistryPackage.nameWithOwner", - "description": "

    nameWithOwner will be removed. Use the Package object instead.

    ", - "reason": "

    Renaming GitHub Packages fields and objects.

    ", - "date": "2020-04-01", - "criticality": "breaking", - "owner": "dinahshi" - }, - { - "location": "RegistryPackage.packageFileByGuid", - "description": "

    packageFileByGuid will be removed. Use the Package object.

    ", - "reason": "

    Renaming GitHub Packages fields and objects.

    ", - "date": "2020-04-01", - "criticality": "breaking", - "owner": "dinahshi" - }, - { - "location": "RegistryPackage.packageFileBySha256", - "description": "

    packageFileBySha256 will be removed. Use the Package object.

    ", - "reason": "

    Renaming GitHub Packages fields and objects.

    ", - "date": "2020-04-01", - "criticality": "breaking", - "owner": "dinahshi" - }, - { - "location": "RegistryPackage.packageType", - "description": "

    packageType will be removed. Use the Package object instead.

    ", - "reason": "

    Renaming GitHub Packages fields and objects.

    ", - "date": "2020-04-01", - "criticality": "breaking", - "owner": "dinahshi" - }, - { - "location": "RegistryPackage.preReleaseVersions", - "description": "

    preReleaseVersions will be removed. Use the Package object instead.

    ", - "reason": "

    Renaming GitHub Packages fields and objects.

    ", - "date": "2020-04-01", - "criticality": "breaking", - "owner": "dinahshi" - }, - { - "location": "RegistryPackage.registryPackageType", - "description": "

    registryPackageType will be removed. Use the Package object instead.

    ", - "reason": "

    Renaming GitHub Packages fields and objects.

    ", - "date": "2020-04-01", - "criticality": "breaking", - "owner": "dinahshi" - }, - { - "location": "RegistryPackage.repository", - "description": "

    repository will be removed. Use the Package object instead.

    ", - "reason": "

    Renaming GitHub Packages fields and objects.

    ", - "date": "2020-04-01", - "criticality": "breaking", - "owner": "dinahshi" - }, - { - "location": "RegistryPackage.statistics", - "description": "

    statistics will be removed. Use the Package object instead.

    ", - "reason": "

    Renaming GitHub Packages fields and objects.

    ", - "date": "2020-04-01", - "criticality": "breaking", - "owner": "dinahshi" - }, - { - "location": "RegistryPackage.tags", - "description": "

    tags will be removed. Use the Package object.

    ", - "reason": "

    Renaming GitHub Packages fields and objects.

    ", - "date": "2020-04-01", - "criticality": "breaking", - "owner": "dinahshi" - }, - { - "location": "RegistryPackage.topics", - "description": "

    topics will be removed. Use the Package object.

    ", - "reason": "

    Renaming GitHub Packages fields and objects.

    ", - "date": "2020-04-01", - "criticality": "breaking", - "owner": "dinahshi" - }, - { - "location": "RegistryPackage.version", - "description": "

    version will be removed. Use the Package object instead.

    ", - "reason": "

    Renaming GitHub Packages fields and objects.

    ", - "date": "2020-04-01", - "criticality": "breaking", - "owner": "dinahshi" - }, - { - "location": "RegistryPackage.versionByPlatform", - "description": "

    versionByPlatform will be removed. Use the Package object instead.

    ", - "reason": "

    Renaming GitHub Packages fields and objects.

    ", - "date": "2020-04-01", - "criticality": "breaking", - "owner": "dinahshi" - }, - { - "location": "RegistryPackage.versionBySha256", - "description": "

    versionBySha256 will be removed. Use the Package object instead.

    ", - "reason": "

    Renaming GitHub Packages fields and objects.

    ", - "date": "2020-04-01", - "criticality": "breaking", - "owner": "dinahshi" - }, - { - "location": "RegistryPackage.versions", - "description": "

    versions will be removed. Use the Package object instead.

    ", - "reason": "

    Renaming GitHub Packages fields and objects.

    ", - "date": "2020-04-01", - "criticality": "breaking", - "owner": "dinahshi" - }, - { - "location": "RegistryPackage.versionsByMetadatum", - "description": "

    versionsByMetadatum will be removed. Use the Package object instead.

    ", - "reason": "

    Renaming GitHub Packages fields and objects.

    ", - "date": "2020-04-01", - "criticality": "breaking", - "owner": "dinahshi" - }, - { - "location": "RegistryPackageDependency.dependencyType", - "description": "

    dependencyType will be removed. Use the PackageDependency object instead.

    ", - "reason": "

    Renaming GitHub Packages fields and objects.

    ", - "date": "2020-04-01", - "criticality": "breaking", - "owner": "dinahshi" - }, - { - "location": "RegistryPackageDependency.name", - "description": "

    name will be removed. Use the PackageDependency object instead.

    ", - "reason": "

    Renaming GitHub Packages fields and objects.

    ", - "date": "2020-04-01", - "criticality": "breaking", - "owner": "dinahshi" - }, - { - "location": "RegistryPackageDependency.version", - "description": "

    version will be removed. Use the PackageDependency object instead.

    ", - "reason": "

    Renaming GitHub Packages fields and objects.

    ", - "date": "2020-04-01", - "criticality": "breaking", - "owner": "dinahshi" - }, - { - "location": "RegistryPackageFile.guid", - "description": "

    guid will be removed. Use the PackageFile object instead.

    ", - "reason": "

    Renaming GitHub Packages fields and objects.

    ", - "date": "2020-04-01", - "criticality": "breaking", - "owner": "dinahshi" - }, - { - "location": "RegistryPackageFile.md5", - "description": "

    md5 will be removed. Use the PackageFile object instead.

    ", - "reason": "

    Renaming GitHub Packages fields and objects.

    ", - "date": "2020-04-01", - "criticality": "breaking", - "owner": "dinahshi" - }, - { - "location": "RegistryPackageFile.metadataUrl", - "description": "

    metadataUrl will be removed. Use the PackageFile object instead.

    ", - "reason": "

    Renaming GitHub Packages fields and objects.

    ", - "date": "2020-04-01", - "criticality": "breaking", - "owner": "dinahshi" - }, - { - "location": "RegistryPackageFile.name", - "description": "

    name will be removed. Use the PackageFile object instead.

    ", - "reason": "

    Renaming GitHub Packages fields and objects.

    ", - "date": "2020-04-01", - "criticality": "breaking", - "owner": "dinahshi" - }, - { - "location": "RegistryPackageFile.packageVersion", - "description": "

    packageVersion will be removed. Use the PackageFile object instead.

    ", - "reason": "

    Renaming GitHub Packages fields and objects.

    ", - "date": "2020-04-01", - "criticality": "breaking", - "owner": "dinahshi" - }, - { - "location": "RegistryPackageFile.sha1", - "description": "

    sha1 will be removed. Use the PackageFile object instead.

    ", - "reason": "

    Renaming GitHub Packages fields and objects.

    ", - "date": "2020-04-01", - "criticality": "breaking", - "owner": "dinahshi" - }, - { - "location": "RegistryPackageFile.sha256", - "description": "

    sha256 will be removed. Use the PackageFile object instead.

    ", - "reason": "

    Renaming GitHub Packages fields and objects.

    ", - "date": "2020-04-01", - "criticality": "breaking", - "owner": "dinahshi" - }, - { - "location": "RegistryPackageFile.size", - "description": "

    size will be removed. Use the PackageFile object instead.

    ", - "reason": "

    Renaming GitHub Packages fields and objects.

    ", - "date": "2020-04-01", - "criticality": "breaking", - "owner": "dinahshi" - }, - { - "location": "RegistryPackageFile.url", - "description": "

    url will be removed. Use the PackageFile object instead.

    ", - "reason": "

    Renaming GitHub Packages fields and objects.

    ", - "date": "2020-04-01", - "criticality": "breaking", - "owner": "dinahshi" - }, - { - "location": "RegistryPackageOwner.registryPackages", - "description": "

    registryPackages will be removed. Use the PackageOwner object instead.

    ", - "reason": "

    Renaming GitHub Packages fields and objects.

    ", - "date": "2020-04-01", - "criticality": "breaking", - "owner": "dinahshi" - }, - { - "location": "RegistryPackageSearch.registryPackagesForQuery", - "description": "

    registryPackagesForQuery will be removed. Use the PackageSearch object instead.

    ", - "reason": "

    Renaming GitHub Packages fields and objects.

    ", - "date": "2020-04-01", - "criticality": "breaking", - "owner": "dinahshi" - }, - { - "location": "RegistryPackageStatistics.downloadsThisMonth", - "description": "

    downloadsThisMonth will be removed. Use the PackageStatistics object instead.

    ", - "reason": "

    Renaming GitHub Packages fields and objects.

    ", - "date": "2020-04-01", - "criticality": "breaking", - "owner": "dinahshi" - }, - { - "location": "RegistryPackageStatistics.downloadsThisWeek", - "description": "

    downloadsThisWeek will be removed. Use the PackageStatistics object instead.

    ", - "reason": "

    Renaming GitHub Packages fields and objects.

    ", - "date": "2020-04-01", - "criticality": "breaking", - "owner": "dinahshi" - }, - { - "location": "RegistryPackageStatistics.downloadsThisYear", - "description": "

    downloadsThisYear will be removed. Use the PackageStatistics object instead.

    ", - "reason": "

    Renaming GitHub Packages fields and objects.

    ", - "date": "2020-04-01", - "criticality": "breaking", - "owner": "dinahshi" - }, - { - "location": "RegistryPackageStatistics.downloadsToday", - "description": "

    downloadsToday will be removed. Use the PackageStatistics object instead.

    ", - "reason": "

    Renaming GitHub Packages fields and objects.

    ", - "date": "2020-04-01", - "criticality": "breaking", - "owner": "dinahshi" - }, - { - "location": "RegistryPackageStatistics.downloadsTotalCount", - "description": "

    downloadsTotalCount will be removed. Use the PackageStatistics object instead.

    ", - "reason": "

    Renaming GitHub Packages fields and objects.

    ", - "date": "2020-04-01", - "criticality": "breaking", - "owner": "dinahshi" - }, - { - "location": "RegistryPackageTag.name", - "description": "

    name will be removed. Use the PackageTag object instead.

    ", - "reason": "

    Renaming GitHub Packages fields and objects.

    ", - "date": "2020-04-01", - "criticality": "breaking", - "owner": "dinahshi" - }, - { - "location": "RegistryPackageTag.version", - "description": "

    version will be removed. Use the PackageTag object instead.

    ", - "reason": "

    Renaming GitHub Packages fields and objects.

    ", - "date": "2020-04-01", - "criticality": "breaking", - "owner": "dinahshi" - }, - { - "location": "RegistryPackageVersion.dependencies", - "description": "

    dependencies will be removed. Use the PackageVersion object instead.

    ", - "reason": "

    Renaming GitHub Packages fields and objects.

    ", - "date": "2020-04-01", - "criticality": "breaking", - "owner": "dinahshi" - }, - { - "location": "RegistryPackageVersion.fileByName", - "description": "

    fileByName will be removed. Use the PackageVersion object instead.

    ", - "reason": "

    Renaming GitHub Packages fields and objects.

    ", - "date": "2020-04-01", - "criticality": "breaking", - "owner": "dinahshi" - }, - { - "location": "RegistryPackageVersion.files", - "description": "

    files will be removed. Use the PackageVersion object instead.

    ", - "reason": "

    Renaming GitHub Packages fields and objects.

    ", - "date": "2020-04-01", - "criticality": "breaking", - "owner": "dinahshi" - }, - { - "location": "RegistryPackageVersion.installationCommand", - "description": "

    installationCommand will be removed. Use the PackageVersion object instead.

    ", - "reason": "

    Renaming GitHub Packages fields and objects.

    ", - "date": "2020-04-01", - "criticality": "breaking", - "owner": "dinahshi" - }, - { - "location": "RegistryPackageVersion.manifest", - "description": "

    manifest will be removed. Use the PackageVersion object instead.

    ", - "reason": "

    Renaming GitHub Packages fields and objects.

    ", - "date": "2020-04-01", - "criticality": "breaking", - "owner": "dinahshi" - }, - { - "location": "RegistryPackageVersion.platform", - "description": "

    platform will be removed. Use the PackageVersion object instead.

    ", - "reason": "

    Renaming GitHub Packages fields and objects.

    ", - "date": "2020-04-01", - "criticality": "breaking", - "owner": "dinahshi" - }, - { - "location": "RegistryPackageVersion.preRelease", - "description": "

    preRelease will be removed. Use the PackageVersion object instead.

    ", - "reason": "

    Renaming GitHub Packages fields and objects.

    ", - "date": "2020-04-01", - "criticality": "breaking", - "owner": "dinahshi" - }, - { - "location": "RegistryPackageVersion.readme", - "description": "

    readme will be removed. Use the PackageVersion object instead.

    ", - "reason": "

    Renaming GitHub Packages fields and objects.

    ", - "date": "2020-04-01", - "criticality": "breaking", - "owner": "dinahshi" - }, - { - "location": "RegistryPackageVersion.readmeHtml", - "description": "

    readmeHtml will be removed. Use the PackageVersion object instead.

    ", - "reason": "

    Renaming GitHub Packages fields and objects.

    ", - "date": "2020-04-01", - "criticality": "breaking", - "owner": "dinahshi" - }, - { - "location": "RegistryPackageVersion.registryPackage", - "description": "

    registryPackage will be removed. Use the PackageVersion object instead.

    ", - "reason": "

    Renaming GitHub Packages fields and objects.

    ", - "date": "2020-04-01", - "criticality": "breaking", - "owner": "dinahshi" - }, - { - "location": "RegistryPackageVersion.release", - "description": "

    release will be removed. Use the PackageVersion object instead.

    ", - "reason": "

    Renaming GitHub Packages fields and objects.

    ", - "date": "2020-04-01", - "criticality": "breaking", - "owner": "dinahshi" - }, - { - "location": "RegistryPackageVersion.sha256", - "description": "

    sha256 will be removed. Use the PackageVersion object instead.

    ", - "reason": "

    Renaming GitHub Packages fields and objects.

    ", - "date": "2020-04-01", - "criticality": "breaking", - "owner": "dinahshi" - }, - { - "location": "RegistryPackageVersion.size", - "description": "

    size will be removed. Use the PackageVersion object instead.

    ", - "reason": "

    Renaming GitHub Packages fields and objects.

    ", - "date": "2020-04-01", - "criticality": "breaking", - "owner": "dinahshi" - }, - { - "location": "RegistryPackageVersion.statistics", - "description": "

    statistics will be removed. Use the PackageVersion object instead.

    ", - "reason": "

    Renaming GitHub Packages fields and objects.

    ", - "date": "2020-04-01", - "criticality": "breaking", - "owner": "dinahshi" - }, - { - "location": "RegistryPackageVersion.summary", - "description": "

    summary will be removed. Use the PackageVersion object instead.

    ", - "reason": "

    Renaming GitHub Packages fields and objects.

    ", - "date": "2020-04-01", - "criticality": "breaking", - "owner": "dinahshi" - }, - { - "location": "RegistryPackageVersion.updatedAt", - "description": "

    updatedAt will be removed. Use the PackageVersion object instead.

    ", - "reason": "

    Renaming GitHub Packages fields and objects.

    ", - "date": "2020-04-01", - "criticality": "breaking", - "owner": "dinahshi" - }, - { - "location": "RegistryPackageVersion.version", - "description": "

    version will be removed. Use the PackageVersion object instead.

    ", - "reason": "

    Renaming GitHub Packages fields and objects.

    ", - "date": "2020-04-01", - "criticality": "breaking", - "owner": "dinahshi" - }, - { - "location": "RegistryPackageVersion.viewerCanEdit", - "description": "

    viewerCanEdit will be removed. Use the PackageVersion object instead.

    ", - "reason": "

    Renaming GitHub Packages fields and objects.

    ", - "date": "2020-04-01", - "criticality": "breaking", - "owner": "dinahshi" - }, - { - "location": "RegistryPackageVersionStatistics.downloadsThisMonth", - "description": "

    downloadsThisMonth will be removed. Use the PackageVersionStatistics object instead.

    ", - "reason": "

    Renaming GitHub Packages fields and objects.

    ", - "date": "2020-04-01", - "criticality": "breaking", - "owner": "dinahshi" - }, - { - "location": "RegistryPackageVersionStatistics.downloadsThisWeek", - "description": "

    downloadsThisWeek will be removed. Use the PackageVersionStatistics object instead.

    ", - "reason": "

    Renaming GitHub Packages fields and objects.

    ", - "date": "2020-04-01", - "criticality": "breaking", - "owner": "dinahshi" - }, - { - "location": "RegistryPackageVersionStatistics.downloadsThisYear", - "description": "

    downloadsThisYear will be removed. Use the PackageVersionStatistics object instead.

    ", - "reason": "

    Renaming GitHub Packages fields and objects.

    ", - "date": "2020-04-01", - "criticality": "breaking", - "owner": "dinahshi" - }, - { - "location": "RegistryPackageVersionStatistics.downloadsToday", - "description": "

    downloadsToday will be removed. Use the PackageVersionStatistics object instead.

    ", - "reason": "

    Renaming GitHub Packages fields and objects.

    ", - "date": "2020-04-01", - "criticality": "breaking", - "owner": "dinahshi" - }, - { - "location": "RegistryPackageVersionStatistics.downloadsTotalCount", - "description": "

    downloadsTotalCount will be removed. Use the PackageVersionStatistics object instead.

    ", - "reason": "

    Renaming GitHub Packages fields and objects.

    ", - "date": "2020-04-01", - "criticality": "breaking", - "owner": "dinahshi" - }, - { - "location": "Repository.registryPackages", - "description": "

    registryPackages will be removed. Use the PackageOwner object instead.

    ", - "reason": "

    Renaming GitHub Packages fields and objects.

    ", - "date": "2020-04-01", - "criticality": "breaking", - "owner": "dinahshi" - }, - { - "location": "Repository.registryPackagesForQuery", - "description": "

    registryPackagesForQuery will be removed. Use the PackageSearch object instead.

    ", - "reason": "

    Renaming GitHub Packages fields and objects.

    ", - "date": "2020-04-01", - "criticality": "breaking", - "owner": "dinahshi" - }, - { - "location": "Sponsorship.maintainer", - "description": "

    maintainer will be removed. Use Sponsorship.sponsorable instead.

    ", - "reason": "

    Sponsorship.maintainer will be removed.

    ", - "date": "2020-04-01", - "criticality": "breaking", - "owner": "antn" - }, - { - "location": "User.registryPackages", - "description": "

    registryPackages will be removed. Use the PackageOwner object instead.

    ", - "reason": "

    Renaming GitHub Packages fields and objects.

    ", - "date": "2020-04-01", - "criticality": "breaking", - "owner": "dinahshi" - }, - { - "location": "User.registryPackagesForQuery", - "description": "

    registryPackagesForQuery will be removed. Use the PackageSearch object instead.

    ", - "reason": "

    Renaming GitHub Packages fields and objects.

    ", - "date": "2020-04-01", - "criticality": "breaking", - "owner": "dinahshi" - } - ] - }, "ghae": { "2019-04-01": [ { diff --git a/lib/liquid-tags/link.js b/lib/liquid-tags/link.js index f1a5434823..bef218a2f9 100644 --- a/lib/liquid-tags/link.js +++ b/lib/liquid-tags/link.js @@ -1,6 +1,6 @@ -const fs = require('fs') const path = require('path') const assert = require('assert') +const readFileAsync = require('../readfile-async') const findPage = require('../find-page') const { getPathWithoutLanguage, getPathWithoutVersion } = require('../path-utils') const getApplicableVersions = require('../get-applicable-versions') @@ -30,7 +30,7 @@ module.exports = (name) => ({ async getTemplate () { const pathToTemplate = path.join(__dirname, '../../includes/liquid-tags', `${name}.html`) - const template = await fs.promises.readFile(pathToTemplate, 'utf8') + const template = await readFileAsync(pathToTemplate, 'utf8') return template.replace(/\r/g, '') }, diff --git a/lib/liquid-tags/liquid-tag.js b/lib/liquid-tags/liquid-tag.js index 6e36ed632a..7076eba093 100644 --- a/lib/liquid-tags/liquid-tag.js +++ b/lib/liquid-tags/liquid-tag.js @@ -1,4 +1,4 @@ -const fs = require('fs') +const readFileAsync = require('../readfile-async') const path = require('path') const Liquid = require('liquid') const { paramCase } = require('change-case') @@ -19,7 +19,7 @@ module.exports = class LiquidTag extends Liquid.Tag { async getTemplate () { if (!this.template) { - this.template = await fs.promises.readFile(this.templatePath, 'utf8') + this.template = await readFileAsync(this.templatePath, 'utf8') this.template = this.template.replace(/\r/g, '') } diff --git a/lib/path-utils.js b/lib/path-utils.js index 83a966985f..68a6f899a9 100644 --- a/lib/path-utils.js +++ b/lib/path-utils.js @@ -90,6 +90,22 @@ function getProductStringFromPath (href) { : pathParts[1] } +function getCategoryStringFromPath (href) { + href = getPathWithoutLanguage(href) + + if (href === '/') return null + + const pathParts = href.split('/') + + if (pathParts.includes('early-access')) return null + + const productIndex = allProducts[pathParts[2]] + ? 2 + : 1 + + return pathParts[productIndex + 1] +} + // Return the corresponding object for the product segment in a path function getProductObjectFromPath (href) { const productFromPath = getProductStringFromPath(href) @@ -104,5 +120,6 @@ module.exports = { getVersionStringFromPath, getVersionObjectFromPath, getProductStringFromPath, + getCategoryStringFromPath, getProductObjectFromPath } diff --git a/lib/prefix-stream-write.js b/lib/prefix-stream-write.js new file mode 100644 index 0000000000..7625962976 --- /dev/null +++ b/lib/prefix-stream-write.js @@ -0,0 +1,25 @@ +module.exports = function prefixStreamWrite (writableStream, prefix) { + const oldWrite = writableStream.write + + function newWrite (...args) { + const [chunk, encoding] = args + + // Prepend the prefix if the chunk is either a string or a Buffer. + // Otherwise, just leave it alone to be safe. + if (typeof chunk === 'string') { + // Only prepend the prefix is the `encoding` is safe or not provided. + // If it's a function, it is third arg `callback` provided as optional second + if (!encoding || encoding === 'utf8' || typeof encoding === 'function') { + args[0] = prefix + chunk + } + } else if (Buffer.isBuffer(chunk)) { + args[0] = Buffer.concat([Buffer.from(prefix), chunk]) + } + + return oldWrite.apply(this, args) + } + + writableStream.write = newWrite + + return writableStream +} diff --git a/lib/read-file-contents.js b/lib/read-file-contents.js index 4c80a4ab9f..4e26236ec5 100644 --- a/lib/read-file-contents.js +++ b/lib/read-file-contents.js @@ -1,4 +1,4 @@ -const fs = require('fs') +const readFileAsync = require('./readfile-async') const encodeBracketedParentheses = require('./encode-bracketed-parentheses') const fm = require('./frontmatter') @@ -6,7 +6,7 @@ const fm = require('./frontmatter') * Read only the frontmatter from file */ module.exports = async function fmfromf (filepath, languageCode) { - let fileContent = await fs.promises.readFile(filepath, 'utf8') + let fileContent = await readFileAsync(filepath, 'utf8') fileContent = encodeBracketedParentheses(fileContent) diff --git a/lib/readfile-async.js b/lib/readfile-async.js new file mode 100644 index 0000000000..5ca2117c44 --- /dev/null +++ b/lib/readfile-async.js @@ -0,0 +1,6 @@ +const fs = require('fs') +const util = require('util') + +// This is faster than using `fs.promises.readFile` for the time being +// See: https://github.com/nodejs/node/issues/37583 +module.exports = util.promisify(fs.readFile) diff --git a/lib/rest/static/decorated/api.github.com.json b/lib/rest/static/decorated/api.github.com.json index e71e5b02e2..181e452b4e 100644 --- a/lib/rest/static/decorated/api.github.com.json +++ b/lib/rest/static/decorated/api.github.com.json @@ -574,7 +574,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "404", @@ -2399,7 +2399,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "404", @@ -2463,7 +2463,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "404", @@ -2498,6 +2498,16 @@ "default": 1 }, "descriptionHTML": "

    Page number of the results to fetch.

    " + }, + { + "name": "client_id", + "in": "query", + "required": false, + "description": "The client ID of your GitHub app.", + "schema": { + "type": "string" + }, + "descriptionHTML": "

    The client ID of your GitHub app.

    " } ], "x-codeSamples": [ @@ -2701,7 +2711,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "304", @@ -2800,7 +2810,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "422", @@ -2888,7 +2898,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "bodyParameters": [], @@ -3180,7 +3190,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "422", @@ -5242,7 +5252,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "bodyParameters": [], @@ -5346,6 +5356,16 @@ "default": 1 }, "descriptionHTML": "

    Page number of the results to fetch.

    " + }, + { + "name": "client_id", + "in": "query", + "required": false, + "description": "The client ID of your GitHub app.", + "schema": { + "type": "string" + }, + "descriptionHTML": "

    The client ID of your GitHub app.

    " } ], "x-codeSamples": [ @@ -6390,7 +6410,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "304", @@ -6932,7 +6952,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "descriptionHTML": "

    Sets the GitHub Actions permissions policy for organizations and allowed actions in an enterprise.

    \n

    You must authenticate using an access token with the admin:enterprise scope to use this endpoint.

    ", @@ -7137,7 +7157,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "descriptionHTML": "

    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.\"

    \n

    You must authenticate using an access token with the admin:enterprise scope to use this endpoint.

    ", @@ -7222,7 +7242,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "bodyParameters": [], @@ -7293,7 +7313,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "bodyParameters": [], @@ -7474,7 +7494,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "descriptionHTML": "

    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.\"

    \n

    You must authenticate using an access token with the admin:enterprise scope to use this endpoint.

    ", @@ -8049,7 +8069,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "bodyParameters": [], @@ -8245,7 +8265,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "descriptionHTML": "

    Replaces the list of organizations that have access to a self-hosted runner configured in an enterprise.

    \n

    You must authenticate using an access token with the admin:enterprise scope to use this endpoint.

    ", @@ -8340,7 +8360,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "bodyParameters": [], @@ -8421,7 +8441,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "bodyParameters": [], @@ -8617,7 +8637,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "descriptionHTML": "

    Replaces the list of self-hosted runners that are part of an enterprise runner group.

    \n

    You must authenticate using an access token with the admin:enterprise scope to use this endpoint.

    ", @@ -8712,7 +8732,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "bodyParameters": [], @@ -8793,7 +8813,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "bodyParameters": [], @@ -9204,7 +9224,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "bodyParameters": [], @@ -9284,6 +9304,16 @@ }, "descriptionHTML": "

    The order of audit log events. To list newest events first, specify desc. To list oldest events first, specify asc.

    \n

    The default is desc.

    " }, + { + "name": "page", + "description": "Page number of the results to fetch.", + "in": "query", + "schema": { + "type": "integer", + "default": 1 + }, + "descriptionHTML": "

    Page number of the results to fetch.

    " + }, { "name": "per_page", "description": "Results per page (max 100).", @@ -10483,7 +10513,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "304", @@ -10981,7 +11011,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "304", @@ -11399,7 +11429,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "304", @@ -11473,7 +11503,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "304", @@ -11834,7 +11864,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "bodyParameters": [], @@ -11857,6 +11887,7 @@ "created", "mentioned", "subscribed", + "repos", "all" ], "default": "assigned" @@ -12076,6 +12107,16 @@ "default": 30 }, "descriptionHTML": "

    Results per page (max 100).

    " + }, + { + "name": "page", + "description": "Page number of the results to fetch.", + "in": "query", + "schema": { + "type": "integer", + "default": 1 + }, + "descriptionHTML": "

    Page number of the results to fetch.

    " } ], "x-codeSamples": [ @@ -13753,7 +13794,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "304", @@ -13965,13 +14006,7 @@ "httpStatusCode": "200", "httpStatusMessage": "OK", "description": "Default response", - "payload": "
    {\n  \"login\": \"github\",\n  \"id\": 1,\n  \"node_id\": \"MDEyOk9yZ2FuaXphdGlvbjE=\",\n  \"url\": \"https://api.github.com/orgs/github\",\n  \"repos_url\": \"https://api.github.com/orgs/github/repos\",\n  \"events_url\": \"https://api.github.com/orgs/github/events\",\n  \"hooks_url\": \"https://api.github.com/orgs/github/hooks\",\n  \"issues_url\": \"https://api.github.com/orgs/github/issues\",\n  \"members_url\": \"https://api.github.com/orgs/github/members{/member}\",\n  \"public_members_url\": \"https://api.github.com/orgs/github/public_members{/member}\",\n  \"avatar_url\": \"https://github.com/images/error/octocat_happy.gif\",\n  \"description\": \"A great organization\",\n  \"name\": \"github\",\n  \"company\": \"GitHub\",\n  \"blog\": \"https://github.com/blog\",\n  \"location\": \"San Francisco\",\n  \"email\": \"octocat@github.com\",\n  \"twitter_username\": \"github\",\n  \"is_verified\": true,\n  \"has_organization_projects\": true,\n  \"has_repository_projects\": true,\n  \"public_repos\": 2,\n  \"public_gists\": 1,\n  \"followers\": 20,\n  \"following\": 0,\n  \"html_url\": \"https://github.com/octocat\",\n  \"created_at\": \"2008-01-14T04:33:35Z\",\n  \"updated_at\": \"2014-03-03T18:58:10Z\",\n  \"type\": \"Organization\",\n  \"total_private_repos\": 100,\n  \"owned_private_repos\": 100,\n  \"private_gists\": 81,\n  \"disk_usage\": 10000,\n  \"collaborators\": 8,\n  \"billing_email\": \"mona@github.com\",\n  \"plan\": {\n    \"name\": \"Medium\",\n    \"space\": 400,\n    \"private_repos\": 20\n  },\n  \"default_repository_permission\": \"read\",\n  \"members_can_create_repositories\": true,\n  \"two_factor_requirement_enabled\": true,\n  \"members_allowed_repository_creation_type\": \"all\",\n  \"members_can_create_public_repositories\": false,\n  \"members_can_create_private_repositories\": false,\n  \"members_can_create_internal_repositories\": false,\n  \"members_can_create_pages\": true\n}\n
    " - }, - { - "httpStatusCode": "200", - "httpStatusMessage": "OK", - "description": "Response with GitHub plan information", - "payload": "
    {\n  \"login\": \"github\",\n  \"id\": 1,\n  \"node_id\": \"MDEyOk9yZ2FuaXphdGlvbjE=\",\n  \"url\": \"https://api.github.com/orgs/github\",\n  \"repos_url\": \"https://api.github.com/orgs/github/repos\",\n  \"events_url\": \"https://api.github.com/orgs/github/events\",\n  \"hooks_url\": \"https://api.github.com/orgs/github/hooks\",\n  \"issues_url\": \"https://api.github.com/orgs/github/issues\",\n  \"members_url\": \"https://api.github.com/orgs/github/members{/member}\",\n  \"public_members_url\": \"https://api.github.com/orgs/github/public_members{/member}\",\n  \"avatar_url\": \"https://github.com/images/error/octocat_happy.gif\",\n  \"description\": \"A great organization\",\n  \"name\": \"github\",\n  \"company\": \"GitHub\",\n  \"blog\": \"https://github.com/blog\",\n  \"location\": \"San Francisco\",\n  \"email\": \"octocat@github.com\",\n  \"twitter_username\": \"github\",\n  \"is_verified\": true,\n  \"has_organization_projects\": true,\n  \"has_repository_projects\": true,\n  \"public_repos\": 2,\n  \"public_gists\": 1,\n  \"followers\": 20,\n  \"following\": 0,\n  \"html_url\": \"https://github.com/octocat\",\n  \"created_at\": \"2008-01-14T04:33:35Z\",\n  \"updated_at\": \"2014-03-03T18:58:10Z\",\n  \"type\": \"Organization\",\n  \"plan\": {\n    \"name\": \"team\",\n    \"space\": 976562499,\n    \"private_repos\": 999999,\n    \"filled_seats\": 4,\n    \"seats\": 5\n  }\n}\n
    " + "payload": "
    {\n  \"login\": \"github\",\n  \"id\": 1,\n  \"node_id\": \"MDEyOk9yZ2FuaXphdGlvbjE=\",\n  \"url\": \"https://api.github.com/orgs/github\",\n  \"repos_url\": \"https://api.github.com/orgs/github/repos\",\n  \"events_url\": \"https://api.github.com/orgs/github/events\",\n  \"hooks_url\": \"https://api.github.com/orgs/github/hooks\",\n  \"issues_url\": \"https://api.github.com/orgs/github/issues\",\n  \"members_url\": \"https://api.github.com/orgs/github/members{/member}\",\n  \"public_members_url\": \"https://api.github.com/orgs/github/public_members{/member}\",\n  \"avatar_url\": \"https://github.com/images/error/octocat_happy.gif\",\n  \"description\": \"A great organization\",\n  \"name\": \"github\",\n  \"company\": \"GitHub\",\n  \"blog\": \"https://github.com/blog\",\n  \"location\": \"San Francisco\",\n  \"email\": \"octocat@github.com\",\n  \"twitter_username\": \"github\",\n  \"is_verified\": true,\n  \"has_organization_projects\": true,\n  \"has_repository_projects\": true,\n  \"public_repos\": 2,\n  \"public_gists\": 1,\n  \"followers\": 20,\n  \"following\": 0,\n  \"html_url\": \"https://github.com/octocat\",\n  \"created_at\": \"2008-01-14T04:33:35Z\",\n  \"updated_at\": \"2014-03-03T18:58:10Z\",\n  \"type\": \"Organization\",\n  \"total_private_repos\": 100,\n  \"owned_private_repos\": 100,\n  \"private_gists\": 81,\n  \"disk_usage\": 10000,\n  \"collaborators\": 8,\n  \"billing_email\": \"mona@github.com\",\n  \"plan\": {\n    \"name\": \"Medium\",\n    \"space\": 400,\n    \"private_repos\": 20,\n    \"filled_seats\": 4,\n    \"seats\": 5\n  },\n  \"default_repository_permission\": \"read\",\n  \"members_can_create_repositories\": true,\n  \"two_factor_requirement_enabled\": true,\n  \"members_allowed_repository_creation_type\": \"all\",\n  \"members_can_create_public_repositories\": false,\n  \"members_can_create_private_repositories\": false,\n  \"members_can_create_internal_repositories\": false,\n  \"members_can_create_pages\": true\n}\n
    " }, { "httpStatusCode": "404", @@ -14620,7 +14655,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "descriptionHTML": "

    Sets the GitHub Actions permissions policy for repositories and allowed actions in an organization.

    \n

    If 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

    You 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.

    ", @@ -14823,7 +14858,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "descriptionHTML": "

    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.\"

    \n

    You 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.

    ", @@ -14906,7 +14941,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "bodyParameters": [], @@ -14975,7 +15010,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "bodyParameters": [], @@ -15154,7 +15189,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "descriptionHTML": "

    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.\"

    \n

    If 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

    To 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

    You 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.

    ", @@ -15728,7 +15763,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "bodyParameters": [], @@ -15757,6 +15792,26 @@ "type": "integer" }, "descriptionHTML": "

    Unique identifier of the self-hosted runner group.

    " + }, + { + "name": "page", + "description": "Page number of the results to fetch.", + "in": "query", + "schema": { + "type": "integer", + "default": 1 + }, + "descriptionHTML": "

    Page number of the results to fetch.

    " + }, + { + "name": "per_page", + "description": "Results per page (max 100).", + "in": "query", + "schema": { + "type": "integer", + "default": 30 + }, + "descriptionHTML": "

    Results per page (max 100).

    " } ], "x-codeSamples": [ @@ -15902,7 +15957,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "descriptionHTML": "

    The self-hosted runner groups REST API is available with GitHub Enterprise Cloud. For more information, see \"GitHub's products.\"

    \n

    Replaces the list of repositories that have access to a self-hosted runner group configured in an organization.

    \n

    You must authenticate using an access token with the admin:org scope to use this endpoint.

    ", @@ -15995,7 +16050,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "bodyParameters": [], @@ -16074,7 +16129,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "bodyParameters": [], @@ -16268,7 +16323,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "descriptionHTML": "

    The self-hosted runner groups REST API is available with GitHub Enterprise Cloud. For more information, see \"GitHub's products.\"

    \n

    Replaces the list of self-hosted runners that are part of an organization runner group.

    \n

    You must authenticate using an access token with the admin:org scope to use this endpoint.

    ", @@ -16362,7 +16417,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "bodyParameters": [], @@ -16442,7 +16497,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "bodyParameters": [], @@ -16847,7 +16902,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "bodyParameters": [], @@ -17316,7 +17371,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "bodyParameters": [], @@ -17345,6 +17400,26 @@ "type": "string" }, "descriptionHTML": "

    secret_name parameter

    " + }, + { + "name": "page", + "description": "Page number of the results to fetch.", + "in": "query", + "schema": { + "type": "integer", + "default": 1 + }, + "descriptionHTML": "

    Page number of the results to fetch.

    " + }, + { + "name": "per_page", + "description": "Results per page (max 100).", + "in": "query", + "schema": { + "type": "integer", + "default": 30 + }, + "descriptionHTML": "

    Results per page (max 100).

    " } ], "x-codeSamples": [ @@ -17485,7 +17560,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "descriptionHTML": "

    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. 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.

    ", @@ -17754,6 +17829,16 @@ "default": 30 }, "descriptionHTML": "

    Results per page (max 100).

    " + }, + { + "name": "page", + "description": "Page number of the results to fetch.", + "in": "query", + "schema": { + "type": "integer", + "default": 1 + }, + "descriptionHTML": "

    Page number of the results to fetch.

    " } ], "x-codeSamples": [ @@ -18003,7 +18088,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "422", @@ -18077,7 +18162,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "bodyParameters": [], @@ -18203,7 +18288,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "404", @@ -19425,7 +19510,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "404", @@ -19739,7 +19824,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "404", @@ -20150,7 +20235,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "bodyParameters": [], @@ -20489,7 +20574,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "404", @@ -20627,6 +20712,7 @@ "created", "mentioned", "subscribed", + "repos", "all" ], "default": "assigned" @@ -21041,7 +21127,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "403", @@ -21089,7 +21175,7 @@ } ], "summary": "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.", + "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.", "tags": [ "orgs" ], @@ -21112,7 +21198,7 @@ "subcategoryLabel": "Members", "notes": [], "bodyParameters": [], - "descriptionHTML": "

    In order to get a user's membership with an organization, the authenticated user must be an organization member.

    ", + "descriptionHTML": "

    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.

    ", "responses": [ { "httpStatusCode": "200", @@ -21120,18 +21206,6 @@ "description": "Response if user has an active admin membership with organization", "payload": "
    {\n  \"url\": \"https://api.github.com/orgs/octocat/memberships/defunkt\",\n  \"state\": \"active\",\n  \"role\": \"admin\",\n  \"organization_url\": \"https://api.github.com/orgs/octocat\",\n  \"organization\": {\n    \"login\": \"github\",\n    \"id\": 1,\n    \"node_id\": \"MDEyOk9yZ2FuaXphdGlvbjE=\",\n    \"url\": \"https://api.github.com/orgs/github\",\n    \"repos_url\": \"https://api.github.com/orgs/github/repos\",\n    \"events_url\": \"https://api.github.com/orgs/github/events\",\n    \"hooks_url\": \"https://api.github.com/orgs/github/hooks\",\n    \"issues_url\": \"https://api.github.com/orgs/github/issues\",\n    \"members_url\": \"https://api.github.com/orgs/github/members{/member}\",\n    \"public_members_url\": \"https://api.github.com/orgs/github/public_members{/member}\",\n    \"avatar_url\": \"https://github.com/images/error/octocat_happy.gif\",\n    \"description\": \"A great organization\"\n  },\n  \"user\": {\n    \"login\": \"octocat\",\n    \"id\": 1,\n    \"node_id\": \"MDQ6VXNlcjE=\",\n    \"avatar_url\": \"https://github.com/images/error/octocat_happy.gif\",\n    \"gravatar_id\": \"\",\n    \"url\": \"https://api.github.com/users/octocat\",\n    \"html_url\": \"https://github.com/octocat\",\n    \"followers_url\": \"https://api.github.com/users/octocat/followers\",\n    \"following_url\": \"https://api.github.com/users/octocat/following{/other_user}\",\n    \"gists_url\": \"https://api.github.com/users/octocat/gists{/gist_id}\",\n    \"starred_url\": \"https://api.github.com/users/octocat/starred{/owner}{/repo}\",\n    \"subscriptions_url\": \"https://api.github.com/users/octocat/subscriptions\",\n    \"organizations_url\": \"https://api.github.com/users/octocat/orgs\",\n    \"repos_url\": \"https://api.github.com/users/octocat/repos\",\n    \"events_url\": \"https://api.github.com/users/octocat/events{/privacy}\",\n    \"received_events_url\": \"https://api.github.com/users/octocat/received_events\",\n    \"type\": \"User\",\n    \"site_admin\": false\n  }\n}\n
    " }, - { - "httpStatusCode": "200", - "httpStatusMessage": "OK", - "description": "Response if user has an active membership with organization", - "payload": "
    {\n  \"url\": \"https://api.github.com/orgs/octocat/memberships/defunkt\",\n  \"state\": \"active\",\n  \"role\": \"member\",\n  \"organization_url\": \"https://api.github.com/orgs/octocat\",\n  \"organization\": {\n    \"login\": \"github\",\n    \"id\": 1,\n    \"node_id\": \"MDEyOk9yZ2FuaXphdGlvbjE=\",\n    \"url\": \"https://api.github.com/orgs/github\",\n    \"repos_url\": \"https://api.github.com/orgs/github/repos\",\n    \"events_url\": \"https://api.github.com/orgs/github/events\",\n    \"hooks_url\": \"https://api.github.com/orgs/github/hooks\",\n    \"issues_url\": \"https://api.github.com/orgs/github/issues\",\n    \"members_url\": \"https://api.github.com/orgs/github/members{/member}\",\n    \"public_members_url\": \"https://api.github.com/orgs/github/public_members{/member}\",\n    \"avatar_url\": \"https://github.com/images/error/octocat_happy.gif\",\n    \"description\": \"A great organization\"\n  },\n  \"user\": {\n    \"login\": \"octocat\",\n    \"id\": 1,\n    \"node_id\": \"MDQ6VXNlcjE=\",\n    \"avatar_url\": \"https://github.com/images/error/octocat_happy.gif\",\n    \"gravatar_id\": \"\",\n    \"url\": \"https://api.github.com/users/octocat\",\n    \"html_url\": \"https://github.com/octocat\",\n    \"followers_url\": \"https://api.github.com/users/octocat/followers\",\n    \"following_url\": \"https://api.github.com/users/octocat/following{/other_user}\",\n    \"gists_url\": \"https://api.github.com/users/octocat/gists{/gist_id}\",\n    \"starred_url\": \"https://api.github.com/users/octocat/starred{/owner}{/repo}\",\n    \"subscriptions_url\": \"https://api.github.com/users/octocat/subscriptions\",\n    \"organizations_url\": \"https://api.github.com/users/octocat/orgs\",\n    \"repos_url\": \"https://api.github.com/users/octocat/repos\",\n    \"events_url\": \"https://api.github.com/users/octocat/events{/privacy}\",\n    \"received_events_url\": \"https://api.github.com/users/octocat/received_events\",\n    \"type\": \"User\",\n    \"site_admin\": false\n  }\n}\n
    " - }, - { - "httpStatusCode": "200", - "httpStatusMessage": "OK", - "description": "Response if user has a pending membership with organization", - "payload": "
    {\n  \"url\": \"https://api.github.com/orgs/invitocat/memberships/defunkt\",\n  \"state\": \"pending\",\n  \"role\": \"member\",\n  \"organization_url\": \"https://api.github.com/orgs/invitocat\",\n  \"organization\": {\n    \"login\": \"github\",\n    \"id\": 1,\n    \"node_id\": \"MDEyOk9yZ2FuaXphdGlvbjE=\",\n    \"url\": \"https://api.github.com/orgs/github\",\n    \"repos_url\": \"https://api.github.com/orgs/github/repos\",\n    \"events_url\": \"https://api.github.com/orgs/github/events\",\n    \"hooks_url\": \"https://api.github.com/orgs/github/hooks\",\n    \"issues_url\": \"https://api.github.com/orgs/github/issues\",\n    \"members_url\": \"https://api.github.com/orgs/github/members{/member}\",\n    \"public_members_url\": \"https://api.github.com/orgs/github/public_members{/member}\",\n    \"avatar_url\": \"https://github.com/images/error/octocat_happy.gif\",\n    \"description\": \"A great organization\"\n  },\n  \"user\": {\n    \"login\": \"octocat\",\n    \"id\": 1,\n    \"node_id\": \"MDQ6VXNlcjE=\",\n    \"avatar_url\": \"https://github.com/images/error/octocat_happy.gif\",\n    \"gravatar_id\": \"\",\n    \"url\": \"https://api.github.com/users/octocat\",\n    \"html_url\": \"https://github.com/octocat\",\n    \"followers_url\": \"https://api.github.com/users/octocat/followers\",\n    \"following_url\": \"https://api.github.com/users/octocat/following{/other_user}\",\n    \"gists_url\": \"https://api.github.com/users/octocat/gists{/gist_id}\",\n    \"starred_url\": \"https://api.github.com/users/octocat/starred{/owner}{/repo}\",\n    \"subscriptions_url\": \"https://api.github.com/users/octocat/subscriptions\",\n    \"organizations_url\": \"https://api.github.com/users/octocat/orgs\",\n    \"repos_url\": \"https://api.github.com/users/octocat/repos\",\n    \"events_url\": \"https://api.github.com/users/octocat/events{/privacy}\",\n    \"received_events_url\": \"https://api.github.com/users/octocat/received_events\",\n    \"type\": \"User\",\n    \"site_admin\": false\n  }\n}\n
    " - }, { "httpStatusCode": "403", "httpStatusMessage": "Forbidden", @@ -21249,13 +21323,7 @@ { "httpStatusCode": "200", "httpStatusMessage": "OK", - "description": "Response if user was previously unaffiliated with organization", - "payload": "
    {\n  \"url\": \"https://api.github.com/orgs/invitocat/memberships/defunkt\",\n  \"state\": \"pending\",\n  \"role\": \"admin\",\n  \"organization_url\": \"https://api.github.com/orgs/invitocat\",\n  \"organization\": {\n    \"login\": \"github\",\n    \"id\": 1,\n    \"node_id\": \"MDEyOk9yZ2FuaXphdGlvbjE=\",\n    \"url\": \"https://api.github.com/orgs/github\",\n    \"repos_url\": \"https://api.github.com/orgs/github/repos\",\n    \"events_url\": \"https://api.github.com/orgs/github/events\",\n    \"hooks_url\": \"https://api.github.com/orgs/github/hooks\",\n    \"issues_url\": \"https://api.github.com/orgs/github/issues\",\n    \"members_url\": \"https://api.github.com/orgs/github/members{/member}\",\n    \"public_members_url\": \"https://api.github.com/orgs/github/public_members{/member}\",\n    \"avatar_url\": \"https://github.com/images/error/octocat_happy.gif\",\n    \"description\": \"A great organization\"\n  },\n  \"user\": {\n    \"login\": \"octocat\",\n    \"id\": 1,\n    \"node_id\": \"MDQ6VXNlcjE=\",\n    \"avatar_url\": \"https://github.com/images/error/octocat_happy.gif\",\n    \"gravatar_id\": \"\",\n    \"url\": \"https://api.github.com/users/octocat\",\n    \"html_url\": \"https://github.com/octocat\",\n    \"followers_url\": \"https://api.github.com/users/octocat/followers\",\n    \"following_url\": \"https://api.github.com/users/octocat/following{/other_user}\",\n    \"gists_url\": \"https://api.github.com/users/octocat/gists{/gist_id}\",\n    \"starred_url\": \"https://api.github.com/users/octocat/starred{/owner}{/repo}\",\n    \"subscriptions_url\": \"https://api.github.com/users/octocat/subscriptions\",\n    \"organizations_url\": \"https://api.github.com/users/octocat/orgs\",\n    \"repos_url\": \"https://api.github.com/users/octocat/repos\",\n    \"events_url\": \"https://api.github.com/users/octocat/events{/privacy}\",\n    \"received_events_url\": \"https://api.github.com/users/octocat/received_events\",\n    \"type\": \"User\",\n    \"site_admin\": false\n  }\n}\n
    " - }, - { - "httpStatusCode": "200", - "httpStatusMessage": "OK", - "description": "Response if user already had membership with organization", + "description": "Response if user has an active admin membership with organization", "payload": "
    {\n  \"url\": \"https://api.github.com/orgs/octocat/memberships/defunkt\",\n  \"state\": \"active\",\n  \"role\": \"admin\",\n  \"organization_url\": \"https://api.github.com/orgs/octocat\",\n  \"organization\": {\n    \"login\": \"github\",\n    \"id\": 1,\n    \"node_id\": \"MDEyOk9yZ2FuaXphdGlvbjE=\",\n    \"url\": \"https://api.github.com/orgs/github\",\n    \"repos_url\": \"https://api.github.com/orgs/github/repos\",\n    \"events_url\": \"https://api.github.com/orgs/github/events\",\n    \"hooks_url\": \"https://api.github.com/orgs/github/hooks\",\n    \"issues_url\": \"https://api.github.com/orgs/github/issues\",\n    \"members_url\": \"https://api.github.com/orgs/github/members{/member}\",\n    \"public_members_url\": \"https://api.github.com/orgs/github/public_members{/member}\",\n    \"avatar_url\": \"https://github.com/images/error/octocat_happy.gif\",\n    \"description\": \"A great organization\"\n  },\n  \"user\": {\n    \"login\": \"octocat\",\n    \"id\": 1,\n    \"node_id\": \"MDQ6VXNlcjE=\",\n    \"avatar_url\": \"https://github.com/images/error/octocat_happy.gif\",\n    \"gravatar_id\": \"\",\n    \"url\": \"https://api.github.com/users/octocat\",\n    \"html_url\": \"https://github.com/octocat\",\n    \"followers_url\": \"https://api.github.com/users/octocat/followers\",\n    \"following_url\": \"https://api.github.com/users/octocat/following{/other_user}\",\n    \"gists_url\": \"https://api.github.com/users/octocat/gists{/gist_id}\",\n    \"starred_url\": \"https://api.github.com/users/octocat/starred{/owner}{/repo}\",\n    \"subscriptions_url\": \"https://api.github.com/users/octocat/subscriptions\",\n    \"organizations_url\": \"https://api.github.com/users/octocat/orgs\",\n    \"repos_url\": \"https://api.github.com/users/octocat/repos\",\n    \"events_url\": \"https://api.github.com/users/octocat/events{/privacy}\",\n    \"received_events_url\": \"https://api.github.com/users/octocat/received_events\",\n    \"type\": \"User\",\n    \"site_admin\": false\n  }\n}\n
    " }, { @@ -21333,7 +21401,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "403", @@ -21382,6 +21450,23 @@ "default": 1 }, "descriptionHTML": "

    Page number of the results to fetch.

    " + }, + { + "name": "exclude", + "description": "Exclude attributes from the API response to improve performance", + "in": "query", + "schema": { + "type": "array", + "items": { + "description": "Allowed values that can be passed to the exclude param.", + "enum": [ + "repositories" + ], + "example": "repositories", + "type": "string" + } + }, + "descriptionHTML": "

    Exclude attributes from the API response to improve performance

    " } ], "x-codeSamples": [ @@ -21638,6 +21723,23 @@ "type": "integer" }, "descriptionHTML": "

    migration_id parameter

    " + }, + { + "name": "exclude", + "description": "Exclude attributes from the API response to improve performance", + "in": "query", + "schema": { + "type": "array", + "items": { + "description": "Allowed values that can be passed to the exclude param.", + "enum": [ + "repositories" + ], + "example": "repositories", + "type": "string" + } + }, + "descriptionHTML": "

    Exclude attributes from the API response to improve performance

    " } ], "x-codeSamples": [ @@ -21851,7 +21953,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "404", @@ -21943,7 +22045,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "404", @@ -22212,8 +22314,6 @@ "subcategory": "outside-collaborators", "subcategoryLabel": "Outside collaborators", "notes": [], - "bodyParameters": [], - "descriptionHTML": "

    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\".

    ", "responses": [ { "httpStatusCode": "202", @@ -22228,21 +22328,16 @@ { "httpStatusCode": "403", "httpStatusMessage": "Forbidden", - "description": "Response if user is the last owner of the organization", - "payload": "
    {\n  \"message\": \"Cannot convert the last owner to an outside collaborator\",\n  \"documentation_url\": \"https://docs.github.com/rest/reference/orgs#convert-member-to-outside-collaborator\"\n}\n
    " - }, - { - "httpStatusCode": "403", - "httpStatusMessage": "Forbidden", - "description": "Response if user is not a member of the organization", - "payload": "
    {\n  \"message\": \"<user> is not a member of the <organization> organization.\",\n  \"documentation_url\": \"https://docs.github.com/rest/reference/orgs#convert-member-to-outside-collaborator\"\n}\n
    " + "description": "Response if user is the last owner of the organization or not a member of the organization" }, { "httpStatusCode": "404", "httpStatusMessage": "Not Found", "description": "Resource not found" } - ] + ], + "bodyParameters": [], + "descriptionHTML": "

    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\".

    " }, { "verb": "delete", @@ -22309,7 +22404,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "422", @@ -22486,7 +22581,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "401", @@ -22548,6 +22643,16 @@ "type": "string" }, "descriptionHTML": "" + }, + { + "name": "token", + "description": "package token", + "schema": { + "type": "string" + }, + "required": false, + "in": "query", + "descriptionHTML": "

    package token

    " } ], "x-codeSamples": [ @@ -22587,7 +22692,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "401", @@ -22649,6 +22754,41 @@ "type": "string" }, "descriptionHTML": "" + }, + { + "name": "page", + "description": "Page number of the results to fetch.", + "in": "query", + "schema": { + "type": "integer", + "default": 1 + }, + "descriptionHTML": "

    Page number of the results to fetch.

    " + }, + { + "name": "per_page", + "description": "Results per page (max 100).", + "in": "query", + "schema": { + "type": "integer", + "default": 30 + }, + "descriptionHTML": "

    Results per page (max 100).

    " + }, + { + "name": "state", + "in": "query", + "required": false, + "description": "The state of the package, either active or deleted.", + "schema": { + "type": "string", + "enum": [ + "active", + "deleted" + ], + "default": "active" + }, + "descriptionHTML": "

    The state of the package, either active or deleted.

    " } ], "x-codeSamples": [ @@ -22668,7 +22808,7 @@ "tags": [ "packages" ], - "operationId": "packages/get-all-package-versions-for-a-package-owned-by-an-org", + "operationId": "packages/get-all-package-versions-for-package-owned-by-org", "externalDocs": { "description": "API method documentation", "url": "https://docs.github.com/rest/reference/packages#get-all-package-versions-for-a-package-owned-by-the-authenticated-user" @@ -22897,7 +23037,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "401", @@ -23008,7 +23148,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "401", @@ -23500,7 +23640,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "403", @@ -23574,7 +23714,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "bodyParameters": [], @@ -23596,7 +23736,7 @@ }, { "name": "type", - "description": "Specifies the types of repositories you want returned. Can be one of `all`, `public`, `private`, `forks`, `sources`, `member`, `internal`. Default: `all`. If your organization is associated with an enterprise account using GitHub Enterprise Cloud or GitHub Enterprise Server 2.20+, `type` can also be `internal`.", + "description": "Specifies the types of repositories you want returned. Can be one of `all`, `public`, `private`, `forks`, `sources`, `member`, `internal`. Note: For GitHub AE, can be one of `all`, `private`, `forks`, `sources`, `member`, `internal`. Default: `all`. If your organization is associated with an enterprise account using GitHub Enterprise Cloud or GitHub Enterprise Server 2.20+, `type` can also be `internal`.", "in": "query", "required": false, "schema": { @@ -23611,7 +23751,7 @@ "internal" ] }, - "descriptionHTML": "

    Specifies the types of repositories you want returned. Can be one of all, public, private, forks, sources, member, internal. Default: all. If your organization is associated with an enterprise account using GitHub Enterprise Cloud or GitHub Enterprise Server 2.20+, type can also be internal.

    " + "descriptionHTML": "

    Specifies the types of repositories you want returned. Can be one of all, public, private, forks, sources, member, internal. Note: For GitHub AE, can be one of all, private, forks, sources, member, internal. Default: all. If your organization is associated with an enterprise account using GitHub Enterprise Cloud or GitHub Enterprise Server 2.20+, type can also be internal.

    " }, { "name": "sort", @@ -23750,7 +23890,7 @@ } ], "summary": "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", + "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", "tags": [ "repos" ], @@ -23794,17 +23934,17 @@ }, "private": { "type": "boolean", - "description": "

    Either true to create a private repository or false to create a public one.

    ", + "description": "

    Whether the repository is private.

    ", "default": false, "name": "private", "in": "body", "rawType": "boolean", - "rawDescription": "Either `true` to create a private repository or `false` to create a public one.", + "rawDescription": "Whether the repository is private.", "childParamsGroups": [] }, "visibility": { "type": "string", - "description": "

    Can be public or private. If your organization is associated with an enterprise account using GitHub Enterprise Cloud or GitHub Enterprise Server 2.20+, visibility can also be internal. For more information, see \"Creating an internal repository\" in the GitHub Help documentation.
    \nThe visibility parameter overrides the private parameter when you use both parameters with the nebula-preview preview header.

    ", + "description": "

    Can be public or private. If your organization is associated with an enterprise account using GitHub Enterprise Cloud or GitHub Enterprise Server 2.20+, visibility can also be internal. Note: For GitHub Enterprise Server and GitHub AE, this endpoint will only list repositories available to all users on the enterprise. For more information, see \"Creating an internal repository\" in the GitHub Help documentation.
    \nThe visibility parameter overrides the private parameter when you use both parameters with the nebula-preview preview header.

    ", "enum": [ "public", "private", @@ -23814,7 +23954,7 @@ "name": "visibility", "in": "body", "rawType": "string", - "rawDescription": "Can be `public` or `private`. If your organization is associated with an enterprise account using GitHub Enterprise Cloud or GitHub Enterprise Server 2.20+, `visibility` can also be `internal`. For more information, see \"[Creating an internal repository](https://help.github.com/en/github/creating-cloning-and-archiving-repositories/about-repository-visibility#about-internal-repositories)\" in the GitHub Help documentation. \nThe `visibility` parameter overrides the `private` parameter when you use both parameters with the `nebula-preview` preview header.", + "rawDescription": "Can be `public` or `private`. If your organization is associated with an enterprise account using GitHub Enterprise Cloud or GitHub Enterprise Server 2.20+, `visibility` can also be `internal`. Note: For GitHub Enterprise Server and GitHub AE, this endpoint will only list repositories available to all users on the enterprise. For more information, see \"[Creating an internal repository](https://help.github.com/en/github/creating-cloning-and-archiving-repositories/about-repository-visibility#about-internal-repositories)\" in the GitHub Help documentation. \nThe `visibility` parameter overrides the `private` parameter when you use both parameters with the `nebula-preview` preview header.", "childParamsGroups": [] }, "has_issues": { @@ -23975,7 +24115,7 @@ "category": "repos", "categoryLabel": "Repos", "notes": [], - "descriptionHTML": "

    Creates a new repository in the specified organization. The authenticated user must be a member of the organization.

    \n

    OAuth scope requirements

    \n

    When using OAuth, 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
    ", + "descriptionHTML": "

    Creates a new repository in the specified organization. The authenticated user must be a member of the organization.

    \n

    OAuth scope requirements

    \n

    When using OAuth, 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
    ", "bodyParameters": [ { "type": "string", @@ -24006,17 +24146,17 @@ }, { "type": "boolean", - "description": "

    Either true to create a private repository or false to create a public one.

    ", + "description": "

    Whether the repository is private.

    ", "default": false, "name": "private", "in": "body", "rawType": "boolean", - "rawDescription": "Either `true` to create a private repository or `false` to create a public one.", + "rawDescription": "Whether the repository is private.", "childParamsGroups": [] }, { "type": "string", - "description": "

    Can be public or private. If your organization is associated with an enterprise account using GitHub Enterprise Cloud or GitHub Enterprise Server 2.20+, visibility can also be internal. For more information, see \"Creating an internal repository\" in the GitHub Help documentation.
    \nThe visibility parameter overrides the private parameter when you use both parameters with the nebula-preview preview header.

    ", + "description": "

    Can be public or private. If your organization is associated with an enterprise account using GitHub Enterprise Cloud or GitHub Enterprise Server 2.20+, visibility can also be internal. Note: For GitHub Enterprise Server and GitHub AE, this endpoint will only list repositories available to all users on the enterprise. For more information, see \"Creating an internal repository\" in the GitHub Help documentation.
    \nThe visibility parameter overrides the private parameter when you use both parameters with the nebula-preview preview header.

    ", "enum": [ "public", "private", @@ -24026,7 +24166,7 @@ "name": "visibility", "in": "body", "rawType": "string", - "rawDescription": "Can be `public` or `private`. If your organization is associated with an enterprise account using GitHub Enterprise Cloud or GitHub Enterprise Server 2.20+, `visibility` can also be `internal`. For more information, see \"[Creating an internal repository](https://help.github.com/en/github/creating-cloning-and-archiving-repositories/about-repository-visibility#about-internal-repositories)\" in the GitHub Help documentation. \nThe `visibility` parameter overrides the `private` parameter when you use both parameters with the `nebula-preview` preview header.", + "rawDescription": "Can be `public` or `private`. If your organization is associated with an enterprise account using GitHub Enterprise Cloud or GitHub Enterprise Server 2.20+, `visibility` can also be `internal`. Note: For GitHub Enterprise Server and GitHub AE, this endpoint will only list repositories available to all users on the enterprise. For more information, see \"[Creating an internal repository](https://help.github.com/en/github/creating-cloning-and-archiving-repositories/about-repository-visibility#about-internal-repositories)\" in the GitHub Help documentation. \nThe `visibility` parameter overrides the `private` parameter when you use both parameters with the `nebula-preview` preview header.", "childParamsGroups": [] }, { @@ -24194,7 +24334,7 @@ } ], "summary": "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.", + "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://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.", "operationId": "billing/get-github-actions-billing-org", "tags": [ "billing" @@ -24215,7 +24355,7 @@ "categoryLabel": "Billing", "notes": [], "bodyParameters": [], - "descriptionHTML": "

    Gets the summary of the free and paid GitHub Actions minutes used.

    \n

    Paid 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\".

    \n

    Access tokens must have the repo or admin:org scope.

    ", + "descriptionHTML": "

    Gets the summary of the free and paid GitHub Actions minutes used.

    \n

    Paid 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\".

    \n

    Access tokens must have the repo or admin:org scope.

    ", "responses": [ { "httpStatusCode": "200", @@ -24369,13 +24509,12 @@ }, { "name": "page", - "description": "Page number of the results to fetch.", + "description": "Page token", "in": "query", "schema": { - "type": "integer", - "default": 1 + "type": "string" }, - "descriptionHTML": "

    Page number of the results to fetch.

    " + "descriptionHTML": "

    Page token

    " } ], "x-codeSamples": [ @@ -25090,7 +25229,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "bodyParameters": [], @@ -25154,6 +25293,16 @@ "default": 1 }, "descriptionHTML": "

    Page number of the results to fetch.

    " + }, + { + "name": "pinned", + "in": "query", + "required": false, + "description": "Pinned discussions only filter", + "schema": { + "type": "string" + }, + "descriptionHTML": "

    Pinned discussions only filter

    " } ], "x-codeSamples": [ @@ -25662,7 +25811,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "bodyParameters": [], @@ -26224,7 +26373,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "bodyParameters": [], @@ -26610,7 +26759,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "bodyParameters": [], @@ -26969,7 +27118,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "bodyParameters": [], @@ -27220,7 +27369,7 @@ } ], "summary": "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).", + "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).", "tags": [ "teams" ], @@ -27243,26 +27392,14 @@ "subcategoryLabel": "Members", "notes": [], "bodyParameters": [], - "descriptionHTML": "

    Team members will include the members of child teams.

    \n

    To get a user's membership with a team, the team must be visible to the authenticated user.

    \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

    Note: The role for organization owners returns as maintainer. For more information about maintainer roles, see Create a team.

    ", + "descriptionHTML": "

    Team members will include the members of child teams.

    \n

    To get a user's membership with a team, the team must be visible to the authenticated user.

    \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

    Note:\nThe response contains the state of the membership and the member's role.

    \n

    The role for organization owners is set to maintainer. For more information about maintainer roles, see see Create a team.

    ", "responses": [ - { - "httpStatusCode": "200", - "httpStatusMessage": "OK", - "description": "Response if user has an active membership with team", - "payload": "
    {\n  \"url\": \"https://api.github.com/teams/1/memberships/octocat\",\n  \"role\": \"member\",\n  \"state\": \"active\"\n}\n
    " - }, { "httpStatusCode": "200", "httpStatusMessage": "OK", "description": "Response if user is a team maintainer", "payload": "
    {\n  \"url\": \"https://api.github.com/teams/1/memberships/octocat\",\n  \"role\": \"maintainer\",\n  \"state\": \"active\"\n}\n
    " }, - { - "httpStatusCode": "200", - "httpStatusMessage": "OK", - "description": "Response if user has a pending membership with team", - "payload": "
    {\n  \"url\": \"https://api.github.com/teams/1/memberships/octocat\",\n  \"role\": \"member\",\n  \"state\": \"pending\"\n}\n
    " - }, { "httpStatusCode": "404", "httpStatusMessage": "Not Found", @@ -27382,12 +27519,6 @@ } ], "responses": [ - { - "httpStatusCode": "200", - "httpStatusMessage": "OK", - "description": "Response if user's membership with team is now active", - "payload": "
    {\n  \"url\": \"https://api.github.com/teams/1/memberships/octocat\",\n  \"role\": \"member\",\n  \"state\": \"active\"\n}\n
    " - }, { "httpStatusCode": "200", "httpStatusMessage": "OK", @@ -27402,8 +27533,7 @@ { "httpStatusCode": "422", "httpStatusMessage": "Unprocessable Entity", - "description": "Response if you attempt to add an organization to a team", - "payload": "
    {\n  \"message\": \"Cannot add an organization as a member.\",\n  \"errors\": [\n    {\n      \"code\": \"org\",\n      \"field\": \"user\",\n      \"resource\": \"TeamMember\"\n    }\n  ]\n}\n
    " + "description": "Response if you attempt to add an organization to a team" } ] }, @@ -27480,7 +27610,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "403", @@ -27798,7 +27928,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "403", @@ -27879,7 +28009,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "bodyParameters": [], @@ -28177,7 +28307,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "descriptionHTML": "

    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.\"

    \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

    For more information about the permission levels, see \"Repository permission levels for an organization\".

    ", @@ -28280,7 +28410,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "bodyParameters": [], @@ -29002,7 +29132,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "304", @@ -29448,7 +29578,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "304", @@ -30471,7 +30601,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "304", @@ -30594,7 +30724,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "304", @@ -31084,7 +31214,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "304", @@ -31699,7 +31829,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "403", @@ -31957,7 +32087,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "bodyParameters": [], @@ -32384,7 +32514,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "descriptionHTML": "

    Sets the GitHub Actions permissions policy for enabling GitHub Actions and allowed actions in the repository.

    \n

    If 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

    You 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.

    ", @@ -32605,7 +32735,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "descriptionHTML": "

    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.\"

    \n

    If 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

    To 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

    You 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.

    ", @@ -33095,7 +33225,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "bodyParameters": [], @@ -33399,7 +33529,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "bodyParameters": [], @@ -33931,7 +34061,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "bodyParameters": [], @@ -34806,7 +34936,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "bodyParameters": [], @@ -35069,7 +35199,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "bodyParameters": [], @@ -35198,7 +35328,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "descriptionHTML": "

    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

    You must configure your GitHub Actions workflow to run when the workflow_dispatch webhook 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.\"

    \n

    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. For more information, see \"Creating a personal access token for the command line.\"

    ", @@ -35307,7 +35437,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "bodyParameters": [], @@ -35808,7 +35938,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "bodyParameters": [], @@ -35882,7 +36012,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "bodyParameters": [], @@ -35984,12 +36114,6 @@ "httpStatusCode": "200", "httpStatusMessage": "OK", "description": "Default response", - "payload": "
    [\n  {\n    \"name\": \"master\",\n    \"commit\": {\n      \"sha\": \"c5b97d5ae6c19d5c5df71a34c7fbeeda2479ccbc\",\n      \"url\": \"https://api.github.com/repos/octocat/Hello-World/commits/c5b97d5ae6c19d5c5df71a34c7fbeeda2479ccbc\"\n    },\n    \"protected\": true\n  }\n]\n
    " - }, - { - "httpStatusCode": "200", - "httpStatusMessage": "OK", - "description": "With protection", "payload": "
    [\n  {\n    \"name\": \"master\",\n    \"commit\": {\n      \"sha\": \"c5b97d5ae6c19d5c5df71a34c7fbeeda2479ccbc\",\n      \"url\": \"https://api.github.com/repos/octocat/Hello-World/commits/c5b97d5ae6c19d5c5df71a34c7fbeeda2479ccbc\"\n    },\n    \"protected\": true,\n    \"protection\": {\n      \"enabled\": true,\n      \"required_status_checks\": {\n        \"enforcement_level\": \"non_admins\",\n        \"contexts\": [\n          \"ci-test\",\n          \"linter\"\n        ]\n      }\n    },\n    \"protection_url\": \"https://api.github.com/repos/octocat/hello-world/branches/master/protection\"\n  }\n]\n
    " }, { @@ -37296,7 +37420,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "403", @@ -41866,7 +41990,7 @@ "name", "head_sha" ], - "anyOf": [ + "oneOf": [ { "properties": { "status": { @@ -41876,6 +42000,7 @@ } }, "required": [ + "status", "conclusion" ], "additionalProperties": true @@ -41895,7 +42020,7 @@ }, "examples": { "example-of-in-progress-conclusion": { - "summary": "Example of in_progress conclusion", + "summary": "Response for in_progress conclusion", "value": { "name": "mighty_readme", "head_sha": "ce587453ced02b1526dfb4cb910479d431683101", @@ -41910,7 +42035,7 @@ } }, "example-of-completed-conclusion": { - "summary": "Example of completed conclusion", + "summary": "Response for completed conclusion", "value": { "name": "mighty_readme", "head_sha": "ce587453ced02b1526dfb4cb910479d431683101", @@ -41977,12 +42102,6 @@ "notes": [], "descriptionHTML": "

    Note: The Checks API only looks for pushes in the repository where the check 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

    Creates 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

    In 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.

    ", "responses": [ - { - "httpStatusCode": "201", - "httpStatusMessage": "Created", - "description": "Response for in_progress conclusion", - "payload": "
    {\n  \"id\": 4,\n  \"head_sha\": \"ce587453ced02b1526dfb4cb910479d431683101\",\n  \"node_id\": \"MDg6Q2hlY2tSdW40\",\n  \"external_id\": \"42\",\n  \"url\": \"https://api.github.com/repos/github/hello-world/check-runs/4\",\n  \"html_url\": \"https://github.com/github/hello-world/runs/4\",\n  \"details_url\": \"https://example.com\",\n  \"status\": \"in_progress\",\n  \"conclusion\": \"neutral\",\n  \"started_at\": \"2018-05-04T01:14:52Z\",\n  \"completed_at\": null,\n  \"output\": {\n    \"title\": \"Mighty Readme Report\",\n    \"summary\": \"\",\n    \"text\": \"\",\n    \"annotations_count\": 1,\n    \"annotations_url\": \"https://api.github.com/repos/github/hello-world/check-runs/4/annotations\"\n  },\n  \"name\": \"mighty_readme\",\n  \"check_suite\": {\n    \"id\": 5\n  },\n  \"app\": {\n    \"id\": 1,\n    \"slug\": \"octoapp\",\n    \"node_id\": \"MDExOkludGVncmF0aW9uMQ==\",\n    \"owner\": {\n      \"login\": \"github\",\n      \"id\": 1,\n      \"node_id\": \"MDEyOk9yZ2FuaXphdGlvbjE=\",\n      \"url\": \"https://api.github.com/orgs/github\",\n      \"repos_url\": \"https://api.github.com/orgs/github/repos\",\n      \"events_url\": \"https://api.github.com/orgs/github/events\",\n      \"avatar_url\": \"https://github.com/images/error/octocat_happy.gif\",\n      \"gravatar_id\": \"\",\n      \"html_url\": \"https://github.com/octocat\",\n      \"followers_url\": \"https://api.github.com/users/octocat/followers\",\n      \"following_url\": \"https://api.github.com/users/octocat/following{/other_user}\",\n      \"gists_url\": \"https://api.github.com/users/octocat/gists{/gist_id}\",\n      \"starred_url\": \"https://api.github.com/users/octocat/starred{/owner}{/repo}\",\n      \"subscriptions_url\": \"https://api.github.com/users/octocat/subscriptions\",\n      \"organizations_url\": \"https://api.github.com/users/octocat/orgs\",\n      \"received_events_url\": \"https://api.github.com/users/octocat/received_events\",\n      \"type\": \"User\",\n      \"site_admin\": true\n    },\n    \"name\": \"Octocat App\",\n    \"description\": \"\",\n    \"external_url\": \"https://example.com\",\n    \"html_url\": \"https://github.com/apps/octoapp\",\n    \"created_at\": \"2017-07-08T16:18:44-04:00\",\n    \"updated_at\": \"2017-07-08T16:18:44-04:00\",\n    \"permissions\": {\n      \"metadata\": \"read\",\n      \"contents\": \"read\",\n      \"issues\": \"write\",\n      \"single_file\": \"write\"\n    },\n    \"events\": [\n      \"push\",\n      \"pull_request\"\n    ]\n  },\n  \"pull_requests\": [\n    {\n      \"url\": \"https://api.github.com/repos/github/hello-world/pulls/1\",\n      \"id\": 1934,\n      \"number\": 3956,\n      \"head\": {\n        \"ref\": \"say-hello\",\n        \"sha\": \"3dca65fa3e8d4b3da3f3d056c59aee1c50f41390\",\n        \"repo\": {\n          \"id\": 526,\n          \"url\": \"https://api.github.com/repos/github/hello-world\",\n          \"name\": \"hello-world\"\n        }\n      },\n      \"base\": {\n        \"ref\": \"master\",\n        \"sha\": \"e7fdf7640066d71ad16a86fbcbb9c6a10a18af4f\",\n        \"repo\": {\n          \"id\": 526,\n          \"url\": \"https://api.github.com/repos/github/hello-world\",\n          \"name\": \"hello-world\"\n        }\n      }\n    }\n  ]\n}\n
    " - }, { "httpStatusCode": "201", "httpStatusMessage": "Created", @@ -45847,7 +45966,7 @@ "required": false, "schema": { "type": "string", - "description": "The full Git reference, formatted as `refs/heads/`." + "description": "The full Git reference, formatted as `refs/heads/`,\n`refs/pull//merge`, or `refs/pull//head`." }, "descriptionHTML": "

    The Git reference for the results you want to list. The ref for a branch can be formatted either as refs/heads/<branch name> or simply <branch name>. To reference a pull request use refs/pull/<number>/merge.

    " }, @@ -45861,6 +45980,7 @@ "description": "State of a code scanning alert.", "enum": [ "open", + "closed", "dismissed", "fixed" ] @@ -45881,7 +46001,7 @@ } ], "summary": "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 the default branch or for the specified Git reference\n(if you used `ref` in the request).", + "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).", "tags": [ "code-scanning" ], @@ -45902,7 +46022,7 @@ "categoryLabel": "Code scanning", "notes": [], "bodyParameters": [], - "descriptionHTML": "

    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

    The response includes a most_recent_instance object.\nThis provides details of the most recent instance of this alert\nfor the the default branch or for the specified Git reference\n(if you used ref in the request).

    ", + "descriptionHTML": "

    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

    The 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).

    ", "responses": [ { "httpStatusCode": "200", @@ -45913,7 +46033,7 @@ { "httpStatusCode": "403", "httpStatusMessage": "Forbidden", - "description": "Response if github advanced security is not enabled for this repository" + "description": "Response if git hub advanced security is not enabled for this repository" }, { "httpStatusCode": "404", @@ -46009,7 +46129,7 @@ { "httpStatusCode": "403", "httpStatusMessage": "Forbidden", - "description": "Response if github advanced security is not enabled for this repository" + "description": "Response if git hub advanced security is not enabled for this repository" }, { "httpStatusCode": "404", @@ -46274,7 +46394,7 @@ "required": false, "schema": { "type": "string", - "description": "The full Git reference, formatted as `refs/heads/`." + "description": "The full Git reference, formatted as `refs/heads/`,\n`refs/pull//merge`, or `refs/pull//head`." }, "descriptionHTML": "

    The Git reference for the results you want to list. The ref for a branch can be formatted either as refs/heads/<branch name> or simply <branch name>. To reference a pull request use refs/pull/<number>/merge.

    " } @@ -46324,7 +46444,7 @@ { "httpStatusCode": "403", "httpStatusMessage": "Forbidden", - "description": "Response if github advanced security is not enabled for this repository" + "description": "Response if git hub advanced security is not enabled for this repository" }, { "httpStatusCode": "404", @@ -46411,7 +46531,7 @@ "required": false, "schema": { "type": "string", - "description": "The full Git reference, formatted as `refs/heads/`." + "description": "The full Git reference, formatted as `refs/heads/`,\n`refs/pull//merge`, or `refs/pull//head`." }, "descriptionHTML": "

    The Git reference for the analyses you want to list. The ref for a branch can be formatted either as refs/heads/<branch name> or simply <branch name>. To reference a pull request use refs/pull/<number>/merge.

    " }, @@ -46473,7 +46593,7 @@ { "httpStatusCode": "403", "httpStatusMessage": "Forbidden", - "description": "Response if github advanced security is not enabled for this repository" + "description": "Response if git hub advanced security is not enabled for this repository" }, { "httpStatusCode": "404", @@ -46565,7 +46685,7 @@ { "httpStatusCode": "403", "httpStatusMessage": "Forbidden", - "description": "Response if github advanced security is not enabled for this repository" + "description": "Response if git hub advanced security is not enabled for this repository" }, { "httpStatusCode": "404", @@ -46615,12 +46735,13 @@ { "name": "confirm_delete", "in": "query", - "description": "Allow deletion if the specified analysis is the last in a set. The parameter can be used without a value as the parameter value is not considered. If you attempt to delete the final analysis in a set without using this parameter you'll get a 400 response with the message: `Analysis is last of its type and deletion may result in the loss of historical alert data. Please specify confirm_delete.`", + "description": "Allow deletion if the specified analysis is the last in a set. If you attempt to delete the final analysis in a set without setting this parameter to `true`, you'll get a 400 response with the message: `Analysis is last of its type and deletion may result in the loss of historical alert data. Please specify confirm_delete.`", "required": false, "schema": { - "type": "string" + "type": "string", + "nullable": true }, - "descriptionHTML": "

    Allow deletion if the specified analysis is the last in a set. The parameter can be used without a value as the parameter value is not considered. If you attempt to delete the final analysis in a set without using this parameter you'll get a 400 response with the message: Analysis is last of its type and deletion may result in the loss of historical alert data. Please specify confirm_delete.

    " + "descriptionHTML": "

    Allow deletion if the specified analysis is the last in a set. If you attempt to delete the final analysis in a set without setting this parameter to true, you'll get a 400 response with the message: Analysis is last of its type and deletion may result in the loss of historical alert data. Please specify confirm_delete.

    " } ], "x-codeSamples": [ @@ -46723,7 +46844,7 @@ } ], "summary": "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\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\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).\"", + "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/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/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\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).\"", "operationId": "code-scanning/upload-sarif", "tags": [ "code-scanning" @@ -46752,11 +46873,11 @@ }, "ref": { "type": "string", - "description": "

    Required. The full Git reference, formatted as refs/heads/<branch name>.

    ", + "description": "

    Required. The full Git reference, formatted as refs/heads/<branch name>,\nrefs/pull/<number>/merge, or refs/pull/<number>/head.

    ", "name": "ref", "in": "body", "rawType": "string", - "rawDescription": "The full Git reference, formatted as `refs/heads/`.", + "rawDescription": "The full Git reference, formatted as `refs/heads/`,\n`refs/pull//merge`, or `refs/pull//head`.", "childParamsGroups": [] }, "sarif": { @@ -46818,7 +46939,7 @@ "category": "code-scanning", "categoryLabel": "Code scanning", "notes": [], - "descriptionHTML": "

    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

    You 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
    gzip -c analysis-data.sarif | base64\n
    \n

    SARIF 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

    The 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.\"

    ", + "descriptionHTML": "

    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

    There are two places where you can upload code scanning results.

    \n\n

    You 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
    gzip -c analysis-data.sarif | base64\n
    \n

    SARIF 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

    The 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.\"

    ", "bodyParameters": [ { "description": "

    Required. The SHA of the commit to which the analysis you are uploading relates.

    ", @@ -46834,11 +46955,11 @@ }, { "type": "string", - "description": "

    Required. The full Git reference, formatted as refs/heads/<branch name>.

    ", + "description": "

    Required. The full Git reference, formatted as refs/heads/<branch name>,\nrefs/pull/<number>/merge, or refs/pull/<number>/head.

    ", "name": "ref", "in": "body", "rawType": "string", - "rawDescription": "The full Git reference, formatted as `refs/heads/`.", + "rawDescription": "The full Git reference, formatted as `refs/heads/`,\n`refs/pull//merge`, or `refs/pull//head`.", "childParamsGroups": [] }, { @@ -46993,7 +47114,7 @@ { "httpStatusCode": "403", "httpStatusMessage": "Forbidden", - "description": "Response if github advanced security is not enabled for this repository" + "description": "Response if git hub advanced security is not enabled for this repository" }, { "httpStatusCode": "404", @@ -47432,7 +47553,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "bodyParameters": [], @@ -47905,7 +48026,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "404", @@ -48295,7 +48416,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "bodyParameters": [], @@ -48393,6 +48514,28 @@ "default": 1 }, "descriptionHTML": "

    Page number of the results to fetch.

    " + }, + { + "name": "top", + "description": "legacy parameter for pagination.", + "in": "query", + "deprecated": true, + "required": false, + "schema": { + "type": "string" + }, + "descriptionHTML": "

    legacy parameter for pagination.

    " + }, + { + "name": "last_sha", + "description": "legacy parameter for pagination.", + "in": "query", + "deprecated": true, + "required": false, + "schema": { + "type": "string" + }, + "descriptionHTML": "

    legacy parameter for pagination.

    " } ], "x-codeSamples": [ @@ -48988,16 +49131,36 @@ }, "descriptionHTML": "" }, + { + "name": "page", + "description": "Page number of the results to fetch.", + "in": "query", + "schema": { + "type": "integer", + "default": 1 + }, + "descriptionHTML": "

    Page number of the results to fetch.

    " + }, + { + "name": "per_page", + "description": "Results per page (max 100).", + "in": "query", + "schema": { + "type": "integer", + "default": 30 + }, + "descriptionHTML": "

    Results per page (max 100).

    " + }, { "name": "ref", - "description": "ref+ parameter", + "description": "ref parameter", "in": "path", "required": true, "schema": { "type": "string" }, "x-multi-segment": true, - "descriptionHTML": "

    ref+ parameter

    " + "descriptionHTML": "

    ref parameter

    " } ], "x-codeSamples": [ @@ -49086,14 +49249,14 @@ }, { "name": "ref", - "description": "ref+ parameter", + "description": "ref parameter", "in": "path", "required": true, "schema": { "type": "string" }, "x-multi-segment": true, - "descriptionHTML": "

    ref+ parameter

    " + "descriptionHTML": "

    ref parameter

    " }, { "name": "check_name", @@ -49154,6 +49317,15 @@ "default": 1 }, "descriptionHTML": "

    Page number of the results to fetch.

    " + }, + { + "name": "app_id", + "in": "query", + "required": false, + "schema": { + "type": "integer" + }, + "descriptionHTML": "" } ], "x-codeSamples": [ @@ -49227,14 +49399,14 @@ }, { "name": "ref", - "description": "ref+ parameter", + "description": "ref parameter", "in": "path", "required": true, "schema": { "type": "string" }, "x-multi-segment": true, - "descriptionHTML": "

    ref+ parameter

    " + "descriptionHTML": "

    ref parameter

    " }, { "name": "app_id", @@ -49349,14 +49521,34 @@ }, { "name": "ref", - "description": "ref+ parameter", + "description": "ref parameter", "in": "path", "required": true, "schema": { "type": "string" }, "x-multi-segment": true, - "descriptionHTML": "

    ref+ parameter

    " + "descriptionHTML": "

    ref parameter

    " + }, + { + "name": "per_page", + "description": "Results per page (max 100).", + "in": "query", + "schema": { + "type": "integer", + "default": 30 + }, + "descriptionHTML": "

    Results per page (max 100).

    " + }, + { + "name": "page", + "description": "Page number of the results to fetch.", + "in": "query", + "schema": { + "type": "integer", + "default": 1 + }, + "descriptionHTML": "

    Page number of the results to fetch.

    " } ], "x-codeSamples": [ @@ -49435,14 +49627,14 @@ }, { "name": "ref", - "description": "ref+ parameter", + "description": "ref parameter", "in": "path", "required": true, "schema": { "type": "string" }, "x-multi-segment": true, - "descriptionHTML": "

    ref+ parameter

    " + "descriptionHTML": "

    ref parameter

    " }, { "name": "per_page", @@ -49700,6 +49892,26 @@ "type": "string" }, "descriptionHTML": "" + }, + { + "name": "per_page", + "description": "Results per page.", + "in": "query", + "schema": { + "type": "integer", + "default": 250 + }, + "descriptionHTML": "

    Results per page.

    " + }, + { + "name": "page", + "description": "Page number of the results to fetch.", + "in": "query", + "schema": { + "type": "integer", + "default": 1 + }, + "descriptionHTML": "

    Page number of the results to fetch.

    " } ], "x-codeSamples": [ @@ -49715,7 +49927,7 @@ } ], "summary": "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. |", + "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\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. |", "tags": [ "repos" ], @@ -49738,7 +49950,7 @@ "subcategoryLabel": "Commits", "notes": [], "bodyParameters": [], - "descriptionHTML": "

    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 <USERNAME>:branch.

    \n

    The 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 to fetch diff and patch formats.

    \n

    The 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

    Working with large comparisons

    \n

    The 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 to enumerate all commits in the range.

    \n

    For 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

    Signature verification object

    \n

    The response will 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\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameTypeDescription
    verifiedbooleanIndicates whether GitHub considers the signature in this commit to be verified.
    reasonstringThe reason for verified value. Possible values and their meanings are enumerated in table below.
    signaturestringThe signature that was extracted from the commit.
    payloadstringThe value that was signed.
    \n

    These are the possible values for reason in the verification object:

    \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    ValueDescription
    expired_keyThe key that made the signature is expired.
    not_signing_keyThe "signing" flag is not among the usage flags in the GPG key that made the signature.
    gpgverify_errorThere was an error communicating with the signature verification service.
    gpgverify_unavailableThe signature verification service is currently unavailable.
    unsignedThe object does not include a signature.
    unknown_signature_typeA non-PGP signature was found in the commit.
    no_userNo user was associated with the committer email address in the commit.
    unverified_emailThe committer email address in the commit was associated with a user, but the email address is not verified on her/his account.
    bad_emailThe committer email address in the commit is not included in the identities of the PGP key that made the signature.
    unknown_keyThe key that made the signature has not been registered with any user's account.
    malformed_signatureThere was an error parsing the signature.
    invalidThe signature could not be cryptographically verified using the key whose key-id was found in the signature.
    validNone of the above errors applied, so the signature is considered to be verified.
    ", + "descriptionHTML": "

    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 <USERNAME>:branch.

    \n

    The 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 to fetch diff and patch formats.

    \n

    The 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

    Working with large comparisons

    \n

    To 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."

    \n

    When 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

    Signature verification object

    \n

    The response will 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\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameTypeDescription
    verifiedbooleanIndicates whether GitHub considers the signature in this commit to be verified.
    reasonstringThe reason for verified value. Possible values and their meanings are enumerated in table below.
    signaturestringThe signature that was extracted from the commit.
    payloadstringThe value that was signed.
    \n

    These are the possible values for reason in the verification object:

    \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    ValueDescription
    expired_keyThe key that made the signature is expired.
    not_signing_keyThe "signing" flag is not among the usage flags in the GPG key that made the signature.
    gpgverify_errorThere was an error communicating with the signature verification service.
    gpgverify_unavailableThe signature verification service is currently unavailable.
    unsignedThe object does not include a signature.
    unknown_signature_typeA non-PGP signature was found in the commit.
    no_userNo user was associated with the committer email address in the commit.
    unverified_emailThe committer email address in the commit was associated with a user, but the email address is not verified on her/his account.
    bad_emailThe committer email address in the commit is not included in the identities of the PGP key that made the signature.
    unknown_keyThe key that made the signature has not been registered with any user's account.
    malformed_signatureThere was an error parsing the signature.
    invalidThe signature could not be cryptographically verified using the key whose key-id was found in the signature.
    validNone of the above errors applied, so the signature is considered to be verified.
    ", "responses": [ { "httpStatusCode": "200", @@ -49783,14 +49995,14 @@ }, { "name": "path", - "description": "path+ parameter", + "description": "path parameter", "in": "path", "required": true, "schema": { "type": "string" }, "x-multi-segment": true, - "descriptionHTML": "

    path+ parameter

    " + "descriptionHTML": "

    path parameter

    " }, { "name": "ref", @@ -49907,14 +50119,14 @@ }, { "name": "path", - "description": "path+ parameter", + "description": "path parameter", "in": "path", "required": true, "schema": { "type": "string" }, "x-multi-segment": true, - "descriptionHTML": "

    path+ parameter

    " + "descriptionHTML": "

    path parameter

    " } ], "x-codeSamples": [ @@ -50430,14 +50642,14 @@ }, { "name": "path", - "description": "path+ parameter", + "description": "path parameter", "in": "path", "required": true, "schema": { "type": "string" }, "x-multi-segment": true, - "descriptionHTML": "

    path+ parameter

    " + "descriptionHTML": "

    path parameter

    " } ], "x-codeSamples": [ @@ -50980,7 +51192,8 @@ "required": false, "schema": { "type": "string", - "default": "none" + "default": "none", + "nullable": true }, "descriptionHTML": "

    The name of the environment that was deployed to (e.g., staging or production).

    " }, @@ -51385,12 +51598,6 @@ "description": "Simple example", "payload": "
    {\n  \"url\": \"https://api.github.com/repos/octocat/example/deployments/1\",\n  \"id\": 1,\n  \"node_id\": \"MDEwOkRlcGxveW1lbnQx\",\n  \"sha\": \"a84d88e7554fc1fa21bcbc4efae3c782a70d2b9d\",\n  \"ref\": \"topic-branch\",\n  \"task\": \"deploy\",\n  \"payload\": {},\n  \"original_environment\": \"staging\",\n  \"environment\": \"production\",\n  \"description\": \"Deploy request from hubot\",\n  \"creator\": {\n    \"login\": \"octocat\",\n    \"id\": 1,\n    \"node_id\": \"MDQ6VXNlcjE=\",\n    \"avatar_url\": \"https://github.com/images/error/octocat_happy.gif\",\n    \"gravatar_id\": \"\",\n    \"url\": \"https://api.github.com/users/octocat\",\n    \"html_url\": \"https://github.com/octocat\",\n    \"followers_url\": \"https://api.github.com/users/octocat/followers\",\n    \"following_url\": \"https://api.github.com/users/octocat/following{/other_user}\",\n    \"gists_url\": \"https://api.github.com/users/octocat/gists{/gist_id}\",\n    \"starred_url\": \"https://api.github.com/users/octocat/starred{/owner}{/repo}\",\n    \"subscriptions_url\": \"https://api.github.com/users/octocat/subscriptions\",\n    \"organizations_url\": \"https://api.github.com/users/octocat/orgs\",\n    \"repos_url\": \"https://api.github.com/users/octocat/repos\",\n    \"events_url\": \"https://api.github.com/users/octocat/events{/privacy}\",\n    \"received_events_url\": \"https://api.github.com/users/octocat/received_events\",\n    \"type\": \"User\",\n    \"site_admin\": false\n  },\n  \"created_at\": \"2012-07-20T01:19:13Z\",\n  \"updated_at\": \"2012-07-20T01:19:13Z\",\n  \"statuses_url\": \"https://api.github.com/repos/octocat/example/deployments/1/statuses\",\n  \"repository_url\": \"https://api.github.com/repos/octocat/example\",\n  \"transient_environment\": false,\n  \"production_environment\": true\n}\n
    " }, - { - "httpStatusCode": "201", - "httpStatusMessage": "Created", - "description": "Advanced example", - "payload": "
    {\n  \"url\": \"https://api.github.com/repos/octocat/example/deployments/1\",\n  \"id\": 1,\n  \"node_id\": \"MDEwOkRlcGxveW1lbnQx\",\n  \"sha\": \"a84d88e7554fc1fa21bcbc4efae3c782a70d2b9d\",\n  \"ref\": \"topic-branch\",\n  \"task\": \"deploy\",\n  \"payload\": {},\n  \"original_environment\": \"staging\",\n  \"environment\": \"production\",\n  \"description\": \"Deploy request from hubot\",\n  \"creator\": {\n    \"login\": \"octocat\",\n    \"id\": 1,\n    \"node_id\": \"MDQ6VXNlcjE=\",\n    \"avatar_url\": \"https://github.com/images/error/octocat_happy.gif\",\n    \"gravatar_id\": \"\",\n    \"url\": \"https://api.github.com/users/octocat\",\n    \"html_url\": \"https://github.com/octocat\",\n    \"followers_url\": \"https://api.github.com/users/octocat/followers\",\n    \"following_url\": \"https://api.github.com/users/octocat/following{/other_user}\",\n    \"gists_url\": \"https://api.github.com/users/octocat/gists{/gist_id}\",\n    \"starred_url\": \"https://api.github.com/users/octocat/starred{/owner}{/repo}\",\n    \"subscriptions_url\": \"https://api.github.com/users/octocat/subscriptions\",\n    \"organizations_url\": \"https://api.github.com/users/octocat/orgs\",\n    \"repos_url\": \"https://api.github.com/users/octocat/repos\",\n    \"events_url\": \"https://api.github.com/users/octocat/events{/privacy}\",\n    \"received_events_url\": \"https://api.github.com/users/octocat/received_events\",\n    \"type\": \"User\",\n    \"site_admin\": false\n  },\n  \"created_at\": \"2012-07-20T01:19:13Z\",\n  \"updated_at\": \"2012-07-20T01:19:13Z\",\n  \"statuses_url\": \"https://api.github.com/repos/octocat/example/deployments/1/statuses\",\n  \"repository_url\": \"https://api.github.com/repos/octocat/example\",\n  \"transient_environment\": false,\n  \"production_environment\": true\n}\n
    " - }, { "httpStatusCode": "202", "httpStatusMessage": "Accepted", @@ -51400,14 +51607,7 @@ { "httpStatusCode": "409", "httpStatusMessage": "Conflict", - "description": "Merge conflict response", - "payload": "
    {\n  \"message\": \"Conflict merging master into topic-branch\"\n}\n
    " - }, - { - "httpStatusCode": "409", - "httpStatusMessage": "Conflict", - "description": "Failed commit status checks", - "payload": "
    {\n  \"message\": \"Conflict: Commit status checks failed for topic-branch.\"\n}\n
    " + "description": "Response when there is a merge conflict or the commit s status checks failed" }, { "httpStatusCode": "422", @@ -51581,7 +51781,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "404", @@ -52209,7 +52409,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "422", @@ -52844,7 +53044,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Default response" } ], "bodyParameters": [], @@ -52972,7 +53172,8 @@ "enum": [ "newest", "oldest", - "stargazers" + "stargazers", + "watchers" ], "default": "newest" }, @@ -52997,6 +53198,28 @@ "default": 1 }, "descriptionHTML": "

    Page number of the results to fetch.

    " + }, + { + "name": "org", + "description": "legacy query parameter for specifying the org.", + "in": "query", + "deprecated": true, + "required": false, + "schema": { + "type": "string" + }, + "descriptionHTML": "

    legacy query parameter for specifying the org.

    " + }, + { + "name": "organization", + "description": "legacy query parameter for specifying the org.", + "in": "query", + "deprecated": true, + "required": false, + "schema": { + "type": "string" + }, + "descriptionHTML": "

    legacy query parameter for specifying the org.

    " } ], "x-codeSamples": [ @@ -53072,6 +53295,28 @@ "type": "string" }, "descriptionHTML": "" + }, + { + "name": "org", + "description": "legacy query parameter for specifying the org.", + "in": "query", + "deprecated": true, + "required": false, + "schema": { + "type": "string" + }, + "descriptionHTML": "

    legacy query parameter for specifying the org.

    " + }, + { + "name": "organization", + "description": "legacy query parameter for specifying the org.", + "in": "query", + "deprecated": true, + "required": false, + "schema": { + "type": "string" + }, + "descriptionHTML": "

    legacy query parameter for specifying the org.

    " } ], "x-codeSamples": [ @@ -53101,6 +53346,7 @@ "application/json": { "schema": { "type": "object", + "nullable": true, "properties": { "organization": { "type": "string", @@ -54001,14 +54247,14 @@ }, { "name": "ref", - "description": "ref+ parameter", + "description": "ref parameter", "in": "path", "required": true, "schema": { "type": "string" }, "x-multi-segment": true, - "descriptionHTML": "

    ref+ parameter

    " + "descriptionHTML": "

    ref parameter

    " }, { "name": "per_page", @@ -54102,14 +54348,14 @@ }, { "name": "ref", - "description": "ref+ parameter", + "description": "ref parameter", "in": "path", "required": true, "schema": { "type": "string" }, "x-multi-segment": true, - "descriptionHTML": "

    ref+ parameter

    " + "descriptionHTML": "

    ref parameter

    " } ], "x-codeSamples": [ @@ -54337,14 +54583,14 @@ }, { "name": "ref", - "description": "ref+ parameter", + "description": "ref parameter", "in": "path", "required": true, "schema": { "type": "string" }, "x-multi-segment": true, - "descriptionHTML": "

    ref+ parameter

    " + "descriptionHTML": "

    ref parameter

    " } ], "x-codeSamples": [ @@ -54480,14 +54726,14 @@ }, { "name": "ref", - "description": "ref+ parameter", + "description": "ref parameter", "in": "path", "required": true, "schema": { "type": "string" }, "x-multi-segment": true, - "descriptionHTML": "

    ref+ parameter

    " + "descriptionHTML": "

    ref parameter

    " } ], "x-codeSamples": [ @@ -54529,7 +54775,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "422", @@ -55391,6 +55637,7 @@ "schema": { "type": "string" }, + "x-multi-segment": true, "descriptionHTML": "" }, { @@ -56663,7 +56910,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "404", @@ -57004,7 +57251,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "404", @@ -57087,7 +57334,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "404", @@ -57614,7 +57861,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "bodyParameters": [], @@ -58420,7 +58667,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "409", @@ -58718,7 +58965,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "bodyParameters": [], @@ -59689,7 +59936,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "bodyParameters": [], @@ -60074,7 +60321,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "bodyParameters": [], @@ -61813,7 +62060,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "410", @@ -62021,7 +62268,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "403", @@ -62134,7 +62381,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "403", @@ -62528,7 +62775,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "bodyParameters": [], @@ -63059,7 +63306,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "bodyParameters": [], @@ -63214,11 +63461,11 @@ "properties": { "name": { "type": "string", - "description": "

    Required. The name of the label. Emoji can be added to label names, using either native emoji or colon-style markup. For example, typing :strawberry: will render the emoji \":strawberry:\". For a full list of available emoji and codes, see emoji-cheat-sheet.com.

    ", + "description": "

    Required. The name of the label. Emoji can be added to label names, using either native emoji or colon-style markup. For example, typing :strawberry: will render the emoji \":strawberry:\". For a full list of available emoji and codes, see \"Emoji cheat sheet.\"

    ", "name": "name", "in": "body", "rawType": "string", - "rawDescription": "The name of the label. Emoji can be added to label names, using either native emoji or colon-style markup. For example, typing `:strawberry:` will render the emoji ![:strawberry:](https://github.githubassets.com/images/icons/emoji/unicode/1f353.png \":strawberry:\"). For a full list of available emoji and codes, see [emoji-cheat-sheet.com](http://emoji-cheat-sheet.com/).", + "rawDescription": "The name of the label. Emoji can be added to label names, using either native emoji or colon-style markup. For example, typing `:strawberry:` will render the emoji ![:strawberry:](https://github.githubassets.com/images/icons/emoji/unicode/1f353.png \":strawberry:\"). For a full list of available emoji and codes, see \"[Emoji cheat sheet](https://github.com/ikatyang/emoji-cheat-sheet).\"", "childParamsGroups": [] }, "color": { @@ -63269,11 +63516,11 @@ "bodyParameters": [ { "type": "string", - "description": "

    Required. The name of the label. Emoji can be added to label names, using either native emoji or colon-style markup. For example, typing :strawberry: will render the emoji \":strawberry:\". For a full list of available emoji and codes, see emoji-cheat-sheet.com.

    ", + "description": "

    Required. The name of the label. Emoji can be added to label names, using either native emoji or colon-style markup. For example, typing :strawberry: will render the emoji \":strawberry:\". For a full list of available emoji and codes, see \"Emoji cheat sheet.\"

    ", "name": "name", "in": "body", "rawType": "string", - "rawDescription": "The name of the label. Emoji can be added to label names, using either native emoji or colon-style markup. For example, typing `:strawberry:` will render the emoji ![:strawberry:](https://github.githubassets.com/images/icons/emoji/unicode/1f353.png \":strawberry:\"). For a full list of available emoji and codes, see [emoji-cheat-sheet.com](http://emoji-cheat-sheet.com/).", + "rawDescription": "The name of the label. Emoji can be added to label names, using either native emoji or colon-style markup. For example, typing `:strawberry:` will render the emoji ![:strawberry:](https://github.githubassets.com/images/icons/emoji/unicode/1f353.png \":strawberry:\"). For a full list of available emoji and codes, see \"[Emoji cheat sheet](https://github.com/ikatyang/emoji-cheat-sheet).\"", "childParamsGroups": [] }, { @@ -63461,11 +63708,11 @@ "properties": { "new_name": { "type": "string", - "description": "

    The new name of the label. Emoji can be added to label names, using either native emoji or colon-style markup. For example, typing :strawberry: will render the emoji \":strawberry:\". For a full list of available emoji and codes, see emoji-cheat-sheet.com.

    ", + "description": "

    The new name of the label. Emoji can be added to label names, using either native emoji or colon-style markup. For example, typing :strawberry: will render the emoji \":strawberry:\". For a full list of available emoji and codes, see \"Emoji cheat sheet.\"

    ", "name": "new_name", "in": "body", "rawType": "string", - "rawDescription": "The new name of the label. Emoji can be added to label names, using either native emoji or colon-style markup. For example, typing `:strawberry:` will render the emoji ![:strawberry:](https://github.githubassets.com/images/icons/emoji/unicode/1f353.png \":strawberry:\"). For a full list of available emoji and codes, see [emoji-cheat-sheet.com](http://emoji-cheat-sheet.com/).", + "rawDescription": "The new name of the label. Emoji can be added to label names, using either native emoji or colon-style markup. For example, typing `:strawberry:` will render the emoji ![:strawberry:](https://github.githubassets.com/images/icons/emoji/unicode/1f353.png \":strawberry:\"). For a full list of available emoji and codes, see \"[Emoji cheat sheet](https://github.com/ikatyang/emoji-cheat-sheet).\"", "childParamsGroups": [] }, "color": { @@ -63513,11 +63760,11 @@ "bodyParameters": [ { "type": "string", - "description": "

    The new name of the label. Emoji can be added to label names, using either native emoji or colon-style markup. For example, typing :strawberry: will render the emoji \":strawberry:\". For a full list of available emoji and codes, see emoji-cheat-sheet.com.

    ", + "description": "

    The new name of the label. Emoji can be added to label names, using either native emoji or colon-style markup. For example, typing :strawberry: will render the emoji \":strawberry:\". For a full list of available emoji and codes, see \"Emoji cheat sheet.\"

    ", "name": "new_name", "in": "body", "rawType": "string", - "rawDescription": "The new name of the label. Emoji can be added to label names, using either native emoji or colon-style markup. For example, typing `:strawberry:` will render the emoji ![:strawberry:](https://github.githubassets.com/images/icons/emoji/unicode/1f353.png \":strawberry:\"). For a full list of available emoji and codes, see [emoji-cheat-sheet.com](http://emoji-cheat-sheet.com/).", + "rawDescription": "The new name of the label. Emoji can be added to label names, using either native emoji or colon-style markup. For example, typing `:strawberry:` will render the emoji ![:strawberry:](https://github.githubassets.com/images/icons/emoji/unicode/1f353.png \":strawberry:\"). For a full list of available emoji and codes, see \"[Emoji cheat sheet](https://github.com/ikatyang/emoji-cheat-sheet).\"", "childParamsGroups": [] }, { @@ -63620,7 +63867,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "bodyParameters": [], @@ -63913,20 +64160,12 @@ { "httpStatusCode": "404", "httpStatusMessage": "Not Found", - "description": "Missing base response", - "payload": "
    {\n  \"message\": \"Base does not exist\"\n}\n
    " - }, - { - "httpStatusCode": "404", - "httpStatusMessage": "Not Found", - "description": "Missing head response", - "payload": "
    {\n  \"message\": \"Head does not exist\"\n}\n
    " + "description": "Response when the base or head does not exist" }, { "httpStatusCode": "409", "httpStatusMessage": "Conflict", - "description": "Merge conflict response", - "payload": "
    {\n  \"message\": \"Merge Conflict\"\n}\n
    " + "description": "Response when there is a merge conflict" }, { "httpStatusCode": "422", @@ -64597,7 +64836,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "404", @@ -65406,7 +65645,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "400", @@ -65551,7 +65790,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "404", @@ -66589,18 +66828,17 @@ }, { "name": "sort", - "description": "One of `created` (when the repository was starred) or `updated` (when it was last pushed to).", "in": "query", "required": false, "schema": { "type": "string", "enum": [ "created", - "updated" - ], - "default": "created" + "updated", + "created_at" + ] }, - "descriptionHTML": "

    One of created (when the repository was starred) or updated (when it was last pushed to).

    " + "descriptionHTML": "" }, { "name": "direction", @@ -67000,7 +67238,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "404", @@ -67390,7 +67628,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "bodyParameters": [], @@ -70757,6 +70995,107 @@ } ] }, + { + "verb": "get", + "requestPath": "/repos/{owner}/{repo}/readme/{dir}", + "serverUrl": "https://api.github.com", + "parameters": [ + { + "name": "owner", + "in": "path", + "required": true, + "schema": { + "type": "string" + }, + "descriptionHTML": "" + }, + { + "name": "repo", + "in": "path", + "required": true, + "schema": { + "type": "string" + }, + "descriptionHTML": "" + }, + { + "name": "dir", + "description": "The alternate path to look for a README file", + "in": "path", + "required": true, + "schema": { + "type": "string" + }, + "x-multi-segment": true, + "descriptionHTML": "

    The alternate path to look for a README file

    " + }, + { + "name": "ref", + "description": "The name of the commit/branch/tag. Default: the repository’s default branch (usually `master`)", + "in": "query", + "required": false, + "schema": { + "type": "string" + }, + "descriptionHTML": "

    The name of the commit/branch/tag. Default: the repository’s default branch (usually master)

    " + } + ], + "x-codeSamples": [ + { + "lang": "Shell", + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/readme/DIR", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/readme/DIR
    " + }, + { + "lang": "JavaScript", + "source": "await octokit.request('GET /repos/{owner}/{repo}/readme/{dir}', {\n owner: 'octocat',\n repo: 'hello-world',\n dir: 'dir'\n})", + "html": "
    await octokit.request('GET /repos/{owner}/{repo}/readme/{dir}', {\n  owner: 'octocat',\n  repo: 'hello-world',\n  dir: 'dir'\n})\n
    " + } + ], + "summary": "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.", + "tags": [ + "repos" + ], + "operationId": "repos/get-readme-in-directory", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/repos#get-a-repository-directory-readme" + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "previews": [], + "category": "repos", + "subcategory": "contents" + }, + "slug": "get-a-repository-readme-for-a-directory", + "category": "repos", + "categoryLabel": "Repos", + "subcategory": "contents", + "subcategoryLabel": "Contents", + "notes": [], + "bodyParameters": [], + "descriptionHTML": "

    Gets the README from a repository directory.

    \n

    READMEs support custom media types for retrieving the raw content or rendered HTML.

    ", + "responses": [ + { + "httpStatusCode": "200", + "httpStatusMessage": "OK", + "description": "Default response", + "payload": "
    {\n  \"type\": \"file\",\n  \"encoding\": \"base64\",\n  \"size\": 5362,\n  \"name\": \"README.md\",\n  \"path\": \"README.md\",\n  \"content\": \"encoded content ...\",\n  \"sha\": \"3d21ec53a331a6f037a91c368710b99387d012c1\",\n  \"url\": \"https://api.github.com/repos/octokit/octokit.rb/contents/README.md\",\n  \"git_url\": \"https://api.github.com/repos/octokit/octokit.rb/git/blobs/3d21ec53a331a6f037a91c368710b99387d012c1\",\n  \"html_url\": \"https://github.com/octokit/octokit.rb/blob/master/README.md\",\n  \"download_url\": \"https://raw.githubusercontent.com/octokit/octokit.rb/master/README.md\",\n  \"_links\": {\n    \"git\": \"https://api.github.com/repos/octokit/octokit.rb/git/blobs/3d21ec53a331a6f037a91c368710b99387d012c1\",\n    \"self\": \"https://api.github.com/repos/octokit/octokit.rb/contents/README.md\",\n    \"html\": \"https://github.com/octokit/octokit.rb/blob/master/README.md\"\n  }\n}\n
    " + }, + { + "httpStatusCode": "404", + "httpStatusMessage": "Not Found", + "description": "Resource not found" + }, + { + "httpStatusCode": "422", + "httpStatusMessage": "Unprocessable Entity", + "description": "Validation failed" + } + ] + }, { "verb": "get", "requestPath": "/repos/{owner}/{repo}/releases", @@ -71381,7 +71720,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "bodyParameters": [], @@ -71482,14 +71821,14 @@ }, { "name": "tag", - "description": "tag+ parameter", + "description": "tag parameter", "in": "path", "required": true, "schema": { "type": "string" }, "x-multi-segment": true, - "descriptionHTML": "

    tag+ parameter

    " + "descriptionHTML": "

    tag parameter

    " } ], "x-codeSamples": [ @@ -71909,7 +72248,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "bodyParameters": [], @@ -73513,7 +73852,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "bodyParameters": [], @@ -73795,6 +74134,26 @@ "type": "string" }, "descriptionHTML": "" + }, + { + "name": "page", + "description": "Page number of the results to fetch.", + "in": "query", + "schema": { + "type": "integer", + "default": 1 + }, + "descriptionHTML": "

    Page number of the results to fetch.

    " + }, + { + "name": "per_page", + "description": "Results per page (max 100).", + "in": "query", + "schema": { + "type": "integer", + "default": 30 + }, + "descriptionHTML": "

    Results per page (max 100).

    " } ], "x-codeSamples": [ @@ -74026,6 +74385,7 @@ "schema": { "type": "string", "enum": [ + "", "day", "week" ], @@ -74266,6 +74626,7 @@ "schema": { "type": "string", "enum": [ + "", "day", "week" ], @@ -74604,7 +74965,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "bodyParameters": [], @@ -74678,7 +75039,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "bodyParameters": [], @@ -74799,7 +75160,7 @@ } ], "summary": "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", + "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", "tags": [ "repos" ], @@ -74894,7 +75255,7 @@ "category": "repos", "categoryLabel": "Repos", "notes": [], - "descriptionHTML": "

    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 endpoint and check that the is_template key is true.

    \n

    OAuth scope requirements

    \n

    When using OAuth, 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
    ", + "descriptionHTML": "

    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 endpoint and check that the is_template key is true.

    \n

    OAuth scope requirements

    \n

    When using OAuth, 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
    ", "bodyParameters": [ { "type": "string", @@ -74982,7 +75343,7 @@ } ], "summary": "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.", + "description": "Lists all public repositories in the order that they were created.\n\nNotes:\n- For GitHub Enterprise Server and GitHub AE, 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.", "tags": [ "repos" ], @@ -75003,7 +75364,7 @@ "categoryLabel": "Repos", "notes": [], "bodyParameters": [], - "descriptionHTML": "

    Lists all public repositories in the order that they were created.

    \n

    Note: Pagination is powered exclusively by the since parameter. Use the Link header to get the URL for the next page of repositories.

    ", + "descriptionHTML": "

    Lists all public repositories in the order that they were created.

    \n

    Notes:

    \n
      \n
    • For GitHub Enterprise Server and GitHub AE, 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 to get the URL for the next page of repositories.
    • \n
    ", "responses": [ { "httpStatusCode": "200", @@ -75479,7 +75840,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Default response" } ], "bodyParameters": [], @@ -75519,6 +75880,26 @@ "type": "integer" }, "descriptionHTML": "

    Used for pagination: the number of results to return.

    " + }, + { + "name": "filter", + "description": "filter results", + "in": "query", + "required": false, + "schema": { + "type": "string" + }, + "descriptionHTML": "

    filter results

    " + }, + { + "name": "excludedAttributes", + "description": "attributes to exclude", + "in": "query", + "required": false, + "schema": { + "type": "string" + }, + "descriptionHTML": "

    attributes to exclude

    " } ], "x-codeSamples": [ @@ -75809,6 +76190,16 @@ "type": "string" }, "descriptionHTML": "

    Identifier generated by the GitHub SCIM endpoint.

    " + }, + { + "name": "excludedAttributes", + "description": "Attributes to exclude.", + "in": "query", + "required": false, + "schema": { + "type": "string" + }, + "descriptionHTML": "

    Attributes to exclude.

    " } ], "x-codeSamples": [ @@ -76494,7 +76885,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "bodyParameters": [], @@ -76534,6 +76925,16 @@ "type": "integer" }, "descriptionHTML": "

    Used for pagination: the number of results to return.

    " + }, + { + "name": "filter", + "description": "filter results", + "in": "query", + "required": false, + "schema": { + "type": "string" + }, + "descriptionHTML": "

    filter results

    " } ], "x-codeSamples": [ @@ -77883,7 +78284,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "bodyParameters": [], @@ -79693,7 +80094,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "304", @@ -80891,7 +81292,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "404", @@ -81438,7 +81839,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "bodyParameters": [], @@ -81965,7 +82366,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "bodyParameters": [], @@ -82821,13 +83222,11 @@ "subcategory": "members", "subcategoryLabel": "Members", "notes": [], - "bodyParameters": [], - "descriptionHTML": "

    The \"Add team member\" endpoint (described below) is deprecated.

    \n

    We recommend using the Add or update team membership for a user endpoint instead. It allows you to invite new organization members to your teams.

    \n

    Team synchronization is available for organizations using GitHub Enterprise Cloud. For more information, see GitHub's products in the GitHub Help documentation.

    \n

    To 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

    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.\"

    \n

    Note that you'll need to set Content-Length to zero when calling out to this endpoint. For more information, see \"HTTP verbs.\"

    ", "responses": [ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "403", @@ -82842,16 +83241,11 @@ { "httpStatusCode": "422", "httpStatusMessage": "Unprocessable Entity", - "description": "Response if you attempt to add an organization to a team", - "payload": "
    {\n  \"message\": \"Cannot add an organization as a member.\",\n  \"errors\": [\n    {\n      \"code\": \"org\",\n      \"field\": \"user\",\n      \"resource\": \"TeamMember\"\n    }\n  ]\n}\n
    " - }, - { - "httpStatusCode": "422", - "httpStatusMessage": "Unprocessable Entity", - "description": "Response if you attempt to add a user to a team when they are not a member of at least one other team in the same organization", - "payload": "
    {\n  \"message\": \"User isn't a member of this organization. Please invite them first.\",\n  \"errors\": [\n    {\n      \"code\": \"unaffiliated\",\n      \"field\": \"user\",\n      \"resource\": \"TeamMember\"\n    }\n  ]\n}\n
    " + "description": "Response if you attempt to add an organization to a team or you attempt to add a user to a team when they are not a member of at least one other team in the same organization" } - ] + ], + "bodyParameters": [], + "descriptionHTML": "

    The \"Add team member\" endpoint (described below) is deprecated.

    \n

    We recommend using the Add or update team membership for a user endpoint instead. It allows you to invite new organization members to your teams.

    \n

    Team synchronization is available for organizations using GitHub Enterprise Cloud. For more information, see GitHub's products in the GitHub Help documentation.

    \n

    To 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

    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.\"

    \n

    Note that you'll need to set Content-Length to zero when calling out to this endpoint. For more information, see \"HTTP verbs.\"

    " }, { "verb": "delete", @@ -82919,7 +83313,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "404", @@ -82967,7 +83361,7 @@ } ], "summary": "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).", + "description": "**Deprecation 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).", "tags": [ "teams" ], @@ -82993,26 +83387,14 @@ "subcategoryLabel": "Members", "notes": [], "bodyParameters": [], - "descriptionHTML": "

    Deprecation 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 endpoint.

    \n

    Team members will include the members of child teams.

    \n

    To get a user's membership with a team, the team must be visible to the authenticated user.

    \n

    Note: The role for organization owners returns as maintainer. For more information about maintainer roles, see Create a team.

    ", + "descriptionHTML": "

    Deprecation 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 endpoint.

    \n

    Team members will include the members of child teams.

    \n

    To get a user's membership with a team, the team must be visible to the authenticated user.

    \n

    Note:\nThe response contains the state of the membership and the member's role.

    \n

    The role for organization owners is set to maintainer. For more information about maintainer roles, see Create a team.

    ", "responses": [ - { - "httpStatusCode": "200", - "httpStatusMessage": "OK", - "description": "Response if user has an active membership with team", - "payload": "
    {\n  \"url\": \"https://api.github.com/teams/1/memberships/octocat\",\n  \"role\": \"member\",\n  \"state\": \"active\"\n}\n
    " - }, { "httpStatusCode": "200", "httpStatusMessage": "OK", "description": "Response if user is a team maintainer", "payload": "
    {\n  \"url\": \"https://api.github.com/teams/1/memberships/octocat\",\n  \"role\": \"maintainer\",\n  \"state\": \"active\"\n}\n
    " }, - { - "httpStatusCode": "200", - "httpStatusMessage": "OK", - "description": "Response if user has a pending membership with team", - "payload": "
    {\n  \"url\": \"https://api.github.com/teams/1/memberships/octocat\",\n  \"role\": \"member\",\n  \"state\": \"pending\"\n}\n
    " - }, { "httpStatusCode": "404", "httpStatusMessage": "Not Found", @@ -83125,12 +83507,6 @@ } ], "responses": [ - { - "httpStatusCode": "200", - "httpStatusMessage": "OK", - "description": "Response if user's membership with team is now active", - "payload": "
    {\n  \"url\": \"https://api.github.com/teams/1/memberships/octocat\",\n  \"role\": \"member\",\n  \"state\": \"active\"\n}\n
    " - }, { "httpStatusCode": "200", "httpStatusMessage": "OK", @@ -83150,8 +83526,7 @@ { "httpStatusCode": "422", "httpStatusMessage": "Unprocessable Entity", - "description": "Response if you attempt to add an organization to a team", - "payload": "
    {\n  \"message\": \"Cannot add an organization as a member.\",\n  \"errors\": [\n    {\n      \"code\": \"org\",\n      \"field\": \"user\",\n      \"resource\": \"TeamMember\"\n    }\n  ]\n}\n
    " + "description": "Response if you attempt to add an organization to a team" } ] }, @@ -83221,7 +83596,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "403", @@ -83532,7 +83907,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "403", @@ -83621,7 +83996,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "404", @@ -83916,7 +84291,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "403", @@ -84020,7 +84395,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "bodyParameters": [], @@ -85108,7 +85483,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "304", @@ -85193,7 +85568,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "304", @@ -85659,7 +86034,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "304", @@ -85998,7 +86373,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "304", @@ -86078,7 +86453,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "304", @@ -86442,7 +86817,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "304", @@ -86733,7 +87108,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "304", @@ -86818,7 +87193,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "304", @@ -86857,7 +87232,7 @@ } ], "summary": "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.", + "description": "Shows which type of GitHub user can interact with your public repositories and when the restriction expires.", "tags": [ "interactions" ], @@ -86880,13 +87255,18 @@ "subcategoryLabel": "User", "notes": [], "bodyParameters": [], - "descriptionHTML": "

    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.

    ", + "descriptionHTML": "

    Shows which type of GitHub user can interact with your public repositories and when the restriction expires.

    ", "responses": [ { "httpStatusCode": "200", "httpStatusMessage": "OK", "description": "Default response", "payload": "
    {\n  \"limit\": \"collaborators_only\",\n  \"origin\": \"user\",\n  \"expires_at\": \"2018-08-17T04:18:39Z\"\n}\n
    " + }, + { + "httpStatusCode": "204", + "httpStatusMessage": "No Content", + "description": "Response when there are no restrictions" } ] }, @@ -87071,7 +87451,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "bodyParameters": [], @@ -87094,6 +87474,7 @@ "created", "mentioned", "subscribed", + "repos", "all" ], "default": "assigned" @@ -87609,7 +87990,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "304", @@ -88637,7 +89018,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "304", @@ -88735,7 +89116,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "304", @@ -89089,7 +89470,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "401", @@ -89142,6 +89523,16 @@ "type": "string" }, "descriptionHTML": "

    The name of the package.

    " + }, + { + "name": "token", + "description": "package token", + "schema": { + "type": "string" + }, + "required": false, + "in": "query", + "descriptionHTML": "

    package token

    " } ], "x-codeSamples": [ @@ -89181,7 +89572,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "401", @@ -89234,6 +89625,41 @@ "type": "string" }, "descriptionHTML": "

    The name of the package.

    " + }, + { + "name": "page", + "description": "Page number of the results to fetch.", + "in": "query", + "schema": { + "type": "integer", + "default": 1 + }, + "descriptionHTML": "

    Page number of the results to fetch.

    " + }, + { + "name": "per_page", + "description": "Results per page (max 100).", + "in": "query", + "schema": { + "type": "integer", + "default": 30 + }, + "descriptionHTML": "

    Results per page (max 100).

    " + }, + { + "name": "state", + "in": "query", + "required": false, + "description": "The state of the package, either active or deleted.", + "schema": { + "type": "string", + "enum": [ + "active", + "deleted" + ], + "default": "active" + }, + "descriptionHTML": "

    The state of the package, either active or deleted.

    " } ], "x-codeSamples": [ @@ -89253,7 +89679,7 @@ "tags": [ "packages" ], - "operationId": "packages/get-all-package-versions-for-a-package-owned-by-the-authenticated-user", + "operationId": "packages/get-all-package-versions-for-package-owned-by-authenticated-user", "externalDocs": { "description": "API method documentation", "url": "https://docs.github.com/rest/reference/packages#get-all-package-versions-for-a-package-owned-by-the-authenticated-user" @@ -89464,7 +89890,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "401", @@ -89566,7 +89992,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "401", @@ -89824,7 +90250,7 @@ "parameters": [ { "name": "visibility", - "description": "Can be one of `all`, `public`, or `private`.", + "description": "Can be one of `all`, `public`, or `private`. Note: For GitHub AE, can be one of `all`, `internal`, or `private`.", "in": "query", "required": false, "schema": { @@ -89836,7 +90262,7 @@ ], "default": "all" }, - "descriptionHTML": "

    Can be one of all, public, or private.

    " + "descriptionHTML": "

    Can be one of all, public, or private. Note: For GitHub AE, can be one of all, internal, or private.

    " }, { "name": "affiliation", @@ -89851,7 +90277,7 @@ }, { "name": "type", - "description": "Can be one of `all`, `owner`, `public`, `private`, `member`. Default: `all` \n \nWill cause a `422` error if used in the same request as **visibility** or **affiliation**. Will cause a `422` error if used in the same request as **visibility** or **affiliation**.", + "description": "Can be one of `all`, `owner`, `public`, `private`, `member`. Note: For GitHub AE, can be one of `all`, `owner`, `internal`, `private`, `member`. Default: `all` \n \nWill cause a `422` error if used in the same request as **visibility** or **affiliation**. Will cause a `422` error if used in the same request as **visibility** or **affiliation**.", "in": "query", "required": false, "schema": { @@ -89865,7 +90291,7 @@ ], "default": "all" }, - "descriptionHTML": "

    Can be one of all, owner, public, private, member. Default: all

    \n

    Will cause a 422 error if used in the same request as visibility or affiliation. Will cause a 422 error if used in the same request as visibility or affiliation.

    " + "descriptionHTML": "

    Can be one of all, owner, public, private, member. Note: For GitHub AE, can be one of all, owner, internal, private, member. Default: all

    \n

    Will cause a 422 error if used in the same request as visibility or affiliation. Will cause a 422 error if used in the same request as visibility or affiliation.

    " }, { "name": "sort", @@ -90021,7 +90447,7 @@ } ], "summary": "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", + "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.", "tags": [ "repos" ], @@ -90064,13 +90490,13 @@ "childParamsGroups": [] }, "private": { - "description": "

    Whether the repository is private or public.

    ", + "description": "

    Whether the repository is private.

    ", "default": false, "type": "boolean", "name": "private", "in": "body", "rawType": "boolean", - "rawDescription": "Whether the repository is private or public.", + "rawDescription": "Whether the repository is private.", "childParamsGroups": [] }, "has_issues": { @@ -90244,7 +90670,7 @@ "category": "repos", "categoryLabel": "Repos", "notes": [], - "descriptionHTML": "

    Creates a new repository for the authenticated user.

    \n

    OAuth scope requirements

    \n

    When using OAuth, 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
    ", + "descriptionHTML": "

    Creates a new repository for the authenticated user.

    \n

    OAuth scope requirements

    \n

    When using OAuth, 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
    ", "bodyParameters": [ { "description": "

    Required. The name of the repository.

    ", @@ -90275,13 +90701,13 @@ "childParamsGroups": [] }, { - "description": "

    Whether the repository is private or public.

    ", + "description": "

    Whether the repository is private.

    ", "default": false, "type": "boolean", "name": "private", "in": "body", "rawType": "boolean", - "rawDescription": "Whether the repository is private or public.", + "rawDescription": "Whether the repository is private.", "childParamsGroups": [] }, { @@ -90609,7 +91035,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "304", @@ -90690,7 +91116,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "304", @@ -90985,7 +91411,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "304", @@ -91074,7 +91500,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "304", @@ -93044,7 +93470,7 @@ } ], "summary": "List repositories for a user", - "description": "Lists public repositories for the specified user.", + "description": "Lists public repositories for the specified user. Note: For GitHub AE, this endpoint will list internal repositories for the specified user.", "tags": [ "repos" ], @@ -93072,7 +93498,7 @@ "categoryLabel": "Repos", "notes": [], "bodyParameters": [], - "descriptionHTML": "

    Lists public repositories for the specified user.

    ", + "descriptionHTML": "

    Lists public repositories for the specified user. Note: For GitHub AE, this endpoint will list internal repositories for the specified user.

    ", "responses": [ { "httpStatusCode": "200", @@ -93110,7 +93536,7 @@ } ], "summary": "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.", + "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://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.", "operationId": "billing/get-github-actions-billing-user", "tags": [ "billing" @@ -93131,7 +93557,7 @@ "categoryLabel": "Billing", "notes": [], "bodyParameters": [], - "descriptionHTML": "

    Gets the summary of the free and paid GitHub Actions minutes used.

    \n

    Paid 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\".

    \n

    Access tokens must have the user scope.

    ", + "descriptionHTML": "

    Gets the summary of the free and paid GitHub Actions minutes used.

    \n

    Paid 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\".

    \n

    Access tokens must have the user scope.

    ", "responses": [ { "httpStatusCode": "200", diff --git a/lib/rest/static/decorated/ghes-2.18.json b/lib/rest/static/decorated/ghes-2.18.json index 1af1e09823..8df5d6dc19 100644 --- a/lib/rest/static/decorated/ghes-2.18.json +++ b/lib/rest/static/decorated/ghes-2.18.json @@ -2,13 +2,13 @@ { "verb": "get", "requestPath": "/", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/
    " }, { "lang": "JavaScript", @@ -45,7 +45,7 @@ { "verb": "get", "requestPath": "/admin/hooks", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "accept", @@ -82,8 +82,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.superpro-preview+json\" \\\n https://api.github.com/admin/hooks", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.superpro-preview+json\" \\\n  https://api.github.com/admin/hooks
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.superpro-preview+json\" \\\n http(s)://{hostname}/api/v3/admin/hooks", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.superpro-preview+json\" \\\n  http(s)://{hostname}/api/v3/admin/hooks
    " }, { "lang": "JavaScript", @@ -135,7 +135,7 @@ { "verb": "post", "requestPath": "/admin/hooks", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "accept", @@ -152,8 +152,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.superpro-preview+json\" \\\n https://api.github.com/admin/hooks \\\n -d '{\"name\":\"name\",\"config\":{\"url\":\"url\",\"content_type\":\"content_type\",\"secret\":\"secret\",\"insecure_ssl\":\"insecure_ssl\"}}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.superpro-preview+json\" \\\n  https://api.github.com/admin/hooks \\\n  -d '{\"name\":\"name\",\"config\":{\"url\":\"url\",\"content_type\":\"content_type\",\"secret\":\"secret\",\"insecure_ssl\":\"insecure_ssl\"}}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.superpro-preview+json\" \\\n http(s)://{hostname}/api/v3/admin/hooks \\\n -d '{\"name\":\"name\",\"config\":{\"url\":\"url\",\"content_type\":\"content_type\",\"secret\":\"secret\",\"insecure_ssl\":\"insecure_ssl\"}}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.superpro-preview+json\" \\\n  http(s)://{hostname}/api/v3/admin/hooks \\\n  -d '{\"name\":\"name\",\"config\":{\"url\":\"url\",\"content_type\":\"content_type\",\"secret\":\"secret\",\"insecure_ssl\":\"insecure_ssl\"}}'
    " }, { "lang": "JavaScript", @@ -483,7 +483,7 @@ { "verb": "get", "requestPath": "/admin/hooks/{hook_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "accept", @@ -509,8 +509,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.superpro-preview+json\" \\\n https://api.github.com/admin/hooks/42", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.superpro-preview+json\" \\\n  https://api.github.com/admin/hooks/42
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.superpro-preview+json\" \\\n http(s)://{hostname}/api/v3/admin/hooks/42", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.superpro-preview+json\" \\\n  http(s)://{hostname}/api/v3/admin/hooks/42
    " }, { "lang": "JavaScript", @@ -562,7 +562,7 @@ { "verb": "patch", "requestPath": "/admin/hooks/{hook_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "accept", @@ -588,8 +588,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.superpro-preview+json\" \\\n https://api.github.com/admin/hooks/42 \\\n -d '{\"config\":{\"url\":\"url\",\"content_type\":\"content_type\",\"secret\":\"secret\",\"insecure_ssl\":\"insecure_ssl\"}}'", - "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.superpro-preview+json\" \\\n  https://api.github.com/admin/hooks/42 \\\n  -d '{\"config\":{\"url\":\"url\",\"content_type\":\"content_type\",\"secret\":\"secret\",\"insecure_ssl\":\"insecure_ssl\"}}'
    " + "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.superpro-preview+json\" \\\n http(s)://{hostname}/api/v3/admin/hooks/42 \\\n -d '{\"config\":{\"url\":\"url\",\"content_type\":\"content_type\",\"secret\":\"secret\",\"insecure_ssl\":\"insecure_ssl\"}}'", + "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.superpro-preview+json\" \\\n  http(s)://{hostname}/api/v3/admin/hooks/42 \\\n  -d '{\"config\":{\"url\":\"url\",\"content_type\":\"content_type\",\"secret\":\"secret\",\"insecure_ssl\":\"insecure_ssl\"}}'
    " }, { "lang": "JavaScript", @@ -893,7 +893,7 @@ { "verb": "delete", "requestPath": "/admin/hooks/{hook_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "accept", @@ -919,8 +919,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.superpro-preview+json\" \\\n https://api.github.com/admin/hooks/42", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.superpro-preview+json\" \\\n  https://api.github.com/admin/hooks/42
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.superpro-preview+json\" \\\n http(s)://{hostname}/api/v3/admin/hooks/42", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.superpro-preview+json\" \\\n  http(s)://{hostname}/api/v3/admin/hooks/42
    " }, { "lang": "JavaScript", @@ -962,7 +962,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "bodyParameters": [], @@ -971,7 +971,7 @@ { "verb": "post", "requestPath": "/admin/hooks/{hook_id}/pings", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "accept", @@ -997,8 +997,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.superpro-preview+json\" \\\n https://api.github.com/admin/hooks/42/pings", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.superpro-preview+json\" \\\n  https://api.github.com/admin/hooks/42/pings
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.superpro-preview+json\" \\\n http(s)://{hostname}/api/v3/admin/hooks/42/pings", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.superpro-preview+json\" \\\n  http(s)://{hostname}/api/v3/admin/hooks/42/pings
    " }, { "lang": "JavaScript", @@ -1040,7 +1040,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "bodyParameters": [], @@ -1049,7 +1049,7 @@ { "verb": "get", "requestPath": "/admin/keys", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "per_page", @@ -1070,13 +1070,53 @@ "default": 1 }, "descriptionHTML": "

    Page number of the results to fetch.

    " + }, + { + "name": "direction", + "description": "One of `asc` (ascending) or `desc` (descending).", + "in": "query", + "required": false, + "schema": { + "type": "string", + "enum": [ + "asc", + "desc" + ], + "default": "desc" + }, + "descriptionHTML": "

    One of asc (ascending) or desc (descending).

    " + }, + { + "name": "sort", + "in": "query", + "required": false, + "schema": { + "type": "string", + "enum": [ + "created", + "updated", + "accessed" + ], + "default": "created" + }, + "descriptionHTML": "" + }, + { + "name": "since", + "description": "Only show public keys accessed after the given time.", + "in": "query", + "required": false, + "schema": { + "type": "string" + }, + "descriptionHTML": "

    Only show public keys accessed after the given time.

    " } ], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/admin/keys", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/admin/keys
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/admin/keys", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/admin/keys
    " }, { "lang": "JavaScript", @@ -1121,7 +1161,7 @@ { "verb": "delete", "requestPath": "/admin/keys/{key_ids}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "key_ids", @@ -1136,8 +1176,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/admin/keys/KEY_IDS", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/admin/keys/KEY_IDS
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/admin/keys/KEY_IDS", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/admin/keys/KEY_IDS
    " }, { "lang": "JavaScript", @@ -1172,7 +1212,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "bodyParameters": [], @@ -1181,7 +1221,7 @@ { "verb": "patch", "requestPath": "/admin/ldap/teams/{team_id}/mapping", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "team_id", @@ -1196,8 +1236,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/admin/ldap/teams/42/mapping \\\n -d '{\"ldap_dn\":\"ldap_dn\"}'", - "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/admin/ldap/teams/42/mapping \\\n  -d '{\"ldap_dn\":\"ldap_dn\"}'
    " + "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/admin/ldap/teams/42/mapping \\\n -d '{\"ldap_dn\":\"ldap_dn\"}'", + "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/admin/ldap/teams/42/mapping \\\n  -d '{\"ldap_dn\":\"ldap_dn\"}'
    " }, { "lang": "JavaScript", @@ -1282,7 +1322,7 @@ { "verb": "post", "requestPath": "/admin/ldap/teams/{team_id}/sync", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "team_id", @@ -1297,8 +1337,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/admin/ldap/teams/42/sync", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/admin/ldap/teams/42/sync
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/admin/ldap/teams/42/sync", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/admin/ldap/teams/42/sync
    " }, { "lang": "JavaScript", @@ -1343,7 +1383,7 @@ { "verb": "patch", "requestPath": "/admin/ldap/users/{username}/mapping", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "username", @@ -1358,8 +1398,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/admin/ldap/users/USERNAME/mapping \\\n -d '{\"ldap_dn\":\"ldap_dn\"}'", - "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/admin/ldap/users/USERNAME/mapping \\\n  -d '{\"ldap_dn\":\"ldap_dn\"}'
    " + "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/admin/ldap/users/USERNAME/mapping \\\n -d '{\"ldap_dn\":\"ldap_dn\"}'", + "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/admin/ldap/users/USERNAME/mapping \\\n  -d '{\"ldap_dn\":\"ldap_dn\"}'
    " }, { "lang": "JavaScript", @@ -1437,7 +1477,7 @@ { "verb": "post", "requestPath": "/admin/ldap/users/{username}/sync", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "username", @@ -1452,8 +1492,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/admin/ldap/users/USERNAME/sync", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/admin/ldap/users/USERNAME/sync
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/admin/ldap/users/USERNAME/sync", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/admin/ldap/users/USERNAME/sync
    " }, { "lang": "JavaScript", @@ -1498,13 +1538,13 @@ { "verb": "post", "requestPath": "/admin/organizations", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/admin/organizations \\\n -d '{\"login\":\"login\",\"admin\":\"admin\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/admin/organizations \\\n  -d '{\"login\":\"login\",\"admin\":\"admin\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/admin/organizations \\\n -d '{\"login\":\"login\",\"admin\":\"admin\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/admin/organizations \\\n  -d '{\"login\":\"login\",\"admin\":\"admin\"}'
    " }, { "lang": "JavaScript", @@ -1624,7 +1664,7 @@ { "verb": "patch", "requestPath": "/admin/organizations/{org}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "org", @@ -1639,8 +1679,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/admin/organizations/ORG \\\n -d '{\"login\":\"login\"}'", - "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/admin/organizations/ORG \\\n  -d '{\"login\":\"login\"}'
    " + "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/admin/organizations/ORG \\\n -d '{\"login\":\"login\"}'", + "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/admin/organizations/ORG \\\n  -d '{\"login\":\"login\"}'
    " }, { "lang": "JavaScript", @@ -1721,7 +1761,7 @@ { "verb": "get", "requestPath": "/admin/pre-receive-environments", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "per_page", @@ -1742,13 +1782,43 @@ "default": 1 }, "descriptionHTML": "

    Page number of the results to fetch.

    " + }, + { + "name": "direction", + "description": "One of `asc` (ascending) or `desc` (descending).", + "in": "query", + "required": false, + "schema": { + "type": "string", + "enum": [ + "asc", + "desc" + ], + "default": "desc" + }, + "descriptionHTML": "

    One of asc (ascending) or desc (descending).

    " + }, + { + "name": "sort", + "in": "query", + "required": false, + "schema": { + "type": "string", + "enum": [ + "created", + "updated", + "name" + ], + "default": "created" + }, + "descriptionHTML": "" } ], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n https://api.github.com/admin/pre-receive-environments", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n  https://api.github.com/admin/pre-receive-environments
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n http(s)://{hostname}/api/v3/admin/pre-receive-environments", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n  http(s)://{hostname}/api/v3/admin/pre-receive-environments
    " }, { "lang": "JavaScript", @@ -1800,13 +1870,13 @@ { "verb": "post", "requestPath": "/admin/pre-receive-environments", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n https://api.github.com/admin/pre-receive-environments \\\n -d '{\"name\":\"name\",\"image_url\":\"image_url\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n  https://api.github.com/admin/pre-receive-environments \\\n  -d '{\"name\":\"name\",\"image_url\":\"image_url\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n http(s)://{hostname}/api/v3/admin/pre-receive-environments \\\n -d '{\"name\":\"name\",\"image_url\":\"image_url\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n  http(s)://{hostname}/api/v3/admin/pre-receive-environments \\\n  -d '{\"name\":\"name\",\"image_url\":\"image_url\"}'
    " }, { "lang": "JavaScript", @@ -1914,7 +1984,7 @@ { "verb": "get", "requestPath": "/admin/pre-receive-environments/{pre_receive_environment_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "pre_receive_environment_id", @@ -1929,8 +1999,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n https://api.github.com/admin/pre-receive-environments/42", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n  https://api.github.com/admin/pre-receive-environments/42
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n http(s)://{hostname}/api/v3/admin/pre-receive-environments/42", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n  http(s)://{hostname}/api/v3/admin/pre-receive-environments/42
    " }, { "lang": "JavaScript", @@ -1982,7 +2052,7 @@ { "verb": "patch", "requestPath": "/admin/pre-receive-environments/{pre_receive_environment_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "pre_receive_environment_id", @@ -1997,8 +2067,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n https://api.github.com/admin/pre-receive-environments/42 \\\n -d '{\"name\":\"name\"}'", - "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n  https://api.github.com/admin/pre-receive-environments/42 \\\n  -d '{\"name\":\"name\"}'
    " + "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n http(s)://{hostname}/api/v3/admin/pre-receive-environments/42 \\\n -d '{\"name\":\"name\"}'", + "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n  http(s)://{hostname}/api/v3/admin/pre-receive-environments/42 \\\n  -d '{\"name\":\"name\"}'
    " }, { "lang": "JavaScript", @@ -2104,7 +2174,7 @@ { "verb": "delete", "requestPath": "/admin/pre-receive-environments/{pre_receive_environment_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "pre_receive_environment_id", @@ -2119,8 +2189,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n https://api.github.com/admin/pre-receive-environments/42", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n  https://api.github.com/admin/pre-receive-environments/42
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n http(s)://{hostname}/api/v3/admin/pre-receive-environments/42", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n  http(s)://{hostname}/api/v3/admin/pre-receive-environments/42
    " }, { "lang": "JavaScript", @@ -2164,7 +2234,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "422", @@ -2177,7 +2247,7 @@ { "verb": "post", "requestPath": "/admin/pre-receive-environments/{pre_receive_environment_id}/downloads", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "pre_receive_environment_id", @@ -2192,8 +2262,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n https://api.github.com/admin/pre-receive-environments/42/downloads", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n  https://api.github.com/admin/pre-receive-environments/42/downloads
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n http(s)://{hostname}/api/v3/admin/pre-receive-environments/42/downloads", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n  http(s)://{hostname}/api/v3/admin/pre-receive-environments/42/downloads
    " }, { "lang": "JavaScript", @@ -2251,7 +2321,7 @@ { "verb": "get", "requestPath": "/admin/pre-receive-environments/{pre_receive_environment_id}/downloads/latest", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "pre_receive_environment_id", @@ -2266,8 +2336,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n https://api.github.com/admin/pre-receive-environments/42/downloads/latest", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n  https://api.github.com/admin/pre-receive-environments/42/downloads/latest
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n http(s)://{hostname}/api/v3/admin/pre-receive-environments/42/downloads/latest", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n  http(s)://{hostname}/api/v3/admin/pre-receive-environments/42/downloads/latest
    " }, { "lang": "JavaScript", @@ -2319,7 +2389,7 @@ { "verb": "get", "requestPath": "/admin/pre-receive-hooks", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "per_page", @@ -2340,13 +2410,44 @@ "default": 1 }, "descriptionHTML": "

    Page number of the results to fetch.

    " + }, + { + "name": "direction", + "description": "One of `asc` (ascending) or `desc` (descending).", + "in": "query", + "required": false, + "schema": { + "type": "string", + "enum": [ + "asc", + "desc" + ], + "default": "desc" + }, + "descriptionHTML": "

    One of asc (ascending) or desc (descending).

    " + }, + { + "name": "sort", + "description": "One of `created` (when the repository was starred) or `updated` (when it was last pushed to) or `name`.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "enum": [ + "created", + "updated", + "name" + ], + "default": "created" + }, + "descriptionHTML": "

    One of created (when the repository was starred) or updated (when it was last pushed to) or name.

    " } ], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n https://api.github.com/admin/pre-receive-hooks", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n  https://api.github.com/admin/pre-receive-hooks
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n http(s)://{hostname}/api/v3/admin/pre-receive-hooks", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n  http(s)://{hostname}/api/v3/admin/pre-receive-hooks
    " }, { "lang": "JavaScript", @@ -2398,13 +2499,13 @@ { "verb": "post", "requestPath": "/admin/pre-receive-hooks", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n https://api.github.com/admin/pre-receive-hooks \\\n -d '{\"name\":\"name\",\"script\":\"script\",\"script_repository\":{},\"environment\":{}}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n  https://api.github.com/admin/pre-receive-hooks \\\n  -d '{\"name\":\"name\",\"script\":\"script\",\"script_repository\":{},\"environment\":{}}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n http(s)://{hostname}/api/v3/admin/pre-receive-hooks \\\n -d '{\"name\":\"name\",\"script\":\"script\",\"script_repository\":{},\"environment\":{}}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n  http(s)://{hostname}/api/v3/admin/pre-receive-hooks \\\n  -d '{\"name\":\"name\",\"script\":\"script\",\"script_repository\":{},\"environment\":{}}'
    " }, { "lang": "JavaScript", @@ -2602,7 +2703,7 @@ { "verb": "get", "requestPath": "/admin/pre-receive-hooks/{pre_receive_hook_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "pre_receive_hook_id", @@ -2617,8 +2718,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n https://api.github.com/admin/pre-receive-hooks/42", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n  https://api.github.com/admin/pre-receive-hooks/42
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n http(s)://{hostname}/api/v3/admin/pre-receive-hooks/42", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n  http(s)://{hostname}/api/v3/admin/pre-receive-hooks/42
    " }, { "lang": "JavaScript", @@ -2670,7 +2771,7 @@ { "verb": "patch", "requestPath": "/admin/pre-receive-hooks/{pre_receive_hook_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "pre_receive_hook_id", @@ -2685,8 +2786,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n https://api.github.com/admin/pre-receive-hooks/42 \\\n -d '{\"name\":\"name\"}'", - "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n  https://api.github.com/admin/pre-receive-hooks/42 \\\n  -d '{\"name\":\"name\"}'
    " + "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n http(s)://{hostname}/api/v3/admin/pre-receive-hooks/42 \\\n -d '{\"name\":\"name\"}'", + "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n  http(s)://{hostname}/api/v3/admin/pre-receive-hooks/42 \\\n  -d '{\"name\":\"name\"}'
    " }, { "lang": "JavaScript", @@ -2873,7 +2974,7 @@ { "verb": "delete", "requestPath": "/admin/pre-receive-hooks/{pre_receive_hook_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "pre_receive_hook_id", @@ -2888,8 +2989,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n https://api.github.com/admin/pre-receive-hooks/42", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n  https://api.github.com/admin/pre-receive-hooks/42
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n http(s)://{hostname}/api/v3/admin/pre-receive-hooks/42", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n  http(s)://{hostname}/api/v3/admin/pre-receive-hooks/42
    " }, { "lang": "JavaScript", @@ -2931,7 +3032,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "bodyParameters": [], @@ -2940,7 +3041,7 @@ { "verb": "get", "requestPath": "/admin/tokens", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "per_page", @@ -2966,8 +3067,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/admin/tokens", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/admin/tokens
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/admin/tokens", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/admin/tokens
    " }, { "lang": "JavaScript", @@ -3012,7 +3113,7 @@ { "verb": "delete", "requestPath": "/admin/tokens/{token_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "token_id", @@ -3027,8 +3128,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/admin/tokens/42", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/admin/tokens/42
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/admin/tokens/42", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/admin/tokens/42
    " }, { "lang": "JavaScript", @@ -3063,7 +3164,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "bodyParameters": [], @@ -3072,13 +3173,13 @@ { "verb": "post", "requestPath": "/admin/users", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/admin/users \\\n -d '{\"login\":\"login\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/admin/users \\\n  -d '{\"login\":\"login\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/admin/users \\\n -d '{\"login\":\"login\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/admin/users \\\n  -d '{\"login\":\"login\"}'
    " }, { "lang": "JavaScript", @@ -3178,7 +3279,7 @@ { "verb": "patch", "requestPath": "/admin/users/{username}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "username", @@ -3193,8 +3294,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/admin/users/USERNAME \\\n -d '{\"login\":\"login\"}'", - "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/admin/users/USERNAME \\\n  -d '{\"login\":\"login\"}'
    " + "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/admin/users/USERNAME \\\n -d '{\"login\":\"login\"}'", + "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/admin/users/USERNAME \\\n  -d '{\"login\":\"login\"}'
    " }, { "lang": "JavaScript", @@ -3275,7 +3376,7 @@ { "verb": "delete", "requestPath": "/admin/users/{username}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "username", @@ -3290,8 +3391,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/admin/users/USERNAME", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/admin/users/USERNAME
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/admin/users/USERNAME", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/admin/users/USERNAME
    " }, { "lang": "JavaScript", @@ -3326,7 +3427,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "bodyParameters": [], @@ -3335,7 +3436,7 @@ { "verb": "post", "requestPath": "/admin/users/{username}/authorizations", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "username", @@ -3350,8 +3451,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/admin/users/USERNAME/authorizations \\\n -d '{\"scopes\":[\"scopes\"]}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/admin/users/USERNAME/authorizations \\\n  -d '{\"scopes\":[\"scopes\"]}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/admin/users/USERNAME/authorizations \\\n -d '{\"scopes\":[\"scopes\"]}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/admin/users/USERNAME/authorizations \\\n  -d '{\"scopes\":[\"scopes\"]}'
    " }, { "lang": "JavaScript", @@ -3432,7 +3533,7 @@ { "verb": "delete", "requestPath": "/admin/users/{username}/authorizations", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "username", @@ -3447,8 +3548,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/admin/users/USERNAME/authorizations", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/admin/users/USERNAME/authorizations
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/admin/users/USERNAME/authorizations", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/admin/users/USERNAME/authorizations
    " }, { "lang": "JavaScript", @@ -3483,7 +3584,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "bodyParameters": [], @@ -3492,13 +3593,13 @@ { "verb": "get", "requestPath": "/app", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.machine-man-preview+json\" \\\n https://api.github.com/app", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.machine-man-preview+json\" \\\n  https://api.github.com/app
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.machine-man-preview+json\" \\\n http(s)://{hostname}/api/v3/app", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.machine-man-preview+json\" \\\n  http(s)://{hostname}/api/v3/app
    " }, { "lang": "JavaScript", @@ -3547,7 +3648,7 @@ { "verb": "post", "requestPath": "/app-manifests/{code}/conversions", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "code", @@ -3562,8 +3663,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/app-manifests/CODE/conversions", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/app-manifests/CODE/conversions
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/app-manifests/CODE/conversions", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/app-manifests/CODE/conversions
    " }, { "lang": "JavaScript", @@ -3616,7 +3717,7 @@ { "verb": "get", "requestPath": "/app/installations", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "accept", @@ -3653,8 +3754,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.machine-man-preview+json\" \\\n https://api.github.com/app/installations", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.machine-man-preview+json\" \\\n  https://api.github.com/app/installations
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.machine-man-preview+json\" \\\n http(s)://{hostname}/api/v3/app/installations", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.machine-man-preview+json\" \\\n  http(s)://{hostname}/api/v3/app/installations
    " }, { "lang": "JavaScript", @@ -3703,7 +3804,7 @@ { "verb": "get", "requestPath": "/app/installations/{installation_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "accept", @@ -3730,8 +3831,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.machine-man-preview+json\" \\\n https://api.github.com/app/installations/42", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.machine-man-preview+json\" \\\n  https://api.github.com/app/installations/42
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.machine-man-preview+json\" \\\n http(s)://{hostname}/api/v3/app/installations/42", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.machine-man-preview+json\" \\\n  http(s)://{hostname}/api/v3/app/installations/42
    " }, { "lang": "JavaScript", @@ -3790,7 +3891,7 @@ { "verb": "delete", "requestPath": "/app/installations/{installation_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "accept", @@ -3817,8 +3918,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.gambit-preview+json\" \\\n https://api.github.com/app/installations/42", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.gambit-preview+json\" \\\n  https://api.github.com/app/installations/42
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.gambit-preview+json\" \\\n http(s)://{hostname}/api/v3/app/installations/42", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.gambit-preview+json\" \\\n  http(s)://{hostname}/api/v3/app/installations/42
    " }, { "lang": "JavaScript", @@ -3863,7 +3964,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "404", @@ -3877,7 +3978,7 @@ { "verb": "post", "requestPath": "/app/installations/{installation_id}/access_tokens", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "accept", @@ -3904,8 +4005,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.machine-man-preview+json\" \\\n https://api.github.com/app/installations/42/access_tokens \\\n -d '{\"repositories\":[\"repositories\"]}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.machine-man-preview+json\" \\\n  https://api.github.com/app/installations/42/access_tokens \\\n  -d '{\"repositories\":[\"repositories\"]}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.machine-man-preview+json\" \\\n http(s)://{hostname}/api/v3/app/installations/42/access_tokens \\\n -d '{\"repositories\":[\"repositories\"]}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.machine-man-preview+json\" \\\n  http(s)://{hostname}/api/v3/app/installations/42/access_tokens \\\n  -d '{\"repositories\":[\"repositories\"]}'
    " }, { "lang": "JavaScript", @@ -5655,7 +5756,7 @@ { "verb": "get", "requestPath": "/applications/grants", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "per_page", @@ -5676,13 +5777,23 @@ "default": 1 }, "descriptionHTML": "

    Page number of the results to fetch.

    " + }, + { + "name": "client_id", + "in": "query", + "required": false, + "description": "The client ID of your GitHub app.", + "schema": { + "type": "string" + }, + "descriptionHTML": "

    The client ID of your GitHub app.

    " } ], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/applications/grants", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/applications/grants
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/applications/grants", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/applications/grants
    " }, { "lang": "JavaScript", @@ -5748,7 +5859,7 @@ { "verb": "get", "requestPath": "/applications/grants/{grant_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "grant_id", @@ -5764,8 +5875,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/applications/grants/42", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/applications/grants/42
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/applications/grants/42", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/applications/grants/42
    " }, { "lang": "JavaScript", @@ -5826,7 +5937,7 @@ { "verb": "delete", "requestPath": "/applications/grants/{grant_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "grant_id", @@ -5842,8 +5953,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/applications/grants/42", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/applications/grants/42
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/applications/grants/42", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/applications/grants/42
    " }, { "lang": "JavaScript", @@ -5879,7 +5990,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "304", @@ -5903,7 +6014,7 @@ { "verb": "delete", "requestPath": "/applications/{client_id}/grants/{access_token}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "client_id", @@ -5928,8 +6039,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/applications/CLIENT_ID/grants/ACCESS_TOKEN", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/applications/CLIENT_ID/grants/ACCESS_TOKEN
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/applications/CLIENT_ID/grants/ACCESS_TOKEN", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/applications/CLIENT_ID/grants/ACCESS_TOKEN
    " }, { "lang": "JavaScript", @@ -5962,7 +6073,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "bodyParameters": [], @@ -5971,7 +6082,7 @@ { "verb": "get", "requestPath": "/applications/{client_id}/tokens/{access_token}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "client_id", @@ -5996,8 +6107,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/applications/CLIENT_ID/tokens/ACCESS_TOKEN", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/applications/CLIENT_ID/tokens/ACCESS_TOKEN
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/applications/CLIENT_ID/tokens/ACCESS_TOKEN", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/applications/CLIENT_ID/tokens/ACCESS_TOKEN
    " }, { "lang": "JavaScript", @@ -6040,7 +6151,7 @@ { "verb": "post", "requestPath": "/applications/{client_id}/tokens/{access_token}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "client_id", @@ -6065,8 +6176,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/applications/CLIENT_ID/tokens/ACCESS_TOKEN", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/applications/CLIENT_ID/tokens/ACCESS_TOKEN
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/applications/CLIENT_ID/tokens/ACCESS_TOKEN", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/applications/CLIENT_ID/tokens/ACCESS_TOKEN
    " }, { "lang": "JavaScript", @@ -6109,7 +6220,7 @@ { "verb": "delete", "requestPath": "/applications/{client_id}/tokens/{access_token}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "client_id", @@ -6134,8 +6245,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/applications/CLIENT_ID/tokens/ACCESS_TOKEN", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/applications/CLIENT_ID/tokens/ACCESS_TOKEN
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/applications/CLIENT_ID/tokens/ACCESS_TOKEN", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/applications/CLIENT_ID/tokens/ACCESS_TOKEN
    " }, { "lang": "JavaScript", @@ -6168,7 +6279,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "bodyParameters": [], @@ -6177,7 +6288,7 @@ { "verb": "get", "requestPath": "/apps/{app_slug}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "app_slug", @@ -6192,8 +6303,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.machine-man-preview+json\" \\\n https://api.github.com/apps/APP_SLUG", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.machine-man-preview+json\" \\\n  https://api.github.com/apps/APP_SLUG
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.machine-man-preview+json\" \\\n http(s)://{hostname}/api/v3/apps/APP_SLUG", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.machine-man-preview+json\" \\\n  http(s)://{hostname}/api/v3/apps/APP_SLUG
    " }, { "lang": "JavaScript", @@ -6257,7 +6368,7 @@ { "verb": "get", "requestPath": "/authorizations", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "per_page", @@ -6278,13 +6389,23 @@ "default": 1 }, "descriptionHTML": "

    Page number of the results to fetch.

    " + }, + { + "name": "client_id", + "in": "query", + "required": false, + "description": "The client ID of your GitHub app.", + "schema": { + "type": "string" + }, + "descriptionHTML": "

    The client ID of your GitHub app.

    " } ], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/authorizations", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/authorizations
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/authorizations", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/authorizations
    " }, { "lang": "JavaScript", @@ -6350,13 +6471,13 @@ { "verb": "post", "requestPath": "/authorizations", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/authorizations \\\n -d '{\"scopes\":[\"scopes\"]}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/authorizations \\\n  -d '{\"scopes\":[\"scopes\"]}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/authorizations \\\n -d '{\"scopes\":[\"scopes\"]}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/authorizations \\\n  -d '{\"scopes\":[\"scopes\"]}'
    " }, { "lang": "JavaScript", @@ -6569,7 +6690,7 @@ { "verb": "put", "requestPath": "/authorizations/clients/{client_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "client_id", @@ -6585,8 +6706,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/authorizations/clients/CLIENT_ID \\\n -d '{\"client_secret\":\"client_secret\"}'", - "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/authorizations/clients/CLIENT_ID \\\n  -d '{\"client_secret\":\"client_secret\"}'
    " + "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/authorizations/clients/CLIENT_ID \\\n -d '{\"client_secret\":\"client_secret\"}'", + "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/authorizations/clients/CLIENT_ID \\\n  -d '{\"client_secret\":\"client_secret\"}'
    " }, { "lang": "JavaScript", @@ -6783,7 +6904,7 @@ { "verb": "put", "requestPath": "/authorizations/clients/{client_id}/{fingerprint}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "client_id", @@ -6808,8 +6929,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/authorizations/clients/CLIENT_ID/FINGERPRINT \\\n -d '{\"client_secret\":\"client_secret\"}'", - "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/authorizations/clients/CLIENT_ID/FINGERPRINT \\\n  -d '{\"client_secret\":\"client_secret\"}'
    " + "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/authorizations/clients/CLIENT_ID/FINGERPRINT \\\n -d '{\"client_secret\":\"client_secret\"}'", + "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/authorizations/clients/CLIENT_ID/FINGERPRINT \\\n  -d '{\"client_secret\":\"client_secret\"}'
    " }, { "lang": "JavaScript", @@ -6973,7 +7094,7 @@ { "verb": "get", "requestPath": "/authorizations/{authorization_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "authorization_id", @@ -6989,8 +7110,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/authorizations/42", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/authorizations/42
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/authorizations/42", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/authorizations/42
    " }, { "lang": "JavaScript", @@ -7051,7 +7172,7 @@ { "verb": "patch", "requestPath": "/authorizations/{authorization_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "authorization_id", @@ -7067,8 +7188,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/authorizations/42 \\\n -d '{\"scopes\":[\"scopes\"]}'", - "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/authorizations/42 \\\n  -d '{\"scopes\":[\"scopes\"]}'
    " + "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/authorizations/42 \\\n -d '{\"scopes\":[\"scopes\"]}'", + "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/authorizations/42 \\\n  -d '{\"scopes\":[\"scopes\"]}'
    " }, { "lang": "JavaScript", @@ -7269,7 +7390,7 @@ { "verb": "delete", "requestPath": "/authorizations/{authorization_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "authorization_id", @@ -7285,8 +7406,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/authorizations/42", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/authorizations/42
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/authorizations/42", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/authorizations/42
    " }, { "lang": "JavaScript", @@ -7322,7 +7443,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "304", @@ -7346,13 +7467,13 @@ { "verb": "get", "requestPath": "/codes_of_conduct", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.scarlet-witch-preview+json\" \\\n https://api.github.com/codes_of_conduct", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.scarlet-witch-preview+json\" \\\n  https://api.github.com/codes_of_conduct
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.scarlet-witch-preview+json\" \\\n http(s)://{hostname}/api/v3/codes_of_conduct", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.scarlet-witch-preview+json\" \\\n  http(s)://{hostname}/api/v3/codes_of_conduct
    " }, { "lang": "JavaScript", @@ -7412,7 +7533,7 @@ { "verb": "get", "requestPath": "/codes_of_conduct/{key}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "key", @@ -7427,8 +7548,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.scarlet-witch-preview+json\" \\\n https://api.github.com/codes_of_conduct/KEY", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.scarlet-witch-preview+json\" \\\n  https://api.github.com/codes_of_conduct/KEY
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.scarlet-witch-preview+json\" \\\n http(s)://{hostname}/api/v3/codes_of_conduct/KEY", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.scarlet-witch-preview+json\" \\\n  http(s)://{hostname}/api/v3/codes_of_conduct/KEY
    " }, { "lang": "JavaScript", @@ -7493,7 +7614,7 @@ { "verb": "post", "requestPath": "/content_references/{content_reference_id}/attachments", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "content_reference_id", @@ -7508,8 +7629,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.corsair-preview+json\" \\\n https://api.github.com/content_references/42/attachments \\\n -d '{\"title\":\"title\",\"body\":\"body\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.corsair-preview+json\" \\\n  https://api.github.com/content_references/42/attachments \\\n  -d '{\"title\":\"title\",\"body\":\"body\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.corsair-preview+json\" \\\n http(s)://{hostname}/api/v3/content_references/42/attachments \\\n -d '{\"title\":\"title\",\"body\":\"body\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.corsair-preview+json\" \\\n  http(s)://{hostname}/api/v3/content_references/42/attachments \\\n  -d '{\"title\":\"title\",\"body\":\"body\"}'
    " }, { "lang": "JavaScript", @@ -7651,13 +7772,13 @@ { "verb": "get", "requestPath": "/emojis", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/emojis", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/emojis
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/emojis", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/emojis
    " }, { "lang": "JavaScript", @@ -7704,13 +7825,13 @@ { "verb": "get", "requestPath": "/enterprise/settings/license", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/enterprise/settings/license", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/enterprise/settings/license
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/enterprise/settings/license", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/enterprise/settings/license
    " }, { "lang": "JavaScript", @@ -7755,7 +7876,7 @@ { "verb": "get", "requestPath": "/enterprise/stats/{type}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "type", @@ -7770,8 +7891,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/enterprise/stats/TYPE", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/enterprise/stats/TYPE
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/enterprise/stats/TYPE", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/enterprise/stats/TYPE
    " }, { "lang": "JavaScript", @@ -7816,7 +7937,7 @@ { "verb": "get", "requestPath": "/events", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "per_page", @@ -7842,8 +7963,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/events", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/events
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/events", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/events
    " }, { "lang": "JavaScript", @@ -7902,13 +8023,13 @@ { "verb": "get", "requestPath": "/feeds", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/feeds", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/feeds
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/feeds", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/feeds
    " }, { "lang": "JavaScript", @@ -7953,7 +8074,7 @@ { "verb": "get", "requestPath": "/gists", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "since", @@ -7989,8 +8110,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/gists", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/gists
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/gists", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/gists
    " }, { "lang": "JavaScript", @@ -8043,13 +8164,13 @@ { "verb": "post", "requestPath": "/gists", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/gists \\\n -d '{\"files\":{}}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/gists \\\n  -d '{\"files\":{}}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/gists \\\n -d '{\"files\":{}}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/gists \\\n  -d '{\"files\":{}}'
    " }, { "lang": "JavaScript", @@ -8247,7 +8368,7 @@ { "verb": "get", "requestPath": "/gists/public", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "since", @@ -8283,8 +8404,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/gists/public", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/gists/public
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/gists/public", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/gists/public
    " }, { "lang": "JavaScript", @@ -8342,7 +8463,7 @@ { "verb": "get", "requestPath": "/gists/starred", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "since", @@ -8378,8 +8499,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/gists/starred", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/gists/starred
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/gists/starred", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/gists/starred
    " }, { "lang": "JavaScript", @@ -8437,7 +8558,7 @@ { "verb": "get", "requestPath": "/gists/{gist_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "gist_id", @@ -8453,8 +8574,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/gists/GIST_ID", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/gists/GIST_ID
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/gists/GIST_ID", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/gists/GIST_ID
    " }, { "lang": "JavaScript", @@ -8512,7 +8633,7 @@ { "verb": "patch", "requestPath": "/gists/{gist_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "gist_id", @@ -8528,8 +8649,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/gists/GIST_ID \\\n -d '{\"description\":\"description\"}'", - "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/gists/GIST_ID \\\n  -d '{\"description\":\"description\"}'
    " + "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/gists/GIST_ID \\\n -d '{\"description\":\"description\"}'", + "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/gists/GIST_ID \\\n  -d '{\"description\":\"description\"}'
    " }, { "lang": "JavaScript", @@ -8719,7 +8840,7 @@ { "verb": "delete", "requestPath": "/gists/{gist_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "gist_id", @@ -8735,8 +8856,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/gists/GIST_ID", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/gists/GIST_ID
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/gists/GIST_ID", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/gists/GIST_ID
    " }, { "lang": "JavaScript", @@ -8769,7 +8890,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "304", @@ -8793,7 +8914,7 @@ { "verb": "get", "requestPath": "/gists/{gist_id}/comments", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "gist_id", @@ -8829,8 +8950,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/gists/GIST_ID/comments", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/gists/GIST_ID/comments
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/gists/GIST_ID/comments", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/gists/GIST_ID/comments
    " }, { "lang": "JavaScript", @@ -8890,7 +9011,7 @@ { "verb": "post", "requestPath": "/gists/{gist_id}/comments", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "gist_id", @@ -8906,8 +9027,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/gists/GIST_ID/comments \\\n -d '{\"body\":\"body\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/gists/GIST_ID/comments \\\n  -d '{\"body\":\"body\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/gists/GIST_ID/comments \\\n -d '{\"body\":\"body\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/gists/GIST_ID/comments \\\n  -d '{\"body\":\"body\"}'
    " }, { "lang": "JavaScript", @@ -9004,7 +9125,7 @@ { "verb": "get", "requestPath": "/gists/{gist_id}/comments/{comment_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "gist_id", @@ -9030,8 +9151,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/gists/GIST_ID/comments/42", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/gists/GIST_ID/comments/42
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/gists/GIST_ID/comments/42", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/gists/GIST_ID/comments/42
    " }, { "lang": "JavaScript", @@ -9091,7 +9212,7 @@ { "verb": "patch", "requestPath": "/gists/{gist_id}/comments/{comment_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "gist_id", @@ -9117,8 +9238,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/gists/GIST_ID/comments/42 \\\n -d '{\"body\":\"body\"}'", - "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/gists/GIST_ID/comments/42 \\\n  -d '{\"body\":\"body\"}'
    " + "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/gists/GIST_ID/comments/42 \\\n -d '{\"body\":\"body\"}'", + "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/gists/GIST_ID/comments/42 \\\n  -d '{\"body\":\"body\"}'
    " }, { "lang": "JavaScript", @@ -9205,7 +9326,7 @@ { "verb": "delete", "requestPath": "/gists/{gist_id}/comments/{comment_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "gist_id", @@ -9231,8 +9352,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/gists/GIST_ID/comments/42", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/gists/GIST_ID/comments/42
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/gists/GIST_ID/comments/42", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/gists/GIST_ID/comments/42
    " }, { "lang": "JavaScript", @@ -9267,7 +9388,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "304", @@ -9291,7 +9412,7 @@ { "verb": "get", "requestPath": "/gists/{gist_id}/commits", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "gist_id", @@ -9327,8 +9448,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/gists/GIST_ID/commits", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/gists/GIST_ID/commits
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/gists/GIST_ID/commits", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/gists/GIST_ID/commits
    " }, { "lang": "JavaScript", @@ -9386,7 +9507,7 @@ { "verb": "get", "requestPath": "/gists/{gist_id}/forks", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "gist_id", @@ -9422,8 +9543,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/gists/GIST_ID/forks", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/gists/GIST_ID/forks
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/gists/GIST_ID/forks", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/gists/GIST_ID/forks
    " }, { "lang": "JavaScript", @@ -9481,7 +9602,7 @@ { "verb": "post", "requestPath": "/gists/{gist_id}/forks", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "gist_id", @@ -9497,8 +9618,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/gists/GIST_ID/forks", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/gists/GIST_ID/forks
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/gists/GIST_ID/forks", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/gists/GIST_ID/forks
    " }, { "lang": "JavaScript", @@ -9561,7 +9682,7 @@ { "verb": "get", "requestPath": "/gists/{gist_id}/star", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "gist_id", @@ -9577,8 +9698,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/gists/GIST_ID/star", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/gists/GIST_ID/star
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/gists/GIST_ID/star", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/gists/GIST_ID/star
    " }, { "lang": "JavaScript", @@ -9635,7 +9756,7 @@ { "verb": "put", "requestPath": "/gists/{gist_id}/star", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "gist_id", @@ -9651,8 +9772,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/gists/GIST_ID/star", - "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/gists/GIST_ID/star
    " + "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/gists/GIST_ID/star", + "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/gists/GIST_ID/star
    " }, { "lang": "JavaScript", @@ -9685,7 +9806,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "304", @@ -9709,7 +9830,7 @@ { "verb": "delete", "requestPath": "/gists/{gist_id}/star", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "gist_id", @@ -9725,8 +9846,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/gists/GIST_ID/star", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/gists/GIST_ID/star
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/gists/GIST_ID/star", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/gists/GIST_ID/star
    " }, { "lang": "JavaScript", @@ -9759,7 +9880,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "304", @@ -9783,7 +9904,7 @@ { "verb": "get", "requestPath": "/gists/{gist_id}/{sha}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "gist_id", @@ -9808,8 +9929,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/gists/GIST_ID/SHA", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/gists/GIST_ID/SHA
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/gists/GIST_ID/SHA", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/gists/GIST_ID/SHA
    " }, { "lang": "JavaScript", @@ -9867,13 +9988,13 @@ { "verb": "get", "requestPath": "/gitignore/templates", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/gitignore/templates", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/gitignore/templates
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/gitignore/templates", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/gitignore/templates
    " }, { "lang": "JavaScript", @@ -9921,7 +10042,7 @@ { "verb": "get", "requestPath": "/gitignore/templates/{name}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "name", @@ -9936,8 +10057,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/gitignore/templates/NAME", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/gitignore/templates/NAME
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/gitignore/templates/NAME", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/gitignore/templates/NAME
    " }, { "lang": "JavaScript", @@ -9985,7 +10106,7 @@ { "verb": "get", "requestPath": "/installation/repositories", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "accept", @@ -10022,8 +10143,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.machine-man-preview+json\" \\\n https://api.github.com/installation/repositories", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.machine-man-preview+json\" \\\n  https://api.github.com/installation/repositories
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.machine-man-preview+json\" \\\n http(s)://{hostname}/api/v3/installation/repositories", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.machine-man-preview+json\" \\\n  http(s)://{hostname}/api/v3/installation/repositories
    " }, { "lang": "JavaScript", @@ -10096,7 +10217,7 @@ { "verb": "get", "requestPath": "/issues", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "filter", @@ -10110,6 +10231,7 @@ "created", "mentioned", "subscribed", + "repos", "all" ], "default": "assigned" @@ -10243,8 +10365,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/issues", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/issues
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/issues", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/issues
    " }, { "lang": "JavaScript", @@ -10308,7 +10430,7 @@ { "verb": "get", "requestPath": "/licenses", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "featured", @@ -10328,13 +10450,23 @@ "default": 30 }, "descriptionHTML": "

    Results per page (max 100).

    " + }, + { + "name": "page", + "description": "Page number of the results to fetch.", + "in": "query", + "schema": { + "type": "integer", + "default": 1 + }, + "descriptionHTML": "

    Page number of the results to fetch.

    " } ], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/licenses", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/licenses
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/licenses", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/licenses
    " }, { "lang": "JavaScript", @@ -10382,7 +10514,7 @@ { "verb": "get", "requestPath": "/licenses/{license}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "license", @@ -10397,8 +10529,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/licenses/LICENSE", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/licenses/LICENSE
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/licenses/LICENSE", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/licenses/LICENSE
    " }, { "lang": "JavaScript", @@ -10456,13 +10588,13 @@ { "verb": "post", "requestPath": "/markdown", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/markdown \\\n -d '{\"text\":\"text\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/markdown \\\n  -d '{\"text\":\"text\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/markdown \\\n -d '{\"text\":\"text\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/markdown \\\n  -d '{\"text\":\"text\"}'
    " }, { "lang": "JavaScript", @@ -10590,13 +10722,13 @@ { "verb": "post", "requestPath": "/markdown/raw", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/markdown/raw", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/markdown/raw
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/markdown/raw", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/markdown/raw
    " }, { "lang": "JavaScript", @@ -10657,13 +10789,13 @@ { "verb": "get", "requestPath": "/meta", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/meta", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/meta
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/meta", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/meta
    " }, { "lang": "JavaScript", @@ -10711,7 +10843,7 @@ { "verb": "get", "requestPath": "/networks/{owner}/{repo}/events", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -10755,8 +10887,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/networks/octocat/hello-world/events", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/networks/octocat/hello-world/events
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/networks/octocat/hello-world/events", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/networks/octocat/hello-world/events
    " }, { "lang": "JavaScript", @@ -10820,7 +10952,7 @@ { "verb": "get", "requestPath": "/notifications", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "all", @@ -10888,8 +11020,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/notifications", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/notifications
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/notifications", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/notifications
    " }, { "lang": "JavaScript", @@ -10954,13 +11086,13 @@ { "verb": "put", "requestPath": "/notifications", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/notifications \\\n -d '{\"last_read_at\":\"last_read_at\"}'", - "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/notifications \\\n  -d '{\"last_read_at\":\"last_read_at\"}'
    " + "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/notifications \\\n -d '{\"last_read_at\":\"last_read_at\"}'", + "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/notifications \\\n  -d '{\"last_read_at\":\"last_read_at\"}'
    " }, { "lang": "JavaScript", @@ -11074,7 +11206,7 @@ { "verb": "get", "requestPath": "/notifications/threads/{thread_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "thread_id", @@ -11090,8 +11222,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/notifications/threads/42", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/notifications/threads/42
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/notifications/threads/42", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/notifications/threads/42
    " }, { "lang": "JavaScript", @@ -11151,7 +11283,7 @@ { "verb": "patch", "requestPath": "/notifications/threads/{thread_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "thread_id", @@ -11167,8 +11299,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/notifications/threads/42", - "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/notifications/threads/42
    " + "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/notifications/threads/42", + "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/notifications/threads/42
    " }, { "lang": "JavaScript", @@ -11222,7 +11354,7 @@ { "verb": "get", "requestPath": "/notifications/threads/{thread_id}/subscription", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "thread_id", @@ -11238,8 +11370,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/notifications/threads/42/subscription", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/notifications/threads/42/subscription
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/notifications/threads/42/subscription", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/notifications/threads/42/subscription
    " }, { "lang": "JavaScript", @@ -11299,7 +11431,7 @@ { "verb": "put", "requestPath": "/notifications/threads/{thread_id}/subscription", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "thread_id", @@ -11315,8 +11447,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/notifications/threads/42/subscription \\\n -d '{\"ignored\":true}'", - "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/notifications/threads/42/subscription \\\n  -d '{\"ignored\":true}'
    " + "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/notifications/threads/42/subscription \\\n -d '{\"ignored\":true}'", + "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/notifications/threads/42/subscription \\\n  -d '{\"ignored\":true}'
    " }, { "lang": "JavaScript", @@ -11408,7 +11540,7 @@ { "verb": "delete", "requestPath": "/notifications/threads/{thread_id}/subscription", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "thread_id", @@ -11424,8 +11556,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/notifications/threads/42/subscription", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/notifications/threads/42/subscription
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/notifications/threads/42/subscription", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/notifications/threads/42/subscription
    " }, { "lang": "JavaScript", @@ -11460,7 +11592,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "304", @@ -11484,7 +11616,7 @@ { "verb": "get", "requestPath": "/octocat", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "s", @@ -11500,8 +11632,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/octocat", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/octocat
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/octocat", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/octocat
    " }, { "lang": "JavaScript", @@ -11538,7 +11670,7 @@ { "verb": "get", "requestPath": "/organizations", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "since", @@ -11564,8 +11696,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/organizations", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/organizations
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/organizations", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/organizations
    " }, { "lang": "JavaScript", @@ -11613,7 +11745,7 @@ { "verb": "get", "requestPath": "/orgs/{org}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "org", @@ -11628,8 +11760,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/orgs/ORG", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/orgs/ORG
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG
    " }, { "lang": "JavaScript", @@ -11672,13 +11804,7 @@ "httpStatusCode": "200", "httpStatusMessage": "OK", "description": "Default response", - "payload": "
    {\n  \"login\": \"github\",\n  \"id\": 1,\n  \"node_id\": \"MDEyOk9yZ2FuaXphdGlvbjE=\",\n  \"url\": \"https://api.github.com/orgs/github\",\n  \"repos_url\": \"https://api.github.com/orgs/github/repos\",\n  \"events_url\": \"https://api.github.com/orgs/github/events\",\n  \"hooks_url\": \"https://api.github.com/orgs/github/hooks\",\n  \"issues_url\": \"https://api.github.com/orgs/github/issues\",\n  \"members_url\": \"https://api.github.com/orgs/github/members{/member}\",\n  \"public_members_url\": \"https://api.github.com/orgs/github/public_members{/member}\",\n  \"avatar_url\": \"https://github.com/images/error/octocat_happy.gif\",\n  \"description\": \"A great organization\",\n  \"name\": \"github\",\n  \"company\": \"GitHub\",\n  \"blog\": \"https://github.com/blog\",\n  \"location\": \"San Francisco\",\n  \"email\": \"octocat@github.com\",\n  \"twitter_username\": \"github\",\n  \"is_verified\": true,\n  \"has_organization_projects\": true,\n  \"has_repository_projects\": true,\n  \"public_repos\": 2,\n  \"public_gists\": 1,\n  \"followers\": 20,\n  \"following\": 0,\n  \"html_url\": \"https://github.com/octocat\",\n  \"created_at\": \"2008-01-14T04:33:35Z\",\n  \"updated_at\": \"2014-03-03T18:58:10Z\",\n  \"type\": \"Organization\",\n  \"total_private_repos\": 100,\n  \"owned_private_repos\": 100,\n  \"private_gists\": 81,\n  \"disk_usage\": 10000,\n  \"collaborators\": 8,\n  \"billing_email\": \"mona@github.com\",\n  \"plan\": {\n    \"name\": \"Medium\",\n    \"space\": 400,\n    \"private_repos\": 20\n  },\n  \"default_repository_permission\": \"read\",\n  \"members_can_create_repositories\": true,\n  \"two_factor_requirement_enabled\": true,\n  \"members_allowed_repository_creation_type\": \"all\",\n  \"members_can_create_public_repositories\": false,\n  \"members_can_create_private_repositories\": false,\n  \"members_can_create_internal_repositories\": false,\n  \"members_can_create_pages\": true\n}\n
    " - }, - { - "httpStatusCode": "200", - "httpStatusMessage": "OK", - "description": "Response with GitHub plan information", - "payload": "
    {\n  \"login\": \"github\",\n  \"id\": 1,\n  \"node_id\": \"MDEyOk9yZ2FuaXphdGlvbjE=\",\n  \"url\": \"https://api.github.com/orgs/github\",\n  \"repos_url\": \"https://api.github.com/orgs/github/repos\",\n  \"events_url\": \"https://api.github.com/orgs/github/events\",\n  \"hooks_url\": \"https://api.github.com/orgs/github/hooks\",\n  \"issues_url\": \"https://api.github.com/orgs/github/issues\",\n  \"members_url\": \"https://api.github.com/orgs/github/members{/member}\",\n  \"public_members_url\": \"https://api.github.com/orgs/github/public_members{/member}\",\n  \"avatar_url\": \"https://github.com/images/error/octocat_happy.gif\",\n  \"description\": \"A great organization\",\n  \"name\": \"github\",\n  \"company\": \"GitHub\",\n  \"blog\": \"https://github.com/blog\",\n  \"location\": \"San Francisco\",\n  \"email\": \"octocat@github.com\",\n  \"twitter_username\": \"github\",\n  \"is_verified\": true,\n  \"has_organization_projects\": true,\n  \"has_repository_projects\": true,\n  \"public_repos\": 2,\n  \"public_gists\": 1,\n  \"followers\": 20,\n  \"following\": 0,\n  \"html_url\": \"https://github.com/octocat\",\n  \"created_at\": \"2008-01-14T04:33:35Z\",\n  \"updated_at\": \"2014-03-03T18:58:10Z\",\n  \"type\": \"Organization\",\n  \"plan\": {\n    \"name\": \"team\",\n    \"space\": 976562499,\n    \"private_repos\": 999999,\n    \"filled_seats\": 4,\n    \"seats\": 5\n  }\n}\n
    " + "payload": "
    {\n  \"login\": \"github\",\n  \"id\": 1,\n  \"node_id\": \"MDEyOk9yZ2FuaXphdGlvbjE=\",\n  \"url\": \"https://api.github.com/orgs/github\",\n  \"repos_url\": \"https://api.github.com/orgs/github/repos\",\n  \"events_url\": \"https://api.github.com/orgs/github/events\",\n  \"hooks_url\": \"https://api.github.com/orgs/github/hooks\",\n  \"issues_url\": \"https://api.github.com/orgs/github/issues\",\n  \"members_url\": \"https://api.github.com/orgs/github/members{/member}\",\n  \"public_members_url\": \"https://api.github.com/orgs/github/public_members{/member}\",\n  \"avatar_url\": \"https://github.com/images/error/octocat_happy.gif\",\n  \"description\": \"A great organization\",\n  \"name\": \"github\",\n  \"company\": \"GitHub\",\n  \"blog\": \"https://github.com/blog\",\n  \"location\": \"San Francisco\",\n  \"email\": \"octocat@github.com\",\n  \"twitter_username\": \"github\",\n  \"is_verified\": true,\n  \"has_organization_projects\": true,\n  \"has_repository_projects\": true,\n  \"public_repos\": 2,\n  \"public_gists\": 1,\n  \"followers\": 20,\n  \"following\": 0,\n  \"html_url\": \"https://github.com/octocat\",\n  \"created_at\": \"2008-01-14T04:33:35Z\",\n  \"updated_at\": \"2014-03-03T18:58:10Z\",\n  \"type\": \"Organization\",\n  \"total_private_repos\": 100,\n  \"owned_private_repos\": 100,\n  \"private_gists\": 81,\n  \"disk_usage\": 10000,\n  \"collaborators\": 8,\n  \"billing_email\": \"mona@github.com\",\n  \"plan\": {\n    \"name\": \"Medium\",\n    \"space\": 400,\n    \"private_repos\": 20,\n    \"filled_seats\": 4,\n    \"seats\": 5\n  },\n  \"default_repository_permission\": \"read\",\n  \"members_can_create_repositories\": true,\n  \"two_factor_requirement_enabled\": true,\n  \"members_allowed_repository_creation_type\": \"all\",\n  \"members_can_create_public_repositories\": false,\n  \"members_can_create_private_repositories\": false,\n  \"members_can_create_internal_repositories\": false,\n  \"members_can_create_pages\": true\n}\n
    " }, { "httpStatusCode": "404", @@ -11690,7 +11816,7 @@ { "verb": "patch", "requestPath": "/orgs/{org}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "org", @@ -11705,8 +11831,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/orgs/ORG \\\n -d '{\"billing_email\":\"billing_email\"}'", - "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/orgs/ORG \\\n  -d '{\"billing_email\":\"billing_email\"}'
    " + "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG \\\n -d '{\"billing_email\":\"billing_email\"}'", + "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG \\\n  -d '{\"billing_email\":\"billing_email\"}'
    " }, { "lang": "JavaScript", @@ -12109,7 +12235,7 @@ { "verb": "get", "requestPath": "/orgs/{org}/events", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "org", @@ -12144,8 +12270,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/orgs/ORG/events", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/orgs/ORG/events
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/events", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/events
    " }, { "lang": "JavaScript", @@ -12189,7 +12315,7 @@ { "verb": "get", "requestPath": "/orgs/{org}/hooks", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "org", @@ -12224,8 +12350,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/orgs/ORG/hooks", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/orgs/ORG/hooks
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/hooks", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/hooks
    " }, { "lang": "JavaScript", @@ -12275,7 +12401,7 @@ { "verb": "post", "requestPath": "/orgs/{org}/hooks", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "org", @@ -12290,8 +12416,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/orgs/ORG/hooks \\\n -d '{\"name\":\"name\",\"config\":{\"url\":\"url\",\"content_type\":\"content_type\",\"secret\":\"secret\",\"insecure_ssl\":\"insecure_ssl\",\"username\":\"username\",\"password\":\"password\"}}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/orgs/ORG/hooks \\\n  -d '{\"name\":\"name\",\"config\":{\"url\":\"url\",\"content_type\":\"content_type\",\"secret\":\"secret\",\"insecure_ssl\":\"insecure_ssl\",\"username\":\"username\",\"password\":\"password\"}}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/hooks \\\n -d '{\"name\":\"name\",\"config\":{\"url\":\"url\",\"content_type\":\"content_type\",\"secret\":\"secret\",\"insecure_ssl\":\"insecure_ssl\",\"username\":\"username\",\"password\":\"password\"}}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/hooks \\\n  -d '{\"name\":\"name\",\"config\":{\"url\":\"url\",\"content_type\":\"content_type\",\"secret\":\"secret\",\"insecure_ssl\":\"insecure_ssl\",\"username\":\"username\",\"password\":\"password\"}}'
    " }, { "lang": "JavaScript", @@ -12722,7 +12848,7 @@ { "verb": "get", "requestPath": "/orgs/{org}/hooks/{hook_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "org", @@ -12746,8 +12872,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/orgs/ORG/hooks/42", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/orgs/ORG/hooks/42
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/hooks/42", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/hooks/42
    " }, { "lang": "JavaScript", @@ -12797,7 +12923,7 @@ { "verb": "patch", "requestPath": "/orgs/{org}/hooks/{hook_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "org", @@ -12821,8 +12947,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/orgs/ORG/hooks/42 \\\n -d '{\"config\":{\"url\":\"url\",\"content_type\":\"content_type\",\"secret\":\"secret\",\"insecure_ssl\":\"insecure_ssl\"}}'", - "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/orgs/ORG/hooks/42 \\\n  -d '{\"config\":{\"url\":\"url\",\"content_type\":\"content_type\",\"secret\":\"secret\",\"insecure_ssl\":\"insecure_ssl\"}}'
    " + "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/hooks/42 \\\n -d '{\"config\":{\"url\":\"url\",\"content_type\":\"content_type\",\"secret\":\"secret\",\"insecure_ssl\":\"insecure_ssl\"}}'", + "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/hooks/42 \\\n  -d '{\"config\":{\"url\":\"url\",\"content_type\":\"content_type\",\"secret\":\"secret\",\"insecure_ssl\":\"insecure_ssl\"}}'
    " }, { "lang": "JavaScript", @@ -13171,7 +13297,7 @@ { "verb": "delete", "requestPath": "/orgs/{org}/hooks/{hook_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "org", @@ -13195,8 +13321,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/orgs/ORG/hooks/42", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/orgs/ORG/hooks/42
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/hooks/42", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/hooks/42
    " }, { "lang": "JavaScript", @@ -13231,7 +13357,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "404", @@ -13245,7 +13371,7 @@ { "verb": "post", "requestPath": "/orgs/{org}/hooks/{hook_id}/pings", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "org", @@ -13269,8 +13395,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/orgs/ORG/hooks/42/pings", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/orgs/ORG/hooks/42/pings
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/hooks/42/pings", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/hooks/42/pings
    " }, { "lang": "JavaScript", @@ -13305,7 +13431,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "404", @@ -13319,7 +13445,7 @@ { "verb": "get", "requestPath": "/orgs/{org}/installation", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "accept", @@ -13345,8 +13471,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.machine-man-preview+json\" \\\n https://api.github.com/orgs/ORG/installation", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.machine-man-preview+json\" \\\n  https://api.github.com/orgs/ORG/installation
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.machine-man-preview+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/installation", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.machine-man-preview+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/installation
    " }, { "lang": "JavaScript", @@ -13395,7 +13521,7 @@ { "verb": "get", "requestPath": "/orgs/{org}/issues", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "org", @@ -13418,6 +13544,7 @@ "created", "mentioned", "subscribed", + "repos", "all" ], "default": "assigned" @@ -13515,8 +13642,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/orgs/ORG/issues", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/orgs/ORG/issues
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/issues", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/issues
    " }, { "lang": "JavaScript", @@ -13570,7 +13697,7 @@ { "verb": "get", "requestPath": "/orgs/{org}/members", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "org", @@ -13636,8 +13763,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/orgs/ORG/members", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/orgs/ORG/members
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/members", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/members
    " }, { "lang": "JavaScript", @@ -13692,7 +13819,7 @@ { "verb": "get", "requestPath": "/orgs/{org}/members/{username}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "org", @@ -13716,8 +13843,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/orgs/ORG/members/USERNAME", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/orgs/ORG/members/USERNAME
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/members/USERNAME", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/members/USERNAME
    " }, { "lang": "JavaScript", @@ -13771,7 +13898,7 @@ { "verb": "delete", "requestPath": "/orgs/{org}/members/{username}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "org", @@ -13795,8 +13922,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/orgs/ORG/members/USERNAME", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/orgs/ORG/members/USERNAME
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/members/USERNAME", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/members/USERNAME
    " }, { "lang": "JavaScript", @@ -13831,7 +13958,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "403", @@ -13845,7 +13972,7 @@ { "verb": "get", "requestPath": "/orgs/{org}/memberships/{username}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "org", @@ -13869,8 +13996,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/orgs/ORG/memberships/USERNAME", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/orgs/ORG/memberships/USERNAME
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/memberships/USERNAME", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/memberships/USERNAME
    " }, { "lang": "JavaScript", @@ -13879,7 +14006,7 @@ } ], "summary": "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.", + "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.", "tags": [ "orgs" ], @@ -13902,7 +14029,7 @@ "subcategoryLabel": "Members", "notes": [], "bodyParameters": [], - "descriptionHTML": "

    In order to get a user's membership with an organization, the authenticated user must be an organization member.

    ", + "descriptionHTML": "

    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.

    ", "responses": [ { "httpStatusCode": "200", @@ -13910,18 +14037,6 @@ "description": "Response if user has an active admin membership with organization", "payload": "
    {\n  \"url\": \"https://api.github.com/orgs/octocat/memberships/defunkt\",\n  \"state\": \"active\",\n  \"role\": \"admin\",\n  \"organization_url\": \"https://api.github.com/orgs/octocat\",\n  \"organization\": {\n    \"login\": \"github\",\n    \"id\": 1,\n    \"node_id\": \"MDEyOk9yZ2FuaXphdGlvbjE=\",\n    \"url\": \"https://api.github.com/orgs/github\",\n    \"repos_url\": \"https://api.github.com/orgs/github/repos\",\n    \"events_url\": \"https://api.github.com/orgs/github/events\",\n    \"hooks_url\": \"https://api.github.com/orgs/github/hooks\",\n    \"issues_url\": \"https://api.github.com/orgs/github/issues\",\n    \"members_url\": \"https://api.github.com/orgs/github/members{/member}\",\n    \"public_members_url\": \"https://api.github.com/orgs/github/public_members{/member}\",\n    \"avatar_url\": \"https://github.com/images/error/octocat_happy.gif\",\n    \"description\": \"A great organization\"\n  },\n  \"user\": {\n    \"login\": \"octocat\",\n    \"id\": 1,\n    \"node_id\": \"MDQ6VXNlcjE=\",\n    \"avatar_url\": \"https://github.com/images/error/octocat_happy.gif\",\n    \"gravatar_id\": \"\",\n    \"url\": \"https://api.github.com/users/octocat\",\n    \"html_url\": \"https://github.com/octocat\",\n    \"followers_url\": \"https://api.github.com/users/octocat/followers\",\n    \"following_url\": \"https://api.github.com/users/octocat/following{/other_user}\",\n    \"gists_url\": \"https://api.github.com/users/octocat/gists{/gist_id}\",\n    \"starred_url\": \"https://api.github.com/users/octocat/starred{/owner}{/repo}\",\n    \"subscriptions_url\": \"https://api.github.com/users/octocat/subscriptions\",\n    \"organizations_url\": \"https://api.github.com/users/octocat/orgs\",\n    \"repos_url\": \"https://api.github.com/users/octocat/repos\",\n    \"events_url\": \"https://api.github.com/users/octocat/events{/privacy}\",\n    \"received_events_url\": \"https://api.github.com/users/octocat/received_events\",\n    \"type\": \"User\",\n    \"site_admin\": false\n  }\n}\n
    " }, - { - "httpStatusCode": "200", - "httpStatusMessage": "OK", - "description": "Response if user has an active membership with organization", - "payload": "
    {\n  \"url\": \"https://api.github.com/orgs/octocat/memberships/defunkt\",\n  \"state\": \"active\",\n  \"role\": \"member\",\n  \"organization_url\": \"https://api.github.com/orgs/octocat\",\n  \"organization\": {\n    \"login\": \"github\",\n    \"id\": 1,\n    \"node_id\": \"MDEyOk9yZ2FuaXphdGlvbjE=\",\n    \"url\": \"https://api.github.com/orgs/github\",\n    \"repos_url\": \"https://api.github.com/orgs/github/repos\",\n    \"events_url\": \"https://api.github.com/orgs/github/events\",\n    \"hooks_url\": \"https://api.github.com/orgs/github/hooks\",\n    \"issues_url\": \"https://api.github.com/orgs/github/issues\",\n    \"members_url\": \"https://api.github.com/orgs/github/members{/member}\",\n    \"public_members_url\": \"https://api.github.com/orgs/github/public_members{/member}\",\n    \"avatar_url\": \"https://github.com/images/error/octocat_happy.gif\",\n    \"description\": \"A great organization\"\n  },\n  \"user\": {\n    \"login\": \"octocat\",\n    \"id\": 1,\n    \"node_id\": \"MDQ6VXNlcjE=\",\n    \"avatar_url\": \"https://github.com/images/error/octocat_happy.gif\",\n    \"gravatar_id\": \"\",\n    \"url\": \"https://api.github.com/users/octocat\",\n    \"html_url\": \"https://github.com/octocat\",\n    \"followers_url\": \"https://api.github.com/users/octocat/followers\",\n    \"following_url\": \"https://api.github.com/users/octocat/following{/other_user}\",\n    \"gists_url\": \"https://api.github.com/users/octocat/gists{/gist_id}\",\n    \"starred_url\": \"https://api.github.com/users/octocat/starred{/owner}{/repo}\",\n    \"subscriptions_url\": \"https://api.github.com/users/octocat/subscriptions\",\n    \"organizations_url\": \"https://api.github.com/users/octocat/orgs\",\n    \"repos_url\": \"https://api.github.com/users/octocat/repos\",\n    \"events_url\": \"https://api.github.com/users/octocat/events{/privacy}\",\n    \"received_events_url\": \"https://api.github.com/users/octocat/received_events\",\n    \"type\": \"User\",\n    \"site_admin\": false\n  }\n}\n
    " - }, - { - "httpStatusCode": "200", - "httpStatusMessage": "OK", - "description": "Response if user has a pending membership with organization", - "payload": "
    {\n  \"url\": \"https://api.github.com/orgs/invitocat/memberships/defunkt\",\n  \"state\": \"pending\",\n  \"role\": \"member\",\n  \"organization_url\": \"https://api.github.com/orgs/invitocat\",\n  \"organization\": {\n    \"login\": \"github\",\n    \"id\": 1,\n    \"node_id\": \"MDEyOk9yZ2FuaXphdGlvbjE=\",\n    \"url\": \"https://api.github.com/orgs/github\",\n    \"repos_url\": \"https://api.github.com/orgs/github/repos\",\n    \"events_url\": \"https://api.github.com/orgs/github/events\",\n    \"hooks_url\": \"https://api.github.com/orgs/github/hooks\",\n    \"issues_url\": \"https://api.github.com/orgs/github/issues\",\n    \"members_url\": \"https://api.github.com/orgs/github/members{/member}\",\n    \"public_members_url\": \"https://api.github.com/orgs/github/public_members{/member}\",\n    \"avatar_url\": \"https://github.com/images/error/octocat_happy.gif\",\n    \"description\": \"A great organization\"\n  },\n  \"user\": {\n    \"login\": \"octocat\",\n    \"id\": 1,\n    \"node_id\": \"MDQ6VXNlcjE=\",\n    \"avatar_url\": \"https://github.com/images/error/octocat_happy.gif\",\n    \"gravatar_id\": \"\",\n    \"url\": \"https://api.github.com/users/octocat\",\n    \"html_url\": \"https://github.com/octocat\",\n    \"followers_url\": \"https://api.github.com/users/octocat/followers\",\n    \"following_url\": \"https://api.github.com/users/octocat/following{/other_user}\",\n    \"gists_url\": \"https://api.github.com/users/octocat/gists{/gist_id}\",\n    \"starred_url\": \"https://api.github.com/users/octocat/starred{/owner}{/repo}\",\n    \"subscriptions_url\": \"https://api.github.com/users/octocat/subscriptions\",\n    \"organizations_url\": \"https://api.github.com/users/octocat/orgs\",\n    \"repos_url\": \"https://api.github.com/users/octocat/repos\",\n    \"events_url\": \"https://api.github.com/users/octocat/events{/privacy}\",\n    \"received_events_url\": \"https://api.github.com/users/octocat/received_events\",\n    \"type\": \"User\",\n    \"site_admin\": false\n  }\n}\n
    " - }, { "httpStatusCode": "403", "httpStatusMessage": "Forbidden", @@ -13937,7 +14052,7 @@ { "verb": "put", "requestPath": "/orgs/{org}/memberships/{username}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "org", @@ -13961,8 +14076,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/orgs/ORG/memberships/USERNAME \\\n -d '{\"role\":\"role\"}'", - "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/orgs/ORG/memberships/USERNAME \\\n  -d '{\"role\":\"role\"}'
    " + "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/memberships/USERNAME \\\n -d '{\"role\":\"role\"}'", + "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/memberships/USERNAME \\\n  -d '{\"role\":\"role\"}'
    " }, { "lang": "JavaScript", @@ -14039,13 +14154,7 @@ { "httpStatusCode": "200", "httpStatusMessage": "OK", - "description": "Response if user was previously unaffiliated with organization", - "payload": "
    {\n  \"url\": \"https://api.github.com/orgs/invitocat/memberships/defunkt\",\n  \"state\": \"pending\",\n  \"role\": \"admin\",\n  \"organization_url\": \"https://api.github.com/orgs/invitocat\",\n  \"organization\": {\n    \"login\": \"github\",\n    \"id\": 1,\n    \"node_id\": \"MDEyOk9yZ2FuaXphdGlvbjE=\",\n    \"url\": \"https://api.github.com/orgs/github\",\n    \"repos_url\": \"https://api.github.com/orgs/github/repos\",\n    \"events_url\": \"https://api.github.com/orgs/github/events\",\n    \"hooks_url\": \"https://api.github.com/orgs/github/hooks\",\n    \"issues_url\": \"https://api.github.com/orgs/github/issues\",\n    \"members_url\": \"https://api.github.com/orgs/github/members{/member}\",\n    \"public_members_url\": \"https://api.github.com/orgs/github/public_members{/member}\",\n    \"avatar_url\": \"https://github.com/images/error/octocat_happy.gif\",\n    \"description\": \"A great organization\"\n  },\n  \"user\": {\n    \"login\": \"octocat\",\n    \"id\": 1,\n    \"node_id\": \"MDQ6VXNlcjE=\",\n    \"avatar_url\": \"https://github.com/images/error/octocat_happy.gif\",\n    \"gravatar_id\": \"\",\n    \"url\": \"https://api.github.com/users/octocat\",\n    \"html_url\": \"https://github.com/octocat\",\n    \"followers_url\": \"https://api.github.com/users/octocat/followers\",\n    \"following_url\": \"https://api.github.com/users/octocat/following{/other_user}\",\n    \"gists_url\": \"https://api.github.com/users/octocat/gists{/gist_id}\",\n    \"starred_url\": \"https://api.github.com/users/octocat/starred{/owner}{/repo}\",\n    \"subscriptions_url\": \"https://api.github.com/users/octocat/subscriptions\",\n    \"organizations_url\": \"https://api.github.com/users/octocat/orgs\",\n    \"repos_url\": \"https://api.github.com/users/octocat/repos\",\n    \"events_url\": \"https://api.github.com/users/octocat/events{/privacy}\",\n    \"received_events_url\": \"https://api.github.com/users/octocat/received_events\",\n    \"type\": \"User\",\n    \"site_admin\": false\n  }\n}\n
    " - }, - { - "httpStatusCode": "200", - "httpStatusMessage": "OK", - "description": "Response if user already had membership with organization", + "description": "Response if user has an active admin membership with organization", "payload": "
    {\n  \"url\": \"https://api.github.com/orgs/octocat/memberships/defunkt\",\n  \"state\": \"active\",\n  \"role\": \"admin\",\n  \"organization_url\": \"https://api.github.com/orgs/octocat\",\n  \"organization\": {\n    \"login\": \"github\",\n    \"id\": 1,\n    \"node_id\": \"MDEyOk9yZ2FuaXphdGlvbjE=\",\n    \"url\": \"https://api.github.com/orgs/github\",\n    \"repos_url\": \"https://api.github.com/orgs/github/repos\",\n    \"events_url\": \"https://api.github.com/orgs/github/events\",\n    \"hooks_url\": \"https://api.github.com/orgs/github/hooks\",\n    \"issues_url\": \"https://api.github.com/orgs/github/issues\",\n    \"members_url\": \"https://api.github.com/orgs/github/members{/member}\",\n    \"public_members_url\": \"https://api.github.com/orgs/github/public_members{/member}\",\n    \"avatar_url\": \"https://github.com/images/error/octocat_happy.gif\",\n    \"description\": \"A great organization\"\n  },\n  \"user\": {\n    \"login\": \"octocat\",\n    \"id\": 1,\n    \"node_id\": \"MDQ6VXNlcjE=\",\n    \"avatar_url\": \"https://github.com/images/error/octocat_happy.gif\",\n    \"gravatar_id\": \"\",\n    \"url\": \"https://api.github.com/users/octocat\",\n    \"html_url\": \"https://github.com/octocat\",\n    \"followers_url\": \"https://api.github.com/users/octocat/followers\",\n    \"following_url\": \"https://api.github.com/users/octocat/following{/other_user}\",\n    \"gists_url\": \"https://api.github.com/users/octocat/gists{/gist_id}\",\n    \"starred_url\": \"https://api.github.com/users/octocat/starred{/owner}{/repo}\",\n    \"subscriptions_url\": \"https://api.github.com/users/octocat/subscriptions\",\n    \"organizations_url\": \"https://api.github.com/users/octocat/orgs\",\n    \"repos_url\": \"https://api.github.com/users/octocat/repos\",\n    \"events_url\": \"https://api.github.com/users/octocat/events{/privacy}\",\n    \"received_events_url\": \"https://api.github.com/users/octocat/received_events\",\n    \"type\": \"User\",\n    \"site_admin\": false\n  }\n}\n
    " }, { @@ -14063,7 +14172,7 @@ { "verb": "delete", "requestPath": "/orgs/{org}/memberships/{username}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "org", @@ -14087,8 +14196,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/orgs/ORG/memberships/USERNAME", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/orgs/ORG/memberships/USERNAME
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/memberships/USERNAME", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/memberships/USERNAME
    " }, { "lang": "JavaScript", @@ -14123,7 +14232,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "403", @@ -14142,7 +14251,7 @@ { "verb": "get", "requestPath": "/orgs/{org}/outside_collaborators", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "org", @@ -14192,8 +14301,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/orgs/ORG/outside_collaborators", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/orgs/ORG/outside_collaborators
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/outside_collaborators", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/outside_collaborators
    " }, { "lang": "JavaScript", @@ -14238,7 +14347,7 @@ { "verb": "put", "requestPath": "/orgs/{org}/outside_collaborators/{username}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "org", @@ -14262,8 +14371,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/orgs/ORG/outside_collaborators/USERNAME", - "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/orgs/ORG/outside_collaborators/USERNAME
    " + "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/outside_collaborators/USERNAME", + "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/outside_collaborators/USERNAME
    " }, { "lang": "JavaScript", @@ -14294,8 +14403,6 @@ "subcategory": "outside-collaborators", "subcategoryLabel": "Outside collaborators", "notes": [], - "bodyParameters": [], - "descriptionHTML": "

    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\".

    ", "responses": [ { "httpStatusCode": "202", @@ -14310,26 +14417,21 @@ { "httpStatusCode": "403", "httpStatusMessage": "Forbidden", - "description": "Response if user is the last owner of the organization", - "payload": "
    {\n  \"message\": \"Cannot convert the last owner to an outside collaborator\",\n  \"documentation_url\": \"https://docs.github.com/enterprise-server@2.18/rest/reference/orgs#convert-member-to-outside-collaborator\"\n}\n
    " - }, - { - "httpStatusCode": "403", - "httpStatusMessage": "Forbidden", - "description": "Response if user is not a member of the organization", - "payload": "
    {\n  \"message\": \"<user> is not a member of the <organization> organization.\",\n  \"documentation_url\": \"https://docs.github.com/enterprise-server@2.18/rest/reference/orgs#convert-member-to-outside-collaborator\"\n}\n
    " + "description": "Response if user is the last owner of the organization or not a member of the organization" }, { "httpStatusCode": "404", "httpStatusMessage": "Not Found", "description": "Resource not found" } - ] + ], + "bodyParameters": [], + "descriptionHTML": "

    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\".

    " }, { "verb": "delete", "requestPath": "/orgs/{org}/outside_collaborators/{username}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "org", @@ -14353,8 +14455,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/orgs/ORG/outside_collaborators/USERNAME", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/orgs/ORG/outside_collaborators/USERNAME
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/outside_collaborators/USERNAME", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/outside_collaborators/USERNAME
    " }, { "lang": "JavaScript", @@ -14391,7 +14493,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "422", @@ -14404,7 +14506,7 @@ { "verb": "get", "requestPath": "/orgs/{org}/pre-receive-hooks", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "org", @@ -14434,13 +14536,44 @@ "default": 1 }, "descriptionHTML": "

    Page number of the results to fetch.

    " + }, + { + "name": "direction", + "description": "One of `asc` (ascending) or `desc` (descending).", + "in": "query", + "required": false, + "schema": { + "type": "string", + "enum": [ + "asc", + "desc" + ], + "default": "desc" + }, + "descriptionHTML": "

    One of asc (ascending) or desc (descending).

    " + }, + { + "name": "sort", + "description": "The sort order for the response collection.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "enum": [ + "created", + "updated", + "name" + ], + "default": "created" + }, + "descriptionHTML": "

    The sort order for the response collection.

    " } ], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n https://api.github.com/orgs/ORG/pre-receive-hooks", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n  https://api.github.com/orgs/ORG/pre-receive-hooks
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/pre-receive-hooks", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/pre-receive-hooks
    " }, { "lang": "JavaScript", @@ -14492,7 +14625,7 @@ { "verb": "get", "requestPath": "/orgs/{org}/pre-receive-hooks/{pre_receive_hook_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "org", @@ -14516,8 +14649,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n https://api.github.com/orgs/ORG/pre-receive-hooks/42", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n  https://api.github.com/orgs/ORG/pre-receive-hooks/42
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/pre-receive-hooks/42", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/pre-receive-hooks/42
    " }, { "lang": "JavaScript", @@ -14569,7 +14702,7 @@ { "verb": "patch", "requestPath": "/orgs/{org}/pre-receive-hooks/{pre_receive_hook_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "org", @@ -14593,8 +14726,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n https://api.github.com/orgs/ORG/pre-receive-hooks/42 \\\n -d '{\"enforcement\":\"enforcement\"}'", - "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n  https://api.github.com/orgs/ORG/pre-receive-hooks/42 \\\n  -d '{\"enforcement\":\"enforcement\"}'
    " + "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/pre-receive-hooks/42 \\\n -d '{\"enforcement\":\"enforcement\"}'", + "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/pre-receive-hooks/42 \\\n  -d '{\"enforcement\":\"enforcement\"}'
    " }, { "lang": "JavaScript", @@ -14698,7 +14831,7 @@ { "verb": "delete", "requestPath": "/orgs/{org}/pre-receive-hooks/{pre_receive_hook_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "org", @@ -14722,8 +14855,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n https://api.github.com/orgs/ORG/pre-receive-hooks/42", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n  https://api.github.com/orgs/ORG/pre-receive-hooks/42
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/pre-receive-hooks/42", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/pre-receive-hooks/42
    " }, { "lang": "JavaScript", @@ -14775,7 +14908,7 @@ { "verb": "get", "requestPath": "/orgs/{org}/projects", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "org", @@ -14826,8 +14959,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n https://api.github.com/orgs/ORG/projects", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  https://api.github.com/orgs/ORG/projects
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/projects", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/projects
    " }, { "lang": "JavaScript", @@ -14882,7 +15015,7 @@ { "verb": "post", "requestPath": "/orgs/{org}/projects", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "org", @@ -14897,8 +15030,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n https://api.github.com/orgs/ORG/projects \\\n -d '{\"name\":\"name\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  https://api.github.com/orgs/ORG/projects \\\n  -d '{\"name\":\"name\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/projects \\\n -d '{\"name\":\"name\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/projects \\\n  -d '{\"name\":\"name\"}'
    " }, { "lang": "JavaScript", @@ -15028,7 +15161,7 @@ { "verb": "get", "requestPath": "/orgs/{org}/public_members", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "org", @@ -15063,8 +15196,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/orgs/ORG/public_members", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/orgs/ORG/public_members
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/public_members", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/public_members
    " }, { "lang": "JavaScript", @@ -15109,7 +15242,7 @@ { "verb": "get", "requestPath": "/orgs/{org}/public_members/{username}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "org", @@ -15133,8 +15266,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/orgs/ORG/public_members/USERNAME", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/orgs/ORG/public_members/USERNAME
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/public_members/USERNAME", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/public_members/USERNAME
    " }, { "lang": "JavaScript", @@ -15183,7 +15316,7 @@ { "verb": "put", "requestPath": "/orgs/{org}/public_members/{username}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "org", @@ -15207,8 +15340,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/orgs/ORG/public_members/USERNAME", - "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/orgs/ORG/public_members/USERNAME
    " + "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/public_members/USERNAME", + "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/public_members/USERNAME
    " }, { "lang": "JavaScript", @@ -15243,7 +15376,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "403", @@ -15257,7 +15390,7 @@ { "verb": "delete", "requestPath": "/orgs/{org}/public_members/{username}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "org", @@ -15281,8 +15414,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/orgs/ORG/public_members/USERNAME", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/orgs/ORG/public_members/USERNAME
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/public_members/USERNAME", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/public_members/USERNAME
    " }, { "lang": "JavaScript", @@ -15317,7 +15450,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "bodyParameters": [], @@ -15326,7 +15459,7 @@ { "verb": "get", "requestPath": "/orgs/{org}/repos", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "org", @@ -15339,7 +15472,7 @@ }, { "name": "type", - "description": "Specifies the types of repositories you want returned. Can be one of `all`, `public`, `private`, `forks`, `sources`, `member`, `internal`. Default: `all`. If your organization is associated with an enterprise account using GitHub Enterprise Cloud or GitHub Enterprise Server 2.20+, `type` can also be `internal`.", + "description": "Specifies the types of repositories you want returned. Can be one of `all`, `public`, `private`, `forks`, `sources`, `member`, `internal`. Note: For GitHub AE, can be one of `all`, `private`, `forks`, `sources`, `member`, `internal`. Default: `all`. If your organization is associated with an enterprise account using GitHub Enterprise Cloud or GitHub Enterprise Server 2.20+, `type` can also be `internal`.", "in": "query", "required": false, "schema": { @@ -15354,7 +15487,7 @@ "internal" ] }, - "descriptionHTML": "

    Specifies the types of repositories you want returned. Can be one of all, public, private, forks, sources, member, internal. Default: all. If your organization is associated with an enterprise account using GitHub Enterprise Cloud or GitHub Enterprise Server 2.20+, type can also be internal.

    " + "descriptionHTML": "

    Specifies the types of repositories you want returned. Can be one of all, public, private, forks, sources, member, internal. Note: For GitHub AE, can be one of all, private, forks, sources, member, internal. Default: all. If your organization is associated with an enterprise account using GitHub Enterprise Cloud or GitHub Enterprise Server 2.20+, type can also be internal.

    " }, { "name": "sort", @@ -15411,8 +15544,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/orgs/ORG/repos", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/orgs/ORG/repos
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/repos", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/repos
    " }, { "lang": "JavaScript", @@ -15468,7 +15601,7 @@ { "verb": "post", "requestPath": "/orgs/{org}/repos", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "org", @@ -15483,8 +15616,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/orgs/ORG/repos \\\n -d '{\"name\":\"name\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/orgs/ORG/repos \\\n  -d '{\"name\":\"name\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/repos \\\n -d '{\"name\":\"name\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/repos \\\n  -d '{\"name\":\"name\"}'
    " }, { "lang": "JavaScript", @@ -15493,7 +15626,7 @@ } ], "summary": "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", + "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", "tags": [ "repos" ], @@ -15537,17 +15670,17 @@ }, "private": { "type": "boolean", - "description": "

    Either true to create a private repository or false to create a public one.

    ", + "description": "

    Whether the repository is private.

    ", "default": false, "name": "private", "in": "body", "rawType": "boolean", - "rawDescription": "Either `true` to create a private repository or `false` to create a public one.", + "rawDescription": "Whether the repository is private.", "childParamsGroups": [] }, "visibility": { "type": "string", - "description": "

    Can be public or private. If your organization is associated with an enterprise account using GitHub Enterprise Cloud or GitHub Enterprise Server 2.20+, visibility can also be internal. For more information, see \"Creating an internal repository\" in the GitHub Help documentation.
    \nThe visibility parameter overrides the private parameter when you use both parameters with the nebula-preview preview header.

    ", + "description": "

    Can be public or private. If your organization is associated with an enterprise account using GitHub Enterprise Cloud or GitHub Enterprise Server 2.20+, visibility can also be internal. Note: For GitHub Enterprise Server and GitHub AE, this endpoint will only list repositories available to all users on the enterprise. For more information, see \"Creating an internal repository\" in the GitHub Help documentation.
    \nThe visibility parameter overrides the private parameter when you use both parameters with the nebula-preview preview header.

    ", "enum": [ "public", "private", @@ -15557,7 +15690,7 @@ "name": "visibility", "in": "body", "rawType": "string", - "rawDescription": "Can be `public` or `private`. If your organization is associated with an enterprise account using GitHub Enterprise Cloud or GitHub Enterprise Server 2.20+, `visibility` can also be `internal`. For more information, see \"[Creating an internal repository](https://help.github.com/en/github/creating-cloning-and-archiving-repositories/about-repository-visibility#about-internal-repositories)\" in the GitHub Help documentation. \nThe `visibility` parameter overrides the `private` parameter when you use both parameters with the `nebula-preview` preview header.", + "rawDescription": "Can be `public` or `private`. If your organization is associated with an enterprise account using GitHub Enterprise Cloud or GitHub Enterprise Server 2.20+, `visibility` can also be `internal`. Note: For GitHub Enterprise Server and GitHub AE, this endpoint will only list repositories available to all users on the enterprise. For more information, see \"[Creating an internal repository](https://help.github.com/en/github/creating-cloning-and-archiving-repositories/about-repository-visibility#about-internal-repositories)\" in the GitHub Help documentation. \nThe `visibility` parameter overrides the `private` parameter when you use both parameters with the `nebula-preview` preview header.", "childParamsGroups": [] }, "has_issues": { @@ -15718,7 +15851,7 @@ "category": "repos", "categoryLabel": "Repos", "notes": [], - "descriptionHTML": "

    Creates a new repository in the specified organization. The authenticated user must be a member of the organization.

    \n

    OAuth scope requirements

    \n

    When using OAuth, 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
    ", + "descriptionHTML": "

    Creates a new repository in the specified organization. The authenticated user must be a member of the organization.

    \n

    OAuth scope requirements

    \n

    When using OAuth, 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
    ", "bodyParameters": [ { "type": "string", @@ -15749,17 +15882,17 @@ }, { "type": "boolean", - "description": "

    Either true to create a private repository or false to create a public one.

    ", + "description": "

    Whether the repository is private.

    ", "default": false, "name": "private", "in": "body", "rawType": "boolean", - "rawDescription": "Either `true` to create a private repository or `false` to create a public one.", + "rawDescription": "Whether the repository is private.", "childParamsGroups": [] }, { "type": "string", - "description": "

    Can be public or private. If your organization is associated with an enterprise account using GitHub Enterprise Cloud or GitHub Enterprise Server 2.20+, visibility can also be internal. For more information, see \"Creating an internal repository\" in the GitHub Help documentation.
    \nThe visibility parameter overrides the private parameter when you use both parameters with the nebula-preview preview header.

    ", + "description": "

    Can be public or private. If your organization is associated with an enterprise account using GitHub Enterprise Cloud or GitHub Enterprise Server 2.20+, visibility can also be internal. Note: For GitHub Enterprise Server and GitHub AE, this endpoint will only list repositories available to all users on the enterprise. For more information, see \"Creating an internal repository\" in the GitHub Help documentation.
    \nThe visibility parameter overrides the private parameter when you use both parameters with the nebula-preview preview header.

    ", "enum": [ "public", "private", @@ -15769,7 +15902,7 @@ "name": "visibility", "in": "body", "rawType": "string", - "rawDescription": "Can be `public` or `private`. If your organization is associated with an enterprise account using GitHub Enterprise Cloud or GitHub Enterprise Server 2.20+, `visibility` can also be `internal`. For more information, see \"[Creating an internal repository](https://help.github.com/en/github/creating-cloning-and-archiving-repositories/about-repository-visibility#about-internal-repositories)\" in the GitHub Help documentation. \nThe `visibility` parameter overrides the `private` parameter when you use both parameters with the `nebula-preview` preview header.", + "rawDescription": "Can be `public` or `private`. If your organization is associated with an enterprise account using GitHub Enterprise Cloud or GitHub Enterprise Server 2.20+, `visibility` can also be `internal`. Note: For GitHub Enterprise Server and GitHub AE, this endpoint will only list repositories available to all users on the enterprise. For more information, see \"[Creating an internal repository](https://help.github.com/en/github/creating-cloning-and-archiving-repositories/about-repository-visibility#about-internal-repositories)\" in the GitHub Help documentation. \nThe `visibility` parameter overrides the `private` parameter when you use both parameters with the `nebula-preview` preview header.", "childParamsGroups": [] }, { @@ -15912,7 +16045,7 @@ { "verb": "get", "requestPath": "/orgs/{org}/teams", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "org", @@ -15947,8 +16080,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/orgs/ORG/teams", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/orgs/ORG/teams
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/teams", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/teams
    " }, { "lang": "JavaScript", @@ -15996,7 +16129,7 @@ { "verb": "post", "requestPath": "/orgs/{org}/teams", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "org", @@ -16011,8 +16144,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/orgs/ORG/teams \\\n -d '{\"name\":\"name\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/orgs/ORG/teams \\\n  -d '{\"name\":\"name\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/teams \\\n -d '{\"name\":\"name\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/teams \\\n  -d '{\"name\":\"name\"}'
    " }, { "lang": "JavaScript", @@ -16244,7 +16377,7 @@ { "verb": "get", "requestPath": "/orgs/{org}/teams/{team_slug}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "org", @@ -16269,8 +16402,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/orgs/ORG/teams/TEAM_SLUG", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/orgs/ORG/teams/TEAM_SLUG
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/teams/TEAM_SLUG", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/teams/TEAM_SLUG
    " }, { "lang": "JavaScript", @@ -16318,7 +16451,7 @@ { "verb": "get", "requestPath": "/projects/columns/cards/{card_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "card_id", @@ -16334,8 +16467,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n https://api.github.com/projects/columns/cards/42", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  https://api.github.com/projects/columns/cards/42
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n http(s)://{hostname}/api/v3/projects/columns/cards/42", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  http(s)://{hostname}/api/v3/projects/columns/cards/42
    " }, { "lang": "JavaScript", @@ -16407,7 +16540,7 @@ { "verb": "patch", "requestPath": "/projects/columns/cards/{card_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "card_id", @@ -16423,8 +16556,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n https://api.github.com/projects/columns/cards/42 \\\n -d '{\"note\":\"note\"}'", - "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  https://api.github.com/projects/columns/cards/42 \\\n  -d '{\"note\":\"note\"}'
    " + "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n http(s)://{hostname}/api/v3/projects/columns/cards/42 \\\n -d '{\"note\":\"note\"}'", + "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  http(s)://{hostname}/api/v3/projects/columns/cards/42 \\\n  -d '{\"note\":\"note\"}'
    " }, { "lang": "JavaScript", @@ -16555,7 +16688,7 @@ { "verb": "delete", "requestPath": "/projects/columns/cards/{card_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "card_id", @@ -16571,8 +16704,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n https://api.github.com/projects/columns/cards/42", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  https://api.github.com/projects/columns/cards/42
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n http(s)://{hostname}/api/v3/projects/columns/cards/42", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  http(s)://{hostname}/api/v3/projects/columns/cards/42
    " }, { "lang": "JavaScript", @@ -16614,7 +16747,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "304", @@ -16643,7 +16776,7 @@ { "verb": "post", "requestPath": "/projects/columns/cards/{card_id}/moves", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "card_id", @@ -16659,8 +16792,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n https://api.github.com/projects/columns/cards/42/moves \\\n -d '{\"position\":\"position\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  https://api.github.com/projects/columns/cards/42/moves \\\n  -d '{\"position\":\"position\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n http(s)://{hostname}/api/v3/projects/columns/cards/42/moves \\\n -d '{\"position\":\"position\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  http(s)://{hostname}/api/v3/projects/columns/cards/42/moves \\\n  -d '{\"position\":\"position\"}'
    " }, { "lang": "JavaScript", @@ -16793,7 +16926,7 @@ { "verb": "get", "requestPath": "/projects/columns/{column_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "column_id", @@ -16809,8 +16942,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n https://api.github.com/projects/columns/42", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  https://api.github.com/projects/columns/42
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n http(s)://{hostname}/api/v3/projects/columns/42", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  http(s)://{hostname}/api/v3/projects/columns/42
    " }, { "lang": "JavaScript", @@ -16882,7 +17015,7 @@ { "verb": "patch", "requestPath": "/projects/columns/{column_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "column_id", @@ -16898,8 +17031,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n https://api.github.com/projects/columns/42 \\\n -d '{\"name\":\"name\"}'", - "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  https://api.github.com/projects/columns/42 \\\n  -d '{\"name\":\"name\"}'
    " + "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n http(s)://{hostname}/api/v3/projects/columns/42 \\\n -d '{\"name\":\"name\"}'", + "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  http(s)://{hostname}/api/v3/projects/columns/42 \\\n  -d '{\"name\":\"name\"}'
    " }, { "lang": "JavaScript", @@ -17001,7 +17134,7 @@ { "verb": "delete", "requestPath": "/projects/columns/{column_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "column_id", @@ -17017,8 +17150,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n https://api.github.com/projects/columns/42", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  https://api.github.com/projects/columns/42
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n http(s)://{hostname}/api/v3/projects/columns/42", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  http(s)://{hostname}/api/v3/projects/columns/42
    " }, { "lang": "JavaScript", @@ -17060,7 +17193,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "304", @@ -17084,7 +17217,7 @@ { "verb": "get", "requestPath": "/projects/columns/{column_id}/cards", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "column_id", @@ -17136,8 +17269,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n https://api.github.com/projects/columns/42/cards", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  https://api.github.com/projects/columns/42/cards
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n http(s)://{hostname}/api/v3/projects/columns/42/cards", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  http(s)://{hostname}/api/v3/projects/columns/42/cards
    " }, { "lang": "JavaScript", @@ -17204,7 +17337,7 @@ { "verb": "post", "requestPath": "/projects/columns/{column_id}/cards", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "column_id", @@ -17220,8 +17353,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n https://api.github.com/projects/columns/42/cards \\\n -d '{\"note\":\"note\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  https://api.github.com/projects/columns/42/cards \\\n  -d '{\"note\":\"note\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n http(s)://{hostname}/api/v3/projects/columns/42/cards \\\n -d '{\"note\":\"note\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  http(s)://{hostname}/api/v3/projects/columns/42/cards \\\n  -d '{\"note\":\"note\"}'
    " }, { "lang": "JavaScript", @@ -17341,7 +17474,7 @@ { "verb": "post", "requestPath": "/projects/columns/{column_id}/moves", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "column_id", @@ -17357,8 +17490,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n https://api.github.com/projects/columns/42/moves \\\n -d '{\"position\":\"position\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  https://api.github.com/projects/columns/42/moves \\\n  -d '{\"position\":\"position\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n http(s)://{hostname}/api/v3/projects/columns/42/moves \\\n -d '{\"position\":\"position\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  http(s)://{hostname}/api/v3/projects/columns/42/moves \\\n  -d '{\"position\":\"position\"}'
    " }, { "lang": "JavaScript", @@ -17466,7 +17599,7 @@ { "verb": "get", "requestPath": "/projects/{project_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "project_id", @@ -17481,8 +17614,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n https://api.github.com/projects/42", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  https://api.github.com/projects/42
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n http(s)://{hostname}/api/v3/projects/42", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  http(s)://{hostname}/api/v3/projects/42
    " }, { "lang": "JavaScript", @@ -17547,7 +17680,7 @@ { "verb": "patch", "requestPath": "/projects/{project_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "project_id", @@ -17562,8 +17695,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n https://api.github.com/projects/42 \\\n -d '{\"name\":\"name\"}'", - "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  https://api.github.com/projects/42 \\\n  -d '{\"name\":\"name\"}'
    " + "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n http(s)://{hostname}/api/v3/projects/42 \\\n -d '{\"name\":\"name\"}'", + "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  http(s)://{hostname}/api/v3/projects/42 \\\n  -d '{\"name\":\"name\"}'
    " }, { "lang": "JavaScript", @@ -17765,7 +17898,7 @@ { "verb": "delete", "requestPath": "/projects/{project_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "project_id", @@ -17780,8 +17913,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n https://api.github.com/projects/42", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  https://api.github.com/projects/42
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n http(s)://{hostname}/api/v3/projects/42", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  http(s)://{hostname}/api/v3/projects/42
    " }, { "lang": "JavaScript", @@ -17855,7 +17988,7 @@ { "verb": "get", "requestPath": "/projects/{project_id}/collaborators", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "project_id", @@ -17906,8 +18039,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n https://api.github.com/projects/42/collaborators", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  https://api.github.com/projects/42/collaborators
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n http(s)://{hostname}/api/v3/projects/42/collaborators", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  http(s)://{hostname}/api/v3/projects/42/collaborators
    " }, { "lang": "JavaScript", @@ -17989,7 +18122,7 @@ { "verb": "put", "requestPath": "/projects/{project_id}/collaborators/{username}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "project_id", @@ -18013,8 +18146,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n https://api.github.com/projects/42/collaborators/USERNAME \\\n -d '{\"permission\":\"permission\"}'", - "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  https://api.github.com/projects/42/collaborators/USERNAME \\\n  -d '{\"permission\":\"permission\"}'
    " + "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n http(s)://{hostname}/api/v3/projects/42/collaborators/USERNAME \\\n -d '{\"permission\":\"permission\"}'", + "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  http(s)://{hostname}/api/v3/projects/42/collaborators/USERNAME \\\n  -d '{\"permission\":\"permission\"}'
    " }, { "lang": "JavaScript", @@ -18083,7 +18216,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "304", @@ -18139,7 +18272,7 @@ { "verb": "delete", "requestPath": "/projects/{project_id}/collaborators/{username}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "project_id", @@ -18163,8 +18296,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n https://api.github.com/projects/42/collaborators/USERNAME", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  https://api.github.com/projects/42/collaborators/USERNAME
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n http(s)://{hostname}/api/v3/projects/42/collaborators/USERNAME", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  http(s)://{hostname}/api/v3/projects/42/collaborators/USERNAME
    " }, { "lang": "JavaScript", @@ -18206,7 +18339,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "304", @@ -18245,7 +18378,7 @@ { "verb": "get", "requestPath": "/projects/{project_id}/collaborators/{username}/permission", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "project_id", @@ -18269,8 +18402,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n https://api.github.com/projects/42/collaborators/USERNAME/permission", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  https://api.github.com/projects/42/collaborators/USERNAME/permission
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n http(s)://{hostname}/api/v3/projects/42/collaborators/USERNAME/permission", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  http(s)://{hostname}/api/v3/projects/42/collaborators/USERNAME/permission
    " }, { "lang": "JavaScript", @@ -18352,7 +18485,7 @@ { "verb": "get", "requestPath": "/projects/{project_id}/columns", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "project_id", @@ -18387,8 +18520,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n https://api.github.com/projects/42/columns", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  https://api.github.com/projects/42/columns
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n http(s)://{hostname}/api/v3/projects/42/columns", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  http(s)://{hostname}/api/v3/projects/42/columns
    " }, { "lang": "JavaScript", @@ -18455,7 +18588,7 @@ { "verb": "post", "requestPath": "/projects/{project_id}/columns", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "project_id", @@ -18470,8 +18603,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n https://api.github.com/projects/42/columns \\\n -d '{\"name\":\"name\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  https://api.github.com/projects/42/columns \\\n  -d '{\"name\":\"name\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n http(s)://{hostname}/api/v3/projects/42/columns \\\n -d '{\"name\":\"name\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  http(s)://{hostname}/api/v3/projects/42/columns \\\n  -d '{\"name\":\"name\"}'
    " }, { "lang": "JavaScript", @@ -18578,13 +18711,13 @@ { "verb": "get", "requestPath": "/rate_limit", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/rate_limit", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/rate_limit
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/rate_limit", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/rate_limit
    " }, { "lang": "JavaScript", @@ -18637,7 +18770,7 @@ { "verb": "delete", "requestPath": "/reactions/{reaction_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "accept", @@ -18663,8 +18796,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.echo-preview+json\" \\\n https://api.github.com/reactions/42", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.echo-preview+json\" \\\n  https://api.github.com/reactions/42
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.echo-preview+json\" \\\n http(s)://{hostname}/api/v3/reactions/42", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.echo-preview+json\" \\\n  http(s)://{hostname}/api/v3/reactions/42
    " }, { "lang": "JavaScript", @@ -18710,7 +18843,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "bodyParameters": [], @@ -18719,7 +18852,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -18743,8 +18876,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world
    " }, { "lang": "JavaScript", @@ -18821,7 +18954,7 @@ { "verb": "patch", "requestPath": "/repos/{owner}/{repo}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -18845,8 +18978,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world \\\n -d '{\"name\":\"name\"}'", - "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world \\\n  -d '{\"name\":\"name\"}'
    " + "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world \\\n -d '{\"name\":\"name\"}'", + "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world \\\n  -d '{\"name\":\"name\"}'
    " }, { "lang": "JavaScript", @@ -19240,7 +19373,7 @@ { "verb": "delete", "requestPath": "/repos/{owner}/{repo}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -19264,8 +19397,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world
    " }, { "lang": "JavaScript", @@ -19300,7 +19433,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "403", @@ -19318,7 +19451,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/assignees", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -19362,8 +19495,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/assignees", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/assignees
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/assignees", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/assignees
    " }, { "lang": "JavaScript", @@ -19413,7 +19546,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/assignees/{assignee}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -19446,8 +19579,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/assignees/ASSIGNEE", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/assignees/ASSIGNEE
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/assignees/ASSIGNEE", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/assignees/ASSIGNEE
    " }, { "lang": "JavaScript", @@ -19496,7 +19629,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/branches", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -19550,8 +19683,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/branches", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/branches
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches
    " }, { "lang": "JavaScript", @@ -19589,12 +19722,6 @@ "httpStatusCode": "200", "httpStatusMessage": "OK", "description": "Default response", - "payload": "
    [\n  {\n    \"name\": \"master\",\n    \"commit\": {\n      \"sha\": \"c5b97d5ae6c19d5c5df71a34c7fbeeda2479ccbc\",\n      \"url\": \"https://api.github.com/repos/octocat/Hello-World/commits/c5b97d5ae6c19d5c5df71a34c7fbeeda2479ccbc\"\n    },\n    \"protected\": true\n  }\n]\n
    " - }, - { - "httpStatusCode": "200", - "httpStatusMessage": "OK", - "description": "With protection", "payload": "
    [\n  {\n    \"name\": \"master\",\n    \"commit\": {\n      \"sha\": \"c5b97d5ae6c19d5c5df71a34c7fbeeda2479ccbc\",\n      \"url\": \"https://api.github.com/repos/octocat/Hello-World/commits/c5b97d5ae6c19d5c5df71a34c7fbeeda2479ccbc\"\n    },\n    \"protected\": true,\n    \"protection\": {\n      \"enabled\": true,\n      \"required_status_checks\": {\n        \"enforcement_level\": \"non_admins\",\n        \"contexts\": [\n          \"ci-test\",\n          \"linter\"\n        ]\n      }\n    },\n    \"protection_url\": \"https://api.github.com/repos/octocat/hello-world/branches/master/protection\"\n  }\n]\n
    " }, { @@ -19607,7 +19734,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/branches/{branch}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -19642,8 +19769,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/branches/BRANCH", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/branches/BRANCH
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH
    " }, { "lang": "JavaScript", @@ -19698,7 +19825,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/branches/{branch}/protection", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -19733,8 +19860,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection
    " }, { "lang": "JavaScript", @@ -19791,7 +19918,7 @@ { "verb": "put", "requestPath": "/repos/{owner}/{repo}/branches/{branch}/protection", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -19826,8 +19953,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection \\\n -d '{\"required_status_checks\":{\"strict\":true,\"contexts\":[\"contexts\"]},\"enforce_admins\":true,\"required_pull_request_reviews\":{\"dismissal_restrictions\":{\"users\":[\"users\"],\"teams\":[\"teams\"]},\"dismiss_stale_reviews\":true,\"require_code_owner_reviews\":true,\"required_approving_review_count\":42},\"restrictions\":{\"users\":[\"users\"],\"teams\":[\"teams\"],\"apps\":[\"apps\"]}}'", - "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection \\\n  -d '{\"required_status_checks\":{\"strict\":true,\"contexts\":[\"contexts\"]},\"enforce_admins\":true,\"required_pull_request_reviews\":{\"dismissal_restrictions\":{\"users\":[\"users\"],\"teams\":[\"teams\"]},\"dismiss_stale_reviews\":true,\"require_code_owner_reviews\":true,\"required_approving_review_count\":42},\"restrictions\":{\"users\":[\"users\"],\"teams\":[\"teams\"],\"apps\":[\"apps\"]}}'
    " + "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection \\\n -d '{\"required_status_checks\":{\"strict\":true,\"contexts\":[\"contexts\"]},\"enforce_admins\":true,\"required_pull_request_reviews\":{\"dismissal_restrictions\":{\"users\":[\"users\"],\"teams\":[\"teams\"]},\"dismiss_stale_reviews\":true,\"require_code_owner_reviews\":true,\"required_approving_review_count\":42},\"restrictions\":{\"users\":[\"users\"],\"teams\":[\"teams\"],\"apps\":[\"apps\"]}}'", + "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection \\\n  -d '{\"required_status_checks\":{\"strict\":true,\"contexts\":[\"contexts\"]},\"enforce_admins\":true,\"required_pull_request_reviews\":{\"dismissal_restrictions\":{\"users\":[\"users\"],\"teams\":[\"teams\"]},\"dismiss_stale_reviews\":true,\"require_code_owner_reviews\":true,\"required_approving_review_count\":42},\"restrictions\":{\"users\":[\"users\"],\"teams\":[\"teams\"],\"apps\":[\"apps\"]}}'
    " }, { "lang": "JavaScript", @@ -20830,7 +20957,7 @@ { "verb": "delete", "requestPath": "/repos/{owner}/{repo}/branches/{branch}/protection", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -20865,8 +20992,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection
    " }, { "lang": "JavaScript", @@ -20901,7 +21028,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "403", @@ -20915,7 +21042,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/branches/{branch}/protection/enforce_admins", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -20950,8 +21077,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/enforce_admins", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/enforce_admins
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection/enforce_admins", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection/enforce_admins
    " }, { "lang": "JavaScript", @@ -20996,7 +21123,7 @@ { "verb": "post", "requestPath": "/repos/{owner}/{repo}/branches/{branch}/protection/enforce_admins", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -21031,8 +21158,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/enforce_admins", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/enforce_admins
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection/enforce_admins", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection/enforce_admins
    " }, { "lang": "JavaScript", @@ -21077,7 +21204,7 @@ { "verb": "delete", "requestPath": "/repos/{owner}/{repo}/branches/{branch}/protection/enforce_admins", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -21112,8 +21239,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/enforce_admins", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/enforce_admins
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection/enforce_admins", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection/enforce_admins
    " }, { "lang": "JavaScript", @@ -21162,7 +21289,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/branches/{branch}/protection/required_pull_request_reviews", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -21197,8 +21324,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/required_pull_request_reviews", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/required_pull_request_reviews
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection/required_pull_request_reviews", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection/required_pull_request_reviews
    " }, { "lang": "JavaScript", @@ -21249,7 +21376,7 @@ { "verb": "patch", "requestPath": "/repos/{owner}/{repo}/branches/{branch}/protection/required_pull_request_reviews", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -21284,8 +21411,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/required_pull_request_reviews \\\n -d '{\"dismissal_restrictions\":{\"users\":[\"users\"],\"teams\":[\"teams\"]}}'", - "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/required_pull_request_reviews \\\n  -d '{\"dismissal_restrictions\":{\"users\":[\"users\"],\"teams\":[\"teams\"]}}'
    " + "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection/required_pull_request_reviews \\\n -d '{\"dismissal_restrictions\":{\"users\":[\"users\"],\"teams\":[\"teams\"]}}'", + "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection/required_pull_request_reviews \\\n  -d '{\"dismissal_restrictions\":{\"users\":[\"users\"],\"teams\":[\"teams\"]}}'
    " }, { "lang": "JavaScript", @@ -21555,7 +21682,7 @@ { "verb": "delete", "requestPath": "/repos/{owner}/{repo}/branches/{branch}/protection/required_pull_request_reviews", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -21590,8 +21717,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/required_pull_request_reviews", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/required_pull_request_reviews
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection/required_pull_request_reviews", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection/required_pull_request_reviews
    " }, { "lang": "JavaScript", @@ -21640,7 +21767,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/branches/{branch}/protection/required_signatures", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -21675,8 +21802,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.zzzax-preview+json\" \\\n https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/required_signatures", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.zzzax-preview+json\" \\\n  https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/required_signatures
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.zzzax-preview+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection/required_signatures", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.zzzax-preview+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection/required_signatures
    " }, { "lang": "JavaScript", @@ -21733,7 +21860,7 @@ { "verb": "post", "requestPath": "/repos/{owner}/{repo}/branches/{branch}/protection/required_signatures", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -21768,8 +21895,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.zzzax-preview+json\" \\\n https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/required_signatures", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.zzzax-preview+json\" \\\n  https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/required_signatures
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.zzzax-preview+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection/required_signatures", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.zzzax-preview+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection/required_signatures
    " }, { "lang": "JavaScript", @@ -21826,7 +21953,7 @@ { "verb": "delete", "requestPath": "/repos/{owner}/{repo}/branches/{branch}/protection/required_signatures", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -21861,8 +21988,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.zzzax-preview+json\" \\\n https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/required_signatures", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.zzzax-preview+json\" \\\n  https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/required_signatures
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.zzzax-preview+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection/required_signatures", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.zzzax-preview+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection/required_signatures
    " }, { "lang": "JavaScript", @@ -21918,7 +22045,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -21953,8 +22080,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/required_status_checks", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/required_status_checks
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection/required_status_checks", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection/required_status_checks
    " }, { "lang": "JavaScript", @@ -22004,7 +22131,7 @@ { "verb": "patch", "requestPath": "/repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -22039,8 +22166,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/required_status_checks \\\n -d '{\"strict\":true}'", - "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/required_status_checks \\\n  -d '{\"strict\":true}'
    " + "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection/required_status_checks \\\n -d '{\"strict\":true}'", + "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection/required_status_checks \\\n  -d '{\"strict\":true}'
    " }, { "lang": "JavaScript", @@ -22155,7 +22282,7 @@ { "verb": "delete", "requestPath": "/repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -22190,8 +22317,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/required_status_checks", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/required_status_checks
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection/required_status_checks", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection/required_status_checks
    " }, { "lang": "JavaScript", @@ -22235,7 +22362,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks/contexts", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -22270,8 +22397,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/required_status_checks/contexts", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/required_status_checks/contexts
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection/required_status_checks/contexts", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection/required_status_checks/contexts
    " }, { "lang": "JavaScript", @@ -22321,7 +22448,7 @@ { "verb": "post", "requestPath": "/repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks/contexts", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -22356,8 +22483,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/required_status_checks/contexts \\\n -d '{\"contexts\":{\"contexts\":[\"contexts\"]}}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/required_status_checks/contexts \\\n  -d '{\"contexts\":{\"contexts\":[\"contexts\"]}}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection/required_status_checks/contexts \\\n -d '{\"contexts\":{\"contexts\":[\"contexts\"]}}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection/required_status_checks/contexts \\\n  -d '{\"contexts\":{\"contexts\":[\"contexts\"]}}'
    " }, { "lang": "JavaScript", @@ -22462,7 +22589,7 @@ { "verb": "put", "requestPath": "/repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks/contexts", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -22497,8 +22624,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/required_status_checks/contexts \\\n -d '{\"contexts\":{\"contexts\":[\"contexts\"]}}'", - "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/required_status_checks/contexts \\\n  -d '{\"contexts\":{\"contexts\":[\"contexts\"]}}'
    " + "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection/required_status_checks/contexts \\\n -d '{\"contexts\":{\"contexts\":[\"contexts\"]}}'", + "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection/required_status_checks/contexts \\\n  -d '{\"contexts\":{\"contexts\":[\"contexts\"]}}'
    " }, { "lang": "JavaScript", @@ -22598,7 +22725,7 @@ { "verb": "delete", "requestPath": "/repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks/contexts", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -22633,8 +22760,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/required_status_checks/contexts \\\n -d '{\"contexts\":{\"contexts\":[\"contexts\"]}}'", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/required_status_checks/contexts \\\n  -d '{\"contexts\":{\"contexts\":[\"contexts\"]}}'
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection/required_status_checks/contexts \\\n -d '{\"contexts\":{\"contexts\":[\"contexts\"]}}'", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection/required_status_checks/contexts \\\n  -d '{\"contexts\":{\"contexts\":[\"contexts\"]}}'
    " }, { "lang": "JavaScript", @@ -22734,7 +22861,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/branches/{branch}/protection/restrictions", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -22769,8 +22896,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/restrictions", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/restrictions
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection/restrictions", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection/restrictions
    " }, { "lang": "JavaScript", @@ -22820,7 +22947,7 @@ { "verb": "delete", "requestPath": "/repos/{owner}/{repo}/branches/{branch}/protection/restrictions", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -22855,8 +22982,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/restrictions", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/restrictions
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection/restrictions", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection/restrictions
    " }, { "lang": "JavaScript", @@ -22900,7 +23027,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/branches/{branch}/protection/restrictions/teams", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -22935,8 +23062,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/restrictions/teams", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/restrictions/teams
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection/restrictions/teams", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection/restrictions/teams
    " }, { "lang": "JavaScript", @@ -22986,7 +23113,7 @@ { "verb": "post", "requestPath": "/repos/{owner}/{repo}/branches/{branch}/protection/restrictions/teams", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -23021,8 +23148,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/restrictions/teams \\\n -d '{\"teams\":{\"teams\":[\"teams\"]}}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/restrictions/teams \\\n  -d '{\"teams\":{\"teams\":[\"teams\"]}}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection/restrictions/teams \\\n -d '{\"teams\":{\"teams\":[\"teams\"]}}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection/restrictions/teams \\\n  -d '{\"teams\":{\"teams\":[\"teams\"]}}'
    " }, { "lang": "JavaScript", @@ -23117,7 +23244,7 @@ { "verb": "put", "requestPath": "/repos/{owner}/{repo}/branches/{branch}/protection/restrictions/teams", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -23152,8 +23279,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/restrictions/teams \\\n -d '{\"teams\":{\"teams\":[\"teams\"]}}'", - "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/restrictions/teams \\\n  -d '{\"teams\":{\"teams\":[\"teams\"]}}'
    " + "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection/restrictions/teams \\\n -d '{\"teams\":{\"teams\":[\"teams\"]}}'", + "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection/restrictions/teams \\\n  -d '{\"teams\":{\"teams\":[\"teams\"]}}'
    " }, { "lang": "JavaScript", @@ -23248,7 +23375,7 @@ { "verb": "delete", "requestPath": "/repos/{owner}/{repo}/branches/{branch}/protection/restrictions/teams", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -23283,8 +23410,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/restrictions/teams \\\n -d '{\"teams\":{\"teams\":[\"teams\"]}}'", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/restrictions/teams \\\n  -d '{\"teams\":{\"teams\":[\"teams\"]}}'
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection/restrictions/teams \\\n -d '{\"teams\":{\"teams\":[\"teams\"]}}'", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection/restrictions/teams \\\n  -d '{\"teams\":{\"teams\":[\"teams\"]}}'
    " }, { "lang": "JavaScript", @@ -23379,7 +23506,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/branches/{branch}/protection/restrictions/users", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -23414,8 +23541,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/restrictions/users", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/restrictions/users
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection/restrictions/users", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection/restrictions/users
    " }, { "lang": "JavaScript", @@ -23465,7 +23592,7 @@ { "verb": "post", "requestPath": "/repos/{owner}/{repo}/branches/{branch}/protection/restrictions/users", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -23500,8 +23627,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/restrictions/users \\\n -d '{\"users\":{\"users\":[\"users\"]}}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/restrictions/users \\\n  -d '{\"users\":{\"users\":[\"users\"]}}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection/restrictions/users \\\n -d '{\"users\":{\"users\":[\"users\"]}}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection/restrictions/users \\\n  -d '{\"users\":{\"users\":[\"users\"]}}'
    " }, { "lang": "JavaScript", @@ -23596,7 +23723,7 @@ { "verb": "put", "requestPath": "/repos/{owner}/{repo}/branches/{branch}/protection/restrictions/users", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -23631,8 +23758,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/restrictions/users \\\n -d '{\"users\":{\"users\":[\"users\"]}}'", - "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/restrictions/users \\\n  -d '{\"users\":{\"users\":[\"users\"]}}'
    " + "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection/restrictions/users \\\n -d '{\"users\":{\"users\":[\"users\"]}}'", + "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection/restrictions/users \\\n  -d '{\"users\":{\"users\":[\"users\"]}}'
    " }, { "lang": "JavaScript", @@ -23727,7 +23854,7 @@ { "verb": "delete", "requestPath": "/repos/{owner}/{repo}/branches/{branch}/protection/restrictions/users", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -23762,8 +23889,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/restrictions/users \\\n -d '{\"users\":{\"users\":[\"users\"]}}'", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/restrictions/users \\\n  -d '{\"users\":{\"users\":[\"users\"]}}'
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection/restrictions/users \\\n -d '{\"users\":{\"users\":[\"users\"]}}'", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection/restrictions/users \\\n  -d '{\"users\":{\"users\":[\"users\"]}}'
    " }, { "lang": "JavaScript", @@ -23858,7 +23985,7 @@ { "verb": "post", "requestPath": "/repos/{owner}/{repo}/check-runs", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -23882,8 +24009,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.antiope-preview+json\" \\\n https://api.github.com/repos/octocat/hello-world/check-runs \\\n -d '{\"name\":\"name\",\"head_sha\":\"head_sha\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.antiope-preview+json\" \\\n  https://api.github.com/repos/octocat/hello-world/check-runs \\\n  -d '{\"name\":\"name\",\"head_sha\":\"head_sha\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.antiope-preview+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/check-runs \\\n -d '{\"name\":\"name\",\"head_sha\":\"head_sha\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.antiope-preview+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/check-runs \\\n  -d '{\"name\":\"name\",\"head_sha\":\"head_sha\"}'
    " }, { "lang": "JavaScript", @@ -24860,7 +24987,7 @@ "name", "head_sha" ], - "anyOf": [ + "oneOf": [ { "properties": { "status": { @@ -24870,6 +24997,7 @@ } }, "required": [ + "status", "conclusion" ], "additionalProperties": true @@ -24889,7 +25017,7 @@ }, "examples": { "example-of-in-progress-conclusion": { - "summary": "Example of in_progress conclusion", + "summary": "Response for in_progress conclusion", "value": { "name": "mighty_readme", "head_sha": "ce587453ced02b1526dfb4cb910479d431683101", @@ -24904,7 +25032,7 @@ } }, "example-of-completed-conclusion": { - "summary": "Example of completed conclusion", + "summary": "Response for completed conclusion", "value": { "name": "mighty_readme", "head_sha": "ce587453ced02b1526dfb4cb910479d431683101", @@ -24978,12 +25106,6 @@ "notes": [], "descriptionHTML": "

    Note: The Checks API only looks for pushes in the repository where the check 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

    Creates 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

    In 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.

    ", "responses": [ - { - "httpStatusCode": "201", - "httpStatusMessage": "Created", - "description": "Response for in_progress conclusion", - "payload": "
    {\n  \"id\": 4,\n  \"head_sha\": \"ce587453ced02b1526dfb4cb910479d431683101\",\n  \"node_id\": \"MDg6Q2hlY2tSdW40\",\n  \"external_id\": \"42\",\n  \"url\": \"https://api.github.com/repos/github/hello-world/check-runs/4\",\n  \"html_url\": \"https://github.com/github/hello-world/runs/4\",\n  \"details_url\": \"https://example.com\",\n  \"status\": \"in_progress\",\n  \"conclusion\": \"neutral\",\n  \"started_at\": \"2018-05-04T01:14:52Z\",\n  \"completed_at\": null,\n  \"output\": {\n    \"title\": \"Mighty Readme Report\",\n    \"summary\": \"\",\n    \"text\": \"\",\n    \"annotations_count\": 1,\n    \"annotations_url\": \"https://api.github.com/repos/github/hello-world/check-runs/4/annotations\"\n  },\n  \"name\": \"mighty_readme\",\n  \"check_suite\": {\n    \"id\": 5\n  },\n  \"app\": {\n    \"id\": 1,\n    \"slug\": \"octoapp\",\n    \"node_id\": \"MDExOkludGVncmF0aW9uMQ==\",\n    \"owner\": {\n      \"login\": \"github\",\n      \"id\": 1,\n      \"node_id\": \"MDEyOk9yZ2FuaXphdGlvbjE=\",\n      \"url\": \"https://api.github.com/orgs/github\",\n      \"repos_url\": \"https://api.github.com/orgs/github/repos\",\n      \"events_url\": \"https://api.github.com/orgs/github/events\",\n      \"avatar_url\": \"https://github.com/images/error/octocat_happy.gif\",\n      \"gravatar_id\": \"\",\n      \"html_url\": \"https://github.com/octocat\",\n      \"followers_url\": \"https://api.github.com/users/octocat/followers\",\n      \"following_url\": \"https://api.github.com/users/octocat/following{/other_user}\",\n      \"gists_url\": \"https://api.github.com/users/octocat/gists{/gist_id}\",\n      \"starred_url\": \"https://api.github.com/users/octocat/starred{/owner}{/repo}\",\n      \"subscriptions_url\": \"https://api.github.com/users/octocat/subscriptions\",\n      \"organizations_url\": \"https://api.github.com/users/octocat/orgs\",\n      \"received_events_url\": \"https://api.github.com/users/octocat/received_events\",\n      \"type\": \"User\",\n      \"site_admin\": true\n    },\n    \"name\": \"Octocat App\",\n    \"description\": \"\",\n    \"external_url\": \"https://example.com\",\n    \"html_url\": \"https://github.com/apps/octoapp\",\n    \"created_at\": \"2017-07-08T16:18:44-04:00\",\n    \"updated_at\": \"2017-07-08T16:18:44-04:00\",\n    \"permissions\": {\n      \"metadata\": \"read\",\n      \"contents\": \"read\",\n      \"issues\": \"write\",\n      \"single_file\": \"write\"\n    },\n    \"events\": [\n      \"push\",\n      \"pull_request\"\n    ]\n  },\n  \"pull_requests\": [\n    {\n      \"url\": \"https://api.github.com/repos/github/hello-world/pulls/1\",\n      \"id\": 1934,\n      \"number\": 3956,\n      \"head\": {\n        \"ref\": \"say-hello\",\n        \"sha\": \"3dca65fa3e8d4b3da3f3d056c59aee1c50f41390\",\n        \"repo\": {\n          \"id\": 526,\n          \"url\": \"https://api.github.com/repos/github/hello-world\",\n          \"name\": \"hello-world\"\n        }\n      },\n      \"base\": {\n        \"ref\": \"master\",\n        \"sha\": \"e7fdf7640066d71ad16a86fbcbb9c6a10a18af4f\",\n        \"repo\": {\n          \"id\": 526,\n          \"url\": \"https://api.github.com/repos/github/hello-world\",\n          \"name\": \"hello-world\"\n        }\n      }\n    }\n  ]\n}\n
    " - }, { "httpStatusCode": "201", "httpStatusMessage": "Created", @@ -25945,7 +26067,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/check-runs/{check_run_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -25979,8 +26101,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.antiope-preview+json\" \\\n https://api.github.com/repos/octocat/hello-world/check-runs/42", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.antiope-preview+json\" \\\n  https://api.github.com/repos/octocat/hello-world/check-runs/42
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.antiope-preview+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/check-runs/42", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.antiope-preview+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/check-runs/42
    " }, { "lang": "JavaScript", @@ -26032,7 +26154,7 @@ { "verb": "patch", "requestPath": "/repos/{owner}/{repo}/check-runs/{check_run_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -26066,8 +26188,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.antiope-preview+json\" \\\n https://api.github.com/repos/octocat/hello-world/check-runs/42 \\\n -d '{\"name\":\"name\"}'", - "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.antiope-preview+json\" \\\n  https://api.github.com/repos/octocat/hello-world/check-runs/42 \\\n  -d '{\"name\":\"name\"}'
    " + "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.antiope-preview+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/check-runs/42 \\\n -d '{\"name\":\"name\"}'", + "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.antiope-preview+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/check-runs/42 \\\n  -d '{\"name\":\"name\"}'
    " }, { "lang": "JavaScript", @@ -28069,7 +28191,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/check-runs/{check_run_id}/annotations", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -28123,8 +28245,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.antiope-preview+json\" \\\n https://api.github.com/repos/octocat/hello-world/check-runs/42/annotations", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.antiope-preview+json\" \\\n  https://api.github.com/repos/octocat/hello-world/check-runs/42/annotations
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.antiope-preview+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/check-runs/42/annotations", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.antiope-preview+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/check-runs/42/annotations
    " }, { "lang": "JavaScript", @@ -28176,7 +28298,7 @@ { "verb": "post", "requestPath": "/repos/{owner}/{repo}/check-suites", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -28200,8 +28322,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.antiope-preview+json\" \\\n https://api.github.com/repos/octocat/hello-world/check-suites \\\n -d '{\"head_sha\":\"head_sha\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.antiope-preview+json\" \\\n  https://api.github.com/repos/octocat/hello-world/check-suites \\\n  -d '{\"head_sha\":\"head_sha\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.antiope-preview+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/check-suites \\\n -d '{\"head_sha\":\"head_sha\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.antiope-preview+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/check-suites \\\n  -d '{\"head_sha\":\"head_sha\"}'
    " }, { "lang": "JavaScript", @@ -28289,7 +28411,7 @@ { "verb": "patch", "requestPath": "/repos/{owner}/{repo}/check-suites/preferences", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -28313,8 +28435,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.antiope-preview+json\" \\\n https://api.github.com/repos/octocat/hello-world/check-suites/preferences \\\n -d '{\"auto_trigger_checks\":[{\"app_id\":42,\"setting\":true}]}'", - "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.antiope-preview+json\" \\\n  https://api.github.com/repos/octocat/hello-world/check-suites/preferences \\\n  -d '{\"auto_trigger_checks\":[{\"app_id\":42,\"setting\":true}]}'
    " + "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.antiope-preview+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/check-suites/preferences \\\n -d '{\"auto_trigger_checks\":[{\"app_id\":42,\"setting\":true}]}'", + "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.antiope-preview+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/check-suites/preferences \\\n  -d '{\"auto_trigger_checks\":[{\"app_id\":42,\"setting\":true}]}'
    " }, { "lang": "JavaScript", @@ -28514,7 +28636,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/check-suites/{check_suite_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -28548,8 +28670,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.antiope-preview+json\" \\\n https://api.github.com/repos/octocat/hello-world/check-suites/42", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.antiope-preview+json\" \\\n  https://api.github.com/repos/octocat/hello-world/check-suites/42
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.antiope-preview+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/check-suites/42", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.antiope-preview+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/check-suites/42
    " }, { "lang": "JavaScript", @@ -28601,7 +28723,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/check-suites/{check_suite_id}/check-runs", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -28695,8 +28817,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.antiope-preview+json\" \\\n https://api.github.com/repos/octocat/hello-world/check-suites/42/check-runs", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.antiope-preview+json\" \\\n  https://api.github.com/repos/octocat/hello-world/check-suites/42/check-runs
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.antiope-preview+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/check-suites/42/check-runs", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.antiope-preview+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/check-suites/42/check-runs
    " }, { "lang": "JavaScript", @@ -28748,7 +28870,7 @@ { "verb": "post", "requestPath": "/repos/{owner}/{repo}/check-suites/{check_suite_id}/rerequest", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -28782,8 +28904,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.antiope-preview+json\" \\\n https://api.github.com/repos/octocat/hello-world/check-suites/42/rerequest", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.antiope-preview+json\" \\\n  https://api.github.com/repos/octocat/hello-world/check-suites/42/rerequest
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.antiope-preview+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/check-suites/42/rerequest", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.antiope-preview+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/check-suites/42/rerequest
    " }, { "lang": "JavaScript", @@ -28834,7 +28956,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/collaborators", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -28894,8 +29016,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/collaborators", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/collaborators
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/collaborators", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/collaborators
    " }, { "lang": "JavaScript", @@ -28945,7 +29067,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/collaborators/{username}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -28978,8 +29100,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/collaborators/USERNAME", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/collaborators/USERNAME
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/collaborators/USERNAME", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/collaborators/USERNAME
    " }, { "lang": "JavaScript", @@ -29028,7 +29150,7 @@ { "verb": "put", "requestPath": "/repos/{owner}/{repo}/collaborators/{username}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -29061,8 +29183,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/collaborators/USERNAME \\\n -d '{\"permission\":\"permission\"}'", - "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/collaborators/USERNAME \\\n  -d '{\"permission\":\"permission\"}'
    " + "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/collaborators/USERNAME \\\n -d '{\"permission\":\"permission\"}'", + "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/collaborators/USERNAME \\\n  -d '{\"permission\":\"permission\"}'
    " }, { "lang": "JavaScript", @@ -29187,7 +29309,7 @@ { "verb": "delete", "requestPath": "/repos/{owner}/{repo}/collaborators/{username}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -29220,8 +29342,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/collaborators/USERNAME", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/collaborators/USERNAME
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/collaborators/USERNAME", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/collaborators/USERNAME
    " }, { "lang": "JavaScript", @@ -29256,7 +29378,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "bodyParameters": [], @@ -29265,7 +29387,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/collaborators/{username}/permission", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -29298,8 +29420,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/collaborators/USERNAME/permission", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/collaborators/USERNAME/permission
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/collaborators/USERNAME/permission", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/collaborators/USERNAME/permission
    " }, { "lang": "JavaScript", @@ -29349,7 +29471,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/comments", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -29393,8 +29515,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/comments", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/comments
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/comments", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/comments
    " }, { "lang": "JavaScript", @@ -29446,7 +29568,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/comments/{comment_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -29480,8 +29602,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/comments/42", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/comments/42
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/comments/42", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/comments/42
    " }, { "lang": "JavaScript", @@ -29538,7 +29660,7 @@ { "verb": "patch", "requestPath": "/repos/{owner}/{repo}/comments/{comment_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -29572,8 +29694,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/comments/42 \\\n -d '{\"body\":\"body\"}'", - "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/comments/42 \\\n  -d '{\"body\":\"body\"}'
    " + "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/comments/42 \\\n -d '{\"body\":\"body\"}'", + "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/comments/42 \\\n  -d '{\"body\":\"body\"}'
    " }, { "lang": "JavaScript", @@ -29659,7 +29781,7 @@ { "verb": "delete", "requestPath": "/repos/{owner}/{repo}/comments/{comment_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -29693,8 +29815,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/comments/42", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/comments/42
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/comments/42", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/comments/42
    " }, { "lang": "JavaScript", @@ -29729,7 +29851,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "404", @@ -29743,7 +29865,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/comments/{comment_id}/reactions", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -29817,8 +29939,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n https://api.github.com/repos/octocat/hello-world/comments/42/reactions", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n  https://api.github.com/repos/octocat/hello-world/comments/42/reactions
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/comments/42/reactions", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/comments/42/reactions
    " }, { "lang": "JavaScript", @@ -29878,7 +30000,7 @@ { "verb": "post", "requestPath": "/repos/{owner}/{repo}/comments/{comment_id}/reactions", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -29912,8 +30034,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n https://api.github.com/repos/octocat/hello-world/comments/42/reactions \\\n -d '{\"content\":\"content\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n  https://api.github.com/repos/octocat/hello-world/comments/42/reactions \\\n  -d '{\"content\":\"content\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/comments/42/reactions \\\n -d '{\"content\":\"content\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/comments/42/reactions \\\n  -d '{\"content\":\"content\"}'
    " }, { "lang": "JavaScript", @@ -30035,7 +30157,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/commits", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -30124,13 +30246,35 @@ "default": 1 }, "descriptionHTML": "

    Page number of the results to fetch.

    " + }, + { + "name": "top", + "description": "legacy parameter for pagination.", + "in": "query", + "deprecated": true, + "required": false, + "schema": { + "type": "string" + }, + "descriptionHTML": "

    legacy parameter for pagination.

    " + }, + { + "name": "last_sha", + "description": "legacy parameter for pagination.", + "in": "query", + "deprecated": true, + "required": false, + "schema": { + "type": "string" + }, + "descriptionHTML": "

    legacy parameter for pagination.

    " } ], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/commits", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/commits
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/commits", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/commits
    " }, { "lang": "JavaScript", @@ -30195,7 +30339,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/commits/{commit_sha}/branches-where-head", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -30230,8 +30374,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.groot-preview+json\" \\\n https://api.github.com/repos/octocat/hello-world/commits/COMMIT_SHA/branches-where-head", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.groot-preview+json\" \\\n  https://api.github.com/repos/octocat/hello-world/commits/COMMIT_SHA/branches-where-head
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.groot-preview+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/commits/COMMIT_SHA/branches-where-head", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.groot-preview+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/commits/COMMIT_SHA/branches-where-head
    " }, { "lang": "JavaScript", @@ -30293,7 +30437,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/commits/{commit_sha}/comments", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -30348,8 +30492,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/commits/COMMIT_SHA/comments", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/commits/COMMIT_SHA/comments
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/commits/COMMIT_SHA/comments", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/commits/COMMIT_SHA/comments
    " }, { "lang": "JavaScript", @@ -30401,7 +30545,7 @@ { "verb": "post", "requestPath": "/repos/{owner}/{repo}/commits/{commit_sha}/comments", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -30436,8 +30580,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/commits/COMMIT_SHA/comments \\\n -d '{\"body\":\"body\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/commits/COMMIT_SHA/comments \\\n  -d '{\"body\":\"body\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/commits/COMMIT_SHA/comments \\\n -d '{\"body\":\"body\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/commits/COMMIT_SHA/comments \\\n  -d '{\"body\":\"body\"}'
    " }, { "lang": "JavaScript", @@ -30586,7 +30730,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/commits/{commit_sha}/pulls", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -30641,8 +30785,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.groot-preview+json\" \\\n https://api.github.com/repos/octocat/hello-world/commits/COMMIT_SHA/pulls", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.groot-preview+json\" \\\n  https://api.github.com/repos/octocat/hello-world/commits/COMMIT_SHA/pulls
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.groot-preview+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/commits/COMMIT_SHA/pulls", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.groot-preview+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/commits/COMMIT_SHA/pulls
    " }, { "lang": "JavaScript", @@ -30699,7 +30843,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/commits/{ref}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -30719,23 +30863,43 @@ }, "descriptionHTML": "" }, + { + "name": "page", + "description": "Page number of the results to fetch.", + "in": "query", + "schema": { + "type": "integer", + "default": 1 + }, + "descriptionHTML": "

    Page number of the results to fetch.

    " + }, + { + "name": "per_page", + "description": "Results per page (max 100).", + "in": "query", + "schema": { + "type": "integer", + "default": 30 + }, + "descriptionHTML": "

    Results per page (max 100).

    " + }, { "name": "ref", - "description": "ref+ parameter", + "description": "ref parameter", "in": "path", "required": true, "schema": { "type": "string" }, "x-multi-segment": true, - "descriptionHTML": "

    ref+ parameter

    " + "descriptionHTML": "

    ref parameter

    " } ], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/commits/REF", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/commits/REF
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/commits/REF", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/commits/REF
    " }, { "lang": "JavaScript", @@ -30795,7 +30959,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/commits/{ref}/check-runs", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -30817,14 +30981,14 @@ }, { "name": "ref", - "description": "ref+ parameter", + "description": "ref parameter", "in": "path", "required": true, "schema": { "type": "string" }, "x-multi-segment": true, - "descriptionHTML": "

    ref+ parameter

    " + "descriptionHTML": "

    ref parameter

    " }, { "name": "check_name", @@ -30885,13 +31049,22 @@ "default": 1 }, "descriptionHTML": "

    Page number of the results to fetch.

    " + }, + { + "name": "app_id", + "in": "query", + "required": false, + "schema": { + "type": "integer" + }, + "descriptionHTML": "" } ], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.antiope-preview+json\" \\\n https://api.github.com/repos/octocat/hello-world/commits/REF/check-runs", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.antiope-preview+json\" \\\n  https://api.github.com/repos/octocat/hello-world/commits/REF/check-runs
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.antiope-preview+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/commits/REF/check-runs", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.antiope-preview+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/commits/REF/check-runs
    " }, { "lang": "JavaScript", @@ -30943,7 +31116,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/commits/{ref}/check-suites", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -30965,14 +31138,14 @@ }, { "name": "ref", - "description": "ref+ parameter", + "description": "ref parameter", "in": "path", "required": true, "schema": { "type": "string" }, "x-multi-segment": true, - "descriptionHTML": "

    ref+ parameter

    " + "descriptionHTML": "

    ref parameter

    " }, { "name": "app_id", @@ -31019,8 +31192,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.antiope-preview+json\" \\\n https://api.github.com/repos/octocat/hello-world/commits/REF/check-suites", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.antiope-preview+json\" \\\n  https://api.github.com/repos/octocat/hello-world/commits/REF/check-suites
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.antiope-preview+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/commits/REF/check-suites", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.antiope-preview+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/commits/REF/check-suites
    " }, { "lang": "JavaScript", @@ -31072,7 +31245,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/commits/{ref}/status", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -31094,21 +31267,41 @@ }, { "name": "ref", - "description": "ref+ parameter", + "description": "ref parameter", "in": "path", "required": true, "schema": { "type": "string" }, "x-multi-segment": true, - "descriptionHTML": "

    ref+ parameter

    " + "descriptionHTML": "

    ref parameter

    " + }, + { + "name": "per_page", + "description": "Results per page (max 100).", + "in": "query", + "schema": { + "type": "integer", + "default": 30 + }, + "descriptionHTML": "

    Results per page (max 100).

    " + }, + { + "name": "page", + "description": "Page number of the results to fetch.", + "in": "query", + "schema": { + "type": "integer", + "default": 1 + }, + "descriptionHTML": "

    Page number of the results to fetch.

    " } ], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/commits/REF/status", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/commits/REF/status
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/commits/REF/status", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/commits/REF/status
    " }, { "lang": "JavaScript", @@ -31158,7 +31351,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/commits/{ref}/statuses", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -31180,14 +31373,14 @@ }, { "name": "ref", - "description": "ref+ parameter", + "description": "ref parameter", "in": "path", "required": true, "schema": { "type": "string" }, "x-multi-segment": true, - "descriptionHTML": "

    ref+ parameter

    " + "descriptionHTML": "

    ref parameter

    " }, { "name": "per_page", @@ -31213,8 +31406,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/commits/REF/statuses", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/commits/REF/statuses
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/commits/REF/statuses", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/commits/REF/statuses
    " }, { "lang": "JavaScript", @@ -31264,7 +31457,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/compare/{base}...{head}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -31306,8 +31499,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/compare/BASE...HEAD", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/compare/BASE...HEAD
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/compare/BASE...HEAD", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/compare/BASE...HEAD
    " }, { "lang": "JavaScript", @@ -31362,7 +31555,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/contents/{path}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -31384,14 +31577,14 @@ }, { "name": "path", - "description": "path+ parameter", + "description": "path parameter", "in": "path", "required": true, "schema": { "type": "string" }, "x-multi-segment": true, - "descriptionHTML": "

    path+ parameter

    " + "descriptionHTML": "

    path parameter

    " }, { "name": "ref", @@ -31407,8 +31600,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/contents/PATH", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/contents/PATH
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/contents/PATH", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/contents/PATH
    " }, { "lang": "JavaScript", @@ -31486,7 +31679,7 @@ { "verb": "put", "requestPath": "/repos/{owner}/{repo}/contents/{path}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -31508,21 +31701,21 @@ }, { "name": "path", - "description": "path+ parameter", + "description": "path parameter", "in": "path", "required": true, "schema": { "type": "string" }, "x-multi-segment": true, - "descriptionHTML": "

    path+ parameter

    " + "descriptionHTML": "

    path parameter

    " } ], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/contents/PATH \\\n -d '{\"message\":\"message\",\"content\":\"content\"}'", - "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/contents/PATH \\\n  -d '{\"message\":\"message\",\"content\":\"content\"}'
    " + "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/contents/PATH \\\n -d '{\"message\":\"message\",\"content\":\"content\"}'", + "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/contents/PATH \\\n  -d '{\"message\":\"message\",\"content\":\"content\"}'
    " }, { "lang": "JavaScript", @@ -32009,7 +32202,7 @@ { "verb": "delete", "requestPath": "/repos/{owner}/{repo}/contents/{path}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -32031,21 +32224,21 @@ }, { "name": "path", - "description": "path+ parameter", + "description": "path parameter", "in": "path", "required": true, "schema": { "type": "string" }, "x-multi-segment": true, - "descriptionHTML": "

    path+ parameter

    " + "descriptionHTML": "

    path parameter

    " } ], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/contents/PATH \\\n -d '{\"message\":\"message\",\"sha\":\"sha\"}'", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/contents/PATH \\\n  -d '{\"message\":\"message\",\"sha\":\"sha\"}'
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/contents/PATH \\\n -d '{\"message\":\"message\",\"sha\":\"sha\"}'", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/contents/PATH \\\n  -d '{\"message\":\"message\",\"sha\":\"sha\"}'
    " }, { "lang": "JavaScript", @@ -32408,7 +32601,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/contributors", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -32462,8 +32655,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/contributors", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/contributors
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/contributors", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/contributors
    " }, { "lang": "JavaScript", @@ -32521,7 +32714,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/deployments", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -32581,7 +32774,8 @@ "required": false, "schema": { "type": "string", - "default": "none" + "default": "none", + "nullable": true }, "descriptionHTML": "

    The name of the environment that was deployed to (e.g., staging or production).

    " }, @@ -32609,8 +32803,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/deployments", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/deployments
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/deployments", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/deployments
    " }, { "lang": "JavaScript", @@ -32662,7 +32856,7 @@ { "verb": "post", "requestPath": "/repos/{owner}/{repo}/deployments", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -32686,8 +32880,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/deployments \\\n -d '{\"ref\":\"ref\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/deployments \\\n  -d '{\"ref\":\"ref\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/deployments \\\n -d '{\"ref\":\"ref\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/deployments \\\n  -d '{\"ref\":\"ref\"}'
    " }, { "lang": "JavaScript", @@ -32986,12 +33180,6 @@ "description": "Simple example", "payload": "
    {\n  \"url\": \"https://api.github.com/repos/octocat/example/deployments/1\",\n  \"id\": 1,\n  \"node_id\": \"MDEwOkRlcGxveW1lbnQx\",\n  \"sha\": \"a84d88e7554fc1fa21bcbc4efae3c782a70d2b9d\",\n  \"ref\": \"topic-branch\",\n  \"task\": \"deploy\",\n  \"payload\": {},\n  \"original_environment\": \"staging\",\n  \"environment\": \"production\",\n  \"description\": \"Deploy request from hubot\",\n  \"creator\": {\n    \"login\": \"octocat\",\n    \"id\": 1,\n    \"node_id\": \"MDQ6VXNlcjE=\",\n    \"avatar_url\": \"https://github.com/images/error/octocat_happy.gif\",\n    \"gravatar_id\": \"\",\n    \"url\": \"https://api.github.com/users/octocat\",\n    \"html_url\": \"https://github.com/octocat\",\n    \"followers_url\": \"https://api.github.com/users/octocat/followers\",\n    \"following_url\": \"https://api.github.com/users/octocat/following{/other_user}\",\n    \"gists_url\": \"https://api.github.com/users/octocat/gists{/gist_id}\",\n    \"starred_url\": \"https://api.github.com/users/octocat/starred{/owner}{/repo}\",\n    \"subscriptions_url\": \"https://api.github.com/users/octocat/subscriptions\",\n    \"organizations_url\": \"https://api.github.com/users/octocat/orgs\",\n    \"repos_url\": \"https://api.github.com/users/octocat/repos\",\n    \"events_url\": \"https://api.github.com/users/octocat/events{/privacy}\",\n    \"received_events_url\": \"https://api.github.com/users/octocat/received_events\",\n    \"type\": \"User\",\n    \"site_admin\": false\n  },\n  \"created_at\": \"2012-07-20T01:19:13Z\",\n  \"updated_at\": \"2012-07-20T01:19:13Z\",\n  \"statuses_url\": \"https://api.github.com/repos/octocat/example/deployments/1/statuses\",\n  \"repository_url\": \"https://api.github.com/repos/octocat/example\",\n  \"transient_environment\": false,\n  \"production_environment\": true\n}\n
    " }, - { - "httpStatusCode": "201", - "httpStatusMessage": "Created", - "description": "Advanced example", - "payload": "
    {\n  \"url\": \"https://api.github.com/repos/octocat/example/deployments/1\",\n  \"id\": 1,\n  \"node_id\": \"MDEwOkRlcGxveW1lbnQx\",\n  \"sha\": \"a84d88e7554fc1fa21bcbc4efae3c782a70d2b9d\",\n  \"ref\": \"topic-branch\",\n  \"task\": \"deploy\",\n  \"payload\": {},\n  \"original_environment\": \"staging\",\n  \"environment\": \"production\",\n  \"description\": \"Deploy request from hubot\",\n  \"creator\": {\n    \"login\": \"octocat\",\n    \"id\": 1,\n    \"node_id\": \"MDQ6VXNlcjE=\",\n    \"avatar_url\": \"https://github.com/images/error/octocat_happy.gif\",\n    \"gravatar_id\": \"\",\n    \"url\": \"https://api.github.com/users/octocat\",\n    \"html_url\": \"https://github.com/octocat\",\n    \"followers_url\": \"https://api.github.com/users/octocat/followers\",\n    \"following_url\": \"https://api.github.com/users/octocat/following{/other_user}\",\n    \"gists_url\": \"https://api.github.com/users/octocat/gists{/gist_id}\",\n    \"starred_url\": \"https://api.github.com/users/octocat/starred{/owner}{/repo}\",\n    \"subscriptions_url\": \"https://api.github.com/users/octocat/subscriptions\",\n    \"organizations_url\": \"https://api.github.com/users/octocat/orgs\",\n    \"repos_url\": \"https://api.github.com/users/octocat/repos\",\n    \"events_url\": \"https://api.github.com/users/octocat/events{/privacy}\",\n    \"received_events_url\": \"https://api.github.com/users/octocat/received_events\",\n    \"type\": \"User\",\n    \"site_admin\": false\n  },\n  \"created_at\": \"2012-07-20T01:19:13Z\",\n  \"updated_at\": \"2012-07-20T01:19:13Z\",\n  \"statuses_url\": \"https://api.github.com/repos/octocat/example/deployments/1/statuses\",\n  \"repository_url\": \"https://api.github.com/repos/octocat/example\",\n  \"transient_environment\": false,\n  \"production_environment\": true\n}\n
    " - }, { "httpStatusCode": "202", "httpStatusMessage": "Accepted", @@ -33001,14 +33189,7 @@ { "httpStatusCode": "409", "httpStatusMessage": "Conflict", - "description": "Merge conflict response", - "payload": "
    {\n  \"message\": \"Conflict merging master into topic-branch\"\n}\n
    " - }, - { - "httpStatusCode": "409", - "httpStatusMessage": "Conflict", - "description": "Failed commit status checks", - "payload": "
    {\n  \"message\": \"Conflict: Commit status checks failed for topic-branch.\"\n}\n
    " + "description": "Response when there is a merge conflict or the commit s status checks failed" }, { "httpStatusCode": "422", @@ -33020,7 +33201,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/deployments/{deployment_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -33054,8 +33235,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/deployments/42", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/deployments/42
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/deployments/42", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/deployments/42
    " }, { "lang": "JavaScript", @@ -33118,7 +33299,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/deployments/{deployment_id}/statuses", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -33172,8 +33353,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/deployments/42/statuses", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/deployments/42/statuses
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/deployments/42/statuses", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/deployments/42/statuses
    " }, { "lang": "JavaScript", @@ -33236,7 +33417,7 @@ { "verb": "post", "requestPath": "/repos/{owner}/{repo}/deployments/{deployment_id}/statuses", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -33270,8 +33451,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/deployments/42/statuses \\\n -d '{\"state\":\"state\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/deployments/42/statuses \\\n  -d '{\"state\":\"state\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/deployments/42/statuses \\\n -d '{\"state\":\"state\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/deployments/42/statuses \\\n  -d '{\"state\":\"state\"}'
    " }, { "lang": "JavaScript", @@ -33517,7 +33698,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/deployments/{deployment_id}/statuses/{status_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -33560,8 +33741,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/deployments/42/statuses/42", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/deployments/42/statuses/42
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/deployments/42/statuses/42", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/deployments/42/statuses/42
    " }, { "lang": "JavaScript", @@ -33635,7 +33816,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/events", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -33679,8 +33860,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/events", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/events
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/events", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/events
    " }, { "lang": "JavaScript", @@ -33724,7 +33905,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/forks", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -33754,7 +33935,8 @@ "enum": [ "newest", "oldest", - "stargazers" + "stargazers", + "watchers" ], "default": "newest" }, @@ -33779,13 +33961,35 @@ "default": 1 }, "descriptionHTML": "

    Page number of the results to fetch.

    " + }, + { + "name": "org", + "description": "legacy query parameter for specifying the org.", + "in": "query", + "deprecated": true, + "required": false, + "schema": { + "type": "string" + }, + "descriptionHTML": "

    legacy query parameter for specifying the org.

    " + }, + { + "name": "organization", + "description": "legacy query parameter for specifying the org.", + "in": "query", + "deprecated": true, + "required": false, + "schema": { + "type": "string" + }, + "descriptionHTML": "

    legacy query parameter for specifying the org.

    " } ], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/forks", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/forks
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/forks", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/forks
    " }, { "lang": "JavaScript", @@ -33835,7 +34039,7 @@ { "verb": "post", "requestPath": "/repos/{owner}/{repo}/forks", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -33854,13 +34058,35 @@ "type": "string" }, "descriptionHTML": "" + }, + { + "name": "org", + "description": "legacy query parameter for specifying the org.", + "in": "query", + "deprecated": true, + "required": false, + "schema": { + "type": "string" + }, + "descriptionHTML": "

    legacy query parameter for specifying the org.

    " + }, + { + "name": "organization", + "description": "legacy query parameter for specifying the org.", + "in": "query", + "deprecated": true, + "required": false, + "schema": { + "type": "string" + }, + "descriptionHTML": "

    legacy query parameter for specifying the org.

    " } ], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/forks \\\n -d '{\"organization\":\"organization\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/forks \\\n  -d '{\"organization\":\"organization\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/forks \\\n -d '{\"organization\":\"organization\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/forks \\\n  -d '{\"organization\":\"organization\"}'
    " }, { "lang": "JavaScript", @@ -33883,6 +34109,7 @@ "application/json": { "schema": { "type": "object", + "nullable": true, "properties": { "organization": { "type": "string", @@ -33955,7 +34182,7 @@ { "verb": "post", "requestPath": "/repos/{owner}/{repo}/git/blobs", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -33979,8 +34206,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/git/blobs \\\n -d '{\"content\":\"content\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/git/blobs \\\n  -d '{\"content\":\"content\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/git/blobs \\\n -d '{\"content\":\"content\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/git/blobs \\\n  -d '{\"content\":\"content\"}'
    " }, { "lang": "JavaScript", @@ -34102,7 +34329,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/git/blobs/{file_sha}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -34135,8 +34362,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/git/blobs/FILE_SHA", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/git/blobs/FILE_SHA
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/git/blobs/FILE_SHA", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/git/blobs/FILE_SHA
    " }, { "lang": "JavaScript", @@ -34196,7 +34423,7 @@ { "verb": "post", "requestPath": "/repos/{owner}/{repo}/git/commits", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -34220,8 +34447,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/git/commits \\\n -d '{\"message\":\"message\",\"tree\":\"tree\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/git/commits \\\n  -d '{\"message\":\"message\",\"tree\":\"tree\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/git/commits \\\n -d '{\"message\":\"message\",\"tree\":\"tree\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/git/commits \\\n  -d '{\"message\":\"message\",\"tree\":\"tree\"}'
    " }, { "lang": "JavaScript", @@ -34675,7 +34902,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/git/commits/{commit_sha}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -34710,8 +34937,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/git/commits/COMMIT_SHA", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/git/commits/COMMIT_SHA
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/git/commits/COMMIT_SHA", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/git/commits/COMMIT_SHA
    " }, { "lang": "JavaScript", @@ -34761,7 +34988,7 @@ { "verb": "post", "requestPath": "/repos/{owner}/{repo}/git/refs", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -34785,8 +35012,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/git/refs \\\n -d '{\"ref\":\"ref\",\"sha\":\"sha\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/git/refs \\\n  -d '{\"ref\":\"ref\",\"sha\":\"sha\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/git/refs \\\n -d '{\"ref\":\"ref\",\"sha\":\"sha\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/git/refs \\\n  -d '{\"ref\":\"ref\",\"sha\":\"sha\"}'
    " }, { "lang": "JavaScript", @@ -34910,7 +35137,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/git/refs/{namespace}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -34954,8 +35181,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/git/refs/", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/git/refs/
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/git/refs/", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/git/refs/
    " }, { "lang": "JavaScript", @@ -34999,7 +35226,7 @@ { "verb": "patch", "requestPath": "/repos/{owner}/{repo}/git/refs/{ref}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -35021,21 +35248,21 @@ }, { "name": "ref", - "description": "ref+ parameter", + "description": "ref parameter", "in": "path", "required": true, "schema": { "type": "string" }, "x-multi-segment": true, - "descriptionHTML": "

    ref+ parameter

    " + "descriptionHTML": "

    ref parameter

    " } ], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/git/refs/REF \\\n -d '{\"sha\":\"sha\"}'", - "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/git/refs/REF \\\n  -d '{\"sha\":\"sha\"}'
    " + "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/git/refs/REF \\\n -d '{\"sha\":\"sha\"}'", + "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/git/refs/REF \\\n  -d '{\"sha\":\"sha\"}'
    " }, { "lang": "JavaScript", @@ -35142,7 +35369,7 @@ { "verb": "delete", "requestPath": "/repos/{owner}/{repo}/git/refs/{ref}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -35164,21 +35391,21 @@ }, { "name": "ref", - "description": "ref+ parameter", + "description": "ref parameter", "in": "path", "required": true, "schema": { "type": "string" }, "x-multi-segment": true, - "descriptionHTML": "

    ref+ parameter

    " + "descriptionHTML": "

    ref parameter

    " } ], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/git/refs/REF", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/git/refs/REF
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/git/refs/REF", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/git/refs/REF
    " }, { "lang": "JavaScript", @@ -35213,7 +35440,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "422", @@ -35227,7 +35454,7 @@ { "verb": "post", "requestPath": "/repos/{owner}/{repo}/git/tags", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -35251,8 +35478,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/git/tags \\\n -d '{\"tag\":\"tag\",\"message\":\"message\",\"object\":\"object\",\"type\":\"type\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/git/tags \\\n  -d '{\"tag\":\"tag\",\"message\":\"message\",\"object\":\"object\",\"type\":\"type\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/git/tags \\\n -d '{\"tag\":\"tag\",\"message\":\"message\",\"object\":\"object\",\"type\":\"type\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/git/tags \\\n  -d '{\"tag\":\"tag\",\"message\":\"message\",\"object\":\"object\",\"type\":\"type\"}'
    " }, { "lang": "JavaScript", @@ -35559,7 +35786,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/git/tags/{tag_sha}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -35592,8 +35819,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/git/tags/TAG_SHA", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/git/tags/TAG_SHA
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/git/tags/TAG_SHA", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/git/tags/TAG_SHA
    " }, { "lang": "JavaScript", @@ -35643,7 +35870,7 @@ { "verb": "post", "requestPath": "/repos/{owner}/{repo}/git/trees", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -35667,8 +35894,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/git/trees \\\n -d '{\"tree\":[{\"path\":\"path\",\"mode\":\"mode\",\"type\":\"type\",\"sha\":\"sha\",\"content\":\"content\"}]}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/git/trees \\\n  -d '{\"tree\":[{\"path\":\"path\",\"mode\":\"mode\",\"type\":\"type\",\"sha\":\"sha\",\"content\":\"content\"}]}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/git/trees \\\n -d '{\"tree\":[{\"path\":\"path\",\"mode\":\"mode\",\"type\":\"type\",\"sha\":\"sha\",\"content\":\"content\"}]}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/git/trees \\\n  -d '{\"tree\":[{\"path\":\"path\",\"mode\":\"mode\",\"type\":\"type\",\"sha\":\"sha\",\"content\":\"content\"}]}'
    " }, { "lang": "JavaScript", @@ -36048,7 +36275,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/git/trees/{tree_sha}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -36075,6 +36302,7 @@ "schema": { "type": "string" }, + "x-multi-segment": true, "descriptionHTML": "" }, { @@ -36091,8 +36319,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/git/trees/TREE_SHA", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/git/trees/TREE_SHA
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/git/trees/TREE_SHA", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/git/trees/TREE_SHA
    " }, { "lang": "JavaScript", @@ -36153,7 +36381,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/hooks", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -36197,8 +36425,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/hooks", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/hooks
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/hooks", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/hooks
    " }, { "lang": "JavaScript", @@ -36248,7 +36476,7 @@ { "verb": "post", "requestPath": "/repos/{owner}/{repo}/hooks", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -36272,8 +36500,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/hooks \\\n -d '{\"config\":{\"url\":\"url\",\"content_type\":\"content_type\",\"secret\":\"secret\",\"insecure_ssl\":\"insecure_ssl\",\"token\":\"token\",\"digest\":\"digest\"}}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/hooks \\\n  -d '{\"config\":{\"url\":\"url\",\"content_type\":\"content_type\",\"secret\":\"secret\",\"insecure_ssl\":\"insecure_ssl\",\"token\":\"token\",\"digest\":\"digest\"}}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/hooks \\\n -d '{\"config\":{\"url\":\"url\",\"content_type\":\"content_type\",\"secret\":\"secret\",\"insecure_ssl\":\"insecure_ssl\",\"token\":\"token\",\"digest\":\"digest\"}}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/hooks \\\n  -d '{\"config\":{\"url\":\"url\",\"content_type\":\"content_type\",\"secret\":\"secret\",\"insecure_ssl\":\"insecure_ssl\",\"token\":\"token\",\"digest\":\"digest\"}}'
    " }, { "lang": "JavaScript", @@ -36709,7 +36937,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/hooks/{hook_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -36742,8 +36970,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/hooks/42", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/hooks/42
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/hooks/42", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/hooks/42
    " }, { "lang": "JavaScript", @@ -36793,7 +37021,7 @@ { "verb": "patch", "requestPath": "/repos/{owner}/{repo}/hooks/{hook_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -36826,8 +37054,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/hooks/42 \\\n -d '{\"config\":{\"url\":\"url\",\"content_type\":\"content_type\",\"secret\":\"secret\",\"insecure_ssl\":\"insecure_ssl\",\"address\":\"address\",\"room\":\"room\"}}'", - "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/hooks/42 \\\n  -d '{\"config\":{\"url\":\"url\",\"content_type\":\"content_type\",\"secret\":\"secret\",\"insecure_ssl\":\"insecure_ssl\",\"address\":\"address\",\"room\":\"room\"}}'
    " + "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/hooks/42 \\\n -d '{\"config\":{\"url\":\"url\",\"content_type\":\"content_type\",\"secret\":\"secret\",\"insecure_ssl\":\"insecure_ssl\",\"address\":\"address\",\"room\":\"room\"}}'", + "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/hooks/42 \\\n  -d '{\"config\":{\"url\":\"url\",\"content_type\":\"content_type\",\"secret\":\"secret\",\"insecure_ssl\":\"insecure_ssl\",\"address\":\"address\",\"room\":\"room\"}}'
    " }, { "lang": "JavaScript", @@ -37278,7 +37506,7 @@ { "verb": "delete", "requestPath": "/repos/{owner}/{repo}/hooks/{hook_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -37311,8 +37539,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/hooks/42", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/hooks/42
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/hooks/42", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/hooks/42
    " }, { "lang": "JavaScript", @@ -37347,7 +37575,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "404", @@ -37361,7 +37589,7 @@ { "verb": "post", "requestPath": "/repos/{owner}/{repo}/hooks/{hook_id}/pings", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -37394,8 +37622,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/hooks/42/pings", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/hooks/42/pings
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/hooks/42/pings", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/hooks/42/pings
    " }, { "lang": "JavaScript", @@ -37430,7 +37658,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "404", @@ -37444,7 +37672,7 @@ { "verb": "post", "requestPath": "/repos/{owner}/{repo}/hooks/{hook_id}/tests", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -37477,8 +37705,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/hooks/42/tests", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/hooks/42/tests
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/hooks/42/tests", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/hooks/42/tests
    " }, { "lang": "JavaScript", @@ -37513,7 +37741,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "404", @@ -37527,7 +37755,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/installation", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "accept", @@ -37562,8 +37790,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.machine-man-preview+json\" \\\n https://api.github.com/repos/octocat/hello-world/installation", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.machine-man-preview+json\" \\\n  https://api.github.com/repos/octocat/hello-world/installation
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.machine-man-preview+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/installation", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.machine-man-preview+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/installation
    " }, { "lang": "JavaScript", @@ -37622,7 +37850,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/invitations", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -37666,8 +37894,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/invitations", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/invitations
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/invitations", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/invitations
    " }, { "lang": "JavaScript", @@ -37712,7 +37940,7 @@ { "verb": "patch", "requestPath": "/repos/{owner}/{repo}/invitations/{invitation_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -37746,8 +37974,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/invitations/42 \\\n -d '{\"permissions\":\"permissions\"}'", - "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/invitations/42 \\\n  -d '{\"permissions\":\"permissions\"}'
    " + "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/invitations/42 \\\n -d '{\"permissions\":\"permissions\"}'", + "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/invitations/42 \\\n  -d '{\"permissions\":\"permissions\"}'
    " }, { "lang": "JavaScript", @@ -37836,7 +38064,7 @@ { "verb": "delete", "requestPath": "/repos/{owner}/{repo}/invitations/{invitation_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -37870,8 +38098,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/invitations/42", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/invitations/42
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/invitations/42", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/invitations/42
    " }, { "lang": "JavaScript", @@ -37906,7 +38134,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "bodyParameters": [], @@ -37915,7 +38143,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/issues", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -38066,8 +38294,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/issues", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/issues
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues
    " }, { "lang": "JavaScript", @@ -38131,7 +38359,7 @@ { "verb": "post", "requestPath": "/repos/{owner}/{repo}/issues", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -38155,8 +38383,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/issues \\\n -d '{\"title\":\"title\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/issues \\\n  -d '{\"title\":\"title\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues \\\n -d '{\"title\":\"title\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues \\\n  -d '{\"title\":\"title\"}'
    " }, { "lang": "JavaScript", @@ -38447,7 +38675,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/issues/comments", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -38530,8 +38758,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/issues/comments", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/issues/comments
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues/comments", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues/comments
    " }, { "lang": "JavaScript", @@ -38593,7 +38821,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/issues/comments/{comment_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -38627,8 +38855,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/issues/comments/42", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/issues/comments/42
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues/comments/42", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues/comments/42
    " }, { "lang": "JavaScript", @@ -38685,7 +38913,7 @@ { "verb": "patch", "requestPath": "/repos/{owner}/{repo}/issues/comments/{comment_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -38719,8 +38947,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/issues/comments/42 \\\n -d '{\"body\":\"body\"}'", - "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/issues/comments/42 \\\n  -d '{\"body\":\"body\"}'
    " + "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues/comments/42 \\\n -d '{\"body\":\"body\"}'", + "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues/comments/42 \\\n  -d '{\"body\":\"body\"}'
    " }, { "lang": "JavaScript", @@ -38806,7 +39034,7 @@ { "verb": "delete", "requestPath": "/repos/{owner}/{repo}/issues/comments/{comment_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -38840,8 +39068,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/issues/comments/42", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/issues/comments/42
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues/comments/42", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues/comments/42
    " }, { "lang": "JavaScript", @@ -38876,7 +39104,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "bodyParameters": [], @@ -38885,7 +39113,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/issues/comments/{comment_id}/reactions", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -38959,8 +39187,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n https://api.github.com/repos/octocat/hello-world/issues/comments/42/reactions", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n  https://api.github.com/repos/octocat/hello-world/issues/comments/42/reactions
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues/comments/42/reactions", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues/comments/42/reactions
    " }, { "lang": "JavaScript", @@ -39020,7 +39248,7 @@ { "verb": "post", "requestPath": "/repos/{owner}/{repo}/issues/comments/{comment_id}/reactions", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -39054,8 +39282,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n https://api.github.com/repos/octocat/hello-world/issues/comments/42/reactions \\\n -d '{\"content\":\"content\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n  https://api.github.com/repos/octocat/hello-world/issues/comments/42/reactions \\\n  -d '{\"content\":\"content\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues/comments/42/reactions \\\n -d '{\"content\":\"content\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues/comments/42/reactions \\\n  -d '{\"content\":\"content\"}'
    " }, { "lang": "JavaScript", @@ -39177,7 +39405,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/issues/events", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -39221,8 +39449,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/issues/events", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/issues/events
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues/events", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues/events
    " }, { "lang": "JavaScript", @@ -39285,7 +39513,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/issues/events/{event_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -39318,8 +39546,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/issues/events/42", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/issues/events/42
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues/events/42", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues/events/42
    " }, { "lang": "JavaScript", @@ -39398,7 +39626,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/issues/{issue_number}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -39432,8 +39660,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/issues/42", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/issues/42
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues/42", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues/42
    " }, { "lang": "JavaScript", @@ -39503,7 +39731,7 @@ { "verb": "patch", "requestPath": "/repos/{owner}/{repo}/issues/{issue_number}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -39537,8 +39765,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/issues/42 \\\n -d '{\"title\":\"title\"}'", - "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/issues/42 \\\n  -d '{\"title\":\"title\"}'
    " + "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues/42 \\\n -d '{\"title\":\"title\"}'", + "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues/42 \\\n  -d '{\"title\":\"title\"}'
    " }, { "lang": "JavaScript", @@ -39863,7 +40091,7 @@ { "verb": "post", "requestPath": "/repos/{owner}/{repo}/issues/{issue_number}/assignees", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -39897,8 +40125,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/issues/42/assignees \\\n -d '{\"assignees\":[\"assignees\"]}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/issues/42/assignees \\\n  -d '{\"assignees\":[\"assignees\"]}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues/42/assignees \\\n -d '{\"assignees\":[\"assignees\"]}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues/42/assignees \\\n  -d '{\"assignees\":[\"assignees\"]}'
    " }, { "lang": "JavaScript", @@ -39985,7 +40213,7 @@ { "verb": "delete", "requestPath": "/repos/{owner}/{repo}/issues/{issue_number}/assignees", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -40019,8 +40247,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/issues/42/assignees \\\n -d '{\"assignees\":[\"assignees\"]}'", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/issues/42/assignees \\\n  -d '{\"assignees\":[\"assignees\"]}'
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues/42/assignees \\\n -d '{\"assignees\":[\"assignees\"]}'", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues/42/assignees \\\n  -d '{\"assignees\":[\"assignees\"]}'
    " }, { "lang": "JavaScript", @@ -40107,7 +40335,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/issues/{issue_number}/comments", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -40171,8 +40399,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/issues/42/comments", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/issues/42/comments
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues/42/comments", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues/42/comments
    " }, { "lang": "JavaScript", @@ -40234,7 +40462,7 @@ { "verb": "post", "requestPath": "/repos/{owner}/{repo}/issues/{issue_number}/comments", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -40268,8 +40496,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/issues/42/comments \\\n -d '{\"body\":\"body\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/issues/42/comments \\\n  -d '{\"body\":\"body\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues/42/comments \\\n -d '{\"body\":\"body\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues/42/comments \\\n  -d '{\"body\":\"body\"}'
    " }, { "lang": "JavaScript", @@ -40371,7 +40599,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/issues/{issue_number}/events", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -40425,8 +40653,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/issues/42/events", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/issues/42/events
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues/42/events", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues/42/events
    " }, { "lang": "JavaScript", @@ -40489,7 +40717,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/issues/{issue_number}/labels", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -40543,8 +40771,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/issues/42/labels", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/issues/42/labels
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues/42/labels", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues/42/labels
    " }, { "lang": "JavaScript", @@ -40594,7 +40822,7 @@ { "verb": "post", "requestPath": "/repos/{owner}/{repo}/issues/{issue_number}/labels", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -40628,8 +40856,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/issues/42/labels \\\n -d '{\"labels\":[\"labels\"]}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/issues/42/labels \\\n  -d '{\"labels\":[\"labels\"]}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues/42/labels \\\n -d '{\"labels\":[\"labels\"]}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues/42/labels \\\n  -d '{\"labels\":[\"labels\"]}'
    " }, { "lang": "JavaScript", @@ -40729,7 +40957,7 @@ { "verb": "put", "requestPath": "/repos/{owner}/{repo}/issues/{issue_number}/labels", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -40763,8 +40991,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/issues/42/labels \\\n -d '{\"labels\":[\"labels\"]}'", - "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/issues/42/labels \\\n  -d '{\"labels\":[\"labels\"]}'
    " + "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues/42/labels \\\n -d '{\"labels\":[\"labels\"]}'", + "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues/42/labels \\\n  -d '{\"labels\":[\"labels\"]}'
    " }, { "lang": "JavaScript", @@ -40861,7 +41089,7 @@ { "verb": "delete", "requestPath": "/repos/{owner}/{repo}/issues/{issue_number}/labels", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -40895,8 +41123,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/issues/42/labels", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/issues/42/labels
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues/42/labels", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues/42/labels
    " }, { "lang": "JavaScript", @@ -40931,7 +41159,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "410", @@ -40945,7 +41173,7 @@ { "verb": "delete", "requestPath": "/repos/{owner}/{repo}/issues/{issue_number}/labels/{name}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -40988,8 +41216,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/issues/42/labels/NAME", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/issues/42/labels/NAME
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues/42/labels/NAME", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues/42/labels/NAME
    " }, { "lang": "JavaScript", @@ -41044,7 +41272,7 @@ { "verb": "put", "requestPath": "/repos/{owner}/{repo}/issues/{issue_number}/lock", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -41078,8 +41306,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/issues/42/lock \\\n -d '{\"lock_reason\":\"lock_reason\"}'", - "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/issues/42/lock \\\n  -d '{\"lock_reason\":\"lock_reason\"}'
    " + "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues/42/lock \\\n -d '{\"lock_reason\":\"lock_reason\"}'", + "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues/42/lock \\\n  -d '{\"lock_reason\":\"lock_reason\"}'
    " }, { "lang": "JavaScript", @@ -41145,7 +41373,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "403", @@ -41190,7 +41418,7 @@ { "verb": "delete", "requestPath": "/repos/{owner}/{repo}/issues/{issue_number}/lock", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -41224,8 +41452,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/issues/42/lock", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/issues/42/lock
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues/42/lock", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues/42/lock
    " }, { "lang": "JavaScript", @@ -41258,7 +41486,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "403", @@ -41277,7 +41505,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/issues/{issue_number}/reactions", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -41351,8 +41579,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n https://api.github.com/repos/octocat/hello-world/issues/42/reactions", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n  https://api.github.com/repos/octocat/hello-world/issues/42/reactions
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues/42/reactions", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues/42/reactions
    " }, { "lang": "JavaScript", @@ -41417,7 +41645,7 @@ { "verb": "post", "requestPath": "/repos/{owner}/{repo}/issues/{issue_number}/reactions", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -41451,8 +41679,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n https://api.github.com/repos/octocat/hello-world/issues/42/reactions \\\n -d '{\"content\":\"content\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n  https://api.github.com/repos/octocat/hello-world/issues/42/reactions \\\n  -d '{\"content\":\"content\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues/42/reactions \\\n -d '{\"content\":\"content\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues/42/reactions \\\n  -d '{\"content\":\"content\"}'
    " }, { "lang": "JavaScript", @@ -41568,7 +41796,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/issues/{issue_number}/timeline", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -41622,8 +41850,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.mockingbird-preview+json\" \\\n https://api.github.com/repos/octocat/hello-world/issues/42/timeline", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.mockingbird-preview+json\" \\\n  https://api.github.com/repos/octocat/hello-world/issues/42/timeline
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.mockingbird-preview+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues/42/timeline", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.mockingbird-preview+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues/42/timeline
    " }, { "lang": "JavaScript", @@ -41696,7 +41924,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/keys", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -41740,8 +41968,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/keys", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/keys
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/keys", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/keys
    " }, { "lang": "JavaScript", @@ -41786,7 +42014,7 @@ { "verb": "post", "requestPath": "/repos/{owner}/{repo}/keys", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -41810,8 +42038,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/keys \\\n -d '{\"key\":\"key\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/keys \\\n  -d '{\"key\":\"key\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/keys \\\n -d '{\"key\":\"key\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/keys \\\n  -d '{\"key\":\"key\"}'
    " }, { "lang": "JavaScript", @@ -41935,7 +42163,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/keys/{key_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -41969,8 +42197,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/keys/42", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/keys/42
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/keys/42", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/keys/42
    " }, { "lang": "JavaScript", @@ -42020,7 +42248,7 @@ { "verb": "delete", "requestPath": "/repos/{owner}/{repo}/keys/{key_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -42054,8 +42282,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/keys/42", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/keys/42
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/keys/42", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/keys/42
    " }, { "lang": "JavaScript", @@ -42090,7 +42318,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "bodyParameters": [], @@ -42099,7 +42327,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/labels", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -42143,8 +42371,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/labels", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/labels
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/labels", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/labels
    " }, { "lang": "JavaScript", @@ -42194,7 +42422,7 @@ { "verb": "post", "requestPath": "/repos/{owner}/{repo}/labels", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -42218,8 +42446,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/labels \\\n -d '{\"name\":\"name\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/labels \\\n  -d '{\"name\":\"name\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/labels \\\n -d '{\"name\":\"name\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/labels \\\n  -d '{\"name\":\"name\"}'
    " }, { "lang": "JavaScript", @@ -42245,11 +42473,11 @@ "properties": { "name": { "type": "string", - "description": "

    Required. The name of the label. Emoji can be added to label names, using either native emoji or colon-style markup. For example, typing :strawberry: will render the emoji \":strawberry:\". For a full list of available emoji and codes, see emoji-cheat-sheet.com.

    ", + "description": "

    Required. The name of the label. Emoji can be added to label names, using either native emoji or colon-style markup. For example, typing :strawberry: will render the emoji \":strawberry:\". For a full list of available emoji and codes, see \"Emoji cheat sheet.\"

    ", "name": "name", "in": "body", "rawType": "string", - "rawDescription": "The name of the label. Emoji can be added to label names, using either native emoji or colon-style markup. For example, typing `:strawberry:` will render the emoji ![:strawberry:](https://github.githubassets.com/images/icons/emoji/unicode/1f353.png \":strawberry:\"). For a full list of available emoji and codes, see [emoji-cheat-sheet.com](http://emoji-cheat-sheet.com/).", + "rawDescription": "The name of the label. Emoji can be added to label names, using either native emoji or colon-style markup. For example, typing `:strawberry:` will render the emoji ![:strawberry:](https://github.githubassets.com/images/icons/emoji/unicode/1f353.png \":strawberry:\"). For a full list of available emoji and codes, see \"[Emoji cheat sheet](https://github.com/ikatyang/emoji-cheat-sheet).\"", "childParamsGroups": [] }, "color": { @@ -42300,11 +42528,11 @@ "bodyParameters": [ { "type": "string", - "description": "

    Required. The name of the label. Emoji can be added to label names, using either native emoji or colon-style markup. For example, typing :strawberry: will render the emoji \":strawberry:\". For a full list of available emoji and codes, see emoji-cheat-sheet.com.

    ", + "description": "

    Required. The name of the label. Emoji can be added to label names, using either native emoji or colon-style markup. For example, typing :strawberry: will render the emoji \":strawberry:\". For a full list of available emoji and codes, see \"Emoji cheat sheet.\"

    ", "name": "name", "in": "body", "rawType": "string", - "rawDescription": "The name of the label. Emoji can be added to label names, using either native emoji or colon-style markup. For example, typing `:strawberry:` will render the emoji ![:strawberry:](https://github.githubassets.com/images/icons/emoji/unicode/1f353.png \":strawberry:\"). For a full list of available emoji and codes, see [emoji-cheat-sheet.com](http://emoji-cheat-sheet.com/).", + "rawDescription": "The name of the label. Emoji can be added to label names, using either native emoji or colon-style markup. For example, typing `:strawberry:` will render the emoji ![:strawberry:](https://github.githubassets.com/images/icons/emoji/unicode/1f353.png \":strawberry:\"). For a full list of available emoji and codes, see \"[Emoji cheat sheet](https://github.com/ikatyang/emoji-cheat-sheet).\"", "childParamsGroups": [] }, { @@ -42348,7 +42576,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/labels/{name}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -42381,8 +42609,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/labels/NAME", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/labels/NAME
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/labels/NAME", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/labels/NAME
    " }, { "lang": "JavaScript", @@ -42432,7 +42660,7 @@ { "verb": "delete", "requestPath": "/repos/{owner}/{repo}/labels/{name}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -42465,8 +42693,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/labels/NAME", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/labels/NAME
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/labels/NAME", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/labels/NAME
    " }, { "lang": "JavaScript", @@ -42501,7 +42729,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "bodyParameters": [], @@ -42510,7 +42738,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/languages", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -42534,8 +42762,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/languages", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/languages
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/languages", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/languages
    " }, { "lang": "JavaScript", @@ -42578,7 +42806,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/license", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -42602,8 +42830,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/license", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/license
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/license", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/license
    " }, { "lang": "JavaScript", @@ -42646,7 +42874,7 @@ { "verb": "post", "requestPath": "/repos/{owner}/{repo}/merges", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -42670,8 +42898,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/merges \\\n -d '{\"base\":\"base\",\"head\":\"head\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/merges \\\n  -d '{\"base\":\"base\",\"head\":\"head\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/merges \\\n -d '{\"base\":\"base\",\"head\":\"head\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/merges \\\n  -d '{\"base\":\"base\",\"head\":\"head\"}'
    " }, { "lang": "JavaScript", @@ -42794,20 +43022,12 @@ { "httpStatusCode": "404", "httpStatusMessage": "Not Found", - "description": "Missing base response", - "payload": "
    {\n  \"message\": \"Base does not exist\"\n}\n
    " - }, - { - "httpStatusCode": "404", - "httpStatusMessage": "Not Found", - "description": "Missing head response", - "payload": "
    {\n  \"message\": \"Head does not exist\"\n}\n
    " + "description": "Response when the base or head does not exist" }, { "httpStatusCode": "409", "httpStatusMessage": "Conflict", - "description": "Merge conflict response", - "payload": "
    {\n  \"message\": \"Merge Conflict\"\n}\n
    " + "description": "Response when there is a merge conflict" }, { "httpStatusCode": "422", @@ -42819,7 +43039,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/milestones", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -42909,8 +43129,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/milestones", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/milestones
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/milestones", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/milestones
    " }, { "lang": "JavaScript", @@ -42960,7 +43180,7 @@ { "verb": "post", "requestPath": "/repos/{owner}/{repo}/milestones", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -42984,8 +43204,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/milestones \\\n -d '{\"title\":\"title\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/milestones \\\n  -d '{\"title\":\"title\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/milestones \\\n -d '{\"title\":\"title\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/milestones \\\n  -d '{\"title\":\"title\"}'
    " }, { "lang": "JavaScript", @@ -43143,7 +43363,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/milestones/{milestone_number}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -43177,8 +43397,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/milestones/42", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/milestones/42
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/milestones/42", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/milestones/42
    " }, { "lang": "JavaScript", @@ -43228,7 +43448,7 @@ { "verb": "patch", "requestPath": "/repos/{owner}/{repo}/milestones/{milestone_number}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -43262,8 +43482,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/milestones/42 \\\n -d '{\"title\":\"title\"}'", - "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/milestones/42 \\\n  -d '{\"title\":\"title\"}'
    " + "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/milestones/42 \\\n -d '{\"title\":\"title\"}'", + "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/milestones/42 \\\n  -d '{\"title\":\"title\"}'
    " }, { "lang": "JavaScript", @@ -43408,7 +43628,7 @@ { "verb": "delete", "requestPath": "/repos/{owner}/{repo}/milestones/{milestone_number}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -43442,8 +43662,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/milestones/42", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/milestones/42
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/milestones/42", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/milestones/42
    " }, { "lang": "JavaScript", @@ -43478,7 +43698,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "404", @@ -43492,7 +43712,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/milestones/{milestone_number}/labels", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -43546,8 +43766,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/milestones/42/labels", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/milestones/42/labels
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/milestones/42/labels", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/milestones/42/labels
    " }, { "lang": "JavaScript", @@ -43592,7 +43812,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/notifications", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -43678,8 +43898,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/notifications", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/notifications
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/notifications", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/notifications
    " }, { "lang": "JavaScript", @@ -43724,7 +43944,7 @@ { "verb": "put", "requestPath": "/repos/{owner}/{repo}/notifications", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -43748,8 +43968,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/notifications \\\n -d '{\"last_read_at\":\"last_read_at\"}'", - "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/notifications \\\n  -d '{\"last_read_at\":\"last_read_at\"}'
    " + "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/notifications \\\n -d '{\"last_read_at\":\"last_read_at\"}'", + "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/notifications \\\n  -d '{\"last_read_at\":\"last_read_at\"}'
    " }, { "lang": "JavaScript", @@ -43823,7 +44043,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/pages", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -43847,8 +44067,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/pages", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/pages
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/pages", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/pages
    " }, { "lang": "JavaScript", @@ -43898,7 +44118,7 @@ { "verb": "post", "requestPath": "/repos/{owner}/{repo}/pages", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -43922,8 +44142,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.switcheroo-preview+json\" \\\n https://api.github.com/repos/octocat/hello-world/pages \\\n -d '{\"source\":{\"branch\":\"branch\",\"path\":\"path\"}}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.switcheroo-preview+json\" \\\n  https://api.github.com/repos/octocat/hello-world/pages \\\n  -d '{\"source\":{\"branch\":\"branch\",\"path\":\"path\"}}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.switcheroo-preview+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/pages \\\n -d '{\"source\":{\"branch\":\"branch\",\"path\":\"path\"}}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.switcheroo-preview+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/pages \\\n  -d '{\"source\":{\"branch\":\"branch\",\"path\":\"path\"}}'
    " }, { "lang": "JavaScript", @@ -44170,7 +44390,7 @@ { "verb": "put", "requestPath": "/repos/{owner}/{repo}/pages", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -44194,8 +44414,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/pages \\\n -d '{\"public\":true}'", - "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/pages \\\n  -d '{\"public\":true}'
    " + "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/pages \\\n -d '{\"public\":true}'", + "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/pages \\\n  -d '{\"public\":true}'
    " }, { "lang": "JavaScript", @@ -44307,7 +44527,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "400", @@ -44383,7 +44603,7 @@ { "verb": "delete", "requestPath": "/repos/{owner}/{repo}/pages", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -44407,8 +44627,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.switcheroo-preview+json\" \\\n https://api.github.com/repos/octocat/hello-world/pages", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.switcheroo-preview+json\" \\\n  https://api.github.com/repos/octocat/hello-world/pages
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.switcheroo-preview+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/pages", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.switcheroo-preview+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/pages
    " }, { "lang": "JavaScript", @@ -44450,7 +44670,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "404", @@ -44474,7 +44694,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/pages/builds", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -44518,8 +44738,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/pages/builds", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/pages/builds
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/pages/builds", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/pages/builds
    " }, { "lang": "JavaScript", @@ -44564,7 +44784,7 @@ { "verb": "post", "requestPath": "/repos/{owner}/{repo}/pages/builds", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -44588,8 +44808,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/pages/builds", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/pages/builds
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/pages/builds", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/pages/builds
    " }, { "lang": "JavaScript", @@ -44634,7 +44854,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/pages/builds/latest", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -44658,8 +44878,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/pages/builds/latest", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/pages/builds/latest
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/pages/builds/latest", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/pages/builds/latest
    " }, { "lang": "JavaScript", @@ -44704,7 +44924,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/pages/builds/{build_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -44737,8 +44957,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/pages/builds/42", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/pages/builds/42
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/pages/builds/42", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/pages/builds/42
    " }, { "lang": "JavaScript", @@ -44783,7 +45003,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/pre-receive-hooks", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -44822,13 +45042,43 @@ "default": 1 }, "descriptionHTML": "

    Page number of the results to fetch.

    " + }, + { + "name": "direction", + "description": "One of `asc` (ascending) or `desc` (descending).", + "in": "query", + "required": false, + "schema": { + "type": "string", + "enum": [ + "asc", + "desc" + ], + "default": "desc" + }, + "descriptionHTML": "

    One of asc (ascending) or desc (descending).

    " + }, + { + "name": "sort", + "in": "query", + "required": false, + "schema": { + "type": "string", + "enum": [ + "created", + "updated", + "name" + ], + "default": "created" + }, + "descriptionHTML": "" } ], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n https://api.github.com/repos/octocat/hello-world/pre-receive-hooks", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n  https://api.github.com/repos/octocat/hello-world/pre-receive-hooks
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/pre-receive-hooks", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/pre-receive-hooks
    " }, { "lang": "JavaScript", @@ -44880,7 +45130,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/pre-receive-hooks/{pre_receive_hook_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -44913,8 +45163,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n https://api.github.com/repos/octocat/hello-world/pre-receive-hooks/42", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n  https://api.github.com/repos/octocat/hello-world/pre-receive-hooks/42
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/pre-receive-hooks/42", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/pre-receive-hooks/42
    " }, { "lang": "JavaScript", @@ -44966,7 +45216,7 @@ { "verb": "patch", "requestPath": "/repos/{owner}/{repo}/pre-receive-hooks/{pre_receive_hook_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -44999,8 +45249,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n https://api.github.com/repos/octocat/hello-world/pre-receive-hooks/42 \\\n -d '{\"enforcement\":\"enforcement\"}'", - "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n  https://api.github.com/repos/octocat/hello-world/pre-receive-hooks/42 \\\n  -d '{\"enforcement\":\"enforcement\"}'
    " + "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/pre-receive-hooks/42 \\\n -d '{\"enforcement\":\"enforcement\"}'", + "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/pre-receive-hooks/42 \\\n  -d '{\"enforcement\":\"enforcement\"}'
    " }, { "lang": "JavaScript", @@ -45085,7 +45335,7 @@ { "verb": "delete", "requestPath": "/repos/{owner}/{repo}/pre-receive-hooks/{pre_receive_hook_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -45118,8 +45368,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n https://api.github.com/repos/octocat/hello-world/pre-receive-hooks/42", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n  https://api.github.com/repos/octocat/hello-world/pre-receive-hooks/42
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/pre-receive-hooks/42", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/pre-receive-hooks/42
    " }, { "lang": "JavaScript", @@ -45171,7 +45421,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/projects", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -45231,8 +45481,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n https://api.github.com/repos/octocat/hello-world/projects", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  https://api.github.com/repos/octocat/hello-world/projects
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/projects", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/projects
    " }, { "lang": "JavaScript", @@ -45307,7 +45557,7 @@ { "verb": "post", "requestPath": "/repos/{owner}/{repo}/projects", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -45331,8 +45581,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n https://api.github.com/repos/octocat/hello-world/projects \\\n -d '{\"name\":\"name\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  https://api.github.com/repos/octocat/hello-world/projects \\\n  -d '{\"name\":\"name\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/projects \\\n -d '{\"name\":\"name\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/projects \\\n  -d '{\"name\":\"name\"}'
    " }, { "lang": "JavaScript", @@ -45462,7 +45712,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/pulls", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -45573,8 +45823,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/pulls", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/pulls
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/pulls", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/pulls
    " }, { "lang": "JavaScript", @@ -45639,7 +45889,7 @@ { "verb": "post", "requestPath": "/repos/{owner}/{repo}/pulls", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -45663,8 +45913,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/pulls \\\n -d '{\"head\":\"head\",\"base\":\"base\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/pulls \\\n  -d '{\"head\":\"head\",\"base\":\"base\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/pulls \\\n -d '{\"head\":\"head\",\"base\":\"base\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/pulls \\\n  -d '{\"head\":\"head\",\"base\":\"base\"}'
    " }, { "lang": "JavaScript", @@ -45878,7 +46128,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/pulls/comments", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -45900,18 +46150,17 @@ }, { "name": "sort", - "description": "One of `created` (when the repository was starred) or `updated` (when it was last pushed to).", "in": "query", "required": false, "schema": { "type": "string", "enum": [ "created", - "updated" - ], - "default": "created" + "updated", + "created_at" + ] }, - "descriptionHTML": "

    One of created (when the repository was starred) or updated (when it was last pushed to).

    " + "descriptionHTML": "" }, { "name": "direction", @@ -45961,8 +46210,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/pulls/comments", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/pulls/comments
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/pulls/comments", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/pulls/comments
    " }, { "lang": "JavaScript", @@ -46020,7 +46269,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/pulls/comments/{comment_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -46054,8 +46303,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/pulls/comments/42", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/pulls/comments/42
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/pulls/comments/42", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/pulls/comments/42
    " }, { "lang": "JavaScript", @@ -46118,7 +46367,7 @@ { "verb": "patch", "requestPath": "/repos/{owner}/{repo}/pulls/comments/{comment_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -46152,8 +46401,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/pulls/comments/42 \\\n -d '{\"body\":\"body\"}'", - "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/pulls/comments/42 \\\n  -d '{\"body\":\"body\"}'
    " + "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/pulls/comments/42 \\\n -d '{\"body\":\"body\"}'", + "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/pulls/comments/42 \\\n  -d '{\"body\":\"body\"}'
    " }, { "lang": "JavaScript", @@ -46241,7 +46490,7 @@ { "verb": "delete", "requestPath": "/repos/{owner}/{repo}/pulls/comments/{comment_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -46275,8 +46524,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/pulls/comments/42", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/pulls/comments/42
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/pulls/comments/42", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/pulls/comments/42
    " }, { "lang": "JavaScript", @@ -46311,7 +46560,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "404", @@ -46325,7 +46574,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/pulls/comments/{comment_id}/reactions", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -46399,8 +46648,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n https://api.github.com/repos/octocat/hello-world/pulls/comments/42/reactions", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n  https://api.github.com/repos/octocat/hello-world/pulls/comments/42/reactions
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/pulls/comments/42/reactions", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/pulls/comments/42/reactions
    " }, { "lang": "JavaScript", @@ -46460,7 +46709,7 @@ { "verb": "post", "requestPath": "/repos/{owner}/{repo}/pulls/comments/{comment_id}/reactions", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -46494,8 +46743,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n https://api.github.com/repos/octocat/hello-world/pulls/comments/42/reactions \\\n -d '{\"content\":\"content\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n  https://api.github.com/repos/octocat/hello-world/pulls/comments/42/reactions \\\n  -d '{\"content\":\"content\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/pulls/comments/42/reactions \\\n -d '{\"content\":\"content\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/pulls/comments/42/reactions \\\n  -d '{\"content\":\"content\"}'
    " }, { "lang": "JavaScript", @@ -46617,7 +46866,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/pulls/{pull_number}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -46650,8 +46899,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/pulls/42", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/pulls/42
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/pulls/42", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/pulls/42
    " }, { "lang": "JavaScript", @@ -46709,7 +46958,7 @@ { "verb": "patch", "requestPath": "/repos/{owner}/{repo}/pulls/{pull_number}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -46742,8 +46991,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/pulls/42 \\\n -d '{\"title\":\"title\"}'", - "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/pulls/42 \\\n  -d '{\"title\":\"title\"}'
    " + "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/pulls/42 \\\n -d '{\"title\":\"title\"}'", + "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/pulls/42 \\\n  -d '{\"title\":\"title\"}'
    " }, { "lang": "JavaScript", @@ -46924,7 +47173,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/pulls/{pull_number}/comments", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -47016,8 +47265,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/pulls/42/comments", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/pulls/42/comments
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/pulls/42/comments", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/pulls/42/comments
    " }, { "lang": "JavaScript", @@ -47075,7 +47324,7 @@ { "verb": "post", "requestPath": "/repos/{owner}/{repo}/pulls/{pull_number}/comments", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -47108,8 +47357,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/pulls/42/comments \\\n -d '{\"body\":\"body\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/pulls/42/comments \\\n  -d '{\"body\":\"body\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/pulls/42/comments \\\n -d '{\"body\":\"body\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/pulls/42/comments \\\n  -d '{\"body\":\"body\"}'
    " }, { "lang": "JavaScript", @@ -47209,7 +47458,7 @@ { "verb": "post", "requestPath": "/repos/{owner}/{repo}/pulls/{pull_number}/comments/{comment_id}/replies", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -47252,8 +47501,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/pulls/42/comments/42/replies \\\n -d '{\"body\":\"body\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/pulls/42/comments/42/replies \\\n  -d '{\"body\":\"body\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/pulls/42/comments/42/replies \\\n -d '{\"body\":\"body\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/pulls/42/comments/42/replies \\\n  -d '{\"body\":\"body\"}'
    " }, { "lang": "JavaScript", @@ -47340,7 +47589,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/pulls/{pull_number}/commits", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -47393,8 +47642,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/pulls/42/commits", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/pulls/42/commits
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/pulls/42/commits", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/pulls/42/commits
    " }, { "lang": "JavaScript", @@ -47437,7 +47686,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/pulls/{pull_number}/files", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -47490,8 +47739,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/pulls/42/files", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/pulls/42/files
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/pulls/42/files", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/pulls/42/files
    " }, { "lang": "JavaScript", @@ -47544,7 +47793,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/pulls/{pull_number}/merge", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -47577,8 +47826,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/pulls/42/merge", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/pulls/42/merge
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/pulls/42/merge", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/pulls/42/merge
    " }, { "lang": "JavaScript", @@ -47625,7 +47874,7 @@ { "verb": "put", "requestPath": "/repos/{owner}/{repo}/pulls/{pull_number}/merge", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -47658,8 +47907,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/pulls/42/merge \\\n -d '{\"commit_title\":\"commit_title\"}'", - "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/pulls/42/merge \\\n  -d '{\"commit_title\":\"commit_title\"}'
    " + "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/pulls/42/merge \\\n -d '{\"commit_title\":\"commit_title\"}'", + "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/pulls/42/merge \\\n  -d '{\"commit_title\":\"commit_title\"}'
    " }, { "lang": "JavaScript", @@ -47824,7 +48073,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/pulls/{pull_number}/requested_reviewers", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -47877,8 +48126,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/pulls/42/requested_reviewers", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/pulls/42/requested_reviewers
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/pulls/42/requested_reviewers", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/pulls/42/requested_reviewers
    " }, { "lang": "JavaScript", @@ -47923,7 +48172,7 @@ { "verb": "post", "requestPath": "/repos/{owner}/{repo}/pulls/{pull_number}/requested_reviewers", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -47956,8 +48205,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/pulls/42/requested_reviewers \\\n -d '{\"reviewers\":[\"reviewers\"]}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/pulls/42/requested_reviewers \\\n  -d '{\"reviewers\":[\"reviewers\"]}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/pulls/42/requested_reviewers \\\n -d '{\"reviewers\":[\"reviewers\"]}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/pulls/42/requested_reviewers \\\n  -d '{\"reviewers\":[\"reviewers\"]}'
    " }, { "lang": "JavaScript", @@ -48094,7 +48343,7 @@ { "verb": "delete", "requestPath": "/repos/{owner}/{repo}/pulls/{pull_number}/requested_reviewers", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -48127,8 +48376,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/pulls/42/requested_reviewers \\\n -d '{\"reviewers\":[\"reviewers\"]}'", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/pulls/42/requested_reviewers \\\n  -d '{\"reviewers\":[\"reviewers\"]}'
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/pulls/42/requested_reviewers \\\n -d '{\"reviewers\":[\"reviewers\"]}'", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/pulls/42/requested_reviewers \\\n  -d '{\"reviewers\":[\"reviewers\"]}'
    " }, { "lang": "JavaScript", @@ -48250,7 +48499,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/pulls/{pull_number}/reviews", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -48303,8 +48552,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/pulls/42/reviews", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/pulls/42/reviews
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/pulls/42/reviews", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/pulls/42/reviews
    " }, { "lang": "JavaScript", @@ -48349,7 +48598,7 @@ { "verb": "post", "requestPath": "/repos/{owner}/{repo}/pulls/{pull_number}/reviews", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -48382,8 +48631,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/pulls/42/reviews \\\n -d '{\"commit_id\":\"commit_id\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/pulls/42/reviews \\\n  -d '{\"commit_id\":\"commit_id\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/pulls/42/reviews \\\n -d '{\"commit_id\":\"commit_id\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/pulls/42/reviews \\\n  -d '{\"commit_id\":\"commit_id\"}'
    " }, { "lang": "JavaScript", @@ -48831,7 +49080,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -48874,8 +49123,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/pulls/42/reviews/42", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/pulls/42/reviews/42
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/pulls/42/reviews/42", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/pulls/42/reviews/42
    " }, { "lang": "JavaScript", @@ -48925,7 +49174,7 @@ { "verb": "put", "requestPath": "/repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -48968,8 +49217,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/pulls/42/reviews/42 \\\n -d '{\"body\":\"body\"}'", - "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/pulls/42/reviews/42 \\\n  -d '{\"body\":\"body\"}'
    " + "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/pulls/42/reviews/42 \\\n -d '{\"body\":\"body\"}'", + "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/pulls/42/reviews/42 \\\n  -d '{\"body\":\"body\"}'
    " }, { "lang": "JavaScript", @@ -49055,7 +49304,7 @@ { "verb": "delete", "requestPath": "/repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -49098,8 +49347,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/pulls/42/reviews/42", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/pulls/42/reviews/42
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/pulls/42/reviews/42", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/pulls/42/reviews/42
    " }, { "lang": "JavaScript", @@ -49154,7 +49403,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}/comments", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -49217,8 +49466,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/pulls/42/reviews/42/comments", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/pulls/42/reviews/42/comments
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/pulls/42/reviews/42/comments", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/pulls/42/reviews/42/comments
    " }, { "lang": "JavaScript", @@ -49268,7 +49517,7 @@ { "verb": "put", "requestPath": "/repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}/dismissals", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -49311,8 +49560,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/pulls/42/reviews/42/dismissals \\\n -d '{\"message\":\"message\"}'", - "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/pulls/42/reviews/42/dismissals \\\n  -d '{\"message\":\"message\"}'
    " + "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/pulls/42/reviews/42/dismissals \\\n -d '{\"message\":\"message\"}'", + "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/pulls/42/reviews/42/dismissals \\\n  -d '{\"message\":\"message\"}'
    " }, { "lang": "JavaScript", @@ -49418,7 +49667,7 @@ { "verb": "post", "requestPath": "/repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}/events", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -49461,8 +49710,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/pulls/42/reviews/42/events \\\n -d '{\"event\":\"event\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/pulls/42/reviews/42/events \\\n  -d '{\"event\":\"event\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/pulls/42/reviews/42/events \\\n -d '{\"event\":\"event\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/pulls/42/reviews/42/events \\\n  -d '{\"event\":\"event\"}'
    " }, { "lang": "JavaScript", @@ -49583,7 +49832,7 @@ { "verb": "put", "requestPath": "/repos/{owner}/{repo}/pulls/{pull_number}/update-branch", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -49616,8 +49865,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.lydian-preview+json\" \\\n https://api.github.com/repos/octocat/hello-world/pulls/42/update-branch \\\n -d '{\"expected_head_sha\":\"expected_head_sha\"}'", - "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.lydian-preview+json\" \\\n  https://api.github.com/repos/octocat/hello-world/pulls/42/update-branch \\\n  -d '{\"expected_head_sha\":\"expected_head_sha\"}'
    " + "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.lydian-preview+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/pulls/42/update-branch \\\n -d '{\"expected_head_sha\":\"expected_head_sha\"}'", + "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.lydian-preview+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/pulls/42/update-branch \\\n  -d '{\"expected_head_sha\":\"expected_head_sha\"}'
    " }, { "lang": "JavaScript", @@ -49716,7 +49965,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/readme", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -49750,8 +49999,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/readme", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/readme
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/readme", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/readme
    " }, { "lang": "JavaScript", @@ -49803,10 +50052,111 @@ } ] }, + { + "verb": "get", + "requestPath": "/repos/{owner}/{repo}/readme/{dir}", + "serverUrl": "http(s)://{hostname}/api/v3", + "parameters": [ + { + "name": "owner", + "in": "path", + "required": true, + "schema": { + "type": "string" + }, + "descriptionHTML": "" + }, + { + "name": "repo", + "in": "path", + "required": true, + "schema": { + "type": "string" + }, + "descriptionHTML": "" + }, + { + "name": "dir", + "description": "The alternate path to look for a README file", + "in": "path", + "required": true, + "schema": { + "type": "string" + }, + "x-multi-segment": true, + "descriptionHTML": "

    The alternate path to look for a README file

    " + }, + { + "name": "ref", + "description": "The name of the commit/branch/tag. Default: the repository’s default branch (usually `master`)", + "in": "query", + "required": false, + "schema": { + "type": "string" + }, + "descriptionHTML": "

    The name of the commit/branch/tag. Default: the repository’s default branch (usually master)

    " + } + ], + "x-codeSamples": [ + { + "lang": "Shell", + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/readme/DIR", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/readme/DIR
    " + }, + { + "lang": "JavaScript", + "source": "await octokit.request('GET /repos/{owner}/{repo}/readme/{dir}', {\n owner: 'octocat',\n repo: 'hello-world',\n dir: 'dir'\n})", + "html": "
    await octokit.request('GET /repos/{owner}/{repo}/readme/{dir}', {\n  owner: 'octocat',\n  repo: 'hello-world',\n  dir: 'dir'\n})\n
    " + } + ], + "summary": "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.", + "tags": [ + "repos" + ], + "operationId": "repos/get-readme-in-directory", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-server@2.18/rest/reference/repos#get-a-repository-directory-readme" + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "previews": [], + "category": "repos", + "subcategory": "contents" + }, + "slug": "get-a-repository-readme-for-a-directory", + "category": "repos", + "categoryLabel": "Repos", + "subcategory": "contents", + "subcategoryLabel": "Contents", + "notes": [], + "bodyParameters": [], + "descriptionHTML": "

    Gets the README from a repository directory.

    \n

    READMEs support custom media types for retrieving the raw content or rendered HTML.

    ", + "responses": [ + { + "httpStatusCode": "200", + "httpStatusMessage": "OK", + "description": "Default response", + "payload": "
    {\n  \"type\": \"file\",\n  \"encoding\": \"base64\",\n  \"size\": 5362,\n  \"name\": \"README.md\",\n  \"path\": \"README.md\",\n  \"content\": \"encoded content ...\",\n  \"sha\": \"3d21ec53a331a6f037a91c368710b99387d012c1\",\n  \"url\": \"https://api.github.com/repos/octokit/octokit.rb/contents/README.md\",\n  \"git_url\": \"https://api.github.com/repos/octokit/octokit.rb/git/blobs/3d21ec53a331a6f037a91c368710b99387d012c1\",\n  \"html_url\": \"https://github.com/octokit/octokit.rb/blob/master/README.md\",\n  \"download_url\": \"https://raw.githubusercontent.com/octokit/octokit.rb/master/README.md\",\n  \"_links\": {\n    \"git\": \"https://api.github.com/repos/octokit/octokit.rb/git/blobs/3d21ec53a331a6f037a91c368710b99387d012c1\",\n    \"self\": \"https://api.github.com/repos/octokit/octokit.rb/contents/README.md\",\n    \"html\": \"https://github.com/octokit/octokit.rb/blob/master/README.md\"\n  }\n}\n
    " + }, + { + "httpStatusCode": "404", + "httpStatusMessage": "Not Found", + "description": "Resource not found" + }, + { + "httpStatusCode": "422", + "httpStatusMessage": "Unprocessable Entity", + "description": "Validation failed" + } + ] + }, { "verb": "get", "requestPath": "/repos/{owner}/{repo}/releases", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -49850,8 +50200,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/releases", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/releases
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/releases", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/releases
    " }, { "lang": "JavaScript", @@ -49901,7 +50251,7 @@ { "verb": "post", "requestPath": "/repos/{owner}/{repo}/releases", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -49925,8 +50275,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/releases \\\n -d '{\"tag_name\":\"tag_name\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/releases \\\n  -d '{\"tag_name\":\"tag_name\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/releases \\\n -d '{\"tag_name\":\"tag_name\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/releases \\\n  -d '{\"tag_name\":\"tag_name\"}'
    " }, { "lang": "JavaScript", @@ -50112,7 +50462,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/releases/assets/{asset_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -50146,8 +50496,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/releases/assets/42", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/releases/assets/42
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/releases/assets/42", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/releases/assets/42
    " }, { "lang": "JavaScript", @@ -50207,7 +50557,7 @@ { "verb": "patch", "requestPath": "/repos/{owner}/{repo}/releases/assets/{asset_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -50241,8 +50591,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/releases/assets/42 \\\n -d '{\"name\":\"name\"}'", - "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/releases/assets/42 \\\n  -d '{\"name\":\"name\"}'
    " + "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/releases/assets/42 \\\n -d '{\"name\":\"name\"}'", + "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/releases/assets/42 \\\n  -d '{\"name\":\"name\"}'
    " }, { "lang": "JavaScript", @@ -50357,7 +50707,7 @@ { "verb": "delete", "requestPath": "/repos/{owner}/{repo}/releases/assets/{asset_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -50391,8 +50741,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/releases/assets/42", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/releases/assets/42
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/releases/assets/42", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/releases/assets/42
    " }, { "lang": "JavaScript", @@ -50427,7 +50777,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "bodyParameters": [], @@ -50436,7 +50786,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/releases/latest", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -50460,8 +50810,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/releases/latest", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/releases/latest
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/releases/latest", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/releases/latest
    " }, { "lang": "JavaScript", @@ -50506,7 +50856,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/releases/tags/{tag}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -50528,21 +50878,21 @@ }, { "name": "tag", - "description": "tag+ parameter", + "description": "tag parameter", "in": "path", "required": true, "schema": { "type": "string" }, "x-multi-segment": true, - "descriptionHTML": "

    tag+ parameter

    " + "descriptionHTML": "

    tag parameter

    " } ], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/releases/tags/TAG", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/releases/tags/TAG
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/releases/tags/TAG", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/releases/tags/TAG
    " }, { "lang": "JavaScript", @@ -50592,7 +50942,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/releases/{release_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -50626,8 +50976,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/releases/42", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/releases/42
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/releases/42", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/releases/42
    " }, { "lang": "JavaScript", @@ -50677,7 +51027,7 @@ { "verb": "patch", "requestPath": "/repos/{owner}/{repo}/releases/{release_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -50711,8 +51061,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/releases/42 \\\n -d '{\"tag_name\":\"tag_name\"}'", - "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/releases/42 \\\n  -d '{\"tag_name\":\"tag_name\"}'
    " + "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/releases/42 \\\n -d '{\"tag_name\":\"tag_name\"}'", + "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/releases/42 \\\n  -d '{\"tag_name\":\"tag_name\"}'
    " }, { "lang": "JavaScript", @@ -50885,7 +51235,7 @@ { "verb": "delete", "requestPath": "/repos/{owner}/{repo}/releases/{release_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -50919,8 +51269,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/releases/42", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/releases/42
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/releases/42", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/releases/42
    " }, { "lang": "JavaScript", @@ -50955,7 +51305,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "bodyParameters": [], @@ -50964,7 +51314,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/releases/{release_id}/assets", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -51018,8 +51368,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/releases/42/assets", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/releases/42/assets
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/releases/42/assets", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/releases/42/assets
    " }, { "lang": "JavaScript", @@ -51064,7 +51414,7 @@ { "verb": "post", "requestPath": "/repos/{owner}/{repo}/releases/{release_id}/assets", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -51114,8 +51464,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/releases/42/assets", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/releases/42/assets
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/releases/42/assets", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/releases/42/assets
    " }, { "lang": "JavaScript", @@ -51181,7 +51531,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/stargazers", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -51225,8 +51575,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/stargazers", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/stargazers
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/stargazers", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/stargazers
    " }, { "lang": "JavaScript", @@ -51276,7 +51626,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/stats/code_frequency", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -51300,8 +51650,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/stats/code_frequency", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/stats/code_frequency
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/stats/code_frequency", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/stats/code_frequency
    " }, { "lang": "JavaScript", @@ -51346,7 +51696,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/stats/commit_activity", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -51370,8 +51720,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/stats/commit_activity", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/stats/commit_activity
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/stats/commit_activity", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/stats/commit_activity
    " }, { "lang": "JavaScript", @@ -51416,7 +51766,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/stats/contributors", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -51440,8 +51790,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/stats/contributors", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/stats/contributors
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/stats/contributors", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/stats/contributors
    " }, { "lang": "JavaScript", @@ -51486,7 +51836,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/stats/participation", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -51510,8 +51860,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/stats/participation", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/stats/participation
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/stats/participation", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/stats/participation
    " }, { "lang": "JavaScript", @@ -51561,7 +51911,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/stats/punch_card", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -51585,8 +51935,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/stats/punch_card", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/stats/punch_card
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/stats/punch_card", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/stats/punch_card
    " }, { "lang": "JavaScript", @@ -51631,7 +51981,7 @@ { "verb": "post", "requestPath": "/repos/{owner}/{repo}/statuses/{sha}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -51665,8 +52015,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/statuses/SHA \\\n -d '{\"state\":\"state\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/statuses/SHA \\\n  -d '{\"state\":\"state\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/statuses/SHA \\\n -d '{\"state\":\"state\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/statuses/SHA \\\n  -d '{\"state\":\"state\"}'
    " }, { "lang": "JavaScript", @@ -51818,7 +52168,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/subscribers", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -51862,8 +52212,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/subscribers", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/subscribers
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/subscribers", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/subscribers
    " }, { "lang": "JavaScript", @@ -51908,7 +52258,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/subscription", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -51932,8 +52282,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/subscription", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/subscription
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/subscription", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/subscription
    " }, { "lang": "JavaScript", @@ -51988,7 +52338,7 @@ { "verb": "put", "requestPath": "/repos/{owner}/{repo}/subscription", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -52012,8 +52362,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/subscription \\\n -d '{\"subscribed\":true}'", - "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/subscription \\\n  -d '{\"subscribed\":true}'
    " + "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/subscription \\\n -d '{\"subscribed\":true}'", + "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/subscription \\\n  -d '{\"subscribed\":true}'
    " }, { "lang": "JavaScript", @@ -52106,7 +52456,7 @@ { "verb": "delete", "requestPath": "/repos/{owner}/{repo}/subscription", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -52130,8 +52480,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/subscription", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/subscription
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/subscription", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/subscription
    " }, { "lang": "JavaScript", @@ -52166,7 +52516,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "bodyParameters": [], @@ -52175,7 +52525,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/tags", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -52219,8 +52569,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/tags", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/tags
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/tags", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/tags
    " }, { "lang": "JavaScript", @@ -52263,7 +52613,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/tarball/{ref}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -52296,8 +52646,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/tarball/REF", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/tarball/REF
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/tarball/REF", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/tarball/REF
    " }, { "lang": "JavaScript", @@ -52341,7 +52691,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/teams", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -52385,8 +52735,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/teams", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/teams
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/teams", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/teams
    " }, { "lang": "JavaScript", @@ -52429,7 +52779,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/topics", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -52448,13 +52798,33 @@ "type": "string" }, "descriptionHTML": "" + }, + { + "name": "page", + "description": "Page number of the results to fetch.", + "in": "query", + "schema": { + "type": "integer", + "default": 1 + }, + "descriptionHTML": "

    Page number of the results to fetch.

    " + }, + { + "name": "per_page", + "description": "Results per page (max 100).", + "in": "query", + "schema": { + "type": "integer", + "default": 30 + }, + "descriptionHTML": "

    Results per page (max 100).

    " } ], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.mercy-preview+json\" \\\n https://api.github.com/repos/octocat/hello-world/topics", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.mercy-preview+json\" \\\n  https://api.github.com/repos/octocat/hello-world/topics
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.mercy-preview+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/topics", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.mercy-preview+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/topics
    " }, { "lang": "JavaScript", @@ -52514,7 +52884,7 @@ { "verb": "put", "requestPath": "/repos/{owner}/{repo}/topics", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -52538,8 +52908,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.mercy-preview+json\" \\\n https://api.github.com/repos/octocat/hello-world/topics \\\n -d '{\"names\":[\"names\"]}'", - "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.mercy-preview+json\" \\\n  https://api.github.com/repos/octocat/hello-world/topics \\\n  -d '{\"names\":[\"names\"]}'
    " + "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.mercy-preview+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/topics \\\n -d '{\"names\":[\"names\"]}'", + "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.mercy-preview+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/topics \\\n  -d '{\"names\":[\"names\"]}'
    " }, { "lang": "JavaScript", @@ -52651,7 +53021,7 @@ { "verb": "post", "requestPath": "/repos/{owner}/{repo}/transfer", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -52675,8 +53045,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/transfer \\\n -d '{\"new_owner\":\"new_owner\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/transfer \\\n  -d '{\"new_owner\":\"new_owner\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/transfer \\\n -d '{\"new_owner\":\"new_owner\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/transfer \\\n  -d '{\"new_owner\":\"new_owner\"}'
    " }, { "lang": "JavaScript", @@ -52783,7 +53153,7 @@ { "verb": "put", "requestPath": "/repos/{owner}/{repo}/vulnerability-alerts", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -52807,8 +53177,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.dorian-preview+json\" \\\n https://api.github.com/repos/octocat/hello-world/vulnerability-alerts", - "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.dorian-preview+json\" \\\n  https://api.github.com/repos/octocat/hello-world/vulnerability-alerts
    " + "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.dorian-preview+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/vulnerability-alerts", + "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.dorian-preview+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/vulnerability-alerts
    " }, { "lang": "JavaScript", @@ -52848,7 +53218,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "bodyParameters": [], @@ -52857,7 +53227,7 @@ { "verb": "delete", "requestPath": "/repos/{owner}/{repo}/vulnerability-alerts", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -52881,8 +53251,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.dorian-preview+json\" \\\n https://api.github.com/repos/octocat/hello-world/vulnerability-alerts", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.dorian-preview+json\" \\\n  https://api.github.com/repos/octocat/hello-world/vulnerability-alerts
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.dorian-preview+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/vulnerability-alerts", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.dorian-preview+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/vulnerability-alerts
    " }, { "lang": "JavaScript", @@ -52922,7 +53292,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "bodyParameters": [], @@ -52931,7 +53301,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/zipball/{ref}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -52964,8 +53334,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/zipball/REF", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/zipball/REF
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/zipball/REF", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/zipball/REF
    " }, { "lang": "JavaScript", @@ -53009,7 +53379,7 @@ { "verb": "post", "requestPath": "/repos/{template_owner}/{template_repo}/generate", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "template_owner", @@ -53033,8 +53403,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.baptiste-preview+json\" \\\n https://api.github.com/repos/TEMPLATE_OWNER/TEMPLATE_REPO/generate \\\n -d '{\"name\":\"name\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.baptiste-preview+json\" \\\n  https://api.github.com/repos/TEMPLATE_OWNER/TEMPLATE_REPO/generate \\\n  -d '{\"name\":\"name\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.baptiste-preview+json\" \\\n http(s)://{hostname}/api/v3/repos/TEMPLATE_OWNER/TEMPLATE_REPO/generate \\\n -d '{\"name\":\"name\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.baptiste-preview+json\" \\\n  http(s)://{hostname}/api/v3/repos/TEMPLATE_OWNER/TEMPLATE_REPO/generate \\\n  -d '{\"name\":\"name\"}'
    " }, { "lang": "JavaScript", @@ -53043,7 +53413,7 @@ } ], "summary": "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", + "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", "tags": [ "repos" ], @@ -53138,7 +53508,7 @@ "category": "repos", "categoryLabel": "Repos", "notes": [], - "descriptionHTML": "

    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 endpoint and check that the is_template key is true.

    \n

    OAuth scope requirements

    \n

    When using OAuth, 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
    ", + "descriptionHTML": "

    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 endpoint and check that the is_template key is true.

    \n

    OAuth scope requirements

    \n

    When using OAuth, 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
    ", "bodyParameters": [ { "type": "string", @@ -53200,7 +53570,7 @@ { "verb": "get", "requestPath": "/repositories", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "since", @@ -53214,7 +53584,7 @@ }, { "name": "visibility", - "description": "Specifies the types of repositories to return. Can be one of `all` or `public`. Default: `public`.", + "description": "Specifies the types of repositories to return. Can be one of `all` or `public`. Default: `public`. Note: For GitHub Enterprise Server and GitHub AE, this endpoint will only list repositories available to all users on the enterprise.", "in": "query", "required": false, "schema": { @@ -53226,14 +53596,14 @@ "public" ] }, - "descriptionHTML": "

    Specifies the types of repositories to return. Can be one of all or public. Default: public.

    " + "descriptionHTML": "

    Specifies the types of repositories to return. Can be one of all or public. Default: public. Note: For GitHub Enterprise Server and GitHub AE, this endpoint will only list repositories available to all users on the enterprise.

    " } ], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repositories", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repositories
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repositories", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repositories
    " }, { "lang": "JavaScript", @@ -53242,7 +53612,7 @@ } ], "summary": "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.", + "description": "Lists all public repositories in the order that they were created.\n\nNotes:\n- For GitHub Enterprise Server and GitHub AE, 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.", "tags": [ "repos" ], @@ -53263,7 +53633,7 @@ "categoryLabel": "Repos", "notes": [], "bodyParameters": [], - "descriptionHTML": "

    Lists all public repositories in the order that they were created.

    \n

    Note: Pagination is powered exclusively by the since parameter. Use the Link header to get the URL for the next page of repositories.

    ", + "descriptionHTML": "

    Lists all public repositories in the order that they were created.

    \n

    Notes:

    \n
      \n
    • For GitHub Enterprise Server and GitHub AE, 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 to get the URL for the next page of repositories.
    • \n
    ", "responses": [ { "httpStatusCode": "200", @@ -53286,7 +53656,7 @@ { "verb": "get", "requestPath": "/search/code", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "q", @@ -53350,8 +53720,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/search/code", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/search/code
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/search/code", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/search/code
    " }, { "lang": "JavaScript", @@ -53414,7 +53784,7 @@ { "verb": "get", "requestPath": "/search/commits", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "q", @@ -53479,8 +53849,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.cloak-preview+json\" \\\n https://api.github.com/search/commits", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.cloak-preview+json\" \\\n  https://api.github.com/search/commits
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.cloak-preview+json\" \\\n http(s)://{hostname}/api/v3/search/commits", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.cloak-preview+json\" \\\n  http(s)://{hostname}/api/v3/search/commits
    " }, { "lang": "JavaScript", @@ -53540,7 +53910,7 @@ { "verb": "get", "requestPath": "/search/issues", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "q", @@ -53614,8 +53984,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/search/issues", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/search/issues
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/search/issues", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/search/issues
    " }, { "lang": "JavaScript", @@ -53678,7 +54048,7 @@ { "verb": "get", "requestPath": "/search/labels", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "repository_id", @@ -53733,8 +54103,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/search/labels", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/search/labels
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/search/labels", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/search/labels
    " }, { "lang": "JavaScript", @@ -53797,7 +54167,7 @@ { "verb": "get", "requestPath": "/search/repositories", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "q", @@ -53864,8 +54234,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/search/repositories", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/search/repositories
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/search/repositories", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/search/repositories
    " }, { "lang": "JavaScript", @@ -53930,7 +54300,7 @@ { "verb": "get", "requestPath": "/search/topics", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "q", @@ -53946,8 +54316,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.mercy-preview+json\" \\\n https://api.github.com/search/topics", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.mercy-preview+json\" \\\n  https://api.github.com/search/topics
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.mercy-preview+json\" \\\n http(s)://{hostname}/api/v3/search/topics", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.mercy-preview+json\" \\\n  http(s)://{hostname}/api/v3/search/topics
    " }, { "lang": "JavaScript", @@ -54007,7 +54377,7 @@ { "verb": "get", "requestPath": "/search/users", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "q", @@ -54073,8 +54443,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/search/users", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/search/users
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/search/users", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/search/users
    " }, { "lang": "JavaScript", @@ -54132,13 +54502,13 @@ { "verb": "get", "requestPath": "/setup/api/configcheck", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/setup/api/configcheck", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/setup/api/configcheck
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/setup/api/configcheck", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/setup/api/configcheck
    " }, { "lang": "JavaScript", @@ -54183,13 +54553,13 @@ { "verb": "post", "requestPath": "/setup/api/configure", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/setup/api/configure", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/setup/api/configure
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/setup/api/configure", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/setup/api/configure
    " }, { "lang": "JavaScript", @@ -54233,13 +54603,13 @@ { "verb": "get", "requestPath": "/setup/api/maintenance", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/setup/api/maintenance", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/setup/api/maintenance
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/setup/api/maintenance", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/setup/api/maintenance
    " }, { "lang": "JavaScript", @@ -54284,13 +54654,13 @@ { "verb": "post", "requestPath": "/setup/api/maintenance", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/setup/api/maintenance \\\n -d '{\"maintenance\":\"maintenance\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/setup/api/maintenance \\\n  -d '{\"maintenance\":\"maintenance\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/setup/api/maintenance \\\n -d '{\"maintenance\":\"maintenance\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/setup/api/maintenance \\\n  -d '{\"maintenance\":\"maintenance\"}'
    " }, { "lang": "JavaScript", @@ -54368,13 +54738,13 @@ { "verb": "get", "requestPath": "/setup/api/settings", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/setup/api/settings", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/setup/api/settings
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/setup/api/settings", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/setup/api/settings
    " }, { "lang": "JavaScript", @@ -54419,13 +54789,13 @@ { "verb": "put", "requestPath": "/setup/api/settings", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/setup/api/settings \\\n -d '{\"settings\":\"settings\"}'", - "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/setup/api/settings \\\n  -d '{\"settings\":\"settings\"}'
    " + "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/setup/api/settings \\\n -d '{\"settings\":\"settings\"}'", + "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/setup/api/settings \\\n  -d '{\"settings\":\"settings\"}'
    " }, { "lang": "JavaScript", @@ -54483,7 +54853,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "descriptionHTML": "

    For a list of the available settings, see the Get settings endpoint.

    ", @@ -54502,13 +54872,13 @@ { "verb": "get", "requestPath": "/setup/api/settings/authorized-keys", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/setup/api/settings/authorized-keys", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/setup/api/settings/authorized-keys
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/setup/api/settings/authorized-keys", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/setup/api/settings/authorized-keys
    " }, { "lang": "JavaScript", @@ -54553,13 +54923,13 @@ { "verb": "post", "requestPath": "/setup/api/settings/authorized-keys", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/setup/api/settings/authorized-keys \\\n -d '{\"authorized_key\":\"authorized_key\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/setup/api/settings/authorized-keys \\\n  -d '{\"authorized_key\":\"authorized_key\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/setup/api/settings/authorized-keys \\\n -d '{\"authorized_key\":\"authorized_key\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/setup/api/settings/authorized-keys \\\n  -d '{\"authorized_key\":\"authorized_key\"}'
    " }, { "lang": "JavaScript", @@ -54637,13 +55007,13 @@ { "verb": "delete", "requestPath": "/setup/api/settings/authorized-keys", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/setup/api/settings/authorized-keys \\\n -d '{\"authorized_key\":\"authorized_key\"}'", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/setup/api/settings/authorized-keys \\\n  -d '{\"authorized_key\":\"authorized_key\"}'
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/setup/api/settings/authorized-keys \\\n -d '{\"authorized_key\":\"authorized_key\"}'", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/setup/api/settings/authorized-keys \\\n  -d '{\"authorized_key\":\"authorized_key\"}'
    " }, { "lang": "JavaScript", @@ -54721,13 +55091,13 @@ { "verb": "post", "requestPath": "/setup/api/start", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/setup/api/start \\\n -d '{\"license\":\"license\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/setup/api/start \\\n  -d '{\"license\":\"license\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/setup/api/start \\\n -d '{\"license\":\"license\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/setup/api/start \\\n  -d '{\"license\":\"license\"}'
    " }, { "lang": "JavaScript", @@ -54840,13 +55210,13 @@ { "verb": "post", "requestPath": "/setup/api/upgrade", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/setup/api/upgrade \\\n -d '{\"license\":\"license\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/setup/api/upgrade \\\n  -d '{\"license\":\"license\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/setup/api/upgrade \\\n -d '{\"license\":\"license\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/setup/api/upgrade \\\n  -d '{\"license\":\"license\"}'
    " }, { "lang": "JavaScript", @@ -54920,7 +55290,7 @@ { "verb": "get", "requestPath": "/teams/{team_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "team_id", @@ -54935,8 +55305,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/teams/42", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/teams/42
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/teams/42", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/teams/42
    " }, { "lang": "JavaScript", @@ -54986,7 +55356,7 @@ { "verb": "patch", "requestPath": "/teams/{team_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "team_id", @@ -55001,8 +55371,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/teams/42 \\\n -d '{\"name\":\"name\"}'", - "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/teams/42 \\\n  -d '{\"name\":\"name\"}'
    " + "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/teams/42 \\\n -d '{\"name\":\"name\"}'", + "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/teams/42 \\\n  -d '{\"name\":\"name\"}'
    " }, { "lang": "JavaScript", @@ -55181,7 +55551,7 @@ { "verb": "delete", "requestPath": "/teams/{team_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "team_id", @@ -55196,8 +55566,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/teams/42", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/teams/42
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/teams/42", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/teams/42
    " }, { "lang": "JavaScript", @@ -55237,7 +55607,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "bodyParameters": [], @@ -55246,7 +55616,7 @@ { "verb": "get", "requestPath": "/teams/{team_id}/discussions", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "accept", @@ -55307,8 +55677,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.echo-preview+json\" \\\n https://api.github.com/teams/42/discussions", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.echo-preview+json\" \\\n  https://api.github.com/teams/42/discussions
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.echo-preview+json\" \\\n http(s)://{hostname}/api/v3/teams/42/discussions", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.echo-preview+json\" \\\n  http(s)://{hostname}/api/v3/teams/42/discussions
    " }, { "lang": "JavaScript", @@ -55366,7 +55736,7 @@ { "verb": "post", "requestPath": "/teams/{team_id}/discussions", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "accept", @@ -55392,8 +55762,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.echo-preview+json\" \\\n https://api.github.com/teams/42/discussions \\\n -d '{\"title\":\"title\",\"body\":\"body\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.echo-preview+json\" \\\n  https://api.github.com/teams/42/discussions \\\n  -d '{\"title\":\"title\",\"body\":\"body\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.echo-preview+json\" \\\n http(s)://{hostname}/api/v3/teams/42/discussions \\\n -d '{\"title\":\"title\",\"body\":\"body\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.echo-preview+json\" \\\n  http(s)://{hostname}/api/v3/teams/42/discussions \\\n  -d '{\"title\":\"title\",\"body\":\"body\"}'
    " }, { "lang": "JavaScript", @@ -55528,7 +55898,7 @@ { "verb": "get", "requestPath": "/teams/{team_id}/discussions/{discussion_number}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "accept", @@ -55563,8 +55933,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.echo-preview+json\" \\\n https://api.github.com/teams/42/discussions/42", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.echo-preview+json\" \\\n  https://api.github.com/teams/42/discussions/42
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.echo-preview+json\" \\\n http(s)://{hostname}/api/v3/teams/42/discussions/42", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.echo-preview+json\" \\\n  http(s)://{hostname}/api/v3/teams/42/discussions/42
    " }, { "lang": "JavaScript", @@ -55622,7 +55992,7 @@ { "verb": "patch", "requestPath": "/teams/{team_id}/discussions/{discussion_number}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "accept", @@ -55657,8 +56027,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.echo-preview+json\" \\\n https://api.github.com/teams/42/discussions/42 \\\n -d '{\"title\":\"title\"}'", - "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.echo-preview+json\" \\\n  https://api.github.com/teams/42/discussions/42 \\\n  -d '{\"title\":\"title\"}'
    " + "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.echo-preview+json\" \\\n http(s)://{hostname}/api/v3/teams/42/discussions/42 \\\n -d '{\"title\":\"title\"}'", + "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.echo-preview+json\" \\\n  http(s)://{hostname}/api/v3/teams/42/discussions/42 \\\n  -d '{\"title\":\"title\"}'
    " }, { "lang": "JavaScript", @@ -55767,7 +56137,7 @@ { "verb": "delete", "requestPath": "/teams/{team_id}/discussions/{discussion_number}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "accept", @@ -55802,8 +56172,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.echo-preview+json\" \\\n https://api.github.com/teams/42/discussions/42", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.echo-preview+json\" \\\n  https://api.github.com/teams/42/discussions/42
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.echo-preview+json\" \\\n http(s)://{hostname}/api/v3/teams/42/discussions/42", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.echo-preview+json\" \\\n  http(s)://{hostname}/api/v3/teams/42/discussions/42
    " }, { "lang": "JavaScript", @@ -55845,7 +56215,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "bodyParameters": [], @@ -55854,7 +56224,7 @@ { "verb": "get", "requestPath": "/teams/{team_id}/discussions/{discussion_number}/comments", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "accept", @@ -55924,8 +56294,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.echo-preview+json\" \\\n https://api.github.com/teams/42/discussions/42/comments", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.echo-preview+json\" \\\n  https://api.github.com/teams/42/discussions/42/comments
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.echo-preview+json\" \\\n http(s)://{hostname}/api/v3/teams/42/discussions/42/comments", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.echo-preview+json\" \\\n  http(s)://{hostname}/api/v3/teams/42/discussions/42/comments
    " }, { "lang": "JavaScript", @@ -55983,7 +56353,7 @@ { "verb": "post", "requestPath": "/teams/{team_id}/discussions/{discussion_number}/comments", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "accept", @@ -56018,8 +56388,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.echo-preview+json\" \\\n https://api.github.com/teams/42/discussions/42/comments \\\n -d '{\"body\":\"body\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.echo-preview+json\" \\\n  https://api.github.com/teams/42/discussions/42/comments \\\n  -d '{\"body\":\"body\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.echo-preview+json\" \\\n http(s)://{hostname}/api/v3/teams/42/discussions/42/comments \\\n -d '{\"body\":\"body\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.echo-preview+json\" \\\n  http(s)://{hostname}/api/v3/teams/42/discussions/42/comments \\\n  -d '{\"body\":\"body\"}'
    " }, { "lang": "JavaScript", @@ -56114,7 +56484,7 @@ { "verb": "get", "requestPath": "/teams/{team_id}/discussions/{discussion_number}/comments/{comment_number}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "accept", @@ -56158,8 +56528,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.echo-preview+json\" \\\n https://api.github.com/teams/42/discussions/42/comments/42", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.echo-preview+json\" \\\n  https://api.github.com/teams/42/discussions/42/comments/42
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.echo-preview+json\" \\\n http(s)://{hostname}/api/v3/teams/42/discussions/42/comments/42", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.echo-preview+json\" \\\n  http(s)://{hostname}/api/v3/teams/42/discussions/42/comments/42
    " }, { "lang": "JavaScript", @@ -56217,7 +56587,7 @@ { "verb": "patch", "requestPath": "/teams/{team_id}/discussions/{discussion_number}/comments/{comment_number}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "accept", @@ -56261,8 +56631,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.echo-preview+json\" \\\n https://api.github.com/teams/42/discussions/42/comments/42 \\\n -d '{\"body\":\"body\"}'", - "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.echo-preview+json\" \\\n  https://api.github.com/teams/42/discussions/42/comments/42 \\\n  -d '{\"body\":\"body\"}'
    " + "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.echo-preview+json\" \\\n http(s)://{hostname}/api/v3/teams/42/discussions/42/comments/42 \\\n -d '{\"body\":\"body\"}'", + "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.echo-preview+json\" \\\n  http(s)://{hostname}/api/v3/teams/42/discussions/42/comments/42 \\\n  -d '{\"body\":\"body\"}'
    " }, { "lang": "JavaScript", @@ -56356,7 +56726,7 @@ { "verb": "delete", "requestPath": "/teams/{team_id}/discussions/{discussion_number}/comments/{comment_number}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "accept", @@ -56400,8 +56770,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.echo-preview+json\" \\\n https://api.github.com/teams/42/discussions/42/comments/42", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.echo-preview+json\" \\\n  https://api.github.com/teams/42/discussions/42/comments/42
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.echo-preview+json\" \\\n http(s)://{hostname}/api/v3/teams/42/discussions/42/comments/42", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.echo-preview+json\" \\\n  http(s)://{hostname}/api/v3/teams/42/discussions/42/comments/42
    " }, { "lang": "JavaScript", @@ -56443,7 +56813,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "bodyParameters": [], @@ -56452,7 +56822,7 @@ { "verb": "get", "requestPath": "/teams/{team_id}/discussions/{discussion_number}/comments/{comment_number}/reactions", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "accept", @@ -56536,8 +56906,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.echo-preview+json\" \\\n https://api.github.com/teams/42/discussions/42/comments/42/reactions", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.echo-preview+json\" \\\n  https://api.github.com/teams/42/discussions/42/comments/42/reactions
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.echo-preview+json\" \\\n http(s)://{hostname}/api/v3/teams/42/discussions/42/comments/42/reactions", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.echo-preview+json\" \\\n  http(s)://{hostname}/api/v3/teams/42/discussions/42/comments/42/reactions
    " }, { "lang": "JavaScript", @@ -56593,7 +56963,7 @@ { "verb": "post", "requestPath": "/teams/{team_id}/discussions/{discussion_number}/comments/{comment_number}/reactions", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "accept", @@ -56637,8 +57007,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.echo-preview+json\" \\\n https://api.github.com/teams/42/discussions/42/comments/42/reactions \\\n -d '{\"content\":\"content\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.echo-preview+json\" \\\n  https://api.github.com/teams/42/discussions/42/comments/42/reactions \\\n  -d '{\"content\":\"content\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.echo-preview+json\" \\\n http(s)://{hostname}/api/v3/teams/42/discussions/42/comments/42/reactions \\\n -d '{\"content\":\"content\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.echo-preview+json\" \\\n  http(s)://{hostname}/api/v3/teams/42/discussions/42/comments/42/reactions \\\n  -d '{\"content\":\"content\"}'
    " }, { "lang": "JavaScript", @@ -56750,7 +57120,7 @@ { "verb": "get", "requestPath": "/teams/{team_id}/discussions/{discussion_number}/reactions", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "accept", @@ -56825,8 +57195,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.echo-preview+json\" \\\n https://api.github.com/teams/42/discussions/42/reactions", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.echo-preview+json\" \\\n  https://api.github.com/teams/42/discussions/42/reactions
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.echo-preview+json\" \\\n http(s)://{hostname}/api/v3/teams/42/discussions/42/reactions", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.echo-preview+json\" \\\n  http(s)://{hostname}/api/v3/teams/42/discussions/42/reactions
    " }, { "lang": "JavaScript", @@ -56882,7 +57252,7 @@ { "verb": "post", "requestPath": "/teams/{team_id}/discussions/{discussion_number}/reactions", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "accept", @@ -56917,8 +57287,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.echo-preview+json\" \\\n https://api.github.com/teams/42/discussions/42/reactions \\\n -d '{\"content\":\"content\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.echo-preview+json\" \\\n  https://api.github.com/teams/42/discussions/42/reactions \\\n  -d '{\"content\":\"content\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.echo-preview+json\" \\\n http(s)://{hostname}/api/v3/teams/42/discussions/42/reactions \\\n -d '{\"content\":\"content\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.echo-preview+json\" \\\n  http(s)://{hostname}/api/v3/teams/42/discussions/42/reactions \\\n  -d '{\"content\":\"content\"}'
    " }, { "lang": "JavaScript", @@ -57030,7 +57400,7 @@ { "verb": "get", "requestPath": "/teams/{team_id}/members", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "team_id", @@ -57081,8 +57451,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/teams/42/members", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/teams/42/members
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/teams/42/members", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/teams/42/members
    " }, { "lang": "JavaScript", @@ -57134,7 +57504,7 @@ { "verb": "get", "requestPath": "/teams/{team_id}/members/{username}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "team_id", @@ -57158,8 +57528,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/teams/42/members/USERNAME", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/teams/42/members/USERNAME
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/teams/42/members/USERNAME", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/teams/42/members/USERNAME
    " }, { "lang": "JavaScript", @@ -57211,7 +57581,7 @@ { "verb": "put", "requestPath": "/teams/{team_id}/members/{username}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "team_id", @@ -57235,8 +57605,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/teams/42/members/USERNAME", - "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/teams/42/members/USERNAME
    " + "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/teams/42/members/USERNAME", + "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/teams/42/members/USERNAME
    " }, { "lang": "JavaScript", @@ -57270,13 +57640,11 @@ "subcategory": "members", "subcategoryLabel": "Members", "notes": [], - "bodyParameters": [], - "descriptionHTML": "

    The \"Add team member\" endpoint (described below) is deprecated.

    \n

    We recommend using the Add or update team membership for a user endpoint instead. It allows you to invite new organization members to your teams.

    \n

    Team synchronization is available for organizations using GitHub Enterprise Cloud. For more information, see GitHub's products in the GitHub Help documentation.

    \n

    To 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

    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.\"

    \n

    Note that you'll need to set Content-Length to zero when calling out to this endpoint. For more information, see \"HTTP verbs.\"

    ", "responses": [ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "403", @@ -57291,21 +57659,16 @@ { "httpStatusCode": "422", "httpStatusMessage": "Unprocessable Entity", - "description": "Response if you attempt to add an organization to a team", - "payload": "
    {\n  \"message\": \"Cannot add an organization as a member.\",\n  \"errors\": [\n    {\n      \"code\": \"org\",\n      \"field\": \"user\",\n      \"resource\": \"TeamMember\"\n    }\n  ]\n}\n
    " - }, - { - "httpStatusCode": "422", - "httpStatusMessage": "Unprocessable Entity", - "description": "Response if you attempt to add a user to a team when they are not a member of at least one other team in the same organization", - "payload": "
    {\n  \"message\": \"User isn't a member of this organization. Please invite them first.\",\n  \"errors\": [\n    {\n      \"code\": \"unaffiliated\",\n      \"field\": \"user\",\n      \"resource\": \"TeamMember\"\n    }\n  ]\n}\n
    " + "description": "Response if you attempt to add an organization to a team or you attempt to add a user to a team when they are not a member of at least one other team in the same organization" } - ] + ], + "bodyParameters": [], + "descriptionHTML": "

    The \"Add team member\" endpoint (described below) is deprecated.

    \n

    We recommend using the Add or update team membership for a user endpoint instead. It allows you to invite new organization members to your teams.

    \n

    Team synchronization is available for organizations using GitHub Enterprise Cloud. For more information, see GitHub's products in the GitHub Help documentation.

    \n

    To 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

    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.\"

    \n

    Note that you'll need to set Content-Length to zero when calling out to this endpoint. For more information, see \"HTTP verbs.\"

    " }, { "verb": "delete", "requestPath": "/teams/{team_id}/members/{username}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "team_id", @@ -57329,8 +57692,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/teams/42/members/USERNAME", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/teams/42/members/USERNAME
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/teams/42/members/USERNAME", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/teams/42/members/USERNAME
    " }, { "lang": "JavaScript", @@ -57368,7 +57731,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "404", @@ -57382,7 +57745,7 @@ { "verb": "get", "requestPath": "/teams/{team_id}/memberships/{username}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "team_id", @@ -57406,8 +57769,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/teams/42/memberships/USERNAME", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/teams/42/memberships/USERNAME
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/teams/42/memberships/USERNAME", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/teams/42/memberships/USERNAME
    " }, { "lang": "JavaScript", @@ -57416,7 +57779,7 @@ } ], "summary": "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).", + "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).", "operationId": "teams/get-membership-for-user", "tags": [ "teams" @@ -57446,32 +57809,20 @@ "subcategoryLabel": "Members", "notes": [], "bodyParameters": [], - "descriptionHTML": "

    If you pass the hellcat-preview media type, team members will include the members of child teams.

    \n

    To get a user's membership with a team, the team must be visible to the authenticated user.

    \n

    Note: The role for organization owners returns as maintainer. For more information about maintainer roles, see Create a team.

    ", + "descriptionHTML": "

    If you pass the hellcat-preview media type, team members will include the members of child teams.

    \n

    To get a user's membership with a team, the team must be visible to the authenticated user.

    \n

    Note:\nThe response contains the state of the membership and the member's role.

    \n

    The role for organization owners is set to maintainer. For more information about maintainer roles, see Create a team.

    ", "responses": [ - { - "httpStatusCode": "200", - "httpStatusMessage": "OK", - "description": "Response if user has an active membership with team", - "payload": "
    {\n  \"url\": \"https://api.github.com/teams/1/memberships/octocat\",\n  \"role\": \"member\",\n  \"state\": \"active\"\n}\n
    " - }, { "httpStatusCode": "200", "httpStatusMessage": "OK", "description": "Response if user is a team maintainer", "payload": "
    {\n  \"url\": \"https://api.github.com/teams/1/memberships/octocat\",\n  \"role\": \"maintainer\",\n  \"state\": \"active\"\n}\n
    " - }, - { - "httpStatusCode": "200", - "httpStatusMessage": "OK", - "description": "Response if user has a pending membership with team", - "payload": "
    {\n  \"url\": \"https://api.github.com/teams/1/memberships/octocat\",\n  \"role\": \"member\",\n  \"state\": \"pending\"\n}\n
    " } ] }, { "verb": "put", "requestPath": "/teams/{team_id}/memberships/{username}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "team_id", @@ -57495,8 +57846,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/teams/42/memberships/USERNAME \\\n -d '{\"role\":\"role\"}'", - "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/teams/42/memberships/USERNAME \\\n  -d '{\"role\":\"role\"}'
    " + "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/teams/42/memberships/USERNAME \\\n -d '{\"role\":\"role\"}'", + "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/teams/42/memberships/USERNAME \\\n  -d '{\"role\":\"role\"}'
    " }, { "lang": "JavaScript", @@ -57570,12 +57921,6 @@ } ], "responses": [ - { - "httpStatusCode": "200", - "httpStatusMessage": "OK", - "description": "Response if user's membership with team is now active", - "payload": "
    {\n  \"url\": \"https://api.github.com/teams/1/memberships/octocat\",\n  \"role\": \"member\",\n  \"state\": \"active\"\n}\n
    " - }, { "httpStatusCode": "200", "httpStatusMessage": "OK", @@ -57585,15 +57930,14 @@ { "httpStatusCode": "422", "httpStatusMessage": "Unprocessable Entity", - "description": "Response if you attempt to add an organization to a team", - "payload": "
    {\n  \"message\": \"Cannot add an organization as a member.\",\n  \"errors\": [\n    {\n      \"code\": \"org\",\n      \"field\": \"user\",\n      \"resource\": \"TeamMember\"\n    }\n  ]\n}\n
    " + "description": "Response if you attempt to add an organization to a team" } ] }, { "verb": "delete", "requestPath": "/teams/{team_id}/memberships/{username}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "team_id", @@ -57617,8 +57961,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/teams/42/memberships/USERNAME", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/teams/42/memberships/USERNAME
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/teams/42/memberships/USERNAME", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/teams/42/memberships/USERNAME
    " }, { "lang": "JavaScript", @@ -57653,7 +57997,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "bodyParameters": [], @@ -57662,7 +58006,7 @@ { "verb": "get", "requestPath": "/teams/{team_id}/projects", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "accept", @@ -57708,8 +58052,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n https://api.github.com/teams/42/projects", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  https://api.github.com/teams/42/projects
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n http(s)://{hostname}/api/v3/teams/42/projects", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  http(s)://{hostname}/api/v3/teams/42/projects
    " }, { "lang": "JavaScript", @@ -57765,7 +58109,7 @@ { "verb": "get", "requestPath": "/teams/{team_id}/projects/{project_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "accept", @@ -57800,8 +58144,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n https://api.github.com/teams/42/projects/42", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  https://api.github.com/teams/42/projects/42
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n http(s)://{hostname}/api/v3/teams/42/projects/42", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  http(s)://{hostname}/api/v3/teams/42/projects/42
    " }, { "lang": "JavaScript", @@ -57862,7 +58206,7 @@ { "verb": "put", "requestPath": "/teams/{team_id}/projects/{project_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "accept", @@ -57897,8 +58241,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n https://api.github.com/teams/42/projects/42 \\\n -d '{\"permission\":\"permission\"}'", - "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  https://api.github.com/teams/42/projects/42 \\\n  -d '{\"permission\":\"permission\"}'
    " + "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n http(s)://{hostname}/api/v3/teams/42/projects/42 \\\n -d '{\"permission\":\"permission\"}'", + "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  http(s)://{hostname}/api/v3/teams/42/projects/42 \\\n  -d '{\"permission\":\"permission\"}'
    " }, { "lang": "JavaScript", @@ -57987,7 +58331,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "403", @@ -58000,7 +58344,7 @@ { "verb": "delete", "requestPath": "/teams/{team_id}/projects/{project_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "team_id", @@ -58024,8 +58368,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/teams/42/projects/42", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/teams/42/projects/42
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/teams/42/projects/42", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/teams/42/projects/42
    " }, { "lang": "JavaScript", @@ -58058,7 +58402,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "bodyParameters": [], @@ -58067,7 +58411,7 @@ { "verb": "get", "requestPath": "/teams/{team_id}/repos", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "team_id", @@ -58102,8 +58446,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/teams/42/repos", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/teams/42/repos
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/teams/42/repos", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/teams/42/repos
    " }, { "lang": "JavaScript", @@ -58153,7 +58497,7 @@ { "verb": "get", "requestPath": "/teams/{team_id}/repos/{owner}/{repo}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "team_id", @@ -58186,8 +58530,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/teams/42/repos/octocat/hello-world", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/teams/42/repos/octocat/hello-world
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/teams/42/repos/octocat/hello-world", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/teams/42/repos/octocat/hello-world
    " }, { "lang": "JavaScript", @@ -58246,7 +58590,7 @@ { "verb": "put", "requestPath": "/teams/{team_id}/repos/{owner}/{repo}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "team_id", @@ -58279,8 +58623,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/teams/42/repos/octocat/hello-world \\\n -d '{\"permission\":\"permission\"}'", - "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/teams/42/repos/octocat/hello-world \\\n  -d '{\"permission\":\"permission\"}'
    " + "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/teams/42/repos/octocat/hello-world \\\n -d '{\"permission\":\"permission\"}'", + "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/teams/42/repos/octocat/hello-world \\\n  -d '{\"permission\":\"permission\"}'
    " }, { "lang": "JavaScript", @@ -58345,7 +58689,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "descriptionHTML": "

    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

    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.\"

    ", @@ -58369,7 +58713,7 @@ { "verb": "delete", "requestPath": "/teams/{team_id}/repos/{owner}/{repo}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "team_id", @@ -58402,8 +58746,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/teams/42/repos/octocat/hello-world", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/teams/42/repos/octocat/hello-world
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/teams/42/repos/octocat/hello-world", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/teams/42/repos/octocat/hello-world
    " }, { "lang": "JavaScript", @@ -58436,7 +58780,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "bodyParameters": [], @@ -58445,7 +58789,7 @@ { "verb": "get", "requestPath": "/teams/{team_id}/teams", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "team_id", @@ -58480,8 +58824,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/teams/42/teams", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/teams/42/teams
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/teams/42/teams", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/teams/42/teams
    " }, { "lang": "JavaScript", @@ -58531,13 +58875,13 @@ { "verb": "get", "requestPath": "/user", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/user", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/user
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/user", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/user
    " }, { "lang": "JavaScript", @@ -58601,13 +58945,13 @@ { "verb": "patch", "requestPath": "/user", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/user \\\n -d '{\"name\":\"name\"}'", - "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/user \\\n  -d '{\"name\":\"name\"}'
    " + "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/user \\\n -d '{\"name\":\"name\"}'", + "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/user \\\n  -d '{\"name\":\"name\"}'
    " }, { "lang": "JavaScript", @@ -58845,7 +59189,7 @@ { "verb": "get", "requestPath": "/user/emails", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "per_page", @@ -58871,8 +59215,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/user/emails", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/user/emails
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/user/emails", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/user/emails
    " }, { "lang": "JavaScript", @@ -58937,13 +59281,13 @@ { "verb": "post", "requestPath": "/user/emails", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/user/emails \\\n -d '{\"emails\":[\"octocat@github.com\"]}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/user/emails \\\n  -d '{\"emails\":[\"octocat@github.com\"]}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/user/emails \\\n -d '{\"emails\":[\"octocat@github.com\"]}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/user/emails \\\n  -d '{\"emails\":[\"octocat@github.com\"]}'
    " }, { "lang": "JavaScript", @@ -59058,13 +59402,13 @@ { "verb": "delete", "requestPath": "/user/emails", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/user/emails \\\n -d '{\"emails\":[\"octocat@github.com\"]}'", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/user/emails \\\n  -d '{\"emails\":[\"octocat@github.com\"]}'
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/user/emails \\\n -d '{\"emails\":[\"octocat@github.com\"]}'", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/user/emails \\\n  -d '{\"emails\":[\"octocat@github.com\"]}'
    " }, { "lang": "JavaScript", @@ -59144,7 +59488,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "304", @@ -59178,7 +59522,7 @@ { "verb": "get", "requestPath": "/user/followers", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "per_page", @@ -59204,8 +59548,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/user/followers", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/user/followers
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/user/followers", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/user/followers
    " }, { "lang": "JavaScript", @@ -59265,7 +59609,7 @@ { "verb": "get", "requestPath": "/user/following", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "per_page", @@ -59291,8 +59635,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/user/following", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/user/following
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/user/following", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/user/following
    " }, { "lang": "JavaScript", @@ -59352,7 +59696,7 @@ { "verb": "get", "requestPath": "/user/following/{username}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "username", @@ -59367,8 +59711,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/user/following/USERNAME", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/user/following/USERNAME
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/user/following/USERNAME", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/user/following/USERNAME
    " }, { "lang": "JavaScript", @@ -59432,7 +59776,7 @@ { "verb": "put", "requestPath": "/user/following/{username}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "username", @@ -59447,8 +59791,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/user/following/USERNAME", - "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/user/following/USERNAME
    " + "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/user/following/USERNAME", + "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/user/following/USERNAME
    " }, { "lang": "JavaScript", @@ -59483,7 +59827,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "304", @@ -59512,7 +59856,7 @@ { "verb": "delete", "requestPath": "/user/following/{username}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "username", @@ -59527,8 +59871,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/user/following/USERNAME", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/user/following/USERNAME
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/user/following/USERNAME", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/user/following/USERNAME
    " }, { "lang": "JavaScript", @@ -59563,7 +59907,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "304", @@ -59592,7 +59936,7 @@ { "verb": "get", "requestPath": "/user/gpg_keys", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "per_page", @@ -59618,8 +59962,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/user/gpg_keys", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/user/gpg_keys
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/user/gpg_keys", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/user/gpg_keys
    " }, { "lang": "JavaScript", @@ -59684,13 +60028,13 @@ { "verb": "post", "requestPath": "/user/gpg_keys", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/user/gpg_keys \\\n -d '{\"armored_public_key\":\"armored_public_key\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/user/gpg_keys \\\n  -d '{\"armored_public_key\":\"armored_public_key\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/user/gpg_keys \\\n -d '{\"armored_public_key\":\"armored_public_key\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/user/gpg_keys \\\n  -d '{\"armored_public_key\":\"armored_public_key\"}'
    " }, { "lang": "JavaScript", @@ -59793,7 +60137,7 @@ { "verb": "get", "requestPath": "/user/gpg_keys/{gpg_key_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "gpg_key_id", @@ -59809,8 +60153,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/user/gpg_keys/42", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/user/gpg_keys/42
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/user/gpg_keys/42", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/user/gpg_keys/42
    " }, { "lang": "JavaScript", @@ -59875,7 +60219,7 @@ { "verb": "delete", "requestPath": "/user/gpg_keys/{gpg_key_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "gpg_key_id", @@ -59891,8 +60235,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/user/gpg_keys/42", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/user/gpg_keys/42
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/user/gpg_keys/42", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/user/gpg_keys/42
    " }, { "lang": "JavaScript", @@ -59927,7 +60271,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "304", @@ -59961,7 +60305,7 @@ { "verb": "get", "requestPath": "/user/installations", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "accept", @@ -59998,8 +60342,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.machine-man-preview+json\" \\\n https://api.github.com/user/installations", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.machine-man-preview+json\" \\\n  https://api.github.com/user/installations
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.machine-man-preview+json\" \\\n http(s)://{hostname}/api/v3/user/installations", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.machine-man-preview+json\" \\\n  http(s)://{hostname}/api/v3/user/installations
    " }, { "lang": "JavaScript", @@ -60071,7 +60415,7 @@ { "verb": "get", "requestPath": "/user/installations/{installation_id}/repositories", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "accept", @@ -60118,8 +60462,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.machine-man-preview+json\" \\\n https://api.github.com/user/installations/42/repositories", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.machine-man-preview+json\" \\\n  https://api.github.com/user/installations/42/repositories
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.machine-man-preview+json\" \\\n http(s)://{hostname}/api/v3/user/installations/42/repositories", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.machine-man-preview+json\" \\\n  http(s)://{hostname}/api/v3/user/installations/42/repositories
    " }, { "lang": "JavaScript", @@ -60192,7 +60536,7 @@ { "verb": "put", "requestPath": "/user/installations/{installation_id}/repositories/{repository_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "installation_id", @@ -60217,8 +60561,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.machine-man-preview+json\" \\\n https://api.github.com/user/installations/42/repositories/42", - "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.machine-man-preview+json\" \\\n  https://api.github.com/user/installations/42/repositories/42
    " + "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.machine-man-preview+json\" \\\n http(s)://{hostname}/api/v3/user/installations/42/repositories/42", + "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.machine-man-preview+json\" \\\n  http(s)://{hostname}/api/v3/user/installations/42/repositories/42
    " }, { "lang": "JavaScript", @@ -60260,7 +60604,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "304", @@ -60284,7 +60628,7 @@ { "verb": "delete", "requestPath": "/user/installations/{installation_id}/repositories/{repository_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "installation_id", @@ -60309,8 +60653,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.machine-man-preview+json\" \\\n https://api.github.com/user/installations/42/repositories/42", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.machine-man-preview+json\" \\\n  https://api.github.com/user/installations/42/repositories/42
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.machine-man-preview+json\" \\\n http(s)://{hostname}/api/v3/user/installations/42/repositories/42", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.machine-man-preview+json\" \\\n  http(s)://{hostname}/api/v3/user/installations/42/repositories/42
    " }, { "lang": "JavaScript", @@ -60352,7 +60696,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "304", @@ -60376,7 +60720,7 @@ { "verb": "get", "requestPath": "/user/issues", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "filter", @@ -60390,6 +60734,7 @@ "created", "mentioned", "subscribed", + "repos", "all" ], "default": "assigned" @@ -60487,8 +60832,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/user/issues", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/user/issues
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/user/issues", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/user/issues
    " }, { "lang": "JavaScript", @@ -60547,7 +60892,7 @@ { "verb": "get", "requestPath": "/user/keys", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "per_page", @@ -60573,8 +60918,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/user/keys", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/user/keys
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/user/keys", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/user/keys
    " }, { "lang": "JavaScript", @@ -60639,13 +60984,13 @@ { "verb": "post", "requestPath": "/user/keys", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/user/keys \\\n -d '{\"key\":\"key\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/user/keys \\\n  -d '{\"key\":\"key\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/user/keys \\\n -d '{\"key\":\"key\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/user/keys \\\n  -d '{\"key\":\"key\"}'
    " }, { "lang": "JavaScript", @@ -60770,7 +61115,7 @@ { "verb": "get", "requestPath": "/user/keys/{key_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "key_id", @@ -60786,8 +61131,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/user/keys/42", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/user/keys/42
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/user/keys/42", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/user/keys/42
    " }, { "lang": "JavaScript", @@ -60852,7 +61197,7 @@ { "verb": "delete", "requestPath": "/user/keys/{key_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "key_id", @@ -60868,8 +61213,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/user/keys/42", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/user/keys/42
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/user/keys/42", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/user/keys/42
    " }, { "lang": "JavaScript", @@ -60904,7 +61249,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "304", @@ -60933,7 +61278,7 @@ { "verb": "get", "requestPath": "/user/memberships/orgs", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "state", @@ -60973,8 +61318,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/user/memberships/orgs", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/user/memberships/orgs
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/user/memberships/orgs", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/user/memberships/orgs
    " }, { "lang": "JavaScript", @@ -61039,7 +61384,7 @@ { "verb": "get", "requestPath": "/user/memberships/orgs/{org}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "org", @@ -61054,8 +61399,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/user/memberships/orgs/ORG", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/user/memberships/orgs/ORG
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/user/memberships/orgs/ORG", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/user/memberships/orgs/ORG
    " }, { "lang": "JavaScript", @@ -61110,7 +61455,7 @@ { "verb": "patch", "requestPath": "/user/memberships/orgs/{org}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "org", @@ -61125,8 +61470,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/user/memberships/orgs/ORG \\\n -d '{\"state\":\"state\"}'", - "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/user/memberships/orgs/ORG \\\n  -d '{\"state\":\"state\"}'
    " + "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/user/memberships/orgs/ORG \\\n -d '{\"state\":\"state\"}'", + "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/user/memberships/orgs/ORG \\\n  -d '{\"state\":\"state\"}'
    " }, { "lang": "JavaScript", @@ -61228,7 +61573,7 @@ { "verb": "get", "requestPath": "/user/orgs", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "per_page", @@ -61254,8 +61599,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/user/orgs", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/user/orgs
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/user/orgs", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/user/orgs
    " }, { "lang": "JavaScript", @@ -61313,13 +61658,13 @@ { "verb": "post", "requestPath": "/user/projects", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n https://api.github.com/user/projects \\\n -d '{\"name\":\"name\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  https://api.github.com/user/projects \\\n  -d '{\"name\":\"name\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n http(s)://{hostname}/api/v3/user/projects \\\n -d '{\"name\":\"name\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  http(s)://{hostname}/api/v3/user/projects \\\n  -d '{\"name\":\"name\"}'
    " }, { "lang": "JavaScript", @@ -61451,7 +61796,7 @@ { "verb": "get", "requestPath": "/user/public_emails", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "per_page", @@ -61477,8 +61822,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/user/public_emails", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/user/public_emails
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/user/public_emails", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/user/public_emails
    " }, { "lang": "JavaScript", @@ -61543,11 +61888,11 @@ { "verb": "get", "requestPath": "/user/repos", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "visibility", - "description": "Can be one of `all`, `public`, or `private`.", + "description": "Can be one of `all`, `public`, or `private`. Note: For GitHub AE, can be one of `all`, `internal`, or `private`.", "in": "query", "required": false, "schema": { @@ -61559,7 +61904,7 @@ ], "default": "all" }, - "descriptionHTML": "

    Can be one of all, public, or private.

    " + "descriptionHTML": "

    Can be one of all, public, or private. Note: For GitHub AE, can be one of all, internal, or private.

    " }, { "name": "affiliation", @@ -61574,7 +61919,7 @@ }, { "name": "type", - "description": "Can be one of `all`, `owner`, `public`, `private`, `member`. Default: `all` \n \nWill cause a `422` error if used in the same request as **visibility** or **affiliation**. Will cause a `422` error if used in the same request as **visibility** or **affiliation**.", + "description": "Can be one of `all`, `owner`, `public`, `private`, `member`. Note: For GitHub AE, can be one of `all`, `owner`, `internal`, `private`, `member`. Default: `all` \n \nWill cause a `422` error if used in the same request as **visibility** or **affiliation**. Will cause a `422` error if used in the same request as **visibility** or **affiliation**.", "in": "query", "required": false, "schema": { @@ -61588,7 +61933,7 @@ ], "default": "all" }, - "descriptionHTML": "

    Can be one of all, owner, public, private, member. Default: all

    \n

    Will cause a 422 error if used in the same request as visibility or affiliation. Will cause a 422 error if used in the same request as visibility or affiliation.

    " + "descriptionHTML": "

    Can be one of all, owner, public, private, member. Note: For GitHub AE, can be one of all, owner, internal, private, member. Default: all

    \n

    Will cause a 422 error if used in the same request as visibility or affiliation. Will cause a 422 error if used in the same request as visibility or affiliation.

    " }, { "name": "sort", @@ -61665,8 +62010,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/user/repos", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/user/repos
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/user/repos", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/user/repos
    " }, { "lang": "JavaScript", @@ -61729,13 +62074,13 @@ { "verb": "post", "requestPath": "/user/repos", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/user/repos \\\n -d '{\"name\":\"name\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/user/repos \\\n  -d '{\"name\":\"name\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/user/repos \\\n -d '{\"name\":\"name\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/user/repos \\\n  -d '{\"name\":\"name\"}'
    " }, { "lang": "JavaScript", @@ -61744,7 +62089,7 @@ } ], "summary": "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", + "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.", "tags": [ "repos" ], @@ -61787,13 +62132,13 @@ "childParamsGroups": [] }, "private": { - "description": "

    Whether the repository is private or public.

    ", + "description": "

    Whether the repository is private.

    ", "default": false, "type": "boolean", "name": "private", "in": "body", "rawType": "boolean", - "rawDescription": "Whether the repository is private or public.", + "rawDescription": "Whether the repository is private.", "childParamsGroups": [] }, "has_issues": { @@ -61967,7 +62312,7 @@ "category": "repos", "categoryLabel": "Repos", "notes": [], - "descriptionHTML": "

    Creates a new repository for the authenticated user.

    \n

    OAuth scope requirements

    \n

    When using OAuth, 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
    ", + "descriptionHTML": "

    Creates a new repository for the authenticated user.

    \n

    OAuth scope requirements

    \n

    When using OAuth, 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
    ", "bodyParameters": [ { "description": "

    Required. The name of the repository.

    ", @@ -61998,13 +62343,13 @@ "childParamsGroups": [] }, { - "description": "

    Whether the repository is private or public.

    ", + "description": "

    Whether the repository is private.

    ", "default": false, "type": "boolean", "name": "private", "in": "body", "rawType": "boolean", - "rawDescription": "Whether the repository is private or public.", + "rawDescription": "Whether the repository is private.", "childParamsGroups": [] }, { @@ -62188,7 +62533,7 @@ { "verb": "get", "requestPath": "/user/repository_invitations", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "per_page", @@ -62214,8 +62559,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/user/repository_invitations", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/user/repository_invitations
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/user/repository_invitations", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/user/repository_invitations
    " }, { "lang": "JavaScript", @@ -62280,7 +62625,7 @@ { "verb": "patch", "requestPath": "/user/repository_invitations/{invitation_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "invitation_id", @@ -62296,8 +62641,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/user/repository_invitations/42", - "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/user/repository_invitations/42
    " + "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/user/repository_invitations/42", + "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/user/repository_invitations/42
    " }, { "lang": "JavaScript", @@ -62332,7 +62677,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "304", @@ -62361,7 +62706,7 @@ { "verb": "delete", "requestPath": "/user/repository_invitations/{invitation_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "invitation_id", @@ -62377,8 +62722,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/user/repository_invitations/42", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/user/repository_invitations/42
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/user/repository_invitations/42", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/user/repository_invitations/42
    " }, { "lang": "JavaScript", @@ -62413,7 +62758,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "304", @@ -62442,7 +62787,7 @@ { "verb": "get", "requestPath": "/user/starred", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "sort", @@ -62498,8 +62843,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/user/starred", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/user/starred
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/user/starred", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/user/starred
    " }, { "lang": "JavaScript", @@ -62559,7 +62904,7 @@ { "verb": "get", "requestPath": "/user/starred/{owner}/{repo}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -62583,8 +62928,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/user/starred/octocat/hello-world", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/user/starred/octocat/hello-world
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/user/starred/octocat/hello-world", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/user/starred/octocat/hello-world
    " }, { "lang": "JavaScript", @@ -62648,7 +62993,7 @@ { "verb": "put", "requestPath": "/user/starred/{owner}/{repo}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -62672,8 +63017,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/user/starred/octocat/hello-world", - "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/user/starred/octocat/hello-world
    " + "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/user/starred/octocat/hello-world", + "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/user/starred/octocat/hello-world
    " }, { "lang": "JavaScript", @@ -62708,7 +63053,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "304", @@ -62737,7 +63082,7 @@ { "verb": "delete", "requestPath": "/user/starred/{owner}/{repo}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -62761,8 +63106,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/user/starred/octocat/hello-world", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/user/starred/octocat/hello-world
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/user/starred/octocat/hello-world", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/user/starred/octocat/hello-world
    " }, { "lang": "JavaScript", @@ -62797,7 +63142,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "304", @@ -62826,7 +63171,7 @@ { "verb": "get", "requestPath": "/user/subscriptions", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "per_page", @@ -62852,8 +63197,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/user/subscriptions", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/user/subscriptions
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/user/subscriptions", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/user/subscriptions
    " }, { "lang": "JavaScript", @@ -62913,7 +63258,7 @@ { "verb": "get", "requestPath": "/user/teams", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "per_page", @@ -62939,8 +63284,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/user/teams", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/user/teams
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/user/teams", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/user/teams
    " }, { "lang": "JavaScript", @@ -62998,7 +63343,7 @@ { "verb": "get", "requestPath": "/users", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "since", @@ -63024,8 +63369,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/users", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/users
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/users", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/users
    " }, { "lang": "JavaScript", @@ -63073,7 +63418,7 @@ { "verb": "get", "requestPath": "/users/{username}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "username", @@ -63088,8 +63433,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/users/USERNAME", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/users/USERNAME
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/users/USERNAME", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/users/USERNAME
    " }, { "lang": "JavaScript", @@ -63143,7 +63488,7 @@ { "verb": "get", "requestPath": "/users/{username}/events", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "username", @@ -63178,8 +63523,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/users/USERNAME/events", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/users/USERNAME/events
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/users/USERNAME/events", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/users/USERNAME/events
    " }, { "lang": "JavaScript", @@ -63223,7 +63568,7 @@ { "verb": "get", "requestPath": "/users/{username}/events/orgs/{org}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "username", @@ -63267,8 +63612,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/users/USERNAME/events/orgs/ORG", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/users/USERNAME/events/orgs/ORG
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/users/USERNAME/events/orgs/ORG", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/users/USERNAME/events/orgs/ORG
    " }, { "lang": "JavaScript", @@ -63312,7 +63657,7 @@ { "verb": "get", "requestPath": "/users/{username}/events/public", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "username", @@ -63347,8 +63692,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/users/USERNAME/events/public", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/users/USERNAME/events/public
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/users/USERNAME/events/public", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/users/USERNAME/events/public
    " }, { "lang": "JavaScript", @@ -63392,7 +63737,7 @@ { "verb": "get", "requestPath": "/users/{username}/followers", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "username", @@ -63427,8 +63772,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/users/USERNAME/followers", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/users/USERNAME/followers
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/users/USERNAME/followers", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/users/USERNAME/followers
    " }, { "lang": "JavaScript", @@ -63473,7 +63818,7 @@ { "verb": "get", "requestPath": "/users/{username}/following", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "username", @@ -63508,8 +63853,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/users/USERNAME/following", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/users/USERNAME/following
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/users/USERNAME/following", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/users/USERNAME/following
    " }, { "lang": "JavaScript", @@ -63554,7 +63899,7 @@ { "verb": "get", "requestPath": "/users/{username}/following/{target_user}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "username", @@ -63578,8 +63923,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/users/USERNAME/following/TARGET_USER", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/users/USERNAME/following/TARGET_USER
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/users/USERNAME/following/TARGET_USER", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/users/USERNAME/following/TARGET_USER
    " }, { "lang": "JavaScript", @@ -63628,7 +63973,7 @@ { "verb": "get", "requestPath": "/users/{username}/gists", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "username", @@ -63673,8 +64018,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/users/USERNAME/gists", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/users/USERNAME/gists
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/users/USERNAME/gists", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/users/USERNAME/gists
    " }, { "lang": "JavaScript", @@ -63722,7 +64067,7 @@ { "verb": "get", "requestPath": "/users/{username}/gpg_keys", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "username", @@ -63757,8 +64102,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/users/USERNAME/gpg_keys", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/users/USERNAME/gpg_keys
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/users/USERNAME/gpg_keys", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/users/USERNAME/gpg_keys
    " }, { "lang": "JavaScript", @@ -63803,7 +64148,7 @@ { "verb": "get", "requestPath": "/users/{username}/hovercard", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "username", @@ -63844,8 +64189,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/users/USERNAME/hovercard", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/users/USERNAME/hovercard
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/users/USERNAME/hovercard", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/users/USERNAME/hovercard
    " }, { "lang": "JavaScript", @@ -63898,7 +64243,7 @@ { "verb": "get", "requestPath": "/users/{username}/installation", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "accept", @@ -63924,8 +64269,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.machine-man-preview+json\" \\\n https://api.github.com/users/USERNAME/installation", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.machine-man-preview+json\" \\\n  https://api.github.com/users/USERNAME/installation
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.machine-man-preview+json\" \\\n http(s)://{hostname}/api/v3/users/USERNAME/installation", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.machine-man-preview+json\" \\\n  http(s)://{hostname}/api/v3/users/USERNAME/installation
    " }, { "lang": "JavaScript", @@ -63974,7 +64319,7 @@ { "verb": "get", "requestPath": "/users/{username}/keys", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "username", @@ -64009,8 +64354,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/users/USERNAME/keys", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/users/USERNAME/keys
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/users/USERNAME/keys", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/users/USERNAME/keys
    " }, { "lang": "JavaScript", @@ -64055,7 +64400,7 @@ { "verb": "get", "requestPath": "/users/{username}/orgs", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "username", @@ -64090,8 +64435,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/users/USERNAME/orgs", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/users/USERNAME/orgs
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/users/USERNAME/orgs", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/users/USERNAME/orgs
    " }, { "lang": "JavaScript", @@ -64134,7 +64479,7 @@ { "verb": "get", "requestPath": "/users/{username}/projects", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "username", @@ -64185,8 +64530,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n https://api.github.com/users/USERNAME/projects", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  https://api.github.com/users/USERNAME/projects
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n http(s)://{hostname}/api/v3/users/USERNAME/projects", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  http(s)://{hostname}/api/v3/users/USERNAME/projects
    " }, { "lang": "JavaScript", @@ -64246,7 +64591,7 @@ { "verb": "get", "requestPath": "/users/{username}/received_events", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "username", @@ -64281,8 +64626,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/users/USERNAME/received_events", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/users/USERNAME/received_events
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/users/USERNAME/received_events", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/users/USERNAME/received_events
    " }, { "lang": "JavaScript", @@ -64326,7 +64671,7 @@ { "verb": "get", "requestPath": "/users/{username}/received_events/public", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "username", @@ -64361,8 +64706,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/users/USERNAME/received_events/public", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/users/USERNAME/received_events/public
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/users/USERNAME/received_events/public", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/users/USERNAME/received_events/public
    " }, { "lang": "JavaScript", @@ -64406,7 +64751,7 @@ { "verb": "get", "requestPath": "/users/{username}/repos", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "username", @@ -64488,8 +64833,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/users/USERNAME/repos", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/users/USERNAME/repos
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/users/USERNAME/repos", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/users/USERNAME/repos
    " }, { "lang": "JavaScript", @@ -64498,7 +64843,7 @@ } ], "summary": "List repositories for a user", - "description": "Lists public repositories for the specified user.", + "description": "Lists public repositories for the specified user. Note: For GitHub AE, this endpoint will list internal repositories for the specified user.", "tags": [ "repos" ], @@ -64526,7 +64871,7 @@ "categoryLabel": "Repos", "notes": [], "bodyParameters": [], - "descriptionHTML": "

    Lists public repositories for the specified user.

    ", + "descriptionHTML": "

    Lists public repositories for the specified user. Note: For GitHub AE, this endpoint will list internal repositories for the specified user.

    ", "responses": [ { "httpStatusCode": "200", @@ -64539,7 +64884,7 @@ { "verb": "put", "requestPath": "/users/{username}/site_admin", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "username", @@ -64554,8 +64899,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/users/USERNAME/site_admin", - "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/users/USERNAME/site_admin
    " + "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/users/USERNAME/site_admin", + "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/users/USERNAME/site_admin
    " }, { "lang": "JavaScript", @@ -64590,7 +64935,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "bodyParameters": [], @@ -64599,7 +64944,7 @@ { "verb": "delete", "requestPath": "/users/{username}/site_admin", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "username", @@ -64614,8 +64959,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/users/USERNAME/site_admin", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/users/USERNAME/site_admin
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/users/USERNAME/site_admin", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/users/USERNAME/site_admin
    " }, { "lang": "JavaScript", @@ -64650,7 +64995,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "bodyParameters": [], @@ -64659,7 +65004,7 @@ { "verb": "get", "requestPath": "/users/{username}/starred", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "username", @@ -64724,8 +65069,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/users/USERNAME/starred", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/users/USERNAME/starred
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/users/USERNAME/starred", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/users/USERNAME/starred
    " }, { "lang": "JavaScript", @@ -64770,7 +65115,7 @@ { "verb": "get", "requestPath": "/users/{username}/subscriptions", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "username", @@ -64805,8 +65150,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/users/USERNAME/subscriptions", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/users/USERNAME/subscriptions
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/users/USERNAME/subscriptions", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/users/USERNAME/subscriptions
    " }, { "lang": "JavaScript", @@ -64851,7 +65196,7 @@ { "verb": "put", "requestPath": "/users/{username}/suspended", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "username", @@ -64866,8 +65211,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/users/USERNAME/suspended \\\n -d '{\"reason\":\"reason\"}'", - "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/users/USERNAME/suspended \\\n  -d '{\"reason\":\"reason\"}'
    " + "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/users/USERNAME/suspended \\\n -d '{\"reason\":\"reason\"}'", + "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/users/USERNAME/suspended \\\n  -d '{\"reason\":\"reason\"}'
    " }, { "lang": "JavaScript", @@ -64922,7 +65267,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "descriptionHTML": "

    If your GitHub instance uses LDAP Sync with Active Directory LDAP servers, 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

    You can suspend any user account except your own.

    \n

    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.\"

    ", @@ -64941,7 +65286,7 @@ { "verb": "delete", "requestPath": "/users/{username}/suspended", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "username", @@ -64956,8 +65301,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/users/USERNAME/suspended \\\n -d '{\"reason\":\"reason\"}'", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/users/USERNAME/suspended \\\n  -d '{\"reason\":\"reason\"}'
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/users/USERNAME/suspended \\\n -d '{\"reason\":\"reason\"}'", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/users/USERNAME/suspended \\\n  -d '{\"reason\":\"reason\"}'
    " }, { "lang": "JavaScript", @@ -65012,7 +65357,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "descriptionHTML": "

    If your GitHub instance uses LDAP Sync with Active Directory LDAP servers, this API is disabled and will return a 403 response. Active Directory LDAP-authenticated users cannot be unsuspended using the API.

    ", @@ -65031,13 +65376,13 @@ { "verb": "get", "requestPath": "/zen", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/zen", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/zen
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/zen", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/zen
    " }, { "lang": "JavaScript", diff --git a/lib/rest/static/decorated/ghes-2.19.json b/lib/rest/static/decorated/ghes-2.19.json index 99b430b10d..83a18e6a62 100644 --- a/lib/rest/static/decorated/ghes-2.19.json +++ b/lib/rest/static/decorated/ghes-2.19.json @@ -2,13 +2,13 @@ { "verb": "get", "requestPath": "/", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/
    " }, { "lang": "JavaScript", @@ -45,7 +45,7 @@ { "verb": "get", "requestPath": "/admin/hooks", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "accept", @@ -82,8 +82,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.superpro-preview+json\" \\\n https://api.github.com/admin/hooks", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.superpro-preview+json\" \\\n  https://api.github.com/admin/hooks
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.superpro-preview+json\" \\\n http(s)://{hostname}/api/v3/admin/hooks", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.superpro-preview+json\" \\\n  http(s)://{hostname}/api/v3/admin/hooks
    " }, { "lang": "JavaScript", @@ -135,7 +135,7 @@ { "verb": "post", "requestPath": "/admin/hooks", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "accept", @@ -152,8 +152,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.superpro-preview+json\" \\\n https://api.github.com/admin/hooks \\\n -d '{\"name\":\"name\",\"config\":{\"url\":\"url\",\"content_type\":\"content_type\",\"secret\":\"secret\",\"insecure_ssl\":\"insecure_ssl\"}}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.superpro-preview+json\" \\\n  https://api.github.com/admin/hooks \\\n  -d '{\"name\":\"name\",\"config\":{\"url\":\"url\",\"content_type\":\"content_type\",\"secret\":\"secret\",\"insecure_ssl\":\"insecure_ssl\"}}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.superpro-preview+json\" \\\n http(s)://{hostname}/api/v3/admin/hooks \\\n -d '{\"name\":\"name\",\"config\":{\"url\":\"url\",\"content_type\":\"content_type\",\"secret\":\"secret\",\"insecure_ssl\":\"insecure_ssl\"}}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.superpro-preview+json\" \\\n  http(s)://{hostname}/api/v3/admin/hooks \\\n  -d '{\"name\":\"name\",\"config\":{\"url\":\"url\",\"content_type\":\"content_type\",\"secret\":\"secret\",\"insecure_ssl\":\"insecure_ssl\"}}'
    " }, { "lang": "JavaScript", @@ -483,7 +483,7 @@ { "verb": "get", "requestPath": "/admin/hooks/{hook_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "accept", @@ -509,8 +509,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.superpro-preview+json\" \\\n https://api.github.com/admin/hooks/42", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.superpro-preview+json\" \\\n  https://api.github.com/admin/hooks/42
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.superpro-preview+json\" \\\n http(s)://{hostname}/api/v3/admin/hooks/42", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.superpro-preview+json\" \\\n  http(s)://{hostname}/api/v3/admin/hooks/42
    " }, { "lang": "JavaScript", @@ -562,7 +562,7 @@ { "verb": "patch", "requestPath": "/admin/hooks/{hook_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "accept", @@ -588,8 +588,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.superpro-preview+json\" \\\n https://api.github.com/admin/hooks/42 \\\n -d '{\"config\":{\"url\":\"url\",\"content_type\":\"content_type\",\"secret\":\"secret\",\"insecure_ssl\":\"insecure_ssl\"}}'", - "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.superpro-preview+json\" \\\n  https://api.github.com/admin/hooks/42 \\\n  -d '{\"config\":{\"url\":\"url\",\"content_type\":\"content_type\",\"secret\":\"secret\",\"insecure_ssl\":\"insecure_ssl\"}}'
    " + "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.superpro-preview+json\" \\\n http(s)://{hostname}/api/v3/admin/hooks/42 \\\n -d '{\"config\":{\"url\":\"url\",\"content_type\":\"content_type\",\"secret\":\"secret\",\"insecure_ssl\":\"insecure_ssl\"}}'", + "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.superpro-preview+json\" \\\n  http(s)://{hostname}/api/v3/admin/hooks/42 \\\n  -d '{\"config\":{\"url\":\"url\",\"content_type\":\"content_type\",\"secret\":\"secret\",\"insecure_ssl\":\"insecure_ssl\"}}'
    " }, { "lang": "JavaScript", @@ -893,7 +893,7 @@ { "verb": "delete", "requestPath": "/admin/hooks/{hook_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "accept", @@ -919,8 +919,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.superpro-preview+json\" \\\n https://api.github.com/admin/hooks/42", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.superpro-preview+json\" \\\n  https://api.github.com/admin/hooks/42
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.superpro-preview+json\" \\\n http(s)://{hostname}/api/v3/admin/hooks/42", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.superpro-preview+json\" \\\n  http(s)://{hostname}/api/v3/admin/hooks/42
    " }, { "lang": "JavaScript", @@ -962,7 +962,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "bodyParameters": [], @@ -971,7 +971,7 @@ { "verb": "post", "requestPath": "/admin/hooks/{hook_id}/pings", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "accept", @@ -997,8 +997,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.superpro-preview+json\" \\\n https://api.github.com/admin/hooks/42/pings", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.superpro-preview+json\" \\\n  https://api.github.com/admin/hooks/42/pings
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.superpro-preview+json\" \\\n http(s)://{hostname}/api/v3/admin/hooks/42/pings", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.superpro-preview+json\" \\\n  http(s)://{hostname}/api/v3/admin/hooks/42/pings
    " }, { "lang": "JavaScript", @@ -1040,7 +1040,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "bodyParameters": [], @@ -1049,7 +1049,7 @@ { "verb": "get", "requestPath": "/admin/keys", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "per_page", @@ -1070,13 +1070,53 @@ "default": 1 }, "descriptionHTML": "

    Page number of the results to fetch.

    " + }, + { + "name": "direction", + "description": "One of `asc` (ascending) or `desc` (descending).", + "in": "query", + "required": false, + "schema": { + "type": "string", + "enum": [ + "asc", + "desc" + ], + "default": "desc" + }, + "descriptionHTML": "

    One of asc (ascending) or desc (descending).

    " + }, + { + "name": "sort", + "in": "query", + "required": false, + "schema": { + "type": "string", + "enum": [ + "created", + "updated", + "accessed" + ], + "default": "created" + }, + "descriptionHTML": "" + }, + { + "name": "since", + "description": "Only show public keys accessed after the given time.", + "in": "query", + "required": false, + "schema": { + "type": "string" + }, + "descriptionHTML": "

    Only show public keys accessed after the given time.

    " } ], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/admin/keys", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/admin/keys
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/admin/keys", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/admin/keys
    " }, { "lang": "JavaScript", @@ -1121,7 +1161,7 @@ { "verb": "delete", "requestPath": "/admin/keys/{key_ids}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "key_ids", @@ -1136,8 +1176,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/admin/keys/KEY_IDS", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/admin/keys/KEY_IDS
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/admin/keys/KEY_IDS", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/admin/keys/KEY_IDS
    " }, { "lang": "JavaScript", @@ -1172,7 +1212,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "bodyParameters": [], @@ -1181,7 +1221,7 @@ { "verb": "patch", "requestPath": "/admin/ldap/teams/{team_id}/mapping", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "team_id", @@ -1196,8 +1236,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/admin/ldap/teams/42/mapping \\\n -d '{\"ldap_dn\":\"ldap_dn\"}'", - "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/admin/ldap/teams/42/mapping \\\n  -d '{\"ldap_dn\":\"ldap_dn\"}'
    " + "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/admin/ldap/teams/42/mapping \\\n -d '{\"ldap_dn\":\"ldap_dn\"}'", + "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/admin/ldap/teams/42/mapping \\\n  -d '{\"ldap_dn\":\"ldap_dn\"}'
    " }, { "lang": "JavaScript", @@ -1282,7 +1322,7 @@ { "verb": "post", "requestPath": "/admin/ldap/teams/{team_id}/sync", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "team_id", @@ -1297,8 +1337,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/admin/ldap/teams/42/sync", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/admin/ldap/teams/42/sync
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/admin/ldap/teams/42/sync", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/admin/ldap/teams/42/sync
    " }, { "lang": "JavaScript", @@ -1343,7 +1383,7 @@ { "verb": "patch", "requestPath": "/admin/ldap/users/{username}/mapping", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "username", @@ -1358,8 +1398,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/admin/ldap/users/USERNAME/mapping \\\n -d '{\"ldap_dn\":\"ldap_dn\"}'", - "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/admin/ldap/users/USERNAME/mapping \\\n  -d '{\"ldap_dn\":\"ldap_dn\"}'
    " + "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/admin/ldap/users/USERNAME/mapping \\\n -d '{\"ldap_dn\":\"ldap_dn\"}'", + "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/admin/ldap/users/USERNAME/mapping \\\n  -d '{\"ldap_dn\":\"ldap_dn\"}'
    " }, { "lang": "JavaScript", @@ -1437,7 +1477,7 @@ { "verb": "post", "requestPath": "/admin/ldap/users/{username}/sync", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "username", @@ -1452,8 +1492,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/admin/ldap/users/USERNAME/sync", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/admin/ldap/users/USERNAME/sync
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/admin/ldap/users/USERNAME/sync", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/admin/ldap/users/USERNAME/sync
    " }, { "lang": "JavaScript", @@ -1498,13 +1538,13 @@ { "verb": "post", "requestPath": "/admin/organizations", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/admin/organizations \\\n -d '{\"login\":\"login\",\"admin\":\"admin\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/admin/organizations \\\n  -d '{\"login\":\"login\",\"admin\":\"admin\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/admin/organizations \\\n -d '{\"login\":\"login\",\"admin\":\"admin\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/admin/organizations \\\n  -d '{\"login\":\"login\",\"admin\":\"admin\"}'
    " }, { "lang": "JavaScript", @@ -1624,7 +1664,7 @@ { "verb": "patch", "requestPath": "/admin/organizations/{org}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "org", @@ -1639,8 +1679,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/admin/organizations/ORG \\\n -d '{\"login\":\"login\"}'", - "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/admin/organizations/ORG \\\n  -d '{\"login\":\"login\"}'
    " + "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/admin/organizations/ORG \\\n -d '{\"login\":\"login\"}'", + "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/admin/organizations/ORG \\\n  -d '{\"login\":\"login\"}'
    " }, { "lang": "JavaScript", @@ -1721,7 +1761,7 @@ { "verb": "get", "requestPath": "/admin/pre-receive-environments", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "per_page", @@ -1742,13 +1782,43 @@ "default": 1 }, "descriptionHTML": "

    Page number of the results to fetch.

    " + }, + { + "name": "direction", + "description": "One of `asc` (ascending) or `desc` (descending).", + "in": "query", + "required": false, + "schema": { + "type": "string", + "enum": [ + "asc", + "desc" + ], + "default": "desc" + }, + "descriptionHTML": "

    One of asc (ascending) or desc (descending).

    " + }, + { + "name": "sort", + "in": "query", + "required": false, + "schema": { + "type": "string", + "enum": [ + "created", + "updated", + "name" + ], + "default": "created" + }, + "descriptionHTML": "" } ], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n https://api.github.com/admin/pre-receive-environments", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n  https://api.github.com/admin/pre-receive-environments
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n http(s)://{hostname}/api/v3/admin/pre-receive-environments", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n  http(s)://{hostname}/api/v3/admin/pre-receive-environments
    " }, { "lang": "JavaScript", @@ -1800,13 +1870,13 @@ { "verb": "post", "requestPath": "/admin/pre-receive-environments", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n https://api.github.com/admin/pre-receive-environments \\\n -d '{\"name\":\"name\",\"image_url\":\"image_url\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n  https://api.github.com/admin/pre-receive-environments \\\n  -d '{\"name\":\"name\",\"image_url\":\"image_url\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n http(s)://{hostname}/api/v3/admin/pre-receive-environments \\\n -d '{\"name\":\"name\",\"image_url\":\"image_url\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n  http(s)://{hostname}/api/v3/admin/pre-receive-environments \\\n  -d '{\"name\":\"name\",\"image_url\":\"image_url\"}'
    " }, { "lang": "JavaScript", @@ -1914,7 +1984,7 @@ { "verb": "get", "requestPath": "/admin/pre-receive-environments/{pre_receive_environment_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "pre_receive_environment_id", @@ -1929,8 +1999,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n https://api.github.com/admin/pre-receive-environments/42", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n  https://api.github.com/admin/pre-receive-environments/42
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n http(s)://{hostname}/api/v3/admin/pre-receive-environments/42", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n  http(s)://{hostname}/api/v3/admin/pre-receive-environments/42
    " }, { "lang": "JavaScript", @@ -1982,7 +2052,7 @@ { "verb": "patch", "requestPath": "/admin/pre-receive-environments/{pre_receive_environment_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "pre_receive_environment_id", @@ -1997,8 +2067,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n https://api.github.com/admin/pre-receive-environments/42 \\\n -d '{\"name\":\"name\"}'", - "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n  https://api.github.com/admin/pre-receive-environments/42 \\\n  -d '{\"name\":\"name\"}'
    " + "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n http(s)://{hostname}/api/v3/admin/pre-receive-environments/42 \\\n -d '{\"name\":\"name\"}'", + "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n  http(s)://{hostname}/api/v3/admin/pre-receive-environments/42 \\\n  -d '{\"name\":\"name\"}'
    " }, { "lang": "JavaScript", @@ -2104,7 +2174,7 @@ { "verb": "delete", "requestPath": "/admin/pre-receive-environments/{pre_receive_environment_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "pre_receive_environment_id", @@ -2119,8 +2189,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n https://api.github.com/admin/pre-receive-environments/42", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n  https://api.github.com/admin/pre-receive-environments/42
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n http(s)://{hostname}/api/v3/admin/pre-receive-environments/42", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n  http(s)://{hostname}/api/v3/admin/pre-receive-environments/42
    " }, { "lang": "JavaScript", @@ -2164,7 +2234,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "422", @@ -2177,7 +2247,7 @@ { "verb": "post", "requestPath": "/admin/pre-receive-environments/{pre_receive_environment_id}/downloads", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "pre_receive_environment_id", @@ -2192,8 +2262,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n https://api.github.com/admin/pre-receive-environments/42/downloads", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n  https://api.github.com/admin/pre-receive-environments/42/downloads
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n http(s)://{hostname}/api/v3/admin/pre-receive-environments/42/downloads", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n  http(s)://{hostname}/api/v3/admin/pre-receive-environments/42/downloads
    " }, { "lang": "JavaScript", @@ -2251,7 +2321,7 @@ { "verb": "get", "requestPath": "/admin/pre-receive-environments/{pre_receive_environment_id}/downloads/latest", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "pre_receive_environment_id", @@ -2266,8 +2336,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n https://api.github.com/admin/pre-receive-environments/42/downloads/latest", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n  https://api.github.com/admin/pre-receive-environments/42/downloads/latest
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n http(s)://{hostname}/api/v3/admin/pre-receive-environments/42/downloads/latest", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n  http(s)://{hostname}/api/v3/admin/pre-receive-environments/42/downloads/latest
    " }, { "lang": "JavaScript", @@ -2319,7 +2389,7 @@ { "verb": "get", "requestPath": "/admin/pre-receive-hooks", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "per_page", @@ -2340,13 +2410,44 @@ "default": 1 }, "descriptionHTML": "

    Page number of the results to fetch.

    " + }, + { + "name": "direction", + "description": "One of `asc` (ascending) or `desc` (descending).", + "in": "query", + "required": false, + "schema": { + "type": "string", + "enum": [ + "asc", + "desc" + ], + "default": "desc" + }, + "descriptionHTML": "

    One of asc (ascending) or desc (descending).

    " + }, + { + "name": "sort", + "description": "One of `created` (when the repository was starred) or `updated` (when it was last pushed to) or `name`.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "enum": [ + "created", + "updated", + "name" + ], + "default": "created" + }, + "descriptionHTML": "

    One of created (when the repository was starred) or updated (when it was last pushed to) or name.

    " } ], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n https://api.github.com/admin/pre-receive-hooks", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n  https://api.github.com/admin/pre-receive-hooks
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n http(s)://{hostname}/api/v3/admin/pre-receive-hooks", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n  http(s)://{hostname}/api/v3/admin/pre-receive-hooks
    " }, { "lang": "JavaScript", @@ -2398,13 +2499,13 @@ { "verb": "post", "requestPath": "/admin/pre-receive-hooks", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n https://api.github.com/admin/pre-receive-hooks \\\n -d '{\"name\":\"name\",\"script\":\"script\",\"script_repository\":{},\"environment\":{}}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n  https://api.github.com/admin/pre-receive-hooks \\\n  -d '{\"name\":\"name\",\"script\":\"script\",\"script_repository\":{},\"environment\":{}}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n http(s)://{hostname}/api/v3/admin/pre-receive-hooks \\\n -d '{\"name\":\"name\",\"script\":\"script\",\"script_repository\":{},\"environment\":{}}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n  http(s)://{hostname}/api/v3/admin/pre-receive-hooks \\\n  -d '{\"name\":\"name\",\"script\":\"script\",\"script_repository\":{},\"environment\":{}}'
    " }, { "lang": "JavaScript", @@ -2602,7 +2703,7 @@ { "verb": "get", "requestPath": "/admin/pre-receive-hooks/{pre_receive_hook_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "pre_receive_hook_id", @@ -2617,8 +2718,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n https://api.github.com/admin/pre-receive-hooks/42", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n  https://api.github.com/admin/pre-receive-hooks/42
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n http(s)://{hostname}/api/v3/admin/pre-receive-hooks/42", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n  http(s)://{hostname}/api/v3/admin/pre-receive-hooks/42
    " }, { "lang": "JavaScript", @@ -2670,7 +2771,7 @@ { "verb": "patch", "requestPath": "/admin/pre-receive-hooks/{pre_receive_hook_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "pre_receive_hook_id", @@ -2685,8 +2786,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n https://api.github.com/admin/pre-receive-hooks/42 \\\n -d '{\"name\":\"name\"}'", - "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n  https://api.github.com/admin/pre-receive-hooks/42 \\\n  -d '{\"name\":\"name\"}'
    " + "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n http(s)://{hostname}/api/v3/admin/pre-receive-hooks/42 \\\n -d '{\"name\":\"name\"}'", + "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n  http(s)://{hostname}/api/v3/admin/pre-receive-hooks/42 \\\n  -d '{\"name\":\"name\"}'
    " }, { "lang": "JavaScript", @@ -2873,7 +2974,7 @@ { "verb": "delete", "requestPath": "/admin/pre-receive-hooks/{pre_receive_hook_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "pre_receive_hook_id", @@ -2888,8 +2989,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n https://api.github.com/admin/pre-receive-hooks/42", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n  https://api.github.com/admin/pre-receive-hooks/42
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n http(s)://{hostname}/api/v3/admin/pre-receive-hooks/42", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n  http(s)://{hostname}/api/v3/admin/pre-receive-hooks/42
    " }, { "lang": "JavaScript", @@ -2931,7 +3032,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "bodyParameters": [], @@ -2940,7 +3041,7 @@ { "verb": "get", "requestPath": "/admin/tokens", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "per_page", @@ -2966,8 +3067,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/admin/tokens", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/admin/tokens
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/admin/tokens", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/admin/tokens
    " }, { "lang": "JavaScript", @@ -3012,7 +3113,7 @@ { "verb": "delete", "requestPath": "/admin/tokens/{token_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "token_id", @@ -3027,8 +3128,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/admin/tokens/42", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/admin/tokens/42
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/admin/tokens/42", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/admin/tokens/42
    " }, { "lang": "JavaScript", @@ -3063,7 +3164,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "bodyParameters": [], @@ -3072,13 +3173,13 @@ { "verb": "post", "requestPath": "/admin/users", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/admin/users \\\n -d '{\"login\":\"login\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/admin/users \\\n  -d '{\"login\":\"login\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/admin/users \\\n -d '{\"login\":\"login\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/admin/users \\\n  -d '{\"login\":\"login\"}'
    " }, { "lang": "JavaScript", @@ -3178,7 +3279,7 @@ { "verb": "patch", "requestPath": "/admin/users/{username}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "username", @@ -3193,8 +3294,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/admin/users/USERNAME \\\n -d '{\"login\":\"login\"}'", - "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/admin/users/USERNAME \\\n  -d '{\"login\":\"login\"}'
    " + "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/admin/users/USERNAME \\\n -d '{\"login\":\"login\"}'", + "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/admin/users/USERNAME \\\n  -d '{\"login\":\"login\"}'
    " }, { "lang": "JavaScript", @@ -3275,7 +3376,7 @@ { "verb": "delete", "requestPath": "/admin/users/{username}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "username", @@ -3290,8 +3391,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/admin/users/USERNAME", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/admin/users/USERNAME
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/admin/users/USERNAME", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/admin/users/USERNAME
    " }, { "lang": "JavaScript", @@ -3326,7 +3427,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "bodyParameters": [], @@ -3335,7 +3436,7 @@ { "verb": "post", "requestPath": "/admin/users/{username}/authorizations", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "username", @@ -3350,8 +3451,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/admin/users/USERNAME/authorizations \\\n -d '{\"scopes\":[\"scopes\"]}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/admin/users/USERNAME/authorizations \\\n  -d '{\"scopes\":[\"scopes\"]}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/admin/users/USERNAME/authorizations \\\n -d '{\"scopes\":[\"scopes\"]}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/admin/users/USERNAME/authorizations \\\n  -d '{\"scopes\":[\"scopes\"]}'
    " }, { "lang": "JavaScript", @@ -3432,7 +3533,7 @@ { "verb": "delete", "requestPath": "/admin/users/{username}/authorizations", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "username", @@ -3447,8 +3548,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/admin/users/USERNAME/authorizations", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/admin/users/USERNAME/authorizations
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/admin/users/USERNAME/authorizations", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/admin/users/USERNAME/authorizations
    " }, { "lang": "JavaScript", @@ -3483,7 +3584,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "bodyParameters": [], @@ -3492,13 +3593,13 @@ { "verb": "get", "requestPath": "/app", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.machine-man-preview+json\" \\\n https://api.github.com/app", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.machine-man-preview+json\" \\\n  https://api.github.com/app
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.machine-man-preview+json\" \\\n http(s)://{hostname}/api/v3/app", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.machine-man-preview+json\" \\\n  http(s)://{hostname}/api/v3/app
    " }, { "lang": "JavaScript", @@ -3547,7 +3648,7 @@ { "verb": "post", "requestPath": "/app-manifests/{code}/conversions", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "code", @@ -3562,8 +3663,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/app-manifests/CODE/conversions", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/app-manifests/CODE/conversions
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/app-manifests/CODE/conversions", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/app-manifests/CODE/conversions
    " }, { "lang": "JavaScript", @@ -3616,7 +3717,7 @@ { "verb": "get", "requestPath": "/app/installations", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "accept", @@ -3653,8 +3754,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.machine-man-preview+json\" \\\n https://api.github.com/app/installations", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.machine-man-preview+json\" \\\n  https://api.github.com/app/installations
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.machine-man-preview+json\" \\\n http(s)://{hostname}/api/v3/app/installations", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.machine-man-preview+json\" \\\n  http(s)://{hostname}/api/v3/app/installations
    " }, { "lang": "JavaScript", @@ -3703,7 +3804,7 @@ { "verb": "get", "requestPath": "/app/installations/{installation_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "accept", @@ -3730,8 +3831,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.machine-man-preview+json\" \\\n https://api.github.com/app/installations/42", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.machine-man-preview+json\" \\\n  https://api.github.com/app/installations/42
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.machine-man-preview+json\" \\\n http(s)://{hostname}/api/v3/app/installations/42", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.machine-man-preview+json\" \\\n  http(s)://{hostname}/api/v3/app/installations/42
    " }, { "lang": "JavaScript", @@ -3790,7 +3891,7 @@ { "verb": "delete", "requestPath": "/app/installations/{installation_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "accept", @@ -3817,8 +3918,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.gambit-preview+json\" \\\n https://api.github.com/app/installations/42", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.gambit-preview+json\" \\\n  https://api.github.com/app/installations/42
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.gambit-preview+json\" \\\n http(s)://{hostname}/api/v3/app/installations/42", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.gambit-preview+json\" \\\n  http(s)://{hostname}/api/v3/app/installations/42
    " }, { "lang": "JavaScript", @@ -3863,7 +3964,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "404", @@ -3877,7 +3978,7 @@ { "verb": "post", "requestPath": "/app/installations/{installation_id}/access_tokens", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "accept", @@ -3904,8 +4005,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.machine-man-preview+json\" \\\n https://api.github.com/app/installations/42/access_tokens \\\n -d '{\"repositories\":[\"repositories\"]}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.machine-man-preview+json\" \\\n  https://api.github.com/app/installations/42/access_tokens \\\n  -d '{\"repositories\":[\"repositories\"]}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.machine-man-preview+json\" \\\n http(s)://{hostname}/api/v3/app/installations/42/access_tokens \\\n -d '{\"repositories\":[\"repositories\"]}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.machine-man-preview+json\" \\\n  http(s)://{hostname}/api/v3/app/installations/42/access_tokens \\\n  -d '{\"repositories\":[\"repositories\"]}'
    " }, { "lang": "JavaScript", @@ -5655,7 +5756,7 @@ { "verb": "get", "requestPath": "/applications/grants", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "per_page", @@ -5676,13 +5777,23 @@ "default": 1 }, "descriptionHTML": "

    Page number of the results to fetch.

    " + }, + { + "name": "client_id", + "in": "query", + "required": false, + "description": "The client ID of your GitHub app.", + "schema": { + "type": "string" + }, + "descriptionHTML": "

    The client ID of your GitHub app.

    " } ], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/applications/grants", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/applications/grants
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/applications/grants", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/applications/grants
    " }, { "lang": "JavaScript", @@ -5748,7 +5859,7 @@ { "verb": "get", "requestPath": "/applications/grants/{grant_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "grant_id", @@ -5764,8 +5875,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/applications/grants/42", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/applications/grants/42
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/applications/grants/42", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/applications/grants/42
    " }, { "lang": "JavaScript", @@ -5826,7 +5937,7 @@ { "verb": "delete", "requestPath": "/applications/grants/{grant_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "grant_id", @@ -5842,8 +5953,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/applications/grants/42", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/applications/grants/42
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/applications/grants/42", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/applications/grants/42
    " }, { "lang": "JavaScript", @@ -5879,7 +5990,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "304", @@ -5903,7 +6014,7 @@ { "verb": "delete", "requestPath": "/applications/{client_id}/grants/{access_token}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "client_id", @@ -5928,8 +6039,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/applications/CLIENT_ID/grants/ACCESS_TOKEN", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/applications/CLIENT_ID/grants/ACCESS_TOKEN
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/applications/CLIENT_ID/grants/ACCESS_TOKEN", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/applications/CLIENT_ID/grants/ACCESS_TOKEN
    " }, { "lang": "JavaScript", @@ -5962,7 +6073,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "bodyParameters": [], @@ -5971,7 +6082,7 @@ { "verb": "get", "requestPath": "/applications/{client_id}/tokens/{access_token}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "client_id", @@ -5996,8 +6107,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/applications/CLIENT_ID/tokens/ACCESS_TOKEN", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/applications/CLIENT_ID/tokens/ACCESS_TOKEN
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/applications/CLIENT_ID/tokens/ACCESS_TOKEN", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/applications/CLIENT_ID/tokens/ACCESS_TOKEN
    " }, { "lang": "JavaScript", @@ -6040,7 +6151,7 @@ { "verb": "post", "requestPath": "/applications/{client_id}/tokens/{access_token}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "client_id", @@ -6065,8 +6176,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/applications/CLIENT_ID/tokens/ACCESS_TOKEN", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/applications/CLIENT_ID/tokens/ACCESS_TOKEN
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/applications/CLIENT_ID/tokens/ACCESS_TOKEN", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/applications/CLIENT_ID/tokens/ACCESS_TOKEN
    " }, { "lang": "JavaScript", @@ -6109,7 +6220,7 @@ { "verb": "delete", "requestPath": "/applications/{client_id}/tokens/{access_token}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "client_id", @@ -6134,8 +6245,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/applications/CLIENT_ID/tokens/ACCESS_TOKEN", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/applications/CLIENT_ID/tokens/ACCESS_TOKEN
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/applications/CLIENT_ID/tokens/ACCESS_TOKEN", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/applications/CLIENT_ID/tokens/ACCESS_TOKEN
    " }, { "lang": "JavaScript", @@ -6168,7 +6279,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "bodyParameters": [], @@ -6177,7 +6288,7 @@ { "verb": "get", "requestPath": "/apps/{app_slug}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "app_slug", @@ -6192,8 +6303,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.machine-man-preview+json\" \\\n https://api.github.com/apps/APP_SLUG", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.machine-man-preview+json\" \\\n  https://api.github.com/apps/APP_SLUG
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.machine-man-preview+json\" \\\n http(s)://{hostname}/api/v3/apps/APP_SLUG", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.machine-man-preview+json\" \\\n  http(s)://{hostname}/api/v3/apps/APP_SLUG
    " }, { "lang": "JavaScript", @@ -6257,7 +6368,7 @@ { "verb": "get", "requestPath": "/authorizations", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "per_page", @@ -6278,13 +6389,23 @@ "default": 1 }, "descriptionHTML": "

    Page number of the results to fetch.

    " + }, + { + "name": "client_id", + "in": "query", + "required": false, + "description": "The client ID of your GitHub app.", + "schema": { + "type": "string" + }, + "descriptionHTML": "

    The client ID of your GitHub app.

    " } ], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/authorizations", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/authorizations
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/authorizations", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/authorizations
    " }, { "lang": "JavaScript", @@ -6350,13 +6471,13 @@ { "verb": "post", "requestPath": "/authorizations", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/authorizations \\\n -d '{\"scopes\":[\"scopes\"]}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/authorizations \\\n  -d '{\"scopes\":[\"scopes\"]}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/authorizations \\\n -d '{\"scopes\":[\"scopes\"]}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/authorizations \\\n  -d '{\"scopes\":[\"scopes\"]}'
    " }, { "lang": "JavaScript", @@ -6569,7 +6690,7 @@ { "verb": "put", "requestPath": "/authorizations/clients/{client_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "client_id", @@ -6585,8 +6706,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/authorizations/clients/CLIENT_ID \\\n -d '{\"client_secret\":\"client_secret\"}'", - "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/authorizations/clients/CLIENT_ID \\\n  -d '{\"client_secret\":\"client_secret\"}'
    " + "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/authorizations/clients/CLIENT_ID \\\n -d '{\"client_secret\":\"client_secret\"}'", + "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/authorizations/clients/CLIENT_ID \\\n  -d '{\"client_secret\":\"client_secret\"}'
    " }, { "lang": "JavaScript", @@ -6783,7 +6904,7 @@ { "verb": "put", "requestPath": "/authorizations/clients/{client_id}/{fingerprint}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "client_id", @@ -6808,8 +6929,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/authorizations/clients/CLIENT_ID/FINGERPRINT \\\n -d '{\"client_secret\":\"client_secret\"}'", - "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/authorizations/clients/CLIENT_ID/FINGERPRINT \\\n  -d '{\"client_secret\":\"client_secret\"}'
    " + "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/authorizations/clients/CLIENT_ID/FINGERPRINT \\\n -d '{\"client_secret\":\"client_secret\"}'", + "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/authorizations/clients/CLIENT_ID/FINGERPRINT \\\n  -d '{\"client_secret\":\"client_secret\"}'
    " }, { "lang": "JavaScript", @@ -6973,7 +7094,7 @@ { "verb": "get", "requestPath": "/authorizations/{authorization_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "authorization_id", @@ -6989,8 +7110,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/authorizations/42", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/authorizations/42
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/authorizations/42", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/authorizations/42
    " }, { "lang": "JavaScript", @@ -7051,7 +7172,7 @@ { "verb": "patch", "requestPath": "/authorizations/{authorization_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "authorization_id", @@ -7067,8 +7188,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/authorizations/42 \\\n -d '{\"scopes\":[\"scopes\"]}'", - "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/authorizations/42 \\\n  -d '{\"scopes\":[\"scopes\"]}'
    " + "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/authorizations/42 \\\n -d '{\"scopes\":[\"scopes\"]}'", + "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/authorizations/42 \\\n  -d '{\"scopes\":[\"scopes\"]}'
    " }, { "lang": "JavaScript", @@ -7269,7 +7390,7 @@ { "verb": "delete", "requestPath": "/authorizations/{authorization_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "authorization_id", @@ -7285,8 +7406,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/authorizations/42", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/authorizations/42
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/authorizations/42", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/authorizations/42
    " }, { "lang": "JavaScript", @@ -7322,7 +7443,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "304", @@ -7346,13 +7467,13 @@ { "verb": "get", "requestPath": "/codes_of_conduct", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.scarlet-witch-preview+json\" \\\n https://api.github.com/codes_of_conduct", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.scarlet-witch-preview+json\" \\\n  https://api.github.com/codes_of_conduct
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.scarlet-witch-preview+json\" \\\n http(s)://{hostname}/api/v3/codes_of_conduct", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.scarlet-witch-preview+json\" \\\n  http(s)://{hostname}/api/v3/codes_of_conduct
    " }, { "lang": "JavaScript", @@ -7412,7 +7533,7 @@ { "verb": "get", "requestPath": "/codes_of_conduct/{key}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "key", @@ -7427,8 +7548,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.scarlet-witch-preview+json\" \\\n https://api.github.com/codes_of_conduct/KEY", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.scarlet-witch-preview+json\" \\\n  https://api.github.com/codes_of_conduct/KEY
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.scarlet-witch-preview+json\" \\\n http(s)://{hostname}/api/v3/codes_of_conduct/KEY", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.scarlet-witch-preview+json\" \\\n  http(s)://{hostname}/api/v3/codes_of_conduct/KEY
    " }, { "lang": "JavaScript", @@ -7493,7 +7614,7 @@ { "verb": "post", "requestPath": "/content_references/{content_reference_id}/attachments", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "content_reference_id", @@ -7508,8 +7629,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.corsair-preview+json\" \\\n https://api.github.com/content_references/42/attachments \\\n -d '{\"title\":\"title\",\"body\":\"body\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.corsair-preview+json\" \\\n  https://api.github.com/content_references/42/attachments \\\n  -d '{\"title\":\"title\",\"body\":\"body\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.corsair-preview+json\" \\\n http(s)://{hostname}/api/v3/content_references/42/attachments \\\n -d '{\"title\":\"title\",\"body\":\"body\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.corsair-preview+json\" \\\n  http(s)://{hostname}/api/v3/content_references/42/attachments \\\n  -d '{\"title\":\"title\",\"body\":\"body\"}'
    " }, { "lang": "JavaScript", @@ -7651,13 +7772,13 @@ { "verb": "get", "requestPath": "/emojis", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/emojis", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/emojis
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/emojis", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/emojis
    " }, { "lang": "JavaScript", @@ -7704,13 +7825,13 @@ { "verb": "get", "requestPath": "/enterprise/settings/license", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/enterprise/settings/license", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/enterprise/settings/license
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/enterprise/settings/license", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/enterprise/settings/license
    " }, { "lang": "JavaScript", @@ -7755,7 +7876,7 @@ { "verb": "get", "requestPath": "/enterprise/stats/{type}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "type", @@ -7770,8 +7891,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/enterprise/stats/TYPE", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/enterprise/stats/TYPE
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/enterprise/stats/TYPE", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/enterprise/stats/TYPE
    " }, { "lang": "JavaScript", @@ -7816,7 +7937,7 @@ { "verb": "get", "requestPath": "/events", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "per_page", @@ -7842,8 +7963,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/events", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/events
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/events", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/events
    " }, { "lang": "JavaScript", @@ -7902,13 +8023,13 @@ { "verb": "get", "requestPath": "/feeds", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/feeds", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/feeds
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/feeds", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/feeds
    " }, { "lang": "JavaScript", @@ -7953,7 +8074,7 @@ { "verb": "get", "requestPath": "/gists", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "since", @@ -7989,8 +8110,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/gists", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/gists
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/gists", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/gists
    " }, { "lang": "JavaScript", @@ -8043,13 +8164,13 @@ { "verb": "post", "requestPath": "/gists", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/gists \\\n -d '{\"files\":{}}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/gists \\\n  -d '{\"files\":{}}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/gists \\\n -d '{\"files\":{}}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/gists \\\n  -d '{\"files\":{}}'
    " }, { "lang": "JavaScript", @@ -8247,7 +8368,7 @@ { "verb": "get", "requestPath": "/gists/public", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "since", @@ -8283,8 +8404,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/gists/public", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/gists/public
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/gists/public", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/gists/public
    " }, { "lang": "JavaScript", @@ -8342,7 +8463,7 @@ { "verb": "get", "requestPath": "/gists/starred", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "since", @@ -8378,8 +8499,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/gists/starred", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/gists/starred
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/gists/starred", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/gists/starred
    " }, { "lang": "JavaScript", @@ -8437,7 +8558,7 @@ { "verb": "get", "requestPath": "/gists/{gist_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "gist_id", @@ -8453,8 +8574,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/gists/GIST_ID", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/gists/GIST_ID
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/gists/GIST_ID", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/gists/GIST_ID
    " }, { "lang": "JavaScript", @@ -8512,7 +8633,7 @@ { "verb": "patch", "requestPath": "/gists/{gist_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "gist_id", @@ -8528,8 +8649,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/gists/GIST_ID \\\n -d '{\"description\":\"description\"}'", - "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/gists/GIST_ID \\\n  -d '{\"description\":\"description\"}'
    " + "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/gists/GIST_ID \\\n -d '{\"description\":\"description\"}'", + "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/gists/GIST_ID \\\n  -d '{\"description\":\"description\"}'
    " }, { "lang": "JavaScript", @@ -8719,7 +8840,7 @@ { "verb": "delete", "requestPath": "/gists/{gist_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "gist_id", @@ -8735,8 +8856,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/gists/GIST_ID", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/gists/GIST_ID
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/gists/GIST_ID", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/gists/GIST_ID
    " }, { "lang": "JavaScript", @@ -8769,7 +8890,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "304", @@ -8793,7 +8914,7 @@ { "verb": "get", "requestPath": "/gists/{gist_id}/comments", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "gist_id", @@ -8829,8 +8950,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/gists/GIST_ID/comments", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/gists/GIST_ID/comments
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/gists/GIST_ID/comments", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/gists/GIST_ID/comments
    " }, { "lang": "JavaScript", @@ -8890,7 +9011,7 @@ { "verb": "post", "requestPath": "/gists/{gist_id}/comments", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "gist_id", @@ -8906,8 +9027,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/gists/GIST_ID/comments \\\n -d '{\"body\":\"body\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/gists/GIST_ID/comments \\\n  -d '{\"body\":\"body\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/gists/GIST_ID/comments \\\n -d '{\"body\":\"body\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/gists/GIST_ID/comments \\\n  -d '{\"body\":\"body\"}'
    " }, { "lang": "JavaScript", @@ -9004,7 +9125,7 @@ { "verb": "get", "requestPath": "/gists/{gist_id}/comments/{comment_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "gist_id", @@ -9030,8 +9151,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/gists/GIST_ID/comments/42", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/gists/GIST_ID/comments/42
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/gists/GIST_ID/comments/42", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/gists/GIST_ID/comments/42
    " }, { "lang": "JavaScript", @@ -9091,7 +9212,7 @@ { "verb": "patch", "requestPath": "/gists/{gist_id}/comments/{comment_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "gist_id", @@ -9117,8 +9238,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/gists/GIST_ID/comments/42 \\\n -d '{\"body\":\"body\"}'", - "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/gists/GIST_ID/comments/42 \\\n  -d '{\"body\":\"body\"}'
    " + "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/gists/GIST_ID/comments/42 \\\n -d '{\"body\":\"body\"}'", + "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/gists/GIST_ID/comments/42 \\\n  -d '{\"body\":\"body\"}'
    " }, { "lang": "JavaScript", @@ -9205,7 +9326,7 @@ { "verb": "delete", "requestPath": "/gists/{gist_id}/comments/{comment_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "gist_id", @@ -9231,8 +9352,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/gists/GIST_ID/comments/42", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/gists/GIST_ID/comments/42
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/gists/GIST_ID/comments/42", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/gists/GIST_ID/comments/42
    " }, { "lang": "JavaScript", @@ -9267,7 +9388,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "304", @@ -9291,7 +9412,7 @@ { "verb": "get", "requestPath": "/gists/{gist_id}/commits", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "gist_id", @@ -9327,8 +9448,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/gists/GIST_ID/commits", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/gists/GIST_ID/commits
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/gists/GIST_ID/commits", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/gists/GIST_ID/commits
    " }, { "lang": "JavaScript", @@ -9386,7 +9507,7 @@ { "verb": "get", "requestPath": "/gists/{gist_id}/forks", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "gist_id", @@ -9422,8 +9543,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/gists/GIST_ID/forks", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/gists/GIST_ID/forks
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/gists/GIST_ID/forks", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/gists/GIST_ID/forks
    " }, { "lang": "JavaScript", @@ -9481,7 +9602,7 @@ { "verb": "post", "requestPath": "/gists/{gist_id}/forks", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "gist_id", @@ -9497,8 +9618,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/gists/GIST_ID/forks", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/gists/GIST_ID/forks
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/gists/GIST_ID/forks", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/gists/GIST_ID/forks
    " }, { "lang": "JavaScript", @@ -9561,7 +9682,7 @@ { "verb": "get", "requestPath": "/gists/{gist_id}/star", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "gist_id", @@ -9577,8 +9698,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/gists/GIST_ID/star", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/gists/GIST_ID/star
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/gists/GIST_ID/star", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/gists/GIST_ID/star
    " }, { "lang": "JavaScript", @@ -9635,7 +9756,7 @@ { "verb": "put", "requestPath": "/gists/{gist_id}/star", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "gist_id", @@ -9651,8 +9772,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/gists/GIST_ID/star", - "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/gists/GIST_ID/star
    " + "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/gists/GIST_ID/star", + "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/gists/GIST_ID/star
    " }, { "lang": "JavaScript", @@ -9685,7 +9806,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "304", @@ -9709,7 +9830,7 @@ { "verb": "delete", "requestPath": "/gists/{gist_id}/star", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "gist_id", @@ -9725,8 +9846,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/gists/GIST_ID/star", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/gists/GIST_ID/star
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/gists/GIST_ID/star", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/gists/GIST_ID/star
    " }, { "lang": "JavaScript", @@ -9759,7 +9880,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "304", @@ -9783,7 +9904,7 @@ { "verb": "get", "requestPath": "/gists/{gist_id}/{sha}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "gist_id", @@ -9808,8 +9929,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/gists/GIST_ID/SHA", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/gists/GIST_ID/SHA
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/gists/GIST_ID/SHA", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/gists/GIST_ID/SHA
    " }, { "lang": "JavaScript", @@ -9867,13 +9988,13 @@ { "verb": "get", "requestPath": "/gitignore/templates", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/gitignore/templates", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/gitignore/templates
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/gitignore/templates", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/gitignore/templates
    " }, { "lang": "JavaScript", @@ -9921,7 +10042,7 @@ { "verb": "get", "requestPath": "/gitignore/templates/{name}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "name", @@ -9936,8 +10057,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/gitignore/templates/NAME", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/gitignore/templates/NAME
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/gitignore/templates/NAME", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/gitignore/templates/NAME
    " }, { "lang": "JavaScript", @@ -9985,7 +10106,7 @@ { "verb": "get", "requestPath": "/installation/repositories", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "accept", @@ -10022,8 +10143,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.machine-man-preview+json\" \\\n https://api.github.com/installation/repositories", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.machine-man-preview+json\" \\\n  https://api.github.com/installation/repositories
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.machine-man-preview+json\" \\\n http(s)://{hostname}/api/v3/installation/repositories", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.machine-man-preview+json\" \\\n  http(s)://{hostname}/api/v3/installation/repositories
    " }, { "lang": "JavaScript", @@ -10096,7 +10217,7 @@ { "verb": "get", "requestPath": "/issues", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "filter", @@ -10110,6 +10231,7 @@ "created", "mentioned", "subscribed", + "repos", "all" ], "default": "assigned" @@ -10243,8 +10365,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/issues", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/issues
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/issues", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/issues
    " }, { "lang": "JavaScript", @@ -10308,7 +10430,7 @@ { "verb": "get", "requestPath": "/licenses", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "featured", @@ -10328,13 +10450,23 @@ "default": 30 }, "descriptionHTML": "

    Results per page (max 100).

    " + }, + { + "name": "page", + "description": "Page number of the results to fetch.", + "in": "query", + "schema": { + "type": "integer", + "default": 1 + }, + "descriptionHTML": "

    Page number of the results to fetch.

    " } ], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/licenses", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/licenses
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/licenses", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/licenses
    " }, { "lang": "JavaScript", @@ -10382,7 +10514,7 @@ { "verb": "get", "requestPath": "/licenses/{license}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "license", @@ -10397,8 +10529,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/licenses/LICENSE", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/licenses/LICENSE
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/licenses/LICENSE", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/licenses/LICENSE
    " }, { "lang": "JavaScript", @@ -10456,13 +10588,13 @@ { "verb": "post", "requestPath": "/markdown", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/markdown \\\n -d '{\"text\":\"text\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/markdown \\\n  -d '{\"text\":\"text\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/markdown \\\n -d '{\"text\":\"text\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/markdown \\\n  -d '{\"text\":\"text\"}'
    " }, { "lang": "JavaScript", @@ -10590,13 +10722,13 @@ { "verb": "post", "requestPath": "/markdown/raw", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/markdown/raw", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/markdown/raw
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/markdown/raw", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/markdown/raw
    " }, { "lang": "JavaScript", @@ -10657,13 +10789,13 @@ { "verb": "get", "requestPath": "/meta", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/meta", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/meta
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/meta", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/meta
    " }, { "lang": "JavaScript", @@ -10711,7 +10843,7 @@ { "verb": "get", "requestPath": "/networks/{owner}/{repo}/events", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -10755,8 +10887,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/networks/octocat/hello-world/events", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/networks/octocat/hello-world/events
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/networks/octocat/hello-world/events", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/networks/octocat/hello-world/events
    " }, { "lang": "JavaScript", @@ -10820,7 +10952,7 @@ { "verb": "get", "requestPath": "/notifications", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "all", @@ -10888,8 +11020,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/notifications", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/notifications
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/notifications", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/notifications
    " }, { "lang": "JavaScript", @@ -10954,13 +11086,13 @@ { "verb": "put", "requestPath": "/notifications", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/notifications \\\n -d '{\"last_read_at\":\"last_read_at\"}'", - "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/notifications \\\n  -d '{\"last_read_at\":\"last_read_at\"}'
    " + "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/notifications \\\n -d '{\"last_read_at\":\"last_read_at\"}'", + "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/notifications \\\n  -d '{\"last_read_at\":\"last_read_at\"}'
    " }, { "lang": "JavaScript", @@ -11074,7 +11206,7 @@ { "verb": "get", "requestPath": "/notifications/threads/{thread_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "thread_id", @@ -11090,8 +11222,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/notifications/threads/42", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/notifications/threads/42
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/notifications/threads/42", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/notifications/threads/42
    " }, { "lang": "JavaScript", @@ -11151,7 +11283,7 @@ { "verb": "patch", "requestPath": "/notifications/threads/{thread_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "thread_id", @@ -11167,8 +11299,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/notifications/threads/42", - "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/notifications/threads/42
    " + "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/notifications/threads/42", + "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/notifications/threads/42
    " }, { "lang": "JavaScript", @@ -11222,7 +11354,7 @@ { "verb": "get", "requestPath": "/notifications/threads/{thread_id}/subscription", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "thread_id", @@ -11238,8 +11370,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/notifications/threads/42/subscription", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/notifications/threads/42/subscription
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/notifications/threads/42/subscription", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/notifications/threads/42/subscription
    " }, { "lang": "JavaScript", @@ -11299,7 +11431,7 @@ { "verb": "put", "requestPath": "/notifications/threads/{thread_id}/subscription", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "thread_id", @@ -11315,8 +11447,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/notifications/threads/42/subscription \\\n -d '{\"ignored\":true}'", - "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/notifications/threads/42/subscription \\\n  -d '{\"ignored\":true}'
    " + "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/notifications/threads/42/subscription \\\n -d '{\"ignored\":true}'", + "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/notifications/threads/42/subscription \\\n  -d '{\"ignored\":true}'
    " }, { "lang": "JavaScript", @@ -11408,7 +11540,7 @@ { "verb": "delete", "requestPath": "/notifications/threads/{thread_id}/subscription", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "thread_id", @@ -11424,8 +11556,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/notifications/threads/42/subscription", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/notifications/threads/42/subscription
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/notifications/threads/42/subscription", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/notifications/threads/42/subscription
    " }, { "lang": "JavaScript", @@ -11460,7 +11592,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "304", @@ -11484,7 +11616,7 @@ { "verb": "get", "requestPath": "/octocat", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "s", @@ -11500,8 +11632,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/octocat", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/octocat
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/octocat", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/octocat
    " }, { "lang": "JavaScript", @@ -11538,7 +11670,7 @@ { "verb": "get", "requestPath": "/organizations", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "since", @@ -11564,8 +11696,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/organizations", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/organizations
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/organizations", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/organizations
    " }, { "lang": "JavaScript", @@ -11613,7 +11745,7 @@ { "verb": "get", "requestPath": "/orgs/{org}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "org", @@ -11628,8 +11760,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/orgs/ORG", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/orgs/ORG
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG
    " }, { "lang": "JavaScript", @@ -11672,13 +11804,7 @@ "httpStatusCode": "200", "httpStatusMessage": "OK", "description": "Default response", - "payload": "
    {\n  \"login\": \"github\",\n  \"id\": 1,\n  \"node_id\": \"MDEyOk9yZ2FuaXphdGlvbjE=\",\n  \"url\": \"https://api.github.com/orgs/github\",\n  \"repos_url\": \"https://api.github.com/orgs/github/repos\",\n  \"events_url\": \"https://api.github.com/orgs/github/events\",\n  \"hooks_url\": \"https://api.github.com/orgs/github/hooks\",\n  \"issues_url\": \"https://api.github.com/orgs/github/issues\",\n  \"members_url\": \"https://api.github.com/orgs/github/members{/member}\",\n  \"public_members_url\": \"https://api.github.com/orgs/github/public_members{/member}\",\n  \"avatar_url\": \"https://github.com/images/error/octocat_happy.gif\",\n  \"description\": \"A great organization\",\n  \"name\": \"github\",\n  \"company\": \"GitHub\",\n  \"blog\": \"https://github.com/blog\",\n  \"location\": \"San Francisco\",\n  \"email\": \"octocat@github.com\",\n  \"twitter_username\": \"github\",\n  \"is_verified\": true,\n  \"has_organization_projects\": true,\n  \"has_repository_projects\": true,\n  \"public_repos\": 2,\n  \"public_gists\": 1,\n  \"followers\": 20,\n  \"following\": 0,\n  \"html_url\": \"https://github.com/octocat\",\n  \"created_at\": \"2008-01-14T04:33:35Z\",\n  \"updated_at\": \"2014-03-03T18:58:10Z\",\n  \"type\": \"Organization\",\n  \"total_private_repos\": 100,\n  \"owned_private_repos\": 100,\n  \"private_gists\": 81,\n  \"disk_usage\": 10000,\n  \"collaborators\": 8,\n  \"billing_email\": \"mona@github.com\",\n  \"plan\": {\n    \"name\": \"Medium\",\n    \"space\": 400,\n    \"private_repos\": 20\n  },\n  \"default_repository_permission\": \"read\",\n  \"members_can_create_repositories\": true,\n  \"two_factor_requirement_enabled\": true,\n  \"members_allowed_repository_creation_type\": \"all\",\n  \"members_can_create_public_repositories\": false,\n  \"members_can_create_private_repositories\": false,\n  \"members_can_create_internal_repositories\": false,\n  \"members_can_create_pages\": true\n}\n
    " - }, - { - "httpStatusCode": "200", - "httpStatusMessage": "OK", - "description": "Response with GitHub plan information", - "payload": "
    {\n  \"login\": \"github\",\n  \"id\": 1,\n  \"node_id\": \"MDEyOk9yZ2FuaXphdGlvbjE=\",\n  \"url\": \"https://api.github.com/orgs/github\",\n  \"repos_url\": \"https://api.github.com/orgs/github/repos\",\n  \"events_url\": \"https://api.github.com/orgs/github/events\",\n  \"hooks_url\": \"https://api.github.com/orgs/github/hooks\",\n  \"issues_url\": \"https://api.github.com/orgs/github/issues\",\n  \"members_url\": \"https://api.github.com/orgs/github/members{/member}\",\n  \"public_members_url\": \"https://api.github.com/orgs/github/public_members{/member}\",\n  \"avatar_url\": \"https://github.com/images/error/octocat_happy.gif\",\n  \"description\": \"A great organization\",\n  \"name\": \"github\",\n  \"company\": \"GitHub\",\n  \"blog\": \"https://github.com/blog\",\n  \"location\": \"San Francisco\",\n  \"email\": \"octocat@github.com\",\n  \"twitter_username\": \"github\",\n  \"is_verified\": true,\n  \"has_organization_projects\": true,\n  \"has_repository_projects\": true,\n  \"public_repos\": 2,\n  \"public_gists\": 1,\n  \"followers\": 20,\n  \"following\": 0,\n  \"html_url\": \"https://github.com/octocat\",\n  \"created_at\": \"2008-01-14T04:33:35Z\",\n  \"updated_at\": \"2014-03-03T18:58:10Z\",\n  \"type\": \"Organization\",\n  \"plan\": {\n    \"name\": \"team\",\n    \"space\": 976562499,\n    \"private_repos\": 999999,\n    \"filled_seats\": 4,\n    \"seats\": 5\n  }\n}\n
    " + "payload": "
    {\n  \"login\": \"github\",\n  \"id\": 1,\n  \"node_id\": \"MDEyOk9yZ2FuaXphdGlvbjE=\",\n  \"url\": \"https://api.github.com/orgs/github\",\n  \"repos_url\": \"https://api.github.com/orgs/github/repos\",\n  \"events_url\": \"https://api.github.com/orgs/github/events\",\n  \"hooks_url\": \"https://api.github.com/orgs/github/hooks\",\n  \"issues_url\": \"https://api.github.com/orgs/github/issues\",\n  \"members_url\": \"https://api.github.com/orgs/github/members{/member}\",\n  \"public_members_url\": \"https://api.github.com/orgs/github/public_members{/member}\",\n  \"avatar_url\": \"https://github.com/images/error/octocat_happy.gif\",\n  \"description\": \"A great organization\",\n  \"name\": \"github\",\n  \"company\": \"GitHub\",\n  \"blog\": \"https://github.com/blog\",\n  \"location\": \"San Francisco\",\n  \"email\": \"octocat@github.com\",\n  \"twitter_username\": \"github\",\n  \"is_verified\": true,\n  \"has_organization_projects\": true,\n  \"has_repository_projects\": true,\n  \"public_repos\": 2,\n  \"public_gists\": 1,\n  \"followers\": 20,\n  \"following\": 0,\n  \"html_url\": \"https://github.com/octocat\",\n  \"created_at\": \"2008-01-14T04:33:35Z\",\n  \"updated_at\": \"2014-03-03T18:58:10Z\",\n  \"type\": \"Organization\",\n  \"total_private_repos\": 100,\n  \"owned_private_repos\": 100,\n  \"private_gists\": 81,\n  \"disk_usage\": 10000,\n  \"collaborators\": 8,\n  \"billing_email\": \"mona@github.com\",\n  \"plan\": {\n    \"name\": \"Medium\",\n    \"space\": 400,\n    \"private_repos\": 20,\n    \"filled_seats\": 4,\n    \"seats\": 5\n  },\n  \"default_repository_permission\": \"read\",\n  \"members_can_create_repositories\": true,\n  \"two_factor_requirement_enabled\": true,\n  \"members_allowed_repository_creation_type\": \"all\",\n  \"members_can_create_public_repositories\": false,\n  \"members_can_create_private_repositories\": false,\n  \"members_can_create_internal_repositories\": false,\n  \"members_can_create_pages\": true\n}\n
    " }, { "httpStatusCode": "404", @@ -11690,7 +11816,7 @@ { "verb": "patch", "requestPath": "/orgs/{org}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "org", @@ -11705,8 +11831,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/orgs/ORG \\\n -d '{\"billing_email\":\"billing_email\"}'", - "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/orgs/ORG \\\n  -d '{\"billing_email\":\"billing_email\"}'
    " + "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG \\\n -d '{\"billing_email\":\"billing_email\"}'", + "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG \\\n  -d '{\"billing_email\":\"billing_email\"}'
    " }, { "lang": "JavaScript", @@ -12109,7 +12235,7 @@ { "verb": "get", "requestPath": "/orgs/{org}/events", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "org", @@ -12144,8 +12270,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/orgs/ORG/events", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/orgs/ORG/events
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/events", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/events
    " }, { "lang": "JavaScript", @@ -12189,7 +12315,7 @@ { "verb": "get", "requestPath": "/orgs/{org}/hooks", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "org", @@ -12224,8 +12350,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/orgs/ORG/hooks", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/orgs/ORG/hooks
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/hooks", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/hooks
    " }, { "lang": "JavaScript", @@ -12275,7 +12401,7 @@ { "verb": "post", "requestPath": "/orgs/{org}/hooks", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "org", @@ -12290,8 +12416,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/orgs/ORG/hooks \\\n -d '{\"name\":\"name\",\"config\":{\"url\":\"url\",\"content_type\":\"content_type\",\"secret\":\"secret\",\"insecure_ssl\":\"insecure_ssl\",\"username\":\"username\",\"password\":\"password\"}}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/orgs/ORG/hooks \\\n  -d '{\"name\":\"name\",\"config\":{\"url\":\"url\",\"content_type\":\"content_type\",\"secret\":\"secret\",\"insecure_ssl\":\"insecure_ssl\",\"username\":\"username\",\"password\":\"password\"}}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/hooks \\\n -d '{\"name\":\"name\",\"config\":{\"url\":\"url\",\"content_type\":\"content_type\",\"secret\":\"secret\",\"insecure_ssl\":\"insecure_ssl\",\"username\":\"username\",\"password\":\"password\"}}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/hooks \\\n  -d '{\"name\":\"name\",\"config\":{\"url\":\"url\",\"content_type\":\"content_type\",\"secret\":\"secret\",\"insecure_ssl\":\"insecure_ssl\",\"username\":\"username\",\"password\":\"password\"}}'
    " }, { "lang": "JavaScript", @@ -12722,7 +12848,7 @@ { "verb": "get", "requestPath": "/orgs/{org}/hooks/{hook_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "org", @@ -12746,8 +12872,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/orgs/ORG/hooks/42", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/orgs/ORG/hooks/42
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/hooks/42", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/hooks/42
    " }, { "lang": "JavaScript", @@ -12797,7 +12923,7 @@ { "verb": "patch", "requestPath": "/orgs/{org}/hooks/{hook_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "org", @@ -12821,8 +12947,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/orgs/ORG/hooks/42 \\\n -d '{\"config\":{\"url\":\"url\",\"content_type\":\"content_type\",\"secret\":\"secret\",\"insecure_ssl\":\"insecure_ssl\"}}'", - "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/orgs/ORG/hooks/42 \\\n  -d '{\"config\":{\"url\":\"url\",\"content_type\":\"content_type\",\"secret\":\"secret\",\"insecure_ssl\":\"insecure_ssl\"}}'
    " + "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/hooks/42 \\\n -d '{\"config\":{\"url\":\"url\",\"content_type\":\"content_type\",\"secret\":\"secret\",\"insecure_ssl\":\"insecure_ssl\"}}'", + "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/hooks/42 \\\n  -d '{\"config\":{\"url\":\"url\",\"content_type\":\"content_type\",\"secret\":\"secret\",\"insecure_ssl\":\"insecure_ssl\"}}'
    " }, { "lang": "JavaScript", @@ -13171,7 +13297,7 @@ { "verb": "delete", "requestPath": "/orgs/{org}/hooks/{hook_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "org", @@ -13195,8 +13321,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/orgs/ORG/hooks/42", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/orgs/ORG/hooks/42
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/hooks/42", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/hooks/42
    " }, { "lang": "JavaScript", @@ -13231,7 +13357,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "404", @@ -13245,7 +13371,7 @@ { "verb": "post", "requestPath": "/orgs/{org}/hooks/{hook_id}/pings", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "org", @@ -13269,8 +13395,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/orgs/ORG/hooks/42/pings", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/orgs/ORG/hooks/42/pings
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/hooks/42/pings", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/hooks/42/pings
    " }, { "lang": "JavaScript", @@ -13305,7 +13431,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "404", @@ -13319,7 +13445,7 @@ { "verb": "get", "requestPath": "/orgs/{org}/installation", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "accept", @@ -13345,8 +13471,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.machine-man-preview+json\" \\\n https://api.github.com/orgs/ORG/installation", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.machine-man-preview+json\" \\\n  https://api.github.com/orgs/ORG/installation
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.machine-man-preview+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/installation", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.machine-man-preview+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/installation
    " }, { "lang": "JavaScript", @@ -13395,7 +13521,7 @@ { "verb": "get", "requestPath": "/orgs/{org}/installations", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "accept", @@ -13441,8 +13567,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.machine-man-preview+json\" \\\n https://api.github.com/orgs/ORG/installations", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.machine-man-preview+json\" \\\n  https://api.github.com/orgs/ORG/installations
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.machine-man-preview+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/installations", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.machine-man-preview+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/installations
    " }, { "lang": "JavaScript", @@ -13491,7 +13617,7 @@ { "verb": "get", "requestPath": "/orgs/{org}/issues", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "org", @@ -13514,6 +13640,7 @@ "created", "mentioned", "subscribed", + "repos", "all" ], "default": "assigned" @@ -13611,8 +13738,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/orgs/ORG/issues", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/orgs/ORG/issues
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/issues", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/issues
    " }, { "lang": "JavaScript", @@ -13666,7 +13793,7 @@ { "verb": "get", "requestPath": "/orgs/{org}/members", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "org", @@ -13732,8 +13859,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/orgs/ORG/members", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/orgs/ORG/members
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/members", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/members
    " }, { "lang": "JavaScript", @@ -13788,7 +13915,7 @@ { "verb": "get", "requestPath": "/orgs/{org}/members/{username}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "org", @@ -13812,8 +13939,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/orgs/ORG/members/USERNAME", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/orgs/ORG/members/USERNAME
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/members/USERNAME", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/members/USERNAME
    " }, { "lang": "JavaScript", @@ -13867,7 +13994,7 @@ { "verb": "delete", "requestPath": "/orgs/{org}/members/{username}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "org", @@ -13891,8 +14018,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/orgs/ORG/members/USERNAME", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/orgs/ORG/members/USERNAME
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/members/USERNAME", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/members/USERNAME
    " }, { "lang": "JavaScript", @@ -13927,7 +14054,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "403", @@ -13941,7 +14068,7 @@ { "verb": "get", "requestPath": "/orgs/{org}/memberships/{username}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "org", @@ -13965,8 +14092,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/orgs/ORG/memberships/USERNAME", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/orgs/ORG/memberships/USERNAME
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/memberships/USERNAME", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/memberships/USERNAME
    " }, { "lang": "JavaScript", @@ -13975,7 +14102,7 @@ } ], "summary": "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.", + "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.", "tags": [ "orgs" ], @@ -13998,7 +14125,7 @@ "subcategoryLabel": "Members", "notes": [], "bodyParameters": [], - "descriptionHTML": "

    In order to get a user's membership with an organization, the authenticated user must be an organization member.

    ", + "descriptionHTML": "

    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.

    ", "responses": [ { "httpStatusCode": "200", @@ -14006,18 +14133,6 @@ "description": "Response if user has an active admin membership with organization", "payload": "
    {\n  \"url\": \"https://api.github.com/orgs/octocat/memberships/defunkt\",\n  \"state\": \"active\",\n  \"role\": \"admin\",\n  \"organization_url\": \"https://api.github.com/orgs/octocat\",\n  \"organization\": {\n    \"login\": \"github\",\n    \"id\": 1,\n    \"node_id\": \"MDEyOk9yZ2FuaXphdGlvbjE=\",\n    \"url\": \"https://api.github.com/orgs/github\",\n    \"repos_url\": \"https://api.github.com/orgs/github/repos\",\n    \"events_url\": \"https://api.github.com/orgs/github/events\",\n    \"hooks_url\": \"https://api.github.com/orgs/github/hooks\",\n    \"issues_url\": \"https://api.github.com/orgs/github/issues\",\n    \"members_url\": \"https://api.github.com/orgs/github/members{/member}\",\n    \"public_members_url\": \"https://api.github.com/orgs/github/public_members{/member}\",\n    \"avatar_url\": \"https://github.com/images/error/octocat_happy.gif\",\n    \"description\": \"A great organization\"\n  },\n  \"user\": {\n    \"login\": \"octocat\",\n    \"id\": 1,\n    \"node_id\": \"MDQ6VXNlcjE=\",\n    \"avatar_url\": \"https://github.com/images/error/octocat_happy.gif\",\n    \"gravatar_id\": \"\",\n    \"url\": \"https://api.github.com/users/octocat\",\n    \"html_url\": \"https://github.com/octocat\",\n    \"followers_url\": \"https://api.github.com/users/octocat/followers\",\n    \"following_url\": \"https://api.github.com/users/octocat/following{/other_user}\",\n    \"gists_url\": \"https://api.github.com/users/octocat/gists{/gist_id}\",\n    \"starred_url\": \"https://api.github.com/users/octocat/starred{/owner}{/repo}\",\n    \"subscriptions_url\": \"https://api.github.com/users/octocat/subscriptions\",\n    \"organizations_url\": \"https://api.github.com/users/octocat/orgs\",\n    \"repos_url\": \"https://api.github.com/users/octocat/repos\",\n    \"events_url\": \"https://api.github.com/users/octocat/events{/privacy}\",\n    \"received_events_url\": \"https://api.github.com/users/octocat/received_events\",\n    \"type\": \"User\",\n    \"site_admin\": false\n  }\n}\n
    " }, - { - "httpStatusCode": "200", - "httpStatusMessage": "OK", - "description": "Response if user has an active membership with organization", - "payload": "
    {\n  \"url\": \"https://api.github.com/orgs/octocat/memberships/defunkt\",\n  \"state\": \"active\",\n  \"role\": \"member\",\n  \"organization_url\": \"https://api.github.com/orgs/octocat\",\n  \"organization\": {\n    \"login\": \"github\",\n    \"id\": 1,\n    \"node_id\": \"MDEyOk9yZ2FuaXphdGlvbjE=\",\n    \"url\": \"https://api.github.com/orgs/github\",\n    \"repos_url\": \"https://api.github.com/orgs/github/repos\",\n    \"events_url\": \"https://api.github.com/orgs/github/events\",\n    \"hooks_url\": \"https://api.github.com/orgs/github/hooks\",\n    \"issues_url\": \"https://api.github.com/orgs/github/issues\",\n    \"members_url\": \"https://api.github.com/orgs/github/members{/member}\",\n    \"public_members_url\": \"https://api.github.com/orgs/github/public_members{/member}\",\n    \"avatar_url\": \"https://github.com/images/error/octocat_happy.gif\",\n    \"description\": \"A great organization\"\n  },\n  \"user\": {\n    \"login\": \"octocat\",\n    \"id\": 1,\n    \"node_id\": \"MDQ6VXNlcjE=\",\n    \"avatar_url\": \"https://github.com/images/error/octocat_happy.gif\",\n    \"gravatar_id\": \"\",\n    \"url\": \"https://api.github.com/users/octocat\",\n    \"html_url\": \"https://github.com/octocat\",\n    \"followers_url\": \"https://api.github.com/users/octocat/followers\",\n    \"following_url\": \"https://api.github.com/users/octocat/following{/other_user}\",\n    \"gists_url\": \"https://api.github.com/users/octocat/gists{/gist_id}\",\n    \"starred_url\": \"https://api.github.com/users/octocat/starred{/owner}{/repo}\",\n    \"subscriptions_url\": \"https://api.github.com/users/octocat/subscriptions\",\n    \"organizations_url\": \"https://api.github.com/users/octocat/orgs\",\n    \"repos_url\": \"https://api.github.com/users/octocat/repos\",\n    \"events_url\": \"https://api.github.com/users/octocat/events{/privacy}\",\n    \"received_events_url\": \"https://api.github.com/users/octocat/received_events\",\n    \"type\": \"User\",\n    \"site_admin\": false\n  }\n}\n
    " - }, - { - "httpStatusCode": "200", - "httpStatusMessage": "OK", - "description": "Response if user has a pending membership with organization", - "payload": "
    {\n  \"url\": \"https://api.github.com/orgs/invitocat/memberships/defunkt\",\n  \"state\": \"pending\",\n  \"role\": \"member\",\n  \"organization_url\": \"https://api.github.com/orgs/invitocat\",\n  \"organization\": {\n    \"login\": \"github\",\n    \"id\": 1,\n    \"node_id\": \"MDEyOk9yZ2FuaXphdGlvbjE=\",\n    \"url\": \"https://api.github.com/orgs/github\",\n    \"repos_url\": \"https://api.github.com/orgs/github/repos\",\n    \"events_url\": \"https://api.github.com/orgs/github/events\",\n    \"hooks_url\": \"https://api.github.com/orgs/github/hooks\",\n    \"issues_url\": \"https://api.github.com/orgs/github/issues\",\n    \"members_url\": \"https://api.github.com/orgs/github/members{/member}\",\n    \"public_members_url\": \"https://api.github.com/orgs/github/public_members{/member}\",\n    \"avatar_url\": \"https://github.com/images/error/octocat_happy.gif\",\n    \"description\": \"A great organization\"\n  },\n  \"user\": {\n    \"login\": \"octocat\",\n    \"id\": 1,\n    \"node_id\": \"MDQ6VXNlcjE=\",\n    \"avatar_url\": \"https://github.com/images/error/octocat_happy.gif\",\n    \"gravatar_id\": \"\",\n    \"url\": \"https://api.github.com/users/octocat\",\n    \"html_url\": \"https://github.com/octocat\",\n    \"followers_url\": \"https://api.github.com/users/octocat/followers\",\n    \"following_url\": \"https://api.github.com/users/octocat/following{/other_user}\",\n    \"gists_url\": \"https://api.github.com/users/octocat/gists{/gist_id}\",\n    \"starred_url\": \"https://api.github.com/users/octocat/starred{/owner}{/repo}\",\n    \"subscriptions_url\": \"https://api.github.com/users/octocat/subscriptions\",\n    \"organizations_url\": \"https://api.github.com/users/octocat/orgs\",\n    \"repos_url\": \"https://api.github.com/users/octocat/repos\",\n    \"events_url\": \"https://api.github.com/users/octocat/events{/privacy}\",\n    \"received_events_url\": \"https://api.github.com/users/octocat/received_events\",\n    \"type\": \"User\",\n    \"site_admin\": false\n  }\n}\n
    " - }, { "httpStatusCode": "403", "httpStatusMessage": "Forbidden", @@ -14033,7 +14148,7 @@ { "verb": "put", "requestPath": "/orgs/{org}/memberships/{username}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "org", @@ -14057,8 +14172,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/orgs/ORG/memberships/USERNAME \\\n -d '{\"role\":\"role\"}'", - "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/orgs/ORG/memberships/USERNAME \\\n  -d '{\"role\":\"role\"}'
    " + "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/memberships/USERNAME \\\n -d '{\"role\":\"role\"}'", + "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/memberships/USERNAME \\\n  -d '{\"role\":\"role\"}'
    " }, { "lang": "JavaScript", @@ -14135,13 +14250,7 @@ { "httpStatusCode": "200", "httpStatusMessage": "OK", - "description": "Response if user was previously unaffiliated with organization", - "payload": "
    {\n  \"url\": \"https://api.github.com/orgs/invitocat/memberships/defunkt\",\n  \"state\": \"pending\",\n  \"role\": \"admin\",\n  \"organization_url\": \"https://api.github.com/orgs/invitocat\",\n  \"organization\": {\n    \"login\": \"github\",\n    \"id\": 1,\n    \"node_id\": \"MDEyOk9yZ2FuaXphdGlvbjE=\",\n    \"url\": \"https://api.github.com/orgs/github\",\n    \"repos_url\": \"https://api.github.com/orgs/github/repos\",\n    \"events_url\": \"https://api.github.com/orgs/github/events\",\n    \"hooks_url\": \"https://api.github.com/orgs/github/hooks\",\n    \"issues_url\": \"https://api.github.com/orgs/github/issues\",\n    \"members_url\": \"https://api.github.com/orgs/github/members{/member}\",\n    \"public_members_url\": \"https://api.github.com/orgs/github/public_members{/member}\",\n    \"avatar_url\": \"https://github.com/images/error/octocat_happy.gif\",\n    \"description\": \"A great organization\"\n  },\n  \"user\": {\n    \"login\": \"octocat\",\n    \"id\": 1,\n    \"node_id\": \"MDQ6VXNlcjE=\",\n    \"avatar_url\": \"https://github.com/images/error/octocat_happy.gif\",\n    \"gravatar_id\": \"\",\n    \"url\": \"https://api.github.com/users/octocat\",\n    \"html_url\": \"https://github.com/octocat\",\n    \"followers_url\": \"https://api.github.com/users/octocat/followers\",\n    \"following_url\": \"https://api.github.com/users/octocat/following{/other_user}\",\n    \"gists_url\": \"https://api.github.com/users/octocat/gists{/gist_id}\",\n    \"starred_url\": \"https://api.github.com/users/octocat/starred{/owner}{/repo}\",\n    \"subscriptions_url\": \"https://api.github.com/users/octocat/subscriptions\",\n    \"organizations_url\": \"https://api.github.com/users/octocat/orgs\",\n    \"repos_url\": \"https://api.github.com/users/octocat/repos\",\n    \"events_url\": \"https://api.github.com/users/octocat/events{/privacy}\",\n    \"received_events_url\": \"https://api.github.com/users/octocat/received_events\",\n    \"type\": \"User\",\n    \"site_admin\": false\n  }\n}\n
    " - }, - { - "httpStatusCode": "200", - "httpStatusMessage": "OK", - "description": "Response if user already had membership with organization", + "description": "Response if user has an active admin membership with organization", "payload": "
    {\n  \"url\": \"https://api.github.com/orgs/octocat/memberships/defunkt\",\n  \"state\": \"active\",\n  \"role\": \"admin\",\n  \"organization_url\": \"https://api.github.com/orgs/octocat\",\n  \"organization\": {\n    \"login\": \"github\",\n    \"id\": 1,\n    \"node_id\": \"MDEyOk9yZ2FuaXphdGlvbjE=\",\n    \"url\": \"https://api.github.com/orgs/github\",\n    \"repos_url\": \"https://api.github.com/orgs/github/repos\",\n    \"events_url\": \"https://api.github.com/orgs/github/events\",\n    \"hooks_url\": \"https://api.github.com/orgs/github/hooks\",\n    \"issues_url\": \"https://api.github.com/orgs/github/issues\",\n    \"members_url\": \"https://api.github.com/orgs/github/members{/member}\",\n    \"public_members_url\": \"https://api.github.com/orgs/github/public_members{/member}\",\n    \"avatar_url\": \"https://github.com/images/error/octocat_happy.gif\",\n    \"description\": \"A great organization\"\n  },\n  \"user\": {\n    \"login\": \"octocat\",\n    \"id\": 1,\n    \"node_id\": \"MDQ6VXNlcjE=\",\n    \"avatar_url\": \"https://github.com/images/error/octocat_happy.gif\",\n    \"gravatar_id\": \"\",\n    \"url\": \"https://api.github.com/users/octocat\",\n    \"html_url\": \"https://github.com/octocat\",\n    \"followers_url\": \"https://api.github.com/users/octocat/followers\",\n    \"following_url\": \"https://api.github.com/users/octocat/following{/other_user}\",\n    \"gists_url\": \"https://api.github.com/users/octocat/gists{/gist_id}\",\n    \"starred_url\": \"https://api.github.com/users/octocat/starred{/owner}{/repo}\",\n    \"subscriptions_url\": \"https://api.github.com/users/octocat/subscriptions\",\n    \"organizations_url\": \"https://api.github.com/users/octocat/orgs\",\n    \"repos_url\": \"https://api.github.com/users/octocat/repos\",\n    \"events_url\": \"https://api.github.com/users/octocat/events{/privacy}\",\n    \"received_events_url\": \"https://api.github.com/users/octocat/received_events\",\n    \"type\": \"User\",\n    \"site_admin\": false\n  }\n}\n
    " }, { @@ -14159,7 +14268,7 @@ { "verb": "delete", "requestPath": "/orgs/{org}/memberships/{username}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "org", @@ -14183,8 +14292,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/orgs/ORG/memberships/USERNAME", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/orgs/ORG/memberships/USERNAME
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/memberships/USERNAME", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/memberships/USERNAME
    " }, { "lang": "JavaScript", @@ -14219,7 +14328,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "403", @@ -14238,7 +14347,7 @@ { "verb": "get", "requestPath": "/orgs/{org}/outside_collaborators", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "org", @@ -14288,8 +14397,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/orgs/ORG/outside_collaborators", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/orgs/ORG/outside_collaborators
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/outside_collaborators", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/outside_collaborators
    " }, { "lang": "JavaScript", @@ -14334,7 +14443,7 @@ { "verb": "put", "requestPath": "/orgs/{org}/outside_collaborators/{username}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "org", @@ -14358,8 +14467,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/orgs/ORG/outside_collaborators/USERNAME", - "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/orgs/ORG/outside_collaborators/USERNAME
    " + "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/outside_collaborators/USERNAME", + "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/outside_collaborators/USERNAME
    " }, { "lang": "JavaScript", @@ -14390,8 +14499,6 @@ "subcategory": "outside-collaborators", "subcategoryLabel": "Outside collaborators", "notes": [], - "bodyParameters": [], - "descriptionHTML": "

    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\".

    ", "responses": [ { "httpStatusCode": "202", @@ -14406,26 +14513,21 @@ { "httpStatusCode": "403", "httpStatusMessage": "Forbidden", - "description": "Response if user is the last owner of the organization", - "payload": "
    {\n  \"message\": \"Cannot convert the last owner to an outside collaborator\",\n  \"documentation_url\": \"https://docs.github.com/enterprise-server@2.19/rest/reference/orgs#convert-member-to-outside-collaborator\"\n}\n
    " - }, - { - "httpStatusCode": "403", - "httpStatusMessage": "Forbidden", - "description": "Response if user is not a member of the organization", - "payload": "
    {\n  \"message\": \"<user> is not a member of the <organization> organization.\",\n  \"documentation_url\": \"https://docs.github.com/enterprise-server@2.19/rest/reference/orgs#convert-member-to-outside-collaborator\"\n}\n
    " + "description": "Response if user is the last owner of the organization or not a member of the organization" }, { "httpStatusCode": "404", "httpStatusMessage": "Not Found", "description": "Resource not found" } - ] + ], + "bodyParameters": [], + "descriptionHTML": "

    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\".

    " }, { "verb": "delete", "requestPath": "/orgs/{org}/outside_collaborators/{username}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "org", @@ -14449,8 +14551,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/orgs/ORG/outside_collaborators/USERNAME", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/orgs/ORG/outside_collaborators/USERNAME
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/outside_collaborators/USERNAME", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/outside_collaborators/USERNAME
    " }, { "lang": "JavaScript", @@ -14487,7 +14589,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "422", @@ -14500,7 +14602,7 @@ { "verb": "get", "requestPath": "/orgs/{org}/pre-receive-hooks", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "org", @@ -14530,13 +14632,44 @@ "default": 1 }, "descriptionHTML": "

    Page number of the results to fetch.

    " + }, + { + "name": "direction", + "description": "One of `asc` (ascending) or `desc` (descending).", + "in": "query", + "required": false, + "schema": { + "type": "string", + "enum": [ + "asc", + "desc" + ], + "default": "desc" + }, + "descriptionHTML": "

    One of asc (ascending) or desc (descending).

    " + }, + { + "name": "sort", + "description": "The sort order for the response collection.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "enum": [ + "created", + "updated", + "name" + ], + "default": "created" + }, + "descriptionHTML": "

    The sort order for the response collection.

    " } ], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n https://api.github.com/orgs/ORG/pre-receive-hooks", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n  https://api.github.com/orgs/ORG/pre-receive-hooks
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/pre-receive-hooks", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/pre-receive-hooks
    " }, { "lang": "JavaScript", @@ -14588,7 +14721,7 @@ { "verb": "get", "requestPath": "/orgs/{org}/pre-receive-hooks/{pre_receive_hook_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "org", @@ -14612,8 +14745,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n https://api.github.com/orgs/ORG/pre-receive-hooks/42", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n  https://api.github.com/orgs/ORG/pre-receive-hooks/42
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/pre-receive-hooks/42", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/pre-receive-hooks/42
    " }, { "lang": "JavaScript", @@ -14665,7 +14798,7 @@ { "verb": "patch", "requestPath": "/orgs/{org}/pre-receive-hooks/{pre_receive_hook_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "org", @@ -14689,8 +14822,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n https://api.github.com/orgs/ORG/pre-receive-hooks/42 \\\n -d '{\"enforcement\":\"enforcement\"}'", - "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n  https://api.github.com/orgs/ORG/pre-receive-hooks/42 \\\n  -d '{\"enforcement\":\"enforcement\"}'
    " + "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/pre-receive-hooks/42 \\\n -d '{\"enforcement\":\"enforcement\"}'", + "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/pre-receive-hooks/42 \\\n  -d '{\"enforcement\":\"enforcement\"}'
    " }, { "lang": "JavaScript", @@ -14794,7 +14927,7 @@ { "verb": "delete", "requestPath": "/orgs/{org}/pre-receive-hooks/{pre_receive_hook_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "org", @@ -14818,8 +14951,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n https://api.github.com/orgs/ORG/pre-receive-hooks/42", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n  https://api.github.com/orgs/ORG/pre-receive-hooks/42
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/pre-receive-hooks/42", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/pre-receive-hooks/42
    " }, { "lang": "JavaScript", @@ -14871,7 +15004,7 @@ { "verb": "get", "requestPath": "/orgs/{org}/projects", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "org", @@ -14922,8 +15055,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n https://api.github.com/orgs/ORG/projects", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  https://api.github.com/orgs/ORG/projects
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/projects", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/projects
    " }, { "lang": "JavaScript", @@ -14978,7 +15111,7 @@ { "verb": "post", "requestPath": "/orgs/{org}/projects", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "org", @@ -14993,8 +15126,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n https://api.github.com/orgs/ORG/projects \\\n -d '{\"name\":\"name\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  https://api.github.com/orgs/ORG/projects \\\n  -d '{\"name\":\"name\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/projects \\\n -d '{\"name\":\"name\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/projects \\\n  -d '{\"name\":\"name\"}'
    " }, { "lang": "JavaScript", @@ -15124,7 +15257,7 @@ { "verb": "get", "requestPath": "/orgs/{org}/public_members", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "org", @@ -15159,8 +15292,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/orgs/ORG/public_members", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/orgs/ORG/public_members
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/public_members", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/public_members
    " }, { "lang": "JavaScript", @@ -15205,7 +15338,7 @@ { "verb": "get", "requestPath": "/orgs/{org}/public_members/{username}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "org", @@ -15229,8 +15362,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/orgs/ORG/public_members/USERNAME", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/orgs/ORG/public_members/USERNAME
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/public_members/USERNAME", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/public_members/USERNAME
    " }, { "lang": "JavaScript", @@ -15279,7 +15412,7 @@ { "verb": "put", "requestPath": "/orgs/{org}/public_members/{username}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "org", @@ -15303,8 +15436,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/orgs/ORG/public_members/USERNAME", - "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/orgs/ORG/public_members/USERNAME
    " + "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/public_members/USERNAME", + "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/public_members/USERNAME
    " }, { "lang": "JavaScript", @@ -15339,7 +15472,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "403", @@ -15353,7 +15486,7 @@ { "verb": "delete", "requestPath": "/orgs/{org}/public_members/{username}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "org", @@ -15377,8 +15510,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/orgs/ORG/public_members/USERNAME", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/orgs/ORG/public_members/USERNAME
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/public_members/USERNAME", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/public_members/USERNAME
    " }, { "lang": "JavaScript", @@ -15413,7 +15546,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "bodyParameters": [], @@ -15422,7 +15555,7 @@ { "verb": "get", "requestPath": "/orgs/{org}/repos", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "org", @@ -15435,7 +15568,7 @@ }, { "name": "type", - "description": "Specifies the types of repositories you want returned. Can be one of `all`, `public`, `private`, `forks`, `sources`, `member`, `internal`. Default: `all`. If your organization is associated with an enterprise account using GitHub Enterprise Cloud or GitHub Enterprise Server 2.20+, `type` can also be `internal`.", + "description": "Specifies the types of repositories you want returned. Can be one of `all`, `public`, `private`, `forks`, `sources`, `member`, `internal`. Note: For GitHub AE, can be one of `all`, `private`, `forks`, `sources`, `member`, `internal`. Default: `all`. If your organization is associated with an enterprise account using GitHub Enterprise Cloud or GitHub Enterprise Server 2.20+, `type` can also be `internal`.", "in": "query", "required": false, "schema": { @@ -15450,7 +15583,7 @@ "internal" ] }, - "descriptionHTML": "

    Specifies the types of repositories you want returned. Can be one of all, public, private, forks, sources, member, internal. Default: all. If your organization is associated with an enterprise account using GitHub Enterprise Cloud or GitHub Enterprise Server 2.20+, type can also be internal.

    " + "descriptionHTML": "

    Specifies the types of repositories you want returned. Can be one of all, public, private, forks, sources, member, internal. Note: For GitHub AE, can be one of all, private, forks, sources, member, internal. Default: all. If your organization is associated with an enterprise account using GitHub Enterprise Cloud or GitHub Enterprise Server 2.20+, type can also be internal.

    " }, { "name": "sort", @@ -15507,8 +15640,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/orgs/ORG/repos", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/orgs/ORG/repos
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/repos", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/repos
    " }, { "lang": "JavaScript", @@ -15564,7 +15697,7 @@ { "verb": "post", "requestPath": "/orgs/{org}/repos", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "org", @@ -15579,8 +15712,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/orgs/ORG/repos \\\n -d '{\"name\":\"name\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/orgs/ORG/repos \\\n  -d '{\"name\":\"name\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/repos \\\n -d '{\"name\":\"name\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/repos \\\n  -d '{\"name\":\"name\"}'
    " }, { "lang": "JavaScript", @@ -15589,7 +15722,7 @@ } ], "summary": "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", + "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", "tags": [ "repos" ], @@ -15633,17 +15766,17 @@ }, "private": { "type": "boolean", - "description": "

    Either true to create a private repository or false to create a public one.

    ", + "description": "

    Whether the repository is private.

    ", "default": false, "name": "private", "in": "body", "rawType": "boolean", - "rawDescription": "Either `true` to create a private repository or `false` to create a public one.", + "rawDescription": "Whether the repository is private.", "childParamsGroups": [] }, "visibility": { "type": "string", - "description": "

    Can be public or private. If your organization is associated with an enterprise account using GitHub Enterprise Cloud or GitHub Enterprise Server 2.20+, visibility can also be internal. For more information, see \"Creating an internal repository\" in the GitHub Help documentation.
    \nThe visibility parameter overrides the private parameter when you use both parameters with the nebula-preview preview header.

    ", + "description": "

    Can be public or private. If your organization is associated with an enterprise account using GitHub Enterprise Cloud or GitHub Enterprise Server 2.20+, visibility can also be internal. Note: For GitHub Enterprise Server and GitHub AE, this endpoint will only list repositories available to all users on the enterprise. For more information, see \"Creating an internal repository\" in the GitHub Help documentation.
    \nThe visibility parameter overrides the private parameter when you use both parameters with the nebula-preview preview header.

    ", "enum": [ "public", "private", @@ -15653,7 +15786,7 @@ "name": "visibility", "in": "body", "rawType": "string", - "rawDescription": "Can be `public` or `private`. If your organization is associated with an enterprise account using GitHub Enterprise Cloud or GitHub Enterprise Server 2.20+, `visibility` can also be `internal`. For more information, see \"[Creating an internal repository](https://help.github.com/en/github/creating-cloning-and-archiving-repositories/about-repository-visibility#about-internal-repositories)\" in the GitHub Help documentation. \nThe `visibility` parameter overrides the `private` parameter when you use both parameters with the `nebula-preview` preview header.", + "rawDescription": "Can be `public` or `private`. If your organization is associated with an enterprise account using GitHub Enterprise Cloud or GitHub Enterprise Server 2.20+, `visibility` can also be `internal`. Note: For GitHub Enterprise Server and GitHub AE, this endpoint will only list repositories available to all users on the enterprise. For more information, see \"[Creating an internal repository](https://help.github.com/en/github/creating-cloning-and-archiving-repositories/about-repository-visibility#about-internal-repositories)\" in the GitHub Help documentation. \nThe `visibility` parameter overrides the `private` parameter when you use both parameters with the `nebula-preview` preview header.", "childParamsGroups": [] }, "has_issues": { @@ -15814,7 +15947,7 @@ "category": "repos", "categoryLabel": "Repos", "notes": [], - "descriptionHTML": "

    Creates a new repository in the specified organization. The authenticated user must be a member of the organization.

    \n

    OAuth scope requirements

    \n

    When using OAuth, 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
    ", + "descriptionHTML": "

    Creates a new repository in the specified organization. The authenticated user must be a member of the organization.

    \n

    OAuth scope requirements

    \n

    When using OAuth, 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
    ", "bodyParameters": [ { "type": "string", @@ -15845,17 +15978,17 @@ }, { "type": "boolean", - "description": "

    Either true to create a private repository or false to create a public one.

    ", + "description": "

    Whether the repository is private.

    ", "default": false, "name": "private", "in": "body", "rawType": "boolean", - "rawDescription": "Either `true` to create a private repository or `false` to create a public one.", + "rawDescription": "Whether the repository is private.", "childParamsGroups": [] }, { "type": "string", - "description": "

    Can be public or private. If your organization is associated with an enterprise account using GitHub Enterprise Cloud or GitHub Enterprise Server 2.20+, visibility can also be internal. For more information, see \"Creating an internal repository\" in the GitHub Help documentation.
    \nThe visibility parameter overrides the private parameter when you use both parameters with the nebula-preview preview header.

    ", + "description": "

    Can be public or private. If your organization is associated with an enterprise account using GitHub Enterprise Cloud or GitHub Enterprise Server 2.20+, visibility can also be internal. Note: For GitHub Enterprise Server and GitHub AE, this endpoint will only list repositories available to all users on the enterprise. For more information, see \"Creating an internal repository\" in the GitHub Help documentation.
    \nThe visibility parameter overrides the private parameter when you use both parameters with the nebula-preview preview header.

    ", "enum": [ "public", "private", @@ -15865,7 +15998,7 @@ "name": "visibility", "in": "body", "rawType": "string", - "rawDescription": "Can be `public` or `private`. If your organization is associated with an enterprise account using GitHub Enterprise Cloud or GitHub Enterprise Server 2.20+, `visibility` can also be `internal`. For more information, see \"[Creating an internal repository](https://help.github.com/en/github/creating-cloning-and-archiving-repositories/about-repository-visibility#about-internal-repositories)\" in the GitHub Help documentation. \nThe `visibility` parameter overrides the `private` parameter when you use both parameters with the `nebula-preview` preview header.", + "rawDescription": "Can be `public` or `private`. If your organization is associated with an enterprise account using GitHub Enterprise Cloud or GitHub Enterprise Server 2.20+, `visibility` can also be `internal`. Note: For GitHub Enterprise Server and GitHub AE, this endpoint will only list repositories available to all users on the enterprise. For more information, see \"[Creating an internal repository](https://help.github.com/en/github/creating-cloning-and-archiving-repositories/about-repository-visibility#about-internal-repositories)\" in the GitHub Help documentation. \nThe `visibility` parameter overrides the `private` parameter when you use both parameters with the `nebula-preview` preview header.", "childParamsGroups": [] }, { @@ -16008,7 +16141,7 @@ { "verb": "get", "requestPath": "/orgs/{org}/teams", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "org", @@ -16043,8 +16176,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/orgs/ORG/teams", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/orgs/ORG/teams
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/teams", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/teams
    " }, { "lang": "JavaScript", @@ -16092,7 +16225,7 @@ { "verb": "post", "requestPath": "/orgs/{org}/teams", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "org", @@ -16107,8 +16240,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/orgs/ORG/teams \\\n -d '{\"name\":\"name\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/orgs/ORG/teams \\\n  -d '{\"name\":\"name\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/teams \\\n -d '{\"name\":\"name\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/teams \\\n  -d '{\"name\":\"name\"}'
    " }, { "lang": "JavaScript", @@ -16340,7 +16473,7 @@ { "verb": "get", "requestPath": "/orgs/{org}/teams/{team_slug}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "org", @@ -16365,8 +16498,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/orgs/ORG/teams/TEAM_SLUG", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/orgs/ORG/teams/TEAM_SLUG
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/teams/TEAM_SLUG", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/teams/TEAM_SLUG
    " }, { "lang": "JavaScript", @@ -16414,7 +16547,7 @@ { "verb": "get", "requestPath": "/projects/columns/cards/{card_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "card_id", @@ -16430,8 +16563,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n https://api.github.com/projects/columns/cards/42", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  https://api.github.com/projects/columns/cards/42
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n http(s)://{hostname}/api/v3/projects/columns/cards/42", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  http(s)://{hostname}/api/v3/projects/columns/cards/42
    " }, { "lang": "JavaScript", @@ -16503,7 +16636,7 @@ { "verb": "patch", "requestPath": "/projects/columns/cards/{card_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "card_id", @@ -16519,8 +16652,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n https://api.github.com/projects/columns/cards/42 \\\n -d '{\"note\":\"note\"}'", - "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  https://api.github.com/projects/columns/cards/42 \\\n  -d '{\"note\":\"note\"}'
    " + "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n http(s)://{hostname}/api/v3/projects/columns/cards/42 \\\n -d '{\"note\":\"note\"}'", + "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  http(s)://{hostname}/api/v3/projects/columns/cards/42 \\\n  -d '{\"note\":\"note\"}'
    " }, { "lang": "JavaScript", @@ -16651,7 +16784,7 @@ { "verb": "delete", "requestPath": "/projects/columns/cards/{card_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "card_id", @@ -16667,8 +16800,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n https://api.github.com/projects/columns/cards/42", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  https://api.github.com/projects/columns/cards/42
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n http(s)://{hostname}/api/v3/projects/columns/cards/42", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  http(s)://{hostname}/api/v3/projects/columns/cards/42
    " }, { "lang": "JavaScript", @@ -16710,7 +16843,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "304", @@ -16739,7 +16872,7 @@ { "verb": "post", "requestPath": "/projects/columns/cards/{card_id}/moves", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "card_id", @@ -16755,8 +16888,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n https://api.github.com/projects/columns/cards/42/moves \\\n -d '{\"position\":\"position\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  https://api.github.com/projects/columns/cards/42/moves \\\n  -d '{\"position\":\"position\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n http(s)://{hostname}/api/v3/projects/columns/cards/42/moves \\\n -d '{\"position\":\"position\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  http(s)://{hostname}/api/v3/projects/columns/cards/42/moves \\\n  -d '{\"position\":\"position\"}'
    " }, { "lang": "JavaScript", @@ -16889,7 +17022,7 @@ { "verb": "get", "requestPath": "/projects/columns/{column_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "column_id", @@ -16905,8 +17038,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n https://api.github.com/projects/columns/42", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  https://api.github.com/projects/columns/42
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n http(s)://{hostname}/api/v3/projects/columns/42", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  http(s)://{hostname}/api/v3/projects/columns/42
    " }, { "lang": "JavaScript", @@ -16978,7 +17111,7 @@ { "verb": "patch", "requestPath": "/projects/columns/{column_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "column_id", @@ -16994,8 +17127,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n https://api.github.com/projects/columns/42 \\\n -d '{\"name\":\"name\"}'", - "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  https://api.github.com/projects/columns/42 \\\n  -d '{\"name\":\"name\"}'
    " + "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n http(s)://{hostname}/api/v3/projects/columns/42 \\\n -d '{\"name\":\"name\"}'", + "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  http(s)://{hostname}/api/v3/projects/columns/42 \\\n  -d '{\"name\":\"name\"}'
    " }, { "lang": "JavaScript", @@ -17097,7 +17230,7 @@ { "verb": "delete", "requestPath": "/projects/columns/{column_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "column_id", @@ -17113,8 +17246,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n https://api.github.com/projects/columns/42", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  https://api.github.com/projects/columns/42
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n http(s)://{hostname}/api/v3/projects/columns/42", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  http(s)://{hostname}/api/v3/projects/columns/42
    " }, { "lang": "JavaScript", @@ -17156,7 +17289,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "304", @@ -17180,7 +17313,7 @@ { "verb": "get", "requestPath": "/projects/columns/{column_id}/cards", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "column_id", @@ -17232,8 +17365,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n https://api.github.com/projects/columns/42/cards", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  https://api.github.com/projects/columns/42/cards
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n http(s)://{hostname}/api/v3/projects/columns/42/cards", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  http(s)://{hostname}/api/v3/projects/columns/42/cards
    " }, { "lang": "JavaScript", @@ -17300,7 +17433,7 @@ { "verb": "post", "requestPath": "/projects/columns/{column_id}/cards", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "column_id", @@ -17316,8 +17449,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n https://api.github.com/projects/columns/42/cards \\\n -d '{\"note\":\"note\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  https://api.github.com/projects/columns/42/cards \\\n  -d '{\"note\":\"note\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n http(s)://{hostname}/api/v3/projects/columns/42/cards \\\n -d '{\"note\":\"note\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  http(s)://{hostname}/api/v3/projects/columns/42/cards \\\n  -d '{\"note\":\"note\"}'
    " }, { "lang": "JavaScript", @@ -17437,7 +17570,7 @@ { "verb": "post", "requestPath": "/projects/columns/{column_id}/moves", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "column_id", @@ -17453,8 +17586,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n https://api.github.com/projects/columns/42/moves \\\n -d '{\"position\":\"position\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  https://api.github.com/projects/columns/42/moves \\\n  -d '{\"position\":\"position\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n http(s)://{hostname}/api/v3/projects/columns/42/moves \\\n -d '{\"position\":\"position\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  http(s)://{hostname}/api/v3/projects/columns/42/moves \\\n  -d '{\"position\":\"position\"}'
    " }, { "lang": "JavaScript", @@ -17562,7 +17695,7 @@ { "verb": "get", "requestPath": "/projects/{project_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "project_id", @@ -17577,8 +17710,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n https://api.github.com/projects/42", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  https://api.github.com/projects/42
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n http(s)://{hostname}/api/v3/projects/42", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  http(s)://{hostname}/api/v3/projects/42
    " }, { "lang": "JavaScript", @@ -17643,7 +17776,7 @@ { "verb": "patch", "requestPath": "/projects/{project_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "project_id", @@ -17658,8 +17791,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n https://api.github.com/projects/42 \\\n -d '{\"name\":\"name\"}'", - "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  https://api.github.com/projects/42 \\\n  -d '{\"name\":\"name\"}'
    " + "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n http(s)://{hostname}/api/v3/projects/42 \\\n -d '{\"name\":\"name\"}'", + "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  http(s)://{hostname}/api/v3/projects/42 \\\n  -d '{\"name\":\"name\"}'
    " }, { "lang": "JavaScript", @@ -17861,7 +17994,7 @@ { "verb": "delete", "requestPath": "/projects/{project_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "project_id", @@ -17876,8 +18009,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n https://api.github.com/projects/42", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  https://api.github.com/projects/42
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n http(s)://{hostname}/api/v3/projects/42", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  http(s)://{hostname}/api/v3/projects/42
    " }, { "lang": "JavaScript", @@ -17951,7 +18084,7 @@ { "verb": "get", "requestPath": "/projects/{project_id}/collaborators", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "project_id", @@ -18002,8 +18135,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n https://api.github.com/projects/42/collaborators", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  https://api.github.com/projects/42/collaborators
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n http(s)://{hostname}/api/v3/projects/42/collaborators", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  http(s)://{hostname}/api/v3/projects/42/collaborators
    " }, { "lang": "JavaScript", @@ -18085,7 +18218,7 @@ { "verb": "put", "requestPath": "/projects/{project_id}/collaborators/{username}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "project_id", @@ -18109,8 +18242,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n https://api.github.com/projects/42/collaborators/USERNAME \\\n -d '{\"permission\":\"permission\"}'", - "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  https://api.github.com/projects/42/collaborators/USERNAME \\\n  -d '{\"permission\":\"permission\"}'
    " + "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n http(s)://{hostname}/api/v3/projects/42/collaborators/USERNAME \\\n -d '{\"permission\":\"permission\"}'", + "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  http(s)://{hostname}/api/v3/projects/42/collaborators/USERNAME \\\n  -d '{\"permission\":\"permission\"}'
    " }, { "lang": "JavaScript", @@ -18179,7 +18312,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "304", @@ -18235,7 +18368,7 @@ { "verb": "delete", "requestPath": "/projects/{project_id}/collaborators/{username}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "project_id", @@ -18259,8 +18392,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n https://api.github.com/projects/42/collaborators/USERNAME", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  https://api.github.com/projects/42/collaborators/USERNAME
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n http(s)://{hostname}/api/v3/projects/42/collaborators/USERNAME", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  http(s)://{hostname}/api/v3/projects/42/collaborators/USERNAME
    " }, { "lang": "JavaScript", @@ -18302,7 +18435,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "304", @@ -18341,7 +18474,7 @@ { "verb": "get", "requestPath": "/projects/{project_id}/collaborators/{username}/permission", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "project_id", @@ -18365,8 +18498,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n https://api.github.com/projects/42/collaborators/USERNAME/permission", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  https://api.github.com/projects/42/collaborators/USERNAME/permission
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n http(s)://{hostname}/api/v3/projects/42/collaborators/USERNAME/permission", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  http(s)://{hostname}/api/v3/projects/42/collaborators/USERNAME/permission
    " }, { "lang": "JavaScript", @@ -18448,7 +18581,7 @@ { "verb": "get", "requestPath": "/projects/{project_id}/columns", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "project_id", @@ -18483,8 +18616,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n https://api.github.com/projects/42/columns", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  https://api.github.com/projects/42/columns
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n http(s)://{hostname}/api/v3/projects/42/columns", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  http(s)://{hostname}/api/v3/projects/42/columns
    " }, { "lang": "JavaScript", @@ -18551,7 +18684,7 @@ { "verb": "post", "requestPath": "/projects/{project_id}/columns", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "project_id", @@ -18566,8 +18699,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n https://api.github.com/projects/42/columns \\\n -d '{\"name\":\"name\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  https://api.github.com/projects/42/columns \\\n  -d '{\"name\":\"name\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n http(s)://{hostname}/api/v3/projects/42/columns \\\n -d '{\"name\":\"name\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  http(s)://{hostname}/api/v3/projects/42/columns \\\n  -d '{\"name\":\"name\"}'
    " }, { "lang": "JavaScript", @@ -18674,13 +18807,13 @@ { "verb": "get", "requestPath": "/rate_limit", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/rate_limit", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/rate_limit
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/rate_limit", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/rate_limit
    " }, { "lang": "JavaScript", @@ -18733,7 +18866,7 @@ { "verb": "delete", "requestPath": "/reactions/{reaction_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "accept", @@ -18759,8 +18892,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/reactions/42", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/reactions/42
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/reactions/42", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/reactions/42
    " }, { "lang": "JavaScript", @@ -18798,7 +18931,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "bodyParameters": [], @@ -18807,7 +18940,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -18831,8 +18964,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world
    " }, { "lang": "JavaScript", @@ -18909,7 +19042,7 @@ { "verb": "patch", "requestPath": "/repos/{owner}/{repo}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -18933,8 +19066,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world \\\n -d '{\"name\":\"name\"}'", - "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world \\\n  -d '{\"name\":\"name\"}'
    " + "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world \\\n -d '{\"name\":\"name\"}'", + "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world \\\n  -d '{\"name\":\"name\"}'
    " }, { "lang": "JavaScript", @@ -19328,7 +19461,7 @@ { "verb": "delete", "requestPath": "/repos/{owner}/{repo}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -19352,8 +19485,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world
    " }, { "lang": "JavaScript", @@ -19388,7 +19521,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "403", @@ -19406,7 +19539,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/assignees", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -19450,8 +19583,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/assignees", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/assignees
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/assignees", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/assignees
    " }, { "lang": "JavaScript", @@ -19501,7 +19634,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/assignees/{assignee}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -19534,8 +19667,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/assignees/ASSIGNEE", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/assignees/ASSIGNEE
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/assignees/ASSIGNEE", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/assignees/ASSIGNEE
    " }, { "lang": "JavaScript", @@ -19584,7 +19717,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/branches", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -19638,8 +19771,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/branches", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/branches
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches
    " }, { "lang": "JavaScript", @@ -19677,12 +19810,6 @@ "httpStatusCode": "200", "httpStatusMessage": "OK", "description": "Default response", - "payload": "
    [\n  {\n    \"name\": \"master\",\n    \"commit\": {\n      \"sha\": \"c5b97d5ae6c19d5c5df71a34c7fbeeda2479ccbc\",\n      \"url\": \"https://api.github.com/repos/octocat/Hello-World/commits/c5b97d5ae6c19d5c5df71a34c7fbeeda2479ccbc\"\n    },\n    \"protected\": true\n  }\n]\n
    " - }, - { - "httpStatusCode": "200", - "httpStatusMessage": "OK", - "description": "With protection", "payload": "
    [\n  {\n    \"name\": \"master\",\n    \"commit\": {\n      \"sha\": \"c5b97d5ae6c19d5c5df71a34c7fbeeda2479ccbc\",\n      \"url\": \"https://api.github.com/repos/octocat/Hello-World/commits/c5b97d5ae6c19d5c5df71a34c7fbeeda2479ccbc\"\n    },\n    \"protected\": true,\n    \"protection\": {\n      \"enabled\": true,\n      \"required_status_checks\": {\n        \"enforcement_level\": \"non_admins\",\n        \"contexts\": [\n          \"ci-test\",\n          \"linter\"\n        ]\n      }\n    },\n    \"protection_url\": \"https://api.github.com/repos/octocat/hello-world/branches/master/protection\"\n  }\n]\n
    " }, { @@ -19695,7 +19822,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/branches/{branch}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -19730,8 +19857,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/branches/BRANCH", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/branches/BRANCH
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH
    " }, { "lang": "JavaScript", @@ -19786,7 +19913,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/branches/{branch}/protection", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -19821,8 +19948,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection
    " }, { "lang": "JavaScript", @@ -19879,7 +20006,7 @@ { "verb": "put", "requestPath": "/repos/{owner}/{repo}/branches/{branch}/protection", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -19914,8 +20041,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection \\\n -d '{\"required_status_checks\":{\"strict\":true,\"contexts\":[\"contexts\"]},\"enforce_admins\":true,\"required_pull_request_reviews\":{\"dismissal_restrictions\":{\"users\":[\"users\"],\"teams\":[\"teams\"]},\"dismiss_stale_reviews\":true,\"require_code_owner_reviews\":true,\"required_approving_review_count\":42},\"restrictions\":{\"users\":[\"users\"],\"teams\":[\"teams\"],\"apps\":[\"apps\"]}}'", - "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection \\\n  -d '{\"required_status_checks\":{\"strict\":true,\"contexts\":[\"contexts\"]},\"enforce_admins\":true,\"required_pull_request_reviews\":{\"dismissal_restrictions\":{\"users\":[\"users\"],\"teams\":[\"teams\"]},\"dismiss_stale_reviews\":true,\"require_code_owner_reviews\":true,\"required_approving_review_count\":42},\"restrictions\":{\"users\":[\"users\"],\"teams\":[\"teams\"],\"apps\":[\"apps\"]}}'
    " + "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection \\\n -d '{\"required_status_checks\":{\"strict\":true,\"contexts\":[\"contexts\"]},\"enforce_admins\":true,\"required_pull_request_reviews\":{\"dismissal_restrictions\":{\"users\":[\"users\"],\"teams\":[\"teams\"]},\"dismiss_stale_reviews\":true,\"require_code_owner_reviews\":true,\"required_approving_review_count\":42},\"restrictions\":{\"users\":[\"users\"],\"teams\":[\"teams\"],\"apps\":[\"apps\"]}}'", + "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection \\\n  -d '{\"required_status_checks\":{\"strict\":true,\"contexts\":[\"contexts\"]},\"enforce_admins\":true,\"required_pull_request_reviews\":{\"dismissal_restrictions\":{\"users\":[\"users\"],\"teams\":[\"teams\"]},\"dismiss_stale_reviews\":true,\"require_code_owner_reviews\":true,\"required_approving_review_count\":42},\"restrictions\":{\"users\":[\"users\"],\"teams\":[\"teams\"],\"apps\":[\"apps\"]}}'
    " }, { "lang": "JavaScript", @@ -20918,7 +21045,7 @@ { "verb": "delete", "requestPath": "/repos/{owner}/{repo}/branches/{branch}/protection", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -20953,8 +21080,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection
    " }, { "lang": "JavaScript", @@ -20989,7 +21116,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "403", @@ -21003,7 +21130,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/branches/{branch}/protection/enforce_admins", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -21038,8 +21165,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/enforce_admins", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/enforce_admins
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection/enforce_admins", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection/enforce_admins
    " }, { "lang": "JavaScript", @@ -21084,7 +21211,7 @@ { "verb": "post", "requestPath": "/repos/{owner}/{repo}/branches/{branch}/protection/enforce_admins", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -21119,8 +21246,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/enforce_admins", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/enforce_admins
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection/enforce_admins", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection/enforce_admins
    " }, { "lang": "JavaScript", @@ -21165,7 +21292,7 @@ { "verb": "delete", "requestPath": "/repos/{owner}/{repo}/branches/{branch}/protection/enforce_admins", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -21200,8 +21327,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/enforce_admins", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/enforce_admins
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection/enforce_admins", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection/enforce_admins
    " }, { "lang": "JavaScript", @@ -21250,7 +21377,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/branches/{branch}/protection/required_pull_request_reviews", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -21285,8 +21412,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/required_pull_request_reviews", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/required_pull_request_reviews
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection/required_pull_request_reviews", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection/required_pull_request_reviews
    " }, { "lang": "JavaScript", @@ -21337,7 +21464,7 @@ { "verb": "patch", "requestPath": "/repos/{owner}/{repo}/branches/{branch}/protection/required_pull_request_reviews", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -21372,8 +21499,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/required_pull_request_reviews \\\n -d '{\"dismissal_restrictions\":{\"users\":[\"users\"],\"teams\":[\"teams\"]}}'", - "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/required_pull_request_reviews \\\n  -d '{\"dismissal_restrictions\":{\"users\":[\"users\"],\"teams\":[\"teams\"]}}'
    " + "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection/required_pull_request_reviews \\\n -d '{\"dismissal_restrictions\":{\"users\":[\"users\"],\"teams\":[\"teams\"]}}'", + "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection/required_pull_request_reviews \\\n  -d '{\"dismissal_restrictions\":{\"users\":[\"users\"],\"teams\":[\"teams\"]}}'
    " }, { "lang": "JavaScript", @@ -21643,7 +21770,7 @@ { "verb": "delete", "requestPath": "/repos/{owner}/{repo}/branches/{branch}/protection/required_pull_request_reviews", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -21678,8 +21805,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/required_pull_request_reviews", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/required_pull_request_reviews
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection/required_pull_request_reviews", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection/required_pull_request_reviews
    " }, { "lang": "JavaScript", @@ -21728,7 +21855,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/branches/{branch}/protection/required_signatures", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -21763,8 +21890,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.zzzax-preview+json\" \\\n https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/required_signatures", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.zzzax-preview+json\" \\\n  https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/required_signatures
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.zzzax-preview+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection/required_signatures", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.zzzax-preview+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection/required_signatures
    " }, { "lang": "JavaScript", @@ -21821,7 +21948,7 @@ { "verb": "post", "requestPath": "/repos/{owner}/{repo}/branches/{branch}/protection/required_signatures", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -21856,8 +21983,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.zzzax-preview+json\" \\\n https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/required_signatures", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.zzzax-preview+json\" \\\n  https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/required_signatures
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.zzzax-preview+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection/required_signatures", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.zzzax-preview+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection/required_signatures
    " }, { "lang": "JavaScript", @@ -21914,7 +22041,7 @@ { "verb": "delete", "requestPath": "/repos/{owner}/{repo}/branches/{branch}/protection/required_signatures", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -21949,8 +22076,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.zzzax-preview+json\" \\\n https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/required_signatures", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.zzzax-preview+json\" \\\n  https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/required_signatures
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.zzzax-preview+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection/required_signatures", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.zzzax-preview+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection/required_signatures
    " }, { "lang": "JavaScript", @@ -22006,7 +22133,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -22041,8 +22168,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/required_status_checks", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/required_status_checks
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection/required_status_checks", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection/required_status_checks
    " }, { "lang": "JavaScript", @@ -22092,7 +22219,7 @@ { "verb": "patch", "requestPath": "/repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -22127,8 +22254,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/required_status_checks \\\n -d '{\"strict\":true}'", - "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/required_status_checks \\\n  -d '{\"strict\":true}'
    " + "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection/required_status_checks \\\n -d '{\"strict\":true}'", + "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection/required_status_checks \\\n  -d '{\"strict\":true}'
    " }, { "lang": "JavaScript", @@ -22243,7 +22370,7 @@ { "verb": "delete", "requestPath": "/repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -22278,8 +22405,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/required_status_checks", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/required_status_checks
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection/required_status_checks", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection/required_status_checks
    " }, { "lang": "JavaScript", @@ -22323,7 +22450,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks/contexts", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -22358,8 +22485,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/required_status_checks/contexts", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/required_status_checks/contexts
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection/required_status_checks/contexts", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection/required_status_checks/contexts
    " }, { "lang": "JavaScript", @@ -22409,7 +22536,7 @@ { "verb": "post", "requestPath": "/repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks/contexts", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -22444,8 +22571,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/required_status_checks/contexts \\\n -d '{\"contexts\":{\"contexts\":[\"contexts\"]}}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/required_status_checks/contexts \\\n  -d '{\"contexts\":{\"contexts\":[\"contexts\"]}}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection/required_status_checks/contexts \\\n -d '{\"contexts\":{\"contexts\":[\"contexts\"]}}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection/required_status_checks/contexts \\\n  -d '{\"contexts\":{\"contexts\":[\"contexts\"]}}'
    " }, { "lang": "JavaScript", @@ -22550,7 +22677,7 @@ { "verb": "put", "requestPath": "/repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks/contexts", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -22585,8 +22712,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/required_status_checks/contexts \\\n -d '{\"contexts\":{\"contexts\":[\"contexts\"]}}'", - "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/required_status_checks/contexts \\\n  -d '{\"contexts\":{\"contexts\":[\"contexts\"]}}'
    " + "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection/required_status_checks/contexts \\\n -d '{\"contexts\":{\"contexts\":[\"contexts\"]}}'", + "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection/required_status_checks/contexts \\\n  -d '{\"contexts\":{\"contexts\":[\"contexts\"]}}'
    " }, { "lang": "JavaScript", @@ -22686,7 +22813,7 @@ { "verb": "delete", "requestPath": "/repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks/contexts", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -22721,8 +22848,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/required_status_checks/contexts \\\n -d '{\"contexts\":{\"contexts\":[\"contexts\"]}}'", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/required_status_checks/contexts \\\n  -d '{\"contexts\":{\"contexts\":[\"contexts\"]}}'
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection/required_status_checks/contexts \\\n -d '{\"contexts\":{\"contexts\":[\"contexts\"]}}'", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection/required_status_checks/contexts \\\n  -d '{\"contexts\":{\"contexts\":[\"contexts\"]}}'
    " }, { "lang": "JavaScript", @@ -22822,7 +22949,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/branches/{branch}/protection/restrictions", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -22857,8 +22984,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/restrictions", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/restrictions
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection/restrictions", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection/restrictions
    " }, { "lang": "JavaScript", @@ -22908,7 +23035,7 @@ { "verb": "delete", "requestPath": "/repos/{owner}/{repo}/branches/{branch}/protection/restrictions", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -22943,8 +23070,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/restrictions", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/restrictions
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection/restrictions", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection/restrictions
    " }, { "lang": "JavaScript", @@ -22988,7 +23115,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/branches/{branch}/protection/restrictions/apps", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -23023,8 +23150,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/restrictions/apps", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/restrictions/apps
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection/restrictions/apps", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection/restrictions/apps
    " }, { "lang": "JavaScript", @@ -23074,7 +23201,7 @@ { "verb": "post", "requestPath": "/repos/{owner}/{repo}/branches/{branch}/protection/restrictions/apps", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -23109,8 +23236,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/restrictions/apps \\\n -d '{\"apps\":{\"apps\":[\"apps\"]}}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/restrictions/apps \\\n  -d '{\"apps\":{\"apps\":[\"apps\"]}}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection/restrictions/apps \\\n -d '{\"apps\":{\"apps\":[\"apps\"]}}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection/restrictions/apps \\\n  -d '{\"apps\":{\"apps\":[\"apps\"]}}'
    " }, { "lang": "JavaScript", @@ -23205,7 +23332,7 @@ { "verb": "put", "requestPath": "/repos/{owner}/{repo}/branches/{branch}/protection/restrictions/apps", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -23240,8 +23367,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/restrictions/apps \\\n -d '{\"apps\":{\"apps\":[\"apps\"]}}'", - "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/restrictions/apps \\\n  -d '{\"apps\":{\"apps\":[\"apps\"]}}'
    " + "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection/restrictions/apps \\\n -d '{\"apps\":{\"apps\":[\"apps\"]}}'", + "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection/restrictions/apps \\\n  -d '{\"apps\":{\"apps\":[\"apps\"]}}'
    " }, { "lang": "JavaScript", @@ -23336,7 +23463,7 @@ { "verb": "delete", "requestPath": "/repos/{owner}/{repo}/branches/{branch}/protection/restrictions/apps", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -23371,8 +23498,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/restrictions/apps \\\n -d '{\"apps\":{\"apps\":[\"apps\"]}}'", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/restrictions/apps \\\n  -d '{\"apps\":{\"apps\":[\"apps\"]}}'
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection/restrictions/apps \\\n -d '{\"apps\":{\"apps\":[\"apps\"]}}'", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection/restrictions/apps \\\n  -d '{\"apps\":{\"apps\":[\"apps\"]}}'
    " }, { "lang": "JavaScript", @@ -23467,7 +23594,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/branches/{branch}/protection/restrictions/teams", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -23502,8 +23629,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/restrictions/teams", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/restrictions/teams
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection/restrictions/teams", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection/restrictions/teams
    " }, { "lang": "JavaScript", @@ -23553,7 +23680,7 @@ { "verb": "post", "requestPath": "/repos/{owner}/{repo}/branches/{branch}/protection/restrictions/teams", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -23588,8 +23715,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/restrictions/teams \\\n -d '{\"teams\":{\"teams\":[\"teams\"]}}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/restrictions/teams \\\n  -d '{\"teams\":{\"teams\":[\"teams\"]}}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection/restrictions/teams \\\n -d '{\"teams\":{\"teams\":[\"teams\"]}}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection/restrictions/teams \\\n  -d '{\"teams\":{\"teams\":[\"teams\"]}}'
    " }, { "lang": "JavaScript", @@ -23684,7 +23811,7 @@ { "verb": "put", "requestPath": "/repos/{owner}/{repo}/branches/{branch}/protection/restrictions/teams", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -23719,8 +23846,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/restrictions/teams \\\n -d '{\"teams\":{\"teams\":[\"teams\"]}}'", - "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/restrictions/teams \\\n  -d '{\"teams\":{\"teams\":[\"teams\"]}}'
    " + "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection/restrictions/teams \\\n -d '{\"teams\":{\"teams\":[\"teams\"]}}'", + "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection/restrictions/teams \\\n  -d '{\"teams\":{\"teams\":[\"teams\"]}}'
    " }, { "lang": "JavaScript", @@ -23815,7 +23942,7 @@ { "verb": "delete", "requestPath": "/repos/{owner}/{repo}/branches/{branch}/protection/restrictions/teams", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -23850,8 +23977,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/restrictions/teams \\\n -d '{\"teams\":{\"teams\":[\"teams\"]}}'", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/restrictions/teams \\\n  -d '{\"teams\":{\"teams\":[\"teams\"]}}'
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection/restrictions/teams \\\n -d '{\"teams\":{\"teams\":[\"teams\"]}}'", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection/restrictions/teams \\\n  -d '{\"teams\":{\"teams\":[\"teams\"]}}'
    " }, { "lang": "JavaScript", @@ -23946,7 +24073,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/branches/{branch}/protection/restrictions/users", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -23981,8 +24108,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/restrictions/users", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/restrictions/users
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection/restrictions/users", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection/restrictions/users
    " }, { "lang": "JavaScript", @@ -24032,7 +24159,7 @@ { "verb": "post", "requestPath": "/repos/{owner}/{repo}/branches/{branch}/protection/restrictions/users", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -24067,8 +24194,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/restrictions/users \\\n -d '{\"users\":{\"users\":[\"users\"]}}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/restrictions/users \\\n  -d '{\"users\":{\"users\":[\"users\"]}}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection/restrictions/users \\\n -d '{\"users\":{\"users\":[\"users\"]}}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection/restrictions/users \\\n  -d '{\"users\":{\"users\":[\"users\"]}}'
    " }, { "lang": "JavaScript", @@ -24163,7 +24290,7 @@ { "verb": "put", "requestPath": "/repos/{owner}/{repo}/branches/{branch}/protection/restrictions/users", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -24198,8 +24325,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/restrictions/users \\\n -d '{\"users\":{\"users\":[\"users\"]}}'", - "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/restrictions/users \\\n  -d '{\"users\":{\"users\":[\"users\"]}}'
    " + "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection/restrictions/users \\\n -d '{\"users\":{\"users\":[\"users\"]}}'", + "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection/restrictions/users \\\n  -d '{\"users\":{\"users\":[\"users\"]}}'
    " }, { "lang": "JavaScript", @@ -24294,7 +24421,7 @@ { "verb": "delete", "requestPath": "/repos/{owner}/{repo}/branches/{branch}/protection/restrictions/users", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -24329,8 +24456,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/restrictions/users \\\n -d '{\"users\":{\"users\":[\"users\"]}}'", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/restrictions/users \\\n  -d '{\"users\":{\"users\":[\"users\"]}}'
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection/restrictions/users \\\n -d '{\"users\":{\"users\":[\"users\"]}}'", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection/restrictions/users \\\n  -d '{\"users\":{\"users\":[\"users\"]}}'
    " }, { "lang": "JavaScript", @@ -24425,7 +24552,7 @@ { "verb": "post", "requestPath": "/repos/{owner}/{repo}/check-runs", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -24449,8 +24576,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.antiope-preview+json\" \\\n https://api.github.com/repos/octocat/hello-world/check-runs \\\n -d '{\"name\":\"name\",\"head_sha\":\"head_sha\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.antiope-preview+json\" \\\n  https://api.github.com/repos/octocat/hello-world/check-runs \\\n  -d '{\"name\":\"name\",\"head_sha\":\"head_sha\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.antiope-preview+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/check-runs \\\n -d '{\"name\":\"name\",\"head_sha\":\"head_sha\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.antiope-preview+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/check-runs \\\n  -d '{\"name\":\"name\",\"head_sha\":\"head_sha\"}'
    " }, { "lang": "JavaScript", @@ -25427,7 +25554,7 @@ "name", "head_sha" ], - "anyOf": [ + "oneOf": [ { "properties": { "status": { @@ -25437,6 +25564,7 @@ } }, "required": [ + "status", "conclusion" ], "additionalProperties": true @@ -25456,7 +25584,7 @@ }, "examples": { "example-of-in-progress-conclusion": { - "summary": "Example of in_progress conclusion", + "summary": "Response for in_progress conclusion", "value": { "name": "mighty_readme", "head_sha": "ce587453ced02b1526dfb4cb910479d431683101", @@ -25471,7 +25599,7 @@ } }, "example-of-completed-conclusion": { - "summary": "Example of completed conclusion", + "summary": "Response for completed conclusion", "value": { "name": "mighty_readme", "head_sha": "ce587453ced02b1526dfb4cb910479d431683101", @@ -25545,12 +25673,6 @@ "notes": [], "descriptionHTML": "

    Note: The Checks API only looks for pushes in the repository where the check 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

    Creates 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

    In 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.

    ", "responses": [ - { - "httpStatusCode": "201", - "httpStatusMessage": "Created", - "description": "Response for in_progress conclusion", - "payload": "
    {\n  \"id\": 4,\n  \"head_sha\": \"ce587453ced02b1526dfb4cb910479d431683101\",\n  \"node_id\": \"MDg6Q2hlY2tSdW40\",\n  \"external_id\": \"42\",\n  \"url\": \"https://api.github.com/repos/github/hello-world/check-runs/4\",\n  \"html_url\": \"https://github.com/github/hello-world/runs/4\",\n  \"details_url\": \"https://example.com\",\n  \"status\": \"in_progress\",\n  \"conclusion\": \"neutral\",\n  \"started_at\": \"2018-05-04T01:14:52Z\",\n  \"completed_at\": null,\n  \"output\": {\n    \"title\": \"Mighty Readme Report\",\n    \"summary\": \"\",\n    \"text\": \"\",\n    \"annotations_count\": 1,\n    \"annotations_url\": \"https://api.github.com/repos/github/hello-world/check-runs/4/annotations\"\n  },\n  \"name\": \"mighty_readme\",\n  \"check_suite\": {\n    \"id\": 5\n  },\n  \"app\": {\n    \"id\": 1,\n    \"slug\": \"octoapp\",\n    \"node_id\": \"MDExOkludGVncmF0aW9uMQ==\",\n    \"owner\": {\n      \"login\": \"github\",\n      \"id\": 1,\n      \"node_id\": \"MDEyOk9yZ2FuaXphdGlvbjE=\",\n      \"url\": \"https://api.github.com/orgs/github\",\n      \"repos_url\": \"https://api.github.com/orgs/github/repos\",\n      \"events_url\": \"https://api.github.com/orgs/github/events\",\n      \"avatar_url\": \"https://github.com/images/error/octocat_happy.gif\",\n      \"gravatar_id\": \"\",\n      \"html_url\": \"https://github.com/octocat\",\n      \"followers_url\": \"https://api.github.com/users/octocat/followers\",\n      \"following_url\": \"https://api.github.com/users/octocat/following{/other_user}\",\n      \"gists_url\": \"https://api.github.com/users/octocat/gists{/gist_id}\",\n      \"starred_url\": \"https://api.github.com/users/octocat/starred{/owner}{/repo}\",\n      \"subscriptions_url\": \"https://api.github.com/users/octocat/subscriptions\",\n      \"organizations_url\": \"https://api.github.com/users/octocat/orgs\",\n      \"received_events_url\": \"https://api.github.com/users/octocat/received_events\",\n      \"type\": \"User\",\n      \"site_admin\": true\n    },\n    \"name\": \"Octocat App\",\n    \"description\": \"\",\n    \"external_url\": \"https://example.com\",\n    \"html_url\": \"https://github.com/apps/octoapp\",\n    \"created_at\": \"2017-07-08T16:18:44-04:00\",\n    \"updated_at\": \"2017-07-08T16:18:44-04:00\",\n    \"permissions\": {\n      \"metadata\": \"read\",\n      \"contents\": \"read\",\n      \"issues\": \"write\",\n      \"single_file\": \"write\"\n    },\n    \"events\": [\n      \"push\",\n      \"pull_request\"\n    ]\n  },\n  \"pull_requests\": [\n    {\n      \"url\": \"https://api.github.com/repos/github/hello-world/pulls/1\",\n      \"id\": 1934,\n      \"number\": 3956,\n      \"head\": {\n        \"ref\": \"say-hello\",\n        \"sha\": \"3dca65fa3e8d4b3da3f3d056c59aee1c50f41390\",\n        \"repo\": {\n          \"id\": 526,\n          \"url\": \"https://api.github.com/repos/github/hello-world\",\n          \"name\": \"hello-world\"\n        }\n      },\n      \"base\": {\n        \"ref\": \"master\",\n        \"sha\": \"e7fdf7640066d71ad16a86fbcbb9c6a10a18af4f\",\n        \"repo\": {\n          \"id\": 526,\n          \"url\": \"https://api.github.com/repos/github/hello-world\",\n          \"name\": \"hello-world\"\n        }\n      }\n    }\n  ]\n}\n
    " - }, { "httpStatusCode": "201", "httpStatusMessage": "Created", @@ -26512,7 +26634,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/check-runs/{check_run_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -26546,8 +26668,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.antiope-preview+json\" \\\n https://api.github.com/repos/octocat/hello-world/check-runs/42", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.antiope-preview+json\" \\\n  https://api.github.com/repos/octocat/hello-world/check-runs/42
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.antiope-preview+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/check-runs/42", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.antiope-preview+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/check-runs/42
    " }, { "lang": "JavaScript", @@ -26599,7 +26721,7 @@ { "verb": "patch", "requestPath": "/repos/{owner}/{repo}/check-runs/{check_run_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -26633,8 +26755,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.antiope-preview+json\" \\\n https://api.github.com/repos/octocat/hello-world/check-runs/42 \\\n -d '{\"name\":\"name\"}'", - "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.antiope-preview+json\" \\\n  https://api.github.com/repos/octocat/hello-world/check-runs/42 \\\n  -d '{\"name\":\"name\"}'
    " + "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.antiope-preview+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/check-runs/42 \\\n -d '{\"name\":\"name\"}'", + "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.antiope-preview+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/check-runs/42 \\\n  -d '{\"name\":\"name\"}'
    " }, { "lang": "JavaScript", @@ -28636,7 +28758,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/check-runs/{check_run_id}/annotations", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -28690,8 +28812,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.antiope-preview+json\" \\\n https://api.github.com/repos/octocat/hello-world/check-runs/42/annotations", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.antiope-preview+json\" \\\n  https://api.github.com/repos/octocat/hello-world/check-runs/42/annotations
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.antiope-preview+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/check-runs/42/annotations", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.antiope-preview+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/check-runs/42/annotations
    " }, { "lang": "JavaScript", @@ -28743,7 +28865,7 @@ { "verb": "post", "requestPath": "/repos/{owner}/{repo}/check-suites", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -28767,8 +28889,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.antiope-preview+json\" \\\n https://api.github.com/repos/octocat/hello-world/check-suites \\\n -d '{\"head_sha\":\"head_sha\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.antiope-preview+json\" \\\n  https://api.github.com/repos/octocat/hello-world/check-suites \\\n  -d '{\"head_sha\":\"head_sha\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.antiope-preview+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/check-suites \\\n -d '{\"head_sha\":\"head_sha\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.antiope-preview+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/check-suites \\\n  -d '{\"head_sha\":\"head_sha\"}'
    " }, { "lang": "JavaScript", @@ -28856,7 +28978,7 @@ { "verb": "patch", "requestPath": "/repos/{owner}/{repo}/check-suites/preferences", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -28880,8 +29002,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.antiope-preview+json\" \\\n https://api.github.com/repos/octocat/hello-world/check-suites/preferences \\\n -d '{\"auto_trigger_checks\":[{\"app_id\":42,\"setting\":true}]}'", - "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.antiope-preview+json\" \\\n  https://api.github.com/repos/octocat/hello-world/check-suites/preferences \\\n  -d '{\"auto_trigger_checks\":[{\"app_id\":42,\"setting\":true}]}'
    " + "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.antiope-preview+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/check-suites/preferences \\\n -d '{\"auto_trigger_checks\":[{\"app_id\":42,\"setting\":true}]}'", + "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.antiope-preview+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/check-suites/preferences \\\n  -d '{\"auto_trigger_checks\":[{\"app_id\":42,\"setting\":true}]}'
    " }, { "lang": "JavaScript", @@ -29081,7 +29203,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/check-suites/{check_suite_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -29115,8 +29237,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.antiope-preview+json\" \\\n https://api.github.com/repos/octocat/hello-world/check-suites/42", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.antiope-preview+json\" \\\n  https://api.github.com/repos/octocat/hello-world/check-suites/42
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.antiope-preview+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/check-suites/42", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.antiope-preview+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/check-suites/42
    " }, { "lang": "JavaScript", @@ -29168,7 +29290,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/check-suites/{check_suite_id}/check-runs", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -29262,8 +29384,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.antiope-preview+json\" \\\n https://api.github.com/repos/octocat/hello-world/check-suites/42/check-runs", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.antiope-preview+json\" \\\n  https://api.github.com/repos/octocat/hello-world/check-suites/42/check-runs
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.antiope-preview+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/check-suites/42/check-runs", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.antiope-preview+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/check-suites/42/check-runs
    " }, { "lang": "JavaScript", @@ -29315,7 +29437,7 @@ { "verb": "post", "requestPath": "/repos/{owner}/{repo}/check-suites/{check_suite_id}/rerequest", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -29349,8 +29471,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.antiope-preview+json\" \\\n https://api.github.com/repos/octocat/hello-world/check-suites/42/rerequest", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.antiope-preview+json\" \\\n  https://api.github.com/repos/octocat/hello-world/check-suites/42/rerequest
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.antiope-preview+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/check-suites/42/rerequest", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.antiope-preview+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/check-suites/42/rerequest
    " }, { "lang": "JavaScript", @@ -29401,7 +29523,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/collaborators", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -29461,8 +29583,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/collaborators", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/collaborators
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/collaborators", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/collaborators
    " }, { "lang": "JavaScript", @@ -29512,7 +29634,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/collaborators/{username}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -29545,8 +29667,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/collaborators/USERNAME", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/collaborators/USERNAME
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/collaborators/USERNAME", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/collaborators/USERNAME
    " }, { "lang": "JavaScript", @@ -29595,7 +29717,7 @@ { "verb": "put", "requestPath": "/repos/{owner}/{repo}/collaborators/{username}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -29628,8 +29750,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/collaborators/USERNAME \\\n -d '{\"permission\":\"permission\"}'", - "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/collaborators/USERNAME \\\n  -d '{\"permission\":\"permission\"}'
    " + "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/collaborators/USERNAME \\\n -d '{\"permission\":\"permission\"}'", + "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/collaborators/USERNAME \\\n  -d '{\"permission\":\"permission\"}'
    " }, { "lang": "JavaScript", @@ -29754,7 +29876,7 @@ { "verb": "delete", "requestPath": "/repos/{owner}/{repo}/collaborators/{username}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -29787,8 +29909,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/collaborators/USERNAME", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/collaborators/USERNAME
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/collaborators/USERNAME", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/collaborators/USERNAME
    " }, { "lang": "JavaScript", @@ -29823,7 +29945,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "bodyParameters": [], @@ -29832,7 +29954,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/collaborators/{username}/permission", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -29865,8 +29987,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/collaborators/USERNAME/permission", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/collaborators/USERNAME/permission
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/collaborators/USERNAME/permission", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/collaborators/USERNAME/permission
    " }, { "lang": "JavaScript", @@ -29916,7 +30038,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/comments", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -29960,8 +30082,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/comments", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/comments
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/comments", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/comments
    " }, { "lang": "JavaScript", @@ -30013,7 +30135,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/comments/{comment_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -30047,8 +30169,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/comments/42", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/comments/42
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/comments/42", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/comments/42
    " }, { "lang": "JavaScript", @@ -30105,7 +30227,7 @@ { "verb": "patch", "requestPath": "/repos/{owner}/{repo}/comments/{comment_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -30139,8 +30261,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/comments/42 \\\n -d '{\"body\":\"body\"}'", - "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/comments/42 \\\n  -d '{\"body\":\"body\"}'
    " + "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/comments/42 \\\n -d '{\"body\":\"body\"}'", + "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/comments/42 \\\n  -d '{\"body\":\"body\"}'
    " }, { "lang": "JavaScript", @@ -30226,7 +30348,7 @@ { "verb": "delete", "requestPath": "/repos/{owner}/{repo}/comments/{comment_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -30260,8 +30382,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/comments/42", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/comments/42
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/comments/42", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/comments/42
    " }, { "lang": "JavaScript", @@ -30296,7 +30418,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "404", @@ -30310,7 +30432,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/comments/{comment_id}/reactions", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -30384,8 +30506,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n https://api.github.com/repos/octocat/hello-world/comments/42/reactions", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n  https://api.github.com/repos/octocat/hello-world/comments/42/reactions
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/comments/42/reactions", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/comments/42/reactions
    " }, { "lang": "JavaScript", @@ -30445,7 +30567,7 @@ { "verb": "post", "requestPath": "/repos/{owner}/{repo}/comments/{comment_id}/reactions", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -30479,8 +30601,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n https://api.github.com/repos/octocat/hello-world/comments/42/reactions \\\n -d '{\"content\":\"content\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n  https://api.github.com/repos/octocat/hello-world/comments/42/reactions \\\n  -d '{\"content\":\"content\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/comments/42/reactions \\\n -d '{\"content\":\"content\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/comments/42/reactions \\\n  -d '{\"content\":\"content\"}'
    " }, { "lang": "JavaScript", @@ -30602,7 +30724,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/commits", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -30691,13 +30813,35 @@ "default": 1 }, "descriptionHTML": "

    Page number of the results to fetch.

    " + }, + { + "name": "top", + "description": "legacy parameter for pagination.", + "in": "query", + "deprecated": true, + "required": false, + "schema": { + "type": "string" + }, + "descriptionHTML": "

    legacy parameter for pagination.

    " + }, + { + "name": "last_sha", + "description": "legacy parameter for pagination.", + "in": "query", + "deprecated": true, + "required": false, + "schema": { + "type": "string" + }, + "descriptionHTML": "

    legacy parameter for pagination.

    " } ], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/commits", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/commits
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/commits", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/commits
    " }, { "lang": "JavaScript", @@ -30762,7 +30906,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/commits/{commit_sha}/branches-where-head", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -30797,8 +30941,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.groot-preview+json\" \\\n https://api.github.com/repos/octocat/hello-world/commits/COMMIT_SHA/branches-where-head", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.groot-preview+json\" \\\n  https://api.github.com/repos/octocat/hello-world/commits/COMMIT_SHA/branches-where-head
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.groot-preview+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/commits/COMMIT_SHA/branches-where-head", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.groot-preview+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/commits/COMMIT_SHA/branches-where-head
    " }, { "lang": "JavaScript", @@ -30860,7 +31004,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/commits/{commit_sha}/comments", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -30915,8 +31059,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/commits/COMMIT_SHA/comments", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/commits/COMMIT_SHA/comments
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/commits/COMMIT_SHA/comments", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/commits/COMMIT_SHA/comments
    " }, { "lang": "JavaScript", @@ -30968,7 +31112,7 @@ { "verb": "post", "requestPath": "/repos/{owner}/{repo}/commits/{commit_sha}/comments", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -31003,8 +31147,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/commits/COMMIT_SHA/comments \\\n -d '{\"body\":\"body\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/commits/COMMIT_SHA/comments \\\n  -d '{\"body\":\"body\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/commits/COMMIT_SHA/comments \\\n -d '{\"body\":\"body\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/commits/COMMIT_SHA/comments \\\n  -d '{\"body\":\"body\"}'
    " }, { "lang": "JavaScript", @@ -31153,7 +31297,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/commits/{commit_sha}/pulls", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -31208,8 +31352,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.groot-preview+json\" \\\n https://api.github.com/repos/octocat/hello-world/commits/COMMIT_SHA/pulls", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.groot-preview+json\" \\\n  https://api.github.com/repos/octocat/hello-world/commits/COMMIT_SHA/pulls
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.groot-preview+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/commits/COMMIT_SHA/pulls", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.groot-preview+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/commits/COMMIT_SHA/pulls
    " }, { "lang": "JavaScript", @@ -31266,7 +31410,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/commits/{ref}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -31286,23 +31430,43 @@ }, "descriptionHTML": "" }, + { + "name": "page", + "description": "Page number of the results to fetch.", + "in": "query", + "schema": { + "type": "integer", + "default": 1 + }, + "descriptionHTML": "

    Page number of the results to fetch.

    " + }, + { + "name": "per_page", + "description": "Results per page (max 100).", + "in": "query", + "schema": { + "type": "integer", + "default": 30 + }, + "descriptionHTML": "

    Results per page (max 100).

    " + }, { "name": "ref", - "description": "ref+ parameter", + "description": "ref parameter", "in": "path", "required": true, "schema": { "type": "string" }, "x-multi-segment": true, - "descriptionHTML": "

    ref+ parameter

    " + "descriptionHTML": "

    ref parameter

    " } ], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/commits/REF", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/commits/REF
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/commits/REF", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/commits/REF
    " }, { "lang": "JavaScript", @@ -31362,7 +31526,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/commits/{ref}/check-runs", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -31384,14 +31548,14 @@ }, { "name": "ref", - "description": "ref+ parameter", + "description": "ref parameter", "in": "path", "required": true, "schema": { "type": "string" }, "x-multi-segment": true, - "descriptionHTML": "

    ref+ parameter

    " + "descriptionHTML": "

    ref parameter

    " }, { "name": "check_name", @@ -31452,13 +31616,22 @@ "default": 1 }, "descriptionHTML": "

    Page number of the results to fetch.

    " + }, + { + "name": "app_id", + "in": "query", + "required": false, + "schema": { + "type": "integer" + }, + "descriptionHTML": "" } ], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.antiope-preview+json\" \\\n https://api.github.com/repos/octocat/hello-world/commits/REF/check-runs", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.antiope-preview+json\" \\\n  https://api.github.com/repos/octocat/hello-world/commits/REF/check-runs
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.antiope-preview+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/commits/REF/check-runs", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.antiope-preview+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/commits/REF/check-runs
    " }, { "lang": "JavaScript", @@ -31510,7 +31683,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/commits/{ref}/check-suites", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -31532,14 +31705,14 @@ }, { "name": "ref", - "description": "ref+ parameter", + "description": "ref parameter", "in": "path", "required": true, "schema": { "type": "string" }, "x-multi-segment": true, - "descriptionHTML": "

    ref+ parameter

    " + "descriptionHTML": "

    ref parameter

    " }, { "name": "app_id", @@ -31586,8 +31759,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.antiope-preview+json\" \\\n https://api.github.com/repos/octocat/hello-world/commits/REF/check-suites", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.antiope-preview+json\" \\\n  https://api.github.com/repos/octocat/hello-world/commits/REF/check-suites
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.antiope-preview+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/commits/REF/check-suites", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.antiope-preview+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/commits/REF/check-suites
    " }, { "lang": "JavaScript", @@ -31639,7 +31812,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/commits/{ref}/status", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -31661,21 +31834,41 @@ }, { "name": "ref", - "description": "ref+ parameter", + "description": "ref parameter", "in": "path", "required": true, "schema": { "type": "string" }, "x-multi-segment": true, - "descriptionHTML": "

    ref+ parameter

    " + "descriptionHTML": "

    ref parameter

    " + }, + { + "name": "per_page", + "description": "Results per page (max 100).", + "in": "query", + "schema": { + "type": "integer", + "default": 30 + }, + "descriptionHTML": "

    Results per page (max 100).

    " + }, + { + "name": "page", + "description": "Page number of the results to fetch.", + "in": "query", + "schema": { + "type": "integer", + "default": 1 + }, + "descriptionHTML": "

    Page number of the results to fetch.

    " } ], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/commits/REF/status", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/commits/REF/status
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/commits/REF/status", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/commits/REF/status
    " }, { "lang": "JavaScript", @@ -31725,7 +31918,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/commits/{ref}/statuses", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -31747,14 +31940,14 @@ }, { "name": "ref", - "description": "ref+ parameter", + "description": "ref parameter", "in": "path", "required": true, "schema": { "type": "string" }, "x-multi-segment": true, - "descriptionHTML": "

    ref+ parameter

    " + "descriptionHTML": "

    ref parameter

    " }, { "name": "per_page", @@ -31780,8 +31973,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/commits/REF/statuses", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/commits/REF/statuses
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/commits/REF/statuses", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/commits/REF/statuses
    " }, { "lang": "JavaScript", @@ -31831,7 +32024,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/compare/{base}...{head}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -31873,8 +32066,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/compare/BASE...HEAD", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/compare/BASE...HEAD
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/compare/BASE...HEAD", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/compare/BASE...HEAD
    " }, { "lang": "JavaScript", @@ -31929,7 +32122,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/contents/{path}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -31951,14 +32144,14 @@ }, { "name": "path", - "description": "path+ parameter", + "description": "path parameter", "in": "path", "required": true, "schema": { "type": "string" }, "x-multi-segment": true, - "descriptionHTML": "

    path+ parameter

    " + "descriptionHTML": "

    path parameter

    " }, { "name": "ref", @@ -31974,8 +32167,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/contents/PATH", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/contents/PATH
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/contents/PATH", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/contents/PATH
    " }, { "lang": "JavaScript", @@ -32053,7 +32246,7 @@ { "verb": "put", "requestPath": "/repos/{owner}/{repo}/contents/{path}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -32075,21 +32268,21 @@ }, { "name": "path", - "description": "path+ parameter", + "description": "path parameter", "in": "path", "required": true, "schema": { "type": "string" }, "x-multi-segment": true, - "descriptionHTML": "

    path+ parameter

    " + "descriptionHTML": "

    path parameter

    " } ], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/contents/PATH \\\n -d '{\"message\":\"message\",\"content\":\"content\"}'", - "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/contents/PATH \\\n  -d '{\"message\":\"message\",\"content\":\"content\"}'
    " + "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/contents/PATH \\\n -d '{\"message\":\"message\",\"content\":\"content\"}'", + "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/contents/PATH \\\n  -d '{\"message\":\"message\",\"content\":\"content\"}'
    " }, { "lang": "JavaScript", @@ -32576,7 +32769,7 @@ { "verb": "delete", "requestPath": "/repos/{owner}/{repo}/contents/{path}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -32598,21 +32791,21 @@ }, { "name": "path", - "description": "path+ parameter", + "description": "path parameter", "in": "path", "required": true, "schema": { "type": "string" }, "x-multi-segment": true, - "descriptionHTML": "

    path+ parameter

    " + "descriptionHTML": "

    path parameter

    " } ], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/contents/PATH \\\n -d '{\"message\":\"message\",\"sha\":\"sha\"}'", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/contents/PATH \\\n  -d '{\"message\":\"message\",\"sha\":\"sha\"}'
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/contents/PATH \\\n -d '{\"message\":\"message\",\"sha\":\"sha\"}'", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/contents/PATH \\\n  -d '{\"message\":\"message\",\"sha\":\"sha\"}'
    " }, { "lang": "JavaScript", @@ -32975,7 +33168,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/contributors", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -33029,8 +33222,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/contributors", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/contributors
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/contributors", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/contributors
    " }, { "lang": "JavaScript", @@ -33088,7 +33281,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/deployments", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -33148,7 +33341,8 @@ "required": false, "schema": { "type": "string", - "default": "none" + "default": "none", + "nullable": true }, "descriptionHTML": "

    The name of the environment that was deployed to (e.g., staging or production).

    " }, @@ -33176,8 +33370,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/deployments", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/deployments
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/deployments", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/deployments
    " }, { "lang": "JavaScript", @@ -33229,7 +33423,7 @@ { "verb": "post", "requestPath": "/repos/{owner}/{repo}/deployments", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -33253,8 +33447,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/deployments \\\n -d '{\"ref\":\"ref\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/deployments \\\n  -d '{\"ref\":\"ref\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/deployments \\\n -d '{\"ref\":\"ref\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/deployments \\\n  -d '{\"ref\":\"ref\"}'
    " }, { "lang": "JavaScript", @@ -33553,12 +33747,6 @@ "description": "Simple example", "payload": "
    {\n  \"url\": \"https://api.github.com/repos/octocat/example/deployments/1\",\n  \"id\": 1,\n  \"node_id\": \"MDEwOkRlcGxveW1lbnQx\",\n  \"sha\": \"a84d88e7554fc1fa21bcbc4efae3c782a70d2b9d\",\n  \"ref\": \"topic-branch\",\n  \"task\": \"deploy\",\n  \"payload\": {},\n  \"original_environment\": \"staging\",\n  \"environment\": \"production\",\n  \"description\": \"Deploy request from hubot\",\n  \"creator\": {\n    \"login\": \"octocat\",\n    \"id\": 1,\n    \"node_id\": \"MDQ6VXNlcjE=\",\n    \"avatar_url\": \"https://github.com/images/error/octocat_happy.gif\",\n    \"gravatar_id\": \"\",\n    \"url\": \"https://api.github.com/users/octocat\",\n    \"html_url\": \"https://github.com/octocat\",\n    \"followers_url\": \"https://api.github.com/users/octocat/followers\",\n    \"following_url\": \"https://api.github.com/users/octocat/following{/other_user}\",\n    \"gists_url\": \"https://api.github.com/users/octocat/gists{/gist_id}\",\n    \"starred_url\": \"https://api.github.com/users/octocat/starred{/owner}{/repo}\",\n    \"subscriptions_url\": \"https://api.github.com/users/octocat/subscriptions\",\n    \"organizations_url\": \"https://api.github.com/users/octocat/orgs\",\n    \"repos_url\": \"https://api.github.com/users/octocat/repos\",\n    \"events_url\": \"https://api.github.com/users/octocat/events{/privacy}\",\n    \"received_events_url\": \"https://api.github.com/users/octocat/received_events\",\n    \"type\": \"User\",\n    \"site_admin\": false\n  },\n  \"created_at\": \"2012-07-20T01:19:13Z\",\n  \"updated_at\": \"2012-07-20T01:19:13Z\",\n  \"statuses_url\": \"https://api.github.com/repos/octocat/example/deployments/1/statuses\",\n  \"repository_url\": \"https://api.github.com/repos/octocat/example\",\n  \"transient_environment\": false,\n  \"production_environment\": true\n}\n
    " }, - { - "httpStatusCode": "201", - "httpStatusMessage": "Created", - "description": "Advanced example", - "payload": "
    {\n  \"url\": \"https://api.github.com/repos/octocat/example/deployments/1\",\n  \"id\": 1,\n  \"node_id\": \"MDEwOkRlcGxveW1lbnQx\",\n  \"sha\": \"a84d88e7554fc1fa21bcbc4efae3c782a70d2b9d\",\n  \"ref\": \"topic-branch\",\n  \"task\": \"deploy\",\n  \"payload\": {},\n  \"original_environment\": \"staging\",\n  \"environment\": \"production\",\n  \"description\": \"Deploy request from hubot\",\n  \"creator\": {\n    \"login\": \"octocat\",\n    \"id\": 1,\n    \"node_id\": \"MDQ6VXNlcjE=\",\n    \"avatar_url\": \"https://github.com/images/error/octocat_happy.gif\",\n    \"gravatar_id\": \"\",\n    \"url\": \"https://api.github.com/users/octocat\",\n    \"html_url\": \"https://github.com/octocat\",\n    \"followers_url\": \"https://api.github.com/users/octocat/followers\",\n    \"following_url\": \"https://api.github.com/users/octocat/following{/other_user}\",\n    \"gists_url\": \"https://api.github.com/users/octocat/gists{/gist_id}\",\n    \"starred_url\": \"https://api.github.com/users/octocat/starred{/owner}{/repo}\",\n    \"subscriptions_url\": \"https://api.github.com/users/octocat/subscriptions\",\n    \"organizations_url\": \"https://api.github.com/users/octocat/orgs\",\n    \"repos_url\": \"https://api.github.com/users/octocat/repos\",\n    \"events_url\": \"https://api.github.com/users/octocat/events{/privacy}\",\n    \"received_events_url\": \"https://api.github.com/users/octocat/received_events\",\n    \"type\": \"User\",\n    \"site_admin\": false\n  },\n  \"created_at\": \"2012-07-20T01:19:13Z\",\n  \"updated_at\": \"2012-07-20T01:19:13Z\",\n  \"statuses_url\": \"https://api.github.com/repos/octocat/example/deployments/1/statuses\",\n  \"repository_url\": \"https://api.github.com/repos/octocat/example\",\n  \"transient_environment\": false,\n  \"production_environment\": true\n}\n
    " - }, { "httpStatusCode": "202", "httpStatusMessage": "Accepted", @@ -33568,14 +33756,7 @@ { "httpStatusCode": "409", "httpStatusMessage": "Conflict", - "description": "Merge conflict response", - "payload": "
    {\n  \"message\": \"Conflict merging master into topic-branch\"\n}\n
    " - }, - { - "httpStatusCode": "409", - "httpStatusMessage": "Conflict", - "description": "Failed commit status checks", - "payload": "
    {\n  \"message\": \"Conflict: Commit status checks failed for topic-branch.\"\n}\n
    " + "description": "Response when there is a merge conflict or the commit s status checks failed" }, { "httpStatusCode": "422", @@ -33587,7 +33768,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/deployments/{deployment_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -33621,8 +33802,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/deployments/42", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/deployments/42
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/deployments/42", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/deployments/42
    " }, { "lang": "JavaScript", @@ -33685,7 +33866,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/deployments/{deployment_id}/statuses", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -33739,8 +33920,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/deployments/42/statuses", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/deployments/42/statuses
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/deployments/42/statuses", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/deployments/42/statuses
    " }, { "lang": "JavaScript", @@ -33803,7 +33984,7 @@ { "verb": "post", "requestPath": "/repos/{owner}/{repo}/deployments/{deployment_id}/statuses", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -33837,8 +34018,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/deployments/42/statuses \\\n -d '{\"state\":\"state\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/deployments/42/statuses \\\n  -d '{\"state\":\"state\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/deployments/42/statuses \\\n -d '{\"state\":\"state\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/deployments/42/statuses \\\n  -d '{\"state\":\"state\"}'
    " }, { "lang": "JavaScript", @@ -34084,7 +34265,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/deployments/{deployment_id}/statuses/{status_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -34127,8 +34308,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/deployments/42/statuses/42", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/deployments/42/statuses/42
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/deployments/42/statuses/42", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/deployments/42/statuses/42
    " }, { "lang": "JavaScript", @@ -34202,7 +34383,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/events", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -34246,8 +34427,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/events", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/events
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/events", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/events
    " }, { "lang": "JavaScript", @@ -34291,7 +34472,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/forks", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -34321,7 +34502,8 @@ "enum": [ "newest", "oldest", - "stargazers" + "stargazers", + "watchers" ], "default": "newest" }, @@ -34346,13 +34528,35 @@ "default": 1 }, "descriptionHTML": "

    Page number of the results to fetch.

    " + }, + { + "name": "org", + "description": "legacy query parameter for specifying the org.", + "in": "query", + "deprecated": true, + "required": false, + "schema": { + "type": "string" + }, + "descriptionHTML": "

    legacy query parameter for specifying the org.

    " + }, + { + "name": "organization", + "description": "legacy query parameter for specifying the org.", + "in": "query", + "deprecated": true, + "required": false, + "schema": { + "type": "string" + }, + "descriptionHTML": "

    legacy query parameter for specifying the org.

    " } ], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/forks", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/forks
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/forks", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/forks
    " }, { "lang": "JavaScript", @@ -34402,7 +34606,7 @@ { "verb": "post", "requestPath": "/repos/{owner}/{repo}/forks", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -34421,13 +34625,35 @@ "type": "string" }, "descriptionHTML": "" + }, + { + "name": "org", + "description": "legacy query parameter for specifying the org.", + "in": "query", + "deprecated": true, + "required": false, + "schema": { + "type": "string" + }, + "descriptionHTML": "

    legacy query parameter for specifying the org.

    " + }, + { + "name": "organization", + "description": "legacy query parameter for specifying the org.", + "in": "query", + "deprecated": true, + "required": false, + "schema": { + "type": "string" + }, + "descriptionHTML": "

    legacy query parameter for specifying the org.

    " } ], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/forks \\\n -d '{\"organization\":\"organization\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/forks \\\n  -d '{\"organization\":\"organization\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/forks \\\n -d '{\"organization\":\"organization\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/forks \\\n  -d '{\"organization\":\"organization\"}'
    " }, { "lang": "JavaScript", @@ -34450,6 +34676,7 @@ "application/json": { "schema": { "type": "object", + "nullable": true, "properties": { "organization": { "type": "string", @@ -34522,7 +34749,7 @@ { "verb": "post", "requestPath": "/repos/{owner}/{repo}/git/blobs", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -34546,8 +34773,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/git/blobs \\\n -d '{\"content\":\"content\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/git/blobs \\\n  -d '{\"content\":\"content\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/git/blobs \\\n -d '{\"content\":\"content\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/git/blobs \\\n  -d '{\"content\":\"content\"}'
    " }, { "lang": "JavaScript", @@ -34669,7 +34896,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/git/blobs/{file_sha}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -34702,8 +34929,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/git/blobs/FILE_SHA", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/git/blobs/FILE_SHA
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/git/blobs/FILE_SHA", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/git/blobs/FILE_SHA
    " }, { "lang": "JavaScript", @@ -34763,7 +34990,7 @@ { "verb": "post", "requestPath": "/repos/{owner}/{repo}/git/commits", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -34787,8 +35014,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/git/commits \\\n -d '{\"message\":\"message\",\"tree\":\"tree\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/git/commits \\\n  -d '{\"message\":\"message\",\"tree\":\"tree\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/git/commits \\\n -d '{\"message\":\"message\",\"tree\":\"tree\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/git/commits \\\n  -d '{\"message\":\"message\",\"tree\":\"tree\"}'
    " }, { "lang": "JavaScript", @@ -35242,7 +35469,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/git/commits/{commit_sha}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -35277,8 +35504,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/git/commits/COMMIT_SHA", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/git/commits/COMMIT_SHA
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/git/commits/COMMIT_SHA", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/git/commits/COMMIT_SHA
    " }, { "lang": "JavaScript", @@ -35328,7 +35555,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/git/matching-refs/{ref}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -35350,14 +35577,14 @@ }, { "name": "ref", - "description": "ref+ parameter", + "description": "ref parameter", "in": "path", "required": true, "schema": { "type": "string" }, "x-multi-segment": true, - "descriptionHTML": "

    ref+ parameter

    " + "descriptionHTML": "

    ref parameter

    " }, { "name": "per_page", @@ -35383,8 +35610,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/git/matching-refs/REF", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/git/matching-refs/REF
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/git/matching-refs/REF", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/git/matching-refs/REF
    " }, { "lang": "JavaScript", @@ -35429,7 +35656,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/git/ref/{ref}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -35451,21 +35678,21 @@ }, { "name": "ref", - "description": "ref+ parameter", + "description": "ref parameter", "in": "path", "required": true, "schema": { "type": "string" }, "x-multi-segment": true, - "descriptionHTML": "

    ref+ parameter

    " + "descriptionHTML": "

    ref parameter

    " } ], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/git/ref/REF", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/git/ref/REF
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/git/ref/REF", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/git/ref/REF
    " }, { "lang": "JavaScript", @@ -35515,7 +35742,7 @@ { "verb": "post", "requestPath": "/repos/{owner}/{repo}/git/refs", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -35539,8 +35766,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/git/refs \\\n -d '{\"ref\":\"ref\",\"sha\":\"sha\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/git/refs \\\n  -d '{\"ref\":\"ref\",\"sha\":\"sha\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/git/refs \\\n -d '{\"ref\":\"ref\",\"sha\":\"sha\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/git/refs \\\n  -d '{\"ref\":\"ref\",\"sha\":\"sha\"}'
    " }, { "lang": "JavaScript", @@ -35664,7 +35891,7 @@ { "verb": "patch", "requestPath": "/repos/{owner}/{repo}/git/refs/{ref}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -35686,21 +35913,21 @@ }, { "name": "ref", - "description": "ref+ parameter", + "description": "ref parameter", "in": "path", "required": true, "schema": { "type": "string" }, "x-multi-segment": true, - "descriptionHTML": "

    ref+ parameter

    " + "descriptionHTML": "

    ref parameter

    " } ], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/git/refs/REF \\\n -d '{\"sha\":\"sha\"}'", - "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/git/refs/REF \\\n  -d '{\"sha\":\"sha\"}'
    " + "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/git/refs/REF \\\n -d '{\"sha\":\"sha\"}'", + "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/git/refs/REF \\\n  -d '{\"sha\":\"sha\"}'
    " }, { "lang": "JavaScript", @@ -35807,7 +36034,7 @@ { "verb": "delete", "requestPath": "/repos/{owner}/{repo}/git/refs/{ref}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -35829,21 +36056,21 @@ }, { "name": "ref", - "description": "ref+ parameter", + "description": "ref parameter", "in": "path", "required": true, "schema": { "type": "string" }, "x-multi-segment": true, - "descriptionHTML": "

    ref+ parameter

    " + "descriptionHTML": "

    ref parameter

    " } ], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/git/refs/REF", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/git/refs/REF
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/git/refs/REF", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/git/refs/REF
    " }, { "lang": "JavaScript", @@ -35878,7 +36105,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "422", @@ -35892,7 +36119,7 @@ { "verb": "post", "requestPath": "/repos/{owner}/{repo}/git/tags", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -35916,8 +36143,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/git/tags \\\n -d '{\"tag\":\"tag\",\"message\":\"message\",\"object\":\"object\",\"type\":\"type\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/git/tags \\\n  -d '{\"tag\":\"tag\",\"message\":\"message\",\"object\":\"object\",\"type\":\"type\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/git/tags \\\n -d '{\"tag\":\"tag\",\"message\":\"message\",\"object\":\"object\",\"type\":\"type\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/git/tags \\\n  -d '{\"tag\":\"tag\",\"message\":\"message\",\"object\":\"object\",\"type\":\"type\"}'
    " }, { "lang": "JavaScript", @@ -36224,7 +36451,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/git/tags/{tag_sha}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -36257,8 +36484,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/git/tags/TAG_SHA", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/git/tags/TAG_SHA
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/git/tags/TAG_SHA", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/git/tags/TAG_SHA
    " }, { "lang": "JavaScript", @@ -36308,7 +36535,7 @@ { "verb": "post", "requestPath": "/repos/{owner}/{repo}/git/trees", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -36332,8 +36559,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/git/trees \\\n -d '{\"tree\":[{\"path\":\"path\",\"mode\":\"mode\",\"type\":\"type\",\"sha\":\"sha\",\"content\":\"content\"}]}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/git/trees \\\n  -d '{\"tree\":[{\"path\":\"path\",\"mode\":\"mode\",\"type\":\"type\",\"sha\":\"sha\",\"content\":\"content\"}]}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/git/trees \\\n -d '{\"tree\":[{\"path\":\"path\",\"mode\":\"mode\",\"type\":\"type\",\"sha\":\"sha\",\"content\":\"content\"}]}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/git/trees \\\n  -d '{\"tree\":[{\"path\":\"path\",\"mode\":\"mode\",\"type\":\"type\",\"sha\":\"sha\",\"content\":\"content\"}]}'
    " }, { "lang": "JavaScript", @@ -36713,7 +36940,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/git/trees/{tree_sha}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -36740,6 +36967,7 @@ "schema": { "type": "string" }, + "x-multi-segment": true, "descriptionHTML": "" }, { @@ -36756,8 +36984,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/git/trees/TREE_SHA", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/git/trees/TREE_SHA
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/git/trees/TREE_SHA", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/git/trees/TREE_SHA
    " }, { "lang": "JavaScript", @@ -36818,7 +37046,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/hooks", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -36862,8 +37090,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/hooks", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/hooks
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/hooks", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/hooks
    " }, { "lang": "JavaScript", @@ -36913,7 +37141,7 @@ { "verb": "post", "requestPath": "/repos/{owner}/{repo}/hooks", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -36937,8 +37165,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/hooks \\\n -d '{\"config\":{\"url\":\"url\",\"content_type\":\"content_type\",\"secret\":\"secret\",\"insecure_ssl\":\"insecure_ssl\",\"token\":\"token\",\"digest\":\"digest\"}}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/hooks \\\n  -d '{\"config\":{\"url\":\"url\",\"content_type\":\"content_type\",\"secret\":\"secret\",\"insecure_ssl\":\"insecure_ssl\",\"token\":\"token\",\"digest\":\"digest\"}}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/hooks \\\n -d '{\"config\":{\"url\":\"url\",\"content_type\":\"content_type\",\"secret\":\"secret\",\"insecure_ssl\":\"insecure_ssl\",\"token\":\"token\",\"digest\":\"digest\"}}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/hooks \\\n  -d '{\"config\":{\"url\":\"url\",\"content_type\":\"content_type\",\"secret\":\"secret\",\"insecure_ssl\":\"insecure_ssl\",\"token\":\"token\",\"digest\":\"digest\"}}'
    " }, { "lang": "JavaScript", @@ -37374,7 +37602,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/hooks/{hook_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -37407,8 +37635,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/hooks/42", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/hooks/42
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/hooks/42", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/hooks/42
    " }, { "lang": "JavaScript", @@ -37458,7 +37686,7 @@ { "verb": "patch", "requestPath": "/repos/{owner}/{repo}/hooks/{hook_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -37491,8 +37719,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/hooks/42 \\\n -d '{\"config\":{\"url\":\"url\",\"content_type\":\"content_type\",\"secret\":\"secret\",\"insecure_ssl\":\"insecure_ssl\",\"address\":\"address\",\"room\":\"room\"}}'", - "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/hooks/42 \\\n  -d '{\"config\":{\"url\":\"url\",\"content_type\":\"content_type\",\"secret\":\"secret\",\"insecure_ssl\":\"insecure_ssl\",\"address\":\"address\",\"room\":\"room\"}}'
    " + "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/hooks/42 \\\n -d '{\"config\":{\"url\":\"url\",\"content_type\":\"content_type\",\"secret\":\"secret\",\"insecure_ssl\":\"insecure_ssl\",\"address\":\"address\",\"room\":\"room\"}}'", + "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/hooks/42 \\\n  -d '{\"config\":{\"url\":\"url\",\"content_type\":\"content_type\",\"secret\":\"secret\",\"insecure_ssl\":\"insecure_ssl\",\"address\":\"address\",\"room\":\"room\"}}'
    " }, { "lang": "JavaScript", @@ -37943,7 +38171,7 @@ { "verb": "delete", "requestPath": "/repos/{owner}/{repo}/hooks/{hook_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -37976,8 +38204,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/hooks/42", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/hooks/42
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/hooks/42", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/hooks/42
    " }, { "lang": "JavaScript", @@ -38012,7 +38240,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "404", @@ -38026,7 +38254,7 @@ { "verb": "post", "requestPath": "/repos/{owner}/{repo}/hooks/{hook_id}/pings", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -38059,8 +38287,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/hooks/42/pings", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/hooks/42/pings
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/hooks/42/pings", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/hooks/42/pings
    " }, { "lang": "JavaScript", @@ -38095,7 +38323,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "404", @@ -38109,7 +38337,7 @@ { "verb": "post", "requestPath": "/repos/{owner}/{repo}/hooks/{hook_id}/tests", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -38142,8 +38370,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/hooks/42/tests", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/hooks/42/tests
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/hooks/42/tests", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/hooks/42/tests
    " }, { "lang": "JavaScript", @@ -38178,7 +38406,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "404", @@ -38192,7 +38420,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/installation", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "accept", @@ -38227,8 +38455,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.machine-man-preview+json\" \\\n https://api.github.com/repos/octocat/hello-world/installation", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.machine-man-preview+json\" \\\n  https://api.github.com/repos/octocat/hello-world/installation
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.machine-man-preview+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/installation", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.machine-man-preview+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/installation
    " }, { "lang": "JavaScript", @@ -38287,7 +38515,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/invitations", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -38331,8 +38559,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/invitations", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/invitations
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/invitations", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/invitations
    " }, { "lang": "JavaScript", @@ -38377,7 +38605,7 @@ { "verb": "patch", "requestPath": "/repos/{owner}/{repo}/invitations/{invitation_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -38411,8 +38639,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/invitations/42 \\\n -d '{\"permissions\":\"permissions\"}'", - "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/invitations/42 \\\n  -d '{\"permissions\":\"permissions\"}'
    " + "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/invitations/42 \\\n -d '{\"permissions\":\"permissions\"}'", + "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/invitations/42 \\\n  -d '{\"permissions\":\"permissions\"}'
    " }, { "lang": "JavaScript", @@ -38501,7 +38729,7 @@ { "verb": "delete", "requestPath": "/repos/{owner}/{repo}/invitations/{invitation_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -38535,8 +38763,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/invitations/42", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/invitations/42
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/invitations/42", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/invitations/42
    " }, { "lang": "JavaScript", @@ -38571,7 +38799,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "bodyParameters": [], @@ -38580,7 +38808,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/issues", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -38731,8 +38959,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/issues", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/issues
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues
    " }, { "lang": "JavaScript", @@ -38796,7 +39024,7 @@ { "verb": "post", "requestPath": "/repos/{owner}/{repo}/issues", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -38820,8 +39048,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/issues \\\n -d '{\"title\":\"title\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/issues \\\n  -d '{\"title\":\"title\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues \\\n -d '{\"title\":\"title\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues \\\n  -d '{\"title\":\"title\"}'
    " }, { "lang": "JavaScript", @@ -39112,7 +39340,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/issues/comments", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -39195,8 +39423,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/issues/comments", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/issues/comments
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues/comments", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues/comments
    " }, { "lang": "JavaScript", @@ -39258,7 +39486,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/issues/comments/{comment_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -39292,8 +39520,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/issues/comments/42", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/issues/comments/42
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues/comments/42", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues/comments/42
    " }, { "lang": "JavaScript", @@ -39350,7 +39578,7 @@ { "verb": "patch", "requestPath": "/repos/{owner}/{repo}/issues/comments/{comment_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -39384,8 +39612,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/issues/comments/42 \\\n -d '{\"body\":\"body\"}'", - "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/issues/comments/42 \\\n  -d '{\"body\":\"body\"}'
    " + "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues/comments/42 \\\n -d '{\"body\":\"body\"}'", + "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues/comments/42 \\\n  -d '{\"body\":\"body\"}'
    " }, { "lang": "JavaScript", @@ -39471,7 +39699,7 @@ { "verb": "delete", "requestPath": "/repos/{owner}/{repo}/issues/comments/{comment_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -39505,8 +39733,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/issues/comments/42", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/issues/comments/42
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues/comments/42", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues/comments/42
    " }, { "lang": "JavaScript", @@ -39541,7 +39769,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "bodyParameters": [], @@ -39550,7 +39778,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/issues/comments/{comment_id}/reactions", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -39624,8 +39852,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n https://api.github.com/repos/octocat/hello-world/issues/comments/42/reactions", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n  https://api.github.com/repos/octocat/hello-world/issues/comments/42/reactions
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues/comments/42/reactions", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues/comments/42/reactions
    " }, { "lang": "JavaScript", @@ -39685,7 +39913,7 @@ { "verb": "post", "requestPath": "/repos/{owner}/{repo}/issues/comments/{comment_id}/reactions", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -39719,8 +39947,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n https://api.github.com/repos/octocat/hello-world/issues/comments/42/reactions \\\n -d '{\"content\":\"content\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n  https://api.github.com/repos/octocat/hello-world/issues/comments/42/reactions \\\n  -d '{\"content\":\"content\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues/comments/42/reactions \\\n -d '{\"content\":\"content\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues/comments/42/reactions \\\n  -d '{\"content\":\"content\"}'
    " }, { "lang": "JavaScript", @@ -39842,7 +40070,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/issues/events", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -39886,8 +40114,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/issues/events", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/issues/events
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues/events", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues/events
    " }, { "lang": "JavaScript", @@ -39950,7 +40178,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/issues/events/{event_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -39983,8 +40211,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/issues/events/42", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/issues/events/42
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues/events/42", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues/events/42
    " }, { "lang": "JavaScript", @@ -40063,7 +40291,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/issues/{issue_number}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -40097,8 +40325,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/issues/42", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/issues/42
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues/42", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues/42
    " }, { "lang": "JavaScript", @@ -40168,7 +40396,7 @@ { "verb": "patch", "requestPath": "/repos/{owner}/{repo}/issues/{issue_number}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -40202,8 +40430,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/issues/42 \\\n -d '{\"title\":\"title\"}'", - "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/issues/42 \\\n  -d '{\"title\":\"title\"}'
    " + "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues/42 \\\n -d '{\"title\":\"title\"}'", + "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues/42 \\\n  -d '{\"title\":\"title\"}'
    " }, { "lang": "JavaScript", @@ -40528,7 +40756,7 @@ { "verb": "post", "requestPath": "/repos/{owner}/{repo}/issues/{issue_number}/assignees", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -40562,8 +40790,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/issues/42/assignees \\\n -d '{\"assignees\":[\"assignees\"]}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/issues/42/assignees \\\n  -d '{\"assignees\":[\"assignees\"]}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues/42/assignees \\\n -d '{\"assignees\":[\"assignees\"]}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues/42/assignees \\\n  -d '{\"assignees\":[\"assignees\"]}'
    " }, { "lang": "JavaScript", @@ -40650,7 +40878,7 @@ { "verb": "delete", "requestPath": "/repos/{owner}/{repo}/issues/{issue_number}/assignees", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -40684,8 +40912,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/issues/42/assignees \\\n -d '{\"assignees\":[\"assignees\"]}'", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/issues/42/assignees \\\n  -d '{\"assignees\":[\"assignees\"]}'
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues/42/assignees \\\n -d '{\"assignees\":[\"assignees\"]}'", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues/42/assignees \\\n  -d '{\"assignees\":[\"assignees\"]}'
    " }, { "lang": "JavaScript", @@ -40772,7 +41000,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/issues/{issue_number}/comments", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -40836,8 +41064,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/issues/42/comments", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/issues/42/comments
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues/42/comments", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues/42/comments
    " }, { "lang": "JavaScript", @@ -40899,7 +41127,7 @@ { "verb": "post", "requestPath": "/repos/{owner}/{repo}/issues/{issue_number}/comments", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -40933,8 +41161,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/issues/42/comments \\\n -d '{\"body\":\"body\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/issues/42/comments \\\n  -d '{\"body\":\"body\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues/42/comments \\\n -d '{\"body\":\"body\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues/42/comments \\\n  -d '{\"body\":\"body\"}'
    " }, { "lang": "JavaScript", @@ -41036,7 +41264,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/issues/{issue_number}/events", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -41090,8 +41318,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/issues/42/events", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/issues/42/events
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues/42/events", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues/42/events
    " }, { "lang": "JavaScript", @@ -41154,7 +41382,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/issues/{issue_number}/labels", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -41208,8 +41436,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/issues/42/labels", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/issues/42/labels
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues/42/labels", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues/42/labels
    " }, { "lang": "JavaScript", @@ -41259,7 +41487,7 @@ { "verb": "post", "requestPath": "/repos/{owner}/{repo}/issues/{issue_number}/labels", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -41293,8 +41521,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/issues/42/labels \\\n -d '{\"labels\":[\"labels\"]}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/issues/42/labels \\\n  -d '{\"labels\":[\"labels\"]}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues/42/labels \\\n -d '{\"labels\":[\"labels\"]}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues/42/labels \\\n  -d '{\"labels\":[\"labels\"]}'
    " }, { "lang": "JavaScript", @@ -41394,7 +41622,7 @@ { "verb": "put", "requestPath": "/repos/{owner}/{repo}/issues/{issue_number}/labels", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -41428,8 +41656,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/issues/42/labels \\\n -d '{\"labels\":[\"labels\"]}'", - "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/issues/42/labels \\\n  -d '{\"labels\":[\"labels\"]}'
    " + "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues/42/labels \\\n -d '{\"labels\":[\"labels\"]}'", + "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues/42/labels \\\n  -d '{\"labels\":[\"labels\"]}'
    " }, { "lang": "JavaScript", @@ -41526,7 +41754,7 @@ { "verb": "delete", "requestPath": "/repos/{owner}/{repo}/issues/{issue_number}/labels", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -41560,8 +41788,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/issues/42/labels", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/issues/42/labels
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues/42/labels", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues/42/labels
    " }, { "lang": "JavaScript", @@ -41596,7 +41824,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "410", @@ -41610,7 +41838,7 @@ { "verb": "delete", "requestPath": "/repos/{owner}/{repo}/issues/{issue_number}/labels/{name}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -41653,8 +41881,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/issues/42/labels/NAME", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/issues/42/labels/NAME
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues/42/labels/NAME", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues/42/labels/NAME
    " }, { "lang": "JavaScript", @@ -41709,7 +41937,7 @@ { "verb": "put", "requestPath": "/repos/{owner}/{repo}/issues/{issue_number}/lock", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -41743,8 +41971,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/issues/42/lock \\\n -d '{\"lock_reason\":\"lock_reason\"}'", - "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/issues/42/lock \\\n  -d '{\"lock_reason\":\"lock_reason\"}'
    " + "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues/42/lock \\\n -d '{\"lock_reason\":\"lock_reason\"}'", + "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues/42/lock \\\n  -d '{\"lock_reason\":\"lock_reason\"}'
    " }, { "lang": "JavaScript", @@ -41810,7 +42038,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "403", @@ -41855,7 +42083,7 @@ { "verb": "delete", "requestPath": "/repos/{owner}/{repo}/issues/{issue_number}/lock", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -41889,8 +42117,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/issues/42/lock", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/issues/42/lock
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues/42/lock", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues/42/lock
    " }, { "lang": "JavaScript", @@ -41923,7 +42151,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "403", @@ -41942,7 +42170,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/issues/{issue_number}/reactions", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -42016,8 +42244,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n https://api.github.com/repos/octocat/hello-world/issues/42/reactions", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n  https://api.github.com/repos/octocat/hello-world/issues/42/reactions
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues/42/reactions", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues/42/reactions
    " }, { "lang": "JavaScript", @@ -42082,7 +42310,7 @@ { "verb": "post", "requestPath": "/repos/{owner}/{repo}/issues/{issue_number}/reactions", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -42116,8 +42344,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n https://api.github.com/repos/octocat/hello-world/issues/42/reactions \\\n -d '{\"content\":\"content\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n  https://api.github.com/repos/octocat/hello-world/issues/42/reactions \\\n  -d '{\"content\":\"content\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues/42/reactions \\\n -d '{\"content\":\"content\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues/42/reactions \\\n  -d '{\"content\":\"content\"}'
    " }, { "lang": "JavaScript", @@ -42233,7 +42461,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/issues/{issue_number}/timeline", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -42287,8 +42515,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.mockingbird-preview+json\" \\\n https://api.github.com/repos/octocat/hello-world/issues/42/timeline", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.mockingbird-preview+json\" \\\n  https://api.github.com/repos/octocat/hello-world/issues/42/timeline
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.mockingbird-preview+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues/42/timeline", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.mockingbird-preview+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues/42/timeline
    " }, { "lang": "JavaScript", @@ -42361,7 +42589,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/keys", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -42405,8 +42633,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/keys", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/keys
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/keys", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/keys
    " }, { "lang": "JavaScript", @@ -42451,7 +42679,7 @@ { "verb": "post", "requestPath": "/repos/{owner}/{repo}/keys", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -42475,8 +42703,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/keys \\\n -d '{\"key\":\"key\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/keys \\\n  -d '{\"key\":\"key\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/keys \\\n -d '{\"key\":\"key\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/keys \\\n  -d '{\"key\":\"key\"}'
    " }, { "lang": "JavaScript", @@ -42600,7 +42828,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/keys/{key_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -42634,8 +42862,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/keys/42", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/keys/42
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/keys/42", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/keys/42
    " }, { "lang": "JavaScript", @@ -42685,7 +42913,7 @@ { "verb": "delete", "requestPath": "/repos/{owner}/{repo}/keys/{key_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -42719,8 +42947,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/keys/42", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/keys/42
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/keys/42", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/keys/42
    " }, { "lang": "JavaScript", @@ -42755,7 +42983,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "bodyParameters": [], @@ -42764,7 +42992,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/labels", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -42808,8 +43036,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/labels", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/labels
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/labels", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/labels
    " }, { "lang": "JavaScript", @@ -42859,7 +43087,7 @@ { "verb": "post", "requestPath": "/repos/{owner}/{repo}/labels", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -42883,8 +43111,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/labels \\\n -d '{\"name\":\"name\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/labels \\\n  -d '{\"name\":\"name\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/labels \\\n -d '{\"name\":\"name\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/labels \\\n  -d '{\"name\":\"name\"}'
    " }, { "lang": "JavaScript", @@ -42910,11 +43138,11 @@ "properties": { "name": { "type": "string", - "description": "

    Required. The name of the label. Emoji can be added to label names, using either native emoji or colon-style markup. For example, typing :strawberry: will render the emoji \":strawberry:\". For a full list of available emoji and codes, see emoji-cheat-sheet.com.

    ", + "description": "

    Required. The name of the label. Emoji can be added to label names, using either native emoji or colon-style markup. For example, typing :strawberry: will render the emoji \":strawberry:\". For a full list of available emoji and codes, see \"Emoji cheat sheet.\"

    ", "name": "name", "in": "body", "rawType": "string", - "rawDescription": "The name of the label. Emoji can be added to label names, using either native emoji or colon-style markup. For example, typing `:strawberry:` will render the emoji ![:strawberry:](https://github.githubassets.com/images/icons/emoji/unicode/1f353.png \":strawberry:\"). For a full list of available emoji and codes, see [emoji-cheat-sheet.com](http://emoji-cheat-sheet.com/).", + "rawDescription": "The name of the label. Emoji can be added to label names, using either native emoji or colon-style markup. For example, typing `:strawberry:` will render the emoji ![:strawberry:](https://github.githubassets.com/images/icons/emoji/unicode/1f353.png \":strawberry:\"). For a full list of available emoji and codes, see \"[Emoji cheat sheet](https://github.com/ikatyang/emoji-cheat-sheet).\"", "childParamsGroups": [] }, "color": { @@ -42965,11 +43193,11 @@ "bodyParameters": [ { "type": "string", - "description": "

    Required. The name of the label. Emoji can be added to label names, using either native emoji or colon-style markup. For example, typing :strawberry: will render the emoji \":strawberry:\". For a full list of available emoji and codes, see emoji-cheat-sheet.com.

    ", + "description": "

    Required. The name of the label. Emoji can be added to label names, using either native emoji or colon-style markup. For example, typing :strawberry: will render the emoji \":strawberry:\". For a full list of available emoji and codes, see \"Emoji cheat sheet.\"

    ", "name": "name", "in": "body", "rawType": "string", - "rawDescription": "The name of the label. Emoji can be added to label names, using either native emoji or colon-style markup. For example, typing `:strawberry:` will render the emoji ![:strawberry:](https://github.githubassets.com/images/icons/emoji/unicode/1f353.png \":strawberry:\"). For a full list of available emoji and codes, see [emoji-cheat-sheet.com](http://emoji-cheat-sheet.com/).", + "rawDescription": "The name of the label. Emoji can be added to label names, using either native emoji or colon-style markup. For example, typing `:strawberry:` will render the emoji ![:strawberry:](https://github.githubassets.com/images/icons/emoji/unicode/1f353.png \":strawberry:\"). For a full list of available emoji and codes, see \"[Emoji cheat sheet](https://github.com/ikatyang/emoji-cheat-sheet).\"", "childParamsGroups": [] }, { @@ -43013,7 +43241,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/labels/{name}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -43046,8 +43274,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/labels/NAME", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/labels/NAME
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/labels/NAME", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/labels/NAME
    " }, { "lang": "JavaScript", @@ -43097,7 +43325,7 @@ { "verb": "patch", "requestPath": "/repos/{owner}/{repo}/labels/{name}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -43130,8 +43358,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/labels/NAME \\\n -d '{\"new_name\":\"new_name\"}'", - "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/labels/NAME \\\n  -d '{\"new_name\":\"new_name\"}'
    " + "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/labels/NAME \\\n -d '{\"new_name\":\"new_name\"}'", + "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/labels/NAME \\\n  -d '{\"new_name\":\"new_name\"}'
    " }, { "lang": "JavaScript", @@ -43157,11 +43385,11 @@ "properties": { "new_name": { "type": "string", - "description": "

    The new name of the label. Emoji can be added to label names, using either native emoji or colon-style markup. For example, typing :strawberry: will render the emoji \":strawberry:\". For a full list of available emoji and codes, see emoji-cheat-sheet.com.

    ", + "description": "

    The new name of the label. Emoji can be added to label names, using either native emoji or colon-style markup. For example, typing :strawberry: will render the emoji \":strawberry:\". For a full list of available emoji and codes, see \"Emoji cheat sheet.\"

    ", "name": "new_name", "in": "body", "rawType": "string", - "rawDescription": "The new name of the label. Emoji can be added to label names, using either native emoji or colon-style markup. For example, typing `:strawberry:` will render the emoji ![:strawberry:](https://github.githubassets.com/images/icons/emoji/unicode/1f353.png \":strawberry:\"). For a full list of available emoji and codes, see [emoji-cheat-sheet.com](http://emoji-cheat-sheet.com/).", + "rawDescription": "The new name of the label. Emoji can be added to label names, using either native emoji or colon-style markup. For example, typing `:strawberry:` will render the emoji ![:strawberry:](https://github.githubassets.com/images/icons/emoji/unicode/1f353.png \":strawberry:\"). For a full list of available emoji and codes, see \"[Emoji cheat sheet](https://github.com/ikatyang/emoji-cheat-sheet).\"", "childParamsGroups": [] }, "color": { @@ -43209,11 +43437,11 @@ "bodyParameters": [ { "type": "string", - "description": "

    The new name of the label. Emoji can be added to label names, using either native emoji or colon-style markup. For example, typing :strawberry: will render the emoji \":strawberry:\". For a full list of available emoji and codes, see emoji-cheat-sheet.com.

    ", + "description": "

    The new name of the label. Emoji can be added to label names, using either native emoji or colon-style markup. For example, typing :strawberry: will render the emoji \":strawberry:\". For a full list of available emoji and codes, see \"Emoji cheat sheet.\"

    ", "name": "new_name", "in": "body", "rawType": "string", - "rawDescription": "The new name of the label. Emoji can be added to label names, using either native emoji or colon-style markup. For example, typing `:strawberry:` will render the emoji ![:strawberry:](https://github.githubassets.com/images/icons/emoji/unicode/1f353.png \":strawberry:\"). For a full list of available emoji and codes, see [emoji-cheat-sheet.com](http://emoji-cheat-sheet.com/).", + "rawDescription": "The new name of the label. Emoji can be added to label names, using either native emoji or colon-style markup. For example, typing `:strawberry:` will render the emoji ![:strawberry:](https://github.githubassets.com/images/icons/emoji/unicode/1f353.png \":strawberry:\"). For a full list of available emoji and codes, see \"[Emoji cheat sheet](https://github.com/ikatyang/emoji-cheat-sheet).\"", "childParamsGroups": [] }, { @@ -43247,7 +43475,7 @@ { "verb": "delete", "requestPath": "/repos/{owner}/{repo}/labels/{name}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -43280,8 +43508,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/labels/NAME", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/labels/NAME
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/labels/NAME", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/labels/NAME
    " }, { "lang": "JavaScript", @@ -43316,7 +43544,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "bodyParameters": [], @@ -43325,7 +43553,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/languages", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -43349,8 +43577,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/languages", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/languages
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/languages", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/languages
    " }, { "lang": "JavaScript", @@ -43393,7 +43621,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/license", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -43417,8 +43645,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/license", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/license
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/license", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/license
    " }, { "lang": "JavaScript", @@ -43461,7 +43689,7 @@ { "verb": "post", "requestPath": "/repos/{owner}/{repo}/merges", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -43485,8 +43713,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/merges \\\n -d '{\"base\":\"base\",\"head\":\"head\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/merges \\\n  -d '{\"base\":\"base\",\"head\":\"head\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/merges \\\n -d '{\"base\":\"base\",\"head\":\"head\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/merges \\\n  -d '{\"base\":\"base\",\"head\":\"head\"}'
    " }, { "lang": "JavaScript", @@ -43609,20 +43837,12 @@ { "httpStatusCode": "404", "httpStatusMessage": "Not Found", - "description": "Missing base response", - "payload": "
    {\n  \"message\": \"Base does not exist\"\n}\n
    " - }, - { - "httpStatusCode": "404", - "httpStatusMessage": "Not Found", - "description": "Missing head response", - "payload": "
    {\n  \"message\": \"Head does not exist\"\n}\n
    " + "description": "Response when the base or head does not exist" }, { "httpStatusCode": "409", "httpStatusMessage": "Conflict", - "description": "Merge conflict response", - "payload": "
    {\n  \"message\": \"Merge Conflict\"\n}\n
    " + "description": "Response when there is a merge conflict" }, { "httpStatusCode": "422", @@ -43634,7 +43854,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/milestones", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -43724,8 +43944,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/milestones", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/milestones
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/milestones", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/milestones
    " }, { "lang": "JavaScript", @@ -43775,7 +43995,7 @@ { "verb": "post", "requestPath": "/repos/{owner}/{repo}/milestones", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -43799,8 +44019,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/milestones \\\n -d '{\"title\":\"title\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/milestones \\\n  -d '{\"title\":\"title\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/milestones \\\n -d '{\"title\":\"title\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/milestones \\\n  -d '{\"title\":\"title\"}'
    " }, { "lang": "JavaScript", @@ -43958,7 +44178,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/milestones/{milestone_number}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -43992,8 +44212,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/milestones/42", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/milestones/42
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/milestones/42", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/milestones/42
    " }, { "lang": "JavaScript", @@ -44043,7 +44263,7 @@ { "verb": "patch", "requestPath": "/repos/{owner}/{repo}/milestones/{milestone_number}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -44077,8 +44297,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/milestones/42 \\\n -d '{\"title\":\"title\"}'", - "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/milestones/42 \\\n  -d '{\"title\":\"title\"}'
    " + "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/milestones/42 \\\n -d '{\"title\":\"title\"}'", + "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/milestones/42 \\\n  -d '{\"title\":\"title\"}'
    " }, { "lang": "JavaScript", @@ -44223,7 +44443,7 @@ { "verb": "delete", "requestPath": "/repos/{owner}/{repo}/milestones/{milestone_number}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -44257,8 +44477,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/milestones/42", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/milestones/42
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/milestones/42", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/milestones/42
    " }, { "lang": "JavaScript", @@ -44293,7 +44513,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "404", @@ -44307,7 +44527,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/milestones/{milestone_number}/labels", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -44361,8 +44581,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/milestones/42/labels", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/milestones/42/labels
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/milestones/42/labels", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/milestones/42/labels
    " }, { "lang": "JavaScript", @@ -44407,7 +44627,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/notifications", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -44493,8 +44713,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/notifications", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/notifications
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/notifications", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/notifications
    " }, { "lang": "JavaScript", @@ -44539,7 +44759,7 @@ { "verb": "put", "requestPath": "/repos/{owner}/{repo}/notifications", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -44563,8 +44783,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/notifications \\\n -d '{\"last_read_at\":\"last_read_at\"}'", - "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/notifications \\\n  -d '{\"last_read_at\":\"last_read_at\"}'
    " + "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/notifications \\\n -d '{\"last_read_at\":\"last_read_at\"}'", + "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/notifications \\\n  -d '{\"last_read_at\":\"last_read_at\"}'
    " }, { "lang": "JavaScript", @@ -44638,7 +44858,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/pages", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -44662,8 +44882,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/pages", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/pages
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/pages", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/pages
    " }, { "lang": "JavaScript", @@ -44713,7 +44933,7 @@ { "verb": "post", "requestPath": "/repos/{owner}/{repo}/pages", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -44737,8 +44957,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.switcheroo-preview+json\" \\\n https://api.github.com/repos/octocat/hello-world/pages \\\n -d '{\"source\":{\"branch\":\"branch\",\"path\":\"path\"}}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.switcheroo-preview+json\" \\\n  https://api.github.com/repos/octocat/hello-world/pages \\\n  -d '{\"source\":{\"branch\":\"branch\",\"path\":\"path\"}}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.switcheroo-preview+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/pages \\\n -d '{\"source\":{\"branch\":\"branch\",\"path\":\"path\"}}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.switcheroo-preview+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/pages \\\n  -d '{\"source\":{\"branch\":\"branch\",\"path\":\"path\"}}'
    " }, { "lang": "JavaScript", @@ -44979,7 +45199,7 @@ { "verb": "put", "requestPath": "/repos/{owner}/{repo}/pages", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -45003,8 +45223,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/pages \\\n -d '{\"public\":true}'", - "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/pages \\\n  -d '{\"public\":true}'
    " + "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/pages \\\n -d '{\"public\":true}'", + "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/pages \\\n  -d '{\"public\":true}'
    " }, { "lang": "JavaScript", @@ -45109,7 +45329,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "400", @@ -45185,7 +45405,7 @@ { "verb": "delete", "requestPath": "/repos/{owner}/{repo}/pages", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -45209,8 +45429,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.switcheroo-preview+json\" \\\n https://api.github.com/repos/octocat/hello-world/pages", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.switcheroo-preview+json\" \\\n  https://api.github.com/repos/octocat/hello-world/pages
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.switcheroo-preview+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/pages", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.switcheroo-preview+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/pages
    " }, { "lang": "JavaScript", @@ -45252,7 +45472,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "404", @@ -45276,7 +45496,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/pages/builds", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -45320,8 +45540,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/pages/builds", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/pages/builds
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/pages/builds", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/pages/builds
    " }, { "lang": "JavaScript", @@ -45366,7 +45586,7 @@ { "verb": "post", "requestPath": "/repos/{owner}/{repo}/pages/builds", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -45390,8 +45610,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/pages/builds", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/pages/builds
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/pages/builds", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/pages/builds
    " }, { "lang": "JavaScript", @@ -45436,7 +45656,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/pages/builds/latest", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -45460,8 +45680,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/pages/builds/latest", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/pages/builds/latest
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/pages/builds/latest", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/pages/builds/latest
    " }, { "lang": "JavaScript", @@ -45506,7 +45726,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/pages/builds/{build_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -45539,8 +45759,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/pages/builds/42", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/pages/builds/42
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/pages/builds/42", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/pages/builds/42
    " }, { "lang": "JavaScript", @@ -45585,7 +45805,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/pre-receive-hooks", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -45624,13 +45844,43 @@ "default": 1 }, "descriptionHTML": "

    Page number of the results to fetch.

    " + }, + { + "name": "direction", + "description": "One of `asc` (ascending) or `desc` (descending).", + "in": "query", + "required": false, + "schema": { + "type": "string", + "enum": [ + "asc", + "desc" + ], + "default": "desc" + }, + "descriptionHTML": "

    One of asc (ascending) or desc (descending).

    " + }, + { + "name": "sort", + "in": "query", + "required": false, + "schema": { + "type": "string", + "enum": [ + "created", + "updated", + "name" + ], + "default": "created" + }, + "descriptionHTML": "" } ], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n https://api.github.com/repos/octocat/hello-world/pre-receive-hooks", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n  https://api.github.com/repos/octocat/hello-world/pre-receive-hooks
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/pre-receive-hooks", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/pre-receive-hooks
    " }, { "lang": "JavaScript", @@ -45682,7 +45932,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/pre-receive-hooks/{pre_receive_hook_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -45715,8 +45965,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n https://api.github.com/repos/octocat/hello-world/pre-receive-hooks/42", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n  https://api.github.com/repos/octocat/hello-world/pre-receive-hooks/42
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/pre-receive-hooks/42", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/pre-receive-hooks/42
    " }, { "lang": "JavaScript", @@ -45768,7 +46018,7 @@ { "verb": "patch", "requestPath": "/repos/{owner}/{repo}/pre-receive-hooks/{pre_receive_hook_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -45801,8 +46051,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n https://api.github.com/repos/octocat/hello-world/pre-receive-hooks/42 \\\n -d '{\"enforcement\":\"enforcement\"}'", - "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n  https://api.github.com/repos/octocat/hello-world/pre-receive-hooks/42 \\\n  -d '{\"enforcement\":\"enforcement\"}'
    " + "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/pre-receive-hooks/42 \\\n -d '{\"enforcement\":\"enforcement\"}'", + "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/pre-receive-hooks/42 \\\n  -d '{\"enforcement\":\"enforcement\"}'
    " }, { "lang": "JavaScript", @@ -45887,7 +46137,7 @@ { "verb": "delete", "requestPath": "/repos/{owner}/{repo}/pre-receive-hooks/{pre_receive_hook_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -45920,8 +46170,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n https://api.github.com/repos/octocat/hello-world/pre-receive-hooks/42", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n  https://api.github.com/repos/octocat/hello-world/pre-receive-hooks/42
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/pre-receive-hooks/42", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/pre-receive-hooks/42
    " }, { "lang": "JavaScript", @@ -45973,7 +46223,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/projects", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -46033,8 +46283,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n https://api.github.com/repos/octocat/hello-world/projects", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  https://api.github.com/repos/octocat/hello-world/projects
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/projects", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/projects
    " }, { "lang": "JavaScript", @@ -46109,7 +46359,7 @@ { "verb": "post", "requestPath": "/repos/{owner}/{repo}/projects", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -46133,8 +46383,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n https://api.github.com/repos/octocat/hello-world/projects \\\n -d '{\"name\":\"name\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  https://api.github.com/repos/octocat/hello-world/projects \\\n  -d '{\"name\":\"name\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/projects \\\n -d '{\"name\":\"name\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/projects \\\n  -d '{\"name\":\"name\"}'
    " }, { "lang": "JavaScript", @@ -46264,7 +46514,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/pulls", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -46375,8 +46625,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/pulls", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/pulls
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/pulls", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/pulls
    " }, { "lang": "JavaScript", @@ -46441,7 +46691,7 @@ { "verb": "post", "requestPath": "/repos/{owner}/{repo}/pulls", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -46465,8 +46715,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/pulls \\\n -d '{\"head\":\"head\",\"base\":\"base\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/pulls \\\n  -d '{\"head\":\"head\",\"base\":\"base\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/pulls \\\n -d '{\"head\":\"head\",\"base\":\"base\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/pulls \\\n  -d '{\"head\":\"head\",\"base\":\"base\"}'
    " }, { "lang": "JavaScript", @@ -46680,7 +46930,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/pulls/comments", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -46702,18 +46952,17 @@ }, { "name": "sort", - "description": "One of `created` (when the repository was starred) or `updated` (when it was last pushed to).", "in": "query", "required": false, "schema": { "type": "string", "enum": [ "created", - "updated" - ], - "default": "created" + "updated", + "created_at" + ] }, - "descriptionHTML": "

    One of created (when the repository was starred) or updated (when it was last pushed to).

    " + "descriptionHTML": "" }, { "name": "direction", @@ -46763,8 +47012,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/pulls/comments", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/pulls/comments
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/pulls/comments", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/pulls/comments
    " }, { "lang": "JavaScript", @@ -46822,7 +47071,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/pulls/comments/{comment_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -46856,8 +47105,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/pulls/comments/42", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/pulls/comments/42
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/pulls/comments/42", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/pulls/comments/42
    " }, { "lang": "JavaScript", @@ -46920,7 +47169,7 @@ { "verb": "patch", "requestPath": "/repos/{owner}/{repo}/pulls/comments/{comment_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -46954,8 +47203,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/pulls/comments/42 \\\n -d '{\"body\":\"body\"}'", - "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/pulls/comments/42 \\\n  -d '{\"body\":\"body\"}'
    " + "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/pulls/comments/42 \\\n -d '{\"body\":\"body\"}'", + "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/pulls/comments/42 \\\n  -d '{\"body\":\"body\"}'
    " }, { "lang": "JavaScript", @@ -47043,7 +47292,7 @@ { "verb": "delete", "requestPath": "/repos/{owner}/{repo}/pulls/comments/{comment_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -47077,8 +47326,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/pulls/comments/42", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/pulls/comments/42
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/pulls/comments/42", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/pulls/comments/42
    " }, { "lang": "JavaScript", @@ -47113,7 +47362,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "404", @@ -47127,7 +47376,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/pulls/comments/{comment_id}/reactions", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -47201,8 +47450,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n https://api.github.com/repos/octocat/hello-world/pulls/comments/42/reactions", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n  https://api.github.com/repos/octocat/hello-world/pulls/comments/42/reactions
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/pulls/comments/42/reactions", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/pulls/comments/42/reactions
    " }, { "lang": "JavaScript", @@ -47262,7 +47511,7 @@ { "verb": "post", "requestPath": "/repos/{owner}/{repo}/pulls/comments/{comment_id}/reactions", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -47296,8 +47545,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n https://api.github.com/repos/octocat/hello-world/pulls/comments/42/reactions \\\n -d '{\"content\":\"content\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n  https://api.github.com/repos/octocat/hello-world/pulls/comments/42/reactions \\\n  -d '{\"content\":\"content\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/pulls/comments/42/reactions \\\n -d '{\"content\":\"content\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/pulls/comments/42/reactions \\\n  -d '{\"content\":\"content\"}'
    " }, { "lang": "JavaScript", @@ -47419,7 +47668,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/pulls/{pull_number}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -47452,8 +47701,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/pulls/42", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/pulls/42
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/pulls/42", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/pulls/42
    " }, { "lang": "JavaScript", @@ -47511,7 +47760,7 @@ { "verb": "patch", "requestPath": "/repos/{owner}/{repo}/pulls/{pull_number}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -47544,8 +47793,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/pulls/42 \\\n -d '{\"title\":\"title\"}'", - "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/pulls/42 \\\n  -d '{\"title\":\"title\"}'
    " + "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/pulls/42 \\\n -d '{\"title\":\"title\"}'", + "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/pulls/42 \\\n  -d '{\"title\":\"title\"}'
    " }, { "lang": "JavaScript", @@ -47726,7 +47975,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/pulls/{pull_number}/comments", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -47818,8 +48067,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/pulls/42/comments", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/pulls/42/comments
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/pulls/42/comments", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/pulls/42/comments
    " }, { "lang": "JavaScript", @@ -47877,7 +48126,7 @@ { "verb": "post", "requestPath": "/repos/{owner}/{repo}/pulls/{pull_number}/comments", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -47910,8 +48159,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/pulls/42/comments \\\n -d '{\"body\":\"body\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/pulls/42/comments \\\n  -d '{\"body\":\"body\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/pulls/42/comments \\\n -d '{\"body\":\"body\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/pulls/42/comments \\\n  -d '{\"body\":\"body\"}'
    " }, { "lang": "JavaScript", @@ -48011,7 +48260,7 @@ { "verb": "post", "requestPath": "/repos/{owner}/{repo}/pulls/{pull_number}/comments/{comment_id}/replies", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -48054,8 +48303,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/pulls/42/comments/42/replies \\\n -d '{\"body\":\"body\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/pulls/42/comments/42/replies \\\n  -d '{\"body\":\"body\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/pulls/42/comments/42/replies \\\n -d '{\"body\":\"body\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/pulls/42/comments/42/replies \\\n  -d '{\"body\":\"body\"}'
    " }, { "lang": "JavaScript", @@ -48142,7 +48391,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/pulls/{pull_number}/commits", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -48195,8 +48444,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/pulls/42/commits", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/pulls/42/commits
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/pulls/42/commits", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/pulls/42/commits
    " }, { "lang": "JavaScript", @@ -48239,7 +48488,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/pulls/{pull_number}/files", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -48292,8 +48541,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/pulls/42/files", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/pulls/42/files
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/pulls/42/files", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/pulls/42/files
    " }, { "lang": "JavaScript", @@ -48346,7 +48595,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/pulls/{pull_number}/merge", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -48379,8 +48628,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/pulls/42/merge", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/pulls/42/merge
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/pulls/42/merge", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/pulls/42/merge
    " }, { "lang": "JavaScript", @@ -48427,7 +48676,7 @@ { "verb": "put", "requestPath": "/repos/{owner}/{repo}/pulls/{pull_number}/merge", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -48460,8 +48709,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/pulls/42/merge \\\n -d '{\"commit_title\":\"commit_title\"}'", - "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/pulls/42/merge \\\n  -d '{\"commit_title\":\"commit_title\"}'
    " + "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/pulls/42/merge \\\n -d '{\"commit_title\":\"commit_title\"}'", + "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/pulls/42/merge \\\n  -d '{\"commit_title\":\"commit_title\"}'
    " }, { "lang": "JavaScript", @@ -48626,7 +48875,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/pulls/{pull_number}/requested_reviewers", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -48679,8 +48928,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/pulls/42/requested_reviewers", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/pulls/42/requested_reviewers
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/pulls/42/requested_reviewers", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/pulls/42/requested_reviewers
    " }, { "lang": "JavaScript", @@ -48725,7 +48974,7 @@ { "verb": "post", "requestPath": "/repos/{owner}/{repo}/pulls/{pull_number}/requested_reviewers", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -48758,8 +49007,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/pulls/42/requested_reviewers \\\n -d '{\"reviewers\":[\"reviewers\"]}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/pulls/42/requested_reviewers \\\n  -d '{\"reviewers\":[\"reviewers\"]}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/pulls/42/requested_reviewers \\\n -d '{\"reviewers\":[\"reviewers\"]}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/pulls/42/requested_reviewers \\\n  -d '{\"reviewers\":[\"reviewers\"]}'
    " }, { "lang": "JavaScript", @@ -48896,7 +49145,7 @@ { "verb": "delete", "requestPath": "/repos/{owner}/{repo}/pulls/{pull_number}/requested_reviewers", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -48929,8 +49178,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/pulls/42/requested_reviewers \\\n -d '{\"reviewers\":[\"reviewers\"]}'", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/pulls/42/requested_reviewers \\\n  -d '{\"reviewers\":[\"reviewers\"]}'
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/pulls/42/requested_reviewers \\\n -d '{\"reviewers\":[\"reviewers\"]}'", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/pulls/42/requested_reviewers \\\n  -d '{\"reviewers\":[\"reviewers\"]}'
    " }, { "lang": "JavaScript", @@ -49052,7 +49301,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/pulls/{pull_number}/reviews", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -49105,8 +49354,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/pulls/42/reviews", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/pulls/42/reviews
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/pulls/42/reviews", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/pulls/42/reviews
    " }, { "lang": "JavaScript", @@ -49151,7 +49400,7 @@ { "verb": "post", "requestPath": "/repos/{owner}/{repo}/pulls/{pull_number}/reviews", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -49184,8 +49433,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/pulls/42/reviews \\\n -d '{\"commit_id\":\"commit_id\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/pulls/42/reviews \\\n  -d '{\"commit_id\":\"commit_id\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/pulls/42/reviews \\\n -d '{\"commit_id\":\"commit_id\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/pulls/42/reviews \\\n  -d '{\"commit_id\":\"commit_id\"}'
    " }, { "lang": "JavaScript", @@ -49633,7 +49882,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -49676,8 +49925,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/pulls/42/reviews/42", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/pulls/42/reviews/42
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/pulls/42/reviews/42", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/pulls/42/reviews/42
    " }, { "lang": "JavaScript", @@ -49727,7 +49976,7 @@ { "verb": "put", "requestPath": "/repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -49770,8 +50019,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/pulls/42/reviews/42 \\\n -d '{\"body\":\"body\"}'", - "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/pulls/42/reviews/42 \\\n  -d '{\"body\":\"body\"}'
    " + "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/pulls/42/reviews/42 \\\n -d '{\"body\":\"body\"}'", + "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/pulls/42/reviews/42 \\\n  -d '{\"body\":\"body\"}'
    " }, { "lang": "JavaScript", @@ -49857,7 +50106,7 @@ { "verb": "delete", "requestPath": "/repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -49900,8 +50149,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/pulls/42/reviews/42", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/pulls/42/reviews/42
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/pulls/42/reviews/42", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/pulls/42/reviews/42
    " }, { "lang": "JavaScript", @@ -49956,7 +50205,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}/comments", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -50019,8 +50268,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/pulls/42/reviews/42/comments", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/pulls/42/reviews/42/comments
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/pulls/42/reviews/42/comments", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/pulls/42/reviews/42/comments
    " }, { "lang": "JavaScript", @@ -50070,7 +50319,7 @@ { "verb": "put", "requestPath": "/repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}/dismissals", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -50113,8 +50362,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/pulls/42/reviews/42/dismissals \\\n -d '{\"message\":\"message\"}'", - "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/pulls/42/reviews/42/dismissals \\\n  -d '{\"message\":\"message\"}'
    " + "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/pulls/42/reviews/42/dismissals \\\n -d '{\"message\":\"message\"}'", + "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/pulls/42/reviews/42/dismissals \\\n  -d '{\"message\":\"message\"}'
    " }, { "lang": "JavaScript", @@ -50220,7 +50469,7 @@ { "verb": "post", "requestPath": "/repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}/events", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -50263,8 +50512,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/pulls/42/reviews/42/events \\\n -d '{\"event\":\"event\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/pulls/42/reviews/42/events \\\n  -d '{\"event\":\"event\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/pulls/42/reviews/42/events \\\n -d '{\"event\":\"event\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/pulls/42/reviews/42/events \\\n  -d '{\"event\":\"event\"}'
    " }, { "lang": "JavaScript", @@ -50385,7 +50634,7 @@ { "verb": "put", "requestPath": "/repos/{owner}/{repo}/pulls/{pull_number}/update-branch", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -50418,8 +50667,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.lydian-preview+json\" \\\n https://api.github.com/repos/octocat/hello-world/pulls/42/update-branch \\\n -d '{\"expected_head_sha\":\"expected_head_sha\"}'", - "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.lydian-preview+json\" \\\n  https://api.github.com/repos/octocat/hello-world/pulls/42/update-branch \\\n  -d '{\"expected_head_sha\":\"expected_head_sha\"}'
    " + "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.lydian-preview+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/pulls/42/update-branch \\\n -d '{\"expected_head_sha\":\"expected_head_sha\"}'", + "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.lydian-preview+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/pulls/42/update-branch \\\n  -d '{\"expected_head_sha\":\"expected_head_sha\"}'
    " }, { "lang": "JavaScript", @@ -50518,7 +50767,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/readme", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -50552,8 +50801,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/readme", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/readme
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/readme", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/readme
    " }, { "lang": "JavaScript", @@ -50605,10 +50854,111 @@ } ] }, + { + "verb": "get", + "requestPath": "/repos/{owner}/{repo}/readme/{dir}", + "serverUrl": "http(s)://{hostname}/api/v3", + "parameters": [ + { + "name": "owner", + "in": "path", + "required": true, + "schema": { + "type": "string" + }, + "descriptionHTML": "" + }, + { + "name": "repo", + "in": "path", + "required": true, + "schema": { + "type": "string" + }, + "descriptionHTML": "" + }, + { + "name": "dir", + "description": "The alternate path to look for a README file", + "in": "path", + "required": true, + "schema": { + "type": "string" + }, + "x-multi-segment": true, + "descriptionHTML": "

    The alternate path to look for a README file

    " + }, + { + "name": "ref", + "description": "The name of the commit/branch/tag. Default: the repository’s default branch (usually `master`)", + "in": "query", + "required": false, + "schema": { + "type": "string" + }, + "descriptionHTML": "

    The name of the commit/branch/tag. Default: the repository’s default branch (usually master)

    " + } + ], + "x-codeSamples": [ + { + "lang": "Shell", + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/readme/DIR", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/readme/DIR
    " + }, + { + "lang": "JavaScript", + "source": "await octokit.request('GET /repos/{owner}/{repo}/readme/{dir}', {\n owner: 'octocat',\n repo: 'hello-world',\n dir: 'dir'\n})", + "html": "
    await octokit.request('GET /repos/{owner}/{repo}/readme/{dir}', {\n  owner: 'octocat',\n  repo: 'hello-world',\n  dir: 'dir'\n})\n
    " + } + ], + "summary": "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.", + "tags": [ + "repos" + ], + "operationId": "repos/get-readme-in-directory", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-server@2.19/rest/reference/repos#get-a-repository-directory-readme" + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "previews": [], + "category": "repos", + "subcategory": "contents" + }, + "slug": "get-a-repository-readme-for-a-directory", + "category": "repos", + "categoryLabel": "Repos", + "subcategory": "contents", + "subcategoryLabel": "Contents", + "notes": [], + "bodyParameters": [], + "descriptionHTML": "

    Gets the README from a repository directory.

    \n

    READMEs support custom media types for retrieving the raw content or rendered HTML.

    ", + "responses": [ + { + "httpStatusCode": "200", + "httpStatusMessage": "OK", + "description": "Default response", + "payload": "
    {\n  \"type\": \"file\",\n  \"encoding\": \"base64\",\n  \"size\": 5362,\n  \"name\": \"README.md\",\n  \"path\": \"README.md\",\n  \"content\": \"encoded content ...\",\n  \"sha\": \"3d21ec53a331a6f037a91c368710b99387d012c1\",\n  \"url\": \"https://api.github.com/repos/octokit/octokit.rb/contents/README.md\",\n  \"git_url\": \"https://api.github.com/repos/octokit/octokit.rb/git/blobs/3d21ec53a331a6f037a91c368710b99387d012c1\",\n  \"html_url\": \"https://github.com/octokit/octokit.rb/blob/master/README.md\",\n  \"download_url\": \"https://raw.githubusercontent.com/octokit/octokit.rb/master/README.md\",\n  \"_links\": {\n    \"git\": \"https://api.github.com/repos/octokit/octokit.rb/git/blobs/3d21ec53a331a6f037a91c368710b99387d012c1\",\n    \"self\": \"https://api.github.com/repos/octokit/octokit.rb/contents/README.md\",\n    \"html\": \"https://github.com/octokit/octokit.rb/blob/master/README.md\"\n  }\n}\n
    " + }, + { + "httpStatusCode": "404", + "httpStatusMessage": "Not Found", + "description": "Resource not found" + }, + { + "httpStatusCode": "422", + "httpStatusMessage": "Unprocessable Entity", + "description": "Validation failed" + } + ] + }, { "verb": "get", "requestPath": "/repos/{owner}/{repo}/releases", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -50652,8 +51002,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/releases", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/releases
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/releases", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/releases
    " }, { "lang": "JavaScript", @@ -50703,7 +51053,7 @@ { "verb": "post", "requestPath": "/repos/{owner}/{repo}/releases", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -50727,8 +51077,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/releases \\\n -d '{\"tag_name\":\"tag_name\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/releases \\\n  -d '{\"tag_name\":\"tag_name\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/releases \\\n -d '{\"tag_name\":\"tag_name\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/releases \\\n  -d '{\"tag_name\":\"tag_name\"}'
    " }, { "lang": "JavaScript", @@ -50914,7 +51264,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/releases/assets/{asset_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -50948,8 +51298,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/releases/assets/42", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/releases/assets/42
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/releases/assets/42", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/releases/assets/42
    " }, { "lang": "JavaScript", @@ -51009,7 +51359,7 @@ { "verb": "patch", "requestPath": "/repos/{owner}/{repo}/releases/assets/{asset_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -51043,8 +51393,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/releases/assets/42 \\\n -d '{\"name\":\"name\"}'", - "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/releases/assets/42 \\\n  -d '{\"name\":\"name\"}'
    " + "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/releases/assets/42 \\\n -d '{\"name\":\"name\"}'", + "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/releases/assets/42 \\\n  -d '{\"name\":\"name\"}'
    " }, { "lang": "JavaScript", @@ -51159,7 +51509,7 @@ { "verb": "delete", "requestPath": "/repos/{owner}/{repo}/releases/assets/{asset_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -51193,8 +51543,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/releases/assets/42", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/releases/assets/42
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/releases/assets/42", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/releases/assets/42
    " }, { "lang": "JavaScript", @@ -51229,7 +51579,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "bodyParameters": [], @@ -51238,7 +51588,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/releases/latest", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -51262,8 +51612,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/releases/latest", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/releases/latest
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/releases/latest", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/releases/latest
    " }, { "lang": "JavaScript", @@ -51308,7 +51658,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/releases/tags/{tag}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -51330,21 +51680,21 @@ }, { "name": "tag", - "description": "tag+ parameter", + "description": "tag parameter", "in": "path", "required": true, "schema": { "type": "string" }, "x-multi-segment": true, - "descriptionHTML": "

    tag+ parameter

    " + "descriptionHTML": "

    tag parameter

    " } ], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/releases/tags/TAG", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/releases/tags/TAG
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/releases/tags/TAG", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/releases/tags/TAG
    " }, { "lang": "JavaScript", @@ -51394,7 +51744,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/releases/{release_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -51428,8 +51778,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/releases/42", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/releases/42
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/releases/42", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/releases/42
    " }, { "lang": "JavaScript", @@ -51479,7 +51829,7 @@ { "verb": "patch", "requestPath": "/repos/{owner}/{repo}/releases/{release_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -51513,8 +51863,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/releases/42 \\\n -d '{\"tag_name\":\"tag_name\"}'", - "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/releases/42 \\\n  -d '{\"tag_name\":\"tag_name\"}'
    " + "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/releases/42 \\\n -d '{\"tag_name\":\"tag_name\"}'", + "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/releases/42 \\\n  -d '{\"tag_name\":\"tag_name\"}'
    " }, { "lang": "JavaScript", @@ -51687,7 +52037,7 @@ { "verb": "delete", "requestPath": "/repos/{owner}/{repo}/releases/{release_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -51721,8 +52071,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/releases/42", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/releases/42
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/releases/42", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/releases/42
    " }, { "lang": "JavaScript", @@ -51757,7 +52107,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "bodyParameters": [], @@ -51766,7 +52116,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/releases/{release_id}/assets", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -51820,8 +52170,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/releases/42/assets", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/releases/42/assets
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/releases/42/assets", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/releases/42/assets
    " }, { "lang": "JavaScript", @@ -51866,7 +52216,7 @@ { "verb": "post", "requestPath": "/repos/{owner}/{repo}/releases/{release_id}/assets", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -51916,8 +52266,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/releases/42/assets", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/releases/42/assets
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/releases/42/assets", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/releases/42/assets
    " }, { "lang": "JavaScript", @@ -51983,7 +52333,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/stargazers", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -52027,8 +52377,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/stargazers", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/stargazers
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/stargazers", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/stargazers
    " }, { "lang": "JavaScript", @@ -52078,7 +52428,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/stats/code_frequency", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -52102,8 +52452,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/stats/code_frequency", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/stats/code_frequency
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/stats/code_frequency", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/stats/code_frequency
    " }, { "lang": "JavaScript", @@ -52148,7 +52498,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/stats/commit_activity", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -52172,8 +52522,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/stats/commit_activity", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/stats/commit_activity
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/stats/commit_activity", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/stats/commit_activity
    " }, { "lang": "JavaScript", @@ -52218,7 +52568,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/stats/contributors", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -52242,8 +52592,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/stats/contributors", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/stats/contributors
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/stats/contributors", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/stats/contributors
    " }, { "lang": "JavaScript", @@ -52288,7 +52638,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/stats/participation", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -52312,8 +52662,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/stats/participation", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/stats/participation
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/stats/participation", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/stats/participation
    " }, { "lang": "JavaScript", @@ -52363,7 +52713,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/stats/punch_card", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -52387,8 +52737,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/stats/punch_card", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/stats/punch_card
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/stats/punch_card", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/stats/punch_card
    " }, { "lang": "JavaScript", @@ -52433,7 +52783,7 @@ { "verb": "post", "requestPath": "/repos/{owner}/{repo}/statuses/{sha}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -52467,8 +52817,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/statuses/SHA \\\n -d '{\"state\":\"state\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/statuses/SHA \\\n  -d '{\"state\":\"state\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/statuses/SHA \\\n -d '{\"state\":\"state\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/statuses/SHA \\\n  -d '{\"state\":\"state\"}'
    " }, { "lang": "JavaScript", @@ -52620,7 +52970,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/subscribers", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -52664,8 +53014,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/subscribers", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/subscribers
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/subscribers", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/subscribers
    " }, { "lang": "JavaScript", @@ -52710,7 +53060,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/subscription", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -52734,8 +53084,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/subscription", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/subscription
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/subscription", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/subscription
    " }, { "lang": "JavaScript", @@ -52790,7 +53140,7 @@ { "verb": "put", "requestPath": "/repos/{owner}/{repo}/subscription", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -52814,8 +53164,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/subscription \\\n -d '{\"subscribed\":true}'", - "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/subscription \\\n  -d '{\"subscribed\":true}'
    " + "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/subscription \\\n -d '{\"subscribed\":true}'", + "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/subscription \\\n  -d '{\"subscribed\":true}'
    " }, { "lang": "JavaScript", @@ -52908,7 +53258,7 @@ { "verb": "delete", "requestPath": "/repos/{owner}/{repo}/subscription", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -52932,8 +53282,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/subscription", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/subscription
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/subscription", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/subscription
    " }, { "lang": "JavaScript", @@ -52968,7 +53318,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "bodyParameters": [], @@ -52977,7 +53327,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/tags", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -53021,8 +53371,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/tags", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/tags
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/tags", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/tags
    " }, { "lang": "JavaScript", @@ -53065,7 +53415,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/tarball/{ref}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -53098,8 +53448,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/tarball/REF", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/tarball/REF
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/tarball/REF", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/tarball/REF
    " }, { "lang": "JavaScript", @@ -53143,7 +53493,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/teams", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -53187,8 +53537,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/teams", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/teams
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/teams", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/teams
    " }, { "lang": "JavaScript", @@ -53231,7 +53581,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/topics", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -53250,13 +53600,33 @@ "type": "string" }, "descriptionHTML": "" + }, + { + "name": "page", + "description": "Page number of the results to fetch.", + "in": "query", + "schema": { + "type": "integer", + "default": 1 + }, + "descriptionHTML": "

    Page number of the results to fetch.

    " + }, + { + "name": "per_page", + "description": "Results per page (max 100).", + "in": "query", + "schema": { + "type": "integer", + "default": 30 + }, + "descriptionHTML": "

    Results per page (max 100).

    " } ], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.mercy-preview+json\" \\\n https://api.github.com/repos/octocat/hello-world/topics", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.mercy-preview+json\" \\\n  https://api.github.com/repos/octocat/hello-world/topics
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.mercy-preview+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/topics", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.mercy-preview+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/topics
    " }, { "lang": "JavaScript", @@ -53316,7 +53686,7 @@ { "verb": "put", "requestPath": "/repos/{owner}/{repo}/topics", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -53340,8 +53710,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.mercy-preview+json\" \\\n https://api.github.com/repos/octocat/hello-world/topics \\\n -d '{\"names\":[\"names\"]}'", - "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.mercy-preview+json\" \\\n  https://api.github.com/repos/octocat/hello-world/topics \\\n  -d '{\"names\":[\"names\"]}'
    " + "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.mercy-preview+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/topics \\\n -d '{\"names\":[\"names\"]}'", + "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.mercy-preview+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/topics \\\n  -d '{\"names\":[\"names\"]}'
    " }, { "lang": "JavaScript", @@ -53453,7 +53823,7 @@ { "verb": "post", "requestPath": "/repos/{owner}/{repo}/transfer", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -53477,8 +53847,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/transfer \\\n -d '{\"new_owner\":\"new_owner\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/transfer \\\n  -d '{\"new_owner\":\"new_owner\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/transfer \\\n -d '{\"new_owner\":\"new_owner\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/transfer \\\n  -d '{\"new_owner\":\"new_owner\"}'
    " }, { "lang": "JavaScript", @@ -53585,7 +53955,7 @@ { "verb": "put", "requestPath": "/repos/{owner}/{repo}/vulnerability-alerts", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -53609,8 +53979,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.dorian-preview+json\" \\\n https://api.github.com/repos/octocat/hello-world/vulnerability-alerts", - "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.dorian-preview+json\" \\\n  https://api.github.com/repos/octocat/hello-world/vulnerability-alerts
    " + "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.dorian-preview+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/vulnerability-alerts", + "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.dorian-preview+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/vulnerability-alerts
    " }, { "lang": "JavaScript", @@ -53650,7 +54020,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "bodyParameters": [], @@ -53659,7 +54029,7 @@ { "verb": "delete", "requestPath": "/repos/{owner}/{repo}/vulnerability-alerts", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -53683,8 +54053,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.dorian-preview+json\" \\\n https://api.github.com/repos/octocat/hello-world/vulnerability-alerts", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.dorian-preview+json\" \\\n  https://api.github.com/repos/octocat/hello-world/vulnerability-alerts
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.dorian-preview+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/vulnerability-alerts", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.dorian-preview+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/vulnerability-alerts
    " }, { "lang": "JavaScript", @@ -53724,7 +54094,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "bodyParameters": [], @@ -53733,7 +54103,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/zipball/{ref}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -53766,8 +54136,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/zipball/REF", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/zipball/REF
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/zipball/REF", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/zipball/REF
    " }, { "lang": "JavaScript", @@ -53811,7 +54181,7 @@ { "verb": "post", "requestPath": "/repos/{template_owner}/{template_repo}/generate", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "template_owner", @@ -53835,8 +54205,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.baptiste-preview+json\" \\\n https://api.github.com/repos/TEMPLATE_OWNER/TEMPLATE_REPO/generate \\\n -d '{\"name\":\"name\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.baptiste-preview+json\" \\\n  https://api.github.com/repos/TEMPLATE_OWNER/TEMPLATE_REPO/generate \\\n  -d '{\"name\":\"name\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.baptiste-preview+json\" \\\n http(s)://{hostname}/api/v3/repos/TEMPLATE_OWNER/TEMPLATE_REPO/generate \\\n -d '{\"name\":\"name\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.baptiste-preview+json\" \\\n  http(s)://{hostname}/api/v3/repos/TEMPLATE_OWNER/TEMPLATE_REPO/generate \\\n  -d '{\"name\":\"name\"}'
    " }, { "lang": "JavaScript", @@ -53845,7 +54215,7 @@ } ], "summary": "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", + "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", "tags": [ "repos" ], @@ -53940,7 +54310,7 @@ "category": "repos", "categoryLabel": "Repos", "notes": [], - "descriptionHTML": "

    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 endpoint and check that the is_template key is true.

    \n

    OAuth scope requirements

    \n

    When using OAuth, 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
    ", + "descriptionHTML": "

    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 endpoint and check that the is_template key is true.

    \n

    OAuth scope requirements

    \n

    When using OAuth, 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
    ", "bodyParameters": [ { "type": "string", @@ -54002,7 +54372,7 @@ { "verb": "get", "requestPath": "/repositories", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "since", @@ -54016,7 +54386,7 @@ }, { "name": "visibility", - "description": "Specifies the types of repositories to return. Can be one of `all` or `public`. Default: `public`.", + "description": "Specifies the types of repositories to return. Can be one of `all` or `public`. Default: `public`. Note: For GitHub Enterprise Server and GitHub AE, this endpoint will only list repositories available to all users on the enterprise.", "in": "query", "required": false, "schema": { @@ -54028,14 +54398,14 @@ "public" ] }, - "descriptionHTML": "

    Specifies the types of repositories to return. Can be one of all or public. Default: public.

    " + "descriptionHTML": "

    Specifies the types of repositories to return. Can be one of all or public. Default: public. Note: For GitHub Enterprise Server and GitHub AE, this endpoint will only list repositories available to all users on the enterprise.

    " } ], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repositories", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repositories
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repositories", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repositories
    " }, { "lang": "JavaScript", @@ -54044,7 +54414,7 @@ } ], "summary": "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.", + "description": "Lists all public repositories in the order that they were created.\n\nNotes:\n- For GitHub Enterprise Server and GitHub AE, 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.", "tags": [ "repos" ], @@ -54065,7 +54435,7 @@ "categoryLabel": "Repos", "notes": [], "bodyParameters": [], - "descriptionHTML": "

    Lists all public repositories in the order that they were created.

    \n

    Note: Pagination is powered exclusively by the since parameter. Use the Link header to get the URL for the next page of repositories.

    ", + "descriptionHTML": "

    Lists all public repositories in the order that they were created.

    \n

    Notes:

    \n
      \n
    • For GitHub Enterprise Server and GitHub AE, 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 to get the URL for the next page of repositories.
    • \n
    ", "responses": [ { "httpStatusCode": "200", @@ -54088,7 +54458,7 @@ { "verb": "get", "requestPath": "/search/code", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "q", @@ -54152,8 +54522,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/search/code", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/search/code
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/search/code", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/search/code
    " }, { "lang": "JavaScript", @@ -54216,7 +54586,7 @@ { "verb": "get", "requestPath": "/search/commits", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "q", @@ -54281,8 +54651,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.cloak-preview+json\" \\\n https://api.github.com/search/commits", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.cloak-preview+json\" \\\n  https://api.github.com/search/commits
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.cloak-preview+json\" \\\n http(s)://{hostname}/api/v3/search/commits", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.cloak-preview+json\" \\\n  http(s)://{hostname}/api/v3/search/commits
    " }, { "lang": "JavaScript", @@ -54342,7 +54712,7 @@ { "verb": "get", "requestPath": "/search/issues", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "q", @@ -54416,8 +54786,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/search/issues", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/search/issues
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/search/issues", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/search/issues
    " }, { "lang": "JavaScript", @@ -54480,7 +54850,7 @@ { "verb": "get", "requestPath": "/search/labels", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "repository_id", @@ -54535,8 +54905,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/search/labels", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/search/labels
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/search/labels", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/search/labels
    " }, { "lang": "JavaScript", @@ -54599,7 +54969,7 @@ { "verb": "get", "requestPath": "/search/repositories", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "q", @@ -54666,8 +55036,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/search/repositories", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/search/repositories
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/search/repositories", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/search/repositories
    " }, { "lang": "JavaScript", @@ -54732,7 +55102,7 @@ { "verb": "get", "requestPath": "/search/topics", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "q", @@ -54748,8 +55118,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.mercy-preview+json\" \\\n https://api.github.com/search/topics", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.mercy-preview+json\" \\\n  https://api.github.com/search/topics
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.mercy-preview+json\" \\\n http(s)://{hostname}/api/v3/search/topics", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.mercy-preview+json\" \\\n  http(s)://{hostname}/api/v3/search/topics
    " }, { "lang": "JavaScript", @@ -54809,7 +55179,7 @@ { "verb": "get", "requestPath": "/search/users", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "q", @@ -54875,8 +55245,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/search/users", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/search/users
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/search/users", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/search/users
    " }, { "lang": "JavaScript", @@ -54934,13 +55304,13 @@ { "verb": "get", "requestPath": "/setup/api/configcheck", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/setup/api/configcheck", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/setup/api/configcheck
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/setup/api/configcheck", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/setup/api/configcheck
    " }, { "lang": "JavaScript", @@ -54985,13 +55355,13 @@ { "verb": "post", "requestPath": "/setup/api/configure", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/setup/api/configure", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/setup/api/configure
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/setup/api/configure", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/setup/api/configure
    " }, { "lang": "JavaScript", @@ -55035,13 +55405,13 @@ { "verb": "get", "requestPath": "/setup/api/maintenance", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/setup/api/maintenance", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/setup/api/maintenance
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/setup/api/maintenance", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/setup/api/maintenance
    " }, { "lang": "JavaScript", @@ -55086,13 +55456,13 @@ { "verb": "post", "requestPath": "/setup/api/maintenance", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/setup/api/maintenance \\\n -d '{\"maintenance\":\"maintenance\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/setup/api/maintenance \\\n  -d '{\"maintenance\":\"maintenance\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/setup/api/maintenance \\\n -d '{\"maintenance\":\"maintenance\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/setup/api/maintenance \\\n  -d '{\"maintenance\":\"maintenance\"}'
    " }, { "lang": "JavaScript", @@ -55170,13 +55540,13 @@ { "verb": "get", "requestPath": "/setup/api/settings", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/setup/api/settings", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/setup/api/settings
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/setup/api/settings", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/setup/api/settings
    " }, { "lang": "JavaScript", @@ -55221,13 +55591,13 @@ { "verb": "put", "requestPath": "/setup/api/settings", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/setup/api/settings \\\n -d '{\"settings\":\"settings\"}'", - "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/setup/api/settings \\\n  -d '{\"settings\":\"settings\"}'
    " + "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/setup/api/settings \\\n -d '{\"settings\":\"settings\"}'", + "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/setup/api/settings \\\n  -d '{\"settings\":\"settings\"}'
    " }, { "lang": "JavaScript", @@ -55285,7 +55655,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "descriptionHTML": "

    For a list of the available settings, see the Get settings endpoint.

    ", @@ -55304,13 +55674,13 @@ { "verb": "get", "requestPath": "/setup/api/settings/authorized-keys", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/setup/api/settings/authorized-keys", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/setup/api/settings/authorized-keys
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/setup/api/settings/authorized-keys", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/setup/api/settings/authorized-keys
    " }, { "lang": "JavaScript", @@ -55355,13 +55725,13 @@ { "verb": "post", "requestPath": "/setup/api/settings/authorized-keys", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/setup/api/settings/authorized-keys \\\n -d '{\"authorized_key\":\"authorized_key\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/setup/api/settings/authorized-keys \\\n  -d '{\"authorized_key\":\"authorized_key\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/setup/api/settings/authorized-keys \\\n -d '{\"authorized_key\":\"authorized_key\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/setup/api/settings/authorized-keys \\\n  -d '{\"authorized_key\":\"authorized_key\"}'
    " }, { "lang": "JavaScript", @@ -55439,13 +55809,13 @@ { "verb": "delete", "requestPath": "/setup/api/settings/authorized-keys", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/setup/api/settings/authorized-keys \\\n -d '{\"authorized_key\":\"authorized_key\"}'", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/setup/api/settings/authorized-keys \\\n  -d '{\"authorized_key\":\"authorized_key\"}'
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/setup/api/settings/authorized-keys \\\n -d '{\"authorized_key\":\"authorized_key\"}'", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/setup/api/settings/authorized-keys \\\n  -d '{\"authorized_key\":\"authorized_key\"}'
    " }, { "lang": "JavaScript", @@ -55523,13 +55893,13 @@ { "verb": "post", "requestPath": "/setup/api/start", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/setup/api/start \\\n -d '{\"license\":\"license\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/setup/api/start \\\n  -d '{\"license\":\"license\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/setup/api/start \\\n -d '{\"license\":\"license\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/setup/api/start \\\n  -d '{\"license\":\"license\"}'
    " }, { "lang": "JavaScript", @@ -55642,13 +56012,13 @@ { "verb": "post", "requestPath": "/setup/api/upgrade", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/setup/api/upgrade \\\n -d '{\"license\":\"license\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/setup/api/upgrade \\\n  -d '{\"license\":\"license\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/setup/api/upgrade \\\n -d '{\"license\":\"license\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/setup/api/upgrade \\\n  -d '{\"license\":\"license\"}'
    " }, { "lang": "JavaScript", @@ -55722,7 +56092,7 @@ { "verb": "get", "requestPath": "/teams/{team_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "team_id", @@ -55737,8 +56107,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/teams/42", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/teams/42
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/teams/42", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/teams/42
    " }, { "lang": "JavaScript", @@ -55788,7 +56158,7 @@ { "verb": "patch", "requestPath": "/teams/{team_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "team_id", @@ -55803,8 +56173,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/teams/42 \\\n -d '{\"name\":\"name\"}'", - "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/teams/42 \\\n  -d '{\"name\":\"name\"}'
    " + "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/teams/42 \\\n -d '{\"name\":\"name\"}'", + "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/teams/42 \\\n  -d '{\"name\":\"name\"}'
    " }, { "lang": "JavaScript", @@ -55983,7 +56353,7 @@ { "verb": "delete", "requestPath": "/teams/{team_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "team_id", @@ -55998,8 +56368,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/teams/42", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/teams/42
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/teams/42", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/teams/42
    " }, { "lang": "JavaScript", @@ -56039,7 +56409,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "bodyParameters": [], @@ -56048,7 +56418,7 @@ { "verb": "get", "requestPath": "/teams/{team_id}/discussions", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "team_id", @@ -56098,8 +56468,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/teams/42/discussions", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/teams/42/discussions
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/teams/42/discussions", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/teams/42/discussions
    " }, { "lang": "JavaScript", @@ -56150,7 +56520,7 @@ { "verb": "post", "requestPath": "/teams/{team_id}/discussions", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "team_id", @@ -56165,8 +56535,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/teams/42/discussions \\\n -d '{\"title\":\"title\",\"body\":\"body\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/teams/42/discussions \\\n  -d '{\"title\":\"title\",\"body\":\"body\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/teams/42/discussions \\\n -d '{\"title\":\"title\",\"body\":\"body\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/teams/42/discussions \\\n  -d '{\"title\":\"title\",\"body\":\"body\"}'
    " }, { "lang": "JavaScript", @@ -56294,7 +56664,7 @@ { "verb": "get", "requestPath": "/teams/{team_id}/discussions/{discussion_number}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "team_id", @@ -56318,8 +56688,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/teams/42/discussions/42", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/teams/42/discussions/42
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/teams/42/discussions/42", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/teams/42/discussions/42
    " }, { "lang": "JavaScript", @@ -56370,7 +56740,7 @@ { "verb": "patch", "requestPath": "/teams/{team_id}/discussions/{discussion_number}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "team_id", @@ -56394,8 +56764,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/teams/42/discussions/42 \\\n -d '{\"title\":\"title\"}'", - "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/teams/42/discussions/42 \\\n  -d '{\"title\":\"title\"}'
    " + "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/teams/42/discussions/42 \\\n -d '{\"title\":\"title\"}'", + "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/teams/42/discussions/42 \\\n  -d '{\"title\":\"title\"}'
    " }, { "lang": "JavaScript", @@ -56497,7 +56867,7 @@ { "verb": "delete", "requestPath": "/teams/{team_id}/discussions/{discussion_number}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "team_id", @@ -56521,8 +56891,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/teams/42/discussions/42", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/teams/42/discussions/42
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/teams/42/discussions/42", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/teams/42/discussions/42
    " }, { "lang": "JavaScript", @@ -56557,7 +56927,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "bodyParameters": [], @@ -56566,7 +56936,7 @@ { "verb": "get", "requestPath": "/teams/{team_id}/discussions/{discussion_number}/comments", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "team_id", @@ -56625,8 +56995,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/teams/42/discussions/42/comments", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/teams/42/discussions/42/comments
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/teams/42/discussions/42/comments", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/teams/42/discussions/42/comments
    " }, { "lang": "JavaScript", @@ -56677,7 +57047,7 @@ { "verb": "post", "requestPath": "/teams/{team_id}/discussions/{discussion_number}/comments", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "team_id", @@ -56701,8 +57071,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/teams/42/discussions/42/comments \\\n -d '{\"body\":\"body\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/teams/42/discussions/42/comments \\\n  -d '{\"body\":\"body\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/teams/42/discussions/42/comments \\\n -d '{\"body\":\"body\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/teams/42/discussions/42/comments \\\n  -d '{\"body\":\"body\"}'
    " }, { "lang": "JavaScript", @@ -56790,7 +57160,7 @@ { "verb": "get", "requestPath": "/teams/{team_id}/discussions/{discussion_number}/comments/{comment_number}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "team_id", @@ -56823,8 +57193,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/teams/42/discussions/42/comments/42", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/teams/42/discussions/42/comments/42
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/teams/42/discussions/42/comments/42", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/teams/42/discussions/42/comments/42
    " }, { "lang": "JavaScript", @@ -56875,7 +57245,7 @@ { "verb": "patch", "requestPath": "/teams/{team_id}/discussions/{discussion_number}/comments/{comment_number}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "team_id", @@ -56908,8 +57278,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/teams/42/discussions/42/comments/42 \\\n -d '{\"body\":\"body\"}'", - "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/teams/42/discussions/42/comments/42 \\\n  -d '{\"body\":\"body\"}'
    " + "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/teams/42/discussions/42/comments/42 \\\n -d '{\"body\":\"body\"}'", + "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/teams/42/discussions/42/comments/42 \\\n  -d '{\"body\":\"body\"}'
    " }, { "lang": "JavaScript", @@ -56996,7 +57366,7 @@ { "verb": "delete", "requestPath": "/teams/{team_id}/discussions/{discussion_number}/comments/{comment_number}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "team_id", @@ -57029,8 +57399,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/teams/42/discussions/42/comments/42", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/teams/42/discussions/42/comments/42
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/teams/42/discussions/42/comments/42", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/teams/42/discussions/42/comments/42
    " }, { "lang": "JavaScript", @@ -57065,7 +57435,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "bodyParameters": [], @@ -57074,7 +57444,7 @@ { "verb": "get", "requestPath": "/teams/{team_id}/discussions/{discussion_number}/comments/{comment_number}/reactions", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "accept", @@ -57158,8 +57528,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/teams/42/discussions/42/comments/42/reactions", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/teams/42/discussions/42/comments/42/reactions
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/teams/42/discussions/42/comments/42/reactions", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/teams/42/discussions/42/comments/42/reactions
    " }, { "lang": "JavaScript", @@ -57207,7 +57577,7 @@ { "verb": "post", "requestPath": "/teams/{team_id}/discussions/{discussion_number}/comments/{comment_number}/reactions", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "accept", @@ -57251,8 +57621,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/teams/42/discussions/42/comments/42/reactions \\\n -d '{\"content\":\"content\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/teams/42/discussions/42/comments/42/reactions \\\n  -d '{\"content\":\"content\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/teams/42/discussions/42/comments/42/reactions \\\n -d '{\"content\":\"content\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/teams/42/discussions/42/comments/42/reactions \\\n  -d '{\"content\":\"content\"}'
    " }, { "lang": "JavaScript", @@ -57356,7 +57726,7 @@ { "verb": "get", "requestPath": "/teams/{team_id}/discussions/{discussion_number}/reactions", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "accept", @@ -57431,8 +57801,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/teams/42/discussions/42/reactions", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/teams/42/discussions/42/reactions
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/teams/42/discussions/42/reactions", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/teams/42/discussions/42/reactions
    " }, { "lang": "JavaScript", @@ -57480,7 +57850,7 @@ { "verb": "post", "requestPath": "/teams/{team_id}/discussions/{discussion_number}/reactions", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "accept", @@ -57515,8 +57885,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/teams/42/discussions/42/reactions \\\n -d '{\"content\":\"content\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/teams/42/discussions/42/reactions \\\n  -d '{\"content\":\"content\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/teams/42/discussions/42/reactions \\\n -d '{\"content\":\"content\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/teams/42/discussions/42/reactions \\\n  -d '{\"content\":\"content\"}'
    " }, { "lang": "JavaScript", @@ -57620,7 +57990,7 @@ { "verb": "get", "requestPath": "/teams/{team_id}/members", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "team_id", @@ -57671,8 +58041,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/teams/42/members", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/teams/42/members
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/teams/42/members", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/teams/42/members
    " }, { "lang": "JavaScript", @@ -57724,7 +58094,7 @@ { "verb": "get", "requestPath": "/teams/{team_id}/members/{username}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "team_id", @@ -57748,8 +58118,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/teams/42/members/USERNAME", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/teams/42/members/USERNAME
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/teams/42/members/USERNAME", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/teams/42/members/USERNAME
    " }, { "lang": "JavaScript", @@ -57801,7 +58171,7 @@ { "verb": "put", "requestPath": "/teams/{team_id}/members/{username}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "team_id", @@ -57825,8 +58195,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/teams/42/members/USERNAME", - "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/teams/42/members/USERNAME
    " + "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/teams/42/members/USERNAME", + "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/teams/42/members/USERNAME
    " }, { "lang": "JavaScript", @@ -57860,13 +58230,11 @@ "subcategory": "members", "subcategoryLabel": "Members", "notes": [], - "bodyParameters": [], - "descriptionHTML": "

    The \"Add team member\" endpoint (described below) is deprecated.

    \n

    We recommend using the Add or update team membership for a user endpoint instead. It allows you to invite new organization members to your teams.

    \n

    Team synchronization is available for organizations using GitHub Enterprise Cloud. For more information, see GitHub's products in the GitHub Help documentation.

    \n

    To 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

    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.\"

    \n

    Note that you'll need to set Content-Length to zero when calling out to this endpoint. For more information, see \"HTTP verbs.\"

    ", "responses": [ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "403", @@ -57881,21 +58249,16 @@ { "httpStatusCode": "422", "httpStatusMessage": "Unprocessable Entity", - "description": "Response if you attempt to add an organization to a team", - "payload": "
    {\n  \"message\": \"Cannot add an organization as a member.\",\n  \"errors\": [\n    {\n      \"code\": \"org\",\n      \"field\": \"user\",\n      \"resource\": \"TeamMember\"\n    }\n  ]\n}\n
    " - }, - { - "httpStatusCode": "422", - "httpStatusMessage": "Unprocessable Entity", - "description": "Response if you attempt to add a user to a team when they are not a member of at least one other team in the same organization", - "payload": "
    {\n  \"message\": \"User isn't a member of this organization. Please invite them first.\",\n  \"errors\": [\n    {\n      \"code\": \"unaffiliated\",\n      \"field\": \"user\",\n      \"resource\": \"TeamMember\"\n    }\n  ]\n}\n
    " + "description": "Response if you attempt to add an organization to a team or you attempt to add a user to a team when they are not a member of at least one other team in the same organization" } - ] + ], + "bodyParameters": [], + "descriptionHTML": "

    The \"Add team member\" endpoint (described below) is deprecated.

    \n

    We recommend using the Add or update team membership for a user endpoint instead. It allows you to invite new organization members to your teams.

    \n

    Team synchronization is available for organizations using GitHub Enterprise Cloud. For more information, see GitHub's products in the GitHub Help documentation.

    \n

    To 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

    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.\"

    \n

    Note that you'll need to set Content-Length to zero when calling out to this endpoint. For more information, see \"HTTP verbs.\"

    " }, { "verb": "delete", "requestPath": "/teams/{team_id}/members/{username}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "team_id", @@ -57919,8 +58282,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/teams/42/members/USERNAME", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/teams/42/members/USERNAME
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/teams/42/members/USERNAME", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/teams/42/members/USERNAME
    " }, { "lang": "JavaScript", @@ -57958,7 +58321,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "404", @@ -57972,7 +58335,7 @@ { "verb": "get", "requestPath": "/teams/{team_id}/memberships/{username}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "team_id", @@ -57996,8 +58359,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/teams/42/memberships/USERNAME", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/teams/42/memberships/USERNAME
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/teams/42/memberships/USERNAME", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/teams/42/memberships/USERNAME
    " }, { "lang": "JavaScript", @@ -58006,7 +58369,7 @@ } ], "summary": "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).", + "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).", "operationId": "teams/get-membership-for-user", "tags": [ "teams" @@ -58036,32 +58399,20 @@ "subcategoryLabel": "Members", "notes": [], "bodyParameters": [], - "descriptionHTML": "

    If you pass the hellcat-preview media type, team members will include the members of child teams.

    \n

    To get a user's membership with a team, the team must be visible to the authenticated user.

    \n

    Note: The role for organization owners returns as maintainer. For more information about maintainer roles, see Create a team.

    ", + "descriptionHTML": "

    If you pass the hellcat-preview media type, team members will include the members of child teams.

    \n

    To get a user's membership with a team, the team must be visible to the authenticated user.

    \n

    Note:\nThe response contains the state of the membership and the member's role.

    \n

    The role for organization owners is set to maintainer. For more information about maintainer roles, see Create a team.

    ", "responses": [ - { - "httpStatusCode": "200", - "httpStatusMessage": "OK", - "description": "Response if user has an active membership with team", - "payload": "
    {\n  \"url\": \"https://api.github.com/teams/1/memberships/octocat\",\n  \"role\": \"member\",\n  \"state\": \"active\"\n}\n
    " - }, { "httpStatusCode": "200", "httpStatusMessage": "OK", "description": "Response if user is a team maintainer", "payload": "
    {\n  \"url\": \"https://api.github.com/teams/1/memberships/octocat\",\n  \"role\": \"maintainer\",\n  \"state\": \"active\"\n}\n
    " - }, - { - "httpStatusCode": "200", - "httpStatusMessage": "OK", - "description": "Response if user has a pending membership with team", - "payload": "
    {\n  \"url\": \"https://api.github.com/teams/1/memberships/octocat\",\n  \"role\": \"member\",\n  \"state\": \"pending\"\n}\n
    " } ] }, { "verb": "put", "requestPath": "/teams/{team_id}/memberships/{username}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "team_id", @@ -58085,8 +58436,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/teams/42/memberships/USERNAME \\\n -d '{\"role\":\"role\"}'", - "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/teams/42/memberships/USERNAME \\\n  -d '{\"role\":\"role\"}'
    " + "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/teams/42/memberships/USERNAME \\\n -d '{\"role\":\"role\"}'", + "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/teams/42/memberships/USERNAME \\\n  -d '{\"role\":\"role\"}'
    " }, { "lang": "JavaScript", @@ -58160,12 +58511,6 @@ } ], "responses": [ - { - "httpStatusCode": "200", - "httpStatusMessage": "OK", - "description": "Response if user's membership with team is now active", - "payload": "
    {\n  \"url\": \"https://api.github.com/teams/1/memberships/octocat\",\n  \"role\": \"member\",\n  \"state\": \"active\"\n}\n
    " - }, { "httpStatusCode": "200", "httpStatusMessage": "OK", @@ -58175,15 +58520,14 @@ { "httpStatusCode": "422", "httpStatusMessage": "Unprocessable Entity", - "description": "Response if you attempt to add an organization to a team", - "payload": "
    {\n  \"message\": \"Cannot add an organization as a member.\",\n  \"errors\": [\n    {\n      \"code\": \"org\",\n      \"field\": \"user\",\n      \"resource\": \"TeamMember\"\n    }\n  ]\n}\n
    " + "description": "Response if you attempt to add an organization to a team" } ] }, { "verb": "delete", "requestPath": "/teams/{team_id}/memberships/{username}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "team_id", @@ -58207,8 +58551,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/teams/42/memberships/USERNAME", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/teams/42/memberships/USERNAME
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/teams/42/memberships/USERNAME", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/teams/42/memberships/USERNAME
    " }, { "lang": "JavaScript", @@ -58243,7 +58587,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "bodyParameters": [], @@ -58252,7 +58596,7 @@ { "verb": "get", "requestPath": "/teams/{team_id}/projects", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "accept", @@ -58298,8 +58642,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n https://api.github.com/teams/42/projects", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  https://api.github.com/teams/42/projects
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n http(s)://{hostname}/api/v3/teams/42/projects", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  http(s)://{hostname}/api/v3/teams/42/projects
    " }, { "lang": "JavaScript", @@ -58355,7 +58699,7 @@ { "verb": "get", "requestPath": "/teams/{team_id}/projects/{project_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "accept", @@ -58390,8 +58734,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n https://api.github.com/teams/42/projects/42", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  https://api.github.com/teams/42/projects/42
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n http(s)://{hostname}/api/v3/teams/42/projects/42", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  http(s)://{hostname}/api/v3/teams/42/projects/42
    " }, { "lang": "JavaScript", @@ -58452,7 +58796,7 @@ { "verb": "put", "requestPath": "/teams/{team_id}/projects/{project_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "accept", @@ -58487,8 +58831,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n https://api.github.com/teams/42/projects/42 \\\n -d '{\"permission\":\"permission\"}'", - "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  https://api.github.com/teams/42/projects/42 \\\n  -d '{\"permission\":\"permission\"}'
    " + "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n http(s)://{hostname}/api/v3/teams/42/projects/42 \\\n -d '{\"permission\":\"permission\"}'", + "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  http(s)://{hostname}/api/v3/teams/42/projects/42 \\\n  -d '{\"permission\":\"permission\"}'
    " }, { "lang": "JavaScript", @@ -58577,7 +58921,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "403", @@ -58590,7 +58934,7 @@ { "verb": "delete", "requestPath": "/teams/{team_id}/projects/{project_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "team_id", @@ -58614,8 +58958,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/teams/42/projects/42", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/teams/42/projects/42
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/teams/42/projects/42", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/teams/42/projects/42
    " }, { "lang": "JavaScript", @@ -58648,7 +58992,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "bodyParameters": [], @@ -58657,7 +59001,7 @@ { "verb": "get", "requestPath": "/teams/{team_id}/repos", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "team_id", @@ -58692,8 +59036,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/teams/42/repos", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/teams/42/repos
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/teams/42/repos", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/teams/42/repos
    " }, { "lang": "JavaScript", @@ -58743,7 +59087,7 @@ { "verb": "get", "requestPath": "/teams/{team_id}/repos/{owner}/{repo}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "team_id", @@ -58776,8 +59120,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/teams/42/repos/octocat/hello-world", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/teams/42/repos/octocat/hello-world
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/teams/42/repos/octocat/hello-world", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/teams/42/repos/octocat/hello-world
    " }, { "lang": "JavaScript", @@ -58836,7 +59180,7 @@ { "verb": "put", "requestPath": "/teams/{team_id}/repos/{owner}/{repo}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "team_id", @@ -58869,8 +59213,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/teams/42/repos/octocat/hello-world \\\n -d '{\"permission\":\"permission\"}'", - "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/teams/42/repos/octocat/hello-world \\\n  -d '{\"permission\":\"permission\"}'
    " + "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/teams/42/repos/octocat/hello-world \\\n -d '{\"permission\":\"permission\"}'", + "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/teams/42/repos/octocat/hello-world \\\n  -d '{\"permission\":\"permission\"}'
    " }, { "lang": "JavaScript", @@ -58935,7 +59279,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "descriptionHTML": "

    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

    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.\"

    ", @@ -58959,7 +59303,7 @@ { "verb": "delete", "requestPath": "/teams/{team_id}/repos/{owner}/{repo}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "team_id", @@ -58992,8 +59336,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/teams/42/repos/octocat/hello-world", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/teams/42/repos/octocat/hello-world
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/teams/42/repos/octocat/hello-world", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/teams/42/repos/octocat/hello-world
    " }, { "lang": "JavaScript", @@ -59026,7 +59370,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "bodyParameters": [], @@ -59035,7 +59379,7 @@ { "verb": "get", "requestPath": "/teams/{team_id}/teams", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "team_id", @@ -59070,8 +59414,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/teams/42/teams", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/teams/42/teams
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/teams/42/teams", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/teams/42/teams
    " }, { "lang": "JavaScript", @@ -59121,13 +59465,13 @@ { "verb": "get", "requestPath": "/user", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/user", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/user
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/user", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/user
    " }, { "lang": "JavaScript", @@ -59191,13 +59535,13 @@ { "verb": "patch", "requestPath": "/user", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/user \\\n -d '{\"name\":\"name\"}'", - "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/user \\\n  -d '{\"name\":\"name\"}'
    " + "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/user \\\n -d '{\"name\":\"name\"}'", + "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/user \\\n  -d '{\"name\":\"name\"}'
    " }, { "lang": "JavaScript", @@ -59435,7 +59779,7 @@ { "verb": "get", "requestPath": "/user/emails", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "per_page", @@ -59461,8 +59805,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/user/emails", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/user/emails
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/user/emails", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/user/emails
    " }, { "lang": "JavaScript", @@ -59527,13 +59871,13 @@ { "verb": "post", "requestPath": "/user/emails", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/user/emails \\\n -d '{\"emails\":[\"octocat@github.com\"]}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/user/emails \\\n  -d '{\"emails\":[\"octocat@github.com\"]}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/user/emails \\\n -d '{\"emails\":[\"octocat@github.com\"]}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/user/emails \\\n  -d '{\"emails\":[\"octocat@github.com\"]}'
    " }, { "lang": "JavaScript", @@ -59648,13 +59992,13 @@ { "verb": "delete", "requestPath": "/user/emails", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/user/emails \\\n -d '{\"emails\":[\"octocat@github.com\"]}'", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/user/emails \\\n  -d '{\"emails\":[\"octocat@github.com\"]}'
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/user/emails \\\n -d '{\"emails\":[\"octocat@github.com\"]}'", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/user/emails \\\n  -d '{\"emails\":[\"octocat@github.com\"]}'
    " }, { "lang": "JavaScript", @@ -59734,7 +60078,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "304", @@ -59768,7 +60112,7 @@ { "verb": "get", "requestPath": "/user/followers", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "per_page", @@ -59794,8 +60138,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/user/followers", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/user/followers
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/user/followers", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/user/followers
    " }, { "lang": "JavaScript", @@ -59855,7 +60199,7 @@ { "verb": "get", "requestPath": "/user/following", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "per_page", @@ -59881,8 +60225,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/user/following", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/user/following
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/user/following", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/user/following
    " }, { "lang": "JavaScript", @@ -59942,7 +60286,7 @@ { "verb": "get", "requestPath": "/user/following/{username}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "username", @@ -59957,8 +60301,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/user/following/USERNAME", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/user/following/USERNAME
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/user/following/USERNAME", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/user/following/USERNAME
    " }, { "lang": "JavaScript", @@ -60022,7 +60366,7 @@ { "verb": "put", "requestPath": "/user/following/{username}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "username", @@ -60037,8 +60381,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/user/following/USERNAME", - "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/user/following/USERNAME
    " + "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/user/following/USERNAME", + "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/user/following/USERNAME
    " }, { "lang": "JavaScript", @@ -60073,7 +60417,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "304", @@ -60102,7 +60446,7 @@ { "verb": "delete", "requestPath": "/user/following/{username}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "username", @@ -60117,8 +60461,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/user/following/USERNAME", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/user/following/USERNAME
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/user/following/USERNAME", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/user/following/USERNAME
    " }, { "lang": "JavaScript", @@ -60153,7 +60497,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "304", @@ -60182,7 +60526,7 @@ { "verb": "get", "requestPath": "/user/gpg_keys", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "per_page", @@ -60208,8 +60552,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/user/gpg_keys", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/user/gpg_keys
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/user/gpg_keys", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/user/gpg_keys
    " }, { "lang": "JavaScript", @@ -60274,13 +60618,13 @@ { "verb": "post", "requestPath": "/user/gpg_keys", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/user/gpg_keys \\\n -d '{\"armored_public_key\":\"armored_public_key\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/user/gpg_keys \\\n  -d '{\"armored_public_key\":\"armored_public_key\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/user/gpg_keys \\\n -d '{\"armored_public_key\":\"armored_public_key\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/user/gpg_keys \\\n  -d '{\"armored_public_key\":\"armored_public_key\"}'
    " }, { "lang": "JavaScript", @@ -60383,7 +60727,7 @@ { "verb": "get", "requestPath": "/user/gpg_keys/{gpg_key_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "gpg_key_id", @@ -60399,8 +60743,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/user/gpg_keys/42", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/user/gpg_keys/42
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/user/gpg_keys/42", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/user/gpg_keys/42
    " }, { "lang": "JavaScript", @@ -60465,7 +60809,7 @@ { "verb": "delete", "requestPath": "/user/gpg_keys/{gpg_key_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "gpg_key_id", @@ -60481,8 +60825,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/user/gpg_keys/42", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/user/gpg_keys/42
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/user/gpg_keys/42", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/user/gpg_keys/42
    " }, { "lang": "JavaScript", @@ -60517,7 +60861,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "304", @@ -60551,7 +60895,7 @@ { "verb": "get", "requestPath": "/user/installations", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "accept", @@ -60588,8 +60932,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.machine-man-preview+json\" \\\n https://api.github.com/user/installations", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.machine-man-preview+json\" \\\n  https://api.github.com/user/installations
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.machine-man-preview+json\" \\\n http(s)://{hostname}/api/v3/user/installations", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.machine-man-preview+json\" \\\n  http(s)://{hostname}/api/v3/user/installations
    " }, { "lang": "JavaScript", @@ -60661,7 +61005,7 @@ { "verb": "get", "requestPath": "/user/installations/{installation_id}/repositories", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "accept", @@ -60708,8 +61052,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.machine-man-preview+json\" \\\n https://api.github.com/user/installations/42/repositories", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.machine-man-preview+json\" \\\n  https://api.github.com/user/installations/42/repositories
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.machine-man-preview+json\" \\\n http(s)://{hostname}/api/v3/user/installations/42/repositories", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.machine-man-preview+json\" \\\n  http(s)://{hostname}/api/v3/user/installations/42/repositories
    " }, { "lang": "JavaScript", @@ -60782,7 +61126,7 @@ { "verb": "put", "requestPath": "/user/installations/{installation_id}/repositories/{repository_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "installation_id", @@ -60807,8 +61151,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.machine-man-preview+json\" \\\n https://api.github.com/user/installations/42/repositories/42", - "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.machine-man-preview+json\" \\\n  https://api.github.com/user/installations/42/repositories/42
    " + "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.machine-man-preview+json\" \\\n http(s)://{hostname}/api/v3/user/installations/42/repositories/42", + "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.machine-man-preview+json\" \\\n  http(s)://{hostname}/api/v3/user/installations/42/repositories/42
    " }, { "lang": "JavaScript", @@ -60850,7 +61194,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "304", @@ -60874,7 +61218,7 @@ { "verb": "delete", "requestPath": "/user/installations/{installation_id}/repositories/{repository_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "installation_id", @@ -60899,8 +61243,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.machine-man-preview+json\" \\\n https://api.github.com/user/installations/42/repositories/42", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.machine-man-preview+json\" \\\n  https://api.github.com/user/installations/42/repositories/42
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.machine-man-preview+json\" \\\n http(s)://{hostname}/api/v3/user/installations/42/repositories/42", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.machine-man-preview+json\" \\\n  http(s)://{hostname}/api/v3/user/installations/42/repositories/42
    " }, { "lang": "JavaScript", @@ -60942,7 +61286,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "304", @@ -60966,7 +61310,7 @@ { "verb": "get", "requestPath": "/user/issues", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "filter", @@ -60980,6 +61324,7 @@ "created", "mentioned", "subscribed", + "repos", "all" ], "default": "assigned" @@ -61077,8 +61422,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/user/issues", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/user/issues
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/user/issues", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/user/issues
    " }, { "lang": "JavaScript", @@ -61137,7 +61482,7 @@ { "verb": "get", "requestPath": "/user/keys", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "per_page", @@ -61163,8 +61508,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/user/keys", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/user/keys
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/user/keys", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/user/keys
    " }, { "lang": "JavaScript", @@ -61229,13 +61574,13 @@ { "verb": "post", "requestPath": "/user/keys", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/user/keys \\\n -d '{\"key\":\"key\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/user/keys \\\n  -d '{\"key\":\"key\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/user/keys \\\n -d '{\"key\":\"key\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/user/keys \\\n  -d '{\"key\":\"key\"}'
    " }, { "lang": "JavaScript", @@ -61360,7 +61705,7 @@ { "verb": "get", "requestPath": "/user/keys/{key_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "key_id", @@ -61376,8 +61721,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/user/keys/42", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/user/keys/42
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/user/keys/42", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/user/keys/42
    " }, { "lang": "JavaScript", @@ -61442,7 +61787,7 @@ { "verb": "delete", "requestPath": "/user/keys/{key_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "key_id", @@ -61458,8 +61803,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/user/keys/42", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/user/keys/42
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/user/keys/42", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/user/keys/42
    " }, { "lang": "JavaScript", @@ -61494,7 +61839,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "304", @@ -61523,7 +61868,7 @@ { "verb": "get", "requestPath": "/user/memberships/orgs", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "state", @@ -61563,8 +61908,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/user/memberships/orgs", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/user/memberships/orgs
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/user/memberships/orgs", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/user/memberships/orgs
    " }, { "lang": "JavaScript", @@ -61629,7 +61974,7 @@ { "verb": "get", "requestPath": "/user/memberships/orgs/{org}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "org", @@ -61644,8 +61989,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/user/memberships/orgs/ORG", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/user/memberships/orgs/ORG
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/user/memberships/orgs/ORG", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/user/memberships/orgs/ORG
    " }, { "lang": "JavaScript", @@ -61700,7 +62045,7 @@ { "verb": "patch", "requestPath": "/user/memberships/orgs/{org}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "org", @@ -61715,8 +62060,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/user/memberships/orgs/ORG \\\n -d '{\"state\":\"state\"}'", - "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/user/memberships/orgs/ORG \\\n  -d '{\"state\":\"state\"}'
    " + "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/user/memberships/orgs/ORG \\\n -d '{\"state\":\"state\"}'", + "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/user/memberships/orgs/ORG \\\n  -d '{\"state\":\"state\"}'
    " }, { "lang": "JavaScript", @@ -61818,7 +62163,7 @@ { "verb": "get", "requestPath": "/user/orgs", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "per_page", @@ -61844,8 +62189,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/user/orgs", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/user/orgs
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/user/orgs", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/user/orgs
    " }, { "lang": "JavaScript", @@ -61903,13 +62248,13 @@ { "verb": "post", "requestPath": "/user/projects", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n https://api.github.com/user/projects \\\n -d '{\"name\":\"name\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  https://api.github.com/user/projects \\\n  -d '{\"name\":\"name\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n http(s)://{hostname}/api/v3/user/projects \\\n -d '{\"name\":\"name\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  http(s)://{hostname}/api/v3/user/projects \\\n  -d '{\"name\":\"name\"}'
    " }, { "lang": "JavaScript", @@ -62041,7 +62386,7 @@ { "verb": "get", "requestPath": "/user/public_emails", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "per_page", @@ -62067,8 +62412,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/user/public_emails", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/user/public_emails
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/user/public_emails", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/user/public_emails
    " }, { "lang": "JavaScript", @@ -62133,11 +62478,11 @@ { "verb": "get", "requestPath": "/user/repos", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "visibility", - "description": "Can be one of `all`, `public`, or `private`.", + "description": "Can be one of `all`, `public`, or `private`. Note: For GitHub AE, can be one of `all`, `internal`, or `private`.", "in": "query", "required": false, "schema": { @@ -62149,7 +62494,7 @@ ], "default": "all" }, - "descriptionHTML": "

    Can be one of all, public, or private.

    " + "descriptionHTML": "

    Can be one of all, public, or private. Note: For GitHub AE, can be one of all, internal, or private.

    " }, { "name": "affiliation", @@ -62164,7 +62509,7 @@ }, { "name": "type", - "description": "Can be one of `all`, `owner`, `public`, `private`, `member`. Default: `all` \n \nWill cause a `422` error if used in the same request as **visibility** or **affiliation**. Will cause a `422` error if used in the same request as **visibility** or **affiliation**.", + "description": "Can be one of `all`, `owner`, `public`, `private`, `member`. Note: For GitHub AE, can be one of `all`, `owner`, `internal`, `private`, `member`. Default: `all` \n \nWill cause a `422` error if used in the same request as **visibility** or **affiliation**. Will cause a `422` error if used in the same request as **visibility** or **affiliation**.", "in": "query", "required": false, "schema": { @@ -62178,7 +62523,7 @@ ], "default": "all" }, - "descriptionHTML": "

    Can be one of all, owner, public, private, member. Default: all

    \n

    Will cause a 422 error if used in the same request as visibility or affiliation. Will cause a 422 error if used in the same request as visibility or affiliation.

    " + "descriptionHTML": "

    Can be one of all, owner, public, private, member. Note: For GitHub AE, can be one of all, owner, internal, private, member. Default: all

    \n

    Will cause a 422 error if used in the same request as visibility or affiliation. Will cause a 422 error if used in the same request as visibility or affiliation.

    " }, { "name": "sort", @@ -62255,8 +62600,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/user/repos", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/user/repos
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/user/repos", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/user/repos
    " }, { "lang": "JavaScript", @@ -62319,13 +62664,13 @@ { "verb": "post", "requestPath": "/user/repos", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/user/repos \\\n -d '{\"name\":\"name\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/user/repos \\\n  -d '{\"name\":\"name\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/user/repos \\\n -d '{\"name\":\"name\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/user/repos \\\n  -d '{\"name\":\"name\"}'
    " }, { "lang": "JavaScript", @@ -62334,7 +62679,7 @@ } ], "summary": "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", + "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.", "tags": [ "repos" ], @@ -62377,13 +62722,13 @@ "childParamsGroups": [] }, "private": { - "description": "

    Whether the repository is private or public.

    ", + "description": "

    Whether the repository is private.

    ", "default": false, "type": "boolean", "name": "private", "in": "body", "rawType": "boolean", - "rawDescription": "Whether the repository is private or public.", + "rawDescription": "Whether the repository is private.", "childParamsGroups": [] }, "has_issues": { @@ -62557,7 +62902,7 @@ "category": "repos", "categoryLabel": "Repos", "notes": [], - "descriptionHTML": "

    Creates a new repository for the authenticated user.

    \n

    OAuth scope requirements

    \n

    When using OAuth, 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
    ", + "descriptionHTML": "

    Creates a new repository for the authenticated user.

    \n

    OAuth scope requirements

    \n

    When using OAuth, 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
    ", "bodyParameters": [ { "description": "

    Required. The name of the repository.

    ", @@ -62588,13 +62933,13 @@ "childParamsGroups": [] }, { - "description": "

    Whether the repository is private or public.

    ", + "description": "

    Whether the repository is private.

    ", "default": false, "type": "boolean", "name": "private", "in": "body", "rawType": "boolean", - "rawDescription": "Whether the repository is private or public.", + "rawDescription": "Whether the repository is private.", "childParamsGroups": [] }, { @@ -62778,7 +63123,7 @@ { "verb": "get", "requestPath": "/user/repository_invitations", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "per_page", @@ -62804,8 +63149,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/user/repository_invitations", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/user/repository_invitations
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/user/repository_invitations", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/user/repository_invitations
    " }, { "lang": "JavaScript", @@ -62870,7 +63215,7 @@ { "verb": "patch", "requestPath": "/user/repository_invitations/{invitation_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "invitation_id", @@ -62886,8 +63231,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/user/repository_invitations/42", - "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/user/repository_invitations/42
    " + "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/user/repository_invitations/42", + "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/user/repository_invitations/42
    " }, { "lang": "JavaScript", @@ -62922,7 +63267,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "304", @@ -62951,7 +63296,7 @@ { "verb": "delete", "requestPath": "/user/repository_invitations/{invitation_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "invitation_id", @@ -62967,8 +63312,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/user/repository_invitations/42", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/user/repository_invitations/42
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/user/repository_invitations/42", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/user/repository_invitations/42
    " }, { "lang": "JavaScript", @@ -63003,7 +63348,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "304", @@ -63032,7 +63377,7 @@ { "verb": "get", "requestPath": "/user/starred", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "sort", @@ -63088,8 +63433,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/user/starred", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/user/starred
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/user/starred", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/user/starred
    " }, { "lang": "JavaScript", @@ -63149,7 +63494,7 @@ { "verb": "get", "requestPath": "/user/starred/{owner}/{repo}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -63173,8 +63518,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/user/starred/octocat/hello-world", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/user/starred/octocat/hello-world
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/user/starred/octocat/hello-world", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/user/starred/octocat/hello-world
    " }, { "lang": "JavaScript", @@ -63238,7 +63583,7 @@ { "verb": "put", "requestPath": "/user/starred/{owner}/{repo}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -63262,8 +63607,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/user/starred/octocat/hello-world", - "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/user/starred/octocat/hello-world
    " + "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/user/starred/octocat/hello-world", + "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/user/starred/octocat/hello-world
    " }, { "lang": "JavaScript", @@ -63298,7 +63643,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "304", @@ -63327,7 +63672,7 @@ { "verb": "delete", "requestPath": "/user/starred/{owner}/{repo}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -63351,8 +63696,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/user/starred/octocat/hello-world", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/user/starred/octocat/hello-world
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/user/starred/octocat/hello-world", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/user/starred/octocat/hello-world
    " }, { "lang": "JavaScript", @@ -63387,7 +63732,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "304", @@ -63416,7 +63761,7 @@ { "verb": "get", "requestPath": "/user/subscriptions", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "per_page", @@ -63442,8 +63787,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/user/subscriptions", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/user/subscriptions
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/user/subscriptions", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/user/subscriptions
    " }, { "lang": "JavaScript", @@ -63503,7 +63848,7 @@ { "verb": "get", "requestPath": "/user/teams", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "per_page", @@ -63529,8 +63874,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/user/teams", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/user/teams
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/user/teams", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/user/teams
    " }, { "lang": "JavaScript", @@ -63588,7 +63933,7 @@ { "verb": "get", "requestPath": "/users", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "since", @@ -63614,8 +63959,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/users", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/users
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/users", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/users
    " }, { "lang": "JavaScript", @@ -63663,7 +64008,7 @@ { "verb": "get", "requestPath": "/users/{username}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "username", @@ -63678,8 +64023,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/users/USERNAME", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/users/USERNAME
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/users/USERNAME", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/users/USERNAME
    " }, { "lang": "JavaScript", @@ -63733,7 +64078,7 @@ { "verb": "get", "requestPath": "/users/{username}/events", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "username", @@ -63768,8 +64113,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/users/USERNAME/events", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/users/USERNAME/events
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/users/USERNAME/events", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/users/USERNAME/events
    " }, { "lang": "JavaScript", @@ -63813,7 +64158,7 @@ { "verb": "get", "requestPath": "/users/{username}/events/orgs/{org}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "username", @@ -63857,8 +64202,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/users/USERNAME/events/orgs/ORG", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/users/USERNAME/events/orgs/ORG
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/users/USERNAME/events/orgs/ORG", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/users/USERNAME/events/orgs/ORG
    " }, { "lang": "JavaScript", @@ -63902,7 +64247,7 @@ { "verb": "get", "requestPath": "/users/{username}/events/public", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "username", @@ -63937,8 +64282,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/users/USERNAME/events/public", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/users/USERNAME/events/public
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/users/USERNAME/events/public", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/users/USERNAME/events/public
    " }, { "lang": "JavaScript", @@ -63982,7 +64327,7 @@ { "verb": "get", "requestPath": "/users/{username}/followers", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "username", @@ -64017,8 +64362,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/users/USERNAME/followers", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/users/USERNAME/followers
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/users/USERNAME/followers", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/users/USERNAME/followers
    " }, { "lang": "JavaScript", @@ -64063,7 +64408,7 @@ { "verb": "get", "requestPath": "/users/{username}/following", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "username", @@ -64098,8 +64443,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/users/USERNAME/following", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/users/USERNAME/following
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/users/USERNAME/following", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/users/USERNAME/following
    " }, { "lang": "JavaScript", @@ -64144,7 +64489,7 @@ { "verb": "get", "requestPath": "/users/{username}/following/{target_user}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "username", @@ -64168,8 +64513,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/users/USERNAME/following/TARGET_USER", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/users/USERNAME/following/TARGET_USER
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/users/USERNAME/following/TARGET_USER", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/users/USERNAME/following/TARGET_USER
    " }, { "lang": "JavaScript", @@ -64218,7 +64563,7 @@ { "verb": "get", "requestPath": "/users/{username}/gists", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "username", @@ -64263,8 +64608,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/users/USERNAME/gists", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/users/USERNAME/gists
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/users/USERNAME/gists", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/users/USERNAME/gists
    " }, { "lang": "JavaScript", @@ -64312,7 +64657,7 @@ { "verb": "get", "requestPath": "/users/{username}/gpg_keys", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "username", @@ -64347,8 +64692,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/users/USERNAME/gpg_keys", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/users/USERNAME/gpg_keys
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/users/USERNAME/gpg_keys", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/users/USERNAME/gpg_keys
    " }, { "lang": "JavaScript", @@ -64393,7 +64738,7 @@ { "verb": "get", "requestPath": "/users/{username}/hovercard", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "username", @@ -64434,8 +64779,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/users/USERNAME/hovercard", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/users/USERNAME/hovercard
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/users/USERNAME/hovercard", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/users/USERNAME/hovercard
    " }, { "lang": "JavaScript", @@ -64488,7 +64833,7 @@ { "verb": "get", "requestPath": "/users/{username}/installation", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "accept", @@ -64514,8 +64859,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.machine-man-preview+json\" \\\n https://api.github.com/users/USERNAME/installation", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.machine-man-preview+json\" \\\n  https://api.github.com/users/USERNAME/installation
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.machine-man-preview+json\" \\\n http(s)://{hostname}/api/v3/users/USERNAME/installation", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.machine-man-preview+json\" \\\n  http(s)://{hostname}/api/v3/users/USERNAME/installation
    " }, { "lang": "JavaScript", @@ -64564,7 +64909,7 @@ { "verb": "get", "requestPath": "/users/{username}/keys", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "username", @@ -64599,8 +64944,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/users/USERNAME/keys", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/users/USERNAME/keys
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/users/USERNAME/keys", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/users/USERNAME/keys
    " }, { "lang": "JavaScript", @@ -64645,7 +64990,7 @@ { "verb": "get", "requestPath": "/users/{username}/orgs", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "username", @@ -64680,8 +65025,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/users/USERNAME/orgs", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/users/USERNAME/orgs
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/users/USERNAME/orgs", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/users/USERNAME/orgs
    " }, { "lang": "JavaScript", @@ -64724,7 +65069,7 @@ { "verb": "get", "requestPath": "/users/{username}/projects", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "username", @@ -64775,8 +65120,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n https://api.github.com/users/USERNAME/projects", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  https://api.github.com/users/USERNAME/projects
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n http(s)://{hostname}/api/v3/users/USERNAME/projects", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  http(s)://{hostname}/api/v3/users/USERNAME/projects
    " }, { "lang": "JavaScript", @@ -64836,7 +65181,7 @@ { "verb": "get", "requestPath": "/users/{username}/received_events", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "username", @@ -64871,8 +65216,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/users/USERNAME/received_events", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/users/USERNAME/received_events
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/users/USERNAME/received_events", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/users/USERNAME/received_events
    " }, { "lang": "JavaScript", @@ -64916,7 +65261,7 @@ { "verb": "get", "requestPath": "/users/{username}/received_events/public", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "username", @@ -64951,8 +65296,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/users/USERNAME/received_events/public", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/users/USERNAME/received_events/public
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/users/USERNAME/received_events/public", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/users/USERNAME/received_events/public
    " }, { "lang": "JavaScript", @@ -64996,7 +65341,7 @@ { "verb": "get", "requestPath": "/users/{username}/repos", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "username", @@ -65078,8 +65423,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/users/USERNAME/repos", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/users/USERNAME/repos
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/users/USERNAME/repos", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/users/USERNAME/repos
    " }, { "lang": "JavaScript", @@ -65088,7 +65433,7 @@ } ], "summary": "List repositories for a user", - "description": "Lists public repositories for the specified user.", + "description": "Lists public repositories for the specified user. Note: For GitHub AE, this endpoint will list internal repositories for the specified user.", "tags": [ "repos" ], @@ -65116,7 +65461,7 @@ "categoryLabel": "Repos", "notes": [], "bodyParameters": [], - "descriptionHTML": "

    Lists public repositories for the specified user.

    ", + "descriptionHTML": "

    Lists public repositories for the specified user. Note: For GitHub AE, this endpoint will list internal repositories for the specified user.

    ", "responses": [ { "httpStatusCode": "200", @@ -65129,7 +65474,7 @@ { "verb": "put", "requestPath": "/users/{username}/site_admin", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "username", @@ -65144,8 +65489,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/users/USERNAME/site_admin", - "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/users/USERNAME/site_admin
    " + "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/users/USERNAME/site_admin", + "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/users/USERNAME/site_admin
    " }, { "lang": "JavaScript", @@ -65180,7 +65525,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "bodyParameters": [], @@ -65189,7 +65534,7 @@ { "verb": "delete", "requestPath": "/users/{username}/site_admin", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "username", @@ -65204,8 +65549,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/users/USERNAME/site_admin", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/users/USERNAME/site_admin
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/users/USERNAME/site_admin", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/users/USERNAME/site_admin
    " }, { "lang": "JavaScript", @@ -65240,7 +65585,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "bodyParameters": [], @@ -65249,7 +65594,7 @@ { "verb": "get", "requestPath": "/users/{username}/starred", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "username", @@ -65314,8 +65659,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/users/USERNAME/starred", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/users/USERNAME/starred
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/users/USERNAME/starred", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/users/USERNAME/starred
    " }, { "lang": "JavaScript", @@ -65360,7 +65705,7 @@ { "verb": "get", "requestPath": "/users/{username}/subscriptions", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "username", @@ -65395,8 +65740,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/users/USERNAME/subscriptions", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/users/USERNAME/subscriptions
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/users/USERNAME/subscriptions", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/users/USERNAME/subscriptions
    " }, { "lang": "JavaScript", @@ -65441,7 +65786,7 @@ { "verb": "put", "requestPath": "/users/{username}/suspended", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "username", @@ -65456,8 +65801,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/users/USERNAME/suspended \\\n -d '{\"reason\":\"reason\"}'", - "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/users/USERNAME/suspended \\\n  -d '{\"reason\":\"reason\"}'
    " + "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/users/USERNAME/suspended \\\n -d '{\"reason\":\"reason\"}'", + "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/users/USERNAME/suspended \\\n  -d '{\"reason\":\"reason\"}'
    " }, { "lang": "JavaScript", @@ -65512,7 +65857,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "descriptionHTML": "

    If your GitHub instance uses LDAP Sync with Active Directory LDAP servers, 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

    You can suspend any user account except your own.

    \n

    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.\"

    ", @@ -65531,7 +65876,7 @@ { "verb": "delete", "requestPath": "/users/{username}/suspended", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "username", @@ -65546,8 +65891,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/users/USERNAME/suspended \\\n -d '{\"reason\":\"reason\"}'", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/users/USERNAME/suspended \\\n  -d '{\"reason\":\"reason\"}'
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/users/USERNAME/suspended \\\n -d '{\"reason\":\"reason\"}'", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/users/USERNAME/suspended \\\n  -d '{\"reason\":\"reason\"}'
    " }, { "lang": "JavaScript", @@ -65602,7 +65947,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "descriptionHTML": "

    If your GitHub instance uses LDAP Sync with Active Directory LDAP servers, this API is disabled and will return a 403 response. Active Directory LDAP-authenticated users cannot be unsuspended using the API.

    ", @@ -65621,13 +65966,13 @@ { "verb": "get", "requestPath": "/zen", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/zen", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/zen
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/zen", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/zen
    " }, { "lang": "JavaScript", diff --git a/lib/rest/static/decorated/ghes-2.20.json b/lib/rest/static/decorated/ghes-2.20.json index f577efb584..0884b946c8 100644 --- a/lib/rest/static/decorated/ghes-2.20.json +++ b/lib/rest/static/decorated/ghes-2.20.json @@ -2,13 +2,13 @@ { "verb": "get", "requestPath": "/", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/
    " }, { "lang": "JavaScript", @@ -45,7 +45,7 @@ { "verb": "get", "requestPath": "/admin/hooks", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "accept", @@ -82,8 +82,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.superpro-preview+json\" \\\n https://api.github.com/admin/hooks", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.superpro-preview+json\" \\\n  https://api.github.com/admin/hooks
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.superpro-preview+json\" \\\n http(s)://{hostname}/api/v3/admin/hooks", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.superpro-preview+json\" \\\n  http(s)://{hostname}/api/v3/admin/hooks
    " }, { "lang": "JavaScript", @@ -135,7 +135,7 @@ { "verb": "post", "requestPath": "/admin/hooks", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "accept", @@ -152,8 +152,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.superpro-preview+json\" \\\n https://api.github.com/admin/hooks \\\n -d '{\"name\":\"name\",\"config\":{\"url\":\"url\",\"content_type\":\"content_type\",\"secret\":\"secret\",\"insecure_ssl\":\"insecure_ssl\"}}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.superpro-preview+json\" \\\n  https://api.github.com/admin/hooks \\\n  -d '{\"name\":\"name\",\"config\":{\"url\":\"url\",\"content_type\":\"content_type\",\"secret\":\"secret\",\"insecure_ssl\":\"insecure_ssl\"}}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.superpro-preview+json\" \\\n http(s)://{hostname}/api/v3/admin/hooks \\\n -d '{\"name\":\"name\",\"config\":{\"url\":\"url\",\"content_type\":\"content_type\",\"secret\":\"secret\",\"insecure_ssl\":\"insecure_ssl\"}}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.superpro-preview+json\" \\\n  http(s)://{hostname}/api/v3/admin/hooks \\\n  -d '{\"name\":\"name\",\"config\":{\"url\":\"url\",\"content_type\":\"content_type\",\"secret\":\"secret\",\"insecure_ssl\":\"insecure_ssl\"}}'
    " }, { "lang": "JavaScript", @@ -483,7 +483,7 @@ { "verb": "get", "requestPath": "/admin/hooks/{hook_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "accept", @@ -509,8 +509,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.superpro-preview+json\" \\\n https://api.github.com/admin/hooks/42", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.superpro-preview+json\" \\\n  https://api.github.com/admin/hooks/42
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.superpro-preview+json\" \\\n http(s)://{hostname}/api/v3/admin/hooks/42", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.superpro-preview+json\" \\\n  http(s)://{hostname}/api/v3/admin/hooks/42
    " }, { "lang": "JavaScript", @@ -562,7 +562,7 @@ { "verb": "patch", "requestPath": "/admin/hooks/{hook_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "accept", @@ -588,8 +588,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.superpro-preview+json\" \\\n https://api.github.com/admin/hooks/42 \\\n -d '{\"config\":{\"url\":\"url\",\"content_type\":\"content_type\",\"secret\":\"secret\",\"insecure_ssl\":\"insecure_ssl\"}}'", - "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.superpro-preview+json\" \\\n  https://api.github.com/admin/hooks/42 \\\n  -d '{\"config\":{\"url\":\"url\",\"content_type\":\"content_type\",\"secret\":\"secret\",\"insecure_ssl\":\"insecure_ssl\"}}'
    " + "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.superpro-preview+json\" \\\n http(s)://{hostname}/api/v3/admin/hooks/42 \\\n -d '{\"config\":{\"url\":\"url\",\"content_type\":\"content_type\",\"secret\":\"secret\",\"insecure_ssl\":\"insecure_ssl\"}}'", + "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.superpro-preview+json\" \\\n  http(s)://{hostname}/api/v3/admin/hooks/42 \\\n  -d '{\"config\":{\"url\":\"url\",\"content_type\":\"content_type\",\"secret\":\"secret\",\"insecure_ssl\":\"insecure_ssl\"}}'
    " }, { "lang": "JavaScript", @@ -893,7 +893,7 @@ { "verb": "delete", "requestPath": "/admin/hooks/{hook_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "accept", @@ -919,8 +919,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.superpro-preview+json\" \\\n https://api.github.com/admin/hooks/42", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.superpro-preview+json\" \\\n  https://api.github.com/admin/hooks/42
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.superpro-preview+json\" \\\n http(s)://{hostname}/api/v3/admin/hooks/42", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.superpro-preview+json\" \\\n  http(s)://{hostname}/api/v3/admin/hooks/42
    " }, { "lang": "JavaScript", @@ -962,7 +962,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "bodyParameters": [], @@ -971,7 +971,7 @@ { "verb": "post", "requestPath": "/admin/hooks/{hook_id}/pings", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "accept", @@ -997,8 +997,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.superpro-preview+json\" \\\n https://api.github.com/admin/hooks/42/pings", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.superpro-preview+json\" \\\n  https://api.github.com/admin/hooks/42/pings
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.superpro-preview+json\" \\\n http(s)://{hostname}/api/v3/admin/hooks/42/pings", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.superpro-preview+json\" \\\n  http(s)://{hostname}/api/v3/admin/hooks/42/pings
    " }, { "lang": "JavaScript", @@ -1040,7 +1040,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "bodyParameters": [], @@ -1049,7 +1049,7 @@ { "verb": "get", "requestPath": "/admin/keys", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "per_page", @@ -1070,13 +1070,53 @@ "default": 1 }, "descriptionHTML": "

    Page number of the results to fetch.

    " + }, + { + "name": "direction", + "description": "One of `asc` (ascending) or `desc` (descending).", + "in": "query", + "required": false, + "schema": { + "type": "string", + "enum": [ + "asc", + "desc" + ], + "default": "desc" + }, + "descriptionHTML": "

    One of asc (ascending) or desc (descending).

    " + }, + { + "name": "sort", + "in": "query", + "required": false, + "schema": { + "type": "string", + "enum": [ + "created", + "updated", + "accessed" + ], + "default": "created" + }, + "descriptionHTML": "" + }, + { + "name": "since", + "description": "Only show public keys accessed after the given time.", + "in": "query", + "required": false, + "schema": { + "type": "string" + }, + "descriptionHTML": "

    Only show public keys accessed after the given time.

    " } ], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/admin/keys", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/admin/keys
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/admin/keys", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/admin/keys
    " }, { "lang": "JavaScript", @@ -1121,7 +1161,7 @@ { "verb": "delete", "requestPath": "/admin/keys/{key_ids}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "key_ids", @@ -1136,8 +1176,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/admin/keys/KEY_IDS", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/admin/keys/KEY_IDS
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/admin/keys/KEY_IDS", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/admin/keys/KEY_IDS
    " }, { "lang": "JavaScript", @@ -1172,7 +1212,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "bodyParameters": [], @@ -1181,7 +1221,7 @@ { "verb": "patch", "requestPath": "/admin/ldap/teams/{team_id}/mapping", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "team_id", @@ -1196,8 +1236,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/admin/ldap/teams/42/mapping \\\n -d '{\"ldap_dn\":\"ldap_dn\"}'", - "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/admin/ldap/teams/42/mapping \\\n  -d '{\"ldap_dn\":\"ldap_dn\"}'
    " + "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/admin/ldap/teams/42/mapping \\\n -d '{\"ldap_dn\":\"ldap_dn\"}'", + "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/admin/ldap/teams/42/mapping \\\n  -d '{\"ldap_dn\":\"ldap_dn\"}'
    " }, { "lang": "JavaScript", @@ -1275,7 +1315,7 @@ { "verb": "post", "requestPath": "/admin/ldap/teams/{team_id}/sync", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "team_id", @@ -1290,8 +1330,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/admin/ldap/teams/42/sync", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/admin/ldap/teams/42/sync
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/admin/ldap/teams/42/sync", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/admin/ldap/teams/42/sync
    " }, { "lang": "JavaScript", @@ -1336,7 +1376,7 @@ { "verb": "patch", "requestPath": "/admin/ldap/users/{username}/mapping", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "username", @@ -1351,8 +1391,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/admin/ldap/users/USERNAME/mapping \\\n -d '{\"ldap_dn\":\"ldap_dn\"}'", - "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/admin/ldap/users/USERNAME/mapping \\\n  -d '{\"ldap_dn\":\"ldap_dn\"}'
    " + "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/admin/ldap/users/USERNAME/mapping \\\n -d '{\"ldap_dn\":\"ldap_dn\"}'", + "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/admin/ldap/users/USERNAME/mapping \\\n  -d '{\"ldap_dn\":\"ldap_dn\"}'
    " }, { "lang": "JavaScript", @@ -1430,7 +1470,7 @@ { "verb": "post", "requestPath": "/admin/ldap/users/{username}/sync", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "username", @@ -1445,8 +1485,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/admin/ldap/users/USERNAME/sync", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/admin/ldap/users/USERNAME/sync
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/admin/ldap/users/USERNAME/sync", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/admin/ldap/users/USERNAME/sync
    " }, { "lang": "JavaScript", @@ -1491,13 +1531,13 @@ { "verb": "post", "requestPath": "/admin/organizations", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/admin/organizations \\\n -d '{\"login\":\"login\",\"admin\":\"admin\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/admin/organizations \\\n  -d '{\"login\":\"login\",\"admin\":\"admin\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/admin/organizations \\\n -d '{\"login\":\"login\",\"admin\":\"admin\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/admin/organizations \\\n  -d '{\"login\":\"login\",\"admin\":\"admin\"}'
    " }, { "lang": "JavaScript", @@ -1617,7 +1657,7 @@ { "verb": "patch", "requestPath": "/admin/organizations/{org}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "org", @@ -1632,8 +1672,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/admin/organizations/ORG \\\n -d '{\"login\":\"login\"}'", - "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/admin/organizations/ORG \\\n  -d '{\"login\":\"login\"}'
    " + "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/admin/organizations/ORG \\\n -d '{\"login\":\"login\"}'", + "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/admin/organizations/ORG \\\n  -d '{\"login\":\"login\"}'
    " }, { "lang": "JavaScript", @@ -1714,7 +1754,7 @@ { "verb": "get", "requestPath": "/admin/pre-receive-environments", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "per_page", @@ -1735,13 +1775,43 @@ "default": 1 }, "descriptionHTML": "

    Page number of the results to fetch.

    " + }, + { + "name": "direction", + "description": "One of `asc` (ascending) or `desc` (descending).", + "in": "query", + "required": false, + "schema": { + "type": "string", + "enum": [ + "asc", + "desc" + ], + "default": "desc" + }, + "descriptionHTML": "

    One of asc (ascending) or desc (descending).

    " + }, + { + "name": "sort", + "in": "query", + "required": false, + "schema": { + "type": "string", + "enum": [ + "created", + "updated", + "name" + ], + "default": "created" + }, + "descriptionHTML": "" } ], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n https://api.github.com/admin/pre-receive-environments", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n  https://api.github.com/admin/pre-receive-environments
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n http(s)://{hostname}/api/v3/admin/pre-receive-environments", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n  http(s)://{hostname}/api/v3/admin/pre-receive-environments
    " }, { "lang": "JavaScript", @@ -1793,13 +1863,13 @@ { "verb": "post", "requestPath": "/admin/pre-receive-environments", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n https://api.github.com/admin/pre-receive-environments \\\n -d '{\"name\":\"name\",\"image_url\":\"image_url\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n  https://api.github.com/admin/pre-receive-environments \\\n  -d '{\"name\":\"name\",\"image_url\":\"image_url\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n http(s)://{hostname}/api/v3/admin/pre-receive-environments \\\n -d '{\"name\":\"name\",\"image_url\":\"image_url\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n  http(s)://{hostname}/api/v3/admin/pre-receive-environments \\\n  -d '{\"name\":\"name\",\"image_url\":\"image_url\"}'
    " }, { "lang": "JavaScript", @@ -1907,7 +1977,7 @@ { "verb": "get", "requestPath": "/admin/pre-receive-environments/{pre_receive_environment_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "pre_receive_environment_id", @@ -1922,8 +1992,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n https://api.github.com/admin/pre-receive-environments/42", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n  https://api.github.com/admin/pre-receive-environments/42
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n http(s)://{hostname}/api/v3/admin/pre-receive-environments/42", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n  http(s)://{hostname}/api/v3/admin/pre-receive-environments/42
    " }, { "lang": "JavaScript", @@ -1975,7 +2045,7 @@ { "verb": "patch", "requestPath": "/admin/pre-receive-environments/{pre_receive_environment_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "pre_receive_environment_id", @@ -1990,8 +2060,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n https://api.github.com/admin/pre-receive-environments/42 \\\n -d '{\"name\":\"name\"}'", - "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n  https://api.github.com/admin/pre-receive-environments/42 \\\n  -d '{\"name\":\"name\"}'
    " + "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n http(s)://{hostname}/api/v3/admin/pre-receive-environments/42 \\\n -d '{\"name\":\"name\"}'", + "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n  http(s)://{hostname}/api/v3/admin/pre-receive-environments/42 \\\n  -d '{\"name\":\"name\"}'
    " }, { "lang": "JavaScript", @@ -2097,7 +2167,7 @@ { "verb": "delete", "requestPath": "/admin/pre-receive-environments/{pre_receive_environment_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "pre_receive_environment_id", @@ -2112,8 +2182,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n https://api.github.com/admin/pre-receive-environments/42", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n  https://api.github.com/admin/pre-receive-environments/42
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n http(s)://{hostname}/api/v3/admin/pre-receive-environments/42", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n  http(s)://{hostname}/api/v3/admin/pre-receive-environments/42
    " }, { "lang": "JavaScript", @@ -2157,7 +2227,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "422", @@ -2170,7 +2240,7 @@ { "verb": "post", "requestPath": "/admin/pre-receive-environments/{pre_receive_environment_id}/downloads", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "pre_receive_environment_id", @@ -2185,8 +2255,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n https://api.github.com/admin/pre-receive-environments/42/downloads", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n  https://api.github.com/admin/pre-receive-environments/42/downloads
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n http(s)://{hostname}/api/v3/admin/pre-receive-environments/42/downloads", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n  http(s)://{hostname}/api/v3/admin/pre-receive-environments/42/downloads
    " }, { "lang": "JavaScript", @@ -2244,7 +2314,7 @@ { "verb": "get", "requestPath": "/admin/pre-receive-environments/{pre_receive_environment_id}/downloads/latest", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "pre_receive_environment_id", @@ -2259,8 +2329,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n https://api.github.com/admin/pre-receive-environments/42/downloads/latest", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n  https://api.github.com/admin/pre-receive-environments/42/downloads/latest
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n http(s)://{hostname}/api/v3/admin/pre-receive-environments/42/downloads/latest", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n  http(s)://{hostname}/api/v3/admin/pre-receive-environments/42/downloads/latest
    " }, { "lang": "JavaScript", @@ -2312,7 +2382,7 @@ { "verb": "get", "requestPath": "/admin/pre-receive-hooks", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "per_page", @@ -2333,13 +2403,44 @@ "default": 1 }, "descriptionHTML": "

    Page number of the results to fetch.

    " + }, + { + "name": "direction", + "description": "One of `asc` (ascending) or `desc` (descending).", + "in": "query", + "required": false, + "schema": { + "type": "string", + "enum": [ + "asc", + "desc" + ], + "default": "desc" + }, + "descriptionHTML": "

    One of asc (ascending) or desc (descending).

    " + }, + { + "name": "sort", + "description": "One of `created` (when the repository was starred) or `updated` (when it was last pushed to) or `name`.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "enum": [ + "created", + "updated", + "name" + ], + "default": "created" + }, + "descriptionHTML": "

    One of created (when the repository was starred) or updated (when it was last pushed to) or name.

    " } ], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n https://api.github.com/admin/pre-receive-hooks", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n  https://api.github.com/admin/pre-receive-hooks
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n http(s)://{hostname}/api/v3/admin/pre-receive-hooks", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n  http(s)://{hostname}/api/v3/admin/pre-receive-hooks
    " }, { "lang": "JavaScript", @@ -2391,13 +2492,13 @@ { "verb": "post", "requestPath": "/admin/pre-receive-hooks", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n https://api.github.com/admin/pre-receive-hooks \\\n -d '{\"name\":\"name\",\"script\":\"script\",\"script_repository\":{},\"environment\":{}}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n  https://api.github.com/admin/pre-receive-hooks \\\n  -d '{\"name\":\"name\",\"script\":\"script\",\"script_repository\":{},\"environment\":{}}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n http(s)://{hostname}/api/v3/admin/pre-receive-hooks \\\n -d '{\"name\":\"name\",\"script\":\"script\",\"script_repository\":{},\"environment\":{}}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n  http(s)://{hostname}/api/v3/admin/pre-receive-hooks \\\n  -d '{\"name\":\"name\",\"script\":\"script\",\"script_repository\":{},\"environment\":{}}'
    " }, { "lang": "JavaScript", @@ -2595,7 +2696,7 @@ { "verb": "get", "requestPath": "/admin/pre-receive-hooks/{pre_receive_hook_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "pre_receive_hook_id", @@ -2610,8 +2711,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n https://api.github.com/admin/pre-receive-hooks/42", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n  https://api.github.com/admin/pre-receive-hooks/42
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n http(s)://{hostname}/api/v3/admin/pre-receive-hooks/42", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n  http(s)://{hostname}/api/v3/admin/pre-receive-hooks/42
    " }, { "lang": "JavaScript", @@ -2663,7 +2764,7 @@ { "verb": "patch", "requestPath": "/admin/pre-receive-hooks/{pre_receive_hook_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "pre_receive_hook_id", @@ -2678,8 +2779,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n https://api.github.com/admin/pre-receive-hooks/42 \\\n -d '{\"name\":\"name\"}'", - "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n  https://api.github.com/admin/pre-receive-hooks/42 \\\n  -d '{\"name\":\"name\"}'
    " + "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n http(s)://{hostname}/api/v3/admin/pre-receive-hooks/42 \\\n -d '{\"name\":\"name\"}'", + "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n  http(s)://{hostname}/api/v3/admin/pre-receive-hooks/42 \\\n  -d '{\"name\":\"name\"}'
    " }, { "lang": "JavaScript", @@ -2866,7 +2967,7 @@ { "verb": "delete", "requestPath": "/admin/pre-receive-hooks/{pre_receive_hook_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "pre_receive_hook_id", @@ -2881,8 +2982,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n https://api.github.com/admin/pre-receive-hooks/42", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n  https://api.github.com/admin/pre-receive-hooks/42
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n http(s)://{hostname}/api/v3/admin/pre-receive-hooks/42", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n  http(s)://{hostname}/api/v3/admin/pre-receive-hooks/42
    " }, { "lang": "JavaScript", @@ -2924,7 +3025,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "bodyParameters": [], @@ -2933,7 +3034,7 @@ { "verb": "get", "requestPath": "/admin/tokens", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "per_page", @@ -2959,8 +3060,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/admin/tokens", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/admin/tokens
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/admin/tokens", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/admin/tokens
    " }, { "lang": "JavaScript", @@ -3005,7 +3106,7 @@ { "verb": "delete", "requestPath": "/admin/tokens/{token_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "token_id", @@ -3020,8 +3121,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/admin/tokens/42", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/admin/tokens/42
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/admin/tokens/42", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/admin/tokens/42
    " }, { "lang": "JavaScript", @@ -3056,7 +3157,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "bodyParameters": [], @@ -3065,13 +3166,13 @@ { "verb": "post", "requestPath": "/admin/users", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/admin/users \\\n -d '{\"login\":\"login\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/admin/users \\\n  -d '{\"login\":\"login\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/admin/users \\\n -d '{\"login\":\"login\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/admin/users \\\n  -d '{\"login\":\"login\"}'
    " }, { "lang": "JavaScript", @@ -3171,7 +3272,7 @@ { "verb": "patch", "requestPath": "/admin/users/{username}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "username", @@ -3186,8 +3287,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/admin/users/USERNAME \\\n -d '{\"login\":\"login\"}'", - "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/admin/users/USERNAME \\\n  -d '{\"login\":\"login\"}'
    " + "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/admin/users/USERNAME \\\n -d '{\"login\":\"login\"}'", + "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/admin/users/USERNAME \\\n  -d '{\"login\":\"login\"}'
    " }, { "lang": "JavaScript", @@ -3268,7 +3369,7 @@ { "verb": "delete", "requestPath": "/admin/users/{username}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "username", @@ -3283,8 +3384,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/admin/users/USERNAME", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/admin/users/USERNAME
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/admin/users/USERNAME", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/admin/users/USERNAME
    " }, { "lang": "JavaScript", @@ -3319,7 +3420,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "bodyParameters": [], @@ -3328,7 +3429,7 @@ { "verb": "post", "requestPath": "/admin/users/{username}/authorizations", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "username", @@ -3343,8 +3444,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/admin/users/USERNAME/authorizations \\\n -d '{\"scopes\":[\"scopes\"]}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/admin/users/USERNAME/authorizations \\\n  -d '{\"scopes\":[\"scopes\"]}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/admin/users/USERNAME/authorizations \\\n -d '{\"scopes\":[\"scopes\"]}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/admin/users/USERNAME/authorizations \\\n  -d '{\"scopes\":[\"scopes\"]}'
    " }, { "lang": "JavaScript", @@ -3425,7 +3526,7 @@ { "verb": "delete", "requestPath": "/admin/users/{username}/authorizations", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "username", @@ -3440,8 +3541,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/admin/users/USERNAME/authorizations", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/admin/users/USERNAME/authorizations
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/admin/users/USERNAME/authorizations", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/admin/users/USERNAME/authorizations
    " }, { "lang": "JavaScript", @@ -3476,7 +3577,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "bodyParameters": [], @@ -3485,13 +3586,13 @@ { "verb": "get", "requestPath": "/app", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.machine-man-preview+json\" \\\n https://api.github.com/app", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.machine-man-preview+json\" \\\n  https://api.github.com/app
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.machine-man-preview+json\" \\\n http(s)://{hostname}/api/v3/app", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.machine-man-preview+json\" \\\n  http(s)://{hostname}/api/v3/app
    " }, { "lang": "JavaScript", @@ -3540,7 +3641,7 @@ { "verb": "post", "requestPath": "/app-manifests/{code}/conversions", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "code", @@ -3555,8 +3656,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/app-manifests/CODE/conversions", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/app-manifests/CODE/conversions
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/app-manifests/CODE/conversions", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/app-manifests/CODE/conversions
    " }, { "lang": "JavaScript", @@ -3609,7 +3710,7 @@ { "verb": "get", "requestPath": "/app/installations", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "accept", @@ -3646,8 +3747,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.machine-man-preview+json\" \\\n https://api.github.com/app/installations", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.machine-man-preview+json\" \\\n  https://api.github.com/app/installations
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.machine-man-preview+json\" \\\n http(s)://{hostname}/api/v3/app/installations", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.machine-man-preview+json\" \\\n  http(s)://{hostname}/api/v3/app/installations
    " }, { "lang": "JavaScript", @@ -3696,7 +3797,7 @@ { "verb": "get", "requestPath": "/app/installations/{installation_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "accept", @@ -3723,8 +3824,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.machine-man-preview+json\" \\\n https://api.github.com/app/installations/42", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.machine-man-preview+json\" \\\n  https://api.github.com/app/installations/42
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.machine-man-preview+json\" \\\n http(s)://{hostname}/api/v3/app/installations/42", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.machine-man-preview+json\" \\\n  http(s)://{hostname}/api/v3/app/installations/42
    " }, { "lang": "JavaScript", @@ -3783,7 +3884,7 @@ { "verb": "delete", "requestPath": "/app/installations/{installation_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "accept", @@ -3810,8 +3911,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.gambit-preview+json\" \\\n https://api.github.com/app/installations/42", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.gambit-preview+json\" \\\n  https://api.github.com/app/installations/42
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.gambit-preview+json\" \\\n http(s)://{hostname}/api/v3/app/installations/42", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.gambit-preview+json\" \\\n  http(s)://{hostname}/api/v3/app/installations/42
    " }, { "lang": "JavaScript", @@ -3856,7 +3957,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "404", @@ -3870,7 +3971,7 @@ { "verb": "post", "requestPath": "/app/installations/{installation_id}/access_tokens", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "accept", @@ -3897,8 +3998,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.machine-man-preview+json\" \\\n https://api.github.com/app/installations/42/access_tokens \\\n -d '{\"repositories\":[\"repositories\"]}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.machine-man-preview+json\" \\\n  https://api.github.com/app/installations/42/access_tokens \\\n  -d '{\"repositories\":[\"repositories\"]}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.machine-man-preview+json\" \\\n http(s)://{hostname}/api/v3/app/installations/42/access_tokens \\\n -d '{\"repositories\":[\"repositories\"]}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.machine-man-preview+json\" \\\n  http(s)://{hostname}/api/v3/app/installations/42/access_tokens \\\n  -d '{\"repositories\":[\"repositories\"]}'
    " }, { "lang": "JavaScript", @@ -5648,7 +5749,7 @@ { "verb": "get", "requestPath": "/applications/grants", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "per_page", @@ -5669,13 +5770,23 @@ "default": 1 }, "descriptionHTML": "

    Page number of the results to fetch.

    " + }, + { + "name": "client_id", + "in": "query", + "required": false, + "description": "The client ID of your GitHub app.", + "schema": { + "type": "string" + }, + "descriptionHTML": "

    The client ID of your GitHub app.

    " } ], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/applications/grants", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/applications/grants
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/applications/grants", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/applications/grants
    " }, { "lang": "JavaScript", @@ -5741,7 +5852,7 @@ { "verb": "get", "requestPath": "/applications/grants/{grant_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "grant_id", @@ -5757,8 +5868,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/applications/grants/42", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/applications/grants/42
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/applications/grants/42", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/applications/grants/42
    " }, { "lang": "JavaScript", @@ -5819,7 +5930,7 @@ { "verb": "delete", "requestPath": "/applications/grants/{grant_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "grant_id", @@ -5835,8 +5946,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/applications/grants/42", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/applications/grants/42
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/applications/grants/42", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/applications/grants/42
    " }, { "lang": "JavaScript", @@ -5872,7 +5983,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "304", @@ -5896,7 +6007,7 @@ { "verb": "delete", "requestPath": "/applications/{client_id}/grant", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "client_id", @@ -5912,8 +6023,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/applications/CLIENT_ID/grant \\\n -d '{\"access_token\":\"access_token\"}'", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/applications/CLIENT_ID/grant \\\n  -d '{\"access_token\":\"access_token\"}'
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/applications/CLIENT_ID/grant \\\n -d '{\"access_token\":\"access_token\"}'", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/applications/CLIENT_ID/grant \\\n  -d '{\"access_token\":\"access_token\"}'
    " }, { "lang": "JavaScript", @@ -5971,7 +6082,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "422", @@ -5995,7 +6106,7 @@ { "verb": "delete", "requestPath": "/applications/{client_id}/grants/{access_token}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "client_id", @@ -6020,8 +6131,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/applications/CLIENT_ID/grants/ACCESS_TOKEN", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/applications/CLIENT_ID/grants/ACCESS_TOKEN
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/applications/CLIENT_ID/grants/ACCESS_TOKEN", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/applications/CLIENT_ID/grants/ACCESS_TOKEN
    " }, { "lang": "JavaScript", @@ -6059,7 +6170,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "bodyParameters": [], @@ -6068,7 +6179,7 @@ { "verb": "post", "requestPath": "/applications/{client_id}/token", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "client_id", @@ -6084,8 +6195,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/applications/CLIENT_ID/token \\\n -d '{\"access_token\":\"access_token\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/applications/CLIENT_ID/token \\\n  -d '{\"access_token\":\"access_token\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/applications/CLIENT_ID/token \\\n -d '{\"access_token\":\"access_token\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/applications/CLIENT_ID/token \\\n  -d '{\"access_token\":\"access_token\"}'
    " }, { "lang": "JavaScript", @@ -6173,7 +6284,7 @@ { "verb": "patch", "requestPath": "/applications/{client_id}/token", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "client_id", @@ -6189,8 +6300,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/applications/CLIENT_ID/token \\\n -d '{\"access_token\":\"access_token\"}'", - "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/applications/CLIENT_ID/token \\\n  -d '{\"access_token\":\"access_token\"}'
    " + "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/applications/CLIENT_ID/token \\\n -d '{\"access_token\":\"access_token\"}'", + "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/applications/CLIENT_ID/token \\\n  -d '{\"access_token\":\"access_token\"}'
    " }, { "lang": "JavaScript", @@ -6273,7 +6384,7 @@ { "verb": "delete", "requestPath": "/applications/{client_id}/token", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "client_id", @@ -6289,8 +6400,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/applications/CLIENT_ID/token \\\n -d '{\"access_token\":\"access_token\"}'", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/applications/CLIENT_ID/token \\\n  -d '{\"access_token\":\"access_token\"}'
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/applications/CLIENT_ID/token \\\n -d '{\"access_token\":\"access_token\"}'", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/applications/CLIENT_ID/token \\\n  -d '{\"access_token\":\"access_token\"}'
    " }, { "lang": "JavaScript", @@ -6351,7 +6462,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "422", @@ -6375,7 +6486,7 @@ { "verb": "get", "requestPath": "/applications/{client_id}/tokens/{access_token}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "client_id", @@ -6400,8 +6511,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/applications/CLIENT_ID/tokens/ACCESS_TOKEN", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/applications/CLIENT_ID/tokens/ACCESS_TOKEN
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/applications/CLIENT_ID/tokens/ACCESS_TOKEN", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/applications/CLIENT_ID/tokens/ACCESS_TOKEN
    " }, { "lang": "JavaScript", @@ -6454,7 +6565,7 @@ { "verb": "post", "requestPath": "/applications/{client_id}/tokens/{access_token}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "client_id", @@ -6479,8 +6590,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/applications/CLIENT_ID/tokens/ACCESS_TOKEN", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/applications/CLIENT_ID/tokens/ACCESS_TOKEN
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/applications/CLIENT_ID/tokens/ACCESS_TOKEN", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/applications/CLIENT_ID/tokens/ACCESS_TOKEN
    " }, { "lang": "JavaScript", @@ -6528,7 +6639,7 @@ { "verb": "delete", "requestPath": "/applications/{client_id}/tokens/{access_token}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "client_id", @@ -6553,8 +6664,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/applications/CLIENT_ID/tokens/ACCESS_TOKEN", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/applications/CLIENT_ID/tokens/ACCESS_TOKEN
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/applications/CLIENT_ID/tokens/ACCESS_TOKEN", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/applications/CLIENT_ID/tokens/ACCESS_TOKEN
    " }, { "lang": "JavaScript", @@ -6592,7 +6703,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "bodyParameters": [], @@ -6601,7 +6712,7 @@ { "verb": "get", "requestPath": "/apps/{app_slug}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "app_slug", @@ -6616,8 +6727,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.machine-man-preview+json\" \\\n https://api.github.com/apps/APP_SLUG", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.machine-man-preview+json\" \\\n  https://api.github.com/apps/APP_SLUG
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.machine-man-preview+json\" \\\n http(s)://{hostname}/api/v3/apps/APP_SLUG", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.machine-man-preview+json\" \\\n  http(s)://{hostname}/api/v3/apps/APP_SLUG
    " }, { "lang": "JavaScript", @@ -6681,7 +6792,7 @@ { "verb": "get", "requestPath": "/authorizations", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "per_page", @@ -6702,13 +6813,23 @@ "default": 1 }, "descriptionHTML": "

    Page number of the results to fetch.

    " + }, + { + "name": "client_id", + "in": "query", + "required": false, + "description": "The client ID of your GitHub app.", + "schema": { + "type": "string" + }, + "descriptionHTML": "

    The client ID of your GitHub app.

    " } ], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/authorizations", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/authorizations
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/authorizations", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/authorizations
    " }, { "lang": "JavaScript", @@ -6774,13 +6895,13 @@ { "verb": "post", "requestPath": "/authorizations", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/authorizations \\\n -d '{\"scopes\":[\"scopes\"]}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/authorizations \\\n  -d '{\"scopes\":[\"scopes\"]}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/authorizations \\\n -d '{\"scopes\":[\"scopes\"]}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/authorizations \\\n  -d '{\"scopes\":[\"scopes\"]}'
    " }, { "lang": "JavaScript", @@ -6993,7 +7114,7 @@ { "verb": "put", "requestPath": "/authorizations/clients/{client_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "client_id", @@ -7009,8 +7130,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/authorizations/clients/CLIENT_ID \\\n -d '{\"client_secret\":\"client_secret\"}'", - "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/authorizations/clients/CLIENT_ID \\\n  -d '{\"client_secret\":\"client_secret\"}'
    " + "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/authorizations/clients/CLIENT_ID \\\n -d '{\"client_secret\":\"client_secret\"}'", + "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/authorizations/clients/CLIENT_ID \\\n  -d '{\"client_secret\":\"client_secret\"}'
    " }, { "lang": "JavaScript", @@ -7207,7 +7328,7 @@ { "verb": "put", "requestPath": "/authorizations/clients/{client_id}/{fingerprint}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "client_id", @@ -7232,8 +7353,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/authorizations/clients/CLIENT_ID/FINGERPRINT \\\n -d '{\"client_secret\":\"client_secret\"}'", - "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/authorizations/clients/CLIENT_ID/FINGERPRINT \\\n  -d '{\"client_secret\":\"client_secret\"}'
    " + "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/authorizations/clients/CLIENT_ID/FINGERPRINT \\\n -d '{\"client_secret\":\"client_secret\"}'", + "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/authorizations/clients/CLIENT_ID/FINGERPRINT \\\n  -d '{\"client_secret\":\"client_secret\"}'
    " }, { "lang": "JavaScript", @@ -7397,7 +7518,7 @@ { "verb": "get", "requestPath": "/authorizations/{authorization_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "authorization_id", @@ -7413,8 +7534,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/authorizations/42", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/authorizations/42
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/authorizations/42", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/authorizations/42
    " }, { "lang": "JavaScript", @@ -7475,7 +7596,7 @@ { "verb": "patch", "requestPath": "/authorizations/{authorization_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "authorization_id", @@ -7491,8 +7612,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/authorizations/42 \\\n -d '{\"scopes\":[\"scopes\"]}'", - "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/authorizations/42 \\\n  -d '{\"scopes\":[\"scopes\"]}'
    " + "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/authorizations/42 \\\n -d '{\"scopes\":[\"scopes\"]}'", + "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/authorizations/42 \\\n  -d '{\"scopes\":[\"scopes\"]}'
    " }, { "lang": "JavaScript", @@ -7693,7 +7814,7 @@ { "verb": "delete", "requestPath": "/authorizations/{authorization_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "authorization_id", @@ -7709,8 +7830,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/authorizations/42", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/authorizations/42
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/authorizations/42", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/authorizations/42
    " }, { "lang": "JavaScript", @@ -7746,7 +7867,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "304", @@ -7770,13 +7891,13 @@ { "verb": "get", "requestPath": "/codes_of_conduct", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.scarlet-witch-preview+json\" \\\n https://api.github.com/codes_of_conduct", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.scarlet-witch-preview+json\" \\\n  https://api.github.com/codes_of_conduct
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.scarlet-witch-preview+json\" \\\n http(s)://{hostname}/api/v3/codes_of_conduct", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.scarlet-witch-preview+json\" \\\n  http(s)://{hostname}/api/v3/codes_of_conduct
    " }, { "lang": "JavaScript", @@ -7836,7 +7957,7 @@ { "verb": "get", "requestPath": "/codes_of_conduct/{key}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "key", @@ -7851,8 +7972,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.scarlet-witch-preview+json\" \\\n https://api.github.com/codes_of_conduct/KEY", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.scarlet-witch-preview+json\" \\\n  https://api.github.com/codes_of_conduct/KEY
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.scarlet-witch-preview+json\" \\\n http(s)://{hostname}/api/v3/codes_of_conduct/KEY", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.scarlet-witch-preview+json\" \\\n  http(s)://{hostname}/api/v3/codes_of_conduct/KEY
    " }, { "lang": "JavaScript", @@ -7917,7 +8038,7 @@ { "verb": "post", "requestPath": "/content_references/{content_reference_id}/attachments", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "content_reference_id", @@ -7932,8 +8053,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.corsair-preview+json\" \\\n https://api.github.com/content_references/42/attachments \\\n -d '{\"title\":\"title\",\"body\":\"body\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.corsair-preview+json\" \\\n  https://api.github.com/content_references/42/attachments \\\n  -d '{\"title\":\"title\",\"body\":\"body\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.corsair-preview+json\" \\\n http(s)://{hostname}/api/v3/content_references/42/attachments \\\n -d '{\"title\":\"title\",\"body\":\"body\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.corsair-preview+json\" \\\n  http(s)://{hostname}/api/v3/content_references/42/attachments \\\n  -d '{\"title\":\"title\",\"body\":\"body\"}'
    " }, { "lang": "JavaScript", @@ -8075,13 +8196,13 @@ { "verb": "get", "requestPath": "/emojis", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/emojis", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/emojis
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/emojis", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/emojis
    " }, { "lang": "JavaScript", @@ -8128,13 +8249,13 @@ { "verb": "get", "requestPath": "/enterprise/settings/license", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/enterprise/settings/license", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/enterprise/settings/license
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/enterprise/settings/license", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/enterprise/settings/license
    " }, { "lang": "JavaScript", @@ -8179,7 +8300,7 @@ { "verb": "get", "requestPath": "/enterprise/stats/{type}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "type", @@ -8194,8 +8315,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/enterprise/stats/TYPE", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/enterprise/stats/TYPE
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/enterprise/stats/TYPE", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/enterprise/stats/TYPE
    " }, { "lang": "JavaScript", @@ -8240,7 +8361,7 @@ { "verb": "get", "requestPath": "/events", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "per_page", @@ -8266,8 +8387,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/events", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/events
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/events", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/events
    " }, { "lang": "JavaScript", @@ -8326,13 +8447,13 @@ { "verb": "get", "requestPath": "/feeds", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/feeds", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/feeds
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/feeds", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/feeds
    " }, { "lang": "JavaScript", @@ -8377,7 +8498,7 @@ { "verb": "get", "requestPath": "/gists", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "since", @@ -8413,8 +8534,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/gists", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/gists
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/gists", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/gists
    " }, { "lang": "JavaScript", @@ -8467,13 +8588,13 @@ { "verb": "post", "requestPath": "/gists", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/gists \\\n -d '{\"files\":{}}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/gists \\\n  -d '{\"files\":{}}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/gists \\\n -d '{\"files\":{}}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/gists \\\n  -d '{\"files\":{}}'
    " }, { "lang": "JavaScript", @@ -8671,7 +8792,7 @@ { "verb": "get", "requestPath": "/gists/public", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "since", @@ -8707,8 +8828,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/gists/public", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/gists/public
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/gists/public", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/gists/public
    " }, { "lang": "JavaScript", @@ -8766,7 +8887,7 @@ { "verb": "get", "requestPath": "/gists/starred", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "since", @@ -8802,8 +8923,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/gists/starred", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/gists/starred
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/gists/starred", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/gists/starred
    " }, { "lang": "JavaScript", @@ -8861,7 +8982,7 @@ { "verb": "get", "requestPath": "/gists/{gist_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "gist_id", @@ -8877,8 +8998,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/gists/GIST_ID", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/gists/GIST_ID
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/gists/GIST_ID", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/gists/GIST_ID
    " }, { "lang": "JavaScript", @@ -8936,7 +9057,7 @@ { "verb": "patch", "requestPath": "/gists/{gist_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "gist_id", @@ -8952,8 +9073,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/gists/GIST_ID \\\n -d '{\"description\":\"description\"}'", - "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/gists/GIST_ID \\\n  -d '{\"description\":\"description\"}'
    " + "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/gists/GIST_ID \\\n -d '{\"description\":\"description\"}'", + "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/gists/GIST_ID \\\n  -d '{\"description\":\"description\"}'
    " }, { "lang": "JavaScript", @@ -9143,7 +9264,7 @@ { "verb": "delete", "requestPath": "/gists/{gist_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "gist_id", @@ -9159,8 +9280,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/gists/GIST_ID", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/gists/GIST_ID
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/gists/GIST_ID", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/gists/GIST_ID
    " }, { "lang": "JavaScript", @@ -9193,7 +9314,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "304", @@ -9217,7 +9338,7 @@ { "verb": "get", "requestPath": "/gists/{gist_id}/comments", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "gist_id", @@ -9253,8 +9374,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/gists/GIST_ID/comments", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/gists/GIST_ID/comments
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/gists/GIST_ID/comments", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/gists/GIST_ID/comments
    " }, { "lang": "JavaScript", @@ -9314,7 +9435,7 @@ { "verb": "post", "requestPath": "/gists/{gist_id}/comments", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "gist_id", @@ -9330,8 +9451,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/gists/GIST_ID/comments \\\n -d '{\"body\":\"body\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/gists/GIST_ID/comments \\\n  -d '{\"body\":\"body\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/gists/GIST_ID/comments \\\n -d '{\"body\":\"body\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/gists/GIST_ID/comments \\\n  -d '{\"body\":\"body\"}'
    " }, { "lang": "JavaScript", @@ -9428,7 +9549,7 @@ { "verb": "get", "requestPath": "/gists/{gist_id}/comments/{comment_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "gist_id", @@ -9454,8 +9575,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/gists/GIST_ID/comments/42", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/gists/GIST_ID/comments/42
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/gists/GIST_ID/comments/42", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/gists/GIST_ID/comments/42
    " }, { "lang": "JavaScript", @@ -9515,7 +9636,7 @@ { "verb": "patch", "requestPath": "/gists/{gist_id}/comments/{comment_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "gist_id", @@ -9541,8 +9662,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/gists/GIST_ID/comments/42 \\\n -d '{\"body\":\"body\"}'", - "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/gists/GIST_ID/comments/42 \\\n  -d '{\"body\":\"body\"}'
    " + "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/gists/GIST_ID/comments/42 \\\n -d '{\"body\":\"body\"}'", + "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/gists/GIST_ID/comments/42 \\\n  -d '{\"body\":\"body\"}'
    " }, { "lang": "JavaScript", @@ -9629,7 +9750,7 @@ { "verb": "delete", "requestPath": "/gists/{gist_id}/comments/{comment_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "gist_id", @@ -9655,8 +9776,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/gists/GIST_ID/comments/42", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/gists/GIST_ID/comments/42
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/gists/GIST_ID/comments/42", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/gists/GIST_ID/comments/42
    " }, { "lang": "JavaScript", @@ -9691,7 +9812,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "304", @@ -9715,7 +9836,7 @@ { "verb": "get", "requestPath": "/gists/{gist_id}/commits", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "gist_id", @@ -9751,8 +9872,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/gists/GIST_ID/commits", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/gists/GIST_ID/commits
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/gists/GIST_ID/commits", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/gists/GIST_ID/commits
    " }, { "lang": "JavaScript", @@ -9810,7 +9931,7 @@ { "verb": "get", "requestPath": "/gists/{gist_id}/forks", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "gist_id", @@ -9846,8 +9967,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/gists/GIST_ID/forks", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/gists/GIST_ID/forks
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/gists/GIST_ID/forks", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/gists/GIST_ID/forks
    " }, { "lang": "JavaScript", @@ -9905,7 +10026,7 @@ { "verb": "post", "requestPath": "/gists/{gist_id}/forks", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "gist_id", @@ -9921,8 +10042,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/gists/GIST_ID/forks", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/gists/GIST_ID/forks
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/gists/GIST_ID/forks", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/gists/GIST_ID/forks
    " }, { "lang": "JavaScript", @@ -9985,7 +10106,7 @@ { "verb": "get", "requestPath": "/gists/{gist_id}/star", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "gist_id", @@ -10001,8 +10122,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/gists/GIST_ID/star", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/gists/GIST_ID/star
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/gists/GIST_ID/star", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/gists/GIST_ID/star
    " }, { "lang": "JavaScript", @@ -10059,7 +10180,7 @@ { "verb": "put", "requestPath": "/gists/{gist_id}/star", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "gist_id", @@ -10075,8 +10196,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/gists/GIST_ID/star", - "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/gists/GIST_ID/star
    " + "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/gists/GIST_ID/star", + "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/gists/GIST_ID/star
    " }, { "lang": "JavaScript", @@ -10109,7 +10230,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "304", @@ -10133,7 +10254,7 @@ { "verb": "delete", "requestPath": "/gists/{gist_id}/star", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "gist_id", @@ -10149,8 +10270,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/gists/GIST_ID/star", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/gists/GIST_ID/star
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/gists/GIST_ID/star", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/gists/GIST_ID/star
    " }, { "lang": "JavaScript", @@ -10183,7 +10304,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "304", @@ -10207,7 +10328,7 @@ { "verb": "get", "requestPath": "/gists/{gist_id}/{sha}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "gist_id", @@ -10232,8 +10353,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/gists/GIST_ID/SHA", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/gists/GIST_ID/SHA
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/gists/GIST_ID/SHA", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/gists/GIST_ID/SHA
    " }, { "lang": "JavaScript", @@ -10291,13 +10412,13 @@ { "verb": "get", "requestPath": "/gitignore/templates", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/gitignore/templates", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/gitignore/templates
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/gitignore/templates", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/gitignore/templates
    " }, { "lang": "JavaScript", @@ -10345,7 +10466,7 @@ { "verb": "get", "requestPath": "/gitignore/templates/{name}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "name", @@ -10360,8 +10481,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/gitignore/templates/NAME", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/gitignore/templates/NAME
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/gitignore/templates/NAME", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/gitignore/templates/NAME
    " }, { "lang": "JavaScript", @@ -10409,7 +10530,7 @@ { "verb": "get", "requestPath": "/installation/repositories", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "accept", @@ -10446,8 +10567,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.machine-man-preview+json\" \\\n https://api.github.com/installation/repositories", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.machine-man-preview+json\" \\\n  https://api.github.com/installation/repositories
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.machine-man-preview+json\" \\\n http(s)://{hostname}/api/v3/installation/repositories", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.machine-man-preview+json\" \\\n  http(s)://{hostname}/api/v3/installation/repositories
    " }, { "lang": "JavaScript", @@ -10520,13 +10641,13 @@ { "verb": "delete", "requestPath": "/installation/token", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/installation/token", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/installation/token
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/installation/token", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/installation/token
    " }, { "lang": "JavaScript", @@ -10561,7 +10682,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "bodyParameters": [], @@ -10570,7 +10691,7 @@ { "verb": "get", "requestPath": "/issues", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "filter", @@ -10584,6 +10705,7 @@ "created", "mentioned", "subscribed", + "repos", "all" ], "default": "assigned" @@ -10717,8 +10839,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/issues", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/issues
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/issues", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/issues
    " }, { "lang": "JavaScript", @@ -10782,7 +10904,7 @@ { "verb": "get", "requestPath": "/licenses", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "featured", @@ -10802,13 +10924,23 @@ "default": 30 }, "descriptionHTML": "

    Results per page (max 100).

    " + }, + { + "name": "page", + "description": "Page number of the results to fetch.", + "in": "query", + "schema": { + "type": "integer", + "default": 1 + }, + "descriptionHTML": "

    Page number of the results to fetch.

    " } ], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/licenses", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/licenses
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/licenses", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/licenses
    " }, { "lang": "JavaScript", @@ -10856,7 +10988,7 @@ { "verb": "get", "requestPath": "/licenses/{license}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "license", @@ -10871,8 +11003,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/licenses/LICENSE", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/licenses/LICENSE
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/licenses/LICENSE", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/licenses/LICENSE
    " }, { "lang": "JavaScript", @@ -10930,13 +11062,13 @@ { "verb": "post", "requestPath": "/markdown", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/markdown \\\n -d '{\"text\":\"text\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/markdown \\\n  -d '{\"text\":\"text\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/markdown \\\n -d '{\"text\":\"text\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/markdown \\\n  -d '{\"text\":\"text\"}'
    " }, { "lang": "JavaScript", @@ -11064,13 +11196,13 @@ { "verb": "post", "requestPath": "/markdown/raw", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/markdown/raw", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/markdown/raw
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/markdown/raw", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/markdown/raw
    " }, { "lang": "JavaScript", @@ -11131,13 +11263,13 @@ { "verb": "get", "requestPath": "/meta", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/meta", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/meta
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/meta", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/meta
    " }, { "lang": "JavaScript", @@ -11185,7 +11317,7 @@ { "verb": "get", "requestPath": "/networks/{owner}/{repo}/events", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -11229,8 +11361,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/networks/octocat/hello-world/events", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/networks/octocat/hello-world/events
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/networks/octocat/hello-world/events", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/networks/octocat/hello-world/events
    " }, { "lang": "JavaScript", @@ -11294,7 +11426,7 @@ { "verb": "get", "requestPath": "/notifications", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "all", @@ -11362,8 +11494,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/notifications", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/notifications
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/notifications", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/notifications
    " }, { "lang": "JavaScript", @@ -11428,13 +11560,13 @@ { "verb": "put", "requestPath": "/notifications", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/notifications \\\n -d '{\"last_read_at\":\"last_read_at\"}'", - "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/notifications \\\n  -d '{\"last_read_at\":\"last_read_at\"}'
    " + "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/notifications \\\n -d '{\"last_read_at\":\"last_read_at\"}'", + "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/notifications \\\n  -d '{\"last_read_at\":\"last_read_at\"}'
    " }, { "lang": "JavaScript", @@ -11548,7 +11680,7 @@ { "verb": "get", "requestPath": "/notifications/threads/{thread_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "thread_id", @@ -11564,8 +11696,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/notifications/threads/42", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/notifications/threads/42
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/notifications/threads/42", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/notifications/threads/42
    " }, { "lang": "JavaScript", @@ -11625,7 +11757,7 @@ { "verb": "patch", "requestPath": "/notifications/threads/{thread_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "thread_id", @@ -11641,8 +11773,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/notifications/threads/42", - "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/notifications/threads/42
    " + "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/notifications/threads/42", + "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/notifications/threads/42
    " }, { "lang": "JavaScript", @@ -11696,7 +11828,7 @@ { "verb": "get", "requestPath": "/notifications/threads/{thread_id}/subscription", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "thread_id", @@ -11712,8 +11844,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/notifications/threads/42/subscription", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/notifications/threads/42/subscription
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/notifications/threads/42/subscription", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/notifications/threads/42/subscription
    " }, { "lang": "JavaScript", @@ -11773,7 +11905,7 @@ { "verb": "put", "requestPath": "/notifications/threads/{thread_id}/subscription", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "thread_id", @@ -11789,8 +11921,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/notifications/threads/42/subscription \\\n -d '{\"ignored\":true}'", - "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/notifications/threads/42/subscription \\\n  -d '{\"ignored\":true}'
    " + "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/notifications/threads/42/subscription \\\n -d '{\"ignored\":true}'", + "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/notifications/threads/42/subscription \\\n  -d '{\"ignored\":true}'
    " }, { "lang": "JavaScript", @@ -11882,7 +12014,7 @@ { "verb": "delete", "requestPath": "/notifications/threads/{thread_id}/subscription", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "thread_id", @@ -11898,8 +12030,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/notifications/threads/42/subscription", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/notifications/threads/42/subscription
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/notifications/threads/42/subscription", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/notifications/threads/42/subscription
    " }, { "lang": "JavaScript", @@ -11934,7 +12066,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "304", @@ -11958,7 +12090,7 @@ { "verb": "get", "requestPath": "/octocat", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "s", @@ -11974,8 +12106,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/octocat", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/octocat
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/octocat", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/octocat
    " }, { "lang": "JavaScript", @@ -12012,7 +12144,7 @@ { "verb": "get", "requestPath": "/organizations", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "since", @@ -12038,8 +12170,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/organizations", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/organizations
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/organizations", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/organizations
    " }, { "lang": "JavaScript", @@ -12087,7 +12219,7 @@ { "verb": "get", "requestPath": "/orgs/{org}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "org", @@ -12102,8 +12234,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/orgs/ORG", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/orgs/ORG
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG
    " }, { "lang": "JavaScript", @@ -12146,13 +12278,7 @@ "httpStatusCode": "200", "httpStatusMessage": "OK", "description": "Default response", - "payload": "
    {\n  \"login\": \"github\",\n  \"id\": 1,\n  \"node_id\": \"MDEyOk9yZ2FuaXphdGlvbjE=\",\n  \"url\": \"https://api.github.com/orgs/github\",\n  \"repos_url\": \"https://api.github.com/orgs/github/repos\",\n  \"events_url\": \"https://api.github.com/orgs/github/events\",\n  \"hooks_url\": \"https://api.github.com/orgs/github/hooks\",\n  \"issues_url\": \"https://api.github.com/orgs/github/issues\",\n  \"members_url\": \"https://api.github.com/orgs/github/members{/member}\",\n  \"public_members_url\": \"https://api.github.com/orgs/github/public_members{/member}\",\n  \"avatar_url\": \"https://github.com/images/error/octocat_happy.gif\",\n  \"description\": \"A great organization\",\n  \"name\": \"github\",\n  \"company\": \"GitHub\",\n  \"blog\": \"https://github.com/blog\",\n  \"location\": \"San Francisco\",\n  \"email\": \"octocat@github.com\",\n  \"twitter_username\": \"github\",\n  \"is_verified\": true,\n  \"has_organization_projects\": true,\n  \"has_repository_projects\": true,\n  \"public_repos\": 2,\n  \"public_gists\": 1,\n  \"followers\": 20,\n  \"following\": 0,\n  \"html_url\": \"https://github.com/octocat\",\n  \"created_at\": \"2008-01-14T04:33:35Z\",\n  \"updated_at\": \"2014-03-03T18:58:10Z\",\n  \"type\": \"Organization\",\n  \"total_private_repos\": 100,\n  \"owned_private_repos\": 100,\n  \"private_gists\": 81,\n  \"disk_usage\": 10000,\n  \"collaborators\": 8,\n  \"billing_email\": \"mona@github.com\",\n  \"plan\": {\n    \"name\": \"Medium\",\n    \"space\": 400,\n    \"private_repos\": 20\n  },\n  \"default_repository_permission\": \"read\",\n  \"members_can_create_repositories\": true,\n  \"two_factor_requirement_enabled\": true,\n  \"members_allowed_repository_creation_type\": \"all\",\n  \"members_can_create_public_repositories\": false,\n  \"members_can_create_private_repositories\": false,\n  \"members_can_create_internal_repositories\": false,\n  \"members_can_create_pages\": true\n}\n
    " - }, - { - "httpStatusCode": "200", - "httpStatusMessage": "OK", - "description": "Response with GitHub plan information", - "payload": "
    {\n  \"login\": \"github\",\n  \"id\": 1,\n  \"node_id\": \"MDEyOk9yZ2FuaXphdGlvbjE=\",\n  \"url\": \"https://api.github.com/orgs/github\",\n  \"repos_url\": \"https://api.github.com/orgs/github/repos\",\n  \"events_url\": \"https://api.github.com/orgs/github/events\",\n  \"hooks_url\": \"https://api.github.com/orgs/github/hooks\",\n  \"issues_url\": \"https://api.github.com/orgs/github/issues\",\n  \"members_url\": \"https://api.github.com/orgs/github/members{/member}\",\n  \"public_members_url\": \"https://api.github.com/orgs/github/public_members{/member}\",\n  \"avatar_url\": \"https://github.com/images/error/octocat_happy.gif\",\n  \"description\": \"A great organization\",\n  \"name\": \"github\",\n  \"company\": \"GitHub\",\n  \"blog\": \"https://github.com/blog\",\n  \"location\": \"San Francisco\",\n  \"email\": \"octocat@github.com\",\n  \"twitter_username\": \"github\",\n  \"is_verified\": true,\n  \"has_organization_projects\": true,\n  \"has_repository_projects\": true,\n  \"public_repos\": 2,\n  \"public_gists\": 1,\n  \"followers\": 20,\n  \"following\": 0,\n  \"html_url\": \"https://github.com/octocat\",\n  \"created_at\": \"2008-01-14T04:33:35Z\",\n  \"updated_at\": \"2014-03-03T18:58:10Z\",\n  \"type\": \"Organization\",\n  \"plan\": {\n    \"name\": \"team\",\n    \"space\": 976562499,\n    \"private_repos\": 999999,\n    \"filled_seats\": 4,\n    \"seats\": 5\n  }\n}\n
    " + "payload": "
    {\n  \"login\": \"github\",\n  \"id\": 1,\n  \"node_id\": \"MDEyOk9yZ2FuaXphdGlvbjE=\",\n  \"url\": \"https://api.github.com/orgs/github\",\n  \"repos_url\": \"https://api.github.com/orgs/github/repos\",\n  \"events_url\": \"https://api.github.com/orgs/github/events\",\n  \"hooks_url\": \"https://api.github.com/orgs/github/hooks\",\n  \"issues_url\": \"https://api.github.com/orgs/github/issues\",\n  \"members_url\": \"https://api.github.com/orgs/github/members{/member}\",\n  \"public_members_url\": \"https://api.github.com/orgs/github/public_members{/member}\",\n  \"avatar_url\": \"https://github.com/images/error/octocat_happy.gif\",\n  \"description\": \"A great organization\",\n  \"name\": \"github\",\n  \"company\": \"GitHub\",\n  \"blog\": \"https://github.com/blog\",\n  \"location\": \"San Francisco\",\n  \"email\": \"octocat@github.com\",\n  \"twitter_username\": \"github\",\n  \"is_verified\": true,\n  \"has_organization_projects\": true,\n  \"has_repository_projects\": true,\n  \"public_repos\": 2,\n  \"public_gists\": 1,\n  \"followers\": 20,\n  \"following\": 0,\n  \"html_url\": \"https://github.com/octocat\",\n  \"created_at\": \"2008-01-14T04:33:35Z\",\n  \"updated_at\": \"2014-03-03T18:58:10Z\",\n  \"type\": \"Organization\",\n  \"total_private_repos\": 100,\n  \"owned_private_repos\": 100,\n  \"private_gists\": 81,\n  \"disk_usage\": 10000,\n  \"collaborators\": 8,\n  \"billing_email\": \"mona@github.com\",\n  \"plan\": {\n    \"name\": \"Medium\",\n    \"space\": 400,\n    \"private_repos\": 20,\n    \"filled_seats\": 4,\n    \"seats\": 5\n  },\n  \"default_repository_permission\": \"read\",\n  \"members_can_create_repositories\": true,\n  \"two_factor_requirement_enabled\": true,\n  \"members_allowed_repository_creation_type\": \"all\",\n  \"members_can_create_public_repositories\": false,\n  \"members_can_create_private_repositories\": false,\n  \"members_can_create_internal_repositories\": false,\n  \"members_can_create_pages\": true\n}\n
    " }, { "httpStatusCode": "404", @@ -12164,7 +12290,7 @@ { "verb": "patch", "requestPath": "/orgs/{org}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "org", @@ -12179,8 +12305,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/orgs/ORG \\\n -d '{\"billing_email\":\"billing_email\"}'", - "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/orgs/ORG \\\n  -d '{\"billing_email\":\"billing_email\"}'
    " + "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG \\\n -d '{\"billing_email\":\"billing_email\"}'", + "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG \\\n  -d '{\"billing_email\":\"billing_email\"}'
    " }, { "lang": "JavaScript", @@ -12583,7 +12709,7 @@ { "verb": "get", "requestPath": "/orgs/{org}/events", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "org", @@ -12618,8 +12744,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/orgs/ORG/events", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/orgs/ORG/events
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/events", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/events
    " }, { "lang": "JavaScript", @@ -12663,7 +12789,7 @@ { "verb": "get", "requestPath": "/orgs/{org}/hooks", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "org", @@ -12698,8 +12824,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/orgs/ORG/hooks", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/orgs/ORG/hooks
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/hooks", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/hooks
    " }, { "lang": "JavaScript", @@ -12749,7 +12875,7 @@ { "verb": "post", "requestPath": "/orgs/{org}/hooks", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "org", @@ -12764,8 +12890,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/orgs/ORG/hooks \\\n -d '{\"name\":\"name\",\"config\":{\"url\":\"url\",\"content_type\":\"content_type\",\"secret\":\"secret\",\"insecure_ssl\":\"insecure_ssl\",\"username\":\"username\",\"password\":\"password\"}}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/orgs/ORG/hooks \\\n  -d '{\"name\":\"name\",\"config\":{\"url\":\"url\",\"content_type\":\"content_type\",\"secret\":\"secret\",\"insecure_ssl\":\"insecure_ssl\",\"username\":\"username\",\"password\":\"password\"}}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/hooks \\\n -d '{\"name\":\"name\",\"config\":{\"url\":\"url\",\"content_type\":\"content_type\",\"secret\":\"secret\",\"insecure_ssl\":\"insecure_ssl\",\"username\":\"username\",\"password\":\"password\"}}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/hooks \\\n  -d '{\"name\":\"name\",\"config\":{\"url\":\"url\",\"content_type\":\"content_type\",\"secret\":\"secret\",\"insecure_ssl\":\"insecure_ssl\",\"username\":\"username\",\"password\":\"password\"}}'
    " }, { "lang": "JavaScript", @@ -13196,7 +13322,7 @@ { "verb": "get", "requestPath": "/orgs/{org}/hooks/{hook_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "org", @@ -13220,8 +13346,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/orgs/ORG/hooks/42", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/orgs/ORG/hooks/42
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/hooks/42", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/hooks/42
    " }, { "lang": "JavaScript", @@ -13271,7 +13397,7 @@ { "verb": "patch", "requestPath": "/orgs/{org}/hooks/{hook_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "org", @@ -13295,8 +13421,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/orgs/ORG/hooks/42 \\\n -d '{\"config\":{\"url\":\"url\",\"content_type\":\"content_type\",\"secret\":\"secret\",\"insecure_ssl\":\"insecure_ssl\"}}'", - "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/orgs/ORG/hooks/42 \\\n  -d '{\"config\":{\"url\":\"url\",\"content_type\":\"content_type\",\"secret\":\"secret\",\"insecure_ssl\":\"insecure_ssl\"}}'
    " + "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/hooks/42 \\\n -d '{\"config\":{\"url\":\"url\",\"content_type\":\"content_type\",\"secret\":\"secret\",\"insecure_ssl\":\"insecure_ssl\"}}'", + "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/hooks/42 \\\n  -d '{\"config\":{\"url\":\"url\",\"content_type\":\"content_type\",\"secret\":\"secret\",\"insecure_ssl\":\"insecure_ssl\"}}'
    " }, { "lang": "JavaScript", @@ -13645,7 +13771,7 @@ { "verb": "delete", "requestPath": "/orgs/{org}/hooks/{hook_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "org", @@ -13669,8 +13795,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/orgs/ORG/hooks/42", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/orgs/ORG/hooks/42
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/hooks/42", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/hooks/42
    " }, { "lang": "JavaScript", @@ -13705,7 +13831,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "404", @@ -13719,7 +13845,7 @@ { "verb": "post", "requestPath": "/orgs/{org}/hooks/{hook_id}/pings", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "org", @@ -13743,8 +13869,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/orgs/ORG/hooks/42/pings", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/orgs/ORG/hooks/42/pings
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/hooks/42/pings", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/hooks/42/pings
    " }, { "lang": "JavaScript", @@ -13779,7 +13905,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "404", @@ -13793,7 +13919,7 @@ { "verb": "get", "requestPath": "/orgs/{org}/installation", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "accept", @@ -13819,8 +13945,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.machine-man-preview+json\" \\\n https://api.github.com/orgs/ORG/installation", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.machine-man-preview+json\" \\\n  https://api.github.com/orgs/ORG/installation
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.machine-man-preview+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/installation", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.machine-man-preview+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/installation
    " }, { "lang": "JavaScript", @@ -13869,7 +13995,7 @@ { "verb": "get", "requestPath": "/orgs/{org}/installations", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "accept", @@ -13915,8 +14041,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.machine-man-preview+json\" \\\n https://api.github.com/orgs/ORG/installations", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.machine-man-preview+json\" \\\n  https://api.github.com/orgs/ORG/installations
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.machine-man-preview+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/installations", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.machine-man-preview+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/installations
    " }, { "lang": "JavaScript", @@ -13965,7 +14091,7 @@ { "verb": "get", "requestPath": "/orgs/{org}/issues", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "org", @@ -13988,6 +14114,7 @@ "created", "mentioned", "subscribed", + "repos", "all" ], "default": "assigned" @@ -14085,8 +14212,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/orgs/ORG/issues", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/orgs/ORG/issues
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/issues", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/issues
    " }, { "lang": "JavaScript", @@ -14140,7 +14267,7 @@ { "verb": "get", "requestPath": "/orgs/{org}/members", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "org", @@ -14206,8 +14333,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/orgs/ORG/members", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/orgs/ORG/members
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/members", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/members
    " }, { "lang": "JavaScript", @@ -14262,7 +14389,7 @@ { "verb": "get", "requestPath": "/orgs/{org}/members/{username}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "org", @@ -14286,8 +14413,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/orgs/ORG/members/USERNAME", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/orgs/ORG/members/USERNAME
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/members/USERNAME", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/members/USERNAME
    " }, { "lang": "JavaScript", @@ -14341,7 +14468,7 @@ { "verb": "delete", "requestPath": "/orgs/{org}/members/{username}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "org", @@ -14365,8 +14492,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/orgs/ORG/members/USERNAME", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/orgs/ORG/members/USERNAME
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/members/USERNAME", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/members/USERNAME
    " }, { "lang": "JavaScript", @@ -14401,7 +14528,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "403", @@ -14415,7 +14542,7 @@ { "verb": "get", "requestPath": "/orgs/{org}/memberships/{username}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "org", @@ -14439,8 +14566,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/orgs/ORG/memberships/USERNAME", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/orgs/ORG/memberships/USERNAME
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/memberships/USERNAME", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/memberships/USERNAME
    " }, { "lang": "JavaScript", @@ -14449,7 +14576,7 @@ } ], "summary": "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.", + "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.", "tags": [ "orgs" ], @@ -14472,7 +14599,7 @@ "subcategoryLabel": "Members", "notes": [], "bodyParameters": [], - "descriptionHTML": "

    In order to get a user's membership with an organization, the authenticated user must be an organization member.

    ", + "descriptionHTML": "

    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.

    ", "responses": [ { "httpStatusCode": "200", @@ -14480,18 +14607,6 @@ "description": "Response if user has an active admin membership with organization", "payload": "
    {\n  \"url\": \"https://api.github.com/orgs/octocat/memberships/defunkt\",\n  \"state\": \"active\",\n  \"role\": \"admin\",\n  \"organization_url\": \"https://api.github.com/orgs/octocat\",\n  \"organization\": {\n    \"login\": \"github\",\n    \"id\": 1,\n    \"node_id\": \"MDEyOk9yZ2FuaXphdGlvbjE=\",\n    \"url\": \"https://api.github.com/orgs/github\",\n    \"repos_url\": \"https://api.github.com/orgs/github/repos\",\n    \"events_url\": \"https://api.github.com/orgs/github/events\",\n    \"hooks_url\": \"https://api.github.com/orgs/github/hooks\",\n    \"issues_url\": \"https://api.github.com/orgs/github/issues\",\n    \"members_url\": \"https://api.github.com/orgs/github/members{/member}\",\n    \"public_members_url\": \"https://api.github.com/orgs/github/public_members{/member}\",\n    \"avatar_url\": \"https://github.com/images/error/octocat_happy.gif\",\n    \"description\": \"A great organization\"\n  },\n  \"user\": {\n    \"login\": \"octocat\",\n    \"id\": 1,\n    \"node_id\": \"MDQ6VXNlcjE=\",\n    \"avatar_url\": \"https://github.com/images/error/octocat_happy.gif\",\n    \"gravatar_id\": \"\",\n    \"url\": \"https://api.github.com/users/octocat\",\n    \"html_url\": \"https://github.com/octocat\",\n    \"followers_url\": \"https://api.github.com/users/octocat/followers\",\n    \"following_url\": \"https://api.github.com/users/octocat/following{/other_user}\",\n    \"gists_url\": \"https://api.github.com/users/octocat/gists{/gist_id}\",\n    \"starred_url\": \"https://api.github.com/users/octocat/starred{/owner}{/repo}\",\n    \"subscriptions_url\": \"https://api.github.com/users/octocat/subscriptions\",\n    \"organizations_url\": \"https://api.github.com/users/octocat/orgs\",\n    \"repos_url\": \"https://api.github.com/users/octocat/repos\",\n    \"events_url\": \"https://api.github.com/users/octocat/events{/privacy}\",\n    \"received_events_url\": \"https://api.github.com/users/octocat/received_events\",\n    \"type\": \"User\",\n    \"site_admin\": false\n  }\n}\n
    " }, - { - "httpStatusCode": "200", - "httpStatusMessage": "OK", - "description": "Response if user has an active membership with organization", - "payload": "
    {\n  \"url\": \"https://api.github.com/orgs/octocat/memberships/defunkt\",\n  \"state\": \"active\",\n  \"role\": \"member\",\n  \"organization_url\": \"https://api.github.com/orgs/octocat\",\n  \"organization\": {\n    \"login\": \"github\",\n    \"id\": 1,\n    \"node_id\": \"MDEyOk9yZ2FuaXphdGlvbjE=\",\n    \"url\": \"https://api.github.com/orgs/github\",\n    \"repos_url\": \"https://api.github.com/orgs/github/repos\",\n    \"events_url\": \"https://api.github.com/orgs/github/events\",\n    \"hooks_url\": \"https://api.github.com/orgs/github/hooks\",\n    \"issues_url\": \"https://api.github.com/orgs/github/issues\",\n    \"members_url\": \"https://api.github.com/orgs/github/members{/member}\",\n    \"public_members_url\": \"https://api.github.com/orgs/github/public_members{/member}\",\n    \"avatar_url\": \"https://github.com/images/error/octocat_happy.gif\",\n    \"description\": \"A great organization\"\n  },\n  \"user\": {\n    \"login\": \"octocat\",\n    \"id\": 1,\n    \"node_id\": \"MDQ6VXNlcjE=\",\n    \"avatar_url\": \"https://github.com/images/error/octocat_happy.gif\",\n    \"gravatar_id\": \"\",\n    \"url\": \"https://api.github.com/users/octocat\",\n    \"html_url\": \"https://github.com/octocat\",\n    \"followers_url\": \"https://api.github.com/users/octocat/followers\",\n    \"following_url\": \"https://api.github.com/users/octocat/following{/other_user}\",\n    \"gists_url\": \"https://api.github.com/users/octocat/gists{/gist_id}\",\n    \"starred_url\": \"https://api.github.com/users/octocat/starred{/owner}{/repo}\",\n    \"subscriptions_url\": \"https://api.github.com/users/octocat/subscriptions\",\n    \"organizations_url\": \"https://api.github.com/users/octocat/orgs\",\n    \"repos_url\": \"https://api.github.com/users/octocat/repos\",\n    \"events_url\": \"https://api.github.com/users/octocat/events{/privacy}\",\n    \"received_events_url\": \"https://api.github.com/users/octocat/received_events\",\n    \"type\": \"User\",\n    \"site_admin\": false\n  }\n}\n
    " - }, - { - "httpStatusCode": "200", - "httpStatusMessage": "OK", - "description": "Response if user has a pending membership with organization", - "payload": "
    {\n  \"url\": \"https://api.github.com/orgs/invitocat/memberships/defunkt\",\n  \"state\": \"pending\",\n  \"role\": \"member\",\n  \"organization_url\": \"https://api.github.com/orgs/invitocat\",\n  \"organization\": {\n    \"login\": \"github\",\n    \"id\": 1,\n    \"node_id\": \"MDEyOk9yZ2FuaXphdGlvbjE=\",\n    \"url\": \"https://api.github.com/orgs/github\",\n    \"repos_url\": \"https://api.github.com/orgs/github/repos\",\n    \"events_url\": \"https://api.github.com/orgs/github/events\",\n    \"hooks_url\": \"https://api.github.com/orgs/github/hooks\",\n    \"issues_url\": \"https://api.github.com/orgs/github/issues\",\n    \"members_url\": \"https://api.github.com/orgs/github/members{/member}\",\n    \"public_members_url\": \"https://api.github.com/orgs/github/public_members{/member}\",\n    \"avatar_url\": \"https://github.com/images/error/octocat_happy.gif\",\n    \"description\": \"A great organization\"\n  },\n  \"user\": {\n    \"login\": \"octocat\",\n    \"id\": 1,\n    \"node_id\": \"MDQ6VXNlcjE=\",\n    \"avatar_url\": \"https://github.com/images/error/octocat_happy.gif\",\n    \"gravatar_id\": \"\",\n    \"url\": \"https://api.github.com/users/octocat\",\n    \"html_url\": \"https://github.com/octocat\",\n    \"followers_url\": \"https://api.github.com/users/octocat/followers\",\n    \"following_url\": \"https://api.github.com/users/octocat/following{/other_user}\",\n    \"gists_url\": \"https://api.github.com/users/octocat/gists{/gist_id}\",\n    \"starred_url\": \"https://api.github.com/users/octocat/starred{/owner}{/repo}\",\n    \"subscriptions_url\": \"https://api.github.com/users/octocat/subscriptions\",\n    \"organizations_url\": \"https://api.github.com/users/octocat/orgs\",\n    \"repos_url\": \"https://api.github.com/users/octocat/repos\",\n    \"events_url\": \"https://api.github.com/users/octocat/events{/privacy}\",\n    \"received_events_url\": \"https://api.github.com/users/octocat/received_events\",\n    \"type\": \"User\",\n    \"site_admin\": false\n  }\n}\n
    " - }, { "httpStatusCode": "403", "httpStatusMessage": "Forbidden", @@ -14507,7 +14622,7 @@ { "verb": "put", "requestPath": "/orgs/{org}/memberships/{username}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "org", @@ -14531,8 +14646,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/orgs/ORG/memberships/USERNAME \\\n -d '{\"role\":\"role\"}'", - "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/orgs/ORG/memberships/USERNAME \\\n  -d '{\"role\":\"role\"}'
    " + "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/memberships/USERNAME \\\n -d '{\"role\":\"role\"}'", + "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/memberships/USERNAME \\\n  -d '{\"role\":\"role\"}'
    " }, { "lang": "JavaScript", @@ -14609,13 +14724,7 @@ { "httpStatusCode": "200", "httpStatusMessage": "OK", - "description": "Response if user was previously unaffiliated with organization", - "payload": "
    {\n  \"url\": \"https://api.github.com/orgs/invitocat/memberships/defunkt\",\n  \"state\": \"pending\",\n  \"role\": \"admin\",\n  \"organization_url\": \"https://api.github.com/orgs/invitocat\",\n  \"organization\": {\n    \"login\": \"github\",\n    \"id\": 1,\n    \"node_id\": \"MDEyOk9yZ2FuaXphdGlvbjE=\",\n    \"url\": \"https://api.github.com/orgs/github\",\n    \"repos_url\": \"https://api.github.com/orgs/github/repos\",\n    \"events_url\": \"https://api.github.com/orgs/github/events\",\n    \"hooks_url\": \"https://api.github.com/orgs/github/hooks\",\n    \"issues_url\": \"https://api.github.com/orgs/github/issues\",\n    \"members_url\": \"https://api.github.com/orgs/github/members{/member}\",\n    \"public_members_url\": \"https://api.github.com/orgs/github/public_members{/member}\",\n    \"avatar_url\": \"https://github.com/images/error/octocat_happy.gif\",\n    \"description\": \"A great organization\"\n  },\n  \"user\": {\n    \"login\": \"octocat\",\n    \"id\": 1,\n    \"node_id\": \"MDQ6VXNlcjE=\",\n    \"avatar_url\": \"https://github.com/images/error/octocat_happy.gif\",\n    \"gravatar_id\": \"\",\n    \"url\": \"https://api.github.com/users/octocat\",\n    \"html_url\": \"https://github.com/octocat\",\n    \"followers_url\": \"https://api.github.com/users/octocat/followers\",\n    \"following_url\": \"https://api.github.com/users/octocat/following{/other_user}\",\n    \"gists_url\": \"https://api.github.com/users/octocat/gists{/gist_id}\",\n    \"starred_url\": \"https://api.github.com/users/octocat/starred{/owner}{/repo}\",\n    \"subscriptions_url\": \"https://api.github.com/users/octocat/subscriptions\",\n    \"organizations_url\": \"https://api.github.com/users/octocat/orgs\",\n    \"repos_url\": \"https://api.github.com/users/octocat/repos\",\n    \"events_url\": \"https://api.github.com/users/octocat/events{/privacy}\",\n    \"received_events_url\": \"https://api.github.com/users/octocat/received_events\",\n    \"type\": \"User\",\n    \"site_admin\": false\n  }\n}\n
    " - }, - { - "httpStatusCode": "200", - "httpStatusMessage": "OK", - "description": "Response if user already had membership with organization", + "description": "Response if user has an active admin membership with organization", "payload": "
    {\n  \"url\": \"https://api.github.com/orgs/octocat/memberships/defunkt\",\n  \"state\": \"active\",\n  \"role\": \"admin\",\n  \"organization_url\": \"https://api.github.com/orgs/octocat\",\n  \"organization\": {\n    \"login\": \"github\",\n    \"id\": 1,\n    \"node_id\": \"MDEyOk9yZ2FuaXphdGlvbjE=\",\n    \"url\": \"https://api.github.com/orgs/github\",\n    \"repos_url\": \"https://api.github.com/orgs/github/repos\",\n    \"events_url\": \"https://api.github.com/orgs/github/events\",\n    \"hooks_url\": \"https://api.github.com/orgs/github/hooks\",\n    \"issues_url\": \"https://api.github.com/orgs/github/issues\",\n    \"members_url\": \"https://api.github.com/orgs/github/members{/member}\",\n    \"public_members_url\": \"https://api.github.com/orgs/github/public_members{/member}\",\n    \"avatar_url\": \"https://github.com/images/error/octocat_happy.gif\",\n    \"description\": \"A great organization\"\n  },\n  \"user\": {\n    \"login\": \"octocat\",\n    \"id\": 1,\n    \"node_id\": \"MDQ6VXNlcjE=\",\n    \"avatar_url\": \"https://github.com/images/error/octocat_happy.gif\",\n    \"gravatar_id\": \"\",\n    \"url\": \"https://api.github.com/users/octocat\",\n    \"html_url\": \"https://github.com/octocat\",\n    \"followers_url\": \"https://api.github.com/users/octocat/followers\",\n    \"following_url\": \"https://api.github.com/users/octocat/following{/other_user}\",\n    \"gists_url\": \"https://api.github.com/users/octocat/gists{/gist_id}\",\n    \"starred_url\": \"https://api.github.com/users/octocat/starred{/owner}{/repo}\",\n    \"subscriptions_url\": \"https://api.github.com/users/octocat/subscriptions\",\n    \"organizations_url\": \"https://api.github.com/users/octocat/orgs\",\n    \"repos_url\": \"https://api.github.com/users/octocat/repos\",\n    \"events_url\": \"https://api.github.com/users/octocat/events{/privacy}\",\n    \"received_events_url\": \"https://api.github.com/users/octocat/received_events\",\n    \"type\": \"User\",\n    \"site_admin\": false\n  }\n}\n
    " }, { @@ -14633,7 +14742,7 @@ { "verb": "delete", "requestPath": "/orgs/{org}/memberships/{username}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "org", @@ -14657,8 +14766,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/orgs/ORG/memberships/USERNAME", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/orgs/ORG/memberships/USERNAME
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/memberships/USERNAME", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/memberships/USERNAME
    " }, { "lang": "JavaScript", @@ -14693,7 +14802,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "403", @@ -14712,7 +14821,7 @@ { "verb": "get", "requestPath": "/orgs/{org}/outside_collaborators", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "org", @@ -14762,8 +14871,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/orgs/ORG/outside_collaborators", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/orgs/ORG/outside_collaborators
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/outside_collaborators", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/outside_collaborators
    " }, { "lang": "JavaScript", @@ -14808,7 +14917,7 @@ { "verb": "put", "requestPath": "/orgs/{org}/outside_collaborators/{username}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "org", @@ -14832,8 +14941,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/orgs/ORG/outside_collaborators/USERNAME", - "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/orgs/ORG/outside_collaborators/USERNAME
    " + "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/outside_collaborators/USERNAME", + "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/outside_collaborators/USERNAME
    " }, { "lang": "JavaScript", @@ -14864,8 +14973,6 @@ "subcategory": "outside-collaborators", "subcategoryLabel": "Outside collaborators", "notes": [], - "bodyParameters": [], - "descriptionHTML": "

    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\".

    ", "responses": [ { "httpStatusCode": "202", @@ -14880,26 +14987,21 @@ { "httpStatusCode": "403", "httpStatusMessage": "Forbidden", - "description": "Response if user is the last owner of the organization", - "payload": "
    {\n  \"message\": \"Cannot convert the last owner to an outside collaborator\",\n  \"documentation_url\": \"https://docs.github.com/enterprise-server@2.20/rest/reference/orgs#convert-member-to-outside-collaborator\"\n}\n
    " - }, - { - "httpStatusCode": "403", - "httpStatusMessage": "Forbidden", - "description": "Response if user is not a member of the organization", - "payload": "
    {\n  \"message\": \"<user> is not a member of the <organization> organization.\",\n  \"documentation_url\": \"https://docs.github.com/enterprise-server@2.20/rest/reference/orgs#convert-member-to-outside-collaborator\"\n}\n
    " + "description": "Response if user is the last owner of the organization or not a member of the organization" }, { "httpStatusCode": "404", "httpStatusMessage": "Not Found", "description": "Resource not found" } - ] + ], + "bodyParameters": [], + "descriptionHTML": "

    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\".

    " }, { "verb": "delete", "requestPath": "/orgs/{org}/outside_collaborators/{username}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "org", @@ -14923,8 +15025,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/orgs/ORG/outside_collaborators/USERNAME", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/orgs/ORG/outside_collaborators/USERNAME
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/outside_collaborators/USERNAME", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/outside_collaborators/USERNAME
    " }, { "lang": "JavaScript", @@ -14961,7 +15063,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "422", @@ -14974,7 +15076,7 @@ { "verb": "get", "requestPath": "/orgs/{org}/pre-receive-hooks", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "org", @@ -15004,13 +15106,44 @@ "default": 1 }, "descriptionHTML": "

    Page number of the results to fetch.

    " + }, + { + "name": "direction", + "description": "One of `asc` (ascending) or `desc` (descending).", + "in": "query", + "required": false, + "schema": { + "type": "string", + "enum": [ + "asc", + "desc" + ], + "default": "desc" + }, + "descriptionHTML": "

    One of asc (ascending) or desc (descending).

    " + }, + { + "name": "sort", + "description": "The sort order for the response collection.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "enum": [ + "created", + "updated", + "name" + ], + "default": "created" + }, + "descriptionHTML": "

    The sort order for the response collection.

    " } ], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n https://api.github.com/orgs/ORG/pre-receive-hooks", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n  https://api.github.com/orgs/ORG/pre-receive-hooks
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/pre-receive-hooks", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/pre-receive-hooks
    " }, { "lang": "JavaScript", @@ -15062,7 +15195,7 @@ { "verb": "get", "requestPath": "/orgs/{org}/pre-receive-hooks/{pre_receive_hook_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "org", @@ -15086,8 +15219,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n https://api.github.com/orgs/ORG/pre-receive-hooks/42", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n  https://api.github.com/orgs/ORG/pre-receive-hooks/42
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/pre-receive-hooks/42", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/pre-receive-hooks/42
    " }, { "lang": "JavaScript", @@ -15139,7 +15272,7 @@ { "verb": "patch", "requestPath": "/orgs/{org}/pre-receive-hooks/{pre_receive_hook_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "org", @@ -15163,8 +15296,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n https://api.github.com/orgs/ORG/pre-receive-hooks/42 \\\n -d '{\"enforcement\":\"enforcement\"}'", - "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n  https://api.github.com/orgs/ORG/pre-receive-hooks/42 \\\n  -d '{\"enforcement\":\"enforcement\"}'
    " + "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/pre-receive-hooks/42 \\\n -d '{\"enforcement\":\"enforcement\"}'", + "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/pre-receive-hooks/42 \\\n  -d '{\"enforcement\":\"enforcement\"}'
    " }, { "lang": "JavaScript", @@ -15268,7 +15401,7 @@ { "verb": "delete", "requestPath": "/orgs/{org}/pre-receive-hooks/{pre_receive_hook_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "org", @@ -15292,8 +15425,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n https://api.github.com/orgs/ORG/pre-receive-hooks/42", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n  https://api.github.com/orgs/ORG/pre-receive-hooks/42
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/pre-receive-hooks/42", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/pre-receive-hooks/42
    " }, { "lang": "JavaScript", @@ -15345,7 +15478,7 @@ { "verb": "get", "requestPath": "/orgs/{org}/projects", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "org", @@ -15396,8 +15529,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n https://api.github.com/orgs/ORG/projects", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  https://api.github.com/orgs/ORG/projects
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/projects", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/projects
    " }, { "lang": "JavaScript", @@ -15452,7 +15585,7 @@ { "verb": "post", "requestPath": "/orgs/{org}/projects", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "org", @@ -15467,8 +15600,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n https://api.github.com/orgs/ORG/projects \\\n -d '{\"name\":\"name\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  https://api.github.com/orgs/ORG/projects \\\n  -d '{\"name\":\"name\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/projects \\\n -d '{\"name\":\"name\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/projects \\\n  -d '{\"name\":\"name\"}'
    " }, { "lang": "JavaScript", @@ -15598,7 +15731,7 @@ { "verb": "get", "requestPath": "/orgs/{org}/public_members", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "org", @@ -15633,8 +15766,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/orgs/ORG/public_members", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/orgs/ORG/public_members
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/public_members", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/public_members
    " }, { "lang": "JavaScript", @@ -15679,7 +15812,7 @@ { "verb": "get", "requestPath": "/orgs/{org}/public_members/{username}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "org", @@ -15703,8 +15836,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/orgs/ORG/public_members/USERNAME", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/orgs/ORG/public_members/USERNAME
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/public_members/USERNAME", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/public_members/USERNAME
    " }, { "lang": "JavaScript", @@ -15753,7 +15886,7 @@ { "verb": "put", "requestPath": "/orgs/{org}/public_members/{username}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "org", @@ -15777,8 +15910,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/orgs/ORG/public_members/USERNAME", - "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/orgs/ORG/public_members/USERNAME
    " + "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/public_members/USERNAME", + "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/public_members/USERNAME
    " }, { "lang": "JavaScript", @@ -15813,7 +15946,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "403", @@ -15827,7 +15960,7 @@ { "verb": "delete", "requestPath": "/orgs/{org}/public_members/{username}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "org", @@ -15851,8 +15984,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/orgs/ORG/public_members/USERNAME", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/orgs/ORG/public_members/USERNAME
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/public_members/USERNAME", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/public_members/USERNAME
    " }, { "lang": "JavaScript", @@ -15887,7 +16020,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "bodyParameters": [], @@ -15896,7 +16029,7 @@ { "verb": "get", "requestPath": "/orgs/{org}/repos", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "org", @@ -15909,7 +16042,7 @@ }, { "name": "type", - "description": "Specifies the types of repositories you want returned. Can be one of `all`, `public`, `private`, `forks`, `sources`, `member`, `internal`. Default: `all`. If your organization is associated with an enterprise account using GitHub Enterprise Cloud or GitHub Enterprise Server 2.20+, `type` can also be `internal`.", + "description": "Specifies the types of repositories you want returned. Can be one of `all`, `public`, `private`, `forks`, `sources`, `member`, `internal`. Note: For GitHub AE, can be one of `all`, `private`, `forks`, `sources`, `member`, `internal`. Default: `all`. If your organization is associated with an enterprise account using GitHub Enterprise Cloud or GitHub Enterprise Server 2.20+, `type` can also be `internal`.", "in": "query", "required": false, "schema": { @@ -15924,7 +16057,7 @@ "internal" ] }, - "descriptionHTML": "

    Specifies the types of repositories you want returned. Can be one of all, public, private, forks, sources, member, internal. Default: all. If your organization is associated with an enterprise account using GitHub Enterprise Cloud or GitHub Enterprise Server 2.20+, type can also be internal.

    " + "descriptionHTML": "

    Specifies the types of repositories you want returned. Can be one of all, public, private, forks, sources, member, internal. Note: For GitHub AE, can be one of all, private, forks, sources, member, internal. Default: all. If your organization is associated with an enterprise account using GitHub Enterprise Cloud or GitHub Enterprise Server 2.20+, type can also be internal.

    " }, { "name": "sort", @@ -15981,8 +16114,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/orgs/ORG/repos", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/orgs/ORG/repos
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/repos", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/repos
    " }, { "lang": "JavaScript", @@ -16038,7 +16171,7 @@ { "verb": "post", "requestPath": "/orgs/{org}/repos", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "org", @@ -16053,8 +16186,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/orgs/ORG/repos \\\n -d '{\"name\":\"name\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/orgs/ORG/repos \\\n  -d '{\"name\":\"name\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/repos \\\n -d '{\"name\":\"name\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/repos \\\n  -d '{\"name\":\"name\"}'
    " }, { "lang": "JavaScript", @@ -16063,7 +16196,7 @@ } ], "summary": "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", + "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", "tags": [ "repos" ], @@ -16107,17 +16240,17 @@ }, "private": { "type": "boolean", - "description": "

    Either true to create a private repository or false to create a public one.

    ", + "description": "

    Whether the repository is private.

    ", "default": false, "name": "private", "in": "body", "rawType": "boolean", - "rawDescription": "Either `true` to create a private repository or `false` to create a public one.", + "rawDescription": "Whether the repository is private.", "childParamsGroups": [] }, "visibility": { "type": "string", - "description": "

    Can be public or private. If your organization is associated with an enterprise account using GitHub Enterprise Cloud or GitHub Enterprise Server 2.20+, visibility can also be internal. For more information, see \"Creating an internal repository\" in the GitHub Help documentation.
    \nThe visibility parameter overrides the private parameter when you use both parameters with the nebula-preview preview header.

    ", + "description": "

    Can be public or private. If your organization is associated with an enterprise account using GitHub Enterprise Cloud or GitHub Enterprise Server 2.20+, visibility can also be internal. Note: For GitHub Enterprise Server and GitHub AE, this endpoint will only list repositories available to all users on the enterprise. For more information, see \"Creating an internal repository\" in the GitHub Help documentation.
    \nThe visibility parameter overrides the private parameter when you use both parameters with the nebula-preview preview header.

    ", "enum": [ "public", "private", @@ -16127,7 +16260,7 @@ "name": "visibility", "in": "body", "rawType": "string", - "rawDescription": "Can be `public` or `private`. If your organization is associated with an enterprise account using GitHub Enterprise Cloud or GitHub Enterprise Server 2.20+, `visibility` can also be `internal`. For more information, see \"[Creating an internal repository](https://help.github.com/en/github/creating-cloning-and-archiving-repositories/about-repository-visibility#about-internal-repositories)\" in the GitHub Help documentation. \nThe `visibility` parameter overrides the `private` parameter when you use both parameters with the `nebula-preview` preview header.", + "rawDescription": "Can be `public` or `private`. If your organization is associated with an enterprise account using GitHub Enterprise Cloud or GitHub Enterprise Server 2.20+, `visibility` can also be `internal`. Note: For GitHub Enterprise Server and GitHub AE, this endpoint will only list repositories available to all users on the enterprise. For more information, see \"[Creating an internal repository](https://help.github.com/en/github/creating-cloning-and-archiving-repositories/about-repository-visibility#about-internal-repositories)\" in the GitHub Help documentation. \nThe `visibility` parameter overrides the `private` parameter when you use both parameters with the `nebula-preview` preview header.", "childParamsGroups": [] }, "has_issues": { @@ -16288,7 +16421,7 @@ "category": "repos", "categoryLabel": "Repos", "notes": [], - "descriptionHTML": "

    Creates a new repository in the specified organization. The authenticated user must be a member of the organization.

    \n

    OAuth scope requirements

    \n

    When using OAuth, 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
    ", + "descriptionHTML": "

    Creates a new repository in the specified organization. The authenticated user must be a member of the organization.

    \n

    OAuth scope requirements

    \n

    When using OAuth, 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
    ", "bodyParameters": [ { "type": "string", @@ -16319,17 +16452,17 @@ }, { "type": "boolean", - "description": "

    Either true to create a private repository or false to create a public one.

    ", + "description": "

    Whether the repository is private.

    ", "default": false, "name": "private", "in": "body", "rawType": "boolean", - "rawDescription": "Either `true` to create a private repository or `false` to create a public one.", + "rawDescription": "Whether the repository is private.", "childParamsGroups": [] }, { "type": "string", - "description": "

    Can be public or private. If your organization is associated with an enterprise account using GitHub Enterprise Cloud or GitHub Enterprise Server 2.20+, visibility can also be internal. For more information, see \"Creating an internal repository\" in the GitHub Help documentation.
    \nThe visibility parameter overrides the private parameter when you use both parameters with the nebula-preview preview header.

    ", + "description": "

    Can be public or private. If your organization is associated with an enterprise account using GitHub Enterprise Cloud or GitHub Enterprise Server 2.20+, visibility can also be internal. Note: For GitHub Enterprise Server and GitHub AE, this endpoint will only list repositories available to all users on the enterprise. For more information, see \"Creating an internal repository\" in the GitHub Help documentation.
    \nThe visibility parameter overrides the private parameter when you use both parameters with the nebula-preview preview header.

    ", "enum": [ "public", "private", @@ -16339,7 +16472,7 @@ "name": "visibility", "in": "body", "rawType": "string", - "rawDescription": "Can be `public` or `private`. If your organization is associated with an enterprise account using GitHub Enterprise Cloud or GitHub Enterprise Server 2.20+, `visibility` can also be `internal`. For more information, see \"[Creating an internal repository](https://help.github.com/en/github/creating-cloning-and-archiving-repositories/about-repository-visibility#about-internal-repositories)\" in the GitHub Help documentation. \nThe `visibility` parameter overrides the `private` parameter when you use both parameters with the `nebula-preview` preview header.", + "rawDescription": "Can be `public` or `private`. If your organization is associated with an enterprise account using GitHub Enterprise Cloud or GitHub Enterprise Server 2.20+, `visibility` can also be `internal`. Note: For GitHub Enterprise Server and GitHub AE, this endpoint will only list repositories available to all users on the enterprise. For more information, see \"[Creating an internal repository](https://help.github.com/en/github/creating-cloning-and-archiving-repositories/about-repository-visibility#about-internal-repositories)\" in the GitHub Help documentation. \nThe `visibility` parameter overrides the `private` parameter when you use both parameters with the `nebula-preview` preview header.", "childParamsGroups": [] }, { @@ -16482,7 +16615,7 @@ { "verb": "get", "requestPath": "/orgs/{org}/teams", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "org", @@ -16517,8 +16650,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/orgs/ORG/teams", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/orgs/ORG/teams
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/teams", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/teams
    " }, { "lang": "JavaScript", @@ -16566,7 +16699,7 @@ { "verb": "post", "requestPath": "/orgs/{org}/teams", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "org", @@ -16581,8 +16714,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/orgs/ORG/teams \\\n -d '{\"name\":\"name\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/orgs/ORG/teams \\\n  -d '{\"name\":\"name\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/teams \\\n -d '{\"name\":\"name\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/teams \\\n  -d '{\"name\":\"name\"}'
    " }, { "lang": "JavaScript", @@ -16814,7 +16947,7 @@ { "verb": "get", "requestPath": "/orgs/{org}/teams/{team_slug}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "org", @@ -16839,8 +16972,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/orgs/ORG/teams/TEAM_SLUG", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/orgs/ORG/teams/TEAM_SLUG
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/teams/TEAM_SLUG", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/teams/TEAM_SLUG
    " }, { "lang": "JavaScript", @@ -16888,7 +17021,7 @@ { "verb": "get", "requestPath": "/projects/columns/cards/{card_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "card_id", @@ -16904,8 +17037,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n https://api.github.com/projects/columns/cards/42", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  https://api.github.com/projects/columns/cards/42
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n http(s)://{hostname}/api/v3/projects/columns/cards/42", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  http(s)://{hostname}/api/v3/projects/columns/cards/42
    " }, { "lang": "JavaScript", @@ -16977,7 +17110,7 @@ { "verb": "patch", "requestPath": "/projects/columns/cards/{card_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "card_id", @@ -16993,8 +17126,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n https://api.github.com/projects/columns/cards/42 \\\n -d '{\"note\":\"note\"}'", - "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  https://api.github.com/projects/columns/cards/42 \\\n  -d '{\"note\":\"note\"}'
    " + "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n http(s)://{hostname}/api/v3/projects/columns/cards/42 \\\n -d '{\"note\":\"note\"}'", + "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  http(s)://{hostname}/api/v3/projects/columns/cards/42 \\\n  -d '{\"note\":\"note\"}'
    " }, { "lang": "JavaScript", @@ -17125,7 +17258,7 @@ { "verb": "delete", "requestPath": "/projects/columns/cards/{card_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "card_id", @@ -17141,8 +17274,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n https://api.github.com/projects/columns/cards/42", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  https://api.github.com/projects/columns/cards/42
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n http(s)://{hostname}/api/v3/projects/columns/cards/42", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  http(s)://{hostname}/api/v3/projects/columns/cards/42
    " }, { "lang": "JavaScript", @@ -17184,7 +17317,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "304", @@ -17213,7 +17346,7 @@ { "verb": "post", "requestPath": "/projects/columns/cards/{card_id}/moves", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "card_id", @@ -17229,8 +17362,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n https://api.github.com/projects/columns/cards/42/moves \\\n -d '{\"position\":\"position\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  https://api.github.com/projects/columns/cards/42/moves \\\n  -d '{\"position\":\"position\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n http(s)://{hostname}/api/v3/projects/columns/cards/42/moves \\\n -d '{\"position\":\"position\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  http(s)://{hostname}/api/v3/projects/columns/cards/42/moves \\\n  -d '{\"position\":\"position\"}'
    " }, { "lang": "JavaScript", @@ -17363,7 +17496,7 @@ { "verb": "get", "requestPath": "/projects/columns/{column_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "column_id", @@ -17379,8 +17512,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n https://api.github.com/projects/columns/42", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  https://api.github.com/projects/columns/42
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n http(s)://{hostname}/api/v3/projects/columns/42", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  http(s)://{hostname}/api/v3/projects/columns/42
    " }, { "lang": "JavaScript", @@ -17452,7 +17585,7 @@ { "verb": "patch", "requestPath": "/projects/columns/{column_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "column_id", @@ -17468,8 +17601,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n https://api.github.com/projects/columns/42 \\\n -d '{\"name\":\"name\"}'", - "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  https://api.github.com/projects/columns/42 \\\n  -d '{\"name\":\"name\"}'
    " + "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n http(s)://{hostname}/api/v3/projects/columns/42 \\\n -d '{\"name\":\"name\"}'", + "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  http(s)://{hostname}/api/v3/projects/columns/42 \\\n  -d '{\"name\":\"name\"}'
    " }, { "lang": "JavaScript", @@ -17571,7 +17704,7 @@ { "verb": "delete", "requestPath": "/projects/columns/{column_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "column_id", @@ -17587,8 +17720,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n https://api.github.com/projects/columns/42", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  https://api.github.com/projects/columns/42
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n http(s)://{hostname}/api/v3/projects/columns/42", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  http(s)://{hostname}/api/v3/projects/columns/42
    " }, { "lang": "JavaScript", @@ -17630,7 +17763,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "304", @@ -17654,7 +17787,7 @@ { "verb": "get", "requestPath": "/projects/columns/{column_id}/cards", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "column_id", @@ -17706,8 +17839,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n https://api.github.com/projects/columns/42/cards", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  https://api.github.com/projects/columns/42/cards
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n http(s)://{hostname}/api/v3/projects/columns/42/cards", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  http(s)://{hostname}/api/v3/projects/columns/42/cards
    " }, { "lang": "JavaScript", @@ -17774,7 +17907,7 @@ { "verb": "post", "requestPath": "/projects/columns/{column_id}/cards", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "column_id", @@ -17790,8 +17923,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n https://api.github.com/projects/columns/42/cards \\\n -d '{\"note\":\"note\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  https://api.github.com/projects/columns/42/cards \\\n  -d '{\"note\":\"note\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n http(s)://{hostname}/api/v3/projects/columns/42/cards \\\n -d '{\"note\":\"note\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  http(s)://{hostname}/api/v3/projects/columns/42/cards \\\n  -d '{\"note\":\"note\"}'
    " }, { "lang": "JavaScript", @@ -17911,7 +18044,7 @@ { "verb": "post", "requestPath": "/projects/columns/{column_id}/moves", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "column_id", @@ -17927,8 +18060,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n https://api.github.com/projects/columns/42/moves \\\n -d '{\"position\":\"position\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  https://api.github.com/projects/columns/42/moves \\\n  -d '{\"position\":\"position\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n http(s)://{hostname}/api/v3/projects/columns/42/moves \\\n -d '{\"position\":\"position\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  http(s)://{hostname}/api/v3/projects/columns/42/moves \\\n  -d '{\"position\":\"position\"}'
    " }, { "lang": "JavaScript", @@ -18036,7 +18169,7 @@ { "verb": "get", "requestPath": "/projects/{project_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "project_id", @@ -18051,8 +18184,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n https://api.github.com/projects/42", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  https://api.github.com/projects/42
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n http(s)://{hostname}/api/v3/projects/42", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  http(s)://{hostname}/api/v3/projects/42
    " }, { "lang": "JavaScript", @@ -18117,7 +18250,7 @@ { "verb": "patch", "requestPath": "/projects/{project_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "project_id", @@ -18132,8 +18265,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n https://api.github.com/projects/42 \\\n -d '{\"name\":\"name\"}'", - "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  https://api.github.com/projects/42 \\\n  -d '{\"name\":\"name\"}'
    " + "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n http(s)://{hostname}/api/v3/projects/42 \\\n -d '{\"name\":\"name\"}'", + "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  http(s)://{hostname}/api/v3/projects/42 \\\n  -d '{\"name\":\"name\"}'
    " }, { "lang": "JavaScript", @@ -18335,7 +18468,7 @@ { "verb": "delete", "requestPath": "/projects/{project_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "project_id", @@ -18350,8 +18483,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n https://api.github.com/projects/42", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  https://api.github.com/projects/42
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n http(s)://{hostname}/api/v3/projects/42", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  http(s)://{hostname}/api/v3/projects/42
    " }, { "lang": "JavaScript", @@ -18425,7 +18558,7 @@ { "verb": "get", "requestPath": "/projects/{project_id}/collaborators", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "project_id", @@ -18476,8 +18609,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n https://api.github.com/projects/42/collaborators", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  https://api.github.com/projects/42/collaborators
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n http(s)://{hostname}/api/v3/projects/42/collaborators", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  http(s)://{hostname}/api/v3/projects/42/collaborators
    " }, { "lang": "JavaScript", @@ -18559,7 +18692,7 @@ { "verb": "put", "requestPath": "/projects/{project_id}/collaborators/{username}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "project_id", @@ -18583,8 +18716,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n https://api.github.com/projects/42/collaborators/USERNAME \\\n -d '{\"permission\":\"permission\"}'", - "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  https://api.github.com/projects/42/collaborators/USERNAME \\\n  -d '{\"permission\":\"permission\"}'
    " + "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n http(s)://{hostname}/api/v3/projects/42/collaborators/USERNAME \\\n -d '{\"permission\":\"permission\"}'", + "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  http(s)://{hostname}/api/v3/projects/42/collaborators/USERNAME \\\n  -d '{\"permission\":\"permission\"}'
    " }, { "lang": "JavaScript", @@ -18653,7 +18786,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "304", @@ -18709,7 +18842,7 @@ { "verb": "delete", "requestPath": "/projects/{project_id}/collaborators/{username}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "project_id", @@ -18733,8 +18866,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n https://api.github.com/projects/42/collaborators/USERNAME", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  https://api.github.com/projects/42/collaborators/USERNAME
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n http(s)://{hostname}/api/v3/projects/42/collaborators/USERNAME", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  http(s)://{hostname}/api/v3/projects/42/collaborators/USERNAME
    " }, { "lang": "JavaScript", @@ -18776,7 +18909,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "304", @@ -18815,7 +18948,7 @@ { "verb": "get", "requestPath": "/projects/{project_id}/collaborators/{username}/permission", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "project_id", @@ -18839,8 +18972,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n https://api.github.com/projects/42/collaborators/USERNAME/permission", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  https://api.github.com/projects/42/collaborators/USERNAME/permission
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n http(s)://{hostname}/api/v3/projects/42/collaborators/USERNAME/permission", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  http(s)://{hostname}/api/v3/projects/42/collaborators/USERNAME/permission
    " }, { "lang": "JavaScript", @@ -18922,7 +19055,7 @@ { "verb": "get", "requestPath": "/projects/{project_id}/columns", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "project_id", @@ -18957,8 +19090,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n https://api.github.com/projects/42/columns", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  https://api.github.com/projects/42/columns
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n http(s)://{hostname}/api/v3/projects/42/columns", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  http(s)://{hostname}/api/v3/projects/42/columns
    " }, { "lang": "JavaScript", @@ -19025,7 +19158,7 @@ { "verb": "post", "requestPath": "/projects/{project_id}/columns", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "project_id", @@ -19040,8 +19173,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n https://api.github.com/projects/42/columns \\\n -d '{\"name\":\"name\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  https://api.github.com/projects/42/columns \\\n  -d '{\"name\":\"name\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n http(s)://{hostname}/api/v3/projects/42/columns \\\n -d '{\"name\":\"name\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  http(s)://{hostname}/api/v3/projects/42/columns \\\n  -d '{\"name\":\"name\"}'
    " }, { "lang": "JavaScript", @@ -19148,13 +19281,13 @@ { "verb": "get", "requestPath": "/rate_limit", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/rate_limit", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/rate_limit
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/rate_limit", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/rate_limit
    " }, { "lang": "JavaScript", @@ -19207,7 +19340,7 @@ { "verb": "delete", "requestPath": "/reactions/{reaction_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "accept", @@ -19233,8 +19366,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/reactions/42", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/reactions/42
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/reactions/42", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/reactions/42
    " }, { "lang": "JavaScript", @@ -19272,7 +19405,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "bodyParameters": [], @@ -19281,7 +19414,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -19305,8 +19438,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world
    " }, { "lang": "JavaScript", @@ -19383,7 +19516,7 @@ { "verb": "patch", "requestPath": "/repos/{owner}/{repo}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -19407,8 +19540,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world \\\n -d '{\"name\":\"name\"}'", - "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world \\\n  -d '{\"name\":\"name\"}'
    " + "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world \\\n -d '{\"name\":\"name\"}'", + "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world \\\n  -d '{\"name\":\"name\"}'
    " }, { "lang": "JavaScript", @@ -19802,7 +19935,7 @@ { "verb": "delete", "requestPath": "/repos/{owner}/{repo}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -19826,8 +19959,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world
    " }, { "lang": "JavaScript", @@ -19862,7 +19995,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "403", @@ -19880,7 +20013,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/assignees", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -19924,8 +20057,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/assignees", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/assignees
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/assignees", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/assignees
    " }, { "lang": "JavaScript", @@ -19975,7 +20108,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/assignees/{assignee}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -20008,8 +20141,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/assignees/ASSIGNEE", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/assignees/ASSIGNEE
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/assignees/ASSIGNEE", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/assignees/ASSIGNEE
    " }, { "lang": "JavaScript", @@ -20058,7 +20191,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/branches", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -20112,8 +20245,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/branches", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/branches
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches
    " }, { "lang": "JavaScript", @@ -20151,12 +20284,6 @@ "httpStatusCode": "200", "httpStatusMessage": "OK", "description": "Default response", - "payload": "
    [\n  {\n    \"name\": \"master\",\n    \"commit\": {\n      \"sha\": \"c5b97d5ae6c19d5c5df71a34c7fbeeda2479ccbc\",\n      \"url\": \"https://api.github.com/repos/octocat/Hello-World/commits/c5b97d5ae6c19d5c5df71a34c7fbeeda2479ccbc\"\n    },\n    \"protected\": true\n  }\n]\n
    " - }, - { - "httpStatusCode": "200", - "httpStatusMessage": "OK", - "description": "With protection", "payload": "
    [\n  {\n    \"name\": \"master\",\n    \"commit\": {\n      \"sha\": \"c5b97d5ae6c19d5c5df71a34c7fbeeda2479ccbc\",\n      \"url\": \"https://api.github.com/repos/octocat/Hello-World/commits/c5b97d5ae6c19d5c5df71a34c7fbeeda2479ccbc\"\n    },\n    \"protected\": true,\n    \"protection\": {\n      \"enabled\": true,\n      \"required_status_checks\": {\n        \"enforcement_level\": \"non_admins\",\n        \"contexts\": [\n          \"ci-test\",\n          \"linter\"\n        ]\n      }\n    },\n    \"protection_url\": \"https://api.github.com/repos/octocat/hello-world/branches/master/protection\"\n  }\n]\n
    " }, { @@ -20169,7 +20296,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/branches/{branch}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -20204,8 +20331,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/branches/BRANCH", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/branches/BRANCH
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH
    " }, { "lang": "JavaScript", @@ -20260,7 +20387,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/branches/{branch}/protection", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -20295,8 +20422,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection
    " }, { "lang": "JavaScript", @@ -20353,7 +20480,7 @@ { "verb": "put", "requestPath": "/repos/{owner}/{repo}/branches/{branch}/protection", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -20388,8 +20515,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection \\\n -d '{\"required_status_checks\":{\"strict\":true,\"contexts\":[\"contexts\"]},\"enforce_admins\":true,\"required_pull_request_reviews\":{\"dismissal_restrictions\":{\"users\":[\"users\"],\"teams\":[\"teams\"]},\"dismiss_stale_reviews\":true,\"require_code_owner_reviews\":true,\"required_approving_review_count\":42},\"restrictions\":{\"users\":[\"users\"],\"teams\":[\"teams\"],\"apps\":[\"apps\"]}}'", - "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection \\\n  -d '{\"required_status_checks\":{\"strict\":true,\"contexts\":[\"contexts\"]},\"enforce_admins\":true,\"required_pull_request_reviews\":{\"dismissal_restrictions\":{\"users\":[\"users\"],\"teams\":[\"teams\"]},\"dismiss_stale_reviews\":true,\"require_code_owner_reviews\":true,\"required_approving_review_count\":42},\"restrictions\":{\"users\":[\"users\"],\"teams\":[\"teams\"],\"apps\":[\"apps\"]}}'
    " + "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection \\\n -d '{\"required_status_checks\":{\"strict\":true,\"contexts\":[\"contexts\"]},\"enforce_admins\":true,\"required_pull_request_reviews\":{\"dismissal_restrictions\":{\"users\":[\"users\"],\"teams\":[\"teams\"]},\"dismiss_stale_reviews\":true,\"require_code_owner_reviews\":true,\"required_approving_review_count\":42},\"restrictions\":{\"users\":[\"users\"],\"teams\":[\"teams\"],\"apps\":[\"apps\"]}}'", + "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection \\\n  -d '{\"required_status_checks\":{\"strict\":true,\"contexts\":[\"contexts\"]},\"enforce_admins\":true,\"required_pull_request_reviews\":{\"dismissal_restrictions\":{\"users\":[\"users\"],\"teams\":[\"teams\"]},\"dismiss_stale_reviews\":true,\"require_code_owner_reviews\":true,\"required_approving_review_count\":42},\"restrictions\":{\"users\":[\"users\"],\"teams\":[\"teams\"],\"apps\":[\"apps\"]}}'
    " }, { "lang": "JavaScript", @@ -21392,7 +21519,7 @@ { "verb": "delete", "requestPath": "/repos/{owner}/{repo}/branches/{branch}/protection", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -21427,8 +21554,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection
    " }, { "lang": "JavaScript", @@ -21463,7 +21590,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "403", @@ -21477,7 +21604,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/branches/{branch}/protection/enforce_admins", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -21512,8 +21639,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/enforce_admins", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/enforce_admins
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection/enforce_admins", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection/enforce_admins
    " }, { "lang": "JavaScript", @@ -21558,7 +21685,7 @@ { "verb": "post", "requestPath": "/repos/{owner}/{repo}/branches/{branch}/protection/enforce_admins", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -21593,8 +21720,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/enforce_admins", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/enforce_admins
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection/enforce_admins", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection/enforce_admins
    " }, { "lang": "JavaScript", @@ -21639,7 +21766,7 @@ { "verb": "delete", "requestPath": "/repos/{owner}/{repo}/branches/{branch}/protection/enforce_admins", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -21674,8 +21801,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/enforce_admins", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/enforce_admins
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection/enforce_admins", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection/enforce_admins
    " }, { "lang": "JavaScript", @@ -21724,7 +21851,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/branches/{branch}/protection/required_pull_request_reviews", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -21759,8 +21886,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/required_pull_request_reviews", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/required_pull_request_reviews
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection/required_pull_request_reviews", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection/required_pull_request_reviews
    " }, { "lang": "JavaScript", @@ -21811,7 +21938,7 @@ { "verb": "patch", "requestPath": "/repos/{owner}/{repo}/branches/{branch}/protection/required_pull_request_reviews", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -21846,8 +21973,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/required_pull_request_reviews \\\n -d '{\"dismissal_restrictions\":{\"users\":[\"users\"],\"teams\":[\"teams\"]}}'", - "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/required_pull_request_reviews \\\n  -d '{\"dismissal_restrictions\":{\"users\":[\"users\"],\"teams\":[\"teams\"]}}'
    " + "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection/required_pull_request_reviews \\\n -d '{\"dismissal_restrictions\":{\"users\":[\"users\"],\"teams\":[\"teams\"]}}'", + "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection/required_pull_request_reviews \\\n  -d '{\"dismissal_restrictions\":{\"users\":[\"users\"],\"teams\":[\"teams\"]}}'
    " }, { "lang": "JavaScript", @@ -22117,7 +22244,7 @@ { "verb": "delete", "requestPath": "/repos/{owner}/{repo}/branches/{branch}/protection/required_pull_request_reviews", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -22152,8 +22279,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/required_pull_request_reviews", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/required_pull_request_reviews
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection/required_pull_request_reviews", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection/required_pull_request_reviews
    " }, { "lang": "JavaScript", @@ -22202,7 +22329,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/branches/{branch}/protection/required_signatures", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -22237,8 +22364,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.zzzax-preview+json\" \\\n https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/required_signatures", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.zzzax-preview+json\" \\\n  https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/required_signatures
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.zzzax-preview+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection/required_signatures", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.zzzax-preview+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection/required_signatures
    " }, { "lang": "JavaScript", @@ -22295,7 +22422,7 @@ { "verb": "post", "requestPath": "/repos/{owner}/{repo}/branches/{branch}/protection/required_signatures", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -22330,8 +22457,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.zzzax-preview+json\" \\\n https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/required_signatures", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.zzzax-preview+json\" \\\n  https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/required_signatures
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.zzzax-preview+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection/required_signatures", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.zzzax-preview+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection/required_signatures
    " }, { "lang": "JavaScript", @@ -22388,7 +22515,7 @@ { "verb": "delete", "requestPath": "/repos/{owner}/{repo}/branches/{branch}/protection/required_signatures", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -22423,8 +22550,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.zzzax-preview+json\" \\\n https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/required_signatures", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.zzzax-preview+json\" \\\n  https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/required_signatures
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.zzzax-preview+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection/required_signatures", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.zzzax-preview+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection/required_signatures
    " }, { "lang": "JavaScript", @@ -22480,7 +22607,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -22515,8 +22642,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/required_status_checks", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/required_status_checks
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection/required_status_checks", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection/required_status_checks
    " }, { "lang": "JavaScript", @@ -22566,7 +22693,7 @@ { "verb": "patch", "requestPath": "/repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -22601,8 +22728,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/required_status_checks \\\n -d '{\"strict\":true}'", - "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/required_status_checks \\\n  -d '{\"strict\":true}'
    " + "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection/required_status_checks \\\n -d '{\"strict\":true}'", + "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection/required_status_checks \\\n  -d '{\"strict\":true}'
    " }, { "lang": "JavaScript", @@ -22717,7 +22844,7 @@ { "verb": "delete", "requestPath": "/repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -22752,8 +22879,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/required_status_checks", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/required_status_checks
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection/required_status_checks", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection/required_status_checks
    " }, { "lang": "JavaScript", @@ -22797,7 +22924,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks/contexts", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -22832,8 +22959,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/required_status_checks/contexts", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/required_status_checks/contexts
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection/required_status_checks/contexts", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection/required_status_checks/contexts
    " }, { "lang": "JavaScript", @@ -22883,7 +23010,7 @@ { "verb": "post", "requestPath": "/repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks/contexts", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -22918,8 +23045,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/required_status_checks/contexts \\\n -d '{\"contexts\":{\"contexts\":[\"contexts\"]}}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/required_status_checks/contexts \\\n  -d '{\"contexts\":{\"contexts\":[\"contexts\"]}}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection/required_status_checks/contexts \\\n -d '{\"contexts\":{\"contexts\":[\"contexts\"]}}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection/required_status_checks/contexts \\\n  -d '{\"contexts\":{\"contexts\":[\"contexts\"]}}'
    " }, { "lang": "JavaScript", @@ -23024,7 +23151,7 @@ { "verb": "put", "requestPath": "/repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks/contexts", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -23059,8 +23186,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/required_status_checks/contexts \\\n -d '{\"contexts\":{\"contexts\":[\"contexts\"]}}'", - "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/required_status_checks/contexts \\\n  -d '{\"contexts\":{\"contexts\":[\"contexts\"]}}'
    " + "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection/required_status_checks/contexts \\\n -d '{\"contexts\":{\"contexts\":[\"contexts\"]}}'", + "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection/required_status_checks/contexts \\\n  -d '{\"contexts\":{\"contexts\":[\"contexts\"]}}'
    " }, { "lang": "JavaScript", @@ -23160,7 +23287,7 @@ { "verb": "delete", "requestPath": "/repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks/contexts", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -23195,8 +23322,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/required_status_checks/contexts \\\n -d '{\"contexts\":{\"contexts\":[\"contexts\"]}}'", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/required_status_checks/contexts \\\n  -d '{\"contexts\":{\"contexts\":[\"contexts\"]}}'
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection/required_status_checks/contexts \\\n -d '{\"contexts\":{\"contexts\":[\"contexts\"]}}'", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection/required_status_checks/contexts \\\n  -d '{\"contexts\":{\"contexts\":[\"contexts\"]}}'
    " }, { "lang": "JavaScript", @@ -23296,7 +23423,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/branches/{branch}/protection/restrictions", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -23331,8 +23458,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/restrictions", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/restrictions
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection/restrictions", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection/restrictions
    " }, { "lang": "JavaScript", @@ -23382,7 +23509,7 @@ { "verb": "delete", "requestPath": "/repos/{owner}/{repo}/branches/{branch}/protection/restrictions", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -23417,8 +23544,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/restrictions", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/restrictions
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection/restrictions", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection/restrictions
    " }, { "lang": "JavaScript", @@ -23462,7 +23589,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/branches/{branch}/protection/restrictions/apps", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -23497,8 +23624,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/restrictions/apps", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/restrictions/apps
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection/restrictions/apps", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection/restrictions/apps
    " }, { "lang": "JavaScript", @@ -23548,7 +23675,7 @@ { "verb": "post", "requestPath": "/repos/{owner}/{repo}/branches/{branch}/protection/restrictions/apps", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -23583,8 +23710,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/restrictions/apps \\\n -d '{\"apps\":{\"apps\":[\"apps\"]}}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/restrictions/apps \\\n  -d '{\"apps\":{\"apps\":[\"apps\"]}}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection/restrictions/apps \\\n -d '{\"apps\":{\"apps\":[\"apps\"]}}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection/restrictions/apps \\\n  -d '{\"apps\":{\"apps\":[\"apps\"]}}'
    " }, { "lang": "JavaScript", @@ -23679,7 +23806,7 @@ { "verb": "put", "requestPath": "/repos/{owner}/{repo}/branches/{branch}/protection/restrictions/apps", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -23714,8 +23841,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/restrictions/apps \\\n -d '{\"apps\":{\"apps\":[\"apps\"]}}'", - "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/restrictions/apps \\\n  -d '{\"apps\":{\"apps\":[\"apps\"]}}'
    " + "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection/restrictions/apps \\\n -d '{\"apps\":{\"apps\":[\"apps\"]}}'", + "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection/restrictions/apps \\\n  -d '{\"apps\":{\"apps\":[\"apps\"]}}'
    " }, { "lang": "JavaScript", @@ -23810,7 +23937,7 @@ { "verb": "delete", "requestPath": "/repos/{owner}/{repo}/branches/{branch}/protection/restrictions/apps", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -23845,8 +23972,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/restrictions/apps \\\n -d '{\"apps\":{\"apps\":[\"apps\"]}}'", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/restrictions/apps \\\n  -d '{\"apps\":{\"apps\":[\"apps\"]}}'
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection/restrictions/apps \\\n -d '{\"apps\":{\"apps\":[\"apps\"]}}'", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection/restrictions/apps \\\n  -d '{\"apps\":{\"apps\":[\"apps\"]}}'
    " }, { "lang": "JavaScript", @@ -23941,7 +24068,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/branches/{branch}/protection/restrictions/teams", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -23976,8 +24103,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/restrictions/teams", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/restrictions/teams
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection/restrictions/teams", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection/restrictions/teams
    " }, { "lang": "JavaScript", @@ -24027,7 +24154,7 @@ { "verb": "post", "requestPath": "/repos/{owner}/{repo}/branches/{branch}/protection/restrictions/teams", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -24062,8 +24189,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/restrictions/teams \\\n -d '{\"teams\":{\"teams\":[\"teams\"]}}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/restrictions/teams \\\n  -d '{\"teams\":{\"teams\":[\"teams\"]}}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection/restrictions/teams \\\n -d '{\"teams\":{\"teams\":[\"teams\"]}}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection/restrictions/teams \\\n  -d '{\"teams\":{\"teams\":[\"teams\"]}}'
    " }, { "lang": "JavaScript", @@ -24158,7 +24285,7 @@ { "verb": "put", "requestPath": "/repos/{owner}/{repo}/branches/{branch}/protection/restrictions/teams", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -24193,8 +24320,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/restrictions/teams \\\n -d '{\"teams\":{\"teams\":[\"teams\"]}}'", - "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/restrictions/teams \\\n  -d '{\"teams\":{\"teams\":[\"teams\"]}}'
    " + "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection/restrictions/teams \\\n -d '{\"teams\":{\"teams\":[\"teams\"]}}'", + "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection/restrictions/teams \\\n  -d '{\"teams\":{\"teams\":[\"teams\"]}}'
    " }, { "lang": "JavaScript", @@ -24289,7 +24416,7 @@ { "verb": "delete", "requestPath": "/repos/{owner}/{repo}/branches/{branch}/protection/restrictions/teams", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -24324,8 +24451,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/restrictions/teams \\\n -d '{\"teams\":{\"teams\":[\"teams\"]}}'", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/restrictions/teams \\\n  -d '{\"teams\":{\"teams\":[\"teams\"]}}'
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection/restrictions/teams \\\n -d '{\"teams\":{\"teams\":[\"teams\"]}}'", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection/restrictions/teams \\\n  -d '{\"teams\":{\"teams\":[\"teams\"]}}'
    " }, { "lang": "JavaScript", @@ -24420,7 +24547,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/branches/{branch}/protection/restrictions/users", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -24455,8 +24582,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/restrictions/users", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/restrictions/users
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection/restrictions/users", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection/restrictions/users
    " }, { "lang": "JavaScript", @@ -24506,7 +24633,7 @@ { "verb": "post", "requestPath": "/repos/{owner}/{repo}/branches/{branch}/protection/restrictions/users", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -24541,8 +24668,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/restrictions/users \\\n -d '{\"users\":{\"users\":[\"users\"]}}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/restrictions/users \\\n  -d '{\"users\":{\"users\":[\"users\"]}}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection/restrictions/users \\\n -d '{\"users\":{\"users\":[\"users\"]}}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection/restrictions/users \\\n  -d '{\"users\":{\"users\":[\"users\"]}}'
    " }, { "lang": "JavaScript", @@ -24637,7 +24764,7 @@ { "verb": "put", "requestPath": "/repos/{owner}/{repo}/branches/{branch}/protection/restrictions/users", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -24672,8 +24799,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/restrictions/users \\\n -d '{\"users\":{\"users\":[\"users\"]}}'", - "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/restrictions/users \\\n  -d '{\"users\":{\"users\":[\"users\"]}}'
    " + "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection/restrictions/users \\\n -d '{\"users\":{\"users\":[\"users\"]}}'", + "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection/restrictions/users \\\n  -d '{\"users\":{\"users\":[\"users\"]}}'
    " }, { "lang": "JavaScript", @@ -24768,7 +24895,7 @@ { "verb": "delete", "requestPath": "/repos/{owner}/{repo}/branches/{branch}/protection/restrictions/users", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -24803,8 +24930,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/restrictions/users \\\n -d '{\"users\":{\"users\":[\"users\"]}}'", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/restrictions/users \\\n  -d '{\"users\":{\"users\":[\"users\"]}}'
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection/restrictions/users \\\n -d '{\"users\":{\"users\":[\"users\"]}}'", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection/restrictions/users \\\n  -d '{\"users\":{\"users\":[\"users\"]}}'
    " }, { "lang": "JavaScript", @@ -24899,7 +25026,7 @@ { "verb": "post", "requestPath": "/repos/{owner}/{repo}/check-runs", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -24923,8 +25050,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.antiope-preview+json\" \\\n https://api.github.com/repos/octocat/hello-world/check-runs \\\n -d '{\"name\":\"name\",\"head_sha\":\"head_sha\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.antiope-preview+json\" \\\n  https://api.github.com/repos/octocat/hello-world/check-runs \\\n  -d '{\"name\":\"name\",\"head_sha\":\"head_sha\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.antiope-preview+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/check-runs \\\n -d '{\"name\":\"name\",\"head_sha\":\"head_sha\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.antiope-preview+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/check-runs \\\n  -d '{\"name\":\"name\",\"head_sha\":\"head_sha\"}'
    " }, { "lang": "JavaScript", @@ -25901,7 +26028,7 @@ "name", "head_sha" ], - "anyOf": [ + "oneOf": [ { "properties": { "status": { @@ -25911,6 +26038,7 @@ } }, "required": [ + "status", "conclusion" ], "additionalProperties": true @@ -25930,7 +26058,7 @@ }, "examples": { "example-of-in-progress-conclusion": { - "summary": "Example of in_progress conclusion", + "summary": "Response for in_progress conclusion", "value": { "name": "mighty_readme", "head_sha": "ce587453ced02b1526dfb4cb910479d431683101", @@ -25945,7 +26073,7 @@ } }, "example-of-completed-conclusion": { - "summary": "Example of completed conclusion", + "summary": "Response for completed conclusion", "value": { "name": "mighty_readme", "head_sha": "ce587453ced02b1526dfb4cb910479d431683101", @@ -26019,12 +26147,6 @@ "notes": [], "descriptionHTML": "

    Note: The Checks API only looks for pushes in the repository where the check 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

    Creates 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

    In 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.

    ", "responses": [ - { - "httpStatusCode": "201", - "httpStatusMessage": "Created", - "description": "Response for in_progress conclusion", - "payload": "
    {\n  \"id\": 4,\n  \"head_sha\": \"ce587453ced02b1526dfb4cb910479d431683101\",\n  \"node_id\": \"MDg6Q2hlY2tSdW40\",\n  \"external_id\": \"42\",\n  \"url\": \"https://api.github.com/repos/github/hello-world/check-runs/4\",\n  \"html_url\": \"https://github.com/github/hello-world/runs/4\",\n  \"details_url\": \"https://example.com\",\n  \"status\": \"in_progress\",\n  \"conclusion\": \"neutral\",\n  \"started_at\": \"2018-05-04T01:14:52Z\",\n  \"completed_at\": null,\n  \"output\": {\n    \"title\": \"Mighty Readme Report\",\n    \"summary\": \"\",\n    \"text\": \"\",\n    \"annotations_count\": 1,\n    \"annotations_url\": \"https://api.github.com/repos/github/hello-world/check-runs/4/annotations\"\n  },\n  \"name\": \"mighty_readme\",\n  \"check_suite\": {\n    \"id\": 5\n  },\n  \"app\": {\n    \"id\": 1,\n    \"slug\": \"octoapp\",\n    \"node_id\": \"MDExOkludGVncmF0aW9uMQ==\",\n    \"owner\": {\n      \"login\": \"github\",\n      \"id\": 1,\n      \"node_id\": \"MDEyOk9yZ2FuaXphdGlvbjE=\",\n      \"url\": \"https://api.github.com/orgs/github\",\n      \"repos_url\": \"https://api.github.com/orgs/github/repos\",\n      \"events_url\": \"https://api.github.com/orgs/github/events\",\n      \"avatar_url\": \"https://github.com/images/error/octocat_happy.gif\",\n      \"gravatar_id\": \"\",\n      \"html_url\": \"https://github.com/octocat\",\n      \"followers_url\": \"https://api.github.com/users/octocat/followers\",\n      \"following_url\": \"https://api.github.com/users/octocat/following{/other_user}\",\n      \"gists_url\": \"https://api.github.com/users/octocat/gists{/gist_id}\",\n      \"starred_url\": \"https://api.github.com/users/octocat/starred{/owner}{/repo}\",\n      \"subscriptions_url\": \"https://api.github.com/users/octocat/subscriptions\",\n      \"organizations_url\": \"https://api.github.com/users/octocat/orgs\",\n      \"received_events_url\": \"https://api.github.com/users/octocat/received_events\",\n      \"type\": \"User\",\n      \"site_admin\": true\n    },\n    \"name\": \"Octocat App\",\n    \"description\": \"\",\n    \"external_url\": \"https://example.com\",\n    \"html_url\": \"https://github.com/apps/octoapp\",\n    \"created_at\": \"2017-07-08T16:18:44-04:00\",\n    \"updated_at\": \"2017-07-08T16:18:44-04:00\",\n    \"permissions\": {\n      \"metadata\": \"read\",\n      \"contents\": \"read\",\n      \"issues\": \"write\",\n      \"single_file\": \"write\"\n    },\n    \"events\": [\n      \"push\",\n      \"pull_request\"\n    ]\n  },\n  \"pull_requests\": [\n    {\n      \"url\": \"https://api.github.com/repos/github/hello-world/pulls/1\",\n      \"id\": 1934,\n      \"number\": 3956,\n      \"head\": {\n        \"ref\": \"say-hello\",\n        \"sha\": \"3dca65fa3e8d4b3da3f3d056c59aee1c50f41390\",\n        \"repo\": {\n          \"id\": 526,\n          \"url\": \"https://api.github.com/repos/github/hello-world\",\n          \"name\": \"hello-world\"\n        }\n      },\n      \"base\": {\n        \"ref\": \"master\",\n        \"sha\": \"e7fdf7640066d71ad16a86fbcbb9c6a10a18af4f\",\n        \"repo\": {\n          \"id\": 526,\n          \"url\": \"https://api.github.com/repos/github/hello-world\",\n          \"name\": \"hello-world\"\n        }\n      }\n    }\n  ]\n}\n
    " - }, { "httpStatusCode": "201", "httpStatusMessage": "Created", @@ -26986,7 +27108,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/check-runs/{check_run_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -27020,8 +27142,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.antiope-preview+json\" \\\n https://api.github.com/repos/octocat/hello-world/check-runs/42", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.antiope-preview+json\" \\\n  https://api.github.com/repos/octocat/hello-world/check-runs/42
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.antiope-preview+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/check-runs/42", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.antiope-preview+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/check-runs/42
    " }, { "lang": "JavaScript", @@ -27073,7 +27195,7 @@ { "verb": "patch", "requestPath": "/repos/{owner}/{repo}/check-runs/{check_run_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -27107,8 +27229,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.antiope-preview+json\" \\\n https://api.github.com/repos/octocat/hello-world/check-runs/42 \\\n -d '{\"name\":\"name\"}'", - "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.antiope-preview+json\" \\\n  https://api.github.com/repos/octocat/hello-world/check-runs/42 \\\n  -d '{\"name\":\"name\"}'
    " + "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.antiope-preview+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/check-runs/42 \\\n -d '{\"name\":\"name\"}'", + "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.antiope-preview+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/check-runs/42 \\\n  -d '{\"name\":\"name\"}'
    " }, { "lang": "JavaScript", @@ -29110,7 +29232,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/check-runs/{check_run_id}/annotations", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -29164,8 +29286,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.antiope-preview+json\" \\\n https://api.github.com/repos/octocat/hello-world/check-runs/42/annotations", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.antiope-preview+json\" \\\n  https://api.github.com/repos/octocat/hello-world/check-runs/42/annotations
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.antiope-preview+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/check-runs/42/annotations", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.antiope-preview+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/check-runs/42/annotations
    " }, { "lang": "JavaScript", @@ -29217,7 +29339,7 @@ { "verb": "post", "requestPath": "/repos/{owner}/{repo}/check-suites", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -29241,8 +29363,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.antiope-preview+json\" \\\n https://api.github.com/repos/octocat/hello-world/check-suites \\\n -d '{\"head_sha\":\"head_sha\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.antiope-preview+json\" \\\n  https://api.github.com/repos/octocat/hello-world/check-suites \\\n  -d '{\"head_sha\":\"head_sha\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.antiope-preview+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/check-suites \\\n -d '{\"head_sha\":\"head_sha\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.antiope-preview+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/check-suites \\\n  -d '{\"head_sha\":\"head_sha\"}'
    " }, { "lang": "JavaScript", @@ -29330,7 +29452,7 @@ { "verb": "patch", "requestPath": "/repos/{owner}/{repo}/check-suites/preferences", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -29354,8 +29476,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.antiope-preview+json\" \\\n https://api.github.com/repos/octocat/hello-world/check-suites/preferences \\\n -d '{\"auto_trigger_checks\":[{\"app_id\":42,\"setting\":true}]}'", - "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.antiope-preview+json\" \\\n  https://api.github.com/repos/octocat/hello-world/check-suites/preferences \\\n  -d '{\"auto_trigger_checks\":[{\"app_id\":42,\"setting\":true}]}'
    " + "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.antiope-preview+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/check-suites/preferences \\\n -d '{\"auto_trigger_checks\":[{\"app_id\":42,\"setting\":true}]}'", + "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.antiope-preview+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/check-suites/preferences \\\n  -d '{\"auto_trigger_checks\":[{\"app_id\":42,\"setting\":true}]}'
    " }, { "lang": "JavaScript", @@ -29555,7 +29677,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/check-suites/{check_suite_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -29589,8 +29711,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.antiope-preview+json\" \\\n https://api.github.com/repos/octocat/hello-world/check-suites/42", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.antiope-preview+json\" \\\n  https://api.github.com/repos/octocat/hello-world/check-suites/42
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.antiope-preview+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/check-suites/42", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.antiope-preview+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/check-suites/42
    " }, { "lang": "JavaScript", @@ -29642,7 +29764,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/check-suites/{check_suite_id}/check-runs", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -29736,8 +29858,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.antiope-preview+json\" \\\n https://api.github.com/repos/octocat/hello-world/check-suites/42/check-runs", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.antiope-preview+json\" \\\n  https://api.github.com/repos/octocat/hello-world/check-suites/42/check-runs
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.antiope-preview+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/check-suites/42/check-runs", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.antiope-preview+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/check-suites/42/check-runs
    " }, { "lang": "JavaScript", @@ -29789,7 +29911,7 @@ { "verb": "post", "requestPath": "/repos/{owner}/{repo}/check-suites/{check_suite_id}/rerequest", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -29823,8 +29945,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.antiope-preview+json\" \\\n https://api.github.com/repos/octocat/hello-world/check-suites/42/rerequest", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.antiope-preview+json\" \\\n  https://api.github.com/repos/octocat/hello-world/check-suites/42/rerequest
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.antiope-preview+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/check-suites/42/rerequest", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.antiope-preview+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/check-suites/42/rerequest
    " }, { "lang": "JavaScript", @@ -29875,7 +29997,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/collaborators", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -29935,8 +30057,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/collaborators", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/collaborators
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/collaborators", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/collaborators
    " }, { "lang": "JavaScript", @@ -29986,7 +30108,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/collaborators/{username}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -30019,8 +30141,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/collaborators/USERNAME", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/collaborators/USERNAME
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/collaborators/USERNAME", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/collaborators/USERNAME
    " }, { "lang": "JavaScript", @@ -30069,7 +30191,7 @@ { "verb": "put", "requestPath": "/repos/{owner}/{repo}/collaborators/{username}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -30102,8 +30224,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/collaborators/USERNAME \\\n -d '{\"permission\":\"permission\"}'", - "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/collaborators/USERNAME \\\n  -d '{\"permission\":\"permission\"}'
    " + "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/collaborators/USERNAME \\\n -d '{\"permission\":\"permission\"}'", + "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/collaborators/USERNAME \\\n  -d '{\"permission\":\"permission\"}'
    " }, { "lang": "JavaScript", @@ -30228,7 +30350,7 @@ { "verb": "delete", "requestPath": "/repos/{owner}/{repo}/collaborators/{username}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -30261,8 +30383,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/collaborators/USERNAME", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/collaborators/USERNAME
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/collaborators/USERNAME", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/collaborators/USERNAME
    " }, { "lang": "JavaScript", @@ -30297,7 +30419,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "bodyParameters": [], @@ -30306,7 +30428,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/collaborators/{username}/permission", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -30339,8 +30461,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/collaborators/USERNAME/permission", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/collaborators/USERNAME/permission
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/collaborators/USERNAME/permission", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/collaborators/USERNAME/permission
    " }, { "lang": "JavaScript", @@ -30390,7 +30512,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/comments", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -30434,8 +30556,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/comments", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/comments
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/comments", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/comments
    " }, { "lang": "JavaScript", @@ -30487,7 +30609,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/comments/{comment_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -30521,8 +30643,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/comments/42", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/comments/42
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/comments/42", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/comments/42
    " }, { "lang": "JavaScript", @@ -30579,7 +30701,7 @@ { "verb": "patch", "requestPath": "/repos/{owner}/{repo}/comments/{comment_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -30613,8 +30735,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/comments/42 \\\n -d '{\"body\":\"body\"}'", - "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/comments/42 \\\n  -d '{\"body\":\"body\"}'
    " + "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/comments/42 \\\n -d '{\"body\":\"body\"}'", + "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/comments/42 \\\n  -d '{\"body\":\"body\"}'
    " }, { "lang": "JavaScript", @@ -30700,7 +30822,7 @@ { "verb": "delete", "requestPath": "/repos/{owner}/{repo}/comments/{comment_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -30734,8 +30856,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/comments/42", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/comments/42
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/comments/42", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/comments/42
    " }, { "lang": "JavaScript", @@ -30770,7 +30892,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "404", @@ -30784,7 +30906,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/comments/{comment_id}/reactions", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -30858,8 +30980,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n https://api.github.com/repos/octocat/hello-world/comments/42/reactions", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n  https://api.github.com/repos/octocat/hello-world/comments/42/reactions
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/comments/42/reactions", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/comments/42/reactions
    " }, { "lang": "JavaScript", @@ -30919,7 +31041,7 @@ { "verb": "post", "requestPath": "/repos/{owner}/{repo}/comments/{comment_id}/reactions", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -30953,8 +31075,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n https://api.github.com/repos/octocat/hello-world/comments/42/reactions \\\n -d '{\"content\":\"content\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n  https://api.github.com/repos/octocat/hello-world/comments/42/reactions \\\n  -d '{\"content\":\"content\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/comments/42/reactions \\\n -d '{\"content\":\"content\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/comments/42/reactions \\\n  -d '{\"content\":\"content\"}'
    " }, { "lang": "JavaScript", @@ -31076,7 +31198,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/commits", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -31165,13 +31287,35 @@ "default": 1 }, "descriptionHTML": "

    Page number of the results to fetch.

    " + }, + { + "name": "top", + "description": "legacy parameter for pagination.", + "in": "query", + "deprecated": true, + "required": false, + "schema": { + "type": "string" + }, + "descriptionHTML": "

    legacy parameter for pagination.

    " + }, + { + "name": "last_sha", + "description": "legacy parameter for pagination.", + "in": "query", + "deprecated": true, + "required": false, + "schema": { + "type": "string" + }, + "descriptionHTML": "

    legacy parameter for pagination.

    " } ], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/commits", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/commits
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/commits", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/commits
    " }, { "lang": "JavaScript", @@ -31236,7 +31380,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/commits/{commit_sha}/branches-where-head", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -31271,8 +31415,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.groot-preview+json\" \\\n https://api.github.com/repos/octocat/hello-world/commits/COMMIT_SHA/branches-where-head", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.groot-preview+json\" \\\n  https://api.github.com/repos/octocat/hello-world/commits/COMMIT_SHA/branches-where-head
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.groot-preview+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/commits/COMMIT_SHA/branches-where-head", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.groot-preview+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/commits/COMMIT_SHA/branches-where-head
    " }, { "lang": "JavaScript", @@ -31334,7 +31478,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/commits/{commit_sha}/comments", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -31389,8 +31533,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/commits/COMMIT_SHA/comments", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/commits/COMMIT_SHA/comments
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/commits/COMMIT_SHA/comments", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/commits/COMMIT_SHA/comments
    " }, { "lang": "JavaScript", @@ -31442,7 +31586,7 @@ { "verb": "post", "requestPath": "/repos/{owner}/{repo}/commits/{commit_sha}/comments", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -31477,8 +31621,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/commits/COMMIT_SHA/comments \\\n -d '{\"body\":\"body\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/commits/COMMIT_SHA/comments \\\n  -d '{\"body\":\"body\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/commits/COMMIT_SHA/comments \\\n -d '{\"body\":\"body\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/commits/COMMIT_SHA/comments \\\n  -d '{\"body\":\"body\"}'
    " }, { "lang": "JavaScript", @@ -31627,7 +31771,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/commits/{commit_sha}/pulls", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -31682,8 +31826,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.groot-preview+json\" \\\n https://api.github.com/repos/octocat/hello-world/commits/COMMIT_SHA/pulls", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.groot-preview+json\" \\\n  https://api.github.com/repos/octocat/hello-world/commits/COMMIT_SHA/pulls
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.groot-preview+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/commits/COMMIT_SHA/pulls", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.groot-preview+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/commits/COMMIT_SHA/pulls
    " }, { "lang": "JavaScript", @@ -31740,7 +31884,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/commits/{ref}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -31760,23 +31904,43 @@ }, "descriptionHTML": "" }, + { + "name": "page", + "description": "Page number of the results to fetch.", + "in": "query", + "schema": { + "type": "integer", + "default": 1 + }, + "descriptionHTML": "

    Page number of the results to fetch.

    " + }, + { + "name": "per_page", + "description": "Results per page (max 100).", + "in": "query", + "schema": { + "type": "integer", + "default": 30 + }, + "descriptionHTML": "

    Results per page (max 100).

    " + }, { "name": "ref", - "description": "ref+ parameter", + "description": "ref parameter", "in": "path", "required": true, "schema": { "type": "string" }, "x-multi-segment": true, - "descriptionHTML": "

    ref+ parameter

    " + "descriptionHTML": "

    ref parameter

    " } ], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/commits/REF", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/commits/REF
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/commits/REF", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/commits/REF
    " }, { "lang": "JavaScript", @@ -31836,7 +32000,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/commits/{ref}/check-runs", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -31858,14 +32022,14 @@ }, { "name": "ref", - "description": "ref+ parameter", + "description": "ref parameter", "in": "path", "required": true, "schema": { "type": "string" }, "x-multi-segment": true, - "descriptionHTML": "

    ref+ parameter

    " + "descriptionHTML": "

    ref parameter

    " }, { "name": "check_name", @@ -31926,13 +32090,22 @@ "default": 1 }, "descriptionHTML": "

    Page number of the results to fetch.

    " + }, + { + "name": "app_id", + "in": "query", + "required": false, + "schema": { + "type": "integer" + }, + "descriptionHTML": "" } ], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.antiope-preview+json\" \\\n https://api.github.com/repos/octocat/hello-world/commits/REF/check-runs", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.antiope-preview+json\" \\\n  https://api.github.com/repos/octocat/hello-world/commits/REF/check-runs
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.antiope-preview+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/commits/REF/check-runs", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.antiope-preview+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/commits/REF/check-runs
    " }, { "lang": "JavaScript", @@ -31984,7 +32157,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/commits/{ref}/check-suites", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -32006,14 +32179,14 @@ }, { "name": "ref", - "description": "ref+ parameter", + "description": "ref parameter", "in": "path", "required": true, "schema": { "type": "string" }, "x-multi-segment": true, - "descriptionHTML": "

    ref+ parameter

    " + "descriptionHTML": "

    ref parameter

    " }, { "name": "app_id", @@ -32060,8 +32233,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.antiope-preview+json\" \\\n https://api.github.com/repos/octocat/hello-world/commits/REF/check-suites", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.antiope-preview+json\" \\\n  https://api.github.com/repos/octocat/hello-world/commits/REF/check-suites
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.antiope-preview+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/commits/REF/check-suites", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.antiope-preview+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/commits/REF/check-suites
    " }, { "lang": "JavaScript", @@ -32113,7 +32286,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/commits/{ref}/status", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -32135,21 +32308,41 @@ }, { "name": "ref", - "description": "ref+ parameter", + "description": "ref parameter", "in": "path", "required": true, "schema": { "type": "string" }, "x-multi-segment": true, - "descriptionHTML": "

    ref+ parameter

    " + "descriptionHTML": "

    ref parameter

    " + }, + { + "name": "per_page", + "description": "Results per page (max 100).", + "in": "query", + "schema": { + "type": "integer", + "default": 30 + }, + "descriptionHTML": "

    Results per page (max 100).

    " + }, + { + "name": "page", + "description": "Page number of the results to fetch.", + "in": "query", + "schema": { + "type": "integer", + "default": 1 + }, + "descriptionHTML": "

    Page number of the results to fetch.

    " } ], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/commits/REF/status", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/commits/REF/status
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/commits/REF/status", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/commits/REF/status
    " }, { "lang": "JavaScript", @@ -32199,7 +32392,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/commits/{ref}/statuses", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -32221,14 +32414,14 @@ }, { "name": "ref", - "description": "ref+ parameter", + "description": "ref parameter", "in": "path", "required": true, "schema": { "type": "string" }, "x-multi-segment": true, - "descriptionHTML": "

    ref+ parameter

    " + "descriptionHTML": "

    ref parameter

    " }, { "name": "per_page", @@ -32254,8 +32447,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/commits/REF/statuses", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/commits/REF/statuses
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/commits/REF/statuses", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/commits/REF/statuses
    " }, { "lang": "JavaScript", @@ -32305,7 +32498,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/compare/{base}...{head}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -32347,8 +32540,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/compare/BASE...HEAD", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/compare/BASE...HEAD
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/compare/BASE...HEAD", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/compare/BASE...HEAD
    " }, { "lang": "JavaScript", @@ -32403,7 +32596,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/contents/{path}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -32425,14 +32618,14 @@ }, { "name": "path", - "description": "path+ parameter", + "description": "path parameter", "in": "path", "required": true, "schema": { "type": "string" }, "x-multi-segment": true, - "descriptionHTML": "

    path+ parameter

    " + "descriptionHTML": "

    path parameter

    " }, { "name": "ref", @@ -32448,8 +32641,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/contents/PATH", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/contents/PATH
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/contents/PATH", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/contents/PATH
    " }, { "lang": "JavaScript", @@ -32527,7 +32720,7 @@ { "verb": "put", "requestPath": "/repos/{owner}/{repo}/contents/{path}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -32549,21 +32742,21 @@ }, { "name": "path", - "description": "path+ parameter", + "description": "path parameter", "in": "path", "required": true, "schema": { "type": "string" }, "x-multi-segment": true, - "descriptionHTML": "

    path+ parameter

    " + "descriptionHTML": "

    path parameter

    " } ], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/contents/PATH \\\n -d '{\"message\":\"message\",\"content\":\"content\"}'", - "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/contents/PATH \\\n  -d '{\"message\":\"message\",\"content\":\"content\"}'
    " + "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/contents/PATH \\\n -d '{\"message\":\"message\",\"content\":\"content\"}'", + "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/contents/PATH \\\n  -d '{\"message\":\"message\",\"content\":\"content\"}'
    " }, { "lang": "JavaScript", @@ -33050,7 +33243,7 @@ { "verb": "delete", "requestPath": "/repos/{owner}/{repo}/contents/{path}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -33072,21 +33265,21 @@ }, { "name": "path", - "description": "path+ parameter", + "description": "path parameter", "in": "path", "required": true, "schema": { "type": "string" }, "x-multi-segment": true, - "descriptionHTML": "

    path+ parameter

    " + "descriptionHTML": "

    path parameter

    " } ], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/contents/PATH \\\n -d '{\"message\":\"message\",\"sha\":\"sha\"}'", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/contents/PATH \\\n  -d '{\"message\":\"message\",\"sha\":\"sha\"}'
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/contents/PATH \\\n -d '{\"message\":\"message\",\"sha\":\"sha\"}'", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/contents/PATH \\\n  -d '{\"message\":\"message\",\"sha\":\"sha\"}'
    " }, { "lang": "JavaScript", @@ -33449,7 +33642,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/contributors", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -33503,8 +33696,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/contributors", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/contributors
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/contributors", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/contributors
    " }, { "lang": "JavaScript", @@ -33562,7 +33755,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/deployments", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -33622,7 +33815,8 @@ "required": false, "schema": { "type": "string", - "default": "none" + "default": "none", + "nullable": true }, "descriptionHTML": "

    The name of the environment that was deployed to (e.g., staging or production).

    " }, @@ -33650,8 +33844,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/deployments", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/deployments
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/deployments", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/deployments
    " }, { "lang": "JavaScript", @@ -33703,7 +33897,7 @@ { "verb": "post", "requestPath": "/repos/{owner}/{repo}/deployments", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -33727,8 +33921,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/deployments \\\n -d '{\"ref\":\"ref\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/deployments \\\n  -d '{\"ref\":\"ref\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/deployments \\\n -d '{\"ref\":\"ref\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/deployments \\\n  -d '{\"ref\":\"ref\"}'
    " }, { "lang": "JavaScript", @@ -34027,12 +34221,6 @@ "description": "Simple example", "payload": "
    {\n  \"url\": \"https://api.github.com/repos/octocat/example/deployments/1\",\n  \"id\": 1,\n  \"node_id\": \"MDEwOkRlcGxveW1lbnQx\",\n  \"sha\": \"a84d88e7554fc1fa21bcbc4efae3c782a70d2b9d\",\n  \"ref\": \"topic-branch\",\n  \"task\": \"deploy\",\n  \"payload\": {},\n  \"original_environment\": \"staging\",\n  \"environment\": \"production\",\n  \"description\": \"Deploy request from hubot\",\n  \"creator\": {\n    \"login\": \"octocat\",\n    \"id\": 1,\n    \"node_id\": \"MDQ6VXNlcjE=\",\n    \"avatar_url\": \"https://github.com/images/error/octocat_happy.gif\",\n    \"gravatar_id\": \"\",\n    \"url\": \"https://api.github.com/users/octocat\",\n    \"html_url\": \"https://github.com/octocat\",\n    \"followers_url\": \"https://api.github.com/users/octocat/followers\",\n    \"following_url\": \"https://api.github.com/users/octocat/following{/other_user}\",\n    \"gists_url\": \"https://api.github.com/users/octocat/gists{/gist_id}\",\n    \"starred_url\": \"https://api.github.com/users/octocat/starred{/owner}{/repo}\",\n    \"subscriptions_url\": \"https://api.github.com/users/octocat/subscriptions\",\n    \"organizations_url\": \"https://api.github.com/users/octocat/orgs\",\n    \"repos_url\": \"https://api.github.com/users/octocat/repos\",\n    \"events_url\": \"https://api.github.com/users/octocat/events{/privacy}\",\n    \"received_events_url\": \"https://api.github.com/users/octocat/received_events\",\n    \"type\": \"User\",\n    \"site_admin\": false\n  },\n  \"created_at\": \"2012-07-20T01:19:13Z\",\n  \"updated_at\": \"2012-07-20T01:19:13Z\",\n  \"statuses_url\": \"https://api.github.com/repos/octocat/example/deployments/1/statuses\",\n  \"repository_url\": \"https://api.github.com/repos/octocat/example\",\n  \"transient_environment\": false,\n  \"production_environment\": true\n}\n
    " }, - { - "httpStatusCode": "201", - "httpStatusMessage": "Created", - "description": "Advanced example", - "payload": "
    {\n  \"url\": \"https://api.github.com/repos/octocat/example/deployments/1\",\n  \"id\": 1,\n  \"node_id\": \"MDEwOkRlcGxveW1lbnQx\",\n  \"sha\": \"a84d88e7554fc1fa21bcbc4efae3c782a70d2b9d\",\n  \"ref\": \"topic-branch\",\n  \"task\": \"deploy\",\n  \"payload\": {},\n  \"original_environment\": \"staging\",\n  \"environment\": \"production\",\n  \"description\": \"Deploy request from hubot\",\n  \"creator\": {\n    \"login\": \"octocat\",\n    \"id\": 1,\n    \"node_id\": \"MDQ6VXNlcjE=\",\n    \"avatar_url\": \"https://github.com/images/error/octocat_happy.gif\",\n    \"gravatar_id\": \"\",\n    \"url\": \"https://api.github.com/users/octocat\",\n    \"html_url\": \"https://github.com/octocat\",\n    \"followers_url\": \"https://api.github.com/users/octocat/followers\",\n    \"following_url\": \"https://api.github.com/users/octocat/following{/other_user}\",\n    \"gists_url\": \"https://api.github.com/users/octocat/gists{/gist_id}\",\n    \"starred_url\": \"https://api.github.com/users/octocat/starred{/owner}{/repo}\",\n    \"subscriptions_url\": \"https://api.github.com/users/octocat/subscriptions\",\n    \"organizations_url\": \"https://api.github.com/users/octocat/orgs\",\n    \"repos_url\": \"https://api.github.com/users/octocat/repos\",\n    \"events_url\": \"https://api.github.com/users/octocat/events{/privacy}\",\n    \"received_events_url\": \"https://api.github.com/users/octocat/received_events\",\n    \"type\": \"User\",\n    \"site_admin\": false\n  },\n  \"created_at\": \"2012-07-20T01:19:13Z\",\n  \"updated_at\": \"2012-07-20T01:19:13Z\",\n  \"statuses_url\": \"https://api.github.com/repos/octocat/example/deployments/1/statuses\",\n  \"repository_url\": \"https://api.github.com/repos/octocat/example\",\n  \"transient_environment\": false,\n  \"production_environment\": true\n}\n
    " - }, { "httpStatusCode": "202", "httpStatusMessage": "Accepted", @@ -34042,14 +34230,7 @@ { "httpStatusCode": "409", "httpStatusMessage": "Conflict", - "description": "Merge conflict response", - "payload": "
    {\n  \"message\": \"Conflict merging master into topic-branch\"\n}\n
    " - }, - { - "httpStatusCode": "409", - "httpStatusMessage": "Conflict", - "description": "Failed commit status checks", - "payload": "
    {\n  \"message\": \"Conflict: Commit status checks failed for topic-branch.\"\n}\n
    " + "description": "Response when there is a merge conflict or the commit s status checks failed" }, { "httpStatusCode": "422", @@ -34061,7 +34242,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/deployments/{deployment_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -34095,8 +34276,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/deployments/42", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/deployments/42
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/deployments/42", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/deployments/42
    " }, { "lang": "JavaScript", @@ -34159,7 +34340,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/deployments/{deployment_id}/statuses", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -34213,8 +34394,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/deployments/42/statuses", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/deployments/42/statuses
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/deployments/42/statuses", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/deployments/42/statuses
    " }, { "lang": "JavaScript", @@ -34277,7 +34458,7 @@ { "verb": "post", "requestPath": "/repos/{owner}/{repo}/deployments/{deployment_id}/statuses", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -34311,8 +34492,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/deployments/42/statuses \\\n -d '{\"state\":\"state\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/deployments/42/statuses \\\n  -d '{\"state\":\"state\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/deployments/42/statuses \\\n -d '{\"state\":\"state\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/deployments/42/statuses \\\n  -d '{\"state\":\"state\"}'
    " }, { "lang": "JavaScript", @@ -34558,7 +34739,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/deployments/{deployment_id}/statuses/{status_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -34601,8 +34782,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/deployments/42/statuses/42", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/deployments/42/statuses/42
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/deployments/42/statuses/42", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/deployments/42/statuses/42
    " }, { "lang": "JavaScript", @@ -34676,7 +34857,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/events", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -34720,8 +34901,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/events", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/events
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/events", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/events
    " }, { "lang": "JavaScript", @@ -34765,7 +34946,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/forks", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -34795,7 +34976,8 @@ "enum": [ "newest", "oldest", - "stargazers" + "stargazers", + "watchers" ], "default": "newest" }, @@ -34820,13 +35002,35 @@ "default": 1 }, "descriptionHTML": "

    Page number of the results to fetch.

    " + }, + { + "name": "org", + "description": "legacy query parameter for specifying the org.", + "in": "query", + "deprecated": true, + "required": false, + "schema": { + "type": "string" + }, + "descriptionHTML": "

    legacy query parameter for specifying the org.

    " + }, + { + "name": "organization", + "description": "legacy query parameter for specifying the org.", + "in": "query", + "deprecated": true, + "required": false, + "schema": { + "type": "string" + }, + "descriptionHTML": "

    legacy query parameter for specifying the org.

    " } ], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/forks", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/forks
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/forks", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/forks
    " }, { "lang": "JavaScript", @@ -34876,7 +35080,7 @@ { "verb": "post", "requestPath": "/repos/{owner}/{repo}/forks", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -34895,13 +35099,35 @@ "type": "string" }, "descriptionHTML": "" + }, + { + "name": "org", + "description": "legacy query parameter for specifying the org.", + "in": "query", + "deprecated": true, + "required": false, + "schema": { + "type": "string" + }, + "descriptionHTML": "

    legacy query parameter for specifying the org.

    " + }, + { + "name": "organization", + "description": "legacy query parameter for specifying the org.", + "in": "query", + "deprecated": true, + "required": false, + "schema": { + "type": "string" + }, + "descriptionHTML": "

    legacy query parameter for specifying the org.

    " } ], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/forks \\\n -d '{\"organization\":\"organization\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/forks \\\n  -d '{\"organization\":\"organization\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/forks \\\n -d '{\"organization\":\"organization\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/forks \\\n  -d '{\"organization\":\"organization\"}'
    " }, { "lang": "JavaScript", @@ -34924,6 +35150,7 @@ "application/json": { "schema": { "type": "object", + "nullable": true, "properties": { "organization": { "type": "string", @@ -34996,7 +35223,7 @@ { "verb": "post", "requestPath": "/repos/{owner}/{repo}/git/blobs", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -35020,8 +35247,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/git/blobs \\\n -d '{\"content\":\"content\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/git/blobs \\\n  -d '{\"content\":\"content\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/git/blobs \\\n -d '{\"content\":\"content\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/git/blobs \\\n  -d '{\"content\":\"content\"}'
    " }, { "lang": "JavaScript", @@ -35143,7 +35370,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/git/blobs/{file_sha}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -35176,8 +35403,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/git/blobs/FILE_SHA", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/git/blobs/FILE_SHA
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/git/blobs/FILE_SHA", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/git/blobs/FILE_SHA
    " }, { "lang": "JavaScript", @@ -35237,7 +35464,7 @@ { "verb": "post", "requestPath": "/repos/{owner}/{repo}/git/commits", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -35261,8 +35488,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/git/commits \\\n -d '{\"message\":\"message\",\"tree\":\"tree\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/git/commits \\\n  -d '{\"message\":\"message\",\"tree\":\"tree\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/git/commits \\\n -d '{\"message\":\"message\",\"tree\":\"tree\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/git/commits \\\n  -d '{\"message\":\"message\",\"tree\":\"tree\"}'
    " }, { "lang": "JavaScript", @@ -35716,7 +35943,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/git/commits/{commit_sha}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -35751,8 +35978,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/git/commits/COMMIT_SHA", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/git/commits/COMMIT_SHA
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/git/commits/COMMIT_SHA", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/git/commits/COMMIT_SHA
    " }, { "lang": "JavaScript", @@ -35802,7 +36029,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/git/matching-refs/{ref}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -35824,14 +36051,14 @@ }, { "name": "ref", - "description": "ref+ parameter", + "description": "ref parameter", "in": "path", "required": true, "schema": { "type": "string" }, "x-multi-segment": true, - "descriptionHTML": "

    ref+ parameter

    " + "descriptionHTML": "

    ref parameter

    " }, { "name": "per_page", @@ -35857,8 +36084,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/git/matching-refs/REF", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/git/matching-refs/REF
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/git/matching-refs/REF", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/git/matching-refs/REF
    " }, { "lang": "JavaScript", @@ -35903,7 +36130,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/git/ref/{ref}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -35925,21 +36152,21 @@ }, { "name": "ref", - "description": "ref+ parameter", + "description": "ref parameter", "in": "path", "required": true, "schema": { "type": "string" }, "x-multi-segment": true, - "descriptionHTML": "

    ref+ parameter

    " + "descriptionHTML": "

    ref parameter

    " } ], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/git/ref/REF", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/git/ref/REF
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/git/ref/REF", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/git/ref/REF
    " }, { "lang": "JavaScript", @@ -35989,7 +36216,7 @@ { "verb": "post", "requestPath": "/repos/{owner}/{repo}/git/refs", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -36013,8 +36240,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/git/refs \\\n -d '{\"ref\":\"ref\",\"sha\":\"sha\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/git/refs \\\n  -d '{\"ref\":\"ref\",\"sha\":\"sha\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/git/refs \\\n -d '{\"ref\":\"ref\",\"sha\":\"sha\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/git/refs \\\n  -d '{\"ref\":\"ref\",\"sha\":\"sha\"}'
    " }, { "lang": "JavaScript", @@ -36138,7 +36365,7 @@ { "verb": "patch", "requestPath": "/repos/{owner}/{repo}/git/refs/{ref}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -36160,21 +36387,21 @@ }, { "name": "ref", - "description": "ref+ parameter", + "description": "ref parameter", "in": "path", "required": true, "schema": { "type": "string" }, "x-multi-segment": true, - "descriptionHTML": "

    ref+ parameter

    " + "descriptionHTML": "

    ref parameter

    " } ], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/git/refs/REF \\\n -d '{\"sha\":\"sha\"}'", - "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/git/refs/REF \\\n  -d '{\"sha\":\"sha\"}'
    " + "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/git/refs/REF \\\n -d '{\"sha\":\"sha\"}'", + "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/git/refs/REF \\\n  -d '{\"sha\":\"sha\"}'
    " }, { "lang": "JavaScript", @@ -36281,7 +36508,7 @@ { "verb": "delete", "requestPath": "/repos/{owner}/{repo}/git/refs/{ref}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -36303,21 +36530,21 @@ }, { "name": "ref", - "description": "ref+ parameter", + "description": "ref parameter", "in": "path", "required": true, "schema": { "type": "string" }, "x-multi-segment": true, - "descriptionHTML": "

    ref+ parameter

    " + "descriptionHTML": "

    ref parameter

    " } ], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/git/refs/REF", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/git/refs/REF
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/git/refs/REF", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/git/refs/REF
    " }, { "lang": "JavaScript", @@ -36352,7 +36579,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "422", @@ -36366,7 +36593,7 @@ { "verb": "post", "requestPath": "/repos/{owner}/{repo}/git/tags", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -36390,8 +36617,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/git/tags \\\n -d '{\"tag\":\"tag\",\"message\":\"message\",\"object\":\"object\",\"type\":\"type\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/git/tags \\\n  -d '{\"tag\":\"tag\",\"message\":\"message\",\"object\":\"object\",\"type\":\"type\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/git/tags \\\n -d '{\"tag\":\"tag\",\"message\":\"message\",\"object\":\"object\",\"type\":\"type\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/git/tags \\\n  -d '{\"tag\":\"tag\",\"message\":\"message\",\"object\":\"object\",\"type\":\"type\"}'
    " }, { "lang": "JavaScript", @@ -36698,7 +36925,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/git/tags/{tag_sha}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -36731,8 +36958,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/git/tags/TAG_SHA", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/git/tags/TAG_SHA
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/git/tags/TAG_SHA", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/git/tags/TAG_SHA
    " }, { "lang": "JavaScript", @@ -36782,7 +37009,7 @@ { "verb": "post", "requestPath": "/repos/{owner}/{repo}/git/trees", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -36806,8 +37033,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/git/trees \\\n -d '{\"tree\":[{\"path\":\"path\",\"mode\":\"mode\",\"type\":\"type\",\"sha\":\"sha\",\"content\":\"content\"}]}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/git/trees \\\n  -d '{\"tree\":[{\"path\":\"path\",\"mode\":\"mode\",\"type\":\"type\",\"sha\":\"sha\",\"content\":\"content\"}]}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/git/trees \\\n -d '{\"tree\":[{\"path\":\"path\",\"mode\":\"mode\",\"type\":\"type\",\"sha\":\"sha\",\"content\":\"content\"}]}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/git/trees \\\n  -d '{\"tree\":[{\"path\":\"path\",\"mode\":\"mode\",\"type\":\"type\",\"sha\":\"sha\",\"content\":\"content\"}]}'
    " }, { "lang": "JavaScript", @@ -37187,7 +37414,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/git/trees/{tree_sha}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -37214,6 +37441,7 @@ "schema": { "type": "string" }, + "x-multi-segment": true, "descriptionHTML": "" }, { @@ -37230,8 +37458,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/git/trees/TREE_SHA", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/git/trees/TREE_SHA
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/git/trees/TREE_SHA", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/git/trees/TREE_SHA
    " }, { "lang": "JavaScript", @@ -37292,7 +37520,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/hooks", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -37336,8 +37564,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/hooks", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/hooks
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/hooks", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/hooks
    " }, { "lang": "JavaScript", @@ -37387,7 +37615,7 @@ { "verb": "post", "requestPath": "/repos/{owner}/{repo}/hooks", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -37411,8 +37639,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/hooks \\\n -d '{\"config\":{\"url\":\"url\",\"content_type\":\"content_type\",\"secret\":\"secret\",\"insecure_ssl\":\"insecure_ssl\",\"token\":\"token\",\"digest\":\"digest\"}}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/hooks \\\n  -d '{\"config\":{\"url\":\"url\",\"content_type\":\"content_type\",\"secret\":\"secret\",\"insecure_ssl\":\"insecure_ssl\",\"token\":\"token\",\"digest\":\"digest\"}}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/hooks \\\n -d '{\"config\":{\"url\":\"url\",\"content_type\":\"content_type\",\"secret\":\"secret\",\"insecure_ssl\":\"insecure_ssl\",\"token\":\"token\",\"digest\":\"digest\"}}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/hooks \\\n  -d '{\"config\":{\"url\":\"url\",\"content_type\":\"content_type\",\"secret\":\"secret\",\"insecure_ssl\":\"insecure_ssl\",\"token\":\"token\",\"digest\":\"digest\"}}'
    " }, { "lang": "JavaScript", @@ -37848,7 +38076,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/hooks/{hook_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -37881,8 +38109,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/hooks/42", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/hooks/42
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/hooks/42", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/hooks/42
    " }, { "lang": "JavaScript", @@ -37932,7 +38160,7 @@ { "verb": "patch", "requestPath": "/repos/{owner}/{repo}/hooks/{hook_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -37965,8 +38193,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/hooks/42 \\\n -d '{\"config\":{\"url\":\"url\",\"content_type\":\"content_type\",\"secret\":\"secret\",\"insecure_ssl\":\"insecure_ssl\",\"address\":\"address\",\"room\":\"room\"}}'", - "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/hooks/42 \\\n  -d '{\"config\":{\"url\":\"url\",\"content_type\":\"content_type\",\"secret\":\"secret\",\"insecure_ssl\":\"insecure_ssl\",\"address\":\"address\",\"room\":\"room\"}}'
    " + "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/hooks/42 \\\n -d '{\"config\":{\"url\":\"url\",\"content_type\":\"content_type\",\"secret\":\"secret\",\"insecure_ssl\":\"insecure_ssl\",\"address\":\"address\",\"room\":\"room\"}}'", + "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/hooks/42 \\\n  -d '{\"config\":{\"url\":\"url\",\"content_type\":\"content_type\",\"secret\":\"secret\",\"insecure_ssl\":\"insecure_ssl\",\"address\":\"address\",\"room\":\"room\"}}'
    " }, { "lang": "JavaScript", @@ -38417,7 +38645,7 @@ { "verb": "delete", "requestPath": "/repos/{owner}/{repo}/hooks/{hook_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -38450,8 +38678,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/hooks/42", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/hooks/42
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/hooks/42", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/hooks/42
    " }, { "lang": "JavaScript", @@ -38486,7 +38714,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "404", @@ -38500,7 +38728,7 @@ { "verb": "post", "requestPath": "/repos/{owner}/{repo}/hooks/{hook_id}/pings", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -38533,8 +38761,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/hooks/42/pings", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/hooks/42/pings
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/hooks/42/pings", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/hooks/42/pings
    " }, { "lang": "JavaScript", @@ -38569,7 +38797,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "404", @@ -38583,7 +38811,7 @@ { "verb": "post", "requestPath": "/repos/{owner}/{repo}/hooks/{hook_id}/tests", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -38616,8 +38844,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/hooks/42/tests", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/hooks/42/tests
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/hooks/42/tests", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/hooks/42/tests
    " }, { "lang": "JavaScript", @@ -38652,7 +38880,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "404", @@ -38666,7 +38894,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/installation", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "accept", @@ -38701,8 +38929,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.machine-man-preview+json\" \\\n https://api.github.com/repos/octocat/hello-world/installation", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.machine-man-preview+json\" \\\n  https://api.github.com/repos/octocat/hello-world/installation
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.machine-man-preview+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/installation", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.machine-man-preview+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/installation
    " }, { "lang": "JavaScript", @@ -38761,7 +38989,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/invitations", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -38805,8 +39033,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/invitations", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/invitations
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/invitations", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/invitations
    " }, { "lang": "JavaScript", @@ -38851,7 +39079,7 @@ { "verb": "patch", "requestPath": "/repos/{owner}/{repo}/invitations/{invitation_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -38885,8 +39113,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/invitations/42 \\\n -d '{\"permissions\":\"permissions\"}'", - "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/invitations/42 \\\n  -d '{\"permissions\":\"permissions\"}'
    " + "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/invitations/42 \\\n -d '{\"permissions\":\"permissions\"}'", + "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/invitations/42 \\\n  -d '{\"permissions\":\"permissions\"}'
    " }, { "lang": "JavaScript", @@ -38975,7 +39203,7 @@ { "verb": "delete", "requestPath": "/repos/{owner}/{repo}/invitations/{invitation_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -39009,8 +39237,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/invitations/42", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/invitations/42
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/invitations/42", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/invitations/42
    " }, { "lang": "JavaScript", @@ -39045,7 +39273,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "bodyParameters": [], @@ -39054,7 +39282,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/issues", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -39205,8 +39433,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/issues", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/issues
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues
    " }, { "lang": "JavaScript", @@ -39270,7 +39498,7 @@ { "verb": "post", "requestPath": "/repos/{owner}/{repo}/issues", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -39294,8 +39522,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/issues \\\n -d '{\"title\":\"title\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/issues \\\n  -d '{\"title\":\"title\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues \\\n -d '{\"title\":\"title\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues \\\n  -d '{\"title\":\"title\"}'
    " }, { "lang": "JavaScript", @@ -39586,7 +39814,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/issues/comments", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -39669,8 +39897,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/issues/comments", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/issues/comments
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues/comments", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues/comments
    " }, { "lang": "JavaScript", @@ -39732,7 +39960,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/issues/comments/{comment_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -39766,8 +39994,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/issues/comments/42", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/issues/comments/42
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues/comments/42", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues/comments/42
    " }, { "lang": "JavaScript", @@ -39824,7 +40052,7 @@ { "verb": "patch", "requestPath": "/repos/{owner}/{repo}/issues/comments/{comment_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -39858,8 +40086,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/issues/comments/42 \\\n -d '{\"body\":\"body\"}'", - "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/issues/comments/42 \\\n  -d '{\"body\":\"body\"}'
    " + "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues/comments/42 \\\n -d '{\"body\":\"body\"}'", + "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues/comments/42 \\\n  -d '{\"body\":\"body\"}'
    " }, { "lang": "JavaScript", @@ -39945,7 +40173,7 @@ { "verb": "delete", "requestPath": "/repos/{owner}/{repo}/issues/comments/{comment_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -39979,8 +40207,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/issues/comments/42", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/issues/comments/42
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues/comments/42", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues/comments/42
    " }, { "lang": "JavaScript", @@ -40015,7 +40243,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "bodyParameters": [], @@ -40024,7 +40252,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/issues/comments/{comment_id}/reactions", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -40098,8 +40326,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n https://api.github.com/repos/octocat/hello-world/issues/comments/42/reactions", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n  https://api.github.com/repos/octocat/hello-world/issues/comments/42/reactions
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues/comments/42/reactions", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues/comments/42/reactions
    " }, { "lang": "JavaScript", @@ -40159,7 +40387,7 @@ { "verb": "post", "requestPath": "/repos/{owner}/{repo}/issues/comments/{comment_id}/reactions", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -40193,8 +40421,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n https://api.github.com/repos/octocat/hello-world/issues/comments/42/reactions \\\n -d '{\"content\":\"content\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n  https://api.github.com/repos/octocat/hello-world/issues/comments/42/reactions \\\n  -d '{\"content\":\"content\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues/comments/42/reactions \\\n -d '{\"content\":\"content\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues/comments/42/reactions \\\n  -d '{\"content\":\"content\"}'
    " }, { "lang": "JavaScript", @@ -40316,7 +40544,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/issues/events", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -40360,8 +40588,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/issues/events", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/issues/events
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues/events", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues/events
    " }, { "lang": "JavaScript", @@ -40424,7 +40652,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/issues/events/{event_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -40457,8 +40685,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/issues/events/42", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/issues/events/42
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues/events/42", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues/events/42
    " }, { "lang": "JavaScript", @@ -40537,7 +40765,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/issues/{issue_number}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -40571,8 +40799,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/issues/42", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/issues/42
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues/42", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues/42
    " }, { "lang": "JavaScript", @@ -40642,7 +40870,7 @@ { "verb": "patch", "requestPath": "/repos/{owner}/{repo}/issues/{issue_number}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -40676,8 +40904,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/issues/42 \\\n -d '{\"title\":\"title\"}'", - "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/issues/42 \\\n  -d '{\"title\":\"title\"}'
    " + "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues/42 \\\n -d '{\"title\":\"title\"}'", + "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues/42 \\\n  -d '{\"title\":\"title\"}'
    " }, { "lang": "JavaScript", @@ -41002,7 +41230,7 @@ { "verb": "post", "requestPath": "/repos/{owner}/{repo}/issues/{issue_number}/assignees", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -41036,8 +41264,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/issues/42/assignees \\\n -d '{\"assignees\":[\"assignees\"]}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/issues/42/assignees \\\n  -d '{\"assignees\":[\"assignees\"]}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues/42/assignees \\\n -d '{\"assignees\":[\"assignees\"]}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues/42/assignees \\\n  -d '{\"assignees\":[\"assignees\"]}'
    " }, { "lang": "JavaScript", @@ -41124,7 +41352,7 @@ { "verb": "delete", "requestPath": "/repos/{owner}/{repo}/issues/{issue_number}/assignees", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -41158,8 +41386,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/issues/42/assignees \\\n -d '{\"assignees\":[\"assignees\"]}'", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/issues/42/assignees \\\n  -d '{\"assignees\":[\"assignees\"]}'
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues/42/assignees \\\n -d '{\"assignees\":[\"assignees\"]}'", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues/42/assignees \\\n  -d '{\"assignees\":[\"assignees\"]}'
    " }, { "lang": "JavaScript", @@ -41246,7 +41474,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/issues/{issue_number}/comments", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -41310,8 +41538,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/issues/42/comments", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/issues/42/comments
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues/42/comments", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues/42/comments
    " }, { "lang": "JavaScript", @@ -41373,7 +41601,7 @@ { "verb": "post", "requestPath": "/repos/{owner}/{repo}/issues/{issue_number}/comments", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -41407,8 +41635,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/issues/42/comments \\\n -d '{\"body\":\"body\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/issues/42/comments \\\n  -d '{\"body\":\"body\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues/42/comments \\\n -d '{\"body\":\"body\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues/42/comments \\\n  -d '{\"body\":\"body\"}'
    " }, { "lang": "JavaScript", @@ -41510,7 +41738,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/issues/{issue_number}/events", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -41564,8 +41792,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/issues/42/events", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/issues/42/events
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues/42/events", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues/42/events
    " }, { "lang": "JavaScript", @@ -41628,7 +41856,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/issues/{issue_number}/labels", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -41682,8 +41910,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/issues/42/labels", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/issues/42/labels
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues/42/labels", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues/42/labels
    " }, { "lang": "JavaScript", @@ -41733,7 +41961,7 @@ { "verb": "post", "requestPath": "/repos/{owner}/{repo}/issues/{issue_number}/labels", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -41767,8 +41995,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/issues/42/labels \\\n -d '{\"labels\":[\"labels\"]}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/issues/42/labels \\\n  -d '{\"labels\":[\"labels\"]}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues/42/labels \\\n -d '{\"labels\":[\"labels\"]}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues/42/labels \\\n  -d '{\"labels\":[\"labels\"]}'
    " }, { "lang": "JavaScript", @@ -41868,7 +42096,7 @@ { "verb": "put", "requestPath": "/repos/{owner}/{repo}/issues/{issue_number}/labels", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -41902,8 +42130,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/issues/42/labels \\\n -d '{\"labels\":[\"labels\"]}'", - "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/issues/42/labels \\\n  -d '{\"labels\":[\"labels\"]}'
    " + "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues/42/labels \\\n -d '{\"labels\":[\"labels\"]}'", + "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues/42/labels \\\n  -d '{\"labels\":[\"labels\"]}'
    " }, { "lang": "JavaScript", @@ -42000,7 +42228,7 @@ { "verb": "delete", "requestPath": "/repos/{owner}/{repo}/issues/{issue_number}/labels", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -42034,8 +42262,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/issues/42/labels", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/issues/42/labels
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues/42/labels", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues/42/labels
    " }, { "lang": "JavaScript", @@ -42070,7 +42298,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "410", @@ -42084,7 +42312,7 @@ { "verb": "delete", "requestPath": "/repos/{owner}/{repo}/issues/{issue_number}/labels/{name}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -42127,8 +42355,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/issues/42/labels/NAME", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/issues/42/labels/NAME
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues/42/labels/NAME", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues/42/labels/NAME
    " }, { "lang": "JavaScript", @@ -42183,7 +42411,7 @@ { "verb": "put", "requestPath": "/repos/{owner}/{repo}/issues/{issue_number}/lock", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -42217,8 +42445,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/issues/42/lock \\\n -d '{\"lock_reason\":\"lock_reason\"}'", - "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/issues/42/lock \\\n  -d '{\"lock_reason\":\"lock_reason\"}'
    " + "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues/42/lock \\\n -d '{\"lock_reason\":\"lock_reason\"}'", + "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues/42/lock \\\n  -d '{\"lock_reason\":\"lock_reason\"}'
    " }, { "lang": "JavaScript", @@ -42284,7 +42512,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "403", @@ -42329,7 +42557,7 @@ { "verb": "delete", "requestPath": "/repos/{owner}/{repo}/issues/{issue_number}/lock", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -42363,8 +42591,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/issues/42/lock", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/issues/42/lock
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues/42/lock", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues/42/lock
    " }, { "lang": "JavaScript", @@ -42397,7 +42625,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "403", @@ -42416,7 +42644,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/issues/{issue_number}/reactions", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -42490,8 +42718,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n https://api.github.com/repos/octocat/hello-world/issues/42/reactions", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n  https://api.github.com/repos/octocat/hello-world/issues/42/reactions
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues/42/reactions", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues/42/reactions
    " }, { "lang": "JavaScript", @@ -42556,7 +42784,7 @@ { "verb": "post", "requestPath": "/repos/{owner}/{repo}/issues/{issue_number}/reactions", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -42590,8 +42818,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n https://api.github.com/repos/octocat/hello-world/issues/42/reactions \\\n -d '{\"content\":\"content\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n  https://api.github.com/repos/octocat/hello-world/issues/42/reactions \\\n  -d '{\"content\":\"content\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues/42/reactions \\\n -d '{\"content\":\"content\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues/42/reactions \\\n  -d '{\"content\":\"content\"}'
    " }, { "lang": "JavaScript", @@ -42707,7 +42935,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/issues/{issue_number}/timeline", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -42761,8 +42989,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.mockingbird-preview+json\" \\\n https://api.github.com/repos/octocat/hello-world/issues/42/timeline", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.mockingbird-preview+json\" \\\n  https://api.github.com/repos/octocat/hello-world/issues/42/timeline
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.mockingbird-preview+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues/42/timeline", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.mockingbird-preview+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues/42/timeline
    " }, { "lang": "JavaScript", @@ -42835,7 +43063,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/keys", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -42879,8 +43107,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/keys", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/keys
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/keys", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/keys
    " }, { "lang": "JavaScript", @@ -42925,7 +43153,7 @@ { "verb": "post", "requestPath": "/repos/{owner}/{repo}/keys", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -42949,8 +43177,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/keys \\\n -d '{\"key\":\"key\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/keys \\\n  -d '{\"key\":\"key\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/keys \\\n -d '{\"key\":\"key\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/keys \\\n  -d '{\"key\":\"key\"}'
    " }, { "lang": "JavaScript", @@ -43074,7 +43302,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/keys/{key_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -43108,8 +43336,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/keys/42", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/keys/42
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/keys/42", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/keys/42
    " }, { "lang": "JavaScript", @@ -43159,7 +43387,7 @@ { "verb": "delete", "requestPath": "/repos/{owner}/{repo}/keys/{key_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -43193,8 +43421,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/keys/42", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/keys/42
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/keys/42", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/keys/42
    " }, { "lang": "JavaScript", @@ -43229,7 +43457,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "bodyParameters": [], @@ -43238,7 +43466,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/labels", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -43282,8 +43510,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/labels", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/labels
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/labels", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/labels
    " }, { "lang": "JavaScript", @@ -43333,7 +43561,7 @@ { "verb": "post", "requestPath": "/repos/{owner}/{repo}/labels", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -43357,8 +43585,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/labels \\\n -d '{\"name\":\"name\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/labels \\\n  -d '{\"name\":\"name\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/labels \\\n -d '{\"name\":\"name\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/labels \\\n  -d '{\"name\":\"name\"}'
    " }, { "lang": "JavaScript", @@ -43384,11 +43612,11 @@ "properties": { "name": { "type": "string", - "description": "

    Required. The name of the label. Emoji can be added to label names, using either native emoji or colon-style markup. For example, typing :strawberry: will render the emoji \":strawberry:\". For a full list of available emoji and codes, see emoji-cheat-sheet.com.

    ", + "description": "

    Required. The name of the label. Emoji can be added to label names, using either native emoji or colon-style markup. For example, typing :strawberry: will render the emoji \":strawberry:\". For a full list of available emoji and codes, see \"Emoji cheat sheet.\"

    ", "name": "name", "in": "body", "rawType": "string", - "rawDescription": "The name of the label. Emoji can be added to label names, using either native emoji or colon-style markup. For example, typing `:strawberry:` will render the emoji ![:strawberry:](https://github.githubassets.com/images/icons/emoji/unicode/1f353.png \":strawberry:\"). For a full list of available emoji and codes, see [emoji-cheat-sheet.com](http://emoji-cheat-sheet.com/).", + "rawDescription": "The name of the label. Emoji can be added to label names, using either native emoji or colon-style markup. For example, typing `:strawberry:` will render the emoji ![:strawberry:](https://github.githubassets.com/images/icons/emoji/unicode/1f353.png \":strawberry:\"). For a full list of available emoji and codes, see \"[Emoji cheat sheet](https://github.com/ikatyang/emoji-cheat-sheet).\"", "childParamsGroups": [] }, "color": { @@ -43439,11 +43667,11 @@ "bodyParameters": [ { "type": "string", - "description": "

    Required. The name of the label. Emoji can be added to label names, using either native emoji or colon-style markup. For example, typing :strawberry: will render the emoji \":strawberry:\". For a full list of available emoji and codes, see emoji-cheat-sheet.com.

    ", + "description": "

    Required. The name of the label. Emoji can be added to label names, using either native emoji or colon-style markup. For example, typing :strawberry: will render the emoji \":strawberry:\". For a full list of available emoji and codes, see \"Emoji cheat sheet.\"

    ", "name": "name", "in": "body", "rawType": "string", - "rawDescription": "The name of the label. Emoji can be added to label names, using either native emoji or colon-style markup. For example, typing `:strawberry:` will render the emoji ![:strawberry:](https://github.githubassets.com/images/icons/emoji/unicode/1f353.png \":strawberry:\"). For a full list of available emoji and codes, see [emoji-cheat-sheet.com](http://emoji-cheat-sheet.com/).", + "rawDescription": "The name of the label. Emoji can be added to label names, using either native emoji or colon-style markup. For example, typing `:strawberry:` will render the emoji ![:strawberry:](https://github.githubassets.com/images/icons/emoji/unicode/1f353.png \":strawberry:\"). For a full list of available emoji and codes, see \"[Emoji cheat sheet](https://github.com/ikatyang/emoji-cheat-sheet).\"", "childParamsGroups": [] }, { @@ -43487,7 +43715,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/labels/{name}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -43520,8 +43748,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/labels/NAME", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/labels/NAME
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/labels/NAME", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/labels/NAME
    " }, { "lang": "JavaScript", @@ -43571,7 +43799,7 @@ { "verb": "patch", "requestPath": "/repos/{owner}/{repo}/labels/{name}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -43604,8 +43832,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/labels/NAME \\\n -d '{\"new_name\":\"new_name\"}'", - "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/labels/NAME \\\n  -d '{\"new_name\":\"new_name\"}'
    " + "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/labels/NAME \\\n -d '{\"new_name\":\"new_name\"}'", + "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/labels/NAME \\\n  -d '{\"new_name\":\"new_name\"}'
    " }, { "lang": "JavaScript", @@ -43631,11 +43859,11 @@ "properties": { "new_name": { "type": "string", - "description": "

    The new name of the label. Emoji can be added to label names, using either native emoji or colon-style markup. For example, typing :strawberry: will render the emoji \":strawberry:\". For a full list of available emoji and codes, see emoji-cheat-sheet.com.

    ", + "description": "

    The new name of the label. Emoji can be added to label names, using either native emoji or colon-style markup. For example, typing :strawberry: will render the emoji \":strawberry:\". For a full list of available emoji and codes, see \"Emoji cheat sheet.\"

    ", "name": "new_name", "in": "body", "rawType": "string", - "rawDescription": "The new name of the label. Emoji can be added to label names, using either native emoji or colon-style markup. For example, typing `:strawberry:` will render the emoji ![:strawberry:](https://github.githubassets.com/images/icons/emoji/unicode/1f353.png \":strawberry:\"). For a full list of available emoji and codes, see [emoji-cheat-sheet.com](http://emoji-cheat-sheet.com/).", + "rawDescription": "The new name of the label. Emoji can be added to label names, using either native emoji or colon-style markup. For example, typing `:strawberry:` will render the emoji ![:strawberry:](https://github.githubassets.com/images/icons/emoji/unicode/1f353.png \":strawberry:\"). For a full list of available emoji and codes, see \"[Emoji cheat sheet](https://github.com/ikatyang/emoji-cheat-sheet).\"", "childParamsGroups": [] }, "color": { @@ -43683,11 +43911,11 @@ "bodyParameters": [ { "type": "string", - "description": "

    The new name of the label. Emoji can be added to label names, using either native emoji or colon-style markup. For example, typing :strawberry: will render the emoji \":strawberry:\". For a full list of available emoji and codes, see emoji-cheat-sheet.com.

    ", + "description": "

    The new name of the label. Emoji can be added to label names, using either native emoji or colon-style markup. For example, typing :strawberry: will render the emoji \":strawberry:\". For a full list of available emoji and codes, see \"Emoji cheat sheet.\"

    ", "name": "new_name", "in": "body", "rawType": "string", - "rawDescription": "The new name of the label. Emoji can be added to label names, using either native emoji or colon-style markup. For example, typing `:strawberry:` will render the emoji ![:strawberry:](https://github.githubassets.com/images/icons/emoji/unicode/1f353.png \":strawberry:\"). For a full list of available emoji and codes, see [emoji-cheat-sheet.com](http://emoji-cheat-sheet.com/).", + "rawDescription": "The new name of the label. Emoji can be added to label names, using either native emoji or colon-style markup. For example, typing `:strawberry:` will render the emoji ![:strawberry:](https://github.githubassets.com/images/icons/emoji/unicode/1f353.png \":strawberry:\"). For a full list of available emoji and codes, see \"[Emoji cheat sheet](https://github.com/ikatyang/emoji-cheat-sheet).\"", "childParamsGroups": [] }, { @@ -43721,7 +43949,7 @@ { "verb": "delete", "requestPath": "/repos/{owner}/{repo}/labels/{name}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -43754,8 +43982,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/labels/NAME", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/labels/NAME
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/labels/NAME", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/labels/NAME
    " }, { "lang": "JavaScript", @@ -43790,7 +44018,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "bodyParameters": [], @@ -43799,7 +44027,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/languages", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -43823,8 +44051,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/languages", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/languages
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/languages", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/languages
    " }, { "lang": "JavaScript", @@ -43867,7 +44095,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/license", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -43891,8 +44119,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/license", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/license
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/license", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/license
    " }, { "lang": "JavaScript", @@ -43935,7 +44163,7 @@ { "verb": "post", "requestPath": "/repos/{owner}/{repo}/merges", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -43959,8 +44187,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/merges \\\n -d '{\"base\":\"base\",\"head\":\"head\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/merges \\\n  -d '{\"base\":\"base\",\"head\":\"head\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/merges \\\n -d '{\"base\":\"base\",\"head\":\"head\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/merges \\\n  -d '{\"base\":\"base\",\"head\":\"head\"}'
    " }, { "lang": "JavaScript", @@ -44083,20 +44311,12 @@ { "httpStatusCode": "404", "httpStatusMessage": "Not Found", - "description": "Missing base response", - "payload": "
    {\n  \"message\": \"Base does not exist\"\n}\n
    " - }, - { - "httpStatusCode": "404", - "httpStatusMessage": "Not Found", - "description": "Missing head response", - "payload": "
    {\n  \"message\": \"Head does not exist\"\n}\n
    " + "description": "Response when the base or head does not exist" }, { "httpStatusCode": "409", "httpStatusMessage": "Conflict", - "description": "Merge conflict response", - "payload": "
    {\n  \"message\": \"Merge Conflict\"\n}\n
    " + "description": "Response when there is a merge conflict" }, { "httpStatusCode": "422", @@ -44108,7 +44328,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/milestones", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -44198,8 +44418,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/milestones", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/milestones
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/milestones", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/milestones
    " }, { "lang": "JavaScript", @@ -44249,7 +44469,7 @@ { "verb": "post", "requestPath": "/repos/{owner}/{repo}/milestones", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -44273,8 +44493,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/milestones \\\n -d '{\"title\":\"title\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/milestones \\\n  -d '{\"title\":\"title\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/milestones \\\n -d '{\"title\":\"title\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/milestones \\\n  -d '{\"title\":\"title\"}'
    " }, { "lang": "JavaScript", @@ -44432,7 +44652,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/milestones/{milestone_number}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -44466,8 +44686,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/milestones/42", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/milestones/42
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/milestones/42", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/milestones/42
    " }, { "lang": "JavaScript", @@ -44517,7 +44737,7 @@ { "verb": "patch", "requestPath": "/repos/{owner}/{repo}/milestones/{milestone_number}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -44551,8 +44771,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/milestones/42 \\\n -d '{\"title\":\"title\"}'", - "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/milestones/42 \\\n  -d '{\"title\":\"title\"}'
    " + "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/milestones/42 \\\n -d '{\"title\":\"title\"}'", + "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/milestones/42 \\\n  -d '{\"title\":\"title\"}'
    " }, { "lang": "JavaScript", @@ -44697,7 +44917,7 @@ { "verb": "delete", "requestPath": "/repos/{owner}/{repo}/milestones/{milestone_number}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -44731,8 +44951,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/milestones/42", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/milestones/42
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/milestones/42", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/milestones/42
    " }, { "lang": "JavaScript", @@ -44767,7 +44987,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "404", @@ -44781,7 +45001,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/milestones/{milestone_number}/labels", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -44835,8 +45055,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/milestones/42/labels", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/milestones/42/labels
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/milestones/42/labels", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/milestones/42/labels
    " }, { "lang": "JavaScript", @@ -44881,7 +45101,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/notifications", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -44967,8 +45187,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/notifications", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/notifications
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/notifications", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/notifications
    " }, { "lang": "JavaScript", @@ -45013,7 +45233,7 @@ { "verb": "put", "requestPath": "/repos/{owner}/{repo}/notifications", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -45037,8 +45257,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/notifications \\\n -d '{\"last_read_at\":\"last_read_at\"}'", - "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/notifications \\\n  -d '{\"last_read_at\":\"last_read_at\"}'
    " + "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/notifications \\\n -d '{\"last_read_at\":\"last_read_at\"}'", + "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/notifications \\\n  -d '{\"last_read_at\":\"last_read_at\"}'
    " }, { "lang": "JavaScript", @@ -45112,7 +45332,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/pages", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -45136,8 +45356,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/pages", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/pages
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/pages", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/pages
    " }, { "lang": "JavaScript", @@ -45187,7 +45407,7 @@ { "verb": "post", "requestPath": "/repos/{owner}/{repo}/pages", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -45211,8 +45431,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.switcheroo-preview+json\" \\\n https://api.github.com/repos/octocat/hello-world/pages \\\n -d '{\"source\":{\"branch\":\"branch\",\"path\":\"path\"}}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.switcheroo-preview+json\" \\\n  https://api.github.com/repos/octocat/hello-world/pages \\\n  -d '{\"source\":{\"branch\":\"branch\",\"path\":\"path\"}}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.switcheroo-preview+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/pages \\\n -d '{\"source\":{\"branch\":\"branch\",\"path\":\"path\"}}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.switcheroo-preview+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/pages \\\n  -d '{\"source\":{\"branch\":\"branch\",\"path\":\"path\"}}'
    " }, { "lang": "JavaScript", @@ -45453,7 +45673,7 @@ { "verb": "put", "requestPath": "/repos/{owner}/{repo}/pages", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -45477,8 +45697,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/pages \\\n -d '{\"public\":true}'", - "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/pages \\\n  -d '{\"public\":true}'
    " + "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/pages \\\n -d '{\"public\":true}'", + "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/pages \\\n  -d '{\"public\":true}'
    " }, { "lang": "JavaScript", @@ -45583,7 +45803,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "400", @@ -45659,7 +45879,7 @@ { "verb": "delete", "requestPath": "/repos/{owner}/{repo}/pages", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -45683,8 +45903,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.switcheroo-preview+json\" \\\n https://api.github.com/repos/octocat/hello-world/pages", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.switcheroo-preview+json\" \\\n  https://api.github.com/repos/octocat/hello-world/pages
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.switcheroo-preview+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/pages", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.switcheroo-preview+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/pages
    " }, { "lang": "JavaScript", @@ -45726,7 +45946,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "404", @@ -45750,7 +45970,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/pages/builds", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -45794,8 +46014,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/pages/builds", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/pages/builds
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/pages/builds", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/pages/builds
    " }, { "lang": "JavaScript", @@ -45840,7 +46060,7 @@ { "verb": "post", "requestPath": "/repos/{owner}/{repo}/pages/builds", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -45864,8 +46084,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/pages/builds", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/pages/builds
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/pages/builds", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/pages/builds
    " }, { "lang": "JavaScript", @@ -45910,7 +46130,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/pages/builds/latest", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -45934,8 +46154,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/pages/builds/latest", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/pages/builds/latest
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/pages/builds/latest", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/pages/builds/latest
    " }, { "lang": "JavaScript", @@ -45980,7 +46200,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/pages/builds/{build_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -46013,8 +46233,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/pages/builds/42", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/pages/builds/42
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/pages/builds/42", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/pages/builds/42
    " }, { "lang": "JavaScript", @@ -46059,7 +46279,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/pre-receive-hooks", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -46098,13 +46318,43 @@ "default": 1 }, "descriptionHTML": "

    Page number of the results to fetch.

    " + }, + { + "name": "direction", + "description": "One of `asc` (ascending) or `desc` (descending).", + "in": "query", + "required": false, + "schema": { + "type": "string", + "enum": [ + "asc", + "desc" + ], + "default": "desc" + }, + "descriptionHTML": "

    One of asc (ascending) or desc (descending).

    " + }, + { + "name": "sort", + "in": "query", + "required": false, + "schema": { + "type": "string", + "enum": [ + "created", + "updated", + "name" + ], + "default": "created" + }, + "descriptionHTML": "" } ], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n https://api.github.com/repos/octocat/hello-world/pre-receive-hooks", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n  https://api.github.com/repos/octocat/hello-world/pre-receive-hooks
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/pre-receive-hooks", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/pre-receive-hooks
    " }, { "lang": "JavaScript", @@ -46156,7 +46406,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/pre-receive-hooks/{pre_receive_hook_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -46189,8 +46439,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n https://api.github.com/repos/octocat/hello-world/pre-receive-hooks/42", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n  https://api.github.com/repos/octocat/hello-world/pre-receive-hooks/42
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/pre-receive-hooks/42", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/pre-receive-hooks/42
    " }, { "lang": "JavaScript", @@ -46242,7 +46492,7 @@ { "verb": "patch", "requestPath": "/repos/{owner}/{repo}/pre-receive-hooks/{pre_receive_hook_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -46275,8 +46525,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n https://api.github.com/repos/octocat/hello-world/pre-receive-hooks/42 \\\n -d '{\"enforcement\":\"enforcement\"}'", - "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n  https://api.github.com/repos/octocat/hello-world/pre-receive-hooks/42 \\\n  -d '{\"enforcement\":\"enforcement\"}'
    " + "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/pre-receive-hooks/42 \\\n -d '{\"enforcement\":\"enforcement\"}'", + "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/pre-receive-hooks/42 \\\n  -d '{\"enforcement\":\"enforcement\"}'
    " }, { "lang": "JavaScript", @@ -46361,7 +46611,7 @@ { "verb": "delete", "requestPath": "/repos/{owner}/{repo}/pre-receive-hooks/{pre_receive_hook_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -46394,8 +46644,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n https://api.github.com/repos/octocat/hello-world/pre-receive-hooks/42", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n  https://api.github.com/repos/octocat/hello-world/pre-receive-hooks/42
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/pre-receive-hooks/42", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/pre-receive-hooks/42
    " }, { "lang": "JavaScript", @@ -46447,7 +46697,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/projects", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -46507,8 +46757,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n https://api.github.com/repos/octocat/hello-world/projects", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  https://api.github.com/repos/octocat/hello-world/projects
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/projects", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/projects
    " }, { "lang": "JavaScript", @@ -46583,7 +46833,7 @@ { "verb": "post", "requestPath": "/repos/{owner}/{repo}/projects", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -46607,8 +46857,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n https://api.github.com/repos/octocat/hello-world/projects \\\n -d '{\"name\":\"name\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  https://api.github.com/repos/octocat/hello-world/projects \\\n  -d '{\"name\":\"name\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/projects \\\n -d '{\"name\":\"name\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/projects \\\n  -d '{\"name\":\"name\"}'
    " }, { "lang": "JavaScript", @@ -46738,7 +46988,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/pulls", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -46849,8 +47099,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/pulls", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/pulls
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/pulls", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/pulls
    " }, { "lang": "JavaScript", @@ -46915,7 +47165,7 @@ { "verb": "post", "requestPath": "/repos/{owner}/{repo}/pulls", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -46939,8 +47189,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/pulls \\\n -d '{\"head\":\"head\",\"base\":\"base\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/pulls \\\n  -d '{\"head\":\"head\",\"base\":\"base\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/pulls \\\n -d '{\"head\":\"head\",\"base\":\"base\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/pulls \\\n  -d '{\"head\":\"head\",\"base\":\"base\"}'
    " }, { "lang": "JavaScript", @@ -47154,7 +47404,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/pulls/comments", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -47176,18 +47426,17 @@ }, { "name": "sort", - "description": "One of `created` (when the repository was starred) or `updated` (when it was last pushed to).", "in": "query", "required": false, "schema": { "type": "string", "enum": [ "created", - "updated" - ], - "default": "created" + "updated", + "created_at" + ] }, - "descriptionHTML": "

    One of created (when the repository was starred) or updated (when it was last pushed to).

    " + "descriptionHTML": "" }, { "name": "direction", @@ -47237,8 +47486,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/pulls/comments", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/pulls/comments
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/pulls/comments", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/pulls/comments
    " }, { "lang": "JavaScript", @@ -47296,7 +47545,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/pulls/comments/{comment_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -47330,8 +47579,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/pulls/comments/42", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/pulls/comments/42
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/pulls/comments/42", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/pulls/comments/42
    " }, { "lang": "JavaScript", @@ -47394,7 +47643,7 @@ { "verb": "patch", "requestPath": "/repos/{owner}/{repo}/pulls/comments/{comment_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -47428,8 +47677,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/pulls/comments/42 \\\n -d '{\"body\":\"body\"}'", - "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/pulls/comments/42 \\\n  -d '{\"body\":\"body\"}'
    " + "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/pulls/comments/42 \\\n -d '{\"body\":\"body\"}'", + "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/pulls/comments/42 \\\n  -d '{\"body\":\"body\"}'
    " }, { "lang": "JavaScript", @@ -47517,7 +47766,7 @@ { "verb": "delete", "requestPath": "/repos/{owner}/{repo}/pulls/comments/{comment_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -47551,8 +47800,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/pulls/comments/42", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/pulls/comments/42
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/pulls/comments/42", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/pulls/comments/42
    " }, { "lang": "JavaScript", @@ -47587,7 +47836,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "404", @@ -47601,7 +47850,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/pulls/comments/{comment_id}/reactions", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -47675,8 +47924,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n https://api.github.com/repos/octocat/hello-world/pulls/comments/42/reactions", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n  https://api.github.com/repos/octocat/hello-world/pulls/comments/42/reactions
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/pulls/comments/42/reactions", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/pulls/comments/42/reactions
    " }, { "lang": "JavaScript", @@ -47736,7 +47985,7 @@ { "verb": "post", "requestPath": "/repos/{owner}/{repo}/pulls/comments/{comment_id}/reactions", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -47770,8 +48019,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n https://api.github.com/repos/octocat/hello-world/pulls/comments/42/reactions \\\n -d '{\"content\":\"content\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n  https://api.github.com/repos/octocat/hello-world/pulls/comments/42/reactions \\\n  -d '{\"content\":\"content\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/pulls/comments/42/reactions \\\n -d '{\"content\":\"content\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/pulls/comments/42/reactions \\\n  -d '{\"content\":\"content\"}'
    " }, { "lang": "JavaScript", @@ -47893,7 +48142,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/pulls/{pull_number}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -47926,8 +48175,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/pulls/42", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/pulls/42
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/pulls/42", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/pulls/42
    " }, { "lang": "JavaScript", @@ -47985,7 +48234,7 @@ { "verb": "patch", "requestPath": "/repos/{owner}/{repo}/pulls/{pull_number}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -48018,8 +48267,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/pulls/42 \\\n -d '{\"title\":\"title\"}'", - "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/pulls/42 \\\n  -d '{\"title\":\"title\"}'
    " + "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/pulls/42 \\\n -d '{\"title\":\"title\"}'", + "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/pulls/42 \\\n  -d '{\"title\":\"title\"}'
    " }, { "lang": "JavaScript", @@ -48200,7 +48449,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/pulls/{pull_number}/comments", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -48292,8 +48541,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/pulls/42/comments", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/pulls/42/comments
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/pulls/42/comments", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/pulls/42/comments
    " }, { "lang": "JavaScript", @@ -48351,7 +48600,7 @@ { "verb": "post", "requestPath": "/repos/{owner}/{repo}/pulls/{pull_number}/comments", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -48384,8 +48633,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/pulls/42/comments \\\n -d '{\"body\":\"body\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/pulls/42/comments \\\n  -d '{\"body\":\"body\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/pulls/42/comments \\\n -d '{\"body\":\"body\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/pulls/42/comments \\\n  -d '{\"body\":\"body\"}'
    " }, { "lang": "JavaScript", @@ -48667,7 +48916,7 @@ { "verb": "post", "requestPath": "/repos/{owner}/{repo}/pulls/{pull_number}/comments/{comment_id}/replies", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -48710,8 +48959,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/pulls/42/comments/42/replies \\\n -d '{\"body\":\"body\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/pulls/42/comments/42/replies \\\n  -d '{\"body\":\"body\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/pulls/42/comments/42/replies \\\n -d '{\"body\":\"body\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/pulls/42/comments/42/replies \\\n  -d '{\"body\":\"body\"}'
    " }, { "lang": "JavaScript", @@ -48798,7 +49047,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/pulls/{pull_number}/commits", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -48851,8 +49100,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/pulls/42/commits", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/pulls/42/commits
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/pulls/42/commits", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/pulls/42/commits
    " }, { "lang": "JavaScript", @@ -48895,7 +49144,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/pulls/{pull_number}/files", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -48948,8 +49197,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/pulls/42/files", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/pulls/42/files
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/pulls/42/files", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/pulls/42/files
    " }, { "lang": "JavaScript", @@ -49002,7 +49251,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/pulls/{pull_number}/merge", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -49035,8 +49284,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/pulls/42/merge", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/pulls/42/merge
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/pulls/42/merge", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/pulls/42/merge
    " }, { "lang": "JavaScript", @@ -49083,7 +49332,7 @@ { "verb": "put", "requestPath": "/repos/{owner}/{repo}/pulls/{pull_number}/merge", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -49116,8 +49365,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/pulls/42/merge \\\n -d '{\"commit_title\":\"commit_title\"}'", - "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/pulls/42/merge \\\n  -d '{\"commit_title\":\"commit_title\"}'
    " + "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/pulls/42/merge \\\n -d '{\"commit_title\":\"commit_title\"}'", + "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/pulls/42/merge \\\n  -d '{\"commit_title\":\"commit_title\"}'
    " }, { "lang": "JavaScript", @@ -49282,7 +49531,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/pulls/{pull_number}/requested_reviewers", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -49335,8 +49584,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/pulls/42/requested_reviewers", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/pulls/42/requested_reviewers
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/pulls/42/requested_reviewers", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/pulls/42/requested_reviewers
    " }, { "lang": "JavaScript", @@ -49381,7 +49630,7 @@ { "verb": "post", "requestPath": "/repos/{owner}/{repo}/pulls/{pull_number}/requested_reviewers", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -49414,8 +49663,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/pulls/42/requested_reviewers \\\n -d '{\"reviewers\":[\"reviewers\"]}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/pulls/42/requested_reviewers \\\n  -d '{\"reviewers\":[\"reviewers\"]}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/pulls/42/requested_reviewers \\\n -d '{\"reviewers\":[\"reviewers\"]}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/pulls/42/requested_reviewers \\\n  -d '{\"reviewers\":[\"reviewers\"]}'
    " }, { "lang": "JavaScript", @@ -49552,7 +49801,7 @@ { "verb": "delete", "requestPath": "/repos/{owner}/{repo}/pulls/{pull_number}/requested_reviewers", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -49585,8 +49834,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/pulls/42/requested_reviewers \\\n -d '{\"reviewers\":[\"reviewers\"]}'", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/pulls/42/requested_reviewers \\\n  -d '{\"reviewers\":[\"reviewers\"]}'
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/pulls/42/requested_reviewers \\\n -d '{\"reviewers\":[\"reviewers\"]}'", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/pulls/42/requested_reviewers \\\n  -d '{\"reviewers\":[\"reviewers\"]}'
    " }, { "lang": "JavaScript", @@ -49708,7 +49957,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/pulls/{pull_number}/reviews", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -49761,8 +50010,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/pulls/42/reviews", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/pulls/42/reviews
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/pulls/42/reviews", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/pulls/42/reviews
    " }, { "lang": "JavaScript", @@ -49807,7 +50056,7 @@ { "verb": "post", "requestPath": "/repos/{owner}/{repo}/pulls/{pull_number}/reviews", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -49840,8 +50089,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/pulls/42/reviews \\\n -d '{\"commit_id\":\"commit_id\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/pulls/42/reviews \\\n  -d '{\"commit_id\":\"commit_id\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/pulls/42/reviews \\\n -d '{\"commit_id\":\"commit_id\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/pulls/42/reviews \\\n  -d '{\"commit_id\":\"commit_id\"}'
    " }, { "lang": "JavaScript", @@ -50289,7 +50538,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -50332,8 +50581,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/pulls/42/reviews/42", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/pulls/42/reviews/42
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/pulls/42/reviews/42", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/pulls/42/reviews/42
    " }, { "lang": "JavaScript", @@ -50383,7 +50632,7 @@ { "verb": "put", "requestPath": "/repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -50426,8 +50675,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/pulls/42/reviews/42 \\\n -d '{\"body\":\"body\"}'", - "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/pulls/42/reviews/42 \\\n  -d '{\"body\":\"body\"}'
    " + "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/pulls/42/reviews/42 \\\n -d '{\"body\":\"body\"}'", + "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/pulls/42/reviews/42 \\\n  -d '{\"body\":\"body\"}'
    " }, { "lang": "JavaScript", @@ -50513,7 +50762,7 @@ { "verb": "delete", "requestPath": "/repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -50556,8 +50805,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/pulls/42/reviews/42", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/pulls/42/reviews/42
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/pulls/42/reviews/42", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/pulls/42/reviews/42
    " }, { "lang": "JavaScript", @@ -50612,7 +50861,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}/comments", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -50675,8 +50924,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/pulls/42/reviews/42/comments", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/pulls/42/reviews/42/comments
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/pulls/42/reviews/42/comments", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/pulls/42/reviews/42/comments
    " }, { "lang": "JavaScript", @@ -50726,7 +50975,7 @@ { "verb": "put", "requestPath": "/repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}/dismissals", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -50769,8 +51018,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/pulls/42/reviews/42/dismissals \\\n -d '{\"message\":\"message\"}'", - "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/pulls/42/reviews/42/dismissals \\\n  -d '{\"message\":\"message\"}'
    " + "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/pulls/42/reviews/42/dismissals \\\n -d '{\"message\":\"message\"}'", + "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/pulls/42/reviews/42/dismissals \\\n  -d '{\"message\":\"message\"}'
    " }, { "lang": "JavaScript", @@ -50876,7 +51125,7 @@ { "verb": "post", "requestPath": "/repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}/events", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -50919,8 +51168,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/pulls/42/reviews/42/events \\\n -d '{\"event\":\"event\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/pulls/42/reviews/42/events \\\n  -d '{\"event\":\"event\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/pulls/42/reviews/42/events \\\n -d '{\"event\":\"event\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/pulls/42/reviews/42/events \\\n  -d '{\"event\":\"event\"}'
    " }, { "lang": "JavaScript", @@ -51041,7 +51290,7 @@ { "verb": "put", "requestPath": "/repos/{owner}/{repo}/pulls/{pull_number}/update-branch", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -51074,8 +51323,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.lydian-preview+json\" \\\n https://api.github.com/repos/octocat/hello-world/pulls/42/update-branch \\\n -d '{\"expected_head_sha\":\"expected_head_sha\"}'", - "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.lydian-preview+json\" \\\n  https://api.github.com/repos/octocat/hello-world/pulls/42/update-branch \\\n  -d '{\"expected_head_sha\":\"expected_head_sha\"}'
    " + "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.lydian-preview+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/pulls/42/update-branch \\\n -d '{\"expected_head_sha\":\"expected_head_sha\"}'", + "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.lydian-preview+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/pulls/42/update-branch \\\n  -d '{\"expected_head_sha\":\"expected_head_sha\"}'
    " }, { "lang": "JavaScript", @@ -51174,7 +51423,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/readme", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -51208,8 +51457,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/readme", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/readme
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/readme", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/readme
    " }, { "lang": "JavaScript", @@ -51261,10 +51510,111 @@ } ] }, + { + "verb": "get", + "requestPath": "/repos/{owner}/{repo}/readme/{dir}", + "serverUrl": "http(s)://{hostname}/api/v3", + "parameters": [ + { + "name": "owner", + "in": "path", + "required": true, + "schema": { + "type": "string" + }, + "descriptionHTML": "" + }, + { + "name": "repo", + "in": "path", + "required": true, + "schema": { + "type": "string" + }, + "descriptionHTML": "" + }, + { + "name": "dir", + "description": "The alternate path to look for a README file", + "in": "path", + "required": true, + "schema": { + "type": "string" + }, + "x-multi-segment": true, + "descriptionHTML": "

    The alternate path to look for a README file

    " + }, + { + "name": "ref", + "description": "The name of the commit/branch/tag. Default: the repository’s default branch (usually `master`)", + "in": "query", + "required": false, + "schema": { + "type": "string" + }, + "descriptionHTML": "

    The name of the commit/branch/tag. Default: the repository’s default branch (usually master)

    " + } + ], + "x-codeSamples": [ + { + "lang": "Shell", + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/readme/DIR", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/readme/DIR
    " + }, + { + "lang": "JavaScript", + "source": "await octokit.request('GET /repos/{owner}/{repo}/readme/{dir}', {\n owner: 'octocat',\n repo: 'hello-world',\n dir: 'dir'\n})", + "html": "
    await octokit.request('GET /repos/{owner}/{repo}/readme/{dir}', {\n  owner: 'octocat',\n  repo: 'hello-world',\n  dir: 'dir'\n})\n
    " + } + ], + "summary": "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.", + "tags": [ + "repos" + ], + "operationId": "repos/get-readme-in-directory", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-server@2.20/rest/reference/repos#get-a-repository-directory-readme" + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "previews": [], + "category": "repos", + "subcategory": "contents" + }, + "slug": "get-a-repository-readme-for-a-directory", + "category": "repos", + "categoryLabel": "Repos", + "subcategory": "contents", + "subcategoryLabel": "Contents", + "notes": [], + "bodyParameters": [], + "descriptionHTML": "

    Gets the README from a repository directory.

    \n

    READMEs support custom media types for retrieving the raw content or rendered HTML.

    ", + "responses": [ + { + "httpStatusCode": "200", + "httpStatusMessage": "OK", + "description": "Default response", + "payload": "
    {\n  \"type\": \"file\",\n  \"encoding\": \"base64\",\n  \"size\": 5362,\n  \"name\": \"README.md\",\n  \"path\": \"README.md\",\n  \"content\": \"encoded content ...\",\n  \"sha\": \"3d21ec53a331a6f037a91c368710b99387d012c1\",\n  \"url\": \"https://api.github.com/repos/octokit/octokit.rb/contents/README.md\",\n  \"git_url\": \"https://api.github.com/repos/octokit/octokit.rb/git/blobs/3d21ec53a331a6f037a91c368710b99387d012c1\",\n  \"html_url\": \"https://github.com/octokit/octokit.rb/blob/master/README.md\",\n  \"download_url\": \"https://raw.githubusercontent.com/octokit/octokit.rb/master/README.md\",\n  \"_links\": {\n    \"git\": \"https://api.github.com/repos/octokit/octokit.rb/git/blobs/3d21ec53a331a6f037a91c368710b99387d012c1\",\n    \"self\": \"https://api.github.com/repos/octokit/octokit.rb/contents/README.md\",\n    \"html\": \"https://github.com/octokit/octokit.rb/blob/master/README.md\"\n  }\n}\n
    " + }, + { + "httpStatusCode": "404", + "httpStatusMessage": "Not Found", + "description": "Resource not found" + }, + { + "httpStatusCode": "422", + "httpStatusMessage": "Unprocessable Entity", + "description": "Validation failed" + } + ] + }, { "verb": "get", "requestPath": "/repos/{owner}/{repo}/releases", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -51308,8 +51658,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/releases", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/releases
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/releases", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/releases
    " }, { "lang": "JavaScript", @@ -51359,7 +51709,7 @@ { "verb": "post", "requestPath": "/repos/{owner}/{repo}/releases", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -51383,8 +51733,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/releases \\\n -d '{\"tag_name\":\"tag_name\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/releases \\\n  -d '{\"tag_name\":\"tag_name\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/releases \\\n -d '{\"tag_name\":\"tag_name\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/releases \\\n  -d '{\"tag_name\":\"tag_name\"}'
    " }, { "lang": "JavaScript", @@ -51570,7 +51920,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/releases/assets/{asset_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -51604,8 +51954,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/releases/assets/42", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/releases/assets/42
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/releases/assets/42", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/releases/assets/42
    " }, { "lang": "JavaScript", @@ -51665,7 +52015,7 @@ { "verb": "patch", "requestPath": "/repos/{owner}/{repo}/releases/assets/{asset_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -51699,8 +52049,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/releases/assets/42 \\\n -d '{\"name\":\"name\"}'", - "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/releases/assets/42 \\\n  -d '{\"name\":\"name\"}'
    " + "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/releases/assets/42 \\\n -d '{\"name\":\"name\"}'", + "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/releases/assets/42 \\\n  -d '{\"name\":\"name\"}'
    " }, { "lang": "JavaScript", @@ -51815,7 +52165,7 @@ { "verb": "delete", "requestPath": "/repos/{owner}/{repo}/releases/assets/{asset_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -51849,8 +52199,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/releases/assets/42", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/releases/assets/42
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/releases/assets/42", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/releases/assets/42
    " }, { "lang": "JavaScript", @@ -51885,7 +52235,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "bodyParameters": [], @@ -51894,7 +52244,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/releases/latest", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -51918,8 +52268,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/releases/latest", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/releases/latest
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/releases/latest", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/releases/latest
    " }, { "lang": "JavaScript", @@ -51964,7 +52314,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/releases/tags/{tag}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -51986,21 +52336,21 @@ }, { "name": "tag", - "description": "tag+ parameter", + "description": "tag parameter", "in": "path", "required": true, "schema": { "type": "string" }, "x-multi-segment": true, - "descriptionHTML": "

    tag+ parameter

    " + "descriptionHTML": "

    tag parameter

    " } ], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/releases/tags/TAG", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/releases/tags/TAG
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/releases/tags/TAG", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/releases/tags/TAG
    " }, { "lang": "JavaScript", @@ -52050,7 +52400,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/releases/{release_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -52084,8 +52434,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/releases/42", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/releases/42
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/releases/42", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/releases/42
    " }, { "lang": "JavaScript", @@ -52135,7 +52485,7 @@ { "verb": "patch", "requestPath": "/repos/{owner}/{repo}/releases/{release_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -52169,8 +52519,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/releases/42 \\\n -d '{\"tag_name\":\"tag_name\"}'", - "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/releases/42 \\\n  -d '{\"tag_name\":\"tag_name\"}'
    " + "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/releases/42 \\\n -d '{\"tag_name\":\"tag_name\"}'", + "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/releases/42 \\\n  -d '{\"tag_name\":\"tag_name\"}'
    " }, { "lang": "JavaScript", @@ -52343,7 +52693,7 @@ { "verb": "delete", "requestPath": "/repos/{owner}/{repo}/releases/{release_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -52377,8 +52727,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/releases/42", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/releases/42
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/releases/42", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/releases/42
    " }, { "lang": "JavaScript", @@ -52413,7 +52763,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "bodyParameters": [], @@ -52422,7 +52772,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/releases/{release_id}/assets", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -52476,8 +52826,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/releases/42/assets", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/releases/42/assets
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/releases/42/assets", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/releases/42/assets
    " }, { "lang": "JavaScript", @@ -52522,7 +52872,7 @@ { "verb": "post", "requestPath": "/repos/{owner}/{repo}/releases/{release_id}/assets", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -52572,8 +52922,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/releases/42/assets", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/releases/42/assets
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/releases/42/assets", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/releases/42/assets
    " }, { "lang": "JavaScript", @@ -52639,7 +52989,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/stargazers", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -52683,8 +53033,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/stargazers", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/stargazers
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/stargazers", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/stargazers
    " }, { "lang": "JavaScript", @@ -52734,7 +53084,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/stats/code_frequency", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -52758,8 +53108,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/stats/code_frequency", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/stats/code_frequency
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/stats/code_frequency", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/stats/code_frequency
    " }, { "lang": "JavaScript", @@ -52804,7 +53154,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/stats/commit_activity", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -52828,8 +53178,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/stats/commit_activity", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/stats/commit_activity
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/stats/commit_activity", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/stats/commit_activity
    " }, { "lang": "JavaScript", @@ -52874,7 +53224,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/stats/contributors", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -52898,8 +53248,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/stats/contributors", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/stats/contributors
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/stats/contributors", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/stats/contributors
    " }, { "lang": "JavaScript", @@ -52944,7 +53294,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/stats/participation", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -52968,8 +53318,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/stats/participation", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/stats/participation
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/stats/participation", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/stats/participation
    " }, { "lang": "JavaScript", @@ -53019,7 +53369,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/stats/punch_card", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -53043,8 +53393,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/stats/punch_card", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/stats/punch_card
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/stats/punch_card", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/stats/punch_card
    " }, { "lang": "JavaScript", @@ -53089,7 +53439,7 @@ { "verb": "post", "requestPath": "/repos/{owner}/{repo}/statuses/{sha}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -53123,8 +53473,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/statuses/SHA \\\n -d '{\"state\":\"state\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/statuses/SHA \\\n  -d '{\"state\":\"state\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/statuses/SHA \\\n -d '{\"state\":\"state\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/statuses/SHA \\\n  -d '{\"state\":\"state\"}'
    " }, { "lang": "JavaScript", @@ -53276,7 +53626,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/subscribers", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -53320,8 +53670,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/subscribers", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/subscribers
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/subscribers", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/subscribers
    " }, { "lang": "JavaScript", @@ -53366,7 +53716,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/subscription", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -53390,8 +53740,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/subscription", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/subscription
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/subscription", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/subscription
    " }, { "lang": "JavaScript", @@ -53446,7 +53796,7 @@ { "verb": "put", "requestPath": "/repos/{owner}/{repo}/subscription", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -53470,8 +53820,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/subscription \\\n -d '{\"subscribed\":true}'", - "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/subscription \\\n  -d '{\"subscribed\":true}'
    " + "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/subscription \\\n -d '{\"subscribed\":true}'", + "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/subscription \\\n  -d '{\"subscribed\":true}'
    " }, { "lang": "JavaScript", @@ -53564,7 +53914,7 @@ { "verb": "delete", "requestPath": "/repos/{owner}/{repo}/subscription", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -53588,8 +53938,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/subscription", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/subscription
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/subscription", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/subscription
    " }, { "lang": "JavaScript", @@ -53624,7 +53974,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "bodyParameters": [], @@ -53633,7 +53983,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/tags", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -53677,8 +54027,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/tags", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/tags
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/tags", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/tags
    " }, { "lang": "JavaScript", @@ -53721,7 +54071,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/tarball/{ref}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -53754,8 +54104,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/tarball/REF", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/tarball/REF
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/tarball/REF", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/tarball/REF
    " }, { "lang": "JavaScript", @@ -53799,7 +54149,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/teams", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -53843,8 +54193,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/teams", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/teams
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/teams", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/teams
    " }, { "lang": "JavaScript", @@ -53887,7 +54237,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/topics", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -53906,13 +54256,33 @@ "type": "string" }, "descriptionHTML": "" + }, + { + "name": "page", + "description": "Page number of the results to fetch.", + "in": "query", + "schema": { + "type": "integer", + "default": 1 + }, + "descriptionHTML": "

    Page number of the results to fetch.

    " + }, + { + "name": "per_page", + "description": "Results per page (max 100).", + "in": "query", + "schema": { + "type": "integer", + "default": 30 + }, + "descriptionHTML": "

    Results per page (max 100).

    " } ], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.mercy-preview+json\" \\\n https://api.github.com/repos/octocat/hello-world/topics", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.mercy-preview+json\" \\\n  https://api.github.com/repos/octocat/hello-world/topics
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.mercy-preview+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/topics", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.mercy-preview+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/topics
    " }, { "lang": "JavaScript", @@ -53972,7 +54342,7 @@ { "verb": "put", "requestPath": "/repos/{owner}/{repo}/topics", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -53996,8 +54366,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.mercy-preview+json\" \\\n https://api.github.com/repos/octocat/hello-world/topics \\\n -d '{\"names\":[\"names\"]}'", - "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.mercy-preview+json\" \\\n  https://api.github.com/repos/octocat/hello-world/topics \\\n  -d '{\"names\":[\"names\"]}'
    " + "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.mercy-preview+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/topics \\\n -d '{\"names\":[\"names\"]}'", + "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.mercy-preview+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/topics \\\n  -d '{\"names\":[\"names\"]}'
    " }, { "lang": "JavaScript", @@ -54109,7 +54479,7 @@ { "verb": "post", "requestPath": "/repos/{owner}/{repo}/transfer", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -54133,8 +54503,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/transfer \\\n -d '{\"new_owner\":\"new_owner\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/transfer \\\n  -d '{\"new_owner\":\"new_owner\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/transfer \\\n -d '{\"new_owner\":\"new_owner\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/transfer \\\n  -d '{\"new_owner\":\"new_owner\"}'
    " }, { "lang": "JavaScript", @@ -54241,7 +54611,7 @@ { "verb": "put", "requestPath": "/repos/{owner}/{repo}/vulnerability-alerts", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -54265,8 +54635,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.dorian-preview+json\" \\\n https://api.github.com/repos/octocat/hello-world/vulnerability-alerts", - "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.dorian-preview+json\" \\\n  https://api.github.com/repos/octocat/hello-world/vulnerability-alerts
    " + "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.dorian-preview+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/vulnerability-alerts", + "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.dorian-preview+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/vulnerability-alerts
    " }, { "lang": "JavaScript", @@ -54306,7 +54676,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "bodyParameters": [], @@ -54315,7 +54685,7 @@ { "verb": "delete", "requestPath": "/repos/{owner}/{repo}/vulnerability-alerts", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -54339,8 +54709,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.dorian-preview+json\" \\\n https://api.github.com/repos/octocat/hello-world/vulnerability-alerts", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.dorian-preview+json\" \\\n  https://api.github.com/repos/octocat/hello-world/vulnerability-alerts
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.dorian-preview+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/vulnerability-alerts", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.dorian-preview+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/vulnerability-alerts
    " }, { "lang": "JavaScript", @@ -54380,7 +54750,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "bodyParameters": [], @@ -54389,7 +54759,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/zipball/{ref}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -54422,8 +54792,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/zipball/REF", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/zipball/REF
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/zipball/REF", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/zipball/REF
    " }, { "lang": "JavaScript", @@ -54467,7 +54837,7 @@ { "verb": "post", "requestPath": "/repos/{template_owner}/{template_repo}/generate", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "template_owner", @@ -54491,8 +54861,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.baptiste-preview+json\" \\\n https://api.github.com/repos/TEMPLATE_OWNER/TEMPLATE_REPO/generate \\\n -d '{\"name\":\"name\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.baptiste-preview+json\" \\\n  https://api.github.com/repos/TEMPLATE_OWNER/TEMPLATE_REPO/generate \\\n  -d '{\"name\":\"name\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.baptiste-preview+json\" \\\n http(s)://{hostname}/api/v3/repos/TEMPLATE_OWNER/TEMPLATE_REPO/generate \\\n -d '{\"name\":\"name\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.baptiste-preview+json\" \\\n  http(s)://{hostname}/api/v3/repos/TEMPLATE_OWNER/TEMPLATE_REPO/generate \\\n  -d '{\"name\":\"name\"}'
    " }, { "lang": "JavaScript", @@ -54501,7 +54871,7 @@ } ], "summary": "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", + "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", "tags": [ "repos" ], @@ -54596,7 +54966,7 @@ "category": "repos", "categoryLabel": "Repos", "notes": [], - "descriptionHTML": "

    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 endpoint and check that the is_template key is true.

    \n

    OAuth scope requirements

    \n

    When using OAuth, 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
    ", + "descriptionHTML": "

    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 endpoint and check that the is_template key is true.

    \n

    OAuth scope requirements

    \n

    When using OAuth, 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
    ", "bodyParameters": [ { "type": "string", @@ -54658,7 +55028,7 @@ { "verb": "get", "requestPath": "/repositories", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "since", @@ -54672,7 +55042,7 @@ }, { "name": "visibility", - "description": "Specifies the types of repositories to return. Can be one of `all` or `public`. Default: `public`.", + "description": "Specifies the types of repositories to return. Can be one of `all` or `public`. Default: `public`. Note: For GitHub Enterprise Server and GitHub AE, this endpoint will only list repositories available to all users on the enterprise.", "in": "query", "required": false, "schema": { @@ -54684,14 +55054,14 @@ "public" ] }, - "descriptionHTML": "

    Specifies the types of repositories to return. Can be one of all or public. Default: public.

    " + "descriptionHTML": "

    Specifies the types of repositories to return. Can be one of all or public. Default: public. Note: For GitHub Enterprise Server and GitHub AE, this endpoint will only list repositories available to all users on the enterprise.

    " } ], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repositories", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repositories
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repositories", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repositories
    " }, { "lang": "JavaScript", @@ -54700,7 +55070,7 @@ } ], "summary": "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.", + "description": "Lists all public repositories in the order that they were created.\n\nNotes:\n- For GitHub Enterprise Server and GitHub AE, 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.", "tags": [ "repos" ], @@ -54721,7 +55091,7 @@ "categoryLabel": "Repos", "notes": [], "bodyParameters": [], - "descriptionHTML": "

    Lists all public repositories in the order that they were created.

    \n

    Note: Pagination is powered exclusively by the since parameter. Use the Link header to get the URL for the next page of repositories.

    ", + "descriptionHTML": "

    Lists all public repositories in the order that they were created.

    \n

    Notes:

    \n
      \n
    • For GitHub Enterprise Server and GitHub AE, 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 to get the URL for the next page of repositories.
    • \n
    ", "responses": [ { "httpStatusCode": "200", @@ -54744,7 +55114,7 @@ { "verb": "get", "requestPath": "/search/code", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "q", @@ -54808,8 +55178,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/search/code", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/search/code
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/search/code", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/search/code
    " }, { "lang": "JavaScript", @@ -54872,7 +55242,7 @@ { "verb": "get", "requestPath": "/search/commits", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "q", @@ -54937,8 +55307,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.cloak-preview+json\" \\\n https://api.github.com/search/commits", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.cloak-preview+json\" \\\n  https://api.github.com/search/commits
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.cloak-preview+json\" \\\n http(s)://{hostname}/api/v3/search/commits", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.cloak-preview+json\" \\\n  http(s)://{hostname}/api/v3/search/commits
    " }, { "lang": "JavaScript", @@ -54998,7 +55368,7 @@ { "verb": "get", "requestPath": "/search/issues", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "q", @@ -55072,8 +55442,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/search/issues", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/search/issues
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/search/issues", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/search/issues
    " }, { "lang": "JavaScript", @@ -55136,7 +55506,7 @@ { "verb": "get", "requestPath": "/search/labels", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "repository_id", @@ -55191,8 +55561,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/search/labels", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/search/labels
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/search/labels", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/search/labels
    " }, { "lang": "JavaScript", @@ -55255,7 +55625,7 @@ { "verb": "get", "requestPath": "/search/repositories", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "q", @@ -55322,8 +55692,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/search/repositories", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/search/repositories
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/search/repositories", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/search/repositories
    " }, { "lang": "JavaScript", @@ -55388,7 +55758,7 @@ { "verb": "get", "requestPath": "/search/topics", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "q", @@ -55404,8 +55774,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.mercy-preview+json\" \\\n https://api.github.com/search/topics", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.mercy-preview+json\" \\\n  https://api.github.com/search/topics
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.mercy-preview+json\" \\\n http(s)://{hostname}/api/v3/search/topics", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.mercy-preview+json\" \\\n  http(s)://{hostname}/api/v3/search/topics
    " }, { "lang": "JavaScript", @@ -55465,7 +55835,7 @@ { "verb": "get", "requestPath": "/search/users", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "q", @@ -55531,8 +55901,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/search/users", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/search/users
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/search/users", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/search/users
    " }, { "lang": "JavaScript", @@ -55590,13 +55960,13 @@ { "verb": "get", "requestPath": "/setup/api/configcheck", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/setup/api/configcheck", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/setup/api/configcheck
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/setup/api/configcheck", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/setup/api/configcheck
    " }, { "lang": "JavaScript", @@ -55641,13 +56011,13 @@ { "verb": "post", "requestPath": "/setup/api/configure", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/setup/api/configure", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/setup/api/configure
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/setup/api/configure", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/setup/api/configure
    " }, { "lang": "JavaScript", @@ -55691,13 +56061,13 @@ { "verb": "get", "requestPath": "/setup/api/maintenance", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/setup/api/maintenance", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/setup/api/maintenance
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/setup/api/maintenance", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/setup/api/maintenance
    " }, { "lang": "JavaScript", @@ -55742,13 +56112,13 @@ { "verb": "post", "requestPath": "/setup/api/maintenance", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/setup/api/maintenance \\\n -d '{\"maintenance\":\"maintenance\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/setup/api/maintenance \\\n  -d '{\"maintenance\":\"maintenance\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/setup/api/maintenance \\\n -d '{\"maintenance\":\"maintenance\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/setup/api/maintenance \\\n  -d '{\"maintenance\":\"maintenance\"}'
    " }, { "lang": "JavaScript", @@ -55826,13 +56196,13 @@ { "verb": "get", "requestPath": "/setup/api/settings", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/setup/api/settings", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/setup/api/settings
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/setup/api/settings", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/setup/api/settings
    " }, { "lang": "JavaScript", @@ -55877,13 +56247,13 @@ { "verb": "put", "requestPath": "/setup/api/settings", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/setup/api/settings \\\n -d '{\"settings\":\"settings\"}'", - "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/setup/api/settings \\\n  -d '{\"settings\":\"settings\"}'
    " + "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/setup/api/settings \\\n -d '{\"settings\":\"settings\"}'", + "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/setup/api/settings \\\n  -d '{\"settings\":\"settings\"}'
    " }, { "lang": "JavaScript", @@ -55941,7 +56311,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "descriptionHTML": "

    For a list of the available settings, see the Get settings endpoint.

    ", @@ -55960,13 +56330,13 @@ { "verb": "get", "requestPath": "/setup/api/settings/authorized-keys", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/setup/api/settings/authorized-keys", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/setup/api/settings/authorized-keys
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/setup/api/settings/authorized-keys", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/setup/api/settings/authorized-keys
    " }, { "lang": "JavaScript", @@ -56011,13 +56381,13 @@ { "verb": "post", "requestPath": "/setup/api/settings/authorized-keys", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/setup/api/settings/authorized-keys \\\n -d '{\"authorized_key\":\"authorized_key\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/setup/api/settings/authorized-keys \\\n  -d '{\"authorized_key\":\"authorized_key\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/setup/api/settings/authorized-keys \\\n -d '{\"authorized_key\":\"authorized_key\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/setup/api/settings/authorized-keys \\\n  -d '{\"authorized_key\":\"authorized_key\"}'
    " }, { "lang": "JavaScript", @@ -56095,13 +56465,13 @@ { "verb": "delete", "requestPath": "/setup/api/settings/authorized-keys", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/setup/api/settings/authorized-keys \\\n -d '{\"authorized_key\":\"authorized_key\"}'", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/setup/api/settings/authorized-keys \\\n  -d '{\"authorized_key\":\"authorized_key\"}'
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/setup/api/settings/authorized-keys \\\n -d '{\"authorized_key\":\"authorized_key\"}'", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/setup/api/settings/authorized-keys \\\n  -d '{\"authorized_key\":\"authorized_key\"}'
    " }, { "lang": "JavaScript", @@ -56179,13 +56549,13 @@ { "verb": "post", "requestPath": "/setup/api/start", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/setup/api/start \\\n -d '{\"license\":\"license\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/setup/api/start \\\n  -d '{\"license\":\"license\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/setup/api/start \\\n -d '{\"license\":\"license\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/setup/api/start \\\n  -d '{\"license\":\"license\"}'
    " }, { "lang": "JavaScript", @@ -56298,13 +56668,13 @@ { "verb": "post", "requestPath": "/setup/api/upgrade", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/setup/api/upgrade \\\n -d '{\"license\":\"license\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/setup/api/upgrade \\\n  -d '{\"license\":\"license\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/setup/api/upgrade \\\n -d '{\"license\":\"license\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/setup/api/upgrade \\\n  -d '{\"license\":\"license\"}'
    " }, { "lang": "JavaScript", @@ -56378,7 +56748,7 @@ { "verb": "get", "requestPath": "/teams/{team_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "team_id", @@ -56393,8 +56763,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/teams/42", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/teams/42
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/teams/42", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/teams/42
    " }, { "lang": "JavaScript", @@ -56436,7 +56806,7 @@ { "verb": "patch", "requestPath": "/teams/{team_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "team_id", @@ -56451,8 +56821,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/teams/42 \\\n -d '{\"name\":\"name\"}'", - "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/teams/42 \\\n  -d '{\"name\":\"name\"}'
    " + "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/teams/42 \\\n -d '{\"name\":\"name\"}'", + "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/teams/42 \\\n  -d '{\"name\":\"name\"}'
    " }, { "lang": "JavaScript", @@ -56623,7 +56993,7 @@ { "verb": "delete", "requestPath": "/teams/{team_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "team_id", @@ -56638,8 +57008,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/teams/42", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/teams/42
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/teams/42", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/teams/42
    " }, { "lang": "JavaScript", @@ -56671,7 +57041,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "bodyParameters": [], @@ -56680,7 +57050,7 @@ { "verb": "get", "requestPath": "/teams/{team_id}/discussions", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "team_id", @@ -56730,8 +57100,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/teams/42/discussions", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/teams/42/discussions
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/teams/42/discussions", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/teams/42/discussions
    " }, { "lang": "JavaScript", @@ -56782,7 +57152,7 @@ { "verb": "post", "requestPath": "/teams/{team_id}/discussions", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "team_id", @@ -56797,8 +57167,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/teams/42/discussions \\\n -d '{\"title\":\"title\",\"body\":\"body\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/teams/42/discussions \\\n  -d '{\"title\":\"title\",\"body\":\"body\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/teams/42/discussions \\\n -d '{\"title\":\"title\",\"body\":\"body\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/teams/42/discussions \\\n  -d '{\"title\":\"title\",\"body\":\"body\"}'
    " }, { "lang": "JavaScript", @@ -56926,7 +57296,7 @@ { "verb": "get", "requestPath": "/teams/{team_id}/discussions/{discussion_number}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "team_id", @@ -56950,8 +57320,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/teams/42/discussions/42", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/teams/42/discussions/42
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/teams/42/discussions/42", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/teams/42/discussions/42
    " }, { "lang": "JavaScript", @@ -57002,7 +57372,7 @@ { "verb": "patch", "requestPath": "/teams/{team_id}/discussions/{discussion_number}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "team_id", @@ -57026,8 +57396,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/teams/42/discussions/42 \\\n -d '{\"title\":\"title\"}'", - "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/teams/42/discussions/42 \\\n  -d '{\"title\":\"title\"}'
    " + "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/teams/42/discussions/42 \\\n -d '{\"title\":\"title\"}'", + "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/teams/42/discussions/42 \\\n  -d '{\"title\":\"title\"}'
    " }, { "lang": "JavaScript", @@ -57129,7 +57499,7 @@ { "verb": "delete", "requestPath": "/teams/{team_id}/discussions/{discussion_number}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "team_id", @@ -57153,8 +57523,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/teams/42/discussions/42", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/teams/42/discussions/42
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/teams/42/discussions/42", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/teams/42/discussions/42
    " }, { "lang": "JavaScript", @@ -57189,7 +57559,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "bodyParameters": [], @@ -57198,7 +57568,7 @@ { "verb": "get", "requestPath": "/teams/{team_id}/discussions/{discussion_number}/comments", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "team_id", @@ -57257,8 +57627,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/teams/42/discussions/42/comments", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/teams/42/discussions/42/comments
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/teams/42/discussions/42/comments", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/teams/42/discussions/42/comments
    " }, { "lang": "JavaScript", @@ -57309,7 +57679,7 @@ { "verb": "post", "requestPath": "/teams/{team_id}/discussions/{discussion_number}/comments", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "team_id", @@ -57333,8 +57703,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/teams/42/discussions/42/comments \\\n -d '{\"body\":\"body\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/teams/42/discussions/42/comments \\\n  -d '{\"body\":\"body\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/teams/42/discussions/42/comments \\\n -d '{\"body\":\"body\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/teams/42/discussions/42/comments \\\n  -d '{\"body\":\"body\"}'
    " }, { "lang": "JavaScript", @@ -57422,7 +57792,7 @@ { "verb": "get", "requestPath": "/teams/{team_id}/discussions/{discussion_number}/comments/{comment_number}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "team_id", @@ -57455,8 +57825,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/teams/42/discussions/42/comments/42", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/teams/42/discussions/42/comments/42
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/teams/42/discussions/42/comments/42", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/teams/42/discussions/42/comments/42
    " }, { "lang": "JavaScript", @@ -57507,7 +57877,7 @@ { "verb": "patch", "requestPath": "/teams/{team_id}/discussions/{discussion_number}/comments/{comment_number}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "team_id", @@ -57540,8 +57910,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/teams/42/discussions/42/comments/42 \\\n -d '{\"body\":\"body\"}'", - "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/teams/42/discussions/42/comments/42 \\\n  -d '{\"body\":\"body\"}'
    " + "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/teams/42/discussions/42/comments/42 \\\n -d '{\"body\":\"body\"}'", + "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/teams/42/discussions/42/comments/42 \\\n  -d '{\"body\":\"body\"}'
    " }, { "lang": "JavaScript", @@ -57628,7 +57998,7 @@ { "verb": "delete", "requestPath": "/teams/{team_id}/discussions/{discussion_number}/comments/{comment_number}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "team_id", @@ -57661,8 +58031,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/teams/42/discussions/42/comments/42", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/teams/42/discussions/42/comments/42
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/teams/42/discussions/42/comments/42", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/teams/42/discussions/42/comments/42
    " }, { "lang": "JavaScript", @@ -57697,7 +58067,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "bodyParameters": [], @@ -57706,7 +58076,7 @@ { "verb": "get", "requestPath": "/teams/{team_id}/discussions/{discussion_number}/comments/{comment_number}/reactions", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "accept", @@ -57790,8 +58160,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/teams/42/discussions/42/comments/42/reactions", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/teams/42/discussions/42/comments/42/reactions
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/teams/42/discussions/42/comments/42/reactions", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/teams/42/discussions/42/comments/42/reactions
    " }, { "lang": "JavaScript", @@ -57839,7 +58209,7 @@ { "verb": "post", "requestPath": "/teams/{team_id}/discussions/{discussion_number}/comments/{comment_number}/reactions", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "accept", @@ -57883,8 +58253,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/teams/42/discussions/42/comments/42/reactions \\\n -d '{\"content\":\"content\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/teams/42/discussions/42/comments/42/reactions \\\n  -d '{\"content\":\"content\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/teams/42/discussions/42/comments/42/reactions \\\n -d '{\"content\":\"content\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/teams/42/discussions/42/comments/42/reactions \\\n  -d '{\"content\":\"content\"}'
    " }, { "lang": "JavaScript", @@ -57988,7 +58358,7 @@ { "verb": "get", "requestPath": "/teams/{team_id}/discussions/{discussion_number}/reactions", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "accept", @@ -58063,8 +58433,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/teams/42/discussions/42/reactions", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/teams/42/discussions/42/reactions
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/teams/42/discussions/42/reactions", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/teams/42/discussions/42/reactions
    " }, { "lang": "JavaScript", @@ -58112,7 +58482,7 @@ { "verb": "post", "requestPath": "/teams/{team_id}/discussions/{discussion_number}/reactions", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "accept", @@ -58147,8 +58517,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/teams/42/discussions/42/reactions \\\n -d '{\"content\":\"content\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/teams/42/discussions/42/reactions \\\n  -d '{\"content\":\"content\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/teams/42/discussions/42/reactions \\\n -d '{\"content\":\"content\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/teams/42/discussions/42/reactions \\\n  -d '{\"content\":\"content\"}'
    " }, { "lang": "JavaScript", @@ -58252,7 +58622,7 @@ { "verb": "get", "requestPath": "/teams/{team_id}/members", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "team_id", @@ -58303,8 +58673,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/teams/42/members", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/teams/42/members
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/teams/42/members", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/teams/42/members
    " }, { "lang": "JavaScript", @@ -58349,7 +58719,7 @@ { "verb": "get", "requestPath": "/teams/{team_id}/members/{username}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "team_id", @@ -58373,8 +58743,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/teams/42/members/USERNAME", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/teams/42/members/USERNAME
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/teams/42/members/USERNAME", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/teams/42/members/USERNAME
    " }, { "lang": "JavaScript", @@ -58426,7 +58796,7 @@ { "verb": "put", "requestPath": "/teams/{team_id}/members/{username}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "team_id", @@ -58450,8 +58820,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/teams/42/members/USERNAME", - "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/teams/42/members/USERNAME
    " + "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/teams/42/members/USERNAME", + "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/teams/42/members/USERNAME
    " }, { "lang": "JavaScript", @@ -58485,13 +58855,11 @@ "subcategory": "members", "subcategoryLabel": "Members", "notes": [], - "bodyParameters": [], - "descriptionHTML": "

    The \"Add team member\" endpoint (described below) is deprecated.

    \n

    We recommend using the Add or update team membership for a user endpoint instead. It allows you to invite new organization members to your teams.

    \n

    Team synchronization is available for organizations using GitHub Enterprise Cloud. For more information, see GitHub's products in the GitHub Help documentation.

    \n

    To 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

    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.\"

    \n

    Note that you'll need to set Content-Length to zero when calling out to this endpoint. For more information, see \"HTTP verbs.\"

    ", "responses": [ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "403", @@ -58506,21 +58874,16 @@ { "httpStatusCode": "422", "httpStatusMessage": "Unprocessable Entity", - "description": "Response if you attempt to add an organization to a team", - "payload": "
    {\n  \"message\": \"Cannot add an organization as a member.\",\n  \"errors\": [\n    {\n      \"code\": \"org\",\n      \"field\": \"user\",\n      \"resource\": \"TeamMember\"\n    }\n  ]\n}\n
    " - }, - { - "httpStatusCode": "422", - "httpStatusMessage": "Unprocessable Entity", - "description": "Response if you attempt to add a user to a team when they are not a member of at least one other team in the same organization", - "payload": "
    {\n  \"message\": \"User isn't a member of this organization. Please invite them first.\",\n  \"errors\": [\n    {\n      \"code\": \"unaffiliated\",\n      \"field\": \"user\",\n      \"resource\": \"TeamMember\"\n    }\n  ]\n}\n
    " + "description": "Response if you attempt to add an organization to a team or you attempt to add a user to a team when they are not a member of at least one other team in the same organization" } - ] + ], + "bodyParameters": [], + "descriptionHTML": "

    The \"Add team member\" endpoint (described below) is deprecated.

    \n

    We recommend using the Add or update team membership for a user endpoint instead. It allows you to invite new organization members to your teams.

    \n

    Team synchronization is available for organizations using GitHub Enterprise Cloud. For more information, see GitHub's products in the GitHub Help documentation.

    \n

    To 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

    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.\"

    \n

    Note that you'll need to set Content-Length to zero when calling out to this endpoint. For more information, see \"HTTP verbs.\"

    " }, { "verb": "delete", "requestPath": "/teams/{team_id}/members/{username}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "team_id", @@ -58544,8 +58907,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/teams/42/members/USERNAME", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/teams/42/members/USERNAME
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/teams/42/members/USERNAME", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/teams/42/members/USERNAME
    " }, { "lang": "JavaScript", @@ -58583,7 +58946,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "404", @@ -58597,7 +58960,7 @@ { "verb": "get", "requestPath": "/teams/{team_id}/memberships/{username}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "team_id", @@ -58621,8 +58984,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/teams/42/memberships/USERNAME", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/teams/42/memberships/USERNAME
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/teams/42/memberships/USERNAME", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/teams/42/memberships/USERNAME
    " }, { "lang": "JavaScript", @@ -58656,30 +59019,18 @@ "bodyParameters": [], "descriptionHTML": "

    Team members will include the members of child teams.

    \n

    To get a user's membership with a team, the team must be visible to the authenticated user.

    \n

    Note: The role for organization owners returns as maintainer. For more information about maintainer roles, see Create a team.

    ", "responses": [ - { - "httpStatusCode": "200", - "httpStatusMessage": "OK", - "description": "Response if user has an active membership with team", - "payload": "
    {\n  \"url\": \"https://api.github.com/teams/1/memberships/octocat\",\n  \"role\": \"member\",\n  \"state\": \"active\"\n}\n
    " - }, { "httpStatusCode": "200", "httpStatusMessage": "OK", "description": "Response if user is a team maintainer", "payload": "
    {\n  \"url\": \"https://api.github.com/teams/1/memberships/octocat\",\n  \"role\": \"maintainer\",\n  \"state\": \"active\"\n}\n
    " - }, - { - "httpStatusCode": "200", - "httpStatusMessage": "OK", - "description": "Response if user has a pending membership with team", - "payload": "
    {\n  \"url\": \"https://api.github.com/teams/1/memberships/octocat\",\n  \"role\": \"member\",\n  \"state\": \"pending\"\n}\n
    " } ] }, { "verb": "put", "requestPath": "/teams/{team_id}/memberships/{username}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "team_id", @@ -58703,8 +59054,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/teams/42/memberships/USERNAME \\\n -d '{\"role\":\"role\"}'", - "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/teams/42/memberships/USERNAME \\\n  -d '{\"role\":\"role\"}'
    " + "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/teams/42/memberships/USERNAME \\\n -d '{\"role\":\"role\"}'", + "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/teams/42/memberships/USERNAME \\\n  -d '{\"role\":\"role\"}'
    " }, { "lang": "JavaScript", @@ -58778,12 +59129,6 @@ } ], "responses": [ - { - "httpStatusCode": "200", - "httpStatusMessage": "OK", - "description": "Response if user's membership with team is now active", - "payload": "
    {\n  \"url\": \"https://api.github.com/teams/1/memberships/octocat\",\n  \"role\": \"member\",\n  \"state\": \"active\"\n}\n
    " - }, { "httpStatusCode": "200", "httpStatusMessage": "OK", @@ -58793,15 +59138,14 @@ { "httpStatusCode": "422", "httpStatusMessage": "Unprocessable Entity", - "description": "Response if you attempt to add an organization to a team", - "payload": "
    {\n  \"message\": \"Cannot add an organization as a member.\",\n  \"errors\": [\n    {\n      \"code\": \"org\",\n      \"field\": \"user\",\n      \"resource\": \"TeamMember\"\n    }\n  ]\n}\n
    " + "description": "Response if you attempt to add an organization to a team" } ] }, { "verb": "delete", "requestPath": "/teams/{team_id}/memberships/{username}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "team_id", @@ -58825,8 +59169,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/teams/42/memberships/USERNAME", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/teams/42/memberships/USERNAME
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/teams/42/memberships/USERNAME", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/teams/42/memberships/USERNAME
    " }, { "lang": "JavaScript", @@ -58861,7 +59205,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "bodyParameters": [], @@ -58870,7 +59214,7 @@ { "verb": "get", "requestPath": "/teams/{team_id}/projects", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "accept", @@ -58916,8 +59260,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/teams/42/projects", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/teams/42/projects
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/teams/42/projects", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/teams/42/projects
    " }, { "lang": "JavaScript", @@ -58965,7 +59309,7 @@ { "verb": "get", "requestPath": "/teams/{team_id}/projects/{project_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "accept", @@ -59000,8 +59344,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/teams/42/projects/42", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/teams/42/projects/42
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/teams/42/projects/42", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/teams/42/projects/42
    " }, { "lang": "JavaScript", @@ -59054,7 +59398,7 @@ { "verb": "put", "requestPath": "/teams/{team_id}/projects/{project_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "accept", @@ -59089,8 +59433,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/teams/42/projects/42 \\\n -d '{\"permission\":\"permission\"}'", - "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/teams/42/projects/42 \\\n  -d '{\"permission\":\"permission\"}'
    " + "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/teams/42/projects/42 \\\n -d '{\"permission\":\"permission\"}'", + "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/teams/42/projects/42 \\\n  -d '{\"permission\":\"permission\"}'
    " }, { "lang": "JavaScript", @@ -59171,7 +59515,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "403", @@ -59184,7 +59528,7 @@ { "verb": "delete", "requestPath": "/teams/{team_id}/projects/{project_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "team_id", @@ -59208,8 +59552,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/teams/42/projects/42", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/teams/42/projects/42
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/teams/42/projects/42", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/teams/42/projects/42
    " }, { "lang": "JavaScript", @@ -59242,7 +59586,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "bodyParameters": [], @@ -59251,7 +59595,7 @@ { "verb": "get", "requestPath": "/teams/{team_id}/repos", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "team_id", @@ -59286,8 +59630,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/teams/42/repos", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/teams/42/repos
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/teams/42/repos", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/teams/42/repos
    " }, { "lang": "JavaScript", @@ -59329,7 +59673,7 @@ { "verb": "get", "requestPath": "/teams/{team_id}/repos/{owner}/{repo}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "team_id", @@ -59362,8 +59706,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/teams/42/repos/octocat/hello-world", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/teams/42/repos/octocat/hello-world
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/teams/42/repos/octocat/hello-world", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/teams/42/repos/octocat/hello-world
    " }, { "lang": "JavaScript", @@ -59414,7 +59758,7 @@ { "verb": "put", "requestPath": "/teams/{team_id}/repos/{owner}/{repo}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "team_id", @@ -59447,8 +59791,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/teams/42/repos/octocat/hello-world \\\n -d '{\"permission\":\"permission\"}'", - "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/teams/42/repos/octocat/hello-world \\\n  -d '{\"permission\":\"permission\"}'
    " + "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/teams/42/repos/octocat/hello-world \\\n -d '{\"permission\":\"permission\"}'", + "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/teams/42/repos/octocat/hello-world \\\n  -d '{\"permission\":\"permission\"}'
    " }, { "lang": "JavaScript", @@ -59505,7 +59849,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "descriptionHTML": "

    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

    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.\"

    ", @@ -59529,7 +59873,7 @@ { "verb": "delete", "requestPath": "/teams/{team_id}/repos/{owner}/{repo}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "team_id", @@ -59562,8 +59906,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/teams/42/repos/octocat/hello-world", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/teams/42/repos/octocat/hello-world
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/teams/42/repos/octocat/hello-world", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/teams/42/repos/octocat/hello-world
    " }, { "lang": "JavaScript", @@ -59596,7 +59940,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "bodyParameters": [], @@ -59605,7 +59949,7 @@ { "verb": "get", "requestPath": "/teams/{team_id}/teams", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "team_id", @@ -59640,8 +59984,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/teams/42/teams", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/teams/42/teams
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/teams/42/teams", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/teams/42/teams
    " }, { "lang": "JavaScript", @@ -59683,13 +60027,13 @@ { "verb": "get", "requestPath": "/user", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/user", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/user
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/user", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/user
    " }, { "lang": "JavaScript", @@ -59753,13 +60097,13 @@ { "verb": "patch", "requestPath": "/user", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/user \\\n -d '{\"name\":\"name\"}'", - "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/user \\\n  -d '{\"name\":\"name\"}'
    " + "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/user \\\n -d '{\"name\":\"name\"}'", + "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/user \\\n  -d '{\"name\":\"name\"}'
    " }, { "lang": "JavaScript", @@ -59997,7 +60341,7 @@ { "verb": "get", "requestPath": "/user/emails", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "per_page", @@ -60023,8 +60367,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/user/emails", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/user/emails
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/user/emails", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/user/emails
    " }, { "lang": "JavaScript", @@ -60089,13 +60433,13 @@ { "verb": "post", "requestPath": "/user/emails", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/user/emails \\\n -d '{\"emails\":[\"octocat@github.com\"]}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/user/emails \\\n  -d '{\"emails\":[\"octocat@github.com\"]}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/user/emails \\\n -d '{\"emails\":[\"octocat@github.com\"]}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/user/emails \\\n  -d '{\"emails\":[\"octocat@github.com\"]}'
    " }, { "lang": "JavaScript", @@ -60210,13 +60554,13 @@ { "verb": "delete", "requestPath": "/user/emails", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/user/emails \\\n -d '{\"emails\":[\"octocat@github.com\"]}'", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/user/emails \\\n  -d '{\"emails\":[\"octocat@github.com\"]}'
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/user/emails \\\n -d '{\"emails\":[\"octocat@github.com\"]}'", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/user/emails \\\n  -d '{\"emails\":[\"octocat@github.com\"]}'
    " }, { "lang": "JavaScript", @@ -60296,7 +60640,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "304", @@ -60330,7 +60674,7 @@ { "verb": "get", "requestPath": "/user/followers", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "per_page", @@ -60356,8 +60700,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/user/followers", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/user/followers
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/user/followers", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/user/followers
    " }, { "lang": "JavaScript", @@ -60417,7 +60761,7 @@ { "verb": "get", "requestPath": "/user/following", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "per_page", @@ -60443,8 +60787,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/user/following", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/user/following
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/user/following", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/user/following
    " }, { "lang": "JavaScript", @@ -60504,7 +60848,7 @@ { "verb": "get", "requestPath": "/user/following/{username}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "username", @@ -60519,8 +60863,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/user/following/USERNAME", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/user/following/USERNAME
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/user/following/USERNAME", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/user/following/USERNAME
    " }, { "lang": "JavaScript", @@ -60584,7 +60928,7 @@ { "verb": "put", "requestPath": "/user/following/{username}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "username", @@ -60599,8 +60943,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/user/following/USERNAME", - "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/user/following/USERNAME
    " + "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/user/following/USERNAME", + "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/user/following/USERNAME
    " }, { "lang": "JavaScript", @@ -60635,7 +60979,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "304", @@ -60664,7 +61008,7 @@ { "verb": "delete", "requestPath": "/user/following/{username}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "username", @@ -60679,8 +61023,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/user/following/USERNAME", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/user/following/USERNAME
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/user/following/USERNAME", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/user/following/USERNAME
    " }, { "lang": "JavaScript", @@ -60715,7 +61059,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "304", @@ -60744,7 +61088,7 @@ { "verb": "get", "requestPath": "/user/gpg_keys", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "per_page", @@ -60770,8 +61114,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/user/gpg_keys", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/user/gpg_keys
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/user/gpg_keys", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/user/gpg_keys
    " }, { "lang": "JavaScript", @@ -60836,13 +61180,13 @@ { "verb": "post", "requestPath": "/user/gpg_keys", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/user/gpg_keys \\\n -d '{\"armored_public_key\":\"armored_public_key\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/user/gpg_keys \\\n  -d '{\"armored_public_key\":\"armored_public_key\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/user/gpg_keys \\\n -d '{\"armored_public_key\":\"armored_public_key\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/user/gpg_keys \\\n  -d '{\"armored_public_key\":\"armored_public_key\"}'
    " }, { "lang": "JavaScript", @@ -60945,7 +61289,7 @@ { "verb": "get", "requestPath": "/user/gpg_keys/{gpg_key_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "gpg_key_id", @@ -60961,8 +61305,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/user/gpg_keys/42", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/user/gpg_keys/42
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/user/gpg_keys/42", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/user/gpg_keys/42
    " }, { "lang": "JavaScript", @@ -61027,7 +61371,7 @@ { "verb": "delete", "requestPath": "/user/gpg_keys/{gpg_key_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "gpg_key_id", @@ -61043,8 +61387,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/user/gpg_keys/42", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/user/gpg_keys/42
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/user/gpg_keys/42", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/user/gpg_keys/42
    " }, { "lang": "JavaScript", @@ -61079,7 +61423,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "304", @@ -61113,7 +61457,7 @@ { "verb": "get", "requestPath": "/user/installations", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "accept", @@ -61150,8 +61494,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.machine-man-preview+json\" \\\n https://api.github.com/user/installations", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.machine-man-preview+json\" \\\n  https://api.github.com/user/installations
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.machine-man-preview+json\" \\\n http(s)://{hostname}/api/v3/user/installations", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.machine-man-preview+json\" \\\n  http(s)://{hostname}/api/v3/user/installations
    " }, { "lang": "JavaScript", @@ -61223,7 +61567,7 @@ { "verb": "get", "requestPath": "/user/installations/{installation_id}/repositories", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "accept", @@ -61270,8 +61614,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.machine-man-preview+json\" \\\n https://api.github.com/user/installations/42/repositories", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.machine-man-preview+json\" \\\n  https://api.github.com/user/installations/42/repositories
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.machine-man-preview+json\" \\\n http(s)://{hostname}/api/v3/user/installations/42/repositories", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.machine-man-preview+json\" \\\n  http(s)://{hostname}/api/v3/user/installations/42/repositories
    " }, { "lang": "JavaScript", @@ -61344,7 +61688,7 @@ { "verb": "put", "requestPath": "/user/installations/{installation_id}/repositories/{repository_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "installation_id", @@ -61369,8 +61713,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.machine-man-preview+json\" \\\n https://api.github.com/user/installations/42/repositories/42", - "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.machine-man-preview+json\" \\\n  https://api.github.com/user/installations/42/repositories/42
    " + "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.machine-man-preview+json\" \\\n http(s)://{hostname}/api/v3/user/installations/42/repositories/42", + "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.machine-man-preview+json\" \\\n  http(s)://{hostname}/api/v3/user/installations/42/repositories/42
    " }, { "lang": "JavaScript", @@ -61412,7 +61756,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "304", @@ -61436,7 +61780,7 @@ { "verb": "delete", "requestPath": "/user/installations/{installation_id}/repositories/{repository_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "installation_id", @@ -61461,8 +61805,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.machine-man-preview+json\" \\\n https://api.github.com/user/installations/42/repositories/42", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.machine-man-preview+json\" \\\n  https://api.github.com/user/installations/42/repositories/42
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.machine-man-preview+json\" \\\n http(s)://{hostname}/api/v3/user/installations/42/repositories/42", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.machine-man-preview+json\" \\\n  http(s)://{hostname}/api/v3/user/installations/42/repositories/42
    " }, { "lang": "JavaScript", @@ -61504,7 +61848,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "304", @@ -61528,7 +61872,7 @@ { "verb": "get", "requestPath": "/user/issues", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "filter", @@ -61542,6 +61886,7 @@ "created", "mentioned", "subscribed", + "repos", "all" ], "default": "assigned" @@ -61639,8 +61984,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/user/issues", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/user/issues
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/user/issues", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/user/issues
    " }, { "lang": "JavaScript", @@ -61699,7 +62044,7 @@ { "verb": "get", "requestPath": "/user/keys", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "per_page", @@ -61725,8 +62070,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/user/keys", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/user/keys
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/user/keys", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/user/keys
    " }, { "lang": "JavaScript", @@ -61791,13 +62136,13 @@ { "verb": "post", "requestPath": "/user/keys", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/user/keys \\\n -d '{\"key\":\"key\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/user/keys \\\n  -d '{\"key\":\"key\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/user/keys \\\n -d '{\"key\":\"key\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/user/keys \\\n  -d '{\"key\":\"key\"}'
    " }, { "lang": "JavaScript", @@ -61922,7 +62267,7 @@ { "verb": "get", "requestPath": "/user/keys/{key_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "key_id", @@ -61938,8 +62283,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/user/keys/42", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/user/keys/42
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/user/keys/42", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/user/keys/42
    " }, { "lang": "JavaScript", @@ -62004,7 +62349,7 @@ { "verb": "delete", "requestPath": "/user/keys/{key_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "key_id", @@ -62020,8 +62365,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/user/keys/42", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/user/keys/42
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/user/keys/42", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/user/keys/42
    " }, { "lang": "JavaScript", @@ -62056,7 +62401,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "304", @@ -62085,7 +62430,7 @@ { "verb": "get", "requestPath": "/user/memberships/orgs", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "state", @@ -62125,8 +62470,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/user/memberships/orgs", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/user/memberships/orgs
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/user/memberships/orgs", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/user/memberships/orgs
    " }, { "lang": "JavaScript", @@ -62191,7 +62536,7 @@ { "verb": "get", "requestPath": "/user/memberships/orgs/{org}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "org", @@ -62206,8 +62551,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/user/memberships/orgs/ORG", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/user/memberships/orgs/ORG
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/user/memberships/orgs/ORG", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/user/memberships/orgs/ORG
    " }, { "lang": "JavaScript", @@ -62262,7 +62607,7 @@ { "verb": "patch", "requestPath": "/user/memberships/orgs/{org}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "org", @@ -62277,8 +62622,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/user/memberships/orgs/ORG \\\n -d '{\"state\":\"state\"}'", - "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/user/memberships/orgs/ORG \\\n  -d '{\"state\":\"state\"}'
    " + "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/user/memberships/orgs/ORG \\\n -d '{\"state\":\"state\"}'", + "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/user/memberships/orgs/ORG \\\n  -d '{\"state\":\"state\"}'
    " }, { "lang": "JavaScript", @@ -62380,7 +62725,7 @@ { "verb": "get", "requestPath": "/user/orgs", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "per_page", @@ -62406,8 +62751,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/user/orgs", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/user/orgs
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/user/orgs", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/user/orgs
    " }, { "lang": "JavaScript", @@ -62465,13 +62810,13 @@ { "verb": "post", "requestPath": "/user/projects", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n https://api.github.com/user/projects \\\n -d '{\"name\":\"name\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  https://api.github.com/user/projects \\\n  -d '{\"name\":\"name\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n http(s)://{hostname}/api/v3/user/projects \\\n -d '{\"name\":\"name\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  http(s)://{hostname}/api/v3/user/projects \\\n  -d '{\"name\":\"name\"}'
    " }, { "lang": "JavaScript", @@ -62603,7 +62948,7 @@ { "verb": "get", "requestPath": "/user/public_emails", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "per_page", @@ -62629,8 +62974,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/user/public_emails", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/user/public_emails
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/user/public_emails", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/user/public_emails
    " }, { "lang": "JavaScript", @@ -62695,11 +63040,11 @@ { "verb": "get", "requestPath": "/user/repos", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "visibility", - "description": "Can be one of `all`, `public`, or `private`.", + "description": "Can be one of `all`, `public`, or `private`. Note: For GitHub AE, can be one of `all`, `internal`, or `private`.", "in": "query", "required": false, "schema": { @@ -62711,7 +63056,7 @@ ], "default": "all" }, - "descriptionHTML": "

    Can be one of all, public, or private.

    " + "descriptionHTML": "

    Can be one of all, public, or private. Note: For GitHub AE, can be one of all, internal, or private.

    " }, { "name": "affiliation", @@ -62726,7 +63071,7 @@ }, { "name": "type", - "description": "Can be one of `all`, `owner`, `public`, `private`, `member`. Default: `all` \n \nWill cause a `422` error if used in the same request as **visibility** or **affiliation**. Will cause a `422` error if used in the same request as **visibility** or **affiliation**.", + "description": "Can be one of `all`, `owner`, `public`, `private`, `member`. Note: For GitHub AE, can be one of `all`, `owner`, `internal`, `private`, `member`. Default: `all` \n \nWill cause a `422` error if used in the same request as **visibility** or **affiliation**. Will cause a `422` error if used in the same request as **visibility** or **affiliation**.", "in": "query", "required": false, "schema": { @@ -62740,7 +63085,7 @@ ], "default": "all" }, - "descriptionHTML": "

    Can be one of all, owner, public, private, member. Default: all

    \n

    Will cause a 422 error if used in the same request as visibility or affiliation. Will cause a 422 error if used in the same request as visibility or affiliation.

    " + "descriptionHTML": "

    Can be one of all, owner, public, private, member. Note: For GitHub AE, can be one of all, owner, internal, private, member. Default: all

    \n

    Will cause a 422 error if used in the same request as visibility or affiliation. Will cause a 422 error if used in the same request as visibility or affiliation.

    " }, { "name": "sort", @@ -62817,8 +63162,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/user/repos", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/user/repos
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/user/repos", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/user/repos
    " }, { "lang": "JavaScript", @@ -62881,13 +63226,13 @@ { "verb": "post", "requestPath": "/user/repos", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/user/repos \\\n -d '{\"name\":\"name\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/user/repos \\\n  -d '{\"name\":\"name\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/user/repos \\\n -d '{\"name\":\"name\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/user/repos \\\n  -d '{\"name\":\"name\"}'
    " }, { "lang": "JavaScript", @@ -62896,7 +63241,7 @@ } ], "summary": "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", + "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.", "tags": [ "repos" ], @@ -62939,13 +63284,13 @@ "childParamsGroups": [] }, "private": { - "description": "

    Whether the repository is private or public.

    ", + "description": "

    Whether the repository is private.

    ", "default": false, "type": "boolean", "name": "private", "in": "body", "rawType": "boolean", - "rawDescription": "Whether the repository is private or public.", + "rawDescription": "Whether the repository is private.", "childParamsGroups": [] }, "has_issues": { @@ -63119,7 +63464,7 @@ "category": "repos", "categoryLabel": "Repos", "notes": [], - "descriptionHTML": "

    Creates a new repository for the authenticated user.

    \n

    OAuth scope requirements

    \n

    When using OAuth, 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
    ", + "descriptionHTML": "

    Creates a new repository for the authenticated user.

    \n

    OAuth scope requirements

    \n

    When using OAuth, 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
    ", "bodyParameters": [ { "description": "

    Required. The name of the repository.

    ", @@ -63150,13 +63495,13 @@ "childParamsGroups": [] }, { - "description": "

    Whether the repository is private or public.

    ", + "description": "

    Whether the repository is private.

    ", "default": false, "type": "boolean", "name": "private", "in": "body", "rawType": "boolean", - "rawDescription": "Whether the repository is private or public.", + "rawDescription": "Whether the repository is private.", "childParamsGroups": [] }, { @@ -63340,7 +63685,7 @@ { "verb": "get", "requestPath": "/user/repository_invitations", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "per_page", @@ -63366,8 +63711,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/user/repository_invitations", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/user/repository_invitations
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/user/repository_invitations", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/user/repository_invitations
    " }, { "lang": "JavaScript", @@ -63432,7 +63777,7 @@ { "verb": "patch", "requestPath": "/user/repository_invitations/{invitation_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "invitation_id", @@ -63448,8 +63793,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/user/repository_invitations/42", - "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/user/repository_invitations/42
    " + "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/user/repository_invitations/42", + "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/user/repository_invitations/42
    " }, { "lang": "JavaScript", @@ -63484,7 +63829,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "304", @@ -63513,7 +63858,7 @@ { "verb": "delete", "requestPath": "/user/repository_invitations/{invitation_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "invitation_id", @@ -63529,8 +63874,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/user/repository_invitations/42", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/user/repository_invitations/42
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/user/repository_invitations/42", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/user/repository_invitations/42
    " }, { "lang": "JavaScript", @@ -63565,7 +63910,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "304", @@ -63594,7 +63939,7 @@ { "verb": "get", "requestPath": "/user/starred", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "sort", @@ -63650,8 +63995,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/user/starred", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/user/starred
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/user/starred", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/user/starred
    " }, { "lang": "JavaScript", @@ -63711,7 +64056,7 @@ { "verb": "get", "requestPath": "/user/starred/{owner}/{repo}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -63735,8 +64080,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/user/starred/octocat/hello-world", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/user/starred/octocat/hello-world
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/user/starred/octocat/hello-world", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/user/starred/octocat/hello-world
    " }, { "lang": "JavaScript", @@ -63800,7 +64145,7 @@ { "verb": "put", "requestPath": "/user/starred/{owner}/{repo}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -63824,8 +64169,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/user/starred/octocat/hello-world", - "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/user/starred/octocat/hello-world
    " + "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/user/starred/octocat/hello-world", + "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/user/starred/octocat/hello-world
    " }, { "lang": "JavaScript", @@ -63860,7 +64205,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "304", @@ -63889,7 +64234,7 @@ { "verb": "delete", "requestPath": "/user/starred/{owner}/{repo}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -63913,8 +64258,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/user/starred/octocat/hello-world", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/user/starred/octocat/hello-world
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/user/starred/octocat/hello-world", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/user/starred/octocat/hello-world
    " }, { "lang": "JavaScript", @@ -63949,7 +64294,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "304", @@ -63978,7 +64323,7 @@ { "verb": "get", "requestPath": "/user/subscriptions", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "per_page", @@ -64004,8 +64349,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/user/subscriptions", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/user/subscriptions
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/user/subscriptions", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/user/subscriptions
    " }, { "lang": "JavaScript", @@ -64065,7 +64410,7 @@ { "verb": "get", "requestPath": "/user/teams", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "per_page", @@ -64091,8 +64436,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/user/teams", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/user/teams
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/user/teams", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/user/teams
    " }, { "lang": "JavaScript", @@ -64150,7 +64495,7 @@ { "verb": "get", "requestPath": "/users", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "since", @@ -64176,8 +64521,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/users", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/users
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/users", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/users
    " }, { "lang": "JavaScript", @@ -64225,7 +64570,7 @@ { "verb": "get", "requestPath": "/users/{username}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "username", @@ -64240,8 +64585,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/users/USERNAME", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/users/USERNAME
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/users/USERNAME", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/users/USERNAME
    " }, { "lang": "JavaScript", @@ -64295,7 +64640,7 @@ { "verb": "get", "requestPath": "/users/{username}/events", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "username", @@ -64330,8 +64675,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/users/USERNAME/events", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/users/USERNAME/events
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/users/USERNAME/events", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/users/USERNAME/events
    " }, { "lang": "JavaScript", @@ -64375,7 +64720,7 @@ { "verb": "get", "requestPath": "/users/{username}/events/orgs/{org}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "username", @@ -64419,8 +64764,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/users/USERNAME/events/orgs/ORG", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/users/USERNAME/events/orgs/ORG
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/users/USERNAME/events/orgs/ORG", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/users/USERNAME/events/orgs/ORG
    " }, { "lang": "JavaScript", @@ -64464,7 +64809,7 @@ { "verb": "get", "requestPath": "/users/{username}/events/public", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "username", @@ -64499,8 +64844,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/users/USERNAME/events/public", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/users/USERNAME/events/public
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/users/USERNAME/events/public", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/users/USERNAME/events/public
    " }, { "lang": "JavaScript", @@ -64544,7 +64889,7 @@ { "verb": "get", "requestPath": "/users/{username}/followers", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "username", @@ -64579,8 +64924,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/users/USERNAME/followers", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/users/USERNAME/followers
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/users/USERNAME/followers", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/users/USERNAME/followers
    " }, { "lang": "JavaScript", @@ -64625,7 +64970,7 @@ { "verb": "get", "requestPath": "/users/{username}/following", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "username", @@ -64660,8 +65005,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/users/USERNAME/following", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/users/USERNAME/following
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/users/USERNAME/following", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/users/USERNAME/following
    " }, { "lang": "JavaScript", @@ -64706,7 +65051,7 @@ { "verb": "get", "requestPath": "/users/{username}/following/{target_user}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "username", @@ -64730,8 +65075,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/users/USERNAME/following/TARGET_USER", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/users/USERNAME/following/TARGET_USER
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/users/USERNAME/following/TARGET_USER", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/users/USERNAME/following/TARGET_USER
    " }, { "lang": "JavaScript", @@ -64780,7 +65125,7 @@ { "verb": "get", "requestPath": "/users/{username}/gists", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "username", @@ -64825,8 +65170,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/users/USERNAME/gists", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/users/USERNAME/gists
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/users/USERNAME/gists", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/users/USERNAME/gists
    " }, { "lang": "JavaScript", @@ -64874,7 +65219,7 @@ { "verb": "get", "requestPath": "/users/{username}/gpg_keys", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "username", @@ -64909,8 +65254,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/users/USERNAME/gpg_keys", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/users/USERNAME/gpg_keys
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/users/USERNAME/gpg_keys", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/users/USERNAME/gpg_keys
    " }, { "lang": "JavaScript", @@ -64955,7 +65300,7 @@ { "verb": "get", "requestPath": "/users/{username}/hovercard", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "username", @@ -64996,8 +65341,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/users/USERNAME/hovercard", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/users/USERNAME/hovercard
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/users/USERNAME/hovercard", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/users/USERNAME/hovercard
    " }, { "lang": "JavaScript", @@ -65050,7 +65395,7 @@ { "verb": "get", "requestPath": "/users/{username}/installation", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "accept", @@ -65076,8 +65421,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.machine-man-preview+json\" \\\n https://api.github.com/users/USERNAME/installation", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.machine-man-preview+json\" \\\n  https://api.github.com/users/USERNAME/installation
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.machine-man-preview+json\" \\\n http(s)://{hostname}/api/v3/users/USERNAME/installation", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.machine-man-preview+json\" \\\n  http(s)://{hostname}/api/v3/users/USERNAME/installation
    " }, { "lang": "JavaScript", @@ -65126,7 +65471,7 @@ { "verb": "get", "requestPath": "/users/{username}/keys", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "username", @@ -65161,8 +65506,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/users/USERNAME/keys", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/users/USERNAME/keys
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/users/USERNAME/keys", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/users/USERNAME/keys
    " }, { "lang": "JavaScript", @@ -65207,7 +65552,7 @@ { "verb": "get", "requestPath": "/users/{username}/orgs", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "username", @@ -65242,8 +65587,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/users/USERNAME/orgs", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/users/USERNAME/orgs
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/users/USERNAME/orgs", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/users/USERNAME/orgs
    " }, { "lang": "JavaScript", @@ -65286,7 +65631,7 @@ { "verb": "get", "requestPath": "/users/{username}/projects", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "username", @@ -65337,8 +65682,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n https://api.github.com/users/USERNAME/projects", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  https://api.github.com/users/USERNAME/projects
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n http(s)://{hostname}/api/v3/users/USERNAME/projects", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  http(s)://{hostname}/api/v3/users/USERNAME/projects
    " }, { "lang": "JavaScript", @@ -65398,7 +65743,7 @@ { "verb": "get", "requestPath": "/users/{username}/received_events", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "username", @@ -65433,8 +65778,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/users/USERNAME/received_events", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/users/USERNAME/received_events
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/users/USERNAME/received_events", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/users/USERNAME/received_events
    " }, { "lang": "JavaScript", @@ -65478,7 +65823,7 @@ { "verb": "get", "requestPath": "/users/{username}/received_events/public", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "username", @@ -65513,8 +65858,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/users/USERNAME/received_events/public", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/users/USERNAME/received_events/public
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/users/USERNAME/received_events/public", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/users/USERNAME/received_events/public
    " }, { "lang": "JavaScript", @@ -65558,7 +65903,7 @@ { "verb": "get", "requestPath": "/users/{username}/repos", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "username", @@ -65640,8 +65985,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/users/USERNAME/repos", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/users/USERNAME/repos
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/users/USERNAME/repos", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/users/USERNAME/repos
    " }, { "lang": "JavaScript", @@ -65650,7 +65995,7 @@ } ], "summary": "List repositories for a user", - "description": "Lists public repositories for the specified user.", + "description": "Lists public repositories for the specified user. Note: For GitHub AE, this endpoint will list internal repositories for the specified user.", "tags": [ "repos" ], @@ -65678,7 +66023,7 @@ "categoryLabel": "Repos", "notes": [], "bodyParameters": [], - "descriptionHTML": "

    Lists public repositories for the specified user.

    ", + "descriptionHTML": "

    Lists public repositories for the specified user. Note: For GitHub AE, this endpoint will list internal repositories for the specified user.

    ", "responses": [ { "httpStatusCode": "200", @@ -65691,7 +66036,7 @@ { "verb": "put", "requestPath": "/users/{username}/site_admin", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "username", @@ -65706,8 +66051,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/users/USERNAME/site_admin", - "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/users/USERNAME/site_admin
    " + "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/users/USERNAME/site_admin", + "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/users/USERNAME/site_admin
    " }, { "lang": "JavaScript", @@ -65742,7 +66087,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "bodyParameters": [], @@ -65751,7 +66096,7 @@ { "verb": "delete", "requestPath": "/users/{username}/site_admin", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "username", @@ -65766,8 +66111,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/users/USERNAME/site_admin", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/users/USERNAME/site_admin
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/users/USERNAME/site_admin", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/users/USERNAME/site_admin
    " }, { "lang": "JavaScript", @@ -65802,7 +66147,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "bodyParameters": [], @@ -65811,7 +66156,7 @@ { "verb": "get", "requestPath": "/users/{username}/starred", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "username", @@ -65876,8 +66221,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/users/USERNAME/starred", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/users/USERNAME/starred
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/users/USERNAME/starred", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/users/USERNAME/starred
    " }, { "lang": "JavaScript", @@ -65922,7 +66267,7 @@ { "verb": "get", "requestPath": "/users/{username}/subscriptions", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "username", @@ -65957,8 +66302,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/users/USERNAME/subscriptions", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/users/USERNAME/subscriptions
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/users/USERNAME/subscriptions", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/users/USERNAME/subscriptions
    " }, { "lang": "JavaScript", @@ -66003,7 +66348,7 @@ { "verb": "put", "requestPath": "/users/{username}/suspended", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "username", @@ -66018,8 +66363,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/users/USERNAME/suspended \\\n -d '{\"reason\":\"reason\"}'", - "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/users/USERNAME/suspended \\\n  -d '{\"reason\":\"reason\"}'
    " + "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/users/USERNAME/suspended \\\n -d '{\"reason\":\"reason\"}'", + "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/users/USERNAME/suspended \\\n  -d '{\"reason\":\"reason\"}'
    " }, { "lang": "JavaScript", @@ -66074,7 +66419,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "descriptionHTML": "

    If your GitHub instance uses LDAP Sync with Active Directory LDAP servers, 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

    You can suspend any user account except your own.

    \n

    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.\"

    ", @@ -66093,7 +66438,7 @@ { "verb": "delete", "requestPath": "/users/{username}/suspended", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "username", @@ -66108,8 +66453,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/users/USERNAME/suspended \\\n -d '{\"reason\":\"reason\"}'", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/users/USERNAME/suspended \\\n  -d '{\"reason\":\"reason\"}'
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/users/USERNAME/suspended \\\n -d '{\"reason\":\"reason\"}'", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/users/USERNAME/suspended \\\n  -d '{\"reason\":\"reason\"}'
    " }, { "lang": "JavaScript", @@ -66164,7 +66509,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "descriptionHTML": "

    If your GitHub instance uses LDAP Sync with Active Directory LDAP servers, this API is disabled and will return a 403 response. Active Directory LDAP-authenticated users cannot be unsuspended using the API.

    ", @@ -66183,13 +66528,13 @@ { "verb": "get", "requestPath": "/zen", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/zen", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/zen
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/zen", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/zen
    " }, { "lang": "JavaScript", diff --git a/lib/rest/static/decorated/ghes-2.21.json b/lib/rest/static/decorated/ghes-2.21.json index 3c95181390..28d8fc17fa 100644 --- a/lib/rest/static/decorated/ghes-2.21.json +++ b/lib/rest/static/decorated/ghes-2.21.json @@ -2,13 +2,13 @@ { "verb": "get", "requestPath": "/", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/
    " }, { "lang": "JavaScript", @@ -45,7 +45,7 @@ { "verb": "get", "requestPath": "/admin/hooks", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "accept", @@ -82,8 +82,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.superpro-preview+json\" \\\n https://api.github.com/admin/hooks", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.superpro-preview+json\" \\\n  https://api.github.com/admin/hooks
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.superpro-preview+json\" \\\n http(s)://{hostname}/api/v3/admin/hooks", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.superpro-preview+json\" \\\n  http(s)://{hostname}/api/v3/admin/hooks
    " }, { "lang": "JavaScript", @@ -135,7 +135,7 @@ { "verb": "post", "requestPath": "/admin/hooks", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "accept", @@ -152,8 +152,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.superpro-preview+json\" \\\n https://api.github.com/admin/hooks \\\n -d '{\"name\":\"name\",\"config\":{\"url\":\"url\",\"content_type\":\"content_type\",\"secret\":\"secret\",\"insecure_ssl\":\"insecure_ssl\"}}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.superpro-preview+json\" \\\n  https://api.github.com/admin/hooks \\\n  -d '{\"name\":\"name\",\"config\":{\"url\":\"url\",\"content_type\":\"content_type\",\"secret\":\"secret\",\"insecure_ssl\":\"insecure_ssl\"}}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.superpro-preview+json\" \\\n http(s)://{hostname}/api/v3/admin/hooks \\\n -d '{\"name\":\"name\",\"config\":{\"url\":\"url\",\"content_type\":\"content_type\",\"secret\":\"secret\",\"insecure_ssl\":\"insecure_ssl\"}}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.superpro-preview+json\" \\\n  http(s)://{hostname}/api/v3/admin/hooks \\\n  -d '{\"name\":\"name\",\"config\":{\"url\":\"url\",\"content_type\":\"content_type\",\"secret\":\"secret\",\"insecure_ssl\":\"insecure_ssl\"}}'
    " }, { "lang": "JavaScript", @@ -483,7 +483,7 @@ { "verb": "get", "requestPath": "/admin/hooks/{hook_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "accept", @@ -509,8 +509,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.superpro-preview+json\" \\\n https://api.github.com/admin/hooks/42", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.superpro-preview+json\" \\\n  https://api.github.com/admin/hooks/42
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.superpro-preview+json\" \\\n http(s)://{hostname}/api/v3/admin/hooks/42", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.superpro-preview+json\" \\\n  http(s)://{hostname}/api/v3/admin/hooks/42
    " }, { "lang": "JavaScript", @@ -562,7 +562,7 @@ { "verb": "patch", "requestPath": "/admin/hooks/{hook_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "accept", @@ -588,8 +588,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.superpro-preview+json\" \\\n https://api.github.com/admin/hooks/42 \\\n -d '{\"config\":{\"url\":\"url\",\"content_type\":\"content_type\",\"secret\":\"secret\",\"insecure_ssl\":\"insecure_ssl\"}}'", - "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.superpro-preview+json\" \\\n  https://api.github.com/admin/hooks/42 \\\n  -d '{\"config\":{\"url\":\"url\",\"content_type\":\"content_type\",\"secret\":\"secret\",\"insecure_ssl\":\"insecure_ssl\"}}'
    " + "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.superpro-preview+json\" \\\n http(s)://{hostname}/api/v3/admin/hooks/42 \\\n -d '{\"config\":{\"url\":\"url\",\"content_type\":\"content_type\",\"secret\":\"secret\",\"insecure_ssl\":\"insecure_ssl\"}}'", + "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.superpro-preview+json\" \\\n  http(s)://{hostname}/api/v3/admin/hooks/42 \\\n  -d '{\"config\":{\"url\":\"url\",\"content_type\":\"content_type\",\"secret\":\"secret\",\"insecure_ssl\":\"insecure_ssl\"}}'
    " }, { "lang": "JavaScript", @@ -893,7 +893,7 @@ { "verb": "delete", "requestPath": "/admin/hooks/{hook_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "accept", @@ -919,8 +919,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.superpro-preview+json\" \\\n https://api.github.com/admin/hooks/42", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.superpro-preview+json\" \\\n  https://api.github.com/admin/hooks/42
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.superpro-preview+json\" \\\n http(s)://{hostname}/api/v3/admin/hooks/42", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.superpro-preview+json\" \\\n  http(s)://{hostname}/api/v3/admin/hooks/42
    " }, { "lang": "JavaScript", @@ -962,7 +962,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "bodyParameters": [], @@ -971,7 +971,7 @@ { "verb": "post", "requestPath": "/admin/hooks/{hook_id}/pings", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "accept", @@ -997,8 +997,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.superpro-preview+json\" \\\n https://api.github.com/admin/hooks/42/pings", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.superpro-preview+json\" \\\n  https://api.github.com/admin/hooks/42/pings
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.superpro-preview+json\" \\\n http(s)://{hostname}/api/v3/admin/hooks/42/pings", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.superpro-preview+json\" \\\n  http(s)://{hostname}/api/v3/admin/hooks/42/pings
    " }, { "lang": "JavaScript", @@ -1040,7 +1040,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "bodyParameters": [], @@ -1049,7 +1049,7 @@ { "verb": "get", "requestPath": "/admin/keys", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "per_page", @@ -1070,13 +1070,53 @@ "default": 1 }, "descriptionHTML": "

    Page number of the results to fetch.

    " + }, + { + "name": "direction", + "description": "One of `asc` (ascending) or `desc` (descending).", + "in": "query", + "required": false, + "schema": { + "type": "string", + "enum": [ + "asc", + "desc" + ], + "default": "desc" + }, + "descriptionHTML": "

    One of asc (ascending) or desc (descending).

    " + }, + { + "name": "sort", + "in": "query", + "required": false, + "schema": { + "type": "string", + "enum": [ + "created", + "updated", + "accessed" + ], + "default": "created" + }, + "descriptionHTML": "" + }, + { + "name": "since", + "description": "Only show public keys accessed after the given time.", + "in": "query", + "required": false, + "schema": { + "type": "string" + }, + "descriptionHTML": "

    Only show public keys accessed after the given time.

    " } ], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/admin/keys", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/admin/keys
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/admin/keys", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/admin/keys
    " }, { "lang": "JavaScript", @@ -1121,7 +1161,7 @@ { "verb": "delete", "requestPath": "/admin/keys/{key_ids}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "key_ids", @@ -1136,8 +1176,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/admin/keys/KEY_IDS", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/admin/keys/KEY_IDS
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/admin/keys/KEY_IDS", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/admin/keys/KEY_IDS
    " }, { "lang": "JavaScript", @@ -1172,7 +1212,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "bodyParameters": [], @@ -1181,7 +1221,7 @@ { "verb": "patch", "requestPath": "/admin/ldap/teams/{team_id}/mapping", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "team_id", @@ -1196,8 +1236,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/admin/ldap/teams/42/mapping \\\n -d '{\"ldap_dn\":\"ldap_dn\"}'", - "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/admin/ldap/teams/42/mapping \\\n  -d '{\"ldap_dn\":\"ldap_dn\"}'
    " + "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/admin/ldap/teams/42/mapping \\\n -d '{\"ldap_dn\":\"ldap_dn\"}'", + "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/admin/ldap/teams/42/mapping \\\n  -d '{\"ldap_dn\":\"ldap_dn\"}'
    " }, { "lang": "JavaScript", @@ -1275,7 +1315,7 @@ { "verb": "post", "requestPath": "/admin/ldap/teams/{team_id}/sync", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "team_id", @@ -1290,8 +1330,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/admin/ldap/teams/42/sync", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/admin/ldap/teams/42/sync
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/admin/ldap/teams/42/sync", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/admin/ldap/teams/42/sync
    " }, { "lang": "JavaScript", @@ -1336,7 +1376,7 @@ { "verb": "patch", "requestPath": "/admin/ldap/users/{username}/mapping", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "username", @@ -1351,8 +1391,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/admin/ldap/users/USERNAME/mapping \\\n -d '{\"ldap_dn\":\"ldap_dn\"}'", - "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/admin/ldap/users/USERNAME/mapping \\\n  -d '{\"ldap_dn\":\"ldap_dn\"}'
    " + "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/admin/ldap/users/USERNAME/mapping \\\n -d '{\"ldap_dn\":\"ldap_dn\"}'", + "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/admin/ldap/users/USERNAME/mapping \\\n  -d '{\"ldap_dn\":\"ldap_dn\"}'
    " }, { "lang": "JavaScript", @@ -1430,7 +1470,7 @@ { "verb": "post", "requestPath": "/admin/ldap/users/{username}/sync", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "username", @@ -1445,8 +1485,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/admin/ldap/users/USERNAME/sync", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/admin/ldap/users/USERNAME/sync
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/admin/ldap/users/USERNAME/sync", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/admin/ldap/users/USERNAME/sync
    " }, { "lang": "JavaScript", @@ -1491,13 +1531,13 @@ { "verb": "post", "requestPath": "/admin/organizations", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/admin/organizations \\\n -d '{\"login\":\"login\",\"admin\":\"admin\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/admin/organizations \\\n  -d '{\"login\":\"login\",\"admin\":\"admin\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/admin/organizations \\\n -d '{\"login\":\"login\",\"admin\":\"admin\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/admin/organizations \\\n  -d '{\"login\":\"login\",\"admin\":\"admin\"}'
    " }, { "lang": "JavaScript", @@ -1617,7 +1657,7 @@ { "verb": "patch", "requestPath": "/admin/organizations/{org}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "org", @@ -1632,8 +1672,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/admin/organizations/ORG \\\n -d '{\"login\":\"login\"}'", - "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/admin/organizations/ORG \\\n  -d '{\"login\":\"login\"}'
    " + "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/admin/organizations/ORG \\\n -d '{\"login\":\"login\"}'", + "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/admin/organizations/ORG \\\n  -d '{\"login\":\"login\"}'
    " }, { "lang": "JavaScript", @@ -1714,7 +1754,7 @@ { "verb": "get", "requestPath": "/admin/pre-receive-environments", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "per_page", @@ -1735,13 +1775,43 @@ "default": 1 }, "descriptionHTML": "

    Page number of the results to fetch.

    " + }, + { + "name": "direction", + "description": "One of `asc` (ascending) or `desc` (descending).", + "in": "query", + "required": false, + "schema": { + "type": "string", + "enum": [ + "asc", + "desc" + ], + "default": "desc" + }, + "descriptionHTML": "

    One of asc (ascending) or desc (descending).

    " + }, + { + "name": "sort", + "in": "query", + "required": false, + "schema": { + "type": "string", + "enum": [ + "created", + "updated", + "name" + ], + "default": "created" + }, + "descriptionHTML": "" } ], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n https://api.github.com/admin/pre-receive-environments", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n  https://api.github.com/admin/pre-receive-environments
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n http(s)://{hostname}/api/v3/admin/pre-receive-environments", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n  http(s)://{hostname}/api/v3/admin/pre-receive-environments
    " }, { "lang": "JavaScript", @@ -1793,13 +1863,13 @@ { "verb": "post", "requestPath": "/admin/pre-receive-environments", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n https://api.github.com/admin/pre-receive-environments \\\n -d '{\"name\":\"name\",\"image_url\":\"image_url\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n  https://api.github.com/admin/pre-receive-environments \\\n  -d '{\"name\":\"name\",\"image_url\":\"image_url\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n http(s)://{hostname}/api/v3/admin/pre-receive-environments \\\n -d '{\"name\":\"name\",\"image_url\":\"image_url\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n  http(s)://{hostname}/api/v3/admin/pre-receive-environments \\\n  -d '{\"name\":\"name\",\"image_url\":\"image_url\"}'
    " }, { "lang": "JavaScript", @@ -1907,7 +1977,7 @@ { "verb": "get", "requestPath": "/admin/pre-receive-environments/{pre_receive_environment_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "pre_receive_environment_id", @@ -1922,8 +1992,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n https://api.github.com/admin/pre-receive-environments/42", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n  https://api.github.com/admin/pre-receive-environments/42
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n http(s)://{hostname}/api/v3/admin/pre-receive-environments/42", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n  http(s)://{hostname}/api/v3/admin/pre-receive-environments/42
    " }, { "lang": "JavaScript", @@ -1975,7 +2045,7 @@ { "verb": "patch", "requestPath": "/admin/pre-receive-environments/{pre_receive_environment_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "pre_receive_environment_id", @@ -1990,8 +2060,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n https://api.github.com/admin/pre-receive-environments/42 \\\n -d '{\"name\":\"name\"}'", - "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n  https://api.github.com/admin/pre-receive-environments/42 \\\n  -d '{\"name\":\"name\"}'
    " + "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n http(s)://{hostname}/api/v3/admin/pre-receive-environments/42 \\\n -d '{\"name\":\"name\"}'", + "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n  http(s)://{hostname}/api/v3/admin/pre-receive-environments/42 \\\n  -d '{\"name\":\"name\"}'
    " }, { "lang": "JavaScript", @@ -2097,7 +2167,7 @@ { "verb": "delete", "requestPath": "/admin/pre-receive-environments/{pre_receive_environment_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "pre_receive_environment_id", @@ -2112,8 +2182,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n https://api.github.com/admin/pre-receive-environments/42", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n  https://api.github.com/admin/pre-receive-environments/42
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n http(s)://{hostname}/api/v3/admin/pre-receive-environments/42", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n  http(s)://{hostname}/api/v3/admin/pre-receive-environments/42
    " }, { "lang": "JavaScript", @@ -2157,7 +2227,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "422", @@ -2170,7 +2240,7 @@ { "verb": "post", "requestPath": "/admin/pre-receive-environments/{pre_receive_environment_id}/downloads", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "pre_receive_environment_id", @@ -2185,8 +2255,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n https://api.github.com/admin/pre-receive-environments/42/downloads", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n  https://api.github.com/admin/pre-receive-environments/42/downloads
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n http(s)://{hostname}/api/v3/admin/pre-receive-environments/42/downloads", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n  http(s)://{hostname}/api/v3/admin/pre-receive-environments/42/downloads
    " }, { "lang": "JavaScript", @@ -2244,7 +2314,7 @@ { "verb": "get", "requestPath": "/admin/pre-receive-environments/{pre_receive_environment_id}/downloads/latest", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "pre_receive_environment_id", @@ -2259,8 +2329,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n https://api.github.com/admin/pre-receive-environments/42/downloads/latest", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n  https://api.github.com/admin/pre-receive-environments/42/downloads/latest
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n http(s)://{hostname}/api/v3/admin/pre-receive-environments/42/downloads/latest", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n  http(s)://{hostname}/api/v3/admin/pre-receive-environments/42/downloads/latest
    " }, { "lang": "JavaScript", @@ -2312,7 +2382,7 @@ { "verb": "get", "requestPath": "/admin/pre-receive-hooks", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "per_page", @@ -2333,13 +2403,44 @@ "default": 1 }, "descriptionHTML": "

    Page number of the results to fetch.

    " + }, + { + "name": "direction", + "description": "One of `asc` (ascending) or `desc` (descending).", + "in": "query", + "required": false, + "schema": { + "type": "string", + "enum": [ + "asc", + "desc" + ], + "default": "desc" + }, + "descriptionHTML": "

    One of asc (ascending) or desc (descending).

    " + }, + { + "name": "sort", + "description": "One of `created` (when the repository was starred) or `updated` (when it was last pushed to) or `name`.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "enum": [ + "created", + "updated", + "name" + ], + "default": "created" + }, + "descriptionHTML": "

    One of created (when the repository was starred) or updated (when it was last pushed to) or name.

    " } ], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n https://api.github.com/admin/pre-receive-hooks", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n  https://api.github.com/admin/pre-receive-hooks
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n http(s)://{hostname}/api/v3/admin/pre-receive-hooks", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n  http(s)://{hostname}/api/v3/admin/pre-receive-hooks
    " }, { "lang": "JavaScript", @@ -2391,13 +2492,13 @@ { "verb": "post", "requestPath": "/admin/pre-receive-hooks", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n https://api.github.com/admin/pre-receive-hooks \\\n -d '{\"name\":\"name\",\"script\":\"script\",\"script_repository\":{},\"environment\":{}}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n  https://api.github.com/admin/pre-receive-hooks \\\n  -d '{\"name\":\"name\",\"script\":\"script\",\"script_repository\":{},\"environment\":{}}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n http(s)://{hostname}/api/v3/admin/pre-receive-hooks \\\n -d '{\"name\":\"name\",\"script\":\"script\",\"script_repository\":{},\"environment\":{}}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n  http(s)://{hostname}/api/v3/admin/pre-receive-hooks \\\n  -d '{\"name\":\"name\",\"script\":\"script\",\"script_repository\":{},\"environment\":{}}'
    " }, { "lang": "JavaScript", @@ -2595,7 +2696,7 @@ { "verb": "get", "requestPath": "/admin/pre-receive-hooks/{pre_receive_hook_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "pre_receive_hook_id", @@ -2610,8 +2711,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n https://api.github.com/admin/pre-receive-hooks/42", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n  https://api.github.com/admin/pre-receive-hooks/42
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n http(s)://{hostname}/api/v3/admin/pre-receive-hooks/42", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n  http(s)://{hostname}/api/v3/admin/pre-receive-hooks/42
    " }, { "lang": "JavaScript", @@ -2663,7 +2764,7 @@ { "verb": "patch", "requestPath": "/admin/pre-receive-hooks/{pre_receive_hook_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "pre_receive_hook_id", @@ -2678,8 +2779,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n https://api.github.com/admin/pre-receive-hooks/42 \\\n -d '{\"name\":\"name\"}'", - "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n  https://api.github.com/admin/pre-receive-hooks/42 \\\n  -d '{\"name\":\"name\"}'
    " + "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n http(s)://{hostname}/api/v3/admin/pre-receive-hooks/42 \\\n -d '{\"name\":\"name\"}'", + "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n  http(s)://{hostname}/api/v3/admin/pre-receive-hooks/42 \\\n  -d '{\"name\":\"name\"}'
    " }, { "lang": "JavaScript", @@ -2866,7 +2967,7 @@ { "verb": "delete", "requestPath": "/admin/pre-receive-hooks/{pre_receive_hook_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "pre_receive_hook_id", @@ -2881,8 +2982,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n https://api.github.com/admin/pre-receive-hooks/42", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n  https://api.github.com/admin/pre-receive-hooks/42
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n http(s)://{hostname}/api/v3/admin/pre-receive-hooks/42", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n  http(s)://{hostname}/api/v3/admin/pre-receive-hooks/42
    " }, { "lang": "JavaScript", @@ -2924,7 +3025,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "bodyParameters": [], @@ -2933,7 +3034,7 @@ { "verb": "get", "requestPath": "/admin/tokens", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "per_page", @@ -2959,8 +3060,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/admin/tokens", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/admin/tokens
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/admin/tokens", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/admin/tokens
    " }, { "lang": "JavaScript", @@ -3005,7 +3106,7 @@ { "verb": "delete", "requestPath": "/admin/tokens/{token_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "token_id", @@ -3020,8 +3121,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/admin/tokens/42", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/admin/tokens/42
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/admin/tokens/42", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/admin/tokens/42
    " }, { "lang": "JavaScript", @@ -3056,7 +3157,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "bodyParameters": [], @@ -3065,13 +3166,13 @@ { "verb": "post", "requestPath": "/admin/users", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/admin/users \\\n -d '{\"login\":\"login\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/admin/users \\\n  -d '{\"login\":\"login\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/admin/users \\\n -d '{\"login\":\"login\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/admin/users \\\n  -d '{\"login\":\"login\"}'
    " }, { "lang": "JavaScript", @@ -3171,7 +3272,7 @@ { "verb": "patch", "requestPath": "/admin/users/{username}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "username", @@ -3186,8 +3287,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/admin/users/USERNAME \\\n -d '{\"login\":\"login\"}'", - "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/admin/users/USERNAME \\\n  -d '{\"login\":\"login\"}'
    " + "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/admin/users/USERNAME \\\n -d '{\"login\":\"login\"}'", + "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/admin/users/USERNAME \\\n  -d '{\"login\":\"login\"}'
    " }, { "lang": "JavaScript", @@ -3268,7 +3369,7 @@ { "verb": "delete", "requestPath": "/admin/users/{username}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "username", @@ -3283,8 +3384,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/admin/users/USERNAME", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/admin/users/USERNAME
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/admin/users/USERNAME", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/admin/users/USERNAME
    " }, { "lang": "JavaScript", @@ -3319,7 +3420,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "bodyParameters": [], @@ -3328,7 +3429,7 @@ { "verb": "post", "requestPath": "/admin/users/{username}/authorizations", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "username", @@ -3343,8 +3444,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/admin/users/USERNAME/authorizations \\\n -d '{\"scopes\":[\"scopes\"]}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/admin/users/USERNAME/authorizations \\\n  -d '{\"scopes\":[\"scopes\"]}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/admin/users/USERNAME/authorizations \\\n -d '{\"scopes\":[\"scopes\"]}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/admin/users/USERNAME/authorizations \\\n  -d '{\"scopes\":[\"scopes\"]}'
    " }, { "lang": "JavaScript", @@ -3425,7 +3526,7 @@ { "verb": "delete", "requestPath": "/admin/users/{username}/authorizations", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "username", @@ -3440,8 +3541,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/admin/users/USERNAME/authorizations", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/admin/users/USERNAME/authorizations
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/admin/users/USERNAME/authorizations", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/admin/users/USERNAME/authorizations
    " }, { "lang": "JavaScript", @@ -3476,7 +3577,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "bodyParameters": [], @@ -3485,13 +3586,13 @@ { "verb": "get", "requestPath": "/app", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.machine-man-preview+json\" \\\n https://api.github.com/app", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.machine-man-preview+json\" \\\n  https://api.github.com/app
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.machine-man-preview+json\" \\\n http(s)://{hostname}/api/v3/app", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.machine-man-preview+json\" \\\n  http(s)://{hostname}/api/v3/app
    " }, { "lang": "JavaScript", @@ -3540,7 +3641,7 @@ { "verb": "post", "requestPath": "/app-manifests/{code}/conversions", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "code", @@ -3555,8 +3656,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/app-manifests/CODE/conversions", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/app-manifests/CODE/conversions
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/app-manifests/CODE/conversions", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/app-manifests/CODE/conversions
    " }, { "lang": "JavaScript", @@ -3609,7 +3710,7 @@ { "verb": "get", "requestPath": "/app/installations", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "accept", @@ -3646,8 +3747,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.machine-man-preview+json\" \\\n https://api.github.com/app/installations", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.machine-man-preview+json\" \\\n  https://api.github.com/app/installations
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.machine-man-preview+json\" \\\n http(s)://{hostname}/api/v3/app/installations", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.machine-man-preview+json\" \\\n  http(s)://{hostname}/api/v3/app/installations
    " }, { "lang": "JavaScript", @@ -3696,7 +3797,7 @@ { "verb": "get", "requestPath": "/app/installations/{installation_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "accept", @@ -3723,8 +3824,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.machine-man-preview+json\" \\\n https://api.github.com/app/installations/42", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.machine-man-preview+json\" \\\n  https://api.github.com/app/installations/42
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.machine-man-preview+json\" \\\n http(s)://{hostname}/api/v3/app/installations/42", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.machine-man-preview+json\" \\\n  http(s)://{hostname}/api/v3/app/installations/42
    " }, { "lang": "JavaScript", @@ -3783,7 +3884,7 @@ { "verb": "delete", "requestPath": "/app/installations/{installation_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "accept", @@ -3810,8 +3911,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.machine-man-preview+json\" \\\n https://api.github.com/app/installations/42", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.machine-man-preview+json\" \\\n  https://api.github.com/app/installations/42
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.machine-man-preview+json\" \\\n http(s)://{hostname}/api/v3/app/installations/42", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.machine-man-preview+json\" \\\n  http(s)://{hostname}/api/v3/app/installations/42
    " }, { "lang": "JavaScript", @@ -3850,7 +3951,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "404", @@ -3864,7 +3965,7 @@ { "verb": "post", "requestPath": "/app/installations/{installation_id}/access_tokens", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "accept", @@ -3891,8 +3992,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.machine-man-preview+json\" \\\n https://api.github.com/app/installations/42/access_tokens \\\n -d '{\"repositories\":[\"repositories\"]}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.machine-man-preview+json\" \\\n  https://api.github.com/app/installations/42/access_tokens \\\n  -d '{\"repositories\":[\"repositories\"]}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.machine-man-preview+json\" \\\n http(s)://{hostname}/api/v3/app/installations/42/access_tokens \\\n -d '{\"repositories\":[\"repositories\"]}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.machine-man-preview+json\" \\\n  http(s)://{hostname}/api/v3/app/installations/42/access_tokens \\\n  -d '{\"repositories\":[\"repositories\"]}'
    " }, { "lang": "JavaScript", @@ -5642,7 +5743,7 @@ { "verb": "get", "requestPath": "/applications/grants", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "per_page", @@ -5663,13 +5764,23 @@ "default": 1 }, "descriptionHTML": "

    Page number of the results to fetch.

    " + }, + { + "name": "client_id", + "in": "query", + "required": false, + "description": "The client ID of your GitHub app.", + "schema": { + "type": "string" + }, + "descriptionHTML": "

    The client ID of your GitHub app.

    " } ], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/applications/grants", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/applications/grants
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/applications/grants", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/applications/grants
    " }, { "lang": "JavaScript", @@ -5735,7 +5846,7 @@ { "verb": "get", "requestPath": "/applications/grants/{grant_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "grant_id", @@ -5751,8 +5862,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/applications/grants/42", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/applications/grants/42
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/applications/grants/42", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/applications/grants/42
    " }, { "lang": "JavaScript", @@ -5813,7 +5924,7 @@ { "verb": "delete", "requestPath": "/applications/grants/{grant_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "grant_id", @@ -5829,8 +5940,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/applications/grants/42", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/applications/grants/42
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/applications/grants/42", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/applications/grants/42
    " }, { "lang": "JavaScript", @@ -5866,7 +5977,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "304", @@ -5890,7 +6001,7 @@ { "verb": "delete", "requestPath": "/applications/{client_id}/grant", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "client_id", @@ -5906,8 +6017,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/applications/CLIENT_ID/grant \\\n -d '{\"access_token\":\"access_token\"}'", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/applications/CLIENT_ID/grant \\\n  -d '{\"access_token\":\"access_token\"}'
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/applications/CLIENT_ID/grant \\\n -d '{\"access_token\":\"access_token\"}'", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/applications/CLIENT_ID/grant \\\n  -d '{\"access_token\":\"access_token\"}'
    " }, { "lang": "JavaScript", @@ -5965,7 +6076,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "422", @@ -5989,7 +6100,7 @@ { "verb": "delete", "requestPath": "/applications/{client_id}/grants/{access_token}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "client_id", @@ -6014,8 +6125,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/applications/CLIENT_ID/grants/ACCESS_TOKEN", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/applications/CLIENT_ID/grants/ACCESS_TOKEN
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/applications/CLIENT_ID/grants/ACCESS_TOKEN", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/applications/CLIENT_ID/grants/ACCESS_TOKEN
    " }, { "lang": "JavaScript", @@ -6053,7 +6164,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "bodyParameters": [], @@ -6062,7 +6173,7 @@ { "verb": "post", "requestPath": "/applications/{client_id}/token", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "client_id", @@ -6078,8 +6189,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/applications/CLIENT_ID/token \\\n -d '{\"access_token\":\"access_token\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/applications/CLIENT_ID/token \\\n  -d '{\"access_token\":\"access_token\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/applications/CLIENT_ID/token \\\n -d '{\"access_token\":\"access_token\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/applications/CLIENT_ID/token \\\n  -d '{\"access_token\":\"access_token\"}'
    " }, { "lang": "JavaScript", @@ -6167,7 +6278,7 @@ { "verb": "patch", "requestPath": "/applications/{client_id}/token", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "client_id", @@ -6183,8 +6294,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/applications/CLIENT_ID/token \\\n -d '{\"access_token\":\"access_token\"}'", - "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/applications/CLIENT_ID/token \\\n  -d '{\"access_token\":\"access_token\"}'
    " + "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/applications/CLIENT_ID/token \\\n -d '{\"access_token\":\"access_token\"}'", + "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/applications/CLIENT_ID/token \\\n  -d '{\"access_token\":\"access_token\"}'
    " }, { "lang": "JavaScript", @@ -6267,7 +6378,7 @@ { "verb": "delete", "requestPath": "/applications/{client_id}/token", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "client_id", @@ -6283,8 +6394,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/applications/CLIENT_ID/token \\\n -d '{\"access_token\":\"access_token\"}'", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/applications/CLIENT_ID/token \\\n  -d '{\"access_token\":\"access_token\"}'
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/applications/CLIENT_ID/token \\\n -d '{\"access_token\":\"access_token\"}'", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/applications/CLIENT_ID/token \\\n  -d '{\"access_token\":\"access_token\"}'
    " }, { "lang": "JavaScript", @@ -6345,7 +6456,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "422", @@ -6369,7 +6480,7 @@ { "verb": "get", "requestPath": "/applications/{client_id}/tokens/{access_token}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "client_id", @@ -6394,8 +6505,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/applications/CLIENT_ID/tokens/ACCESS_TOKEN", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/applications/CLIENT_ID/tokens/ACCESS_TOKEN
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/applications/CLIENT_ID/tokens/ACCESS_TOKEN", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/applications/CLIENT_ID/tokens/ACCESS_TOKEN
    " }, { "lang": "JavaScript", @@ -6448,7 +6559,7 @@ { "verb": "post", "requestPath": "/applications/{client_id}/tokens/{access_token}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "client_id", @@ -6473,8 +6584,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/applications/CLIENT_ID/tokens/ACCESS_TOKEN", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/applications/CLIENT_ID/tokens/ACCESS_TOKEN
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/applications/CLIENT_ID/tokens/ACCESS_TOKEN", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/applications/CLIENT_ID/tokens/ACCESS_TOKEN
    " }, { "lang": "JavaScript", @@ -6522,7 +6633,7 @@ { "verb": "delete", "requestPath": "/applications/{client_id}/tokens/{access_token}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "client_id", @@ -6547,8 +6658,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/applications/CLIENT_ID/tokens/ACCESS_TOKEN", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/applications/CLIENT_ID/tokens/ACCESS_TOKEN
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/applications/CLIENT_ID/tokens/ACCESS_TOKEN", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/applications/CLIENT_ID/tokens/ACCESS_TOKEN
    " }, { "lang": "JavaScript", @@ -6586,7 +6697,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "bodyParameters": [], @@ -6595,7 +6706,7 @@ { "verb": "get", "requestPath": "/apps/{app_slug}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "app_slug", @@ -6610,8 +6721,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.machine-man-preview+json\" \\\n https://api.github.com/apps/APP_SLUG", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.machine-man-preview+json\" \\\n  https://api.github.com/apps/APP_SLUG
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.machine-man-preview+json\" \\\n http(s)://{hostname}/api/v3/apps/APP_SLUG", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.machine-man-preview+json\" \\\n  http(s)://{hostname}/api/v3/apps/APP_SLUG
    " }, { "lang": "JavaScript", @@ -6675,7 +6786,7 @@ { "verb": "get", "requestPath": "/authorizations", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "per_page", @@ -6696,13 +6807,23 @@ "default": 1 }, "descriptionHTML": "

    Page number of the results to fetch.

    " + }, + { + "name": "client_id", + "in": "query", + "required": false, + "description": "The client ID of your GitHub app.", + "schema": { + "type": "string" + }, + "descriptionHTML": "

    The client ID of your GitHub app.

    " } ], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/authorizations", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/authorizations
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/authorizations", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/authorizations
    " }, { "lang": "JavaScript", @@ -6768,13 +6889,13 @@ { "verb": "post", "requestPath": "/authorizations", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/authorizations \\\n -d '{\"scopes\":[\"scopes\"]}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/authorizations \\\n  -d '{\"scopes\":[\"scopes\"]}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/authorizations \\\n -d '{\"scopes\":[\"scopes\"]}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/authorizations \\\n  -d '{\"scopes\":[\"scopes\"]}'
    " }, { "lang": "JavaScript", @@ -6987,7 +7108,7 @@ { "verb": "put", "requestPath": "/authorizations/clients/{client_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "client_id", @@ -7003,8 +7124,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/authorizations/clients/CLIENT_ID \\\n -d '{\"client_secret\":\"client_secret\"}'", - "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/authorizations/clients/CLIENT_ID \\\n  -d '{\"client_secret\":\"client_secret\"}'
    " + "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/authorizations/clients/CLIENT_ID \\\n -d '{\"client_secret\":\"client_secret\"}'", + "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/authorizations/clients/CLIENT_ID \\\n  -d '{\"client_secret\":\"client_secret\"}'
    " }, { "lang": "JavaScript", @@ -7201,7 +7322,7 @@ { "verb": "put", "requestPath": "/authorizations/clients/{client_id}/{fingerprint}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "client_id", @@ -7226,8 +7347,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/authorizations/clients/CLIENT_ID/FINGERPRINT \\\n -d '{\"client_secret\":\"client_secret\"}'", - "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/authorizations/clients/CLIENT_ID/FINGERPRINT \\\n  -d '{\"client_secret\":\"client_secret\"}'
    " + "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/authorizations/clients/CLIENT_ID/FINGERPRINT \\\n -d '{\"client_secret\":\"client_secret\"}'", + "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/authorizations/clients/CLIENT_ID/FINGERPRINT \\\n  -d '{\"client_secret\":\"client_secret\"}'
    " }, { "lang": "JavaScript", @@ -7391,7 +7512,7 @@ { "verb": "get", "requestPath": "/authorizations/{authorization_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "authorization_id", @@ -7407,8 +7528,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/authorizations/42", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/authorizations/42
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/authorizations/42", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/authorizations/42
    " }, { "lang": "JavaScript", @@ -7469,7 +7590,7 @@ { "verb": "patch", "requestPath": "/authorizations/{authorization_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "authorization_id", @@ -7485,8 +7606,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/authorizations/42 \\\n -d '{\"scopes\":[\"scopes\"]}'", - "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/authorizations/42 \\\n  -d '{\"scopes\":[\"scopes\"]}'
    " + "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/authorizations/42 \\\n -d '{\"scopes\":[\"scopes\"]}'", + "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/authorizations/42 \\\n  -d '{\"scopes\":[\"scopes\"]}'
    " }, { "lang": "JavaScript", @@ -7687,7 +7808,7 @@ { "verb": "delete", "requestPath": "/authorizations/{authorization_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "authorization_id", @@ -7703,8 +7824,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/authorizations/42", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/authorizations/42
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/authorizations/42", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/authorizations/42
    " }, { "lang": "JavaScript", @@ -7740,7 +7861,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "304", @@ -7764,13 +7885,13 @@ { "verb": "get", "requestPath": "/codes_of_conduct", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.scarlet-witch-preview+json\" \\\n https://api.github.com/codes_of_conduct", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.scarlet-witch-preview+json\" \\\n  https://api.github.com/codes_of_conduct
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.scarlet-witch-preview+json\" \\\n http(s)://{hostname}/api/v3/codes_of_conduct", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.scarlet-witch-preview+json\" \\\n  http(s)://{hostname}/api/v3/codes_of_conduct
    " }, { "lang": "JavaScript", @@ -7830,7 +7951,7 @@ { "verb": "get", "requestPath": "/codes_of_conduct/{key}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "key", @@ -7845,8 +7966,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.scarlet-witch-preview+json\" \\\n https://api.github.com/codes_of_conduct/KEY", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.scarlet-witch-preview+json\" \\\n  https://api.github.com/codes_of_conduct/KEY
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.scarlet-witch-preview+json\" \\\n http(s)://{hostname}/api/v3/codes_of_conduct/KEY", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.scarlet-witch-preview+json\" \\\n  http(s)://{hostname}/api/v3/codes_of_conduct/KEY
    " }, { "lang": "JavaScript", @@ -7911,7 +8032,7 @@ { "verb": "post", "requestPath": "/content_references/{content_reference_id}/attachments", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "content_reference_id", @@ -7926,8 +8047,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.corsair-preview+json\" \\\n https://api.github.com/content_references/42/attachments \\\n -d '{\"title\":\"title\",\"body\":\"body\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.corsair-preview+json\" \\\n  https://api.github.com/content_references/42/attachments \\\n  -d '{\"title\":\"title\",\"body\":\"body\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.corsair-preview+json\" \\\n http(s)://{hostname}/api/v3/content_references/42/attachments \\\n -d '{\"title\":\"title\",\"body\":\"body\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.corsair-preview+json\" \\\n  http(s)://{hostname}/api/v3/content_references/42/attachments \\\n  -d '{\"title\":\"title\",\"body\":\"body\"}'
    " }, { "lang": "JavaScript", @@ -8069,13 +8190,13 @@ { "verb": "get", "requestPath": "/emojis", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/emojis", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/emojis
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/emojis", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/emojis
    " }, { "lang": "JavaScript", @@ -8122,13 +8243,13 @@ { "verb": "get", "requestPath": "/enterprise/settings/license", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/enterprise/settings/license", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/enterprise/settings/license
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/enterprise/settings/license", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/enterprise/settings/license
    " }, { "lang": "JavaScript", @@ -8173,7 +8294,7 @@ { "verb": "get", "requestPath": "/enterprise/stats/{type}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "type", @@ -8188,8 +8309,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/enterprise/stats/TYPE", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/enterprise/stats/TYPE
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/enterprise/stats/TYPE", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/enterprise/stats/TYPE
    " }, { "lang": "JavaScript", @@ -8234,7 +8355,7 @@ { "verb": "get", "requestPath": "/events", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "per_page", @@ -8260,8 +8381,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/events", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/events
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/events", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/events
    " }, { "lang": "JavaScript", @@ -8320,13 +8441,13 @@ { "verb": "get", "requestPath": "/feeds", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/feeds", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/feeds
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/feeds", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/feeds
    " }, { "lang": "JavaScript", @@ -8371,7 +8492,7 @@ { "verb": "get", "requestPath": "/gists", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "since", @@ -8407,8 +8528,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/gists", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/gists
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/gists", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/gists
    " }, { "lang": "JavaScript", @@ -8461,13 +8582,13 @@ { "verb": "post", "requestPath": "/gists", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/gists \\\n -d '{\"files\":{}}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/gists \\\n  -d '{\"files\":{}}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/gists \\\n -d '{\"files\":{}}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/gists \\\n  -d '{\"files\":{}}'
    " }, { "lang": "JavaScript", @@ -8665,7 +8786,7 @@ { "verb": "get", "requestPath": "/gists/public", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "since", @@ -8701,8 +8822,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/gists/public", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/gists/public
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/gists/public", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/gists/public
    " }, { "lang": "JavaScript", @@ -8760,7 +8881,7 @@ { "verb": "get", "requestPath": "/gists/starred", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "since", @@ -8796,8 +8917,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/gists/starred", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/gists/starred
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/gists/starred", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/gists/starred
    " }, { "lang": "JavaScript", @@ -8855,7 +8976,7 @@ { "verb": "get", "requestPath": "/gists/{gist_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "gist_id", @@ -8871,8 +8992,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/gists/GIST_ID", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/gists/GIST_ID
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/gists/GIST_ID", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/gists/GIST_ID
    " }, { "lang": "JavaScript", @@ -8930,7 +9051,7 @@ { "verb": "patch", "requestPath": "/gists/{gist_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "gist_id", @@ -8946,8 +9067,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/gists/GIST_ID \\\n -d '{\"description\":\"description\"}'", - "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/gists/GIST_ID \\\n  -d '{\"description\":\"description\"}'
    " + "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/gists/GIST_ID \\\n -d '{\"description\":\"description\"}'", + "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/gists/GIST_ID \\\n  -d '{\"description\":\"description\"}'
    " }, { "lang": "JavaScript", @@ -9137,7 +9258,7 @@ { "verb": "delete", "requestPath": "/gists/{gist_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "gist_id", @@ -9153,8 +9274,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/gists/GIST_ID", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/gists/GIST_ID
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/gists/GIST_ID", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/gists/GIST_ID
    " }, { "lang": "JavaScript", @@ -9187,7 +9308,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "304", @@ -9211,7 +9332,7 @@ { "verb": "get", "requestPath": "/gists/{gist_id}/comments", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "gist_id", @@ -9247,8 +9368,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/gists/GIST_ID/comments", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/gists/GIST_ID/comments
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/gists/GIST_ID/comments", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/gists/GIST_ID/comments
    " }, { "lang": "JavaScript", @@ -9308,7 +9429,7 @@ { "verb": "post", "requestPath": "/gists/{gist_id}/comments", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "gist_id", @@ -9324,8 +9445,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/gists/GIST_ID/comments \\\n -d '{\"body\":\"body\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/gists/GIST_ID/comments \\\n  -d '{\"body\":\"body\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/gists/GIST_ID/comments \\\n -d '{\"body\":\"body\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/gists/GIST_ID/comments \\\n  -d '{\"body\":\"body\"}'
    " }, { "lang": "JavaScript", @@ -9422,7 +9543,7 @@ { "verb": "get", "requestPath": "/gists/{gist_id}/comments/{comment_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "gist_id", @@ -9448,8 +9569,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/gists/GIST_ID/comments/42", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/gists/GIST_ID/comments/42
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/gists/GIST_ID/comments/42", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/gists/GIST_ID/comments/42
    " }, { "lang": "JavaScript", @@ -9509,7 +9630,7 @@ { "verb": "patch", "requestPath": "/gists/{gist_id}/comments/{comment_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "gist_id", @@ -9535,8 +9656,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/gists/GIST_ID/comments/42 \\\n -d '{\"body\":\"body\"}'", - "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/gists/GIST_ID/comments/42 \\\n  -d '{\"body\":\"body\"}'
    " + "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/gists/GIST_ID/comments/42 \\\n -d '{\"body\":\"body\"}'", + "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/gists/GIST_ID/comments/42 \\\n  -d '{\"body\":\"body\"}'
    " }, { "lang": "JavaScript", @@ -9623,7 +9744,7 @@ { "verb": "delete", "requestPath": "/gists/{gist_id}/comments/{comment_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "gist_id", @@ -9649,8 +9770,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/gists/GIST_ID/comments/42", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/gists/GIST_ID/comments/42
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/gists/GIST_ID/comments/42", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/gists/GIST_ID/comments/42
    " }, { "lang": "JavaScript", @@ -9685,7 +9806,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "304", @@ -9709,7 +9830,7 @@ { "verb": "get", "requestPath": "/gists/{gist_id}/commits", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "gist_id", @@ -9745,8 +9866,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/gists/GIST_ID/commits", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/gists/GIST_ID/commits
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/gists/GIST_ID/commits", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/gists/GIST_ID/commits
    " }, { "lang": "JavaScript", @@ -9804,7 +9925,7 @@ { "verb": "get", "requestPath": "/gists/{gist_id}/forks", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "gist_id", @@ -9840,8 +9961,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/gists/GIST_ID/forks", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/gists/GIST_ID/forks
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/gists/GIST_ID/forks", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/gists/GIST_ID/forks
    " }, { "lang": "JavaScript", @@ -9899,7 +10020,7 @@ { "verb": "post", "requestPath": "/gists/{gist_id}/forks", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "gist_id", @@ -9915,8 +10036,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/gists/GIST_ID/forks", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/gists/GIST_ID/forks
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/gists/GIST_ID/forks", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/gists/GIST_ID/forks
    " }, { "lang": "JavaScript", @@ -9979,7 +10100,7 @@ { "verb": "get", "requestPath": "/gists/{gist_id}/star", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "gist_id", @@ -9995,8 +10116,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/gists/GIST_ID/star", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/gists/GIST_ID/star
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/gists/GIST_ID/star", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/gists/GIST_ID/star
    " }, { "lang": "JavaScript", @@ -10053,7 +10174,7 @@ { "verb": "put", "requestPath": "/gists/{gist_id}/star", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "gist_id", @@ -10069,8 +10190,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/gists/GIST_ID/star", - "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/gists/GIST_ID/star
    " + "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/gists/GIST_ID/star", + "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/gists/GIST_ID/star
    " }, { "lang": "JavaScript", @@ -10103,7 +10224,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "304", @@ -10127,7 +10248,7 @@ { "verb": "delete", "requestPath": "/gists/{gist_id}/star", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "gist_id", @@ -10143,8 +10264,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/gists/GIST_ID/star", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/gists/GIST_ID/star
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/gists/GIST_ID/star", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/gists/GIST_ID/star
    " }, { "lang": "JavaScript", @@ -10177,7 +10298,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "304", @@ -10201,7 +10322,7 @@ { "verb": "get", "requestPath": "/gists/{gist_id}/{sha}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "gist_id", @@ -10226,8 +10347,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/gists/GIST_ID/SHA", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/gists/GIST_ID/SHA
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/gists/GIST_ID/SHA", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/gists/GIST_ID/SHA
    " }, { "lang": "JavaScript", @@ -10285,13 +10406,13 @@ { "verb": "get", "requestPath": "/gitignore/templates", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/gitignore/templates", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/gitignore/templates
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/gitignore/templates", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/gitignore/templates
    " }, { "lang": "JavaScript", @@ -10339,7 +10460,7 @@ { "verb": "get", "requestPath": "/gitignore/templates/{name}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "name", @@ -10354,8 +10475,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/gitignore/templates/NAME", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/gitignore/templates/NAME
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/gitignore/templates/NAME", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/gitignore/templates/NAME
    " }, { "lang": "JavaScript", @@ -10403,7 +10524,7 @@ { "verb": "get", "requestPath": "/installation/repositories", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "accept", @@ -10440,8 +10561,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.machine-man-preview+json\" \\\n https://api.github.com/installation/repositories", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.machine-man-preview+json\" \\\n  https://api.github.com/installation/repositories
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.machine-man-preview+json\" \\\n http(s)://{hostname}/api/v3/installation/repositories", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.machine-man-preview+json\" \\\n  http(s)://{hostname}/api/v3/installation/repositories
    " }, { "lang": "JavaScript", @@ -10514,13 +10635,13 @@ { "verb": "delete", "requestPath": "/installation/token", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/installation/token", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/installation/token
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/installation/token", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/installation/token
    " }, { "lang": "JavaScript", @@ -10555,7 +10676,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "bodyParameters": [], @@ -10564,7 +10685,7 @@ { "verb": "get", "requestPath": "/issues", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "filter", @@ -10578,6 +10699,7 @@ "created", "mentioned", "subscribed", + "repos", "all" ], "default": "assigned" @@ -10711,8 +10833,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/issues", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/issues
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/issues", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/issues
    " }, { "lang": "JavaScript", @@ -10776,7 +10898,7 @@ { "verb": "get", "requestPath": "/licenses", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "featured", @@ -10796,13 +10918,23 @@ "default": 30 }, "descriptionHTML": "

    Results per page (max 100).

    " + }, + { + "name": "page", + "description": "Page number of the results to fetch.", + "in": "query", + "schema": { + "type": "integer", + "default": 1 + }, + "descriptionHTML": "

    Page number of the results to fetch.

    " } ], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/licenses", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/licenses
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/licenses", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/licenses
    " }, { "lang": "JavaScript", @@ -10850,7 +10982,7 @@ { "verb": "get", "requestPath": "/licenses/{license}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "license", @@ -10865,8 +10997,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/licenses/LICENSE", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/licenses/LICENSE
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/licenses/LICENSE", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/licenses/LICENSE
    " }, { "lang": "JavaScript", @@ -10924,13 +11056,13 @@ { "verb": "post", "requestPath": "/markdown", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/markdown \\\n -d '{\"text\":\"text\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/markdown \\\n  -d '{\"text\":\"text\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/markdown \\\n -d '{\"text\":\"text\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/markdown \\\n  -d '{\"text\":\"text\"}'
    " }, { "lang": "JavaScript", @@ -11058,13 +11190,13 @@ { "verb": "post", "requestPath": "/markdown/raw", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/markdown/raw", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/markdown/raw
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/markdown/raw", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/markdown/raw
    " }, { "lang": "JavaScript", @@ -11125,13 +11257,13 @@ { "verb": "get", "requestPath": "/meta", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/meta", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/meta
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/meta", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/meta
    " }, { "lang": "JavaScript", @@ -11179,7 +11311,7 @@ { "verb": "get", "requestPath": "/networks/{owner}/{repo}/events", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -11223,8 +11355,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/networks/octocat/hello-world/events", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/networks/octocat/hello-world/events
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/networks/octocat/hello-world/events", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/networks/octocat/hello-world/events
    " }, { "lang": "JavaScript", @@ -11288,7 +11420,7 @@ { "verb": "get", "requestPath": "/notifications", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "all", @@ -11356,8 +11488,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/notifications", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/notifications
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/notifications", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/notifications
    " }, { "lang": "JavaScript", @@ -11422,13 +11554,13 @@ { "verb": "put", "requestPath": "/notifications", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/notifications \\\n -d '{\"last_read_at\":\"last_read_at\"}'", - "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/notifications \\\n  -d '{\"last_read_at\":\"last_read_at\"}'
    " + "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/notifications \\\n -d '{\"last_read_at\":\"last_read_at\"}'", + "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/notifications \\\n  -d '{\"last_read_at\":\"last_read_at\"}'
    " }, { "lang": "JavaScript", @@ -11542,7 +11674,7 @@ { "verb": "get", "requestPath": "/notifications/threads/{thread_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "thread_id", @@ -11558,8 +11690,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/notifications/threads/42", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/notifications/threads/42
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/notifications/threads/42", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/notifications/threads/42
    " }, { "lang": "JavaScript", @@ -11619,7 +11751,7 @@ { "verb": "patch", "requestPath": "/notifications/threads/{thread_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "thread_id", @@ -11635,8 +11767,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/notifications/threads/42", - "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/notifications/threads/42
    " + "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/notifications/threads/42", + "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/notifications/threads/42
    " }, { "lang": "JavaScript", @@ -11690,7 +11822,7 @@ { "verb": "get", "requestPath": "/notifications/threads/{thread_id}/subscription", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "thread_id", @@ -11706,8 +11838,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/notifications/threads/42/subscription", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/notifications/threads/42/subscription
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/notifications/threads/42/subscription", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/notifications/threads/42/subscription
    " }, { "lang": "JavaScript", @@ -11767,7 +11899,7 @@ { "verb": "put", "requestPath": "/notifications/threads/{thread_id}/subscription", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "thread_id", @@ -11783,8 +11915,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/notifications/threads/42/subscription \\\n -d '{\"ignored\":true}'", - "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/notifications/threads/42/subscription \\\n  -d '{\"ignored\":true}'
    " + "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/notifications/threads/42/subscription \\\n -d '{\"ignored\":true}'", + "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/notifications/threads/42/subscription \\\n  -d '{\"ignored\":true}'
    " }, { "lang": "JavaScript", @@ -11876,7 +12008,7 @@ { "verb": "delete", "requestPath": "/notifications/threads/{thread_id}/subscription", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "thread_id", @@ -11892,8 +12024,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/notifications/threads/42/subscription", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/notifications/threads/42/subscription
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/notifications/threads/42/subscription", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/notifications/threads/42/subscription
    " }, { "lang": "JavaScript", @@ -11928,7 +12060,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "304", @@ -11952,7 +12084,7 @@ { "verb": "get", "requestPath": "/octocat", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "s", @@ -11968,8 +12100,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/octocat", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/octocat
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/octocat", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/octocat
    " }, { "lang": "JavaScript", @@ -12006,7 +12138,7 @@ { "verb": "get", "requestPath": "/organizations", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "since", @@ -12032,8 +12164,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/organizations", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/organizations
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/organizations", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/organizations
    " }, { "lang": "JavaScript", @@ -12081,7 +12213,7 @@ { "verb": "get", "requestPath": "/orgs/{org}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "org", @@ -12096,8 +12228,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/orgs/ORG", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/orgs/ORG
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG
    " }, { "lang": "JavaScript", @@ -12140,13 +12272,7 @@ "httpStatusCode": "200", "httpStatusMessage": "OK", "description": "Default response", - "payload": "
    {\n  \"login\": \"github\",\n  \"id\": 1,\n  \"node_id\": \"MDEyOk9yZ2FuaXphdGlvbjE=\",\n  \"url\": \"https://api.github.com/orgs/github\",\n  \"repos_url\": \"https://api.github.com/orgs/github/repos\",\n  \"events_url\": \"https://api.github.com/orgs/github/events\",\n  \"hooks_url\": \"https://api.github.com/orgs/github/hooks\",\n  \"issues_url\": \"https://api.github.com/orgs/github/issues\",\n  \"members_url\": \"https://api.github.com/orgs/github/members{/member}\",\n  \"public_members_url\": \"https://api.github.com/orgs/github/public_members{/member}\",\n  \"avatar_url\": \"https://github.com/images/error/octocat_happy.gif\",\n  \"description\": \"A great organization\",\n  \"name\": \"github\",\n  \"company\": \"GitHub\",\n  \"blog\": \"https://github.com/blog\",\n  \"location\": \"San Francisco\",\n  \"email\": \"octocat@github.com\",\n  \"twitter_username\": \"github\",\n  \"is_verified\": true,\n  \"has_organization_projects\": true,\n  \"has_repository_projects\": true,\n  \"public_repos\": 2,\n  \"public_gists\": 1,\n  \"followers\": 20,\n  \"following\": 0,\n  \"html_url\": \"https://github.com/octocat\",\n  \"created_at\": \"2008-01-14T04:33:35Z\",\n  \"updated_at\": \"2014-03-03T18:58:10Z\",\n  \"type\": \"Organization\",\n  \"total_private_repos\": 100,\n  \"owned_private_repos\": 100,\n  \"private_gists\": 81,\n  \"disk_usage\": 10000,\n  \"collaborators\": 8,\n  \"billing_email\": \"mona@github.com\",\n  \"plan\": {\n    \"name\": \"Medium\",\n    \"space\": 400,\n    \"private_repos\": 20\n  },\n  \"default_repository_permission\": \"read\",\n  \"members_can_create_repositories\": true,\n  \"two_factor_requirement_enabled\": true,\n  \"members_allowed_repository_creation_type\": \"all\",\n  \"members_can_create_public_repositories\": false,\n  \"members_can_create_private_repositories\": false,\n  \"members_can_create_internal_repositories\": false,\n  \"members_can_create_pages\": true\n}\n
    " - }, - { - "httpStatusCode": "200", - "httpStatusMessage": "OK", - "description": "Response with GitHub plan information", - "payload": "
    {\n  \"login\": \"github\",\n  \"id\": 1,\n  \"node_id\": \"MDEyOk9yZ2FuaXphdGlvbjE=\",\n  \"url\": \"https://api.github.com/orgs/github\",\n  \"repos_url\": \"https://api.github.com/orgs/github/repos\",\n  \"events_url\": \"https://api.github.com/orgs/github/events\",\n  \"hooks_url\": \"https://api.github.com/orgs/github/hooks\",\n  \"issues_url\": \"https://api.github.com/orgs/github/issues\",\n  \"members_url\": \"https://api.github.com/orgs/github/members{/member}\",\n  \"public_members_url\": \"https://api.github.com/orgs/github/public_members{/member}\",\n  \"avatar_url\": \"https://github.com/images/error/octocat_happy.gif\",\n  \"description\": \"A great organization\",\n  \"name\": \"github\",\n  \"company\": \"GitHub\",\n  \"blog\": \"https://github.com/blog\",\n  \"location\": \"San Francisco\",\n  \"email\": \"octocat@github.com\",\n  \"twitter_username\": \"github\",\n  \"is_verified\": true,\n  \"has_organization_projects\": true,\n  \"has_repository_projects\": true,\n  \"public_repos\": 2,\n  \"public_gists\": 1,\n  \"followers\": 20,\n  \"following\": 0,\n  \"html_url\": \"https://github.com/octocat\",\n  \"created_at\": \"2008-01-14T04:33:35Z\",\n  \"updated_at\": \"2014-03-03T18:58:10Z\",\n  \"type\": \"Organization\",\n  \"plan\": {\n    \"name\": \"team\",\n    \"space\": 976562499,\n    \"private_repos\": 999999,\n    \"filled_seats\": 4,\n    \"seats\": 5\n  }\n}\n
    " + "payload": "
    {\n  \"login\": \"github\",\n  \"id\": 1,\n  \"node_id\": \"MDEyOk9yZ2FuaXphdGlvbjE=\",\n  \"url\": \"https://api.github.com/orgs/github\",\n  \"repos_url\": \"https://api.github.com/orgs/github/repos\",\n  \"events_url\": \"https://api.github.com/orgs/github/events\",\n  \"hooks_url\": \"https://api.github.com/orgs/github/hooks\",\n  \"issues_url\": \"https://api.github.com/orgs/github/issues\",\n  \"members_url\": \"https://api.github.com/orgs/github/members{/member}\",\n  \"public_members_url\": \"https://api.github.com/orgs/github/public_members{/member}\",\n  \"avatar_url\": \"https://github.com/images/error/octocat_happy.gif\",\n  \"description\": \"A great organization\",\n  \"name\": \"github\",\n  \"company\": \"GitHub\",\n  \"blog\": \"https://github.com/blog\",\n  \"location\": \"San Francisco\",\n  \"email\": \"octocat@github.com\",\n  \"twitter_username\": \"github\",\n  \"is_verified\": true,\n  \"has_organization_projects\": true,\n  \"has_repository_projects\": true,\n  \"public_repos\": 2,\n  \"public_gists\": 1,\n  \"followers\": 20,\n  \"following\": 0,\n  \"html_url\": \"https://github.com/octocat\",\n  \"created_at\": \"2008-01-14T04:33:35Z\",\n  \"updated_at\": \"2014-03-03T18:58:10Z\",\n  \"type\": \"Organization\",\n  \"total_private_repos\": 100,\n  \"owned_private_repos\": 100,\n  \"private_gists\": 81,\n  \"disk_usage\": 10000,\n  \"collaborators\": 8,\n  \"billing_email\": \"mona@github.com\",\n  \"plan\": {\n    \"name\": \"Medium\",\n    \"space\": 400,\n    \"private_repos\": 20,\n    \"filled_seats\": 4,\n    \"seats\": 5\n  },\n  \"default_repository_permission\": \"read\",\n  \"members_can_create_repositories\": true,\n  \"two_factor_requirement_enabled\": true,\n  \"members_allowed_repository_creation_type\": \"all\",\n  \"members_can_create_public_repositories\": false,\n  \"members_can_create_private_repositories\": false,\n  \"members_can_create_internal_repositories\": false,\n  \"members_can_create_pages\": true\n}\n
    " }, { "httpStatusCode": "404", @@ -12158,7 +12284,7 @@ { "verb": "patch", "requestPath": "/orgs/{org}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "org", @@ -12173,8 +12299,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/orgs/ORG \\\n -d '{\"billing_email\":\"billing_email\"}'", - "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/orgs/ORG \\\n  -d '{\"billing_email\":\"billing_email\"}'
    " + "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG \\\n -d '{\"billing_email\":\"billing_email\"}'", + "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG \\\n  -d '{\"billing_email\":\"billing_email\"}'
    " }, { "lang": "JavaScript", @@ -12577,7 +12703,7 @@ { "verb": "get", "requestPath": "/orgs/{org}/events", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "org", @@ -12612,8 +12738,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/orgs/ORG/events", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/orgs/ORG/events
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/events", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/events
    " }, { "lang": "JavaScript", @@ -12657,7 +12783,7 @@ { "verb": "get", "requestPath": "/orgs/{org}/hooks", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "org", @@ -12692,8 +12818,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/orgs/ORG/hooks", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/orgs/ORG/hooks
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/hooks", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/hooks
    " }, { "lang": "JavaScript", @@ -12743,7 +12869,7 @@ { "verb": "post", "requestPath": "/orgs/{org}/hooks", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "org", @@ -12758,8 +12884,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/orgs/ORG/hooks \\\n -d '{\"name\":\"name\",\"config\":{\"url\":\"url\",\"content_type\":\"content_type\",\"secret\":\"secret\",\"insecure_ssl\":\"insecure_ssl\",\"username\":\"username\",\"password\":\"password\"}}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/orgs/ORG/hooks \\\n  -d '{\"name\":\"name\",\"config\":{\"url\":\"url\",\"content_type\":\"content_type\",\"secret\":\"secret\",\"insecure_ssl\":\"insecure_ssl\",\"username\":\"username\",\"password\":\"password\"}}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/hooks \\\n -d '{\"name\":\"name\",\"config\":{\"url\":\"url\",\"content_type\":\"content_type\",\"secret\":\"secret\",\"insecure_ssl\":\"insecure_ssl\",\"username\":\"username\",\"password\":\"password\"}}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/hooks \\\n  -d '{\"name\":\"name\",\"config\":{\"url\":\"url\",\"content_type\":\"content_type\",\"secret\":\"secret\",\"insecure_ssl\":\"insecure_ssl\",\"username\":\"username\",\"password\":\"password\"}}'
    " }, { "lang": "JavaScript", @@ -13190,7 +13316,7 @@ { "verb": "get", "requestPath": "/orgs/{org}/hooks/{hook_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "org", @@ -13214,8 +13340,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/orgs/ORG/hooks/42", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/orgs/ORG/hooks/42
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/hooks/42", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/hooks/42
    " }, { "lang": "JavaScript", @@ -13265,7 +13391,7 @@ { "verb": "patch", "requestPath": "/orgs/{org}/hooks/{hook_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "org", @@ -13289,8 +13415,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/orgs/ORG/hooks/42 \\\n -d '{\"config\":{\"url\":\"url\",\"content_type\":\"content_type\",\"secret\":\"secret\",\"insecure_ssl\":\"insecure_ssl\"}}'", - "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/orgs/ORG/hooks/42 \\\n  -d '{\"config\":{\"url\":\"url\",\"content_type\":\"content_type\",\"secret\":\"secret\",\"insecure_ssl\":\"insecure_ssl\"}}'
    " + "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/hooks/42 \\\n -d '{\"config\":{\"url\":\"url\",\"content_type\":\"content_type\",\"secret\":\"secret\",\"insecure_ssl\":\"insecure_ssl\"}}'", + "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/hooks/42 \\\n  -d '{\"config\":{\"url\":\"url\",\"content_type\":\"content_type\",\"secret\":\"secret\",\"insecure_ssl\":\"insecure_ssl\"}}'
    " }, { "lang": "JavaScript", @@ -13639,7 +13765,7 @@ { "verb": "delete", "requestPath": "/orgs/{org}/hooks/{hook_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "org", @@ -13663,8 +13789,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/orgs/ORG/hooks/42", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/orgs/ORG/hooks/42
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/hooks/42", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/hooks/42
    " }, { "lang": "JavaScript", @@ -13699,7 +13825,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "404", @@ -13713,7 +13839,7 @@ { "verb": "post", "requestPath": "/orgs/{org}/hooks/{hook_id}/pings", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "org", @@ -13737,8 +13863,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/orgs/ORG/hooks/42/pings", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/orgs/ORG/hooks/42/pings
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/hooks/42/pings", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/hooks/42/pings
    " }, { "lang": "JavaScript", @@ -13773,7 +13899,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "404", @@ -13787,7 +13913,7 @@ { "verb": "get", "requestPath": "/orgs/{org}/installation", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "accept", @@ -13813,8 +13939,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.machine-man-preview+json\" \\\n https://api.github.com/orgs/ORG/installation", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.machine-man-preview+json\" \\\n  https://api.github.com/orgs/ORG/installation
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.machine-man-preview+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/installation", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.machine-man-preview+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/installation
    " }, { "lang": "JavaScript", @@ -13863,7 +13989,7 @@ { "verb": "get", "requestPath": "/orgs/{org}/installations", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "accept", @@ -13909,8 +14035,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.machine-man-preview+json\" \\\n https://api.github.com/orgs/ORG/installations", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.machine-man-preview+json\" \\\n  https://api.github.com/orgs/ORG/installations
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.machine-man-preview+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/installations", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.machine-man-preview+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/installations
    " }, { "lang": "JavaScript", @@ -13959,7 +14085,7 @@ { "verb": "get", "requestPath": "/orgs/{org}/issues", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "org", @@ -13982,6 +14108,7 @@ "created", "mentioned", "subscribed", + "repos", "all" ], "default": "assigned" @@ -14079,8 +14206,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/orgs/ORG/issues", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/orgs/ORG/issues
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/issues", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/issues
    " }, { "lang": "JavaScript", @@ -14134,7 +14261,7 @@ { "verb": "get", "requestPath": "/orgs/{org}/members", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "org", @@ -14200,8 +14327,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/orgs/ORG/members", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/orgs/ORG/members
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/members", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/members
    " }, { "lang": "JavaScript", @@ -14256,7 +14383,7 @@ { "verb": "get", "requestPath": "/orgs/{org}/members/{username}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "org", @@ -14280,8 +14407,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/orgs/ORG/members/USERNAME", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/orgs/ORG/members/USERNAME
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/members/USERNAME", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/members/USERNAME
    " }, { "lang": "JavaScript", @@ -14335,7 +14462,7 @@ { "verb": "delete", "requestPath": "/orgs/{org}/members/{username}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "org", @@ -14359,8 +14486,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/orgs/ORG/members/USERNAME", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/orgs/ORG/members/USERNAME
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/members/USERNAME", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/members/USERNAME
    " }, { "lang": "JavaScript", @@ -14395,7 +14522,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "403", @@ -14409,7 +14536,7 @@ { "verb": "get", "requestPath": "/orgs/{org}/memberships/{username}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "org", @@ -14433,8 +14560,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/orgs/ORG/memberships/USERNAME", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/orgs/ORG/memberships/USERNAME
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/memberships/USERNAME", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/memberships/USERNAME
    " }, { "lang": "JavaScript", @@ -14443,7 +14570,7 @@ } ], "summary": "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.", + "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.", "tags": [ "orgs" ], @@ -14466,7 +14593,7 @@ "subcategoryLabel": "Members", "notes": [], "bodyParameters": [], - "descriptionHTML": "

    In order to get a user's membership with an organization, the authenticated user must be an organization member.

    ", + "descriptionHTML": "

    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.

    ", "responses": [ { "httpStatusCode": "200", @@ -14474,18 +14601,6 @@ "description": "Response if user has an active admin membership with organization", "payload": "
    {\n  \"url\": \"https://api.github.com/orgs/octocat/memberships/defunkt\",\n  \"state\": \"active\",\n  \"role\": \"admin\",\n  \"organization_url\": \"https://api.github.com/orgs/octocat\",\n  \"organization\": {\n    \"login\": \"github\",\n    \"id\": 1,\n    \"node_id\": \"MDEyOk9yZ2FuaXphdGlvbjE=\",\n    \"url\": \"https://api.github.com/orgs/github\",\n    \"repos_url\": \"https://api.github.com/orgs/github/repos\",\n    \"events_url\": \"https://api.github.com/orgs/github/events\",\n    \"hooks_url\": \"https://api.github.com/orgs/github/hooks\",\n    \"issues_url\": \"https://api.github.com/orgs/github/issues\",\n    \"members_url\": \"https://api.github.com/orgs/github/members{/member}\",\n    \"public_members_url\": \"https://api.github.com/orgs/github/public_members{/member}\",\n    \"avatar_url\": \"https://github.com/images/error/octocat_happy.gif\",\n    \"description\": \"A great organization\"\n  },\n  \"user\": {\n    \"login\": \"octocat\",\n    \"id\": 1,\n    \"node_id\": \"MDQ6VXNlcjE=\",\n    \"avatar_url\": \"https://github.com/images/error/octocat_happy.gif\",\n    \"gravatar_id\": \"\",\n    \"url\": \"https://api.github.com/users/octocat\",\n    \"html_url\": \"https://github.com/octocat\",\n    \"followers_url\": \"https://api.github.com/users/octocat/followers\",\n    \"following_url\": \"https://api.github.com/users/octocat/following{/other_user}\",\n    \"gists_url\": \"https://api.github.com/users/octocat/gists{/gist_id}\",\n    \"starred_url\": \"https://api.github.com/users/octocat/starred{/owner}{/repo}\",\n    \"subscriptions_url\": \"https://api.github.com/users/octocat/subscriptions\",\n    \"organizations_url\": \"https://api.github.com/users/octocat/orgs\",\n    \"repos_url\": \"https://api.github.com/users/octocat/repos\",\n    \"events_url\": \"https://api.github.com/users/octocat/events{/privacy}\",\n    \"received_events_url\": \"https://api.github.com/users/octocat/received_events\",\n    \"type\": \"User\",\n    \"site_admin\": false\n  }\n}\n
    " }, - { - "httpStatusCode": "200", - "httpStatusMessage": "OK", - "description": "Response if user has an active membership with organization", - "payload": "
    {\n  \"url\": \"https://api.github.com/orgs/octocat/memberships/defunkt\",\n  \"state\": \"active\",\n  \"role\": \"member\",\n  \"organization_url\": \"https://api.github.com/orgs/octocat\",\n  \"organization\": {\n    \"login\": \"github\",\n    \"id\": 1,\n    \"node_id\": \"MDEyOk9yZ2FuaXphdGlvbjE=\",\n    \"url\": \"https://api.github.com/orgs/github\",\n    \"repos_url\": \"https://api.github.com/orgs/github/repos\",\n    \"events_url\": \"https://api.github.com/orgs/github/events\",\n    \"hooks_url\": \"https://api.github.com/orgs/github/hooks\",\n    \"issues_url\": \"https://api.github.com/orgs/github/issues\",\n    \"members_url\": \"https://api.github.com/orgs/github/members{/member}\",\n    \"public_members_url\": \"https://api.github.com/orgs/github/public_members{/member}\",\n    \"avatar_url\": \"https://github.com/images/error/octocat_happy.gif\",\n    \"description\": \"A great organization\"\n  },\n  \"user\": {\n    \"login\": \"octocat\",\n    \"id\": 1,\n    \"node_id\": \"MDQ6VXNlcjE=\",\n    \"avatar_url\": \"https://github.com/images/error/octocat_happy.gif\",\n    \"gravatar_id\": \"\",\n    \"url\": \"https://api.github.com/users/octocat\",\n    \"html_url\": \"https://github.com/octocat\",\n    \"followers_url\": \"https://api.github.com/users/octocat/followers\",\n    \"following_url\": \"https://api.github.com/users/octocat/following{/other_user}\",\n    \"gists_url\": \"https://api.github.com/users/octocat/gists{/gist_id}\",\n    \"starred_url\": \"https://api.github.com/users/octocat/starred{/owner}{/repo}\",\n    \"subscriptions_url\": \"https://api.github.com/users/octocat/subscriptions\",\n    \"organizations_url\": \"https://api.github.com/users/octocat/orgs\",\n    \"repos_url\": \"https://api.github.com/users/octocat/repos\",\n    \"events_url\": \"https://api.github.com/users/octocat/events{/privacy}\",\n    \"received_events_url\": \"https://api.github.com/users/octocat/received_events\",\n    \"type\": \"User\",\n    \"site_admin\": false\n  }\n}\n
    " - }, - { - "httpStatusCode": "200", - "httpStatusMessage": "OK", - "description": "Response if user has a pending membership with organization", - "payload": "
    {\n  \"url\": \"https://api.github.com/orgs/invitocat/memberships/defunkt\",\n  \"state\": \"pending\",\n  \"role\": \"member\",\n  \"organization_url\": \"https://api.github.com/orgs/invitocat\",\n  \"organization\": {\n    \"login\": \"github\",\n    \"id\": 1,\n    \"node_id\": \"MDEyOk9yZ2FuaXphdGlvbjE=\",\n    \"url\": \"https://api.github.com/orgs/github\",\n    \"repos_url\": \"https://api.github.com/orgs/github/repos\",\n    \"events_url\": \"https://api.github.com/orgs/github/events\",\n    \"hooks_url\": \"https://api.github.com/orgs/github/hooks\",\n    \"issues_url\": \"https://api.github.com/orgs/github/issues\",\n    \"members_url\": \"https://api.github.com/orgs/github/members{/member}\",\n    \"public_members_url\": \"https://api.github.com/orgs/github/public_members{/member}\",\n    \"avatar_url\": \"https://github.com/images/error/octocat_happy.gif\",\n    \"description\": \"A great organization\"\n  },\n  \"user\": {\n    \"login\": \"octocat\",\n    \"id\": 1,\n    \"node_id\": \"MDQ6VXNlcjE=\",\n    \"avatar_url\": \"https://github.com/images/error/octocat_happy.gif\",\n    \"gravatar_id\": \"\",\n    \"url\": \"https://api.github.com/users/octocat\",\n    \"html_url\": \"https://github.com/octocat\",\n    \"followers_url\": \"https://api.github.com/users/octocat/followers\",\n    \"following_url\": \"https://api.github.com/users/octocat/following{/other_user}\",\n    \"gists_url\": \"https://api.github.com/users/octocat/gists{/gist_id}\",\n    \"starred_url\": \"https://api.github.com/users/octocat/starred{/owner}{/repo}\",\n    \"subscriptions_url\": \"https://api.github.com/users/octocat/subscriptions\",\n    \"organizations_url\": \"https://api.github.com/users/octocat/orgs\",\n    \"repos_url\": \"https://api.github.com/users/octocat/repos\",\n    \"events_url\": \"https://api.github.com/users/octocat/events{/privacy}\",\n    \"received_events_url\": \"https://api.github.com/users/octocat/received_events\",\n    \"type\": \"User\",\n    \"site_admin\": false\n  }\n}\n
    " - }, { "httpStatusCode": "403", "httpStatusMessage": "Forbidden", @@ -14501,7 +14616,7 @@ { "verb": "put", "requestPath": "/orgs/{org}/memberships/{username}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "org", @@ -14525,8 +14640,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/orgs/ORG/memberships/USERNAME \\\n -d '{\"role\":\"role\"}'", - "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/orgs/ORG/memberships/USERNAME \\\n  -d '{\"role\":\"role\"}'
    " + "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/memberships/USERNAME \\\n -d '{\"role\":\"role\"}'", + "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/memberships/USERNAME \\\n  -d '{\"role\":\"role\"}'
    " }, { "lang": "JavaScript", @@ -14603,13 +14718,7 @@ { "httpStatusCode": "200", "httpStatusMessage": "OK", - "description": "Response if user was previously unaffiliated with organization", - "payload": "
    {\n  \"url\": \"https://api.github.com/orgs/invitocat/memberships/defunkt\",\n  \"state\": \"pending\",\n  \"role\": \"admin\",\n  \"organization_url\": \"https://api.github.com/orgs/invitocat\",\n  \"organization\": {\n    \"login\": \"github\",\n    \"id\": 1,\n    \"node_id\": \"MDEyOk9yZ2FuaXphdGlvbjE=\",\n    \"url\": \"https://api.github.com/orgs/github\",\n    \"repos_url\": \"https://api.github.com/orgs/github/repos\",\n    \"events_url\": \"https://api.github.com/orgs/github/events\",\n    \"hooks_url\": \"https://api.github.com/orgs/github/hooks\",\n    \"issues_url\": \"https://api.github.com/orgs/github/issues\",\n    \"members_url\": \"https://api.github.com/orgs/github/members{/member}\",\n    \"public_members_url\": \"https://api.github.com/orgs/github/public_members{/member}\",\n    \"avatar_url\": \"https://github.com/images/error/octocat_happy.gif\",\n    \"description\": \"A great organization\"\n  },\n  \"user\": {\n    \"login\": \"octocat\",\n    \"id\": 1,\n    \"node_id\": \"MDQ6VXNlcjE=\",\n    \"avatar_url\": \"https://github.com/images/error/octocat_happy.gif\",\n    \"gravatar_id\": \"\",\n    \"url\": \"https://api.github.com/users/octocat\",\n    \"html_url\": \"https://github.com/octocat\",\n    \"followers_url\": \"https://api.github.com/users/octocat/followers\",\n    \"following_url\": \"https://api.github.com/users/octocat/following{/other_user}\",\n    \"gists_url\": \"https://api.github.com/users/octocat/gists{/gist_id}\",\n    \"starred_url\": \"https://api.github.com/users/octocat/starred{/owner}{/repo}\",\n    \"subscriptions_url\": \"https://api.github.com/users/octocat/subscriptions\",\n    \"organizations_url\": \"https://api.github.com/users/octocat/orgs\",\n    \"repos_url\": \"https://api.github.com/users/octocat/repos\",\n    \"events_url\": \"https://api.github.com/users/octocat/events{/privacy}\",\n    \"received_events_url\": \"https://api.github.com/users/octocat/received_events\",\n    \"type\": \"User\",\n    \"site_admin\": false\n  }\n}\n
    " - }, - { - "httpStatusCode": "200", - "httpStatusMessage": "OK", - "description": "Response if user already had membership with organization", + "description": "Response if user has an active admin membership with organization", "payload": "
    {\n  \"url\": \"https://api.github.com/orgs/octocat/memberships/defunkt\",\n  \"state\": \"active\",\n  \"role\": \"admin\",\n  \"organization_url\": \"https://api.github.com/orgs/octocat\",\n  \"organization\": {\n    \"login\": \"github\",\n    \"id\": 1,\n    \"node_id\": \"MDEyOk9yZ2FuaXphdGlvbjE=\",\n    \"url\": \"https://api.github.com/orgs/github\",\n    \"repos_url\": \"https://api.github.com/orgs/github/repos\",\n    \"events_url\": \"https://api.github.com/orgs/github/events\",\n    \"hooks_url\": \"https://api.github.com/orgs/github/hooks\",\n    \"issues_url\": \"https://api.github.com/orgs/github/issues\",\n    \"members_url\": \"https://api.github.com/orgs/github/members{/member}\",\n    \"public_members_url\": \"https://api.github.com/orgs/github/public_members{/member}\",\n    \"avatar_url\": \"https://github.com/images/error/octocat_happy.gif\",\n    \"description\": \"A great organization\"\n  },\n  \"user\": {\n    \"login\": \"octocat\",\n    \"id\": 1,\n    \"node_id\": \"MDQ6VXNlcjE=\",\n    \"avatar_url\": \"https://github.com/images/error/octocat_happy.gif\",\n    \"gravatar_id\": \"\",\n    \"url\": \"https://api.github.com/users/octocat\",\n    \"html_url\": \"https://github.com/octocat\",\n    \"followers_url\": \"https://api.github.com/users/octocat/followers\",\n    \"following_url\": \"https://api.github.com/users/octocat/following{/other_user}\",\n    \"gists_url\": \"https://api.github.com/users/octocat/gists{/gist_id}\",\n    \"starred_url\": \"https://api.github.com/users/octocat/starred{/owner}{/repo}\",\n    \"subscriptions_url\": \"https://api.github.com/users/octocat/subscriptions\",\n    \"organizations_url\": \"https://api.github.com/users/octocat/orgs\",\n    \"repos_url\": \"https://api.github.com/users/octocat/repos\",\n    \"events_url\": \"https://api.github.com/users/octocat/events{/privacy}\",\n    \"received_events_url\": \"https://api.github.com/users/octocat/received_events\",\n    \"type\": \"User\",\n    \"site_admin\": false\n  }\n}\n
    " }, { @@ -14627,7 +14736,7 @@ { "verb": "delete", "requestPath": "/orgs/{org}/memberships/{username}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "org", @@ -14651,8 +14760,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/orgs/ORG/memberships/USERNAME", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/orgs/ORG/memberships/USERNAME
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/memberships/USERNAME", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/memberships/USERNAME
    " }, { "lang": "JavaScript", @@ -14687,7 +14796,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "403", @@ -14706,7 +14815,7 @@ { "verb": "get", "requestPath": "/orgs/{org}/outside_collaborators", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "org", @@ -14756,8 +14865,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/orgs/ORG/outside_collaborators", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/orgs/ORG/outside_collaborators
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/outside_collaborators", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/outside_collaborators
    " }, { "lang": "JavaScript", @@ -14802,7 +14911,7 @@ { "verb": "put", "requestPath": "/orgs/{org}/outside_collaborators/{username}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "org", @@ -14826,8 +14935,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/orgs/ORG/outside_collaborators/USERNAME", - "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/orgs/ORG/outside_collaborators/USERNAME
    " + "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/outside_collaborators/USERNAME", + "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/outside_collaborators/USERNAME
    " }, { "lang": "JavaScript", @@ -14858,8 +14967,6 @@ "subcategory": "outside-collaborators", "subcategoryLabel": "Outside collaborators", "notes": [], - "bodyParameters": [], - "descriptionHTML": "

    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\".

    ", "responses": [ { "httpStatusCode": "202", @@ -14874,26 +14981,21 @@ { "httpStatusCode": "403", "httpStatusMessage": "Forbidden", - "description": "Response if user is the last owner of the organization", - "payload": "
    {\n  \"message\": \"Cannot convert the last owner to an outside collaborator\",\n  \"documentation_url\": \"https://docs.github.com/enterprise-server@2.21/rest/reference/orgs#convert-member-to-outside-collaborator\"\n}\n
    " - }, - { - "httpStatusCode": "403", - "httpStatusMessage": "Forbidden", - "description": "Response if user is not a member of the organization", - "payload": "
    {\n  \"message\": \"<user> is not a member of the <organization> organization.\",\n  \"documentation_url\": \"https://docs.github.com/enterprise-server@2.21/rest/reference/orgs#convert-member-to-outside-collaborator\"\n}\n
    " + "description": "Response if user is the last owner of the organization or not a member of the organization" }, { "httpStatusCode": "404", "httpStatusMessage": "Not Found", "description": "Resource not found" } - ] + ], + "bodyParameters": [], + "descriptionHTML": "

    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\".

    " }, { "verb": "delete", "requestPath": "/orgs/{org}/outside_collaborators/{username}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "org", @@ -14917,8 +15019,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/orgs/ORG/outside_collaborators/USERNAME", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/orgs/ORG/outside_collaborators/USERNAME
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/outside_collaborators/USERNAME", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/outside_collaborators/USERNAME
    " }, { "lang": "JavaScript", @@ -14955,7 +15057,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "422", @@ -14968,7 +15070,7 @@ { "verb": "get", "requestPath": "/orgs/{org}/pre-receive-hooks", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "org", @@ -14998,13 +15100,44 @@ "default": 1 }, "descriptionHTML": "

    Page number of the results to fetch.

    " + }, + { + "name": "direction", + "description": "One of `asc` (ascending) or `desc` (descending).", + "in": "query", + "required": false, + "schema": { + "type": "string", + "enum": [ + "asc", + "desc" + ], + "default": "desc" + }, + "descriptionHTML": "

    One of asc (ascending) or desc (descending).

    " + }, + { + "name": "sort", + "description": "The sort order for the response collection.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "enum": [ + "created", + "updated", + "name" + ], + "default": "created" + }, + "descriptionHTML": "

    The sort order for the response collection.

    " } ], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n https://api.github.com/orgs/ORG/pre-receive-hooks", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n  https://api.github.com/orgs/ORG/pre-receive-hooks
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/pre-receive-hooks", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/pre-receive-hooks
    " }, { "lang": "JavaScript", @@ -15056,7 +15189,7 @@ { "verb": "get", "requestPath": "/orgs/{org}/pre-receive-hooks/{pre_receive_hook_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "org", @@ -15080,8 +15213,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n https://api.github.com/orgs/ORG/pre-receive-hooks/42", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n  https://api.github.com/orgs/ORG/pre-receive-hooks/42
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/pre-receive-hooks/42", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/pre-receive-hooks/42
    " }, { "lang": "JavaScript", @@ -15133,7 +15266,7 @@ { "verb": "patch", "requestPath": "/orgs/{org}/pre-receive-hooks/{pre_receive_hook_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "org", @@ -15157,8 +15290,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n https://api.github.com/orgs/ORG/pre-receive-hooks/42 \\\n -d '{\"enforcement\":\"enforcement\"}'", - "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n  https://api.github.com/orgs/ORG/pre-receive-hooks/42 \\\n  -d '{\"enforcement\":\"enforcement\"}'
    " + "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/pre-receive-hooks/42 \\\n -d '{\"enforcement\":\"enforcement\"}'", + "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/pre-receive-hooks/42 \\\n  -d '{\"enforcement\":\"enforcement\"}'
    " }, { "lang": "JavaScript", @@ -15262,7 +15395,7 @@ { "verb": "delete", "requestPath": "/orgs/{org}/pre-receive-hooks/{pre_receive_hook_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "org", @@ -15286,8 +15419,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n https://api.github.com/orgs/ORG/pre-receive-hooks/42", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n  https://api.github.com/orgs/ORG/pre-receive-hooks/42
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/pre-receive-hooks/42", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/pre-receive-hooks/42
    " }, { "lang": "JavaScript", @@ -15339,7 +15472,7 @@ { "verb": "get", "requestPath": "/orgs/{org}/projects", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "org", @@ -15390,8 +15523,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n https://api.github.com/orgs/ORG/projects", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  https://api.github.com/orgs/ORG/projects
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/projects", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/projects
    " }, { "lang": "JavaScript", @@ -15446,7 +15579,7 @@ { "verb": "post", "requestPath": "/orgs/{org}/projects", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "org", @@ -15461,8 +15594,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n https://api.github.com/orgs/ORG/projects \\\n -d '{\"name\":\"name\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  https://api.github.com/orgs/ORG/projects \\\n  -d '{\"name\":\"name\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/projects \\\n -d '{\"name\":\"name\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/projects \\\n  -d '{\"name\":\"name\"}'
    " }, { "lang": "JavaScript", @@ -15592,7 +15725,7 @@ { "verb": "get", "requestPath": "/orgs/{org}/public_members", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "org", @@ -15627,8 +15760,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/orgs/ORG/public_members", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/orgs/ORG/public_members
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/public_members", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/public_members
    " }, { "lang": "JavaScript", @@ -15673,7 +15806,7 @@ { "verb": "get", "requestPath": "/orgs/{org}/public_members/{username}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "org", @@ -15697,8 +15830,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/orgs/ORG/public_members/USERNAME", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/orgs/ORG/public_members/USERNAME
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/public_members/USERNAME", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/public_members/USERNAME
    " }, { "lang": "JavaScript", @@ -15747,7 +15880,7 @@ { "verb": "put", "requestPath": "/orgs/{org}/public_members/{username}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "org", @@ -15771,8 +15904,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/orgs/ORG/public_members/USERNAME", - "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/orgs/ORG/public_members/USERNAME
    " + "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/public_members/USERNAME", + "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/public_members/USERNAME
    " }, { "lang": "JavaScript", @@ -15807,7 +15940,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "403", @@ -15821,7 +15954,7 @@ { "verb": "delete", "requestPath": "/orgs/{org}/public_members/{username}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "org", @@ -15845,8 +15978,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/orgs/ORG/public_members/USERNAME", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/orgs/ORG/public_members/USERNAME
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/public_members/USERNAME", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/public_members/USERNAME
    " }, { "lang": "JavaScript", @@ -15881,7 +16014,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "bodyParameters": [], @@ -15890,7 +16023,7 @@ { "verb": "get", "requestPath": "/orgs/{org}/repos", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "org", @@ -15903,7 +16036,7 @@ }, { "name": "type", - "description": "Specifies the types of repositories you want returned. Can be one of `all`, `public`, `private`, `forks`, `sources`, `member`, `internal`. Default: `all`. If your organization is associated with an enterprise account using GitHub Enterprise Cloud or GitHub Enterprise Server 2.20+, `type` can also be `internal`.", + "description": "Specifies the types of repositories you want returned. Can be one of `all`, `public`, `private`, `forks`, `sources`, `member`, `internal`. Note: For GitHub AE, can be one of `all`, `private`, `forks`, `sources`, `member`, `internal`. Default: `all`. If your organization is associated with an enterprise account using GitHub Enterprise Cloud or GitHub Enterprise Server 2.20+, `type` can also be `internal`.", "in": "query", "required": false, "schema": { @@ -15918,7 +16051,7 @@ "internal" ] }, - "descriptionHTML": "

    Specifies the types of repositories you want returned. Can be one of all, public, private, forks, sources, member, internal. Default: all. If your organization is associated with an enterprise account using GitHub Enterprise Cloud or GitHub Enterprise Server 2.20+, type can also be internal.

    " + "descriptionHTML": "

    Specifies the types of repositories you want returned. Can be one of all, public, private, forks, sources, member, internal. Note: For GitHub AE, can be one of all, private, forks, sources, member, internal. Default: all. If your organization is associated with an enterprise account using GitHub Enterprise Cloud or GitHub Enterprise Server 2.20+, type can also be internal.

    " }, { "name": "sort", @@ -15975,8 +16108,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/orgs/ORG/repos", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/orgs/ORG/repos
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/repos", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/repos
    " }, { "lang": "JavaScript", @@ -16032,7 +16165,7 @@ { "verb": "post", "requestPath": "/orgs/{org}/repos", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "org", @@ -16047,8 +16180,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/orgs/ORG/repos \\\n -d '{\"name\":\"name\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/orgs/ORG/repos \\\n  -d '{\"name\":\"name\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/repos \\\n -d '{\"name\":\"name\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/repos \\\n  -d '{\"name\":\"name\"}'
    " }, { "lang": "JavaScript", @@ -16057,7 +16190,7 @@ } ], "summary": "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", + "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", "tags": [ "repos" ], @@ -16101,17 +16234,17 @@ }, "private": { "type": "boolean", - "description": "

    Either true to create a private repository or false to create a public one.

    ", + "description": "

    Whether the repository is private.

    ", "default": false, "name": "private", "in": "body", "rawType": "boolean", - "rawDescription": "Either `true` to create a private repository or `false` to create a public one.", + "rawDescription": "Whether the repository is private.", "childParamsGroups": [] }, "visibility": { "type": "string", - "description": "

    Can be public or private. If your organization is associated with an enterprise account using GitHub Enterprise Cloud or GitHub Enterprise Server 2.20+, visibility can also be internal. For more information, see \"Creating an internal repository\" in the GitHub Help documentation.
    \nThe visibility parameter overrides the private parameter when you use both parameters with the nebula-preview preview header.

    ", + "description": "

    Can be public or private. If your organization is associated with an enterprise account using GitHub Enterprise Cloud or GitHub Enterprise Server 2.20+, visibility can also be internal. Note: For GitHub Enterprise Server and GitHub AE, this endpoint will only list repositories available to all users on the enterprise. For more information, see \"Creating an internal repository\" in the GitHub Help documentation.
    \nThe visibility parameter overrides the private parameter when you use both parameters with the nebula-preview preview header.

    ", "enum": [ "public", "private", @@ -16121,7 +16254,7 @@ "name": "visibility", "in": "body", "rawType": "string", - "rawDescription": "Can be `public` or `private`. If your organization is associated with an enterprise account using GitHub Enterprise Cloud or GitHub Enterprise Server 2.20+, `visibility` can also be `internal`. For more information, see \"[Creating an internal repository](https://help.github.com/en/github/creating-cloning-and-archiving-repositories/about-repository-visibility#about-internal-repositories)\" in the GitHub Help documentation. \nThe `visibility` parameter overrides the `private` parameter when you use both parameters with the `nebula-preview` preview header.", + "rawDescription": "Can be `public` or `private`. If your organization is associated with an enterprise account using GitHub Enterprise Cloud or GitHub Enterprise Server 2.20+, `visibility` can also be `internal`. Note: For GitHub Enterprise Server and GitHub AE, this endpoint will only list repositories available to all users on the enterprise. For more information, see \"[Creating an internal repository](https://help.github.com/en/github/creating-cloning-and-archiving-repositories/about-repository-visibility#about-internal-repositories)\" in the GitHub Help documentation. \nThe `visibility` parameter overrides the `private` parameter when you use both parameters with the `nebula-preview` preview header.", "childParamsGroups": [] }, "has_issues": { @@ -16282,7 +16415,7 @@ "category": "repos", "categoryLabel": "Repos", "notes": [], - "descriptionHTML": "

    Creates a new repository in the specified organization. The authenticated user must be a member of the organization.

    \n

    OAuth scope requirements

    \n

    When using OAuth, 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
    ", + "descriptionHTML": "

    Creates a new repository in the specified organization. The authenticated user must be a member of the organization.

    \n

    OAuth scope requirements

    \n

    When using OAuth, 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
    ", "bodyParameters": [ { "type": "string", @@ -16313,17 +16446,17 @@ }, { "type": "boolean", - "description": "

    Either true to create a private repository or false to create a public one.

    ", + "description": "

    Whether the repository is private.

    ", "default": false, "name": "private", "in": "body", "rawType": "boolean", - "rawDescription": "Either `true` to create a private repository or `false` to create a public one.", + "rawDescription": "Whether the repository is private.", "childParamsGroups": [] }, { "type": "string", - "description": "

    Can be public or private. If your organization is associated with an enterprise account using GitHub Enterprise Cloud or GitHub Enterprise Server 2.20+, visibility can also be internal. For more information, see \"Creating an internal repository\" in the GitHub Help documentation.
    \nThe visibility parameter overrides the private parameter when you use both parameters with the nebula-preview preview header.

    ", + "description": "

    Can be public or private. If your organization is associated with an enterprise account using GitHub Enterprise Cloud or GitHub Enterprise Server 2.20+, visibility can also be internal. Note: For GitHub Enterprise Server and GitHub AE, this endpoint will only list repositories available to all users on the enterprise. For more information, see \"Creating an internal repository\" in the GitHub Help documentation.
    \nThe visibility parameter overrides the private parameter when you use both parameters with the nebula-preview preview header.

    ", "enum": [ "public", "private", @@ -16333,7 +16466,7 @@ "name": "visibility", "in": "body", "rawType": "string", - "rawDescription": "Can be `public` or `private`. If your organization is associated with an enterprise account using GitHub Enterprise Cloud or GitHub Enterprise Server 2.20+, `visibility` can also be `internal`. For more information, see \"[Creating an internal repository](https://help.github.com/en/github/creating-cloning-and-archiving-repositories/about-repository-visibility#about-internal-repositories)\" in the GitHub Help documentation. \nThe `visibility` parameter overrides the `private` parameter when you use both parameters with the `nebula-preview` preview header.", + "rawDescription": "Can be `public` or `private`. If your organization is associated with an enterprise account using GitHub Enterprise Cloud or GitHub Enterprise Server 2.20+, `visibility` can also be `internal`. Note: For GitHub Enterprise Server and GitHub AE, this endpoint will only list repositories available to all users on the enterprise. For more information, see \"[Creating an internal repository](https://help.github.com/en/github/creating-cloning-and-archiving-repositories/about-repository-visibility#about-internal-repositories)\" in the GitHub Help documentation. \nThe `visibility` parameter overrides the `private` parameter when you use both parameters with the `nebula-preview` preview header.", "childParamsGroups": [] }, { @@ -16476,7 +16609,7 @@ { "verb": "get", "requestPath": "/orgs/{org}/teams", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "org", @@ -16511,8 +16644,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/orgs/ORG/teams", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/orgs/ORG/teams
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/teams", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/teams
    " }, { "lang": "JavaScript", @@ -16560,7 +16693,7 @@ { "verb": "post", "requestPath": "/orgs/{org}/teams", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "org", @@ -16575,8 +16708,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/orgs/ORG/teams \\\n -d '{\"name\":\"name\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/orgs/ORG/teams \\\n  -d '{\"name\":\"name\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/teams \\\n -d '{\"name\":\"name\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/teams \\\n  -d '{\"name\":\"name\"}'
    " }, { "lang": "JavaScript", @@ -16808,7 +16941,7 @@ { "verb": "get", "requestPath": "/orgs/{org}/teams/{team_slug}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "org", @@ -16833,8 +16966,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/orgs/ORG/teams/TEAM_SLUG", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/orgs/ORG/teams/TEAM_SLUG
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/teams/TEAM_SLUG", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/teams/TEAM_SLUG
    " }, { "lang": "JavaScript", @@ -16882,7 +17015,7 @@ { "verb": "patch", "requestPath": "/orgs/{org}/teams/{team_slug}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "org", @@ -16907,8 +17040,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/orgs/ORG/teams/TEAM_SLUG \\\n -d '{\"name\":\"name\"}'", - "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/orgs/ORG/teams/TEAM_SLUG \\\n  -d '{\"name\":\"name\"}'
    " + "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/teams/TEAM_SLUG \\\n -d '{\"name\":\"name\"}'", + "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/teams/TEAM_SLUG \\\n  -d '{\"name\":\"name\"}'
    " }, { "lang": "JavaScript", @@ -17080,7 +17213,7 @@ { "verb": "delete", "requestPath": "/orgs/{org}/teams/{team_slug}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "org", @@ -17105,8 +17238,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/orgs/ORG/teams/TEAM_SLUG", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/orgs/ORG/teams/TEAM_SLUG
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/teams/TEAM_SLUG", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/teams/TEAM_SLUG
    " }, { "lang": "JavaScript", @@ -17139,7 +17272,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "bodyParameters": [], @@ -17148,7 +17281,7 @@ { "verb": "get", "requestPath": "/orgs/{org}/teams/{team_slug}/discussions", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "org", @@ -17203,13 +17336,23 @@ "default": 1 }, "descriptionHTML": "

    Page number of the results to fetch.

    " + }, + { + "name": "pinned", + "in": "query", + "required": false, + "description": "Pinned discussions only filter", + "schema": { + "type": "string" + }, + "descriptionHTML": "

    Pinned discussions only filter

    " } ], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/orgs/ORG/teams/TEAM_SLUG/discussions", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/orgs/ORG/teams/TEAM_SLUG/discussions
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/teams/TEAM_SLUG/discussions", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/teams/TEAM_SLUG/discussions
    " }, { "lang": "JavaScript", @@ -17261,7 +17404,7 @@ { "verb": "post", "requestPath": "/orgs/{org}/teams/{team_slug}/discussions", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "org", @@ -17286,8 +17429,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/orgs/ORG/teams/TEAM_SLUG/discussions \\\n -d '{\"title\":\"title\",\"body\":\"body\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/orgs/ORG/teams/TEAM_SLUG/discussions \\\n  -d '{\"title\":\"title\",\"body\":\"body\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/teams/TEAM_SLUG/discussions \\\n -d '{\"title\":\"title\",\"body\":\"body\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/teams/TEAM_SLUG/discussions \\\n  -d '{\"title\":\"title\",\"body\":\"body\"}'
    " }, { "lang": "JavaScript", @@ -17416,7 +17559,7 @@ { "verb": "get", "requestPath": "/orgs/{org}/teams/{team_slug}/discussions/{discussion_number}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "org", @@ -17450,8 +17593,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/orgs/ORG/teams/TEAM_SLUG/discussions/42", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/orgs/ORG/teams/TEAM_SLUG/discussions/42
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/teams/TEAM_SLUG/discussions/42", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/teams/TEAM_SLUG/discussions/42
    " }, { "lang": "JavaScript", @@ -17503,7 +17646,7 @@ { "verb": "patch", "requestPath": "/orgs/{org}/teams/{team_slug}/discussions/{discussion_number}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "org", @@ -17537,8 +17680,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/orgs/ORG/teams/TEAM_SLUG/discussions/42 \\\n -d '{\"title\":\"title\"}'", - "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/orgs/ORG/teams/TEAM_SLUG/discussions/42 \\\n  -d '{\"title\":\"title\"}'
    " + "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/teams/TEAM_SLUG/discussions/42 \\\n -d '{\"title\":\"title\"}'", + "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/teams/TEAM_SLUG/discussions/42 \\\n  -d '{\"title\":\"title\"}'
    " }, { "lang": "JavaScript", @@ -17641,7 +17784,7 @@ { "verb": "delete", "requestPath": "/orgs/{org}/teams/{team_slug}/discussions/{discussion_number}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "org", @@ -17675,8 +17818,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/orgs/ORG/teams/TEAM_SLUG/discussions/42", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/orgs/ORG/teams/TEAM_SLUG/discussions/42
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/teams/TEAM_SLUG/discussions/42", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/teams/TEAM_SLUG/discussions/42
    " }, { "lang": "JavaScript", @@ -17711,7 +17854,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "bodyParameters": [], @@ -17720,7 +17863,7 @@ { "verb": "get", "requestPath": "/orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "org", @@ -17789,8 +17932,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/orgs/ORG/teams/TEAM_SLUG/discussions/42/comments", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/orgs/ORG/teams/TEAM_SLUG/discussions/42/comments
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/teams/TEAM_SLUG/discussions/42/comments", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/teams/TEAM_SLUG/discussions/42/comments
    " }, { "lang": "JavaScript", @@ -17842,7 +17985,7 @@ { "verb": "post", "requestPath": "/orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "org", @@ -17876,8 +18019,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/orgs/ORG/teams/TEAM_SLUG/discussions/42/comments \\\n -d '{\"body\":\"body\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/orgs/ORG/teams/TEAM_SLUG/discussions/42/comments \\\n  -d '{\"body\":\"body\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/teams/TEAM_SLUG/discussions/42/comments \\\n -d '{\"body\":\"body\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/teams/TEAM_SLUG/discussions/42/comments \\\n  -d '{\"body\":\"body\"}'
    " }, { "lang": "JavaScript", @@ -17966,7 +18109,7 @@ { "verb": "get", "requestPath": "/orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "org", @@ -18009,8 +18152,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/orgs/ORG/teams/TEAM_SLUG/discussions/42/comments/42", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/orgs/ORG/teams/TEAM_SLUG/discussions/42/comments/42
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/teams/TEAM_SLUG/discussions/42/comments/42", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/teams/TEAM_SLUG/discussions/42/comments/42
    " }, { "lang": "JavaScript", @@ -18062,7 +18205,7 @@ { "verb": "patch", "requestPath": "/orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "org", @@ -18105,8 +18248,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/orgs/ORG/teams/TEAM_SLUG/discussions/42/comments/42 \\\n -d '{\"body\":\"body\"}'", - "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/orgs/ORG/teams/TEAM_SLUG/discussions/42/comments/42 \\\n  -d '{\"body\":\"body\"}'
    " + "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/teams/TEAM_SLUG/discussions/42/comments/42 \\\n -d '{\"body\":\"body\"}'", + "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/teams/TEAM_SLUG/discussions/42/comments/42 \\\n  -d '{\"body\":\"body\"}'
    " }, { "lang": "JavaScript", @@ -18194,7 +18337,7 @@ { "verb": "delete", "requestPath": "/orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "org", @@ -18237,8 +18380,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/orgs/ORG/teams/TEAM_SLUG/discussions/42/comments/42", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/orgs/ORG/teams/TEAM_SLUG/discussions/42/comments/42
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/teams/TEAM_SLUG/discussions/42/comments/42", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/teams/TEAM_SLUG/discussions/42/comments/42
    " }, { "lang": "JavaScript", @@ -18273,7 +18416,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "bodyParameters": [], @@ -18282,7 +18425,7 @@ { "verb": "get", "requestPath": "/orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}/reactions", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "org", @@ -18365,8 +18508,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n https://api.github.com/orgs/ORG/teams/TEAM_SLUG/discussions/42/comments/42/reactions", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n  https://api.github.com/orgs/ORG/teams/TEAM_SLUG/discussions/42/comments/42/reactions
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/teams/TEAM_SLUG/discussions/42/comments/42/reactions", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/teams/TEAM_SLUG/discussions/42/comments/42/reactions
    " }, { "lang": "JavaScript", @@ -18416,7 +18559,7 @@ { "verb": "post", "requestPath": "/orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}/reactions", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "org", @@ -18459,8 +18602,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n https://api.github.com/orgs/ORG/teams/TEAM_SLUG/discussions/42/comments/42/reactions \\\n -d '{\"content\":\"content\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n  https://api.github.com/orgs/ORG/teams/TEAM_SLUG/discussions/42/comments/42/reactions \\\n  -d '{\"content\":\"content\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/teams/TEAM_SLUG/discussions/42/comments/42/reactions \\\n -d '{\"content\":\"content\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/teams/TEAM_SLUG/discussions/42/comments/42/reactions \\\n  -d '{\"content\":\"content\"}'
    " }, { "lang": "JavaScript", @@ -18566,7 +18709,7 @@ { "verb": "delete", "requestPath": "/orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}/reactions/{reaction_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "org", @@ -18618,8 +18761,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n https://api.github.com/orgs/ORG/teams/TEAM_SLUG/discussions/42/comments/42/reactions/42", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n  https://api.github.com/orgs/ORG/teams/TEAM_SLUG/discussions/42/comments/42/reactions/42
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/teams/TEAM_SLUG/discussions/42/comments/42/reactions/42", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/teams/TEAM_SLUG/discussions/42/comments/42/reactions/42
    " }, { "lang": "JavaScript", @@ -18659,7 +18802,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "bodyParameters": [], @@ -18668,7 +18811,7 @@ { "verb": "get", "requestPath": "/orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/reactions", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "org", @@ -18742,8 +18885,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n https://api.github.com/orgs/ORG/teams/TEAM_SLUG/discussions/42/reactions", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n  https://api.github.com/orgs/ORG/teams/TEAM_SLUG/discussions/42/reactions
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/teams/TEAM_SLUG/discussions/42/reactions", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/teams/TEAM_SLUG/discussions/42/reactions
    " }, { "lang": "JavaScript", @@ -18793,7 +18936,7 @@ { "verb": "post", "requestPath": "/orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/reactions", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "org", @@ -18827,8 +18970,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n https://api.github.com/orgs/ORG/teams/TEAM_SLUG/discussions/42/reactions \\\n -d '{\"content\":\"content\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n  https://api.github.com/orgs/ORG/teams/TEAM_SLUG/discussions/42/reactions \\\n  -d '{\"content\":\"content\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/teams/TEAM_SLUG/discussions/42/reactions \\\n -d '{\"content\":\"content\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/teams/TEAM_SLUG/discussions/42/reactions \\\n  -d '{\"content\":\"content\"}'
    " }, { "lang": "JavaScript", @@ -18934,7 +19077,7 @@ { "verb": "delete", "requestPath": "/orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/reactions/{reaction_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "org", @@ -18977,8 +19120,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n https://api.github.com/orgs/ORG/teams/TEAM_SLUG/discussions/42/reactions/42", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n  https://api.github.com/orgs/ORG/teams/TEAM_SLUG/discussions/42/reactions/42
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/teams/TEAM_SLUG/discussions/42/reactions/42", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/teams/TEAM_SLUG/discussions/42/reactions/42
    " }, { "lang": "JavaScript", @@ -19018,7 +19161,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "bodyParameters": [], @@ -19027,7 +19170,7 @@ { "verb": "get", "requestPath": "/orgs/{org}/teams/{team_slug}/members", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "org", @@ -19088,8 +19231,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/orgs/ORG/teams/TEAM_SLUG/members", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/orgs/ORG/teams/TEAM_SLUG/members
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/teams/TEAM_SLUG/members", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/teams/TEAM_SLUG/members
    " }, { "lang": "JavaScript", @@ -19134,7 +19277,7 @@ { "verb": "get", "requestPath": "/orgs/{org}/teams/{team_slug}/memberships/{username}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "org", @@ -19168,8 +19311,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/orgs/ORG/teams/TEAM_SLUG/memberships/USERNAME", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/orgs/ORG/teams/TEAM_SLUG/memberships/USERNAME
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/teams/TEAM_SLUG/memberships/USERNAME", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/teams/TEAM_SLUG/memberships/USERNAME
    " }, { "lang": "JavaScript", @@ -19178,7 +19321,7 @@ } ], "summary": "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).", + "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).", "tags": [ "teams" ], @@ -19201,26 +19344,14 @@ "subcategoryLabel": "Members", "notes": [], "bodyParameters": [], - "descriptionHTML": "

    Team members will include the members of child teams.

    \n

    To get a user's membership with a team, the team must be visible to the authenticated user.

    \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

    Note: The role for organization owners returns as maintainer. For more information about maintainer roles, see Create a team.

    ", + "descriptionHTML": "

    Team members will include the members of child teams.

    \n

    To get a user's membership with a team, the team must be visible to the authenticated user.

    \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

    Note:\nThe response contains the state of the membership and the member's role.

    \n

    The role for organization owners is set to maintainer. For more information about maintainer roles, see see Create a team.

    ", "responses": [ - { - "httpStatusCode": "200", - "httpStatusMessage": "OK", - "description": "Response if user has an active membership with team", - "payload": "
    {\n  \"url\": \"https://api.github.com/teams/1/memberships/octocat\",\n  \"role\": \"member\",\n  \"state\": \"active\"\n}\n
    " - }, { "httpStatusCode": "200", "httpStatusMessage": "OK", "description": "Response if user is a team maintainer", "payload": "
    {\n  \"url\": \"https://api.github.com/teams/1/memberships/octocat\",\n  \"role\": \"maintainer\",\n  \"state\": \"active\"\n}\n
    " }, - { - "httpStatusCode": "200", - "httpStatusMessage": "OK", - "description": "Response if user has a pending membership with team", - "payload": "
    {\n  \"url\": \"https://api.github.com/teams/1/memberships/octocat\",\n  \"role\": \"member\",\n  \"state\": \"pending\"\n}\n
    " - }, { "httpStatusCode": "404", "httpStatusMessage": "Not Found", @@ -19231,7 +19362,7 @@ { "verb": "put", "requestPath": "/orgs/{org}/teams/{team_slug}/memberships/{username}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "org", @@ -19265,8 +19396,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/orgs/ORG/teams/TEAM_SLUG/memberships/USERNAME \\\n -d '{\"role\":\"role\"}'", - "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/orgs/ORG/teams/TEAM_SLUG/memberships/USERNAME \\\n  -d '{\"role\":\"role\"}'
    " + "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/teams/TEAM_SLUG/memberships/USERNAME \\\n -d '{\"role\":\"role\"}'", + "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/teams/TEAM_SLUG/memberships/USERNAME \\\n  -d '{\"role\":\"role\"}'
    " }, { "lang": "JavaScript", @@ -19340,12 +19471,6 @@ } ], "responses": [ - { - "httpStatusCode": "200", - "httpStatusMessage": "OK", - "description": "Response if user's membership with team is now active", - "payload": "
    {\n  \"url\": \"https://api.github.com/teams/1/memberships/octocat\",\n  \"role\": \"member\",\n  \"state\": \"active\"\n}\n
    " - }, { "httpStatusCode": "200", "httpStatusMessage": "OK", @@ -19360,15 +19485,14 @@ { "httpStatusCode": "422", "httpStatusMessage": "Unprocessable Entity", - "description": "Response if you attempt to add an organization to a team", - "payload": "
    {\n  \"message\": \"Cannot add an organization as a member.\",\n  \"errors\": [\n    {\n      \"code\": \"org\",\n      \"field\": \"user\",\n      \"resource\": \"TeamMember\"\n    }\n  ]\n}\n
    " + "description": "Response if you attempt to add an organization to a team" } ] }, { "verb": "delete", "requestPath": "/orgs/{org}/teams/{team_slug}/memberships/{username}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "org", @@ -19402,8 +19526,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/orgs/ORG/teams/TEAM_SLUG/memberships/USERNAME", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/orgs/ORG/teams/TEAM_SLUG/memberships/USERNAME
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/teams/TEAM_SLUG/memberships/USERNAME", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/teams/TEAM_SLUG/memberships/USERNAME
    " }, { "lang": "JavaScript", @@ -19438,7 +19562,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "403", @@ -19452,7 +19576,7 @@ { "verb": "get", "requestPath": "/orgs/{org}/teams/{team_slug}/projects", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "org", @@ -19497,8 +19621,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n https://api.github.com/orgs/ORG/teams/TEAM_SLUG/projects", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  https://api.github.com/orgs/ORG/teams/TEAM_SLUG/projects
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/teams/TEAM_SLUG/projects", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/teams/TEAM_SLUG/projects
    " }, { "lang": "JavaScript", @@ -19548,7 +19672,7 @@ { "verb": "get", "requestPath": "/orgs/{org}/teams/{team_slug}/projects/{project_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "org", @@ -19582,8 +19706,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n https://api.github.com/orgs/ORG/teams/TEAM_SLUG/projects/42", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  https://api.github.com/orgs/ORG/teams/TEAM_SLUG/projects/42
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/teams/TEAM_SLUG/projects/42", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/teams/TEAM_SLUG/projects/42
    " }, { "lang": "JavaScript", @@ -19638,7 +19762,7 @@ { "verb": "put", "requestPath": "/orgs/{org}/teams/{team_slug}/projects/{project_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "org", @@ -19672,8 +19796,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n https://api.github.com/orgs/ORG/teams/TEAM_SLUG/projects/42 \\\n -d '{\"permission\":\"permission\"}'", - "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  https://api.github.com/orgs/ORG/teams/TEAM_SLUG/projects/42 \\\n  -d '{\"permission\":\"permission\"}'
    " + "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/teams/TEAM_SLUG/projects/42 \\\n -d '{\"permission\":\"permission\"}'", + "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/teams/TEAM_SLUG/projects/42 \\\n  -d '{\"permission\":\"permission\"}'
    " }, { "lang": "JavaScript", @@ -19756,7 +19880,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "403", @@ -19769,7 +19893,7 @@ { "verb": "delete", "requestPath": "/orgs/{org}/teams/{team_slug}/projects/{project_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "org", @@ -19803,8 +19927,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/orgs/ORG/teams/TEAM_SLUG/projects/42", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/orgs/ORG/teams/TEAM_SLUG/projects/42
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/teams/TEAM_SLUG/projects/42", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/teams/TEAM_SLUG/projects/42
    " }, { "lang": "JavaScript", @@ -19837,7 +19961,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "bodyParameters": [], @@ -19846,7 +19970,7 @@ { "verb": "get", "requestPath": "/orgs/{org}/teams/{team_slug}/repos", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "org", @@ -19891,8 +20015,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/orgs/ORG/teams/TEAM_SLUG/repos", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/orgs/ORG/teams/TEAM_SLUG/repos
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/teams/TEAM_SLUG/repos", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/teams/TEAM_SLUG/repos
    " }, { "lang": "JavaScript", @@ -19935,7 +20059,7 @@ { "verb": "get", "requestPath": "/orgs/{org}/teams/{team_slug}/repos/{owner}/{repo}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "org", @@ -19978,8 +20102,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/orgs/ORG/teams/TEAM_SLUG/repos/octocat/hello-world", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/orgs/ORG/teams/TEAM_SLUG/repos/octocat/hello-world
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/teams/TEAM_SLUG/repos/octocat/hello-world", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/teams/TEAM_SLUG/repos/octocat/hello-world
    " }, { "lang": "JavaScript", @@ -20031,7 +20155,7 @@ { "verb": "put", "requestPath": "/orgs/{org}/teams/{team_slug}/repos/{owner}/{repo}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "org", @@ -20074,8 +20198,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/orgs/ORG/teams/TEAM_SLUG/repos/octocat/hello-world \\\n -d '{\"permission\":\"permission\"}'", - "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/orgs/ORG/teams/TEAM_SLUG/repos/octocat/hello-world \\\n  -d '{\"permission\":\"permission\"}'
    " + "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/teams/TEAM_SLUG/repos/octocat/hello-world \\\n -d '{\"permission\":\"permission\"}'", + "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/teams/TEAM_SLUG/repos/octocat/hello-world \\\n  -d '{\"permission\":\"permission\"}'
    " }, { "lang": "JavaScript", @@ -20135,7 +20259,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "descriptionHTML": "

    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.\"

    \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

    For more information about the permission levels, see \"Repository permission levels for an organization\".

    ", @@ -20161,7 +20285,7 @@ { "verb": "delete", "requestPath": "/orgs/{org}/teams/{team_slug}/repos/{owner}/{repo}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "org", @@ -20204,8 +20328,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/orgs/ORG/teams/TEAM_SLUG/repos/octocat/hello-world", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/orgs/ORG/teams/TEAM_SLUG/repos/octocat/hello-world
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/teams/TEAM_SLUG/repos/octocat/hello-world", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/teams/TEAM_SLUG/repos/octocat/hello-world
    " }, { "lang": "JavaScript", @@ -20238,7 +20362,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "bodyParameters": [], @@ -20247,7 +20371,7 @@ { "verb": "get", "requestPath": "/orgs/{org}/teams/{team_slug}/teams", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "org", @@ -20292,8 +20416,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/orgs/ORG/teams/TEAM_SLUG/teams", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/orgs/ORG/teams/TEAM_SLUG/teams
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/teams/TEAM_SLUG/teams", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/teams/TEAM_SLUG/teams
    " }, { "lang": "JavaScript", @@ -20336,7 +20460,7 @@ { "verb": "get", "requestPath": "/projects/columns/cards/{card_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "card_id", @@ -20352,8 +20476,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n https://api.github.com/projects/columns/cards/42", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  https://api.github.com/projects/columns/cards/42
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n http(s)://{hostname}/api/v3/projects/columns/cards/42", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  http(s)://{hostname}/api/v3/projects/columns/cards/42
    " }, { "lang": "JavaScript", @@ -20425,7 +20549,7 @@ { "verb": "patch", "requestPath": "/projects/columns/cards/{card_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "card_id", @@ -20441,8 +20565,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n https://api.github.com/projects/columns/cards/42 \\\n -d '{\"note\":\"note\"}'", - "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  https://api.github.com/projects/columns/cards/42 \\\n  -d '{\"note\":\"note\"}'
    " + "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n http(s)://{hostname}/api/v3/projects/columns/cards/42 \\\n -d '{\"note\":\"note\"}'", + "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  http(s)://{hostname}/api/v3/projects/columns/cards/42 \\\n  -d '{\"note\":\"note\"}'
    " }, { "lang": "JavaScript", @@ -20573,7 +20697,7 @@ { "verb": "delete", "requestPath": "/projects/columns/cards/{card_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "card_id", @@ -20589,8 +20713,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n https://api.github.com/projects/columns/cards/42", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  https://api.github.com/projects/columns/cards/42
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n http(s)://{hostname}/api/v3/projects/columns/cards/42", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  http(s)://{hostname}/api/v3/projects/columns/cards/42
    " }, { "lang": "JavaScript", @@ -20632,7 +20756,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "304", @@ -20661,7 +20785,7 @@ { "verb": "post", "requestPath": "/projects/columns/cards/{card_id}/moves", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "card_id", @@ -20677,8 +20801,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n https://api.github.com/projects/columns/cards/42/moves \\\n -d '{\"position\":\"position\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  https://api.github.com/projects/columns/cards/42/moves \\\n  -d '{\"position\":\"position\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n http(s)://{hostname}/api/v3/projects/columns/cards/42/moves \\\n -d '{\"position\":\"position\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  http(s)://{hostname}/api/v3/projects/columns/cards/42/moves \\\n  -d '{\"position\":\"position\"}'
    " }, { "lang": "JavaScript", @@ -20811,7 +20935,7 @@ { "verb": "get", "requestPath": "/projects/columns/{column_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "column_id", @@ -20827,8 +20951,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n https://api.github.com/projects/columns/42", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  https://api.github.com/projects/columns/42
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n http(s)://{hostname}/api/v3/projects/columns/42", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  http(s)://{hostname}/api/v3/projects/columns/42
    " }, { "lang": "JavaScript", @@ -20900,7 +21024,7 @@ { "verb": "patch", "requestPath": "/projects/columns/{column_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "column_id", @@ -20916,8 +21040,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n https://api.github.com/projects/columns/42 \\\n -d '{\"name\":\"name\"}'", - "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  https://api.github.com/projects/columns/42 \\\n  -d '{\"name\":\"name\"}'
    " + "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n http(s)://{hostname}/api/v3/projects/columns/42 \\\n -d '{\"name\":\"name\"}'", + "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  http(s)://{hostname}/api/v3/projects/columns/42 \\\n  -d '{\"name\":\"name\"}'
    " }, { "lang": "JavaScript", @@ -21019,7 +21143,7 @@ { "verb": "delete", "requestPath": "/projects/columns/{column_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "column_id", @@ -21035,8 +21159,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n https://api.github.com/projects/columns/42", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  https://api.github.com/projects/columns/42
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n http(s)://{hostname}/api/v3/projects/columns/42", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  http(s)://{hostname}/api/v3/projects/columns/42
    " }, { "lang": "JavaScript", @@ -21078,7 +21202,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "304", @@ -21102,7 +21226,7 @@ { "verb": "get", "requestPath": "/projects/columns/{column_id}/cards", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "column_id", @@ -21154,8 +21278,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n https://api.github.com/projects/columns/42/cards", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  https://api.github.com/projects/columns/42/cards
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n http(s)://{hostname}/api/v3/projects/columns/42/cards", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  http(s)://{hostname}/api/v3/projects/columns/42/cards
    " }, { "lang": "JavaScript", @@ -21222,7 +21346,7 @@ { "verb": "post", "requestPath": "/projects/columns/{column_id}/cards", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "column_id", @@ -21238,8 +21362,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n https://api.github.com/projects/columns/42/cards \\\n -d '{\"note\":\"note\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  https://api.github.com/projects/columns/42/cards \\\n  -d '{\"note\":\"note\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n http(s)://{hostname}/api/v3/projects/columns/42/cards \\\n -d '{\"note\":\"note\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  http(s)://{hostname}/api/v3/projects/columns/42/cards \\\n  -d '{\"note\":\"note\"}'
    " }, { "lang": "JavaScript", @@ -21359,7 +21483,7 @@ { "verb": "post", "requestPath": "/projects/columns/{column_id}/moves", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "column_id", @@ -21375,8 +21499,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n https://api.github.com/projects/columns/42/moves \\\n -d '{\"position\":\"position\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  https://api.github.com/projects/columns/42/moves \\\n  -d '{\"position\":\"position\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n http(s)://{hostname}/api/v3/projects/columns/42/moves \\\n -d '{\"position\":\"position\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  http(s)://{hostname}/api/v3/projects/columns/42/moves \\\n  -d '{\"position\":\"position\"}'
    " }, { "lang": "JavaScript", @@ -21484,7 +21608,7 @@ { "verb": "get", "requestPath": "/projects/{project_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "project_id", @@ -21499,8 +21623,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n https://api.github.com/projects/42", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  https://api.github.com/projects/42
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n http(s)://{hostname}/api/v3/projects/42", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  http(s)://{hostname}/api/v3/projects/42
    " }, { "lang": "JavaScript", @@ -21565,7 +21689,7 @@ { "verb": "patch", "requestPath": "/projects/{project_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "project_id", @@ -21580,8 +21704,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n https://api.github.com/projects/42 \\\n -d '{\"name\":\"name\"}'", - "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  https://api.github.com/projects/42 \\\n  -d '{\"name\":\"name\"}'
    " + "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n http(s)://{hostname}/api/v3/projects/42 \\\n -d '{\"name\":\"name\"}'", + "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  http(s)://{hostname}/api/v3/projects/42 \\\n  -d '{\"name\":\"name\"}'
    " }, { "lang": "JavaScript", @@ -21783,7 +21907,7 @@ { "verb": "delete", "requestPath": "/projects/{project_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "project_id", @@ -21798,8 +21922,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n https://api.github.com/projects/42", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  https://api.github.com/projects/42
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n http(s)://{hostname}/api/v3/projects/42", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  http(s)://{hostname}/api/v3/projects/42
    " }, { "lang": "JavaScript", @@ -21873,7 +21997,7 @@ { "verb": "get", "requestPath": "/projects/{project_id}/collaborators", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "project_id", @@ -21924,8 +22048,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n https://api.github.com/projects/42/collaborators", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  https://api.github.com/projects/42/collaborators
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n http(s)://{hostname}/api/v3/projects/42/collaborators", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  http(s)://{hostname}/api/v3/projects/42/collaborators
    " }, { "lang": "JavaScript", @@ -22007,7 +22131,7 @@ { "verb": "put", "requestPath": "/projects/{project_id}/collaborators/{username}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "project_id", @@ -22031,8 +22155,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n https://api.github.com/projects/42/collaborators/USERNAME \\\n -d '{\"permission\":\"permission\"}'", - "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  https://api.github.com/projects/42/collaborators/USERNAME \\\n  -d '{\"permission\":\"permission\"}'
    " + "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n http(s)://{hostname}/api/v3/projects/42/collaborators/USERNAME \\\n -d '{\"permission\":\"permission\"}'", + "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  http(s)://{hostname}/api/v3/projects/42/collaborators/USERNAME \\\n  -d '{\"permission\":\"permission\"}'
    " }, { "lang": "JavaScript", @@ -22101,7 +22225,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "304", @@ -22157,7 +22281,7 @@ { "verb": "delete", "requestPath": "/projects/{project_id}/collaborators/{username}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "project_id", @@ -22181,8 +22305,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n https://api.github.com/projects/42/collaborators/USERNAME", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  https://api.github.com/projects/42/collaborators/USERNAME
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n http(s)://{hostname}/api/v3/projects/42/collaborators/USERNAME", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  http(s)://{hostname}/api/v3/projects/42/collaborators/USERNAME
    " }, { "lang": "JavaScript", @@ -22224,7 +22348,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "304", @@ -22263,7 +22387,7 @@ { "verb": "get", "requestPath": "/projects/{project_id}/collaborators/{username}/permission", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "project_id", @@ -22287,8 +22411,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n https://api.github.com/projects/42/collaborators/USERNAME/permission", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  https://api.github.com/projects/42/collaborators/USERNAME/permission
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n http(s)://{hostname}/api/v3/projects/42/collaborators/USERNAME/permission", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  http(s)://{hostname}/api/v3/projects/42/collaborators/USERNAME/permission
    " }, { "lang": "JavaScript", @@ -22370,7 +22494,7 @@ { "verb": "get", "requestPath": "/projects/{project_id}/columns", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "project_id", @@ -22405,8 +22529,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n https://api.github.com/projects/42/columns", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  https://api.github.com/projects/42/columns
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n http(s)://{hostname}/api/v3/projects/42/columns", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  http(s)://{hostname}/api/v3/projects/42/columns
    " }, { "lang": "JavaScript", @@ -22473,7 +22597,7 @@ { "verb": "post", "requestPath": "/projects/{project_id}/columns", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "project_id", @@ -22488,8 +22612,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n https://api.github.com/projects/42/columns \\\n -d '{\"name\":\"name\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  https://api.github.com/projects/42/columns \\\n  -d '{\"name\":\"name\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n http(s)://{hostname}/api/v3/projects/42/columns \\\n -d '{\"name\":\"name\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  http(s)://{hostname}/api/v3/projects/42/columns \\\n  -d '{\"name\":\"name\"}'
    " }, { "lang": "JavaScript", @@ -22596,13 +22720,13 @@ { "verb": "get", "requestPath": "/rate_limit", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/rate_limit", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/rate_limit
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/rate_limit", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/rate_limit
    " }, { "lang": "JavaScript", @@ -22655,7 +22779,7 @@ { "verb": "delete", "requestPath": "/reactions/{reaction_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "reaction_id", @@ -22670,8 +22794,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n https://api.github.com/reactions/42", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n  https://api.github.com/reactions/42
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n http(s)://{hostname}/api/v3/reactions/42", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n  http(s)://{hostname}/api/v3/reactions/42
    " }, { "lang": "JavaScript", @@ -22714,7 +22838,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "304", @@ -22748,7 +22872,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -22772,8 +22896,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world
    " }, { "lang": "JavaScript", @@ -22850,7 +22974,7 @@ { "verb": "patch", "requestPath": "/repos/{owner}/{repo}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -22874,8 +22998,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world \\\n -d '{\"name\":\"name\"}'", - "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world \\\n  -d '{\"name\":\"name\"}'
    " + "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world \\\n -d '{\"name\":\"name\"}'", + "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world \\\n  -d '{\"name\":\"name\"}'
    " }, { "lang": "JavaScript", @@ -23269,7 +23393,7 @@ { "verb": "delete", "requestPath": "/repos/{owner}/{repo}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -23293,8 +23417,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world
    " }, { "lang": "JavaScript", @@ -23329,7 +23453,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "403", @@ -23347,7 +23471,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/assignees", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -23391,8 +23515,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/assignees", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/assignees
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/assignees", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/assignees
    " }, { "lang": "JavaScript", @@ -23442,7 +23566,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/assignees/{assignee}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -23475,8 +23599,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/assignees/ASSIGNEE", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/assignees/ASSIGNEE
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/assignees/ASSIGNEE", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/assignees/ASSIGNEE
    " }, { "lang": "JavaScript", @@ -23525,7 +23649,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/branches", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -23579,8 +23703,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/branches", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/branches
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches
    " }, { "lang": "JavaScript", @@ -23618,12 +23742,6 @@ "httpStatusCode": "200", "httpStatusMessage": "OK", "description": "Default response", - "payload": "
    [\n  {\n    \"name\": \"master\",\n    \"commit\": {\n      \"sha\": \"c5b97d5ae6c19d5c5df71a34c7fbeeda2479ccbc\",\n      \"url\": \"https://api.github.com/repos/octocat/Hello-World/commits/c5b97d5ae6c19d5c5df71a34c7fbeeda2479ccbc\"\n    },\n    \"protected\": true\n  }\n]\n
    " - }, - { - "httpStatusCode": "200", - "httpStatusMessage": "OK", - "description": "With protection", "payload": "
    [\n  {\n    \"name\": \"master\",\n    \"commit\": {\n      \"sha\": \"c5b97d5ae6c19d5c5df71a34c7fbeeda2479ccbc\",\n      \"url\": \"https://api.github.com/repos/octocat/Hello-World/commits/c5b97d5ae6c19d5c5df71a34c7fbeeda2479ccbc\"\n    },\n    \"protected\": true,\n    \"protection\": {\n      \"enabled\": true,\n      \"required_status_checks\": {\n        \"enforcement_level\": \"non_admins\",\n        \"contexts\": [\n          \"ci-test\",\n          \"linter\"\n        ]\n      }\n    },\n    \"protection_url\": \"https://api.github.com/repos/octocat/hello-world/branches/master/protection\"\n  }\n]\n
    " }, { @@ -23636,7 +23754,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/branches/{branch}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -23671,8 +23789,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/branches/BRANCH", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/branches/BRANCH
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH
    " }, { "lang": "JavaScript", @@ -23727,7 +23845,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/branches/{branch}/protection", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -23762,8 +23880,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection
    " }, { "lang": "JavaScript", @@ -23820,7 +23938,7 @@ { "verb": "put", "requestPath": "/repos/{owner}/{repo}/branches/{branch}/protection", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -23855,8 +23973,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection \\\n -d '{\"required_status_checks\":{\"strict\":true,\"contexts\":[\"contexts\"]},\"enforce_admins\":true,\"required_pull_request_reviews\":{\"dismissal_restrictions\":{\"users\":[\"users\"],\"teams\":[\"teams\"]},\"dismiss_stale_reviews\":true,\"require_code_owner_reviews\":true,\"required_approving_review_count\":42},\"restrictions\":{\"users\":[\"users\"],\"teams\":[\"teams\"],\"apps\":[\"apps\"]}}'", - "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection \\\n  -d '{\"required_status_checks\":{\"strict\":true,\"contexts\":[\"contexts\"]},\"enforce_admins\":true,\"required_pull_request_reviews\":{\"dismissal_restrictions\":{\"users\":[\"users\"],\"teams\":[\"teams\"]},\"dismiss_stale_reviews\":true,\"require_code_owner_reviews\":true,\"required_approving_review_count\":42},\"restrictions\":{\"users\":[\"users\"],\"teams\":[\"teams\"],\"apps\":[\"apps\"]}}'
    " + "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection \\\n -d '{\"required_status_checks\":{\"strict\":true,\"contexts\":[\"contexts\"]},\"enforce_admins\":true,\"required_pull_request_reviews\":{\"dismissal_restrictions\":{\"users\":[\"users\"],\"teams\":[\"teams\"]},\"dismiss_stale_reviews\":true,\"require_code_owner_reviews\":true,\"required_approving_review_count\":42},\"restrictions\":{\"users\":[\"users\"],\"teams\":[\"teams\"],\"apps\":[\"apps\"]}}'", + "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection \\\n  -d '{\"required_status_checks\":{\"strict\":true,\"contexts\":[\"contexts\"]},\"enforce_admins\":true,\"required_pull_request_reviews\":{\"dismissal_restrictions\":{\"users\":[\"users\"],\"teams\":[\"teams\"]},\"dismiss_stale_reviews\":true,\"require_code_owner_reviews\":true,\"required_approving_review_count\":42},\"restrictions\":{\"users\":[\"users\"],\"teams\":[\"teams\"],\"apps\":[\"apps\"]}}'
    " }, { "lang": "JavaScript", @@ -24859,7 +24977,7 @@ { "verb": "delete", "requestPath": "/repos/{owner}/{repo}/branches/{branch}/protection", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -24894,8 +25012,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection
    " }, { "lang": "JavaScript", @@ -24930,7 +25048,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "403", @@ -24944,7 +25062,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/branches/{branch}/protection/enforce_admins", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -24979,8 +25097,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/enforce_admins", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/enforce_admins
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection/enforce_admins", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection/enforce_admins
    " }, { "lang": "JavaScript", @@ -25025,7 +25143,7 @@ { "verb": "post", "requestPath": "/repos/{owner}/{repo}/branches/{branch}/protection/enforce_admins", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -25060,8 +25178,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/enforce_admins", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/enforce_admins
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection/enforce_admins", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection/enforce_admins
    " }, { "lang": "JavaScript", @@ -25106,7 +25224,7 @@ { "verb": "delete", "requestPath": "/repos/{owner}/{repo}/branches/{branch}/protection/enforce_admins", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -25141,8 +25259,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/enforce_admins", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/enforce_admins
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection/enforce_admins", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection/enforce_admins
    " }, { "lang": "JavaScript", @@ -25191,7 +25309,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/branches/{branch}/protection/required_pull_request_reviews", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -25226,8 +25344,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/required_pull_request_reviews", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/required_pull_request_reviews
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection/required_pull_request_reviews", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection/required_pull_request_reviews
    " }, { "lang": "JavaScript", @@ -25278,7 +25396,7 @@ { "verb": "patch", "requestPath": "/repos/{owner}/{repo}/branches/{branch}/protection/required_pull_request_reviews", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -25313,8 +25431,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/required_pull_request_reviews \\\n -d '{\"dismissal_restrictions\":{\"users\":[\"users\"],\"teams\":[\"teams\"]}}'", - "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/required_pull_request_reviews \\\n  -d '{\"dismissal_restrictions\":{\"users\":[\"users\"],\"teams\":[\"teams\"]}}'
    " + "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection/required_pull_request_reviews \\\n -d '{\"dismissal_restrictions\":{\"users\":[\"users\"],\"teams\":[\"teams\"]}}'", + "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection/required_pull_request_reviews \\\n  -d '{\"dismissal_restrictions\":{\"users\":[\"users\"],\"teams\":[\"teams\"]}}'
    " }, { "lang": "JavaScript", @@ -25584,7 +25702,7 @@ { "verb": "delete", "requestPath": "/repos/{owner}/{repo}/branches/{branch}/protection/required_pull_request_reviews", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -25619,8 +25737,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/required_pull_request_reviews", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/required_pull_request_reviews
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection/required_pull_request_reviews", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection/required_pull_request_reviews
    " }, { "lang": "JavaScript", @@ -25669,7 +25787,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/branches/{branch}/protection/required_signatures", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -25704,8 +25822,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.zzzax-preview+json\" \\\n https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/required_signatures", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.zzzax-preview+json\" \\\n  https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/required_signatures
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.zzzax-preview+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection/required_signatures", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.zzzax-preview+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection/required_signatures
    " }, { "lang": "JavaScript", @@ -25762,7 +25880,7 @@ { "verb": "post", "requestPath": "/repos/{owner}/{repo}/branches/{branch}/protection/required_signatures", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -25797,8 +25915,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.zzzax-preview+json\" \\\n https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/required_signatures", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.zzzax-preview+json\" \\\n  https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/required_signatures
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.zzzax-preview+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection/required_signatures", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.zzzax-preview+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection/required_signatures
    " }, { "lang": "JavaScript", @@ -25855,7 +25973,7 @@ { "verb": "delete", "requestPath": "/repos/{owner}/{repo}/branches/{branch}/protection/required_signatures", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -25890,8 +26008,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.zzzax-preview+json\" \\\n https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/required_signatures", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.zzzax-preview+json\" \\\n  https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/required_signatures
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.zzzax-preview+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection/required_signatures", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.zzzax-preview+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection/required_signatures
    " }, { "lang": "JavaScript", @@ -25947,7 +26065,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -25982,8 +26100,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/required_status_checks", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/required_status_checks
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection/required_status_checks", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection/required_status_checks
    " }, { "lang": "JavaScript", @@ -26033,7 +26151,7 @@ { "verb": "patch", "requestPath": "/repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -26068,8 +26186,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/required_status_checks \\\n -d '{\"strict\":true}'", - "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/required_status_checks \\\n  -d '{\"strict\":true}'
    " + "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection/required_status_checks \\\n -d '{\"strict\":true}'", + "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection/required_status_checks \\\n  -d '{\"strict\":true}'
    " }, { "lang": "JavaScript", @@ -26184,7 +26302,7 @@ { "verb": "delete", "requestPath": "/repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -26219,8 +26337,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/required_status_checks", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/required_status_checks
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection/required_status_checks", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection/required_status_checks
    " }, { "lang": "JavaScript", @@ -26264,7 +26382,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks/contexts", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -26299,8 +26417,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/required_status_checks/contexts", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/required_status_checks/contexts
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection/required_status_checks/contexts", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection/required_status_checks/contexts
    " }, { "lang": "JavaScript", @@ -26350,7 +26468,7 @@ { "verb": "post", "requestPath": "/repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks/contexts", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -26385,8 +26503,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/required_status_checks/contexts \\\n -d '{\"contexts\":{\"contexts\":[\"contexts\"]}}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/required_status_checks/contexts \\\n  -d '{\"contexts\":{\"contexts\":[\"contexts\"]}}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection/required_status_checks/contexts \\\n -d '{\"contexts\":{\"contexts\":[\"contexts\"]}}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection/required_status_checks/contexts \\\n  -d '{\"contexts\":{\"contexts\":[\"contexts\"]}}'
    " }, { "lang": "JavaScript", @@ -26491,7 +26609,7 @@ { "verb": "put", "requestPath": "/repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks/contexts", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -26526,8 +26644,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/required_status_checks/contexts \\\n -d '{\"contexts\":{\"contexts\":[\"contexts\"]}}'", - "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/required_status_checks/contexts \\\n  -d '{\"contexts\":{\"contexts\":[\"contexts\"]}}'
    " + "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection/required_status_checks/contexts \\\n -d '{\"contexts\":{\"contexts\":[\"contexts\"]}}'", + "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection/required_status_checks/contexts \\\n  -d '{\"contexts\":{\"contexts\":[\"contexts\"]}}'
    " }, { "lang": "JavaScript", @@ -26627,7 +26745,7 @@ { "verb": "delete", "requestPath": "/repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks/contexts", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -26662,8 +26780,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/required_status_checks/contexts \\\n -d '{\"contexts\":{\"contexts\":[\"contexts\"]}}'", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/required_status_checks/contexts \\\n  -d '{\"contexts\":{\"contexts\":[\"contexts\"]}}'
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection/required_status_checks/contexts \\\n -d '{\"contexts\":{\"contexts\":[\"contexts\"]}}'", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection/required_status_checks/contexts \\\n  -d '{\"contexts\":{\"contexts\":[\"contexts\"]}}'
    " }, { "lang": "JavaScript", @@ -26763,7 +26881,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/branches/{branch}/protection/restrictions", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -26798,8 +26916,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/restrictions", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/restrictions
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection/restrictions", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection/restrictions
    " }, { "lang": "JavaScript", @@ -26849,7 +26967,7 @@ { "verb": "delete", "requestPath": "/repos/{owner}/{repo}/branches/{branch}/protection/restrictions", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -26884,8 +27002,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/restrictions", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/restrictions
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection/restrictions", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection/restrictions
    " }, { "lang": "JavaScript", @@ -26929,7 +27047,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/branches/{branch}/protection/restrictions/apps", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -26964,8 +27082,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/restrictions/apps", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/restrictions/apps
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection/restrictions/apps", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection/restrictions/apps
    " }, { "lang": "JavaScript", @@ -27015,7 +27133,7 @@ { "verb": "post", "requestPath": "/repos/{owner}/{repo}/branches/{branch}/protection/restrictions/apps", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -27050,8 +27168,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/restrictions/apps \\\n -d '{\"apps\":{\"apps\":[\"apps\"]}}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/restrictions/apps \\\n  -d '{\"apps\":{\"apps\":[\"apps\"]}}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection/restrictions/apps \\\n -d '{\"apps\":{\"apps\":[\"apps\"]}}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection/restrictions/apps \\\n  -d '{\"apps\":{\"apps\":[\"apps\"]}}'
    " }, { "lang": "JavaScript", @@ -27146,7 +27264,7 @@ { "verb": "put", "requestPath": "/repos/{owner}/{repo}/branches/{branch}/protection/restrictions/apps", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -27181,8 +27299,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/restrictions/apps \\\n -d '{\"apps\":{\"apps\":[\"apps\"]}}'", - "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/restrictions/apps \\\n  -d '{\"apps\":{\"apps\":[\"apps\"]}}'
    " + "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection/restrictions/apps \\\n -d '{\"apps\":{\"apps\":[\"apps\"]}}'", + "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection/restrictions/apps \\\n  -d '{\"apps\":{\"apps\":[\"apps\"]}}'
    " }, { "lang": "JavaScript", @@ -27277,7 +27395,7 @@ { "verb": "delete", "requestPath": "/repos/{owner}/{repo}/branches/{branch}/protection/restrictions/apps", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -27312,8 +27430,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/restrictions/apps \\\n -d '{\"apps\":{\"apps\":[\"apps\"]}}'", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/restrictions/apps \\\n  -d '{\"apps\":{\"apps\":[\"apps\"]}}'
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection/restrictions/apps \\\n -d '{\"apps\":{\"apps\":[\"apps\"]}}'", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection/restrictions/apps \\\n  -d '{\"apps\":{\"apps\":[\"apps\"]}}'
    " }, { "lang": "JavaScript", @@ -27408,7 +27526,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/branches/{branch}/protection/restrictions/teams", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -27443,8 +27561,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/restrictions/teams", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/restrictions/teams
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection/restrictions/teams", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection/restrictions/teams
    " }, { "lang": "JavaScript", @@ -27494,7 +27612,7 @@ { "verb": "post", "requestPath": "/repos/{owner}/{repo}/branches/{branch}/protection/restrictions/teams", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -27529,8 +27647,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/restrictions/teams \\\n -d '{\"teams\":{\"teams\":[\"teams\"]}}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/restrictions/teams \\\n  -d '{\"teams\":{\"teams\":[\"teams\"]}}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection/restrictions/teams \\\n -d '{\"teams\":{\"teams\":[\"teams\"]}}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection/restrictions/teams \\\n  -d '{\"teams\":{\"teams\":[\"teams\"]}}'
    " }, { "lang": "JavaScript", @@ -27625,7 +27743,7 @@ { "verb": "put", "requestPath": "/repos/{owner}/{repo}/branches/{branch}/protection/restrictions/teams", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -27660,8 +27778,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/restrictions/teams \\\n -d '{\"teams\":{\"teams\":[\"teams\"]}}'", - "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/restrictions/teams \\\n  -d '{\"teams\":{\"teams\":[\"teams\"]}}'
    " + "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection/restrictions/teams \\\n -d '{\"teams\":{\"teams\":[\"teams\"]}}'", + "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection/restrictions/teams \\\n  -d '{\"teams\":{\"teams\":[\"teams\"]}}'
    " }, { "lang": "JavaScript", @@ -27756,7 +27874,7 @@ { "verb": "delete", "requestPath": "/repos/{owner}/{repo}/branches/{branch}/protection/restrictions/teams", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -27791,8 +27909,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/restrictions/teams \\\n -d '{\"teams\":{\"teams\":[\"teams\"]}}'", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/restrictions/teams \\\n  -d '{\"teams\":{\"teams\":[\"teams\"]}}'
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection/restrictions/teams \\\n -d '{\"teams\":{\"teams\":[\"teams\"]}}'", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection/restrictions/teams \\\n  -d '{\"teams\":{\"teams\":[\"teams\"]}}'
    " }, { "lang": "JavaScript", @@ -27887,7 +28005,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/branches/{branch}/protection/restrictions/users", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -27922,8 +28040,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/restrictions/users", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/restrictions/users
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection/restrictions/users", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection/restrictions/users
    " }, { "lang": "JavaScript", @@ -27973,7 +28091,7 @@ { "verb": "post", "requestPath": "/repos/{owner}/{repo}/branches/{branch}/protection/restrictions/users", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -28008,8 +28126,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/restrictions/users \\\n -d '{\"users\":{\"users\":[\"users\"]}}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/restrictions/users \\\n  -d '{\"users\":{\"users\":[\"users\"]}}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection/restrictions/users \\\n -d '{\"users\":{\"users\":[\"users\"]}}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection/restrictions/users \\\n  -d '{\"users\":{\"users\":[\"users\"]}}'
    " }, { "lang": "JavaScript", @@ -28104,7 +28222,7 @@ { "verb": "put", "requestPath": "/repos/{owner}/{repo}/branches/{branch}/protection/restrictions/users", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -28139,8 +28257,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/restrictions/users \\\n -d '{\"users\":{\"users\":[\"users\"]}}'", - "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/restrictions/users \\\n  -d '{\"users\":{\"users\":[\"users\"]}}'
    " + "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection/restrictions/users \\\n -d '{\"users\":{\"users\":[\"users\"]}}'", + "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection/restrictions/users \\\n  -d '{\"users\":{\"users\":[\"users\"]}}'
    " }, { "lang": "JavaScript", @@ -28235,7 +28353,7 @@ { "verb": "delete", "requestPath": "/repos/{owner}/{repo}/branches/{branch}/protection/restrictions/users", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -28270,8 +28388,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/restrictions/users \\\n -d '{\"users\":{\"users\":[\"users\"]}}'", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/restrictions/users \\\n  -d '{\"users\":{\"users\":[\"users\"]}}'
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection/restrictions/users \\\n -d '{\"users\":{\"users\":[\"users\"]}}'", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection/restrictions/users \\\n  -d '{\"users\":{\"users\":[\"users\"]}}'
    " }, { "lang": "JavaScript", @@ -28366,7 +28484,7 @@ { "verb": "post", "requestPath": "/repos/{owner}/{repo}/check-runs", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -28390,8 +28508,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.antiope-preview+json\" \\\n https://api.github.com/repos/octocat/hello-world/check-runs \\\n -d '{\"name\":\"name\",\"head_sha\":\"head_sha\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.antiope-preview+json\" \\\n  https://api.github.com/repos/octocat/hello-world/check-runs \\\n  -d '{\"name\":\"name\",\"head_sha\":\"head_sha\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.antiope-preview+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/check-runs \\\n -d '{\"name\":\"name\",\"head_sha\":\"head_sha\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.antiope-preview+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/check-runs \\\n  -d '{\"name\":\"name\",\"head_sha\":\"head_sha\"}'
    " }, { "lang": "JavaScript", @@ -29368,7 +29486,7 @@ "name", "head_sha" ], - "anyOf": [ + "oneOf": [ { "properties": { "status": { @@ -29378,6 +29496,7 @@ } }, "required": [ + "status", "conclusion" ], "additionalProperties": true @@ -29397,7 +29516,7 @@ }, "examples": { "example-of-in-progress-conclusion": { - "summary": "Example of in_progress conclusion", + "summary": "Response for in_progress conclusion", "value": { "name": "mighty_readme", "head_sha": "ce587453ced02b1526dfb4cb910479d431683101", @@ -29412,7 +29531,7 @@ } }, "example-of-completed-conclusion": { - "summary": "Example of completed conclusion", + "summary": "Response for completed conclusion", "value": { "name": "mighty_readme", "head_sha": "ce587453ced02b1526dfb4cb910479d431683101", @@ -29486,12 +29605,6 @@ "notes": [], "descriptionHTML": "

    Note: The Checks API only looks for pushes in the repository where the check 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

    Creates 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

    In 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.

    ", "responses": [ - { - "httpStatusCode": "201", - "httpStatusMessage": "Created", - "description": "Response for in_progress conclusion", - "payload": "
    {\n  \"id\": 4,\n  \"head_sha\": \"ce587453ced02b1526dfb4cb910479d431683101\",\n  \"node_id\": \"MDg6Q2hlY2tSdW40\",\n  \"external_id\": \"42\",\n  \"url\": \"https://api.github.com/repos/github/hello-world/check-runs/4\",\n  \"html_url\": \"https://github.com/github/hello-world/runs/4\",\n  \"details_url\": \"https://example.com\",\n  \"status\": \"in_progress\",\n  \"conclusion\": \"neutral\",\n  \"started_at\": \"2018-05-04T01:14:52Z\",\n  \"completed_at\": null,\n  \"output\": {\n    \"title\": \"Mighty Readme Report\",\n    \"summary\": \"\",\n    \"text\": \"\",\n    \"annotations_count\": 1,\n    \"annotations_url\": \"https://api.github.com/repos/github/hello-world/check-runs/4/annotations\"\n  },\n  \"name\": \"mighty_readme\",\n  \"check_suite\": {\n    \"id\": 5\n  },\n  \"app\": {\n    \"id\": 1,\n    \"slug\": \"octoapp\",\n    \"node_id\": \"MDExOkludGVncmF0aW9uMQ==\",\n    \"owner\": {\n      \"login\": \"github\",\n      \"id\": 1,\n      \"node_id\": \"MDEyOk9yZ2FuaXphdGlvbjE=\",\n      \"url\": \"https://api.github.com/orgs/github\",\n      \"repos_url\": \"https://api.github.com/orgs/github/repos\",\n      \"events_url\": \"https://api.github.com/orgs/github/events\",\n      \"avatar_url\": \"https://github.com/images/error/octocat_happy.gif\",\n      \"gravatar_id\": \"\",\n      \"html_url\": \"https://github.com/octocat\",\n      \"followers_url\": \"https://api.github.com/users/octocat/followers\",\n      \"following_url\": \"https://api.github.com/users/octocat/following{/other_user}\",\n      \"gists_url\": \"https://api.github.com/users/octocat/gists{/gist_id}\",\n      \"starred_url\": \"https://api.github.com/users/octocat/starred{/owner}{/repo}\",\n      \"subscriptions_url\": \"https://api.github.com/users/octocat/subscriptions\",\n      \"organizations_url\": \"https://api.github.com/users/octocat/orgs\",\n      \"received_events_url\": \"https://api.github.com/users/octocat/received_events\",\n      \"type\": \"User\",\n      \"site_admin\": true\n    },\n    \"name\": \"Octocat App\",\n    \"description\": \"\",\n    \"external_url\": \"https://example.com\",\n    \"html_url\": \"https://github.com/apps/octoapp\",\n    \"created_at\": \"2017-07-08T16:18:44-04:00\",\n    \"updated_at\": \"2017-07-08T16:18:44-04:00\",\n    \"permissions\": {\n      \"metadata\": \"read\",\n      \"contents\": \"read\",\n      \"issues\": \"write\",\n      \"single_file\": \"write\"\n    },\n    \"events\": [\n      \"push\",\n      \"pull_request\"\n    ]\n  },\n  \"pull_requests\": [\n    {\n      \"url\": \"https://api.github.com/repos/github/hello-world/pulls/1\",\n      \"id\": 1934,\n      \"number\": 3956,\n      \"head\": {\n        \"ref\": \"say-hello\",\n        \"sha\": \"3dca65fa3e8d4b3da3f3d056c59aee1c50f41390\",\n        \"repo\": {\n          \"id\": 526,\n          \"url\": \"https://api.github.com/repos/github/hello-world\",\n          \"name\": \"hello-world\"\n        }\n      },\n      \"base\": {\n        \"ref\": \"master\",\n        \"sha\": \"e7fdf7640066d71ad16a86fbcbb9c6a10a18af4f\",\n        \"repo\": {\n          \"id\": 526,\n          \"url\": \"https://api.github.com/repos/github/hello-world\",\n          \"name\": \"hello-world\"\n        }\n      }\n    }\n  ]\n}\n
    " - }, { "httpStatusCode": "201", "httpStatusMessage": "Created", @@ -30453,7 +30566,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/check-runs/{check_run_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -30487,8 +30600,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.antiope-preview+json\" \\\n https://api.github.com/repos/octocat/hello-world/check-runs/42", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.antiope-preview+json\" \\\n  https://api.github.com/repos/octocat/hello-world/check-runs/42
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.antiope-preview+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/check-runs/42", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.antiope-preview+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/check-runs/42
    " }, { "lang": "JavaScript", @@ -30540,7 +30653,7 @@ { "verb": "patch", "requestPath": "/repos/{owner}/{repo}/check-runs/{check_run_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -30574,8 +30687,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.antiope-preview+json\" \\\n https://api.github.com/repos/octocat/hello-world/check-runs/42 \\\n -d '{\"name\":\"name\"}'", - "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.antiope-preview+json\" \\\n  https://api.github.com/repos/octocat/hello-world/check-runs/42 \\\n  -d '{\"name\":\"name\"}'
    " + "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.antiope-preview+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/check-runs/42 \\\n -d '{\"name\":\"name\"}'", + "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.antiope-preview+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/check-runs/42 \\\n  -d '{\"name\":\"name\"}'
    " }, { "lang": "JavaScript", @@ -32577,7 +32690,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/check-runs/{check_run_id}/annotations", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -32631,8 +32744,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.antiope-preview+json\" \\\n https://api.github.com/repos/octocat/hello-world/check-runs/42/annotations", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.antiope-preview+json\" \\\n  https://api.github.com/repos/octocat/hello-world/check-runs/42/annotations
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.antiope-preview+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/check-runs/42/annotations", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.antiope-preview+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/check-runs/42/annotations
    " }, { "lang": "JavaScript", @@ -32684,7 +32797,7 @@ { "verb": "post", "requestPath": "/repos/{owner}/{repo}/check-suites", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -32708,8 +32821,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.antiope-preview+json\" \\\n https://api.github.com/repos/octocat/hello-world/check-suites \\\n -d '{\"head_sha\":\"head_sha\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.antiope-preview+json\" \\\n  https://api.github.com/repos/octocat/hello-world/check-suites \\\n  -d '{\"head_sha\":\"head_sha\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.antiope-preview+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/check-suites \\\n -d '{\"head_sha\":\"head_sha\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.antiope-preview+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/check-suites \\\n  -d '{\"head_sha\":\"head_sha\"}'
    " }, { "lang": "JavaScript", @@ -32797,7 +32910,7 @@ { "verb": "patch", "requestPath": "/repos/{owner}/{repo}/check-suites/preferences", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -32821,8 +32934,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.antiope-preview+json\" \\\n https://api.github.com/repos/octocat/hello-world/check-suites/preferences \\\n -d '{\"auto_trigger_checks\":[{\"app_id\":42,\"setting\":true}]}'", - "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.antiope-preview+json\" \\\n  https://api.github.com/repos/octocat/hello-world/check-suites/preferences \\\n  -d '{\"auto_trigger_checks\":[{\"app_id\":42,\"setting\":true}]}'
    " + "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.antiope-preview+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/check-suites/preferences \\\n -d '{\"auto_trigger_checks\":[{\"app_id\":42,\"setting\":true}]}'", + "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.antiope-preview+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/check-suites/preferences \\\n  -d '{\"auto_trigger_checks\":[{\"app_id\":42,\"setting\":true}]}'
    " }, { "lang": "JavaScript", @@ -33022,7 +33135,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/check-suites/{check_suite_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -33056,8 +33169,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.antiope-preview+json\" \\\n https://api.github.com/repos/octocat/hello-world/check-suites/42", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.antiope-preview+json\" \\\n  https://api.github.com/repos/octocat/hello-world/check-suites/42
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.antiope-preview+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/check-suites/42", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.antiope-preview+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/check-suites/42
    " }, { "lang": "JavaScript", @@ -33109,7 +33222,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/check-suites/{check_suite_id}/check-runs", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -33203,8 +33316,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.antiope-preview+json\" \\\n https://api.github.com/repos/octocat/hello-world/check-suites/42/check-runs", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.antiope-preview+json\" \\\n  https://api.github.com/repos/octocat/hello-world/check-suites/42/check-runs
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.antiope-preview+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/check-suites/42/check-runs", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.antiope-preview+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/check-suites/42/check-runs
    " }, { "lang": "JavaScript", @@ -33256,7 +33369,7 @@ { "verb": "post", "requestPath": "/repos/{owner}/{repo}/check-suites/{check_suite_id}/rerequest", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -33290,8 +33403,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.antiope-preview+json\" \\\n https://api.github.com/repos/octocat/hello-world/check-suites/42/rerequest", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.antiope-preview+json\" \\\n  https://api.github.com/repos/octocat/hello-world/check-suites/42/rerequest
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.antiope-preview+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/check-suites/42/rerequest", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.antiope-preview+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/check-suites/42/rerequest
    " }, { "lang": "JavaScript", @@ -33342,7 +33455,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/collaborators", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -33402,8 +33515,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/collaborators", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/collaborators
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/collaborators", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/collaborators
    " }, { "lang": "JavaScript", @@ -33453,7 +33566,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/collaborators/{username}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -33486,8 +33599,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/collaborators/USERNAME", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/collaborators/USERNAME
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/collaborators/USERNAME", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/collaborators/USERNAME
    " }, { "lang": "JavaScript", @@ -33536,7 +33649,7 @@ { "verb": "put", "requestPath": "/repos/{owner}/{repo}/collaborators/{username}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -33569,8 +33682,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/collaborators/USERNAME \\\n -d '{\"permission\":\"permission\"}'", - "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/collaborators/USERNAME \\\n  -d '{\"permission\":\"permission\"}'
    " + "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/collaborators/USERNAME \\\n -d '{\"permission\":\"permission\"}'", + "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/collaborators/USERNAME \\\n  -d '{\"permission\":\"permission\"}'
    " }, { "lang": "JavaScript", @@ -33695,7 +33808,7 @@ { "verb": "delete", "requestPath": "/repos/{owner}/{repo}/collaborators/{username}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -33728,8 +33841,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/collaborators/USERNAME", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/collaborators/USERNAME
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/collaborators/USERNAME", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/collaborators/USERNAME
    " }, { "lang": "JavaScript", @@ -33764,7 +33877,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "bodyParameters": [], @@ -33773,7 +33886,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/collaborators/{username}/permission", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -33806,8 +33919,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/collaborators/USERNAME/permission", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/collaborators/USERNAME/permission
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/collaborators/USERNAME/permission", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/collaborators/USERNAME/permission
    " }, { "lang": "JavaScript", @@ -33857,7 +33970,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/comments", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -33901,8 +34014,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/comments", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/comments
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/comments", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/comments
    " }, { "lang": "JavaScript", @@ -33954,7 +34067,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/comments/{comment_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -33988,8 +34101,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/comments/42", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/comments/42
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/comments/42", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/comments/42
    " }, { "lang": "JavaScript", @@ -34046,7 +34159,7 @@ { "verb": "patch", "requestPath": "/repos/{owner}/{repo}/comments/{comment_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -34080,8 +34193,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/comments/42 \\\n -d '{\"body\":\"body\"}'", - "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/comments/42 \\\n  -d '{\"body\":\"body\"}'
    " + "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/comments/42 \\\n -d '{\"body\":\"body\"}'", + "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/comments/42 \\\n  -d '{\"body\":\"body\"}'
    " }, { "lang": "JavaScript", @@ -34167,7 +34280,7 @@ { "verb": "delete", "requestPath": "/repos/{owner}/{repo}/comments/{comment_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -34201,8 +34314,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/comments/42", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/comments/42
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/comments/42", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/comments/42
    " }, { "lang": "JavaScript", @@ -34237,7 +34350,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "404", @@ -34251,7 +34364,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/comments/{comment_id}/reactions", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -34325,8 +34438,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n https://api.github.com/repos/octocat/hello-world/comments/42/reactions", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n  https://api.github.com/repos/octocat/hello-world/comments/42/reactions
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/comments/42/reactions", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/comments/42/reactions
    " }, { "lang": "JavaScript", @@ -34386,7 +34499,7 @@ { "verb": "post", "requestPath": "/repos/{owner}/{repo}/comments/{comment_id}/reactions", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -34420,8 +34533,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n https://api.github.com/repos/octocat/hello-world/comments/42/reactions \\\n -d '{\"content\":\"content\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n  https://api.github.com/repos/octocat/hello-world/comments/42/reactions \\\n  -d '{\"content\":\"content\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/comments/42/reactions \\\n -d '{\"content\":\"content\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/comments/42/reactions \\\n  -d '{\"content\":\"content\"}'
    " }, { "lang": "JavaScript", @@ -34543,7 +34656,7 @@ { "verb": "delete", "requestPath": "/repos/{owner}/{repo}/comments/{comment_id}/reactions/{reaction_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -34586,8 +34699,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n https://api.github.com/repos/octocat/hello-world/comments/42/reactions/42", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n  https://api.github.com/repos/octocat/hello-world/comments/42/reactions/42
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/comments/42/reactions/42", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/comments/42/reactions/42
    " }, { "lang": "JavaScript", @@ -34627,7 +34740,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "bodyParameters": [], @@ -34636,7 +34749,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/commits", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -34725,13 +34838,35 @@ "default": 1 }, "descriptionHTML": "

    Page number of the results to fetch.

    " + }, + { + "name": "top", + "description": "legacy parameter for pagination.", + "in": "query", + "deprecated": true, + "required": false, + "schema": { + "type": "string" + }, + "descriptionHTML": "

    legacy parameter for pagination.

    " + }, + { + "name": "last_sha", + "description": "legacy parameter for pagination.", + "in": "query", + "deprecated": true, + "required": false, + "schema": { + "type": "string" + }, + "descriptionHTML": "

    legacy parameter for pagination.

    " } ], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/commits", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/commits
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/commits", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/commits
    " }, { "lang": "JavaScript", @@ -34796,7 +34931,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/commits/{commit_sha}/branches-where-head", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -34831,8 +34966,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.groot-preview+json\" \\\n https://api.github.com/repos/octocat/hello-world/commits/COMMIT_SHA/branches-where-head", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.groot-preview+json\" \\\n  https://api.github.com/repos/octocat/hello-world/commits/COMMIT_SHA/branches-where-head
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.groot-preview+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/commits/COMMIT_SHA/branches-where-head", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.groot-preview+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/commits/COMMIT_SHA/branches-where-head
    " }, { "lang": "JavaScript", @@ -34894,7 +35029,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/commits/{commit_sha}/comments", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -34949,8 +35084,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/commits/COMMIT_SHA/comments", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/commits/COMMIT_SHA/comments
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/commits/COMMIT_SHA/comments", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/commits/COMMIT_SHA/comments
    " }, { "lang": "JavaScript", @@ -35002,7 +35137,7 @@ { "verb": "post", "requestPath": "/repos/{owner}/{repo}/commits/{commit_sha}/comments", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -35037,8 +35172,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/commits/COMMIT_SHA/comments \\\n -d '{\"body\":\"body\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/commits/COMMIT_SHA/comments \\\n  -d '{\"body\":\"body\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/commits/COMMIT_SHA/comments \\\n -d '{\"body\":\"body\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/commits/COMMIT_SHA/comments \\\n  -d '{\"body\":\"body\"}'
    " }, { "lang": "JavaScript", @@ -35187,7 +35322,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/commits/{commit_sha}/pulls", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -35242,8 +35377,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.groot-preview+json\" \\\n https://api.github.com/repos/octocat/hello-world/commits/COMMIT_SHA/pulls", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.groot-preview+json\" \\\n  https://api.github.com/repos/octocat/hello-world/commits/COMMIT_SHA/pulls
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.groot-preview+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/commits/COMMIT_SHA/pulls", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.groot-preview+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/commits/COMMIT_SHA/pulls
    " }, { "lang": "JavaScript", @@ -35300,7 +35435,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/commits/{ref}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -35320,23 +35455,43 @@ }, "descriptionHTML": "" }, + { + "name": "page", + "description": "Page number of the results to fetch.", + "in": "query", + "schema": { + "type": "integer", + "default": 1 + }, + "descriptionHTML": "

    Page number of the results to fetch.

    " + }, + { + "name": "per_page", + "description": "Results per page (max 100).", + "in": "query", + "schema": { + "type": "integer", + "default": 30 + }, + "descriptionHTML": "

    Results per page (max 100).

    " + }, { "name": "ref", - "description": "ref+ parameter", + "description": "ref parameter", "in": "path", "required": true, "schema": { "type": "string" }, "x-multi-segment": true, - "descriptionHTML": "

    ref+ parameter

    " + "descriptionHTML": "

    ref parameter

    " } ], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/commits/REF", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/commits/REF
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/commits/REF", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/commits/REF
    " }, { "lang": "JavaScript", @@ -35396,7 +35551,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/commits/{ref}/check-runs", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -35418,14 +35573,14 @@ }, { "name": "ref", - "description": "ref+ parameter", + "description": "ref parameter", "in": "path", "required": true, "schema": { "type": "string" }, "x-multi-segment": true, - "descriptionHTML": "

    ref+ parameter

    " + "descriptionHTML": "

    ref parameter

    " }, { "name": "check_name", @@ -35486,13 +35641,22 @@ "default": 1 }, "descriptionHTML": "

    Page number of the results to fetch.

    " + }, + { + "name": "app_id", + "in": "query", + "required": false, + "schema": { + "type": "integer" + }, + "descriptionHTML": "" } ], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.antiope-preview+json\" \\\n https://api.github.com/repos/octocat/hello-world/commits/REF/check-runs", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.antiope-preview+json\" \\\n  https://api.github.com/repos/octocat/hello-world/commits/REF/check-runs
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.antiope-preview+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/commits/REF/check-runs", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.antiope-preview+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/commits/REF/check-runs
    " }, { "lang": "JavaScript", @@ -35544,7 +35708,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/commits/{ref}/check-suites", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -35566,14 +35730,14 @@ }, { "name": "ref", - "description": "ref+ parameter", + "description": "ref parameter", "in": "path", "required": true, "schema": { "type": "string" }, "x-multi-segment": true, - "descriptionHTML": "

    ref+ parameter

    " + "descriptionHTML": "

    ref parameter

    " }, { "name": "app_id", @@ -35620,8 +35784,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.antiope-preview+json\" \\\n https://api.github.com/repos/octocat/hello-world/commits/REF/check-suites", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.antiope-preview+json\" \\\n  https://api.github.com/repos/octocat/hello-world/commits/REF/check-suites
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.antiope-preview+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/commits/REF/check-suites", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.antiope-preview+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/commits/REF/check-suites
    " }, { "lang": "JavaScript", @@ -35673,7 +35837,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/commits/{ref}/status", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -35695,21 +35859,41 @@ }, { "name": "ref", - "description": "ref+ parameter", + "description": "ref parameter", "in": "path", "required": true, "schema": { "type": "string" }, "x-multi-segment": true, - "descriptionHTML": "

    ref+ parameter

    " + "descriptionHTML": "

    ref parameter

    " + }, + { + "name": "per_page", + "description": "Results per page (max 100).", + "in": "query", + "schema": { + "type": "integer", + "default": 30 + }, + "descriptionHTML": "

    Results per page (max 100).

    " + }, + { + "name": "page", + "description": "Page number of the results to fetch.", + "in": "query", + "schema": { + "type": "integer", + "default": 1 + }, + "descriptionHTML": "

    Page number of the results to fetch.

    " } ], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/commits/REF/status", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/commits/REF/status
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/commits/REF/status", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/commits/REF/status
    " }, { "lang": "JavaScript", @@ -35759,7 +35943,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/commits/{ref}/statuses", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -35781,14 +35965,14 @@ }, { "name": "ref", - "description": "ref+ parameter", + "description": "ref parameter", "in": "path", "required": true, "schema": { "type": "string" }, "x-multi-segment": true, - "descriptionHTML": "

    ref+ parameter

    " + "descriptionHTML": "

    ref parameter

    " }, { "name": "per_page", @@ -35814,8 +35998,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/commits/REF/statuses", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/commits/REF/statuses
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/commits/REF/statuses", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/commits/REF/statuses
    " }, { "lang": "JavaScript", @@ -35865,7 +36049,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/compare/{base}...{head}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -35907,8 +36091,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/compare/BASE...HEAD", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/compare/BASE...HEAD
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/compare/BASE...HEAD", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/compare/BASE...HEAD
    " }, { "lang": "JavaScript", @@ -35963,7 +36147,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/contents/{path}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -35985,14 +36169,14 @@ }, { "name": "path", - "description": "path+ parameter", + "description": "path parameter", "in": "path", "required": true, "schema": { "type": "string" }, "x-multi-segment": true, - "descriptionHTML": "

    path+ parameter

    " + "descriptionHTML": "

    path parameter

    " }, { "name": "ref", @@ -36008,8 +36192,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/contents/PATH", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/contents/PATH
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/contents/PATH", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/contents/PATH
    " }, { "lang": "JavaScript", @@ -36087,7 +36271,7 @@ { "verb": "put", "requestPath": "/repos/{owner}/{repo}/contents/{path}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -36109,21 +36293,21 @@ }, { "name": "path", - "description": "path+ parameter", + "description": "path parameter", "in": "path", "required": true, "schema": { "type": "string" }, "x-multi-segment": true, - "descriptionHTML": "

    path+ parameter

    " + "descriptionHTML": "

    path parameter

    " } ], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/contents/PATH \\\n -d '{\"message\":\"message\",\"content\":\"content\"}'", - "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/contents/PATH \\\n  -d '{\"message\":\"message\",\"content\":\"content\"}'
    " + "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/contents/PATH \\\n -d '{\"message\":\"message\",\"content\":\"content\"}'", + "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/contents/PATH \\\n  -d '{\"message\":\"message\",\"content\":\"content\"}'
    " }, { "lang": "JavaScript", @@ -36610,7 +36794,7 @@ { "verb": "delete", "requestPath": "/repos/{owner}/{repo}/contents/{path}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -36632,21 +36816,21 @@ }, { "name": "path", - "description": "path+ parameter", + "description": "path parameter", "in": "path", "required": true, "schema": { "type": "string" }, "x-multi-segment": true, - "descriptionHTML": "

    path+ parameter

    " + "descriptionHTML": "

    path parameter

    " } ], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/contents/PATH \\\n -d '{\"message\":\"message\",\"sha\":\"sha\"}'", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/contents/PATH \\\n  -d '{\"message\":\"message\",\"sha\":\"sha\"}'
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/contents/PATH \\\n -d '{\"message\":\"message\",\"sha\":\"sha\"}'", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/contents/PATH \\\n  -d '{\"message\":\"message\",\"sha\":\"sha\"}'
    " }, { "lang": "JavaScript", @@ -37009,7 +37193,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/contributors", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -37063,8 +37247,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/contributors", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/contributors
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/contributors", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/contributors
    " }, { "lang": "JavaScript", @@ -37122,7 +37306,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/deployments", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -37182,7 +37366,8 @@ "required": false, "schema": { "type": "string", - "default": "none" + "default": "none", + "nullable": true }, "descriptionHTML": "

    The name of the environment that was deployed to (e.g., staging or production).

    " }, @@ -37210,8 +37395,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/deployments", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/deployments
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/deployments", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/deployments
    " }, { "lang": "JavaScript", @@ -37263,7 +37448,7 @@ { "verb": "post", "requestPath": "/repos/{owner}/{repo}/deployments", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -37287,8 +37472,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/deployments \\\n -d '{\"ref\":\"ref\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/deployments \\\n  -d '{\"ref\":\"ref\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/deployments \\\n -d '{\"ref\":\"ref\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/deployments \\\n  -d '{\"ref\":\"ref\"}'
    " }, { "lang": "JavaScript", @@ -37587,12 +37772,6 @@ "description": "Simple example", "payload": "
    {\n  \"url\": \"https://api.github.com/repos/octocat/example/deployments/1\",\n  \"id\": 1,\n  \"node_id\": \"MDEwOkRlcGxveW1lbnQx\",\n  \"sha\": \"a84d88e7554fc1fa21bcbc4efae3c782a70d2b9d\",\n  \"ref\": \"topic-branch\",\n  \"task\": \"deploy\",\n  \"payload\": {},\n  \"original_environment\": \"staging\",\n  \"environment\": \"production\",\n  \"description\": \"Deploy request from hubot\",\n  \"creator\": {\n    \"login\": \"octocat\",\n    \"id\": 1,\n    \"node_id\": \"MDQ6VXNlcjE=\",\n    \"avatar_url\": \"https://github.com/images/error/octocat_happy.gif\",\n    \"gravatar_id\": \"\",\n    \"url\": \"https://api.github.com/users/octocat\",\n    \"html_url\": \"https://github.com/octocat\",\n    \"followers_url\": \"https://api.github.com/users/octocat/followers\",\n    \"following_url\": \"https://api.github.com/users/octocat/following{/other_user}\",\n    \"gists_url\": \"https://api.github.com/users/octocat/gists{/gist_id}\",\n    \"starred_url\": \"https://api.github.com/users/octocat/starred{/owner}{/repo}\",\n    \"subscriptions_url\": \"https://api.github.com/users/octocat/subscriptions\",\n    \"organizations_url\": \"https://api.github.com/users/octocat/orgs\",\n    \"repos_url\": \"https://api.github.com/users/octocat/repos\",\n    \"events_url\": \"https://api.github.com/users/octocat/events{/privacy}\",\n    \"received_events_url\": \"https://api.github.com/users/octocat/received_events\",\n    \"type\": \"User\",\n    \"site_admin\": false\n  },\n  \"created_at\": \"2012-07-20T01:19:13Z\",\n  \"updated_at\": \"2012-07-20T01:19:13Z\",\n  \"statuses_url\": \"https://api.github.com/repos/octocat/example/deployments/1/statuses\",\n  \"repository_url\": \"https://api.github.com/repos/octocat/example\",\n  \"transient_environment\": false,\n  \"production_environment\": true\n}\n
    " }, - { - "httpStatusCode": "201", - "httpStatusMessage": "Created", - "description": "Advanced example", - "payload": "
    {\n  \"url\": \"https://api.github.com/repos/octocat/example/deployments/1\",\n  \"id\": 1,\n  \"node_id\": \"MDEwOkRlcGxveW1lbnQx\",\n  \"sha\": \"a84d88e7554fc1fa21bcbc4efae3c782a70d2b9d\",\n  \"ref\": \"topic-branch\",\n  \"task\": \"deploy\",\n  \"payload\": {},\n  \"original_environment\": \"staging\",\n  \"environment\": \"production\",\n  \"description\": \"Deploy request from hubot\",\n  \"creator\": {\n    \"login\": \"octocat\",\n    \"id\": 1,\n    \"node_id\": \"MDQ6VXNlcjE=\",\n    \"avatar_url\": \"https://github.com/images/error/octocat_happy.gif\",\n    \"gravatar_id\": \"\",\n    \"url\": \"https://api.github.com/users/octocat\",\n    \"html_url\": \"https://github.com/octocat\",\n    \"followers_url\": \"https://api.github.com/users/octocat/followers\",\n    \"following_url\": \"https://api.github.com/users/octocat/following{/other_user}\",\n    \"gists_url\": \"https://api.github.com/users/octocat/gists{/gist_id}\",\n    \"starred_url\": \"https://api.github.com/users/octocat/starred{/owner}{/repo}\",\n    \"subscriptions_url\": \"https://api.github.com/users/octocat/subscriptions\",\n    \"organizations_url\": \"https://api.github.com/users/octocat/orgs\",\n    \"repos_url\": \"https://api.github.com/users/octocat/repos\",\n    \"events_url\": \"https://api.github.com/users/octocat/events{/privacy}\",\n    \"received_events_url\": \"https://api.github.com/users/octocat/received_events\",\n    \"type\": \"User\",\n    \"site_admin\": false\n  },\n  \"created_at\": \"2012-07-20T01:19:13Z\",\n  \"updated_at\": \"2012-07-20T01:19:13Z\",\n  \"statuses_url\": \"https://api.github.com/repos/octocat/example/deployments/1/statuses\",\n  \"repository_url\": \"https://api.github.com/repos/octocat/example\",\n  \"transient_environment\": false,\n  \"production_environment\": true\n}\n
    " - }, { "httpStatusCode": "202", "httpStatusMessage": "Accepted", @@ -37602,14 +37781,7 @@ { "httpStatusCode": "409", "httpStatusMessage": "Conflict", - "description": "Merge conflict response", - "payload": "
    {\n  \"message\": \"Conflict merging master into topic-branch\"\n}\n
    " - }, - { - "httpStatusCode": "409", - "httpStatusMessage": "Conflict", - "description": "Failed commit status checks", - "payload": "
    {\n  \"message\": \"Conflict: Commit status checks failed for topic-branch.\"\n}\n
    " + "description": "Response when there is a merge conflict or the commit s status checks failed" }, { "httpStatusCode": "422", @@ -37621,7 +37793,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/deployments/{deployment_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -37655,8 +37827,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/deployments/42", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/deployments/42
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/deployments/42", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/deployments/42
    " }, { "lang": "JavaScript", @@ -37719,7 +37891,7 @@ { "verb": "delete", "requestPath": "/repos/{owner}/{repo}/deployments/{deployment_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -37753,8 +37925,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/deployments/42", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/deployments/42
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/deployments/42", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/deployments/42
    " }, { "lang": "JavaScript", @@ -37789,7 +37961,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "404", @@ -37808,7 +37980,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/deployments/{deployment_id}/statuses", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -37862,8 +38034,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/deployments/42/statuses", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/deployments/42/statuses
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/deployments/42/statuses", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/deployments/42/statuses
    " }, { "lang": "JavaScript", @@ -37926,7 +38098,7 @@ { "verb": "post", "requestPath": "/repos/{owner}/{repo}/deployments/{deployment_id}/statuses", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -37960,8 +38132,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/deployments/42/statuses \\\n -d '{\"state\":\"state\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/deployments/42/statuses \\\n  -d '{\"state\":\"state\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/deployments/42/statuses \\\n -d '{\"state\":\"state\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/deployments/42/statuses \\\n  -d '{\"state\":\"state\"}'
    " }, { "lang": "JavaScript", @@ -38207,7 +38379,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/deployments/{deployment_id}/statuses/{status_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -38250,8 +38422,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/deployments/42/statuses/42", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/deployments/42/statuses/42
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/deployments/42/statuses/42", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/deployments/42/statuses/42
    " }, { "lang": "JavaScript", @@ -38325,7 +38497,7 @@ { "verb": "post", "requestPath": "/repos/{owner}/{repo}/dispatches", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -38349,8 +38521,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/dispatches \\\n -d '{\"event_type\":\"event_type\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/dispatches \\\n  -d '{\"event_type\":\"event_type\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/dispatches \\\n -d '{\"event_type\":\"event_type\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/dispatches \\\n  -d '{\"event_type\":\"event_type\"}'
    " }, { "lang": "JavaScript", @@ -38423,7 +38595,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "422", @@ -38457,7 +38629,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/events", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -38501,8 +38673,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/events", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/events
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/events", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/events
    " }, { "lang": "JavaScript", @@ -38546,7 +38718,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/forks", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -38576,7 +38748,8 @@ "enum": [ "newest", "oldest", - "stargazers" + "stargazers", + "watchers" ], "default": "newest" }, @@ -38601,13 +38774,35 @@ "default": 1 }, "descriptionHTML": "

    Page number of the results to fetch.

    " + }, + { + "name": "org", + "description": "legacy query parameter for specifying the org.", + "in": "query", + "deprecated": true, + "required": false, + "schema": { + "type": "string" + }, + "descriptionHTML": "

    legacy query parameter for specifying the org.

    " + }, + { + "name": "organization", + "description": "legacy query parameter for specifying the org.", + "in": "query", + "deprecated": true, + "required": false, + "schema": { + "type": "string" + }, + "descriptionHTML": "

    legacy query parameter for specifying the org.

    " } ], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/forks", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/forks
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/forks", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/forks
    " }, { "lang": "JavaScript", @@ -38657,7 +38852,7 @@ { "verb": "post", "requestPath": "/repos/{owner}/{repo}/forks", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -38676,13 +38871,35 @@ "type": "string" }, "descriptionHTML": "" + }, + { + "name": "org", + "description": "legacy query parameter for specifying the org.", + "in": "query", + "deprecated": true, + "required": false, + "schema": { + "type": "string" + }, + "descriptionHTML": "

    legacy query parameter for specifying the org.

    " + }, + { + "name": "organization", + "description": "legacy query parameter for specifying the org.", + "in": "query", + "deprecated": true, + "required": false, + "schema": { + "type": "string" + }, + "descriptionHTML": "

    legacy query parameter for specifying the org.

    " } ], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/forks \\\n -d '{\"organization\":\"organization\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/forks \\\n  -d '{\"organization\":\"organization\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/forks \\\n -d '{\"organization\":\"organization\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/forks \\\n  -d '{\"organization\":\"organization\"}'
    " }, { "lang": "JavaScript", @@ -38705,6 +38922,7 @@ "application/json": { "schema": { "type": "object", + "nullable": true, "properties": { "organization": { "type": "string", @@ -38777,7 +38995,7 @@ { "verb": "post", "requestPath": "/repos/{owner}/{repo}/git/blobs", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -38801,8 +39019,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/git/blobs \\\n -d '{\"content\":\"content\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/git/blobs \\\n  -d '{\"content\":\"content\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/git/blobs \\\n -d '{\"content\":\"content\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/git/blobs \\\n  -d '{\"content\":\"content\"}'
    " }, { "lang": "JavaScript", @@ -38924,7 +39142,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/git/blobs/{file_sha}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -38957,8 +39175,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/git/blobs/FILE_SHA", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/git/blobs/FILE_SHA
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/git/blobs/FILE_SHA", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/git/blobs/FILE_SHA
    " }, { "lang": "JavaScript", @@ -39018,7 +39236,7 @@ { "verb": "post", "requestPath": "/repos/{owner}/{repo}/git/commits", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -39042,8 +39260,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/git/commits \\\n -d '{\"message\":\"message\",\"tree\":\"tree\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/git/commits \\\n  -d '{\"message\":\"message\",\"tree\":\"tree\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/git/commits \\\n -d '{\"message\":\"message\",\"tree\":\"tree\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/git/commits \\\n  -d '{\"message\":\"message\",\"tree\":\"tree\"}'
    " }, { "lang": "JavaScript", @@ -39497,7 +39715,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/git/commits/{commit_sha}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -39532,8 +39750,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/git/commits/COMMIT_SHA", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/git/commits/COMMIT_SHA
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/git/commits/COMMIT_SHA", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/git/commits/COMMIT_SHA
    " }, { "lang": "JavaScript", @@ -39583,7 +39801,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/git/matching-refs/{ref}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -39605,14 +39823,14 @@ }, { "name": "ref", - "description": "ref+ parameter", + "description": "ref parameter", "in": "path", "required": true, "schema": { "type": "string" }, "x-multi-segment": true, - "descriptionHTML": "

    ref+ parameter

    " + "descriptionHTML": "

    ref parameter

    " }, { "name": "per_page", @@ -39638,8 +39856,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/git/matching-refs/REF", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/git/matching-refs/REF
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/git/matching-refs/REF", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/git/matching-refs/REF
    " }, { "lang": "JavaScript", @@ -39684,7 +39902,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/git/ref/{ref}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -39706,21 +39924,21 @@ }, { "name": "ref", - "description": "ref+ parameter", + "description": "ref parameter", "in": "path", "required": true, "schema": { "type": "string" }, "x-multi-segment": true, - "descriptionHTML": "

    ref+ parameter

    " + "descriptionHTML": "

    ref parameter

    " } ], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/git/ref/REF", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/git/ref/REF
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/git/ref/REF", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/git/ref/REF
    " }, { "lang": "JavaScript", @@ -39770,7 +39988,7 @@ { "verb": "post", "requestPath": "/repos/{owner}/{repo}/git/refs", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -39794,8 +40012,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/git/refs \\\n -d '{\"ref\":\"ref\",\"sha\":\"sha\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/git/refs \\\n  -d '{\"ref\":\"ref\",\"sha\":\"sha\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/git/refs \\\n -d '{\"ref\":\"ref\",\"sha\":\"sha\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/git/refs \\\n  -d '{\"ref\":\"ref\",\"sha\":\"sha\"}'
    " }, { "lang": "JavaScript", @@ -39919,7 +40137,7 @@ { "verb": "patch", "requestPath": "/repos/{owner}/{repo}/git/refs/{ref}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -39941,21 +40159,21 @@ }, { "name": "ref", - "description": "ref+ parameter", + "description": "ref parameter", "in": "path", "required": true, "schema": { "type": "string" }, "x-multi-segment": true, - "descriptionHTML": "

    ref+ parameter

    " + "descriptionHTML": "

    ref parameter

    " } ], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/git/refs/REF \\\n -d '{\"sha\":\"sha\"}'", - "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/git/refs/REF \\\n  -d '{\"sha\":\"sha\"}'
    " + "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/git/refs/REF \\\n -d '{\"sha\":\"sha\"}'", + "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/git/refs/REF \\\n  -d '{\"sha\":\"sha\"}'
    " }, { "lang": "JavaScript", @@ -40062,7 +40280,7 @@ { "verb": "delete", "requestPath": "/repos/{owner}/{repo}/git/refs/{ref}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -40084,21 +40302,21 @@ }, { "name": "ref", - "description": "ref+ parameter", + "description": "ref parameter", "in": "path", "required": true, "schema": { "type": "string" }, "x-multi-segment": true, - "descriptionHTML": "

    ref+ parameter

    " + "descriptionHTML": "

    ref parameter

    " } ], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/git/refs/REF", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/git/refs/REF
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/git/refs/REF", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/git/refs/REF
    " }, { "lang": "JavaScript", @@ -40133,7 +40351,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "422", @@ -40147,7 +40365,7 @@ { "verb": "post", "requestPath": "/repos/{owner}/{repo}/git/tags", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -40171,8 +40389,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/git/tags \\\n -d '{\"tag\":\"tag\",\"message\":\"message\",\"object\":\"object\",\"type\":\"type\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/git/tags \\\n  -d '{\"tag\":\"tag\",\"message\":\"message\",\"object\":\"object\",\"type\":\"type\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/git/tags \\\n -d '{\"tag\":\"tag\",\"message\":\"message\",\"object\":\"object\",\"type\":\"type\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/git/tags \\\n  -d '{\"tag\":\"tag\",\"message\":\"message\",\"object\":\"object\",\"type\":\"type\"}'
    " }, { "lang": "JavaScript", @@ -40479,7 +40697,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/git/tags/{tag_sha}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -40512,8 +40730,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/git/tags/TAG_SHA", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/git/tags/TAG_SHA
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/git/tags/TAG_SHA", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/git/tags/TAG_SHA
    " }, { "lang": "JavaScript", @@ -40563,7 +40781,7 @@ { "verb": "post", "requestPath": "/repos/{owner}/{repo}/git/trees", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -40587,8 +40805,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/git/trees \\\n -d '{\"tree\":[{\"path\":\"path\",\"mode\":\"mode\",\"type\":\"type\",\"sha\":\"sha\",\"content\":\"content\"}]}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/git/trees \\\n  -d '{\"tree\":[{\"path\":\"path\",\"mode\":\"mode\",\"type\":\"type\",\"sha\":\"sha\",\"content\":\"content\"}]}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/git/trees \\\n -d '{\"tree\":[{\"path\":\"path\",\"mode\":\"mode\",\"type\":\"type\",\"sha\":\"sha\",\"content\":\"content\"}]}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/git/trees \\\n  -d '{\"tree\":[{\"path\":\"path\",\"mode\":\"mode\",\"type\":\"type\",\"sha\":\"sha\",\"content\":\"content\"}]}'
    " }, { "lang": "JavaScript", @@ -40968,7 +41186,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/git/trees/{tree_sha}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -40995,6 +41213,7 @@ "schema": { "type": "string" }, + "x-multi-segment": true, "descriptionHTML": "" }, { @@ -41011,8 +41230,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/git/trees/TREE_SHA", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/git/trees/TREE_SHA
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/git/trees/TREE_SHA", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/git/trees/TREE_SHA
    " }, { "lang": "JavaScript", @@ -41073,7 +41292,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/hooks", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -41117,8 +41336,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/hooks", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/hooks
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/hooks", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/hooks
    " }, { "lang": "JavaScript", @@ -41168,7 +41387,7 @@ { "verb": "post", "requestPath": "/repos/{owner}/{repo}/hooks", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -41192,8 +41411,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/hooks \\\n -d '{\"config\":{\"url\":\"url\",\"content_type\":\"content_type\",\"secret\":\"secret\",\"insecure_ssl\":\"insecure_ssl\",\"token\":\"token\",\"digest\":\"digest\"}}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/hooks \\\n  -d '{\"config\":{\"url\":\"url\",\"content_type\":\"content_type\",\"secret\":\"secret\",\"insecure_ssl\":\"insecure_ssl\",\"token\":\"token\",\"digest\":\"digest\"}}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/hooks \\\n -d '{\"config\":{\"url\":\"url\",\"content_type\":\"content_type\",\"secret\":\"secret\",\"insecure_ssl\":\"insecure_ssl\",\"token\":\"token\",\"digest\":\"digest\"}}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/hooks \\\n  -d '{\"config\":{\"url\":\"url\",\"content_type\":\"content_type\",\"secret\":\"secret\",\"insecure_ssl\":\"insecure_ssl\",\"token\":\"token\",\"digest\":\"digest\"}}'
    " }, { "lang": "JavaScript", @@ -41629,7 +41848,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/hooks/{hook_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -41662,8 +41881,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/hooks/42", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/hooks/42
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/hooks/42", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/hooks/42
    " }, { "lang": "JavaScript", @@ -41713,7 +41932,7 @@ { "verb": "patch", "requestPath": "/repos/{owner}/{repo}/hooks/{hook_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -41746,8 +41965,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/hooks/42 \\\n -d '{\"config\":{\"url\":\"url\",\"content_type\":\"content_type\",\"secret\":\"secret\",\"insecure_ssl\":\"insecure_ssl\",\"address\":\"address\",\"room\":\"room\"}}'", - "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/hooks/42 \\\n  -d '{\"config\":{\"url\":\"url\",\"content_type\":\"content_type\",\"secret\":\"secret\",\"insecure_ssl\":\"insecure_ssl\",\"address\":\"address\",\"room\":\"room\"}}'
    " + "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/hooks/42 \\\n -d '{\"config\":{\"url\":\"url\",\"content_type\":\"content_type\",\"secret\":\"secret\",\"insecure_ssl\":\"insecure_ssl\",\"address\":\"address\",\"room\":\"room\"}}'", + "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/hooks/42 \\\n  -d '{\"config\":{\"url\":\"url\",\"content_type\":\"content_type\",\"secret\":\"secret\",\"insecure_ssl\":\"insecure_ssl\",\"address\":\"address\",\"room\":\"room\"}}'
    " }, { "lang": "JavaScript", @@ -42198,7 +42417,7 @@ { "verb": "delete", "requestPath": "/repos/{owner}/{repo}/hooks/{hook_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -42231,8 +42450,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/hooks/42", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/hooks/42
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/hooks/42", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/hooks/42
    " }, { "lang": "JavaScript", @@ -42267,7 +42486,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "404", @@ -42281,7 +42500,7 @@ { "verb": "post", "requestPath": "/repos/{owner}/{repo}/hooks/{hook_id}/pings", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -42314,8 +42533,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/hooks/42/pings", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/hooks/42/pings
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/hooks/42/pings", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/hooks/42/pings
    " }, { "lang": "JavaScript", @@ -42350,7 +42569,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "404", @@ -42364,7 +42583,7 @@ { "verb": "post", "requestPath": "/repos/{owner}/{repo}/hooks/{hook_id}/tests", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -42397,8 +42616,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/hooks/42/tests", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/hooks/42/tests
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/hooks/42/tests", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/hooks/42/tests
    " }, { "lang": "JavaScript", @@ -42433,7 +42652,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "404", @@ -42447,7 +42666,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/installation", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "accept", @@ -42482,8 +42701,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.machine-man-preview+json\" \\\n https://api.github.com/repos/octocat/hello-world/installation", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.machine-man-preview+json\" \\\n  https://api.github.com/repos/octocat/hello-world/installation
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.machine-man-preview+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/installation", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.machine-man-preview+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/installation
    " }, { "lang": "JavaScript", @@ -42542,7 +42761,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/invitations", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -42586,8 +42805,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/invitations", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/invitations
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/invitations", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/invitations
    " }, { "lang": "JavaScript", @@ -42632,7 +42851,7 @@ { "verb": "patch", "requestPath": "/repos/{owner}/{repo}/invitations/{invitation_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -42666,8 +42885,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/invitations/42 \\\n -d '{\"permissions\":\"permissions\"}'", - "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/invitations/42 \\\n  -d '{\"permissions\":\"permissions\"}'
    " + "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/invitations/42 \\\n -d '{\"permissions\":\"permissions\"}'", + "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/invitations/42 \\\n  -d '{\"permissions\":\"permissions\"}'
    " }, { "lang": "JavaScript", @@ -42756,7 +42975,7 @@ { "verb": "delete", "requestPath": "/repos/{owner}/{repo}/invitations/{invitation_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -42790,8 +43009,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/invitations/42", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/invitations/42
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/invitations/42", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/invitations/42
    " }, { "lang": "JavaScript", @@ -42826,7 +43045,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "bodyParameters": [], @@ -42835,7 +43054,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/issues", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -42986,8 +43205,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/issues", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/issues
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues
    " }, { "lang": "JavaScript", @@ -43051,7 +43270,7 @@ { "verb": "post", "requestPath": "/repos/{owner}/{repo}/issues", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -43075,8 +43294,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/issues \\\n -d '{\"title\":\"title\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/issues \\\n  -d '{\"title\":\"title\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues \\\n -d '{\"title\":\"title\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues \\\n  -d '{\"title\":\"title\"}'
    " }, { "lang": "JavaScript", @@ -43367,7 +43586,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/issues/comments", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -43450,8 +43669,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/issues/comments", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/issues/comments
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues/comments", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues/comments
    " }, { "lang": "JavaScript", @@ -43513,7 +43732,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/issues/comments/{comment_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -43547,8 +43766,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/issues/comments/42", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/issues/comments/42
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues/comments/42", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues/comments/42
    " }, { "lang": "JavaScript", @@ -43605,7 +43824,7 @@ { "verb": "patch", "requestPath": "/repos/{owner}/{repo}/issues/comments/{comment_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -43639,8 +43858,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/issues/comments/42 \\\n -d '{\"body\":\"body\"}'", - "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/issues/comments/42 \\\n  -d '{\"body\":\"body\"}'
    " + "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues/comments/42 \\\n -d '{\"body\":\"body\"}'", + "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues/comments/42 \\\n  -d '{\"body\":\"body\"}'
    " }, { "lang": "JavaScript", @@ -43726,7 +43945,7 @@ { "verb": "delete", "requestPath": "/repos/{owner}/{repo}/issues/comments/{comment_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -43760,8 +43979,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/issues/comments/42", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/issues/comments/42
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues/comments/42", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues/comments/42
    " }, { "lang": "JavaScript", @@ -43796,7 +44015,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "bodyParameters": [], @@ -43805,7 +44024,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/issues/comments/{comment_id}/reactions", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -43879,8 +44098,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n https://api.github.com/repos/octocat/hello-world/issues/comments/42/reactions", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n  https://api.github.com/repos/octocat/hello-world/issues/comments/42/reactions
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues/comments/42/reactions", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues/comments/42/reactions
    " }, { "lang": "JavaScript", @@ -43940,7 +44159,7 @@ { "verb": "post", "requestPath": "/repos/{owner}/{repo}/issues/comments/{comment_id}/reactions", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -43974,8 +44193,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n https://api.github.com/repos/octocat/hello-world/issues/comments/42/reactions \\\n -d '{\"content\":\"content\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n  https://api.github.com/repos/octocat/hello-world/issues/comments/42/reactions \\\n  -d '{\"content\":\"content\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues/comments/42/reactions \\\n -d '{\"content\":\"content\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues/comments/42/reactions \\\n  -d '{\"content\":\"content\"}'
    " }, { "lang": "JavaScript", @@ -44097,7 +44316,7 @@ { "verb": "delete", "requestPath": "/repos/{owner}/{repo}/issues/comments/{comment_id}/reactions/{reaction_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -44140,8 +44359,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n https://api.github.com/repos/octocat/hello-world/issues/comments/42/reactions/42", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n  https://api.github.com/repos/octocat/hello-world/issues/comments/42/reactions/42
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues/comments/42/reactions/42", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues/comments/42/reactions/42
    " }, { "lang": "JavaScript", @@ -44181,7 +44400,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "bodyParameters": [], @@ -44190,7 +44409,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/issues/events", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -44234,8 +44453,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/issues/events", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/issues/events
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues/events", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues/events
    " }, { "lang": "JavaScript", @@ -44298,7 +44517,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/issues/events/{event_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -44331,8 +44550,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/issues/events/42", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/issues/events/42
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues/events/42", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues/events/42
    " }, { "lang": "JavaScript", @@ -44411,7 +44630,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/issues/{issue_number}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -44445,8 +44664,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/issues/42", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/issues/42
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues/42", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues/42
    " }, { "lang": "JavaScript", @@ -44516,7 +44735,7 @@ { "verb": "patch", "requestPath": "/repos/{owner}/{repo}/issues/{issue_number}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -44550,8 +44769,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/issues/42 \\\n -d '{\"title\":\"title\"}'", - "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/issues/42 \\\n  -d '{\"title\":\"title\"}'
    " + "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues/42 \\\n -d '{\"title\":\"title\"}'", + "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues/42 \\\n  -d '{\"title\":\"title\"}'
    " }, { "lang": "JavaScript", @@ -44876,7 +45095,7 @@ { "verb": "post", "requestPath": "/repos/{owner}/{repo}/issues/{issue_number}/assignees", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -44910,8 +45129,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/issues/42/assignees \\\n -d '{\"assignees\":[\"assignees\"]}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/issues/42/assignees \\\n  -d '{\"assignees\":[\"assignees\"]}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues/42/assignees \\\n -d '{\"assignees\":[\"assignees\"]}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues/42/assignees \\\n  -d '{\"assignees\":[\"assignees\"]}'
    " }, { "lang": "JavaScript", @@ -44998,7 +45217,7 @@ { "verb": "delete", "requestPath": "/repos/{owner}/{repo}/issues/{issue_number}/assignees", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -45032,8 +45251,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/issues/42/assignees \\\n -d '{\"assignees\":[\"assignees\"]}'", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/issues/42/assignees \\\n  -d '{\"assignees\":[\"assignees\"]}'
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues/42/assignees \\\n -d '{\"assignees\":[\"assignees\"]}'", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues/42/assignees \\\n  -d '{\"assignees\":[\"assignees\"]}'
    " }, { "lang": "JavaScript", @@ -45120,7 +45339,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/issues/{issue_number}/comments", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -45184,8 +45403,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/issues/42/comments", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/issues/42/comments
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues/42/comments", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues/42/comments
    " }, { "lang": "JavaScript", @@ -45247,7 +45466,7 @@ { "verb": "post", "requestPath": "/repos/{owner}/{repo}/issues/{issue_number}/comments", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -45281,8 +45500,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/issues/42/comments \\\n -d '{\"body\":\"body\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/issues/42/comments \\\n  -d '{\"body\":\"body\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues/42/comments \\\n -d '{\"body\":\"body\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues/42/comments \\\n  -d '{\"body\":\"body\"}'
    " }, { "lang": "JavaScript", @@ -45384,7 +45603,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/issues/{issue_number}/events", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -45438,8 +45657,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/issues/42/events", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/issues/42/events
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues/42/events", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues/42/events
    " }, { "lang": "JavaScript", @@ -45502,7 +45721,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/issues/{issue_number}/labels", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -45556,8 +45775,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/issues/42/labels", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/issues/42/labels
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues/42/labels", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues/42/labels
    " }, { "lang": "JavaScript", @@ -45607,7 +45826,7 @@ { "verb": "post", "requestPath": "/repos/{owner}/{repo}/issues/{issue_number}/labels", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -45641,8 +45860,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/issues/42/labels \\\n -d '{\"labels\":[\"labels\"]}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/issues/42/labels \\\n  -d '{\"labels\":[\"labels\"]}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues/42/labels \\\n -d '{\"labels\":[\"labels\"]}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues/42/labels \\\n  -d '{\"labels\":[\"labels\"]}'
    " }, { "lang": "JavaScript", @@ -45742,7 +45961,7 @@ { "verb": "put", "requestPath": "/repos/{owner}/{repo}/issues/{issue_number}/labels", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -45776,8 +45995,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/issues/42/labels \\\n -d '{\"labels\":[\"labels\"]}'", - "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/issues/42/labels \\\n  -d '{\"labels\":[\"labels\"]}'
    " + "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues/42/labels \\\n -d '{\"labels\":[\"labels\"]}'", + "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues/42/labels \\\n  -d '{\"labels\":[\"labels\"]}'
    " }, { "lang": "JavaScript", @@ -45874,7 +46093,7 @@ { "verb": "delete", "requestPath": "/repos/{owner}/{repo}/issues/{issue_number}/labels", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -45908,8 +46127,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/issues/42/labels", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/issues/42/labels
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues/42/labels", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues/42/labels
    " }, { "lang": "JavaScript", @@ -45944,7 +46163,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "410", @@ -45958,7 +46177,7 @@ { "verb": "delete", "requestPath": "/repos/{owner}/{repo}/issues/{issue_number}/labels/{name}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -46001,8 +46220,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/issues/42/labels/NAME", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/issues/42/labels/NAME
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues/42/labels/NAME", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues/42/labels/NAME
    " }, { "lang": "JavaScript", @@ -46057,7 +46276,7 @@ { "verb": "put", "requestPath": "/repos/{owner}/{repo}/issues/{issue_number}/lock", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -46091,8 +46310,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/issues/42/lock \\\n -d '{\"lock_reason\":\"lock_reason\"}'", - "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/issues/42/lock \\\n  -d '{\"lock_reason\":\"lock_reason\"}'
    " + "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues/42/lock \\\n -d '{\"lock_reason\":\"lock_reason\"}'", + "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues/42/lock \\\n  -d '{\"lock_reason\":\"lock_reason\"}'
    " }, { "lang": "JavaScript", @@ -46158,7 +46377,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "403", @@ -46203,7 +46422,7 @@ { "verb": "delete", "requestPath": "/repos/{owner}/{repo}/issues/{issue_number}/lock", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -46237,8 +46456,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/issues/42/lock", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/issues/42/lock
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues/42/lock", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues/42/lock
    " }, { "lang": "JavaScript", @@ -46271,7 +46490,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "403", @@ -46290,7 +46509,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/issues/{issue_number}/reactions", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -46364,8 +46583,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n https://api.github.com/repos/octocat/hello-world/issues/42/reactions", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n  https://api.github.com/repos/octocat/hello-world/issues/42/reactions
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues/42/reactions", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues/42/reactions
    " }, { "lang": "JavaScript", @@ -46430,7 +46649,7 @@ { "verb": "post", "requestPath": "/repos/{owner}/{repo}/issues/{issue_number}/reactions", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -46464,8 +46683,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n https://api.github.com/repos/octocat/hello-world/issues/42/reactions \\\n -d '{\"content\":\"content\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n  https://api.github.com/repos/octocat/hello-world/issues/42/reactions \\\n  -d '{\"content\":\"content\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues/42/reactions \\\n -d '{\"content\":\"content\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues/42/reactions \\\n  -d '{\"content\":\"content\"}'
    " }, { "lang": "JavaScript", @@ -46581,7 +46800,7 @@ { "verb": "delete", "requestPath": "/repos/{owner}/{repo}/issues/{issue_number}/reactions/{reaction_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -46624,8 +46843,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n https://api.github.com/repos/octocat/hello-world/issues/42/reactions/42", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n  https://api.github.com/repos/octocat/hello-world/issues/42/reactions/42
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues/42/reactions/42", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues/42/reactions/42
    " }, { "lang": "JavaScript", @@ -46665,7 +46884,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "bodyParameters": [], @@ -46674,7 +46893,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/issues/{issue_number}/timeline", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -46728,8 +46947,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.mockingbird-preview+json\" \\\n https://api.github.com/repos/octocat/hello-world/issues/42/timeline", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.mockingbird-preview+json\" \\\n  https://api.github.com/repos/octocat/hello-world/issues/42/timeline
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.mockingbird-preview+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues/42/timeline", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.mockingbird-preview+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues/42/timeline
    " }, { "lang": "JavaScript", @@ -46802,7 +47021,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/keys", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -46846,8 +47065,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/keys", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/keys
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/keys", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/keys
    " }, { "lang": "JavaScript", @@ -46892,7 +47111,7 @@ { "verb": "post", "requestPath": "/repos/{owner}/{repo}/keys", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -46916,8 +47135,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/keys \\\n -d '{\"key\":\"key\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/keys \\\n  -d '{\"key\":\"key\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/keys \\\n -d '{\"key\":\"key\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/keys \\\n  -d '{\"key\":\"key\"}'
    " }, { "lang": "JavaScript", @@ -47041,7 +47260,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/keys/{key_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -47075,8 +47294,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/keys/42", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/keys/42
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/keys/42", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/keys/42
    " }, { "lang": "JavaScript", @@ -47126,7 +47345,7 @@ { "verb": "delete", "requestPath": "/repos/{owner}/{repo}/keys/{key_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -47160,8 +47379,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/keys/42", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/keys/42
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/keys/42", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/keys/42
    " }, { "lang": "JavaScript", @@ -47196,7 +47415,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "bodyParameters": [], @@ -47205,7 +47424,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/labels", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -47249,8 +47468,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/labels", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/labels
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/labels", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/labels
    " }, { "lang": "JavaScript", @@ -47300,7 +47519,7 @@ { "verb": "post", "requestPath": "/repos/{owner}/{repo}/labels", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -47324,8 +47543,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/labels \\\n -d '{\"name\":\"name\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/labels \\\n  -d '{\"name\":\"name\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/labels \\\n -d '{\"name\":\"name\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/labels \\\n  -d '{\"name\":\"name\"}'
    " }, { "lang": "JavaScript", @@ -47351,11 +47570,11 @@ "properties": { "name": { "type": "string", - "description": "

    Required. The name of the label. Emoji can be added to label names, using either native emoji or colon-style markup. For example, typing :strawberry: will render the emoji \":strawberry:\". For a full list of available emoji and codes, see emoji-cheat-sheet.com.

    ", + "description": "

    Required. The name of the label. Emoji can be added to label names, using either native emoji or colon-style markup. For example, typing :strawberry: will render the emoji \":strawberry:\". For a full list of available emoji and codes, see \"Emoji cheat sheet.\"

    ", "name": "name", "in": "body", "rawType": "string", - "rawDescription": "The name of the label. Emoji can be added to label names, using either native emoji or colon-style markup. For example, typing `:strawberry:` will render the emoji ![:strawberry:](https://github.githubassets.com/images/icons/emoji/unicode/1f353.png \":strawberry:\"). For a full list of available emoji and codes, see [emoji-cheat-sheet.com](http://emoji-cheat-sheet.com/).", + "rawDescription": "The name of the label. Emoji can be added to label names, using either native emoji or colon-style markup. For example, typing `:strawberry:` will render the emoji ![:strawberry:](https://github.githubassets.com/images/icons/emoji/unicode/1f353.png \":strawberry:\"). For a full list of available emoji and codes, see \"[Emoji cheat sheet](https://github.com/ikatyang/emoji-cheat-sheet).\"", "childParamsGroups": [] }, "color": { @@ -47406,11 +47625,11 @@ "bodyParameters": [ { "type": "string", - "description": "

    Required. The name of the label. Emoji can be added to label names, using either native emoji or colon-style markup. For example, typing :strawberry: will render the emoji \":strawberry:\". For a full list of available emoji and codes, see emoji-cheat-sheet.com.

    ", + "description": "

    Required. The name of the label. Emoji can be added to label names, using either native emoji or colon-style markup. For example, typing :strawberry: will render the emoji \":strawberry:\". For a full list of available emoji and codes, see \"Emoji cheat sheet.\"

    ", "name": "name", "in": "body", "rawType": "string", - "rawDescription": "The name of the label. Emoji can be added to label names, using either native emoji or colon-style markup. For example, typing `:strawberry:` will render the emoji ![:strawberry:](https://github.githubassets.com/images/icons/emoji/unicode/1f353.png \":strawberry:\"). For a full list of available emoji and codes, see [emoji-cheat-sheet.com](http://emoji-cheat-sheet.com/).", + "rawDescription": "The name of the label. Emoji can be added to label names, using either native emoji or colon-style markup. For example, typing `:strawberry:` will render the emoji ![:strawberry:](https://github.githubassets.com/images/icons/emoji/unicode/1f353.png \":strawberry:\"). For a full list of available emoji and codes, see \"[Emoji cheat sheet](https://github.com/ikatyang/emoji-cheat-sheet).\"", "childParamsGroups": [] }, { @@ -47454,7 +47673,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/labels/{name}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -47487,8 +47706,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/labels/NAME", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/labels/NAME
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/labels/NAME", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/labels/NAME
    " }, { "lang": "JavaScript", @@ -47538,7 +47757,7 @@ { "verb": "patch", "requestPath": "/repos/{owner}/{repo}/labels/{name}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -47571,8 +47790,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/labels/NAME \\\n -d '{\"new_name\":\"new_name\"}'", - "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/labels/NAME \\\n  -d '{\"new_name\":\"new_name\"}'
    " + "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/labels/NAME \\\n -d '{\"new_name\":\"new_name\"}'", + "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/labels/NAME \\\n  -d '{\"new_name\":\"new_name\"}'
    " }, { "lang": "JavaScript", @@ -47598,11 +47817,11 @@ "properties": { "new_name": { "type": "string", - "description": "

    The new name of the label. Emoji can be added to label names, using either native emoji or colon-style markup. For example, typing :strawberry: will render the emoji \":strawberry:\". For a full list of available emoji and codes, see emoji-cheat-sheet.com.

    ", + "description": "

    The new name of the label. Emoji can be added to label names, using either native emoji or colon-style markup. For example, typing :strawberry: will render the emoji \":strawberry:\". For a full list of available emoji and codes, see \"Emoji cheat sheet.\"

    ", "name": "new_name", "in": "body", "rawType": "string", - "rawDescription": "The new name of the label. Emoji can be added to label names, using either native emoji or colon-style markup. For example, typing `:strawberry:` will render the emoji ![:strawberry:](https://github.githubassets.com/images/icons/emoji/unicode/1f353.png \":strawberry:\"). For a full list of available emoji and codes, see [emoji-cheat-sheet.com](http://emoji-cheat-sheet.com/).", + "rawDescription": "The new name of the label. Emoji can be added to label names, using either native emoji or colon-style markup. For example, typing `:strawberry:` will render the emoji ![:strawberry:](https://github.githubassets.com/images/icons/emoji/unicode/1f353.png \":strawberry:\"). For a full list of available emoji and codes, see \"[Emoji cheat sheet](https://github.com/ikatyang/emoji-cheat-sheet).\"", "childParamsGroups": [] }, "color": { @@ -47650,11 +47869,11 @@ "bodyParameters": [ { "type": "string", - "description": "

    The new name of the label. Emoji can be added to label names, using either native emoji or colon-style markup. For example, typing :strawberry: will render the emoji \":strawberry:\". For a full list of available emoji and codes, see emoji-cheat-sheet.com.

    ", + "description": "

    The new name of the label. Emoji can be added to label names, using either native emoji or colon-style markup. For example, typing :strawberry: will render the emoji \":strawberry:\". For a full list of available emoji and codes, see \"Emoji cheat sheet.\"

    ", "name": "new_name", "in": "body", "rawType": "string", - "rawDescription": "The new name of the label. Emoji can be added to label names, using either native emoji or colon-style markup. For example, typing `:strawberry:` will render the emoji ![:strawberry:](https://github.githubassets.com/images/icons/emoji/unicode/1f353.png \":strawberry:\"). For a full list of available emoji and codes, see [emoji-cheat-sheet.com](http://emoji-cheat-sheet.com/).", + "rawDescription": "The new name of the label. Emoji can be added to label names, using either native emoji or colon-style markup. For example, typing `:strawberry:` will render the emoji ![:strawberry:](https://github.githubassets.com/images/icons/emoji/unicode/1f353.png \":strawberry:\"). For a full list of available emoji and codes, see \"[Emoji cheat sheet](https://github.com/ikatyang/emoji-cheat-sheet).\"", "childParamsGroups": [] }, { @@ -47688,7 +47907,7 @@ { "verb": "delete", "requestPath": "/repos/{owner}/{repo}/labels/{name}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -47721,8 +47940,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/labels/NAME", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/labels/NAME
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/labels/NAME", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/labels/NAME
    " }, { "lang": "JavaScript", @@ -47757,7 +47976,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "bodyParameters": [], @@ -47766,7 +47985,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/languages", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -47790,8 +48009,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/languages", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/languages
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/languages", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/languages
    " }, { "lang": "JavaScript", @@ -47834,7 +48053,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/license", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -47858,8 +48077,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/license", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/license
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/license", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/license
    " }, { "lang": "JavaScript", @@ -47902,7 +48121,7 @@ { "verb": "post", "requestPath": "/repos/{owner}/{repo}/merges", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -47926,8 +48145,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/merges \\\n -d '{\"base\":\"base\",\"head\":\"head\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/merges \\\n  -d '{\"base\":\"base\",\"head\":\"head\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/merges \\\n -d '{\"base\":\"base\",\"head\":\"head\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/merges \\\n  -d '{\"base\":\"base\",\"head\":\"head\"}'
    " }, { "lang": "JavaScript", @@ -48050,20 +48269,12 @@ { "httpStatusCode": "404", "httpStatusMessage": "Not Found", - "description": "Missing base response", - "payload": "
    {\n  \"message\": \"Base does not exist\"\n}\n
    " - }, - { - "httpStatusCode": "404", - "httpStatusMessage": "Not Found", - "description": "Missing head response", - "payload": "
    {\n  \"message\": \"Head does not exist\"\n}\n
    " + "description": "Response when the base or head does not exist" }, { "httpStatusCode": "409", "httpStatusMessage": "Conflict", - "description": "Merge conflict response", - "payload": "
    {\n  \"message\": \"Merge Conflict\"\n}\n
    " + "description": "Response when there is a merge conflict" }, { "httpStatusCode": "422", @@ -48075,7 +48286,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/milestones", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -48165,8 +48376,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/milestones", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/milestones
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/milestones", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/milestones
    " }, { "lang": "JavaScript", @@ -48216,7 +48427,7 @@ { "verb": "post", "requestPath": "/repos/{owner}/{repo}/milestones", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -48240,8 +48451,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/milestones \\\n -d '{\"title\":\"title\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/milestones \\\n  -d '{\"title\":\"title\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/milestones \\\n -d '{\"title\":\"title\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/milestones \\\n  -d '{\"title\":\"title\"}'
    " }, { "lang": "JavaScript", @@ -48399,7 +48610,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/milestones/{milestone_number}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -48433,8 +48644,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/milestones/42", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/milestones/42
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/milestones/42", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/milestones/42
    " }, { "lang": "JavaScript", @@ -48484,7 +48695,7 @@ { "verb": "patch", "requestPath": "/repos/{owner}/{repo}/milestones/{milestone_number}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -48518,8 +48729,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/milestones/42 \\\n -d '{\"title\":\"title\"}'", - "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/milestones/42 \\\n  -d '{\"title\":\"title\"}'
    " + "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/milestones/42 \\\n -d '{\"title\":\"title\"}'", + "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/milestones/42 \\\n  -d '{\"title\":\"title\"}'
    " }, { "lang": "JavaScript", @@ -48664,7 +48875,7 @@ { "verb": "delete", "requestPath": "/repos/{owner}/{repo}/milestones/{milestone_number}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -48698,8 +48909,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/milestones/42", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/milestones/42
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/milestones/42", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/milestones/42
    " }, { "lang": "JavaScript", @@ -48734,7 +48945,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "404", @@ -48748,7 +48959,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/milestones/{milestone_number}/labels", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -48802,8 +49013,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/milestones/42/labels", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/milestones/42/labels
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/milestones/42/labels", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/milestones/42/labels
    " }, { "lang": "JavaScript", @@ -48848,7 +49059,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/notifications", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -48934,8 +49145,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/notifications", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/notifications
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/notifications", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/notifications
    " }, { "lang": "JavaScript", @@ -48980,7 +49191,7 @@ { "verb": "put", "requestPath": "/repos/{owner}/{repo}/notifications", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -49004,8 +49215,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/notifications \\\n -d '{\"last_read_at\":\"last_read_at\"}'", - "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/notifications \\\n  -d '{\"last_read_at\":\"last_read_at\"}'
    " + "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/notifications \\\n -d '{\"last_read_at\":\"last_read_at\"}'", + "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/notifications \\\n  -d '{\"last_read_at\":\"last_read_at\"}'
    " }, { "lang": "JavaScript", @@ -49079,7 +49290,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/pages", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -49103,8 +49314,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/pages", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/pages
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/pages", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/pages
    " }, { "lang": "JavaScript", @@ -49154,7 +49365,7 @@ { "verb": "post", "requestPath": "/repos/{owner}/{repo}/pages", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -49178,8 +49389,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.switcheroo-preview+json\" \\\n https://api.github.com/repos/octocat/hello-world/pages \\\n -d '{\"source\":{\"branch\":\"branch\",\"path\":\"path\"}}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.switcheroo-preview+json\" \\\n  https://api.github.com/repos/octocat/hello-world/pages \\\n  -d '{\"source\":{\"branch\":\"branch\",\"path\":\"path\"}}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.switcheroo-preview+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/pages \\\n -d '{\"source\":{\"branch\":\"branch\",\"path\":\"path\"}}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.switcheroo-preview+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/pages \\\n  -d '{\"source\":{\"branch\":\"branch\",\"path\":\"path\"}}'
    " }, { "lang": "JavaScript", @@ -49420,7 +49631,7 @@ { "verb": "put", "requestPath": "/repos/{owner}/{repo}/pages", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -49444,8 +49655,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/pages \\\n -d '{\"public\":true}'", - "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/pages \\\n  -d '{\"public\":true}'
    " + "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/pages \\\n -d '{\"public\":true}'", + "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/pages \\\n  -d '{\"public\":true}'
    " }, { "lang": "JavaScript", @@ -49550,7 +49761,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "400", @@ -49626,7 +49837,7 @@ { "verb": "delete", "requestPath": "/repos/{owner}/{repo}/pages", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -49650,8 +49861,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.switcheroo-preview+json\" \\\n https://api.github.com/repos/octocat/hello-world/pages", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.switcheroo-preview+json\" \\\n  https://api.github.com/repos/octocat/hello-world/pages
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.switcheroo-preview+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/pages", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.switcheroo-preview+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/pages
    " }, { "lang": "JavaScript", @@ -49693,7 +49904,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "404", @@ -49717,7 +49928,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/pages/builds", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -49761,8 +49972,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/pages/builds", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/pages/builds
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/pages/builds", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/pages/builds
    " }, { "lang": "JavaScript", @@ -49807,7 +50018,7 @@ { "verb": "post", "requestPath": "/repos/{owner}/{repo}/pages/builds", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -49831,8 +50042,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/pages/builds", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/pages/builds
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/pages/builds", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/pages/builds
    " }, { "lang": "JavaScript", @@ -49877,7 +50088,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/pages/builds/latest", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -49901,8 +50112,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/pages/builds/latest", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/pages/builds/latest
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/pages/builds/latest", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/pages/builds/latest
    " }, { "lang": "JavaScript", @@ -49947,7 +50158,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/pages/builds/{build_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -49980,8 +50191,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/pages/builds/42", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/pages/builds/42
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/pages/builds/42", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/pages/builds/42
    " }, { "lang": "JavaScript", @@ -50026,7 +50237,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/pre-receive-hooks", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -50065,13 +50276,43 @@ "default": 1 }, "descriptionHTML": "

    Page number of the results to fetch.

    " + }, + { + "name": "direction", + "description": "One of `asc` (ascending) or `desc` (descending).", + "in": "query", + "required": false, + "schema": { + "type": "string", + "enum": [ + "asc", + "desc" + ], + "default": "desc" + }, + "descriptionHTML": "

    One of asc (ascending) or desc (descending).

    " + }, + { + "name": "sort", + "in": "query", + "required": false, + "schema": { + "type": "string", + "enum": [ + "created", + "updated", + "name" + ], + "default": "created" + }, + "descriptionHTML": "" } ], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n https://api.github.com/repos/octocat/hello-world/pre-receive-hooks", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n  https://api.github.com/repos/octocat/hello-world/pre-receive-hooks
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/pre-receive-hooks", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/pre-receive-hooks
    " }, { "lang": "JavaScript", @@ -50123,7 +50364,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/pre-receive-hooks/{pre_receive_hook_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -50156,8 +50397,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n https://api.github.com/repos/octocat/hello-world/pre-receive-hooks/42", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n  https://api.github.com/repos/octocat/hello-world/pre-receive-hooks/42
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/pre-receive-hooks/42", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/pre-receive-hooks/42
    " }, { "lang": "JavaScript", @@ -50209,7 +50450,7 @@ { "verb": "patch", "requestPath": "/repos/{owner}/{repo}/pre-receive-hooks/{pre_receive_hook_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -50242,8 +50483,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n https://api.github.com/repos/octocat/hello-world/pre-receive-hooks/42 \\\n -d '{\"enforcement\":\"enforcement\"}'", - "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n  https://api.github.com/repos/octocat/hello-world/pre-receive-hooks/42 \\\n  -d '{\"enforcement\":\"enforcement\"}'
    " + "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/pre-receive-hooks/42 \\\n -d '{\"enforcement\":\"enforcement\"}'", + "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/pre-receive-hooks/42 \\\n  -d '{\"enforcement\":\"enforcement\"}'
    " }, { "lang": "JavaScript", @@ -50328,7 +50569,7 @@ { "verb": "delete", "requestPath": "/repos/{owner}/{repo}/pre-receive-hooks/{pre_receive_hook_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -50361,8 +50602,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n https://api.github.com/repos/octocat/hello-world/pre-receive-hooks/42", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n  https://api.github.com/repos/octocat/hello-world/pre-receive-hooks/42
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/pre-receive-hooks/42", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/pre-receive-hooks/42
    " }, { "lang": "JavaScript", @@ -50414,7 +50655,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/projects", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -50474,8 +50715,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n https://api.github.com/repos/octocat/hello-world/projects", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  https://api.github.com/repos/octocat/hello-world/projects
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/projects", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/projects
    " }, { "lang": "JavaScript", @@ -50550,7 +50791,7 @@ { "verb": "post", "requestPath": "/repos/{owner}/{repo}/projects", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -50574,8 +50815,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n https://api.github.com/repos/octocat/hello-world/projects \\\n -d '{\"name\":\"name\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  https://api.github.com/repos/octocat/hello-world/projects \\\n  -d '{\"name\":\"name\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/projects \\\n -d '{\"name\":\"name\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/projects \\\n  -d '{\"name\":\"name\"}'
    " }, { "lang": "JavaScript", @@ -50705,7 +50946,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/pulls", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -50816,8 +51057,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/pulls", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/pulls
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/pulls", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/pulls
    " }, { "lang": "JavaScript", @@ -50876,7 +51117,7 @@ { "verb": "post", "requestPath": "/repos/{owner}/{repo}/pulls", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -50900,8 +51141,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/pulls \\\n -d '{\"head\":\"head\",\"base\":\"base\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/pulls \\\n  -d '{\"head\":\"head\",\"base\":\"base\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/pulls \\\n -d '{\"head\":\"head\",\"base\":\"base\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/pulls \\\n  -d '{\"head\":\"head\",\"base\":\"base\"}'
    " }, { "lang": "JavaScript", @@ -51109,7 +51350,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/pulls/comments", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -51131,18 +51372,17 @@ }, { "name": "sort", - "description": "One of `created` (when the repository was starred) or `updated` (when it was last pushed to).", "in": "query", "required": false, "schema": { "type": "string", "enum": [ "created", - "updated" - ], - "default": "created" + "updated", + "created_at" + ] }, - "descriptionHTML": "

    One of created (when the repository was starred) or updated (when it was last pushed to).

    " + "descriptionHTML": "" }, { "name": "direction", @@ -51192,8 +51432,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/pulls/comments", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/pulls/comments
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/pulls/comments", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/pulls/comments
    " }, { "lang": "JavaScript", @@ -51251,7 +51491,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/pulls/comments/{comment_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -51285,8 +51525,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/pulls/comments/42", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/pulls/comments/42
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/pulls/comments/42", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/pulls/comments/42
    " }, { "lang": "JavaScript", @@ -51349,7 +51589,7 @@ { "verb": "patch", "requestPath": "/repos/{owner}/{repo}/pulls/comments/{comment_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -51383,8 +51623,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/pulls/comments/42 \\\n -d '{\"body\":\"body\"}'", - "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/pulls/comments/42 \\\n  -d '{\"body\":\"body\"}'
    " + "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/pulls/comments/42 \\\n -d '{\"body\":\"body\"}'", + "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/pulls/comments/42 \\\n  -d '{\"body\":\"body\"}'
    " }, { "lang": "JavaScript", @@ -51472,7 +51712,7 @@ { "verb": "delete", "requestPath": "/repos/{owner}/{repo}/pulls/comments/{comment_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -51506,8 +51746,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/pulls/comments/42", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/pulls/comments/42
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/pulls/comments/42", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/pulls/comments/42
    " }, { "lang": "JavaScript", @@ -51542,7 +51782,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "404", @@ -51556,7 +51796,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/pulls/comments/{comment_id}/reactions", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -51630,8 +51870,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n https://api.github.com/repos/octocat/hello-world/pulls/comments/42/reactions", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n  https://api.github.com/repos/octocat/hello-world/pulls/comments/42/reactions
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/pulls/comments/42/reactions", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/pulls/comments/42/reactions
    " }, { "lang": "JavaScript", @@ -51691,7 +51931,7 @@ { "verb": "post", "requestPath": "/repos/{owner}/{repo}/pulls/comments/{comment_id}/reactions", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -51725,8 +51965,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n https://api.github.com/repos/octocat/hello-world/pulls/comments/42/reactions \\\n -d '{\"content\":\"content\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n  https://api.github.com/repos/octocat/hello-world/pulls/comments/42/reactions \\\n  -d '{\"content\":\"content\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/pulls/comments/42/reactions \\\n -d '{\"content\":\"content\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/pulls/comments/42/reactions \\\n  -d '{\"content\":\"content\"}'
    " }, { "lang": "JavaScript", @@ -51848,7 +52088,7 @@ { "verb": "delete", "requestPath": "/repos/{owner}/{repo}/pulls/comments/{comment_id}/reactions/{reaction_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -51891,8 +52131,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n https://api.github.com/repos/octocat/hello-world/pulls/comments/42/reactions/42", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n  https://api.github.com/repos/octocat/hello-world/pulls/comments/42/reactions/42
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/pulls/comments/42/reactions/42", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/pulls/comments/42/reactions/42
    " }, { "lang": "JavaScript", @@ -51932,7 +52172,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "bodyParameters": [], @@ -51941,7 +52181,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/pulls/{pull_number}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -51974,8 +52214,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/pulls/42", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/pulls/42
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/pulls/42", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/pulls/42
    " }, { "lang": "JavaScript", @@ -52033,7 +52273,7 @@ { "verb": "patch", "requestPath": "/repos/{owner}/{repo}/pulls/{pull_number}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -52066,8 +52306,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/pulls/42 \\\n -d '{\"title\":\"title\"}'", - "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/pulls/42 \\\n  -d '{\"title\":\"title\"}'
    " + "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/pulls/42 \\\n -d '{\"title\":\"title\"}'", + "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/pulls/42 \\\n  -d '{\"title\":\"title\"}'
    " }, { "lang": "JavaScript", @@ -52242,7 +52482,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/pulls/{pull_number}/comments", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -52334,8 +52574,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/pulls/42/comments", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/pulls/42/comments
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/pulls/42/comments", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/pulls/42/comments
    " }, { "lang": "JavaScript", @@ -52393,7 +52633,7 @@ { "verb": "post", "requestPath": "/repos/{owner}/{repo}/pulls/{pull_number}/comments", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -52426,8 +52666,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/pulls/42/comments \\\n -d '{\"body\":\"body\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/pulls/42/comments \\\n  -d '{\"body\":\"body\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/pulls/42/comments \\\n -d '{\"body\":\"body\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/pulls/42/comments \\\n  -d '{\"body\":\"body\"}'
    " }, { "lang": "JavaScript", @@ -52709,7 +52949,7 @@ { "verb": "post", "requestPath": "/repos/{owner}/{repo}/pulls/{pull_number}/comments/{comment_id}/replies", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -52752,8 +52992,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/pulls/42/comments/42/replies \\\n -d '{\"body\":\"body\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/pulls/42/comments/42/replies \\\n  -d '{\"body\":\"body\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/pulls/42/comments/42/replies \\\n -d '{\"body\":\"body\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/pulls/42/comments/42/replies \\\n  -d '{\"body\":\"body\"}'
    " }, { "lang": "JavaScript", @@ -52840,7 +53080,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/pulls/{pull_number}/commits", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -52893,8 +53133,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/pulls/42/commits", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/pulls/42/commits
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/pulls/42/commits", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/pulls/42/commits
    " }, { "lang": "JavaScript", @@ -52937,7 +53177,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/pulls/{pull_number}/files", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -52990,8 +53230,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/pulls/42/files", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/pulls/42/files
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/pulls/42/files", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/pulls/42/files
    " }, { "lang": "JavaScript", @@ -53044,7 +53284,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/pulls/{pull_number}/merge", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -53077,8 +53317,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/pulls/42/merge", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/pulls/42/merge
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/pulls/42/merge", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/pulls/42/merge
    " }, { "lang": "JavaScript", @@ -53125,7 +53365,7 @@ { "verb": "put", "requestPath": "/repos/{owner}/{repo}/pulls/{pull_number}/merge", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -53158,8 +53398,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/pulls/42/merge \\\n -d '{\"commit_title\":\"commit_title\"}'", - "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/pulls/42/merge \\\n  -d '{\"commit_title\":\"commit_title\"}'
    " + "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/pulls/42/merge \\\n -d '{\"commit_title\":\"commit_title\"}'", + "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/pulls/42/merge \\\n  -d '{\"commit_title\":\"commit_title\"}'
    " }, { "lang": "JavaScript", @@ -53325,7 +53565,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/pulls/{pull_number}/requested_reviewers", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -53378,8 +53618,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/pulls/42/requested_reviewers", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/pulls/42/requested_reviewers
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/pulls/42/requested_reviewers", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/pulls/42/requested_reviewers
    " }, { "lang": "JavaScript", @@ -53424,7 +53664,7 @@ { "verb": "post", "requestPath": "/repos/{owner}/{repo}/pulls/{pull_number}/requested_reviewers", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -53457,8 +53697,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/pulls/42/requested_reviewers \\\n -d '{\"reviewers\":[\"reviewers\"]}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/pulls/42/requested_reviewers \\\n  -d '{\"reviewers\":[\"reviewers\"]}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/pulls/42/requested_reviewers \\\n -d '{\"reviewers\":[\"reviewers\"]}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/pulls/42/requested_reviewers \\\n  -d '{\"reviewers\":[\"reviewers\"]}'
    " }, { "lang": "JavaScript", @@ -53596,7 +53836,7 @@ { "verb": "delete", "requestPath": "/repos/{owner}/{repo}/pulls/{pull_number}/requested_reviewers", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -53629,8 +53869,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/pulls/42/requested_reviewers \\\n -d '{\"reviewers\":[\"reviewers\"]}'", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/pulls/42/requested_reviewers \\\n  -d '{\"reviewers\":[\"reviewers\"]}'
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/pulls/42/requested_reviewers \\\n -d '{\"reviewers\":[\"reviewers\"]}'", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/pulls/42/requested_reviewers \\\n  -d '{\"reviewers\":[\"reviewers\"]}'
    " }, { "lang": "JavaScript", @@ -53752,7 +53992,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/pulls/{pull_number}/reviews", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -53805,8 +54045,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/pulls/42/reviews", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/pulls/42/reviews
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/pulls/42/reviews", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/pulls/42/reviews
    " }, { "lang": "JavaScript", @@ -53851,7 +54091,7 @@ { "verb": "post", "requestPath": "/repos/{owner}/{repo}/pulls/{pull_number}/reviews", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -53884,8 +54124,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/pulls/42/reviews \\\n -d '{\"commit_id\":\"commit_id\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/pulls/42/reviews \\\n  -d '{\"commit_id\":\"commit_id\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/pulls/42/reviews \\\n -d '{\"commit_id\":\"commit_id\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/pulls/42/reviews \\\n  -d '{\"commit_id\":\"commit_id\"}'
    " }, { "lang": "JavaScript", @@ -54333,7 +54573,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -54376,8 +54616,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/pulls/42/reviews/42", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/pulls/42/reviews/42
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/pulls/42/reviews/42", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/pulls/42/reviews/42
    " }, { "lang": "JavaScript", @@ -54427,7 +54667,7 @@ { "verb": "put", "requestPath": "/repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -54470,8 +54710,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/pulls/42/reviews/42 \\\n -d '{\"body\":\"body\"}'", - "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/pulls/42/reviews/42 \\\n  -d '{\"body\":\"body\"}'
    " + "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/pulls/42/reviews/42 \\\n -d '{\"body\":\"body\"}'", + "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/pulls/42/reviews/42 \\\n  -d '{\"body\":\"body\"}'
    " }, { "lang": "JavaScript", @@ -54557,7 +54797,7 @@ { "verb": "delete", "requestPath": "/repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -54600,8 +54840,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/pulls/42/reviews/42", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/pulls/42/reviews/42
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/pulls/42/reviews/42", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/pulls/42/reviews/42
    " }, { "lang": "JavaScript", @@ -54656,7 +54896,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}/comments", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -54719,8 +54959,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/pulls/42/reviews/42/comments", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/pulls/42/reviews/42/comments
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/pulls/42/reviews/42/comments", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/pulls/42/reviews/42/comments
    " }, { "lang": "JavaScript", @@ -54770,7 +55010,7 @@ { "verb": "put", "requestPath": "/repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}/dismissals", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -54813,8 +55053,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/pulls/42/reviews/42/dismissals \\\n -d '{\"message\":\"message\"}'", - "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/pulls/42/reviews/42/dismissals \\\n  -d '{\"message\":\"message\"}'
    " + "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/pulls/42/reviews/42/dismissals \\\n -d '{\"message\":\"message\"}'", + "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/pulls/42/reviews/42/dismissals \\\n  -d '{\"message\":\"message\"}'
    " }, { "lang": "JavaScript", @@ -54920,7 +55160,7 @@ { "verb": "post", "requestPath": "/repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}/events", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -54963,8 +55203,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/pulls/42/reviews/42/events \\\n -d '{\"event\":\"event\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/pulls/42/reviews/42/events \\\n  -d '{\"event\":\"event\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/pulls/42/reviews/42/events \\\n -d '{\"event\":\"event\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/pulls/42/reviews/42/events \\\n  -d '{\"event\":\"event\"}'
    " }, { "lang": "JavaScript", @@ -55085,7 +55325,7 @@ { "verb": "put", "requestPath": "/repos/{owner}/{repo}/pulls/{pull_number}/update-branch", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -55118,8 +55358,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.lydian-preview+json\" \\\n https://api.github.com/repos/octocat/hello-world/pulls/42/update-branch \\\n -d '{\"expected_head_sha\":\"expected_head_sha\"}'", - "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.lydian-preview+json\" \\\n  https://api.github.com/repos/octocat/hello-world/pulls/42/update-branch \\\n  -d '{\"expected_head_sha\":\"expected_head_sha\"}'
    " + "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.lydian-preview+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/pulls/42/update-branch \\\n -d '{\"expected_head_sha\":\"expected_head_sha\"}'", + "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.lydian-preview+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/pulls/42/update-branch \\\n  -d '{\"expected_head_sha\":\"expected_head_sha\"}'
    " }, { "lang": "JavaScript", @@ -55218,7 +55458,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/readme", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -55252,8 +55492,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/readme", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/readme
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/readme", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/readme
    " }, { "lang": "JavaScript", @@ -55305,10 +55545,111 @@ } ] }, + { + "verb": "get", + "requestPath": "/repos/{owner}/{repo}/readme/{dir}", + "serverUrl": "http(s)://{hostname}/api/v3", + "parameters": [ + { + "name": "owner", + "in": "path", + "required": true, + "schema": { + "type": "string" + }, + "descriptionHTML": "" + }, + { + "name": "repo", + "in": "path", + "required": true, + "schema": { + "type": "string" + }, + "descriptionHTML": "" + }, + { + "name": "dir", + "description": "The alternate path to look for a README file", + "in": "path", + "required": true, + "schema": { + "type": "string" + }, + "x-multi-segment": true, + "descriptionHTML": "

    The alternate path to look for a README file

    " + }, + { + "name": "ref", + "description": "The name of the commit/branch/tag. Default: the repository’s default branch (usually `master`)", + "in": "query", + "required": false, + "schema": { + "type": "string" + }, + "descriptionHTML": "

    The name of the commit/branch/tag. Default: the repository’s default branch (usually master)

    " + } + ], + "x-codeSamples": [ + { + "lang": "Shell", + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/readme/DIR", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/readme/DIR
    " + }, + { + "lang": "JavaScript", + "source": "await octokit.request('GET /repos/{owner}/{repo}/readme/{dir}', {\n owner: 'octocat',\n repo: 'hello-world',\n dir: 'dir'\n})", + "html": "
    await octokit.request('GET /repos/{owner}/{repo}/readme/{dir}', {\n  owner: 'octocat',\n  repo: 'hello-world',\n  dir: 'dir'\n})\n
    " + } + ], + "summary": "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.", + "tags": [ + "repos" + ], + "operationId": "repos/get-readme-in-directory", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-server@2.21/rest/reference/repos#get-a-repository-directory-readme" + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "previews": [], + "category": "repos", + "subcategory": "contents" + }, + "slug": "get-a-repository-readme-for-a-directory", + "category": "repos", + "categoryLabel": "Repos", + "subcategory": "contents", + "subcategoryLabel": "Contents", + "notes": [], + "bodyParameters": [], + "descriptionHTML": "

    Gets the README from a repository directory.

    \n

    READMEs support custom media types for retrieving the raw content or rendered HTML.

    ", + "responses": [ + { + "httpStatusCode": "200", + "httpStatusMessage": "OK", + "description": "Default response", + "payload": "
    {\n  \"type\": \"file\",\n  \"encoding\": \"base64\",\n  \"size\": 5362,\n  \"name\": \"README.md\",\n  \"path\": \"README.md\",\n  \"content\": \"encoded content ...\",\n  \"sha\": \"3d21ec53a331a6f037a91c368710b99387d012c1\",\n  \"url\": \"https://api.github.com/repos/octokit/octokit.rb/contents/README.md\",\n  \"git_url\": \"https://api.github.com/repos/octokit/octokit.rb/git/blobs/3d21ec53a331a6f037a91c368710b99387d012c1\",\n  \"html_url\": \"https://github.com/octokit/octokit.rb/blob/master/README.md\",\n  \"download_url\": \"https://raw.githubusercontent.com/octokit/octokit.rb/master/README.md\",\n  \"_links\": {\n    \"git\": \"https://api.github.com/repos/octokit/octokit.rb/git/blobs/3d21ec53a331a6f037a91c368710b99387d012c1\",\n    \"self\": \"https://api.github.com/repos/octokit/octokit.rb/contents/README.md\",\n    \"html\": \"https://github.com/octokit/octokit.rb/blob/master/README.md\"\n  }\n}\n
    " + }, + { + "httpStatusCode": "404", + "httpStatusMessage": "Not Found", + "description": "Resource not found" + }, + { + "httpStatusCode": "422", + "httpStatusMessage": "Unprocessable Entity", + "description": "Validation failed" + } + ] + }, { "verb": "get", "requestPath": "/repos/{owner}/{repo}/releases", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -55352,8 +55693,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/releases", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/releases
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/releases", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/releases
    " }, { "lang": "JavaScript", @@ -55403,7 +55744,7 @@ { "verb": "post", "requestPath": "/repos/{owner}/{repo}/releases", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -55427,8 +55768,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/releases \\\n -d '{\"tag_name\":\"tag_name\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/releases \\\n  -d '{\"tag_name\":\"tag_name\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/releases \\\n -d '{\"tag_name\":\"tag_name\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/releases \\\n  -d '{\"tag_name\":\"tag_name\"}'
    " }, { "lang": "JavaScript", @@ -55614,7 +55955,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/releases/assets/{asset_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -55648,8 +55989,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/releases/assets/42", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/releases/assets/42
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/releases/assets/42", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/releases/assets/42
    " }, { "lang": "JavaScript", @@ -55709,7 +56050,7 @@ { "verb": "patch", "requestPath": "/repos/{owner}/{repo}/releases/assets/{asset_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -55743,8 +56084,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/releases/assets/42 \\\n -d '{\"name\":\"name\"}'", - "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/releases/assets/42 \\\n  -d '{\"name\":\"name\"}'
    " + "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/releases/assets/42 \\\n -d '{\"name\":\"name\"}'", + "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/releases/assets/42 \\\n  -d '{\"name\":\"name\"}'
    " }, { "lang": "JavaScript", @@ -55859,7 +56200,7 @@ { "verb": "delete", "requestPath": "/repos/{owner}/{repo}/releases/assets/{asset_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -55893,8 +56234,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/releases/assets/42", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/releases/assets/42
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/releases/assets/42", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/releases/assets/42
    " }, { "lang": "JavaScript", @@ -55929,7 +56270,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "bodyParameters": [], @@ -55938,7 +56279,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/releases/latest", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -55962,8 +56303,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/releases/latest", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/releases/latest
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/releases/latest", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/releases/latest
    " }, { "lang": "JavaScript", @@ -56008,7 +56349,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/releases/tags/{tag}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -56030,21 +56371,21 @@ }, { "name": "tag", - "description": "tag+ parameter", + "description": "tag parameter", "in": "path", "required": true, "schema": { "type": "string" }, "x-multi-segment": true, - "descriptionHTML": "

    tag+ parameter

    " + "descriptionHTML": "

    tag parameter

    " } ], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/releases/tags/TAG", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/releases/tags/TAG
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/releases/tags/TAG", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/releases/tags/TAG
    " }, { "lang": "JavaScript", @@ -56094,7 +56435,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/releases/{release_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -56128,8 +56469,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/releases/42", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/releases/42
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/releases/42", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/releases/42
    " }, { "lang": "JavaScript", @@ -56179,7 +56520,7 @@ { "verb": "patch", "requestPath": "/repos/{owner}/{repo}/releases/{release_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -56213,8 +56554,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/releases/42 \\\n -d '{\"tag_name\":\"tag_name\"}'", - "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/releases/42 \\\n  -d '{\"tag_name\":\"tag_name\"}'
    " + "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/releases/42 \\\n -d '{\"tag_name\":\"tag_name\"}'", + "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/releases/42 \\\n  -d '{\"tag_name\":\"tag_name\"}'
    " }, { "lang": "JavaScript", @@ -56387,7 +56728,7 @@ { "verb": "delete", "requestPath": "/repos/{owner}/{repo}/releases/{release_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -56421,8 +56762,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/releases/42", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/releases/42
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/releases/42", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/releases/42
    " }, { "lang": "JavaScript", @@ -56457,7 +56798,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "bodyParameters": [], @@ -56466,7 +56807,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/releases/{release_id}/assets", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -56520,8 +56861,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/releases/42/assets", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/releases/42/assets
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/releases/42/assets", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/releases/42/assets
    " }, { "lang": "JavaScript", @@ -56566,7 +56907,7 @@ { "verb": "post", "requestPath": "/repos/{owner}/{repo}/releases/{release_id}/assets", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -56616,8 +56957,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/releases/42/assets", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/releases/42/assets
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/releases/42/assets", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/releases/42/assets
    " }, { "lang": "JavaScript", @@ -56683,7 +57024,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/stargazers", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -56727,8 +57068,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/stargazers", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/stargazers
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/stargazers", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/stargazers
    " }, { "lang": "JavaScript", @@ -56778,7 +57119,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/stats/code_frequency", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -56802,8 +57143,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/stats/code_frequency", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/stats/code_frequency
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/stats/code_frequency", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/stats/code_frequency
    " }, { "lang": "JavaScript", @@ -56848,7 +57189,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/stats/commit_activity", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -56872,8 +57213,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/stats/commit_activity", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/stats/commit_activity
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/stats/commit_activity", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/stats/commit_activity
    " }, { "lang": "JavaScript", @@ -56918,7 +57259,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/stats/contributors", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -56942,8 +57283,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/stats/contributors", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/stats/contributors
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/stats/contributors", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/stats/contributors
    " }, { "lang": "JavaScript", @@ -56988,7 +57329,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/stats/participation", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -57012,8 +57353,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/stats/participation", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/stats/participation
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/stats/participation", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/stats/participation
    " }, { "lang": "JavaScript", @@ -57063,7 +57404,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/stats/punch_card", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -57087,8 +57428,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/stats/punch_card", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/stats/punch_card
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/stats/punch_card", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/stats/punch_card
    " }, { "lang": "JavaScript", @@ -57133,7 +57474,7 @@ { "verb": "post", "requestPath": "/repos/{owner}/{repo}/statuses/{sha}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -57167,8 +57508,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/statuses/SHA \\\n -d '{\"state\":\"state\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/statuses/SHA \\\n  -d '{\"state\":\"state\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/statuses/SHA \\\n -d '{\"state\":\"state\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/statuses/SHA \\\n  -d '{\"state\":\"state\"}'
    " }, { "lang": "JavaScript", @@ -57320,7 +57661,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/subscribers", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -57364,8 +57705,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/subscribers", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/subscribers
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/subscribers", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/subscribers
    " }, { "lang": "JavaScript", @@ -57410,7 +57751,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/subscription", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -57434,8 +57775,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/subscription", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/subscription
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/subscription", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/subscription
    " }, { "lang": "JavaScript", @@ -57490,7 +57831,7 @@ { "verb": "put", "requestPath": "/repos/{owner}/{repo}/subscription", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -57514,8 +57855,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/subscription \\\n -d '{\"subscribed\":true}'", - "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/subscription \\\n  -d '{\"subscribed\":true}'
    " + "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/subscription \\\n -d '{\"subscribed\":true}'", + "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/subscription \\\n  -d '{\"subscribed\":true}'
    " }, { "lang": "JavaScript", @@ -57608,7 +57949,7 @@ { "verb": "delete", "requestPath": "/repos/{owner}/{repo}/subscription", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -57632,8 +57973,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/subscription", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/subscription
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/subscription", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/subscription
    " }, { "lang": "JavaScript", @@ -57668,7 +58009,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "bodyParameters": [], @@ -57677,7 +58018,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/tags", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -57721,8 +58062,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/tags", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/tags
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/tags", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/tags
    " }, { "lang": "JavaScript", @@ -57765,7 +58106,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/tarball/{ref}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -57798,8 +58139,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/tarball/REF", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/tarball/REF
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/tarball/REF", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/tarball/REF
    " }, { "lang": "JavaScript", @@ -57843,7 +58184,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/teams", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -57887,8 +58228,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/teams", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/teams
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/teams", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/teams
    " }, { "lang": "JavaScript", @@ -57931,7 +58272,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/topics", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -57950,13 +58291,33 @@ "type": "string" }, "descriptionHTML": "" + }, + { + "name": "page", + "description": "Page number of the results to fetch.", + "in": "query", + "schema": { + "type": "integer", + "default": 1 + }, + "descriptionHTML": "

    Page number of the results to fetch.

    " + }, + { + "name": "per_page", + "description": "Results per page (max 100).", + "in": "query", + "schema": { + "type": "integer", + "default": 30 + }, + "descriptionHTML": "

    Results per page (max 100).

    " } ], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.mercy-preview+json\" \\\n https://api.github.com/repos/octocat/hello-world/topics", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.mercy-preview+json\" \\\n  https://api.github.com/repos/octocat/hello-world/topics
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.mercy-preview+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/topics", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.mercy-preview+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/topics
    " }, { "lang": "JavaScript", @@ -58016,7 +58377,7 @@ { "verb": "put", "requestPath": "/repos/{owner}/{repo}/topics", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -58040,8 +58401,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.mercy-preview+json\" \\\n https://api.github.com/repos/octocat/hello-world/topics \\\n -d '{\"names\":[\"names\"]}'", - "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.mercy-preview+json\" \\\n  https://api.github.com/repos/octocat/hello-world/topics \\\n  -d '{\"names\":[\"names\"]}'
    " + "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.mercy-preview+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/topics \\\n -d '{\"names\":[\"names\"]}'", + "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.mercy-preview+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/topics \\\n  -d '{\"names\":[\"names\"]}'
    " }, { "lang": "JavaScript", @@ -58153,7 +58514,7 @@ { "verb": "post", "requestPath": "/repos/{owner}/{repo}/transfer", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -58177,8 +58538,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/transfer \\\n -d '{\"new_owner\":\"new_owner\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/transfer \\\n  -d '{\"new_owner\":\"new_owner\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/transfer \\\n -d '{\"new_owner\":\"new_owner\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/transfer \\\n  -d '{\"new_owner\":\"new_owner\"}'
    " }, { "lang": "JavaScript", @@ -58285,7 +58646,7 @@ { "verb": "put", "requestPath": "/repos/{owner}/{repo}/vulnerability-alerts", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -58309,8 +58670,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.dorian-preview+json\" \\\n https://api.github.com/repos/octocat/hello-world/vulnerability-alerts", - "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.dorian-preview+json\" \\\n  https://api.github.com/repos/octocat/hello-world/vulnerability-alerts
    " + "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.dorian-preview+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/vulnerability-alerts", + "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.dorian-preview+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/vulnerability-alerts
    " }, { "lang": "JavaScript", @@ -58350,7 +58711,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "bodyParameters": [], @@ -58359,7 +58720,7 @@ { "verb": "delete", "requestPath": "/repos/{owner}/{repo}/vulnerability-alerts", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -58383,8 +58744,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.dorian-preview+json\" \\\n https://api.github.com/repos/octocat/hello-world/vulnerability-alerts", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.dorian-preview+json\" \\\n  https://api.github.com/repos/octocat/hello-world/vulnerability-alerts
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.dorian-preview+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/vulnerability-alerts", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.dorian-preview+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/vulnerability-alerts
    " }, { "lang": "JavaScript", @@ -58424,7 +58785,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "bodyParameters": [], @@ -58433,7 +58794,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/zipball/{ref}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -58466,8 +58827,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/zipball/REF", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/zipball/REF
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/zipball/REF", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/zipball/REF
    " }, { "lang": "JavaScript", @@ -58511,7 +58872,7 @@ { "verb": "post", "requestPath": "/repos/{template_owner}/{template_repo}/generate", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "template_owner", @@ -58535,8 +58896,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.baptiste-preview+json\" \\\n https://api.github.com/repos/TEMPLATE_OWNER/TEMPLATE_REPO/generate \\\n -d '{\"name\":\"name\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.baptiste-preview+json\" \\\n  https://api.github.com/repos/TEMPLATE_OWNER/TEMPLATE_REPO/generate \\\n  -d '{\"name\":\"name\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.baptiste-preview+json\" \\\n http(s)://{hostname}/api/v3/repos/TEMPLATE_OWNER/TEMPLATE_REPO/generate \\\n -d '{\"name\":\"name\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.baptiste-preview+json\" \\\n  http(s)://{hostname}/api/v3/repos/TEMPLATE_OWNER/TEMPLATE_REPO/generate \\\n  -d '{\"name\":\"name\"}'
    " }, { "lang": "JavaScript", @@ -58545,7 +58906,7 @@ } ], "summary": "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", + "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", "tags": [ "repos" ], @@ -58640,7 +59001,7 @@ "category": "repos", "categoryLabel": "Repos", "notes": [], - "descriptionHTML": "

    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 endpoint and check that the is_template key is true.

    \n

    OAuth scope requirements

    \n

    When using OAuth, 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
    ", + "descriptionHTML": "

    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 endpoint and check that the is_template key is true.

    \n

    OAuth scope requirements

    \n

    When using OAuth, 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
    ", "bodyParameters": [ { "type": "string", @@ -58702,7 +59063,7 @@ { "verb": "get", "requestPath": "/repositories", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "since", @@ -58716,7 +59077,7 @@ }, { "name": "visibility", - "description": "Specifies the types of repositories to return. Can be one of `all` or `public`. Default: `public`.", + "description": "Specifies the types of repositories to return. Can be one of `all` or `public`. Default: `public`. Note: For GitHub Enterprise Server and GitHub AE, this endpoint will only list repositories available to all users on the enterprise.", "in": "query", "required": false, "schema": { @@ -58728,14 +59089,14 @@ "public" ] }, - "descriptionHTML": "

    Specifies the types of repositories to return. Can be one of all or public. Default: public.

    " + "descriptionHTML": "

    Specifies the types of repositories to return. Can be one of all or public. Default: public. Note: For GitHub Enterprise Server and GitHub AE, this endpoint will only list repositories available to all users on the enterprise.

    " } ], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repositories", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repositories
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repositories", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repositories
    " }, { "lang": "JavaScript", @@ -58744,7 +59105,7 @@ } ], "summary": "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.", + "description": "Lists all public repositories in the order that they were created.\n\nNotes:\n- For GitHub Enterprise Server and GitHub AE, 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.", "tags": [ "repos" ], @@ -58765,7 +59126,7 @@ "categoryLabel": "Repos", "notes": [], "bodyParameters": [], - "descriptionHTML": "

    Lists all public repositories in the order that they were created.

    \n

    Note: Pagination is powered exclusively by the since parameter. Use the Link header to get the URL for the next page of repositories.

    ", + "descriptionHTML": "

    Lists all public repositories in the order that they were created.

    \n

    Notes:

    \n
      \n
    • For GitHub Enterprise Server and GitHub AE, 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 to get the URL for the next page of repositories.
    • \n
    ", "responses": [ { "httpStatusCode": "200", @@ -58788,7 +59149,7 @@ { "verb": "get", "requestPath": "/search/code", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "q", @@ -58852,8 +59213,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/search/code", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/search/code
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/search/code", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/search/code
    " }, { "lang": "JavaScript", @@ -58916,7 +59277,7 @@ { "verb": "get", "requestPath": "/search/commits", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "q", @@ -58981,8 +59342,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.cloak-preview+json\" \\\n https://api.github.com/search/commits", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.cloak-preview+json\" \\\n  https://api.github.com/search/commits
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.cloak-preview+json\" \\\n http(s)://{hostname}/api/v3/search/commits", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.cloak-preview+json\" \\\n  http(s)://{hostname}/api/v3/search/commits
    " }, { "lang": "JavaScript", @@ -59042,7 +59403,7 @@ { "verb": "get", "requestPath": "/search/issues", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "q", @@ -59116,8 +59477,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/search/issues", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/search/issues
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/search/issues", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/search/issues
    " }, { "lang": "JavaScript", @@ -59180,7 +59541,7 @@ { "verb": "get", "requestPath": "/search/labels", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "repository_id", @@ -59235,8 +59596,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/search/labels", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/search/labels
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/search/labels", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/search/labels
    " }, { "lang": "JavaScript", @@ -59299,7 +59660,7 @@ { "verb": "get", "requestPath": "/search/repositories", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "q", @@ -59366,8 +59727,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/search/repositories", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/search/repositories
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/search/repositories", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/search/repositories
    " }, { "lang": "JavaScript", @@ -59432,7 +59793,7 @@ { "verb": "get", "requestPath": "/search/topics", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "q", @@ -59448,8 +59809,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.mercy-preview+json\" \\\n https://api.github.com/search/topics", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.mercy-preview+json\" \\\n  https://api.github.com/search/topics
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.mercy-preview+json\" \\\n http(s)://{hostname}/api/v3/search/topics", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.mercy-preview+json\" \\\n  http(s)://{hostname}/api/v3/search/topics
    " }, { "lang": "JavaScript", @@ -59509,7 +59870,7 @@ { "verb": "get", "requestPath": "/search/users", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "q", @@ -59575,8 +59936,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/search/users", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/search/users
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/search/users", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/search/users
    " }, { "lang": "JavaScript", @@ -59634,13 +59995,13 @@ { "verb": "get", "requestPath": "/setup/api/configcheck", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/setup/api/configcheck", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/setup/api/configcheck
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/setup/api/configcheck", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/setup/api/configcheck
    " }, { "lang": "JavaScript", @@ -59685,13 +60046,13 @@ { "verb": "post", "requestPath": "/setup/api/configure", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/setup/api/configure", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/setup/api/configure
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/setup/api/configure", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/setup/api/configure
    " }, { "lang": "JavaScript", @@ -59735,13 +60096,13 @@ { "verb": "get", "requestPath": "/setup/api/maintenance", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/setup/api/maintenance", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/setup/api/maintenance
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/setup/api/maintenance", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/setup/api/maintenance
    " }, { "lang": "JavaScript", @@ -59786,13 +60147,13 @@ { "verb": "post", "requestPath": "/setup/api/maintenance", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/setup/api/maintenance \\\n -d '{\"maintenance\":\"maintenance\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/setup/api/maintenance \\\n  -d '{\"maintenance\":\"maintenance\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/setup/api/maintenance \\\n -d '{\"maintenance\":\"maintenance\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/setup/api/maintenance \\\n  -d '{\"maintenance\":\"maintenance\"}'
    " }, { "lang": "JavaScript", @@ -59870,13 +60231,13 @@ { "verb": "get", "requestPath": "/setup/api/settings", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/setup/api/settings", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/setup/api/settings
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/setup/api/settings", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/setup/api/settings
    " }, { "lang": "JavaScript", @@ -59921,13 +60282,13 @@ { "verb": "put", "requestPath": "/setup/api/settings", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/setup/api/settings \\\n -d '{\"settings\":\"settings\"}'", - "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/setup/api/settings \\\n  -d '{\"settings\":\"settings\"}'
    " + "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/setup/api/settings \\\n -d '{\"settings\":\"settings\"}'", + "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/setup/api/settings \\\n  -d '{\"settings\":\"settings\"}'
    " }, { "lang": "JavaScript", @@ -59985,7 +60346,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "descriptionHTML": "

    For a list of the available settings, see the Get settings endpoint.

    ", @@ -60004,13 +60365,13 @@ { "verb": "get", "requestPath": "/setup/api/settings/authorized-keys", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/setup/api/settings/authorized-keys", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/setup/api/settings/authorized-keys
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/setup/api/settings/authorized-keys", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/setup/api/settings/authorized-keys
    " }, { "lang": "JavaScript", @@ -60055,13 +60416,13 @@ { "verb": "post", "requestPath": "/setup/api/settings/authorized-keys", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/setup/api/settings/authorized-keys \\\n -d '{\"authorized_key\":\"authorized_key\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/setup/api/settings/authorized-keys \\\n  -d '{\"authorized_key\":\"authorized_key\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/setup/api/settings/authorized-keys \\\n -d '{\"authorized_key\":\"authorized_key\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/setup/api/settings/authorized-keys \\\n  -d '{\"authorized_key\":\"authorized_key\"}'
    " }, { "lang": "JavaScript", @@ -60139,13 +60500,13 @@ { "verb": "delete", "requestPath": "/setup/api/settings/authorized-keys", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/setup/api/settings/authorized-keys \\\n -d '{\"authorized_key\":\"authorized_key\"}'", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/setup/api/settings/authorized-keys \\\n  -d '{\"authorized_key\":\"authorized_key\"}'
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/setup/api/settings/authorized-keys \\\n -d '{\"authorized_key\":\"authorized_key\"}'", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/setup/api/settings/authorized-keys \\\n  -d '{\"authorized_key\":\"authorized_key\"}'
    " }, { "lang": "JavaScript", @@ -60223,13 +60584,13 @@ { "verb": "post", "requestPath": "/setup/api/start", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/setup/api/start \\\n -d '{\"license\":\"license\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/setup/api/start \\\n  -d '{\"license\":\"license\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/setup/api/start \\\n -d '{\"license\":\"license\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/setup/api/start \\\n  -d '{\"license\":\"license\"}'
    " }, { "lang": "JavaScript", @@ -60342,13 +60703,13 @@ { "verb": "post", "requestPath": "/setup/api/upgrade", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/setup/api/upgrade \\\n -d '{\"license\":\"license\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/setup/api/upgrade \\\n  -d '{\"license\":\"license\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/setup/api/upgrade \\\n -d '{\"license\":\"license\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/setup/api/upgrade \\\n  -d '{\"license\":\"license\"}'
    " }, { "lang": "JavaScript", @@ -60422,7 +60783,7 @@ { "verb": "get", "requestPath": "/teams/{team_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "team_id", @@ -60437,8 +60798,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/teams/42", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/teams/42
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/teams/42", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/teams/42
    " }, { "lang": "JavaScript", @@ -60489,7 +60850,7 @@ { "verb": "patch", "requestPath": "/teams/{team_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "team_id", @@ -60504,8 +60865,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/teams/42 \\\n -d '{\"name\":\"name\"}'", - "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/teams/42 \\\n  -d '{\"name\":\"name\"}'
    " + "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/teams/42 \\\n -d '{\"name\":\"name\"}'", + "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/teams/42 \\\n  -d '{\"name\":\"name\"}'
    " }, { "lang": "JavaScript", @@ -60698,7 +61059,7 @@ { "verb": "delete", "requestPath": "/teams/{team_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "team_id", @@ -60713,8 +61074,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/teams/42", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/teams/42
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/teams/42", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/teams/42
    " }, { "lang": "JavaScript", @@ -60750,7 +61111,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "404", @@ -60769,7 +61130,7 @@ { "verb": "get", "requestPath": "/teams/{team_id}/discussions", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "team_id", @@ -60819,8 +61180,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/teams/42/discussions", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/teams/42/discussions
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/teams/42/discussions", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/teams/42/discussions
    " }, { "lang": "JavaScript", @@ -60875,7 +61236,7 @@ { "verb": "post", "requestPath": "/teams/{team_id}/discussions", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "team_id", @@ -60890,8 +61251,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/teams/42/discussions \\\n -d '{\"title\":\"title\",\"body\":\"body\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/teams/42/discussions \\\n  -d '{\"title\":\"title\",\"body\":\"body\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/teams/42/discussions \\\n -d '{\"title\":\"title\",\"body\":\"body\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/teams/42/discussions \\\n  -d '{\"title\":\"title\",\"body\":\"body\"}'
    " }, { "lang": "JavaScript", @@ -61023,7 +61384,7 @@ { "verb": "get", "requestPath": "/teams/{team_id}/discussions/{discussion_number}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "team_id", @@ -61047,8 +61408,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/teams/42/discussions/42", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/teams/42/discussions/42
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/teams/42/discussions/42", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/teams/42/discussions/42
    " }, { "lang": "JavaScript", @@ -61103,7 +61464,7 @@ { "verb": "patch", "requestPath": "/teams/{team_id}/discussions/{discussion_number}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "team_id", @@ -61127,8 +61488,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/teams/42/discussions/42 \\\n -d '{\"title\":\"title\"}'", - "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/teams/42/discussions/42 \\\n  -d '{\"title\":\"title\"}'
    " + "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/teams/42/discussions/42 \\\n -d '{\"title\":\"title\"}'", + "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/teams/42/discussions/42 \\\n  -d '{\"title\":\"title\"}'
    " }, { "lang": "JavaScript", @@ -61234,7 +61595,7 @@ { "verb": "delete", "requestPath": "/teams/{team_id}/discussions/{discussion_number}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "team_id", @@ -61258,8 +61619,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/teams/42/discussions/42", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/teams/42/discussions/42
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/teams/42/discussions/42", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/teams/42/discussions/42
    " }, { "lang": "JavaScript", @@ -61297,7 +61658,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "bodyParameters": [], @@ -61306,7 +61667,7 @@ { "verb": "get", "requestPath": "/teams/{team_id}/discussions/{discussion_number}/comments", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "team_id", @@ -61365,8 +61726,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/teams/42/discussions/42/comments", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/teams/42/discussions/42/comments
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/teams/42/discussions/42/comments", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/teams/42/discussions/42/comments
    " }, { "lang": "JavaScript", @@ -61421,7 +61782,7 @@ { "verb": "post", "requestPath": "/teams/{team_id}/discussions/{discussion_number}/comments", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "team_id", @@ -61445,8 +61806,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/teams/42/discussions/42/comments \\\n -d '{\"body\":\"body\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/teams/42/discussions/42/comments \\\n  -d '{\"body\":\"body\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/teams/42/discussions/42/comments \\\n -d '{\"body\":\"body\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/teams/42/discussions/42/comments \\\n  -d '{\"body\":\"body\"}'
    " }, { "lang": "JavaScript", @@ -61538,7 +61899,7 @@ { "verb": "get", "requestPath": "/teams/{team_id}/discussions/{discussion_number}/comments/{comment_number}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "team_id", @@ -61571,8 +61932,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/teams/42/discussions/42/comments/42", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/teams/42/discussions/42/comments/42
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/teams/42/discussions/42/comments/42", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/teams/42/discussions/42/comments/42
    " }, { "lang": "JavaScript", @@ -61627,7 +61988,7 @@ { "verb": "patch", "requestPath": "/teams/{team_id}/discussions/{discussion_number}/comments/{comment_number}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "team_id", @@ -61660,8 +62021,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/teams/42/discussions/42/comments/42 \\\n -d '{\"body\":\"body\"}'", - "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/teams/42/discussions/42/comments/42 \\\n  -d '{\"body\":\"body\"}'
    " + "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/teams/42/discussions/42/comments/42 \\\n -d '{\"body\":\"body\"}'", + "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/teams/42/discussions/42/comments/42 \\\n  -d '{\"body\":\"body\"}'
    " }, { "lang": "JavaScript", @@ -61752,7 +62113,7 @@ { "verb": "delete", "requestPath": "/teams/{team_id}/discussions/{discussion_number}/comments/{comment_number}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "team_id", @@ -61785,8 +62146,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/teams/42/discussions/42/comments/42", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/teams/42/discussions/42/comments/42
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/teams/42/discussions/42/comments/42", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/teams/42/discussions/42/comments/42
    " }, { "lang": "JavaScript", @@ -61824,7 +62185,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "bodyParameters": [], @@ -61833,7 +62194,7 @@ { "verb": "get", "requestPath": "/teams/{team_id}/discussions/{discussion_number}/comments/{comment_number}/reactions", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "team_id", @@ -61906,8 +62267,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n https://api.github.com/teams/42/discussions/42/comments/42/reactions", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n  https://api.github.com/teams/42/discussions/42/comments/42/reactions
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n http(s)://{hostname}/api/v3/teams/42/discussions/42/comments/42/reactions", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n  http(s)://{hostname}/api/v3/teams/42/discussions/42/comments/42/reactions
    " }, { "lang": "JavaScript", @@ -61960,7 +62321,7 @@ { "verb": "post", "requestPath": "/teams/{team_id}/discussions/{discussion_number}/comments/{comment_number}/reactions", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "team_id", @@ -61993,8 +62354,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n https://api.github.com/teams/42/discussions/42/comments/42/reactions \\\n -d '{\"content\":\"content\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n  https://api.github.com/teams/42/discussions/42/comments/42/reactions \\\n  -d '{\"content\":\"content\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n http(s)://{hostname}/api/v3/teams/42/discussions/42/comments/42/reactions \\\n -d '{\"content\":\"content\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n  http(s)://{hostname}/api/v3/teams/42/discussions/42/comments/42/reactions \\\n  -d '{\"content\":\"content\"}'
    " }, { "lang": "JavaScript", @@ -62103,7 +62464,7 @@ { "verb": "get", "requestPath": "/teams/{team_id}/discussions/{discussion_number}/reactions", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "team_id", @@ -62167,8 +62528,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n https://api.github.com/teams/42/discussions/42/reactions", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n  https://api.github.com/teams/42/discussions/42/reactions
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n http(s)://{hostname}/api/v3/teams/42/discussions/42/reactions", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n  http(s)://{hostname}/api/v3/teams/42/discussions/42/reactions
    " }, { "lang": "JavaScript", @@ -62221,7 +62582,7 @@ { "verb": "post", "requestPath": "/teams/{team_id}/discussions/{discussion_number}/reactions", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "team_id", @@ -62245,8 +62606,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n https://api.github.com/teams/42/discussions/42/reactions \\\n -d '{\"content\":\"content\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n  https://api.github.com/teams/42/discussions/42/reactions \\\n  -d '{\"content\":\"content\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n http(s)://{hostname}/api/v3/teams/42/discussions/42/reactions \\\n -d '{\"content\":\"content\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n  http(s)://{hostname}/api/v3/teams/42/discussions/42/reactions \\\n  -d '{\"content\":\"content\"}'
    " }, { "lang": "JavaScript", @@ -62355,7 +62716,7 @@ { "verb": "get", "requestPath": "/teams/{team_id}/members", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "team_id", @@ -62406,8 +62767,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/teams/42/members", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/teams/42/members
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/teams/42/members", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/teams/42/members
    " }, { "lang": "JavaScript", @@ -62460,7 +62821,7 @@ { "verb": "get", "requestPath": "/teams/{team_id}/members/{username}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "team_id", @@ -62484,8 +62845,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/teams/42/members/USERNAME", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/teams/42/members/USERNAME
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/teams/42/members/USERNAME", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/teams/42/members/USERNAME
    " }, { "lang": "JavaScript", @@ -62537,7 +62898,7 @@ { "verb": "put", "requestPath": "/teams/{team_id}/members/{username}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "team_id", @@ -62561,8 +62922,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/teams/42/members/USERNAME", - "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/teams/42/members/USERNAME
    " + "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/teams/42/members/USERNAME", + "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/teams/42/members/USERNAME
    " }, { "lang": "JavaScript", @@ -62596,13 +62957,11 @@ "subcategory": "members", "subcategoryLabel": "Members", "notes": [], - "bodyParameters": [], - "descriptionHTML": "

    The \"Add team member\" endpoint (described below) is deprecated.

    \n

    We recommend using the Add or update team membership for a user endpoint instead. It allows you to invite new organization members to your teams.

    \n

    Team synchronization is available for organizations using GitHub Enterprise Cloud. For more information, see GitHub's products in the GitHub Help documentation.

    \n

    To 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

    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.\"

    \n

    Note that you'll need to set Content-Length to zero when calling out to this endpoint. For more information, see \"HTTP verbs.\"

    ", "responses": [ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "403", @@ -62617,21 +62976,16 @@ { "httpStatusCode": "422", "httpStatusMessage": "Unprocessable Entity", - "description": "Response if you attempt to add an organization to a team", - "payload": "
    {\n  \"message\": \"Cannot add an organization as a member.\",\n  \"errors\": [\n    {\n      \"code\": \"org\",\n      \"field\": \"user\",\n      \"resource\": \"TeamMember\"\n    }\n  ]\n}\n
    " - }, - { - "httpStatusCode": "422", - "httpStatusMessage": "Unprocessable Entity", - "description": "Response if you attempt to add a user to a team when they are not a member of at least one other team in the same organization", - "payload": "
    {\n  \"message\": \"User isn't a member of this organization. Please invite them first.\",\n  \"errors\": [\n    {\n      \"code\": \"unaffiliated\",\n      \"field\": \"user\",\n      \"resource\": \"TeamMember\"\n    }\n  ]\n}\n
    " + "description": "Response if you attempt to add an organization to a team or you attempt to add a user to a team when they are not a member of at least one other team in the same organization" } - ] + ], + "bodyParameters": [], + "descriptionHTML": "

    The \"Add team member\" endpoint (described below) is deprecated.

    \n

    We recommend using the Add or update team membership for a user endpoint instead. It allows you to invite new organization members to your teams.

    \n

    Team synchronization is available for organizations using GitHub Enterprise Cloud. For more information, see GitHub's products in the GitHub Help documentation.

    \n

    To 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

    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.\"

    \n

    Note that you'll need to set Content-Length to zero when calling out to this endpoint. For more information, see \"HTTP verbs.\"

    " }, { "verb": "delete", "requestPath": "/teams/{team_id}/members/{username}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "team_id", @@ -62655,8 +63009,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/teams/42/members/USERNAME", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/teams/42/members/USERNAME
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/teams/42/members/USERNAME", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/teams/42/members/USERNAME
    " }, { "lang": "JavaScript", @@ -62694,7 +63048,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "404", @@ -62708,7 +63062,7 @@ { "verb": "get", "requestPath": "/teams/{team_id}/memberships/{username}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "team_id", @@ -62732,8 +63086,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/teams/42/memberships/USERNAME", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/teams/42/memberships/USERNAME
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/teams/42/memberships/USERNAME", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/teams/42/memberships/USERNAME
    " }, { "lang": "JavaScript", @@ -62742,7 +63096,7 @@ } ], "summary": "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).", + "description": "**Deprecation 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).", "tags": [ "teams" ], @@ -62768,26 +63122,14 @@ "subcategoryLabel": "Members", "notes": [], "bodyParameters": [], - "descriptionHTML": "

    Deprecation 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 endpoint.

    \n

    Team members will include the members of child teams.

    \n

    To get a user's membership with a team, the team must be visible to the authenticated user.

    \n

    Note: The role for organization owners returns as maintainer. For more information about maintainer roles, see Create a team.

    ", + "descriptionHTML": "

    Deprecation 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 endpoint.

    \n

    Team members will include the members of child teams.

    \n

    To get a user's membership with a team, the team must be visible to the authenticated user.

    \n

    Note:\nThe response contains the state of the membership and the member's role.

    \n

    The role for organization owners is set to maintainer. For more information about maintainer roles, see Create a team.

    ", "responses": [ - { - "httpStatusCode": "200", - "httpStatusMessage": "OK", - "description": "Response if user has an active membership with team", - "payload": "
    {\n  \"url\": \"https://api.github.com/teams/1/memberships/octocat\",\n  \"role\": \"member\",\n  \"state\": \"active\"\n}\n
    " - }, { "httpStatusCode": "200", "httpStatusMessage": "OK", "description": "Response if user is a team maintainer", "payload": "
    {\n  \"url\": \"https://api.github.com/teams/1/memberships/octocat\",\n  \"role\": \"maintainer\",\n  \"state\": \"active\"\n}\n
    " }, - { - "httpStatusCode": "200", - "httpStatusMessage": "OK", - "description": "Response if user has a pending membership with team", - "payload": "
    {\n  \"url\": \"https://api.github.com/teams/1/memberships/octocat\",\n  \"role\": \"member\",\n  \"state\": \"pending\"\n}\n
    " - }, { "httpStatusCode": "404", "httpStatusMessage": "Not Found", @@ -62798,7 +63140,7 @@ { "verb": "put", "requestPath": "/teams/{team_id}/memberships/{username}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "team_id", @@ -62822,8 +63164,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/teams/42/memberships/USERNAME \\\n -d '{\"role\":\"role\"}'", - "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/teams/42/memberships/USERNAME \\\n  -d '{\"role\":\"role\"}'
    " + "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/teams/42/memberships/USERNAME \\\n -d '{\"role\":\"role\"}'", + "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/teams/42/memberships/USERNAME \\\n  -d '{\"role\":\"role\"}'
    " }, { "lang": "JavaScript", @@ -62900,12 +63242,6 @@ } ], "responses": [ - { - "httpStatusCode": "200", - "httpStatusMessage": "OK", - "description": "Response if user's membership with team is now active", - "payload": "
    {\n  \"url\": \"https://api.github.com/teams/1/memberships/octocat\",\n  \"role\": \"member\",\n  \"state\": \"active\"\n}\n
    " - }, { "httpStatusCode": "200", "httpStatusMessage": "OK", @@ -62925,15 +63261,14 @@ { "httpStatusCode": "422", "httpStatusMessage": "Unprocessable Entity", - "description": "Response if you attempt to add an organization to a team", - "payload": "
    {\n  \"message\": \"Cannot add an organization as a member.\",\n  \"errors\": [\n    {\n      \"code\": \"org\",\n      \"field\": \"user\",\n      \"resource\": \"TeamMember\"\n    }\n  ]\n}\n
    " + "description": "Response if you attempt to add an organization to a team" } ] }, { "verb": "delete", "requestPath": "/teams/{team_id}/memberships/{username}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "team_id", @@ -62957,8 +63292,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/teams/42/memberships/USERNAME", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/teams/42/memberships/USERNAME
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/teams/42/memberships/USERNAME", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/teams/42/memberships/USERNAME
    " }, { "lang": "JavaScript", @@ -62996,7 +63331,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "403", @@ -63010,7 +63345,7 @@ { "verb": "get", "requestPath": "/teams/{team_id}/projects", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "team_id", @@ -63045,8 +63380,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n https://api.github.com/teams/42/projects", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  https://api.github.com/teams/42/projects
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n http(s)://{hostname}/api/v3/teams/42/projects", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  http(s)://{hostname}/api/v3/teams/42/projects
    " }, { "lang": "JavaScript", @@ -63109,7 +63444,7 @@ { "verb": "get", "requestPath": "/teams/{team_id}/projects/{project_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "team_id", @@ -63133,8 +63468,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n https://api.github.com/teams/42/projects/42", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  https://api.github.com/teams/42/projects/42
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n http(s)://{hostname}/api/v3/teams/42/projects/42", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  http(s)://{hostname}/api/v3/teams/42/projects/42
    " }, { "lang": "JavaScript", @@ -63197,7 +63532,7 @@ { "verb": "put", "requestPath": "/teams/{team_id}/projects/{project_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "team_id", @@ -63221,8 +63556,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n https://api.github.com/teams/42/projects/42 \\\n -d '{\"permission\":\"permission\"}'", - "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  https://api.github.com/teams/42/projects/42 \\\n  -d '{\"permission\":\"permission\"}'
    " + "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n http(s)://{hostname}/api/v3/teams/42/projects/42 \\\n -d '{\"permission\":\"permission\"}'", + "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  http(s)://{hostname}/api/v3/teams/42/projects/42 \\\n  -d '{\"permission\":\"permission\"}'
    " }, { "lang": "JavaScript", @@ -63307,7 +63642,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "403", @@ -63335,7 +63670,7 @@ { "verb": "delete", "requestPath": "/teams/{team_id}/projects/{project_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "team_id", @@ -63359,8 +63694,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/teams/42/projects/42", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/teams/42/projects/42
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/teams/42/projects/42", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/teams/42/projects/42
    " }, { "lang": "JavaScript", @@ -63396,7 +63731,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "404", @@ -63420,7 +63755,7 @@ { "verb": "get", "requestPath": "/teams/{team_id}/repos", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "team_id", @@ -63455,8 +63790,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/teams/42/repos", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/teams/42/repos
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/teams/42/repos", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/teams/42/repos
    " }, { "lang": "JavaScript", @@ -63507,7 +63842,7 @@ { "verb": "get", "requestPath": "/teams/{team_id}/repos/{owner}/{repo}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "team_id", @@ -63540,8 +63875,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/teams/42/repos/octocat/hello-world", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/teams/42/repos/octocat/hello-world
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/teams/42/repos/octocat/hello-world", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/teams/42/repos/octocat/hello-world
    " }, { "lang": "JavaScript", @@ -63596,7 +63931,7 @@ { "verb": "put", "requestPath": "/teams/{team_id}/repos/{owner}/{repo}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "team_id", @@ -63629,8 +63964,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/teams/42/repos/octocat/hello-world \\\n -d '{\"permission\":\"permission\"}'", - "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/teams/42/repos/octocat/hello-world \\\n  -d '{\"permission\":\"permission\"}'
    " + "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/teams/42/repos/octocat/hello-world \\\n -d '{\"permission\":\"permission\"}'", + "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/teams/42/repos/octocat/hello-world \\\n  -d '{\"permission\":\"permission\"}'
    " }, { "lang": "JavaScript", @@ -63691,7 +64026,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "403", @@ -63725,7 +64060,7 @@ { "verb": "delete", "requestPath": "/teams/{team_id}/repos/{owner}/{repo}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "team_id", @@ -63758,8 +64093,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/teams/42/repos/octocat/hello-world", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/teams/42/repos/octocat/hello-world
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/teams/42/repos/octocat/hello-world", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/teams/42/repos/octocat/hello-world
    " }, { "lang": "JavaScript", @@ -63795,7 +64130,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "bodyParameters": [], @@ -63804,7 +64139,7 @@ { "verb": "get", "requestPath": "/teams/{team_id}/teams", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "team_id", @@ -63839,8 +64174,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/teams/42/teams", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/teams/42/teams
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/teams/42/teams", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/teams/42/teams
    " }, { "lang": "JavaScript", @@ -63901,13 +64236,13 @@ { "verb": "get", "requestPath": "/user", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/user", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/user
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/user", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/user
    " }, { "lang": "JavaScript", @@ -63971,13 +64306,13 @@ { "verb": "patch", "requestPath": "/user", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/user \\\n -d '{\"name\":\"name\"}'", - "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/user \\\n  -d '{\"name\":\"name\"}'
    " + "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/user \\\n -d '{\"name\":\"name\"}'", + "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/user \\\n  -d '{\"name\":\"name\"}'
    " }, { "lang": "JavaScript", @@ -64215,7 +64550,7 @@ { "verb": "get", "requestPath": "/user/emails", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "per_page", @@ -64241,8 +64576,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/user/emails", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/user/emails
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/user/emails", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/user/emails
    " }, { "lang": "JavaScript", @@ -64307,13 +64642,13 @@ { "verb": "post", "requestPath": "/user/emails", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/user/emails \\\n -d '{\"emails\":[\"octocat@github.com\"]}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/user/emails \\\n  -d '{\"emails\":[\"octocat@github.com\"]}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/user/emails \\\n -d '{\"emails\":[\"octocat@github.com\"]}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/user/emails \\\n  -d '{\"emails\":[\"octocat@github.com\"]}'
    " }, { "lang": "JavaScript", @@ -64428,13 +64763,13 @@ { "verb": "delete", "requestPath": "/user/emails", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/user/emails \\\n -d '{\"emails\":[\"octocat@github.com\"]}'", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/user/emails \\\n  -d '{\"emails\":[\"octocat@github.com\"]}'
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/user/emails \\\n -d '{\"emails\":[\"octocat@github.com\"]}'", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/user/emails \\\n  -d '{\"emails\":[\"octocat@github.com\"]}'
    " }, { "lang": "JavaScript", @@ -64514,7 +64849,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "304", @@ -64548,7 +64883,7 @@ { "verb": "get", "requestPath": "/user/followers", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "per_page", @@ -64574,8 +64909,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/user/followers", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/user/followers
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/user/followers", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/user/followers
    " }, { "lang": "JavaScript", @@ -64635,7 +64970,7 @@ { "verb": "get", "requestPath": "/user/following", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "per_page", @@ -64661,8 +64996,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/user/following", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/user/following
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/user/following", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/user/following
    " }, { "lang": "JavaScript", @@ -64722,7 +65057,7 @@ { "verb": "get", "requestPath": "/user/following/{username}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "username", @@ -64737,8 +65072,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/user/following/USERNAME", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/user/following/USERNAME
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/user/following/USERNAME", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/user/following/USERNAME
    " }, { "lang": "JavaScript", @@ -64802,7 +65137,7 @@ { "verb": "put", "requestPath": "/user/following/{username}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "username", @@ -64817,8 +65152,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/user/following/USERNAME", - "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/user/following/USERNAME
    " + "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/user/following/USERNAME", + "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/user/following/USERNAME
    " }, { "lang": "JavaScript", @@ -64853,7 +65188,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "304", @@ -64882,7 +65217,7 @@ { "verb": "delete", "requestPath": "/user/following/{username}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "username", @@ -64897,8 +65232,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/user/following/USERNAME", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/user/following/USERNAME
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/user/following/USERNAME", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/user/following/USERNAME
    " }, { "lang": "JavaScript", @@ -64933,7 +65268,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "304", @@ -64962,7 +65297,7 @@ { "verb": "get", "requestPath": "/user/gpg_keys", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "per_page", @@ -64988,8 +65323,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/user/gpg_keys", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/user/gpg_keys
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/user/gpg_keys", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/user/gpg_keys
    " }, { "lang": "JavaScript", @@ -65054,13 +65389,13 @@ { "verb": "post", "requestPath": "/user/gpg_keys", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/user/gpg_keys \\\n -d '{\"armored_public_key\":\"armored_public_key\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/user/gpg_keys \\\n  -d '{\"armored_public_key\":\"armored_public_key\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/user/gpg_keys \\\n -d '{\"armored_public_key\":\"armored_public_key\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/user/gpg_keys \\\n  -d '{\"armored_public_key\":\"armored_public_key\"}'
    " }, { "lang": "JavaScript", @@ -65163,7 +65498,7 @@ { "verb": "get", "requestPath": "/user/gpg_keys/{gpg_key_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "gpg_key_id", @@ -65179,8 +65514,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/user/gpg_keys/42", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/user/gpg_keys/42
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/user/gpg_keys/42", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/user/gpg_keys/42
    " }, { "lang": "JavaScript", @@ -65245,7 +65580,7 @@ { "verb": "delete", "requestPath": "/user/gpg_keys/{gpg_key_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "gpg_key_id", @@ -65261,8 +65596,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/user/gpg_keys/42", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/user/gpg_keys/42
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/user/gpg_keys/42", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/user/gpg_keys/42
    " }, { "lang": "JavaScript", @@ -65297,7 +65632,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "304", @@ -65331,7 +65666,7 @@ { "verb": "get", "requestPath": "/user/installations", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "accept", @@ -65368,8 +65703,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.machine-man-preview+json\" \\\n https://api.github.com/user/installations", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.machine-man-preview+json\" \\\n  https://api.github.com/user/installations
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.machine-man-preview+json\" \\\n http(s)://{hostname}/api/v3/user/installations", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.machine-man-preview+json\" \\\n  http(s)://{hostname}/api/v3/user/installations
    " }, { "lang": "JavaScript", @@ -65441,7 +65776,7 @@ { "verb": "get", "requestPath": "/user/installations/{installation_id}/repositories", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "accept", @@ -65488,8 +65823,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.machine-man-preview+json\" \\\n https://api.github.com/user/installations/42/repositories", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.machine-man-preview+json\" \\\n  https://api.github.com/user/installations/42/repositories
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.machine-man-preview+json\" \\\n http(s)://{hostname}/api/v3/user/installations/42/repositories", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.machine-man-preview+json\" \\\n  http(s)://{hostname}/api/v3/user/installations/42/repositories
    " }, { "lang": "JavaScript", @@ -65562,7 +65897,7 @@ { "verb": "put", "requestPath": "/user/installations/{installation_id}/repositories/{repository_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "installation_id", @@ -65587,8 +65922,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.machine-man-preview+json\" \\\n https://api.github.com/user/installations/42/repositories/42", - "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.machine-man-preview+json\" \\\n  https://api.github.com/user/installations/42/repositories/42
    " + "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.machine-man-preview+json\" \\\n http(s)://{hostname}/api/v3/user/installations/42/repositories/42", + "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.machine-man-preview+json\" \\\n  http(s)://{hostname}/api/v3/user/installations/42/repositories/42
    " }, { "lang": "JavaScript", @@ -65630,7 +65965,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "304", @@ -65654,7 +65989,7 @@ { "verb": "delete", "requestPath": "/user/installations/{installation_id}/repositories/{repository_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "installation_id", @@ -65679,8 +66014,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.machine-man-preview+json\" \\\n https://api.github.com/user/installations/42/repositories/42", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.machine-man-preview+json\" \\\n  https://api.github.com/user/installations/42/repositories/42
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.machine-man-preview+json\" \\\n http(s)://{hostname}/api/v3/user/installations/42/repositories/42", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.machine-man-preview+json\" \\\n  http(s)://{hostname}/api/v3/user/installations/42/repositories/42
    " }, { "lang": "JavaScript", @@ -65722,7 +66057,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "304", @@ -65746,7 +66081,7 @@ { "verb": "get", "requestPath": "/user/issues", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "filter", @@ -65760,6 +66095,7 @@ "created", "mentioned", "subscribed", + "repos", "all" ], "default": "assigned" @@ -65857,8 +66193,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/user/issues", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/user/issues
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/user/issues", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/user/issues
    " }, { "lang": "JavaScript", @@ -65917,7 +66253,7 @@ { "verb": "get", "requestPath": "/user/keys", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "per_page", @@ -65943,8 +66279,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/user/keys", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/user/keys
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/user/keys", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/user/keys
    " }, { "lang": "JavaScript", @@ -66009,13 +66345,13 @@ { "verb": "post", "requestPath": "/user/keys", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/user/keys \\\n -d '{\"key\":\"key\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/user/keys \\\n  -d '{\"key\":\"key\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/user/keys \\\n -d '{\"key\":\"key\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/user/keys \\\n  -d '{\"key\":\"key\"}'
    " }, { "lang": "JavaScript", @@ -66140,7 +66476,7 @@ { "verb": "get", "requestPath": "/user/keys/{key_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "key_id", @@ -66156,8 +66492,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/user/keys/42", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/user/keys/42
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/user/keys/42", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/user/keys/42
    " }, { "lang": "JavaScript", @@ -66222,7 +66558,7 @@ { "verb": "delete", "requestPath": "/user/keys/{key_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "key_id", @@ -66238,8 +66574,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/user/keys/42", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/user/keys/42
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/user/keys/42", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/user/keys/42
    " }, { "lang": "JavaScript", @@ -66274,7 +66610,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "304", @@ -66303,7 +66639,7 @@ { "verb": "get", "requestPath": "/user/memberships/orgs", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "state", @@ -66343,8 +66679,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/user/memberships/orgs", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/user/memberships/orgs
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/user/memberships/orgs", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/user/memberships/orgs
    " }, { "lang": "JavaScript", @@ -66409,7 +66745,7 @@ { "verb": "get", "requestPath": "/user/memberships/orgs/{org}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "org", @@ -66424,8 +66760,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/user/memberships/orgs/ORG", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/user/memberships/orgs/ORG
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/user/memberships/orgs/ORG", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/user/memberships/orgs/ORG
    " }, { "lang": "JavaScript", @@ -66480,7 +66816,7 @@ { "verb": "patch", "requestPath": "/user/memberships/orgs/{org}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "org", @@ -66495,8 +66831,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/user/memberships/orgs/ORG \\\n -d '{\"state\":\"state\"}'", - "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/user/memberships/orgs/ORG \\\n  -d '{\"state\":\"state\"}'
    " + "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/user/memberships/orgs/ORG \\\n -d '{\"state\":\"state\"}'", + "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/user/memberships/orgs/ORG \\\n  -d '{\"state\":\"state\"}'
    " }, { "lang": "JavaScript", @@ -66598,7 +66934,7 @@ { "verb": "get", "requestPath": "/user/orgs", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "per_page", @@ -66624,8 +66960,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/user/orgs", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/user/orgs
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/user/orgs", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/user/orgs
    " }, { "lang": "JavaScript", @@ -66683,13 +67019,13 @@ { "verb": "post", "requestPath": "/user/projects", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n https://api.github.com/user/projects \\\n -d '{\"name\":\"name\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  https://api.github.com/user/projects \\\n  -d '{\"name\":\"name\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n http(s)://{hostname}/api/v3/user/projects \\\n -d '{\"name\":\"name\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  http(s)://{hostname}/api/v3/user/projects \\\n  -d '{\"name\":\"name\"}'
    " }, { "lang": "JavaScript", @@ -66821,7 +67157,7 @@ { "verb": "get", "requestPath": "/user/public_emails", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "per_page", @@ -66847,8 +67183,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/user/public_emails", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/user/public_emails
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/user/public_emails", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/user/public_emails
    " }, { "lang": "JavaScript", @@ -66913,11 +67249,11 @@ { "verb": "get", "requestPath": "/user/repos", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "visibility", - "description": "Can be one of `all`, `public`, or `private`.", + "description": "Can be one of `all`, `public`, or `private`. Note: For GitHub AE, can be one of `all`, `internal`, or `private`.", "in": "query", "required": false, "schema": { @@ -66929,7 +67265,7 @@ ], "default": "all" }, - "descriptionHTML": "

    Can be one of all, public, or private.

    " + "descriptionHTML": "

    Can be one of all, public, or private. Note: For GitHub AE, can be one of all, internal, or private.

    " }, { "name": "affiliation", @@ -66944,7 +67280,7 @@ }, { "name": "type", - "description": "Can be one of `all`, `owner`, `public`, `private`, `member`. Default: `all` \n \nWill cause a `422` error if used in the same request as **visibility** or **affiliation**. Will cause a `422` error if used in the same request as **visibility** or **affiliation**.", + "description": "Can be one of `all`, `owner`, `public`, `private`, `member`. Note: For GitHub AE, can be one of `all`, `owner`, `internal`, `private`, `member`. Default: `all` \n \nWill cause a `422` error if used in the same request as **visibility** or **affiliation**. Will cause a `422` error if used in the same request as **visibility** or **affiliation**.", "in": "query", "required": false, "schema": { @@ -66958,7 +67294,7 @@ ], "default": "all" }, - "descriptionHTML": "

    Can be one of all, owner, public, private, member. Default: all

    \n

    Will cause a 422 error if used in the same request as visibility or affiliation. Will cause a 422 error if used in the same request as visibility or affiliation.

    " + "descriptionHTML": "

    Can be one of all, owner, public, private, member. Note: For GitHub AE, can be one of all, owner, internal, private, member. Default: all

    \n

    Will cause a 422 error if used in the same request as visibility or affiliation. Will cause a 422 error if used in the same request as visibility or affiliation.

    " }, { "name": "sort", @@ -67035,8 +67371,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/user/repos", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/user/repos
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/user/repos", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/user/repos
    " }, { "lang": "JavaScript", @@ -67099,13 +67435,13 @@ { "verb": "post", "requestPath": "/user/repos", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/user/repos \\\n -d '{\"name\":\"name\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/user/repos \\\n  -d '{\"name\":\"name\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/user/repos \\\n -d '{\"name\":\"name\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/user/repos \\\n  -d '{\"name\":\"name\"}'
    " }, { "lang": "JavaScript", @@ -67114,7 +67450,7 @@ } ], "summary": "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", + "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.", "tags": [ "repos" ], @@ -67157,13 +67493,13 @@ "childParamsGroups": [] }, "private": { - "description": "

    Whether the repository is private or public.

    ", + "description": "

    Whether the repository is private.

    ", "default": false, "type": "boolean", "name": "private", "in": "body", "rawType": "boolean", - "rawDescription": "Whether the repository is private or public.", + "rawDescription": "Whether the repository is private.", "childParamsGroups": [] }, "has_issues": { @@ -67337,7 +67673,7 @@ "category": "repos", "categoryLabel": "Repos", "notes": [], - "descriptionHTML": "

    Creates a new repository for the authenticated user.

    \n

    OAuth scope requirements

    \n

    When using OAuth, 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
    ", + "descriptionHTML": "

    Creates a new repository for the authenticated user.

    \n

    OAuth scope requirements

    \n

    When using OAuth, 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
    ", "bodyParameters": [ { "description": "

    Required. The name of the repository.

    ", @@ -67368,13 +67704,13 @@ "childParamsGroups": [] }, { - "description": "

    Whether the repository is private or public.

    ", + "description": "

    Whether the repository is private.

    ", "default": false, "type": "boolean", "name": "private", "in": "body", "rawType": "boolean", - "rawDescription": "Whether the repository is private or public.", + "rawDescription": "Whether the repository is private.", "childParamsGroups": [] }, { @@ -67558,7 +67894,7 @@ { "verb": "get", "requestPath": "/user/repository_invitations", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "per_page", @@ -67584,8 +67920,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/user/repository_invitations", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/user/repository_invitations
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/user/repository_invitations", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/user/repository_invitations
    " }, { "lang": "JavaScript", @@ -67650,7 +67986,7 @@ { "verb": "patch", "requestPath": "/user/repository_invitations/{invitation_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "invitation_id", @@ -67666,8 +68002,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/user/repository_invitations/42", - "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/user/repository_invitations/42
    " + "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/user/repository_invitations/42", + "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/user/repository_invitations/42
    " }, { "lang": "JavaScript", @@ -67702,7 +68038,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "304", @@ -67731,7 +68067,7 @@ { "verb": "delete", "requestPath": "/user/repository_invitations/{invitation_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "invitation_id", @@ -67747,8 +68083,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/user/repository_invitations/42", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/user/repository_invitations/42
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/user/repository_invitations/42", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/user/repository_invitations/42
    " }, { "lang": "JavaScript", @@ -67783,7 +68119,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "304", @@ -67812,7 +68148,7 @@ { "verb": "get", "requestPath": "/user/starred", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "sort", @@ -67868,8 +68204,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/user/starred", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/user/starred
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/user/starred", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/user/starred
    " }, { "lang": "JavaScript", @@ -67929,7 +68265,7 @@ { "verb": "get", "requestPath": "/user/starred/{owner}/{repo}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -67953,8 +68289,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/user/starred/octocat/hello-world", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/user/starred/octocat/hello-world
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/user/starred/octocat/hello-world", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/user/starred/octocat/hello-world
    " }, { "lang": "JavaScript", @@ -68018,7 +68354,7 @@ { "verb": "put", "requestPath": "/user/starred/{owner}/{repo}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -68042,8 +68378,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/user/starred/octocat/hello-world", - "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/user/starred/octocat/hello-world
    " + "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/user/starred/octocat/hello-world", + "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/user/starred/octocat/hello-world
    " }, { "lang": "JavaScript", @@ -68078,7 +68414,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "304", @@ -68107,7 +68443,7 @@ { "verb": "delete", "requestPath": "/user/starred/{owner}/{repo}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -68131,8 +68467,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/user/starred/octocat/hello-world", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/user/starred/octocat/hello-world
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/user/starred/octocat/hello-world", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/user/starred/octocat/hello-world
    " }, { "lang": "JavaScript", @@ -68167,7 +68503,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "304", @@ -68196,7 +68532,7 @@ { "verb": "get", "requestPath": "/user/subscriptions", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "per_page", @@ -68222,8 +68558,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/user/subscriptions", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/user/subscriptions
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/user/subscriptions", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/user/subscriptions
    " }, { "lang": "JavaScript", @@ -68283,7 +68619,7 @@ { "verb": "get", "requestPath": "/user/teams", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "per_page", @@ -68309,8 +68645,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/user/teams", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/user/teams
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/user/teams", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/user/teams
    " }, { "lang": "JavaScript", @@ -68368,7 +68704,7 @@ { "verb": "get", "requestPath": "/users", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "since", @@ -68394,8 +68730,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/users", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/users
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/users", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/users
    " }, { "lang": "JavaScript", @@ -68443,7 +68779,7 @@ { "verb": "get", "requestPath": "/users/{username}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "username", @@ -68458,8 +68794,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/users/USERNAME", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/users/USERNAME
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/users/USERNAME", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/users/USERNAME
    " }, { "lang": "JavaScript", @@ -68513,7 +68849,7 @@ { "verb": "get", "requestPath": "/users/{username}/events", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "username", @@ -68548,8 +68884,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/users/USERNAME/events", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/users/USERNAME/events
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/users/USERNAME/events", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/users/USERNAME/events
    " }, { "lang": "JavaScript", @@ -68593,7 +68929,7 @@ { "verb": "get", "requestPath": "/users/{username}/events/orgs/{org}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "username", @@ -68637,8 +68973,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/users/USERNAME/events/orgs/ORG", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/users/USERNAME/events/orgs/ORG
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/users/USERNAME/events/orgs/ORG", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/users/USERNAME/events/orgs/ORG
    " }, { "lang": "JavaScript", @@ -68682,7 +69018,7 @@ { "verb": "get", "requestPath": "/users/{username}/events/public", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "username", @@ -68717,8 +69053,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/users/USERNAME/events/public", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/users/USERNAME/events/public
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/users/USERNAME/events/public", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/users/USERNAME/events/public
    " }, { "lang": "JavaScript", @@ -68762,7 +69098,7 @@ { "verb": "get", "requestPath": "/users/{username}/followers", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "username", @@ -68797,8 +69133,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/users/USERNAME/followers", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/users/USERNAME/followers
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/users/USERNAME/followers", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/users/USERNAME/followers
    " }, { "lang": "JavaScript", @@ -68843,7 +69179,7 @@ { "verb": "get", "requestPath": "/users/{username}/following", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "username", @@ -68878,8 +69214,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/users/USERNAME/following", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/users/USERNAME/following
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/users/USERNAME/following", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/users/USERNAME/following
    " }, { "lang": "JavaScript", @@ -68924,7 +69260,7 @@ { "verb": "get", "requestPath": "/users/{username}/following/{target_user}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "username", @@ -68948,8 +69284,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/users/USERNAME/following/TARGET_USER", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/users/USERNAME/following/TARGET_USER
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/users/USERNAME/following/TARGET_USER", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/users/USERNAME/following/TARGET_USER
    " }, { "lang": "JavaScript", @@ -68998,7 +69334,7 @@ { "verb": "get", "requestPath": "/users/{username}/gists", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "username", @@ -69043,8 +69379,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/users/USERNAME/gists", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/users/USERNAME/gists
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/users/USERNAME/gists", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/users/USERNAME/gists
    " }, { "lang": "JavaScript", @@ -69092,7 +69428,7 @@ { "verb": "get", "requestPath": "/users/{username}/gpg_keys", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "username", @@ -69127,8 +69463,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/users/USERNAME/gpg_keys", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/users/USERNAME/gpg_keys
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/users/USERNAME/gpg_keys", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/users/USERNAME/gpg_keys
    " }, { "lang": "JavaScript", @@ -69173,7 +69509,7 @@ { "verb": "get", "requestPath": "/users/{username}/hovercard", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "username", @@ -69214,8 +69550,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/users/USERNAME/hovercard", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/users/USERNAME/hovercard
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/users/USERNAME/hovercard", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/users/USERNAME/hovercard
    " }, { "lang": "JavaScript", @@ -69268,7 +69604,7 @@ { "verb": "get", "requestPath": "/users/{username}/installation", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "accept", @@ -69294,8 +69630,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.machine-man-preview+json\" \\\n https://api.github.com/users/USERNAME/installation", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.machine-man-preview+json\" \\\n  https://api.github.com/users/USERNAME/installation
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.machine-man-preview+json\" \\\n http(s)://{hostname}/api/v3/users/USERNAME/installation", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.machine-man-preview+json\" \\\n  http(s)://{hostname}/api/v3/users/USERNAME/installation
    " }, { "lang": "JavaScript", @@ -69344,7 +69680,7 @@ { "verb": "get", "requestPath": "/users/{username}/keys", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "username", @@ -69379,8 +69715,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/users/USERNAME/keys", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/users/USERNAME/keys
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/users/USERNAME/keys", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/users/USERNAME/keys
    " }, { "lang": "JavaScript", @@ -69425,7 +69761,7 @@ { "verb": "get", "requestPath": "/users/{username}/orgs", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "username", @@ -69460,8 +69796,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/users/USERNAME/orgs", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/users/USERNAME/orgs
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/users/USERNAME/orgs", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/users/USERNAME/orgs
    " }, { "lang": "JavaScript", @@ -69504,7 +69840,7 @@ { "verb": "get", "requestPath": "/users/{username}/projects", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "username", @@ -69555,8 +69891,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n https://api.github.com/users/USERNAME/projects", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  https://api.github.com/users/USERNAME/projects
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n http(s)://{hostname}/api/v3/users/USERNAME/projects", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  http(s)://{hostname}/api/v3/users/USERNAME/projects
    " }, { "lang": "JavaScript", @@ -69616,7 +69952,7 @@ { "verb": "get", "requestPath": "/users/{username}/received_events", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "username", @@ -69651,8 +69987,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/users/USERNAME/received_events", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/users/USERNAME/received_events
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/users/USERNAME/received_events", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/users/USERNAME/received_events
    " }, { "lang": "JavaScript", @@ -69696,7 +70032,7 @@ { "verb": "get", "requestPath": "/users/{username}/received_events/public", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "username", @@ -69731,8 +70067,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/users/USERNAME/received_events/public", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/users/USERNAME/received_events/public
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/users/USERNAME/received_events/public", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/users/USERNAME/received_events/public
    " }, { "lang": "JavaScript", @@ -69776,7 +70112,7 @@ { "verb": "get", "requestPath": "/users/{username}/repos", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "username", @@ -69858,8 +70194,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/users/USERNAME/repos", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/users/USERNAME/repos
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/users/USERNAME/repos", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/users/USERNAME/repos
    " }, { "lang": "JavaScript", @@ -69868,7 +70204,7 @@ } ], "summary": "List repositories for a user", - "description": "Lists public repositories for the specified user.", + "description": "Lists public repositories for the specified user. Note: For GitHub AE, this endpoint will list internal repositories for the specified user.", "tags": [ "repos" ], @@ -69896,7 +70232,7 @@ "categoryLabel": "Repos", "notes": [], "bodyParameters": [], - "descriptionHTML": "

    Lists public repositories for the specified user.

    ", + "descriptionHTML": "

    Lists public repositories for the specified user. Note: For GitHub AE, this endpoint will list internal repositories for the specified user.

    ", "responses": [ { "httpStatusCode": "200", @@ -69909,7 +70245,7 @@ { "verb": "put", "requestPath": "/users/{username}/site_admin", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "username", @@ -69924,8 +70260,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/users/USERNAME/site_admin", - "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/users/USERNAME/site_admin
    " + "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/users/USERNAME/site_admin", + "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/users/USERNAME/site_admin
    " }, { "lang": "JavaScript", @@ -69960,7 +70296,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "bodyParameters": [], @@ -69969,7 +70305,7 @@ { "verb": "delete", "requestPath": "/users/{username}/site_admin", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "username", @@ -69984,8 +70320,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/users/USERNAME/site_admin", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/users/USERNAME/site_admin
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/users/USERNAME/site_admin", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/users/USERNAME/site_admin
    " }, { "lang": "JavaScript", @@ -70020,7 +70356,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "bodyParameters": [], @@ -70029,7 +70365,7 @@ { "verb": "get", "requestPath": "/users/{username}/starred", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "username", @@ -70094,8 +70430,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/users/USERNAME/starred", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/users/USERNAME/starred
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/users/USERNAME/starred", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/users/USERNAME/starred
    " }, { "lang": "JavaScript", @@ -70140,7 +70476,7 @@ { "verb": "get", "requestPath": "/users/{username}/subscriptions", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "username", @@ -70175,8 +70511,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/users/USERNAME/subscriptions", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/users/USERNAME/subscriptions
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/users/USERNAME/subscriptions", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/users/USERNAME/subscriptions
    " }, { "lang": "JavaScript", @@ -70221,7 +70557,7 @@ { "verb": "put", "requestPath": "/users/{username}/suspended", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "username", @@ -70236,8 +70572,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/users/USERNAME/suspended \\\n -d '{\"reason\":\"reason\"}'", - "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/users/USERNAME/suspended \\\n  -d '{\"reason\":\"reason\"}'
    " + "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/users/USERNAME/suspended \\\n -d '{\"reason\":\"reason\"}'", + "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/users/USERNAME/suspended \\\n  -d '{\"reason\":\"reason\"}'
    " }, { "lang": "JavaScript", @@ -70292,7 +70628,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "descriptionHTML": "

    If your GitHub instance uses LDAP Sync with Active Directory LDAP servers, 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

    You can suspend any user account except your own.

    \n

    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.\"

    ", @@ -70311,7 +70647,7 @@ { "verb": "delete", "requestPath": "/users/{username}/suspended", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "username", @@ -70326,8 +70662,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/users/USERNAME/suspended \\\n -d '{\"reason\":\"reason\"}'", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/users/USERNAME/suspended \\\n  -d '{\"reason\":\"reason\"}'
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/users/USERNAME/suspended \\\n -d '{\"reason\":\"reason\"}'", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/users/USERNAME/suspended \\\n  -d '{\"reason\":\"reason\"}'
    " }, { "lang": "JavaScript", @@ -70382,7 +70718,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "descriptionHTML": "

    If your GitHub instance uses LDAP Sync with Active Directory LDAP servers, this API is disabled and will return a 403 response. Active Directory LDAP-authenticated users cannot be unsuspended using the API.

    ", @@ -70401,13 +70737,13 @@ { "verb": "get", "requestPath": "/zen", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/zen", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/zen
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/zen", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/zen
    " }, { "lang": "JavaScript", diff --git a/lib/rest/static/decorated/ghes-2.22.json b/lib/rest/static/decorated/ghes-2.22.json index 23c6a94413..e48b80812d 100644 --- a/lib/rest/static/decorated/ghes-2.22.json +++ b/lib/rest/static/decorated/ghes-2.22.json @@ -2,13 +2,13 @@ { "verb": "get", "requestPath": "/", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/
    " }, { "lang": "JavaScript", @@ -45,7 +45,7 @@ { "verb": "get", "requestPath": "/admin/hooks", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "accept", @@ -82,8 +82,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.superpro-preview+json\" \\\n https://api.github.com/admin/hooks", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.superpro-preview+json\" \\\n  https://api.github.com/admin/hooks
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.superpro-preview+json\" \\\n http(s)://{hostname}/api/v3/admin/hooks", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.superpro-preview+json\" \\\n  http(s)://{hostname}/api/v3/admin/hooks
    " }, { "lang": "JavaScript", @@ -135,7 +135,7 @@ { "verb": "post", "requestPath": "/admin/hooks", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "accept", @@ -152,8 +152,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.superpro-preview+json\" \\\n https://api.github.com/admin/hooks \\\n -d '{\"name\":\"name\",\"config\":{\"url\":\"url\",\"content_type\":\"content_type\",\"secret\":\"secret\",\"insecure_ssl\":\"insecure_ssl\"}}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.superpro-preview+json\" \\\n  https://api.github.com/admin/hooks \\\n  -d '{\"name\":\"name\",\"config\":{\"url\":\"url\",\"content_type\":\"content_type\",\"secret\":\"secret\",\"insecure_ssl\":\"insecure_ssl\"}}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.superpro-preview+json\" \\\n http(s)://{hostname}/api/v3/admin/hooks \\\n -d '{\"name\":\"name\",\"config\":{\"url\":\"url\",\"content_type\":\"content_type\",\"secret\":\"secret\",\"insecure_ssl\":\"insecure_ssl\"}}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.superpro-preview+json\" \\\n  http(s)://{hostname}/api/v3/admin/hooks \\\n  -d '{\"name\":\"name\",\"config\":{\"url\":\"url\",\"content_type\":\"content_type\",\"secret\":\"secret\",\"insecure_ssl\":\"insecure_ssl\"}}'
    " }, { "lang": "JavaScript", @@ -483,7 +483,7 @@ { "verb": "get", "requestPath": "/admin/hooks/{hook_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "accept", @@ -509,8 +509,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.superpro-preview+json\" \\\n https://api.github.com/admin/hooks/42", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.superpro-preview+json\" \\\n  https://api.github.com/admin/hooks/42
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.superpro-preview+json\" \\\n http(s)://{hostname}/api/v3/admin/hooks/42", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.superpro-preview+json\" \\\n  http(s)://{hostname}/api/v3/admin/hooks/42
    " }, { "lang": "JavaScript", @@ -562,7 +562,7 @@ { "verb": "patch", "requestPath": "/admin/hooks/{hook_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "accept", @@ -588,8 +588,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.superpro-preview+json\" \\\n https://api.github.com/admin/hooks/42 \\\n -d '{\"config\":{\"url\":\"url\",\"content_type\":\"content_type\",\"secret\":\"secret\",\"insecure_ssl\":\"insecure_ssl\"}}'", - "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.superpro-preview+json\" \\\n  https://api.github.com/admin/hooks/42 \\\n  -d '{\"config\":{\"url\":\"url\",\"content_type\":\"content_type\",\"secret\":\"secret\",\"insecure_ssl\":\"insecure_ssl\"}}'
    " + "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.superpro-preview+json\" \\\n http(s)://{hostname}/api/v3/admin/hooks/42 \\\n -d '{\"config\":{\"url\":\"url\",\"content_type\":\"content_type\",\"secret\":\"secret\",\"insecure_ssl\":\"insecure_ssl\"}}'", + "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.superpro-preview+json\" \\\n  http(s)://{hostname}/api/v3/admin/hooks/42 \\\n  -d '{\"config\":{\"url\":\"url\",\"content_type\":\"content_type\",\"secret\":\"secret\",\"insecure_ssl\":\"insecure_ssl\"}}'
    " }, { "lang": "JavaScript", @@ -893,7 +893,7 @@ { "verb": "delete", "requestPath": "/admin/hooks/{hook_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "accept", @@ -919,8 +919,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.superpro-preview+json\" \\\n https://api.github.com/admin/hooks/42", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.superpro-preview+json\" \\\n  https://api.github.com/admin/hooks/42
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.superpro-preview+json\" \\\n http(s)://{hostname}/api/v3/admin/hooks/42", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.superpro-preview+json\" \\\n  http(s)://{hostname}/api/v3/admin/hooks/42
    " }, { "lang": "JavaScript", @@ -962,7 +962,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "bodyParameters": [], @@ -971,7 +971,7 @@ { "verb": "post", "requestPath": "/admin/hooks/{hook_id}/pings", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "accept", @@ -997,8 +997,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.superpro-preview+json\" \\\n https://api.github.com/admin/hooks/42/pings", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.superpro-preview+json\" \\\n  https://api.github.com/admin/hooks/42/pings
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.superpro-preview+json\" \\\n http(s)://{hostname}/api/v3/admin/hooks/42/pings", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.superpro-preview+json\" \\\n  http(s)://{hostname}/api/v3/admin/hooks/42/pings
    " }, { "lang": "JavaScript", @@ -1040,7 +1040,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "bodyParameters": [], @@ -1049,7 +1049,7 @@ { "verb": "get", "requestPath": "/admin/keys", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "per_page", @@ -1070,13 +1070,53 @@ "default": 1 }, "descriptionHTML": "

    Page number of the results to fetch.

    " + }, + { + "name": "direction", + "description": "One of `asc` (ascending) or `desc` (descending).", + "in": "query", + "required": false, + "schema": { + "type": "string", + "enum": [ + "asc", + "desc" + ], + "default": "desc" + }, + "descriptionHTML": "

    One of asc (ascending) or desc (descending).

    " + }, + { + "name": "sort", + "in": "query", + "required": false, + "schema": { + "type": "string", + "enum": [ + "created", + "updated", + "accessed" + ], + "default": "created" + }, + "descriptionHTML": "" + }, + { + "name": "since", + "description": "Only show public keys accessed after the given time.", + "in": "query", + "required": false, + "schema": { + "type": "string" + }, + "descriptionHTML": "

    Only show public keys accessed after the given time.

    " } ], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/admin/keys", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/admin/keys
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/admin/keys", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/admin/keys
    " }, { "lang": "JavaScript", @@ -1121,7 +1161,7 @@ { "verb": "delete", "requestPath": "/admin/keys/{key_ids}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "key_ids", @@ -1136,8 +1176,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/admin/keys/KEY_IDS", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/admin/keys/KEY_IDS
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/admin/keys/KEY_IDS", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/admin/keys/KEY_IDS
    " }, { "lang": "JavaScript", @@ -1172,7 +1212,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "bodyParameters": [], @@ -1181,7 +1221,7 @@ { "verb": "patch", "requestPath": "/admin/ldap/teams/{team_id}/mapping", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "team_id", @@ -1196,8 +1236,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/admin/ldap/teams/42/mapping \\\n -d '{\"ldap_dn\":\"ldap_dn\"}'", - "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/admin/ldap/teams/42/mapping \\\n  -d '{\"ldap_dn\":\"ldap_dn\"}'
    " + "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/admin/ldap/teams/42/mapping \\\n -d '{\"ldap_dn\":\"ldap_dn\"}'", + "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/admin/ldap/teams/42/mapping \\\n  -d '{\"ldap_dn\":\"ldap_dn\"}'
    " }, { "lang": "JavaScript", @@ -1282,7 +1322,7 @@ { "verb": "post", "requestPath": "/admin/ldap/teams/{team_id}/sync", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "team_id", @@ -1297,8 +1337,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/admin/ldap/teams/42/sync", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/admin/ldap/teams/42/sync
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/admin/ldap/teams/42/sync", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/admin/ldap/teams/42/sync
    " }, { "lang": "JavaScript", @@ -1343,7 +1383,7 @@ { "verb": "patch", "requestPath": "/admin/ldap/users/{username}/mapping", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "username", @@ -1358,8 +1398,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/admin/ldap/users/USERNAME/mapping \\\n -d '{\"ldap_dn\":\"ldap_dn\"}'", - "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/admin/ldap/users/USERNAME/mapping \\\n  -d '{\"ldap_dn\":\"ldap_dn\"}'
    " + "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/admin/ldap/users/USERNAME/mapping \\\n -d '{\"ldap_dn\":\"ldap_dn\"}'", + "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/admin/ldap/users/USERNAME/mapping \\\n  -d '{\"ldap_dn\":\"ldap_dn\"}'
    " }, { "lang": "JavaScript", @@ -1437,7 +1477,7 @@ { "verb": "post", "requestPath": "/admin/ldap/users/{username}/sync", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "username", @@ -1452,8 +1492,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/admin/ldap/users/USERNAME/sync", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/admin/ldap/users/USERNAME/sync
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/admin/ldap/users/USERNAME/sync", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/admin/ldap/users/USERNAME/sync
    " }, { "lang": "JavaScript", @@ -1498,13 +1538,13 @@ { "verb": "post", "requestPath": "/admin/organizations", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/admin/organizations \\\n -d '{\"login\":\"login\",\"admin\":\"admin\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/admin/organizations \\\n  -d '{\"login\":\"login\",\"admin\":\"admin\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/admin/organizations \\\n -d '{\"login\":\"login\",\"admin\":\"admin\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/admin/organizations \\\n  -d '{\"login\":\"login\",\"admin\":\"admin\"}'
    " }, { "lang": "JavaScript", @@ -1624,7 +1664,7 @@ { "verb": "patch", "requestPath": "/admin/organizations/{org}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "org", @@ -1639,8 +1679,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/admin/organizations/ORG \\\n -d '{\"login\":\"login\"}'", - "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/admin/organizations/ORG \\\n  -d '{\"login\":\"login\"}'
    " + "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/admin/organizations/ORG \\\n -d '{\"login\":\"login\"}'", + "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/admin/organizations/ORG \\\n  -d '{\"login\":\"login\"}'
    " }, { "lang": "JavaScript", @@ -1721,7 +1761,7 @@ { "verb": "get", "requestPath": "/admin/pre-receive-environments", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "per_page", @@ -1742,13 +1782,43 @@ "default": 1 }, "descriptionHTML": "

    Page number of the results to fetch.

    " + }, + { + "name": "direction", + "description": "One of `asc` (ascending) or `desc` (descending).", + "in": "query", + "required": false, + "schema": { + "type": "string", + "enum": [ + "asc", + "desc" + ], + "default": "desc" + }, + "descriptionHTML": "

    One of asc (ascending) or desc (descending).

    " + }, + { + "name": "sort", + "in": "query", + "required": false, + "schema": { + "type": "string", + "enum": [ + "created", + "updated", + "name" + ], + "default": "created" + }, + "descriptionHTML": "" } ], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n https://api.github.com/admin/pre-receive-environments", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n  https://api.github.com/admin/pre-receive-environments
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n http(s)://{hostname}/api/v3/admin/pre-receive-environments", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n  http(s)://{hostname}/api/v3/admin/pre-receive-environments
    " }, { "lang": "JavaScript", @@ -1800,13 +1870,13 @@ { "verb": "post", "requestPath": "/admin/pre-receive-environments", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n https://api.github.com/admin/pre-receive-environments \\\n -d '{\"name\":\"name\",\"image_url\":\"image_url\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n  https://api.github.com/admin/pre-receive-environments \\\n  -d '{\"name\":\"name\",\"image_url\":\"image_url\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n http(s)://{hostname}/api/v3/admin/pre-receive-environments \\\n -d '{\"name\":\"name\",\"image_url\":\"image_url\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n  http(s)://{hostname}/api/v3/admin/pre-receive-environments \\\n  -d '{\"name\":\"name\",\"image_url\":\"image_url\"}'
    " }, { "lang": "JavaScript", @@ -1914,7 +1984,7 @@ { "verb": "get", "requestPath": "/admin/pre-receive-environments/{pre_receive_environment_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "pre_receive_environment_id", @@ -1929,8 +1999,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n https://api.github.com/admin/pre-receive-environments/42", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n  https://api.github.com/admin/pre-receive-environments/42
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n http(s)://{hostname}/api/v3/admin/pre-receive-environments/42", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n  http(s)://{hostname}/api/v3/admin/pre-receive-environments/42
    " }, { "lang": "JavaScript", @@ -1982,7 +2052,7 @@ { "verb": "patch", "requestPath": "/admin/pre-receive-environments/{pre_receive_environment_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "pre_receive_environment_id", @@ -1997,8 +2067,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n https://api.github.com/admin/pre-receive-environments/42 \\\n -d '{\"name\":\"name\"}'", - "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n  https://api.github.com/admin/pre-receive-environments/42 \\\n  -d '{\"name\":\"name\"}'
    " + "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n http(s)://{hostname}/api/v3/admin/pre-receive-environments/42 \\\n -d '{\"name\":\"name\"}'", + "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n  http(s)://{hostname}/api/v3/admin/pre-receive-environments/42 \\\n  -d '{\"name\":\"name\"}'
    " }, { "lang": "JavaScript", @@ -2104,7 +2174,7 @@ { "verb": "delete", "requestPath": "/admin/pre-receive-environments/{pre_receive_environment_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "pre_receive_environment_id", @@ -2119,8 +2189,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n https://api.github.com/admin/pre-receive-environments/42", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n  https://api.github.com/admin/pre-receive-environments/42
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n http(s)://{hostname}/api/v3/admin/pre-receive-environments/42", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n  http(s)://{hostname}/api/v3/admin/pre-receive-environments/42
    " }, { "lang": "JavaScript", @@ -2164,7 +2234,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "422", @@ -2177,7 +2247,7 @@ { "verb": "post", "requestPath": "/admin/pre-receive-environments/{pre_receive_environment_id}/downloads", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "pre_receive_environment_id", @@ -2192,8 +2262,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n https://api.github.com/admin/pre-receive-environments/42/downloads", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n  https://api.github.com/admin/pre-receive-environments/42/downloads
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n http(s)://{hostname}/api/v3/admin/pre-receive-environments/42/downloads", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n  http(s)://{hostname}/api/v3/admin/pre-receive-environments/42/downloads
    " }, { "lang": "JavaScript", @@ -2251,7 +2321,7 @@ { "verb": "get", "requestPath": "/admin/pre-receive-environments/{pre_receive_environment_id}/downloads/latest", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "pre_receive_environment_id", @@ -2266,8 +2336,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n https://api.github.com/admin/pre-receive-environments/42/downloads/latest", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n  https://api.github.com/admin/pre-receive-environments/42/downloads/latest
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n http(s)://{hostname}/api/v3/admin/pre-receive-environments/42/downloads/latest", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n  http(s)://{hostname}/api/v3/admin/pre-receive-environments/42/downloads/latest
    " }, { "lang": "JavaScript", @@ -2319,7 +2389,7 @@ { "verb": "get", "requestPath": "/admin/pre-receive-hooks", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "per_page", @@ -2340,13 +2410,44 @@ "default": 1 }, "descriptionHTML": "

    Page number of the results to fetch.

    " + }, + { + "name": "direction", + "description": "One of `asc` (ascending) or `desc` (descending).", + "in": "query", + "required": false, + "schema": { + "type": "string", + "enum": [ + "asc", + "desc" + ], + "default": "desc" + }, + "descriptionHTML": "

    One of asc (ascending) or desc (descending).

    " + }, + { + "name": "sort", + "description": "One of `created` (when the repository was starred) or `updated` (when it was last pushed to) or `name`.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "enum": [ + "created", + "updated", + "name" + ], + "default": "created" + }, + "descriptionHTML": "

    One of created (when the repository was starred) or updated (when it was last pushed to) or name.

    " } ], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n https://api.github.com/admin/pre-receive-hooks", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n  https://api.github.com/admin/pre-receive-hooks
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n http(s)://{hostname}/api/v3/admin/pre-receive-hooks", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n  http(s)://{hostname}/api/v3/admin/pre-receive-hooks
    " }, { "lang": "JavaScript", @@ -2398,13 +2499,13 @@ { "verb": "post", "requestPath": "/admin/pre-receive-hooks", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n https://api.github.com/admin/pre-receive-hooks \\\n -d '{\"name\":\"name\",\"script\":\"script\",\"script_repository\":{},\"environment\":{}}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n  https://api.github.com/admin/pre-receive-hooks \\\n  -d '{\"name\":\"name\",\"script\":\"script\",\"script_repository\":{},\"environment\":{}}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n http(s)://{hostname}/api/v3/admin/pre-receive-hooks \\\n -d '{\"name\":\"name\",\"script\":\"script\",\"script_repository\":{},\"environment\":{}}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n  http(s)://{hostname}/api/v3/admin/pre-receive-hooks \\\n  -d '{\"name\":\"name\",\"script\":\"script\",\"script_repository\":{},\"environment\":{}}'
    " }, { "lang": "JavaScript", @@ -2602,7 +2703,7 @@ { "verb": "get", "requestPath": "/admin/pre-receive-hooks/{pre_receive_hook_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "pre_receive_hook_id", @@ -2617,8 +2718,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n https://api.github.com/admin/pre-receive-hooks/42", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n  https://api.github.com/admin/pre-receive-hooks/42
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n http(s)://{hostname}/api/v3/admin/pre-receive-hooks/42", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n  http(s)://{hostname}/api/v3/admin/pre-receive-hooks/42
    " }, { "lang": "JavaScript", @@ -2670,7 +2771,7 @@ { "verb": "patch", "requestPath": "/admin/pre-receive-hooks/{pre_receive_hook_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "pre_receive_hook_id", @@ -2685,8 +2786,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n https://api.github.com/admin/pre-receive-hooks/42 \\\n -d '{\"name\":\"name\"}'", - "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n  https://api.github.com/admin/pre-receive-hooks/42 \\\n  -d '{\"name\":\"name\"}'
    " + "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n http(s)://{hostname}/api/v3/admin/pre-receive-hooks/42 \\\n -d '{\"name\":\"name\"}'", + "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n  http(s)://{hostname}/api/v3/admin/pre-receive-hooks/42 \\\n  -d '{\"name\":\"name\"}'
    " }, { "lang": "JavaScript", @@ -2873,7 +2974,7 @@ { "verb": "delete", "requestPath": "/admin/pre-receive-hooks/{pre_receive_hook_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "pre_receive_hook_id", @@ -2888,8 +2989,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n https://api.github.com/admin/pre-receive-hooks/42", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n  https://api.github.com/admin/pre-receive-hooks/42
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n http(s)://{hostname}/api/v3/admin/pre-receive-hooks/42", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n  http(s)://{hostname}/api/v3/admin/pre-receive-hooks/42
    " }, { "lang": "JavaScript", @@ -2931,7 +3032,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "bodyParameters": [], @@ -2940,7 +3041,7 @@ { "verb": "get", "requestPath": "/admin/tokens", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "per_page", @@ -2966,8 +3067,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/admin/tokens", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/admin/tokens
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/admin/tokens", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/admin/tokens
    " }, { "lang": "JavaScript", @@ -3012,7 +3113,7 @@ { "verb": "delete", "requestPath": "/admin/tokens/{token_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "token_id", @@ -3027,8 +3128,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/admin/tokens/42", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/admin/tokens/42
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/admin/tokens/42", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/admin/tokens/42
    " }, { "lang": "JavaScript", @@ -3063,7 +3164,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "bodyParameters": [], @@ -3072,13 +3173,13 @@ { "verb": "post", "requestPath": "/admin/users", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/admin/users \\\n -d '{\"login\":\"login\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/admin/users \\\n  -d '{\"login\":\"login\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/admin/users \\\n -d '{\"login\":\"login\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/admin/users \\\n  -d '{\"login\":\"login\"}'
    " }, { "lang": "JavaScript", @@ -3178,7 +3279,7 @@ { "verb": "patch", "requestPath": "/admin/users/{username}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "username", @@ -3193,8 +3294,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/admin/users/USERNAME \\\n -d '{\"login\":\"login\"}'", - "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/admin/users/USERNAME \\\n  -d '{\"login\":\"login\"}'
    " + "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/admin/users/USERNAME \\\n -d '{\"login\":\"login\"}'", + "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/admin/users/USERNAME \\\n  -d '{\"login\":\"login\"}'
    " }, { "lang": "JavaScript", @@ -3275,7 +3376,7 @@ { "verb": "delete", "requestPath": "/admin/users/{username}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "username", @@ -3290,8 +3391,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/admin/users/USERNAME", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/admin/users/USERNAME
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/admin/users/USERNAME", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/admin/users/USERNAME
    " }, { "lang": "JavaScript", @@ -3326,7 +3427,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "bodyParameters": [], @@ -3335,7 +3436,7 @@ { "verb": "post", "requestPath": "/admin/users/{username}/authorizations", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "username", @@ -3350,8 +3451,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/admin/users/USERNAME/authorizations \\\n -d '{\"scopes\":[\"scopes\"]}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/admin/users/USERNAME/authorizations \\\n  -d '{\"scopes\":[\"scopes\"]}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/admin/users/USERNAME/authorizations \\\n -d '{\"scopes\":[\"scopes\"]}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/admin/users/USERNAME/authorizations \\\n  -d '{\"scopes\":[\"scopes\"]}'
    " }, { "lang": "JavaScript", @@ -3432,7 +3533,7 @@ { "verb": "delete", "requestPath": "/admin/users/{username}/authorizations", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "username", @@ -3447,8 +3548,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/admin/users/USERNAME/authorizations", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/admin/users/USERNAME/authorizations
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/admin/users/USERNAME/authorizations", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/admin/users/USERNAME/authorizations
    " }, { "lang": "JavaScript", @@ -3483,7 +3584,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "bodyParameters": [], @@ -3492,13 +3593,13 @@ { "verb": "get", "requestPath": "/app", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/app", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/app
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/app", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/app
    " }, { "lang": "JavaScript", @@ -3541,7 +3642,7 @@ { "verb": "post", "requestPath": "/app-manifests/{code}/conversions", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "code", @@ -3556,8 +3657,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/app-manifests/CODE/conversions", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/app-manifests/CODE/conversions
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/app-manifests/CODE/conversions", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/app-manifests/CODE/conversions
    " }, { "lang": "JavaScript", @@ -3610,7 +3711,7 @@ { "verb": "get", "requestPath": "/app/installations", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "per_page", @@ -3655,8 +3756,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/app/installations", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/app/installations
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/app/installations", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/app/installations
    " }, { "lang": "JavaScript", @@ -3699,7 +3800,7 @@ { "verb": "get", "requestPath": "/app/installations/{installation_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "installation_id", @@ -3715,8 +3816,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/app/installations/42", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/app/installations/42
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/app/installations/42", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/app/installations/42
    " }, { "lang": "JavaScript", @@ -3769,7 +3870,7 @@ { "verb": "delete", "requestPath": "/app/installations/{installation_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "installation_id", @@ -3785,8 +3886,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/app/installations/42", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/app/installations/42
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/app/installations/42", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/app/installations/42
    " }, { "lang": "JavaScript", @@ -3819,7 +3920,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "404", @@ -3833,7 +3934,7 @@ { "verb": "post", "requestPath": "/app/installations/{installation_id}/access_tokens", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "installation_id", @@ -3849,8 +3950,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/app/installations/42/access_tokens \\\n -d '{\"repositories\":[\"repositories\"]}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/app/installations/42/access_tokens \\\n  -d '{\"repositories\":[\"repositories\"]}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/app/installations/42/access_tokens \\\n -d '{\"repositories\":[\"repositories\"]}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/app/installations/42/access_tokens \\\n  -d '{\"repositories\":[\"repositories\"]}'
    " }, { "lang": "JavaScript", @@ -5594,7 +5695,7 @@ { "verb": "put", "requestPath": "/app/installations/{installation_id}/suspended", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "installation_id", @@ -5610,8 +5711,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/app/installations/42/suspended", - "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/app/installations/42/suspended
    " + "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/app/installations/42/suspended", + "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/app/installations/42/suspended
    " }, { "lang": "JavaScript", @@ -5644,7 +5745,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "404", @@ -5658,7 +5759,7 @@ { "verb": "delete", "requestPath": "/app/installations/{installation_id}/suspended", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "installation_id", @@ -5674,8 +5775,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/app/installations/42/suspended", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/app/installations/42/suspended
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/app/installations/42/suspended", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/app/installations/42/suspended
    " }, { "lang": "JavaScript", @@ -5708,7 +5809,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "404", @@ -5722,7 +5823,7 @@ { "verb": "get", "requestPath": "/applications/grants", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "per_page", @@ -5743,13 +5844,23 @@ "default": 1 }, "descriptionHTML": "

    Page number of the results to fetch.

    " + }, + { + "name": "client_id", + "in": "query", + "required": false, + "description": "The client ID of your GitHub app.", + "schema": { + "type": "string" + }, + "descriptionHTML": "

    The client ID of your GitHub app.

    " } ], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/applications/grants", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/applications/grants
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/applications/grants", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/applications/grants
    " }, { "lang": "JavaScript", @@ -5815,7 +5926,7 @@ { "verb": "get", "requestPath": "/applications/grants/{grant_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "grant_id", @@ -5831,8 +5942,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/applications/grants/42", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/applications/grants/42
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/applications/grants/42", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/applications/grants/42
    " }, { "lang": "JavaScript", @@ -5893,7 +6004,7 @@ { "verb": "delete", "requestPath": "/applications/grants/{grant_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "grant_id", @@ -5909,8 +6020,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/applications/grants/42", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/applications/grants/42
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/applications/grants/42", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/applications/grants/42
    " }, { "lang": "JavaScript", @@ -5946,7 +6057,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "304", @@ -5970,7 +6081,7 @@ { "verb": "delete", "requestPath": "/applications/{client_id}/grant", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "client_id", @@ -5986,8 +6097,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/applications/CLIENT_ID/grant \\\n -d '{\"access_token\":\"access_token\"}'", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/applications/CLIENT_ID/grant \\\n  -d '{\"access_token\":\"access_token\"}'
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/applications/CLIENT_ID/grant \\\n -d '{\"access_token\":\"access_token\"}'", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/applications/CLIENT_ID/grant \\\n  -d '{\"access_token\":\"access_token\"}'
    " }, { "lang": "JavaScript", @@ -6045,7 +6156,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "422", @@ -6069,7 +6180,7 @@ { "verb": "delete", "requestPath": "/applications/{client_id}/grants/{access_token}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "client_id", @@ -6094,8 +6205,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/applications/CLIENT_ID/grants/ACCESS_TOKEN", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/applications/CLIENT_ID/grants/ACCESS_TOKEN
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/applications/CLIENT_ID/grants/ACCESS_TOKEN", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/applications/CLIENT_ID/grants/ACCESS_TOKEN
    " }, { "lang": "JavaScript", @@ -6133,7 +6244,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "bodyParameters": [], @@ -6142,7 +6253,7 @@ { "verb": "post", "requestPath": "/applications/{client_id}/token", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "client_id", @@ -6158,8 +6269,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/applications/CLIENT_ID/token \\\n -d '{\"access_token\":\"access_token\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/applications/CLIENT_ID/token \\\n  -d '{\"access_token\":\"access_token\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/applications/CLIENT_ID/token \\\n -d '{\"access_token\":\"access_token\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/applications/CLIENT_ID/token \\\n  -d '{\"access_token\":\"access_token\"}'
    " }, { "lang": "JavaScript", @@ -6247,7 +6358,7 @@ { "verb": "patch", "requestPath": "/applications/{client_id}/token", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "client_id", @@ -6263,8 +6374,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/applications/CLIENT_ID/token \\\n -d '{\"access_token\":\"access_token\"}'", - "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/applications/CLIENT_ID/token \\\n  -d '{\"access_token\":\"access_token\"}'
    " + "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/applications/CLIENT_ID/token \\\n -d '{\"access_token\":\"access_token\"}'", + "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/applications/CLIENT_ID/token \\\n  -d '{\"access_token\":\"access_token\"}'
    " }, { "lang": "JavaScript", @@ -6347,7 +6458,7 @@ { "verb": "delete", "requestPath": "/applications/{client_id}/token", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "client_id", @@ -6363,8 +6474,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/applications/CLIENT_ID/token \\\n -d '{\"access_token\":\"access_token\"}'", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/applications/CLIENT_ID/token \\\n  -d '{\"access_token\":\"access_token\"}'
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/applications/CLIENT_ID/token \\\n -d '{\"access_token\":\"access_token\"}'", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/applications/CLIENT_ID/token \\\n  -d '{\"access_token\":\"access_token\"}'
    " }, { "lang": "JavaScript", @@ -6425,7 +6536,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "422", @@ -6449,7 +6560,7 @@ { "verb": "get", "requestPath": "/applications/{client_id}/tokens/{access_token}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "client_id", @@ -6474,8 +6585,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/applications/CLIENT_ID/tokens/ACCESS_TOKEN", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/applications/CLIENT_ID/tokens/ACCESS_TOKEN
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/applications/CLIENT_ID/tokens/ACCESS_TOKEN", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/applications/CLIENT_ID/tokens/ACCESS_TOKEN
    " }, { "lang": "JavaScript", @@ -6528,7 +6639,7 @@ { "verb": "post", "requestPath": "/applications/{client_id}/tokens/{access_token}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "client_id", @@ -6553,8 +6664,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/applications/CLIENT_ID/tokens/ACCESS_TOKEN", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/applications/CLIENT_ID/tokens/ACCESS_TOKEN
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/applications/CLIENT_ID/tokens/ACCESS_TOKEN", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/applications/CLIENT_ID/tokens/ACCESS_TOKEN
    " }, { "lang": "JavaScript", @@ -6602,7 +6713,7 @@ { "verb": "delete", "requestPath": "/applications/{client_id}/tokens/{access_token}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "client_id", @@ -6627,8 +6738,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/applications/CLIENT_ID/tokens/ACCESS_TOKEN", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/applications/CLIENT_ID/tokens/ACCESS_TOKEN
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/applications/CLIENT_ID/tokens/ACCESS_TOKEN", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/applications/CLIENT_ID/tokens/ACCESS_TOKEN
    " }, { "lang": "JavaScript", @@ -6666,7 +6777,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "bodyParameters": [], @@ -6675,7 +6786,7 @@ { "verb": "get", "requestPath": "/apps/{app_slug}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "app_slug", @@ -6690,8 +6801,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/apps/APP_SLUG", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/apps/APP_SLUG
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/apps/APP_SLUG", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/apps/APP_SLUG
    " }, { "lang": "JavaScript", @@ -6749,7 +6860,7 @@ { "verb": "get", "requestPath": "/authorizations", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "per_page", @@ -6770,13 +6881,23 @@ "default": 1 }, "descriptionHTML": "

    Page number of the results to fetch.

    " + }, + { + "name": "client_id", + "in": "query", + "required": false, + "description": "The client ID of your GitHub app.", + "schema": { + "type": "string" + }, + "descriptionHTML": "

    The client ID of your GitHub app.

    " } ], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/authorizations", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/authorizations
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/authorizations", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/authorizations
    " }, { "lang": "JavaScript", @@ -6842,13 +6963,13 @@ { "verb": "post", "requestPath": "/authorizations", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/authorizations \\\n -d '{\"scopes\":[\"scopes\"]}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/authorizations \\\n  -d '{\"scopes\":[\"scopes\"]}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/authorizations \\\n -d '{\"scopes\":[\"scopes\"]}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/authorizations \\\n  -d '{\"scopes\":[\"scopes\"]}'
    " }, { "lang": "JavaScript", @@ -7061,7 +7182,7 @@ { "verb": "put", "requestPath": "/authorizations/clients/{client_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "client_id", @@ -7077,8 +7198,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/authorizations/clients/CLIENT_ID \\\n -d '{\"client_secret\":\"client_secret\"}'", - "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/authorizations/clients/CLIENT_ID \\\n  -d '{\"client_secret\":\"client_secret\"}'
    " + "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/authorizations/clients/CLIENT_ID \\\n -d '{\"client_secret\":\"client_secret\"}'", + "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/authorizations/clients/CLIENT_ID \\\n  -d '{\"client_secret\":\"client_secret\"}'
    " }, { "lang": "JavaScript", @@ -7275,7 +7396,7 @@ { "verb": "put", "requestPath": "/authorizations/clients/{client_id}/{fingerprint}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "client_id", @@ -7300,8 +7421,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/authorizations/clients/CLIENT_ID/FINGERPRINT \\\n -d '{\"client_secret\":\"client_secret\"}'", - "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/authorizations/clients/CLIENT_ID/FINGERPRINT \\\n  -d '{\"client_secret\":\"client_secret\"}'
    " + "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/authorizations/clients/CLIENT_ID/FINGERPRINT \\\n -d '{\"client_secret\":\"client_secret\"}'", + "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/authorizations/clients/CLIENT_ID/FINGERPRINT \\\n  -d '{\"client_secret\":\"client_secret\"}'
    " }, { "lang": "JavaScript", @@ -7465,7 +7586,7 @@ { "verb": "get", "requestPath": "/authorizations/{authorization_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "authorization_id", @@ -7481,8 +7602,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/authorizations/42", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/authorizations/42
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/authorizations/42", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/authorizations/42
    " }, { "lang": "JavaScript", @@ -7543,7 +7664,7 @@ { "verb": "patch", "requestPath": "/authorizations/{authorization_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "authorization_id", @@ -7559,8 +7680,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/authorizations/42 \\\n -d '{\"scopes\":[\"scopes\"]}'", - "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/authorizations/42 \\\n  -d '{\"scopes\":[\"scopes\"]}'
    " + "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/authorizations/42 \\\n -d '{\"scopes\":[\"scopes\"]}'", + "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/authorizations/42 \\\n  -d '{\"scopes\":[\"scopes\"]}'
    " }, { "lang": "JavaScript", @@ -7761,7 +7882,7 @@ { "verb": "delete", "requestPath": "/authorizations/{authorization_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "authorization_id", @@ -7777,8 +7898,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/authorizations/42", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/authorizations/42
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/authorizations/42", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/authorizations/42
    " }, { "lang": "JavaScript", @@ -7814,7 +7935,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "304", @@ -7838,13 +7959,13 @@ { "verb": "get", "requestPath": "/codes_of_conduct", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.scarlet-witch-preview+json\" \\\n https://api.github.com/codes_of_conduct", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.scarlet-witch-preview+json\" \\\n  https://api.github.com/codes_of_conduct
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.scarlet-witch-preview+json\" \\\n http(s)://{hostname}/api/v3/codes_of_conduct", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.scarlet-witch-preview+json\" \\\n  http(s)://{hostname}/api/v3/codes_of_conduct
    " }, { "lang": "JavaScript", @@ -7904,7 +8025,7 @@ { "verb": "get", "requestPath": "/codes_of_conduct/{key}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "key", @@ -7919,8 +8040,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.scarlet-witch-preview+json\" \\\n https://api.github.com/codes_of_conduct/KEY", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.scarlet-witch-preview+json\" \\\n  https://api.github.com/codes_of_conduct/KEY
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.scarlet-witch-preview+json\" \\\n http(s)://{hostname}/api/v3/codes_of_conduct/KEY", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.scarlet-witch-preview+json\" \\\n  http(s)://{hostname}/api/v3/codes_of_conduct/KEY
    " }, { "lang": "JavaScript", @@ -7985,7 +8106,7 @@ { "verb": "post", "requestPath": "/content_references/{content_reference_id}/attachments", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "content_reference_id", @@ -8000,8 +8121,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.corsair-preview+json\" \\\n https://api.github.com/content_references/42/attachments \\\n -d '{\"title\":\"title\",\"body\":\"body\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.corsair-preview+json\" \\\n  https://api.github.com/content_references/42/attachments \\\n  -d '{\"title\":\"title\",\"body\":\"body\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.corsair-preview+json\" \\\n http(s)://{hostname}/api/v3/content_references/42/attachments \\\n -d '{\"title\":\"title\",\"body\":\"body\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.corsair-preview+json\" \\\n  http(s)://{hostname}/api/v3/content_references/42/attachments \\\n  -d '{\"title\":\"title\",\"body\":\"body\"}'
    " }, { "lang": "JavaScript", @@ -8143,13 +8264,13 @@ { "verb": "get", "requestPath": "/emojis", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/emojis", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/emojis
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/emojis", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/emojis
    " }, { "lang": "JavaScript", @@ -8196,13 +8317,13 @@ { "verb": "get", "requestPath": "/enterprise/settings/license", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/enterprise/settings/license", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/enterprise/settings/license
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/enterprise/settings/license", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/enterprise/settings/license
    " }, { "lang": "JavaScript", @@ -8247,7 +8368,7 @@ { "verb": "get", "requestPath": "/enterprise/stats/{type}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "type", @@ -8262,8 +8383,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/enterprise/stats/TYPE", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/enterprise/stats/TYPE
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/enterprise/stats/TYPE", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/enterprise/stats/TYPE
    " }, { "lang": "JavaScript", @@ -8308,7 +8429,7 @@ { "verb": "get", "requestPath": "/enterprises/{enterprise}/actions/runner-groups", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "enterprise", @@ -8344,8 +8465,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/enterprises/ENTERPRISE/actions/runner-groups", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/enterprises/ENTERPRISE/actions/runner-groups
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/enterprises/ENTERPRISE/actions/runner-groups", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/enterprises/ENTERPRISE/actions/runner-groups
    " }, { "lang": "JavaScript", @@ -8390,7 +8511,7 @@ { "verb": "post", "requestPath": "/enterprises/{enterprise}/actions/runner-groups", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "enterprise", @@ -8406,8 +8527,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/enterprises/ENTERPRISE/actions/runner-groups \\\n -d '{\"name\":\"name\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/enterprises/ENTERPRISE/actions/runner-groups \\\n  -d '{\"name\":\"name\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/enterprises/ENTERPRISE/actions/runner-groups \\\n -d '{\"name\":\"name\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/enterprises/ENTERPRISE/actions/runner-groups \\\n  -d '{\"name\":\"name\"}'
    " }, { "lang": "JavaScript", @@ -8575,7 +8696,7 @@ { "verb": "get", "requestPath": "/enterprises/{enterprise}/actions/runner-groups/{runner_group_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "enterprise", @@ -8601,8 +8722,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/enterprises/ENTERPRISE/actions/runner-groups/42", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/enterprises/ENTERPRISE/actions/runner-groups/42
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/enterprises/ENTERPRISE/actions/runner-groups/42", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/enterprises/ENTERPRISE/actions/runner-groups/42
    " }, { "lang": "JavaScript", @@ -8647,7 +8768,7 @@ { "verb": "patch", "requestPath": "/enterprises/{enterprise}/actions/runner-groups/{runner_group_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "enterprise", @@ -8673,8 +8794,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/enterprises/ENTERPRISE/actions/runner-groups/42 \\\n -d '{\"name\":\"name\"}'", - "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/enterprises/ENTERPRISE/actions/runner-groups/42 \\\n  -d '{\"name\":\"name\"}'
    " + "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/enterprises/ENTERPRISE/actions/runner-groups/42 \\\n -d '{\"name\":\"name\"}'", + "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/enterprises/ENTERPRISE/actions/runner-groups/42 \\\n  -d '{\"name\":\"name\"}'
    " }, { "lang": "JavaScript", @@ -8781,7 +8902,7 @@ { "verb": "delete", "requestPath": "/enterprises/{enterprise}/actions/runner-groups/{runner_group_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "enterprise", @@ -8807,8 +8928,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/enterprises/ENTERPRISE/actions/runner-groups/42", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/enterprises/ENTERPRISE/actions/runner-groups/42
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/enterprises/ENTERPRISE/actions/runner-groups/42", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/enterprises/ENTERPRISE/actions/runner-groups/42
    " }, { "lang": "JavaScript", @@ -8843,7 +8964,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "bodyParameters": [], @@ -8852,7 +8973,7 @@ { "verb": "get", "requestPath": "/enterprises/{enterprise}/actions/runner-groups/{runner_group_id}/organizations", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "enterprise", @@ -8898,8 +9019,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/enterprises/ENTERPRISE/actions/runner-groups/42/organizations", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/enterprises/ENTERPRISE/actions/runner-groups/42/organizations
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/enterprises/ENTERPRISE/actions/runner-groups/42/organizations", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/enterprises/ENTERPRISE/actions/runner-groups/42/organizations
    " }, { "lang": "JavaScript", @@ -8944,7 +9065,7 @@ { "verb": "put", "requestPath": "/enterprises/{enterprise}/actions/runner-groups/{runner_group_id}/organizations", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "enterprise", @@ -8970,8 +9091,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/enterprises/ENTERPRISE/actions/runner-groups/42/organizations \\\n -d '{\"selected_organization_ids\":[42]}'", - "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/enterprises/ENTERPRISE/actions/runner-groups/42/organizations \\\n  -d '{\"selected_organization_ids\":[42]}'
    " + "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/enterprises/ENTERPRISE/actions/runner-groups/42/organizations \\\n -d '{\"selected_organization_ids\":[42]}'", + "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/enterprises/ENTERPRISE/actions/runner-groups/42/organizations \\\n  -d '{\"selected_organization_ids\":[42]}'
    " }, { "lang": "JavaScript", @@ -9039,7 +9160,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "descriptionHTML": "

    Replaces the list of organizations that have access to a self-hosted runner configured in an enterprise.

    \n

    You must authenticate using an access token with the admin:enterprise scope to use this endpoint.

    ", @@ -9062,7 +9183,7 @@ { "verb": "put", "requestPath": "/enterprises/{enterprise}/actions/runner-groups/{runner_group_id}/organizations/{org_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "enterprise", @@ -9098,8 +9219,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/enterprises/ENTERPRISE/actions/runner-groups/42/organizations/42", - "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/enterprises/ENTERPRISE/actions/runner-groups/42/organizations/42
    " + "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/enterprises/ENTERPRISE/actions/runner-groups/42/organizations/42", + "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/enterprises/ENTERPRISE/actions/runner-groups/42/organizations/42
    " }, { "lang": "JavaScript", @@ -9134,7 +9255,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "bodyParameters": [], @@ -9143,7 +9264,7 @@ { "verb": "delete", "requestPath": "/enterprises/{enterprise}/actions/runner-groups/{runner_group_id}/organizations/{org_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "enterprise", @@ -9179,8 +9300,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/enterprises/ENTERPRISE/actions/runner-groups/42/organizations/42", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/enterprises/ENTERPRISE/actions/runner-groups/42/organizations/42
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/enterprises/ENTERPRISE/actions/runner-groups/42/organizations/42", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/enterprises/ENTERPRISE/actions/runner-groups/42/organizations/42
    " }, { "lang": "JavaScript", @@ -9215,7 +9336,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "bodyParameters": [], @@ -9224,7 +9345,7 @@ { "verb": "get", "requestPath": "/enterprises/{enterprise}/actions/runner-groups/{runner_group_id}/runners", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "enterprise", @@ -9270,8 +9391,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/enterprises/ENTERPRISE/actions/runner-groups/42/runners", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/enterprises/ENTERPRISE/actions/runner-groups/42/runners
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/enterprises/ENTERPRISE/actions/runner-groups/42/runners", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/enterprises/ENTERPRISE/actions/runner-groups/42/runners
    " }, { "lang": "JavaScript", @@ -9316,7 +9437,7 @@ { "verb": "put", "requestPath": "/enterprises/{enterprise}/actions/runner-groups/{runner_group_id}/runners", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "enterprise", @@ -9342,8 +9463,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/enterprises/ENTERPRISE/actions/runner-groups/42/runners \\\n -d '{\"runners\":[42]}'", - "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/enterprises/ENTERPRISE/actions/runner-groups/42/runners \\\n  -d '{\"runners\":[42]}'
    " + "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/enterprises/ENTERPRISE/actions/runner-groups/42/runners \\\n -d '{\"runners\":[42]}'", + "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/enterprises/ENTERPRISE/actions/runner-groups/42/runners \\\n  -d '{\"runners\":[42]}'
    " }, { "lang": "JavaScript", @@ -9411,7 +9532,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "descriptionHTML": "

    Replaces the list of self-hosted runners that are part of an enterprise runner group.

    \n

    You must authenticate using an access token with the admin:enterprise scope to use this endpoint.

    ", @@ -9434,7 +9555,7 @@ { "verb": "put", "requestPath": "/enterprises/{enterprise}/actions/runner-groups/{runner_group_id}/runners/{runner_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "enterprise", @@ -9470,8 +9591,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/enterprises/ENTERPRISE/actions/runner-groups/42/runners/42", - "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/enterprises/ENTERPRISE/actions/runner-groups/42/runners/42
    " + "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/enterprises/ENTERPRISE/actions/runner-groups/42/runners/42", + "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/enterprises/ENTERPRISE/actions/runner-groups/42/runners/42
    " }, { "lang": "JavaScript", @@ -9506,7 +9627,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "bodyParameters": [], @@ -9515,7 +9636,7 @@ { "verb": "delete", "requestPath": "/enterprises/{enterprise}/actions/runner-groups/{runner_group_id}/runners/{runner_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "enterprise", @@ -9551,8 +9672,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/enterprises/ENTERPRISE/actions/runner-groups/42/runners/42", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/enterprises/ENTERPRISE/actions/runner-groups/42/runners/42
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/enterprises/ENTERPRISE/actions/runner-groups/42/runners/42", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/enterprises/ENTERPRISE/actions/runner-groups/42/runners/42
    " }, { "lang": "JavaScript", @@ -9587,7 +9708,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "bodyParameters": [], @@ -9596,7 +9717,7 @@ { "verb": "get", "requestPath": "/enterprises/{enterprise}/actions/runners", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "enterprise", @@ -9632,8 +9753,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/enterprises/ENTERPRISE/actions/runners", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/enterprises/ENTERPRISE/actions/runners
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/enterprises/ENTERPRISE/actions/runners", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/enterprises/ENTERPRISE/actions/runners
    " }, { "lang": "JavaScript", @@ -9678,7 +9799,7 @@ { "verb": "get", "requestPath": "/enterprises/{enterprise}/actions/runners/downloads", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "enterprise", @@ -9694,8 +9815,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/enterprises/ENTERPRISE/actions/runners/downloads", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/enterprises/ENTERPRISE/actions/runners/downloads
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/enterprises/ENTERPRISE/actions/runners/downloads", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/enterprises/ENTERPRISE/actions/runners/downloads
    " }, { "lang": "JavaScript", @@ -9740,7 +9861,7 @@ { "verb": "post", "requestPath": "/enterprises/{enterprise}/actions/runners/registration-token", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "enterprise", @@ -9756,8 +9877,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/enterprises/ENTERPRISE/actions/runners/registration-token", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/enterprises/ENTERPRISE/actions/runners/registration-token
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/enterprises/ENTERPRISE/actions/runners/registration-token", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/enterprises/ENTERPRISE/actions/runners/registration-token
    " }, { "lang": "JavaScript", @@ -9802,7 +9923,7 @@ { "verb": "post", "requestPath": "/enterprises/{enterprise}/actions/runners/remove-token", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "enterprise", @@ -9818,8 +9939,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/enterprises/ENTERPRISE/actions/runners/remove-token", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/enterprises/ENTERPRISE/actions/runners/remove-token
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/enterprises/ENTERPRISE/actions/runners/remove-token", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/enterprises/ENTERPRISE/actions/runners/remove-token
    " }, { "lang": "JavaScript", @@ -9864,7 +9985,7 @@ { "verb": "get", "requestPath": "/enterprises/{enterprise}/actions/runners/{runner_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "enterprise", @@ -9890,8 +10011,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/enterprises/ENTERPRISE/actions/runners/42", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/enterprises/ENTERPRISE/actions/runners/42
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/enterprises/ENTERPRISE/actions/runners/42", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/enterprises/ENTERPRISE/actions/runners/42
    " }, { "lang": "JavaScript", @@ -9936,7 +10057,7 @@ { "verb": "delete", "requestPath": "/enterprises/{enterprise}/actions/runners/{runner_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "enterprise", @@ -9962,8 +10083,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/enterprises/ENTERPRISE/actions/runners/42", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/enterprises/ENTERPRISE/actions/runners/42
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/enterprises/ENTERPRISE/actions/runners/42", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/enterprises/ENTERPRISE/actions/runners/42
    " }, { "lang": "JavaScript", @@ -9998,7 +10119,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "bodyParameters": [], @@ -10007,7 +10128,7 @@ { "verb": "get", "requestPath": "/events", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "per_page", @@ -10033,8 +10154,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/events", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/events
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/events", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/events
    " }, { "lang": "JavaScript", @@ -10093,13 +10214,13 @@ { "verb": "get", "requestPath": "/feeds", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/feeds", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/feeds
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/feeds", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/feeds
    " }, { "lang": "JavaScript", @@ -10144,7 +10265,7 @@ { "verb": "get", "requestPath": "/gists", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "since", @@ -10180,8 +10301,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/gists", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/gists
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/gists", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/gists
    " }, { "lang": "JavaScript", @@ -10234,13 +10355,13 @@ { "verb": "post", "requestPath": "/gists", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/gists \\\n -d '{\"files\":{}}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/gists \\\n  -d '{\"files\":{}}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/gists \\\n -d '{\"files\":{}}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/gists \\\n  -d '{\"files\":{}}'
    " }, { "lang": "JavaScript", @@ -10438,7 +10559,7 @@ { "verb": "get", "requestPath": "/gists/public", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "since", @@ -10474,8 +10595,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/gists/public", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/gists/public
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/gists/public", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/gists/public
    " }, { "lang": "JavaScript", @@ -10533,7 +10654,7 @@ { "verb": "get", "requestPath": "/gists/starred", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "since", @@ -10569,8 +10690,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/gists/starred", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/gists/starred
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/gists/starred", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/gists/starred
    " }, { "lang": "JavaScript", @@ -10628,7 +10749,7 @@ { "verb": "get", "requestPath": "/gists/{gist_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "gist_id", @@ -10644,8 +10765,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/gists/GIST_ID", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/gists/GIST_ID
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/gists/GIST_ID", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/gists/GIST_ID
    " }, { "lang": "JavaScript", @@ -10703,7 +10824,7 @@ { "verb": "patch", "requestPath": "/gists/{gist_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "gist_id", @@ -10719,8 +10840,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/gists/GIST_ID \\\n -d '{\"description\":\"description\"}'", - "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/gists/GIST_ID \\\n  -d '{\"description\":\"description\"}'
    " + "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/gists/GIST_ID \\\n -d '{\"description\":\"description\"}'", + "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/gists/GIST_ID \\\n  -d '{\"description\":\"description\"}'
    " }, { "lang": "JavaScript", @@ -10910,7 +11031,7 @@ { "verb": "delete", "requestPath": "/gists/{gist_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "gist_id", @@ -10926,8 +11047,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/gists/GIST_ID", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/gists/GIST_ID
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/gists/GIST_ID", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/gists/GIST_ID
    " }, { "lang": "JavaScript", @@ -10960,7 +11081,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "304", @@ -10984,7 +11105,7 @@ { "verb": "get", "requestPath": "/gists/{gist_id}/comments", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "gist_id", @@ -11020,8 +11141,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/gists/GIST_ID/comments", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/gists/GIST_ID/comments
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/gists/GIST_ID/comments", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/gists/GIST_ID/comments
    " }, { "lang": "JavaScript", @@ -11081,7 +11202,7 @@ { "verb": "post", "requestPath": "/gists/{gist_id}/comments", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "gist_id", @@ -11097,8 +11218,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/gists/GIST_ID/comments \\\n -d '{\"body\":\"body\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/gists/GIST_ID/comments \\\n  -d '{\"body\":\"body\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/gists/GIST_ID/comments \\\n -d '{\"body\":\"body\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/gists/GIST_ID/comments \\\n  -d '{\"body\":\"body\"}'
    " }, { "lang": "JavaScript", @@ -11195,7 +11316,7 @@ { "verb": "get", "requestPath": "/gists/{gist_id}/comments/{comment_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "gist_id", @@ -11221,8 +11342,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/gists/GIST_ID/comments/42", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/gists/GIST_ID/comments/42
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/gists/GIST_ID/comments/42", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/gists/GIST_ID/comments/42
    " }, { "lang": "JavaScript", @@ -11282,7 +11403,7 @@ { "verb": "patch", "requestPath": "/gists/{gist_id}/comments/{comment_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "gist_id", @@ -11308,8 +11429,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/gists/GIST_ID/comments/42 \\\n -d '{\"body\":\"body\"}'", - "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/gists/GIST_ID/comments/42 \\\n  -d '{\"body\":\"body\"}'
    " + "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/gists/GIST_ID/comments/42 \\\n -d '{\"body\":\"body\"}'", + "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/gists/GIST_ID/comments/42 \\\n  -d '{\"body\":\"body\"}'
    " }, { "lang": "JavaScript", @@ -11396,7 +11517,7 @@ { "verb": "delete", "requestPath": "/gists/{gist_id}/comments/{comment_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "gist_id", @@ -11422,8 +11543,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/gists/GIST_ID/comments/42", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/gists/GIST_ID/comments/42
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/gists/GIST_ID/comments/42", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/gists/GIST_ID/comments/42
    " }, { "lang": "JavaScript", @@ -11458,7 +11579,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "304", @@ -11482,7 +11603,7 @@ { "verb": "get", "requestPath": "/gists/{gist_id}/commits", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "gist_id", @@ -11518,8 +11639,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/gists/GIST_ID/commits", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/gists/GIST_ID/commits
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/gists/GIST_ID/commits", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/gists/GIST_ID/commits
    " }, { "lang": "JavaScript", @@ -11577,7 +11698,7 @@ { "verb": "get", "requestPath": "/gists/{gist_id}/forks", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "gist_id", @@ -11613,8 +11734,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/gists/GIST_ID/forks", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/gists/GIST_ID/forks
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/gists/GIST_ID/forks", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/gists/GIST_ID/forks
    " }, { "lang": "JavaScript", @@ -11672,7 +11793,7 @@ { "verb": "post", "requestPath": "/gists/{gist_id}/forks", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "gist_id", @@ -11688,8 +11809,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/gists/GIST_ID/forks", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/gists/GIST_ID/forks
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/gists/GIST_ID/forks", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/gists/GIST_ID/forks
    " }, { "lang": "JavaScript", @@ -11752,7 +11873,7 @@ { "verb": "get", "requestPath": "/gists/{gist_id}/star", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "gist_id", @@ -11768,8 +11889,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/gists/GIST_ID/star", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/gists/GIST_ID/star
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/gists/GIST_ID/star", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/gists/GIST_ID/star
    " }, { "lang": "JavaScript", @@ -11826,7 +11947,7 @@ { "verb": "put", "requestPath": "/gists/{gist_id}/star", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "gist_id", @@ -11842,8 +11963,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/gists/GIST_ID/star", - "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/gists/GIST_ID/star
    " + "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/gists/GIST_ID/star", + "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/gists/GIST_ID/star
    " }, { "lang": "JavaScript", @@ -11876,7 +11997,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "304", @@ -11900,7 +12021,7 @@ { "verb": "delete", "requestPath": "/gists/{gist_id}/star", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "gist_id", @@ -11916,8 +12037,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/gists/GIST_ID/star", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/gists/GIST_ID/star
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/gists/GIST_ID/star", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/gists/GIST_ID/star
    " }, { "lang": "JavaScript", @@ -11950,7 +12071,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "304", @@ -11974,7 +12095,7 @@ { "verb": "get", "requestPath": "/gists/{gist_id}/{sha}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "gist_id", @@ -11999,8 +12120,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/gists/GIST_ID/SHA", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/gists/GIST_ID/SHA
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/gists/GIST_ID/SHA", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/gists/GIST_ID/SHA
    " }, { "lang": "JavaScript", @@ -12058,13 +12179,13 @@ { "verb": "get", "requestPath": "/gitignore/templates", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/gitignore/templates", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/gitignore/templates
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/gitignore/templates", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/gitignore/templates
    " }, { "lang": "JavaScript", @@ -12112,7 +12233,7 @@ { "verb": "get", "requestPath": "/gitignore/templates/{name}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "name", @@ -12127,8 +12248,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/gitignore/templates/NAME", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/gitignore/templates/NAME
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/gitignore/templates/NAME", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/gitignore/templates/NAME
    " }, { "lang": "JavaScript", @@ -12176,7 +12297,7 @@ { "verb": "get", "requestPath": "/installation/repositories", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "per_page", @@ -12202,8 +12323,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/installation/repositories", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/installation/repositories
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/installation/repositories", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/installation/repositories
    " }, { "lang": "JavaScript", @@ -12270,13 +12391,13 @@ { "verb": "delete", "requestPath": "/installation/token", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/installation/token", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/installation/token
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/installation/token", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/installation/token
    " }, { "lang": "JavaScript", @@ -12311,7 +12432,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "bodyParameters": [], @@ -12320,7 +12441,7 @@ { "verb": "get", "requestPath": "/issues", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "filter", @@ -12334,6 +12455,7 @@ "created", "mentioned", "subscribed", + "repos", "all" ], "default": "assigned" @@ -12467,8 +12589,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/issues", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/issues
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/issues", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/issues
    " }, { "lang": "JavaScript", @@ -12533,7 +12655,7 @@ { "verb": "get", "requestPath": "/licenses", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "featured", @@ -12553,13 +12675,23 @@ "default": 30 }, "descriptionHTML": "

    Results per page (max 100).

    " + }, + { + "name": "page", + "description": "Page number of the results to fetch.", + "in": "query", + "schema": { + "type": "integer", + "default": 1 + }, + "descriptionHTML": "

    Page number of the results to fetch.

    " } ], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/licenses", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/licenses
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/licenses", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/licenses
    " }, { "lang": "JavaScript", @@ -12607,7 +12739,7 @@ { "verb": "get", "requestPath": "/licenses/{license}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "license", @@ -12622,8 +12754,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/licenses/LICENSE", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/licenses/LICENSE
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/licenses/LICENSE", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/licenses/LICENSE
    " }, { "lang": "JavaScript", @@ -12681,13 +12813,13 @@ { "verb": "post", "requestPath": "/markdown", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/markdown \\\n -d '{\"text\":\"text\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/markdown \\\n  -d '{\"text\":\"text\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/markdown \\\n -d '{\"text\":\"text\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/markdown \\\n  -d '{\"text\":\"text\"}'
    " }, { "lang": "JavaScript", @@ -12815,13 +12947,13 @@ { "verb": "post", "requestPath": "/markdown/raw", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/markdown/raw", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/markdown/raw
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/markdown/raw", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/markdown/raw
    " }, { "lang": "JavaScript", @@ -12882,13 +13014,13 @@ { "verb": "get", "requestPath": "/meta", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/meta", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/meta
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/meta", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/meta
    " }, { "lang": "JavaScript", @@ -12936,7 +13068,7 @@ { "verb": "get", "requestPath": "/networks/{owner}/{repo}/events", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -12980,8 +13112,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/networks/octocat/hello-world/events", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/networks/octocat/hello-world/events
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/networks/octocat/hello-world/events", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/networks/octocat/hello-world/events
    " }, { "lang": "JavaScript", @@ -13045,7 +13177,7 @@ { "verb": "get", "requestPath": "/notifications", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "all", @@ -13113,8 +13245,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/notifications", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/notifications
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/notifications", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/notifications
    " }, { "lang": "JavaScript", @@ -13179,13 +13311,13 @@ { "verb": "put", "requestPath": "/notifications", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/notifications \\\n -d '{\"last_read_at\":\"last_read_at\"}'", - "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/notifications \\\n  -d '{\"last_read_at\":\"last_read_at\"}'
    " + "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/notifications \\\n -d '{\"last_read_at\":\"last_read_at\"}'", + "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/notifications \\\n  -d '{\"last_read_at\":\"last_read_at\"}'
    " }, { "lang": "JavaScript", @@ -13299,7 +13431,7 @@ { "verb": "get", "requestPath": "/notifications/threads/{thread_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "thread_id", @@ -13315,8 +13447,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/notifications/threads/42", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/notifications/threads/42
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/notifications/threads/42", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/notifications/threads/42
    " }, { "lang": "JavaScript", @@ -13376,7 +13508,7 @@ { "verb": "patch", "requestPath": "/notifications/threads/{thread_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "thread_id", @@ -13392,8 +13524,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/notifications/threads/42", - "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/notifications/threads/42
    " + "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/notifications/threads/42", + "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/notifications/threads/42
    " }, { "lang": "JavaScript", @@ -13447,7 +13579,7 @@ { "verb": "get", "requestPath": "/notifications/threads/{thread_id}/subscription", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "thread_id", @@ -13463,8 +13595,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/notifications/threads/42/subscription", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/notifications/threads/42/subscription
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/notifications/threads/42/subscription", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/notifications/threads/42/subscription
    " }, { "lang": "JavaScript", @@ -13524,7 +13656,7 @@ { "verb": "put", "requestPath": "/notifications/threads/{thread_id}/subscription", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "thread_id", @@ -13540,8 +13672,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/notifications/threads/42/subscription \\\n -d '{\"ignored\":true}'", - "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/notifications/threads/42/subscription \\\n  -d '{\"ignored\":true}'
    " + "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/notifications/threads/42/subscription \\\n -d '{\"ignored\":true}'", + "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/notifications/threads/42/subscription \\\n  -d '{\"ignored\":true}'
    " }, { "lang": "JavaScript", @@ -13633,7 +13765,7 @@ { "verb": "delete", "requestPath": "/notifications/threads/{thread_id}/subscription", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "thread_id", @@ -13649,8 +13781,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/notifications/threads/42/subscription", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/notifications/threads/42/subscription
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/notifications/threads/42/subscription", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/notifications/threads/42/subscription
    " }, { "lang": "JavaScript", @@ -13685,7 +13817,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "304", @@ -13709,7 +13841,7 @@ { "verb": "get", "requestPath": "/octocat", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "s", @@ -13725,8 +13857,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/octocat", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/octocat
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/octocat", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/octocat
    " }, { "lang": "JavaScript", @@ -13763,7 +13895,7 @@ { "verb": "get", "requestPath": "/organizations", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "since", @@ -13789,8 +13921,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/organizations", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/organizations
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/organizations", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/organizations
    " }, { "lang": "JavaScript", @@ -13838,7 +13970,7 @@ { "verb": "get", "requestPath": "/orgs/{org}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "org", @@ -13853,8 +13985,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/orgs/ORG", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/orgs/ORG
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG
    " }, { "lang": "JavaScript", @@ -13897,13 +14029,7 @@ "httpStatusCode": "200", "httpStatusMessage": "OK", "description": "Default response", - "payload": "
    {\n  \"login\": \"github\",\n  \"id\": 1,\n  \"node_id\": \"MDEyOk9yZ2FuaXphdGlvbjE=\",\n  \"url\": \"https://api.github.com/orgs/github\",\n  \"repos_url\": \"https://api.github.com/orgs/github/repos\",\n  \"events_url\": \"https://api.github.com/orgs/github/events\",\n  \"hooks_url\": \"https://api.github.com/orgs/github/hooks\",\n  \"issues_url\": \"https://api.github.com/orgs/github/issues\",\n  \"members_url\": \"https://api.github.com/orgs/github/members{/member}\",\n  \"public_members_url\": \"https://api.github.com/orgs/github/public_members{/member}\",\n  \"avatar_url\": \"https://github.com/images/error/octocat_happy.gif\",\n  \"description\": \"A great organization\",\n  \"name\": \"github\",\n  \"company\": \"GitHub\",\n  \"blog\": \"https://github.com/blog\",\n  \"location\": \"San Francisco\",\n  \"email\": \"octocat@github.com\",\n  \"twitter_username\": \"github\",\n  \"is_verified\": true,\n  \"has_organization_projects\": true,\n  \"has_repository_projects\": true,\n  \"public_repos\": 2,\n  \"public_gists\": 1,\n  \"followers\": 20,\n  \"following\": 0,\n  \"html_url\": \"https://github.com/octocat\",\n  \"created_at\": \"2008-01-14T04:33:35Z\",\n  \"updated_at\": \"2014-03-03T18:58:10Z\",\n  \"type\": \"Organization\",\n  \"total_private_repos\": 100,\n  \"owned_private_repos\": 100,\n  \"private_gists\": 81,\n  \"disk_usage\": 10000,\n  \"collaborators\": 8,\n  \"billing_email\": \"mona@github.com\",\n  \"plan\": {\n    \"name\": \"Medium\",\n    \"space\": 400,\n    \"private_repos\": 20\n  },\n  \"default_repository_permission\": \"read\",\n  \"members_can_create_repositories\": true,\n  \"two_factor_requirement_enabled\": true,\n  \"members_allowed_repository_creation_type\": \"all\",\n  \"members_can_create_public_repositories\": false,\n  \"members_can_create_private_repositories\": false,\n  \"members_can_create_internal_repositories\": false,\n  \"members_can_create_pages\": true\n}\n
    " - }, - { - "httpStatusCode": "200", - "httpStatusMessage": "OK", - "description": "Response with GitHub plan information", - "payload": "
    {\n  \"login\": \"github\",\n  \"id\": 1,\n  \"node_id\": \"MDEyOk9yZ2FuaXphdGlvbjE=\",\n  \"url\": \"https://api.github.com/orgs/github\",\n  \"repos_url\": \"https://api.github.com/orgs/github/repos\",\n  \"events_url\": \"https://api.github.com/orgs/github/events\",\n  \"hooks_url\": \"https://api.github.com/orgs/github/hooks\",\n  \"issues_url\": \"https://api.github.com/orgs/github/issues\",\n  \"members_url\": \"https://api.github.com/orgs/github/members{/member}\",\n  \"public_members_url\": \"https://api.github.com/orgs/github/public_members{/member}\",\n  \"avatar_url\": \"https://github.com/images/error/octocat_happy.gif\",\n  \"description\": \"A great organization\",\n  \"name\": \"github\",\n  \"company\": \"GitHub\",\n  \"blog\": \"https://github.com/blog\",\n  \"location\": \"San Francisco\",\n  \"email\": \"octocat@github.com\",\n  \"twitter_username\": \"github\",\n  \"is_verified\": true,\n  \"has_organization_projects\": true,\n  \"has_repository_projects\": true,\n  \"public_repos\": 2,\n  \"public_gists\": 1,\n  \"followers\": 20,\n  \"following\": 0,\n  \"html_url\": \"https://github.com/octocat\",\n  \"created_at\": \"2008-01-14T04:33:35Z\",\n  \"updated_at\": \"2014-03-03T18:58:10Z\",\n  \"type\": \"Organization\",\n  \"plan\": {\n    \"name\": \"team\",\n    \"space\": 976562499,\n    \"private_repos\": 999999,\n    \"filled_seats\": 4,\n    \"seats\": 5\n  }\n}\n
    " + "payload": "
    {\n  \"login\": \"github\",\n  \"id\": 1,\n  \"node_id\": \"MDEyOk9yZ2FuaXphdGlvbjE=\",\n  \"url\": \"https://api.github.com/orgs/github\",\n  \"repos_url\": \"https://api.github.com/orgs/github/repos\",\n  \"events_url\": \"https://api.github.com/orgs/github/events\",\n  \"hooks_url\": \"https://api.github.com/orgs/github/hooks\",\n  \"issues_url\": \"https://api.github.com/orgs/github/issues\",\n  \"members_url\": \"https://api.github.com/orgs/github/members{/member}\",\n  \"public_members_url\": \"https://api.github.com/orgs/github/public_members{/member}\",\n  \"avatar_url\": \"https://github.com/images/error/octocat_happy.gif\",\n  \"description\": \"A great organization\",\n  \"name\": \"github\",\n  \"company\": \"GitHub\",\n  \"blog\": \"https://github.com/blog\",\n  \"location\": \"San Francisco\",\n  \"email\": \"octocat@github.com\",\n  \"twitter_username\": \"github\",\n  \"is_verified\": true,\n  \"has_organization_projects\": true,\n  \"has_repository_projects\": true,\n  \"public_repos\": 2,\n  \"public_gists\": 1,\n  \"followers\": 20,\n  \"following\": 0,\n  \"html_url\": \"https://github.com/octocat\",\n  \"created_at\": \"2008-01-14T04:33:35Z\",\n  \"updated_at\": \"2014-03-03T18:58:10Z\",\n  \"type\": \"Organization\",\n  \"total_private_repos\": 100,\n  \"owned_private_repos\": 100,\n  \"private_gists\": 81,\n  \"disk_usage\": 10000,\n  \"collaborators\": 8,\n  \"billing_email\": \"mona@github.com\",\n  \"plan\": {\n    \"name\": \"Medium\",\n    \"space\": 400,\n    \"private_repos\": 20,\n    \"filled_seats\": 4,\n    \"seats\": 5\n  },\n  \"default_repository_permission\": \"read\",\n  \"members_can_create_repositories\": true,\n  \"two_factor_requirement_enabled\": true,\n  \"members_allowed_repository_creation_type\": \"all\",\n  \"members_can_create_public_repositories\": false,\n  \"members_can_create_private_repositories\": false,\n  \"members_can_create_internal_repositories\": false,\n  \"members_can_create_pages\": true\n}\n
    " }, { "httpStatusCode": "404", @@ -13915,7 +14041,7 @@ { "verb": "patch", "requestPath": "/orgs/{org}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "org", @@ -13930,8 +14056,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/orgs/ORG \\\n -d '{\"billing_email\":\"billing_email\"}'", - "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/orgs/ORG \\\n  -d '{\"billing_email\":\"billing_email\"}'
    " + "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG \\\n -d '{\"billing_email\":\"billing_email\"}'", + "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG \\\n  -d '{\"billing_email\":\"billing_email\"}'
    " }, { "lang": "JavaScript", @@ -14334,7 +14460,7 @@ { "verb": "get", "requestPath": "/orgs/{org}/actions/runner-groups", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "org", @@ -14369,8 +14495,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/orgs/ORG/actions/runner-groups", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/orgs/ORG/actions/runner-groups
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/actions/runner-groups", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/actions/runner-groups
    " }, { "lang": "JavaScript", @@ -14415,7 +14541,7 @@ { "verb": "post", "requestPath": "/orgs/{org}/actions/runner-groups", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "org", @@ -14430,8 +14556,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/orgs/ORG/actions/runner-groups \\\n -d '{\"name\":\"name\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/orgs/ORG/actions/runner-groups \\\n  -d '{\"name\":\"name\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/actions/runner-groups \\\n -d '{\"name\":\"name\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/actions/runner-groups \\\n  -d '{\"name\":\"name\"}'
    " }, { "lang": "JavaScript", @@ -14603,7 +14729,7 @@ { "verb": "get", "requestPath": "/orgs/{org}/actions/runner-groups/{runner_group_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "org", @@ -14628,8 +14754,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/orgs/ORG/actions/runner-groups/42", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/orgs/ORG/actions/runner-groups/42
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/actions/runner-groups/42", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/actions/runner-groups/42
    " }, { "lang": "JavaScript", @@ -14674,7 +14800,7 @@ { "verb": "patch", "requestPath": "/orgs/{org}/actions/runner-groups/{runner_group_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "org", @@ -14699,8 +14825,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/orgs/ORG/actions/runner-groups/42 \\\n -d '{\"name\":\"name\"}'", - "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/orgs/ORG/actions/runner-groups/42 \\\n  -d '{\"name\":\"name\"}'
    " + "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/actions/runner-groups/42 \\\n -d '{\"name\":\"name\"}'", + "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/actions/runner-groups/42 \\\n  -d '{\"name\":\"name\"}'
    " }, { "lang": "JavaScript", @@ -14807,7 +14933,7 @@ { "verb": "delete", "requestPath": "/orgs/{org}/actions/runner-groups/{runner_group_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "org", @@ -14832,8 +14958,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/orgs/ORG/actions/runner-groups/42", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/orgs/ORG/actions/runner-groups/42
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/actions/runner-groups/42", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/actions/runner-groups/42
    " }, { "lang": "JavaScript", @@ -14868,7 +14994,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "bodyParameters": [], @@ -14877,7 +15003,7 @@ { "verb": "get", "requestPath": "/orgs/{org}/actions/runner-groups/{runner_group_id}/repositories", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "org", @@ -14897,13 +15023,33 @@ "type": "integer" }, "descriptionHTML": "

    Unique identifier of the self-hosted runner group.

    " + }, + { + "name": "page", + "description": "Page number of the results to fetch.", + "in": "query", + "schema": { + "type": "integer", + "default": 1 + }, + "descriptionHTML": "

    Page number of the results to fetch.

    " + }, + { + "name": "per_page", + "description": "Results per page (max 100).", + "in": "query", + "schema": { + "type": "integer", + "default": 30 + }, + "descriptionHTML": "

    Results per page (max 100).

    " } ], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/orgs/ORG/actions/runner-groups/42/repositories", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/orgs/ORG/actions/runner-groups/42/repositories
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/actions/runner-groups/42/repositories", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/actions/runner-groups/42/repositories
    " }, { "lang": "JavaScript", @@ -14948,7 +15094,7 @@ { "verb": "put", "requestPath": "/orgs/{org}/actions/runner-groups/{runner_group_id}/repositories", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "org", @@ -14973,8 +15119,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/orgs/ORG/actions/runner-groups/42/repositories \\\n -d '{\"selected_repository_ids\":[42]}'", - "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/orgs/ORG/actions/runner-groups/42/repositories \\\n  -d '{\"selected_repository_ids\":[42]}'
    " + "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/actions/runner-groups/42/repositories \\\n -d '{\"selected_repository_ids\":[42]}'", + "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/actions/runner-groups/42/repositories \\\n  -d '{\"selected_repository_ids\":[42]}'
    " }, { "lang": "JavaScript", @@ -15042,7 +15188,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "descriptionHTML": "

    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.

    ", @@ -15065,7 +15211,7 @@ { "verb": "put", "requestPath": "/orgs/{org}/actions/runner-groups/{runner_group_id}/repositories/{repository_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "org", @@ -15099,8 +15245,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/orgs/ORG/actions/runner-groups/42/repositories/42", - "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/orgs/ORG/actions/runner-groups/42/repositories/42
    " + "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/actions/runner-groups/42/repositories/42", + "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/actions/runner-groups/42/repositories/42
    " }, { "lang": "JavaScript", @@ -15135,7 +15281,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "bodyParameters": [], @@ -15144,7 +15290,7 @@ { "verb": "delete", "requestPath": "/orgs/{org}/actions/runner-groups/{runner_group_id}/repositories/{repository_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "org", @@ -15178,8 +15324,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/orgs/ORG/actions/runner-groups/42/repositories/42", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/orgs/ORG/actions/runner-groups/42/repositories/42
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/actions/runner-groups/42/repositories/42", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/actions/runner-groups/42/repositories/42
    " }, { "lang": "JavaScript", @@ -15214,7 +15360,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "bodyParameters": [], @@ -15223,7 +15369,7 @@ { "verb": "get", "requestPath": "/orgs/{org}/actions/runner-groups/{runner_group_id}/runners", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "org", @@ -15268,8 +15414,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/orgs/ORG/actions/runner-groups/42/runners", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/orgs/ORG/actions/runner-groups/42/runners
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/actions/runner-groups/42/runners", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/actions/runner-groups/42/runners
    " }, { "lang": "JavaScript", @@ -15314,7 +15460,7 @@ { "verb": "put", "requestPath": "/orgs/{org}/actions/runner-groups/{runner_group_id}/runners", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "org", @@ -15339,8 +15485,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/orgs/ORG/actions/runner-groups/42/runners \\\n -d '{\"runners\":[42]}'", - "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/orgs/ORG/actions/runner-groups/42/runners \\\n  -d '{\"runners\":[42]}'
    " + "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/actions/runner-groups/42/runners \\\n -d '{\"runners\":[42]}'", + "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/actions/runner-groups/42/runners \\\n  -d '{\"runners\":[42]}'
    " }, { "lang": "JavaScript", @@ -15408,7 +15554,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "descriptionHTML": "

    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.

    ", @@ -15431,7 +15577,7 @@ { "verb": "put", "requestPath": "/orgs/{org}/actions/runner-groups/{runner_group_id}/runners/{runner_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "org", @@ -15466,8 +15612,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/orgs/ORG/actions/runner-groups/42/runners/42", - "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/orgs/ORG/actions/runner-groups/42/runners/42
    " + "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/actions/runner-groups/42/runners/42", + "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/actions/runner-groups/42/runners/42
    " }, { "lang": "JavaScript", @@ -15502,7 +15648,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "bodyParameters": [], @@ -15511,7 +15657,7 @@ { "verb": "delete", "requestPath": "/orgs/{org}/actions/runner-groups/{runner_group_id}/runners/{runner_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "org", @@ -15546,8 +15692,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/orgs/ORG/actions/runner-groups/42/runners/42", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/orgs/ORG/actions/runner-groups/42/runners/42
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/actions/runner-groups/42/runners/42", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/actions/runner-groups/42/runners/42
    " }, { "lang": "JavaScript", @@ -15582,7 +15728,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "bodyParameters": [], @@ -15591,7 +15737,7 @@ { "verb": "get", "requestPath": "/orgs/{org}/actions/runners", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "org", @@ -15626,8 +15772,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/orgs/ORG/actions/runners", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/orgs/ORG/actions/runners
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/actions/runners", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/actions/runners
    " }, { "lang": "JavaScript", @@ -15672,7 +15818,7 @@ { "verb": "get", "requestPath": "/orgs/{org}/actions/runners/downloads", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "org", @@ -15687,8 +15833,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/orgs/ORG/actions/runners/downloads", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/orgs/ORG/actions/runners/downloads
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/actions/runners/downloads", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/actions/runners/downloads
    " }, { "lang": "JavaScript", @@ -15733,7 +15879,7 @@ { "verb": "post", "requestPath": "/orgs/{org}/actions/runners/registration-token", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "org", @@ -15748,8 +15894,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/orgs/ORG/actions/runners/registration-token", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/orgs/ORG/actions/runners/registration-token
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/actions/runners/registration-token", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/actions/runners/registration-token
    " }, { "lang": "JavaScript", @@ -15794,7 +15940,7 @@ { "verb": "post", "requestPath": "/orgs/{org}/actions/runners/remove-token", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "org", @@ -15809,8 +15955,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/orgs/ORG/actions/runners/remove-token", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/orgs/ORG/actions/runners/remove-token
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/actions/runners/remove-token", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/actions/runners/remove-token
    " }, { "lang": "JavaScript", @@ -15855,7 +16001,7 @@ { "verb": "get", "requestPath": "/orgs/{org}/actions/runners/{runner_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "org", @@ -15880,8 +16026,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/orgs/ORG/actions/runners/42", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/orgs/ORG/actions/runners/42
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/actions/runners/42", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/actions/runners/42
    " }, { "lang": "JavaScript", @@ -15926,7 +16072,7 @@ { "verb": "delete", "requestPath": "/orgs/{org}/actions/runners/{runner_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "org", @@ -15951,8 +16097,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/orgs/ORG/actions/runners/42", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/orgs/ORG/actions/runners/42
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/actions/runners/42", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/actions/runners/42
    " }, { "lang": "JavaScript", @@ -15987,7 +16133,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "bodyParameters": [], @@ -15996,7 +16142,7 @@ { "verb": "get", "requestPath": "/orgs/{org}/actions/secrets", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "org", @@ -16031,8 +16177,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/orgs/ORG/actions/secrets", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/orgs/ORG/actions/secrets
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/actions/secrets", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/actions/secrets
    " }, { "lang": "JavaScript", @@ -16077,7 +16223,7 @@ { "verb": "get", "requestPath": "/orgs/{org}/actions/secrets/public-key", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "org", @@ -16092,8 +16238,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/orgs/ORG/actions/secrets/public-key", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/orgs/ORG/actions/secrets/public-key
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/actions/secrets/public-key", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/actions/secrets/public-key
    " }, { "lang": "JavaScript", @@ -16138,7 +16284,7 @@ { "verb": "get", "requestPath": "/orgs/{org}/actions/secrets/{secret_name}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "org", @@ -16163,8 +16309,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/orgs/ORG/actions/secrets/SECRET_NAME", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/orgs/ORG/actions/secrets/SECRET_NAME
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/actions/secrets/SECRET_NAME", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/actions/secrets/SECRET_NAME
    " }, { "lang": "JavaScript", @@ -16209,7 +16355,7 @@ { "verb": "put", "requestPath": "/orgs/{org}/actions/secrets/{secret_name}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "org", @@ -16234,8 +16380,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/orgs/ORG/actions/secrets/SECRET_NAME \\\n -d '{\"encrypted_value\":\"encrypted_value\"}'", - "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/orgs/ORG/actions/secrets/SECRET_NAME \\\n  -d '{\"encrypted_value\":\"encrypted_value\"}'
    " + "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/actions/secrets/SECRET_NAME \\\n -d '{\"encrypted_value\":\"encrypted_value\"}'", + "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/actions/secrets/SECRET_NAME \\\n  -d '{\"encrypted_value\":\"encrypted_value\"}'
    " }, { "lang": "JavaScript", @@ -16395,7 +16541,7 @@ { "verb": "delete", "requestPath": "/orgs/{org}/actions/secrets/{secret_name}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "org", @@ -16420,8 +16566,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/orgs/ORG/actions/secrets/SECRET_NAME", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/orgs/ORG/actions/secrets/SECRET_NAME
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/actions/secrets/SECRET_NAME", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/actions/secrets/SECRET_NAME
    " }, { "lang": "JavaScript", @@ -16456,7 +16602,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "bodyParameters": [], @@ -16465,7 +16611,7 @@ { "verb": "get", "requestPath": "/orgs/{org}/actions/secrets/{secret_name}/repositories", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "org", @@ -16485,13 +16631,33 @@ "type": "string" }, "descriptionHTML": "

    secret_name parameter

    " + }, + { + "name": "page", + "description": "Page number of the results to fetch.", + "in": "query", + "schema": { + "type": "integer", + "default": 1 + }, + "descriptionHTML": "

    Page number of the results to fetch.

    " + }, + { + "name": "per_page", + "description": "Results per page (max 100).", + "in": "query", + "schema": { + "type": "integer", + "default": 30 + }, + "descriptionHTML": "

    Results per page (max 100).

    " } ], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/orgs/ORG/actions/secrets/SECRET_NAME/repositories", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/orgs/ORG/actions/secrets/SECRET_NAME/repositories
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/actions/secrets/SECRET_NAME/repositories", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/actions/secrets/SECRET_NAME/repositories
    " }, { "lang": "JavaScript", @@ -16536,7 +16702,7 @@ { "verb": "put", "requestPath": "/orgs/{org}/actions/secrets/{secret_name}/repositories", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "org", @@ -16561,8 +16727,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/orgs/ORG/actions/secrets/SECRET_NAME/repositories \\\n -d '{\"selected_repository_ids\":[42]}'", - "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/orgs/ORG/actions/secrets/SECRET_NAME/repositories \\\n  -d '{\"selected_repository_ids\":[42]}'
    " + "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/actions/secrets/SECRET_NAME/repositories \\\n -d '{\"selected_repository_ids\":[42]}'", + "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/actions/secrets/SECRET_NAME/repositories \\\n  -d '{\"selected_repository_ids\":[42]}'
    " }, { "lang": "JavaScript", @@ -16625,7 +16791,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "descriptionHTML": "

    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. 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.

    ", @@ -16647,7 +16813,7 @@ { "verb": "put", "requestPath": "/orgs/{org}/actions/secrets/{secret_name}/repositories/{repository_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "org", @@ -16681,8 +16847,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/orgs/ORG/actions/secrets/SECRET_NAME/repositories/42", - "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/orgs/ORG/actions/secrets/SECRET_NAME/repositories/42
    " + "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/actions/secrets/SECRET_NAME/repositories/42", + "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/actions/secrets/SECRET_NAME/repositories/42
    " }, { "lang": "JavaScript", @@ -16731,7 +16897,7 @@ { "verb": "delete", "requestPath": "/orgs/{org}/actions/secrets/{secret_name}/repositories/{repository_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "org", @@ -16765,8 +16931,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/orgs/ORG/actions/secrets/SECRET_NAME/repositories/42", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/orgs/ORG/actions/secrets/SECRET_NAME/repositories/42
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/actions/secrets/SECRET_NAME/repositories/42", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/actions/secrets/SECRET_NAME/repositories/42
    " }, { "lang": "JavaScript", @@ -16815,7 +16981,7 @@ { "verb": "get", "requestPath": "/orgs/{org}/events", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "org", @@ -16850,8 +17016,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/orgs/ORG/events", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/orgs/ORG/events
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/events", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/events
    " }, { "lang": "JavaScript", @@ -16895,7 +17061,7 @@ { "verb": "get", "requestPath": "/orgs/{org}/hooks", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "org", @@ -16930,8 +17096,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/orgs/ORG/hooks", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/orgs/ORG/hooks
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/hooks", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/hooks
    " }, { "lang": "JavaScript", @@ -16981,7 +17147,7 @@ { "verb": "post", "requestPath": "/orgs/{org}/hooks", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "org", @@ -16996,8 +17162,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/orgs/ORG/hooks \\\n -d '{\"name\":\"name\",\"config\":{\"url\":\"url\",\"content_type\":\"content_type\",\"secret\":\"secret\",\"insecure_ssl\":\"insecure_ssl\",\"username\":\"username\",\"password\":\"password\"}}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/orgs/ORG/hooks \\\n  -d '{\"name\":\"name\",\"config\":{\"url\":\"url\",\"content_type\":\"content_type\",\"secret\":\"secret\",\"insecure_ssl\":\"insecure_ssl\",\"username\":\"username\",\"password\":\"password\"}}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/hooks \\\n -d '{\"name\":\"name\",\"config\":{\"url\":\"url\",\"content_type\":\"content_type\",\"secret\":\"secret\",\"insecure_ssl\":\"insecure_ssl\",\"username\":\"username\",\"password\":\"password\"}}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/hooks \\\n  -d '{\"name\":\"name\",\"config\":{\"url\":\"url\",\"content_type\":\"content_type\",\"secret\":\"secret\",\"insecure_ssl\":\"insecure_ssl\",\"username\":\"username\",\"password\":\"password\"}}'
    " }, { "lang": "JavaScript", @@ -17428,7 +17594,7 @@ { "verb": "get", "requestPath": "/orgs/{org}/hooks/{hook_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "org", @@ -17452,8 +17618,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/orgs/ORG/hooks/42", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/orgs/ORG/hooks/42
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/hooks/42", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/hooks/42
    " }, { "lang": "JavaScript", @@ -17503,7 +17669,7 @@ { "verb": "patch", "requestPath": "/orgs/{org}/hooks/{hook_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "org", @@ -17527,8 +17693,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/orgs/ORG/hooks/42 \\\n -d '{\"config\":{\"url\":\"url\",\"content_type\":\"content_type\",\"secret\":\"secret\",\"insecure_ssl\":\"insecure_ssl\"}}'", - "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/orgs/ORG/hooks/42 \\\n  -d '{\"config\":{\"url\":\"url\",\"content_type\":\"content_type\",\"secret\":\"secret\",\"insecure_ssl\":\"insecure_ssl\"}}'
    " + "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/hooks/42 \\\n -d '{\"config\":{\"url\":\"url\",\"content_type\":\"content_type\",\"secret\":\"secret\",\"insecure_ssl\":\"insecure_ssl\"}}'", + "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/hooks/42 \\\n  -d '{\"config\":{\"url\":\"url\",\"content_type\":\"content_type\",\"secret\":\"secret\",\"insecure_ssl\":\"insecure_ssl\"}}'
    " }, { "lang": "JavaScript", @@ -17877,7 +18043,7 @@ { "verb": "delete", "requestPath": "/orgs/{org}/hooks/{hook_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "org", @@ -17901,8 +18067,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/orgs/ORG/hooks/42", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/orgs/ORG/hooks/42
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/hooks/42", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/hooks/42
    " }, { "lang": "JavaScript", @@ -17937,7 +18103,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "404", @@ -17951,7 +18117,7 @@ { "verb": "post", "requestPath": "/orgs/{org}/hooks/{hook_id}/pings", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "org", @@ -17975,8 +18141,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/orgs/ORG/hooks/42/pings", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/orgs/ORG/hooks/42/pings
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/hooks/42/pings", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/hooks/42/pings
    " }, { "lang": "JavaScript", @@ -18011,7 +18177,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "404", @@ -18025,7 +18191,7 @@ { "verb": "get", "requestPath": "/orgs/{org}/installation", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "org", @@ -18040,8 +18206,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/orgs/ORG/installation", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/orgs/ORG/installation
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/installation", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/installation
    " }, { "lang": "JavaScript", @@ -18084,7 +18250,7 @@ { "verb": "get", "requestPath": "/orgs/{org}/installations", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "org", @@ -18119,8 +18285,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/orgs/ORG/installations", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/orgs/ORG/installations
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/installations", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/installations
    " }, { "lang": "JavaScript", @@ -18163,7 +18329,7 @@ { "verb": "get", "requestPath": "/orgs/{org}/issues", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "org", @@ -18186,6 +18352,7 @@ "created", "mentioned", "subscribed", + "repos", "all" ], "default": "assigned" @@ -18283,8 +18450,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/orgs/ORG/issues", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/orgs/ORG/issues
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/issues", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/issues
    " }, { "lang": "JavaScript", @@ -18339,7 +18506,7 @@ { "verb": "get", "requestPath": "/orgs/{org}/members", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "org", @@ -18405,8 +18572,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/orgs/ORG/members", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/orgs/ORG/members
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/members", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/members
    " }, { "lang": "JavaScript", @@ -18461,7 +18628,7 @@ { "verb": "get", "requestPath": "/orgs/{org}/members/{username}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "org", @@ -18485,8 +18652,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/orgs/ORG/members/USERNAME", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/orgs/ORG/members/USERNAME
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/members/USERNAME", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/members/USERNAME
    " }, { "lang": "JavaScript", @@ -18540,7 +18707,7 @@ { "verb": "delete", "requestPath": "/orgs/{org}/members/{username}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "org", @@ -18564,8 +18731,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/orgs/ORG/members/USERNAME", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/orgs/ORG/members/USERNAME
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/members/USERNAME", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/members/USERNAME
    " }, { "lang": "JavaScript", @@ -18600,7 +18767,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "403", @@ -18614,7 +18781,7 @@ { "verb": "get", "requestPath": "/orgs/{org}/memberships/{username}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "org", @@ -18638,8 +18805,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/orgs/ORG/memberships/USERNAME", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/orgs/ORG/memberships/USERNAME
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/memberships/USERNAME", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/memberships/USERNAME
    " }, { "lang": "JavaScript", @@ -18648,7 +18815,7 @@ } ], "summary": "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.", + "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.", "tags": [ "orgs" ], @@ -18671,7 +18838,7 @@ "subcategoryLabel": "Members", "notes": [], "bodyParameters": [], - "descriptionHTML": "

    In order to get a user's membership with an organization, the authenticated user must be an organization member.

    ", + "descriptionHTML": "

    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.

    ", "responses": [ { "httpStatusCode": "200", @@ -18679,18 +18846,6 @@ "description": "Response if user has an active admin membership with organization", "payload": "
    {\n  \"url\": \"https://api.github.com/orgs/octocat/memberships/defunkt\",\n  \"state\": \"active\",\n  \"role\": \"admin\",\n  \"organization_url\": \"https://api.github.com/orgs/octocat\",\n  \"organization\": {\n    \"login\": \"github\",\n    \"id\": 1,\n    \"node_id\": \"MDEyOk9yZ2FuaXphdGlvbjE=\",\n    \"url\": \"https://api.github.com/orgs/github\",\n    \"repos_url\": \"https://api.github.com/orgs/github/repos\",\n    \"events_url\": \"https://api.github.com/orgs/github/events\",\n    \"hooks_url\": \"https://api.github.com/orgs/github/hooks\",\n    \"issues_url\": \"https://api.github.com/orgs/github/issues\",\n    \"members_url\": \"https://api.github.com/orgs/github/members{/member}\",\n    \"public_members_url\": \"https://api.github.com/orgs/github/public_members{/member}\",\n    \"avatar_url\": \"https://github.com/images/error/octocat_happy.gif\",\n    \"description\": \"A great organization\"\n  },\n  \"user\": {\n    \"login\": \"octocat\",\n    \"id\": 1,\n    \"node_id\": \"MDQ6VXNlcjE=\",\n    \"avatar_url\": \"https://github.com/images/error/octocat_happy.gif\",\n    \"gravatar_id\": \"\",\n    \"url\": \"https://api.github.com/users/octocat\",\n    \"html_url\": \"https://github.com/octocat\",\n    \"followers_url\": \"https://api.github.com/users/octocat/followers\",\n    \"following_url\": \"https://api.github.com/users/octocat/following{/other_user}\",\n    \"gists_url\": \"https://api.github.com/users/octocat/gists{/gist_id}\",\n    \"starred_url\": \"https://api.github.com/users/octocat/starred{/owner}{/repo}\",\n    \"subscriptions_url\": \"https://api.github.com/users/octocat/subscriptions\",\n    \"organizations_url\": \"https://api.github.com/users/octocat/orgs\",\n    \"repos_url\": \"https://api.github.com/users/octocat/repos\",\n    \"events_url\": \"https://api.github.com/users/octocat/events{/privacy}\",\n    \"received_events_url\": \"https://api.github.com/users/octocat/received_events\",\n    \"type\": \"User\",\n    \"site_admin\": false\n  }\n}\n
    " }, - { - "httpStatusCode": "200", - "httpStatusMessage": "OK", - "description": "Response if user has an active membership with organization", - "payload": "
    {\n  \"url\": \"https://api.github.com/orgs/octocat/memberships/defunkt\",\n  \"state\": \"active\",\n  \"role\": \"member\",\n  \"organization_url\": \"https://api.github.com/orgs/octocat\",\n  \"organization\": {\n    \"login\": \"github\",\n    \"id\": 1,\n    \"node_id\": \"MDEyOk9yZ2FuaXphdGlvbjE=\",\n    \"url\": \"https://api.github.com/orgs/github\",\n    \"repos_url\": \"https://api.github.com/orgs/github/repos\",\n    \"events_url\": \"https://api.github.com/orgs/github/events\",\n    \"hooks_url\": \"https://api.github.com/orgs/github/hooks\",\n    \"issues_url\": \"https://api.github.com/orgs/github/issues\",\n    \"members_url\": \"https://api.github.com/orgs/github/members{/member}\",\n    \"public_members_url\": \"https://api.github.com/orgs/github/public_members{/member}\",\n    \"avatar_url\": \"https://github.com/images/error/octocat_happy.gif\",\n    \"description\": \"A great organization\"\n  },\n  \"user\": {\n    \"login\": \"octocat\",\n    \"id\": 1,\n    \"node_id\": \"MDQ6VXNlcjE=\",\n    \"avatar_url\": \"https://github.com/images/error/octocat_happy.gif\",\n    \"gravatar_id\": \"\",\n    \"url\": \"https://api.github.com/users/octocat\",\n    \"html_url\": \"https://github.com/octocat\",\n    \"followers_url\": \"https://api.github.com/users/octocat/followers\",\n    \"following_url\": \"https://api.github.com/users/octocat/following{/other_user}\",\n    \"gists_url\": \"https://api.github.com/users/octocat/gists{/gist_id}\",\n    \"starred_url\": \"https://api.github.com/users/octocat/starred{/owner}{/repo}\",\n    \"subscriptions_url\": \"https://api.github.com/users/octocat/subscriptions\",\n    \"organizations_url\": \"https://api.github.com/users/octocat/orgs\",\n    \"repos_url\": \"https://api.github.com/users/octocat/repos\",\n    \"events_url\": \"https://api.github.com/users/octocat/events{/privacy}\",\n    \"received_events_url\": \"https://api.github.com/users/octocat/received_events\",\n    \"type\": \"User\",\n    \"site_admin\": false\n  }\n}\n
    " - }, - { - "httpStatusCode": "200", - "httpStatusMessage": "OK", - "description": "Response if user has a pending membership with organization", - "payload": "
    {\n  \"url\": \"https://api.github.com/orgs/invitocat/memberships/defunkt\",\n  \"state\": \"pending\",\n  \"role\": \"member\",\n  \"organization_url\": \"https://api.github.com/orgs/invitocat\",\n  \"organization\": {\n    \"login\": \"github\",\n    \"id\": 1,\n    \"node_id\": \"MDEyOk9yZ2FuaXphdGlvbjE=\",\n    \"url\": \"https://api.github.com/orgs/github\",\n    \"repos_url\": \"https://api.github.com/orgs/github/repos\",\n    \"events_url\": \"https://api.github.com/orgs/github/events\",\n    \"hooks_url\": \"https://api.github.com/orgs/github/hooks\",\n    \"issues_url\": \"https://api.github.com/orgs/github/issues\",\n    \"members_url\": \"https://api.github.com/orgs/github/members{/member}\",\n    \"public_members_url\": \"https://api.github.com/orgs/github/public_members{/member}\",\n    \"avatar_url\": \"https://github.com/images/error/octocat_happy.gif\",\n    \"description\": \"A great organization\"\n  },\n  \"user\": {\n    \"login\": \"octocat\",\n    \"id\": 1,\n    \"node_id\": \"MDQ6VXNlcjE=\",\n    \"avatar_url\": \"https://github.com/images/error/octocat_happy.gif\",\n    \"gravatar_id\": \"\",\n    \"url\": \"https://api.github.com/users/octocat\",\n    \"html_url\": \"https://github.com/octocat\",\n    \"followers_url\": \"https://api.github.com/users/octocat/followers\",\n    \"following_url\": \"https://api.github.com/users/octocat/following{/other_user}\",\n    \"gists_url\": \"https://api.github.com/users/octocat/gists{/gist_id}\",\n    \"starred_url\": \"https://api.github.com/users/octocat/starred{/owner}{/repo}\",\n    \"subscriptions_url\": \"https://api.github.com/users/octocat/subscriptions\",\n    \"organizations_url\": \"https://api.github.com/users/octocat/orgs\",\n    \"repos_url\": \"https://api.github.com/users/octocat/repos\",\n    \"events_url\": \"https://api.github.com/users/octocat/events{/privacy}\",\n    \"received_events_url\": \"https://api.github.com/users/octocat/received_events\",\n    \"type\": \"User\",\n    \"site_admin\": false\n  }\n}\n
    " - }, { "httpStatusCode": "403", "httpStatusMessage": "Forbidden", @@ -18706,7 +18861,7 @@ { "verb": "put", "requestPath": "/orgs/{org}/memberships/{username}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "org", @@ -18730,8 +18885,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/orgs/ORG/memberships/USERNAME \\\n -d '{\"role\":\"role\"}'", - "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/orgs/ORG/memberships/USERNAME \\\n  -d '{\"role\":\"role\"}'
    " + "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/memberships/USERNAME \\\n -d '{\"role\":\"role\"}'", + "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/memberships/USERNAME \\\n  -d '{\"role\":\"role\"}'
    " }, { "lang": "JavaScript", @@ -18808,13 +18963,7 @@ { "httpStatusCode": "200", "httpStatusMessage": "OK", - "description": "Response if user was previously unaffiliated with organization", - "payload": "
    {\n  \"url\": \"https://api.github.com/orgs/invitocat/memberships/defunkt\",\n  \"state\": \"pending\",\n  \"role\": \"admin\",\n  \"organization_url\": \"https://api.github.com/orgs/invitocat\",\n  \"organization\": {\n    \"login\": \"github\",\n    \"id\": 1,\n    \"node_id\": \"MDEyOk9yZ2FuaXphdGlvbjE=\",\n    \"url\": \"https://api.github.com/orgs/github\",\n    \"repos_url\": \"https://api.github.com/orgs/github/repos\",\n    \"events_url\": \"https://api.github.com/orgs/github/events\",\n    \"hooks_url\": \"https://api.github.com/orgs/github/hooks\",\n    \"issues_url\": \"https://api.github.com/orgs/github/issues\",\n    \"members_url\": \"https://api.github.com/orgs/github/members{/member}\",\n    \"public_members_url\": \"https://api.github.com/orgs/github/public_members{/member}\",\n    \"avatar_url\": \"https://github.com/images/error/octocat_happy.gif\",\n    \"description\": \"A great organization\"\n  },\n  \"user\": {\n    \"login\": \"octocat\",\n    \"id\": 1,\n    \"node_id\": \"MDQ6VXNlcjE=\",\n    \"avatar_url\": \"https://github.com/images/error/octocat_happy.gif\",\n    \"gravatar_id\": \"\",\n    \"url\": \"https://api.github.com/users/octocat\",\n    \"html_url\": \"https://github.com/octocat\",\n    \"followers_url\": \"https://api.github.com/users/octocat/followers\",\n    \"following_url\": \"https://api.github.com/users/octocat/following{/other_user}\",\n    \"gists_url\": \"https://api.github.com/users/octocat/gists{/gist_id}\",\n    \"starred_url\": \"https://api.github.com/users/octocat/starred{/owner}{/repo}\",\n    \"subscriptions_url\": \"https://api.github.com/users/octocat/subscriptions\",\n    \"organizations_url\": \"https://api.github.com/users/octocat/orgs\",\n    \"repos_url\": \"https://api.github.com/users/octocat/repos\",\n    \"events_url\": \"https://api.github.com/users/octocat/events{/privacy}\",\n    \"received_events_url\": \"https://api.github.com/users/octocat/received_events\",\n    \"type\": \"User\",\n    \"site_admin\": false\n  }\n}\n
    " - }, - { - "httpStatusCode": "200", - "httpStatusMessage": "OK", - "description": "Response if user already had membership with organization", + "description": "Response if user has an active admin membership with organization", "payload": "
    {\n  \"url\": \"https://api.github.com/orgs/octocat/memberships/defunkt\",\n  \"state\": \"active\",\n  \"role\": \"admin\",\n  \"organization_url\": \"https://api.github.com/orgs/octocat\",\n  \"organization\": {\n    \"login\": \"github\",\n    \"id\": 1,\n    \"node_id\": \"MDEyOk9yZ2FuaXphdGlvbjE=\",\n    \"url\": \"https://api.github.com/orgs/github\",\n    \"repos_url\": \"https://api.github.com/orgs/github/repos\",\n    \"events_url\": \"https://api.github.com/orgs/github/events\",\n    \"hooks_url\": \"https://api.github.com/orgs/github/hooks\",\n    \"issues_url\": \"https://api.github.com/orgs/github/issues\",\n    \"members_url\": \"https://api.github.com/orgs/github/members{/member}\",\n    \"public_members_url\": \"https://api.github.com/orgs/github/public_members{/member}\",\n    \"avatar_url\": \"https://github.com/images/error/octocat_happy.gif\",\n    \"description\": \"A great organization\"\n  },\n  \"user\": {\n    \"login\": \"octocat\",\n    \"id\": 1,\n    \"node_id\": \"MDQ6VXNlcjE=\",\n    \"avatar_url\": \"https://github.com/images/error/octocat_happy.gif\",\n    \"gravatar_id\": \"\",\n    \"url\": \"https://api.github.com/users/octocat\",\n    \"html_url\": \"https://github.com/octocat\",\n    \"followers_url\": \"https://api.github.com/users/octocat/followers\",\n    \"following_url\": \"https://api.github.com/users/octocat/following{/other_user}\",\n    \"gists_url\": \"https://api.github.com/users/octocat/gists{/gist_id}\",\n    \"starred_url\": \"https://api.github.com/users/octocat/starred{/owner}{/repo}\",\n    \"subscriptions_url\": \"https://api.github.com/users/octocat/subscriptions\",\n    \"organizations_url\": \"https://api.github.com/users/octocat/orgs\",\n    \"repos_url\": \"https://api.github.com/users/octocat/repos\",\n    \"events_url\": \"https://api.github.com/users/octocat/events{/privacy}\",\n    \"received_events_url\": \"https://api.github.com/users/octocat/received_events\",\n    \"type\": \"User\",\n    \"site_admin\": false\n  }\n}\n
    " }, { @@ -18832,7 +18981,7 @@ { "verb": "delete", "requestPath": "/orgs/{org}/memberships/{username}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "org", @@ -18856,8 +19005,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/orgs/ORG/memberships/USERNAME", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/orgs/ORG/memberships/USERNAME
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/memberships/USERNAME", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/memberships/USERNAME
    " }, { "lang": "JavaScript", @@ -18892,7 +19041,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "403", @@ -18911,7 +19060,7 @@ { "verb": "get", "requestPath": "/orgs/{org}/outside_collaborators", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "org", @@ -18961,8 +19110,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/orgs/ORG/outside_collaborators", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/orgs/ORG/outside_collaborators
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/outside_collaborators", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/outside_collaborators
    " }, { "lang": "JavaScript", @@ -19007,7 +19156,7 @@ { "verb": "put", "requestPath": "/orgs/{org}/outside_collaborators/{username}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "org", @@ -19031,8 +19180,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/orgs/ORG/outside_collaborators/USERNAME", - "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/orgs/ORG/outside_collaborators/USERNAME
    " + "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/outside_collaborators/USERNAME", + "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/outside_collaborators/USERNAME
    " }, { "lang": "JavaScript", @@ -19063,8 +19212,6 @@ "subcategory": "outside-collaborators", "subcategoryLabel": "Outside collaborators", "notes": [], - "bodyParameters": [], - "descriptionHTML": "

    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\".

    ", "responses": [ { "httpStatusCode": "202", @@ -19079,26 +19226,21 @@ { "httpStatusCode": "403", "httpStatusMessage": "Forbidden", - "description": "Response if user is the last owner of the organization", - "payload": "
    {\n  \"message\": \"Cannot convert the last owner to an outside collaborator\",\n  \"documentation_url\": \"https://docs.github.com/enterprise-server@2.22/rest/reference/orgs#convert-member-to-outside-collaborator\"\n}\n
    " - }, - { - "httpStatusCode": "403", - "httpStatusMessage": "Forbidden", - "description": "Response if user is not a member of the organization", - "payload": "
    {\n  \"message\": \"<user> is not a member of the <organization> organization.\",\n  \"documentation_url\": \"https://docs.github.com/enterprise-server@2.22/rest/reference/orgs#convert-member-to-outside-collaborator\"\n}\n
    " + "description": "Response if user is the last owner of the organization or not a member of the organization" }, { "httpStatusCode": "404", "httpStatusMessage": "Not Found", "description": "Resource not found" } - ] + ], + "bodyParameters": [], + "descriptionHTML": "

    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\".

    " }, { "verb": "delete", "requestPath": "/orgs/{org}/outside_collaborators/{username}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "org", @@ -19122,8 +19264,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/orgs/ORG/outside_collaborators/USERNAME", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/orgs/ORG/outside_collaborators/USERNAME
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/outside_collaborators/USERNAME", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/outside_collaborators/USERNAME
    " }, { "lang": "JavaScript", @@ -19160,7 +19302,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "422", @@ -19173,7 +19315,7 @@ { "verb": "get", "requestPath": "/orgs/{org}/pre-receive-hooks", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "org", @@ -19203,13 +19345,44 @@ "default": 1 }, "descriptionHTML": "

    Page number of the results to fetch.

    " + }, + { + "name": "direction", + "description": "One of `asc` (ascending) or `desc` (descending).", + "in": "query", + "required": false, + "schema": { + "type": "string", + "enum": [ + "asc", + "desc" + ], + "default": "desc" + }, + "descriptionHTML": "

    One of asc (ascending) or desc (descending).

    " + }, + { + "name": "sort", + "description": "The sort order for the response collection.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "enum": [ + "created", + "updated", + "name" + ], + "default": "created" + }, + "descriptionHTML": "

    The sort order for the response collection.

    " } ], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n https://api.github.com/orgs/ORG/pre-receive-hooks", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n  https://api.github.com/orgs/ORG/pre-receive-hooks
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/pre-receive-hooks", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/pre-receive-hooks
    " }, { "lang": "JavaScript", @@ -19261,7 +19434,7 @@ { "verb": "get", "requestPath": "/orgs/{org}/pre-receive-hooks/{pre_receive_hook_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "org", @@ -19285,8 +19458,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n https://api.github.com/orgs/ORG/pre-receive-hooks/42", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n  https://api.github.com/orgs/ORG/pre-receive-hooks/42
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/pre-receive-hooks/42", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/pre-receive-hooks/42
    " }, { "lang": "JavaScript", @@ -19338,7 +19511,7 @@ { "verb": "patch", "requestPath": "/orgs/{org}/pre-receive-hooks/{pre_receive_hook_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "org", @@ -19362,8 +19535,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n https://api.github.com/orgs/ORG/pre-receive-hooks/42 \\\n -d '{\"enforcement\":\"enforcement\"}'", - "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n  https://api.github.com/orgs/ORG/pre-receive-hooks/42 \\\n  -d '{\"enforcement\":\"enforcement\"}'
    " + "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/pre-receive-hooks/42 \\\n -d '{\"enforcement\":\"enforcement\"}'", + "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/pre-receive-hooks/42 \\\n  -d '{\"enforcement\":\"enforcement\"}'
    " }, { "lang": "JavaScript", @@ -19467,7 +19640,7 @@ { "verb": "delete", "requestPath": "/orgs/{org}/pre-receive-hooks/{pre_receive_hook_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "org", @@ -19491,8 +19664,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n https://api.github.com/orgs/ORG/pre-receive-hooks/42", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n  https://api.github.com/orgs/ORG/pre-receive-hooks/42
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/pre-receive-hooks/42", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/pre-receive-hooks/42
    " }, { "lang": "JavaScript", @@ -19544,7 +19717,7 @@ { "verb": "get", "requestPath": "/orgs/{org}/projects", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "org", @@ -19595,8 +19768,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n https://api.github.com/orgs/ORG/projects", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  https://api.github.com/orgs/ORG/projects
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/projects", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/projects
    " }, { "lang": "JavaScript", @@ -19651,7 +19824,7 @@ { "verb": "post", "requestPath": "/orgs/{org}/projects", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "org", @@ -19666,8 +19839,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n https://api.github.com/orgs/ORG/projects \\\n -d '{\"name\":\"name\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  https://api.github.com/orgs/ORG/projects \\\n  -d '{\"name\":\"name\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/projects \\\n -d '{\"name\":\"name\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/projects \\\n  -d '{\"name\":\"name\"}'
    " }, { "lang": "JavaScript", @@ -19797,7 +19970,7 @@ { "verb": "get", "requestPath": "/orgs/{org}/public_members", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "org", @@ -19832,8 +20005,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/orgs/ORG/public_members", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/orgs/ORG/public_members
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/public_members", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/public_members
    " }, { "lang": "JavaScript", @@ -19878,7 +20051,7 @@ { "verb": "get", "requestPath": "/orgs/{org}/public_members/{username}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "org", @@ -19902,8 +20075,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/orgs/ORG/public_members/USERNAME", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/orgs/ORG/public_members/USERNAME
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/public_members/USERNAME", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/public_members/USERNAME
    " }, { "lang": "JavaScript", @@ -19952,7 +20125,7 @@ { "verb": "put", "requestPath": "/orgs/{org}/public_members/{username}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "org", @@ -19976,8 +20149,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/orgs/ORG/public_members/USERNAME", - "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/orgs/ORG/public_members/USERNAME
    " + "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/public_members/USERNAME", + "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/public_members/USERNAME
    " }, { "lang": "JavaScript", @@ -20012,7 +20185,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "403", @@ -20026,7 +20199,7 @@ { "verb": "delete", "requestPath": "/orgs/{org}/public_members/{username}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "org", @@ -20050,8 +20223,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/orgs/ORG/public_members/USERNAME", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/orgs/ORG/public_members/USERNAME
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/public_members/USERNAME", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/public_members/USERNAME
    " }, { "lang": "JavaScript", @@ -20086,7 +20259,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "bodyParameters": [], @@ -20095,7 +20268,7 @@ { "verb": "get", "requestPath": "/orgs/{org}/repos", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "org", @@ -20108,7 +20281,7 @@ }, { "name": "type", - "description": "Specifies the types of repositories you want returned. Can be one of `all`, `public`, `private`, `forks`, `sources`, `member`, `internal`. Default: `all`. If your organization is associated with an enterprise account using GitHub Enterprise Cloud or GitHub Enterprise Server 2.20+, `type` can also be `internal`.", + "description": "Specifies the types of repositories you want returned. Can be one of `all`, `public`, `private`, `forks`, `sources`, `member`, `internal`. Note: For GitHub AE, can be one of `all`, `private`, `forks`, `sources`, `member`, `internal`. Default: `all`. If your organization is associated with an enterprise account using GitHub Enterprise Cloud or GitHub Enterprise Server 2.20+, `type` can also be `internal`.", "in": "query", "required": false, "schema": { @@ -20123,7 +20296,7 @@ "internal" ] }, - "descriptionHTML": "

    Specifies the types of repositories you want returned. Can be one of all, public, private, forks, sources, member, internal. Default: all. If your organization is associated with an enterprise account using GitHub Enterprise Cloud or GitHub Enterprise Server 2.20+, type can also be internal.

    " + "descriptionHTML": "

    Specifies the types of repositories you want returned. Can be one of all, public, private, forks, sources, member, internal. Note: For GitHub AE, can be one of all, private, forks, sources, member, internal. Default: all. If your organization is associated with an enterprise account using GitHub Enterprise Cloud or GitHub Enterprise Server 2.20+, type can also be internal.

    " }, { "name": "sort", @@ -20180,8 +20353,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/orgs/ORG/repos", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/orgs/ORG/repos
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/repos", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/repos
    " }, { "lang": "JavaScript", @@ -20237,7 +20410,7 @@ { "verb": "post", "requestPath": "/orgs/{org}/repos", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "org", @@ -20252,8 +20425,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/orgs/ORG/repos \\\n -d '{\"name\":\"name\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/orgs/ORG/repos \\\n  -d '{\"name\":\"name\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/repos \\\n -d '{\"name\":\"name\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/repos \\\n  -d '{\"name\":\"name\"}'
    " }, { "lang": "JavaScript", @@ -20262,7 +20435,7 @@ } ], "summary": "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", + "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", "tags": [ "repos" ], @@ -20306,17 +20479,17 @@ }, "private": { "type": "boolean", - "description": "

    Either true to create a private repository or false to create a public one.

    ", + "description": "

    Whether the repository is private.

    ", "default": false, "name": "private", "in": "body", "rawType": "boolean", - "rawDescription": "Either `true` to create a private repository or `false` to create a public one.", + "rawDescription": "Whether the repository is private.", "childParamsGroups": [] }, "visibility": { "type": "string", - "description": "

    Can be public or private. If your organization is associated with an enterprise account using GitHub Enterprise Cloud or GitHub Enterprise Server 2.20+, visibility can also be internal. For more information, see \"Creating an internal repository\" in the GitHub Help documentation.
    \nThe visibility parameter overrides the private parameter when you use both parameters with the nebula-preview preview header.

    ", + "description": "

    Can be public or private. If your organization is associated with an enterprise account using GitHub Enterprise Cloud or GitHub Enterprise Server 2.20+, visibility can also be internal. Note: For GitHub Enterprise Server and GitHub AE, this endpoint will only list repositories available to all users on the enterprise. For more information, see \"Creating an internal repository\" in the GitHub Help documentation.
    \nThe visibility parameter overrides the private parameter when you use both parameters with the nebula-preview preview header.

    ", "enum": [ "public", "private", @@ -20326,7 +20499,7 @@ "name": "visibility", "in": "body", "rawType": "string", - "rawDescription": "Can be `public` or `private`. If your organization is associated with an enterprise account using GitHub Enterprise Cloud or GitHub Enterprise Server 2.20+, `visibility` can also be `internal`. For more information, see \"[Creating an internal repository](https://help.github.com/en/github/creating-cloning-and-archiving-repositories/about-repository-visibility#about-internal-repositories)\" in the GitHub Help documentation. \nThe `visibility` parameter overrides the `private` parameter when you use both parameters with the `nebula-preview` preview header.", + "rawDescription": "Can be `public` or `private`. If your organization is associated with an enterprise account using GitHub Enterprise Cloud or GitHub Enterprise Server 2.20+, `visibility` can also be `internal`. Note: For GitHub Enterprise Server and GitHub AE, this endpoint will only list repositories available to all users on the enterprise. For more information, see \"[Creating an internal repository](https://help.github.com/en/github/creating-cloning-and-archiving-repositories/about-repository-visibility#about-internal-repositories)\" in the GitHub Help documentation. \nThe `visibility` parameter overrides the `private` parameter when you use both parameters with the `nebula-preview` preview header.", "childParamsGroups": [] }, "has_issues": { @@ -20487,7 +20660,7 @@ "category": "repos", "categoryLabel": "Repos", "notes": [], - "descriptionHTML": "

    Creates a new repository in the specified organization. The authenticated user must be a member of the organization.

    \n

    OAuth scope requirements

    \n

    When using OAuth, 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
    ", + "descriptionHTML": "

    Creates a new repository in the specified organization. The authenticated user must be a member of the organization.

    \n

    OAuth scope requirements

    \n

    When using OAuth, 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
    ", "bodyParameters": [ { "type": "string", @@ -20518,17 +20691,17 @@ }, { "type": "boolean", - "description": "

    Either true to create a private repository or false to create a public one.

    ", + "description": "

    Whether the repository is private.

    ", "default": false, "name": "private", "in": "body", "rawType": "boolean", - "rawDescription": "Either `true` to create a private repository or `false` to create a public one.", + "rawDescription": "Whether the repository is private.", "childParamsGroups": [] }, { "type": "string", - "description": "

    Can be public or private. If your organization is associated with an enterprise account using GitHub Enterprise Cloud or GitHub Enterprise Server 2.20+, visibility can also be internal. For more information, see \"Creating an internal repository\" in the GitHub Help documentation.
    \nThe visibility parameter overrides the private parameter when you use both parameters with the nebula-preview preview header.

    ", + "description": "

    Can be public or private. If your organization is associated with an enterprise account using GitHub Enterprise Cloud or GitHub Enterprise Server 2.20+, visibility can also be internal. Note: For GitHub Enterprise Server and GitHub AE, this endpoint will only list repositories available to all users on the enterprise. For more information, see \"Creating an internal repository\" in the GitHub Help documentation.
    \nThe visibility parameter overrides the private parameter when you use both parameters with the nebula-preview preview header.

    ", "enum": [ "public", "private", @@ -20538,7 +20711,7 @@ "name": "visibility", "in": "body", "rawType": "string", - "rawDescription": "Can be `public` or `private`. If your organization is associated with an enterprise account using GitHub Enterprise Cloud or GitHub Enterprise Server 2.20+, `visibility` can also be `internal`. For more information, see \"[Creating an internal repository](https://help.github.com/en/github/creating-cloning-and-archiving-repositories/about-repository-visibility#about-internal-repositories)\" in the GitHub Help documentation. \nThe `visibility` parameter overrides the `private` parameter when you use both parameters with the `nebula-preview` preview header.", + "rawDescription": "Can be `public` or `private`. If your organization is associated with an enterprise account using GitHub Enterprise Cloud or GitHub Enterprise Server 2.20+, `visibility` can also be `internal`. Note: For GitHub Enterprise Server and GitHub AE, this endpoint will only list repositories available to all users on the enterprise. For more information, see \"[Creating an internal repository](https://help.github.com/en/github/creating-cloning-and-archiving-repositories/about-repository-visibility#about-internal-repositories)\" in the GitHub Help documentation. \nThe `visibility` parameter overrides the `private` parameter when you use both parameters with the `nebula-preview` preview header.", "childParamsGroups": [] }, { @@ -20681,7 +20854,7 @@ { "verb": "get", "requestPath": "/orgs/{org}/teams", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "org", @@ -20716,8 +20889,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/orgs/ORG/teams", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/orgs/ORG/teams
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/teams", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/teams
    " }, { "lang": "JavaScript", @@ -20765,7 +20938,7 @@ { "verb": "post", "requestPath": "/orgs/{org}/teams", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "org", @@ -20780,8 +20953,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/orgs/ORG/teams \\\n -d '{\"name\":\"name\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/orgs/ORG/teams \\\n  -d '{\"name\":\"name\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/teams \\\n -d '{\"name\":\"name\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/teams \\\n  -d '{\"name\":\"name\"}'
    " }, { "lang": "JavaScript", @@ -21013,7 +21186,7 @@ { "verb": "get", "requestPath": "/orgs/{org}/teams/{team_slug}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "org", @@ -21038,8 +21211,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/orgs/ORG/teams/TEAM_SLUG", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/orgs/ORG/teams/TEAM_SLUG
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/teams/TEAM_SLUG", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/teams/TEAM_SLUG
    " }, { "lang": "JavaScript", @@ -21087,7 +21260,7 @@ { "verb": "patch", "requestPath": "/orgs/{org}/teams/{team_slug}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "org", @@ -21112,8 +21285,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/orgs/ORG/teams/TEAM_SLUG \\\n -d '{\"name\":\"name\"}'", - "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/orgs/ORG/teams/TEAM_SLUG \\\n  -d '{\"name\":\"name\"}'
    " + "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/teams/TEAM_SLUG \\\n -d '{\"name\":\"name\"}'", + "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/teams/TEAM_SLUG \\\n  -d '{\"name\":\"name\"}'
    " }, { "lang": "JavaScript", @@ -21285,7 +21458,7 @@ { "verb": "delete", "requestPath": "/orgs/{org}/teams/{team_slug}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "org", @@ -21310,8 +21483,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/orgs/ORG/teams/TEAM_SLUG", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/orgs/ORG/teams/TEAM_SLUG
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/teams/TEAM_SLUG", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/teams/TEAM_SLUG
    " }, { "lang": "JavaScript", @@ -21344,7 +21517,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "bodyParameters": [], @@ -21353,7 +21526,7 @@ { "verb": "get", "requestPath": "/orgs/{org}/teams/{team_slug}/discussions", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "org", @@ -21408,13 +21581,23 @@ "default": 1 }, "descriptionHTML": "

    Page number of the results to fetch.

    " + }, + { + "name": "pinned", + "in": "query", + "required": false, + "description": "Pinned discussions only filter", + "schema": { + "type": "string" + }, + "descriptionHTML": "

    Pinned discussions only filter

    " } ], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/orgs/ORG/teams/TEAM_SLUG/discussions", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/orgs/ORG/teams/TEAM_SLUG/discussions
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/teams/TEAM_SLUG/discussions", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/teams/TEAM_SLUG/discussions
    " }, { "lang": "JavaScript", @@ -21466,7 +21649,7 @@ { "verb": "post", "requestPath": "/orgs/{org}/teams/{team_slug}/discussions", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "org", @@ -21491,8 +21674,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/orgs/ORG/teams/TEAM_SLUG/discussions \\\n -d '{\"title\":\"title\",\"body\":\"body\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/orgs/ORG/teams/TEAM_SLUG/discussions \\\n  -d '{\"title\":\"title\",\"body\":\"body\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/teams/TEAM_SLUG/discussions \\\n -d '{\"title\":\"title\",\"body\":\"body\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/teams/TEAM_SLUG/discussions \\\n  -d '{\"title\":\"title\",\"body\":\"body\"}'
    " }, { "lang": "JavaScript", @@ -21621,7 +21804,7 @@ { "verb": "get", "requestPath": "/orgs/{org}/teams/{team_slug}/discussions/{discussion_number}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "org", @@ -21655,8 +21838,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/orgs/ORG/teams/TEAM_SLUG/discussions/42", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/orgs/ORG/teams/TEAM_SLUG/discussions/42
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/teams/TEAM_SLUG/discussions/42", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/teams/TEAM_SLUG/discussions/42
    " }, { "lang": "JavaScript", @@ -21708,7 +21891,7 @@ { "verb": "patch", "requestPath": "/orgs/{org}/teams/{team_slug}/discussions/{discussion_number}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "org", @@ -21742,8 +21925,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/orgs/ORG/teams/TEAM_SLUG/discussions/42 \\\n -d '{\"title\":\"title\"}'", - "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/orgs/ORG/teams/TEAM_SLUG/discussions/42 \\\n  -d '{\"title\":\"title\"}'
    " + "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/teams/TEAM_SLUG/discussions/42 \\\n -d '{\"title\":\"title\"}'", + "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/teams/TEAM_SLUG/discussions/42 \\\n  -d '{\"title\":\"title\"}'
    " }, { "lang": "JavaScript", @@ -21846,7 +22029,7 @@ { "verb": "delete", "requestPath": "/orgs/{org}/teams/{team_slug}/discussions/{discussion_number}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "org", @@ -21880,8 +22063,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/orgs/ORG/teams/TEAM_SLUG/discussions/42", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/orgs/ORG/teams/TEAM_SLUG/discussions/42
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/teams/TEAM_SLUG/discussions/42", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/teams/TEAM_SLUG/discussions/42
    " }, { "lang": "JavaScript", @@ -21916,7 +22099,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "bodyParameters": [], @@ -21925,7 +22108,7 @@ { "verb": "get", "requestPath": "/orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "org", @@ -21994,8 +22177,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/orgs/ORG/teams/TEAM_SLUG/discussions/42/comments", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/orgs/ORG/teams/TEAM_SLUG/discussions/42/comments
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/teams/TEAM_SLUG/discussions/42/comments", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/teams/TEAM_SLUG/discussions/42/comments
    " }, { "lang": "JavaScript", @@ -22047,7 +22230,7 @@ { "verb": "post", "requestPath": "/orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "org", @@ -22081,8 +22264,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/orgs/ORG/teams/TEAM_SLUG/discussions/42/comments \\\n -d '{\"body\":\"body\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/orgs/ORG/teams/TEAM_SLUG/discussions/42/comments \\\n  -d '{\"body\":\"body\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/teams/TEAM_SLUG/discussions/42/comments \\\n -d '{\"body\":\"body\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/teams/TEAM_SLUG/discussions/42/comments \\\n  -d '{\"body\":\"body\"}'
    " }, { "lang": "JavaScript", @@ -22171,7 +22354,7 @@ { "verb": "get", "requestPath": "/orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "org", @@ -22214,8 +22397,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/orgs/ORG/teams/TEAM_SLUG/discussions/42/comments/42", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/orgs/ORG/teams/TEAM_SLUG/discussions/42/comments/42
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/teams/TEAM_SLUG/discussions/42/comments/42", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/teams/TEAM_SLUG/discussions/42/comments/42
    " }, { "lang": "JavaScript", @@ -22267,7 +22450,7 @@ { "verb": "patch", "requestPath": "/orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "org", @@ -22310,8 +22493,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/orgs/ORG/teams/TEAM_SLUG/discussions/42/comments/42 \\\n -d '{\"body\":\"body\"}'", - "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/orgs/ORG/teams/TEAM_SLUG/discussions/42/comments/42 \\\n  -d '{\"body\":\"body\"}'
    " + "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/teams/TEAM_SLUG/discussions/42/comments/42 \\\n -d '{\"body\":\"body\"}'", + "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/teams/TEAM_SLUG/discussions/42/comments/42 \\\n  -d '{\"body\":\"body\"}'
    " }, { "lang": "JavaScript", @@ -22399,7 +22582,7 @@ { "verb": "delete", "requestPath": "/orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "org", @@ -22442,8 +22625,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/orgs/ORG/teams/TEAM_SLUG/discussions/42/comments/42", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/orgs/ORG/teams/TEAM_SLUG/discussions/42/comments/42
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/teams/TEAM_SLUG/discussions/42/comments/42", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/teams/TEAM_SLUG/discussions/42/comments/42
    " }, { "lang": "JavaScript", @@ -22478,7 +22661,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "bodyParameters": [], @@ -22487,7 +22670,7 @@ { "verb": "get", "requestPath": "/orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}/reactions", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "org", @@ -22570,8 +22753,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n https://api.github.com/orgs/ORG/teams/TEAM_SLUG/discussions/42/comments/42/reactions", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n  https://api.github.com/orgs/ORG/teams/TEAM_SLUG/discussions/42/comments/42/reactions
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/teams/TEAM_SLUG/discussions/42/comments/42/reactions", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/teams/TEAM_SLUG/discussions/42/comments/42/reactions
    " }, { "lang": "JavaScript", @@ -22621,7 +22804,7 @@ { "verb": "post", "requestPath": "/orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}/reactions", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "org", @@ -22664,8 +22847,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n https://api.github.com/orgs/ORG/teams/TEAM_SLUG/discussions/42/comments/42/reactions \\\n -d '{\"content\":\"content\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n  https://api.github.com/orgs/ORG/teams/TEAM_SLUG/discussions/42/comments/42/reactions \\\n  -d '{\"content\":\"content\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/teams/TEAM_SLUG/discussions/42/comments/42/reactions \\\n -d '{\"content\":\"content\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/teams/TEAM_SLUG/discussions/42/comments/42/reactions \\\n  -d '{\"content\":\"content\"}'
    " }, { "lang": "JavaScript", @@ -22771,7 +22954,7 @@ { "verb": "delete", "requestPath": "/orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}/reactions/{reaction_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "org", @@ -22823,8 +23006,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n https://api.github.com/orgs/ORG/teams/TEAM_SLUG/discussions/42/comments/42/reactions/42", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n  https://api.github.com/orgs/ORG/teams/TEAM_SLUG/discussions/42/comments/42/reactions/42
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/teams/TEAM_SLUG/discussions/42/comments/42/reactions/42", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/teams/TEAM_SLUG/discussions/42/comments/42/reactions/42
    " }, { "lang": "JavaScript", @@ -22864,7 +23047,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "bodyParameters": [], @@ -22873,7 +23056,7 @@ { "verb": "get", "requestPath": "/orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/reactions", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "org", @@ -22947,8 +23130,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n https://api.github.com/orgs/ORG/teams/TEAM_SLUG/discussions/42/reactions", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n  https://api.github.com/orgs/ORG/teams/TEAM_SLUG/discussions/42/reactions
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/teams/TEAM_SLUG/discussions/42/reactions", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/teams/TEAM_SLUG/discussions/42/reactions
    " }, { "lang": "JavaScript", @@ -22998,7 +23181,7 @@ { "verb": "post", "requestPath": "/orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/reactions", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "org", @@ -23032,8 +23215,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n https://api.github.com/orgs/ORG/teams/TEAM_SLUG/discussions/42/reactions \\\n -d '{\"content\":\"content\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n  https://api.github.com/orgs/ORG/teams/TEAM_SLUG/discussions/42/reactions \\\n  -d '{\"content\":\"content\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/teams/TEAM_SLUG/discussions/42/reactions \\\n -d '{\"content\":\"content\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/teams/TEAM_SLUG/discussions/42/reactions \\\n  -d '{\"content\":\"content\"}'
    " }, { "lang": "JavaScript", @@ -23139,7 +23322,7 @@ { "verb": "delete", "requestPath": "/orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/reactions/{reaction_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "org", @@ -23182,8 +23365,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n https://api.github.com/orgs/ORG/teams/TEAM_SLUG/discussions/42/reactions/42", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n  https://api.github.com/orgs/ORG/teams/TEAM_SLUG/discussions/42/reactions/42
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/teams/TEAM_SLUG/discussions/42/reactions/42", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/teams/TEAM_SLUG/discussions/42/reactions/42
    " }, { "lang": "JavaScript", @@ -23223,7 +23406,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "bodyParameters": [], @@ -23232,7 +23415,7 @@ { "verb": "get", "requestPath": "/orgs/{org}/teams/{team_slug}/members", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "org", @@ -23293,8 +23476,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/orgs/ORG/teams/TEAM_SLUG/members", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/orgs/ORG/teams/TEAM_SLUG/members
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/teams/TEAM_SLUG/members", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/teams/TEAM_SLUG/members
    " }, { "lang": "JavaScript", @@ -23339,7 +23522,7 @@ { "verb": "get", "requestPath": "/orgs/{org}/teams/{team_slug}/memberships/{username}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "org", @@ -23373,8 +23556,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/orgs/ORG/teams/TEAM_SLUG/memberships/USERNAME", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/orgs/ORG/teams/TEAM_SLUG/memberships/USERNAME
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/teams/TEAM_SLUG/memberships/USERNAME", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/teams/TEAM_SLUG/memberships/USERNAME
    " }, { "lang": "JavaScript", @@ -23383,7 +23566,7 @@ } ], "summary": "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).", + "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).", "tags": [ "teams" ], @@ -23406,26 +23589,14 @@ "subcategoryLabel": "Members", "notes": [], "bodyParameters": [], - "descriptionHTML": "

    Team members will include the members of child teams.

    \n

    To get a user's membership with a team, the team must be visible to the authenticated user.

    \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

    Note: The role for organization owners returns as maintainer. For more information about maintainer roles, see Create a team.

    ", + "descriptionHTML": "

    Team members will include the members of child teams.

    \n

    To get a user's membership with a team, the team must be visible to the authenticated user.

    \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

    Note:\nThe response contains the state of the membership and the member's role.

    \n

    The role for organization owners is set to maintainer. For more information about maintainer roles, see see Create a team.

    ", "responses": [ - { - "httpStatusCode": "200", - "httpStatusMessage": "OK", - "description": "Response if user has an active membership with team", - "payload": "
    {\n  \"url\": \"https://api.github.com/teams/1/memberships/octocat\",\n  \"role\": \"member\",\n  \"state\": \"active\"\n}\n
    " - }, { "httpStatusCode": "200", "httpStatusMessage": "OK", "description": "Response if user is a team maintainer", "payload": "
    {\n  \"url\": \"https://api.github.com/teams/1/memberships/octocat\",\n  \"role\": \"maintainer\",\n  \"state\": \"active\"\n}\n
    " }, - { - "httpStatusCode": "200", - "httpStatusMessage": "OK", - "description": "Response if user has a pending membership with team", - "payload": "
    {\n  \"url\": \"https://api.github.com/teams/1/memberships/octocat\",\n  \"role\": \"member\",\n  \"state\": \"pending\"\n}\n
    " - }, { "httpStatusCode": "404", "httpStatusMessage": "Not Found", @@ -23436,7 +23607,7 @@ { "verb": "put", "requestPath": "/orgs/{org}/teams/{team_slug}/memberships/{username}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "org", @@ -23470,8 +23641,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/orgs/ORG/teams/TEAM_SLUG/memberships/USERNAME \\\n -d '{\"role\":\"role\"}'", - "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/orgs/ORG/teams/TEAM_SLUG/memberships/USERNAME \\\n  -d '{\"role\":\"role\"}'
    " + "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/teams/TEAM_SLUG/memberships/USERNAME \\\n -d '{\"role\":\"role\"}'", + "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/teams/TEAM_SLUG/memberships/USERNAME \\\n  -d '{\"role\":\"role\"}'
    " }, { "lang": "JavaScript", @@ -23545,12 +23716,6 @@ } ], "responses": [ - { - "httpStatusCode": "200", - "httpStatusMessage": "OK", - "description": "Response if user's membership with team is now active", - "payload": "
    {\n  \"url\": \"https://api.github.com/teams/1/memberships/octocat\",\n  \"role\": \"member\",\n  \"state\": \"active\"\n}\n
    " - }, { "httpStatusCode": "200", "httpStatusMessage": "OK", @@ -23565,15 +23730,14 @@ { "httpStatusCode": "422", "httpStatusMessage": "Unprocessable Entity", - "description": "Response if you attempt to add an organization to a team", - "payload": "
    {\n  \"message\": \"Cannot add an organization as a member.\",\n  \"errors\": [\n    {\n      \"code\": \"org\",\n      \"field\": \"user\",\n      \"resource\": \"TeamMember\"\n    }\n  ]\n}\n
    " + "description": "Response if you attempt to add an organization to a team" } ] }, { "verb": "delete", "requestPath": "/orgs/{org}/teams/{team_slug}/memberships/{username}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "org", @@ -23607,8 +23771,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/orgs/ORG/teams/TEAM_SLUG/memberships/USERNAME", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/orgs/ORG/teams/TEAM_SLUG/memberships/USERNAME
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/teams/TEAM_SLUG/memberships/USERNAME", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/teams/TEAM_SLUG/memberships/USERNAME
    " }, { "lang": "JavaScript", @@ -23643,7 +23807,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "403", @@ -23657,7 +23821,7 @@ { "verb": "get", "requestPath": "/orgs/{org}/teams/{team_slug}/projects", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "org", @@ -23702,8 +23866,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n https://api.github.com/orgs/ORG/teams/TEAM_SLUG/projects", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  https://api.github.com/orgs/ORG/teams/TEAM_SLUG/projects
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/teams/TEAM_SLUG/projects", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/teams/TEAM_SLUG/projects
    " }, { "lang": "JavaScript", @@ -23753,7 +23917,7 @@ { "verb": "get", "requestPath": "/orgs/{org}/teams/{team_slug}/projects/{project_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "org", @@ -23787,8 +23951,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n https://api.github.com/orgs/ORG/teams/TEAM_SLUG/projects/42", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  https://api.github.com/orgs/ORG/teams/TEAM_SLUG/projects/42
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/teams/TEAM_SLUG/projects/42", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/teams/TEAM_SLUG/projects/42
    " }, { "lang": "JavaScript", @@ -23843,7 +24007,7 @@ { "verb": "put", "requestPath": "/orgs/{org}/teams/{team_slug}/projects/{project_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "org", @@ -23877,8 +24041,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n https://api.github.com/orgs/ORG/teams/TEAM_SLUG/projects/42 \\\n -d '{\"permission\":\"permission\"}'", - "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  https://api.github.com/orgs/ORG/teams/TEAM_SLUG/projects/42 \\\n  -d '{\"permission\":\"permission\"}'
    " + "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/teams/TEAM_SLUG/projects/42 \\\n -d '{\"permission\":\"permission\"}'", + "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/teams/TEAM_SLUG/projects/42 \\\n  -d '{\"permission\":\"permission\"}'
    " }, { "lang": "JavaScript", @@ -23961,7 +24125,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "403", @@ -23974,7 +24138,7 @@ { "verb": "delete", "requestPath": "/orgs/{org}/teams/{team_slug}/projects/{project_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "org", @@ -24008,8 +24172,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/orgs/ORG/teams/TEAM_SLUG/projects/42", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/orgs/ORG/teams/TEAM_SLUG/projects/42
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/teams/TEAM_SLUG/projects/42", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/teams/TEAM_SLUG/projects/42
    " }, { "lang": "JavaScript", @@ -24042,7 +24206,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "bodyParameters": [], @@ -24051,7 +24215,7 @@ { "verb": "get", "requestPath": "/orgs/{org}/teams/{team_slug}/repos", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "org", @@ -24096,8 +24260,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/orgs/ORG/teams/TEAM_SLUG/repos", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/orgs/ORG/teams/TEAM_SLUG/repos
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/teams/TEAM_SLUG/repos", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/teams/TEAM_SLUG/repos
    " }, { "lang": "JavaScript", @@ -24140,7 +24304,7 @@ { "verb": "get", "requestPath": "/orgs/{org}/teams/{team_slug}/repos/{owner}/{repo}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "org", @@ -24183,8 +24347,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/orgs/ORG/teams/TEAM_SLUG/repos/octocat/hello-world", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/orgs/ORG/teams/TEAM_SLUG/repos/octocat/hello-world
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/teams/TEAM_SLUG/repos/octocat/hello-world", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/teams/TEAM_SLUG/repos/octocat/hello-world
    " }, { "lang": "JavaScript", @@ -24236,7 +24400,7 @@ { "verb": "put", "requestPath": "/orgs/{org}/teams/{team_slug}/repos/{owner}/{repo}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "org", @@ -24279,8 +24443,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/orgs/ORG/teams/TEAM_SLUG/repos/octocat/hello-world \\\n -d '{\"permission\":\"permission\"}'", - "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/orgs/ORG/teams/TEAM_SLUG/repos/octocat/hello-world \\\n  -d '{\"permission\":\"permission\"}'
    " + "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/teams/TEAM_SLUG/repos/octocat/hello-world \\\n -d '{\"permission\":\"permission\"}'", + "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/teams/TEAM_SLUG/repos/octocat/hello-world \\\n  -d '{\"permission\":\"permission\"}'
    " }, { "lang": "JavaScript", @@ -24340,7 +24504,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "descriptionHTML": "

    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.\"

    \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

    For more information about the permission levels, see \"Repository permission levels for an organization\".

    ", @@ -24366,7 +24530,7 @@ { "verb": "delete", "requestPath": "/orgs/{org}/teams/{team_slug}/repos/{owner}/{repo}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "org", @@ -24409,8 +24573,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/orgs/ORG/teams/TEAM_SLUG/repos/octocat/hello-world", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/orgs/ORG/teams/TEAM_SLUG/repos/octocat/hello-world
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/teams/TEAM_SLUG/repos/octocat/hello-world", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/teams/TEAM_SLUG/repos/octocat/hello-world
    " }, { "lang": "JavaScript", @@ -24443,7 +24607,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "bodyParameters": [], @@ -24452,7 +24616,7 @@ { "verb": "get", "requestPath": "/orgs/{org}/teams/{team_slug}/teams", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "org", @@ -24497,8 +24661,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/orgs/ORG/teams/TEAM_SLUG/teams", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/orgs/ORG/teams/TEAM_SLUG/teams
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/teams/TEAM_SLUG/teams", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/teams/TEAM_SLUG/teams
    " }, { "lang": "JavaScript", @@ -24541,7 +24705,7 @@ { "verb": "get", "requestPath": "/projects/columns/cards/{card_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "card_id", @@ -24557,8 +24721,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n https://api.github.com/projects/columns/cards/42", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  https://api.github.com/projects/columns/cards/42
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n http(s)://{hostname}/api/v3/projects/columns/cards/42", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  http(s)://{hostname}/api/v3/projects/columns/cards/42
    " }, { "lang": "JavaScript", @@ -24630,7 +24794,7 @@ { "verb": "patch", "requestPath": "/projects/columns/cards/{card_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "card_id", @@ -24646,8 +24810,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n https://api.github.com/projects/columns/cards/42 \\\n -d '{\"note\":\"note\"}'", - "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  https://api.github.com/projects/columns/cards/42 \\\n  -d '{\"note\":\"note\"}'
    " + "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n http(s)://{hostname}/api/v3/projects/columns/cards/42 \\\n -d '{\"note\":\"note\"}'", + "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  http(s)://{hostname}/api/v3/projects/columns/cards/42 \\\n  -d '{\"note\":\"note\"}'
    " }, { "lang": "JavaScript", @@ -24778,7 +24942,7 @@ { "verb": "delete", "requestPath": "/projects/columns/cards/{card_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "card_id", @@ -24794,8 +24958,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n https://api.github.com/projects/columns/cards/42", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  https://api.github.com/projects/columns/cards/42
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n http(s)://{hostname}/api/v3/projects/columns/cards/42", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  http(s)://{hostname}/api/v3/projects/columns/cards/42
    " }, { "lang": "JavaScript", @@ -24837,7 +25001,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "304", @@ -24866,7 +25030,7 @@ { "verb": "post", "requestPath": "/projects/columns/cards/{card_id}/moves", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "card_id", @@ -24882,8 +25046,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n https://api.github.com/projects/columns/cards/42/moves \\\n -d '{\"position\":\"position\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  https://api.github.com/projects/columns/cards/42/moves \\\n  -d '{\"position\":\"position\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n http(s)://{hostname}/api/v3/projects/columns/cards/42/moves \\\n -d '{\"position\":\"position\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  http(s)://{hostname}/api/v3/projects/columns/cards/42/moves \\\n  -d '{\"position\":\"position\"}'
    " }, { "lang": "JavaScript", @@ -25016,7 +25180,7 @@ { "verb": "get", "requestPath": "/projects/columns/{column_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "column_id", @@ -25032,8 +25196,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n https://api.github.com/projects/columns/42", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  https://api.github.com/projects/columns/42
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n http(s)://{hostname}/api/v3/projects/columns/42", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  http(s)://{hostname}/api/v3/projects/columns/42
    " }, { "lang": "JavaScript", @@ -25105,7 +25269,7 @@ { "verb": "patch", "requestPath": "/projects/columns/{column_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "column_id", @@ -25121,8 +25285,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n https://api.github.com/projects/columns/42 \\\n -d '{\"name\":\"name\"}'", - "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  https://api.github.com/projects/columns/42 \\\n  -d '{\"name\":\"name\"}'
    " + "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n http(s)://{hostname}/api/v3/projects/columns/42 \\\n -d '{\"name\":\"name\"}'", + "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  http(s)://{hostname}/api/v3/projects/columns/42 \\\n  -d '{\"name\":\"name\"}'
    " }, { "lang": "JavaScript", @@ -25224,7 +25388,7 @@ { "verb": "delete", "requestPath": "/projects/columns/{column_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "column_id", @@ -25240,8 +25404,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n https://api.github.com/projects/columns/42", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  https://api.github.com/projects/columns/42
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n http(s)://{hostname}/api/v3/projects/columns/42", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  http(s)://{hostname}/api/v3/projects/columns/42
    " }, { "lang": "JavaScript", @@ -25283,7 +25447,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "304", @@ -25307,7 +25471,7 @@ { "verb": "get", "requestPath": "/projects/columns/{column_id}/cards", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "column_id", @@ -25359,8 +25523,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n https://api.github.com/projects/columns/42/cards", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  https://api.github.com/projects/columns/42/cards
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n http(s)://{hostname}/api/v3/projects/columns/42/cards", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  http(s)://{hostname}/api/v3/projects/columns/42/cards
    " }, { "lang": "JavaScript", @@ -25427,7 +25591,7 @@ { "verb": "post", "requestPath": "/projects/columns/{column_id}/cards", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "column_id", @@ -25443,8 +25607,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n https://api.github.com/projects/columns/42/cards \\\n -d '{\"note\":\"note\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  https://api.github.com/projects/columns/42/cards \\\n  -d '{\"note\":\"note\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n http(s)://{hostname}/api/v3/projects/columns/42/cards \\\n -d '{\"note\":\"note\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  http(s)://{hostname}/api/v3/projects/columns/42/cards \\\n  -d '{\"note\":\"note\"}'
    " }, { "lang": "JavaScript", @@ -25564,7 +25728,7 @@ { "verb": "post", "requestPath": "/projects/columns/{column_id}/moves", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "column_id", @@ -25580,8 +25744,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n https://api.github.com/projects/columns/42/moves \\\n -d '{\"position\":\"position\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  https://api.github.com/projects/columns/42/moves \\\n  -d '{\"position\":\"position\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n http(s)://{hostname}/api/v3/projects/columns/42/moves \\\n -d '{\"position\":\"position\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  http(s)://{hostname}/api/v3/projects/columns/42/moves \\\n  -d '{\"position\":\"position\"}'
    " }, { "lang": "JavaScript", @@ -25689,7 +25853,7 @@ { "verb": "get", "requestPath": "/projects/{project_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "project_id", @@ -25704,8 +25868,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n https://api.github.com/projects/42", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  https://api.github.com/projects/42
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n http(s)://{hostname}/api/v3/projects/42", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  http(s)://{hostname}/api/v3/projects/42
    " }, { "lang": "JavaScript", @@ -25770,7 +25934,7 @@ { "verb": "patch", "requestPath": "/projects/{project_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "project_id", @@ -25785,8 +25949,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n https://api.github.com/projects/42 \\\n -d '{\"name\":\"name\"}'", - "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  https://api.github.com/projects/42 \\\n  -d '{\"name\":\"name\"}'
    " + "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n http(s)://{hostname}/api/v3/projects/42 \\\n -d '{\"name\":\"name\"}'", + "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  http(s)://{hostname}/api/v3/projects/42 \\\n  -d '{\"name\":\"name\"}'
    " }, { "lang": "JavaScript", @@ -25988,7 +26152,7 @@ { "verb": "delete", "requestPath": "/projects/{project_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "project_id", @@ -26003,8 +26167,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n https://api.github.com/projects/42", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  https://api.github.com/projects/42
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n http(s)://{hostname}/api/v3/projects/42", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  http(s)://{hostname}/api/v3/projects/42
    " }, { "lang": "JavaScript", @@ -26078,7 +26242,7 @@ { "verb": "get", "requestPath": "/projects/{project_id}/collaborators", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "project_id", @@ -26129,8 +26293,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n https://api.github.com/projects/42/collaborators", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  https://api.github.com/projects/42/collaborators
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n http(s)://{hostname}/api/v3/projects/42/collaborators", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  http(s)://{hostname}/api/v3/projects/42/collaborators
    " }, { "lang": "JavaScript", @@ -26212,7 +26376,7 @@ { "verb": "put", "requestPath": "/projects/{project_id}/collaborators/{username}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "project_id", @@ -26236,8 +26400,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n https://api.github.com/projects/42/collaborators/USERNAME \\\n -d '{\"permission\":\"permission\"}'", - "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  https://api.github.com/projects/42/collaborators/USERNAME \\\n  -d '{\"permission\":\"permission\"}'
    " + "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n http(s)://{hostname}/api/v3/projects/42/collaborators/USERNAME \\\n -d '{\"permission\":\"permission\"}'", + "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  http(s)://{hostname}/api/v3/projects/42/collaborators/USERNAME \\\n  -d '{\"permission\":\"permission\"}'
    " }, { "lang": "JavaScript", @@ -26306,7 +26470,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "304", @@ -26362,7 +26526,7 @@ { "verb": "delete", "requestPath": "/projects/{project_id}/collaborators/{username}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "project_id", @@ -26386,8 +26550,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n https://api.github.com/projects/42/collaborators/USERNAME", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  https://api.github.com/projects/42/collaborators/USERNAME
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n http(s)://{hostname}/api/v3/projects/42/collaborators/USERNAME", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  http(s)://{hostname}/api/v3/projects/42/collaborators/USERNAME
    " }, { "lang": "JavaScript", @@ -26429,7 +26593,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "304", @@ -26468,7 +26632,7 @@ { "verb": "get", "requestPath": "/projects/{project_id}/collaborators/{username}/permission", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "project_id", @@ -26492,8 +26656,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n https://api.github.com/projects/42/collaborators/USERNAME/permission", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  https://api.github.com/projects/42/collaborators/USERNAME/permission
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n http(s)://{hostname}/api/v3/projects/42/collaborators/USERNAME/permission", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  http(s)://{hostname}/api/v3/projects/42/collaborators/USERNAME/permission
    " }, { "lang": "JavaScript", @@ -26575,7 +26739,7 @@ { "verb": "get", "requestPath": "/projects/{project_id}/columns", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "project_id", @@ -26610,8 +26774,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n https://api.github.com/projects/42/columns", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  https://api.github.com/projects/42/columns
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n http(s)://{hostname}/api/v3/projects/42/columns", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  http(s)://{hostname}/api/v3/projects/42/columns
    " }, { "lang": "JavaScript", @@ -26678,7 +26842,7 @@ { "verb": "post", "requestPath": "/projects/{project_id}/columns", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "project_id", @@ -26693,8 +26857,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n https://api.github.com/projects/42/columns \\\n -d '{\"name\":\"name\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  https://api.github.com/projects/42/columns \\\n  -d '{\"name\":\"name\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n http(s)://{hostname}/api/v3/projects/42/columns \\\n -d '{\"name\":\"name\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  http(s)://{hostname}/api/v3/projects/42/columns \\\n  -d '{\"name\":\"name\"}'
    " }, { "lang": "JavaScript", @@ -26801,13 +26965,13 @@ { "verb": "get", "requestPath": "/rate_limit", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/rate_limit", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/rate_limit
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/rate_limit", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/rate_limit
    " }, { "lang": "JavaScript", @@ -26860,7 +27024,7 @@ { "verb": "delete", "requestPath": "/reactions/{reaction_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "reaction_id", @@ -26875,8 +27039,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n https://api.github.com/reactions/42", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n  https://api.github.com/reactions/42
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n http(s)://{hostname}/api/v3/reactions/42", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n  http(s)://{hostname}/api/v3/reactions/42
    " }, { "lang": "JavaScript", @@ -26919,7 +27083,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "304", @@ -26953,7 +27117,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -26977,8 +27141,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world
    " }, { "lang": "JavaScript", @@ -27055,7 +27219,7 @@ { "verb": "patch", "requestPath": "/repos/{owner}/{repo}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -27079,8 +27243,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world \\\n -d '{\"name\":\"name\"}'", - "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world \\\n  -d '{\"name\":\"name\"}'
    " + "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world \\\n -d '{\"name\":\"name\"}'", + "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world \\\n  -d '{\"name\":\"name\"}'
    " }, { "lang": "JavaScript", @@ -27474,7 +27638,7 @@ { "verb": "delete", "requestPath": "/repos/{owner}/{repo}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -27498,8 +27662,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world
    " }, { "lang": "JavaScript", @@ -27534,7 +27698,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "403", @@ -27552,7 +27716,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/actions/artifacts", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -27596,8 +27760,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/actions/artifacts", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/actions/artifacts
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/actions/artifacts", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/actions/artifacts
    " }, { "lang": "JavaScript", @@ -27642,7 +27806,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/actions/artifacts/{artifact_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -27676,8 +27840,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/actions/artifacts/42", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/actions/artifacts/42
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/actions/artifacts/42", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/actions/artifacts/42
    " }, { "lang": "JavaScript", @@ -27722,7 +27886,7 @@ { "verb": "delete", "requestPath": "/repos/{owner}/{repo}/actions/artifacts/{artifact_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -27756,8 +27920,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/actions/artifacts/42", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/actions/artifacts/42
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/actions/artifacts/42", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/actions/artifacts/42
    " }, { "lang": "JavaScript", @@ -27792,7 +27956,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "bodyParameters": [], @@ -27801,7 +27965,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/actions/artifacts/{artifact_id}/{archive_format}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -27844,8 +28008,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/actions/artifacts/42/ARCHIVE_FORMAT", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/actions/artifacts/42/ARCHIVE_FORMAT
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/actions/artifacts/42/ARCHIVE_FORMAT", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/actions/artifacts/42/ARCHIVE_FORMAT
    " }, { "lang": "JavaScript", @@ -27889,7 +28053,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/actions/jobs/{job_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -27923,8 +28087,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/actions/jobs/42", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/actions/jobs/42
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/actions/jobs/42", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/actions/jobs/42
    " }, { "lang": "JavaScript", @@ -27969,7 +28133,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/actions/jobs/{job_id}/logs", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -28003,8 +28167,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/actions/jobs/42/logs", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/actions/jobs/42/logs
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/actions/jobs/42/logs", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/actions/jobs/42/logs
    " }, { "lang": "JavaScript", @@ -28048,7 +28212,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/actions/runners", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -28092,8 +28256,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/actions/runners", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/actions/runners
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/actions/runners", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/actions/runners
    " }, { "lang": "JavaScript", @@ -28138,7 +28302,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/actions/runners/downloads", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -28162,8 +28326,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/actions/runners/downloads", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/actions/runners/downloads
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/actions/runners/downloads", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/actions/runners/downloads
    " }, { "lang": "JavaScript", @@ -28208,7 +28372,7 @@ { "verb": "post", "requestPath": "/repos/{owner}/{repo}/actions/runners/registration-token", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -28232,8 +28396,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/actions/runners/registration-token", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/actions/runners/registration-token
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/actions/runners/registration-token", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/actions/runners/registration-token
    " }, { "lang": "JavaScript", @@ -28278,7 +28442,7 @@ { "verb": "post", "requestPath": "/repos/{owner}/{repo}/actions/runners/remove-token", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -28302,8 +28466,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/actions/runners/remove-token", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/actions/runners/remove-token
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/actions/runners/remove-token", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/actions/runners/remove-token
    " }, { "lang": "JavaScript", @@ -28348,7 +28512,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/actions/runners/{runner_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -28382,8 +28546,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/actions/runners/42", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/actions/runners/42
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/actions/runners/42", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/actions/runners/42
    " }, { "lang": "JavaScript", @@ -28428,7 +28592,7 @@ { "verb": "delete", "requestPath": "/repos/{owner}/{repo}/actions/runners/{runner_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -28462,8 +28626,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/actions/runners/42", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/actions/runners/42
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/actions/runners/42", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/actions/runners/42
    " }, { "lang": "JavaScript", @@ -28498,7 +28662,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "bodyParameters": [], @@ -28507,7 +28671,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/actions/runs", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -28606,8 +28770,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/actions/runs", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/actions/runs
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/actions/runs", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/actions/runs
    " }, { "lang": "JavaScript", @@ -28652,7 +28816,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/actions/runs/{run_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -28686,8 +28850,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/actions/runs/42", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/actions/runs/42
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/actions/runs/42", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/actions/runs/42
    " }, { "lang": "JavaScript", @@ -28732,7 +28896,7 @@ { "verb": "delete", "requestPath": "/repos/{owner}/{repo}/actions/runs/{run_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -28766,8 +28930,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/actions/runs/42", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/actions/runs/42
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/actions/runs/42", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/actions/runs/42
    " }, { "lang": "JavaScript", @@ -28802,7 +28966,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "bodyParameters": [], @@ -28811,7 +28975,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/actions/runs/{run_id}/artifacts", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -28865,8 +29029,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/actions/runs/42/artifacts", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/actions/runs/42/artifacts
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/actions/runs/42/artifacts", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/actions/runs/42/artifacts
    " }, { "lang": "JavaScript", @@ -28911,7 +29075,7 @@ { "verb": "post", "requestPath": "/repos/{owner}/{repo}/actions/runs/{run_id}/cancel", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -28945,8 +29109,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/actions/runs/42/cancel", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/actions/runs/42/cancel
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/actions/runs/42/cancel", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/actions/runs/42/cancel
    " }, { "lang": "JavaScript", @@ -28990,7 +29154,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/actions/runs/{run_id}/jobs", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -29059,8 +29223,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/actions/runs/42/jobs", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/actions/runs/42/jobs
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/actions/runs/42/jobs", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/actions/runs/42/jobs
    " }, { "lang": "JavaScript", @@ -29105,7 +29269,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/actions/runs/{run_id}/logs", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -29139,8 +29303,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/actions/runs/42/logs", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/actions/runs/42/logs
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/actions/runs/42/logs", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/actions/runs/42/logs
    " }, { "lang": "JavaScript", @@ -29184,7 +29348,7 @@ { "verb": "delete", "requestPath": "/repos/{owner}/{repo}/actions/runs/{run_id}/logs", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -29218,8 +29382,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/actions/runs/42/logs", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/actions/runs/42/logs
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/actions/runs/42/logs", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/actions/runs/42/logs
    " }, { "lang": "JavaScript", @@ -29254,7 +29418,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "bodyParameters": [], @@ -29263,7 +29427,7 @@ { "verb": "post", "requestPath": "/repos/{owner}/{repo}/actions/runs/{run_id}/rerun", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -29297,8 +29461,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/actions/runs/42/rerun", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/actions/runs/42/rerun
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/actions/runs/42/rerun", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/actions/runs/42/rerun
    " }, { "lang": "JavaScript", @@ -29342,7 +29506,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/actions/secrets", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -29386,8 +29550,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/actions/secrets", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/actions/secrets
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/actions/secrets", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/actions/secrets
    " }, { "lang": "JavaScript", @@ -29432,7 +29596,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/actions/secrets/public-key", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -29456,8 +29620,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/actions/secrets/public-key", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/actions/secrets/public-key
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/actions/secrets/public-key", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/actions/secrets/public-key
    " }, { "lang": "JavaScript", @@ -29502,7 +29666,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/actions/secrets/{secret_name}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -29536,8 +29700,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/actions/secrets/SECRET_NAME", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/actions/secrets/SECRET_NAME
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/actions/secrets/SECRET_NAME", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/actions/secrets/SECRET_NAME
    " }, { "lang": "JavaScript", @@ -29582,7 +29746,7 @@ { "verb": "put", "requestPath": "/repos/{owner}/{repo}/actions/secrets/{secret_name}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -29616,8 +29780,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/actions/secrets/SECRET_NAME \\\n -d '{\"encrypted_value\":\"encrypted_value\"}'", - "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/actions/secrets/SECRET_NAME \\\n  -d '{\"encrypted_value\":\"encrypted_value\"}'
    " + "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/actions/secrets/SECRET_NAME \\\n -d '{\"encrypted_value\":\"encrypted_value\"}'", + "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/actions/secrets/SECRET_NAME \\\n  -d '{\"encrypted_value\":\"encrypted_value\"}'
    " }, { "lang": "JavaScript", @@ -29720,7 +29884,7 @@ { "verb": "delete", "requestPath": "/repos/{owner}/{repo}/actions/secrets/{secret_name}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -29754,8 +29918,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/actions/secrets/SECRET_NAME", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/actions/secrets/SECRET_NAME
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/actions/secrets/SECRET_NAME", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/actions/secrets/SECRET_NAME
    " }, { "lang": "JavaScript", @@ -29790,7 +29954,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "bodyParameters": [], @@ -29799,7 +29963,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/actions/workflows", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -29843,8 +30007,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/actions/workflows", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/actions/workflows
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/actions/workflows", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/actions/workflows
    " }, { "lang": "JavaScript", @@ -29889,7 +30053,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/actions/workflows/{workflow_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -29930,8 +30094,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/actions/workflows/42", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/actions/workflows/42
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/actions/workflows/42", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/actions/workflows/42
    " }, { "lang": "JavaScript", @@ -29976,7 +30140,7 @@ { "verb": "post", "requestPath": "/repos/{owner}/{repo}/actions/workflows/{workflow_id}/dispatches", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -30017,8 +30181,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/actions/workflows/42/dispatches \\\n -d '{\"ref\":\"ref\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/actions/workflows/42/dispatches \\\n  -d '{\"ref\":\"ref\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/actions/workflows/42/dispatches \\\n -d '{\"ref\":\"ref\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/actions/workflows/42/dispatches \\\n  -d '{\"ref\":\"ref\"}'
    " }, { "lang": "JavaScript", @@ -30096,7 +30260,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "descriptionHTML": "

    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

    You must configure your GitHub Actions workflow to run when the workflow_dispatch webhook 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.\"

    \n

    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. For more information, see \"Creating a personal access token for the command line.\"

    ", @@ -30128,7 +30292,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/actions/workflows/{workflow_id}/runs", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -30244,8 +30408,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/actions/workflows/42/runs", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/actions/workflows/42/runs
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/actions/workflows/42/runs", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/actions/workflows/42/runs
    " }, { "lang": "JavaScript", @@ -30290,7 +30454,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/assignees", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -30334,8 +30498,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/assignees", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/assignees
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/assignees", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/assignees
    " }, { "lang": "JavaScript", @@ -30385,7 +30549,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/assignees/{assignee}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -30418,8 +30582,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/assignees/ASSIGNEE", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/assignees/ASSIGNEE
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/assignees/ASSIGNEE", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/assignees/ASSIGNEE
    " }, { "lang": "JavaScript", @@ -30468,7 +30632,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/branches", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -30522,8 +30686,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/branches", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/branches
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches
    " }, { "lang": "JavaScript", @@ -30561,12 +30725,6 @@ "httpStatusCode": "200", "httpStatusMessage": "OK", "description": "Default response", - "payload": "
    [\n  {\n    \"name\": \"master\",\n    \"commit\": {\n      \"sha\": \"c5b97d5ae6c19d5c5df71a34c7fbeeda2479ccbc\",\n      \"url\": \"https://api.github.com/repos/octocat/Hello-World/commits/c5b97d5ae6c19d5c5df71a34c7fbeeda2479ccbc\"\n    },\n    \"protected\": true\n  }\n]\n
    " - }, - { - "httpStatusCode": "200", - "httpStatusMessage": "OK", - "description": "With protection", "payload": "
    [\n  {\n    \"name\": \"master\",\n    \"commit\": {\n      \"sha\": \"c5b97d5ae6c19d5c5df71a34c7fbeeda2479ccbc\",\n      \"url\": \"https://api.github.com/repos/octocat/Hello-World/commits/c5b97d5ae6c19d5c5df71a34c7fbeeda2479ccbc\"\n    },\n    \"protected\": true,\n    \"protection\": {\n      \"enabled\": true,\n      \"required_status_checks\": {\n        \"enforcement_level\": \"non_admins\",\n        \"contexts\": [\n          \"ci-test\",\n          \"linter\"\n        ]\n      }\n    },\n    \"protection_url\": \"https://api.github.com/repos/octocat/hello-world/branches/master/protection\"\n  }\n]\n
    " }, { @@ -30579,7 +30737,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/branches/{branch}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -30614,8 +30772,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/branches/BRANCH", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/branches/BRANCH
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH
    " }, { "lang": "JavaScript", @@ -30670,7 +30828,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/branches/{branch}/protection", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -30705,8 +30863,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection
    " }, { "lang": "JavaScript", @@ -30763,7 +30921,7 @@ { "verb": "put", "requestPath": "/repos/{owner}/{repo}/branches/{branch}/protection", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -30798,8 +30956,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection \\\n -d '{\"required_status_checks\":{\"strict\":true,\"contexts\":[\"contexts\"]},\"enforce_admins\":true,\"required_pull_request_reviews\":{\"dismissal_restrictions\":{\"users\":[\"users\"],\"teams\":[\"teams\"]},\"dismiss_stale_reviews\":true,\"require_code_owner_reviews\":true,\"required_approving_review_count\":42},\"restrictions\":{\"users\":[\"users\"],\"teams\":[\"teams\"],\"apps\":[\"apps\"]}}'", - "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection \\\n  -d '{\"required_status_checks\":{\"strict\":true,\"contexts\":[\"contexts\"]},\"enforce_admins\":true,\"required_pull_request_reviews\":{\"dismissal_restrictions\":{\"users\":[\"users\"],\"teams\":[\"teams\"]},\"dismiss_stale_reviews\":true,\"require_code_owner_reviews\":true,\"required_approving_review_count\":42},\"restrictions\":{\"users\":[\"users\"],\"teams\":[\"teams\"],\"apps\":[\"apps\"]}}'
    " + "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection \\\n -d '{\"required_status_checks\":{\"strict\":true,\"contexts\":[\"contexts\"]},\"enforce_admins\":true,\"required_pull_request_reviews\":{\"dismissal_restrictions\":{\"users\":[\"users\"],\"teams\":[\"teams\"]},\"dismiss_stale_reviews\":true,\"require_code_owner_reviews\":true,\"required_approving_review_count\":42},\"restrictions\":{\"users\":[\"users\"],\"teams\":[\"teams\"],\"apps\":[\"apps\"]}}'", + "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection \\\n  -d '{\"required_status_checks\":{\"strict\":true,\"contexts\":[\"contexts\"]},\"enforce_admins\":true,\"required_pull_request_reviews\":{\"dismissal_restrictions\":{\"users\":[\"users\"],\"teams\":[\"teams\"]},\"dismiss_stale_reviews\":true,\"require_code_owner_reviews\":true,\"required_approving_review_count\":42},\"restrictions\":{\"users\":[\"users\"],\"teams\":[\"teams\"],\"apps\":[\"apps\"]}}'
    " }, { "lang": "JavaScript", @@ -31802,7 +31960,7 @@ { "verb": "delete", "requestPath": "/repos/{owner}/{repo}/branches/{branch}/protection", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -31837,8 +31995,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection
    " }, { "lang": "JavaScript", @@ -31873,7 +32031,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "403", @@ -31887,7 +32045,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/branches/{branch}/protection/enforce_admins", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -31922,8 +32080,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/enforce_admins", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/enforce_admins
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection/enforce_admins", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection/enforce_admins
    " }, { "lang": "JavaScript", @@ -31968,7 +32126,7 @@ { "verb": "post", "requestPath": "/repos/{owner}/{repo}/branches/{branch}/protection/enforce_admins", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -32003,8 +32161,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/enforce_admins", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/enforce_admins
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection/enforce_admins", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection/enforce_admins
    " }, { "lang": "JavaScript", @@ -32049,7 +32207,7 @@ { "verb": "delete", "requestPath": "/repos/{owner}/{repo}/branches/{branch}/protection/enforce_admins", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -32084,8 +32242,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/enforce_admins", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/enforce_admins
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection/enforce_admins", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection/enforce_admins
    " }, { "lang": "JavaScript", @@ -32134,7 +32292,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/branches/{branch}/protection/required_pull_request_reviews", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -32169,8 +32327,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/required_pull_request_reviews", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/required_pull_request_reviews
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection/required_pull_request_reviews", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection/required_pull_request_reviews
    " }, { "lang": "JavaScript", @@ -32221,7 +32379,7 @@ { "verb": "patch", "requestPath": "/repos/{owner}/{repo}/branches/{branch}/protection/required_pull_request_reviews", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -32256,8 +32414,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/required_pull_request_reviews \\\n -d '{\"dismissal_restrictions\":{\"users\":[\"users\"],\"teams\":[\"teams\"]}}'", - "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/required_pull_request_reviews \\\n  -d '{\"dismissal_restrictions\":{\"users\":[\"users\"],\"teams\":[\"teams\"]}}'
    " + "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection/required_pull_request_reviews \\\n -d '{\"dismissal_restrictions\":{\"users\":[\"users\"],\"teams\":[\"teams\"]}}'", + "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection/required_pull_request_reviews \\\n  -d '{\"dismissal_restrictions\":{\"users\":[\"users\"],\"teams\":[\"teams\"]}}'
    " }, { "lang": "JavaScript", @@ -32527,7 +32685,7 @@ { "verb": "delete", "requestPath": "/repos/{owner}/{repo}/branches/{branch}/protection/required_pull_request_reviews", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -32562,8 +32720,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/required_pull_request_reviews", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/required_pull_request_reviews
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection/required_pull_request_reviews", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection/required_pull_request_reviews
    " }, { "lang": "JavaScript", @@ -32612,7 +32770,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/branches/{branch}/protection/required_signatures", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -32647,8 +32805,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.zzzax-preview+json\" \\\n https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/required_signatures", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.zzzax-preview+json\" \\\n  https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/required_signatures
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.zzzax-preview+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection/required_signatures", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.zzzax-preview+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection/required_signatures
    " }, { "lang": "JavaScript", @@ -32705,7 +32863,7 @@ { "verb": "post", "requestPath": "/repos/{owner}/{repo}/branches/{branch}/protection/required_signatures", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -32740,8 +32898,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.zzzax-preview+json\" \\\n https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/required_signatures", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.zzzax-preview+json\" \\\n  https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/required_signatures
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.zzzax-preview+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection/required_signatures", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.zzzax-preview+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection/required_signatures
    " }, { "lang": "JavaScript", @@ -32798,7 +32956,7 @@ { "verb": "delete", "requestPath": "/repos/{owner}/{repo}/branches/{branch}/protection/required_signatures", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -32833,8 +32991,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.zzzax-preview+json\" \\\n https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/required_signatures", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.zzzax-preview+json\" \\\n  https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/required_signatures
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.zzzax-preview+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection/required_signatures", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.zzzax-preview+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection/required_signatures
    " }, { "lang": "JavaScript", @@ -32890,7 +33048,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -32925,8 +33083,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/required_status_checks", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/required_status_checks
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection/required_status_checks", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection/required_status_checks
    " }, { "lang": "JavaScript", @@ -32976,7 +33134,7 @@ { "verb": "patch", "requestPath": "/repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -33011,8 +33169,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/required_status_checks \\\n -d '{\"strict\":true}'", - "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/required_status_checks \\\n  -d '{\"strict\":true}'
    " + "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection/required_status_checks \\\n -d '{\"strict\":true}'", + "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection/required_status_checks \\\n  -d '{\"strict\":true}'
    " }, { "lang": "JavaScript", @@ -33127,7 +33285,7 @@ { "verb": "delete", "requestPath": "/repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -33162,8 +33320,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/required_status_checks", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/required_status_checks
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection/required_status_checks", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection/required_status_checks
    " }, { "lang": "JavaScript", @@ -33207,7 +33365,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks/contexts", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -33242,8 +33400,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/required_status_checks/contexts", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/required_status_checks/contexts
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection/required_status_checks/contexts", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection/required_status_checks/contexts
    " }, { "lang": "JavaScript", @@ -33293,7 +33451,7 @@ { "verb": "post", "requestPath": "/repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks/contexts", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -33328,8 +33486,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/required_status_checks/contexts \\\n -d '{\"contexts\":{\"contexts\":[\"contexts\"]}}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/required_status_checks/contexts \\\n  -d '{\"contexts\":{\"contexts\":[\"contexts\"]}}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection/required_status_checks/contexts \\\n -d '{\"contexts\":{\"contexts\":[\"contexts\"]}}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection/required_status_checks/contexts \\\n  -d '{\"contexts\":{\"contexts\":[\"contexts\"]}}'
    " }, { "lang": "JavaScript", @@ -33434,7 +33592,7 @@ { "verb": "put", "requestPath": "/repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks/contexts", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -33469,8 +33627,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/required_status_checks/contexts \\\n -d '{\"contexts\":{\"contexts\":[\"contexts\"]}}'", - "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/required_status_checks/contexts \\\n  -d '{\"contexts\":{\"contexts\":[\"contexts\"]}}'
    " + "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection/required_status_checks/contexts \\\n -d '{\"contexts\":{\"contexts\":[\"contexts\"]}}'", + "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection/required_status_checks/contexts \\\n  -d '{\"contexts\":{\"contexts\":[\"contexts\"]}}'
    " }, { "lang": "JavaScript", @@ -33570,7 +33728,7 @@ { "verb": "delete", "requestPath": "/repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks/contexts", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -33605,8 +33763,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/required_status_checks/contexts \\\n -d '{\"contexts\":{\"contexts\":[\"contexts\"]}}'", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/required_status_checks/contexts \\\n  -d '{\"contexts\":{\"contexts\":[\"contexts\"]}}'
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection/required_status_checks/contexts \\\n -d '{\"contexts\":{\"contexts\":[\"contexts\"]}}'", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection/required_status_checks/contexts \\\n  -d '{\"contexts\":{\"contexts\":[\"contexts\"]}}'
    " }, { "lang": "JavaScript", @@ -33706,7 +33864,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/branches/{branch}/protection/restrictions", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -33741,8 +33899,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/restrictions", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/restrictions
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection/restrictions", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection/restrictions
    " }, { "lang": "JavaScript", @@ -33792,7 +33950,7 @@ { "verb": "delete", "requestPath": "/repos/{owner}/{repo}/branches/{branch}/protection/restrictions", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -33827,8 +33985,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/restrictions", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/restrictions
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection/restrictions", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection/restrictions
    " }, { "lang": "JavaScript", @@ -33872,7 +34030,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/branches/{branch}/protection/restrictions/apps", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -33907,8 +34065,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/restrictions/apps", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/restrictions/apps
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection/restrictions/apps", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection/restrictions/apps
    " }, { "lang": "JavaScript", @@ -33958,7 +34116,7 @@ { "verb": "post", "requestPath": "/repos/{owner}/{repo}/branches/{branch}/protection/restrictions/apps", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -33993,8 +34151,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/restrictions/apps \\\n -d '{\"apps\":{\"apps\":[\"apps\"]}}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/restrictions/apps \\\n  -d '{\"apps\":{\"apps\":[\"apps\"]}}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection/restrictions/apps \\\n -d '{\"apps\":{\"apps\":[\"apps\"]}}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection/restrictions/apps \\\n  -d '{\"apps\":{\"apps\":[\"apps\"]}}'
    " }, { "lang": "JavaScript", @@ -34089,7 +34247,7 @@ { "verb": "put", "requestPath": "/repos/{owner}/{repo}/branches/{branch}/protection/restrictions/apps", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -34124,8 +34282,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/restrictions/apps \\\n -d '{\"apps\":{\"apps\":[\"apps\"]}}'", - "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/restrictions/apps \\\n  -d '{\"apps\":{\"apps\":[\"apps\"]}}'
    " + "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection/restrictions/apps \\\n -d '{\"apps\":{\"apps\":[\"apps\"]}}'", + "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection/restrictions/apps \\\n  -d '{\"apps\":{\"apps\":[\"apps\"]}}'
    " }, { "lang": "JavaScript", @@ -34220,7 +34378,7 @@ { "verb": "delete", "requestPath": "/repos/{owner}/{repo}/branches/{branch}/protection/restrictions/apps", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -34255,8 +34413,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/restrictions/apps \\\n -d '{\"apps\":{\"apps\":[\"apps\"]}}'", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/restrictions/apps \\\n  -d '{\"apps\":{\"apps\":[\"apps\"]}}'
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection/restrictions/apps \\\n -d '{\"apps\":{\"apps\":[\"apps\"]}}'", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection/restrictions/apps \\\n  -d '{\"apps\":{\"apps\":[\"apps\"]}}'
    " }, { "lang": "JavaScript", @@ -34351,7 +34509,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/branches/{branch}/protection/restrictions/teams", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -34386,8 +34544,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/restrictions/teams", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/restrictions/teams
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection/restrictions/teams", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection/restrictions/teams
    " }, { "lang": "JavaScript", @@ -34437,7 +34595,7 @@ { "verb": "post", "requestPath": "/repos/{owner}/{repo}/branches/{branch}/protection/restrictions/teams", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -34472,8 +34630,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/restrictions/teams \\\n -d '{\"teams\":{\"teams\":[\"teams\"]}}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/restrictions/teams \\\n  -d '{\"teams\":{\"teams\":[\"teams\"]}}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection/restrictions/teams \\\n -d '{\"teams\":{\"teams\":[\"teams\"]}}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection/restrictions/teams \\\n  -d '{\"teams\":{\"teams\":[\"teams\"]}}'
    " }, { "lang": "JavaScript", @@ -34568,7 +34726,7 @@ { "verb": "put", "requestPath": "/repos/{owner}/{repo}/branches/{branch}/protection/restrictions/teams", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -34603,8 +34761,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/restrictions/teams \\\n -d '{\"teams\":{\"teams\":[\"teams\"]}}'", - "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/restrictions/teams \\\n  -d '{\"teams\":{\"teams\":[\"teams\"]}}'
    " + "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection/restrictions/teams \\\n -d '{\"teams\":{\"teams\":[\"teams\"]}}'", + "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection/restrictions/teams \\\n  -d '{\"teams\":{\"teams\":[\"teams\"]}}'
    " }, { "lang": "JavaScript", @@ -34699,7 +34857,7 @@ { "verb": "delete", "requestPath": "/repos/{owner}/{repo}/branches/{branch}/protection/restrictions/teams", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -34734,8 +34892,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/restrictions/teams \\\n -d '{\"teams\":{\"teams\":[\"teams\"]}}'", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/restrictions/teams \\\n  -d '{\"teams\":{\"teams\":[\"teams\"]}}'
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection/restrictions/teams \\\n -d '{\"teams\":{\"teams\":[\"teams\"]}}'", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection/restrictions/teams \\\n  -d '{\"teams\":{\"teams\":[\"teams\"]}}'
    " }, { "lang": "JavaScript", @@ -34830,7 +34988,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/branches/{branch}/protection/restrictions/users", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -34865,8 +35023,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/restrictions/users", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/restrictions/users
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection/restrictions/users", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection/restrictions/users
    " }, { "lang": "JavaScript", @@ -34916,7 +35074,7 @@ { "verb": "post", "requestPath": "/repos/{owner}/{repo}/branches/{branch}/protection/restrictions/users", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -34951,8 +35109,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/restrictions/users \\\n -d '{\"users\":{\"users\":[\"users\"]}}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/restrictions/users \\\n  -d '{\"users\":{\"users\":[\"users\"]}}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection/restrictions/users \\\n -d '{\"users\":{\"users\":[\"users\"]}}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection/restrictions/users \\\n  -d '{\"users\":{\"users\":[\"users\"]}}'
    " }, { "lang": "JavaScript", @@ -35047,7 +35205,7 @@ { "verb": "put", "requestPath": "/repos/{owner}/{repo}/branches/{branch}/protection/restrictions/users", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -35082,8 +35240,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/restrictions/users \\\n -d '{\"users\":{\"users\":[\"users\"]}}'", - "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/restrictions/users \\\n  -d '{\"users\":{\"users\":[\"users\"]}}'
    " + "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection/restrictions/users \\\n -d '{\"users\":{\"users\":[\"users\"]}}'", + "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection/restrictions/users \\\n  -d '{\"users\":{\"users\":[\"users\"]}}'
    " }, { "lang": "JavaScript", @@ -35178,7 +35336,7 @@ { "verb": "delete", "requestPath": "/repos/{owner}/{repo}/branches/{branch}/protection/restrictions/users", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -35213,8 +35371,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/restrictions/users \\\n -d '{\"users\":{\"users\":[\"users\"]}}'", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/restrictions/users \\\n  -d '{\"users\":{\"users\":[\"users\"]}}'
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection/restrictions/users \\\n -d '{\"users\":{\"users\":[\"users\"]}}'", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection/restrictions/users \\\n  -d '{\"users\":{\"users\":[\"users\"]}}'
    " }, { "lang": "JavaScript", @@ -35309,7 +35467,7 @@ { "verb": "post", "requestPath": "/repos/{owner}/{repo}/check-runs", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -35333,8 +35491,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.antiope-preview+json\" \\\n https://api.github.com/repos/octocat/hello-world/check-runs \\\n -d '{\"name\":\"name\",\"head_sha\":\"head_sha\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.antiope-preview+json\" \\\n  https://api.github.com/repos/octocat/hello-world/check-runs \\\n  -d '{\"name\":\"name\",\"head_sha\":\"head_sha\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.antiope-preview+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/check-runs \\\n -d '{\"name\":\"name\",\"head_sha\":\"head_sha\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.antiope-preview+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/check-runs \\\n  -d '{\"name\":\"name\",\"head_sha\":\"head_sha\"}'
    " }, { "lang": "JavaScript", @@ -36311,7 +36469,7 @@ "name", "head_sha" ], - "anyOf": [ + "oneOf": [ { "properties": { "status": { @@ -36321,6 +36479,7 @@ } }, "required": [ + "status", "conclusion" ], "additionalProperties": true @@ -36340,7 +36499,7 @@ }, "examples": { "example-of-in-progress-conclusion": { - "summary": "Example of in_progress conclusion", + "summary": "Response for in_progress conclusion", "value": { "name": "mighty_readme", "head_sha": "ce587453ced02b1526dfb4cb910479d431683101", @@ -36355,7 +36514,7 @@ } }, "example-of-completed-conclusion": { - "summary": "Example of completed conclusion", + "summary": "Response for completed conclusion", "value": { "name": "mighty_readme", "head_sha": "ce587453ced02b1526dfb4cb910479d431683101", @@ -36429,12 +36588,6 @@ "notes": [], "descriptionHTML": "

    Note: The Checks API only looks for pushes in the repository where the check 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

    Creates 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

    In 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.

    ", "responses": [ - { - "httpStatusCode": "201", - "httpStatusMessage": "Created", - "description": "Response for in_progress conclusion", - "payload": "
    {\n  \"id\": 4,\n  \"head_sha\": \"ce587453ced02b1526dfb4cb910479d431683101\",\n  \"node_id\": \"MDg6Q2hlY2tSdW40\",\n  \"external_id\": \"42\",\n  \"url\": \"https://api.github.com/repos/github/hello-world/check-runs/4\",\n  \"html_url\": \"https://github.com/github/hello-world/runs/4\",\n  \"details_url\": \"https://example.com\",\n  \"status\": \"in_progress\",\n  \"conclusion\": \"neutral\",\n  \"started_at\": \"2018-05-04T01:14:52Z\",\n  \"completed_at\": null,\n  \"output\": {\n    \"title\": \"Mighty Readme Report\",\n    \"summary\": \"\",\n    \"text\": \"\",\n    \"annotations_count\": 1,\n    \"annotations_url\": \"https://api.github.com/repos/github/hello-world/check-runs/4/annotations\"\n  },\n  \"name\": \"mighty_readme\",\n  \"check_suite\": {\n    \"id\": 5\n  },\n  \"app\": {\n    \"id\": 1,\n    \"slug\": \"octoapp\",\n    \"node_id\": \"MDExOkludGVncmF0aW9uMQ==\",\n    \"owner\": {\n      \"login\": \"github\",\n      \"id\": 1,\n      \"node_id\": \"MDEyOk9yZ2FuaXphdGlvbjE=\",\n      \"url\": \"https://api.github.com/orgs/github\",\n      \"repos_url\": \"https://api.github.com/orgs/github/repos\",\n      \"events_url\": \"https://api.github.com/orgs/github/events\",\n      \"avatar_url\": \"https://github.com/images/error/octocat_happy.gif\",\n      \"gravatar_id\": \"\",\n      \"html_url\": \"https://github.com/octocat\",\n      \"followers_url\": \"https://api.github.com/users/octocat/followers\",\n      \"following_url\": \"https://api.github.com/users/octocat/following{/other_user}\",\n      \"gists_url\": \"https://api.github.com/users/octocat/gists{/gist_id}\",\n      \"starred_url\": \"https://api.github.com/users/octocat/starred{/owner}{/repo}\",\n      \"subscriptions_url\": \"https://api.github.com/users/octocat/subscriptions\",\n      \"organizations_url\": \"https://api.github.com/users/octocat/orgs\",\n      \"received_events_url\": \"https://api.github.com/users/octocat/received_events\",\n      \"type\": \"User\",\n      \"site_admin\": true\n    },\n    \"name\": \"Octocat App\",\n    \"description\": \"\",\n    \"external_url\": \"https://example.com\",\n    \"html_url\": \"https://github.com/apps/octoapp\",\n    \"created_at\": \"2017-07-08T16:18:44-04:00\",\n    \"updated_at\": \"2017-07-08T16:18:44-04:00\",\n    \"permissions\": {\n      \"metadata\": \"read\",\n      \"contents\": \"read\",\n      \"issues\": \"write\",\n      \"single_file\": \"write\"\n    },\n    \"events\": [\n      \"push\",\n      \"pull_request\"\n    ]\n  },\n  \"pull_requests\": [\n    {\n      \"url\": \"https://api.github.com/repos/github/hello-world/pulls/1\",\n      \"id\": 1934,\n      \"number\": 3956,\n      \"head\": {\n        \"ref\": \"say-hello\",\n        \"sha\": \"3dca65fa3e8d4b3da3f3d056c59aee1c50f41390\",\n        \"repo\": {\n          \"id\": 526,\n          \"url\": \"https://api.github.com/repos/github/hello-world\",\n          \"name\": \"hello-world\"\n        }\n      },\n      \"base\": {\n        \"ref\": \"master\",\n        \"sha\": \"e7fdf7640066d71ad16a86fbcbb9c6a10a18af4f\",\n        \"repo\": {\n          \"id\": 526,\n          \"url\": \"https://api.github.com/repos/github/hello-world\",\n          \"name\": \"hello-world\"\n        }\n      }\n    }\n  ]\n}\n
    " - }, { "httpStatusCode": "201", "httpStatusMessage": "Created", @@ -37396,7 +37549,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/check-runs/{check_run_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -37430,8 +37583,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.antiope-preview+json\" \\\n https://api.github.com/repos/octocat/hello-world/check-runs/42", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.antiope-preview+json\" \\\n  https://api.github.com/repos/octocat/hello-world/check-runs/42
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.antiope-preview+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/check-runs/42", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.antiope-preview+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/check-runs/42
    " }, { "lang": "JavaScript", @@ -37483,7 +37636,7 @@ { "verb": "patch", "requestPath": "/repos/{owner}/{repo}/check-runs/{check_run_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -37517,8 +37670,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.antiope-preview+json\" \\\n https://api.github.com/repos/octocat/hello-world/check-runs/42 \\\n -d '{\"name\":\"name\"}'", - "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.antiope-preview+json\" \\\n  https://api.github.com/repos/octocat/hello-world/check-runs/42 \\\n  -d '{\"name\":\"name\"}'
    " + "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.antiope-preview+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/check-runs/42 \\\n -d '{\"name\":\"name\"}'", + "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.antiope-preview+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/check-runs/42 \\\n  -d '{\"name\":\"name\"}'
    " }, { "lang": "JavaScript", @@ -39520,7 +39673,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/check-runs/{check_run_id}/annotations", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -39574,8 +39727,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.antiope-preview+json\" \\\n https://api.github.com/repos/octocat/hello-world/check-runs/42/annotations", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.antiope-preview+json\" \\\n  https://api.github.com/repos/octocat/hello-world/check-runs/42/annotations
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.antiope-preview+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/check-runs/42/annotations", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.antiope-preview+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/check-runs/42/annotations
    " }, { "lang": "JavaScript", @@ -39627,7 +39780,7 @@ { "verb": "post", "requestPath": "/repos/{owner}/{repo}/check-suites", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -39651,8 +39804,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.antiope-preview+json\" \\\n https://api.github.com/repos/octocat/hello-world/check-suites \\\n -d '{\"head_sha\":\"head_sha\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.antiope-preview+json\" \\\n  https://api.github.com/repos/octocat/hello-world/check-suites \\\n  -d '{\"head_sha\":\"head_sha\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.antiope-preview+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/check-suites \\\n -d '{\"head_sha\":\"head_sha\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.antiope-preview+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/check-suites \\\n  -d '{\"head_sha\":\"head_sha\"}'
    " }, { "lang": "JavaScript", @@ -39740,7 +39893,7 @@ { "verb": "patch", "requestPath": "/repos/{owner}/{repo}/check-suites/preferences", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -39764,8 +39917,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.antiope-preview+json\" \\\n https://api.github.com/repos/octocat/hello-world/check-suites/preferences \\\n -d '{\"auto_trigger_checks\":[{\"app_id\":42,\"setting\":true}]}'", - "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.antiope-preview+json\" \\\n  https://api.github.com/repos/octocat/hello-world/check-suites/preferences \\\n  -d '{\"auto_trigger_checks\":[{\"app_id\":42,\"setting\":true}]}'
    " + "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.antiope-preview+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/check-suites/preferences \\\n -d '{\"auto_trigger_checks\":[{\"app_id\":42,\"setting\":true}]}'", + "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.antiope-preview+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/check-suites/preferences \\\n  -d '{\"auto_trigger_checks\":[{\"app_id\":42,\"setting\":true}]}'
    " }, { "lang": "JavaScript", @@ -39965,7 +40118,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/check-suites/{check_suite_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -39999,8 +40152,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.antiope-preview+json\" \\\n https://api.github.com/repos/octocat/hello-world/check-suites/42", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.antiope-preview+json\" \\\n  https://api.github.com/repos/octocat/hello-world/check-suites/42
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.antiope-preview+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/check-suites/42", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.antiope-preview+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/check-suites/42
    " }, { "lang": "JavaScript", @@ -40052,7 +40205,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/check-suites/{check_suite_id}/check-runs", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -40146,8 +40299,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.antiope-preview+json\" \\\n https://api.github.com/repos/octocat/hello-world/check-suites/42/check-runs", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.antiope-preview+json\" \\\n  https://api.github.com/repos/octocat/hello-world/check-suites/42/check-runs
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.antiope-preview+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/check-suites/42/check-runs", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.antiope-preview+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/check-suites/42/check-runs
    " }, { "lang": "JavaScript", @@ -40199,7 +40352,7 @@ { "verb": "post", "requestPath": "/repos/{owner}/{repo}/check-suites/{check_suite_id}/rerequest", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -40233,8 +40386,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.antiope-preview+json\" \\\n https://api.github.com/repos/octocat/hello-world/check-suites/42/rerequest", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.antiope-preview+json\" \\\n  https://api.github.com/repos/octocat/hello-world/check-suites/42/rerequest
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.antiope-preview+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/check-suites/42/rerequest", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.antiope-preview+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/check-suites/42/rerequest
    " }, { "lang": "JavaScript", @@ -40285,7 +40438,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/code-scanning/alerts", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -40355,7 +40508,7 @@ "required": false, "schema": { "type": "string", - "description": "The full Git reference, formatted as `refs/heads/`." + "description": "The full Git reference, formatted as `refs/heads/`,\n`refs/pull//merge`, or `refs/pull//head`." }, "descriptionHTML": "

    The Git reference for the results you want to list. The ref for a branch can be formatted either as refs/heads/<branch name> or simply <branch name>. To reference a pull request use refs/pull/<number>/merge.

    " }, @@ -40369,6 +40522,7 @@ "description": "State of a code scanning alert.", "enum": [ "open", + "closed", "dismissed", "fixed" ] @@ -40379,8 +40533,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/code-scanning/alerts", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/code-scanning/alerts
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/code-scanning/alerts", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/code-scanning/alerts
    " }, { "lang": "JavaScript", @@ -40389,7 +40543,7 @@ } ], "summary": "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 the default branch or for the specified Git reference\n(if you used `ref` in the request).", + "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).", "tags": [ "code-scanning" ], @@ -40410,7 +40564,7 @@ "categoryLabel": "Code scanning", "notes": [], "bodyParameters": [], - "descriptionHTML": "

    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

    The response includes a most_recent_instance object.\nThis provides details of the most recent instance of this alert\nfor the the default branch or for the specified Git reference\n(if you used ref in the request).

    ", + "descriptionHTML": "

    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

    The 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).

    ", "responses": [ { "httpStatusCode": "200", @@ -40438,7 +40592,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/code-scanning/alerts/{alert_number}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -40475,8 +40629,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/code-scanning/alerts/42", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/code-scanning/alerts/42
    " }, { "lang": "JavaScript", @@ -40534,7 +40688,7 @@ { "verb": "patch", "requestPath": "/repos/{owner}/{repo}/code-scanning/alerts/{alert_number}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -40571,8 +40725,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42 \\\n -d '{\"state\":\"state\"}'", - "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42 \\\n  -d '{\"state\":\"state\"}'
    " + "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/code-scanning/alerts/42 \\\n -d '{\"state\":\"state\"}'", + "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/code-scanning/alerts/42 \\\n  -d '{\"state\":\"state\"}'
    " }, { "lang": "JavaScript", @@ -40722,7 +40876,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/code-scanning/analyses", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -40792,7 +40946,7 @@ "required": false, "schema": { "type": "string", - "description": "The full Git reference, formatted as `refs/heads/`." + "description": "The full Git reference, formatted as `refs/heads/`,\n`refs/pull//merge`, or `refs/pull//head`." }, "descriptionHTML": "

    The Git reference for the analyses you want to list. The ref for a branch can be formatted either as refs/heads/<branch name> or simply <branch name>. To reference a pull request use refs/pull/<number>/merge.

    " }, @@ -40813,8 +40967,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/code-scanning/analyses", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/code-scanning/analyses
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/code-scanning/analyses", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/code-scanning/analyses
    " }, { "lang": "JavaScript", @@ -40871,7 +41025,7 @@ { "verb": "post", "requestPath": "/repos/{owner}/{repo}/code-scanning/sarifs", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -40895,8 +41049,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/code-scanning/sarifs \\\n -d '{\"commit_sha\":\"commit_sha\",\"ref\":\"ref\",\"sarif\":\"sarif\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/code-scanning/sarifs \\\n  -d '{\"commit_sha\":\"commit_sha\",\"ref\":\"ref\",\"sarif\":\"sarif\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/code-scanning/sarifs \\\n -d '{\"commit_sha\":\"commit_sha\",\"ref\":\"ref\",\"sarif\":\"sarif\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/code-scanning/sarifs \\\n  -d '{\"commit_sha\":\"commit_sha\",\"ref\":\"ref\",\"sarif\":\"sarif\"}'
    " }, { "lang": "JavaScript", @@ -40905,7 +41059,7 @@ } ], "summary": "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\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\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).\"", + "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/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/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\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).\"", "operationId": "code-scanning/upload-sarif", "tags": [ "code-scanning" @@ -40934,11 +41088,11 @@ }, "ref": { "type": "string", - "description": "

    Required. The full Git reference, formatted as refs/heads/<branch name>.

    ", + "description": "

    Required. The full Git reference, formatted as refs/heads/<branch name>,\nrefs/pull/<number>/merge, or refs/pull/<number>/head.

    ", "name": "ref", "in": "body", "rawType": "string", - "rawDescription": "The full Git reference, formatted as `refs/heads/`.", + "rawDescription": "The full Git reference, formatted as `refs/heads/`,\n`refs/pull//merge`, or `refs/pull//head`.", "childParamsGroups": [] }, "sarif": { @@ -41000,7 +41154,7 @@ "category": "code-scanning", "categoryLabel": "Code scanning", "notes": [], - "descriptionHTML": "

    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

    You 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
    gzip -c analysis-data.sarif | base64\n
    \n

    SARIF 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

    The 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.\"

    ", + "descriptionHTML": "

    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

    There are two places where you can upload code scanning results.

    \n\n

    You 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
    gzip -c analysis-data.sarif | base64\n
    \n

    SARIF 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

    The 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.\"

    ", "bodyParameters": [ { "description": "

    Required. The SHA of the commit to which the analysis you are uploading relates.

    ", @@ -41016,11 +41170,11 @@ }, { "type": "string", - "description": "

    Required. The full Git reference, formatted as refs/heads/<branch name>.

    ", + "description": "

    Required. The full Git reference, formatted as refs/heads/<branch name>,\nrefs/pull/<number>/merge, or refs/pull/<number>/head.

    ", "name": "ref", "in": "body", "rawType": "string", - "rawDescription": "The full Git reference, formatted as `refs/heads/`.", + "rawDescription": "The full Git reference, formatted as `refs/heads/`,\n`refs/pull//merge`, or `refs/pull//head`.", "childParamsGroups": [] }, { @@ -41100,7 +41254,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/collaborators", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -41160,8 +41314,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/collaborators", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/collaborators
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/collaborators", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/collaborators
    " }, { "lang": "JavaScript", @@ -41211,7 +41365,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/collaborators/{username}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -41244,8 +41398,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/collaborators/USERNAME", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/collaborators/USERNAME
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/collaborators/USERNAME", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/collaborators/USERNAME
    " }, { "lang": "JavaScript", @@ -41294,7 +41448,7 @@ { "verb": "put", "requestPath": "/repos/{owner}/{repo}/collaborators/{username}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -41327,8 +41481,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/collaborators/USERNAME \\\n -d '{\"permission\":\"permission\"}'", - "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/collaborators/USERNAME \\\n  -d '{\"permission\":\"permission\"}'
    " + "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/collaborators/USERNAME \\\n -d '{\"permission\":\"permission\"}'", + "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/collaborators/USERNAME \\\n  -d '{\"permission\":\"permission\"}'
    " }, { "lang": "JavaScript", @@ -41453,7 +41607,7 @@ { "verb": "delete", "requestPath": "/repos/{owner}/{repo}/collaborators/{username}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -41486,8 +41640,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/collaborators/USERNAME", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/collaborators/USERNAME
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/collaborators/USERNAME", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/collaborators/USERNAME
    " }, { "lang": "JavaScript", @@ -41522,7 +41676,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "bodyParameters": [], @@ -41531,7 +41685,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/collaborators/{username}/permission", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -41564,8 +41718,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/collaborators/USERNAME/permission", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/collaborators/USERNAME/permission
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/collaborators/USERNAME/permission", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/collaborators/USERNAME/permission
    " }, { "lang": "JavaScript", @@ -41615,7 +41769,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/comments", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -41659,8 +41813,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/comments", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/comments
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/comments", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/comments
    " }, { "lang": "JavaScript", @@ -41712,7 +41866,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/comments/{comment_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -41746,8 +41900,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/comments/42", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/comments/42
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/comments/42", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/comments/42
    " }, { "lang": "JavaScript", @@ -41804,7 +41958,7 @@ { "verb": "patch", "requestPath": "/repos/{owner}/{repo}/comments/{comment_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -41838,8 +41992,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/comments/42 \\\n -d '{\"body\":\"body\"}'", - "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/comments/42 \\\n  -d '{\"body\":\"body\"}'
    " + "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/comments/42 \\\n -d '{\"body\":\"body\"}'", + "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/comments/42 \\\n  -d '{\"body\":\"body\"}'
    " }, { "lang": "JavaScript", @@ -41925,7 +42079,7 @@ { "verb": "delete", "requestPath": "/repos/{owner}/{repo}/comments/{comment_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -41959,8 +42113,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/comments/42", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/comments/42
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/comments/42", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/comments/42
    " }, { "lang": "JavaScript", @@ -41995,7 +42149,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "404", @@ -42009,7 +42163,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/comments/{comment_id}/reactions", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -42083,8 +42237,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n https://api.github.com/repos/octocat/hello-world/comments/42/reactions", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n  https://api.github.com/repos/octocat/hello-world/comments/42/reactions
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/comments/42/reactions", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/comments/42/reactions
    " }, { "lang": "JavaScript", @@ -42144,7 +42298,7 @@ { "verb": "post", "requestPath": "/repos/{owner}/{repo}/comments/{comment_id}/reactions", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -42178,8 +42332,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n https://api.github.com/repos/octocat/hello-world/comments/42/reactions \\\n -d '{\"content\":\"content\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n  https://api.github.com/repos/octocat/hello-world/comments/42/reactions \\\n  -d '{\"content\":\"content\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/comments/42/reactions \\\n -d '{\"content\":\"content\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/comments/42/reactions \\\n  -d '{\"content\":\"content\"}'
    " }, { "lang": "JavaScript", @@ -42301,7 +42455,7 @@ { "verb": "delete", "requestPath": "/repos/{owner}/{repo}/comments/{comment_id}/reactions/{reaction_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -42344,8 +42498,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n https://api.github.com/repos/octocat/hello-world/comments/42/reactions/42", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n  https://api.github.com/repos/octocat/hello-world/comments/42/reactions/42
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/comments/42/reactions/42", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/comments/42/reactions/42
    " }, { "lang": "JavaScript", @@ -42385,7 +42539,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "bodyParameters": [], @@ -42394,7 +42548,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/commits", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -42483,13 +42637,35 @@ "default": 1 }, "descriptionHTML": "

    Page number of the results to fetch.

    " + }, + { + "name": "top", + "description": "legacy parameter for pagination.", + "in": "query", + "deprecated": true, + "required": false, + "schema": { + "type": "string" + }, + "descriptionHTML": "

    legacy parameter for pagination.

    " + }, + { + "name": "last_sha", + "description": "legacy parameter for pagination.", + "in": "query", + "deprecated": true, + "required": false, + "schema": { + "type": "string" + }, + "descriptionHTML": "

    legacy parameter for pagination.

    " } ], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/commits", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/commits
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/commits", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/commits
    " }, { "lang": "JavaScript", @@ -42554,7 +42730,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/commits/{commit_sha}/branches-where-head", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -42589,8 +42765,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.groot-preview+json\" \\\n https://api.github.com/repos/octocat/hello-world/commits/COMMIT_SHA/branches-where-head", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.groot-preview+json\" \\\n  https://api.github.com/repos/octocat/hello-world/commits/COMMIT_SHA/branches-where-head
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.groot-preview+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/commits/COMMIT_SHA/branches-where-head", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.groot-preview+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/commits/COMMIT_SHA/branches-where-head
    " }, { "lang": "JavaScript", @@ -42652,7 +42828,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/commits/{commit_sha}/comments", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -42707,8 +42883,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/commits/COMMIT_SHA/comments", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/commits/COMMIT_SHA/comments
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/commits/COMMIT_SHA/comments", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/commits/COMMIT_SHA/comments
    " }, { "lang": "JavaScript", @@ -42760,7 +42936,7 @@ { "verb": "post", "requestPath": "/repos/{owner}/{repo}/commits/{commit_sha}/comments", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -42795,8 +42971,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/commits/COMMIT_SHA/comments \\\n -d '{\"body\":\"body\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/commits/COMMIT_SHA/comments \\\n  -d '{\"body\":\"body\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/commits/COMMIT_SHA/comments \\\n -d '{\"body\":\"body\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/commits/COMMIT_SHA/comments \\\n  -d '{\"body\":\"body\"}'
    " }, { "lang": "JavaScript", @@ -42945,7 +43121,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/commits/{commit_sha}/pulls", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -43000,8 +43176,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.groot-preview+json\" \\\n https://api.github.com/repos/octocat/hello-world/commits/COMMIT_SHA/pulls", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.groot-preview+json\" \\\n  https://api.github.com/repos/octocat/hello-world/commits/COMMIT_SHA/pulls
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.groot-preview+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/commits/COMMIT_SHA/pulls", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.groot-preview+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/commits/COMMIT_SHA/pulls
    " }, { "lang": "JavaScript", @@ -43058,7 +43234,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/commits/{ref}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -43078,23 +43254,43 @@ }, "descriptionHTML": "" }, + { + "name": "page", + "description": "Page number of the results to fetch.", + "in": "query", + "schema": { + "type": "integer", + "default": 1 + }, + "descriptionHTML": "

    Page number of the results to fetch.

    " + }, + { + "name": "per_page", + "description": "Results per page (max 100).", + "in": "query", + "schema": { + "type": "integer", + "default": 30 + }, + "descriptionHTML": "

    Results per page (max 100).

    " + }, { "name": "ref", - "description": "ref+ parameter", + "description": "ref parameter", "in": "path", "required": true, "schema": { "type": "string" }, "x-multi-segment": true, - "descriptionHTML": "

    ref+ parameter

    " + "descriptionHTML": "

    ref parameter

    " } ], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/commits/REF", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/commits/REF
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/commits/REF", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/commits/REF
    " }, { "lang": "JavaScript", @@ -43154,7 +43350,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/commits/{ref}/check-runs", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -43176,14 +43372,14 @@ }, { "name": "ref", - "description": "ref+ parameter", + "description": "ref parameter", "in": "path", "required": true, "schema": { "type": "string" }, "x-multi-segment": true, - "descriptionHTML": "

    ref+ parameter

    " + "descriptionHTML": "

    ref parameter

    " }, { "name": "check_name", @@ -43244,13 +43440,22 @@ "default": 1 }, "descriptionHTML": "

    Page number of the results to fetch.

    " + }, + { + "name": "app_id", + "in": "query", + "required": false, + "schema": { + "type": "integer" + }, + "descriptionHTML": "" } ], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.antiope-preview+json\" \\\n https://api.github.com/repos/octocat/hello-world/commits/REF/check-runs", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.antiope-preview+json\" \\\n  https://api.github.com/repos/octocat/hello-world/commits/REF/check-runs
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.antiope-preview+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/commits/REF/check-runs", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.antiope-preview+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/commits/REF/check-runs
    " }, { "lang": "JavaScript", @@ -43302,7 +43507,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/commits/{ref}/check-suites", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -43324,14 +43529,14 @@ }, { "name": "ref", - "description": "ref+ parameter", + "description": "ref parameter", "in": "path", "required": true, "schema": { "type": "string" }, "x-multi-segment": true, - "descriptionHTML": "

    ref+ parameter

    " + "descriptionHTML": "

    ref parameter

    " }, { "name": "app_id", @@ -43378,8 +43583,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.antiope-preview+json\" \\\n https://api.github.com/repos/octocat/hello-world/commits/REF/check-suites", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.antiope-preview+json\" \\\n  https://api.github.com/repos/octocat/hello-world/commits/REF/check-suites
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.antiope-preview+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/commits/REF/check-suites", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.antiope-preview+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/commits/REF/check-suites
    " }, { "lang": "JavaScript", @@ -43431,7 +43636,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/commits/{ref}/status", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -43453,21 +43658,41 @@ }, { "name": "ref", - "description": "ref+ parameter", + "description": "ref parameter", "in": "path", "required": true, "schema": { "type": "string" }, "x-multi-segment": true, - "descriptionHTML": "

    ref+ parameter

    " + "descriptionHTML": "

    ref parameter

    " + }, + { + "name": "per_page", + "description": "Results per page (max 100).", + "in": "query", + "schema": { + "type": "integer", + "default": 30 + }, + "descriptionHTML": "

    Results per page (max 100).

    " + }, + { + "name": "page", + "description": "Page number of the results to fetch.", + "in": "query", + "schema": { + "type": "integer", + "default": 1 + }, + "descriptionHTML": "

    Page number of the results to fetch.

    " } ], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/commits/REF/status", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/commits/REF/status
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/commits/REF/status", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/commits/REF/status
    " }, { "lang": "JavaScript", @@ -43517,7 +43742,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/commits/{ref}/statuses", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -43539,14 +43764,14 @@ }, { "name": "ref", - "description": "ref+ parameter", + "description": "ref parameter", "in": "path", "required": true, "schema": { "type": "string" }, "x-multi-segment": true, - "descriptionHTML": "

    ref+ parameter

    " + "descriptionHTML": "

    ref parameter

    " }, { "name": "per_page", @@ -43572,8 +43797,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/commits/REF/statuses", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/commits/REF/statuses
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/commits/REF/statuses", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/commits/REF/statuses
    " }, { "lang": "JavaScript", @@ -43623,7 +43848,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/compare/{base}...{head}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -43665,8 +43890,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/compare/BASE...HEAD", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/compare/BASE...HEAD
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/compare/BASE...HEAD", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/compare/BASE...HEAD
    " }, { "lang": "JavaScript", @@ -43721,7 +43946,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/contents/{path}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -43743,14 +43968,14 @@ }, { "name": "path", - "description": "path+ parameter", + "description": "path parameter", "in": "path", "required": true, "schema": { "type": "string" }, "x-multi-segment": true, - "descriptionHTML": "

    path+ parameter

    " + "descriptionHTML": "

    path parameter

    " }, { "name": "ref", @@ -43766,8 +43991,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/contents/PATH", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/contents/PATH
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/contents/PATH", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/contents/PATH
    " }, { "lang": "JavaScript", @@ -43845,7 +44070,7 @@ { "verb": "put", "requestPath": "/repos/{owner}/{repo}/contents/{path}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -43867,21 +44092,21 @@ }, { "name": "path", - "description": "path+ parameter", + "description": "path parameter", "in": "path", "required": true, "schema": { "type": "string" }, "x-multi-segment": true, - "descriptionHTML": "

    path+ parameter

    " + "descriptionHTML": "

    path parameter

    " } ], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/contents/PATH \\\n -d '{\"message\":\"message\",\"content\":\"content\"}'", - "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/contents/PATH \\\n  -d '{\"message\":\"message\",\"content\":\"content\"}'
    " + "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/contents/PATH \\\n -d '{\"message\":\"message\",\"content\":\"content\"}'", + "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/contents/PATH \\\n  -d '{\"message\":\"message\",\"content\":\"content\"}'
    " }, { "lang": "JavaScript", @@ -44368,7 +44593,7 @@ { "verb": "delete", "requestPath": "/repos/{owner}/{repo}/contents/{path}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -44390,21 +44615,21 @@ }, { "name": "path", - "description": "path+ parameter", + "description": "path parameter", "in": "path", "required": true, "schema": { "type": "string" }, "x-multi-segment": true, - "descriptionHTML": "

    path+ parameter

    " + "descriptionHTML": "

    path parameter

    " } ], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/contents/PATH \\\n -d '{\"message\":\"message\",\"sha\":\"sha\"}'", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/contents/PATH \\\n  -d '{\"message\":\"message\",\"sha\":\"sha\"}'
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/contents/PATH \\\n -d '{\"message\":\"message\",\"sha\":\"sha\"}'", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/contents/PATH \\\n  -d '{\"message\":\"message\",\"sha\":\"sha\"}'
    " }, { "lang": "JavaScript", @@ -44767,7 +44992,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/contributors", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -44821,8 +45046,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/contributors", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/contributors
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/contributors", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/contributors
    " }, { "lang": "JavaScript", @@ -44880,7 +45105,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/deployments", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -44940,7 +45165,8 @@ "required": false, "schema": { "type": "string", - "default": "none" + "default": "none", + "nullable": true }, "descriptionHTML": "

    The name of the environment that was deployed to (e.g., staging or production).

    " }, @@ -44968,8 +45194,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/deployments", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/deployments
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/deployments", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/deployments
    " }, { "lang": "JavaScript", @@ -45021,7 +45247,7 @@ { "verb": "post", "requestPath": "/repos/{owner}/{repo}/deployments", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -45045,8 +45271,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/deployments \\\n -d '{\"ref\":\"ref\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/deployments \\\n  -d '{\"ref\":\"ref\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/deployments \\\n -d '{\"ref\":\"ref\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/deployments \\\n  -d '{\"ref\":\"ref\"}'
    " }, { "lang": "JavaScript", @@ -45345,12 +45571,6 @@ "description": "Simple example", "payload": "
    {\n  \"url\": \"https://api.github.com/repos/octocat/example/deployments/1\",\n  \"id\": 1,\n  \"node_id\": \"MDEwOkRlcGxveW1lbnQx\",\n  \"sha\": \"a84d88e7554fc1fa21bcbc4efae3c782a70d2b9d\",\n  \"ref\": \"topic-branch\",\n  \"task\": \"deploy\",\n  \"payload\": {},\n  \"original_environment\": \"staging\",\n  \"environment\": \"production\",\n  \"description\": \"Deploy request from hubot\",\n  \"creator\": {\n    \"login\": \"octocat\",\n    \"id\": 1,\n    \"node_id\": \"MDQ6VXNlcjE=\",\n    \"avatar_url\": \"https://github.com/images/error/octocat_happy.gif\",\n    \"gravatar_id\": \"\",\n    \"url\": \"https://api.github.com/users/octocat\",\n    \"html_url\": \"https://github.com/octocat\",\n    \"followers_url\": \"https://api.github.com/users/octocat/followers\",\n    \"following_url\": \"https://api.github.com/users/octocat/following{/other_user}\",\n    \"gists_url\": \"https://api.github.com/users/octocat/gists{/gist_id}\",\n    \"starred_url\": \"https://api.github.com/users/octocat/starred{/owner}{/repo}\",\n    \"subscriptions_url\": \"https://api.github.com/users/octocat/subscriptions\",\n    \"organizations_url\": \"https://api.github.com/users/octocat/orgs\",\n    \"repos_url\": \"https://api.github.com/users/octocat/repos\",\n    \"events_url\": \"https://api.github.com/users/octocat/events{/privacy}\",\n    \"received_events_url\": \"https://api.github.com/users/octocat/received_events\",\n    \"type\": \"User\",\n    \"site_admin\": false\n  },\n  \"created_at\": \"2012-07-20T01:19:13Z\",\n  \"updated_at\": \"2012-07-20T01:19:13Z\",\n  \"statuses_url\": \"https://api.github.com/repos/octocat/example/deployments/1/statuses\",\n  \"repository_url\": \"https://api.github.com/repos/octocat/example\",\n  \"transient_environment\": false,\n  \"production_environment\": true\n}\n
    " }, - { - "httpStatusCode": "201", - "httpStatusMessage": "Created", - "description": "Advanced example", - "payload": "
    {\n  \"url\": \"https://api.github.com/repos/octocat/example/deployments/1\",\n  \"id\": 1,\n  \"node_id\": \"MDEwOkRlcGxveW1lbnQx\",\n  \"sha\": \"a84d88e7554fc1fa21bcbc4efae3c782a70d2b9d\",\n  \"ref\": \"topic-branch\",\n  \"task\": \"deploy\",\n  \"payload\": {},\n  \"original_environment\": \"staging\",\n  \"environment\": \"production\",\n  \"description\": \"Deploy request from hubot\",\n  \"creator\": {\n    \"login\": \"octocat\",\n    \"id\": 1,\n    \"node_id\": \"MDQ6VXNlcjE=\",\n    \"avatar_url\": \"https://github.com/images/error/octocat_happy.gif\",\n    \"gravatar_id\": \"\",\n    \"url\": \"https://api.github.com/users/octocat\",\n    \"html_url\": \"https://github.com/octocat\",\n    \"followers_url\": \"https://api.github.com/users/octocat/followers\",\n    \"following_url\": \"https://api.github.com/users/octocat/following{/other_user}\",\n    \"gists_url\": \"https://api.github.com/users/octocat/gists{/gist_id}\",\n    \"starred_url\": \"https://api.github.com/users/octocat/starred{/owner}{/repo}\",\n    \"subscriptions_url\": \"https://api.github.com/users/octocat/subscriptions\",\n    \"organizations_url\": \"https://api.github.com/users/octocat/orgs\",\n    \"repos_url\": \"https://api.github.com/users/octocat/repos\",\n    \"events_url\": \"https://api.github.com/users/octocat/events{/privacy}\",\n    \"received_events_url\": \"https://api.github.com/users/octocat/received_events\",\n    \"type\": \"User\",\n    \"site_admin\": false\n  },\n  \"created_at\": \"2012-07-20T01:19:13Z\",\n  \"updated_at\": \"2012-07-20T01:19:13Z\",\n  \"statuses_url\": \"https://api.github.com/repos/octocat/example/deployments/1/statuses\",\n  \"repository_url\": \"https://api.github.com/repos/octocat/example\",\n  \"transient_environment\": false,\n  \"production_environment\": true\n}\n
    " - }, { "httpStatusCode": "202", "httpStatusMessage": "Accepted", @@ -45360,14 +45580,7 @@ { "httpStatusCode": "409", "httpStatusMessage": "Conflict", - "description": "Merge conflict response", - "payload": "
    {\n  \"message\": \"Conflict merging master into topic-branch\"\n}\n
    " - }, - { - "httpStatusCode": "409", - "httpStatusMessage": "Conflict", - "description": "Failed commit status checks", - "payload": "
    {\n  \"message\": \"Conflict: Commit status checks failed for topic-branch.\"\n}\n
    " + "description": "Response when there is a merge conflict or the commit s status checks failed" }, { "httpStatusCode": "422", @@ -45379,7 +45592,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/deployments/{deployment_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -45413,8 +45626,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/deployments/42", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/deployments/42
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/deployments/42", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/deployments/42
    " }, { "lang": "JavaScript", @@ -45471,7 +45684,7 @@ { "verb": "delete", "requestPath": "/repos/{owner}/{repo}/deployments/{deployment_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -45505,8 +45718,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/deployments/42", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/deployments/42
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/deployments/42", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/deployments/42
    " }, { "lang": "JavaScript", @@ -45541,7 +45754,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "404", @@ -45560,7 +45773,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/deployments/{deployment_id}/statuses", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -45614,8 +45827,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/deployments/42/statuses", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/deployments/42/statuses
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/deployments/42/statuses", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/deployments/42/statuses
    " }, { "lang": "JavaScript", @@ -45678,7 +45891,7 @@ { "verb": "post", "requestPath": "/repos/{owner}/{repo}/deployments/{deployment_id}/statuses", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -45712,8 +45925,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/deployments/42/statuses \\\n -d '{\"state\":\"state\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/deployments/42/statuses \\\n  -d '{\"state\":\"state\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/deployments/42/statuses \\\n -d '{\"state\":\"state\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/deployments/42/statuses \\\n  -d '{\"state\":\"state\"}'
    " }, { "lang": "JavaScript", @@ -45959,7 +46172,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/deployments/{deployment_id}/statuses/{status_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -46002,8 +46215,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/deployments/42/statuses/42", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/deployments/42/statuses/42
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/deployments/42/statuses/42", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/deployments/42/statuses/42
    " }, { "lang": "JavaScript", @@ -46071,7 +46284,7 @@ { "verb": "post", "requestPath": "/repos/{owner}/{repo}/dispatches", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -46095,8 +46308,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/dispatches \\\n -d '{\"event_type\":\"event_type\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/dispatches \\\n  -d '{\"event_type\":\"event_type\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/dispatches \\\n -d '{\"event_type\":\"event_type\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/dispatches \\\n  -d '{\"event_type\":\"event_type\"}'
    " }, { "lang": "JavaScript", @@ -46169,7 +46382,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "422", @@ -46203,7 +46416,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/events", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -46247,8 +46460,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/events", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/events
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/events", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/events
    " }, { "lang": "JavaScript", @@ -46292,7 +46505,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/forks", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -46322,7 +46535,8 @@ "enum": [ "newest", "oldest", - "stargazers" + "stargazers", + "watchers" ], "default": "newest" }, @@ -46347,13 +46561,35 @@ "default": 1 }, "descriptionHTML": "

    Page number of the results to fetch.

    " + }, + { + "name": "org", + "description": "legacy query parameter for specifying the org.", + "in": "query", + "deprecated": true, + "required": false, + "schema": { + "type": "string" + }, + "descriptionHTML": "

    legacy query parameter for specifying the org.

    " + }, + { + "name": "organization", + "description": "legacy query parameter for specifying the org.", + "in": "query", + "deprecated": true, + "required": false, + "schema": { + "type": "string" + }, + "descriptionHTML": "

    legacy query parameter for specifying the org.

    " } ], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/forks", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/forks
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/forks", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/forks
    " }, { "lang": "JavaScript", @@ -46403,7 +46639,7 @@ { "verb": "post", "requestPath": "/repos/{owner}/{repo}/forks", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -46422,13 +46658,35 @@ "type": "string" }, "descriptionHTML": "" + }, + { + "name": "org", + "description": "legacy query parameter for specifying the org.", + "in": "query", + "deprecated": true, + "required": false, + "schema": { + "type": "string" + }, + "descriptionHTML": "

    legacy query parameter for specifying the org.

    " + }, + { + "name": "organization", + "description": "legacy query parameter for specifying the org.", + "in": "query", + "deprecated": true, + "required": false, + "schema": { + "type": "string" + }, + "descriptionHTML": "

    legacy query parameter for specifying the org.

    " } ], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/forks \\\n -d '{\"organization\":\"organization\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/forks \\\n  -d '{\"organization\":\"organization\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/forks \\\n -d '{\"organization\":\"organization\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/forks \\\n  -d '{\"organization\":\"organization\"}'
    " }, { "lang": "JavaScript", @@ -46451,6 +46709,7 @@ "application/json": { "schema": { "type": "object", + "nullable": true, "properties": { "organization": { "type": "string", @@ -46523,7 +46782,7 @@ { "verb": "post", "requestPath": "/repos/{owner}/{repo}/git/blobs", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -46547,8 +46806,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/git/blobs \\\n -d '{\"content\":\"content\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/git/blobs \\\n  -d '{\"content\":\"content\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/git/blobs \\\n -d '{\"content\":\"content\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/git/blobs \\\n  -d '{\"content\":\"content\"}'
    " }, { "lang": "JavaScript", @@ -46670,7 +46929,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/git/blobs/{file_sha}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -46703,8 +46962,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/git/blobs/FILE_SHA", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/git/blobs/FILE_SHA
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/git/blobs/FILE_SHA", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/git/blobs/FILE_SHA
    " }, { "lang": "JavaScript", @@ -46764,7 +47023,7 @@ { "verb": "post", "requestPath": "/repos/{owner}/{repo}/git/commits", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -46788,8 +47047,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/git/commits \\\n -d '{\"message\":\"message\",\"tree\":\"tree\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/git/commits \\\n  -d '{\"message\":\"message\",\"tree\":\"tree\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/git/commits \\\n -d '{\"message\":\"message\",\"tree\":\"tree\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/git/commits \\\n  -d '{\"message\":\"message\",\"tree\":\"tree\"}'
    " }, { "lang": "JavaScript", @@ -47243,7 +47502,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/git/commits/{commit_sha}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -47278,8 +47537,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/git/commits/COMMIT_SHA", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/git/commits/COMMIT_SHA
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/git/commits/COMMIT_SHA", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/git/commits/COMMIT_SHA
    " }, { "lang": "JavaScript", @@ -47329,7 +47588,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/git/matching-refs/{ref}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -47351,14 +47610,14 @@ }, { "name": "ref", - "description": "ref+ parameter", + "description": "ref parameter", "in": "path", "required": true, "schema": { "type": "string" }, "x-multi-segment": true, - "descriptionHTML": "

    ref+ parameter

    " + "descriptionHTML": "

    ref parameter

    " }, { "name": "per_page", @@ -47384,8 +47643,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/git/matching-refs/REF", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/git/matching-refs/REF
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/git/matching-refs/REF", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/git/matching-refs/REF
    " }, { "lang": "JavaScript", @@ -47430,7 +47689,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/git/ref/{ref}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -47452,21 +47711,21 @@ }, { "name": "ref", - "description": "ref+ parameter", + "description": "ref parameter", "in": "path", "required": true, "schema": { "type": "string" }, "x-multi-segment": true, - "descriptionHTML": "

    ref+ parameter

    " + "descriptionHTML": "

    ref parameter

    " } ], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/git/ref/REF", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/git/ref/REF
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/git/ref/REF", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/git/ref/REF
    " }, { "lang": "JavaScript", @@ -47516,7 +47775,7 @@ { "verb": "post", "requestPath": "/repos/{owner}/{repo}/git/refs", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -47540,8 +47799,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/git/refs \\\n -d '{\"ref\":\"ref\",\"sha\":\"sha\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/git/refs \\\n  -d '{\"ref\":\"ref\",\"sha\":\"sha\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/git/refs \\\n -d '{\"ref\":\"ref\",\"sha\":\"sha\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/git/refs \\\n  -d '{\"ref\":\"ref\",\"sha\":\"sha\"}'
    " }, { "lang": "JavaScript", @@ -47665,7 +47924,7 @@ { "verb": "patch", "requestPath": "/repos/{owner}/{repo}/git/refs/{ref}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -47687,21 +47946,21 @@ }, { "name": "ref", - "description": "ref+ parameter", + "description": "ref parameter", "in": "path", "required": true, "schema": { "type": "string" }, "x-multi-segment": true, - "descriptionHTML": "

    ref+ parameter

    " + "descriptionHTML": "

    ref parameter

    " } ], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/git/refs/REF \\\n -d '{\"sha\":\"sha\"}'", - "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/git/refs/REF \\\n  -d '{\"sha\":\"sha\"}'
    " + "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/git/refs/REF \\\n -d '{\"sha\":\"sha\"}'", + "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/git/refs/REF \\\n  -d '{\"sha\":\"sha\"}'
    " }, { "lang": "JavaScript", @@ -47808,7 +48067,7 @@ { "verb": "delete", "requestPath": "/repos/{owner}/{repo}/git/refs/{ref}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -47830,21 +48089,21 @@ }, { "name": "ref", - "description": "ref+ parameter", + "description": "ref parameter", "in": "path", "required": true, "schema": { "type": "string" }, "x-multi-segment": true, - "descriptionHTML": "

    ref+ parameter

    " + "descriptionHTML": "

    ref parameter

    " } ], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/git/refs/REF", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/git/refs/REF
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/git/refs/REF", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/git/refs/REF
    " }, { "lang": "JavaScript", @@ -47879,7 +48138,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "422", @@ -47893,7 +48152,7 @@ { "verb": "post", "requestPath": "/repos/{owner}/{repo}/git/tags", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -47917,8 +48176,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/git/tags \\\n -d '{\"tag\":\"tag\",\"message\":\"message\",\"object\":\"object\",\"type\":\"type\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/git/tags \\\n  -d '{\"tag\":\"tag\",\"message\":\"message\",\"object\":\"object\",\"type\":\"type\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/git/tags \\\n -d '{\"tag\":\"tag\",\"message\":\"message\",\"object\":\"object\",\"type\":\"type\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/git/tags \\\n  -d '{\"tag\":\"tag\",\"message\":\"message\",\"object\":\"object\",\"type\":\"type\"}'
    " }, { "lang": "JavaScript", @@ -48225,7 +48484,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/git/tags/{tag_sha}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -48258,8 +48517,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/git/tags/TAG_SHA", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/git/tags/TAG_SHA
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/git/tags/TAG_SHA", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/git/tags/TAG_SHA
    " }, { "lang": "JavaScript", @@ -48309,7 +48568,7 @@ { "verb": "post", "requestPath": "/repos/{owner}/{repo}/git/trees", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -48333,8 +48592,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/git/trees \\\n -d '{\"tree\":[{\"path\":\"path\",\"mode\":\"mode\",\"type\":\"type\",\"sha\":\"sha\",\"content\":\"content\"}]}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/git/trees \\\n  -d '{\"tree\":[{\"path\":\"path\",\"mode\":\"mode\",\"type\":\"type\",\"sha\":\"sha\",\"content\":\"content\"}]}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/git/trees \\\n -d '{\"tree\":[{\"path\":\"path\",\"mode\":\"mode\",\"type\":\"type\",\"sha\":\"sha\",\"content\":\"content\"}]}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/git/trees \\\n  -d '{\"tree\":[{\"path\":\"path\",\"mode\":\"mode\",\"type\":\"type\",\"sha\":\"sha\",\"content\":\"content\"}]}'
    " }, { "lang": "JavaScript", @@ -48714,7 +48973,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/git/trees/{tree_sha}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -48741,6 +49000,7 @@ "schema": { "type": "string" }, + "x-multi-segment": true, "descriptionHTML": "" }, { @@ -48757,8 +49017,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/git/trees/TREE_SHA", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/git/trees/TREE_SHA
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/git/trees/TREE_SHA", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/git/trees/TREE_SHA
    " }, { "lang": "JavaScript", @@ -48819,7 +49079,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/hooks", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -48863,8 +49123,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/hooks", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/hooks
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/hooks", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/hooks
    " }, { "lang": "JavaScript", @@ -48914,7 +49174,7 @@ { "verb": "post", "requestPath": "/repos/{owner}/{repo}/hooks", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -48938,8 +49198,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/hooks \\\n -d '{\"config\":{\"url\":\"url\",\"content_type\":\"content_type\",\"secret\":\"secret\",\"insecure_ssl\":\"insecure_ssl\",\"token\":\"token\",\"digest\":\"digest\"}}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/hooks \\\n  -d '{\"config\":{\"url\":\"url\",\"content_type\":\"content_type\",\"secret\":\"secret\",\"insecure_ssl\":\"insecure_ssl\",\"token\":\"token\",\"digest\":\"digest\"}}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/hooks \\\n -d '{\"config\":{\"url\":\"url\",\"content_type\":\"content_type\",\"secret\":\"secret\",\"insecure_ssl\":\"insecure_ssl\",\"token\":\"token\",\"digest\":\"digest\"}}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/hooks \\\n  -d '{\"config\":{\"url\":\"url\",\"content_type\":\"content_type\",\"secret\":\"secret\",\"insecure_ssl\":\"insecure_ssl\",\"token\":\"token\",\"digest\":\"digest\"}}'
    " }, { "lang": "JavaScript", @@ -49375,7 +49635,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/hooks/{hook_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -49408,8 +49668,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/hooks/42", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/hooks/42
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/hooks/42", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/hooks/42
    " }, { "lang": "JavaScript", @@ -49459,7 +49719,7 @@ { "verb": "patch", "requestPath": "/repos/{owner}/{repo}/hooks/{hook_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -49492,8 +49752,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/hooks/42 \\\n -d '{\"config\":{\"url\":\"url\",\"content_type\":\"content_type\",\"secret\":\"secret\",\"insecure_ssl\":\"insecure_ssl\",\"address\":\"address\",\"room\":\"room\"}}'", - "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/hooks/42 \\\n  -d '{\"config\":{\"url\":\"url\",\"content_type\":\"content_type\",\"secret\":\"secret\",\"insecure_ssl\":\"insecure_ssl\",\"address\":\"address\",\"room\":\"room\"}}'
    " + "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/hooks/42 \\\n -d '{\"config\":{\"url\":\"url\",\"content_type\":\"content_type\",\"secret\":\"secret\",\"insecure_ssl\":\"insecure_ssl\",\"address\":\"address\",\"room\":\"room\"}}'", + "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/hooks/42 \\\n  -d '{\"config\":{\"url\":\"url\",\"content_type\":\"content_type\",\"secret\":\"secret\",\"insecure_ssl\":\"insecure_ssl\",\"address\":\"address\",\"room\":\"room\"}}'
    " }, { "lang": "JavaScript", @@ -49944,7 +50204,7 @@ { "verb": "delete", "requestPath": "/repos/{owner}/{repo}/hooks/{hook_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -49977,8 +50237,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/hooks/42", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/hooks/42
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/hooks/42", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/hooks/42
    " }, { "lang": "JavaScript", @@ -50013,7 +50273,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "404", @@ -50027,7 +50287,7 @@ { "verb": "post", "requestPath": "/repos/{owner}/{repo}/hooks/{hook_id}/pings", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -50060,8 +50320,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/hooks/42/pings", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/hooks/42/pings
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/hooks/42/pings", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/hooks/42/pings
    " }, { "lang": "JavaScript", @@ -50096,7 +50356,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "404", @@ -50110,7 +50370,7 @@ { "verb": "post", "requestPath": "/repos/{owner}/{repo}/hooks/{hook_id}/tests", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -50143,8 +50403,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/hooks/42/tests", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/hooks/42/tests
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/hooks/42/tests", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/hooks/42/tests
    " }, { "lang": "JavaScript", @@ -50179,7 +50439,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "404", @@ -50193,7 +50453,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/installation", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -50217,8 +50477,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/installation", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/installation
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/installation", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/installation
    " }, { "lang": "JavaScript", @@ -50271,7 +50531,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/invitations", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -50315,8 +50575,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/invitations", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/invitations
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/invitations", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/invitations
    " }, { "lang": "JavaScript", @@ -50361,7 +50621,7 @@ { "verb": "patch", "requestPath": "/repos/{owner}/{repo}/invitations/{invitation_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -50395,8 +50655,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/invitations/42 \\\n -d '{\"permissions\":\"permissions\"}'", - "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/invitations/42 \\\n  -d '{\"permissions\":\"permissions\"}'
    " + "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/invitations/42 \\\n -d '{\"permissions\":\"permissions\"}'", + "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/invitations/42 \\\n  -d '{\"permissions\":\"permissions\"}'
    " }, { "lang": "JavaScript", @@ -50485,7 +50745,7 @@ { "verb": "delete", "requestPath": "/repos/{owner}/{repo}/invitations/{invitation_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -50519,8 +50779,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/invitations/42", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/invitations/42
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/invitations/42", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/invitations/42
    " }, { "lang": "JavaScript", @@ -50555,7 +50815,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "bodyParameters": [], @@ -50564,7 +50824,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/issues", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -50715,8 +50975,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/issues", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/issues
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues
    " }, { "lang": "JavaScript", @@ -50781,7 +51041,7 @@ { "verb": "post", "requestPath": "/repos/{owner}/{repo}/issues", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -50805,8 +51065,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/issues \\\n -d '{\"title\":\"title\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/issues \\\n  -d '{\"title\":\"title\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues \\\n -d '{\"title\":\"title\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues \\\n  -d '{\"title\":\"title\"}'
    " }, { "lang": "JavaScript", @@ -51097,7 +51357,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/issues/comments", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -51180,8 +51440,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/issues/comments", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/issues/comments
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues/comments", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues/comments
    " }, { "lang": "JavaScript", @@ -51243,7 +51503,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/issues/comments/{comment_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -51277,8 +51537,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/issues/comments/42", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/issues/comments/42
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues/comments/42", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues/comments/42
    " }, { "lang": "JavaScript", @@ -51335,7 +51595,7 @@ { "verb": "patch", "requestPath": "/repos/{owner}/{repo}/issues/comments/{comment_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -51369,8 +51629,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/issues/comments/42 \\\n -d '{\"body\":\"body\"}'", - "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/issues/comments/42 \\\n  -d '{\"body\":\"body\"}'
    " + "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues/comments/42 \\\n -d '{\"body\":\"body\"}'", + "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues/comments/42 \\\n  -d '{\"body\":\"body\"}'
    " }, { "lang": "JavaScript", @@ -51456,7 +51716,7 @@ { "verb": "delete", "requestPath": "/repos/{owner}/{repo}/issues/comments/{comment_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -51490,8 +51750,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/issues/comments/42", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/issues/comments/42
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues/comments/42", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues/comments/42
    " }, { "lang": "JavaScript", @@ -51526,7 +51786,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "bodyParameters": [], @@ -51535,7 +51795,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/issues/comments/{comment_id}/reactions", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -51609,8 +51869,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n https://api.github.com/repos/octocat/hello-world/issues/comments/42/reactions", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n  https://api.github.com/repos/octocat/hello-world/issues/comments/42/reactions
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues/comments/42/reactions", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues/comments/42/reactions
    " }, { "lang": "JavaScript", @@ -51670,7 +51930,7 @@ { "verb": "post", "requestPath": "/repos/{owner}/{repo}/issues/comments/{comment_id}/reactions", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -51704,8 +51964,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n https://api.github.com/repos/octocat/hello-world/issues/comments/42/reactions \\\n -d '{\"content\":\"content\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n  https://api.github.com/repos/octocat/hello-world/issues/comments/42/reactions \\\n  -d '{\"content\":\"content\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues/comments/42/reactions \\\n -d '{\"content\":\"content\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues/comments/42/reactions \\\n  -d '{\"content\":\"content\"}'
    " }, { "lang": "JavaScript", @@ -51827,7 +52087,7 @@ { "verb": "delete", "requestPath": "/repos/{owner}/{repo}/issues/comments/{comment_id}/reactions/{reaction_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -51870,8 +52130,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n https://api.github.com/repos/octocat/hello-world/issues/comments/42/reactions/42", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n  https://api.github.com/repos/octocat/hello-world/issues/comments/42/reactions/42
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues/comments/42/reactions/42", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues/comments/42/reactions/42
    " }, { "lang": "JavaScript", @@ -51911,7 +52171,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "bodyParameters": [], @@ -51920,7 +52180,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/issues/events", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -51964,8 +52224,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/issues/events", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/issues/events
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues/events", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues/events
    " }, { "lang": "JavaScript", @@ -52022,7 +52282,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/issues/events/{event_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -52055,8 +52315,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/issues/events/42", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/issues/events/42
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues/events/42", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues/events/42
    " }, { "lang": "JavaScript", @@ -52123,7 +52383,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/issues/{issue_number}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -52157,8 +52417,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/issues/42", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/issues/42
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues/42", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues/42
    " }, { "lang": "JavaScript", @@ -52228,7 +52488,7 @@ { "verb": "patch", "requestPath": "/repos/{owner}/{repo}/issues/{issue_number}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -52262,8 +52522,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/issues/42 \\\n -d '{\"title\":\"title\"}'", - "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/issues/42 \\\n  -d '{\"title\":\"title\"}'
    " + "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues/42 \\\n -d '{\"title\":\"title\"}'", + "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues/42 \\\n  -d '{\"title\":\"title\"}'
    " }, { "lang": "JavaScript", @@ -52588,7 +52848,7 @@ { "verb": "post", "requestPath": "/repos/{owner}/{repo}/issues/{issue_number}/assignees", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -52622,8 +52882,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/issues/42/assignees \\\n -d '{\"assignees\":[\"assignees\"]}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/issues/42/assignees \\\n  -d '{\"assignees\":[\"assignees\"]}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues/42/assignees \\\n -d '{\"assignees\":[\"assignees\"]}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues/42/assignees \\\n  -d '{\"assignees\":[\"assignees\"]}'
    " }, { "lang": "JavaScript", @@ -52710,7 +52970,7 @@ { "verb": "delete", "requestPath": "/repos/{owner}/{repo}/issues/{issue_number}/assignees", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -52744,8 +53004,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/issues/42/assignees \\\n -d '{\"assignees\":[\"assignees\"]}'", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/issues/42/assignees \\\n  -d '{\"assignees\":[\"assignees\"]}'
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues/42/assignees \\\n -d '{\"assignees\":[\"assignees\"]}'", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues/42/assignees \\\n  -d '{\"assignees\":[\"assignees\"]}'
    " }, { "lang": "JavaScript", @@ -52832,7 +53092,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/issues/{issue_number}/comments", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -52896,8 +53156,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/issues/42/comments", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/issues/42/comments
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues/42/comments", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues/42/comments
    " }, { "lang": "JavaScript", @@ -52959,7 +53219,7 @@ { "verb": "post", "requestPath": "/repos/{owner}/{repo}/issues/{issue_number}/comments", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -52993,8 +53253,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/issues/42/comments \\\n -d '{\"body\":\"body\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/issues/42/comments \\\n  -d '{\"body\":\"body\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues/42/comments \\\n -d '{\"body\":\"body\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues/42/comments \\\n  -d '{\"body\":\"body\"}'
    " }, { "lang": "JavaScript", @@ -53096,7 +53356,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/issues/{issue_number}/events", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -53150,8 +53410,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/issues/42/events", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/issues/42/events
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues/42/events", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues/42/events
    " }, { "lang": "JavaScript", @@ -53208,7 +53468,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/issues/{issue_number}/labels", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -53262,8 +53522,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/issues/42/labels", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/issues/42/labels
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues/42/labels", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues/42/labels
    " }, { "lang": "JavaScript", @@ -53313,7 +53573,7 @@ { "verb": "post", "requestPath": "/repos/{owner}/{repo}/issues/{issue_number}/labels", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -53347,8 +53607,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/issues/42/labels \\\n -d '{\"labels\":[\"labels\"]}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/issues/42/labels \\\n  -d '{\"labels\":[\"labels\"]}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues/42/labels \\\n -d '{\"labels\":[\"labels\"]}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues/42/labels \\\n  -d '{\"labels\":[\"labels\"]}'
    " }, { "lang": "JavaScript", @@ -53448,7 +53708,7 @@ { "verb": "put", "requestPath": "/repos/{owner}/{repo}/issues/{issue_number}/labels", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -53482,8 +53742,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/issues/42/labels \\\n -d '{\"labels\":[\"labels\"]}'", - "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/issues/42/labels \\\n  -d '{\"labels\":[\"labels\"]}'
    " + "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues/42/labels \\\n -d '{\"labels\":[\"labels\"]}'", + "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues/42/labels \\\n  -d '{\"labels\":[\"labels\"]}'
    " }, { "lang": "JavaScript", @@ -53580,7 +53840,7 @@ { "verb": "delete", "requestPath": "/repos/{owner}/{repo}/issues/{issue_number}/labels", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -53614,8 +53874,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/issues/42/labels", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/issues/42/labels
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues/42/labels", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues/42/labels
    " }, { "lang": "JavaScript", @@ -53650,7 +53910,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "410", @@ -53664,7 +53924,7 @@ { "verb": "delete", "requestPath": "/repos/{owner}/{repo}/issues/{issue_number}/labels/{name}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -53707,8 +53967,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/issues/42/labels/NAME", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/issues/42/labels/NAME
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues/42/labels/NAME", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues/42/labels/NAME
    " }, { "lang": "JavaScript", @@ -53763,7 +54023,7 @@ { "verb": "put", "requestPath": "/repos/{owner}/{repo}/issues/{issue_number}/lock", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -53797,8 +54057,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/issues/42/lock \\\n -d '{\"lock_reason\":\"lock_reason\"}'", - "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/issues/42/lock \\\n  -d '{\"lock_reason\":\"lock_reason\"}'
    " + "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues/42/lock \\\n -d '{\"lock_reason\":\"lock_reason\"}'", + "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues/42/lock \\\n  -d '{\"lock_reason\":\"lock_reason\"}'
    " }, { "lang": "JavaScript", @@ -53858,7 +54118,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "403", @@ -53903,7 +54163,7 @@ { "verb": "delete", "requestPath": "/repos/{owner}/{repo}/issues/{issue_number}/lock", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -53937,8 +54197,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/issues/42/lock", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/issues/42/lock
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues/42/lock", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues/42/lock
    " }, { "lang": "JavaScript", @@ -53971,7 +54231,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "403", @@ -53990,7 +54250,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/issues/{issue_number}/reactions", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -54064,8 +54324,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n https://api.github.com/repos/octocat/hello-world/issues/42/reactions", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n  https://api.github.com/repos/octocat/hello-world/issues/42/reactions
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues/42/reactions", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues/42/reactions
    " }, { "lang": "JavaScript", @@ -54130,7 +54390,7 @@ { "verb": "post", "requestPath": "/repos/{owner}/{repo}/issues/{issue_number}/reactions", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -54164,8 +54424,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n https://api.github.com/repos/octocat/hello-world/issues/42/reactions \\\n -d '{\"content\":\"content\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n  https://api.github.com/repos/octocat/hello-world/issues/42/reactions \\\n  -d '{\"content\":\"content\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues/42/reactions \\\n -d '{\"content\":\"content\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues/42/reactions \\\n  -d '{\"content\":\"content\"}'
    " }, { "lang": "JavaScript", @@ -54281,7 +54541,7 @@ { "verb": "delete", "requestPath": "/repos/{owner}/{repo}/issues/{issue_number}/reactions/{reaction_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -54324,8 +54584,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n https://api.github.com/repos/octocat/hello-world/issues/42/reactions/42", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n  https://api.github.com/repos/octocat/hello-world/issues/42/reactions/42
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues/42/reactions/42", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues/42/reactions/42
    " }, { "lang": "JavaScript", @@ -54365,7 +54625,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "bodyParameters": [], @@ -54374,7 +54634,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/issues/{issue_number}/timeline", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -54428,8 +54688,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.mockingbird-preview+json\" \\\n https://api.github.com/repos/octocat/hello-world/issues/42/timeline", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.mockingbird-preview+json\" \\\n  https://api.github.com/repos/octocat/hello-world/issues/42/timeline
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.mockingbird-preview+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues/42/timeline", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.mockingbird-preview+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues/42/timeline
    " }, { "lang": "JavaScript", @@ -54502,7 +54762,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/keys", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -54546,8 +54806,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/keys", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/keys
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/keys", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/keys
    " }, { "lang": "JavaScript", @@ -54592,7 +54852,7 @@ { "verb": "post", "requestPath": "/repos/{owner}/{repo}/keys", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -54616,8 +54876,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/keys \\\n -d '{\"key\":\"key\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/keys \\\n  -d '{\"key\":\"key\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/keys \\\n -d '{\"key\":\"key\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/keys \\\n  -d '{\"key\":\"key\"}'
    " }, { "lang": "JavaScript", @@ -54741,7 +55001,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/keys/{key_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -54775,8 +55035,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/keys/42", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/keys/42
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/keys/42", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/keys/42
    " }, { "lang": "JavaScript", @@ -54826,7 +55086,7 @@ { "verb": "delete", "requestPath": "/repos/{owner}/{repo}/keys/{key_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -54860,8 +55120,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/keys/42", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/keys/42
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/keys/42", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/keys/42
    " }, { "lang": "JavaScript", @@ -54896,7 +55156,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "bodyParameters": [], @@ -54905,7 +55165,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/labels", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -54949,8 +55209,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/labels", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/labels
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/labels", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/labels
    " }, { "lang": "JavaScript", @@ -55000,7 +55260,7 @@ { "verb": "post", "requestPath": "/repos/{owner}/{repo}/labels", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -55024,8 +55284,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/labels \\\n -d '{\"name\":\"name\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/labels \\\n  -d '{\"name\":\"name\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/labels \\\n -d '{\"name\":\"name\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/labels \\\n  -d '{\"name\":\"name\"}'
    " }, { "lang": "JavaScript", @@ -55051,11 +55311,11 @@ "properties": { "name": { "type": "string", - "description": "

    Required. The name of the label. Emoji can be added to label names, using either native emoji or colon-style markup. For example, typing :strawberry: will render the emoji \":strawberry:\". For a full list of available emoji and codes, see emoji-cheat-sheet.com.

    ", + "description": "

    Required. The name of the label. Emoji can be added to label names, using either native emoji or colon-style markup. For example, typing :strawberry: will render the emoji \":strawberry:\". For a full list of available emoji and codes, see \"Emoji cheat sheet.\"

    ", "name": "name", "in": "body", "rawType": "string", - "rawDescription": "The name of the label. Emoji can be added to label names, using either native emoji or colon-style markup. For example, typing `:strawberry:` will render the emoji ![:strawberry:](https://github.githubassets.com/images/icons/emoji/unicode/1f353.png \":strawberry:\"). For a full list of available emoji and codes, see [emoji-cheat-sheet.com](http://emoji-cheat-sheet.com/).", + "rawDescription": "The name of the label. Emoji can be added to label names, using either native emoji or colon-style markup. For example, typing `:strawberry:` will render the emoji ![:strawberry:](https://github.githubassets.com/images/icons/emoji/unicode/1f353.png \":strawberry:\"). For a full list of available emoji and codes, see \"[Emoji cheat sheet](https://github.com/ikatyang/emoji-cheat-sheet).\"", "childParamsGroups": [] }, "color": { @@ -55106,11 +55366,11 @@ "bodyParameters": [ { "type": "string", - "description": "

    Required. The name of the label. Emoji can be added to label names, using either native emoji or colon-style markup. For example, typing :strawberry: will render the emoji \":strawberry:\". For a full list of available emoji and codes, see emoji-cheat-sheet.com.

    ", + "description": "

    Required. The name of the label. Emoji can be added to label names, using either native emoji or colon-style markup. For example, typing :strawberry: will render the emoji \":strawberry:\". For a full list of available emoji and codes, see \"Emoji cheat sheet.\"

    ", "name": "name", "in": "body", "rawType": "string", - "rawDescription": "The name of the label. Emoji can be added to label names, using either native emoji or colon-style markup. For example, typing `:strawberry:` will render the emoji ![:strawberry:](https://github.githubassets.com/images/icons/emoji/unicode/1f353.png \":strawberry:\"). For a full list of available emoji and codes, see [emoji-cheat-sheet.com](http://emoji-cheat-sheet.com/).", + "rawDescription": "The name of the label. Emoji can be added to label names, using either native emoji or colon-style markup. For example, typing `:strawberry:` will render the emoji ![:strawberry:](https://github.githubassets.com/images/icons/emoji/unicode/1f353.png \":strawberry:\"). For a full list of available emoji and codes, see \"[Emoji cheat sheet](https://github.com/ikatyang/emoji-cheat-sheet).\"", "childParamsGroups": [] }, { @@ -55154,7 +55414,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/labels/{name}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -55187,8 +55447,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/labels/NAME", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/labels/NAME
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/labels/NAME", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/labels/NAME
    " }, { "lang": "JavaScript", @@ -55238,7 +55498,7 @@ { "verb": "patch", "requestPath": "/repos/{owner}/{repo}/labels/{name}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -55271,8 +55531,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/labels/NAME \\\n -d '{\"new_name\":\"new_name\"}'", - "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/labels/NAME \\\n  -d '{\"new_name\":\"new_name\"}'
    " + "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/labels/NAME \\\n -d '{\"new_name\":\"new_name\"}'", + "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/labels/NAME \\\n  -d '{\"new_name\":\"new_name\"}'
    " }, { "lang": "JavaScript", @@ -55298,11 +55558,11 @@ "properties": { "new_name": { "type": "string", - "description": "

    The new name of the label. Emoji can be added to label names, using either native emoji or colon-style markup. For example, typing :strawberry: will render the emoji \":strawberry:\". For a full list of available emoji and codes, see emoji-cheat-sheet.com.

    ", + "description": "

    The new name of the label. Emoji can be added to label names, using either native emoji or colon-style markup. For example, typing :strawberry: will render the emoji \":strawberry:\". For a full list of available emoji and codes, see \"Emoji cheat sheet.\"

    ", "name": "new_name", "in": "body", "rawType": "string", - "rawDescription": "The new name of the label. Emoji can be added to label names, using either native emoji or colon-style markup. For example, typing `:strawberry:` will render the emoji ![:strawberry:](https://github.githubassets.com/images/icons/emoji/unicode/1f353.png \":strawberry:\"). For a full list of available emoji and codes, see [emoji-cheat-sheet.com](http://emoji-cheat-sheet.com/).", + "rawDescription": "The new name of the label. Emoji can be added to label names, using either native emoji or colon-style markup. For example, typing `:strawberry:` will render the emoji ![:strawberry:](https://github.githubassets.com/images/icons/emoji/unicode/1f353.png \":strawberry:\"). For a full list of available emoji and codes, see \"[Emoji cheat sheet](https://github.com/ikatyang/emoji-cheat-sheet).\"", "childParamsGroups": [] }, "color": { @@ -55350,11 +55610,11 @@ "bodyParameters": [ { "type": "string", - "description": "

    The new name of the label. Emoji can be added to label names, using either native emoji or colon-style markup. For example, typing :strawberry: will render the emoji \":strawberry:\". For a full list of available emoji and codes, see emoji-cheat-sheet.com.

    ", + "description": "

    The new name of the label. Emoji can be added to label names, using either native emoji or colon-style markup. For example, typing :strawberry: will render the emoji \":strawberry:\". For a full list of available emoji and codes, see \"Emoji cheat sheet.\"

    ", "name": "new_name", "in": "body", "rawType": "string", - "rawDescription": "The new name of the label. Emoji can be added to label names, using either native emoji or colon-style markup. For example, typing `:strawberry:` will render the emoji ![:strawberry:](https://github.githubassets.com/images/icons/emoji/unicode/1f353.png \":strawberry:\"). For a full list of available emoji and codes, see [emoji-cheat-sheet.com](http://emoji-cheat-sheet.com/).", + "rawDescription": "The new name of the label. Emoji can be added to label names, using either native emoji or colon-style markup. For example, typing `:strawberry:` will render the emoji ![:strawberry:](https://github.githubassets.com/images/icons/emoji/unicode/1f353.png \":strawberry:\"). For a full list of available emoji and codes, see \"[Emoji cheat sheet](https://github.com/ikatyang/emoji-cheat-sheet).\"", "childParamsGroups": [] }, { @@ -55388,7 +55648,7 @@ { "verb": "delete", "requestPath": "/repos/{owner}/{repo}/labels/{name}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -55421,8 +55681,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/labels/NAME", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/labels/NAME
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/labels/NAME", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/labels/NAME
    " }, { "lang": "JavaScript", @@ -55457,7 +55717,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "bodyParameters": [], @@ -55466,7 +55726,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/languages", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -55490,8 +55750,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/languages", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/languages
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/languages", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/languages
    " }, { "lang": "JavaScript", @@ -55534,7 +55794,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/license", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -55558,8 +55818,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/license", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/license
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/license", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/license
    " }, { "lang": "JavaScript", @@ -55602,7 +55862,7 @@ { "verb": "post", "requestPath": "/repos/{owner}/{repo}/merges", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -55626,8 +55886,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/merges \\\n -d '{\"base\":\"base\",\"head\":\"head\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/merges \\\n  -d '{\"base\":\"base\",\"head\":\"head\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/merges \\\n -d '{\"base\":\"base\",\"head\":\"head\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/merges \\\n  -d '{\"base\":\"base\",\"head\":\"head\"}'
    " }, { "lang": "JavaScript", @@ -55750,20 +56010,12 @@ { "httpStatusCode": "404", "httpStatusMessage": "Not Found", - "description": "Missing base response", - "payload": "
    {\n  \"message\": \"Base does not exist\"\n}\n
    " - }, - { - "httpStatusCode": "404", - "httpStatusMessage": "Not Found", - "description": "Missing head response", - "payload": "
    {\n  \"message\": \"Head does not exist\"\n}\n
    " + "description": "Response when the base or head does not exist" }, { "httpStatusCode": "409", "httpStatusMessage": "Conflict", - "description": "Merge conflict response", - "payload": "
    {\n  \"message\": \"Merge Conflict\"\n}\n
    " + "description": "Response when there is a merge conflict" }, { "httpStatusCode": "422", @@ -55775,7 +56027,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/milestones", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -55865,8 +56117,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/milestones", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/milestones
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/milestones", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/milestones
    " }, { "lang": "JavaScript", @@ -55916,7 +56168,7 @@ { "verb": "post", "requestPath": "/repos/{owner}/{repo}/milestones", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -55940,8 +56192,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/milestones \\\n -d '{\"title\":\"title\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/milestones \\\n  -d '{\"title\":\"title\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/milestones \\\n -d '{\"title\":\"title\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/milestones \\\n  -d '{\"title\":\"title\"}'
    " }, { "lang": "JavaScript", @@ -56099,7 +56351,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/milestones/{milestone_number}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -56133,8 +56385,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/milestones/42", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/milestones/42
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/milestones/42", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/milestones/42
    " }, { "lang": "JavaScript", @@ -56184,7 +56436,7 @@ { "verb": "patch", "requestPath": "/repos/{owner}/{repo}/milestones/{milestone_number}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -56218,8 +56470,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/milestones/42 \\\n -d '{\"title\":\"title\"}'", - "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/milestones/42 \\\n  -d '{\"title\":\"title\"}'
    " + "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/milestones/42 \\\n -d '{\"title\":\"title\"}'", + "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/milestones/42 \\\n  -d '{\"title\":\"title\"}'
    " }, { "lang": "JavaScript", @@ -56364,7 +56616,7 @@ { "verb": "delete", "requestPath": "/repos/{owner}/{repo}/milestones/{milestone_number}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -56398,8 +56650,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/milestones/42", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/milestones/42
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/milestones/42", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/milestones/42
    " }, { "lang": "JavaScript", @@ -56434,7 +56686,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "404", @@ -56448,7 +56700,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/milestones/{milestone_number}/labels", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -56502,8 +56754,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/milestones/42/labels", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/milestones/42/labels
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/milestones/42/labels", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/milestones/42/labels
    " }, { "lang": "JavaScript", @@ -56548,7 +56800,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/notifications", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -56634,8 +56886,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/notifications", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/notifications
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/notifications", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/notifications
    " }, { "lang": "JavaScript", @@ -56680,7 +56932,7 @@ { "verb": "put", "requestPath": "/repos/{owner}/{repo}/notifications", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -56704,8 +56956,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/notifications \\\n -d '{\"last_read_at\":\"last_read_at\"}'", - "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/notifications \\\n  -d '{\"last_read_at\":\"last_read_at\"}'
    " + "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/notifications \\\n -d '{\"last_read_at\":\"last_read_at\"}'", + "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/notifications \\\n  -d '{\"last_read_at\":\"last_read_at\"}'
    " }, { "lang": "JavaScript", @@ -56779,7 +57031,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/pages", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -56803,8 +57055,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/pages", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/pages
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/pages", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/pages
    " }, { "lang": "JavaScript", @@ -56854,7 +57106,7 @@ { "verb": "post", "requestPath": "/repos/{owner}/{repo}/pages", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -56878,8 +57130,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.switcheroo-preview+json\" \\\n https://api.github.com/repos/octocat/hello-world/pages \\\n -d '{\"source\":{\"branch\":\"branch\",\"path\":\"path\"}}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.switcheroo-preview+json\" \\\n  https://api.github.com/repos/octocat/hello-world/pages \\\n  -d '{\"source\":{\"branch\":\"branch\",\"path\":\"path\"}}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.switcheroo-preview+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/pages \\\n -d '{\"source\":{\"branch\":\"branch\",\"path\":\"path\"}}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.switcheroo-preview+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/pages \\\n  -d '{\"source\":{\"branch\":\"branch\",\"path\":\"path\"}}'
    " }, { "lang": "JavaScript", @@ -57104,7 +57356,7 @@ { "verb": "put", "requestPath": "/repos/{owner}/{repo}/pages", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -57128,8 +57380,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/pages \\\n -d '{\"source\":\"source\"}'", - "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/pages \\\n  -d '{\"source\":\"source\"}'
    " + "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/pages \\\n -d '{\"source\":\"source\"}'", + "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/pages \\\n  -d '{\"source\":\"source\"}'
    " }, { "lang": "JavaScript", @@ -57243,7 +57495,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "400", @@ -57321,7 +57573,7 @@ { "verb": "delete", "requestPath": "/repos/{owner}/{repo}/pages", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -57345,8 +57597,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.switcheroo-preview+json\" \\\n https://api.github.com/repos/octocat/hello-world/pages", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.switcheroo-preview+json\" \\\n  https://api.github.com/repos/octocat/hello-world/pages
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.switcheroo-preview+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/pages", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.switcheroo-preview+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/pages
    " }, { "lang": "JavaScript", @@ -57388,7 +57640,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "404", @@ -57412,7 +57664,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/pages/builds", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -57456,8 +57708,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/pages/builds", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/pages/builds
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/pages/builds", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/pages/builds
    " }, { "lang": "JavaScript", @@ -57502,7 +57754,7 @@ { "verb": "post", "requestPath": "/repos/{owner}/{repo}/pages/builds", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -57526,8 +57778,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/pages/builds", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/pages/builds
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/pages/builds", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/pages/builds
    " }, { "lang": "JavaScript", @@ -57572,7 +57824,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/pages/builds/latest", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -57596,8 +57848,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/pages/builds/latest", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/pages/builds/latest
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/pages/builds/latest", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/pages/builds/latest
    " }, { "lang": "JavaScript", @@ -57642,7 +57894,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/pages/builds/{build_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -57675,8 +57927,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/pages/builds/42", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/pages/builds/42
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/pages/builds/42", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/pages/builds/42
    " }, { "lang": "JavaScript", @@ -57721,7 +57973,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/pre-receive-hooks", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -57760,13 +58012,43 @@ "default": 1 }, "descriptionHTML": "

    Page number of the results to fetch.

    " + }, + { + "name": "direction", + "description": "One of `asc` (ascending) or `desc` (descending).", + "in": "query", + "required": false, + "schema": { + "type": "string", + "enum": [ + "asc", + "desc" + ], + "default": "desc" + }, + "descriptionHTML": "

    One of asc (ascending) or desc (descending).

    " + }, + { + "name": "sort", + "in": "query", + "required": false, + "schema": { + "type": "string", + "enum": [ + "created", + "updated", + "name" + ], + "default": "created" + }, + "descriptionHTML": "" } ], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n https://api.github.com/repos/octocat/hello-world/pre-receive-hooks", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n  https://api.github.com/repos/octocat/hello-world/pre-receive-hooks
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/pre-receive-hooks", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/pre-receive-hooks
    " }, { "lang": "JavaScript", @@ -57818,7 +58100,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/pre-receive-hooks/{pre_receive_hook_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -57851,8 +58133,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n https://api.github.com/repos/octocat/hello-world/pre-receive-hooks/42", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n  https://api.github.com/repos/octocat/hello-world/pre-receive-hooks/42
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/pre-receive-hooks/42", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/pre-receive-hooks/42
    " }, { "lang": "JavaScript", @@ -57904,7 +58186,7 @@ { "verb": "patch", "requestPath": "/repos/{owner}/{repo}/pre-receive-hooks/{pre_receive_hook_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -57937,8 +58219,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n https://api.github.com/repos/octocat/hello-world/pre-receive-hooks/42 \\\n -d '{\"enforcement\":\"enforcement\"}'", - "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n  https://api.github.com/repos/octocat/hello-world/pre-receive-hooks/42 \\\n  -d '{\"enforcement\":\"enforcement\"}'
    " + "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/pre-receive-hooks/42 \\\n -d '{\"enforcement\":\"enforcement\"}'", + "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/pre-receive-hooks/42 \\\n  -d '{\"enforcement\":\"enforcement\"}'
    " }, { "lang": "JavaScript", @@ -58023,7 +58305,7 @@ { "verb": "delete", "requestPath": "/repos/{owner}/{repo}/pre-receive-hooks/{pre_receive_hook_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -58056,8 +58338,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n https://api.github.com/repos/octocat/hello-world/pre-receive-hooks/42", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n  https://api.github.com/repos/octocat/hello-world/pre-receive-hooks/42
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/pre-receive-hooks/42", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/pre-receive-hooks/42
    " }, { "lang": "JavaScript", @@ -58109,7 +58391,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/projects", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -58169,8 +58451,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n https://api.github.com/repos/octocat/hello-world/projects", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  https://api.github.com/repos/octocat/hello-world/projects
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/projects", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/projects
    " }, { "lang": "JavaScript", @@ -58245,7 +58527,7 @@ { "verb": "post", "requestPath": "/repos/{owner}/{repo}/projects", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -58269,8 +58551,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n https://api.github.com/repos/octocat/hello-world/projects \\\n -d '{\"name\":\"name\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  https://api.github.com/repos/octocat/hello-world/projects \\\n  -d '{\"name\":\"name\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/projects \\\n -d '{\"name\":\"name\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/projects \\\n  -d '{\"name\":\"name\"}'
    " }, { "lang": "JavaScript", @@ -58400,7 +58682,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/pulls", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -58511,8 +58793,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/pulls", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/pulls
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/pulls", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/pulls
    " }, { "lang": "JavaScript", @@ -58565,7 +58847,7 @@ { "verb": "post", "requestPath": "/repos/{owner}/{repo}/pulls", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -58589,8 +58871,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/pulls \\\n -d '{\"head\":\"head\",\"base\":\"base\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/pulls \\\n  -d '{\"head\":\"head\",\"base\":\"base\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/pulls \\\n -d '{\"head\":\"head\",\"base\":\"base\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/pulls \\\n  -d '{\"head\":\"head\",\"base\":\"base\"}'
    " }, { "lang": "JavaScript", @@ -58792,7 +59074,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/pulls/comments", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -58814,18 +59096,17 @@ }, { "name": "sort", - "description": "One of `created` (when the repository was starred) or `updated` (when it was last pushed to).", "in": "query", "required": false, "schema": { "type": "string", "enum": [ "created", - "updated" - ], - "default": "created" + "updated", + "created_at" + ] }, - "descriptionHTML": "

    One of created (when the repository was starred) or updated (when it was last pushed to).

    " + "descriptionHTML": "" }, { "name": "direction", @@ -58875,8 +59156,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/pulls/comments", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/pulls/comments
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/pulls/comments", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/pulls/comments
    " }, { "lang": "JavaScript", @@ -58934,7 +59215,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/pulls/comments/{comment_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -58968,8 +59249,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/pulls/comments/42", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/pulls/comments/42
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/pulls/comments/42", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/pulls/comments/42
    " }, { "lang": "JavaScript", @@ -59032,7 +59313,7 @@ { "verb": "patch", "requestPath": "/repos/{owner}/{repo}/pulls/comments/{comment_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -59066,8 +59347,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/pulls/comments/42 \\\n -d '{\"body\":\"body\"}'", - "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/pulls/comments/42 \\\n  -d '{\"body\":\"body\"}'
    " + "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/pulls/comments/42 \\\n -d '{\"body\":\"body\"}'", + "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/pulls/comments/42 \\\n  -d '{\"body\":\"body\"}'
    " }, { "lang": "JavaScript", @@ -59155,7 +59436,7 @@ { "verb": "delete", "requestPath": "/repos/{owner}/{repo}/pulls/comments/{comment_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -59189,8 +59470,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/pulls/comments/42", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/pulls/comments/42
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/pulls/comments/42", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/pulls/comments/42
    " }, { "lang": "JavaScript", @@ -59225,7 +59506,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "404", @@ -59239,7 +59520,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/pulls/comments/{comment_id}/reactions", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -59313,8 +59594,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n https://api.github.com/repos/octocat/hello-world/pulls/comments/42/reactions", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n  https://api.github.com/repos/octocat/hello-world/pulls/comments/42/reactions
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/pulls/comments/42/reactions", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/pulls/comments/42/reactions
    " }, { "lang": "JavaScript", @@ -59374,7 +59655,7 @@ { "verb": "post", "requestPath": "/repos/{owner}/{repo}/pulls/comments/{comment_id}/reactions", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -59408,8 +59689,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n https://api.github.com/repos/octocat/hello-world/pulls/comments/42/reactions \\\n -d '{\"content\":\"content\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n  https://api.github.com/repos/octocat/hello-world/pulls/comments/42/reactions \\\n  -d '{\"content\":\"content\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/pulls/comments/42/reactions \\\n -d '{\"content\":\"content\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/pulls/comments/42/reactions \\\n  -d '{\"content\":\"content\"}'
    " }, { "lang": "JavaScript", @@ -59531,7 +59812,7 @@ { "verb": "delete", "requestPath": "/repos/{owner}/{repo}/pulls/comments/{comment_id}/reactions/{reaction_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -59574,8 +59855,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n https://api.github.com/repos/octocat/hello-world/pulls/comments/42/reactions/42", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n  https://api.github.com/repos/octocat/hello-world/pulls/comments/42/reactions/42
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/pulls/comments/42/reactions/42", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/pulls/comments/42/reactions/42
    " }, { "lang": "JavaScript", @@ -59615,7 +59896,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "bodyParameters": [], @@ -59624,7 +59905,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/pulls/{pull_number}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -59657,8 +59938,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/pulls/42", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/pulls/42
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/pulls/42", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/pulls/42
    " }, { "lang": "JavaScript", @@ -59716,7 +59997,7 @@ { "verb": "patch", "requestPath": "/repos/{owner}/{repo}/pulls/{pull_number}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -59749,8 +60030,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/pulls/42 \\\n -d '{\"title\":\"title\"}'", - "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/pulls/42 \\\n  -d '{\"title\":\"title\"}'
    " + "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/pulls/42 \\\n -d '{\"title\":\"title\"}'", + "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/pulls/42 \\\n  -d '{\"title\":\"title\"}'
    " }, { "lang": "JavaScript", @@ -59919,7 +60200,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/pulls/{pull_number}/comments", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -60011,8 +60292,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/pulls/42/comments", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/pulls/42/comments
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/pulls/42/comments", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/pulls/42/comments
    " }, { "lang": "JavaScript", @@ -60070,7 +60351,7 @@ { "verb": "post", "requestPath": "/repos/{owner}/{repo}/pulls/{pull_number}/comments", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -60103,8 +60384,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/pulls/42/comments \\\n -d '{\"body\":\"body\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/pulls/42/comments \\\n  -d '{\"body\":\"body\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/pulls/42/comments \\\n -d '{\"body\":\"body\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/pulls/42/comments \\\n  -d '{\"body\":\"body\"}'
    " }, { "lang": "JavaScript", @@ -60386,7 +60667,7 @@ { "verb": "post", "requestPath": "/repos/{owner}/{repo}/pulls/{pull_number}/comments/{comment_id}/replies", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -60429,8 +60710,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/pulls/42/comments/42/replies \\\n -d '{\"body\":\"body\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/pulls/42/comments/42/replies \\\n  -d '{\"body\":\"body\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/pulls/42/comments/42/replies \\\n -d '{\"body\":\"body\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/pulls/42/comments/42/replies \\\n  -d '{\"body\":\"body\"}'
    " }, { "lang": "JavaScript", @@ -60517,7 +60798,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/pulls/{pull_number}/commits", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -60570,8 +60851,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/pulls/42/commits", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/pulls/42/commits
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/pulls/42/commits", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/pulls/42/commits
    " }, { "lang": "JavaScript", @@ -60614,7 +60895,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/pulls/{pull_number}/files", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -60667,8 +60948,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/pulls/42/files", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/pulls/42/files
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/pulls/42/files", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/pulls/42/files
    " }, { "lang": "JavaScript", @@ -60721,7 +61002,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/pulls/{pull_number}/merge", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -60754,8 +61035,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/pulls/42/merge", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/pulls/42/merge
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/pulls/42/merge", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/pulls/42/merge
    " }, { "lang": "JavaScript", @@ -60802,7 +61083,7 @@ { "verb": "put", "requestPath": "/repos/{owner}/{repo}/pulls/{pull_number}/merge", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -60835,8 +61116,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/pulls/42/merge \\\n -d '{\"commit_title\":\"commit_title\"}'", - "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/pulls/42/merge \\\n  -d '{\"commit_title\":\"commit_title\"}'
    " + "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/pulls/42/merge \\\n -d '{\"commit_title\":\"commit_title\"}'", + "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/pulls/42/merge \\\n  -d '{\"commit_title\":\"commit_title\"}'
    " }, { "lang": "JavaScript", @@ -61002,7 +61283,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/pulls/{pull_number}/requested_reviewers", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -61055,8 +61336,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/pulls/42/requested_reviewers", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/pulls/42/requested_reviewers
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/pulls/42/requested_reviewers", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/pulls/42/requested_reviewers
    " }, { "lang": "JavaScript", @@ -61101,7 +61382,7 @@ { "verb": "post", "requestPath": "/repos/{owner}/{repo}/pulls/{pull_number}/requested_reviewers", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -61134,8 +61415,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/pulls/42/requested_reviewers \\\n -d '{\"reviewers\":[\"reviewers\"]}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/pulls/42/requested_reviewers \\\n  -d '{\"reviewers\":[\"reviewers\"]}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/pulls/42/requested_reviewers \\\n -d '{\"reviewers\":[\"reviewers\"]}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/pulls/42/requested_reviewers \\\n  -d '{\"reviewers\":[\"reviewers\"]}'
    " }, { "lang": "JavaScript", @@ -61273,7 +61554,7 @@ { "verb": "delete", "requestPath": "/repos/{owner}/{repo}/pulls/{pull_number}/requested_reviewers", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -61306,8 +61587,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/pulls/42/requested_reviewers \\\n -d '{\"reviewers\":[\"reviewers\"]}'", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/pulls/42/requested_reviewers \\\n  -d '{\"reviewers\":[\"reviewers\"]}'
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/pulls/42/requested_reviewers \\\n -d '{\"reviewers\":[\"reviewers\"]}'", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/pulls/42/requested_reviewers \\\n  -d '{\"reviewers\":[\"reviewers\"]}'
    " }, { "lang": "JavaScript", @@ -61429,7 +61710,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/pulls/{pull_number}/reviews", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -61482,8 +61763,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/pulls/42/reviews", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/pulls/42/reviews
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/pulls/42/reviews", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/pulls/42/reviews
    " }, { "lang": "JavaScript", @@ -61528,7 +61809,7 @@ { "verb": "post", "requestPath": "/repos/{owner}/{repo}/pulls/{pull_number}/reviews", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -61561,8 +61842,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/pulls/42/reviews \\\n -d '{\"commit_id\":\"commit_id\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/pulls/42/reviews \\\n  -d '{\"commit_id\":\"commit_id\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/pulls/42/reviews \\\n -d '{\"commit_id\":\"commit_id\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/pulls/42/reviews \\\n  -d '{\"commit_id\":\"commit_id\"}'
    " }, { "lang": "JavaScript", @@ -62010,7 +62291,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -62053,8 +62334,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/pulls/42/reviews/42", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/pulls/42/reviews/42
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/pulls/42/reviews/42", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/pulls/42/reviews/42
    " }, { "lang": "JavaScript", @@ -62104,7 +62385,7 @@ { "verb": "put", "requestPath": "/repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -62147,8 +62428,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/pulls/42/reviews/42 \\\n -d '{\"body\":\"body\"}'", - "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/pulls/42/reviews/42 \\\n  -d '{\"body\":\"body\"}'
    " + "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/pulls/42/reviews/42 \\\n -d '{\"body\":\"body\"}'", + "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/pulls/42/reviews/42 \\\n  -d '{\"body\":\"body\"}'
    " }, { "lang": "JavaScript", @@ -62234,7 +62515,7 @@ { "verb": "delete", "requestPath": "/repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -62277,8 +62558,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/pulls/42/reviews/42", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/pulls/42/reviews/42
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/pulls/42/reviews/42", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/pulls/42/reviews/42
    " }, { "lang": "JavaScript", @@ -62333,7 +62614,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}/comments", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -62396,8 +62677,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/pulls/42/reviews/42/comments", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/pulls/42/reviews/42/comments
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/pulls/42/reviews/42/comments", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/pulls/42/reviews/42/comments
    " }, { "lang": "JavaScript", @@ -62447,7 +62728,7 @@ { "verb": "put", "requestPath": "/repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}/dismissals", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -62490,8 +62771,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/pulls/42/reviews/42/dismissals \\\n -d '{\"message\":\"message\"}'", - "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/pulls/42/reviews/42/dismissals \\\n  -d '{\"message\":\"message\"}'
    " + "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/pulls/42/reviews/42/dismissals \\\n -d '{\"message\":\"message\"}'", + "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/pulls/42/reviews/42/dismissals \\\n  -d '{\"message\":\"message\"}'
    " }, { "lang": "JavaScript", @@ -62597,7 +62878,7 @@ { "verb": "post", "requestPath": "/repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}/events", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -62640,8 +62921,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/pulls/42/reviews/42/events \\\n -d '{\"event\":\"event\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/pulls/42/reviews/42/events \\\n  -d '{\"event\":\"event\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/pulls/42/reviews/42/events \\\n -d '{\"event\":\"event\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/pulls/42/reviews/42/events \\\n  -d '{\"event\":\"event\"}'
    " }, { "lang": "JavaScript", @@ -62762,7 +63043,7 @@ { "verb": "put", "requestPath": "/repos/{owner}/{repo}/pulls/{pull_number}/update-branch", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -62795,8 +63076,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.lydian-preview+json\" \\\n https://api.github.com/repos/octocat/hello-world/pulls/42/update-branch \\\n -d '{\"expected_head_sha\":\"expected_head_sha\"}'", - "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.lydian-preview+json\" \\\n  https://api.github.com/repos/octocat/hello-world/pulls/42/update-branch \\\n  -d '{\"expected_head_sha\":\"expected_head_sha\"}'
    " + "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.lydian-preview+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/pulls/42/update-branch \\\n -d '{\"expected_head_sha\":\"expected_head_sha\"}'", + "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.lydian-preview+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/pulls/42/update-branch \\\n  -d '{\"expected_head_sha\":\"expected_head_sha\"}'
    " }, { "lang": "JavaScript", @@ -62895,7 +63176,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/readme", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -62929,8 +63210,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/readme", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/readme
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/readme", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/readme
    " }, { "lang": "JavaScript", @@ -62982,10 +63263,111 @@ } ] }, + { + "verb": "get", + "requestPath": "/repos/{owner}/{repo}/readme/{dir}", + "serverUrl": "http(s)://{hostname}/api/v3", + "parameters": [ + { + "name": "owner", + "in": "path", + "required": true, + "schema": { + "type": "string" + }, + "descriptionHTML": "" + }, + { + "name": "repo", + "in": "path", + "required": true, + "schema": { + "type": "string" + }, + "descriptionHTML": "" + }, + { + "name": "dir", + "description": "The alternate path to look for a README file", + "in": "path", + "required": true, + "schema": { + "type": "string" + }, + "x-multi-segment": true, + "descriptionHTML": "

    The alternate path to look for a README file

    " + }, + { + "name": "ref", + "description": "The name of the commit/branch/tag. Default: the repository’s default branch (usually `master`)", + "in": "query", + "required": false, + "schema": { + "type": "string" + }, + "descriptionHTML": "

    The name of the commit/branch/tag. Default: the repository’s default branch (usually master)

    " + } + ], + "x-codeSamples": [ + { + "lang": "Shell", + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/readme/DIR", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/readme/DIR
    " + }, + { + "lang": "JavaScript", + "source": "await octokit.request('GET /repos/{owner}/{repo}/readme/{dir}', {\n owner: 'octocat',\n repo: 'hello-world',\n dir: 'dir'\n})", + "html": "
    await octokit.request('GET /repos/{owner}/{repo}/readme/{dir}', {\n  owner: 'octocat',\n  repo: 'hello-world',\n  dir: 'dir'\n})\n
    " + } + ], + "summary": "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.", + "tags": [ + "repos" + ], + "operationId": "repos/get-readme-in-directory", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-server@2.22/rest/reference/repos#get-a-repository-directory-readme" + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "previews": [], + "category": "repos", + "subcategory": "contents" + }, + "slug": "get-a-repository-readme-for-a-directory", + "category": "repos", + "categoryLabel": "Repos", + "subcategory": "contents", + "subcategoryLabel": "Contents", + "notes": [], + "bodyParameters": [], + "descriptionHTML": "

    Gets the README from a repository directory.

    \n

    READMEs support custom media types for retrieving the raw content or rendered HTML.

    ", + "responses": [ + { + "httpStatusCode": "200", + "httpStatusMessage": "OK", + "description": "Default response", + "payload": "
    {\n  \"type\": \"file\",\n  \"encoding\": \"base64\",\n  \"size\": 5362,\n  \"name\": \"README.md\",\n  \"path\": \"README.md\",\n  \"content\": \"encoded content ...\",\n  \"sha\": \"3d21ec53a331a6f037a91c368710b99387d012c1\",\n  \"url\": \"https://api.github.com/repos/octokit/octokit.rb/contents/README.md\",\n  \"git_url\": \"https://api.github.com/repos/octokit/octokit.rb/git/blobs/3d21ec53a331a6f037a91c368710b99387d012c1\",\n  \"html_url\": \"https://github.com/octokit/octokit.rb/blob/master/README.md\",\n  \"download_url\": \"https://raw.githubusercontent.com/octokit/octokit.rb/master/README.md\",\n  \"_links\": {\n    \"git\": \"https://api.github.com/repos/octokit/octokit.rb/git/blobs/3d21ec53a331a6f037a91c368710b99387d012c1\",\n    \"self\": \"https://api.github.com/repos/octokit/octokit.rb/contents/README.md\",\n    \"html\": \"https://github.com/octokit/octokit.rb/blob/master/README.md\"\n  }\n}\n
    " + }, + { + "httpStatusCode": "404", + "httpStatusMessage": "Not Found", + "description": "Resource not found" + }, + { + "httpStatusCode": "422", + "httpStatusMessage": "Unprocessable Entity", + "description": "Validation failed" + } + ] + }, { "verb": "get", "requestPath": "/repos/{owner}/{repo}/releases", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -63029,8 +63411,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/releases", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/releases
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/releases", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/releases
    " }, { "lang": "JavaScript", @@ -63080,7 +63462,7 @@ { "verb": "post", "requestPath": "/repos/{owner}/{repo}/releases", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -63104,8 +63486,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/releases \\\n -d '{\"tag_name\":\"tag_name\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/releases \\\n  -d '{\"tag_name\":\"tag_name\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/releases \\\n -d '{\"tag_name\":\"tag_name\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/releases \\\n  -d '{\"tag_name\":\"tag_name\"}'
    " }, { "lang": "JavaScript", @@ -63291,7 +63673,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/releases/assets/{asset_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -63325,8 +63707,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/releases/assets/42", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/releases/assets/42
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/releases/assets/42", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/releases/assets/42
    " }, { "lang": "JavaScript", @@ -63386,7 +63768,7 @@ { "verb": "patch", "requestPath": "/repos/{owner}/{repo}/releases/assets/{asset_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -63420,8 +63802,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/releases/assets/42 \\\n -d '{\"name\":\"name\"}'", - "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/releases/assets/42 \\\n  -d '{\"name\":\"name\"}'
    " + "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/releases/assets/42 \\\n -d '{\"name\":\"name\"}'", + "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/releases/assets/42 \\\n  -d '{\"name\":\"name\"}'
    " }, { "lang": "JavaScript", @@ -63536,7 +63918,7 @@ { "verb": "delete", "requestPath": "/repos/{owner}/{repo}/releases/assets/{asset_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -63570,8 +63952,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/releases/assets/42", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/releases/assets/42
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/releases/assets/42", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/releases/assets/42
    " }, { "lang": "JavaScript", @@ -63606,7 +63988,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "bodyParameters": [], @@ -63615,7 +63997,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/releases/latest", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -63639,8 +64021,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/releases/latest", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/releases/latest
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/releases/latest", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/releases/latest
    " }, { "lang": "JavaScript", @@ -63685,7 +64067,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/releases/tags/{tag}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -63707,21 +64089,21 @@ }, { "name": "tag", - "description": "tag+ parameter", + "description": "tag parameter", "in": "path", "required": true, "schema": { "type": "string" }, "x-multi-segment": true, - "descriptionHTML": "

    tag+ parameter

    " + "descriptionHTML": "

    tag parameter

    " } ], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/releases/tags/TAG", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/releases/tags/TAG
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/releases/tags/TAG", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/releases/tags/TAG
    " }, { "lang": "JavaScript", @@ -63771,7 +64153,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/releases/{release_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -63805,8 +64187,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/releases/42", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/releases/42
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/releases/42", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/releases/42
    " }, { "lang": "JavaScript", @@ -63856,7 +64238,7 @@ { "verb": "patch", "requestPath": "/repos/{owner}/{repo}/releases/{release_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -63890,8 +64272,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/releases/42 \\\n -d '{\"tag_name\":\"tag_name\"}'", - "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/releases/42 \\\n  -d '{\"tag_name\":\"tag_name\"}'
    " + "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/releases/42 \\\n -d '{\"tag_name\":\"tag_name\"}'", + "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/releases/42 \\\n  -d '{\"tag_name\":\"tag_name\"}'
    " }, { "lang": "JavaScript", @@ -64064,7 +64446,7 @@ { "verb": "delete", "requestPath": "/repos/{owner}/{repo}/releases/{release_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -64098,8 +64480,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/releases/42", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/releases/42
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/releases/42", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/releases/42
    " }, { "lang": "JavaScript", @@ -64134,7 +64516,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "bodyParameters": [], @@ -64143,7 +64525,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/releases/{release_id}/assets", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -64197,8 +64579,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/releases/42/assets", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/releases/42/assets
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/releases/42/assets", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/releases/42/assets
    " }, { "lang": "JavaScript", @@ -64243,7 +64625,7 @@ { "verb": "post", "requestPath": "/repos/{owner}/{repo}/releases/{release_id}/assets", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -64293,8 +64675,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/releases/42/assets", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/releases/42/assets
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/releases/42/assets", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/releases/42/assets
    " }, { "lang": "JavaScript", @@ -64360,7 +64742,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/stargazers", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -64404,8 +64786,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/stargazers", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/stargazers
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/stargazers", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/stargazers
    " }, { "lang": "JavaScript", @@ -64455,7 +64837,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/stats/code_frequency", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -64479,8 +64861,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/stats/code_frequency", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/stats/code_frequency
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/stats/code_frequency", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/stats/code_frequency
    " }, { "lang": "JavaScript", @@ -64525,7 +64907,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/stats/commit_activity", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -64549,8 +64931,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/stats/commit_activity", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/stats/commit_activity
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/stats/commit_activity", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/stats/commit_activity
    " }, { "lang": "JavaScript", @@ -64595,7 +64977,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/stats/contributors", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -64619,8 +65001,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/stats/contributors", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/stats/contributors
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/stats/contributors", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/stats/contributors
    " }, { "lang": "JavaScript", @@ -64665,7 +65047,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/stats/participation", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -64689,8 +65071,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/stats/participation", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/stats/participation
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/stats/participation", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/stats/participation
    " }, { "lang": "JavaScript", @@ -64740,7 +65122,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/stats/punch_card", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -64764,8 +65146,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/stats/punch_card", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/stats/punch_card
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/stats/punch_card", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/stats/punch_card
    " }, { "lang": "JavaScript", @@ -64810,7 +65192,7 @@ { "verb": "post", "requestPath": "/repos/{owner}/{repo}/statuses/{sha}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -64844,8 +65226,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/statuses/SHA \\\n -d '{\"state\":\"state\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/statuses/SHA \\\n  -d '{\"state\":\"state\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/statuses/SHA \\\n -d '{\"state\":\"state\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/statuses/SHA \\\n  -d '{\"state\":\"state\"}'
    " }, { "lang": "JavaScript", @@ -64997,7 +65379,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/subscribers", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -65041,8 +65423,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/subscribers", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/subscribers
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/subscribers", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/subscribers
    " }, { "lang": "JavaScript", @@ -65087,7 +65469,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/subscription", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -65111,8 +65493,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/subscription", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/subscription
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/subscription", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/subscription
    " }, { "lang": "JavaScript", @@ -65167,7 +65549,7 @@ { "verb": "put", "requestPath": "/repos/{owner}/{repo}/subscription", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -65191,8 +65573,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/subscription \\\n -d '{\"subscribed\":true}'", - "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/subscription \\\n  -d '{\"subscribed\":true}'
    " + "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/subscription \\\n -d '{\"subscribed\":true}'", + "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/subscription \\\n  -d '{\"subscribed\":true}'
    " }, { "lang": "JavaScript", @@ -65285,7 +65667,7 @@ { "verb": "delete", "requestPath": "/repos/{owner}/{repo}/subscription", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -65309,8 +65691,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/subscription", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/subscription
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/subscription", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/subscription
    " }, { "lang": "JavaScript", @@ -65345,7 +65727,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "bodyParameters": [], @@ -65354,7 +65736,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/tags", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -65398,8 +65780,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/tags", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/tags
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/tags", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/tags
    " }, { "lang": "JavaScript", @@ -65442,7 +65824,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/tarball/{ref}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -65475,8 +65857,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/tarball/REF", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/tarball/REF
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/tarball/REF", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/tarball/REF
    " }, { "lang": "JavaScript", @@ -65520,7 +65902,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/teams", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -65564,8 +65946,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/teams", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/teams
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/teams", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/teams
    " }, { "lang": "JavaScript", @@ -65608,7 +65990,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/topics", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -65627,13 +66009,33 @@ "type": "string" }, "descriptionHTML": "" + }, + { + "name": "page", + "description": "Page number of the results to fetch.", + "in": "query", + "schema": { + "type": "integer", + "default": 1 + }, + "descriptionHTML": "

    Page number of the results to fetch.

    " + }, + { + "name": "per_page", + "description": "Results per page (max 100).", + "in": "query", + "schema": { + "type": "integer", + "default": 30 + }, + "descriptionHTML": "

    Results per page (max 100).

    " } ], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.mercy-preview+json\" \\\n https://api.github.com/repos/octocat/hello-world/topics", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.mercy-preview+json\" \\\n  https://api.github.com/repos/octocat/hello-world/topics
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.mercy-preview+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/topics", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.mercy-preview+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/topics
    " }, { "lang": "JavaScript", @@ -65693,7 +66095,7 @@ { "verb": "put", "requestPath": "/repos/{owner}/{repo}/topics", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -65717,8 +66119,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.mercy-preview+json\" \\\n https://api.github.com/repos/octocat/hello-world/topics \\\n -d '{\"names\":[\"names\"]}'", - "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.mercy-preview+json\" \\\n  https://api.github.com/repos/octocat/hello-world/topics \\\n  -d '{\"names\":[\"names\"]}'
    " + "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.mercy-preview+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/topics \\\n -d '{\"names\":[\"names\"]}'", + "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.mercy-preview+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/topics \\\n  -d '{\"names\":[\"names\"]}'
    " }, { "lang": "JavaScript", @@ -65830,7 +66232,7 @@ { "verb": "post", "requestPath": "/repos/{owner}/{repo}/transfer", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -65854,8 +66256,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/transfer \\\n -d '{\"new_owner\":\"new_owner\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/transfer \\\n  -d '{\"new_owner\":\"new_owner\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/transfer \\\n -d '{\"new_owner\":\"new_owner\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/transfer \\\n  -d '{\"new_owner\":\"new_owner\"}'
    " }, { "lang": "JavaScript", @@ -65962,7 +66364,7 @@ { "verb": "put", "requestPath": "/repos/{owner}/{repo}/vulnerability-alerts", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -65986,8 +66388,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.dorian-preview+json\" \\\n https://api.github.com/repos/octocat/hello-world/vulnerability-alerts", - "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.dorian-preview+json\" \\\n  https://api.github.com/repos/octocat/hello-world/vulnerability-alerts
    " + "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.dorian-preview+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/vulnerability-alerts", + "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.dorian-preview+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/vulnerability-alerts
    " }, { "lang": "JavaScript", @@ -66027,7 +66429,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "bodyParameters": [], @@ -66036,7 +66438,7 @@ { "verb": "delete", "requestPath": "/repos/{owner}/{repo}/vulnerability-alerts", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -66060,8 +66462,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.dorian-preview+json\" \\\n https://api.github.com/repos/octocat/hello-world/vulnerability-alerts", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.dorian-preview+json\" \\\n  https://api.github.com/repos/octocat/hello-world/vulnerability-alerts
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.dorian-preview+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/vulnerability-alerts", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.dorian-preview+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/vulnerability-alerts
    " }, { "lang": "JavaScript", @@ -66101,7 +66503,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "bodyParameters": [], @@ -66110,7 +66512,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/zipball/{ref}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -66143,8 +66545,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/zipball/REF", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/zipball/REF
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/zipball/REF", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/zipball/REF
    " }, { "lang": "JavaScript", @@ -66188,7 +66590,7 @@ { "verb": "post", "requestPath": "/repos/{template_owner}/{template_repo}/generate", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "template_owner", @@ -66212,8 +66614,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.baptiste-preview+json\" \\\n https://api.github.com/repos/TEMPLATE_OWNER/TEMPLATE_REPO/generate \\\n -d '{\"name\":\"name\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.baptiste-preview+json\" \\\n  https://api.github.com/repos/TEMPLATE_OWNER/TEMPLATE_REPO/generate \\\n  -d '{\"name\":\"name\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.baptiste-preview+json\" \\\n http(s)://{hostname}/api/v3/repos/TEMPLATE_OWNER/TEMPLATE_REPO/generate \\\n -d '{\"name\":\"name\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.baptiste-preview+json\" \\\n  http(s)://{hostname}/api/v3/repos/TEMPLATE_OWNER/TEMPLATE_REPO/generate \\\n  -d '{\"name\":\"name\"}'
    " }, { "lang": "JavaScript", @@ -66222,7 +66624,7 @@ } ], "summary": "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", + "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", "tags": [ "repos" ], @@ -66317,7 +66719,7 @@ "category": "repos", "categoryLabel": "Repos", "notes": [], - "descriptionHTML": "

    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 endpoint and check that the is_template key is true.

    \n

    OAuth scope requirements

    \n

    When using OAuth, 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
    ", + "descriptionHTML": "

    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 endpoint and check that the is_template key is true.

    \n

    OAuth scope requirements

    \n

    When using OAuth, 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
    ", "bodyParameters": [ { "type": "string", @@ -66379,7 +66781,7 @@ { "verb": "get", "requestPath": "/repositories", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "since", @@ -66393,7 +66795,7 @@ }, { "name": "visibility", - "description": "Specifies the types of repositories to return. Can be one of `all` or `public`. Default: `public`.", + "description": "Specifies the types of repositories to return. Can be one of `all` or `public`. Default: `public`. Note: For GitHub Enterprise Server and GitHub AE, this endpoint will only list repositories available to all users on the enterprise.", "in": "query", "required": false, "schema": { @@ -66405,14 +66807,14 @@ "public" ] }, - "descriptionHTML": "

    Specifies the types of repositories to return. Can be one of all or public. Default: public.

    " + "descriptionHTML": "

    Specifies the types of repositories to return. Can be one of all or public. Default: public. Note: For GitHub Enterprise Server and GitHub AE, this endpoint will only list repositories available to all users on the enterprise.

    " } ], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repositories", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repositories
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repositories", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repositories
    " }, { "lang": "JavaScript", @@ -66421,7 +66823,7 @@ } ], "summary": "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.", + "description": "Lists all public repositories in the order that they were created.\n\nNotes:\n- For GitHub Enterprise Server and GitHub AE, 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.", "tags": [ "repos" ], @@ -66442,7 +66844,7 @@ "categoryLabel": "Repos", "notes": [], "bodyParameters": [], - "descriptionHTML": "

    Lists all public repositories in the order that they were created.

    \n

    Note: Pagination is powered exclusively by the since parameter. Use the Link header to get the URL for the next page of repositories.

    ", + "descriptionHTML": "

    Lists all public repositories in the order that they were created.

    \n

    Notes:

    \n
      \n
    • For GitHub Enterprise Server and GitHub AE, 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 to get the URL for the next page of repositories.
    • \n
    ", "responses": [ { "httpStatusCode": "200", @@ -66465,7 +66867,7 @@ { "verb": "get", "requestPath": "/search/code", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "q", @@ -66529,8 +66931,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/search/code", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/search/code
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/search/code", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/search/code
    " }, { "lang": "JavaScript", @@ -66593,7 +66995,7 @@ { "verb": "get", "requestPath": "/search/commits", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "q", @@ -66658,8 +67060,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.cloak-preview+json\" \\\n https://api.github.com/search/commits", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.cloak-preview+json\" \\\n  https://api.github.com/search/commits
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.cloak-preview+json\" \\\n http(s)://{hostname}/api/v3/search/commits", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.cloak-preview+json\" \\\n  http(s)://{hostname}/api/v3/search/commits
    " }, { "lang": "JavaScript", @@ -66719,7 +67121,7 @@ { "verb": "get", "requestPath": "/search/issues", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "q", @@ -66793,8 +67195,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/search/issues", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/search/issues
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/search/issues", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/search/issues
    " }, { "lang": "JavaScript", @@ -66857,7 +67259,7 @@ { "verb": "get", "requestPath": "/search/labels", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "repository_id", @@ -66912,8 +67314,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/search/labels", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/search/labels
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/search/labels", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/search/labels
    " }, { "lang": "JavaScript", @@ -66976,7 +67378,7 @@ { "verb": "get", "requestPath": "/search/repositories", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "q", @@ -67043,8 +67445,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/search/repositories", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/search/repositories
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/search/repositories", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/search/repositories
    " }, { "lang": "JavaScript", @@ -67109,7 +67511,7 @@ { "verb": "get", "requestPath": "/search/topics", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "q", @@ -67125,8 +67527,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.mercy-preview+json\" \\\n https://api.github.com/search/topics", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.mercy-preview+json\" \\\n  https://api.github.com/search/topics
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.mercy-preview+json\" \\\n http(s)://{hostname}/api/v3/search/topics", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.mercy-preview+json\" \\\n  http(s)://{hostname}/api/v3/search/topics
    " }, { "lang": "JavaScript", @@ -67186,7 +67588,7 @@ { "verb": "get", "requestPath": "/search/users", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "q", @@ -67252,8 +67654,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/search/users", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/search/users
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/search/users", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/search/users
    " }, { "lang": "JavaScript", @@ -67311,13 +67713,13 @@ { "verb": "get", "requestPath": "/setup/api/configcheck", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/setup/api/configcheck", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/setup/api/configcheck
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/setup/api/configcheck", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/setup/api/configcheck
    " }, { "lang": "JavaScript", @@ -67362,13 +67764,13 @@ { "verb": "post", "requestPath": "/setup/api/configure", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/setup/api/configure", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/setup/api/configure
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/setup/api/configure", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/setup/api/configure
    " }, { "lang": "JavaScript", @@ -67412,13 +67814,13 @@ { "verb": "get", "requestPath": "/setup/api/maintenance", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/setup/api/maintenance", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/setup/api/maintenance
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/setup/api/maintenance", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/setup/api/maintenance
    " }, { "lang": "JavaScript", @@ -67463,13 +67865,13 @@ { "verb": "post", "requestPath": "/setup/api/maintenance", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/setup/api/maintenance \\\n -d '{\"maintenance\":\"maintenance\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/setup/api/maintenance \\\n  -d '{\"maintenance\":\"maintenance\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/setup/api/maintenance \\\n -d '{\"maintenance\":\"maintenance\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/setup/api/maintenance \\\n  -d '{\"maintenance\":\"maintenance\"}'
    " }, { "lang": "JavaScript", @@ -67547,13 +67949,13 @@ { "verb": "get", "requestPath": "/setup/api/settings", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/setup/api/settings", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/setup/api/settings
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/setup/api/settings", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/setup/api/settings
    " }, { "lang": "JavaScript", @@ -67598,13 +68000,13 @@ { "verb": "put", "requestPath": "/setup/api/settings", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/setup/api/settings \\\n -d '{\"settings\":\"settings\"}'", - "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/setup/api/settings \\\n  -d '{\"settings\":\"settings\"}'
    " + "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/setup/api/settings \\\n -d '{\"settings\":\"settings\"}'", + "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/setup/api/settings \\\n  -d '{\"settings\":\"settings\"}'
    " }, { "lang": "JavaScript", @@ -67662,7 +68064,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "descriptionHTML": "

    For a list of the available settings, see the Get settings endpoint.

    ", @@ -67681,13 +68083,13 @@ { "verb": "get", "requestPath": "/setup/api/settings/authorized-keys", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/setup/api/settings/authorized-keys", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/setup/api/settings/authorized-keys
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/setup/api/settings/authorized-keys", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/setup/api/settings/authorized-keys
    " }, { "lang": "JavaScript", @@ -67732,13 +68134,13 @@ { "verb": "post", "requestPath": "/setup/api/settings/authorized-keys", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/setup/api/settings/authorized-keys \\\n -d '{\"authorized_key\":\"authorized_key\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/setup/api/settings/authorized-keys \\\n  -d '{\"authorized_key\":\"authorized_key\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/setup/api/settings/authorized-keys \\\n -d '{\"authorized_key\":\"authorized_key\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/setup/api/settings/authorized-keys \\\n  -d '{\"authorized_key\":\"authorized_key\"}'
    " }, { "lang": "JavaScript", @@ -67816,13 +68218,13 @@ { "verb": "delete", "requestPath": "/setup/api/settings/authorized-keys", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/setup/api/settings/authorized-keys \\\n -d '{\"authorized_key\":\"authorized_key\"}'", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/setup/api/settings/authorized-keys \\\n  -d '{\"authorized_key\":\"authorized_key\"}'
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/setup/api/settings/authorized-keys \\\n -d '{\"authorized_key\":\"authorized_key\"}'", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/setup/api/settings/authorized-keys \\\n  -d '{\"authorized_key\":\"authorized_key\"}'
    " }, { "lang": "JavaScript", @@ -67900,13 +68302,13 @@ { "verb": "post", "requestPath": "/setup/api/start", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/setup/api/start \\\n -d '{\"license\":\"license\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/setup/api/start \\\n  -d '{\"license\":\"license\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/setup/api/start \\\n -d '{\"license\":\"license\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/setup/api/start \\\n  -d '{\"license\":\"license\"}'
    " }, { "lang": "JavaScript", @@ -68019,13 +68421,13 @@ { "verb": "post", "requestPath": "/setup/api/upgrade", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/setup/api/upgrade \\\n -d '{\"license\":\"license\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/setup/api/upgrade \\\n  -d '{\"license\":\"license\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/setup/api/upgrade \\\n -d '{\"license\":\"license\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/setup/api/upgrade \\\n  -d '{\"license\":\"license\"}'
    " }, { "lang": "JavaScript", @@ -68099,7 +68501,7 @@ { "verb": "get", "requestPath": "/teams/{team_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "team_id", @@ -68114,8 +68516,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/teams/42", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/teams/42
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/teams/42", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/teams/42
    " }, { "lang": "JavaScript", @@ -68166,7 +68568,7 @@ { "verb": "patch", "requestPath": "/teams/{team_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "team_id", @@ -68181,8 +68583,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/teams/42 \\\n -d '{\"name\":\"name\"}'", - "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/teams/42 \\\n  -d '{\"name\":\"name\"}'
    " + "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/teams/42 \\\n -d '{\"name\":\"name\"}'", + "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/teams/42 \\\n  -d '{\"name\":\"name\"}'
    " }, { "lang": "JavaScript", @@ -68375,7 +68777,7 @@ { "verb": "delete", "requestPath": "/teams/{team_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "team_id", @@ -68390,8 +68792,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/teams/42", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/teams/42
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/teams/42", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/teams/42
    " }, { "lang": "JavaScript", @@ -68427,7 +68829,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "404", @@ -68446,7 +68848,7 @@ { "verb": "get", "requestPath": "/teams/{team_id}/discussions", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "team_id", @@ -68496,8 +68898,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/teams/42/discussions", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/teams/42/discussions
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/teams/42/discussions", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/teams/42/discussions
    " }, { "lang": "JavaScript", @@ -68552,7 +68954,7 @@ { "verb": "post", "requestPath": "/teams/{team_id}/discussions", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "team_id", @@ -68567,8 +68969,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/teams/42/discussions \\\n -d '{\"title\":\"title\",\"body\":\"body\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/teams/42/discussions \\\n  -d '{\"title\":\"title\",\"body\":\"body\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/teams/42/discussions \\\n -d '{\"title\":\"title\",\"body\":\"body\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/teams/42/discussions \\\n  -d '{\"title\":\"title\",\"body\":\"body\"}'
    " }, { "lang": "JavaScript", @@ -68700,7 +69102,7 @@ { "verb": "get", "requestPath": "/teams/{team_id}/discussions/{discussion_number}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "team_id", @@ -68724,8 +69126,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/teams/42/discussions/42", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/teams/42/discussions/42
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/teams/42/discussions/42", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/teams/42/discussions/42
    " }, { "lang": "JavaScript", @@ -68780,7 +69182,7 @@ { "verb": "patch", "requestPath": "/teams/{team_id}/discussions/{discussion_number}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "team_id", @@ -68804,8 +69206,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/teams/42/discussions/42 \\\n -d '{\"title\":\"title\"}'", - "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/teams/42/discussions/42 \\\n  -d '{\"title\":\"title\"}'
    " + "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/teams/42/discussions/42 \\\n -d '{\"title\":\"title\"}'", + "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/teams/42/discussions/42 \\\n  -d '{\"title\":\"title\"}'
    " }, { "lang": "JavaScript", @@ -68911,7 +69313,7 @@ { "verb": "delete", "requestPath": "/teams/{team_id}/discussions/{discussion_number}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "team_id", @@ -68935,8 +69337,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/teams/42/discussions/42", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/teams/42/discussions/42
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/teams/42/discussions/42", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/teams/42/discussions/42
    " }, { "lang": "JavaScript", @@ -68974,7 +69376,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "bodyParameters": [], @@ -68983,7 +69385,7 @@ { "verb": "get", "requestPath": "/teams/{team_id}/discussions/{discussion_number}/comments", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "team_id", @@ -69042,8 +69444,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/teams/42/discussions/42/comments", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/teams/42/discussions/42/comments
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/teams/42/discussions/42/comments", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/teams/42/discussions/42/comments
    " }, { "lang": "JavaScript", @@ -69098,7 +69500,7 @@ { "verb": "post", "requestPath": "/teams/{team_id}/discussions/{discussion_number}/comments", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "team_id", @@ -69122,8 +69524,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/teams/42/discussions/42/comments \\\n -d '{\"body\":\"body\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/teams/42/discussions/42/comments \\\n  -d '{\"body\":\"body\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/teams/42/discussions/42/comments \\\n -d '{\"body\":\"body\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/teams/42/discussions/42/comments \\\n  -d '{\"body\":\"body\"}'
    " }, { "lang": "JavaScript", @@ -69215,7 +69617,7 @@ { "verb": "get", "requestPath": "/teams/{team_id}/discussions/{discussion_number}/comments/{comment_number}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "team_id", @@ -69248,8 +69650,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/teams/42/discussions/42/comments/42", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/teams/42/discussions/42/comments/42
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/teams/42/discussions/42/comments/42", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/teams/42/discussions/42/comments/42
    " }, { "lang": "JavaScript", @@ -69304,7 +69706,7 @@ { "verb": "patch", "requestPath": "/teams/{team_id}/discussions/{discussion_number}/comments/{comment_number}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "team_id", @@ -69337,8 +69739,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/teams/42/discussions/42/comments/42 \\\n -d '{\"body\":\"body\"}'", - "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/teams/42/discussions/42/comments/42 \\\n  -d '{\"body\":\"body\"}'
    " + "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/teams/42/discussions/42/comments/42 \\\n -d '{\"body\":\"body\"}'", + "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/teams/42/discussions/42/comments/42 \\\n  -d '{\"body\":\"body\"}'
    " }, { "lang": "JavaScript", @@ -69429,7 +69831,7 @@ { "verb": "delete", "requestPath": "/teams/{team_id}/discussions/{discussion_number}/comments/{comment_number}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "team_id", @@ -69462,8 +69864,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/teams/42/discussions/42/comments/42", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/teams/42/discussions/42/comments/42
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/teams/42/discussions/42/comments/42", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/teams/42/discussions/42/comments/42
    " }, { "lang": "JavaScript", @@ -69501,7 +69903,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "bodyParameters": [], @@ -69510,7 +69912,7 @@ { "verb": "get", "requestPath": "/teams/{team_id}/discussions/{discussion_number}/comments/{comment_number}/reactions", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "team_id", @@ -69583,8 +69985,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n https://api.github.com/teams/42/discussions/42/comments/42/reactions", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n  https://api.github.com/teams/42/discussions/42/comments/42/reactions
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n http(s)://{hostname}/api/v3/teams/42/discussions/42/comments/42/reactions", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n  http(s)://{hostname}/api/v3/teams/42/discussions/42/comments/42/reactions
    " }, { "lang": "JavaScript", @@ -69637,7 +70039,7 @@ { "verb": "post", "requestPath": "/teams/{team_id}/discussions/{discussion_number}/comments/{comment_number}/reactions", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "team_id", @@ -69670,8 +70072,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n https://api.github.com/teams/42/discussions/42/comments/42/reactions \\\n -d '{\"content\":\"content\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n  https://api.github.com/teams/42/discussions/42/comments/42/reactions \\\n  -d '{\"content\":\"content\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n http(s)://{hostname}/api/v3/teams/42/discussions/42/comments/42/reactions \\\n -d '{\"content\":\"content\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n  http(s)://{hostname}/api/v3/teams/42/discussions/42/comments/42/reactions \\\n  -d '{\"content\":\"content\"}'
    " }, { "lang": "JavaScript", @@ -69780,7 +70182,7 @@ { "verb": "get", "requestPath": "/teams/{team_id}/discussions/{discussion_number}/reactions", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "team_id", @@ -69844,8 +70246,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n https://api.github.com/teams/42/discussions/42/reactions", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n  https://api.github.com/teams/42/discussions/42/reactions
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n http(s)://{hostname}/api/v3/teams/42/discussions/42/reactions", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n  http(s)://{hostname}/api/v3/teams/42/discussions/42/reactions
    " }, { "lang": "JavaScript", @@ -69898,7 +70300,7 @@ { "verb": "post", "requestPath": "/teams/{team_id}/discussions/{discussion_number}/reactions", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "team_id", @@ -69922,8 +70324,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n https://api.github.com/teams/42/discussions/42/reactions \\\n -d '{\"content\":\"content\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n  https://api.github.com/teams/42/discussions/42/reactions \\\n  -d '{\"content\":\"content\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n http(s)://{hostname}/api/v3/teams/42/discussions/42/reactions \\\n -d '{\"content\":\"content\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n  http(s)://{hostname}/api/v3/teams/42/discussions/42/reactions \\\n  -d '{\"content\":\"content\"}'
    " }, { "lang": "JavaScript", @@ -70032,7 +70434,7 @@ { "verb": "get", "requestPath": "/teams/{team_id}/members", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "team_id", @@ -70083,8 +70485,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/teams/42/members", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/teams/42/members
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/teams/42/members", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/teams/42/members
    " }, { "lang": "JavaScript", @@ -70137,7 +70539,7 @@ { "verb": "get", "requestPath": "/teams/{team_id}/members/{username}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "team_id", @@ -70161,8 +70563,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/teams/42/members/USERNAME", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/teams/42/members/USERNAME
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/teams/42/members/USERNAME", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/teams/42/members/USERNAME
    " }, { "lang": "JavaScript", @@ -70214,7 +70616,7 @@ { "verb": "put", "requestPath": "/teams/{team_id}/members/{username}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "team_id", @@ -70238,8 +70640,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/teams/42/members/USERNAME", - "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/teams/42/members/USERNAME
    " + "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/teams/42/members/USERNAME", + "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/teams/42/members/USERNAME
    " }, { "lang": "JavaScript", @@ -70273,13 +70675,11 @@ "subcategory": "members", "subcategoryLabel": "Members", "notes": [], - "bodyParameters": [], - "descriptionHTML": "

    The \"Add team member\" endpoint (described below) is deprecated.

    \n

    We recommend using the Add or update team membership for a user endpoint instead. It allows you to invite new organization members to your teams.

    \n

    Team synchronization is available for organizations using GitHub Enterprise Cloud. For more information, see GitHub's products in the GitHub Help documentation.

    \n

    To 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

    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.\"

    \n

    Note that you'll need to set Content-Length to zero when calling out to this endpoint. For more information, see \"HTTP verbs.\"

    ", "responses": [ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "403", @@ -70294,21 +70694,16 @@ { "httpStatusCode": "422", "httpStatusMessage": "Unprocessable Entity", - "description": "Response if you attempt to add an organization to a team", - "payload": "
    {\n  \"message\": \"Cannot add an organization as a member.\",\n  \"errors\": [\n    {\n      \"code\": \"org\",\n      \"field\": \"user\",\n      \"resource\": \"TeamMember\"\n    }\n  ]\n}\n
    " - }, - { - "httpStatusCode": "422", - "httpStatusMessage": "Unprocessable Entity", - "description": "Response if you attempt to add a user to a team when they are not a member of at least one other team in the same organization", - "payload": "
    {\n  \"message\": \"User isn't a member of this organization. Please invite them first.\",\n  \"errors\": [\n    {\n      \"code\": \"unaffiliated\",\n      \"field\": \"user\",\n      \"resource\": \"TeamMember\"\n    }\n  ]\n}\n
    " + "description": "Response if you attempt to add an organization to a team or you attempt to add a user to a team when they are not a member of at least one other team in the same organization" } - ] + ], + "bodyParameters": [], + "descriptionHTML": "

    The \"Add team member\" endpoint (described below) is deprecated.

    \n

    We recommend using the Add or update team membership for a user endpoint instead. It allows you to invite new organization members to your teams.

    \n

    Team synchronization is available for organizations using GitHub Enterprise Cloud. For more information, see GitHub's products in the GitHub Help documentation.

    \n

    To 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

    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.\"

    \n

    Note that you'll need to set Content-Length to zero when calling out to this endpoint. For more information, see \"HTTP verbs.\"

    " }, { "verb": "delete", "requestPath": "/teams/{team_id}/members/{username}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "team_id", @@ -70332,8 +70727,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/teams/42/members/USERNAME", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/teams/42/members/USERNAME
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/teams/42/members/USERNAME", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/teams/42/members/USERNAME
    " }, { "lang": "JavaScript", @@ -70371,7 +70766,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "404", @@ -70385,7 +70780,7 @@ { "verb": "get", "requestPath": "/teams/{team_id}/memberships/{username}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "team_id", @@ -70409,8 +70804,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/teams/42/memberships/USERNAME", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/teams/42/memberships/USERNAME
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/teams/42/memberships/USERNAME", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/teams/42/memberships/USERNAME
    " }, { "lang": "JavaScript", @@ -70419,7 +70814,7 @@ } ], "summary": "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).", + "description": "**Deprecation 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).", "tags": [ "teams" ], @@ -70445,26 +70840,14 @@ "subcategoryLabel": "Members", "notes": [], "bodyParameters": [], - "descriptionHTML": "

    Deprecation 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 endpoint.

    \n

    Team members will include the members of child teams.

    \n

    To get a user's membership with a team, the team must be visible to the authenticated user.

    \n

    Note: The role for organization owners returns as maintainer. For more information about maintainer roles, see Create a team.

    ", + "descriptionHTML": "

    Deprecation 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 endpoint.

    \n

    Team members will include the members of child teams.

    \n

    To get a user's membership with a team, the team must be visible to the authenticated user.

    \n

    Note:\nThe response contains the state of the membership and the member's role.

    \n

    The role for organization owners is set to maintainer. For more information about maintainer roles, see Create a team.

    ", "responses": [ - { - "httpStatusCode": "200", - "httpStatusMessage": "OK", - "description": "Response if user has an active membership with team", - "payload": "
    {\n  \"url\": \"https://api.github.com/teams/1/memberships/octocat\",\n  \"role\": \"member\",\n  \"state\": \"active\"\n}\n
    " - }, { "httpStatusCode": "200", "httpStatusMessage": "OK", "description": "Response if user is a team maintainer", "payload": "
    {\n  \"url\": \"https://api.github.com/teams/1/memberships/octocat\",\n  \"role\": \"maintainer\",\n  \"state\": \"active\"\n}\n
    " }, - { - "httpStatusCode": "200", - "httpStatusMessage": "OK", - "description": "Response if user has a pending membership with team", - "payload": "
    {\n  \"url\": \"https://api.github.com/teams/1/memberships/octocat\",\n  \"role\": \"member\",\n  \"state\": \"pending\"\n}\n
    " - }, { "httpStatusCode": "404", "httpStatusMessage": "Not Found", @@ -70475,7 +70858,7 @@ { "verb": "put", "requestPath": "/teams/{team_id}/memberships/{username}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "team_id", @@ -70499,8 +70882,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/teams/42/memberships/USERNAME \\\n -d '{\"role\":\"role\"}'", - "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/teams/42/memberships/USERNAME \\\n  -d '{\"role\":\"role\"}'
    " + "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/teams/42/memberships/USERNAME \\\n -d '{\"role\":\"role\"}'", + "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/teams/42/memberships/USERNAME \\\n  -d '{\"role\":\"role\"}'
    " }, { "lang": "JavaScript", @@ -70577,12 +70960,6 @@ } ], "responses": [ - { - "httpStatusCode": "200", - "httpStatusMessage": "OK", - "description": "Response if user's membership with team is now active", - "payload": "
    {\n  \"url\": \"https://api.github.com/teams/1/memberships/octocat\",\n  \"role\": \"member\",\n  \"state\": \"active\"\n}\n
    " - }, { "httpStatusCode": "200", "httpStatusMessage": "OK", @@ -70602,15 +70979,14 @@ { "httpStatusCode": "422", "httpStatusMessage": "Unprocessable Entity", - "description": "Response if you attempt to add an organization to a team", - "payload": "
    {\n  \"message\": \"Cannot add an organization as a member.\",\n  \"errors\": [\n    {\n      \"code\": \"org\",\n      \"field\": \"user\",\n      \"resource\": \"TeamMember\"\n    }\n  ]\n}\n
    " + "description": "Response if you attempt to add an organization to a team" } ] }, { "verb": "delete", "requestPath": "/teams/{team_id}/memberships/{username}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "team_id", @@ -70634,8 +71010,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/teams/42/memberships/USERNAME", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/teams/42/memberships/USERNAME
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/teams/42/memberships/USERNAME", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/teams/42/memberships/USERNAME
    " }, { "lang": "JavaScript", @@ -70673,7 +71049,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "403", @@ -70687,7 +71063,7 @@ { "verb": "get", "requestPath": "/teams/{team_id}/projects", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "team_id", @@ -70722,8 +71098,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n https://api.github.com/teams/42/projects", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  https://api.github.com/teams/42/projects
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n http(s)://{hostname}/api/v3/teams/42/projects", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  http(s)://{hostname}/api/v3/teams/42/projects
    " }, { "lang": "JavaScript", @@ -70786,7 +71162,7 @@ { "verb": "get", "requestPath": "/teams/{team_id}/projects/{project_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "team_id", @@ -70810,8 +71186,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n https://api.github.com/teams/42/projects/42", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  https://api.github.com/teams/42/projects/42
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n http(s)://{hostname}/api/v3/teams/42/projects/42", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  http(s)://{hostname}/api/v3/teams/42/projects/42
    " }, { "lang": "JavaScript", @@ -70874,7 +71250,7 @@ { "verb": "put", "requestPath": "/teams/{team_id}/projects/{project_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "team_id", @@ -70898,8 +71274,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n https://api.github.com/teams/42/projects/42 \\\n -d '{\"permission\":\"permission\"}'", - "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  https://api.github.com/teams/42/projects/42 \\\n  -d '{\"permission\":\"permission\"}'
    " + "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n http(s)://{hostname}/api/v3/teams/42/projects/42 \\\n -d '{\"permission\":\"permission\"}'", + "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  http(s)://{hostname}/api/v3/teams/42/projects/42 \\\n  -d '{\"permission\":\"permission\"}'
    " }, { "lang": "JavaScript", @@ -70984,7 +71360,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "403", @@ -71012,7 +71388,7 @@ { "verb": "delete", "requestPath": "/teams/{team_id}/projects/{project_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "team_id", @@ -71036,8 +71412,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/teams/42/projects/42", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/teams/42/projects/42
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/teams/42/projects/42", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/teams/42/projects/42
    " }, { "lang": "JavaScript", @@ -71073,7 +71449,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "404", @@ -71097,7 +71473,7 @@ { "verb": "get", "requestPath": "/teams/{team_id}/repos", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "team_id", @@ -71132,8 +71508,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/teams/42/repos", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/teams/42/repos
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/teams/42/repos", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/teams/42/repos
    " }, { "lang": "JavaScript", @@ -71184,7 +71560,7 @@ { "verb": "get", "requestPath": "/teams/{team_id}/repos/{owner}/{repo}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "team_id", @@ -71217,8 +71593,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/teams/42/repos/octocat/hello-world", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/teams/42/repos/octocat/hello-world
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/teams/42/repos/octocat/hello-world", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/teams/42/repos/octocat/hello-world
    " }, { "lang": "JavaScript", @@ -71273,7 +71649,7 @@ { "verb": "put", "requestPath": "/teams/{team_id}/repos/{owner}/{repo}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "team_id", @@ -71306,8 +71682,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/teams/42/repos/octocat/hello-world \\\n -d '{\"permission\":\"permission\"}'", - "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/teams/42/repos/octocat/hello-world \\\n  -d '{\"permission\":\"permission\"}'
    " + "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/teams/42/repos/octocat/hello-world \\\n -d '{\"permission\":\"permission\"}'", + "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/teams/42/repos/octocat/hello-world \\\n  -d '{\"permission\":\"permission\"}'
    " }, { "lang": "JavaScript", @@ -71368,7 +71744,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "403", @@ -71402,7 +71778,7 @@ { "verb": "delete", "requestPath": "/teams/{team_id}/repos/{owner}/{repo}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "team_id", @@ -71435,8 +71811,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/teams/42/repos/octocat/hello-world", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/teams/42/repos/octocat/hello-world
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/teams/42/repos/octocat/hello-world", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/teams/42/repos/octocat/hello-world
    " }, { "lang": "JavaScript", @@ -71472,7 +71848,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "bodyParameters": [], @@ -71481,7 +71857,7 @@ { "verb": "get", "requestPath": "/teams/{team_id}/teams", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "team_id", @@ -71516,8 +71892,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/teams/42/teams", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/teams/42/teams
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/teams/42/teams", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/teams/42/teams
    " }, { "lang": "JavaScript", @@ -71578,13 +71954,13 @@ { "verb": "get", "requestPath": "/user", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/user", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/user
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/user", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/user
    " }, { "lang": "JavaScript", @@ -71648,13 +72024,13 @@ { "verb": "patch", "requestPath": "/user", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/user \\\n -d '{\"name\":\"name\"}'", - "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/user \\\n  -d '{\"name\":\"name\"}'
    " + "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/user \\\n -d '{\"name\":\"name\"}'", + "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/user \\\n  -d '{\"name\":\"name\"}'
    " }, { "lang": "JavaScript", @@ -71892,7 +72268,7 @@ { "verb": "get", "requestPath": "/user/emails", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "per_page", @@ -71918,8 +72294,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/user/emails", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/user/emails
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/user/emails", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/user/emails
    " }, { "lang": "JavaScript", @@ -71984,13 +72360,13 @@ { "verb": "post", "requestPath": "/user/emails", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/user/emails \\\n -d '{\"emails\":[\"octocat@github.com\"]}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/user/emails \\\n  -d '{\"emails\":[\"octocat@github.com\"]}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/user/emails \\\n -d '{\"emails\":[\"octocat@github.com\"]}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/user/emails \\\n  -d '{\"emails\":[\"octocat@github.com\"]}'
    " }, { "lang": "JavaScript", @@ -72105,13 +72481,13 @@ { "verb": "delete", "requestPath": "/user/emails", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/user/emails \\\n -d '{\"emails\":[\"octocat@github.com\"]}'", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/user/emails \\\n  -d '{\"emails\":[\"octocat@github.com\"]}'
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/user/emails \\\n -d '{\"emails\":[\"octocat@github.com\"]}'", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/user/emails \\\n  -d '{\"emails\":[\"octocat@github.com\"]}'
    " }, { "lang": "JavaScript", @@ -72191,7 +72567,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "304", @@ -72225,7 +72601,7 @@ { "verb": "get", "requestPath": "/user/followers", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "per_page", @@ -72251,8 +72627,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/user/followers", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/user/followers
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/user/followers", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/user/followers
    " }, { "lang": "JavaScript", @@ -72312,7 +72688,7 @@ { "verb": "get", "requestPath": "/user/following", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "per_page", @@ -72338,8 +72714,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/user/following", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/user/following
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/user/following", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/user/following
    " }, { "lang": "JavaScript", @@ -72399,7 +72775,7 @@ { "verb": "get", "requestPath": "/user/following/{username}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "username", @@ -72414,8 +72790,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/user/following/USERNAME", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/user/following/USERNAME
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/user/following/USERNAME", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/user/following/USERNAME
    " }, { "lang": "JavaScript", @@ -72479,7 +72855,7 @@ { "verb": "put", "requestPath": "/user/following/{username}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "username", @@ -72494,8 +72870,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/user/following/USERNAME", - "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/user/following/USERNAME
    " + "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/user/following/USERNAME", + "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/user/following/USERNAME
    " }, { "lang": "JavaScript", @@ -72530,7 +72906,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "304", @@ -72559,7 +72935,7 @@ { "verb": "delete", "requestPath": "/user/following/{username}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "username", @@ -72574,8 +72950,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/user/following/USERNAME", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/user/following/USERNAME
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/user/following/USERNAME", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/user/following/USERNAME
    " }, { "lang": "JavaScript", @@ -72610,7 +72986,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "304", @@ -72639,7 +73015,7 @@ { "verb": "get", "requestPath": "/user/gpg_keys", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "per_page", @@ -72665,8 +73041,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/user/gpg_keys", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/user/gpg_keys
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/user/gpg_keys", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/user/gpg_keys
    " }, { "lang": "JavaScript", @@ -72731,13 +73107,13 @@ { "verb": "post", "requestPath": "/user/gpg_keys", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/user/gpg_keys \\\n -d '{\"armored_public_key\":\"armored_public_key\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/user/gpg_keys \\\n  -d '{\"armored_public_key\":\"armored_public_key\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/user/gpg_keys \\\n -d '{\"armored_public_key\":\"armored_public_key\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/user/gpg_keys \\\n  -d '{\"armored_public_key\":\"armored_public_key\"}'
    " }, { "lang": "JavaScript", @@ -72840,7 +73216,7 @@ { "verb": "get", "requestPath": "/user/gpg_keys/{gpg_key_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "gpg_key_id", @@ -72856,8 +73232,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/user/gpg_keys/42", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/user/gpg_keys/42
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/user/gpg_keys/42", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/user/gpg_keys/42
    " }, { "lang": "JavaScript", @@ -72922,7 +73298,7 @@ { "verb": "delete", "requestPath": "/user/gpg_keys/{gpg_key_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "gpg_key_id", @@ -72938,8 +73314,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/user/gpg_keys/42", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/user/gpg_keys/42
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/user/gpg_keys/42", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/user/gpg_keys/42
    " }, { "lang": "JavaScript", @@ -72974,7 +73350,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "304", @@ -73008,7 +73384,7 @@ { "verb": "get", "requestPath": "/user/installations", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "per_page", @@ -73034,8 +73410,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/user/installations", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/user/installations
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/user/installations", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/user/installations
    " }, { "lang": "JavaScript", @@ -73100,7 +73476,7 @@ { "verb": "get", "requestPath": "/user/installations/{installation_id}/repositories", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "installation_id", @@ -73136,8 +73512,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/user/installations/42/repositories", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/user/installations/42/repositories
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/user/installations/42/repositories", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/user/installations/42/repositories
    " }, { "lang": "JavaScript", @@ -73204,7 +73580,7 @@ { "verb": "put", "requestPath": "/user/installations/{installation_id}/repositories/{repository_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "installation_id", @@ -73229,8 +73605,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/user/installations/42/repositories/42", - "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/user/installations/42/repositories/42
    " + "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/user/installations/42/repositories/42", + "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/user/installations/42/repositories/42
    " }, { "lang": "JavaScript", @@ -73265,7 +73641,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "304", @@ -73289,7 +73665,7 @@ { "verb": "delete", "requestPath": "/user/installations/{installation_id}/repositories/{repository_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "installation_id", @@ -73314,8 +73690,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/user/installations/42/repositories/42", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/user/installations/42/repositories/42
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/user/installations/42/repositories/42", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/user/installations/42/repositories/42
    " }, { "lang": "JavaScript", @@ -73350,7 +73726,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "304", @@ -73374,7 +73750,7 @@ { "verb": "get", "requestPath": "/user/issues", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "filter", @@ -73388,6 +73764,7 @@ "created", "mentioned", "subscribed", + "repos", "all" ], "default": "assigned" @@ -73485,8 +73862,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/user/issues", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/user/issues
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/user/issues", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/user/issues
    " }, { "lang": "JavaScript", @@ -73546,7 +73923,7 @@ { "verb": "get", "requestPath": "/user/keys", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "per_page", @@ -73572,8 +73949,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/user/keys", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/user/keys
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/user/keys", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/user/keys
    " }, { "lang": "JavaScript", @@ -73638,13 +74015,13 @@ { "verb": "post", "requestPath": "/user/keys", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/user/keys \\\n -d '{\"key\":\"key\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/user/keys \\\n  -d '{\"key\":\"key\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/user/keys \\\n -d '{\"key\":\"key\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/user/keys \\\n  -d '{\"key\":\"key\"}'
    " }, { "lang": "JavaScript", @@ -73769,7 +74146,7 @@ { "verb": "get", "requestPath": "/user/keys/{key_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "key_id", @@ -73785,8 +74162,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/user/keys/42", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/user/keys/42
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/user/keys/42", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/user/keys/42
    " }, { "lang": "JavaScript", @@ -73851,7 +74228,7 @@ { "verb": "delete", "requestPath": "/user/keys/{key_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "key_id", @@ -73867,8 +74244,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/user/keys/42", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/user/keys/42
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/user/keys/42", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/user/keys/42
    " }, { "lang": "JavaScript", @@ -73903,7 +74280,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "304", @@ -73932,7 +74309,7 @@ { "verb": "get", "requestPath": "/user/memberships/orgs", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "state", @@ -73972,8 +74349,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/user/memberships/orgs", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/user/memberships/orgs
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/user/memberships/orgs", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/user/memberships/orgs
    " }, { "lang": "JavaScript", @@ -74038,7 +74415,7 @@ { "verb": "get", "requestPath": "/user/memberships/orgs/{org}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "org", @@ -74053,8 +74430,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/user/memberships/orgs/ORG", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/user/memberships/orgs/ORG
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/user/memberships/orgs/ORG", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/user/memberships/orgs/ORG
    " }, { "lang": "JavaScript", @@ -74109,7 +74486,7 @@ { "verb": "patch", "requestPath": "/user/memberships/orgs/{org}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "org", @@ -74124,8 +74501,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/user/memberships/orgs/ORG \\\n -d '{\"state\":\"state\"}'", - "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/user/memberships/orgs/ORG \\\n  -d '{\"state\":\"state\"}'
    " + "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/user/memberships/orgs/ORG \\\n -d '{\"state\":\"state\"}'", + "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/user/memberships/orgs/ORG \\\n  -d '{\"state\":\"state\"}'
    " }, { "lang": "JavaScript", @@ -74227,7 +74604,7 @@ { "verb": "get", "requestPath": "/user/orgs", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "per_page", @@ -74253,8 +74630,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/user/orgs", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/user/orgs
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/user/orgs", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/user/orgs
    " }, { "lang": "JavaScript", @@ -74312,13 +74689,13 @@ { "verb": "post", "requestPath": "/user/projects", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n https://api.github.com/user/projects \\\n -d '{\"name\":\"name\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  https://api.github.com/user/projects \\\n  -d '{\"name\":\"name\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n http(s)://{hostname}/api/v3/user/projects \\\n -d '{\"name\":\"name\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  http(s)://{hostname}/api/v3/user/projects \\\n  -d '{\"name\":\"name\"}'
    " }, { "lang": "JavaScript", @@ -74450,7 +74827,7 @@ { "verb": "get", "requestPath": "/user/public_emails", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "per_page", @@ -74476,8 +74853,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/user/public_emails", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/user/public_emails
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/user/public_emails", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/user/public_emails
    " }, { "lang": "JavaScript", @@ -74542,11 +74919,11 @@ { "verb": "get", "requestPath": "/user/repos", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "visibility", - "description": "Can be one of `all`, `public`, or `private`.", + "description": "Can be one of `all`, `public`, or `private`. Note: For GitHub AE, can be one of `all`, `internal`, or `private`.", "in": "query", "required": false, "schema": { @@ -74558,7 +74935,7 @@ ], "default": "all" }, - "descriptionHTML": "

    Can be one of all, public, or private.

    " + "descriptionHTML": "

    Can be one of all, public, or private. Note: For GitHub AE, can be one of all, internal, or private.

    " }, { "name": "affiliation", @@ -74573,7 +74950,7 @@ }, { "name": "type", - "description": "Can be one of `all`, `owner`, `public`, `private`, `member`. Default: `all` \n \nWill cause a `422` error if used in the same request as **visibility** or **affiliation**. Will cause a `422` error if used in the same request as **visibility** or **affiliation**.", + "description": "Can be one of `all`, `owner`, `public`, `private`, `member`. Note: For GitHub AE, can be one of `all`, `owner`, `internal`, `private`, `member`. Default: `all` \n \nWill cause a `422` error if used in the same request as **visibility** or **affiliation**. Will cause a `422` error if used in the same request as **visibility** or **affiliation**.", "in": "query", "required": false, "schema": { @@ -74587,7 +74964,7 @@ ], "default": "all" }, - "descriptionHTML": "

    Can be one of all, owner, public, private, member. Default: all

    \n

    Will cause a 422 error if used in the same request as visibility or affiliation. Will cause a 422 error if used in the same request as visibility or affiliation.

    " + "descriptionHTML": "

    Can be one of all, owner, public, private, member. Note: For GitHub AE, can be one of all, owner, internal, private, member. Default: all

    \n

    Will cause a 422 error if used in the same request as visibility or affiliation. Will cause a 422 error if used in the same request as visibility or affiliation.

    " }, { "name": "sort", @@ -74664,8 +75041,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/user/repos", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/user/repos
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/user/repos", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/user/repos
    " }, { "lang": "JavaScript", @@ -74728,13 +75105,13 @@ { "verb": "post", "requestPath": "/user/repos", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/user/repos \\\n -d '{\"name\":\"name\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/user/repos \\\n  -d '{\"name\":\"name\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/user/repos \\\n -d '{\"name\":\"name\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/user/repos \\\n  -d '{\"name\":\"name\"}'
    " }, { "lang": "JavaScript", @@ -74743,7 +75120,7 @@ } ], "summary": "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", + "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.", "tags": [ "repos" ], @@ -74786,13 +75163,13 @@ "childParamsGroups": [] }, "private": { - "description": "

    Whether the repository is private or public.

    ", + "description": "

    Whether the repository is private.

    ", "default": false, "type": "boolean", "name": "private", "in": "body", "rawType": "boolean", - "rawDescription": "Whether the repository is private or public.", + "rawDescription": "Whether the repository is private.", "childParamsGroups": [] }, "has_issues": { @@ -74966,7 +75343,7 @@ "category": "repos", "categoryLabel": "Repos", "notes": [], - "descriptionHTML": "

    Creates a new repository for the authenticated user.

    \n

    OAuth scope requirements

    \n

    When using OAuth, 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
    ", + "descriptionHTML": "

    Creates a new repository for the authenticated user.

    \n

    OAuth scope requirements

    \n

    When using OAuth, 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
    ", "bodyParameters": [ { "description": "

    Required. The name of the repository.

    ", @@ -74997,13 +75374,13 @@ "childParamsGroups": [] }, { - "description": "

    Whether the repository is private or public.

    ", + "description": "

    Whether the repository is private.

    ", "default": false, "type": "boolean", "name": "private", "in": "body", "rawType": "boolean", - "rawDescription": "Whether the repository is private or public.", + "rawDescription": "Whether the repository is private.", "childParamsGroups": [] }, { @@ -75187,7 +75564,7 @@ { "verb": "get", "requestPath": "/user/repository_invitations", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "per_page", @@ -75213,8 +75590,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/user/repository_invitations", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/user/repository_invitations
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/user/repository_invitations", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/user/repository_invitations
    " }, { "lang": "JavaScript", @@ -75279,7 +75656,7 @@ { "verb": "patch", "requestPath": "/user/repository_invitations/{invitation_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "invitation_id", @@ -75295,8 +75672,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/user/repository_invitations/42", - "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/user/repository_invitations/42
    " + "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/user/repository_invitations/42", + "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/user/repository_invitations/42
    " }, { "lang": "JavaScript", @@ -75331,7 +75708,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "304", @@ -75360,7 +75737,7 @@ { "verb": "delete", "requestPath": "/user/repository_invitations/{invitation_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "invitation_id", @@ -75376,8 +75753,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/user/repository_invitations/42", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/user/repository_invitations/42
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/user/repository_invitations/42", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/user/repository_invitations/42
    " }, { "lang": "JavaScript", @@ -75412,7 +75789,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "304", @@ -75441,7 +75818,7 @@ { "verb": "get", "requestPath": "/user/starred", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "sort", @@ -75497,8 +75874,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/user/starred", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/user/starred
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/user/starred", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/user/starred
    " }, { "lang": "JavaScript", @@ -75558,7 +75935,7 @@ { "verb": "get", "requestPath": "/user/starred/{owner}/{repo}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -75582,8 +75959,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/user/starred/octocat/hello-world", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/user/starred/octocat/hello-world
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/user/starred/octocat/hello-world", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/user/starred/octocat/hello-world
    " }, { "lang": "JavaScript", @@ -75647,7 +76024,7 @@ { "verb": "put", "requestPath": "/user/starred/{owner}/{repo}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -75671,8 +76048,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/user/starred/octocat/hello-world", - "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/user/starred/octocat/hello-world
    " + "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/user/starred/octocat/hello-world", + "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/user/starred/octocat/hello-world
    " }, { "lang": "JavaScript", @@ -75707,7 +76084,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "304", @@ -75736,7 +76113,7 @@ { "verb": "delete", "requestPath": "/user/starred/{owner}/{repo}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -75760,8 +76137,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/user/starred/octocat/hello-world", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/user/starred/octocat/hello-world
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/user/starred/octocat/hello-world", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/user/starred/octocat/hello-world
    " }, { "lang": "JavaScript", @@ -75796,7 +76173,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "304", @@ -75825,7 +76202,7 @@ { "verb": "get", "requestPath": "/user/subscriptions", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "per_page", @@ -75851,8 +76228,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/user/subscriptions", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/user/subscriptions
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/user/subscriptions", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/user/subscriptions
    " }, { "lang": "JavaScript", @@ -75912,7 +76289,7 @@ { "verb": "get", "requestPath": "/user/teams", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "per_page", @@ -75938,8 +76315,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/user/teams", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/user/teams
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/user/teams", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/user/teams
    " }, { "lang": "JavaScript", @@ -75997,7 +76374,7 @@ { "verb": "get", "requestPath": "/users", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "since", @@ -76023,8 +76400,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/users", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/users
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/users", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/users
    " }, { "lang": "JavaScript", @@ -76072,7 +76449,7 @@ { "verb": "get", "requestPath": "/users/{username}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "username", @@ -76087,8 +76464,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/users/USERNAME", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/users/USERNAME
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/users/USERNAME", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/users/USERNAME
    " }, { "lang": "JavaScript", @@ -76142,7 +76519,7 @@ { "verb": "get", "requestPath": "/users/{username}/events", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "username", @@ -76177,8 +76554,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/users/USERNAME/events", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/users/USERNAME/events
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/users/USERNAME/events", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/users/USERNAME/events
    " }, { "lang": "JavaScript", @@ -76222,7 +76599,7 @@ { "verb": "get", "requestPath": "/users/{username}/events/orgs/{org}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "username", @@ -76266,8 +76643,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/users/USERNAME/events/orgs/ORG", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/users/USERNAME/events/orgs/ORG
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/users/USERNAME/events/orgs/ORG", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/users/USERNAME/events/orgs/ORG
    " }, { "lang": "JavaScript", @@ -76311,7 +76688,7 @@ { "verb": "get", "requestPath": "/users/{username}/events/public", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "username", @@ -76346,8 +76723,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/users/USERNAME/events/public", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/users/USERNAME/events/public
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/users/USERNAME/events/public", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/users/USERNAME/events/public
    " }, { "lang": "JavaScript", @@ -76391,7 +76768,7 @@ { "verb": "get", "requestPath": "/users/{username}/followers", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "username", @@ -76426,8 +76803,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/users/USERNAME/followers", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/users/USERNAME/followers
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/users/USERNAME/followers", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/users/USERNAME/followers
    " }, { "lang": "JavaScript", @@ -76472,7 +76849,7 @@ { "verb": "get", "requestPath": "/users/{username}/following", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "username", @@ -76507,8 +76884,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/users/USERNAME/following", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/users/USERNAME/following
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/users/USERNAME/following", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/users/USERNAME/following
    " }, { "lang": "JavaScript", @@ -76553,7 +76930,7 @@ { "verb": "get", "requestPath": "/users/{username}/following/{target_user}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "username", @@ -76577,8 +76954,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/users/USERNAME/following/TARGET_USER", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/users/USERNAME/following/TARGET_USER
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/users/USERNAME/following/TARGET_USER", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/users/USERNAME/following/TARGET_USER
    " }, { "lang": "JavaScript", @@ -76627,7 +77004,7 @@ { "verb": "get", "requestPath": "/users/{username}/gists", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "username", @@ -76672,8 +77049,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/users/USERNAME/gists", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/users/USERNAME/gists
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/users/USERNAME/gists", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/users/USERNAME/gists
    " }, { "lang": "JavaScript", @@ -76721,7 +77098,7 @@ { "verb": "get", "requestPath": "/users/{username}/gpg_keys", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "username", @@ -76756,8 +77133,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/users/USERNAME/gpg_keys", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/users/USERNAME/gpg_keys
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/users/USERNAME/gpg_keys", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/users/USERNAME/gpg_keys
    " }, { "lang": "JavaScript", @@ -76802,7 +77179,7 @@ { "verb": "get", "requestPath": "/users/{username}/hovercard", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "username", @@ -76843,8 +77220,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/users/USERNAME/hovercard", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/users/USERNAME/hovercard
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/users/USERNAME/hovercard", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/users/USERNAME/hovercard
    " }, { "lang": "JavaScript", @@ -76897,7 +77274,7 @@ { "verb": "get", "requestPath": "/users/{username}/installation", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "username", @@ -76912,8 +77289,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/users/USERNAME/installation", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/users/USERNAME/installation
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/users/USERNAME/installation", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/users/USERNAME/installation
    " }, { "lang": "JavaScript", @@ -76956,7 +77333,7 @@ { "verb": "get", "requestPath": "/users/{username}/keys", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "username", @@ -76991,8 +77368,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/users/USERNAME/keys", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/users/USERNAME/keys
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/users/USERNAME/keys", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/users/USERNAME/keys
    " }, { "lang": "JavaScript", @@ -77037,7 +77414,7 @@ { "verb": "get", "requestPath": "/users/{username}/orgs", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "username", @@ -77072,8 +77449,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/users/USERNAME/orgs", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/users/USERNAME/orgs
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/users/USERNAME/orgs", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/users/USERNAME/orgs
    " }, { "lang": "JavaScript", @@ -77116,7 +77493,7 @@ { "verb": "get", "requestPath": "/users/{username}/projects", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "username", @@ -77167,8 +77544,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n https://api.github.com/users/USERNAME/projects", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  https://api.github.com/users/USERNAME/projects
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n http(s)://{hostname}/api/v3/users/USERNAME/projects", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  http(s)://{hostname}/api/v3/users/USERNAME/projects
    " }, { "lang": "JavaScript", @@ -77228,7 +77605,7 @@ { "verb": "get", "requestPath": "/users/{username}/received_events", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "username", @@ -77263,8 +77640,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/users/USERNAME/received_events", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/users/USERNAME/received_events
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/users/USERNAME/received_events", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/users/USERNAME/received_events
    " }, { "lang": "JavaScript", @@ -77308,7 +77685,7 @@ { "verb": "get", "requestPath": "/users/{username}/received_events/public", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "username", @@ -77343,8 +77720,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/users/USERNAME/received_events/public", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/users/USERNAME/received_events/public
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/users/USERNAME/received_events/public", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/users/USERNAME/received_events/public
    " }, { "lang": "JavaScript", @@ -77388,7 +77765,7 @@ { "verb": "get", "requestPath": "/users/{username}/repos", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "username", @@ -77470,8 +77847,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/users/USERNAME/repos", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/users/USERNAME/repos
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/users/USERNAME/repos", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/users/USERNAME/repos
    " }, { "lang": "JavaScript", @@ -77480,7 +77857,7 @@ } ], "summary": "List repositories for a user", - "description": "Lists public repositories for the specified user.", + "description": "Lists public repositories for the specified user. Note: For GitHub AE, this endpoint will list internal repositories for the specified user.", "tags": [ "repos" ], @@ -77508,7 +77885,7 @@ "categoryLabel": "Repos", "notes": [], "bodyParameters": [], - "descriptionHTML": "

    Lists public repositories for the specified user.

    ", + "descriptionHTML": "

    Lists public repositories for the specified user. Note: For GitHub AE, this endpoint will list internal repositories for the specified user.

    ", "responses": [ { "httpStatusCode": "200", @@ -77521,7 +77898,7 @@ { "verb": "put", "requestPath": "/users/{username}/site_admin", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "username", @@ -77536,8 +77913,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/users/USERNAME/site_admin", - "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/users/USERNAME/site_admin
    " + "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/users/USERNAME/site_admin", + "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/users/USERNAME/site_admin
    " }, { "lang": "JavaScript", @@ -77572,7 +77949,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "bodyParameters": [], @@ -77581,7 +77958,7 @@ { "verb": "delete", "requestPath": "/users/{username}/site_admin", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "username", @@ -77596,8 +77973,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/users/USERNAME/site_admin", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/users/USERNAME/site_admin
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/users/USERNAME/site_admin", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/users/USERNAME/site_admin
    " }, { "lang": "JavaScript", @@ -77632,7 +78009,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "bodyParameters": [], @@ -77641,7 +78018,7 @@ { "verb": "get", "requestPath": "/users/{username}/starred", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "username", @@ -77706,8 +78083,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/users/USERNAME/starred", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/users/USERNAME/starred
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/users/USERNAME/starred", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/users/USERNAME/starred
    " }, { "lang": "JavaScript", @@ -77752,7 +78129,7 @@ { "verb": "get", "requestPath": "/users/{username}/subscriptions", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "username", @@ -77787,8 +78164,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/users/USERNAME/subscriptions", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/users/USERNAME/subscriptions
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/users/USERNAME/subscriptions", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/users/USERNAME/subscriptions
    " }, { "lang": "JavaScript", @@ -77833,7 +78210,7 @@ { "verb": "put", "requestPath": "/users/{username}/suspended", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "username", @@ -77848,8 +78225,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/users/USERNAME/suspended \\\n -d '{\"reason\":\"reason\"}'", - "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/users/USERNAME/suspended \\\n  -d '{\"reason\":\"reason\"}'
    " + "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/users/USERNAME/suspended \\\n -d '{\"reason\":\"reason\"}'", + "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/users/USERNAME/suspended \\\n  -d '{\"reason\":\"reason\"}'
    " }, { "lang": "JavaScript", @@ -77904,7 +78281,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "descriptionHTML": "

    If your GitHub instance uses LDAP Sync with Active Directory LDAP servers, 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

    You can suspend any user account except your own.

    \n

    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.\"

    ", @@ -77923,7 +78300,7 @@ { "verb": "delete", "requestPath": "/users/{username}/suspended", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "username", @@ -77938,8 +78315,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/users/USERNAME/suspended \\\n -d '{\"reason\":\"reason\"}'", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/users/USERNAME/suspended \\\n  -d '{\"reason\":\"reason\"}'
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/users/USERNAME/suspended \\\n -d '{\"reason\":\"reason\"}'", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/users/USERNAME/suspended \\\n  -d '{\"reason\":\"reason\"}'
    " }, { "lang": "JavaScript", @@ -77994,7 +78371,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "descriptionHTML": "

    If your GitHub instance uses LDAP Sync with Active Directory LDAP servers, this API is disabled and will return a 403 response. Active Directory LDAP-authenticated users cannot be unsuspended using the API.

    ", @@ -78013,13 +78390,13 @@ { "verb": "get", "requestPath": "/zen", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/zen", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/zen
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/zen", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/zen
    " }, { "lang": "JavaScript", diff --git a/lib/rest/static/decorated/ghes-3.0.json b/lib/rest/static/decorated/ghes-3.0.json index 1bf6c63efc..6a0e7a1aee 100644 --- a/lib/rest/static/decorated/ghes-3.0.json +++ b/lib/rest/static/decorated/ghes-3.0.json @@ -2,13 +2,13 @@ { "verb": "get", "requestPath": "/", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/
    " }, { "lang": "JavaScript", @@ -45,7 +45,7 @@ { "verb": "get", "requestPath": "/admin/hooks", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "accept", @@ -82,8 +82,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.superpro-preview+json\" \\\n https://api.github.com/admin/hooks", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.superpro-preview+json\" \\\n  https://api.github.com/admin/hooks
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.superpro-preview+json\" \\\n http(s)://{hostname}/api/v3/admin/hooks", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.superpro-preview+json\" \\\n  http(s)://{hostname}/api/v3/admin/hooks
    " }, { "lang": "JavaScript", @@ -135,7 +135,7 @@ { "verb": "post", "requestPath": "/admin/hooks", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "accept", @@ -152,8 +152,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.superpro-preview+json\" \\\n https://api.github.com/admin/hooks \\\n -d '{\"name\":\"name\",\"config\":{\"url\":\"url\",\"content_type\":\"content_type\",\"secret\":\"secret\",\"insecure_ssl\":\"insecure_ssl\"}}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.superpro-preview+json\" \\\n  https://api.github.com/admin/hooks \\\n  -d '{\"name\":\"name\",\"config\":{\"url\":\"url\",\"content_type\":\"content_type\",\"secret\":\"secret\",\"insecure_ssl\":\"insecure_ssl\"}}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.superpro-preview+json\" \\\n http(s)://{hostname}/api/v3/admin/hooks \\\n -d '{\"name\":\"name\",\"config\":{\"url\":\"url\",\"content_type\":\"content_type\",\"secret\":\"secret\",\"insecure_ssl\":\"insecure_ssl\"}}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.superpro-preview+json\" \\\n  http(s)://{hostname}/api/v3/admin/hooks \\\n  -d '{\"name\":\"name\",\"config\":{\"url\":\"url\",\"content_type\":\"content_type\",\"secret\":\"secret\",\"insecure_ssl\":\"insecure_ssl\"}}'
    " }, { "lang": "JavaScript", @@ -483,7 +483,7 @@ { "verb": "get", "requestPath": "/admin/hooks/{hook_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "accept", @@ -509,8 +509,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.superpro-preview+json\" \\\n https://api.github.com/admin/hooks/42", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.superpro-preview+json\" \\\n  https://api.github.com/admin/hooks/42
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.superpro-preview+json\" \\\n http(s)://{hostname}/api/v3/admin/hooks/42", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.superpro-preview+json\" \\\n  http(s)://{hostname}/api/v3/admin/hooks/42
    " }, { "lang": "JavaScript", @@ -562,7 +562,7 @@ { "verb": "patch", "requestPath": "/admin/hooks/{hook_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "accept", @@ -588,8 +588,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.superpro-preview+json\" \\\n https://api.github.com/admin/hooks/42 \\\n -d '{\"config\":{\"url\":\"url\",\"content_type\":\"content_type\",\"secret\":\"secret\",\"insecure_ssl\":\"insecure_ssl\"}}'", - "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.superpro-preview+json\" \\\n  https://api.github.com/admin/hooks/42 \\\n  -d '{\"config\":{\"url\":\"url\",\"content_type\":\"content_type\",\"secret\":\"secret\",\"insecure_ssl\":\"insecure_ssl\"}}'
    " + "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.superpro-preview+json\" \\\n http(s)://{hostname}/api/v3/admin/hooks/42 \\\n -d '{\"config\":{\"url\":\"url\",\"content_type\":\"content_type\",\"secret\":\"secret\",\"insecure_ssl\":\"insecure_ssl\"}}'", + "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.superpro-preview+json\" \\\n  http(s)://{hostname}/api/v3/admin/hooks/42 \\\n  -d '{\"config\":{\"url\":\"url\",\"content_type\":\"content_type\",\"secret\":\"secret\",\"insecure_ssl\":\"insecure_ssl\"}}'
    " }, { "lang": "JavaScript", @@ -893,7 +893,7 @@ { "verb": "delete", "requestPath": "/admin/hooks/{hook_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "accept", @@ -919,8 +919,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.superpro-preview+json\" \\\n https://api.github.com/admin/hooks/42", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.superpro-preview+json\" \\\n  https://api.github.com/admin/hooks/42
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.superpro-preview+json\" \\\n http(s)://{hostname}/api/v3/admin/hooks/42", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.superpro-preview+json\" \\\n  http(s)://{hostname}/api/v3/admin/hooks/42
    " }, { "lang": "JavaScript", @@ -962,7 +962,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "bodyParameters": [], @@ -971,7 +971,7 @@ { "verb": "post", "requestPath": "/admin/hooks/{hook_id}/pings", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "accept", @@ -997,8 +997,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.superpro-preview+json\" \\\n https://api.github.com/admin/hooks/42/pings", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.superpro-preview+json\" \\\n  https://api.github.com/admin/hooks/42/pings
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.superpro-preview+json\" \\\n http(s)://{hostname}/api/v3/admin/hooks/42/pings", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.superpro-preview+json\" \\\n  http(s)://{hostname}/api/v3/admin/hooks/42/pings
    " }, { "lang": "JavaScript", @@ -1040,7 +1040,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "bodyParameters": [], @@ -1049,7 +1049,7 @@ { "verb": "get", "requestPath": "/admin/keys", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "per_page", @@ -1070,13 +1070,53 @@ "default": 1 }, "descriptionHTML": "

    Page number of the results to fetch.

    " + }, + { + "name": "direction", + "description": "One of `asc` (ascending) or `desc` (descending).", + "in": "query", + "required": false, + "schema": { + "type": "string", + "enum": [ + "asc", + "desc" + ], + "default": "desc" + }, + "descriptionHTML": "

    One of asc (ascending) or desc (descending).

    " + }, + { + "name": "sort", + "in": "query", + "required": false, + "schema": { + "type": "string", + "enum": [ + "created", + "updated", + "accessed" + ], + "default": "created" + }, + "descriptionHTML": "" + }, + { + "name": "since", + "description": "Only show public keys accessed after the given time.", + "in": "query", + "required": false, + "schema": { + "type": "string" + }, + "descriptionHTML": "

    Only show public keys accessed after the given time.

    " } ], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/admin/keys", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/admin/keys
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/admin/keys", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/admin/keys
    " }, { "lang": "JavaScript", @@ -1121,7 +1161,7 @@ { "verb": "delete", "requestPath": "/admin/keys/{key_ids}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "key_ids", @@ -1136,8 +1176,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/admin/keys/KEY_IDS", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/admin/keys/KEY_IDS
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/admin/keys/KEY_IDS", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/admin/keys/KEY_IDS
    " }, { "lang": "JavaScript", @@ -1172,7 +1212,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "bodyParameters": [], @@ -1181,7 +1221,7 @@ { "verb": "patch", "requestPath": "/admin/ldap/teams/{team_id}/mapping", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "team_id", @@ -1196,8 +1236,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/admin/ldap/teams/42/mapping \\\n -d '{\"ldap_dn\":\"ldap_dn\"}'", - "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/admin/ldap/teams/42/mapping \\\n  -d '{\"ldap_dn\":\"ldap_dn\"}'
    " + "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/admin/ldap/teams/42/mapping \\\n -d '{\"ldap_dn\":\"ldap_dn\"}'", + "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/admin/ldap/teams/42/mapping \\\n  -d '{\"ldap_dn\":\"ldap_dn\"}'
    " }, { "lang": "JavaScript", @@ -1282,7 +1322,7 @@ { "verb": "post", "requestPath": "/admin/ldap/teams/{team_id}/sync", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "team_id", @@ -1297,8 +1337,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/admin/ldap/teams/42/sync", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/admin/ldap/teams/42/sync
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/admin/ldap/teams/42/sync", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/admin/ldap/teams/42/sync
    " }, { "lang": "JavaScript", @@ -1343,7 +1383,7 @@ { "verb": "patch", "requestPath": "/admin/ldap/users/{username}/mapping", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "username", @@ -1358,8 +1398,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/admin/ldap/users/USERNAME/mapping \\\n -d '{\"ldap_dn\":\"ldap_dn\"}'", - "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/admin/ldap/users/USERNAME/mapping \\\n  -d '{\"ldap_dn\":\"ldap_dn\"}'
    " + "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/admin/ldap/users/USERNAME/mapping \\\n -d '{\"ldap_dn\":\"ldap_dn\"}'", + "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/admin/ldap/users/USERNAME/mapping \\\n  -d '{\"ldap_dn\":\"ldap_dn\"}'
    " }, { "lang": "JavaScript", @@ -1437,7 +1477,7 @@ { "verb": "post", "requestPath": "/admin/ldap/users/{username}/sync", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "username", @@ -1452,8 +1492,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/admin/ldap/users/USERNAME/sync", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/admin/ldap/users/USERNAME/sync
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/admin/ldap/users/USERNAME/sync", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/admin/ldap/users/USERNAME/sync
    " }, { "lang": "JavaScript", @@ -1498,13 +1538,13 @@ { "verb": "post", "requestPath": "/admin/organizations", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/admin/organizations \\\n -d '{\"login\":\"login\",\"admin\":\"admin\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/admin/organizations \\\n  -d '{\"login\":\"login\",\"admin\":\"admin\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/admin/organizations \\\n -d '{\"login\":\"login\",\"admin\":\"admin\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/admin/organizations \\\n  -d '{\"login\":\"login\",\"admin\":\"admin\"}'
    " }, { "lang": "JavaScript", @@ -1624,7 +1664,7 @@ { "verb": "patch", "requestPath": "/admin/organizations/{org}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "org", @@ -1639,8 +1679,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/admin/organizations/ORG \\\n -d '{\"login\":\"login\"}'", - "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/admin/organizations/ORG \\\n  -d '{\"login\":\"login\"}'
    " + "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/admin/organizations/ORG \\\n -d '{\"login\":\"login\"}'", + "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/admin/organizations/ORG \\\n  -d '{\"login\":\"login\"}'
    " }, { "lang": "JavaScript", @@ -1721,7 +1761,7 @@ { "verb": "get", "requestPath": "/admin/pre-receive-environments", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "per_page", @@ -1742,13 +1782,43 @@ "default": 1 }, "descriptionHTML": "

    Page number of the results to fetch.

    " + }, + { + "name": "direction", + "description": "One of `asc` (ascending) or `desc` (descending).", + "in": "query", + "required": false, + "schema": { + "type": "string", + "enum": [ + "asc", + "desc" + ], + "default": "desc" + }, + "descriptionHTML": "

    One of asc (ascending) or desc (descending).

    " + }, + { + "name": "sort", + "in": "query", + "required": false, + "schema": { + "type": "string", + "enum": [ + "created", + "updated", + "name" + ], + "default": "created" + }, + "descriptionHTML": "" } ], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n https://api.github.com/admin/pre-receive-environments", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n  https://api.github.com/admin/pre-receive-environments
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n http(s)://{hostname}/api/v3/admin/pre-receive-environments", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n  http(s)://{hostname}/api/v3/admin/pre-receive-environments
    " }, { "lang": "JavaScript", @@ -1800,13 +1870,13 @@ { "verb": "post", "requestPath": "/admin/pre-receive-environments", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n https://api.github.com/admin/pre-receive-environments \\\n -d '{\"name\":\"name\",\"image_url\":\"image_url\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n  https://api.github.com/admin/pre-receive-environments \\\n  -d '{\"name\":\"name\",\"image_url\":\"image_url\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n http(s)://{hostname}/api/v3/admin/pre-receive-environments \\\n -d '{\"name\":\"name\",\"image_url\":\"image_url\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n  http(s)://{hostname}/api/v3/admin/pre-receive-environments \\\n  -d '{\"name\":\"name\",\"image_url\":\"image_url\"}'
    " }, { "lang": "JavaScript", @@ -1914,7 +1984,7 @@ { "verb": "get", "requestPath": "/admin/pre-receive-environments/{pre_receive_environment_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "pre_receive_environment_id", @@ -1929,8 +1999,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n https://api.github.com/admin/pre-receive-environments/42", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n  https://api.github.com/admin/pre-receive-environments/42
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n http(s)://{hostname}/api/v3/admin/pre-receive-environments/42", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n  http(s)://{hostname}/api/v3/admin/pre-receive-environments/42
    " }, { "lang": "JavaScript", @@ -1982,7 +2052,7 @@ { "verb": "patch", "requestPath": "/admin/pre-receive-environments/{pre_receive_environment_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "pre_receive_environment_id", @@ -1997,8 +2067,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n https://api.github.com/admin/pre-receive-environments/42 \\\n -d '{\"name\":\"name\"}'", - "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n  https://api.github.com/admin/pre-receive-environments/42 \\\n  -d '{\"name\":\"name\"}'
    " + "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n http(s)://{hostname}/api/v3/admin/pre-receive-environments/42 \\\n -d '{\"name\":\"name\"}'", + "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n  http(s)://{hostname}/api/v3/admin/pre-receive-environments/42 \\\n  -d '{\"name\":\"name\"}'
    " }, { "lang": "JavaScript", @@ -2104,7 +2174,7 @@ { "verb": "delete", "requestPath": "/admin/pre-receive-environments/{pre_receive_environment_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "pre_receive_environment_id", @@ -2119,8 +2189,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n https://api.github.com/admin/pre-receive-environments/42", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n  https://api.github.com/admin/pre-receive-environments/42
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n http(s)://{hostname}/api/v3/admin/pre-receive-environments/42", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n  http(s)://{hostname}/api/v3/admin/pre-receive-environments/42
    " }, { "lang": "JavaScript", @@ -2164,7 +2234,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "422", @@ -2177,7 +2247,7 @@ { "verb": "post", "requestPath": "/admin/pre-receive-environments/{pre_receive_environment_id}/downloads", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "pre_receive_environment_id", @@ -2192,8 +2262,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n https://api.github.com/admin/pre-receive-environments/42/downloads", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n  https://api.github.com/admin/pre-receive-environments/42/downloads
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n http(s)://{hostname}/api/v3/admin/pre-receive-environments/42/downloads", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n  http(s)://{hostname}/api/v3/admin/pre-receive-environments/42/downloads
    " }, { "lang": "JavaScript", @@ -2251,7 +2321,7 @@ { "verb": "get", "requestPath": "/admin/pre-receive-environments/{pre_receive_environment_id}/downloads/latest", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "pre_receive_environment_id", @@ -2266,8 +2336,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n https://api.github.com/admin/pre-receive-environments/42/downloads/latest", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n  https://api.github.com/admin/pre-receive-environments/42/downloads/latest
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n http(s)://{hostname}/api/v3/admin/pre-receive-environments/42/downloads/latest", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n  http(s)://{hostname}/api/v3/admin/pre-receive-environments/42/downloads/latest
    " }, { "lang": "JavaScript", @@ -2319,7 +2389,7 @@ { "verb": "get", "requestPath": "/admin/pre-receive-hooks", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "per_page", @@ -2340,13 +2410,44 @@ "default": 1 }, "descriptionHTML": "

    Page number of the results to fetch.

    " + }, + { + "name": "direction", + "description": "One of `asc` (ascending) or `desc` (descending).", + "in": "query", + "required": false, + "schema": { + "type": "string", + "enum": [ + "asc", + "desc" + ], + "default": "desc" + }, + "descriptionHTML": "

    One of asc (ascending) or desc (descending).

    " + }, + { + "name": "sort", + "description": "One of `created` (when the repository was starred) or `updated` (when it was last pushed to) or `name`.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "enum": [ + "created", + "updated", + "name" + ], + "default": "created" + }, + "descriptionHTML": "

    One of created (when the repository was starred) or updated (when it was last pushed to) or name.

    " } ], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n https://api.github.com/admin/pre-receive-hooks", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n  https://api.github.com/admin/pre-receive-hooks
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n http(s)://{hostname}/api/v3/admin/pre-receive-hooks", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n  http(s)://{hostname}/api/v3/admin/pre-receive-hooks
    " }, { "lang": "JavaScript", @@ -2398,13 +2499,13 @@ { "verb": "post", "requestPath": "/admin/pre-receive-hooks", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n https://api.github.com/admin/pre-receive-hooks \\\n -d '{\"name\":\"name\",\"script\":\"script\",\"script_repository\":{},\"environment\":{}}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n  https://api.github.com/admin/pre-receive-hooks \\\n  -d '{\"name\":\"name\",\"script\":\"script\",\"script_repository\":{},\"environment\":{}}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n http(s)://{hostname}/api/v3/admin/pre-receive-hooks \\\n -d '{\"name\":\"name\",\"script\":\"script\",\"script_repository\":{},\"environment\":{}}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n  http(s)://{hostname}/api/v3/admin/pre-receive-hooks \\\n  -d '{\"name\":\"name\",\"script\":\"script\",\"script_repository\":{},\"environment\":{}}'
    " }, { "lang": "JavaScript", @@ -2602,7 +2703,7 @@ { "verb": "get", "requestPath": "/admin/pre-receive-hooks/{pre_receive_hook_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "pre_receive_hook_id", @@ -2617,8 +2718,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n https://api.github.com/admin/pre-receive-hooks/42", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n  https://api.github.com/admin/pre-receive-hooks/42
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n http(s)://{hostname}/api/v3/admin/pre-receive-hooks/42", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n  http(s)://{hostname}/api/v3/admin/pre-receive-hooks/42
    " }, { "lang": "JavaScript", @@ -2670,7 +2771,7 @@ { "verb": "patch", "requestPath": "/admin/pre-receive-hooks/{pre_receive_hook_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "pre_receive_hook_id", @@ -2685,8 +2786,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n https://api.github.com/admin/pre-receive-hooks/42 \\\n -d '{\"name\":\"name\"}'", - "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n  https://api.github.com/admin/pre-receive-hooks/42 \\\n  -d '{\"name\":\"name\"}'
    " + "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n http(s)://{hostname}/api/v3/admin/pre-receive-hooks/42 \\\n -d '{\"name\":\"name\"}'", + "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n  http(s)://{hostname}/api/v3/admin/pre-receive-hooks/42 \\\n  -d '{\"name\":\"name\"}'
    " }, { "lang": "JavaScript", @@ -2873,7 +2974,7 @@ { "verb": "delete", "requestPath": "/admin/pre-receive-hooks/{pre_receive_hook_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "pre_receive_hook_id", @@ -2888,8 +2989,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n https://api.github.com/admin/pre-receive-hooks/42", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n  https://api.github.com/admin/pre-receive-hooks/42
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n http(s)://{hostname}/api/v3/admin/pre-receive-hooks/42", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n  http(s)://{hostname}/api/v3/admin/pre-receive-hooks/42
    " }, { "lang": "JavaScript", @@ -2931,7 +3032,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "bodyParameters": [], @@ -2940,7 +3041,7 @@ { "verb": "get", "requestPath": "/admin/tokens", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "per_page", @@ -2966,8 +3067,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/admin/tokens", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/admin/tokens
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/admin/tokens", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/admin/tokens
    " }, { "lang": "JavaScript", @@ -3012,7 +3113,7 @@ { "verb": "delete", "requestPath": "/admin/tokens/{token_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "token_id", @@ -3027,8 +3128,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/admin/tokens/42", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/admin/tokens/42
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/admin/tokens/42", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/admin/tokens/42
    " }, { "lang": "JavaScript", @@ -3063,7 +3164,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "bodyParameters": [], @@ -3072,13 +3173,13 @@ { "verb": "post", "requestPath": "/admin/users", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/admin/users \\\n -d '{\"login\":\"login\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/admin/users \\\n  -d '{\"login\":\"login\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/admin/users \\\n -d '{\"login\":\"login\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/admin/users \\\n  -d '{\"login\":\"login\"}'
    " }, { "lang": "JavaScript", @@ -3178,7 +3279,7 @@ { "verb": "patch", "requestPath": "/admin/users/{username}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "username", @@ -3193,8 +3294,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/admin/users/USERNAME \\\n -d '{\"login\":\"login\"}'", - "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/admin/users/USERNAME \\\n  -d '{\"login\":\"login\"}'
    " + "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/admin/users/USERNAME \\\n -d '{\"login\":\"login\"}'", + "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/admin/users/USERNAME \\\n  -d '{\"login\":\"login\"}'
    " }, { "lang": "JavaScript", @@ -3275,7 +3376,7 @@ { "verb": "delete", "requestPath": "/admin/users/{username}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "username", @@ -3290,8 +3391,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/admin/users/USERNAME", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/admin/users/USERNAME
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/admin/users/USERNAME", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/admin/users/USERNAME
    " }, { "lang": "JavaScript", @@ -3326,7 +3427,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "bodyParameters": [], @@ -3335,7 +3436,7 @@ { "verb": "post", "requestPath": "/admin/users/{username}/authorizations", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "username", @@ -3350,8 +3451,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/admin/users/USERNAME/authorizations \\\n -d '{\"scopes\":[\"scopes\"]}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/admin/users/USERNAME/authorizations \\\n  -d '{\"scopes\":[\"scopes\"]}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/admin/users/USERNAME/authorizations \\\n -d '{\"scopes\":[\"scopes\"]}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/admin/users/USERNAME/authorizations \\\n  -d '{\"scopes\":[\"scopes\"]}'
    " }, { "lang": "JavaScript", @@ -3432,7 +3533,7 @@ { "verb": "delete", "requestPath": "/admin/users/{username}/authorizations", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "username", @@ -3447,8 +3548,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/admin/users/USERNAME/authorizations", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/admin/users/USERNAME/authorizations
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/admin/users/USERNAME/authorizations", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/admin/users/USERNAME/authorizations
    " }, { "lang": "JavaScript", @@ -3483,7 +3584,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "bodyParameters": [], @@ -3492,13 +3593,13 @@ { "verb": "get", "requestPath": "/app", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/app", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/app
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/app", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/app
    " }, { "lang": "JavaScript", @@ -3541,7 +3642,7 @@ { "verb": "post", "requestPath": "/app-manifests/{code}/conversions", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "code", @@ -3556,8 +3657,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/app-manifests/CODE/conversions", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/app-manifests/CODE/conversions
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/app-manifests/CODE/conversions", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/app-manifests/CODE/conversions
    " }, { "lang": "JavaScript", @@ -3610,13 +3711,13 @@ { "verb": "get", "requestPath": "/app/hook/config", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/app/hook/config", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/app/hook/config
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/app/hook/config", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/app/hook/config
    " }, { "lang": "JavaScript", @@ -3661,13 +3762,13 @@ { "verb": "patch", "requestPath": "/app/hook/config", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/app/hook/config \\\n -d '{\"url\":\"url\"}'", - "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/app/hook/config \\\n  -d '{\"url\":\"url\"}'
    " + "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/app/hook/config \\\n -d '{\"url\":\"url\"}'", + "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/app/hook/config \\\n  -d '{\"url\":\"url\"}'
    " }, { "lang": "JavaScript", @@ -3812,7 +3913,7 @@ { "verb": "get", "requestPath": "/app/installations", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "per_page", @@ -3857,8 +3958,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/app/installations", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/app/installations
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/app/installations", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/app/installations
    " }, { "lang": "JavaScript", @@ -3901,7 +4002,7 @@ { "verb": "get", "requestPath": "/app/installations/{installation_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "installation_id", @@ -3917,8 +4018,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/app/installations/42", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/app/installations/42
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/app/installations/42", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/app/installations/42
    " }, { "lang": "JavaScript", @@ -3971,7 +4072,7 @@ { "verb": "delete", "requestPath": "/app/installations/{installation_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "installation_id", @@ -3987,8 +4088,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/app/installations/42", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/app/installations/42
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/app/installations/42", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/app/installations/42
    " }, { "lang": "JavaScript", @@ -4021,7 +4122,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "404", @@ -4035,7 +4136,7 @@ { "verb": "post", "requestPath": "/app/installations/{installation_id}/access_tokens", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "installation_id", @@ -4051,8 +4152,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/app/installations/42/access_tokens \\\n -d '{\"repositories\":[\"repositories\"]}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/app/installations/42/access_tokens \\\n  -d '{\"repositories\":[\"repositories\"]}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/app/installations/42/access_tokens \\\n -d '{\"repositories\":[\"repositories\"]}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/app/installations/42/access_tokens \\\n  -d '{\"repositories\":[\"repositories\"]}'
    " }, { "lang": "JavaScript", @@ -5796,7 +5897,7 @@ { "verb": "put", "requestPath": "/app/installations/{installation_id}/suspended", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "installation_id", @@ -5812,8 +5913,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/app/installations/42/suspended", - "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/app/installations/42/suspended
    " + "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/app/installations/42/suspended", + "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/app/installations/42/suspended
    " }, { "lang": "JavaScript", @@ -5846,7 +5947,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "404", @@ -5860,7 +5961,7 @@ { "verb": "delete", "requestPath": "/app/installations/{installation_id}/suspended", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "installation_id", @@ -5876,8 +5977,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/app/installations/42/suspended", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/app/installations/42/suspended
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/app/installations/42/suspended", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/app/installations/42/suspended
    " }, { "lang": "JavaScript", @@ -5910,7 +6011,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "404", @@ -5924,7 +6025,7 @@ { "verb": "get", "requestPath": "/applications/grants", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "per_page", @@ -5945,13 +6046,23 @@ "default": 1 }, "descriptionHTML": "

    Page number of the results to fetch.

    " + }, + { + "name": "client_id", + "in": "query", + "required": false, + "description": "The client ID of your GitHub app.", + "schema": { + "type": "string" + }, + "descriptionHTML": "

    The client ID of your GitHub app.

    " } ], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/applications/grants", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/applications/grants
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/applications/grants", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/applications/grants
    " }, { "lang": "JavaScript", @@ -6017,7 +6128,7 @@ { "verb": "get", "requestPath": "/applications/grants/{grant_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "grant_id", @@ -6033,8 +6144,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/applications/grants/42", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/applications/grants/42
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/applications/grants/42", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/applications/grants/42
    " }, { "lang": "JavaScript", @@ -6095,7 +6206,7 @@ { "verb": "delete", "requestPath": "/applications/grants/{grant_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "grant_id", @@ -6111,8 +6222,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/applications/grants/42", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/applications/grants/42
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/applications/grants/42", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/applications/grants/42
    " }, { "lang": "JavaScript", @@ -6148,7 +6259,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "304", @@ -6172,7 +6283,7 @@ { "verb": "delete", "requestPath": "/applications/{client_id}/grant", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "client_id", @@ -6188,8 +6299,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/applications/CLIENT_ID/grant \\\n -d '{\"access_token\":\"access_token\"}'", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/applications/CLIENT_ID/grant \\\n  -d '{\"access_token\":\"access_token\"}'
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/applications/CLIENT_ID/grant \\\n -d '{\"access_token\":\"access_token\"}'", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/applications/CLIENT_ID/grant \\\n  -d '{\"access_token\":\"access_token\"}'
    " }, { "lang": "JavaScript", @@ -6247,7 +6358,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "422", @@ -6271,7 +6382,7 @@ { "verb": "delete", "requestPath": "/applications/{client_id}/grants/{access_token}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "client_id", @@ -6296,8 +6407,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/applications/CLIENT_ID/grants/ACCESS_TOKEN", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/applications/CLIENT_ID/grants/ACCESS_TOKEN
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/applications/CLIENT_ID/grants/ACCESS_TOKEN", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/applications/CLIENT_ID/grants/ACCESS_TOKEN
    " }, { "lang": "JavaScript", @@ -6335,7 +6446,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "bodyParameters": [], @@ -6344,7 +6455,7 @@ { "verb": "post", "requestPath": "/applications/{client_id}/token", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "client_id", @@ -6360,8 +6471,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/applications/CLIENT_ID/token \\\n -d '{\"access_token\":\"access_token\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/applications/CLIENT_ID/token \\\n  -d '{\"access_token\":\"access_token\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/applications/CLIENT_ID/token \\\n -d '{\"access_token\":\"access_token\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/applications/CLIENT_ID/token \\\n  -d '{\"access_token\":\"access_token\"}'
    " }, { "lang": "JavaScript", @@ -6449,7 +6560,7 @@ { "verb": "patch", "requestPath": "/applications/{client_id}/token", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "client_id", @@ -6465,8 +6576,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/applications/CLIENT_ID/token \\\n -d '{\"access_token\":\"access_token\"}'", - "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/applications/CLIENT_ID/token \\\n  -d '{\"access_token\":\"access_token\"}'
    " + "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/applications/CLIENT_ID/token \\\n -d '{\"access_token\":\"access_token\"}'", + "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/applications/CLIENT_ID/token \\\n  -d '{\"access_token\":\"access_token\"}'
    " }, { "lang": "JavaScript", @@ -6549,7 +6660,7 @@ { "verb": "delete", "requestPath": "/applications/{client_id}/token", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "client_id", @@ -6565,8 +6676,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/applications/CLIENT_ID/token \\\n -d '{\"access_token\":\"access_token\"}'", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/applications/CLIENT_ID/token \\\n  -d '{\"access_token\":\"access_token\"}'
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/applications/CLIENT_ID/token \\\n -d '{\"access_token\":\"access_token\"}'", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/applications/CLIENT_ID/token \\\n  -d '{\"access_token\":\"access_token\"}'
    " }, { "lang": "JavaScript", @@ -6627,7 +6738,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "422", @@ -6651,7 +6762,7 @@ { "verb": "post", "requestPath": "/applications/{client_id}/token/scoped", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "client_id", @@ -6667,8 +6778,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/applications/CLIENT_ID/token/scoped \\\n -d '{\"access_token\":\"access_token\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/applications/CLIENT_ID/token/scoped \\\n  -d '{\"access_token\":\"access_token\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/applications/CLIENT_ID/token/scoped \\\n -d '{\"access_token\":\"access_token\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/applications/CLIENT_ID/token/scoped \\\n  -d '{\"access_token\":\"access_token\"}'
    " }, { "lang": "JavaScript", @@ -8472,7 +8583,7 @@ { "verb": "get", "requestPath": "/applications/{client_id}/tokens/{access_token}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "client_id", @@ -8497,8 +8608,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/applications/CLIENT_ID/tokens/ACCESS_TOKEN", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/applications/CLIENT_ID/tokens/ACCESS_TOKEN
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/applications/CLIENT_ID/tokens/ACCESS_TOKEN", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/applications/CLIENT_ID/tokens/ACCESS_TOKEN
    " }, { "lang": "JavaScript", @@ -8551,7 +8662,7 @@ { "verb": "post", "requestPath": "/applications/{client_id}/tokens/{access_token}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "client_id", @@ -8576,8 +8687,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/applications/CLIENT_ID/tokens/ACCESS_TOKEN", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/applications/CLIENT_ID/tokens/ACCESS_TOKEN
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/applications/CLIENT_ID/tokens/ACCESS_TOKEN", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/applications/CLIENT_ID/tokens/ACCESS_TOKEN
    " }, { "lang": "JavaScript", @@ -8625,7 +8736,7 @@ { "verb": "delete", "requestPath": "/applications/{client_id}/tokens/{access_token}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "client_id", @@ -8650,8 +8761,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/applications/CLIENT_ID/tokens/ACCESS_TOKEN", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/applications/CLIENT_ID/tokens/ACCESS_TOKEN
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/applications/CLIENT_ID/tokens/ACCESS_TOKEN", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/applications/CLIENT_ID/tokens/ACCESS_TOKEN
    " }, { "lang": "JavaScript", @@ -8689,7 +8800,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "bodyParameters": [], @@ -8698,7 +8809,7 @@ { "verb": "get", "requestPath": "/apps/{app_slug}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "app_slug", @@ -8713,8 +8824,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/apps/APP_SLUG", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/apps/APP_SLUG
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/apps/APP_SLUG", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/apps/APP_SLUG
    " }, { "lang": "JavaScript", @@ -8772,7 +8883,7 @@ { "verb": "get", "requestPath": "/authorizations", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "per_page", @@ -8793,13 +8904,23 @@ "default": 1 }, "descriptionHTML": "

    Page number of the results to fetch.

    " + }, + { + "name": "client_id", + "in": "query", + "required": false, + "description": "The client ID of your GitHub app.", + "schema": { + "type": "string" + }, + "descriptionHTML": "

    The client ID of your GitHub app.

    " } ], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/authorizations", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/authorizations
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/authorizations", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/authorizations
    " }, { "lang": "JavaScript", @@ -8865,13 +8986,13 @@ { "verb": "post", "requestPath": "/authorizations", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/authorizations \\\n -d '{\"scopes\":[\"scopes\"]}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/authorizations \\\n  -d '{\"scopes\":[\"scopes\"]}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/authorizations \\\n -d '{\"scopes\":[\"scopes\"]}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/authorizations \\\n  -d '{\"scopes\":[\"scopes\"]}'
    " }, { "lang": "JavaScript", @@ -9084,7 +9205,7 @@ { "verb": "put", "requestPath": "/authorizations/clients/{client_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "client_id", @@ -9100,8 +9221,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/authorizations/clients/CLIENT_ID \\\n -d '{\"client_secret\":\"client_secret\"}'", - "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/authorizations/clients/CLIENT_ID \\\n  -d '{\"client_secret\":\"client_secret\"}'
    " + "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/authorizations/clients/CLIENT_ID \\\n -d '{\"client_secret\":\"client_secret\"}'", + "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/authorizations/clients/CLIENT_ID \\\n  -d '{\"client_secret\":\"client_secret\"}'
    " }, { "lang": "JavaScript", @@ -9298,7 +9419,7 @@ { "verb": "put", "requestPath": "/authorizations/clients/{client_id}/{fingerprint}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "client_id", @@ -9323,8 +9444,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/authorizations/clients/CLIENT_ID/FINGERPRINT \\\n -d '{\"client_secret\":\"client_secret\"}'", - "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/authorizations/clients/CLIENT_ID/FINGERPRINT \\\n  -d '{\"client_secret\":\"client_secret\"}'
    " + "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/authorizations/clients/CLIENT_ID/FINGERPRINT \\\n -d '{\"client_secret\":\"client_secret\"}'", + "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/authorizations/clients/CLIENT_ID/FINGERPRINT \\\n  -d '{\"client_secret\":\"client_secret\"}'
    " }, { "lang": "JavaScript", @@ -9488,7 +9609,7 @@ { "verb": "get", "requestPath": "/authorizations/{authorization_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "authorization_id", @@ -9504,8 +9625,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/authorizations/42", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/authorizations/42
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/authorizations/42", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/authorizations/42
    " }, { "lang": "JavaScript", @@ -9566,7 +9687,7 @@ { "verb": "patch", "requestPath": "/authorizations/{authorization_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "authorization_id", @@ -9582,8 +9703,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/authorizations/42 \\\n -d '{\"scopes\":[\"scopes\"]}'", - "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/authorizations/42 \\\n  -d '{\"scopes\":[\"scopes\"]}'
    " + "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/authorizations/42 \\\n -d '{\"scopes\":[\"scopes\"]}'", + "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/authorizations/42 \\\n  -d '{\"scopes\":[\"scopes\"]}'
    " }, { "lang": "JavaScript", @@ -9784,7 +9905,7 @@ { "verb": "delete", "requestPath": "/authorizations/{authorization_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "authorization_id", @@ -9800,8 +9921,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/authorizations/42", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/authorizations/42
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/authorizations/42", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/authorizations/42
    " }, { "lang": "JavaScript", @@ -9837,7 +9958,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "304", @@ -9861,13 +9982,13 @@ { "verb": "get", "requestPath": "/codes_of_conduct", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.scarlet-witch-preview+json\" \\\n https://api.github.com/codes_of_conduct", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.scarlet-witch-preview+json\" \\\n  https://api.github.com/codes_of_conduct
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.scarlet-witch-preview+json\" \\\n http(s)://{hostname}/api/v3/codes_of_conduct", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.scarlet-witch-preview+json\" \\\n  http(s)://{hostname}/api/v3/codes_of_conduct
    " }, { "lang": "JavaScript", @@ -9927,7 +10048,7 @@ { "verb": "get", "requestPath": "/codes_of_conduct/{key}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "key", @@ -9942,8 +10063,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.scarlet-witch-preview+json\" \\\n https://api.github.com/codes_of_conduct/KEY", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.scarlet-witch-preview+json\" \\\n  https://api.github.com/codes_of_conduct/KEY
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.scarlet-witch-preview+json\" \\\n http(s)://{hostname}/api/v3/codes_of_conduct/KEY", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.scarlet-witch-preview+json\" \\\n  http(s)://{hostname}/api/v3/codes_of_conduct/KEY
    " }, { "lang": "JavaScript", @@ -10008,7 +10129,7 @@ { "verb": "post", "requestPath": "/content_references/{content_reference_id}/attachments", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "content_reference_id", @@ -10023,8 +10144,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.corsair-preview+json\" \\\n https://api.github.com/content_references/42/attachments \\\n -d '{\"title\":\"title\",\"body\":\"body\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.corsair-preview+json\" \\\n  https://api.github.com/content_references/42/attachments \\\n  -d '{\"title\":\"title\",\"body\":\"body\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.corsair-preview+json\" \\\n http(s)://{hostname}/api/v3/content_references/42/attachments \\\n -d '{\"title\":\"title\",\"body\":\"body\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.corsair-preview+json\" \\\n  http(s)://{hostname}/api/v3/content_references/42/attachments \\\n  -d '{\"title\":\"title\",\"body\":\"body\"}'
    " }, { "lang": "JavaScript", @@ -10166,13 +10287,13 @@ { "verb": "get", "requestPath": "/emojis", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/emojis", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/emojis
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/emojis", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/emojis
    " }, { "lang": "JavaScript", @@ -10219,13 +10340,13 @@ { "verb": "get", "requestPath": "/enterprise/announcement", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/enterprise/announcement", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/enterprise/announcement
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/enterprise/announcement", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/enterprise/announcement
    " }, { "lang": "JavaScript", @@ -10270,13 +10391,13 @@ { "verb": "patch", "requestPath": "/enterprise/announcement", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/enterprise/announcement \\\n -d '{\"announcement\":\"announcement\"}'", - "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/enterprise/announcement \\\n  -d '{\"announcement\":\"announcement\"}'
    " + "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/enterprise/announcement \\\n -d '{\"announcement\":\"announcement\"}'", + "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/enterprise/announcement \\\n  -d '{\"announcement\":\"announcement\"}'
    " }, { "lang": "JavaScript", @@ -10380,13 +10501,13 @@ { "verb": "delete", "requestPath": "/enterprise/announcement", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/enterprise/announcement", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/enterprise/announcement
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/enterprise/announcement", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/enterprise/announcement
    " }, { "lang": "JavaScript", @@ -10421,7 +10542,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "bodyParameters": [], @@ -10430,13 +10551,13 @@ { "verb": "get", "requestPath": "/enterprise/settings/license", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/enterprise/settings/license", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/enterprise/settings/license
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/enterprise/settings/license", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/enterprise/settings/license
    " }, { "lang": "JavaScript", @@ -10481,7 +10602,7 @@ { "verb": "get", "requestPath": "/enterprise/stats/{type}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "type", @@ -10496,8 +10617,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/enterprise/stats/TYPE", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/enterprise/stats/TYPE
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/enterprise/stats/TYPE", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/enterprise/stats/TYPE
    " }, { "lang": "JavaScript", @@ -10542,7 +10663,7 @@ { "verb": "get", "requestPath": "/enterprises/{enterprise}/actions/permissions", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "enterprise", @@ -10558,8 +10679,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/enterprises/ENTERPRISE/actions/permissions", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/enterprises/ENTERPRISE/actions/permissions
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/enterprises/ENTERPRISE/actions/permissions", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/enterprises/ENTERPRISE/actions/permissions
    " }, { "lang": "JavaScript", @@ -10604,7 +10725,7 @@ { "verb": "put", "requestPath": "/enterprises/{enterprise}/actions/permissions", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "enterprise", @@ -10620,8 +10741,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/enterprises/ENTERPRISE/actions/permissions \\\n -d '{\"enabled_organizations\":\"enabled_organizations\"}'", - "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/enterprises/ENTERPRISE/actions/permissions \\\n  -d '{\"enabled_organizations\":\"enabled_organizations\"}'
    " + "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/enterprises/ENTERPRISE/actions/permissions \\\n -d '{\"enabled_organizations\":\"enabled_organizations\"}'", + "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/enterprises/ENTERPRISE/actions/permissions \\\n  -d '{\"enabled_organizations\":\"enabled_organizations\"}'
    " }, { "lang": "JavaScript", @@ -10702,7 +10823,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "descriptionHTML": "

    Sets the GitHub Actions permissions policy for organizations and allowed actions in an enterprise.

    \n

    You must authenticate using an access token with the admin:enterprise scope to use this endpoint.

    ", @@ -10740,7 +10861,7 @@ { "verb": "get", "requestPath": "/enterprises/{enterprise}/actions/permissions/organizations", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "enterprise", @@ -10776,8 +10897,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/enterprises/ENTERPRISE/actions/permissions/organizations", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/enterprises/ENTERPRISE/actions/permissions/organizations
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/enterprises/ENTERPRISE/actions/permissions/organizations", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/enterprises/ENTERPRISE/actions/permissions/organizations
    " }, { "lang": "JavaScript", @@ -10822,7 +10943,7 @@ { "verb": "put", "requestPath": "/enterprises/{enterprise}/actions/permissions/organizations", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "enterprise", @@ -10838,8 +10959,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/enterprises/ENTERPRISE/actions/permissions/organizations \\\n -d '{\"selected_organization_ids\":[42]}'", - "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/enterprises/ENTERPRISE/actions/permissions/organizations \\\n  -d '{\"selected_organization_ids\":[42]}'
    " + "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/enterprises/ENTERPRISE/actions/permissions/organizations \\\n -d '{\"selected_organization_ids\":[42]}'", + "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/enterprises/ENTERPRISE/actions/permissions/organizations \\\n  -d '{\"selected_organization_ids\":[42]}'
    " }, { "lang": "JavaScript", @@ -10907,7 +11028,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "descriptionHTML": "

    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.\"

    \n

    You must authenticate using an access token with the admin:enterprise scope to use this endpoint.

    ", @@ -10930,7 +11051,7 @@ { "verb": "put", "requestPath": "/enterprises/{enterprise}/actions/permissions/organizations/{org_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "enterprise", @@ -10956,8 +11077,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/enterprises/ENTERPRISE/actions/permissions/organizations/42", - "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/enterprises/ENTERPRISE/actions/permissions/organizations/42
    " + "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/enterprises/ENTERPRISE/actions/permissions/organizations/42", + "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/enterprises/ENTERPRISE/actions/permissions/organizations/42
    " }, { "lang": "JavaScript", @@ -10992,7 +11113,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "bodyParameters": [], @@ -11001,7 +11122,7 @@ { "verb": "delete", "requestPath": "/enterprises/{enterprise}/actions/permissions/organizations/{org_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "enterprise", @@ -11027,8 +11148,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/enterprises/ENTERPRISE/actions/permissions/organizations/42", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/enterprises/ENTERPRISE/actions/permissions/organizations/42
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/enterprises/ENTERPRISE/actions/permissions/organizations/42", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/enterprises/ENTERPRISE/actions/permissions/organizations/42
    " }, { "lang": "JavaScript", @@ -11063,7 +11184,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "bodyParameters": [], @@ -11072,7 +11193,7 @@ { "verb": "get", "requestPath": "/enterprises/{enterprise}/actions/permissions/selected-actions", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "enterprise", @@ -11088,8 +11209,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/enterprises/ENTERPRISE/actions/permissions/selected-actions", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/enterprises/ENTERPRISE/actions/permissions/selected-actions
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/enterprises/ENTERPRISE/actions/permissions/selected-actions", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/enterprises/ENTERPRISE/actions/permissions/selected-actions
    " }, { "lang": "JavaScript", @@ -11134,7 +11255,7 @@ { "verb": "put", "requestPath": "/enterprises/{enterprise}/actions/permissions/selected-actions", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "enterprise", @@ -11150,8 +11271,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/enterprises/ENTERPRISE/actions/permissions/selected-actions \\\n -d '{\"github_owned_allowed\":true,\"patterns_allowed\":[\"patterns_allowed\"]}'", - "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/enterprises/ENTERPRISE/actions/permissions/selected-actions \\\n  -d '{\"github_owned_allowed\":true,\"patterns_allowed\":[\"patterns_allowed\"]}'
    " + "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/enterprises/ENTERPRISE/actions/permissions/selected-actions \\\n -d '{\"github_owned_allowed\":true,\"patterns_allowed\":[\"patterns_allowed\"]}'", + "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/enterprises/ENTERPRISE/actions/permissions/selected-actions \\\n  -d '{\"github_owned_allowed\":true,\"patterns_allowed\":[\"patterns_allowed\"]}'
    " }, { "lang": "JavaScript", @@ -11234,7 +11355,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "descriptionHTML": "

    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.\"

    \n

    You must authenticate using an access token with the admin:enterprise scope to use this endpoint.

    ", @@ -11265,7 +11386,7 @@ { "verb": "get", "requestPath": "/enterprises/{enterprise}/actions/runner-groups", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "enterprise", @@ -11301,8 +11422,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/enterprises/ENTERPRISE/actions/runner-groups", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/enterprises/ENTERPRISE/actions/runner-groups
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/enterprises/ENTERPRISE/actions/runner-groups", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/enterprises/ENTERPRISE/actions/runner-groups
    " }, { "lang": "JavaScript", @@ -11347,7 +11468,7 @@ { "verb": "post", "requestPath": "/enterprises/{enterprise}/actions/runner-groups", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "enterprise", @@ -11363,8 +11484,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/enterprises/ENTERPRISE/actions/runner-groups \\\n -d '{\"name\":\"name\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/enterprises/ENTERPRISE/actions/runner-groups \\\n  -d '{\"name\":\"name\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/enterprises/ENTERPRISE/actions/runner-groups \\\n -d '{\"name\":\"name\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/enterprises/ENTERPRISE/actions/runner-groups \\\n  -d '{\"name\":\"name\"}'
    " }, { "lang": "JavaScript", @@ -11532,7 +11653,7 @@ { "verb": "get", "requestPath": "/enterprises/{enterprise}/actions/runner-groups/{runner_group_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "enterprise", @@ -11558,8 +11679,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/enterprises/ENTERPRISE/actions/runner-groups/42", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/enterprises/ENTERPRISE/actions/runner-groups/42
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/enterprises/ENTERPRISE/actions/runner-groups/42", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/enterprises/ENTERPRISE/actions/runner-groups/42
    " }, { "lang": "JavaScript", @@ -11604,7 +11725,7 @@ { "verb": "patch", "requestPath": "/enterprises/{enterprise}/actions/runner-groups/{runner_group_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "enterprise", @@ -11630,8 +11751,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/enterprises/ENTERPRISE/actions/runner-groups/42 \\\n -d '{\"name\":\"name\"}'", - "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/enterprises/ENTERPRISE/actions/runner-groups/42 \\\n  -d '{\"name\":\"name\"}'
    " + "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/enterprises/ENTERPRISE/actions/runner-groups/42 \\\n -d '{\"name\":\"name\"}'", + "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/enterprises/ENTERPRISE/actions/runner-groups/42 \\\n  -d '{\"name\":\"name\"}'
    " }, { "lang": "JavaScript", @@ -11738,7 +11859,7 @@ { "verb": "delete", "requestPath": "/enterprises/{enterprise}/actions/runner-groups/{runner_group_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "enterprise", @@ -11764,8 +11885,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/enterprises/ENTERPRISE/actions/runner-groups/42", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/enterprises/ENTERPRISE/actions/runner-groups/42
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/enterprises/ENTERPRISE/actions/runner-groups/42", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/enterprises/ENTERPRISE/actions/runner-groups/42
    " }, { "lang": "JavaScript", @@ -11800,7 +11921,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "bodyParameters": [], @@ -11809,7 +11930,7 @@ { "verb": "get", "requestPath": "/enterprises/{enterprise}/actions/runner-groups/{runner_group_id}/organizations", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "enterprise", @@ -11855,8 +11976,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/enterprises/ENTERPRISE/actions/runner-groups/42/organizations", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/enterprises/ENTERPRISE/actions/runner-groups/42/organizations
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/enterprises/ENTERPRISE/actions/runner-groups/42/organizations", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/enterprises/ENTERPRISE/actions/runner-groups/42/organizations
    " }, { "lang": "JavaScript", @@ -11901,7 +12022,7 @@ { "verb": "put", "requestPath": "/enterprises/{enterprise}/actions/runner-groups/{runner_group_id}/organizations", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "enterprise", @@ -11927,8 +12048,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/enterprises/ENTERPRISE/actions/runner-groups/42/organizations \\\n -d '{\"selected_organization_ids\":[42]}'", - "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/enterprises/ENTERPRISE/actions/runner-groups/42/organizations \\\n  -d '{\"selected_organization_ids\":[42]}'
    " + "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/enterprises/ENTERPRISE/actions/runner-groups/42/organizations \\\n -d '{\"selected_organization_ids\":[42]}'", + "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/enterprises/ENTERPRISE/actions/runner-groups/42/organizations \\\n  -d '{\"selected_organization_ids\":[42]}'
    " }, { "lang": "JavaScript", @@ -11996,7 +12117,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "descriptionHTML": "

    Replaces the list of organizations that have access to a self-hosted runner configured in an enterprise.

    \n

    You must authenticate using an access token with the admin:enterprise scope to use this endpoint.

    ", @@ -12019,7 +12140,7 @@ { "verb": "put", "requestPath": "/enterprises/{enterprise}/actions/runner-groups/{runner_group_id}/organizations/{org_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "enterprise", @@ -12055,8 +12176,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/enterprises/ENTERPRISE/actions/runner-groups/42/organizations/42", - "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/enterprises/ENTERPRISE/actions/runner-groups/42/organizations/42
    " + "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/enterprises/ENTERPRISE/actions/runner-groups/42/organizations/42", + "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/enterprises/ENTERPRISE/actions/runner-groups/42/organizations/42
    " }, { "lang": "JavaScript", @@ -12091,7 +12212,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "bodyParameters": [], @@ -12100,7 +12221,7 @@ { "verb": "delete", "requestPath": "/enterprises/{enterprise}/actions/runner-groups/{runner_group_id}/organizations/{org_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "enterprise", @@ -12136,8 +12257,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/enterprises/ENTERPRISE/actions/runner-groups/42/organizations/42", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/enterprises/ENTERPRISE/actions/runner-groups/42/organizations/42
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/enterprises/ENTERPRISE/actions/runner-groups/42/organizations/42", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/enterprises/ENTERPRISE/actions/runner-groups/42/organizations/42
    " }, { "lang": "JavaScript", @@ -12172,7 +12293,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "bodyParameters": [], @@ -12181,7 +12302,7 @@ { "verb": "get", "requestPath": "/enterprises/{enterprise}/actions/runner-groups/{runner_group_id}/runners", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "enterprise", @@ -12227,8 +12348,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/enterprises/ENTERPRISE/actions/runner-groups/42/runners", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/enterprises/ENTERPRISE/actions/runner-groups/42/runners
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/enterprises/ENTERPRISE/actions/runner-groups/42/runners", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/enterprises/ENTERPRISE/actions/runner-groups/42/runners
    " }, { "lang": "JavaScript", @@ -12273,7 +12394,7 @@ { "verb": "put", "requestPath": "/enterprises/{enterprise}/actions/runner-groups/{runner_group_id}/runners", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "enterprise", @@ -12299,8 +12420,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/enterprises/ENTERPRISE/actions/runner-groups/42/runners \\\n -d '{\"runners\":[42]}'", - "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/enterprises/ENTERPRISE/actions/runner-groups/42/runners \\\n  -d '{\"runners\":[42]}'
    " + "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/enterprises/ENTERPRISE/actions/runner-groups/42/runners \\\n -d '{\"runners\":[42]}'", + "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/enterprises/ENTERPRISE/actions/runner-groups/42/runners \\\n  -d '{\"runners\":[42]}'
    " }, { "lang": "JavaScript", @@ -12368,7 +12489,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "descriptionHTML": "

    Replaces the list of self-hosted runners that are part of an enterprise runner group.

    \n

    You must authenticate using an access token with the admin:enterprise scope to use this endpoint.

    ", @@ -12391,7 +12512,7 @@ { "verb": "put", "requestPath": "/enterprises/{enterprise}/actions/runner-groups/{runner_group_id}/runners/{runner_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "enterprise", @@ -12427,8 +12548,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/enterprises/ENTERPRISE/actions/runner-groups/42/runners/42", - "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/enterprises/ENTERPRISE/actions/runner-groups/42/runners/42
    " + "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/enterprises/ENTERPRISE/actions/runner-groups/42/runners/42", + "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/enterprises/ENTERPRISE/actions/runner-groups/42/runners/42
    " }, { "lang": "JavaScript", @@ -12463,7 +12584,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "bodyParameters": [], @@ -12472,7 +12593,7 @@ { "verb": "delete", "requestPath": "/enterprises/{enterprise}/actions/runner-groups/{runner_group_id}/runners/{runner_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "enterprise", @@ -12508,8 +12629,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/enterprises/ENTERPRISE/actions/runner-groups/42/runners/42", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/enterprises/ENTERPRISE/actions/runner-groups/42/runners/42
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/enterprises/ENTERPRISE/actions/runner-groups/42/runners/42", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/enterprises/ENTERPRISE/actions/runner-groups/42/runners/42
    " }, { "lang": "JavaScript", @@ -12544,7 +12665,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "bodyParameters": [], @@ -12553,7 +12674,7 @@ { "verb": "get", "requestPath": "/enterprises/{enterprise}/actions/runners", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "enterprise", @@ -12589,8 +12710,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/enterprises/ENTERPRISE/actions/runners", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/enterprises/ENTERPRISE/actions/runners
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/enterprises/ENTERPRISE/actions/runners", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/enterprises/ENTERPRISE/actions/runners
    " }, { "lang": "JavaScript", @@ -12635,7 +12756,7 @@ { "verb": "get", "requestPath": "/enterprises/{enterprise}/actions/runners/downloads", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "enterprise", @@ -12651,8 +12772,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/enterprises/ENTERPRISE/actions/runners/downloads", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/enterprises/ENTERPRISE/actions/runners/downloads
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/enterprises/ENTERPRISE/actions/runners/downloads", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/enterprises/ENTERPRISE/actions/runners/downloads
    " }, { "lang": "JavaScript", @@ -12697,7 +12818,7 @@ { "verb": "post", "requestPath": "/enterprises/{enterprise}/actions/runners/registration-token", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "enterprise", @@ -12713,8 +12834,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/enterprises/ENTERPRISE/actions/runners/registration-token", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/enterprises/ENTERPRISE/actions/runners/registration-token
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/enterprises/ENTERPRISE/actions/runners/registration-token", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/enterprises/ENTERPRISE/actions/runners/registration-token
    " }, { "lang": "JavaScript", @@ -12759,7 +12880,7 @@ { "verb": "post", "requestPath": "/enterprises/{enterprise}/actions/runners/remove-token", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "enterprise", @@ -12775,8 +12896,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/enterprises/ENTERPRISE/actions/runners/remove-token", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/enterprises/ENTERPRISE/actions/runners/remove-token
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/enterprises/ENTERPRISE/actions/runners/remove-token", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/enterprises/ENTERPRISE/actions/runners/remove-token
    " }, { "lang": "JavaScript", @@ -12821,7 +12942,7 @@ { "verb": "get", "requestPath": "/enterprises/{enterprise}/actions/runners/{runner_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "enterprise", @@ -12847,8 +12968,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/enterprises/ENTERPRISE/actions/runners/42", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/enterprises/ENTERPRISE/actions/runners/42
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/enterprises/ENTERPRISE/actions/runners/42", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/enterprises/ENTERPRISE/actions/runners/42
    " }, { "lang": "JavaScript", @@ -12893,7 +13014,7 @@ { "verb": "delete", "requestPath": "/enterprises/{enterprise}/actions/runners/{runner_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "enterprise", @@ -12919,8 +13040,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/enterprises/ENTERPRISE/actions/runners/42", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/enterprises/ENTERPRISE/actions/runners/42
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/enterprises/ENTERPRISE/actions/runners/42", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/enterprises/ENTERPRISE/actions/runners/42
    " }, { "lang": "JavaScript", @@ -12955,7 +13076,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "bodyParameters": [], @@ -12964,7 +13085,7 @@ { "verb": "get", "requestPath": "/events", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "per_page", @@ -12990,8 +13111,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/events", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/events
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/events", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/events
    " }, { "lang": "JavaScript", @@ -13050,13 +13171,13 @@ { "verb": "get", "requestPath": "/feeds", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/feeds", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/feeds
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/feeds", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/feeds
    " }, { "lang": "JavaScript", @@ -13101,7 +13222,7 @@ { "verb": "get", "requestPath": "/gists", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "since", @@ -13137,8 +13258,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/gists", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/gists
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/gists", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/gists
    " }, { "lang": "JavaScript", @@ -13191,13 +13312,13 @@ { "verb": "post", "requestPath": "/gists", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/gists \\\n -d '{\"files\":{}}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/gists \\\n  -d '{\"files\":{}}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/gists \\\n -d '{\"files\":{}}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/gists \\\n  -d '{\"files\":{}}'
    " }, { "lang": "JavaScript", @@ -13395,7 +13516,7 @@ { "verb": "get", "requestPath": "/gists/public", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "since", @@ -13431,8 +13552,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/gists/public", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/gists/public
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/gists/public", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/gists/public
    " }, { "lang": "JavaScript", @@ -13490,7 +13611,7 @@ { "verb": "get", "requestPath": "/gists/starred", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "since", @@ -13526,8 +13647,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/gists/starred", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/gists/starred
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/gists/starred", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/gists/starred
    " }, { "lang": "JavaScript", @@ -13585,7 +13706,7 @@ { "verb": "get", "requestPath": "/gists/{gist_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "gist_id", @@ -13601,8 +13722,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/gists/GIST_ID", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/gists/GIST_ID
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/gists/GIST_ID", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/gists/GIST_ID
    " }, { "lang": "JavaScript", @@ -13660,7 +13781,7 @@ { "verb": "patch", "requestPath": "/gists/{gist_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "gist_id", @@ -13676,8 +13797,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/gists/GIST_ID \\\n -d '{\"description\":\"description\"}'", - "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/gists/GIST_ID \\\n  -d '{\"description\":\"description\"}'
    " + "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/gists/GIST_ID \\\n -d '{\"description\":\"description\"}'", + "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/gists/GIST_ID \\\n  -d '{\"description\":\"description\"}'
    " }, { "lang": "JavaScript", @@ -13867,7 +13988,7 @@ { "verb": "delete", "requestPath": "/gists/{gist_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "gist_id", @@ -13883,8 +14004,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/gists/GIST_ID", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/gists/GIST_ID
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/gists/GIST_ID", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/gists/GIST_ID
    " }, { "lang": "JavaScript", @@ -13917,7 +14038,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "304", @@ -13941,7 +14062,7 @@ { "verb": "get", "requestPath": "/gists/{gist_id}/comments", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "gist_id", @@ -13977,8 +14098,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/gists/GIST_ID/comments", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/gists/GIST_ID/comments
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/gists/GIST_ID/comments", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/gists/GIST_ID/comments
    " }, { "lang": "JavaScript", @@ -14038,7 +14159,7 @@ { "verb": "post", "requestPath": "/gists/{gist_id}/comments", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "gist_id", @@ -14054,8 +14175,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/gists/GIST_ID/comments \\\n -d '{\"body\":\"body\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/gists/GIST_ID/comments \\\n  -d '{\"body\":\"body\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/gists/GIST_ID/comments \\\n -d '{\"body\":\"body\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/gists/GIST_ID/comments \\\n  -d '{\"body\":\"body\"}'
    " }, { "lang": "JavaScript", @@ -14152,7 +14273,7 @@ { "verb": "get", "requestPath": "/gists/{gist_id}/comments/{comment_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "gist_id", @@ -14178,8 +14299,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/gists/GIST_ID/comments/42", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/gists/GIST_ID/comments/42
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/gists/GIST_ID/comments/42", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/gists/GIST_ID/comments/42
    " }, { "lang": "JavaScript", @@ -14239,7 +14360,7 @@ { "verb": "patch", "requestPath": "/gists/{gist_id}/comments/{comment_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "gist_id", @@ -14265,8 +14386,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/gists/GIST_ID/comments/42 \\\n -d '{\"body\":\"body\"}'", - "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/gists/GIST_ID/comments/42 \\\n  -d '{\"body\":\"body\"}'
    " + "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/gists/GIST_ID/comments/42 \\\n -d '{\"body\":\"body\"}'", + "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/gists/GIST_ID/comments/42 \\\n  -d '{\"body\":\"body\"}'
    " }, { "lang": "JavaScript", @@ -14353,7 +14474,7 @@ { "verb": "delete", "requestPath": "/gists/{gist_id}/comments/{comment_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "gist_id", @@ -14379,8 +14500,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/gists/GIST_ID/comments/42", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/gists/GIST_ID/comments/42
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/gists/GIST_ID/comments/42", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/gists/GIST_ID/comments/42
    " }, { "lang": "JavaScript", @@ -14415,7 +14536,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "304", @@ -14439,7 +14560,7 @@ { "verb": "get", "requestPath": "/gists/{gist_id}/commits", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "gist_id", @@ -14475,8 +14596,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/gists/GIST_ID/commits", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/gists/GIST_ID/commits
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/gists/GIST_ID/commits", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/gists/GIST_ID/commits
    " }, { "lang": "JavaScript", @@ -14534,7 +14655,7 @@ { "verb": "get", "requestPath": "/gists/{gist_id}/forks", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "gist_id", @@ -14570,8 +14691,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/gists/GIST_ID/forks", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/gists/GIST_ID/forks
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/gists/GIST_ID/forks", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/gists/GIST_ID/forks
    " }, { "lang": "JavaScript", @@ -14629,7 +14750,7 @@ { "verb": "post", "requestPath": "/gists/{gist_id}/forks", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "gist_id", @@ -14645,8 +14766,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/gists/GIST_ID/forks", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/gists/GIST_ID/forks
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/gists/GIST_ID/forks", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/gists/GIST_ID/forks
    " }, { "lang": "JavaScript", @@ -14709,7 +14830,7 @@ { "verb": "get", "requestPath": "/gists/{gist_id}/star", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "gist_id", @@ -14725,8 +14846,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/gists/GIST_ID/star", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/gists/GIST_ID/star
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/gists/GIST_ID/star", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/gists/GIST_ID/star
    " }, { "lang": "JavaScript", @@ -14783,7 +14904,7 @@ { "verb": "put", "requestPath": "/gists/{gist_id}/star", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "gist_id", @@ -14799,8 +14920,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/gists/GIST_ID/star", - "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/gists/GIST_ID/star
    " + "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/gists/GIST_ID/star", + "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/gists/GIST_ID/star
    " }, { "lang": "JavaScript", @@ -14833,7 +14954,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "304", @@ -14857,7 +14978,7 @@ { "verb": "delete", "requestPath": "/gists/{gist_id}/star", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "gist_id", @@ -14873,8 +14994,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/gists/GIST_ID/star", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/gists/GIST_ID/star
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/gists/GIST_ID/star", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/gists/GIST_ID/star
    " }, { "lang": "JavaScript", @@ -14907,7 +15028,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "304", @@ -14931,7 +15052,7 @@ { "verb": "get", "requestPath": "/gists/{gist_id}/{sha}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "gist_id", @@ -14956,8 +15077,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/gists/GIST_ID/SHA", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/gists/GIST_ID/SHA
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/gists/GIST_ID/SHA", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/gists/GIST_ID/SHA
    " }, { "lang": "JavaScript", @@ -15015,13 +15136,13 @@ { "verb": "get", "requestPath": "/gitignore/templates", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/gitignore/templates", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/gitignore/templates
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/gitignore/templates", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/gitignore/templates
    " }, { "lang": "JavaScript", @@ -15069,7 +15190,7 @@ { "verb": "get", "requestPath": "/gitignore/templates/{name}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "name", @@ -15084,8 +15205,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/gitignore/templates/NAME", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/gitignore/templates/NAME
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/gitignore/templates/NAME", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/gitignore/templates/NAME
    " }, { "lang": "JavaScript", @@ -15133,7 +15254,7 @@ { "verb": "get", "requestPath": "/installation/repositories", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "per_page", @@ -15159,8 +15280,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/installation/repositories", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/installation/repositories
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/installation/repositories", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/installation/repositories
    " }, { "lang": "JavaScript", @@ -15227,13 +15348,13 @@ { "verb": "delete", "requestPath": "/installation/token", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/installation/token", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/installation/token
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/installation/token", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/installation/token
    " }, { "lang": "JavaScript", @@ -15268,7 +15389,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "bodyParameters": [], @@ -15277,7 +15398,7 @@ { "verb": "get", "requestPath": "/issues", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "filter", @@ -15291,6 +15412,7 @@ "created", "mentioned", "subscribed", + "repos", "all" ], "default": "assigned" @@ -15424,8 +15546,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/issues", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/issues
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/issues", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/issues
    " }, { "lang": "JavaScript", @@ -15490,7 +15612,7 @@ { "verb": "get", "requestPath": "/licenses", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "featured", @@ -15510,13 +15632,23 @@ "default": 30 }, "descriptionHTML": "

    Results per page (max 100).

    " + }, + { + "name": "page", + "description": "Page number of the results to fetch.", + "in": "query", + "schema": { + "type": "integer", + "default": 1 + }, + "descriptionHTML": "

    Page number of the results to fetch.

    " } ], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/licenses", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/licenses
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/licenses", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/licenses
    " }, { "lang": "JavaScript", @@ -15564,7 +15696,7 @@ { "verb": "get", "requestPath": "/licenses/{license}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "license", @@ -15579,8 +15711,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/licenses/LICENSE", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/licenses/LICENSE
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/licenses/LICENSE", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/licenses/LICENSE
    " }, { "lang": "JavaScript", @@ -15638,13 +15770,13 @@ { "verb": "post", "requestPath": "/markdown", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/markdown \\\n -d '{\"text\":\"text\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/markdown \\\n  -d '{\"text\":\"text\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/markdown \\\n -d '{\"text\":\"text\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/markdown \\\n  -d '{\"text\":\"text\"}'
    " }, { "lang": "JavaScript", @@ -15772,13 +15904,13 @@ { "verb": "post", "requestPath": "/markdown/raw", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/markdown/raw", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/markdown/raw
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/markdown/raw", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/markdown/raw
    " }, { "lang": "JavaScript", @@ -15839,13 +15971,13 @@ { "verb": "get", "requestPath": "/meta", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/meta", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/meta
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/meta", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/meta
    " }, { "lang": "JavaScript", @@ -15893,7 +16025,7 @@ { "verb": "get", "requestPath": "/networks/{owner}/{repo}/events", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -15937,8 +16069,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/networks/octocat/hello-world/events", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/networks/octocat/hello-world/events
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/networks/octocat/hello-world/events", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/networks/octocat/hello-world/events
    " }, { "lang": "JavaScript", @@ -16002,7 +16134,7 @@ { "verb": "get", "requestPath": "/notifications", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "all", @@ -16070,8 +16202,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/notifications", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/notifications
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/notifications", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/notifications
    " }, { "lang": "JavaScript", @@ -16136,13 +16268,13 @@ { "verb": "put", "requestPath": "/notifications", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/notifications \\\n -d '{\"last_read_at\":\"last_read_at\"}'", - "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/notifications \\\n  -d '{\"last_read_at\":\"last_read_at\"}'
    " + "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/notifications \\\n -d '{\"last_read_at\":\"last_read_at\"}'", + "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/notifications \\\n  -d '{\"last_read_at\":\"last_read_at\"}'
    " }, { "lang": "JavaScript", @@ -16256,7 +16388,7 @@ { "verb": "get", "requestPath": "/notifications/threads/{thread_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "thread_id", @@ -16272,8 +16404,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/notifications/threads/42", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/notifications/threads/42
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/notifications/threads/42", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/notifications/threads/42
    " }, { "lang": "JavaScript", @@ -16333,7 +16465,7 @@ { "verb": "patch", "requestPath": "/notifications/threads/{thread_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "thread_id", @@ -16349,8 +16481,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/notifications/threads/42", - "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/notifications/threads/42
    " + "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/notifications/threads/42", + "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/notifications/threads/42
    " }, { "lang": "JavaScript", @@ -16404,7 +16536,7 @@ { "verb": "get", "requestPath": "/notifications/threads/{thread_id}/subscription", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "thread_id", @@ -16420,8 +16552,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/notifications/threads/42/subscription", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/notifications/threads/42/subscription
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/notifications/threads/42/subscription", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/notifications/threads/42/subscription
    " }, { "lang": "JavaScript", @@ -16481,7 +16613,7 @@ { "verb": "put", "requestPath": "/notifications/threads/{thread_id}/subscription", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "thread_id", @@ -16497,8 +16629,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/notifications/threads/42/subscription \\\n -d '{\"ignored\":true}'", - "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/notifications/threads/42/subscription \\\n  -d '{\"ignored\":true}'
    " + "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/notifications/threads/42/subscription \\\n -d '{\"ignored\":true}'", + "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/notifications/threads/42/subscription \\\n  -d '{\"ignored\":true}'
    " }, { "lang": "JavaScript", @@ -16590,7 +16722,7 @@ { "verb": "delete", "requestPath": "/notifications/threads/{thread_id}/subscription", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "thread_id", @@ -16606,8 +16738,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/notifications/threads/42/subscription", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/notifications/threads/42/subscription
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/notifications/threads/42/subscription", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/notifications/threads/42/subscription
    " }, { "lang": "JavaScript", @@ -16642,7 +16774,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "304", @@ -16666,7 +16798,7 @@ { "verb": "get", "requestPath": "/octocat", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "s", @@ -16682,8 +16814,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/octocat", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/octocat
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/octocat", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/octocat
    " }, { "lang": "JavaScript", @@ -16720,7 +16852,7 @@ { "verb": "get", "requestPath": "/organizations", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "since", @@ -16746,8 +16878,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/organizations", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/organizations
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/organizations", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/organizations
    " }, { "lang": "JavaScript", @@ -16795,7 +16927,7 @@ { "verb": "get", "requestPath": "/orgs/{org}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "org", @@ -16810,8 +16942,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/orgs/ORG", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/orgs/ORG
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG
    " }, { "lang": "JavaScript", @@ -16854,13 +16986,7 @@ "httpStatusCode": "200", "httpStatusMessage": "OK", "description": "Default response", - "payload": "
    {\n  \"login\": \"github\",\n  \"id\": 1,\n  \"node_id\": \"MDEyOk9yZ2FuaXphdGlvbjE=\",\n  \"url\": \"https://api.github.com/orgs/github\",\n  \"repos_url\": \"https://api.github.com/orgs/github/repos\",\n  \"events_url\": \"https://api.github.com/orgs/github/events\",\n  \"hooks_url\": \"https://api.github.com/orgs/github/hooks\",\n  \"issues_url\": \"https://api.github.com/orgs/github/issues\",\n  \"members_url\": \"https://api.github.com/orgs/github/members{/member}\",\n  \"public_members_url\": \"https://api.github.com/orgs/github/public_members{/member}\",\n  \"avatar_url\": \"https://github.com/images/error/octocat_happy.gif\",\n  \"description\": \"A great organization\",\n  \"name\": \"github\",\n  \"company\": \"GitHub\",\n  \"blog\": \"https://github.com/blog\",\n  \"location\": \"San Francisco\",\n  \"email\": \"octocat@github.com\",\n  \"twitter_username\": \"github\",\n  \"is_verified\": true,\n  \"has_organization_projects\": true,\n  \"has_repository_projects\": true,\n  \"public_repos\": 2,\n  \"public_gists\": 1,\n  \"followers\": 20,\n  \"following\": 0,\n  \"html_url\": \"https://github.com/octocat\",\n  \"created_at\": \"2008-01-14T04:33:35Z\",\n  \"updated_at\": \"2014-03-03T18:58:10Z\",\n  \"type\": \"Organization\",\n  \"total_private_repos\": 100,\n  \"owned_private_repos\": 100,\n  \"private_gists\": 81,\n  \"disk_usage\": 10000,\n  \"collaborators\": 8,\n  \"billing_email\": \"mona@github.com\",\n  \"plan\": {\n    \"name\": \"Medium\",\n    \"space\": 400,\n    \"private_repos\": 20\n  },\n  \"default_repository_permission\": \"read\",\n  \"members_can_create_repositories\": true,\n  \"two_factor_requirement_enabled\": true,\n  \"members_allowed_repository_creation_type\": \"all\",\n  \"members_can_create_public_repositories\": false,\n  \"members_can_create_private_repositories\": false,\n  \"members_can_create_internal_repositories\": false,\n  \"members_can_create_pages\": true\n}\n
    " - }, - { - "httpStatusCode": "200", - "httpStatusMessage": "OK", - "description": "Response with GitHub plan information", - "payload": "
    {\n  \"login\": \"github\",\n  \"id\": 1,\n  \"node_id\": \"MDEyOk9yZ2FuaXphdGlvbjE=\",\n  \"url\": \"https://api.github.com/orgs/github\",\n  \"repos_url\": \"https://api.github.com/orgs/github/repos\",\n  \"events_url\": \"https://api.github.com/orgs/github/events\",\n  \"hooks_url\": \"https://api.github.com/orgs/github/hooks\",\n  \"issues_url\": \"https://api.github.com/orgs/github/issues\",\n  \"members_url\": \"https://api.github.com/orgs/github/members{/member}\",\n  \"public_members_url\": \"https://api.github.com/orgs/github/public_members{/member}\",\n  \"avatar_url\": \"https://github.com/images/error/octocat_happy.gif\",\n  \"description\": \"A great organization\",\n  \"name\": \"github\",\n  \"company\": \"GitHub\",\n  \"blog\": \"https://github.com/blog\",\n  \"location\": \"San Francisco\",\n  \"email\": \"octocat@github.com\",\n  \"twitter_username\": \"github\",\n  \"is_verified\": true,\n  \"has_organization_projects\": true,\n  \"has_repository_projects\": true,\n  \"public_repos\": 2,\n  \"public_gists\": 1,\n  \"followers\": 20,\n  \"following\": 0,\n  \"html_url\": \"https://github.com/octocat\",\n  \"created_at\": \"2008-01-14T04:33:35Z\",\n  \"updated_at\": \"2014-03-03T18:58:10Z\",\n  \"type\": \"Organization\",\n  \"plan\": {\n    \"name\": \"team\",\n    \"space\": 976562499,\n    \"private_repos\": 999999,\n    \"filled_seats\": 4,\n    \"seats\": 5\n  }\n}\n
    " + "payload": "
    {\n  \"login\": \"github\",\n  \"id\": 1,\n  \"node_id\": \"MDEyOk9yZ2FuaXphdGlvbjE=\",\n  \"url\": \"https://api.github.com/orgs/github\",\n  \"repos_url\": \"https://api.github.com/orgs/github/repos\",\n  \"events_url\": \"https://api.github.com/orgs/github/events\",\n  \"hooks_url\": \"https://api.github.com/orgs/github/hooks\",\n  \"issues_url\": \"https://api.github.com/orgs/github/issues\",\n  \"members_url\": \"https://api.github.com/orgs/github/members{/member}\",\n  \"public_members_url\": \"https://api.github.com/orgs/github/public_members{/member}\",\n  \"avatar_url\": \"https://github.com/images/error/octocat_happy.gif\",\n  \"description\": \"A great organization\",\n  \"name\": \"github\",\n  \"company\": \"GitHub\",\n  \"blog\": \"https://github.com/blog\",\n  \"location\": \"San Francisco\",\n  \"email\": \"octocat@github.com\",\n  \"twitter_username\": \"github\",\n  \"is_verified\": true,\n  \"has_organization_projects\": true,\n  \"has_repository_projects\": true,\n  \"public_repos\": 2,\n  \"public_gists\": 1,\n  \"followers\": 20,\n  \"following\": 0,\n  \"html_url\": \"https://github.com/octocat\",\n  \"created_at\": \"2008-01-14T04:33:35Z\",\n  \"updated_at\": \"2014-03-03T18:58:10Z\",\n  \"type\": \"Organization\",\n  \"total_private_repos\": 100,\n  \"owned_private_repos\": 100,\n  \"private_gists\": 81,\n  \"disk_usage\": 10000,\n  \"collaborators\": 8,\n  \"billing_email\": \"mona@github.com\",\n  \"plan\": {\n    \"name\": \"Medium\",\n    \"space\": 400,\n    \"private_repos\": 20,\n    \"filled_seats\": 4,\n    \"seats\": 5\n  },\n  \"default_repository_permission\": \"read\",\n  \"members_can_create_repositories\": true,\n  \"two_factor_requirement_enabled\": true,\n  \"members_allowed_repository_creation_type\": \"all\",\n  \"members_can_create_public_repositories\": false,\n  \"members_can_create_private_repositories\": false,\n  \"members_can_create_internal_repositories\": false,\n  \"members_can_create_pages\": true\n}\n
    " }, { "httpStatusCode": "404", @@ -16872,7 +16998,7 @@ { "verb": "patch", "requestPath": "/orgs/{org}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "org", @@ -16887,8 +17013,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/orgs/ORG \\\n -d '{\"billing_email\":\"billing_email\"}'", - "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/orgs/ORG \\\n  -d '{\"billing_email\":\"billing_email\"}'
    " + "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG \\\n -d '{\"billing_email\":\"billing_email\"}'", + "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG \\\n  -d '{\"billing_email\":\"billing_email\"}'
    " }, { "lang": "JavaScript", @@ -17311,7 +17437,7 @@ { "verb": "get", "requestPath": "/orgs/{org}/actions/permissions", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "org", @@ -17326,8 +17452,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/orgs/ORG/actions/permissions", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/orgs/ORG/actions/permissions
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/actions/permissions", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/actions/permissions
    " }, { "lang": "JavaScript", @@ -17372,7 +17498,7 @@ { "verb": "put", "requestPath": "/orgs/{org}/actions/permissions", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "org", @@ -17387,8 +17513,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/orgs/ORG/actions/permissions \\\n -d '{\"enabled_repositories\":\"enabled_repositories\"}'", - "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/orgs/ORG/actions/permissions \\\n  -d '{\"enabled_repositories\":\"enabled_repositories\"}'
    " + "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/actions/permissions \\\n -d '{\"enabled_repositories\":\"enabled_repositories\"}'", + "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/actions/permissions \\\n  -d '{\"enabled_repositories\":\"enabled_repositories\"}'
    " }, { "lang": "JavaScript", @@ -17469,7 +17595,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "descriptionHTML": "

    Sets the GitHub Actions permissions policy for repositories and allowed actions in an organization.

    \n

    If 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

    You 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.

    ", @@ -17507,7 +17633,7 @@ { "verb": "get", "requestPath": "/orgs/{org}/actions/permissions/repositories", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "org", @@ -17542,8 +17668,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/orgs/ORG/actions/permissions/repositories", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/orgs/ORG/actions/permissions/repositories
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/actions/permissions/repositories", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/actions/permissions/repositories
    " }, { "lang": "JavaScript", @@ -17588,7 +17714,7 @@ { "verb": "put", "requestPath": "/orgs/{org}/actions/permissions/repositories", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "org", @@ -17603,8 +17729,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/orgs/ORG/actions/permissions/repositories \\\n -d '{\"selected_repository_ids\":[42]}'", - "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/orgs/ORG/actions/permissions/repositories \\\n  -d '{\"selected_repository_ids\":[42]}'
    " + "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/actions/permissions/repositories \\\n -d '{\"selected_repository_ids\":[42]}'", + "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/actions/permissions/repositories \\\n  -d '{\"selected_repository_ids\":[42]}'
    " }, { "lang": "JavaScript", @@ -17672,7 +17798,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "descriptionHTML": "

    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.\"

    \n

    You 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.

    ", @@ -17695,7 +17821,7 @@ { "verb": "put", "requestPath": "/orgs/{org}/actions/permissions/repositories/{repository_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "org", @@ -17719,8 +17845,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/orgs/ORG/actions/permissions/repositories/42", - "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/orgs/ORG/actions/permissions/repositories/42
    " + "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/actions/permissions/repositories/42", + "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/actions/permissions/repositories/42
    " }, { "lang": "JavaScript", @@ -17755,7 +17881,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "bodyParameters": [], @@ -17764,7 +17890,7 @@ { "verb": "delete", "requestPath": "/orgs/{org}/actions/permissions/repositories/{repository_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "org", @@ -17788,8 +17914,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/orgs/ORG/actions/permissions/repositories/42", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/orgs/ORG/actions/permissions/repositories/42
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/actions/permissions/repositories/42", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/actions/permissions/repositories/42
    " }, { "lang": "JavaScript", @@ -17824,7 +17950,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "bodyParameters": [], @@ -17833,7 +17959,7 @@ { "verb": "get", "requestPath": "/orgs/{org}/actions/permissions/selected-actions", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "org", @@ -17848,8 +17974,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/orgs/ORG/actions/permissions/selected-actions", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/orgs/ORG/actions/permissions/selected-actions
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/actions/permissions/selected-actions", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/actions/permissions/selected-actions
    " }, { "lang": "JavaScript", @@ -17894,7 +18020,7 @@ { "verb": "put", "requestPath": "/orgs/{org}/actions/permissions/selected-actions", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "org", @@ -17909,8 +18035,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/orgs/ORG/actions/permissions/selected-actions \\\n -d '{\"github_owned_allowed\":true,\"patterns_allowed\":[\"patterns_allowed\"]}'", - "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/orgs/ORG/actions/permissions/selected-actions \\\n  -d '{\"github_owned_allowed\":true,\"patterns_allowed\":[\"patterns_allowed\"]}'
    " + "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/actions/permissions/selected-actions \\\n -d '{\"github_owned_allowed\":true,\"patterns_allowed\":[\"patterns_allowed\"]}'", + "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/actions/permissions/selected-actions \\\n  -d '{\"github_owned_allowed\":true,\"patterns_allowed\":[\"patterns_allowed\"]}'
    " }, { "lang": "JavaScript", @@ -17993,7 +18119,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "descriptionHTML": "

    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.\"

    \n

    If 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

    To 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

    You 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.

    ", @@ -18024,7 +18150,7 @@ { "verb": "get", "requestPath": "/orgs/{org}/actions/runner-groups", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "org", @@ -18059,8 +18185,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/orgs/ORG/actions/runner-groups", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/orgs/ORG/actions/runner-groups
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/actions/runner-groups", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/actions/runner-groups
    " }, { "lang": "JavaScript", @@ -18105,7 +18231,7 @@ { "verb": "post", "requestPath": "/orgs/{org}/actions/runner-groups", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "org", @@ -18120,8 +18246,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/orgs/ORG/actions/runner-groups \\\n -d '{\"name\":\"name\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/orgs/ORG/actions/runner-groups \\\n  -d '{\"name\":\"name\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/actions/runner-groups \\\n -d '{\"name\":\"name\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/actions/runner-groups \\\n  -d '{\"name\":\"name\"}'
    " }, { "lang": "JavaScript", @@ -18293,7 +18419,7 @@ { "verb": "get", "requestPath": "/orgs/{org}/actions/runner-groups/{runner_group_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "org", @@ -18318,8 +18444,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/orgs/ORG/actions/runner-groups/42", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/orgs/ORG/actions/runner-groups/42
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/actions/runner-groups/42", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/actions/runner-groups/42
    " }, { "lang": "JavaScript", @@ -18364,7 +18490,7 @@ { "verb": "patch", "requestPath": "/orgs/{org}/actions/runner-groups/{runner_group_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "org", @@ -18389,8 +18515,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/orgs/ORG/actions/runner-groups/42 \\\n -d '{\"name\":\"name\"}'", - "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/orgs/ORG/actions/runner-groups/42 \\\n  -d '{\"name\":\"name\"}'
    " + "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/actions/runner-groups/42 \\\n -d '{\"name\":\"name\"}'", + "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/actions/runner-groups/42 \\\n  -d '{\"name\":\"name\"}'
    " }, { "lang": "JavaScript", @@ -18497,7 +18623,7 @@ { "verb": "delete", "requestPath": "/orgs/{org}/actions/runner-groups/{runner_group_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "org", @@ -18522,8 +18648,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/orgs/ORG/actions/runner-groups/42", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/orgs/ORG/actions/runner-groups/42
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/actions/runner-groups/42", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/actions/runner-groups/42
    " }, { "lang": "JavaScript", @@ -18558,7 +18684,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "bodyParameters": [], @@ -18567,7 +18693,7 @@ { "verb": "get", "requestPath": "/orgs/{org}/actions/runner-groups/{runner_group_id}/repositories", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "org", @@ -18587,13 +18713,33 @@ "type": "integer" }, "descriptionHTML": "

    Unique identifier of the self-hosted runner group.

    " + }, + { + "name": "page", + "description": "Page number of the results to fetch.", + "in": "query", + "schema": { + "type": "integer", + "default": 1 + }, + "descriptionHTML": "

    Page number of the results to fetch.

    " + }, + { + "name": "per_page", + "description": "Results per page (max 100).", + "in": "query", + "schema": { + "type": "integer", + "default": 30 + }, + "descriptionHTML": "

    Results per page (max 100).

    " } ], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/orgs/ORG/actions/runner-groups/42/repositories", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/orgs/ORG/actions/runner-groups/42/repositories
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/actions/runner-groups/42/repositories", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/actions/runner-groups/42/repositories
    " }, { "lang": "JavaScript", @@ -18638,7 +18784,7 @@ { "verb": "put", "requestPath": "/orgs/{org}/actions/runner-groups/{runner_group_id}/repositories", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "org", @@ -18663,8 +18809,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/orgs/ORG/actions/runner-groups/42/repositories \\\n -d '{\"selected_repository_ids\":[42]}'", - "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/orgs/ORG/actions/runner-groups/42/repositories \\\n  -d '{\"selected_repository_ids\":[42]}'
    " + "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/actions/runner-groups/42/repositories \\\n -d '{\"selected_repository_ids\":[42]}'", + "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/actions/runner-groups/42/repositories \\\n  -d '{\"selected_repository_ids\":[42]}'
    " }, { "lang": "JavaScript", @@ -18732,7 +18878,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "descriptionHTML": "

    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.

    ", @@ -18755,7 +18901,7 @@ { "verb": "put", "requestPath": "/orgs/{org}/actions/runner-groups/{runner_group_id}/repositories/{repository_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "org", @@ -18789,8 +18935,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/orgs/ORG/actions/runner-groups/42/repositories/42", - "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/orgs/ORG/actions/runner-groups/42/repositories/42
    " + "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/actions/runner-groups/42/repositories/42", + "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/actions/runner-groups/42/repositories/42
    " }, { "lang": "JavaScript", @@ -18825,7 +18971,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "bodyParameters": [], @@ -18834,7 +18980,7 @@ { "verb": "delete", "requestPath": "/orgs/{org}/actions/runner-groups/{runner_group_id}/repositories/{repository_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "org", @@ -18868,8 +19014,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/orgs/ORG/actions/runner-groups/42/repositories/42", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/orgs/ORG/actions/runner-groups/42/repositories/42
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/actions/runner-groups/42/repositories/42", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/actions/runner-groups/42/repositories/42
    " }, { "lang": "JavaScript", @@ -18904,7 +19050,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "bodyParameters": [], @@ -18913,7 +19059,7 @@ { "verb": "get", "requestPath": "/orgs/{org}/actions/runner-groups/{runner_group_id}/runners", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "org", @@ -18958,8 +19104,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/orgs/ORG/actions/runner-groups/42/runners", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/orgs/ORG/actions/runner-groups/42/runners
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/actions/runner-groups/42/runners", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/actions/runner-groups/42/runners
    " }, { "lang": "JavaScript", @@ -19004,7 +19150,7 @@ { "verb": "put", "requestPath": "/orgs/{org}/actions/runner-groups/{runner_group_id}/runners", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "org", @@ -19029,8 +19175,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/orgs/ORG/actions/runner-groups/42/runners \\\n -d '{\"runners\":[42]}'", - "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/orgs/ORG/actions/runner-groups/42/runners \\\n  -d '{\"runners\":[42]}'
    " + "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/actions/runner-groups/42/runners \\\n -d '{\"runners\":[42]}'", + "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/actions/runner-groups/42/runners \\\n  -d '{\"runners\":[42]}'
    " }, { "lang": "JavaScript", @@ -19098,7 +19244,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "descriptionHTML": "

    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.

    ", @@ -19121,7 +19267,7 @@ { "verb": "put", "requestPath": "/orgs/{org}/actions/runner-groups/{runner_group_id}/runners/{runner_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "org", @@ -19156,8 +19302,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/orgs/ORG/actions/runner-groups/42/runners/42", - "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/orgs/ORG/actions/runner-groups/42/runners/42
    " + "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/actions/runner-groups/42/runners/42", + "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/actions/runner-groups/42/runners/42
    " }, { "lang": "JavaScript", @@ -19192,7 +19338,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "bodyParameters": [], @@ -19201,7 +19347,7 @@ { "verb": "delete", "requestPath": "/orgs/{org}/actions/runner-groups/{runner_group_id}/runners/{runner_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "org", @@ -19236,8 +19382,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/orgs/ORG/actions/runner-groups/42/runners/42", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/orgs/ORG/actions/runner-groups/42/runners/42
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/actions/runner-groups/42/runners/42", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/actions/runner-groups/42/runners/42
    " }, { "lang": "JavaScript", @@ -19272,7 +19418,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "bodyParameters": [], @@ -19281,7 +19427,7 @@ { "verb": "get", "requestPath": "/orgs/{org}/actions/runners", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "org", @@ -19316,8 +19462,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/orgs/ORG/actions/runners", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/orgs/ORG/actions/runners
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/actions/runners", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/actions/runners
    " }, { "lang": "JavaScript", @@ -19362,7 +19508,7 @@ { "verb": "get", "requestPath": "/orgs/{org}/actions/runners/downloads", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "org", @@ -19377,8 +19523,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/orgs/ORG/actions/runners/downloads", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/orgs/ORG/actions/runners/downloads
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/actions/runners/downloads", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/actions/runners/downloads
    " }, { "lang": "JavaScript", @@ -19423,7 +19569,7 @@ { "verb": "post", "requestPath": "/orgs/{org}/actions/runners/registration-token", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "org", @@ -19438,8 +19584,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/orgs/ORG/actions/runners/registration-token", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/orgs/ORG/actions/runners/registration-token
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/actions/runners/registration-token", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/actions/runners/registration-token
    " }, { "lang": "JavaScript", @@ -19484,7 +19630,7 @@ { "verb": "post", "requestPath": "/orgs/{org}/actions/runners/remove-token", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "org", @@ -19499,8 +19645,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/orgs/ORG/actions/runners/remove-token", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/orgs/ORG/actions/runners/remove-token
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/actions/runners/remove-token", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/actions/runners/remove-token
    " }, { "lang": "JavaScript", @@ -19545,7 +19691,7 @@ { "verb": "get", "requestPath": "/orgs/{org}/actions/runners/{runner_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "org", @@ -19570,8 +19716,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/orgs/ORG/actions/runners/42", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/orgs/ORG/actions/runners/42
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/actions/runners/42", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/actions/runners/42
    " }, { "lang": "JavaScript", @@ -19616,7 +19762,7 @@ { "verb": "delete", "requestPath": "/orgs/{org}/actions/runners/{runner_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "org", @@ -19641,8 +19787,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/orgs/ORG/actions/runners/42", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/orgs/ORG/actions/runners/42
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/actions/runners/42", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/actions/runners/42
    " }, { "lang": "JavaScript", @@ -19677,7 +19823,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "bodyParameters": [], @@ -19686,7 +19832,7 @@ { "verb": "get", "requestPath": "/orgs/{org}/actions/secrets", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "org", @@ -19721,8 +19867,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/orgs/ORG/actions/secrets", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/orgs/ORG/actions/secrets
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/actions/secrets", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/actions/secrets
    " }, { "lang": "JavaScript", @@ -19767,7 +19913,7 @@ { "verb": "get", "requestPath": "/orgs/{org}/actions/secrets/public-key", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "org", @@ -19782,8 +19928,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/orgs/ORG/actions/secrets/public-key", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/orgs/ORG/actions/secrets/public-key
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/actions/secrets/public-key", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/actions/secrets/public-key
    " }, { "lang": "JavaScript", @@ -19828,7 +19974,7 @@ { "verb": "get", "requestPath": "/orgs/{org}/actions/secrets/{secret_name}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "org", @@ -19853,8 +19999,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/orgs/ORG/actions/secrets/SECRET_NAME", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/orgs/ORG/actions/secrets/SECRET_NAME
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/actions/secrets/SECRET_NAME", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/actions/secrets/SECRET_NAME
    " }, { "lang": "JavaScript", @@ -19899,7 +20045,7 @@ { "verb": "put", "requestPath": "/orgs/{org}/actions/secrets/{secret_name}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "org", @@ -19924,8 +20070,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/orgs/ORG/actions/secrets/SECRET_NAME \\\n -d '{\"encrypted_value\":\"encrypted_value\"}'", - "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/orgs/ORG/actions/secrets/SECRET_NAME \\\n  -d '{\"encrypted_value\":\"encrypted_value\"}'
    " + "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/actions/secrets/SECRET_NAME \\\n -d '{\"encrypted_value\":\"encrypted_value\"}'", + "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/actions/secrets/SECRET_NAME \\\n  -d '{\"encrypted_value\":\"encrypted_value\"}'
    " }, { "lang": "JavaScript", @@ -20085,7 +20231,7 @@ { "verb": "delete", "requestPath": "/orgs/{org}/actions/secrets/{secret_name}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "org", @@ -20110,8 +20256,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/orgs/ORG/actions/secrets/SECRET_NAME", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/orgs/ORG/actions/secrets/SECRET_NAME
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/actions/secrets/SECRET_NAME", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/actions/secrets/SECRET_NAME
    " }, { "lang": "JavaScript", @@ -20146,7 +20292,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "bodyParameters": [], @@ -20155,7 +20301,7 @@ { "verb": "get", "requestPath": "/orgs/{org}/actions/secrets/{secret_name}/repositories", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "org", @@ -20175,13 +20321,33 @@ "type": "string" }, "descriptionHTML": "

    secret_name parameter

    " + }, + { + "name": "page", + "description": "Page number of the results to fetch.", + "in": "query", + "schema": { + "type": "integer", + "default": 1 + }, + "descriptionHTML": "

    Page number of the results to fetch.

    " + }, + { + "name": "per_page", + "description": "Results per page (max 100).", + "in": "query", + "schema": { + "type": "integer", + "default": 30 + }, + "descriptionHTML": "

    Results per page (max 100).

    " } ], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/orgs/ORG/actions/secrets/SECRET_NAME/repositories", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/orgs/ORG/actions/secrets/SECRET_NAME/repositories
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/actions/secrets/SECRET_NAME/repositories", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/actions/secrets/SECRET_NAME/repositories
    " }, { "lang": "JavaScript", @@ -20226,7 +20392,7 @@ { "verb": "put", "requestPath": "/orgs/{org}/actions/secrets/{secret_name}/repositories", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "org", @@ -20251,8 +20417,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/orgs/ORG/actions/secrets/SECRET_NAME/repositories \\\n -d '{\"selected_repository_ids\":[42]}'", - "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/orgs/ORG/actions/secrets/SECRET_NAME/repositories \\\n  -d '{\"selected_repository_ids\":[42]}'
    " + "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/actions/secrets/SECRET_NAME/repositories \\\n -d '{\"selected_repository_ids\":[42]}'", + "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/actions/secrets/SECRET_NAME/repositories \\\n  -d '{\"selected_repository_ids\":[42]}'
    " }, { "lang": "JavaScript", @@ -20315,7 +20481,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "descriptionHTML": "

    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. 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.

    ", @@ -20337,7 +20503,7 @@ { "verb": "put", "requestPath": "/orgs/{org}/actions/secrets/{secret_name}/repositories/{repository_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "org", @@ -20371,8 +20537,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/orgs/ORG/actions/secrets/SECRET_NAME/repositories/42", - "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/orgs/ORG/actions/secrets/SECRET_NAME/repositories/42
    " + "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/actions/secrets/SECRET_NAME/repositories/42", + "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/actions/secrets/SECRET_NAME/repositories/42
    " }, { "lang": "JavaScript", @@ -20421,7 +20587,7 @@ { "verb": "delete", "requestPath": "/orgs/{org}/actions/secrets/{secret_name}/repositories/{repository_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "org", @@ -20455,8 +20621,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/orgs/ORG/actions/secrets/SECRET_NAME/repositories/42", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/orgs/ORG/actions/secrets/SECRET_NAME/repositories/42
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/actions/secrets/SECRET_NAME/repositories/42", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/actions/secrets/SECRET_NAME/repositories/42
    " }, { "lang": "JavaScript", @@ -20505,7 +20671,7 @@ { "verb": "get", "requestPath": "/orgs/{org}/events", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "org", @@ -20540,8 +20706,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/orgs/ORG/events", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/orgs/ORG/events
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/events", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/events
    " }, { "lang": "JavaScript", @@ -20585,7 +20751,7 @@ { "verb": "get", "requestPath": "/orgs/{org}/hooks", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "org", @@ -20620,8 +20786,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/orgs/ORG/hooks", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/orgs/ORG/hooks
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/hooks", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/hooks
    " }, { "lang": "JavaScript", @@ -20671,7 +20837,7 @@ { "verb": "post", "requestPath": "/orgs/{org}/hooks", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "org", @@ -20686,8 +20852,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/orgs/ORG/hooks \\\n -d '{\"name\":\"name\",\"config\":{\"url\":\"url\",\"content_type\":\"content_type\",\"secret\":\"secret\",\"insecure_ssl\":\"insecure_ssl\",\"username\":\"username\",\"password\":\"password\"}}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/orgs/ORG/hooks \\\n  -d '{\"name\":\"name\",\"config\":{\"url\":\"url\",\"content_type\":\"content_type\",\"secret\":\"secret\",\"insecure_ssl\":\"insecure_ssl\",\"username\":\"username\",\"password\":\"password\"}}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/hooks \\\n -d '{\"name\":\"name\",\"config\":{\"url\":\"url\",\"content_type\":\"content_type\",\"secret\":\"secret\",\"insecure_ssl\":\"insecure_ssl\",\"username\":\"username\",\"password\":\"password\"}}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/hooks \\\n  -d '{\"name\":\"name\",\"config\":{\"url\":\"url\",\"content_type\":\"content_type\",\"secret\":\"secret\",\"insecure_ssl\":\"insecure_ssl\",\"username\":\"username\",\"password\":\"password\"}}'
    " }, { "lang": "JavaScript", @@ -21118,7 +21284,7 @@ { "verb": "get", "requestPath": "/orgs/{org}/hooks/{hook_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "org", @@ -21142,8 +21308,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/orgs/ORG/hooks/42", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/orgs/ORG/hooks/42
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/hooks/42", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/hooks/42
    " }, { "lang": "JavaScript", @@ -21193,7 +21359,7 @@ { "verb": "patch", "requestPath": "/orgs/{org}/hooks/{hook_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "org", @@ -21217,8 +21383,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/orgs/ORG/hooks/42 \\\n -d '{\"config\":{\"url\":\"url\",\"content_type\":\"content_type\",\"secret\":\"secret\",\"insecure_ssl\":\"insecure_ssl\"}}'", - "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/orgs/ORG/hooks/42 \\\n  -d '{\"config\":{\"url\":\"url\",\"content_type\":\"content_type\",\"secret\":\"secret\",\"insecure_ssl\":\"insecure_ssl\"}}'
    " + "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/hooks/42 \\\n -d '{\"config\":{\"url\":\"url\",\"content_type\":\"content_type\",\"secret\":\"secret\",\"insecure_ssl\":\"insecure_ssl\"}}'", + "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/hooks/42 \\\n  -d '{\"config\":{\"url\":\"url\",\"content_type\":\"content_type\",\"secret\":\"secret\",\"insecure_ssl\":\"insecure_ssl\"}}'
    " }, { "lang": "JavaScript", @@ -21567,7 +21733,7 @@ { "verb": "delete", "requestPath": "/orgs/{org}/hooks/{hook_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "org", @@ -21591,8 +21757,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/orgs/ORG/hooks/42", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/orgs/ORG/hooks/42
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/hooks/42", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/hooks/42
    " }, { "lang": "JavaScript", @@ -21627,7 +21793,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "404", @@ -21641,7 +21807,7 @@ { "verb": "get", "requestPath": "/orgs/{org}/hooks/{hook_id}/config", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "org", @@ -21665,8 +21831,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/orgs/ORG/hooks/42/config", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/orgs/ORG/hooks/42/config
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/hooks/42/config", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/hooks/42/config
    " }, { "lang": "JavaScript", @@ -21711,7 +21877,7 @@ { "verb": "patch", "requestPath": "/orgs/{org}/hooks/{hook_id}/config", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "org", @@ -21735,8 +21901,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/orgs/ORG/hooks/42/config \\\n -d '{\"url\":\"url\"}'", - "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/orgs/ORG/hooks/42/config \\\n  -d '{\"url\":\"url\"}'
    " + "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/hooks/42/config \\\n -d '{\"url\":\"url\"}'", + "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/hooks/42/config \\\n  -d '{\"url\":\"url\"}'
    " }, { "lang": "JavaScript", @@ -21881,7 +22047,7 @@ { "verb": "post", "requestPath": "/orgs/{org}/hooks/{hook_id}/pings", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "org", @@ -21905,8 +22071,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/orgs/ORG/hooks/42/pings", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/orgs/ORG/hooks/42/pings
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/hooks/42/pings", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/hooks/42/pings
    " }, { "lang": "JavaScript", @@ -21941,7 +22107,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "404", @@ -21955,7 +22121,7 @@ { "verb": "get", "requestPath": "/orgs/{org}/installation", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "org", @@ -21970,8 +22136,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/orgs/ORG/installation", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/orgs/ORG/installation
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/installation", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/installation
    " }, { "lang": "JavaScript", @@ -22014,7 +22180,7 @@ { "verb": "get", "requestPath": "/orgs/{org}/installations", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "org", @@ -22049,8 +22215,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/orgs/ORG/installations", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/orgs/ORG/installations
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/installations", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/installations
    " }, { "lang": "JavaScript", @@ -22093,7 +22259,7 @@ { "verb": "get", "requestPath": "/orgs/{org}/issues", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "org", @@ -22116,6 +22282,7 @@ "created", "mentioned", "subscribed", + "repos", "all" ], "default": "assigned" @@ -22213,8 +22380,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/orgs/ORG/issues", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/orgs/ORG/issues
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/issues", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/issues
    " }, { "lang": "JavaScript", @@ -22269,7 +22436,7 @@ { "verb": "get", "requestPath": "/orgs/{org}/members", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "org", @@ -22335,8 +22502,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/orgs/ORG/members", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/orgs/ORG/members
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/members", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/members
    " }, { "lang": "JavaScript", @@ -22391,7 +22558,7 @@ { "verb": "get", "requestPath": "/orgs/{org}/members/{username}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "org", @@ -22415,8 +22582,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/orgs/ORG/members/USERNAME", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/orgs/ORG/members/USERNAME
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/members/USERNAME", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/members/USERNAME
    " }, { "lang": "JavaScript", @@ -22470,7 +22637,7 @@ { "verb": "delete", "requestPath": "/orgs/{org}/members/{username}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "org", @@ -22494,8 +22661,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/orgs/ORG/members/USERNAME", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/orgs/ORG/members/USERNAME
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/members/USERNAME", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/members/USERNAME
    " }, { "lang": "JavaScript", @@ -22530,7 +22697,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "403", @@ -22544,7 +22711,7 @@ { "verb": "get", "requestPath": "/orgs/{org}/memberships/{username}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "org", @@ -22568,8 +22735,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/orgs/ORG/memberships/USERNAME", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/orgs/ORG/memberships/USERNAME
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/memberships/USERNAME", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/memberships/USERNAME
    " }, { "lang": "JavaScript", @@ -22578,7 +22745,7 @@ } ], "summary": "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.", + "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.", "tags": [ "orgs" ], @@ -22601,7 +22768,7 @@ "subcategoryLabel": "Members", "notes": [], "bodyParameters": [], - "descriptionHTML": "

    In order to get a user's membership with an organization, the authenticated user must be an organization member.

    ", + "descriptionHTML": "

    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.

    ", "responses": [ { "httpStatusCode": "200", @@ -22609,18 +22776,6 @@ "description": "Response if user has an active admin membership with organization", "payload": "
    {\n  \"url\": \"https://api.github.com/orgs/octocat/memberships/defunkt\",\n  \"state\": \"active\",\n  \"role\": \"admin\",\n  \"organization_url\": \"https://api.github.com/orgs/octocat\",\n  \"organization\": {\n    \"login\": \"github\",\n    \"id\": 1,\n    \"node_id\": \"MDEyOk9yZ2FuaXphdGlvbjE=\",\n    \"url\": \"https://api.github.com/orgs/github\",\n    \"repos_url\": \"https://api.github.com/orgs/github/repos\",\n    \"events_url\": \"https://api.github.com/orgs/github/events\",\n    \"hooks_url\": \"https://api.github.com/orgs/github/hooks\",\n    \"issues_url\": \"https://api.github.com/orgs/github/issues\",\n    \"members_url\": \"https://api.github.com/orgs/github/members{/member}\",\n    \"public_members_url\": \"https://api.github.com/orgs/github/public_members{/member}\",\n    \"avatar_url\": \"https://github.com/images/error/octocat_happy.gif\",\n    \"description\": \"A great organization\"\n  },\n  \"user\": {\n    \"login\": \"octocat\",\n    \"id\": 1,\n    \"node_id\": \"MDQ6VXNlcjE=\",\n    \"avatar_url\": \"https://github.com/images/error/octocat_happy.gif\",\n    \"gravatar_id\": \"\",\n    \"url\": \"https://api.github.com/users/octocat\",\n    \"html_url\": \"https://github.com/octocat\",\n    \"followers_url\": \"https://api.github.com/users/octocat/followers\",\n    \"following_url\": \"https://api.github.com/users/octocat/following{/other_user}\",\n    \"gists_url\": \"https://api.github.com/users/octocat/gists{/gist_id}\",\n    \"starred_url\": \"https://api.github.com/users/octocat/starred{/owner}{/repo}\",\n    \"subscriptions_url\": \"https://api.github.com/users/octocat/subscriptions\",\n    \"organizations_url\": \"https://api.github.com/users/octocat/orgs\",\n    \"repos_url\": \"https://api.github.com/users/octocat/repos\",\n    \"events_url\": \"https://api.github.com/users/octocat/events{/privacy}\",\n    \"received_events_url\": \"https://api.github.com/users/octocat/received_events\",\n    \"type\": \"User\",\n    \"site_admin\": false\n  }\n}\n
    " }, - { - "httpStatusCode": "200", - "httpStatusMessage": "OK", - "description": "Response if user has an active membership with organization", - "payload": "
    {\n  \"url\": \"https://api.github.com/orgs/octocat/memberships/defunkt\",\n  \"state\": \"active\",\n  \"role\": \"member\",\n  \"organization_url\": \"https://api.github.com/orgs/octocat\",\n  \"organization\": {\n    \"login\": \"github\",\n    \"id\": 1,\n    \"node_id\": \"MDEyOk9yZ2FuaXphdGlvbjE=\",\n    \"url\": \"https://api.github.com/orgs/github\",\n    \"repos_url\": \"https://api.github.com/orgs/github/repos\",\n    \"events_url\": \"https://api.github.com/orgs/github/events\",\n    \"hooks_url\": \"https://api.github.com/orgs/github/hooks\",\n    \"issues_url\": \"https://api.github.com/orgs/github/issues\",\n    \"members_url\": \"https://api.github.com/orgs/github/members{/member}\",\n    \"public_members_url\": \"https://api.github.com/orgs/github/public_members{/member}\",\n    \"avatar_url\": \"https://github.com/images/error/octocat_happy.gif\",\n    \"description\": \"A great organization\"\n  },\n  \"user\": {\n    \"login\": \"octocat\",\n    \"id\": 1,\n    \"node_id\": \"MDQ6VXNlcjE=\",\n    \"avatar_url\": \"https://github.com/images/error/octocat_happy.gif\",\n    \"gravatar_id\": \"\",\n    \"url\": \"https://api.github.com/users/octocat\",\n    \"html_url\": \"https://github.com/octocat\",\n    \"followers_url\": \"https://api.github.com/users/octocat/followers\",\n    \"following_url\": \"https://api.github.com/users/octocat/following{/other_user}\",\n    \"gists_url\": \"https://api.github.com/users/octocat/gists{/gist_id}\",\n    \"starred_url\": \"https://api.github.com/users/octocat/starred{/owner}{/repo}\",\n    \"subscriptions_url\": \"https://api.github.com/users/octocat/subscriptions\",\n    \"organizations_url\": \"https://api.github.com/users/octocat/orgs\",\n    \"repos_url\": \"https://api.github.com/users/octocat/repos\",\n    \"events_url\": \"https://api.github.com/users/octocat/events{/privacy}\",\n    \"received_events_url\": \"https://api.github.com/users/octocat/received_events\",\n    \"type\": \"User\",\n    \"site_admin\": false\n  }\n}\n
    " - }, - { - "httpStatusCode": "200", - "httpStatusMessage": "OK", - "description": "Response if user has a pending membership with organization", - "payload": "
    {\n  \"url\": \"https://api.github.com/orgs/invitocat/memberships/defunkt\",\n  \"state\": \"pending\",\n  \"role\": \"member\",\n  \"organization_url\": \"https://api.github.com/orgs/invitocat\",\n  \"organization\": {\n    \"login\": \"github\",\n    \"id\": 1,\n    \"node_id\": \"MDEyOk9yZ2FuaXphdGlvbjE=\",\n    \"url\": \"https://api.github.com/orgs/github\",\n    \"repos_url\": \"https://api.github.com/orgs/github/repos\",\n    \"events_url\": \"https://api.github.com/orgs/github/events\",\n    \"hooks_url\": \"https://api.github.com/orgs/github/hooks\",\n    \"issues_url\": \"https://api.github.com/orgs/github/issues\",\n    \"members_url\": \"https://api.github.com/orgs/github/members{/member}\",\n    \"public_members_url\": \"https://api.github.com/orgs/github/public_members{/member}\",\n    \"avatar_url\": \"https://github.com/images/error/octocat_happy.gif\",\n    \"description\": \"A great organization\"\n  },\n  \"user\": {\n    \"login\": \"octocat\",\n    \"id\": 1,\n    \"node_id\": \"MDQ6VXNlcjE=\",\n    \"avatar_url\": \"https://github.com/images/error/octocat_happy.gif\",\n    \"gravatar_id\": \"\",\n    \"url\": \"https://api.github.com/users/octocat\",\n    \"html_url\": \"https://github.com/octocat\",\n    \"followers_url\": \"https://api.github.com/users/octocat/followers\",\n    \"following_url\": \"https://api.github.com/users/octocat/following{/other_user}\",\n    \"gists_url\": \"https://api.github.com/users/octocat/gists{/gist_id}\",\n    \"starred_url\": \"https://api.github.com/users/octocat/starred{/owner}{/repo}\",\n    \"subscriptions_url\": \"https://api.github.com/users/octocat/subscriptions\",\n    \"organizations_url\": \"https://api.github.com/users/octocat/orgs\",\n    \"repos_url\": \"https://api.github.com/users/octocat/repos\",\n    \"events_url\": \"https://api.github.com/users/octocat/events{/privacy}\",\n    \"received_events_url\": \"https://api.github.com/users/octocat/received_events\",\n    \"type\": \"User\",\n    \"site_admin\": false\n  }\n}\n
    " - }, { "httpStatusCode": "403", "httpStatusMessage": "Forbidden", @@ -22636,7 +22791,7 @@ { "verb": "put", "requestPath": "/orgs/{org}/memberships/{username}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "org", @@ -22660,8 +22815,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/orgs/ORG/memberships/USERNAME \\\n -d '{\"role\":\"role\"}'", - "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/orgs/ORG/memberships/USERNAME \\\n  -d '{\"role\":\"role\"}'
    " + "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/memberships/USERNAME \\\n -d '{\"role\":\"role\"}'", + "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/memberships/USERNAME \\\n  -d '{\"role\":\"role\"}'
    " }, { "lang": "JavaScript", @@ -22738,13 +22893,7 @@ { "httpStatusCode": "200", "httpStatusMessage": "OK", - "description": "Response if user was previously unaffiliated with organization", - "payload": "
    {\n  \"url\": \"https://api.github.com/orgs/invitocat/memberships/defunkt\",\n  \"state\": \"pending\",\n  \"role\": \"admin\",\n  \"organization_url\": \"https://api.github.com/orgs/invitocat\",\n  \"organization\": {\n    \"login\": \"github\",\n    \"id\": 1,\n    \"node_id\": \"MDEyOk9yZ2FuaXphdGlvbjE=\",\n    \"url\": \"https://api.github.com/orgs/github\",\n    \"repos_url\": \"https://api.github.com/orgs/github/repos\",\n    \"events_url\": \"https://api.github.com/orgs/github/events\",\n    \"hooks_url\": \"https://api.github.com/orgs/github/hooks\",\n    \"issues_url\": \"https://api.github.com/orgs/github/issues\",\n    \"members_url\": \"https://api.github.com/orgs/github/members{/member}\",\n    \"public_members_url\": \"https://api.github.com/orgs/github/public_members{/member}\",\n    \"avatar_url\": \"https://github.com/images/error/octocat_happy.gif\",\n    \"description\": \"A great organization\"\n  },\n  \"user\": {\n    \"login\": \"octocat\",\n    \"id\": 1,\n    \"node_id\": \"MDQ6VXNlcjE=\",\n    \"avatar_url\": \"https://github.com/images/error/octocat_happy.gif\",\n    \"gravatar_id\": \"\",\n    \"url\": \"https://api.github.com/users/octocat\",\n    \"html_url\": \"https://github.com/octocat\",\n    \"followers_url\": \"https://api.github.com/users/octocat/followers\",\n    \"following_url\": \"https://api.github.com/users/octocat/following{/other_user}\",\n    \"gists_url\": \"https://api.github.com/users/octocat/gists{/gist_id}\",\n    \"starred_url\": \"https://api.github.com/users/octocat/starred{/owner}{/repo}\",\n    \"subscriptions_url\": \"https://api.github.com/users/octocat/subscriptions\",\n    \"organizations_url\": \"https://api.github.com/users/octocat/orgs\",\n    \"repos_url\": \"https://api.github.com/users/octocat/repos\",\n    \"events_url\": \"https://api.github.com/users/octocat/events{/privacy}\",\n    \"received_events_url\": \"https://api.github.com/users/octocat/received_events\",\n    \"type\": \"User\",\n    \"site_admin\": false\n  }\n}\n
    " - }, - { - "httpStatusCode": "200", - "httpStatusMessage": "OK", - "description": "Response if user already had membership with organization", + "description": "Response if user has an active admin membership with organization", "payload": "
    {\n  \"url\": \"https://api.github.com/orgs/octocat/memberships/defunkt\",\n  \"state\": \"active\",\n  \"role\": \"admin\",\n  \"organization_url\": \"https://api.github.com/orgs/octocat\",\n  \"organization\": {\n    \"login\": \"github\",\n    \"id\": 1,\n    \"node_id\": \"MDEyOk9yZ2FuaXphdGlvbjE=\",\n    \"url\": \"https://api.github.com/orgs/github\",\n    \"repos_url\": \"https://api.github.com/orgs/github/repos\",\n    \"events_url\": \"https://api.github.com/orgs/github/events\",\n    \"hooks_url\": \"https://api.github.com/orgs/github/hooks\",\n    \"issues_url\": \"https://api.github.com/orgs/github/issues\",\n    \"members_url\": \"https://api.github.com/orgs/github/members{/member}\",\n    \"public_members_url\": \"https://api.github.com/orgs/github/public_members{/member}\",\n    \"avatar_url\": \"https://github.com/images/error/octocat_happy.gif\",\n    \"description\": \"A great organization\"\n  },\n  \"user\": {\n    \"login\": \"octocat\",\n    \"id\": 1,\n    \"node_id\": \"MDQ6VXNlcjE=\",\n    \"avatar_url\": \"https://github.com/images/error/octocat_happy.gif\",\n    \"gravatar_id\": \"\",\n    \"url\": \"https://api.github.com/users/octocat\",\n    \"html_url\": \"https://github.com/octocat\",\n    \"followers_url\": \"https://api.github.com/users/octocat/followers\",\n    \"following_url\": \"https://api.github.com/users/octocat/following{/other_user}\",\n    \"gists_url\": \"https://api.github.com/users/octocat/gists{/gist_id}\",\n    \"starred_url\": \"https://api.github.com/users/octocat/starred{/owner}{/repo}\",\n    \"subscriptions_url\": \"https://api.github.com/users/octocat/subscriptions\",\n    \"organizations_url\": \"https://api.github.com/users/octocat/orgs\",\n    \"repos_url\": \"https://api.github.com/users/octocat/repos\",\n    \"events_url\": \"https://api.github.com/users/octocat/events{/privacy}\",\n    \"received_events_url\": \"https://api.github.com/users/octocat/received_events\",\n    \"type\": \"User\",\n    \"site_admin\": false\n  }\n}\n
    " }, { @@ -22762,7 +22911,7 @@ { "verb": "delete", "requestPath": "/orgs/{org}/memberships/{username}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "org", @@ -22786,8 +22935,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/orgs/ORG/memberships/USERNAME", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/orgs/ORG/memberships/USERNAME
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/memberships/USERNAME", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/memberships/USERNAME
    " }, { "lang": "JavaScript", @@ -22822,7 +22971,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "403", @@ -22841,7 +22990,7 @@ { "verb": "get", "requestPath": "/orgs/{org}/outside_collaborators", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "org", @@ -22891,8 +23040,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/orgs/ORG/outside_collaborators", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/orgs/ORG/outside_collaborators
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/outside_collaborators", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/outside_collaborators
    " }, { "lang": "JavaScript", @@ -22937,7 +23086,7 @@ { "verb": "put", "requestPath": "/orgs/{org}/outside_collaborators/{username}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "org", @@ -22961,8 +23110,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/orgs/ORG/outside_collaborators/USERNAME", - "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/orgs/ORG/outside_collaborators/USERNAME
    " + "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/outside_collaborators/USERNAME", + "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/outside_collaborators/USERNAME
    " }, { "lang": "JavaScript", @@ -22993,8 +23142,6 @@ "subcategory": "outside-collaborators", "subcategoryLabel": "Outside collaborators", "notes": [], - "bodyParameters": [], - "descriptionHTML": "

    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\".

    ", "responses": [ { "httpStatusCode": "202", @@ -23009,26 +23156,21 @@ { "httpStatusCode": "403", "httpStatusMessage": "Forbidden", - "description": "Response if user is the last owner of the organization", - "payload": "
    {\n  \"message\": \"Cannot convert the last owner to an outside collaborator\",\n  \"documentation_url\": \"https://docs.github.com/enterprise-server@3.0/rest/reference/orgs#convert-member-to-outside-collaborator\"\n}\n
    " - }, - { - "httpStatusCode": "403", - "httpStatusMessage": "Forbidden", - "description": "Response if user is not a member of the organization", - "payload": "
    {\n  \"message\": \"<user> is not a member of the <organization> organization.\",\n  \"documentation_url\": \"https://docs.github.com/enterprise-server@3.0/rest/reference/orgs#convert-member-to-outside-collaborator\"\n}\n
    " + "description": "Response if user is the last owner of the organization or not a member of the organization" }, { "httpStatusCode": "404", "httpStatusMessage": "Not Found", "description": "Resource not found" } - ] + ], + "bodyParameters": [], + "descriptionHTML": "

    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\".

    " }, { "verb": "delete", "requestPath": "/orgs/{org}/outside_collaborators/{username}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "org", @@ -23052,8 +23194,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/orgs/ORG/outside_collaborators/USERNAME", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/orgs/ORG/outside_collaborators/USERNAME
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/outside_collaborators/USERNAME", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/outside_collaborators/USERNAME
    " }, { "lang": "JavaScript", @@ -23090,7 +23232,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "422", @@ -23103,7 +23245,7 @@ { "verb": "get", "requestPath": "/orgs/{org}/pre-receive-hooks", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "org", @@ -23133,13 +23275,44 @@ "default": 1 }, "descriptionHTML": "

    Page number of the results to fetch.

    " + }, + { + "name": "direction", + "description": "One of `asc` (ascending) or `desc` (descending).", + "in": "query", + "required": false, + "schema": { + "type": "string", + "enum": [ + "asc", + "desc" + ], + "default": "desc" + }, + "descriptionHTML": "

    One of asc (ascending) or desc (descending).

    " + }, + { + "name": "sort", + "description": "The sort order for the response collection.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "enum": [ + "created", + "updated", + "name" + ], + "default": "created" + }, + "descriptionHTML": "

    The sort order for the response collection.

    " } ], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n https://api.github.com/orgs/ORG/pre-receive-hooks", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n  https://api.github.com/orgs/ORG/pre-receive-hooks
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/pre-receive-hooks", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/pre-receive-hooks
    " }, { "lang": "JavaScript", @@ -23191,7 +23364,7 @@ { "verb": "get", "requestPath": "/orgs/{org}/pre-receive-hooks/{pre_receive_hook_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "org", @@ -23215,8 +23388,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n https://api.github.com/orgs/ORG/pre-receive-hooks/42", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n  https://api.github.com/orgs/ORG/pre-receive-hooks/42
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/pre-receive-hooks/42", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/pre-receive-hooks/42
    " }, { "lang": "JavaScript", @@ -23268,7 +23441,7 @@ { "verb": "patch", "requestPath": "/orgs/{org}/pre-receive-hooks/{pre_receive_hook_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "org", @@ -23292,8 +23465,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n https://api.github.com/orgs/ORG/pre-receive-hooks/42 \\\n -d '{\"enforcement\":\"enforcement\"}'", - "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n  https://api.github.com/orgs/ORG/pre-receive-hooks/42 \\\n  -d '{\"enforcement\":\"enforcement\"}'
    " + "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/pre-receive-hooks/42 \\\n -d '{\"enforcement\":\"enforcement\"}'", + "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/pre-receive-hooks/42 \\\n  -d '{\"enforcement\":\"enforcement\"}'
    " }, { "lang": "JavaScript", @@ -23397,7 +23570,7 @@ { "verb": "delete", "requestPath": "/orgs/{org}/pre-receive-hooks/{pre_receive_hook_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "org", @@ -23421,8 +23594,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n https://api.github.com/orgs/ORG/pre-receive-hooks/42", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n  https://api.github.com/orgs/ORG/pre-receive-hooks/42
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/pre-receive-hooks/42", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/pre-receive-hooks/42
    " }, { "lang": "JavaScript", @@ -23474,7 +23647,7 @@ { "verb": "get", "requestPath": "/orgs/{org}/projects", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "org", @@ -23525,8 +23698,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n https://api.github.com/orgs/ORG/projects", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  https://api.github.com/orgs/ORG/projects
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/projects", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/projects
    " }, { "lang": "JavaScript", @@ -23581,7 +23754,7 @@ { "verb": "post", "requestPath": "/orgs/{org}/projects", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "org", @@ -23596,8 +23769,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n https://api.github.com/orgs/ORG/projects \\\n -d '{\"name\":\"name\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  https://api.github.com/orgs/ORG/projects \\\n  -d '{\"name\":\"name\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/projects \\\n -d '{\"name\":\"name\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/projects \\\n  -d '{\"name\":\"name\"}'
    " }, { "lang": "JavaScript", @@ -23727,7 +23900,7 @@ { "verb": "get", "requestPath": "/orgs/{org}/public_members", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "org", @@ -23762,8 +23935,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/orgs/ORG/public_members", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/orgs/ORG/public_members
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/public_members", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/public_members
    " }, { "lang": "JavaScript", @@ -23808,7 +23981,7 @@ { "verb": "get", "requestPath": "/orgs/{org}/public_members/{username}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "org", @@ -23832,8 +24005,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/orgs/ORG/public_members/USERNAME", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/orgs/ORG/public_members/USERNAME
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/public_members/USERNAME", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/public_members/USERNAME
    " }, { "lang": "JavaScript", @@ -23882,7 +24055,7 @@ { "verb": "put", "requestPath": "/orgs/{org}/public_members/{username}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "org", @@ -23906,8 +24079,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/orgs/ORG/public_members/USERNAME", - "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/orgs/ORG/public_members/USERNAME
    " + "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/public_members/USERNAME", + "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/public_members/USERNAME
    " }, { "lang": "JavaScript", @@ -23942,7 +24115,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "403", @@ -23956,7 +24129,7 @@ { "verb": "delete", "requestPath": "/orgs/{org}/public_members/{username}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "org", @@ -23980,8 +24153,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/orgs/ORG/public_members/USERNAME", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/orgs/ORG/public_members/USERNAME
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/public_members/USERNAME", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/public_members/USERNAME
    " }, { "lang": "JavaScript", @@ -24016,7 +24189,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "bodyParameters": [], @@ -24025,7 +24198,7 @@ { "verb": "get", "requestPath": "/orgs/{org}/repos", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "org", @@ -24038,7 +24211,7 @@ }, { "name": "type", - "description": "Specifies the types of repositories you want returned. Can be one of `all`, `public`, `private`, `forks`, `sources`, `member`, `internal`. Default: `all`. If your organization is associated with an enterprise account using GitHub Enterprise Cloud or GitHub Enterprise Server 2.20+, `type` can also be `internal`.", + "description": "Specifies the types of repositories you want returned. Can be one of `all`, `public`, `private`, `forks`, `sources`, `member`, `internal`. Note: For GitHub AE, can be one of `all`, `private`, `forks`, `sources`, `member`, `internal`. Default: `all`. If your organization is associated with an enterprise account using GitHub Enterprise Cloud or GitHub Enterprise Server 2.20+, `type` can also be `internal`.", "in": "query", "required": false, "schema": { @@ -24053,7 +24226,7 @@ "internal" ] }, - "descriptionHTML": "

    Specifies the types of repositories you want returned. Can be one of all, public, private, forks, sources, member, internal. Default: all. If your organization is associated with an enterprise account using GitHub Enterprise Cloud or GitHub Enterprise Server 2.20+, type can also be internal.

    " + "descriptionHTML": "

    Specifies the types of repositories you want returned. Can be one of all, public, private, forks, sources, member, internal. Note: For GitHub AE, can be one of all, private, forks, sources, member, internal. Default: all. If your organization is associated with an enterprise account using GitHub Enterprise Cloud or GitHub Enterprise Server 2.20+, type can also be internal.

    " }, { "name": "sort", @@ -24110,8 +24283,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/orgs/ORG/repos", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/orgs/ORG/repos
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/repos", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/repos
    " }, { "lang": "JavaScript", @@ -24167,7 +24340,7 @@ { "verb": "post", "requestPath": "/orgs/{org}/repos", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "org", @@ -24182,8 +24355,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/orgs/ORG/repos \\\n -d '{\"name\":\"name\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/orgs/ORG/repos \\\n  -d '{\"name\":\"name\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/repos \\\n -d '{\"name\":\"name\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/repos \\\n  -d '{\"name\":\"name\"}'
    " }, { "lang": "JavaScript", @@ -24192,7 +24365,7 @@ } ], "summary": "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", + "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", "tags": [ "repos" ], @@ -24236,17 +24409,17 @@ }, "private": { "type": "boolean", - "description": "

    Either true to create a private repository or false to create a public one.

    ", + "description": "

    Whether the repository is private.

    ", "default": false, "name": "private", "in": "body", "rawType": "boolean", - "rawDescription": "Either `true` to create a private repository or `false` to create a public one.", + "rawDescription": "Whether the repository is private.", "childParamsGroups": [] }, "visibility": { "type": "string", - "description": "

    Can be public or private. If your organization is associated with an enterprise account using GitHub Enterprise Cloud or GitHub Enterprise Server 2.20+, visibility can also be internal. For more information, see \"Creating an internal repository\" in the GitHub Help documentation.
    \nThe visibility parameter overrides the private parameter when you use both parameters with the nebula-preview preview header.

    ", + "description": "

    Can be public or private. If your organization is associated with an enterprise account using GitHub Enterprise Cloud or GitHub Enterprise Server 2.20+, visibility can also be internal. Note: For GitHub Enterprise Server and GitHub AE, this endpoint will only list repositories available to all users on the enterprise. For more information, see \"Creating an internal repository\" in the GitHub Help documentation.
    \nThe visibility parameter overrides the private parameter when you use both parameters with the nebula-preview preview header.

    ", "enum": [ "public", "private", @@ -24256,7 +24429,7 @@ "name": "visibility", "in": "body", "rawType": "string", - "rawDescription": "Can be `public` or `private`. If your organization is associated with an enterprise account using GitHub Enterprise Cloud or GitHub Enterprise Server 2.20+, `visibility` can also be `internal`. For more information, see \"[Creating an internal repository](https://help.github.com/en/github/creating-cloning-and-archiving-repositories/about-repository-visibility#about-internal-repositories)\" in the GitHub Help documentation. \nThe `visibility` parameter overrides the `private` parameter when you use both parameters with the `nebula-preview` preview header.", + "rawDescription": "Can be `public` or `private`. If your organization is associated with an enterprise account using GitHub Enterprise Cloud or GitHub Enterprise Server 2.20+, `visibility` can also be `internal`. Note: For GitHub Enterprise Server and GitHub AE, this endpoint will only list repositories available to all users on the enterprise. For more information, see \"[Creating an internal repository](https://help.github.com/en/github/creating-cloning-and-archiving-repositories/about-repository-visibility#about-internal-repositories)\" in the GitHub Help documentation. \nThe `visibility` parameter overrides the `private` parameter when you use both parameters with the `nebula-preview` preview header.", "childParamsGroups": [] }, "has_issues": { @@ -24417,7 +24590,7 @@ "category": "repos", "categoryLabel": "Repos", "notes": [], - "descriptionHTML": "

    Creates a new repository in the specified organization. The authenticated user must be a member of the organization.

    \n

    OAuth scope requirements

    \n

    When using OAuth, 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
    ", + "descriptionHTML": "

    Creates a new repository in the specified organization. The authenticated user must be a member of the organization.

    \n

    OAuth scope requirements

    \n

    When using OAuth, 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
    ", "bodyParameters": [ { "type": "string", @@ -24448,17 +24621,17 @@ }, { "type": "boolean", - "description": "

    Either true to create a private repository or false to create a public one.

    ", + "description": "

    Whether the repository is private.

    ", "default": false, "name": "private", "in": "body", "rawType": "boolean", - "rawDescription": "Either `true` to create a private repository or `false` to create a public one.", + "rawDescription": "Whether the repository is private.", "childParamsGroups": [] }, { "type": "string", - "description": "

    Can be public or private. If your organization is associated with an enterprise account using GitHub Enterprise Cloud or GitHub Enterprise Server 2.20+, visibility can also be internal. For more information, see \"Creating an internal repository\" in the GitHub Help documentation.
    \nThe visibility parameter overrides the private parameter when you use both parameters with the nebula-preview preview header.

    ", + "description": "

    Can be public or private. If your organization is associated with an enterprise account using GitHub Enterprise Cloud or GitHub Enterprise Server 2.20+, visibility can also be internal. Note: For GitHub Enterprise Server and GitHub AE, this endpoint will only list repositories available to all users on the enterprise. For more information, see \"Creating an internal repository\" in the GitHub Help documentation.
    \nThe visibility parameter overrides the private parameter when you use both parameters with the nebula-preview preview header.

    ", "enum": [ "public", "private", @@ -24468,7 +24641,7 @@ "name": "visibility", "in": "body", "rawType": "string", - "rawDescription": "Can be `public` or `private`. If your organization is associated with an enterprise account using GitHub Enterprise Cloud or GitHub Enterprise Server 2.20+, `visibility` can also be `internal`. For more information, see \"[Creating an internal repository](https://help.github.com/en/github/creating-cloning-and-archiving-repositories/about-repository-visibility#about-internal-repositories)\" in the GitHub Help documentation. \nThe `visibility` parameter overrides the `private` parameter when you use both parameters with the `nebula-preview` preview header.", + "rawDescription": "Can be `public` or `private`. If your organization is associated with an enterprise account using GitHub Enterprise Cloud or GitHub Enterprise Server 2.20+, `visibility` can also be `internal`. Note: For GitHub Enterprise Server and GitHub AE, this endpoint will only list repositories available to all users on the enterprise. For more information, see \"[Creating an internal repository](https://help.github.com/en/github/creating-cloning-and-archiving-repositories/about-repository-visibility#about-internal-repositories)\" in the GitHub Help documentation. \nThe `visibility` parameter overrides the `private` parameter when you use both parameters with the `nebula-preview` preview header.", "childParamsGroups": [] }, { @@ -24611,7 +24784,7 @@ { "verb": "get", "requestPath": "/orgs/{org}/teams", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "org", @@ -24646,8 +24819,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/orgs/ORG/teams", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/orgs/ORG/teams
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/teams", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/teams
    " }, { "lang": "JavaScript", @@ -24695,7 +24868,7 @@ { "verb": "post", "requestPath": "/orgs/{org}/teams", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "org", @@ -24710,8 +24883,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/orgs/ORG/teams \\\n -d '{\"name\":\"name\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/orgs/ORG/teams \\\n  -d '{\"name\":\"name\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/teams \\\n -d '{\"name\":\"name\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/teams \\\n  -d '{\"name\":\"name\"}'
    " }, { "lang": "JavaScript", @@ -24943,7 +25116,7 @@ { "verb": "get", "requestPath": "/orgs/{org}/teams/{team_slug}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "org", @@ -24968,8 +25141,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/orgs/ORG/teams/TEAM_SLUG", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/orgs/ORG/teams/TEAM_SLUG
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/teams/TEAM_SLUG", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/teams/TEAM_SLUG
    " }, { "lang": "JavaScript", @@ -25017,7 +25190,7 @@ { "verb": "patch", "requestPath": "/orgs/{org}/teams/{team_slug}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "org", @@ -25042,8 +25215,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/orgs/ORG/teams/TEAM_SLUG \\\n -d '{\"name\":\"name\"}'", - "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/orgs/ORG/teams/TEAM_SLUG \\\n  -d '{\"name\":\"name\"}'
    " + "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/teams/TEAM_SLUG \\\n -d '{\"name\":\"name\"}'", + "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/teams/TEAM_SLUG \\\n  -d '{\"name\":\"name\"}'
    " }, { "lang": "JavaScript", @@ -25215,7 +25388,7 @@ { "verb": "delete", "requestPath": "/orgs/{org}/teams/{team_slug}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "org", @@ -25240,8 +25413,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/orgs/ORG/teams/TEAM_SLUG", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/orgs/ORG/teams/TEAM_SLUG
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/teams/TEAM_SLUG", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/teams/TEAM_SLUG
    " }, { "lang": "JavaScript", @@ -25274,7 +25447,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "bodyParameters": [], @@ -25283,7 +25456,7 @@ { "verb": "get", "requestPath": "/orgs/{org}/teams/{team_slug}/discussions", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "org", @@ -25338,13 +25511,23 @@ "default": 1 }, "descriptionHTML": "

    Page number of the results to fetch.

    " + }, + { + "name": "pinned", + "in": "query", + "required": false, + "description": "Pinned discussions only filter", + "schema": { + "type": "string" + }, + "descriptionHTML": "

    Pinned discussions only filter

    " } ], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/orgs/ORG/teams/TEAM_SLUG/discussions", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/orgs/ORG/teams/TEAM_SLUG/discussions
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/teams/TEAM_SLUG/discussions", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/teams/TEAM_SLUG/discussions
    " }, { "lang": "JavaScript", @@ -25396,7 +25579,7 @@ { "verb": "post", "requestPath": "/orgs/{org}/teams/{team_slug}/discussions", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "org", @@ -25421,8 +25604,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/orgs/ORG/teams/TEAM_SLUG/discussions \\\n -d '{\"title\":\"title\",\"body\":\"body\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/orgs/ORG/teams/TEAM_SLUG/discussions \\\n  -d '{\"title\":\"title\",\"body\":\"body\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/teams/TEAM_SLUG/discussions \\\n -d '{\"title\":\"title\",\"body\":\"body\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/teams/TEAM_SLUG/discussions \\\n  -d '{\"title\":\"title\",\"body\":\"body\"}'
    " }, { "lang": "JavaScript", @@ -25551,7 +25734,7 @@ { "verb": "get", "requestPath": "/orgs/{org}/teams/{team_slug}/discussions/{discussion_number}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "org", @@ -25585,8 +25768,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/orgs/ORG/teams/TEAM_SLUG/discussions/42", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/orgs/ORG/teams/TEAM_SLUG/discussions/42
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/teams/TEAM_SLUG/discussions/42", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/teams/TEAM_SLUG/discussions/42
    " }, { "lang": "JavaScript", @@ -25638,7 +25821,7 @@ { "verb": "patch", "requestPath": "/orgs/{org}/teams/{team_slug}/discussions/{discussion_number}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "org", @@ -25672,8 +25855,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/orgs/ORG/teams/TEAM_SLUG/discussions/42 \\\n -d '{\"title\":\"title\"}'", - "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/orgs/ORG/teams/TEAM_SLUG/discussions/42 \\\n  -d '{\"title\":\"title\"}'
    " + "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/teams/TEAM_SLUG/discussions/42 \\\n -d '{\"title\":\"title\"}'", + "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/teams/TEAM_SLUG/discussions/42 \\\n  -d '{\"title\":\"title\"}'
    " }, { "lang": "JavaScript", @@ -25776,7 +25959,7 @@ { "verb": "delete", "requestPath": "/orgs/{org}/teams/{team_slug}/discussions/{discussion_number}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "org", @@ -25810,8 +25993,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/orgs/ORG/teams/TEAM_SLUG/discussions/42", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/orgs/ORG/teams/TEAM_SLUG/discussions/42
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/teams/TEAM_SLUG/discussions/42", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/teams/TEAM_SLUG/discussions/42
    " }, { "lang": "JavaScript", @@ -25846,7 +26029,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "bodyParameters": [], @@ -25855,7 +26038,7 @@ { "verb": "get", "requestPath": "/orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "org", @@ -25924,8 +26107,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/orgs/ORG/teams/TEAM_SLUG/discussions/42/comments", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/orgs/ORG/teams/TEAM_SLUG/discussions/42/comments
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/teams/TEAM_SLUG/discussions/42/comments", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/teams/TEAM_SLUG/discussions/42/comments
    " }, { "lang": "JavaScript", @@ -25977,7 +26160,7 @@ { "verb": "post", "requestPath": "/orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "org", @@ -26011,8 +26194,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/orgs/ORG/teams/TEAM_SLUG/discussions/42/comments \\\n -d '{\"body\":\"body\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/orgs/ORG/teams/TEAM_SLUG/discussions/42/comments \\\n  -d '{\"body\":\"body\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/teams/TEAM_SLUG/discussions/42/comments \\\n -d '{\"body\":\"body\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/teams/TEAM_SLUG/discussions/42/comments \\\n  -d '{\"body\":\"body\"}'
    " }, { "lang": "JavaScript", @@ -26101,7 +26284,7 @@ { "verb": "get", "requestPath": "/orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "org", @@ -26144,8 +26327,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/orgs/ORG/teams/TEAM_SLUG/discussions/42/comments/42", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/orgs/ORG/teams/TEAM_SLUG/discussions/42/comments/42
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/teams/TEAM_SLUG/discussions/42/comments/42", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/teams/TEAM_SLUG/discussions/42/comments/42
    " }, { "lang": "JavaScript", @@ -26197,7 +26380,7 @@ { "verb": "patch", "requestPath": "/orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "org", @@ -26240,8 +26423,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/orgs/ORG/teams/TEAM_SLUG/discussions/42/comments/42 \\\n -d '{\"body\":\"body\"}'", - "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/orgs/ORG/teams/TEAM_SLUG/discussions/42/comments/42 \\\n  -d '{\"body\":\"body\"}'
    " + "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/teams/TEAM_SLUG/discussions/42/comments/42 \\\n -d '{\"body\":\"body\"}'", + "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/teams/TEAM_SLUG/discussions/42/comments/42 \\\n  -d '{\"body\":\"body\"}'
    " }, { "lang": "JavaScript", @@ -26329,7 +26512,7 @@ { "verb": "delete", "requestPath": "/orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "org", @@ -26372,8 +26555,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/orgs/ORG/teams/TEAM_SLUG/discussions/42/comments/42", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/orgs/ORG/teams/TEAM_SLUG/discussions/42/comments/42
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/teams/TEAM_SLUG/discussions/42/comments/42", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/teams/TEAM_SLUG/discussions/42/comments/42
    " }, { "lang": "JavaScript", @@ -26408,7 +26591,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "bodyParameters": [], @@ -26417,7 +26600,7 @@ { "verb": "get", "requestPath": "/orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}/reactions", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "org", @@ -26500,8 +26683,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n https://api.github.com/orgs/ORG/teams/TEAM_SLUG/discussions/42/comments/42/reactions", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n  https://api.github.com/orgs/ORG/teams/TEAM_SLUG/discussions/42/comments/42/reactions
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/teams/TEAM_SLUG/discussions/42/comments/42/reactions", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/teams/TEAM_SLUG/discussions/42/comments/42/reactions
    " }, { "lang": "JavaScript", @@ -26551,7 +26734,7 @@ { "verb": "post", "requestPath": "/orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}/reactions", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "org", @@ -26594,8 +26777,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n https://api.github.com/orgs/ORG/teams/TEAM_SLUG/discussions/42/comments/42/reactions \\\n -d '{\"content\":\"content\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n  https://api.github.com/orgs/ORG/teams/TEAM_SLUG/discussions/42/comments/42/reactions \\\n  -d '{\"content\":\"content\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/teams/TEAM_SLUG/discussions/42/comments/42/reactions \\\n -d '{\"content\":\"content\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/teams/TEAM_SLUG/discussions/42/comments/42/reactions \\\n  -d '{\"content\":\"content\"}'
    " }, { "lang": "JavaScript", @@ -26701,7 +26884,7 @@ { "verb": "delete", "requestPath": "/orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}/reactions/{reaction_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "org", @@ -26753,8 +26936,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n https://api.github.com/orgs/ORG/teams/TEAM_SLUG/discussions/42/comments/42/reactions/42", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n  https://api.github.com/orgs/ORG/teams/TEAM_SLUG/discussions/42/comments/42/reactions/42
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/teams/TEAM_SLUG/discussions/42/comments/42/reactions/42", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/teams/TEAM_SLUG/discussions/42/comments/42/reactions/42
    " }, { "lang": "JavaScript", @@ -26794,7 +26977,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "bodyParameters": [], @@ -26803,7 +26986,7 @@ { "verb": "get", "requestPath": "/orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/reactions", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "org", @@ -26877,8 +27060,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n https://api.github.com/orgs/ORG/teams/TEAM_SLUG/discussions/42/reactions", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n  https://api.github.com/orgs/ORG/teams/TEAM_SLUG/discussions/42/reactions
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/teams/TEAM_SLUG/discussions/42/reactions", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/teams/TEAM_SLUG/discussions/42/reactions
    " }, { "lang": "JavaScript", @@ -26928,7 +27111,7 @@ { "verb": "post", "requestPath": "/orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/reactions", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "org", @@ -26962,8 +27145,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n https://api.github.com/orgs/ORG/teams/TEAM_SLUG/discussions/42/reactions \\\n -d '{\"content\":\"content\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n  https://api.github.com/orgs/ORG/teams/TEAM_SLUG/discussions/42/reactions \\\n  -d '{\"content\":\"content\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/teams/TEAM_SLUG/discussions/42/reactions \\\n -d '{\"content\":\"content\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/teams/TEAM_SLUG/discussions/42/reactions \\\n  -d '{\"content\":\"content\"}'
    " }, { "lang": "JavaScript", @@ -27069,7 +27252,7 @@ { "verb": "delete", "requestPath": "/orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/reactions/{reaction_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "org", @@ -27112,8 +27295,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n https://api.github.com/orgs/ORG/teams/TEAM_SLUG/discussions/42/reactions/42", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n  https://api.github.com/orgs/ORG/teams/TEAM_SLUG/discussions/42/reactions/42
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/teams/TEAM_SLUG/discussions/42/reactions/42", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/teams/TEAM_SLUG/discussions/42/reactions/42
    " }, { "lang": "JavaScript", @@ -27153,7 +27336,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "bodyParameters": [], @@ -27162,7 +27345,7 @@ { "verb": "get", "requestPath": "/orgs/{org}/teams/{team_slug}/members", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "org", @@ -27223,8 +27406,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/orgs/ORG/teams/TEAM_SLUG/members", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/orgs/ORG/teams/TEAM_SLUG/members
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/teams/TEAM_SLUG/members", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/teams/TEAM_SLUG/members
    " }, { "lang": "JavaScript", @@ -27269,7 +27452,7 @@ { "verb": "get", "requestPath": "/orgs/{org}/teams/{team_slug}/memberships/{username}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "org", @@ -27303,8 +27486,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/orgs/ORG/teams/TEAM_SLUG/memberships/USERNAME", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/orgs/ORG/teams/TEAM_SLUG/memberships/USERNAME
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/teams/TEAM_SLUG/memberships/USERNAME", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/teams/TEAM_SLUG/memberships/USERNAME
    " }, { "lang": "JavaScript", @@ -27313,7 +27496,7 @@ } ], "summary": "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).", + "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).", "tags": [ "teams" ], @@ -27336,26 +27519,14 @@ "subcategoryLabel": "Members", "notes": [], "bodyParameters": [], - "descriptionHTML": "

    Team members will include the members of child teams.

    \n

    To get a user's membership with a team, the team must be visible to the authenticated user.

    \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

    Note: The role for organization owners returns as maintainer. For more information about maintainer roles, see Create a team.

    ", + "descriptionHTML": "

    Team members will include the members of child teams.

    \n

    To get a user's membership with a team, the team must be visible to the authenticated user.

    \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

    Note:\nThe response contains the state of the membership and the member's role.

    \n

    The role for organization owners is set to maintainer. For more information about maintainer roles, see see Create a team.

    ", "responses": [ - { - "httpStatusCode": "200", - "httpStatusMessage": "OK", - "description": "Response if user has an active membership with team", - "payload": "
    {\n  \"url\": \"https://api.github.com/teams/1/memberships/octocat\",\n  \"role\": \"member\",\n  \"state\": \"active\"\n}\n
    " - }, { "httpStatusCode": "200", "httpStatusMessage": "OK", "description": "Response if user is a team maintainer", "payload": "
    {\n  \"url\": \"https://api.github.com/teams/1/memberships/octocat\",\n  \"role\": \"maintainer\",\n  \"state\": \"active\"\n}\n
    " }, - { - "httpStatusCode": "200", - "httpStatusMessage": "OK", - "description": "Response if user has a pending membership with team", - "payload": "
    {\n  \"url\": \"https://api.github.com/teams/1/memberships/octocat\",\n  \"role\": \"member\",\n  \"state\": \"pending\"\n}\n
    " - }, { "httpStatusCode": "404", "httpStatusMessage": "Not Found", @@ -27366,7 +27537,7 @@ { "verb": "put", "requestPath": "/orgs/{org}/teams/{team_slug}/memberships/{username}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "org", @@ -27400,8 +27571,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/orgs/ORG/teams/TEAM_SLUG/memberships/USERNAME \\\n -d '{\"role\":\"role\"}'", - "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/orgs/ORG/teams/TEAM_SLUG/memberships/USERNAME \\\n  -d '{\"role\":\"role\"}'
    " + "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/teams/TEAM_SLUG/memberships/USERNAME \\\n -d '{\"role\":\"role\"}'", + "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/teams/TEAM_SLUG/memberships/USERNAME \\\n  -d '{\"role\":\"role\"}'
    " }, { "lang": "JavaScript", @@ -27475,12 +27646,6 @@ } ], "responses": [ - { - "httpStatusCode": "200", - "httpStatusMessage": "OK", - "description": "Response if user's membership with team is now active", - "payload": "
    {\n  \"url\": \"https://api.github.com/teams/1/memberships/octocat\",\n  \"role\": \"member\",\n  \"state\": \"active\"\n}\n
    " - }, { "httpStatusCode": "200", "httpStatusMessage": "OK", @@ -27495,15 +27660,14 @@ { "httpStatusCode": "422", "httpStatusMessage": "Unprocessable Entity", - "description": "Response if you attempt to add an organization to a team", - "payload": "
    {\n  \"message\": \"Cannot add an organization as a member.\",\n  \"errors\": [\n    {\n      \"code\": \"org\",\n      \"field\": \"user\",\n      \"resource\": \"TeamMember\"\n    }\n  ]\n}\n
    " + "description": "Response if you attempt to add an organization to a team" } ] }, { "verb": "delete", "requestPath": "/orgs/{org}/teams/{team_slug}/memberships/{username}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "org", @@ -27537,8 +27701,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/orgs/ORG/teams/TEAM_SLUG/memberships/USERNAME", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/orgs/ORG/teams/TEAM_SLUG/memberships/USERNAME
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/teams/TEAM_SLUG/memberships/USERNAME", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/teams/TEAM_SLUG/memberships/USERNAME
    " }, { "lang": "JavaScript", @@ -27573,7 +27737,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "403", @@ -27587,7 +27751,7 @@ { "verb": "get", "requestPath": "/orgs/{org}/teams/{team_slug}/projects", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "org", @@ -27632,8 +27796,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n https://api.github.com/orgs/ORG/teams/TEAM_SLUG/projects", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  https://api.github.com/orgs/ORG/teams/TEAM_SLUG/projects
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/teams/TEAM_SLUG/projects", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/teams/TEAM_SLUG/projects
    " }, { "lang": "JavaScript", @@ -27683,7 +27847,7 @@ { "verb": "get", "requestPath": "/orgs/{org}/teams/{team_slug}/projects/{project_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "org", @@ -27717,8 +27881,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n https://api.github.com/orgs/ORG/teams/TEAM_SLUG/projects/42", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  https://api.github.com/orgs/ORG/teams/TEAM_SLUG/projects/42
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/teams/TEAM_SLUG/projects/42", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/teams/TEAM_SLUG/projects/42
    " }, { "lang": "JavaScript", @@ -27773,7 +27937,7 @@ { "verb": "put", "requestPath": "/orgs/{org}/teams/{team_slug}/projects/{project_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "org", @@ -27807,8 +27971,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n https://api.github.com/orgs/ORG/teams/TEAM_SLUG/projects/42 \\\n -d '{\"permission\":\"permission\"}'", - "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  https://api.github.com/orgs/ORG/teams/TEAM_SLUG/projects/42 \\\n  -d '{\"permission\":\"permission\"}'
    " + "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/teams/TEAM_SLUG/projects/42 \\\n -d '{\"permission\":\"permission\"}'", + "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/teams/TEAM_SLUG/projects/42 \\\n  -d '{\"permission\":\"permission\"}'
    " }, { "lang": "JavaScript", @@ -27891,7 +28055,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "403", @@ -27904,7 +28068,7 @@ { "verb": "delete", "requestPath": "/orgs/{org}/teams/{team_slug}/projects/{project_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "org", @@ -27938,8 +28102,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/orgs/ORG/teams/TEAM_SLUG/projects/42", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/orgs/ORG/teams/TEAM_SLUG/projects/42
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/teams/TEAM_SLUG/projects/42", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/teams/TEAM_SLUG/projects/42
    " }, { "lang": "JavaScript", @@ -27972,7 +28136,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "bodyParameters": [], @@ -27981,7 +28145,7 @@ { "verb": "get", "requestPath": "/orgs/{org}/teams/{team_slug}/repos", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "org", @@ -28026,8 +28190,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/orgs/ORG/teams/TEAM_SLUG/repos", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/orgs/ORG/teams/TEAM_SLUG/repos
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/teams/TEAM_SLUG/repos", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/teams/TEAM_SLUG/repos
    " }, { "lang": "JavaScript", @@ -28070,7 +28234,7 @@ { "verb": "get", "requestPath": "/orgs/{org}/teams/{team_slug}/repos/{owner}/{repo}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "org", @@ -28113,8 +28277,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/orgs/ORG/teams/TEAM_SLUG/repos/octocat/hello-world", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/orgs/ORG/teams/TEAM_SLUG/repos/octocat/hello-world
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/teams/TEAM_SLUG/repos/octocat/hello-world", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/teams/TEAM_SLUG/repos/octocat/hello-world
    " }, { "lang": "JavaScript", @@ -28166,7 +28330,7 @@ { "verb": "put", "requestPath": "/orgs/{org}/teams/{team_slug}/repos/{owner}/{repo}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "org", @@ -28209,8 +28373,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/orgs/ORG/teams/TEAM_SLUG/repos/octocat/hello-world \\\n -d '{\"permission\":\"permission\"}'", - "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/orgs/ORG/teams/TEAM_SLUG/repos/octocat/hello-world \\\n  -d '{\"permission\":\"permission\"}'
    " + "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/teams/TEAM_SLUG/repos/octocat/hello-world \\\n -d '{\"permission\":\"permission\"}'", + "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/teams/TEAM_SLUG/repos/octocat/hello-world \\\n  -d '{\"permission\":\"permission\"}'
    " }, { "lang": "JavaScript", @@ -28270,7 +28434,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "descriptionHTML": "

    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.\"

    \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

    For more information about the permission levels, see \"Repository permission levels for an organization\".

    ", @@ -28296,7 +28460,7 @@ { "verb": "delete", "requestPath": "/orgs/{org}/teams/{team_slug}/repos/{owner}/{repo}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "org", @@ -28339,8 +28503,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/orgs/ORG/teams/TEAM_SLUG/repos/octocat/hello-world", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/orgs/ORG/teams/TEAM_SLUG/repos/octocat/hello-world
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/teams/TEAM_SLUG/repos/octocat/hello-world", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/teams/TEAM_SLUG/repos/octocat/hello-world
    " }, { "lang": "JavaScript", @@ -28373,7 +28537,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "bodyParameters": [], @@ -28382,7 +28546,7 @@ { "verb": "get", "requestPath": "/orgs/{org}/teams/{team_slug}/teams", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "org", @@ -28427,8 +28591,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/orgs/ORG/teams/TEAM_SLUG/teams", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/orgs/ORG/teams/TEAM_SLUG/teams
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/teams/TEAM_SLUG/teams", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/teams/TEAM_SLUG/teams
    " }, { "lang": "JavaScript", @@ -28471,7 +28635,7 @@ { "verb": "get", "requestPath": "/projects/columns/cards/{card_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "card_id", @@ -28487,8 +28651,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n https://api.github.com/projects/columns/cards/42", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  https://api.github.com/projects/columns/cards/42
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n http(s)://{hostname}/api/v3/projects/columns/cards/42", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  http(s)://{hostname}/api/v3/projects/columns/cards/42
    " }, { "lang": "JavaScript", @@ -28560,7 +28724,7 @@ { "verb": "patch", "requestPath": "/projects/columns/cards/{card_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "card_id", @@ -28576,8 +28740,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n https://api.github.com/projects/columns/cards/42 \\\n -d '{\"note\":\"note\"}'", - "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  https://api.github.com/projects/columns/cards/42 \\\n  -d '{\"note\":\"note\"}'
    " + "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n http(s)://{hostname}/api/v3/projects/columns/cards/42 \\\n -d '{\"note\":\"note\"}'", + "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  http(s)://{hostname}/api/v3/projects/columns/cards/42 \\\n  -d '{\"note\":\"note\"}'
    " }, { "lang": "JavaScript", @@ -28708,7 +28872,7 @@ { "verb": "delete", "requestPath": "/projects/columns/cards/{card_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "card_id", @@ -28724,8 +28888,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n https://api.github.com/projects/columns/cards/42", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  https://api.github.com/projects/columns/cards/42
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n http(s)://{hostname}/api/v3/projects/columns/cards/42", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  http(s)://{hostname}/api/v3/projects/columns/cards/42
    " }, { "lang": "JavaScript", @@ -28767,7 +28931,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "304", @@ -28796,7 +28960,7 @@ { "verb": "post", "requestPath": "/projects/columns/cards/{card_id}/moves", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "card_id", @@ -28812,8 +28976,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n https://api.github.com/projects/columns/cards/42/moves \\\n -d '{\"position\":\"position\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  https://api.github.com/projects/columns/cards/42/moves \\\n  -d '{\"position\":\"position\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n http(s)://{hostname}/api/v3/projects/columns/cards/42/moves \\\n -d '{\"position\":\"position\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  http(s)://{hostname}/api/v3/projects/columns/cards/42/moves \\\n  -d '{\"position\":\"position\"}'
    " }, { "lang": "JavaScript", @@ -28946,7 +29110,7 @@ { "verb": "get", "requestPath": "/projects/columns/{column_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "column_id", @@ -28962,8 +29126,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n https://api.github.com/projects/columns/42", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  https://api.github.com/projects/columns/42
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n http(s)://{hostname}/api/v3/projects/columns/42", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  http(s)://{hostname}/api/v3/projects/columns/42
    " }, { "lang": "JavaScript", @@ -29035,7 +29199,7 @@ { "verb": "patch", "requestPath": "/projects/columns/{column_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "column_id", @@ -29051,8 +29215,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n https://api.github.com/projects/columns/42 \\\n -d '{\"name\":\"name\"}'", - "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  https://api.github.com/projects/columns/42 \\\n  -d '{\"name\":\"name\"}'
    " + "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n http(s)://{hostname}/api/v3/projects/columns/42 \\\n -d '{\"name\":\"name\"}'", + "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  http(s)://{hostname}/api/v3/projects/columns/42 \\\n  -d '{\"name\":\"name\"}'
    " }, { "lang": "JavaScript", @@ -29154,7 +29318,7 @@ { "verb": "delete", "requestPath": "/projects/columns/{column_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "column_id", @@ -29170,8 +29334,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n https://api.github.com/projects/columns/42", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  https://api.github.com/projects/columns/42
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n http(s)://{hostname}/api/v3/projects/columns/42", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  http(s)://{hostname}/api/v3/projects/columns/42
    " }, { "lang": "JavaScript", @@ -29213,7 +29377,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "304", @@ -29237,7 +29401,7 @@ { "verb": "get", "requestPath": "/projects/columns/{column_id}/cards", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "column_id", @@ -29289,8 +29453,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n https://api.github.com/projects/columns/42/cards", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  https://api.github.com/projects/columns/42/cards
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n http(s)://{hostname}/api/v3/projects/columns/42/cards", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  http(s)://{hostname}/api/v3/projects/columns/42/cards
    " }, { "lang": "JavaScript", @@ -29357,7 +29521,7 @@ { "verb": "post", "requestPath": "/projects/columns/{column_id}/cards", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "column_id", @@ -29373,8 +29537,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n https://api.github.com/projects/columns/42/cards \\\n -d '{\"note\":\"note\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  https://api.github.com/projects/columns/42/cards \\\n  -d '{\"note\":\"note\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n http(s)://{hostname}/api/v3/projects/columns/42/cards \\\n -d '{\"note\":\"note\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  http(s)://{hostname}/api/v3/projects/columns/42/cards \\\n  -d '{\"note\":\"note\"}'
    " }, { "lang": "JavaScript", @@ -29494,7 +29658,7 @@ { "verb": "post", "requestPath": "/projects/columns/{column_id}/moves", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "column_id", @@ -29510,8 +29674,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n https://api.github.com/projects/columns/42/moves \\\n -d '{\"position\":\"position\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  https://api.github.com/projects/columns/42/moves \\\n  -d '{\"position\":\"position\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n http(s)://{hostname}/api/v3/projects/columns/42/moves \\\n -d '{\"position\":\"position\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  http(s)://{hostname}/api/v3/projects/columns/42/moves \\\n  -d '{\"position\":\"position\"}'
    " }, { "lang": "JavaScript", @@ -29619,7 +29783,7 @@ { "verb": "get", "requestPath": "/projects/{project_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "project_id", @@ -29634,8 +29798,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n https://api.github.com/projects/42", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  https://api.github.com/projects/42
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n http(s)://{hostname}/api/v3/projects/42", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  http(s)://{hostname}/api/v3/projects/42
    " }, { "lang": "JavaScript", @@ -29700,7 +29864,7 @@ { "verb": "patch", "requestPath": "/projects/{project_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "project_id", @@ -29715,8 +29879,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n https://api.github.com/projects/42 \\\n -d '{\"name\":\"name\"}'", - "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  https://api.github.com/projects/42 \\\n  -d '{\"name\":\"name\"}'
    " + "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n http(s)://{hostname}/api/v3/projects/42 \\\n -d '{\"name\":\"name\"}'", + "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  http(s)://{hostname}/api/v3/projects/42 \\\n  -d '{\"name\":\"name\"}'
    " }, { "lang": "JavaScript", @@ -29918,7 +30082,7 @@ { "verb": "delete", "requestPath": "/projects/{project_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "project_id", @@ -29933,8 +30097,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n https://api.github.com/projects/42", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  https://api.github.com/projects/42
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n http(s)://{hostname}/api/v3/projects/42", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  http(s)://{hostname}/api/v3/projects/42
    " }, { "lang": "JavaScript", @@ -30008,7 +30172,7 @@ { "verb": "get", "requestPath": "/projects/{project_id}/collaborators", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "project_id", @@ -30059,8 +30223,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n https://api.github.com/projects/42/collaborators", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  https://api.github.com/projects/42/collaborators
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n http(s)://{hostname}/api/v3/projects/42/collaborators", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  http(s)://{hostname}/api/v3/projects/42/collaborators
    " }, { "lang": "JavaScript", @@ -30142,7 +30306,7 @@ { "verb": "put", "requestPath": "/projects/{project_id}/collaborators/{username}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "project_id", @@ -30166,8 +30330,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n https://api.github.com/projects/42/collaborators/USERNAME \\\n -d '{\"permission\":\"permission\"}'", - "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  https://api.github.com/projects/42/collaborators/USERNAME \\\n  -d '{\"permission\":\"permission\"}'
    " + "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n http(s)://{hostname}/api/v3/projects/42/collaborators/USERNAME \\\n -d '{\"permission\":\"permission\"}'", + "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  http(s)://{hostname}/api/v3/projects/42/collaborators/USERNAME \\\n  -d '{\"permission\":\"permission\"}'
    " }, { "lang": "JavaScript", @@ -30236,7 +30400,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "304", @@ -30292,7 +30456,7 @@ { "verb": "delete", "requestPath": "/projects/{project_id}/collaborators/{username}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "project_id", @@ -30316,8 +30480,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n https://api.github.com/projects/42/collaborators/USERNAME", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  https://api.github.com/projects/42/collaborators/USERNAME
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n http(s)://{hostname}/api/v3/projects/42/collaborators/USERNAME", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  http(s)://{hostname}/api/v3/projects/42/collaborators/USERNAME
    " }, { "lang": "JavaScript", @@ -30359,7 +30523,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "304", @@ -30398,7 +30562,7 @@ { "verb": "get", "requestPath": "/projects/{project_id}/collaborators/{username}/permission", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "project_id", @@ -30422,8 +30586,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n https://api.github.com/projects/42/collaborators/USERNAME/permission", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  https://api.github.com/projects/42/collaborators/USERNAME/permission
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n http(s)://{hostname}/api/v3/projects/42/collaborators/USERNAME/permission", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  http(s)://{hostname}/api/v3/projects/42/collaborators/USERNAME/permission
    " }, { "lang": "JavaScript", @@ -30505,7 +30669,7 @@ { "verb": "get", "requestPath": "/projects/{project_id}/columns", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "project_id", @@ -30540,8 +30704,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n https://api.github.com/projects/42/columns", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  https://api.github.com/projects/42/columns
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n http(s)://{hostname}/api/v3/projects/42/columns", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  http(s)://{hostname}/api/v3/projects/42/columns
    " }, { "lang": "JavaScript", @@ -30608,7 +30772,7 @@ { "verb": "post", "requestPath": "/projects/{project_id}/columns", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "project_id", @@ -30623,8 +30787,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n https://api.github.com/projects/42/columns \\\n -d '{\"name\":\"name\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  https://api.github.com/projects/42/columns \\\n  -d '{\"name\":\"name\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n http(s)://{hostname}/api/v3/projects/42/columns \\\n -d '{\"name\":\"name\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  http(s)://{hostname}/api/v3/projects/42/columns \\\n  -d '{\"name\":\"name\"}'
    " }, { "lang": "JavaScript", @@ -30731,13 +30895,13 @@ { "verb": "get", "requestPath": "/rate_limit", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/rate_limit", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/rate_limit
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/rate_limit", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/rate_limit
    " }, { "lang": "JavaScript", @@ -30790,7 +30954,7 @@ { "verb": "delete", "requestPath": "/reactions/{reaction_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "reaction_id", @@ -30805,8 +30969,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n https://api.github.com/reactions/42", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n  https://api.github.com/reactions/42
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n http(s)://{hostname}/api/v3/reactions/42", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n  http(s)://{hostname}/api/v3/reactions/42
    " }, { "lang": "JavaScript", @@ -30849,7 +31013,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "304", @@ -30883,7 +31047,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -30907,8 +31071,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world
    " }, { "lang": "JavaScript", @@ -30985,7 +31149,7 @@ { "verb": "patch", "requestPath": "/repos/{owner}/{repo}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -31009,8 +31173,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world \\\n -d '{\"name\":\"name\"}'", - "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world \\\n  -d '{\"name\":\"name\"}'
    " + "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world \\\n -d '{\"name\":\"name\"}'", + "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world \\\n  -d '{\"name\":\"name\"}'
    " }, { "lang": "JavaScript", @@ -31404,7 +31568,7 @@ { "verb": "delete", "requestPath": "/repos/{owner}/{repo}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -31428,8 +31592,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world
    " }, { "lang": "JavaScript", @@ -31464,7 +31628,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "403", @@ -31482,7 +31646,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/actions/artifacts", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -31526,8 +31690,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/actions/artifacts", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/actions/artifacts
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/actions/artifacts", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/actions/artifacts
    " }, { "lang": "JavaScript", @@ -31572,7 +31736,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/actions/artifacts/{artifact_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -31606,8 +31770,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/actions/artifacts/42", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/actions/artifacts/42
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/actions/artifacts/42", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/actions/artifacts/42
    " }, { "lang": "JavaScript", @@ -31652,7 +31816,7 @@ { "verb": "delete", "requestPath": "/repos/{owner}/{repo}/actions/artifacts/{artifact_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -31686,8 +31850,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/actions/artifacts/42", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/actions/artifacts/42
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/actions/artifacts/42", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/actions/artifacts/42
    " }, { "lang": "JavaScript", @@ -31722,7 +31886,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "bodyParameters": [], @@ -31731,7 +31895,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/actions/artifacts/{artifact_id}/{archive_format}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -31774,8 +31938,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/actions/artifacts/42/ARCHIVE_FORMAT", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/actions/artifacts/42/ARCHIVE_FORMAT
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/actions/artifacts/42/ARCHIVE_FORMAT", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/actions/artifacts/42/ARCHIVE_FORMAT
    " }, { "lang": "JavaScript", @@ -31819,7 +31983,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/actions/jobs/{job_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -31853,8 +32017,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/actions/jobs/42", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/actions/jobs/42
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/actions/jobs/42", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/actions/jobs/42
    " }, { "lang": "JavaScript", @@ -31899,7 +32063,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/actions/jobs/{job_id}/logs", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -31933,8 +32097,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/actions/jobs/42/logs", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/actions/jobs/42/logs
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/actions/jobs/42/logs", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/actions/jobs/42/logs
    " }, { "lang": "JavaScript", @@ -31978,7 +32142,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/actions/permissions", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -32002,8 +32166,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/actions/permissions", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/actions/permissions
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/actions/permissions", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/actions/permissions
    " }, { "lang": "JavaScript", @@ -32048,7 +32212,7 @@ { "verb": "put", "requestPath": "/repos/{owner}/{repo}/actions/permissions", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -32072,8 +32236,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/actions/permissions \\\n -d '{\"enabled\":true}'", - "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/actions/permissions \\\n  -d '{\"enabled\":true}'
    " + "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/actions/permissions \\\n -d '{\"enabled\":true}'", + "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/actions/permissions \\\n  -d '{\"enabled\":true}'
    " }, { "lang": "JavaScript", @@ -32149,7 +32313,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "descriptionHTML": "

    Sets the GitHub Actions permissions policy for enabling GitHub Actions and allowed actions in the repository.

    \n

    If 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

    You 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.

    ", @@ -32182,7 +32346,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/actions/permissions/selected-actions", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -32206,8 +32370,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/actions/permissions/selected-actions", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/actions/permissions/selected-actions
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/actions/permissions/selected-actions", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/actions/permissions/selected-actions
    " }, { "lang": "JavaScript", @@ -32252,7 +32416,7 @@ { "verb": "put", "requestPath": "/repos/{owner}/{repo}/actions/permissions/selected-actions", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -32276,8 +32440,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/actions/permissions/selected-actions \\\n -d '{\"github_owned_allowed\":true,\"patterns_allowed\":[\"patterns_allowed\"]}'", - "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/actions/permissions/selected-actions \\\n  -d '{\"github_owned_allowed\":true,\"patterns_allowed\":[\"patterns_allowed\"]}'
    " + "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/actions/permissions/selected-actions \\\n -d '{\"github_owned_allowed\":true,\"patterns_allowed\":[\"patterns_allowed\"]}'", + "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/actions/permissions/selected-actions \\\n  -d '{\"github_owned_allowed\":true,\"patterns_allowed\":[\"patterns_allowed\"]}'
    " }, { "lang": "JavaScript", @@ -32360,7 +32524,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "descriptionHTML": "

    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.\"

    \n

    If 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

    To 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

    You 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.

    ", @@ -32391,7 +32555,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/actions/runners", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -32435,8 +32599,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/actions/runners", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/actions/runners
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/actions/runners", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/actions/runners
    " }, { "lang": "JavaScript", @@ -32481,7 +32645,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/actions/runners/downloads", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -32505,8 +32669,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/actions/runners/downloads", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/actions/runners/downloads
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/actions/runners/downloads", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/actions/runners/downloads
    " }, { "lang": "JavaScript", @@ -32551,7 +32715,7 @@ { "verb": "post", "requestPath": "/repos/{owner}/{repo}/actions/runners/registration-token", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -32575,8 +32739,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/actions/runners/registration-token", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/actions/runners/registration-token
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/actions/runners/registration-token", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/actions/runners/registration-token
    " }, { "lang": "JavaScript", @@ -32621,7 +32785,7 @@ { "verb": "post", "requestPath": "/repos/{owner}/{repo}/actions/runners/remove-token", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -32645,8 +32809,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/actions/runners/remove-token", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/actions/runners/remove-token
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/actions/runners/remove-token", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/actions/runners/remove-token
    " }, { "lang": "JavaScript", @@ -32691,7 +32855,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/actions/runners/{runner_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -32725,8 +32889,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/actions/runners/42", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/actions/runners/42
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/actions/runners/42", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/actions/runners/42
    " }, { "lang": "JavaScript", @@ -32771,7 +32935,7 @@ { "verb": "delete", "requestPath": "/repos/{owner}/{repo}/actions/runners/{runner_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -32805,8 +32969,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/actions/runners/42", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/actions/runners/42
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/actions/runners/42", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/actions/runners/42
    " }, { "lang": "JavaScript", @@ -32841,7 +33005,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "bodyParameters": [], @@ -32850,7 +33014,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/actions/runs", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -32949,8 +33113,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/actions/runs", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/actions/runs
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/actions/runs", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/actions/runs
    " }, { "lang": "JavaScript", @@ -32995,7 +33159,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/actions/runs/{run_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -33029,8 +33193,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/actions/runs/42", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/actions/runs/42
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/actions/runs/42", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/actions/runs/42
    " }, { "lang": "JavaScript", @@ -33075,7 +33239,7 @@ { "verb": "delete", "requestPath": "/repos/{owner}/{repo}/actions/runs/{run_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -33109,8 +33273,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/actions/runs/42", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/actions/runs/42
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/actions/runs/42", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/actions/runs/42
    " }, { "lang": "JavaScript", @@ -33145,7 +33309,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "bodyParameters": [], @@ -33154,7 +33318,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/actions/runs/{run_id}/artifacts", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -33208,8 +33372,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/actions/runs/42/artifacts", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/actions/runs/42/artifacts
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/actions/runs/42/artifacts", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/actions/runs/42/artifacts
    " }, { "lang": "JavaScript", @@ -33254,7 +33418,7 @@ { "verb": "post", "requestPath": "/repos/{owner}/{repo}/actions/runs/{run_id}/cancel", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -33288,8 +33452,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/actions/runs/42/cancel", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/actions/runs/42/cancel
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/actions/runs/42/cancel", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/actions/runs/42/cancel
    " }, { "lang": "JavaScript", @@ -33333,7 +33497,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/actions/runs/{run_id}/jobs", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -33402,8 +33566,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/actions/runs/42/jobs", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/actions/runs/42/jobs
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/actions/runs/42/jobs", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/actions/runs/42/jobs
    " }, { "lang": "JavaScript", @@ -33448,7 +33612,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/actions/runs/{run_id}/logs", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -33482,8 +33646,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/actions/runs/42/logs", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/actions/runs/42/logs
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/actions/runs/42/logs", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/actions/runs/42/logs
    " }, { "lang": "JavaScript", @@ -33527,7 +33691,7 @@ { "verb": "delete", "requestPath": "/repos/{owner}/{repo}/actions/runs/{run_id}/logs", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -33561,8 +33725,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/actions/runs/42/logs", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/actions/runs/42/logs
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/actions/runs/42/logs", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/actions/runs/42/logs
    " }, { "lang": "JavaScript", @@ -33597,7 +33761,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "bodyParameters": [], @@ -33606,7 +33770,7 @@ { "verb": "post", "requestPath": "/repos/{owner}/{repo}/actions/runs/{run_id}/rerun", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -33640,8 +33804,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/actions/runs/42/rerun", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/actions/runs/42/rerun
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/actions/runs/42/rerun", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/actions/runs/42/rerun
    " }, { "lang": "JavaScript", @@ -33685,7 +33849,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/actions/secrets", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -33729,8 +33893,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/actions/secrets", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/actions/secrets
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/actions/secrets", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/actions/secrets
    " }, { "lang": "JavaScript", @@ -33775,7 +33939,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/actions/secrets/public-key", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -33799,8 +33963,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/actions/secrets/public-key", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/actions/secrets/public-key
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/actions/secrets/public-key", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/actions/secrets/public-key
    " }, { "lang": "JavaScript", @@ -33845,7 +34009,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/actions/secrets/{secret_name}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -33879,8 +34043,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/actions/secrets/SECRET_NAME", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/actions/secrets/SECRET_NAME
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/actions/secrets/SECRET_NAME", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/actions/secrets/SECRET_NAME
    " }, { "lang": "JavaScript", @@ -33925,7 +34089,7 @@ { "verb": "put", "requestPath": "/repos/{owner}/{repo}/actions/secrets/{secret_name}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -33959,8 +34123,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/actions/secrets/SECRET_NAME \\\n -d '{\"encrypted_value\":\"encrypted_value\"}'", - "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/actions/secrets/SECRET_NAME \\\n  -d '{\"encrypted_value\":\"encrypted_value\"}'
    " + "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/actions/secrets/SECRET_NAME \\\n -d '{\"encrypted_value\":\"encrypted_value\"}'", + "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/actions/secrets/SECRET_NAME \\\n  -d '{\"encrypted_value\":\"encrypted_value\"}'
    " }, { "lang": "JavaScript", @@ -34063,7 +34227,7 @@ { "verb": "delete", "requestPath": "/repos/{owner}/{repo}/actions/secrets/{secret_name}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -34097,8 +34261,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/actions/secrets/SECRET_NAME", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/actions/secrets/SECRET_NAME
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/actions/secrets/SECRET_NAME", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/actions/secrets/SECRET_NAME
    " }, { "lang": "JavaScript", @@ -34133,7 +34297,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "bodyParameters": [], @@ -34142,7 +34306,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/actions/workflows", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -34186,8 +34350,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/actions/workflows", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/actions/workflows
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/actions/workflows", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/actions/workflows
    " }, { "lang": "JavaScript", @@ -34232,7 +34396,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/actions/workflows/{workflow_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -34273,8 +34437,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/actions/workflows/42", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/actions/workflows/42
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/actions/workflows/42", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/actions/workflows/42
    " }, { "lang": "JavaScript", @@ -34319,7 +34483,7 @@ { "verb": "put", "requestPath": "/repos/{owner}/{repo}/actions/workflows/{workflow_id}/disable", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -34360,8 +34524,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/actions/workflows/42/disable", - "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/actions/workflows/42/disable
    " + "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/actions/workflows/42/disable", + "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/actions/workflows/42/disable
    " }, { "lang": "JavaScript", @@ -34396,7 +34560,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "bodyParameters": [], @@ -34405,7 +34569,7 @@ { "verb": "post", "requestPath": "/repos/{owner}/{repo}/actions/workflows/{workflow_id}/dispatches", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -34446,8 +34610,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/actions/workflows/42/dispatches \\\n -d '{\"ref\":\"ref\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/actions/workflows/42/dispatches \\\n  -d '{\"ref\":\"ref\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/actions/workflows/42/dispatches \\\n -d '{\"ref\":\"ref\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/actions/workflows/42/dispatches \\\n  -d '{\"ref\":\"ref\"}'
    " }, { "lang": "JavaScript", @@ -34525,7 +34689,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "descriptionHTML": "

    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

    You must configure your GitHub Actions workflow to run when the workflow_dispatch webhook 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.\"

    \n

    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. For more information, see \"Creating a personal access token for the command line.\"

    ", @@ -34557,7 +34721,7 @@ { "verb": "put", "requestPath": "/repos/{owner}/{repo}/actions/workflows/{workflow_id}/enable", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -34598,8 +34762,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/actions/workflows/42/enable", - "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/actions/workflows/42/enable
    " + "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/actions/workflows/42/enable", + "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/actions/workflows/42/enable
    " }, { "lang": "JavaScript", @@ -34634,7 +34798,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "bodyParameters": [], @@ -34643,7 +34807,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/actions/workflows/{workflow_id}/runs", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -34759,8 +34923,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/actions/workflows/42/runs", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/actions/workflows/42/runs
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/actions/workflows/42/runs", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/actions/workflows/42/runs
    " }, { "lang": "JavaScript", @@ -34805,7 +34969,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/assignees", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -34849,8 +35013,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/assignees", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/assignees
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/assignees", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/assignees
    " }, { "lang": "JavaScript", @@ -34900,7 +35064,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/assignees/{assignee}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -34933,8 +35097,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/assignees/ASSIGNEE", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/assignees/ASSIGNEE
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/assignees/ASSIGNEE", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/assignees/ASSIGNEE
    " }, { "lang": "JavaScript", @@ -34983,7 +35147,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/branches", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -35037,8 +35201,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/branches", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/branches
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches
    " }, { "lang": "JavaScript", @@ -35076,12 +35240,6 @@ "httpStatusCode": "200", "httpStatusMessage": "OK", "description": "Default response", - "payload": "
    [\n  {\n    \"name\": \"master\",\n    \"commit\": {\n      \"sha\": \"c5b97d5ae6c19d5c5df71a34c7fbeeda2479ccbc\",\n      \"url\": \"https://api.github.com/repos/octocat/Hello-World/commits/c5b97d5ae6c19d5c5df71a34c7fbeeda2479ccbc\"\n    },\n    \"protected\": true\n  }\n]\n
    " - }, - { - "httpStatusCode": "200", - "httpStatusMessage": "OK", - "description": "With protection", "payload": "
    [\n  {\n    \"name\": \"master\",\n    \"commit\": {\n      \"sha\": \"c5b97d5ae6c19d5c5df71a34c7fbeeda2479ccbc\",\n      \"url\": \"https://api.github.com/repos/octocat/Hello-World/commits/c5b97d5ae6c19d5c5df71a34c7fbeeda2479ccbc\"\n    },\n    \"protected\": true,\n    \"protection\": {\n      \"enabled\": true,\n      \"required_status_checks\": {\n        \"enforcement_level\": \"non_admins\",\n        \"contexts\": [\n          \"ci-test\",\n          \"linter\"\n        ]\n      }\n    },\n    \"protection_url\": \"https://api.github.com/repos/octocat/hello-world/branches/master/protection\"\n  }\n]\n
    " }, { @@ -35094,7 +35252,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/branches/{branch}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -35129,8 +35287,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/branches/BRANCH", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/branches/BRANCH
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH
    " }, { "lang": "JavaScript", @@ -35185,7 +35343,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/branches/{branch}/protection", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -35220,8 +35378,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection
    " }, { "lang": "JavaScript", @@ -35278,7 +35436,7 @@ { "verb": "put", "requestPath": "/repos/{owner}/{repo}/branches/{branch}/protection", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -35313,8 +35471,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection \\\n -d '{\"required_status_checks\":{\"strict\":true,\"contexts\":[\"contexts\"]},\"enforce_admins\":true,\"required_pull_request_reviews\":{\"dismissal_restrictions\":{\"users\":[\"users\"],\"teams\":[\"teams\"]},\"dismiss_stale_reviews\":true,\"require_code_owner_reviews\":true,\"required_approving_review_count\":42},\"restrictions\":{\"users\":[\"users\"],\"teams\":[\"teams\"],\"apps\":[\"apps\"]}}'", - "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection \\\n  -d '{\"required_status_checks\":{\"strict\":true,\"contexts\":[\"contexts\"]},\"enforce_admins\":true,\"required_pull_request_reviews\":{\"dismissal_restrictions\":{\"users\":[\"users\"],\"teams\":[\"teams\"]},\"dismiss_stale_reviews\":true,\"require_code_owner_reviews\":true,\"required_approving_review_count\":42},\"restrictions\":{\"users\":[\"users\"],\"teams\":[\"teams\"],\"apps\":[\"apps\"]}}'
    " + "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection \\\n -d '{\"required_status_checks\":{\"strict\":true,\"contexts\":[\"contexts\"]},\"enforce_admins\":true,\"required_pull_request_reviews\":{\"dismissal_restrictions\":{\"users\":[\"users\"],\"teams\":[\"teams\"]},\"dismiss_stale_reviews\":true,\"require_code_owner_reviews\":true,\"required_approving_review_count\":42},\"restrictions\":{\"users\":[\"users\"],\"teams\":[\"teams\"],\"apps\":[\"apps\"]}}'", + "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection \\\n  -d '{\"required_status_checks\":{\"strict\":true,\"contexts\":[\"contexts\"]},\"enforce_admins\":true,\"required_pull_request_reviews\":{\"dismissal_restrictions\":{\"users\":[\"users\"],\"teams\":[\"teams\"]},\"dismiss_stale_reviews\":true,\"require_code_owner_reviews\":true,\"required_approving_review_count\":42},\"restrictions\":{\"users\":[\"users\"],\"teams\":[\"teams\"],\"apps\":[\"apps\"]}}'
    " }, { "lang": "JavaScript", @@ -36317,7 +36475,7 @@ { "verb": "delete", "requestPath": "/repos/{owner}/{repo}/branches/{branch}/protection", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -36352,8 +36510,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection
    " }, { "lang": "JavaScript", @@ -36388,7 +36546,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "403", @@ -36402,7 +36560,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/branches/{branch}/protection/enforce_admins", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -36437,8 +36595,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/enforce_admins", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/enforce_admins
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection/enforce_admins", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection/enforce_admins
    " }, { "lang": "JavaScript", @@ -36483,7 +36641,7 @@ { "verb": "post", "requestPath": "/repos/{owner}/{repo}/branches/{branch}/protection/enforce_admins", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -36518,8 +36676,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/enforce_admins", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/enforce_admins
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection/enforce_admins", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection/enforce_admins
    " }, { "lang": "JavaScript", @@ -36564,7 +36722,7 @@ { "verb": "delete", "requestPath": "/repos/{owner}/{repo}/branches/{branch}/protection/enforce_admins", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -36599,8 +36757,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/enforce_admins", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/enforce_admins
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection/enforce_admins", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection/enforce_admins
    " }, { "lang": "JavaScript", @@ -36649,7 +36807,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/branches/{branch}/protection/required_pull_request_reviews", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -36684,8 +36842,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/required_pull_request_reviews", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/required_pull_request_reviews
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection/required_pull_request_reviews", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection/required_pull_request_reviews
    " }, { "lang": "JavaScript", @@ -36736,7 +36894,7 @@ { "verb": "patch", "requestPath": "/repos/{owner}/{repo}/branches/{branch}/protection/required_pull_request_reviews", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -36771,8 +36929,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/required_pull_request_reviews \\\n -d '{\"dismissal_restrictions\":{\"users\":[\"users\"],\"teams\":[\"teams\"]}}'", - "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/required_pull_request_reviews \\\n  -d '{\"dismissal_restrictions\":{\"users\":[\"users\"],\"teams\":[\"teams\"]}}'
    " + "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection/required_pull_request_reviews \\\n -d '{\"dismissal_restrictions\":{\"users\":[\"users\"],\"teams\":[\"teams\"]}}'", + "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection/required_pull_request_reviews \\\n  -d '{\"dismissal_restrictions\":{\"users\":[\"users\"],\"teams\":[\"teams\"]}}'
    " }, { "lang": "JavaScript", @@ -37042,7 +37200,7 @@ { "verb": "delete", "requestPath": "/repos/{owner}/{repo}/branches/{branch}/protection/required_pull_request_reviews", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -37077,8 +37235,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/required_pull_request_reviews", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/required_pull_request_reviews
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection/required_pull_request_reviews", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection/required_pull_request_reviews
    " }, { "lang": "JavaScript", @@ -37127,7 +37285,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/branches/{branch}/protection/required_signatures", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -37162,8 +37320,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.zzzax-preview+json\" \\\n https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/required_signatures", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.zzzax-preview+json\" \\\n  https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/required_signatures
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.zzzax-preview+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection/required_signatures", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.zzzax-preview+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection/required_signatures
    " }, { "lang": "JavaScript", @@ -37220,7 +37378,7 @@ { "verb": "post", "requestPath": "/repos/{owner}/{repo}/branches/{branch}/protection/required_signatures", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -37255,8 +37413,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.zzzax-preview+json\" \\\n https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/required_signatures", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.zzzax-preview+json\" \\\n  https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/required_signatures
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.zzzax-preview+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection/required_signatures", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.zzzax-preview+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection/required_signatures
    " }, { "lang": "JavaScript", @@ -37313,7 +37471,7 @@ { "verb": "delete", "requestPath": "/repos/{owner}/{repo}/branches/{branch}/protection/required_signatures", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -37348,8 +37506,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.zzzax-preview+json\" \\\n https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/required_signatures", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.zzzax-preview+json\" \\\n  https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/required_signatures
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.zzzax-preview+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection/required_signatures", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.zzzax-preview+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection/required_signatures
    " }, { "lang": "JavaScript", @@ -37405,7 +37563,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -37440,8 +37598,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/required_status_checks", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/required_status_checks
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection/required_status_checks", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection/required_status_checks
    " }, { "lang": "JavaScript", @@ -37491,7 +37649,7 @@ { "verb": "patch", "requestPath": "/repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -37526,8 +37684,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/required_status_checks \\\n -d '{\"strict\":true}'", - "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/required_status_checks \\\n  -d '{\"strict\":true}'
    " + "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection/required_status_checks \\\n -d '{\"strict\":true}'", + "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection/required_status_checks \\\n  -d '{\"strict\":true}'
    " }, { "lang": "JavaScript", @@ -37642,7 +37800,7 @@ { "verb": "delete", "requestPath": "/repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -37677,8 +37835,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/required_status_checks", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/required_status_checks
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection/required_status_checks", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection/required_status_checks
    " }, { "lang": "JavaScript", @@ -37722,7 +37880,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks/contexts", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -37757,8 +37915,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/required_status_checks/contexts", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/required_status_checks/contexts
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection/required_status_checks/contexts", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection/required_status_checks/contexts
    " }, { "lang": "JavaScript", @@ -37808,7 +37966,7 @@ { "verb": "post", "requestPath": "/repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks/contexts", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -37843,8 +38001,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/required_status_checks/contexts \\\n -d '{\"contexts\":{\"contexts\":[\"contexts\"]}}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/required_status_checks/contexts \\\n  -d '{\"contexts\":{\"contexts\":[\"contexts\"]}}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection/required_status_checks/contexts \\\n -d '{\"contexts\":{\"contexts\":[\"contexts\"]}}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection/required_status_checks/contexts \\\n  -d '{\"contexts\":{\"contexts\":[\"contexts\"]}}'
    " }, { "lang": "JavaScript", @@ -37949,7 +38107,7 @@ { "verb": "put", "requestPath": "/repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks/contexts", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -37984,8 +38142,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/required_status_checks/contexts \\\n -d '{\"contexts\":{\"contexts\":[\"contexts\"]}}'", - "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/required_status_checks/contexts \\\n  -d '{\"contexts\":{\"contexts\":[\"contexts\"]}}'
    " + "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection/required_status_checks/contexts \\\n -d '{\"contexts\":{\"contexts\":[\"contexts\"]}}'", + "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection/required_status_checks/contexts \\\n  -d '{\"contexts\":{\"contexts\":[\"contexts\"]}}'
    " }, { "lang": "JavaScript", @@ -38085,7 +38243,7 @@ { "verb": "delete", "requestPath": "/repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks/contexts", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -38120,8 +38278,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/required_status_checks/contexts \\\n -d '{\"contexts\":{\"contexts\":[\"contexts\"]}}'", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/required_status_checks/contexts \\\n  -d '{\"contexts\":{\"contexts\":[\"contexts\"]}}'
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection/required_status_checks/contexts \\\n -d '{\"contexts\":{\"contexts\":[\"contexts\"]}}'", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection/required_status_checks/contexts \\\n  -d '{\"contexts\":{\"contexts\":[\"contexts\"]}}'
    " }, { "lang": "JavaScript", @@ -38221,7 +38379,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/branches/{branch}/protection/restrictions", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -38256,8 +38414,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/restrictions", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/restrictions
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection/restrictions", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection/restrictions
    " }, { "lang": "JavaScript", @@ -38307,7 +38465,7 @@ { "verb": "delete", "requestPath": "/repos/{owner}/{repo}/branches/{branch}/protection/restrictions", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -38342,8 +38500,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/restrictions", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/restrictions
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection/restrictions", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection/restrictions
    " }, { "lang": "JavaScript", @@ -38387,7 +38545,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/branches/{branch}/protection/restrictions/apps", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -38422,8 +38580,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/restrictions/apps", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/restrictions/apps
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection/restrictions/apps", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection/restrictions/apps
    " }, { "lang": "JavaScript", @@ -38473,7 +38631,7 @@ { "verb": "post", "requestPath": "/repos/{owner}/{repo}/branches/{branch}/protection/restrictions/apps", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -38508,8 +38666,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/restrictions/apps \\\n -d '{\"apps\":{\"apps\":[\"apps\"]}}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/restrictions/apps \\\n  -d '{\"apps\":{\"apps\":[\"apps\"]}}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection/restrictions/apps \\\n -d '{\"apps\":{\"apps\":[\"apps\"]}}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection/restrictions/apps \\\n  -d '{\"apps\":{\"apps\":[\"apps\"]}}'
    " }, { "lang": "JavaScript", @@ -38604,7 +38762,7 @@ { "verb": "put", "requestPath": "/repos/{owner}/{repo}/branches/{branch}/protection/restrictions/apps", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -38639,8 +38797,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/restrictions/apps \\\n -d '{\"apps\":{\"apps\":[\"apps\"]}}'", - "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/restrictions/apps \\\n  -d '{\"apps\":{\"apps\":[\"apps\"]}}'
    " + "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection/restrictions/apps \\\n -d '{\"apps\":{\"apps\":[\"apps\"]}}'", + "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection/restrictions/apps \\\n  -d '{\"apps\":{\"apps\":[\"apps\"]}}'
    " }, { "lang": "JavaScript", @@ -38735,7 +38893,7 @@ { "verb": "delete", "requestPath": "/repos/{owner}/{repo}/branches/{branch}/protection/restrictions/apps", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -38770,8 +38928,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/restrictions/apps \\\n -d '{\"apps\":{\"apps\":[\"apps\"]}}'", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/restrictions/apps \\\n  -d '{\"apps\":{\"apps\":[\"apps\"]}}'
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection/restrictions/apps \\\n -d '{\"apps\":{\"apps\":[\"apps\"]}}'", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection/restrictions/apps \\\n  -d '{\"apps\":{\"apps\":[\"apps\"]}}'
    " }, { "lang": "JavaScript", @@ -38866,7 +39024,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/branches/{branch}/protection/restrictions/teams", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -38901,8 +39059,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/restrictions/teams", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/restrictions/teams
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection/restrictions/teams", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection/restrictions/teams
    " }, { "lang": "JavaScript", @@ -38952,7 +39110,7 @@ { "verb": "post", "requestPath": "/repos/{owner}/{repo}/branches/{branch}/protection/restrictions/teams", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -38987,8 +39145,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/restrictions/teams \\\n -d '{\"teams\":{\"teams\":[\"teams\"]}}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/restrictions/teams \\\n  -d '{\"teams\":{\"teams\":[\"teams\"]}}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection/restrictions/teams \\\n -d '{\"teams\":{\"teams\":[\"teams\"]}}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection/restrictions/teams \\\n  -d '{\"teams\":{\"teams\":[\"teams\"]}}'
    " }, { "lang": "JavaScript", @@ -39083,7 +39241,7 @@ { "verb": "put", "requestPath": "/repos/{owner}/{repo}/branches/{branch}/protection/restrictions/teams", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -39118,8 +39276,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/restrictions/teams \\\n -d '{\"teams\":{\"teams\":[\"teams\"]}}'", - "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/restrictions/teams \\\n  -d '{\"teams\":{\"teams\":[\"teams\"]}}'
    " + "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection/restrictions/teams \\\n -d '{\"teams\":{\"teams\":[\"teams\"]}}'", + "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection/restrictions/teams \\\n  -d '{\"teams\":{\"teams\":[\"teams\"]}}'
    " }, { "lang": "JavaScript", @@ -39214,7 +39372,7 @@ { "verb": "delete", "requestPath": "/repos/{owner}/{repo}/branches/{branch}/protection/restrictions/teams", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -39249,8 +39407,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/restrictions/teams \\\n -d '{\"teams\":{\"teams\":[\"teams\"]}}'", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/restrictions/teams \\\n  -d '{\"teams\":{\"teams\":[\"teams\"]}}'
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection/restrictions/teams \\\n -d '{\"teams\":{\"teams\":[\"teams\"]}}'", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection/restrictions/teams \\\n  -d '{\"teams\":{\"teams\":[\"teams\"]}}'
    " }, { "lang": "JavaScript", @@ -39345,7 +39503,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/branches/{branch}/protection/restrictions/users", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -39380,8 +39538,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/restrictions/users", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/restrictions/users
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection/restrictions/users", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection/restrictions/users
    " }, { "lang": "JavaScript", @@ -39431,7 +39589,7 @@ { "verb": "post", "requestPath": "/repos/{owner}/{repo}/branches/{branch}/protection/restrictions/users", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -39466,8 +39624,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/restrictions/users \\\n -d '{\"users\":{\"users\":[\"users\"]}}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/restrictions/users \\\n  -d '{\"users\":{\"users\":[\"users\"]}}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection/restrictions/users \\\n -d '{\"users\":{\"users\":[\"users\"]}}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection/restrictions/users \\\n  -d '{\"users\":{\"users\":[\"users\"]}}'
    " }, { "lang": "JavaScript", @@ -39562,7 +39720,7 @@ { "verb": "put", "requestPath": "/repos/{owner}/{repo}/branches/{branch}/protection/restrictions/users", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -39597,8 +39755,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/restrictions/users \\\n -d '{\"users\":{\"users\":[\"users\"]}}'", - "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/restrictions/users \\\n  -d '{\"users\":{\"users\":[\"users\"]}}'
    " + "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection/restrictions/users \\\n -d '{\"users\":{\"users\":[\"users\"]}}'", + "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection/restrictions/users \\\n  -d '{\"users\":{\"users\":[\"users\"]}}'
    " }, { "lang": "JavaScript", @@ -39693,7 +39851,7 @@ { "verb": "delete", "requestPath": "/repos/{owner}/{repo}/branches/{branch}/protection/restrictions/users", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -39728,8 +39886,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/restrictions/users \\\n -d '{\"users\":{\"users\":[\"users\"]}}'", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/restrictions/users \\\n  -d '{\"users\":{\"users\":[\"users\"]}}'
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection/restrictions/users \\\n -d '{\"users\":{\"users\":[\"users\"]}}'", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection/restrictions/users \\\n  -d '{\"users\":{\"users\":[\"users\"]}}'
    " }, { "lang": "JavaScript", @@ -39824,7 +39982,7 @@ { "verb": "post", "requestPath": "/repos/{owner}/{repo}/check-runs", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -39848,8 +40006,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/check-runs \\\n -d '{\"name\":\"name\",\"head_sha\":\"head_sha\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/check-runs \\\n  -d '{\"name\":\"name\",\"head_sha\":\"head_sha\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/check-runs \\\n -d '{\"name\":\"name\",\"head_sha\":\"head_sha\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/check-runs \\\n  -d '{\"name\":\"name\",\"head_sha\":\"head_sha\"}'
    " }, { "lang": "JavaScript", @@ -40826,7 +40984,7 @@ "name", "head_sha" ], - "anyOf": [ + "oneOf": [ { "properties": { "status": { @@ -40836,6 +40994,7 @@ } }, "required": [ + "status", "conclusion" ], "additionalProperties": true @@ -40855,7 +41014,7 @@ }, "examples": { "example-of-in-progress-conclusion": { - "summary": "Example of in_progress conclusion", + "summary": "Response for in_progress conclusion", "value": { "name": "mighty_readme", "head_sha": "ce587453ced02b1526dfb4cb910479d431683101", @@ -40870,7 +41029,7 @@ } }, "example-of-completed-conclusion": { - "summary": "Example of completed conclusion", + "summary": "Response for completed conclusion", "value": { "name": "mighty_readme", "head_sha": "ce587453ced02b1526dfb4cb910479d431683101", @@ -40937,12 +41096,6 @@ "notes": [], "descriptionHTML": "

    Note: The Checks API only looks for pushes in the repository where the check 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

    Creates 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

    In 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.

    ", "responses": [ - { - "httpStatusCode": "201", - "httpStatusMessage": "Created", - "description": "Response for in_progress conclusion", - "payload": "
    {\n  \"id\": 4,\n  \"head_sha\": \"ce587453ced02b1526dfb4cb910479d431683101\",\n  \"node_id\": \"MDg6Q2hlY2tSdW40\",\n  \"external_id\": \"42\",\n  \"url\": \"https://api.github.com/repos/github/hello-world/check-runs/4\",\n  \"html_url\": \"https://github.com/github/hello-world/runs/4\",\n  \"details_url\": \"https://example.com\",\n  \"status\": \"in_progress\",\n  \"conclusion\": \"neutral\",\n  \"started_at\": \"2018-05-04T01:14:52Z\",\n  \"completed_at\": null,\n  \"output\": {\n    \"title\": \"Mighty Readme Report\",\n    \"summary\": \"\",\n    \"text\": \"\",\n    \"annotations_count\": 1,\n    \"annotations_url\": \"https://api.github.com/repos/github/hello-world/check-runs/4/annotations\"\n  },\n  \"name\": \"mighty_readme\",\n  \"check_suite\": {\n    \"id\": 5\n  },\n  \"app\": {\n    \"id\": 1,\n    \"slug\": \"octoapp\",\n    \"node_id\": \"MDExOkludGVncmF0aW9uMQ==\",\n    \"owner\": {\n      \"login\": \"github\",\n      \"id\": 1,\n      \"node_id\": \"MDEyOk9yZ2FuaXphdGlvbjE=\",\n      \"url\": \"https://api.github.com/orgs/github\",\n      \"repos_url\": \"https://api.github.com/orgs/github/repos\",\n      \"events_url\": \"https://api.github.com/orgs/github/events\",\n      \"avatar_url\": \"https://github.com/images/error/octocat_happy.gif\",\n      \"gravatar_id\": \"\",\n      \"html_url\": \"https://github.com/octocat\",\n      \"followers_url\": \"https://api.github.com/users/octocat/followers\",\n      \"following_url\": \"https://api.github.com/users/octocat/following{/other_user}\",\n      \"gists_url\": \"https://api.github.com/users/octocat/gists{/gist_id}\",\n      \"starred_url\": \"https://api.github.com/users/octocat/starred{/owner}{/repo}\",\n      \"subscriptions_url\": \"https://api.github.com/users/octocat/subscriptions\",\n      \"organizations_url\": \"https://api.github.com/users/octocat/orgs\",\n      \"received_events_url\": \"https://api.github.com/users/octocat/received_events\",\n      \"type\": \"User\",\n      \"site_admin\": true\n    },\n    \"name\": \"Octocat App\",\n    \"description\": \"\",\n    \"external_url\": \"https://example.com\",\n    \"html_url\": \"https://github.com/apps/octoapp\",\n    \"created_at\": \"2017-07-08T16:18:44-04:00\",\n    \"updated_at\": \"2017-07-08T16:18:44-04:00\",\n    \"permissions\": {\n      \"metadata\": \"read\",\n      \"contents\": \"read\",\n      \"issues\": \"write\",\n      \"single_file\": \"write\"\n    },\n    \"events\": [\n      \"push\",\n      \"pull_request\"\n    ]\n  },\n  \"pull_requests\": [\n    {\n      \"url\": \"https://api.github.com/repos/github/hello-world/pulls/1\",\n      \"id\": 1934,\n      \"number\": 3956,\n      \"head\": {\n        \"ref\": \"say-hello\",\n        \"sha\": \"3dca65fa3e8d4b3da3f3d056c59aee1c50f41390\",\n        \"repo\": {\n          \"id\": 526,\n          \"url\": \"https://api.github.com/repos/github/hello-world\",\n          \"name\": \"hello-world\"\n        }\n      },\n      \"base\": {\n        \"ref\": \"master\",\n        \"sha\": \"e7fdf7640066d71ad16a86fbcbb9c6a10a18af4f\",\n        \"repo\": {\n          \"id\": 526,\n          \"url\": \"https://api.github.com/repos/github/hello-world\",\n          \"name\": \"hello-world\"\n        }\n      }\n    }\n  ]\n}\n
    " - }, { "httpStatusCode": "201", "httpStatusMessage": "Created", @@ -41904,7 +42057,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/check-runs/{check_run_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -41938,8 +42091,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/check-runs/42", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/check-runs/42
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/check-runs/42", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/check-runs/42
    " }, { "lang": "JavaScript", @@ -41984,7 +42137,7 @@ { "verb": "patch", "requestPath": "/repos/{owner}/{repo}/check-runs/{check_run_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -42018,8 +42171,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/check-runs/42 \\\n -d '{\"name\":\"name\"}'", - "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/check-runs/42 \\\n  -d '{\"name\":\"name\"}'
    " + "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/check-runs/42 \\\n -d '{\"name\":\"name\"}'", + "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/check-runs/42 \\\n  -d '{\"name\":\"name\"}'
    " }, { "lang": "JavaScript", @@ -44014,7 +44167,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/check-runs/{check_run_id}/annotations", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -44068,8 +44221,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/check-runs/42/annotations", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/check-runs/42/annotations
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/check-runs/42/annotations", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/check-runs/42/annotations
    " }, { "lang": "JavaScript", @@ -44114,7 +44267,7 @@ { "verb": "post", "requestPath": "/repos/{owner}/{repo}/check-suites", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -44138,8 +44291,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/check-suites \\\n -d '{\"head_sha\":\"head_sha\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/check-suites \\\n  -d '{\"head_sha\":\"head_sha\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/check-suites \\\n -d '{\"head_sha\":\"head_sha\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/check-suites \\\n  -d '{\"head_sha\":\"head_sha\"}'
    " }, { "lang": "JavaScript", @@ -44220,7 +44373,7 @@ { "verb": "patch", "requestPath": "/repos/{owner}/{repo}/check-suites/preferences", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -44244,8 +44397,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/check-suites/preferences \\\n -d '{\"auto_trigger_checks\":[{\"app_id\":42,\"setting\":true}]}'", - "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/check-suites/preferences \\\n  -d '{\"auto_trigger_checks\":[{\"app_id\":42,\"setting\":true}]}'
    " + "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/check-suites/preferences \\\n -d '{\"auto_trigger_checks\":[{\"app_id\":42,\"setting\":true}]}'", + "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/check-suites/preferences \\\n  -d '{\"auto_trigger_checks\":[{\"app_id\":42,\"setting\":true}]}'
    " }, { "lang": "JavaScript", @@ -44438,7 +44591,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/check-suites/{check_suite_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -44472,8 +44625,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/check-suites/42", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/check-suites/42
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/check-suites/42", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/check-suites/42
    " }, { "lang": "JavaScript", @@ -44518,7 +44671,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/check-suites/{check_suite_id}/check-runs", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -44612,8 +44765,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/check-suites/42/check-runs", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/check-suites/42/check-runs
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/check-suites/42/check-runs", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/check-suites/42/check-runs
    " }, { "lang": "JavaScript", @@ -44658,7 +44811,7 @@ { "verb": "post", "requestPath": "/repos/{owner}/{repo}/check-suites/{check_suite_id}/rerequest", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -44692,8 +44845,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/check-suites/42/rerequest", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/check-suites/42/rerequest
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/check-suites/42/rerequest", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/check-suites/42/rerequest
    " }, { "lang": "JavaScript", @@ -44737,7 +44890,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/code-scanning/alerts", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -44807,7 +44960,7 @@ "required": false, "schema": { "type": "string", - "description": "The full Git reference, formatted as `refs/heads/`." + "description": "The full Git reference, formatted as `refs/heads/`,\n`refs/pull//merge`, or `refs/pull//head`." }, "descriptionHTML": "

    The Git reference for the results you want to list. The ref for a branch can be formatted either as refs/heads/<branch name> or simply <branch name>. To reference a pull request use refs/pull/<number>/merge.

    " }, @@ -44821,6 +44974,7 @@ "description": "State of a code scanning alert.", "enum": [ "open", + "closed", "dismissed", "fixed" ] @@ -44831,8 +44985,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/code-scanning/alerts", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/code-scanning/alerts
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/code-scanning/alerts", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/code-scanning/alerts
    " }, { "lang": "JavaScript", @@ -44841,7 +44995,7 @@ } ], "summary": "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 the default branch or for the specified Git reference\n(if you used `ref` in the request).", + "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).", "tags": [ "code-scanning" ], @@ -44862,7 +45016,7 @@ "categoryLabel": "Code scanning", "notes": [], "bodyParameters": [], - "descriptionHTML": "

    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

    The response includes a most_recent_instance object.\nThis provides details of the most recent instance of this alert\nfor the the default branch or for the specified Git reference\n(if you used ref in the request).

    ", + "descriptionHTML": "

    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

    The 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).

    ", "responses": [ { "httpStatusCode": "200", @@ -44873,7 +45027,7 @@ { "httpStatusCode": "403", "httpStatusMessage": "Forbidden", - "description": "Response if github advanced security is not enabled for this repository" + "description": "Response if git hub advanced security is not enabled for this repository" }, { "httpStatusCode": "404", @@ -44890,7 +45044,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/code-scanning/alerts/{alert_number}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -44927,8 +45081,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/code-scanning/alerts/42", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/code-scanning/alerts/42
    " }, { "lang": "JavaScript", @@ -44969,7 +45123,7 @@ { "httpStatusCode": "403", "httpStatusMessage": "Forbidden", - "description": "Response if github advanced security is not enabled for this repository" + "description": "Response if git hub advanced security is not enabled for this repository" }, { "httpStatusCode": "404", @@ -44986,7 +45140,7 @@ { "verb": "patch", "requestPath": "/repos/{owner}/{repo}/code-scanning/alerts/{alert_number}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -45023,8 +45177,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42 \\\n -d '{\"state\":\"state\"}'", - "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42 \\\n  -d '{\"state\":\"state\"}'
    " + "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/code-scanning/alerts/42 \\\n -d '{\"state\":\"state\"}'", + "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/code-scanning/alerts/42 \\\n  -d '{\"state\":\"state\"}'
    " }, { "lang": "JavaScript", @@ -45174,7 +45328,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/code-scanning/analyses", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -45244,7 +45398,7 @@ "required": false, "schema": { "type": "string", - "description": "The full Git reference, formatted as `refs/heads/`." + "description": "The full Git reference, formatted as `refs/heads/`,\n`refs/pull//merge`, or `refs/pull//head`." }, "descriptionHTML": "

    The Git reference for the analyses you want to list. The ref for a branch can be formatted either as refs/heads/<branch name> or simply <branch name>. To reference a pull request use refs/pull/<number>/merge.

    " }, @@ -45265,8 +45419,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/code-scanning/analyses", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/code-scanning/analyses
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/code-scanning/analyses", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/code-scanning/analyses
    " }, { "lang": "JavaScript", @@ -45306,7 +45460,7 @@ { "httpStatusCode": "403", "httpStatusMessage": "Forbidden", - "description": "Response if github advanced security is not enabled for this repository" + "description": "Response if git hub advanced security is not enabled for this repository" }, { "httpStatusCode": "404", @@ -45323,7 +45477,7 @@ { "verb": "post", "requestPath": "/repos/{owner}/{repo}/code-scanning/sarifs", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -45347,8 +45501,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/code-scanning/sarifs \\\n -d '{\"commit_sha\":\"commit_sha\",\"ref\":\"ref\",\"sarif\":\"sarif\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/code-scanning/sarifs \\\n  -d '{\"commit_sha\":\"commit_sha\",\"ref\":\"ref\",\"sarif\":\"sarif\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/code-scanning/sarifs \\\n -d '{\"commit_sha\":\"commit_sha\",\"ref\":\"ref\",\"sarif\":\"sarif\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/code-scanning/sarifs \\\n  -d '{\"commit_sha\":\"commit_sha\",\"ref\":\"ref\",\"sarif\":\"sarif\"}'
    " }, { "lang": "JavaScript", @@ -45357,7 +45511,7 @@ } ], "summary": "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\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\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).\"", + "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/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/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\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).\"", "operationId": "code-scanning/upload-sarif", "tags": [ "code-scanning" @@ -45386,11 +45540,11 @@ }, "ref": { "type": "string", - "description": "

    Required. The full Git reference, formatted as refs/heads/<branch name>.

    ", + "description": "

    Required. The full Git reference, formatted as refs/heads/<branch name>,\nrefs/pull/<number>/merge, or refs/pull/<number>/head.

    ", "name": "ref", "in": "body", "rawType": "string", - "rawDescription": "The full Git reference, formatted as `refs/heads/`.", + "rawDescription": "The full Git reference, formatted as `refs/heads/`,\n`refs/pull//merge`, or `refs/pull//head`.", "childParamsGroups": [] }, "sarif": { @@ -45452,7 +45606,7 @@ "category": "code-scanning", "categoryLabel": "Code scanning", "notes": [], - "descriptionHTML": "

    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

    You 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
    gzip -c analysis-data.sarif | base64\n
    \n

    SARIF 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

    The 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.\"

    ", + "descriptionHTML": "

    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

    There are two places where you can upload code scanning results.

    \n\n

    You 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
    gzip -c analysis-data.sarif | base64\n
    \n

    SARIF 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

    The 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.\"

    ", "bodyParameters": [ { "description": "

    Required. The SHA of the commit to which the analysis you are uploading relates.

    ", @@ -45468,11 +45622,11 @@ }, { "type": "string", - "description": "

    Required. The full Git reference, formatted as refs/heads/<branch name>.

    ", + "description": "

    Required. The full Git reference, formatted as refs/heads/<branch name>,\nrefs/pull/<number>/merge, or refs/pull/<number>/head.

    ", "name": "ref", "in": "body", "rawType": "string", - "rawDescription": "The full Git reference, formatted as `refs/heads/`.", + "rawDescription": "The full Git reference, formatted as `refs/heads/`,\n`refs/pull//merge`, or `refs/pull//head`.", "childParamsGroups": [] }, { @@ -45552,7 +45706,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/collaborators", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -45612,8 +45766,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/collaborators", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/collaborators
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/collaborators", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/collaborators
    " }, { "lang": "JavaScript", @@ -45663,7 +45817,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/collaborators/{username}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -45696,8 +45850,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/collaborators/USERNAME", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/collaborators/USERNAME
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/collaborators/USERNAME", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/collaborators/USERNAME
    " }, { "lang": "JavaScript", @@ -45746,7 +45900,7 @@ { "verb": "put", "requestPath": "/repos/{owner}/{repo}/collaborators/{username}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -45779,8 +45933,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/collaborators/USERNAME \\\n -d '{\"permission\":\"permission\"}'", - "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/collaborators/USERNAME \\\n  -d '{\"permission\":\"permission\"}'
    " + "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/collaborators/USERNAME \\\n -d '{\"permission\":\"permission\"}'", + "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/collaborators/USERNAME \\\n  -d '{\"permission\":\"permission\"}'
    " }, { "lang": "JavaScript", @@ -45905,7 +46059,7 @@ { "verb": "delete", "requestPath": "/repos/{owner}/{repo}/collaborators/{username}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -45938,8 +46092,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/collaborators/USERNAME", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/collaborators/USERNAME
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/collaborators/USERNAME", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/collaborators/USERNAME
    " }, { "lang": "JavaScript", @@ -45974,7 +46128,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "bodyParameters": [], @@ -45983,7 +46137,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/collaborators/{username}/permission", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -46016,8 +46170,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/collaborators/USERNAME/permission", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/collaborators/USERNAME/permission
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/collaborators/USERNAME/permission", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/collaborators/USERNAME/permission
    " }, { "lang": "JavaScript", @@ -46067,7 +46221,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/comments", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -46111,8 +46265,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/comments", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/comments
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/comments", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/comments
    " }, { "lang": "JavaScript", @@ -46164,7 +46318,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/comments/{comment_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -46198,8 +46352,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/comments/42", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/comments/42
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/comments/42", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/comments/42
    " }, { "lang": "JavaScript", @@ -46256,7 +46410,7 @@ { "verb": "patch", "requestPath": "/repos/{owner}/{repo}/comments/{comment_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -46290,8 +46444,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/comments/42 \\\n -d '{\"body\":\"body\"}'", - "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/comments/42 \\\n  -d '{\"body\":\"body\"}'
    " + "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/comments/42 \\\n -d '{\"body\":\"body\"}'", + "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/comments/42 \\\n  -d '{\"body\":\"body\"}'
    " }, { "lang": "JavaScript", @@ -46377,7 +46531,7 @@ { "verb": "delete", "requestPath": "/repos/{owner}/{repo}/comments/{comment_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -46411,8 +46565,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/comments/42", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/comments/42
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/comments/42", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/comments/42
    " }, { "lang": "JavaScript", @@ -46447,7 +46601,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "404", @@ -46461,7 +46615,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/comments/{comment_id}/reactions", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -46535,8 +46689,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n https://api.github.com/repos/octocat/hello-world/comments/42/reactions", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n  https://api.github.com/repos/octocat/hello-world/comments/42/reactions
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/comments/42/reactions", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/comments/42/reactions
    " }, { "lang": "JavaScript", @@ -46596,7 +46750,7 @@ { "verb": "post", "requestPath": "/repos/{owner}/{repo}/comments/{comment_id}/reactions", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -46630,8 +46784,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n https://api.github.com/repos/octocat/hello-world/comments/42/reactions \\\n -d '{\"content\":\"content\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n  https://api.github.com/repos/octocat/hello-world/comments/42/reactions \\\n  -d '{\"content\":\"content\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/comments/42/reactions \\\n -d '{\"content\":\"content\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/comments/42/reactions \\\n  -d '{\"content\":\"content\"}'
    " }, { "lang": "JavaScript", @@ -46753,7 +46907,7 @@ { "verb": "delete", "requestPath": "/repos/{owner}/{repo}/comments/{comment_id}/reactions/{reaction_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -46796,8 +46950,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n https://api.github.com/repos/octocat/hello-world/comments/42/reactions/42", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n  https://api.github.com/repos/octocat/hello-world/comments/42/reactions/42
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/comments/42/reactions/42", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/comments/42/reactions/42
    " }, { "lang": "JavaScript", @@ -46837,7 +46991,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "bodyParameters": [], @@ -46846,7 +47000,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/commits", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -46935,13 +47089,35 @@ "default": 1 }, "descriptionHTML": "

    Page number of the results to fetch.

    " + }, + { + "name": "top", + "description": "legacy parameter for pagination.", + "in": "query", + "deprecated": true, + "required": false, + "schema": { + "type": "string" + }, + "descriptionHTML": "

    legacy parameter for pagination.

    " + }, + { + "name": "last_sha", + "description": "legacy parameter for pagination.", + "in": "query", + "deprecated": true, + "required": false, + "schema": { + "type": "string" + }, + "descriptionHTML": "

    legacy parameter for pagination.

    " } ], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/commits", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/commits
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/commits", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/commits
    " }, { "lang": "JavaScript", @@ -47006,7 +47182,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/commits/{commit_sha}/branches-where-head", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -47041,8 +47217,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.groot-preview+json\" \\\n https://api.github.com/repos/octocat/hello-world/commits/COMMIT_SHA/branches-where-head", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.groot-preview+json\" \\\n  https://api.github.com/repos/octocat/hello-world/commits/COMMIT_SHA/branches-where-head
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.groot-preview+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/commits/COMMIT_SHA/branches-where-head", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.groot-preview+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/commits/COMMIT_SHA/branches-where-head
    " }, { "lang": "JavaScript", @@ -47104,7 +47280,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/commits/{commit_sha}/comments", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -47159,8 +47335,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/commits/COMMIT_SHA/comments", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/commits/COMMIT_SHA/comments
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/commits/COMMIT_SHA/comments", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/commits/COMMIT_SHA/comments
    " }, { "lang": "JavaScript", @@ -47212,7 +47388,7 @@ { "verb": "post", "requestPath": "/repos/{owner}/{repo}/commits/{commit_sha}/comments", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -47247,8 +47423,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/commits/COMMIT_SHA/comments \\\n -d '{\"body\":\"body\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/commits/COMMIT_SHA/comments \\\n  -d '{\"body\":\"body\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/commits/COMMIT_SHA/comments \\\n -d '{\"body\":\"body\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/commits/COMMIT_SHA/comments \\\n  -d '{\"body\":\"body\"}'
    " }, { "lang": "JavaScript", @@ -47397,7 +47573,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/commits/{commit_sha}/pulls", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -47452,8 +47628,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.groot-preview+json\" \\\n https://api.github.com/repos/octocat/hello-world/commits/COMMIT_SHA/pulls", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.groot-preview+json\" \\\n  https://api.github.com/repos/octocat/hello-world/commits/COMMIT_SHA/pulls
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.groot-preview+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/commits/COMMIT_SHA/pulls", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.groot-preview+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/commits/COMMIT_SHA/pulls
    " }, { "lang": "JavaScript", @@ -47510,7 +47686,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/commits/{ref}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -47530,23 +47706,43 @@ }, "descriptionHTML": "" }, + { + "name": "page", + "description": "Page number of the results to fetch.", + "in": "query", + "schema": { + "type": "integer", + "default": 1 + }, + "descriptionHTML": "

    Page number of the results to fetch.

    " + }, + { + "name": "per_page", + "description": "Results per page (max 100).", + "in": "query", + "schema": { + "type": "integer", + "default": 30 + }, + "descriptionHTML": "

    Results per page (max 100).

    " + }, { "name": "ref", - "description": "ref+ parameter", + "description": "ref parameter", "in": "path", "required": true, "schema": { "type": "string" }, "x-multi-segment": true, - "descriptionHTML": "

    ref+ parameter

    " + "descriptionHTML": "

    ref parameter

    " } ], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/commits/REF", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/commits/REF
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/commits/REF", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/commits/REF
    " }, { "lang": "JavaScript", @@ -47606,7 +47802,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/commits/{ref}/check-runs", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -47628,14 +47824,14 @@ }, { "name": "ref", - "description": "ref+ parameter", + "description": "ref parameter", "in": "path", "required": true, "schema": { "type": "string" }, "x-multi-segment": true, - "descriptionHTML": "

    ref+ parameter

    " + "descriptionHTML": "

    ref parameter

    " }, { "name": "check_name", @@ -47696,13 +47892,22 @@ "default": 1 }, "descriptionHTML": "

    Page number of the results to fetch.

    " + }, + { + "name": "app_id", + "in": "query", + "required": false, + "schema": { + "type": "integer" + }, + "descriptionHTML": "" } ], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/commits/REF/check-runs", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/commits/REF/check-runs
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/commits/REF/check-runs", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/commits/REF/check-runs
    " }, { "lang": "JavaScript", @@ -47747,7 +47952,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/commits/{ref}/check-suites", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -47769,14 +47974,14 @@ }, { "name": "ref", - "description": "ref+ parameter", + "description": "ref parameter", "in": "path", "required": true, "schema": { "type": "string" }, "x-multi-segment": true, - "descriptionHTML": "

    ref+ parameter

    " + "descriptionHTML": "

    ref parameter

    " }, { "name": "app_id", @@ -47823,8 +48028,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/commits/REF/check-suites", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/commits/REF/check-suites
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/commits/REF/check-suites", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/commits/REF/check-suites
    " }, { "lang": "JavaScript", @@ -47869,7 +48074,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/commits/{ref}/status", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -47891,21 +48096,41 @@ }, { "name": "ref", - "description": "ref+ parameter", + "description": "ref parameter", "in": "path", "required": true, "schema": { "type": "string" }, "x-multi-segment": true, - "descriptionHTML": "

    ref+ parameter

    " + "descriptionHTML": "

    ref parameter

    " + }, + { + "name": "per_page", + "description": "Results per page (max 100).", + "in": "query", + "schema": { + "type": "integer", + "default": 30 + }, + "descriptionHTML": "

    Results per page (max 100).

    " + }, + { + "name": "page", + "description": "Page number of the results to fetch.", + "in": "query", + "schema": { + "type": "integer", + "default": 1 + }, + "descriptionHTML": "

    Page number of the results to fetch.

    " } ], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/commits/REF/status", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/commits/REF/status
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/commits/REF/status", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/commits/REF/status
    " }, { "lang": "JavaScript", @@ -47955,7 +48180,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/commits/{ref}/statuses", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -47977,14 +48202,14 @@ }, { "name": "ref", - "description": "ref+ parameter", + "description": "ref parameter", "in": "path", "required": true, "schema": { "type": "string" }, "x-multi-segment": true, - "descriptionHTML": "

    ref+ parameter

    " + "descriptionHTML": "

    ref parameter

    " }, { "name": "per_page", @@ -48010,8 +48235,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/commits/REF/statuses", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/commits/REF/statuses
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/commits/REF/statuses", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/commits/REF/statuses
    " }, { "lang": "JavaScript", @@ -48061,7 +48286,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/compare/{base}...{head}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -48103,8 +48328,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/compare/BASE...HEAD", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/compare/BASE...HEAD
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/compare/BASE...HEAD", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/compare/BASE...HEAD
    " }, { "lang": "JavaScript", @@ -48159,7 +48384,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/contents/{path}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -48181,14 +48406,14 @@ }, { "name": "path", - "description": "path+ parameter", + "description": "path parameter", "in": "path", "required": true, "schema": { "type": "string" }, "x-multi-segment": true, - "descriptionHTML": "

    path+ parameter

    " + "descriptionHTML": "

    path parameter

    " }, { "name": "ref", @@ -48204,8 +48429,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/contents/PATH", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/contents/PATH
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/contents/PATH", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/contents/PATH
    " }, { "lang": "JavaScript", @@ -48283,7 +48508,7 @@ { "verb": "put", "requestPath": "/repos/{owner}/{repo}/contents/{path}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -48305,21 +48530,21 @@ }, { "name": "path", - "description": "path+ parameter", + "description": "path parameter", "in": "path", "required": true, "schema": { "type": "string" }, "x-multi-segment": true, - "descriptionHTML": "

    path+ parameter

    " + "descriptionHTML": "

    path parameter

    " } ], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/contents/PATH \\\n -d '{\"message\":\"message\",\"content\":\"content\"}'", - "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/contents/PATH \\\n  -d '{\"message\":\"message\",\"content\":\"content\"}'
    " + "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/contents/PATH \\\n -d '{\"message\":\"message\",\"content\":\"content\"}'", + "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/contents/PATH \\\n  -d '{\"message\":\"message\",\"content\":\"content\"}'
    " }, { "lang": "JavaScript", @@ -48806,7 +49031,7 @@ { "verb": "delete", "requestPath": "/repos/{owner}/{repo}/contents/{path}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -48828,21 +49053,21 @@ }, { "name": "path", - "description": "path+ parameter", + "description": "path parameter", "in": "path", "required": true, "schema": { "type": "string" }, "x-multi-segment": true, - "descriptionHTML": "

    path+ parameter

    " + "descriptionHTML": "

    path parameter

    " } ], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/contents/PATH \\\n -d '{\"message\":\"message\",\"sha\":\"sha\"}'", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/contents/PATH \\\n  -d '{\"message\":\"message\",\"sha\":\"sha\"}'
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/contents/PATH \\\n -d '{\"message\":\"message\",\"sha\":\"sha\"}'", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/contents/PATH \\\n  -d '{\"message\":\"message\",\"sha\":\"sha\"}'
    " }, { "lang": "JavaScript", @@ -49205,7 +49430,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/contributors", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -49259,8 +49484,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/contributors", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/contributors
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/contributors", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/contributors
    " }, { "lang": "JavaScript", @@ -49318,7 +49543,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/deployments", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -49378,7 +49603,8 @@ "required": false, "schema": { "type": "string", - "default": "none" + "default": "none", + "nullable": true }, "descriptionHTML": "

    The name of the environment that was deployed to (e.g., staging or production).

    " }, @@ -49406,8 +49632,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/deployments", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/deployments
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/deployments", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/deployments
    " }, { "lang": "JavaScript", @@ -49459,7 +49685,7 @@ { "verb": "post", "requestPath": "/repos/{owner}/{repo}/deployments", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -49483,8 +49709,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/deployments \\\n -d '{\"ref\":\"ref\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/deployments \\\n  -d '{\"ref\":\"ref\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/deployments \\\n -d '{\"ref\":\"ref\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/deployments \\\n  -d '{\"ref\":\"ref\"}'
    " }, { "lang": "JavaScript", @@ -49783,12 +50009,6 @@ "description": "Simple example", "payload": "
    {\n  \"url\": \"https://api.github.com/repos/octocat/example/deployments/1\",\n  \"id\": 1,\n  \"node_id\": \"MDEwOkRlcGxveW1lbnQx\",\n  \"sha\": \"a84d88e7554fc1fa21bcbc4efae3c782a70d2b9d\",\n  \"ref\": \"topic-branch\",\n  \"task\": \"deploy\",\n  \"payload\": {},\n  \"original_environment\": \"staging\",\n  \"environment\": \"production\",\n  \"description\": \"Deploy request from hubot\",\n  \"creator\": {\n    \"login\": \"octocat\",\n    \"id\": 1,\n    \"node_id\": \"MDQ6VXNlcjE=\",\n    \"avatar_url\": \"https://github.com/images/error/octocat_happy.gif\",\n    \"gravatar_id\": \"\",\n    \"url\": \"https://api.github.com/users/octocat\",\n    \"html_url\": \"https://github.com/octocat\",\n    \"followers_url\": \"https://api.github.com/users/octocat/followers\",\n    \"following_url\": \"https://api.github.com/users/octocat/following{/other_user}\",\n    \"gists_url\": \"https://api.github.com/users/octocat/gists{/gist_id}\",\n    \"starred_url\": \"https://api.github.com/users/octocat/starred{/owner}{/repo}\",\n    \"subscriptions_url\": \"https://api.github.com/users/octocat/subscriptions\",\n    \"organizations_url\": \"https://api.github.com/users/octocat/orgs\",\n    \"repos_url\": \"https://api.github.com/users/octocat/repos\",\n    \"events_url\": \"https://api.github.com/users/octocat/events{/privacy}\",\n    \"received_events_url\": \"https://api.github.com/users/octocat/received_events\",\n    \"type\": \"User\",\n    \"site_admin\": false\n  },\n  \"created_at\": \"2012-07-20T01:19:13Z\",\n  \"updated_at\": \"2012-07-20T01:19:13Z\",\n  \"statuses_url\": \"https://api.github.com/repos/octocat/example/deployments/1/statuses\",\n  \"repository_url\": \"https://api.github.com/repos/octocat/example\",\n  \"transient_environment\": false,\n  \"production_environment\": true\n}\n
    " }, - { - "httpStatusCode": "201", - "httpStatusMessage": "Created", - "description": "Advanced example", - "payload": "
    {\n  \"url\": \"https://api.github.com/repos/octocat/example/deployments/1\",\n  \"id\": 1,\n  \"node_id\": \"MDEwOkRlcGxveW1lbnQx\",\n  \"sha\": \"a84d88e7554fc1fa21bcbc4efae3c782a70d2b9d\",\n  \"ref\": \"topic-branch\",\n  \"task\": \"deploy\",\n  \"payload\": {},\n  \"original_environment\": \"staging\",\n  \"environment\": \"production\",\n  \"description\": \"Deploy request from hubot\",\n  \"creator\": {\n    \"login\": \"octocat\",\n    \"id\": 1,\n    \"node_id\": \"MDQ6VXNlcjE=\",\n    \"avatar_url\": \"https://github.com/images/error/octocat_happy.gif\",\n    \"gravatar_id\": \"\",\n    \"url\": \"https://api.github.com/users/octocat\",\n    \"html_url\": \"https://github.com/octocat\",\n    \"followers_url\": \"https://api.github.com/users/octocat/followers\",\n    \"following_url\": \"https://api.github.com/users/octocat/following{/other_user}\",\n    \"gists_url\": \"https://api.github.com/users/octocat/gists{/gist_id}\",\n    \"starred_url\": \"https://api.github.com/users/octocat/starred{/owner}{/repo}\",\n    \"subscriptions_url\": \"https://api.github.com/users/octocat/subscriptions\",\n    \"organizations_url\": \"https://api.github.com/users/octocat/orgs\",\n    \"repos_url\": \"https://api.github.com/users/octocat/repos\",\n    \"events_url\": \"https://api.github.com/users/octocat/events{/privacy}\",\n    \"received_events_url\": \"https://api.github.com/users/octocat/received_events\",\n    \"type\": \"User\",\n    \"site_admin\": false\n  },\n  \"created_at\": \"2012-07-20T01:19:13Z\",\n  \"updated_at\": \"2012-07-20T01:19:13Z\",\n  \"statuses_url\": \"https://api.github.com/repos/octocat/example/deployments/1/statuses\",\n  \"repository_url\": \"https://api.github.com/repos/octocat/example\",\n  \"transient_environment\": false,\n  \"production_environment\": true\n}\n
    " - }, { "httpStatusCode": "202", "httpStatusMessage": "Accepted", @@ -49798,14 +50018,7 @@ { "httpStatusCode": "409", "httpStatusMessage": "Conflict", - "description": "Merge conflict response", - "payload": "
    {\n  \"message\": \"Conflict merging master into topic-branch\"\n}\n
    " - }, - { - "httpStatusCode": "409", - "httpStatusMessage": "Conflict", - "description": "Failed commit status checks", - "payload": "
    {\n  \"message\": \"Conflict: Commit status checks failed for topic-branch.\"\n}\n
    " + "description": "Response when there is a merge conflict or the commit s status checks failed" }, { "httpStatusCode": "422", @@ -49817,7 +50030,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/deployments/{deployment_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -49851,8 +50064,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/deployments/42", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/deployments/42
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/deployments/42", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/deployments/42
    " }, { "lang": "JavaScript", @@ -49909,7 +50122,7 @@ { "verb": "delete", "requestPath": "/repos/{owner}/{repo}/deployments/{deployment_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -49943,8 +50156,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/deployments/42", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/deployments/42
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/deployments/42", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/deployments/42
    " }, { "lang": "JavaScript", @@ -49979,7 +50192,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "404", @@ -49998,7 +50211,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/deployments/{deployment_id}/statuses", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -50052,8 +50265,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/deployments/42/statuses", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/deployments/42/statuses
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/deployments/42/statuses", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/deployments/42/statuses
    " }, { "lang": "JavaScript", @@ -50116,7 +50329,7 @@ { "verb": "post", "requestPath": "/repos/{owner}/{repo}/deployments/{deployment_id}/statuses", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -50150,8 +50363,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/deployments/42/statuses \\\n -d '{\"state\":\"state\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/deployments/42/statuses \\\n  -d '{\"state\":\"state\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/deployments/42/statuses \\\n -d '{\"state\":\"state\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/deployments/42/statuses \\\n  -d '{\"state\":\"state\"}'
    " }, { "lang": "JavaScript", @@ -50397,7 +50610,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/deployments/{deployment_id}/statuses/{status_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -50440,8 +50653,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/deployments/42/statuses/42", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/deployments/42/statuses/42
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/deployments/42/statuses/42", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/deployments/42/statuses/42
    " }, { "lang": "JavaScript", @@ -50509,7 +50722,7 @@ { "verb": "post", "requestPath": "/repos/{owner}/{repo}/dispatches", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -50533,8 +50746,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/dispatches \\\n -d '{\"event_type\":\"event_type\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/dispatches \\\n  -d '{\"event_type\":\"event_type\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/dispatches \\\n -d '{\"event_type\":\"event_type\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/dispatches \\\n  -d '{\"event_type\":\"event_type\"}'
    " }, { "lang": "JavaScript", @@ -50607,7 +50820,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "422", @@ -50641,7 +50854,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/events", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -50685,8 +50898,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/events", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/events
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/events", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/events
    " }, { "lang": "JavaScript", @@ -50730,7 +50943,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/forks", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -50760,7 +50973,8 @@ "enum": [ "newest", "oldest", - "stargazers" + "stargazers", + "watchers" ], "default": "newest" }, @@ -50785,13 +50999,35 @@ "default": 1 }, "descriptionHTML": "

    Page number of the results to fetch.

    " + }, + { + "name": "org", + "description": "legacy query parameter for specifying the org.", + "in": "query", + "deprecated": true, + "required": false, + "schema": { + "type": "string" + }, + "descriptionHTML": "

    legacy query parameter for specifying the org.

    " + }, + { + "name": "organization", + "description": "legacy query parameter for specifying the org.", + "in": "query", + "deprecated": true, + "required": false, + "schema": { + "type": "string" + }, + "descriptionHTML": "

    legacy query parameter for specifying the org.

    " } ], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/forks", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/forks
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/forks", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/forks
    " }, { "lang": "JavaScript", @@ -50841,7 +51077,7 @@ { "verb": "post", "requestPath": "/repos/{owner}/{repo}/forks", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -50860,13 +51096,35 @@ "type": "string" }, "descriptionHTML": "" + }, + { + "name": "org", + "description": "legacy query parameter for specifying the org.", + "in": "query", + "deprecated": true, + "required": false, + "schema": { + "type": "string" + }, + "descriptionHTML": "

    legacy query parameter for specifying the org.

    " + }, + { + "name": "organization", + "description": "legacy query parameter for specifying the org.", + "in": "query", + "deprecated": true, + "required": false, + "schema": { + "type": "string" + }, + "descriptionHTML": "

    legacy query parameter for specifying the org.

    " } ], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/forks \\\n -d '{\"organization\":\"organization\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/forks \\\n  -d '{\"organization\":\"organization\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/forks \\\n -d '{\"organization\":\"organization\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/forks \\\n  -d '{\"organization\":\"organization\"}'
    " }, { "lang": "JavaScript", @@ -50889,6 +51147,7 @@ "application/json": { "schema": { "type": "object", + "nullable": true, "properties": { "organization": { "type": "string", @@ -50961,7 +51220,7 @@ { "verb": "post", "requestPath": "/repos/{owner}/{repo}/git/blobs", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -50985,8 +51244,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/git/blobs \\\n -d '{\"content\":\"content\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/git/blobs \\\n  -d '{\"content\":\"content\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/git/blobs \\\n -d '{\"content\":\"content\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/git/blobs \\\n  -d '{\"content\":\"content\"}'
    " }, { "lang": "JavaScript", @@ -51108,7 +51367,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/git/blobs/{file_sha}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -51141,8 +51400,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/git/blobs/FILE_SHA", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/git/blobs/FILE_SHA
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/git/blobs/FILE_SHA", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/git/blobs/FILE_SHA
    " }, { "lang": "JavaScript", @@ -51202,7 +51461,7 @@ { "verb": "post", "requestPath": "/repos/{owner}/{repo}/git/commits", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -51226,8 +51485,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/git/commits \\\n -d '{\"message\":\"message\",\"tree\":\"tree\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/git/commits \\\n  -d '{\"message\":\"message\",\"tree\":\"tree\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/git/commits \\\n -d '{\"message\":\"message\",\"tree\":\"tree\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/git/commits \\\n  -d '{\"message\":\"message\",\"tree\":\"tree\"}'
    " }, { "lang": "JavaScript", @@ -51681,7 +51940,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/git/commits/{commit_sha}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -51716,8 +51975,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/git/commits/COMMIT_SHA", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/git/commits/COMMIT_SHA
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/git/commits/COMMIT_SHA", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/git/commits/COMMIT_SHA
    " }, { "lang": "JavaScript", @@ -51767,7 +52026,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/git/matching-refs/{ref}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -51789,14 +52048,14 @@ }, { "name": "ref", - "description": "ref+ parameter", + "description": "ref parameter", "in": "path", "required": true, "schema": { "type": "string" }, "x-multi-segment": true, - "descriptionHTML": "

    ref+ parameter

    " + "descriptionHTML": "

    ref parameter

    " }, { "name": "per_page", @@ -51822,8 +52081,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/git/matching-refs/REF", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/git/matching-refs/REF
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/git/matching-refs/REF", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/git/matching-refs/REF
    " }, { "lang": "JavaScript", @@ -51868,7 +52127,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/git/ref/{ref}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -51890,21 +52149,21 @@ }, { "name": "ref", - "description": "ref+ parameter", + "description": "ref parameter", "in": "path", "required": true, "schema": { "type": "string" }, "x-multi-segment": true, - "descriptionHTML": "

    ref+ parameter

    " + "descriptionHTML": "

    ref parameter

    " } ], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/git/ref/REF", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/git/ref/REF
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/git/ref/REF", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/git/ref/REF
    " }, { "lang": "JavaScript", @@ -51954,7 +52213,7 @@ { "verb": "post", "requestPath": "/repos/{owner}/{repo}/git/refs", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -51978,8 +52237,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/git/refs \\\n -d '{\"ref\":\"ref\",\"sha\":\"sha\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/git/refs \\\n  -d '{\"ref\":\"ref\",\"sha\":\"sha\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/git/refs \\\n -d '{\"ref\":\"ref\",\"sha\":\"sha\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/git/refs \\\n  -d '{\"ref\":\"ref\",\"sha\":\"sha\"}'
    " }, { "lang": "JavaScript", @@ -52103,7 +52362,7 @@ { "verb": "patch", "requestPath": "/repos/{owner}/{repo}/git/refs/{ref}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -52125,21 +52384,21 @@ }, { "name": "ref", - "description": "ref+ parameter", + "description": "ref parameter", "in": "path", "required": true, "schema": { "type": "string" }, "x-multi-segment": true, - "descriptionHTML": "

    ref+ parameter

    " + "descriptionHTML": "

    ref parameter

    " } ], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/git/refs/REF \\\n -d '{\"sha\":\"sha\"}'", - "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/git/refs/REF \\\n  -d '{\"sha\":\"sha\"}'
    " + "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/git/refs/REF \\\n -d '{\"sha\":\"sha\"}'", + "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/git/refs/REF \\\n  -d '{\"sha\":\"sha\"}'
    " }, { "lang": "JavaScript", @@ -52246,7 +52505,7 @@ { "verb": "delete", "requestPath": "/repos/{owner}/{repo}/git/refs/{ref}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -52268,21 +52527,21 @@ }, { "name": "ref", - "description": "ref+ parameter", + "description": "ref parameter", "in": "path", "required": true, "schema": { "type": "string" }, "x-multi-segment": true, - "descriptionHTML": "

    ref+ parameter

    " + "descriptionHTML": "

    ref parameter

    " } ], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/git/refs/REF", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/git/refs/REF
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/git/refs/REF", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/git/refs/REF
    " }, { "lang": "JavaScript", @@ -52317,7 +52576,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "422", @@ -52331,7 +52590,7 @@ { "verb": "post", "requestPath": "/repos/{owner}/{repo}/git/tags", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -52355,8 +52614,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/git/tags \\\n -d '{\"tag\":\"tag\",\"message\":\"message\",\"object\":\"object\",\"type\":\"type\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/git/tags \\\n  -d '{\"tag\":\"tag\",\"message\":\"message\",\"object\":\"object\",\"type\":\"type\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/git/tags \\\n -d '{\"tag\":\"tag\",\"message\":\"message\",\"object\":\"object\",\"type\":\"type\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/git/tags \\\n  -d '{\"tag\":\"tag\",\"message\":\"message\",\"object\":\"object\",\"type\":\"type\"}'
    " }, { "lang": "JavaScript", @@ -52663,7 +52922,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/git/tags/{tag_sha}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -52696,8 +52955,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/git/tags/TAG_SHA", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/git/tags/TAG_SHA
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/git/tags/TAG_SHA", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/git/tags/TAG_SHA
    " }, { "lang": "JavaScript", @@ -52747,7 +53006,7 @@ { "verb": "post", "requestPath": "/repos/{owner}/{repo}/git/trees", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -52771,8 +53030,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/git/trees \\\n -d '{\"tree\":[{\"path\":\"path\",\"mode\":\"mode\",\"type\":\"type\",\"sha\":\"sha\",\"content\":\"content\"}]}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/git/trees \\\n  -d '{\"tree\":[{\"path\":\"path\",\"mode\":\"mode\",\"type\":\"type\",\"sha\":\"sha\",\"content\":\"content\"}]}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/git/trees \\\n -d '{\"tree\":[{\"path\":\"path\",\"mode\":\"mode\",\"type\":\"type\",\"sha\":\"sha\",\"content\":\"content\"}]}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/git/trees \\\n  -d '{\"tree\":[{\"path\":\"path\",\"mode\":\"mode\",\"type\":\"type\",\"sha\":\"sha\",\"content\":\"content\"}]}'
    " }, { "lang": "JavaScript", @@ -53152,7 +53411,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/git/trees/{tree_sha}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -53179,6 +53438,7 @@ "schema": { "type": "string" }, + "x-multi-segment": true, "descriptionHTML": "" }, { @@ -53195,8 +53455,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/git/trees/TREE_SHA", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/git/trees/TREE_SHA
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/git/trees/TREE_SHA", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/git/trees/TREE_SHA
    " }, { "lang": "JavaScript", @@ -53257,7 +53517,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/hooks", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -53301,8 +53561,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/hooks", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/hooks
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/hooks", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/hooks
    " }, { "lang": "JavaScript", @@ -53352,7 +53612,7 @@ { "verb": "post", "requestPath": "/repos/{owner}/{repo}/hooks", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -53376,8 +53636,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/hooks \\\n -d '{\"config\":{\"url\":\"url\",\"content_type\":\"content_type\",\"secret\":\"secret\",\"insecure_ssl\":\"insecure_ssl\",\"token\":\"token\",\"digest\":\"digest\"}}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/hooks \\\n  -d '{\"config\":{\"url\":\"url\",\"content_type\":\"content_type\",\"secret\":\"secret\",\"insecure_ssl\":\"insecure_ssl\",\"token\":\"token\",\"digest\":\"digest\"}}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/hooks \\\n -d '{\"config\":{\"url\":\"url\",\"content_type\":\"content_type\",\"secret\":\"secret\",\"insecure_ssl\":\"insecure_ssl\",\"token\":\"token\",\"digest\":\"digest\"}}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/hooks \\\n  -d '{\"config\":{\"url\":\"url\",\"content_type\":\"content_type\",\"secret\":\"secret\",\"insecure_ssl\":\"insecure_ssl\",\"token\":\"token\",\"digest\":\"digest\"}}'
    " }, { "lang": "JavaScript", @@ -53813,7 +54073,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/hooks/{hook_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -53846,8 +54106,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/hooks/42", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/hooks/42
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/hooks/42", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/hooks/42
    " }, { "lang": "JavaScript", @@ -53897,7 +54157,7 @@ { "verb": "patch", "requestPath": "/repos/{owner}/{repo}/hooks/{hook_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -53930,8 +54190,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/hooks/42 \\\n -d '{\"config\":{\"url\":\"url\",\"content_type\":\"content_type\",\"secret\":\"secret\",\"insecure_ssl\":\"insecure_ssl\",\"address\":\"address\",\"room\":\"room\"}}'", - "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/hooks/42 \\\n  -d '{\"config\":{\"url\":\"url\",\"content_type\":\"content_type\",\"secret\":\"secret\",\"insecure_ssl\":\"insecure_ssl\",\"address\":\"address\",\"room\":\"room\"}}'
    " + "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/hooks/42 \\\n -d '{\"config\":{\"url\":\"url\",\"content_type\":\"content_type\",\"secret\":\"secret\",\"insecure_ssl\":\"insecure_ssl\",\"address\":\"address\",\"room\":\"room\"}}'", + "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/hooks/42 \\\n  -d '{\"config\":{\"url\":\"url\",\"content_type\":\"content_type\",\"secret\":\"secret\",\"insecure_ssl\":\"insecure_ssl\",\"address\":\"address\",\"room\":\"room\"}}'
    " }, { "lang": "JavaScript", @@ -54382,7 +54642,7 @@ { "verb": "delete", "requestPath": "/repos/{owner}/{repo}/hooks/{hook_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -54415,8 +54675,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/hooks/42", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/hooks/42
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/hooks/42", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/hooks/42
    " }, { "lang": "JavaScript", @@ -54451,7 +54711,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "404", @@ -54465,7 +54725,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/hooks/{hook_id}/config", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -54498,8 +54758,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/hooks/42/config", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/hooks/42/config
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/hooks/42/config", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/hooks/42/config
    " }, { "lang": "JavaScript", @@ -54544,7 +54804,7 @@ { "verb": "patch", "requestPath": "/repos/{owner}/{repo}/hooks/{hook_id}/config", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -54577,8 +54837,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/hooks/42/config \\\n -d '{\"url\":\"url\"}'", - "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/hooks/42/config \\\n  -d '{\"url\":\"url\"}'
    " + "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/hooks/42/config \\\n -d '{\"url\":\"url\"}'", + "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/hooks/42/config \\\n  -d '{\"url\":\"url\"}'
    " }, { "lang": "JavaScript", @@ -54723,7 +54983,7 @@ { "verb": "post", "requestPath": "/repos/{owner}/{repo}/hooks/{hook_id}/pings", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -54756,8 +55016,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/hooks/42/pings", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/hooks/42/pings
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/hooks/42/pings", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/hooks/42/pings
    " }, { "lang": "JavaScript", @@ -54792,7 +55052,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "404", @@ -54806,7 +55066,7 @@ { "verb": "post", "requestPath": "/repos/{owner}/{repo}/hooks/{hook_id}/tests", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -54839,8 +55099,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/hooks/42/tests", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/hooks/42/tests
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/hooks/42/tests", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/hooks/42/tests
    " }, { "lang": "JavaScript", @@ -54875,7 +55135,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "404", @@ -54889,7 +55149,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/installation", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -54913,8 +55173,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/installation", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/installation
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/installation", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/installation
    " }, { "lang": "JavaScript", @@ -54967,7 +55227,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/invitations", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -55011,8 +55271,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/invitations", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/invitations
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/invitations", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/invitations
    " }, { "lang": "JavaScript", @@ -55057,7 +55317,7 @@ { "verb": "patch", "requestPath": "/repos/{owner}/{repo}/invitations/{invitation_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -55091,8 +55351,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/invitations/42 \\\n -d '{\"permissions\":\"permissions\"}'", - "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/invitations/42 \\\n  -d '{\"permissions\":\"permissions\"}'
    " + "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/invitations/42 \\\n -d '{\"permissions\":\"permissions\"}'", + "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/invitations/42 \\\n  -d '{\"permissions\":\"permissions\"}'
    " }, { "lang": "JavaScript", @@ -55181,7 +55441,7 @@ { "verb": "delete", "requestPath": "/repos/{owner}/{repo}/invitations/{invitation_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -55215,8 +55475,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/invitations/42", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/invitations/42
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/invitations/42", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/invitations/42
    " }, { "lang": "JavaScript", @@ -55251,7 +55511,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "bodyParameters": [], @@ -55260,7 +55520,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/issues", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -55411,8 +55671,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/issues", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/issues
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues
    " }, { "lang": "JavaScript", @@ -55477,7 +55737,7 @@ { "verb": "post", "requestPath": "/repos/{owner}/{repo}/issues", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -55501,8 +55761,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/issues \\\n -d '{\"title\":\"title\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/issues \\\n  -d '{\"title\":\"title\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues \\\n -d '{\"title\":\"title\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues \\\n  -d '{\"title\":\"title\"}'
    " }, { "lang": "JavaScript", @@ -55793,7 +56053,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/issues/comments", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -55876,8 +56136,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/issues/comments", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/issues/comments
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues/comments", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues/comments
    " }, { "lang": "JavaScript", @@ -55939,7 +56199,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/issues/comments/{comment_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -55973,8 +56233,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/issues/comments/42", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/issues/comments/42
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues/comments/42", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues/comments/42
    " }, { "lang": "JavaScript", @@ -56031,7 +56291,7 @@ { "verb": "patch", "requestPath": "/repos/{owner}/{repo}/issues/comments/{comment_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -56065,8 +56325,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/issues/comments/42 \\\n -d '{\"body\":\"body\"}'", - "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/issues/comments/42 \\\n  -d '{\"body\":\"body\"}'
    " + "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues/comments/42 \\\n -d '{\"body\":\"body\"}'", + "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues/comments/42 \\\n  -d '{\"body\":\"body\"}'
    " }, { "lang": "JavaScript", @@ -56152,7 +56412,7 @@ { "verb": "delete", "requestPath": "/repos/{owner}/{repo}/issues/comments/{comment_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -56186,8 +56446,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/issues/comments/42", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/issues/comments/42
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues/comments/42", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues/comments/42
    " }, { "lang": "JavaScript", @@ -56222,7 +56482,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "bodyParameters": [], @@ -56231,7 +56491,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/issues/comments/{comment_id}/reactions", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -56305,8 +56565,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n https://api.github.com/repos/octocat/hello-world/issues/comments/42/reactions", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n  https://api.github.com/repos/octocat/hello-world/issues/comments/42/reactions
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues/comments/42/reactions", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues/comments/42/reactions
    " }, { "lang": "JavaScript", @@ -56366,7 +56626,7 @@ { "verb": "post", "requestPath": "/repos/{owner}/{repo}/issues/comments/{comment_id}/reactions", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -56400,8 +56660,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n https://api.github.com/repos/octocat/hello-world/issues/comments/42/reactions \\\n -d '{\"content\":\"content\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n  https://api.github.com/repos/octocat/hello-world/issues/comments/42/reactions \\\n  -d '{\"content\":\"content\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues/comments/42/reactions \\\n -d '{\"content\":\"content\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues/comments/42/reactions \\\n  -d '{\"content\":\"content\"}'
    " }, { "lang": "JavaScript", @@ -56523,7 +56783,7 @@ { "verb": "delete", "requestPath": "/repos/{owner}/{repo}/issues/comments/{comment_id}/reactions/{reaction_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -56566,8 +56826,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n https://api.github.com/repos/octocat/hello-world/issues/comments/42/reactions/42", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n  https://api.github.com/repos/octocat/hello-world/issues/comments/42/reactions/42
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues/comments/42/reactions/42", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues/comments/42/reactions/42
    " }, { "lang": "JavaScript", @@ -56607,7 +56867,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "bodyParameters": [], @@ -56616,7 +56876,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/issues/events", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -56660,8 +56920,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/issues/events", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/issues/events
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues/events", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues/events
    " }, { "lang": "JavaScript", @@ -56718,7 +56978,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/issues/events/{event_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -56751,8 +57011,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/issues/events/42", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/issues/events/42
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues/events/42", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues/events/42
    " }, { "lang": "JavaScript", @@ -56819,7 +57079,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/issues/{issue_number}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -56853,8 +57113,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/issues/42", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/issues/42
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues/42", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues/42
    " }, { "lang": "JavaScript", @@ -56924,7 +57184,7 @@ { "verb": "patch", "requestPath": "/repos/{owner}/{repo}/issues/{issue_number}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -56958,8 +57218,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/issues/42 \\\n -d '{\"title\":\"title\"}'", - "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/issues/42 \\\n  -d '{\"title\":\"title\"}'
    " + "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues/42 \\\n -d '{\"title\":\"title\"}'", + "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues/42 \\\n  -d '{\"title\":\"title\"}'
    " }, { "lang": "JavaScript", @@ -57284,7 +57544,7 @@ { "verb": "post", "requestPath": "/repos/{owner}/{repo}/issues/{issue_number}/assignees", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -57318,8 +57578,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/issues/42/assignees \\\n -d '{\"assignees\":[\"assignees\"]}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/issues/42/assignees \\\n  -d '{\"assignees\":[\"assignees\"]}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues/42/assignees \\\n -d '{\"assignees\":[\"assignees\"]}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues/42/assignees \\\n  -d '{\"assignees\":[\"assignees\"]}'
    " }, { "lang": "JavaScript", @@ -57406,7 +57666,7 @@ { "verb": "delete", "requestPath": "/repos/{owner}/{repo}/issues/{issue_number}/assignees", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -57440,8 +57700,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/issues/42/assignees \\\n -d '{\"assignees\":[\"assignees\"]}'", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/issues/42/assignees \\\n  -d '{\"assignees\":[\"assignees\"]}'
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues/42/assignees \\\n -d '{\"assignees\":[\"assignees\"]}'", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues/42/assignees \\\n  -d '{\"assignees\":[\"assignees\"]}'
    " }, { "lang": "JavaScript", @@ -57528,7 +57788,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/issues/{issue_number}/comments", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -57592,8 +57852,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/issues/42/comments", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/issues/42/comments
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues/42/comments", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues/42/comments
    " }, { "lang": "JavaScript", @@ -57655,7 +57915,7 @@ { "verb": "post", "requestPath": "/repos/{owner}/{repo}/issues/{issue_number}/comments", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -57689,8 +57949,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/issues/42/comments \\\n -d '{\"body\":\"body\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/issues/42/comments \\\n  -d '{\"body\":\"body\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues/42/comments \\\n -d '{\"body\":\"body\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues/42/comments \\\n  -d '{\"body\":\"body\"}'
    " }, { "lang": "JavaScript", @@ -57792,7 +58052,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/issues/{issue_number}/events", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -57846,8 +58106,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/issues/42/events", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/issues/42/events
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues/42/events", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues/42/events
    " }, { "lang": "JavaScript", @@ -57904,7 +58164,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/issues/{issue_number}/labels", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -57958,8 +58218,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/issues/42/labels", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/issues/42/labels
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues/42/labels", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues/42/labels
    " }, { "lang": "JavaScript", @@ -58009,7 +58269,7 @@ { "verb": "post", "requestPath": "/repos/{owner}/{repo}/issues/{issue_number}/labels", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -58043,8 +58303,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/issues/42/labels \\\n -d '{\"labels\":[\"labels\"]}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/issues/42/labels \\\n  -d '{\"labels\":[\"labels\"]}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues/42/labels \\\n -d '{\"labels\":[\"labels\"]}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues/42/labels \\\n  -d '{\"labels\":[\"labels\"]}'
    " }, { "lang": "JavaScript", @@ -58144,7 +58404,7 @@ { "verb": "put", "requestPath": "/repos/{owner}/{repo}/issues/{issue_number}/labels", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -58178,8 +58438,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/issues/42/labels \\\n -d '{\"labels\":[\"labels\"]}'", - "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/issues/42/labels \\\n  -d '{\"labels\":[\"labels\"]}'
    " + "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues/42/labels \\\n -d '{\"labels\":[\"labels\"]}'", + "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues/42/labels \\\n  -d '{\"labels\":[\"labels\"]}'
    " }, { "lang": "JavaScript", @@ -58276,7 +58536,7 @@ { "verb": "delete", "requestPath": "/repos/{owner}/{repo}/issues/{issue_number}/labels", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -58310,8 +58570,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/issues/42/labels", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/issues/42/labels
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues/42/labels", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues/42/labels
    " }, { "lang": "JavaScript", @@ -58346,7 +58606,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "410", @@ -58360,7 +58620,7 @@ { "verb": "delete", "requestPath": "/repos/{owner}/{repo}/issues/{issue_number}/labels/{name}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -58403,8 +58663,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/issues/42/labels/NAME", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/issues/42/labels/NAME
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues/42/labels/NAME", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues/42/labels/NAME
    " }, { "lang": "JavaScript", @@ -58459,7 +58719,7 @@ { "verb": "put", "requestPath": "/repos/{owner}/{repo}/issues/{issue_number}/lock", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -58493,8 +58753,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/issues/42/lock \\\n -d '{\"lock_reason\":\"lock_reason\"}'", - "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/issues/42/lock \\\n  -d '{\"lock_reason\":\"lock_reason\"}'
    " + "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues/42/lock \\\n -d '{\"lock_reason\":\"lock_reason\"}'", + "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues/42/lock \\\n  -d '{\"lock_reason\":\"lock_reason\"}'
    " }, { "lang": "JavaScript", @@ -58554,7 +58814,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "403", @@ -58599,7 +58859,7 @@ { "verb": "delete", "requestPath": "/repos/{owner}/{repo}/issues/{issue_number}/lock", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -58633,8 +58893,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/issues/42/lock", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/issues/42/lock
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues/42/lock", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues/42/lock
    " }, { "lang": "JavaScript", @@ -58667,7 +58927,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "403", @@ -58686,7 +58946,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/issues/{issue_number}/reactions", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -58760,8 +59020,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n https://api.github.com/repos/octocat/hello-world/issues/42/reactions", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n  https://api.github.com/repos/octocat/hello-world/issues/42/reactions
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues/42/reactions", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues/42/reactions
    " }, { "lang": "JavaScript", @@ -58826,7 +59086,7 @@ { "verb": "post", "requestPath": "/repos/{owner}/{repo}/issues/{issue_number}/reactions", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -58860,8 +59120,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n https://api.github.com/repos/octocat/hello-world/issues/42/reactions \\\n -d '{\"content\":\"content\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n  https://api.github.com/repos/octocat/hello-world/issues/42/reactions \\\n  -d '{\"content\":\"content\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues/42/reactions \\\n -d '{\"content\":\"content\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues/42/reactions \\\n  -d '{\"content\":\"content\"}'
    " }, { "lang": "JavaScript", @@ -58977,7 +59237,7 @@ { "verb": "delete", "requestPath": "/repos/{owner}/{repo}/issues/{issue_number}/reactions/{reaction_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -59020,8 +59280,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n https://api.github.com/repos/octocat/hello-world/issues/42/reactions/42", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n  https://api.github.com/repos/octocat/hello-world/issues/42/reactions/42
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues/42/reactions/42", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues/42/reactions/42
    " }, { "lang": "JavaScript", @@ -59061,7 +59321,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "bodyParameters": [], @@ -59070,7 +59330,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/issues/{issue_number}/timeline", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -59124,8 +59384,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.mockingbird-preview+json\" \\\n https://api.github.com/repos/octocat/hello-world/issues/42/timeline", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.mockingbird-preview+json\" \\\n  https://api.github.com/repos/octocat/hello-world/issues/42/timeline
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.mockingbird-preview+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues/42/timeline", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.mockingbird-preview+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues/42/timeline
    " }, { "lang": "JavaScript", @@ -59198,7 +59458,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/keys", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -59242,8 +59502,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/keys", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/keys
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/keys", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/keys
    " }, { "lang": "JavaScript", @@ -59288,7 +59548,7 @@ { "verb": "post", "requestPath": "/repos/{owner}/{repo}/keys", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -59312,8 +59572,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/keys \\\n -d '{\"key\":\"key\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/keys \\\n  -d '{\"key\":\"key\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/keys \\\n -d '{\"key\":\"key\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/keys \\\n  -d '{\"key\":\"key\"}'
    " }, { "lang": "JavaScript", @@ -59437,7 +59697,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/keys/{key_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -59471,8 +59731,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/keys/42", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/keys/42
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/keys/42", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/keys/42
    " }, { "lang": "JavaScript", @@ -59522,7 +59782,7 @@ { "verb": "delete", "requestPath": "/repos/{owner}/{repo}/keys/{key_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -59556,8 +59816,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/keys/42", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/keys/42
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/keys/42", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/keys/42
    " }, { "lang": "JavaScript", @@ -59592,7 +59852,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "bodyParameters": [], @@ -59601,7 +59861,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/labels", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -59645,8 +59905,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/labels", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/labels
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/labels", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/labels
    " }, { "lang": "JavaScript", @@ -59696,7 +59956,7 @@ { "verb": "post", "requestPath": "/repos/{owner}/{repo}/labels", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -59720,8 +59980,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/labels \\\n -d '{\"name\":\"name\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/labels \\\n  -d '{\"name\":\"name\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/labels \\\n -d '{\"name\":\"name\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/labels \\\n  -d '{\"name\":\"name\"}'
    " }, { "lang": "JavaScript", @@ -59747,11 +60007,11 @@ "properties": { "name": { "type": "string", - "description": "

    Required. The name of the label. Emoji can be added to label names, using either native emoji or colon-style markup. For example, typing :strawberry: will render the emoji \":strawberry:\". For a full list of available emoji and codes, see emoji-cheat-sheet.com.

    ", + "description": "

    Required. The name of the label. Emoji can be added to label names, using either native emoji or colon-style markup. For example, typing :strawberry: will render the emoji \":strawberry:\". For a full list of available emoji and codes, see \"Emoji cheat sheet.\"

    ", "name": "name", "in": "body", "rawType": "string", - "rawDescription": "The name of the label. Emoji can be added to label names, using either native emoji or colon-style markup. For example, typing `:strawberry:` will render the emoji ![:strawberry:](https://github.githubassets.com/images/icons/emoji/unicode/1f353.png \":strawberry:\"). For a full list of available emoji and codes, see [emoji-cheat-sheet.com](http://emoji-cheat-sheet.com/).", + "rawDescription": "The name of the label. Emoji can be added to label names, using either native emoji or colon-style markup. For example, typing `:strawberry:` will render the emoji ![:strawberry:](https://github.githubassets.com/images/icons/emoji/unicode/1f353.png \":strawberry:\"). For a full list of available emoji and codes, see \"[Emoji cheat sheet](https://github.com/ikatyang/emoji-cheat-sheet).\"", "childParamsGroups": [] }, "color": { @@ -59802,11 +60062,11 @@ "bodyParameters": [ { "type": "string", - "description": "

    Required. The name of the label. Emoji can be added to label names, using either native emoji or colon-style markup. For example, typing :strawberry: will render the emoji \":strawberry:\". For a full list of available emoji and codes, see emoji-cheat-sheet.com.

    ", + "description": "

    Required. The name of the label. Emoji can be added to label names, using either native emoji or colon-style markup. For example, typing :strawberry: will render the emoji \":strawberry:\". For a full list of available emoji and codes, see \"Emoji cheat sheet.\"

    ", "name": "name", "in": "body", "rawType": "string", - "rawDescription": "The name of the label. Emoji can be added to label names, using either native emoji or colon-style markup. For example, typing `:strawberry:` will render the emoji ![:strawberry:](https://github.githubassets.com/images/icons/emoji/unicode/1f353.png \":strawberry:\"). For a full list of available emoji and codes, see [emoji-cheat-sheet.com](http://emoji-cheat-sheet.com/).", + "rawDescription": "The name of the label. Emoji can be added to label names, using either native emoji or colon-style markup. For example, typing `:strawberry:` will render the emoji ![:strawberry:](https://github.githubassets.com/images/icons/emoji/unicode/1f353.png \":strawberry:\"). For a full list of available emoji and codes, see \"[Emoji cheat sheet](https://github.com/ikatyang/emoji-cheat-sheet).\"", "childParamsGroups": [] }, { @@ -59850,7 +60110,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/labels/{name}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -59883,8 +60143,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/labels/NAME", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/labels/NAME
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/labels/NAME", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/labels/NAME
    " }, { "lang": "JavaScript", @@ -59934,7 +60194,7 @@ { "verb": "patch", "requestPath": "/repos/{owner}/{repo}/labels/{name}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -59967,8 +60227,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/labels/NAME \\\n -d '{\"new_name\":\"new_name\"}'", - "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/labels/NAME \\\n  -d '{\"new_name\":\"new_name\"}'
    " + "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/labels/NAME \\\n -d '{\"new_name\":\"new_name\"}'", + "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/labels/NAME \\\n  -d '{\"new_name\":\"new_name\"}'
    " }, { "lang": "JavaScript", @@ -59994,11 +60254,11 @@ "properties": { "new_name": { "type": "string", - "description": "

    The new name of the label. Emoji can be added to label names, using either native emoji or colon-style markup. For example, typing :strawberry: will render the emoji \":strawberry:\". For a full list of available emoji and codes, see emoji-cheat-sheet.com.

    ", + "description": "

    The new name of the label. Emoji can be added to label names, using either native emoji or colon-style markup. For example, typing :strawberry: will render the emoji \":strawberry:\". For a full list of available emoji and codes, see \"Emoji cheat sheet.\"

    ", "name": "new_name", "in": "body", "rawType": "string", - "rawDescription": "The new name of the label. Emoji can be added to label names, using either native emoji or colon-style markup. For example, typing `:strawberry:` will render the emoji ![:strawberry:](https://github.githubassets.com/images/icons/emoji/unicode/1f353.png \":strawberry:\"). For a full list of available emoji and codes, see [emoji-cheat-sheet.com](http://emoji-cheat-sheet.com/).", + "rawDescription": "The new name of the label. Emoji can be added to label names, using either native emoji or colon-style markup. For example, typing `:strawberry:` will render the emoji ![:strawberry:](https://github.githubassets.com/images/icons/emoji/unicode/1f353.png \":strawberry:\"). For a full list of available emoji and codes, see \"[Emoji cheat sheet](https://github.com/ikatyang/emoji-cheat-sheet).\"", "childParamsGroups": [] }, "color": { @@ -60046,11 +60306,11 @@ "bodyParameters": [ { "type": "string", - "description": "

    The new name of the label. Emoji can be added to label names, using either native emoji or colon-style markup. For example, typing :strawberry: will render the emoji \":strawberry:\". For a full list of available emoji and codes, see emoji-cheat-sheet.com.

    ", + "description": "

    The new name of the label. Emoji can be added to label names, using either native emoji or colon-style markup. For example, typing :strawberry: will render the emoji \":strawberry:\". For a full list of available emoji and codes, see \"Emoji cheat sheet.\"

    ", "name": "new_name", "in": "body", "rawType": "string", - "rawDescription": "The new name of the label. Emoji can be added to label names, using either native emoji or colon-style markup. For example, typing `:strawberry:` will render the emoji ![:strawberry:](https://github.githubassets.com/images/icons/emoji/unicode/1f353.png \":strawberry:\"). For a full list of available emoji and codes, see [emoji-cheat-sheet.com](http://emoji-cheat-sheet.com/).", + "rawDescription": "The new name of the label. Emoji can be added to label names, using either native emoji or colon-style markup. For example, typing `:strawberry:` will render the emoji ![:strawberry:](https://github.githubassets.com/images/icons/emoji/unicode/1f353.png \":strawberry:\"). For a full list of available emoji and codes, see \"[Emoji cheat sheet](https://github.com/ikatyang/emoji-cheat-sheet).\"", "childParamsGroups": [] }, { @@ -60084,7 +60344,7 @@ { "verb": "delete", "requestPath": "/repos/{owner}/{repo}/labels/{name}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -60117,8 +60377,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/labels/NAME", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/labels/NAME
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/labels/NAME", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/labels/NAME
    " }, { "lang": "JavaScript", @@ -60153,7 +60413,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "bodyParameters": [], @@ -60162,7 +60422,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/languages", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -60186,8 +60446,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/languages", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/languages
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/languages", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/languages
    " }, { "lang": "JavaScript", @@ -60230,7 +60490,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/license", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -60254,8 +60514,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/license", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/license
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/license", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/license
    " }, { "lang": "JavaScript", @@ -60298,7 +60558,7 @@ { "verb": "post", "requestPath": "/repos/{owner}/{repo}/merges", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -60322,8 +60582,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/merges \\\n -d '{\"base\":\"base\",\"head\":\"head\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/merges \\\n  -d '{\"base\":\"base\",\"head\":\"head\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/merges \\\n -d '{\"base\":\"base\",\"head\":\"head\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/merges \\\n  -d '{\"base\":\"base\",\"head\":\"head\"}'
    " }, { "lang": "JavaScript", @@ -60446,20 +60706,12 @@ { "httpStatusCode": "404", "httpStatusMessage": "Not Found", - "description": "Missing base response", - "payload": "
    {\n  \"message\": \"Base does not exist\"\n}\n
    " - }, - { - "httpStatusCode": "404", - "httpStatusMessage": "Not Found", - "description": "Missing head response", - "payload": "
    {\n  \"message\": \"Head does not exist\"\n}\n
    " + "description": "Response when the base or head does not exist" }, { "httpStatusCode": "409", "httpStatusMessage": "Conflict", - "description": "Merge conflict response", - "payload": "
    {\n  \"message\": \"Merge Conflict\"\n}\n
    " + "description": "Response when there is a merge conflict" }, { "httpStatusCode": "422", @@ -60471,7 +60723,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/milestones", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -60561,8 +60813,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/milestones", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/milestones
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/milestones", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/milestones
    " }, { "lang": "JavaScript", @@ -60612,7 +60864,7 @@ { "verb": "post", "requestPath": "/repos/{owner}/{repo}/milestones", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -60636,8 +60888,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/milestones \\\n -d '{\"title\":\"title\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/milestones \\\n  -d '{\"title\":\"title\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/milestones \\\n -d '{\"title\":\"title\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/milestones \\\n  -d '{\"title\":\"title\"}'
    " }, { "lang": "JavaScript", @@ -60795,7 +61047,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/milestones/{milestone_number}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -60829,8 +61081,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/milestones/42", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/milestones/42
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/milestones/42", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/milestones/42
    " }, { "lang": "JavaScript", @@ -60880,7 +61132,7 @@ { "verb": "patch", "requestPath": "/repos/{owner}/{repo}/milestones/{milestone_number}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -60914,8 +61166,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/milestones/42 \\\n -d '{\"title\":\"title\"}'", - "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/milestones/42 \\\n  -d '{\"title\":\"title\"}'
    " + "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/milestones/42 \\\n -d '{\"title\":\"title\"}'", + "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/milestones/42 \\\n  -d '{\"title\":\"title\"}'
    " }, { "lang": "JavaScript", @@ -61060,7 +61312,7 @@ { "verb": "delete", "requestPath": "/repos/{owner}/{repo}/milestones/{milestone_number}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -61094,8 +61346,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/milestones/42", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/milestones/42
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/milestones/42", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/milestones/42
    " }, { "lang": "JavaScript", @@ -61130,7 +61382,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "404", @@ -61144,7 +61396,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/milestones/{milestone_number}/labels", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -61198,8 +61450,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/milestones/42/labels", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/milestones/42/labels
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/milestones/42/labels", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/milestones/42/labels
    " }, { "lang": "JavaScript", @@ -61244,7 +61496,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/notifications", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -61330,8 +61582,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/notifications", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/notifications
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/notifications", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/notifications
    " }, { "lang": "JavaScript", @@ -61376,7 +61628,7 @@ { "verb": "put", "requestPath": "/repos/{owner}/{repo}/notifications", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -61400,8 +61652,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/notifications \\\n -d '{\"last_read_at\":\"last_read_at\"}'", - "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/notifications \\\n  -d '{\"last_read_at\":\"last_read_at\"}'
    " + "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/notifications \\\n -d '{\"last_read_at\":\"last_read_at\"}'", + "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/notifications \\\n  -d '{\"last_read_at\":\"last_read_at\"}'
    " }, { "lang": "JavaScript", @@ -61475,7 +61727,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/pages", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -61499,8 +61751,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/pages", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/pages
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/pages", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/pages
    " }, { "lang": "JavaScript", @@ -61550,7 +61802,7 @@ { "verb": "post", "requestPath": "/repos/{owner}/{repo}/pages", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -61574,8 +61826,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.switcheroo-preview+json\" \\\n https://api.github.com/repos/octocat/hello-world/pages \\\n -d '{\"source\":{\"branch\":\"branch\",\"path\":\"path\"}}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.switcheroo-preview+json\" \\\n  https://api.github.com/repos/octocat/hello-world/pages \\\n  -d '{\"source\":{\"branch\":\"branch\",\"path\":\"path\"}}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.switcheroo-preview+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/pages \\\n -d '{\"source\":{\"branch\":\"branch\",\"path\":\"path\"}}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.switcheroo-preview+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/pages \\\n  -d '{\"source\":{\"branch\":\"branch\",\"path\":\"path\"}}'
    " }, { "lang": "JavaScript", @@ -61800,7 +62052,7 @@ { "verb": "put", "requestPath": "/repos/{owner}/{repo}/pages", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -61824,8 +62076,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/pages \\\n -d '{\"source\":\"source\"}'", - "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/pages \\\n  -d '{\"source\":\"source\"}'
    " + "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/pages \\\n -d '{\"source\":\"source\"}'", + "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/pages \\\n  -d '{\"source\":\"source\"}'
    " }, { "lang": "JavaScript", @@ -61939,7 +62191,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "400", @@ -62017,7 +62269,7 @@ { "verb": "delete", "requestPath": "/repos/{owner}/{repo}/pages", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -62041,8 +62293,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.switcheroo-preview+json\" \\\n https://api.github.com/repos/octocat/hello-world/pages", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.switcheroo-preview+json\" \\\n  https://api.github.com/repos/octocat/hello-world/pages
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.switcheroo-preview+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/pages", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.switcheroo-preview+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/pages
    " }, { "lang": "JavaScript", @@ -62084,7 +62336,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "404", @@ -62108,7 +62360,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/pages/builds", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -62152,8 +62404,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/pages/builds", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/pages/builds
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/pages/builds", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/pages/builds
    " }, { "lang": "JavaScript", @@ -62198,7 +62450,7 @@ { "verb": "post", "requestPath": "/repos/{owner}/{repo}/pages/builds", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -62222,8 +62474,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/pages/builds", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/pages/builds
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/pages/builds", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/pages/builds
    " }, { "lang": "JavaScript", @@ -62268,7 +62520,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/pages/builds/latest", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -62292,8 +62544,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/pages/builds/latest", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/pages/builds/latest
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/pages/builds/latest", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/pages/builds/latest
    " }, { "lang": "JavaScript", @@ -62338,7 +62590,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/pages/builds/{build_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -62371,8 +62623,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/pages/builds/42", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/pages/builds/42
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/pages/builds/42", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/pages/builds/42
    " }, { "lang": "JavaScript", @@ -62417,7 +62669,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/pre-receive-hooks", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -62456,13 +62708,43 @@ "default": 1 }, "descriptionHTML": "

    Page number of the results to fetch.

    " + }, + { + "name": "direction", + "description": "One of `asc` (ascending) or `desc` (descending).", + "in": "query", + "required": false, + "schema": { + "type": "string", + "enum": [ + "asc", + "desc" + ], + "default": "desc" + }, + "descriptionHTML": "

    One of asc (ascending) or desc (descending).

    " + }, + { + "name": "sort", + "in": "query", + "required": false, + "schema": { + "type": "string", + "enum": [ + "created", + "updated", + "name" + ], + "default": "created" + }, + "descriptionHTML": "" } ], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n https://api.github.com/repos/octocat/hello-world/pre-receive-hooks", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n  https://api.github.com/repos/octocat/hello-world/pre-receive-hooks
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/pre-receive-hooks", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/pre-receive-hooks
    " }, { "lang": "JavaScript", @@ -62514,7 +62796,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/pre-receive-hooks/{pre_receive_hook_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -62547,8 +62829,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n https://api.github.com/repos/octocat/hello-world/pre-receive-hooks/42", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n  https://api.github.com/repos/octocat/hello-world/pre-receive-hooks/42
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/pre-receive-hooks/42", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/pre-receive-hooks/42
    " }, { "lang": "JavaScript", @@ -62600,7 +62882,7 @@ { "verb": "patch", "requestPath": "/repos/{owner}/{repo}/pre-receive-hooks/{pre_receive_hook_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -62633,8 +62915,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n https://api.github.com/repos/octocat/hello-world/pre-receive-hooks/42 \\\n -d '{\"enforcement\":\"enforcement\"}'", - "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n  https://api.github.com/repos/octocat/hello-world/pre-receive-hooks/42 \\\n  -d '{\"enforcement\":\"enforcement\"}'
    " + "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/pre-receive-hooks/42 \\\n -d '{\"enforcement\":\"enforcement\"}'", + "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/pre-receive-hooks/42 \\\n  -d '{\"enforcement\":\"enforcement\"}'
    " }, { "lang": "JavaScript", @@ -62719,7 +63001,7 @@ { "verb": "delete", "requestPath": "/repos/{owner}/{repo}/pre-receive-hooks/{pre_receive_hook_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -62752,8 +63034,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n https://api.github.com/repos/octocat/hello-world/pre-receive-hooks/42", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n  https://api.github.com/repos/octocat/hello-world/pre-receive-hooks/42
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/pre-receive-hooks/42", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/pre-receive-hooks/42
    " }, { "lang": "JavaScript", @@ -62805,7 +63087,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/projects", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -62865,8 +63147,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n https://api.github.com/repos/octocat/hello-world/projects", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  https://api.github.com/repos/octocat/hello-world/projects
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/projects", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/projects
    " }, { "lang": "JavaScript", @@ -62941,7 +63223,7 @@ { "verb": "post", "requestPath": "/repos/{owner}/{repo}/projects", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -62965,8 +63247,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n https://api.github.com/repos/octocat/hello-world/projects \\\n -d '{\"name\":\"name\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  https://api.github.com/repos/octocat/hello-world/projects \\\n  -d '{\"name\":\"name\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/projects \\\n -d '{\"name\":\"name\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/projects \\\n  -d '{\"name\":\"name\"}'
    " }, { "lang": "JavaScript", @@ -63096,7 +63378,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/pulls", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -63207,8 +63489,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/pulls", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/pulls
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/pulls", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/pulls
    " }, { "lang": "JavaScript", @@ -63261,7 +63543,7 @@ { "verb": "post", "requestPath": "/repos/{owner}/{repo}/pulls", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -63285,8 +63567,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/pulls \\\n -d '{\"head\":\"head\",\"base\":\"base\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/pulls \\\n  -d '{\"head\":\"head\",\"base\":\"base\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/pulls \\\n -d '{\"head\":\"head\",\"base\":\"base\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/pulls \\\n  -d '{\"head\":\"head\",\"base\":\"base\"}'
    " }, { "lang": "JavaScript", @@ -63488,7 +63770,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/pulls/comments", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -63510,18 +63792,17 @@ }, { "name": "sort", - "description": "One of `created` (when the repository was starred) or `updated` (when it was last pushed to).", "in": "query", "required": false, "schema": { "type": "string", "enum": [ "created", - "updated" - ], - "default": "created" + "updated", + "created_at" + ] }, - "descriptionHTML": "

    One of created (when the repository was starred) or updated (when it was last pushed to).

    " + "descriptionHTML": "" }, { "name": "direction", @@ -63571,8 +63852,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/pulls/comments", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/pulls/comments
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/pulls/comments", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/pulls/comments
    " }, { "lang": "JavaScript", @@ -63630,7 +63911,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/pulls/comments/{comment_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -63664,8 +63945,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/pulls/comments/42", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/pulls/comments/42
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/pulls/comments/42", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/pulls/comments/42
    " }, { "lang": "JavaScript", @@ -63728,7 +64009,7 @@ { "verb": "patch", "requestPath": "/repos/{owner}/{repo}/pulls/comments/{comment_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -63762,8 +64043,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/pulls/comments/42 \\\n -d '{\"body\":\"body\"}'", - "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/pulls/comments/42 \\\n  -d '{\"body\":\"body\"}'
    " + "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/pulls/comments/42 \\\n -d '{\"body\":\"body\"}'", + "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/pulls/comments/42 \\\n  -d '{\"body\":\"body\"}'
    " }, { "lang": "JavaScript", @@ -63851,7 +64132,7 @@ { "verb": "delete", "requestPath": "/repos/{owner}/{repo}/pulls/comments/{comment_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -63885,8 +64166,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/pulls/comments/42", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/pulls/comments/42
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/pulls/comments/42", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/pulls/comments/42
    " }, { "lang": "JavaScript", @@ -63921,7 +64202,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "404", @@ -63935,7 +64216,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/pulls/comments/{comment_id}/reactions", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -64009,8 +64290,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n https://api.github.com/repos/octocat/hello-world/pulls/comments/42/reactions", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n  https://api.github.com/repos/octocat/hello-world/pulls/comments/42/reactions
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/pulls/comments/42/reactions", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/pulls/comments/42/reactions
    " }, { "lang": "JavaScript", @@ -64070,7 +64351,7 @@ { "verb": "post", "requestPath": "/repos/{owner}/{repo}/pulls/comments/{comment_id}/reactions", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -64104,8 +64385,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n https://api.github.com/repos/octocat/hello-world/pulls/comments/42/reactions \\\n -d '{\"content\":\"content\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n  https://api.github.com/repos/octocat/hello-world/pulls/comments/42/reactions \\\n  -d '{\"content\":\"content\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/pulls/comments/42/reactions \\\n -d '{\"content\":\"content\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/pulls/comments/42/reactions \\\n  -d '{\"content\":\"content\"}'
    " }, { "lang": "JavaScript", @@ -64227,7 +64508,7 @@ { "verb": "delete", "requestPath": "/repos/{owner}/{repo}/pulls/comments/{comment_id}/reactions/{reaction_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -64270,8 +64551,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n https://api.github.com/repos/octocat/hello-world/pulls/comments/42/reactions/42", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n  https://api.github.com/repos/octocat/hello-world/pulls/comments/42/reactions/42
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/pulls/comments/42/reactions/42", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/pulls/comments/42/reactions/42
    " }, { "lang": "JavaScript", @@ -64311,7 +64592,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "bodyParameters": [], @@ -64320,7 +64601,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/pulls/{pull_number}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -64353,8 +64634,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/pulls/42", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/pulls/42
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/pulls/42", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/pulls/42
    " }, { "lang": "JavaScript", @@ -64412,7 +64693,7 @@ { "verb": "patch", "requestPath": "/repos/{owner}/{repo}/pulls/{pull_number}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -64445,8 +64726,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/pulls/42 \\\n -d '{\"title\":\"title\"}'", - "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/pulls/42 \\\n  -d '{\"title\":\"title\"}'
    " + "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/pulls/42 \\\n -d '{\"title\":\"title\"}'", + "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/pulls/42 \\\n  -d '{\"title\":\"title\"}'
    " }, { "lang": "JavaScript", @@ -64615,7 +64896,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/pulls/{pull_number}/comments", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -64707,8 +64988,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/pulls/42/comments", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/pulls/42/comments
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/pulls/42/comments", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/pulls/42/comments
    " }, { "lang": "JavaScript", @@ -64766,7 +65047,7 @@ { "verb": "post", "requestPath": "/repos/{owner}/{repo}/pulls/{pull_number}/comments", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -64799,8 +65080,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/pulls/42/comments \\\n -d '{\"body\":\"body\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/pulls/42/comments \\\n  -d '{\"body\":\"body\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/pulls/42/comments \\\n -d '{\"body\":\"body\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/pulls/42/comments \\\n  -d '{\"body\":\"body\"}'
    " }, { "lang": "JavaScript", @@ -65082,7 +65363,7 @@ { "verb": "post", "requestPath": "/repos/{owner}/{repo}/pulls/{pull_number}/comments/{comment_id}/replies", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -65125,8 +65406,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/pulls/42/comments/42/replies \\\n -d '{\"body\":\"body\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/pulls/42/comments/42/replies \\\n  -d '{\"body\":\"body\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/pulls/42/comments/42/replies \\\n -d '{\"body\":\"body\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/pulls/42/comments/42/replies \\\n  -d '{\"body\":\"body\"}'
    " }, { "lang": "JavaScript", @@ -65213,7 +65494,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/pulls/{pull_number}/commits", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -65266,8 +65547,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/pulls/42/commits", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/pulls/42/commits
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/pulls/42/commits", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/pulls/42/commits
    " }, { "lang": "JavaScript", @@ -65310,7 +65591,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/pulls/{pull_number}/files", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -65363,8 +65644,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/pulls/42/files", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/pulls/42/files
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/pulls/42/files", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/pulls/42/files
    " }, { "lang": "JavaScript", @@ -65417,7 +65698,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/pulls/{pull_number}/merge", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -65450,8 +65731,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/pulls/42/merge", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/pulls/42/merge
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/pulls/42/merge", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/pulls/42/merge
    " }, { "lang": "JavaScript", @@ -65498,7 +65779,7 @@ { "verb": "put", "requestPath": "/repos/{owner}/{repo}/pulls/{pull_number}/merge", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -65531,8 +65812,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/pulls/42/merge \\\n -d '{\"commit_title\":\"commit_title\"}'", - "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/pulls/42/merge \\\n  -d '{\"commit_title\":\"commit_title\"}'
    " + "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/pulls/42/merge \\\n -d '{\"commit_title\":\"commit_title\"}'", + "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/pulls/42/merge \\\n  -d '{\"commit_title\":\"commit_title\"}'
    " }, { "lang": "JavaScript", @@ -65698,7 +65979,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/pulls/{pull_number}/requested_reviewers", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -65751,8 +66032,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/pulls/42/requested_reviewers", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/pulls/42/requested_reviewers
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/pulls/42/requested_reviewers", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/pulls/42/requested_reviewers
    " }, { "lang": "JavaScript", @@ -65797,7 +66078,7 @@ { "verb": "post", "requestPath": "/repos/{owner}/{repo}/pulls/{pull_number}/requested_reviewers", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -65830,8 +66111,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/pulls/42/requested_reviewers \\\n -d '{\"reviewers\":[\"reviewers\"]}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/pulls/42/requested_reviewers \\\n  -d '{\"reviewers\":[\"reviewers\"]}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/pulls/42/requested_reviewers \\\n -d '{\"reviewers\":[\"reviewers\"]}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/pulls/42/requested_reviewers \\\n  -d '{\"reviewers\":[\"reviewers\"]}'
    " }, { "lang": "JavaScript", @@ -65969,7 +66250,7 @@ { "verb": "delete", "requestPath": "/repos/{owner}/{repo}/pulls/{pull_number}/requested_reviewers", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -66002,8 +66283,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/pulls/42/requested_reviewers \\\n -d '{\"reviewers\":[\"reviewers\"]}'", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/pulls/42/requested_reviewers \\\n  -d '{\"reviewers\":[\"reviewers\"]}'
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/pulls/42/requested_reviewers \\\n -d '{\"reviewers\":[\"reviewers\"]}'", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/pulls/42/requested_reviewers \\\n  -d '{\"reviewers\":[\"reviewers\"]}'
    " }, { "lang": "JavaScript", @@ -66125,7 +66406,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/pulls/{pull_number}/reviews", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -66178,8 +66459,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/pulls/42/reviews", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/pulls/42/reviews
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/pulls/42/reviews", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/pulls/42/reviews
    " }, { "lang": "JavaScript", @@ -66224,7 +66505,7 @@ { "verb": "post", "requestPath": "/repos/{owner}/{repo}/pulls/{pull_number}/reviews", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -66257,8 +66538,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/pulls/42/reviews \\\n -d '{\"commit_id\":\"commit_id\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/pulls/42/reviews \\\n  -d '{\"commit_id\":\"commit_id\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/pulls/42/reviews \\\n -d '{\"commit_id\":\"commit_id\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/pulls/42/reviews \\\n  -d '{\"commit_id\":\"commit_id\"}'
    " }, { "lang": "JavaScript", @@ -66706,7 +66987,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -66749,8 +67030,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/pulls/42/reviews/42", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/pulls/42/reviews/42
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/pulls/42/reviews/42", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/pulls/42/reviews/42
    " }, { "lang": "JavaScript", @@ -66800,7 +67081,7 @@ { "verb": "put", "requestPath": "/repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -66843,8 +67124,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/pulls/42/reviews/42 \\\n -d '{\"body\":\"body\"}'", - "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/pulls/42/reviews/42 \\\n  -d '{\"body\":\"body\"}'
    " + "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/pulls/42/reviews/42 \\\n -d '{\"body\":\"body\"}'", + "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/pulls/42/reviews/42 \\\n  -d '{\"body\":\"body\"}'
    " }, { "lang": "JavaScript", @@ -66930,7 +67211,7 @@ { "verb": "delete", "requestPath": "/repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -66973,8 +67254,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/pulls/42/reviews/42", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/pulls/42/reviews/42
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/pulls/42/reviews/42", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/pulls/42/reviews/42
    " }, { "lang": "JavaScript", @@ -67029,7 +67310,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}/comments", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -67092,8 +67373,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/pulls/42/reviews/42/comments", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/pulls/42/reviews/42/comments
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/pulls/42/reviews/42/comments", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/pulls/42/reviews/42/comments
    " }, { "lang": "JavaScript", @@ -67143,7 +67424,7 @@ { "verb": "put", "requestPath": "/repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}/dismissals", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -67186,8 +67467,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/pulls/42/reviews/42/dismissals \\\n -d '{\"message\":\"message\"}'", - "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/pulls/42/reviews/42/dismissals \\\n  -d '{\"message\":\"message\"}'
    " + "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/pulls/42/reviews/42/dismissals \\\n -d '{\"message\":\"message\"}'", + "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/pulls/42/reviews/42/dismissals \\\n  -d '{\"message\":\"message\"}'
    " }, { "lang": "JavaScript", @@ -67293,7 +67574,7 @@ { "verb": "post", "requestPath": "/repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}/events", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -67336,8 +67617,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/pulls/42/reviews/42/events \\\n -d '{\"event\":\"event\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/pulls/42/reviews/42/events \\\n  -d '{\"event\":\"event\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/pulls/42/reviews/42/events \\\n -d '{\"event\":\"event\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/pulls/42/reviews/42/events \\\n  -d '{\"event\":\"event\"}'
    " }, { "lang": "JavaScript", @@ -67458,7 +67739,7 @@ { "verb": "put", "requestPath": "/repos/{owner}/{repo}/pulls/{pull_number}/update-branch", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -67491,8 +67772,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.lydian-preview+json\" \\\n https://api.github.com/repos/octocat/hello-world/pulls/42/update-branch \\\n -d '{\"expected_head_sha\":\"expected_head_sha\"}'", - "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.lydian-preview+json\" \\\n  https://api.github.com/repos/octocat/hello-world/pulls/42/update-branch \\\n  -d '{\"expected_head_sha\":\"expected_head_sha\"}'
    " + "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.lydian-preview+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/pulls/42/update-branch \\\n -d '{\"expected_head_sha\":\"expected_head_sha\"}'", + "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.lydian-preview+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/pulls/42/update-branch \\\n  -d '{\"expected_head_sha\":\"expected_head_sha\"}'
    " }, { "lang": "JavaScript", @@ -67591,7 +67872,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/readme", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -67625,8 +67906,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/readme", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/readme
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/readme", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/readme
    " }, { "lang": "JavaScript", @@ -67678,10 +67959,111 @@ } ] }, + { + "verb": "get", + "requestPath": "/repos/{owner}/{repo}/readme/{dir}", + "serverUrl": "http(s)://{hostname}/api/v3", + "parameters": [ + { + "name": "owner", + "in": "path", + "required": true, + "schema": { + "type": "string" + }, + "descriptionHTML": "" + }, + { + "name": "repo", + "in": "path", + "required": true, + "schema": { + "type": "string" + }, + "descriptionHTML": "" + }, + { + "name": "dir", + "description": "The alternate path to look for a README file", + "in": "path", + "required": true, + "schema": { + "type": "string" + }, + "x-multi-segment": true, + "descriptionHTML": "

    The alternate path to look for a README file

    " + }, + { + "name": "ref", + "description": "The name of the commit/branch/tag. Default: the repository’s default branch (usually `master`)", + "in": "query", + "required": false, + "schema": { + "type": "string" + }, + "descriptionHTML": "

    The name of the commit/branch/tag. Default: the repository’s default branch (usually master)

    " + } + ], + "x-codeSamples": [ + { + "lang": "Shell", + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/readme/DIR", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/readme/DIR
    " + }, + { + "lang": "JavaScript", + "source": "await octokit.request('GET /repos/{owner}/{repo}/readme/{dir}', {\n owner: 'octocat',\n repo: 'hello-world',\n dir: 'dir'\n})", + "html": "
    await octokit.request('GET /repos/{owner}/{repo}/readme/{dir}', {\n  owner: 'octocat',\n  repo: 'hello-world',\n  dir: 'dir'\n})\n
    " + } + ], + "summary": "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.", + "tags": [ + "repos" + ], + "operationId": "repos/get-readme-in-directory", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-server@3.0/rest/reference/repos#get-a-repository-directory-readme" + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "previews": [], + "category": "repos", + "subcategory": "contents" + }, + "slug": "get-a-repository-readme-for-a-directory", + "category": "repos", + "categoryLabel": "Repos", + "subcategory": "contents", + "subcategoryLabel": "Contents", + "notes": [], + "bodyParameters": [], + "descriptionHTML": "

    Gets the README from a repository directory.

    \n

    READMEs support custom media types for retrieving the raw content or rendered HTML.

    ", + "responses": [ + { + "httpStatusCode": "200", + "httpStatusMessage": "OK", + "description": "Default response", + "payload": "
    {\n  \"type\": \"file\",\n  \"encoding\": \"base64\",\n  \"size\": 5362,\n  \"name\": \"README.md\",\n  \"path\": \"README.md\",\n  \"content\": \"encoded content ...\",\n  \"sha\": \"3d21ec53a331a6f037a91c368710b99387d012c1\",\n  \"url\": \"https://api.github.com/repos/octokit/octokit.rb/contents/README.md\",\n  \"git_url\": \"https://api.github.com/repos/octokit/octokit.rb/git/blobs/3d21ec53a331a6f037a91c368710b99387d012c1\",\n  \"html_url\": \"https://github.com/octokit/octokit.rb/blob/master/README.md\",\n  \"download_url\": \"https://raw.githubusercontent.com/octokit/octokit.rb/master/README.md\",\n  \"_links\": {\n    \"git\": \"https://api.github.com/repos/octokit/octokit.rb/git/blobs/3d21ec53a331a6f037a91c368710b99387d012c1\",\n    \"self\": \"https://api.github.com/repos/octokit/octokit.rb/contents/README.md\",\n    \"html\": \"https://github.com/octokit/octokit.rb/blob/master/README.md\"\n  }\n}\n
    " + }, + { + "httpStatusCode": "404", + "httpStatusMessage": "Not Found", + "description": "Resource not found" + }, + { + "httpStatusCode": "422", + "httpStatusMessage": "Unprocessable Entity", + "description": "Validation failed" + } + ] + }, { "verb": "get", "requestPath": "/repos/{owner}/{repo}/releases", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -67725,8 +68107,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/releases", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/releases
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/releases", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/releases
    " }, { "lang": "JavaScript", @@ -67776,7 +68158,7 @@ { "verb": "post", "requestPath": "/repos/{owner}/{repo}/releases", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -67800,8 +68182,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/releases \\\n -d '{\"tag_name\":\"tag_name\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/releases \\\n  -d '{\"tag_name\":\"tag_name\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/releases \\\n -d '{\"tag_name\":\"tag_name\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/releases \\\n  -d '{\"tag_name\":\"tag_name\"}'
    " }, { "lang": "JavaScript", @@ -67987,7 +68369,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/releases/assets/{asset_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -68021,8 +68403,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/releases/assets/42", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/releases/assets/42
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/releases/assets/42", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/releases/assets/42
    " }, { "lang": "JavaScript", @@ -68082,7 +68464,7 @@ { "verb": "patch", "requestPath": "/repos/{owner}/{repo}/releases/assets/{asset_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -68116,8 +68498,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/releases/assets/42 \\\n -d '{\"name\":\"name\"}'", - "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/releases/assets/42 \\\n  -d '{\"name\":\"name\"}'
    " + "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/releases/assets/42 \\\n -d '{\"name\":\"name\"}'", + "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/releases/assets/42 \\\n  -d '{\"name\":\"name\"}'
    " }, { "lang": "JavaScript", @@ -68232,7 +68614,7 @@ { "verb": "delete", "requestPath": "/repos/{owner}/{repo}/releases/assets/{asset_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -68266,8 +68648,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/releases/assets/42", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/releases/assets/42
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/releases/assets/42", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/releases/assets/42
    " }, { "lang": "JavaScript", @@ -68302,7 +68684,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "bodyParameters": [], @@ -68311,7 +68693,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/releases/latest", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -68335,8 +68717,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/releases/latest", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/releases/latest
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/releases/latest", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/releases/latest
    " }, { "lang": "JavaScript", @@ -68381,7 +68763,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/releases/tags/{tag}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -68403,21 +68785,21 @@ }, { "name": "tag", - "description": "tag+ parameter", + "description": "tag parameter", "in": "path", "required": true, "schema": { "type": "string" }, "x-multi-segment": true, - "descriptionHTML": "

    tag+ parameter

    " + "descriptionHTML": "

    tag parameter

    " } ], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/releases/tags/TAG", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/releases/tags/TAG
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/releases/tags/TAG", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/releases/tags/TAG
    " }, { "lang": "JavaScript", @@ -68467,7 +68849,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/releases/{release_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -68501,8 +68883,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/releases/42", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/releases/42
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/releases/42", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/releases/42
    " }, { "lang": "JavaScript", @@ -68552,7 +68934,7 @@ { "verb": "patch", "requestPath": "/repos/{owner}/{repo}/releases/{release_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -68586,8 +68968,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/releases/42 \\\n -d '{\"tag_name\":\"tag_name\"}'", - "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/releases/42 \\\n  -d '{\"tag_name\":\"tag_name\"}'
    " + "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/releases/42 \\\n -d '{\"tag_name\":\"tag_name\"}'", + "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/releases/42 \\\n  -d '{\"tag_name\":\"tag_name\"}'
    " }, { "lang": "JavaScript", @@ -68760,7 +69142,7 @@ { "verb": "delete", "requestPath": "/repos/{owner}/{repo}/releases/{release_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -68794,8 +69176,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/releases/42", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/releases/42
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/releases/42", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/releases/42
    " }, { "lang": "JavaScript", @@ -68830,7 +69212,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "bodyParameters": [], @@ -68839,7 +69221,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/releases/{release_id}/assets", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -68893,8 +69275,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/releases/42/assets", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/releases/42/assets
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/releases/42/assets", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/releases/42/assets
    " }, { "lang": "JavaScript", @@ -68939,7 +69321,7 @@ { "verb": "post", "requestPath": "/repos/{owner}/{repo}/releases/{release_id}/assets", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -68989,8 +69371,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/releases/42/assets", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/releases/42/assets
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/releases/42/assets", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/releases/42/assets
    " }, { "lang": "JavaScript", @@ -69056,7 +69438,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/stargazers", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -69100,8 +69482,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/stargazers", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/stargazers
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/stargazers", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/stargazers
    " }, { "lang": "JavaScript", @@ -69151,7 +69533,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/stats/code_frequency", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -69175,8 +69557,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/stats/code_frequency", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/stats/code_frequency
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/stats/code_frequency", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/stats/code_frequency
    " }, { "lang": "JavaScript", @@ -69221,7 +69603,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/stats/commit_activity", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -69245,8 +69627,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/stats/commit_activity", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/stats/commit_activity
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/stats/commit_activity", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/stats/commit_activity
    " }, { "lang": "JavaScript", @@ -69291,7 +69673,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/stats/contributors", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -69315,8 +69697,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/stats/contributors", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/stats/contributors
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/stats/contributors", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/stats/contributors
    " }, { "lang": "JavaScript", @@ -69361,7 +69743,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/stats/participation", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -69385,8 +69767,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/stats/participation", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/stats/participation
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/stats/participation", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/stats/participation
    " }, { "lang": "JavaScript", @@ -69436,7 +69818,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/stats/punch_card", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -69460,8 +69842,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/stats/punch_card", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/stats/punch_card
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/stats/punch_card", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/stats/punch_card
    " }, { "lang": "JavaScript", @@ -69506,7 +69888,7 @@ { "verb": "post", "requestPath": "/repos/{owner}/{repo}/statuses/{sha}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -69540,8 +69922,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/statuses/SHA \\\n -d '{\"state\":\"state\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/statuses/SHA \\\n  -d '{\"state\":\"state\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/statuses/SHA \\\n -d '{\"state\":\"state\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/statuses/SHA \\\n  -d '{\"state\":\"state\"}'
    " }, { "lang": "JavaScript", @@ -69693,7 +70075,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/subscribers", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -69737,8 +70119,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/subscribers", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/subscribers
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/subscribers", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/subscribers
    " }, { "lang": "JavaScript", @@ -69783,7 +70165,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/subscription", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -69807,8 +70189,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/subscription", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/subscription
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/subscription", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/subscription
    " }, { "lang": "JavaScript", @@ -69863,7 +70245,7 @@ { "verb": "put", "requestPath": "/repos/{owner}/{repo}/subscription", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -69887,8 +70269,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/subscription \\\n -d '{\"subscribed\":true}'", - "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/subscription \\\n  -d '{\"subscribed\":true}'
    " + "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/subscription \\\n -d '{\"subscribed\":true}'", + "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/subscription \\\n  -d '{\"subscribed\":true}'
    " }, { "lang": "JavaScript", @@ -69981,7 +70363,7 @@ { "verb": "delete", "requestPath": "/repos/{owner}/{repo}/subscription", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -70005,8 +70387,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/subscription", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/subscription
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/subscription", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/subscription
    " }, { "lang": "JavaScript", @@ -70041,7 +70423,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "bodyParameters": [], @@ -70050,7 +70432,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/tags", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -70094,8 +70476,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/tags", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/tags
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/tags", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/tags
    " }, { "lang": "JavaScript", @@ -70138,7 +70520,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/tarball/{ref}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -70171,8 +70553,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/tarball/REF", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/tarball/REF
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/tarball/REF", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/tarball/REF
    " }, { "lang": "JavaScript", @@ -70216,7 +70598,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/teams", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -70260,8 +70642,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/teams", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/teams
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/teams", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/teams
    " }, { "lang": "JavaScript", @@ -70304,7 +70686,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/topics", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -70323,13 +70705,33 @@ "type": "string" }, "descriptionHTML": "" + }, + { + "name": "page", + "description": "Page number of the results to fetch.", + "in": "query", + "schema": { + "type": "integer", + "default": 1 + }, + "descriptionHTML": "

    Page number of the results to fetch.

    " + }, + { + "name": "per_page", + "description": "Results per page (max 100).", + "in": "query", + "schema": { + "type": "integer", + "default": 30 + }, + "descriptionHTML": "

    Results per page (max 100).

    " } ], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.mercy-preview+json\" \\\n https://api.github.com/repos/octocat/hello-world/topics", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.mercy-preview+json\" \\\n  https://api.github.com/repos/octocat/hello-world/topics
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.mercy-preview+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/topics", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.mercy-preview+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/topics
    " }, { "lang": "JavaScript", @@ -70389,7 +70791,7 @@ { "verb": "put", "requestPath": "/repos/{owner}/{repo}/topics", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -70413,8 +70815,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.mercy-preview+json\" \\\n https://api.github.com/repos/octocat/hello-world/topics \\\n -d '{\"names\":[\"names\"]}'", - "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.mercy-preview+json\" \\\n  https://api.github.com/repos/octocat/hello-world/topics \\\n  -d '{\"names\":[\"names\"]}'
    " + "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.mercy-preview+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/topics \\\n -d '{\"names\":[\"names\"]}'", + "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.mercy-preview+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/topics \\\n  -d '{\"names\":[\"names\"]}'
    " }, { "lang": "JavaScript", @@ -70526,7 +70928,7 @@ { "verb": "post", "requestPath": "/repos/{owner}/{repo}/transfer", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -70550,8 +70952,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/transfer \\\n -d '{\"new_owner\":\"new_owner\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/transfer \\\n  -d '{\"new_owner\":\"new_owner\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/transfer \\\n -d '{\"new_owner\":\"new_owner\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/transfer \\\n  -d '{\"new_owner\":\"new_owner\"}'
    " }, { "lang": "JavaScript", @@ -70658,7 +71060,7 @@ { "verb": "put", "requestPath": "/repos/{owner}/{repo}/vulnerability-alerts", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -70682,8 +71084,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.dorian-preview+json\" \\\n https://api.github.com/repos/octocat/hello-world/vulnerability-alerts", - "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.dorian-preview+json\" \\\n  https://api.github.com/repos/octocat/hello-world/vulnerability-alerts
    " + "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.dorian-preview+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/vulnerability-alerts", + "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.dorian-preview+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/vulnerability-alerts
    " }, { "lang": "JavaScript", @@ -70723,7 +71125,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "bodyParameters": [], @@ -70732,7 +71134,7 @@ { "verb": "delete", "requestPath": "/repos/{owner}/{repo}/vulnerability-alerts", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -70756,8 +71158,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.dorian-preview+json\" \\\n https://api.github.com/repos/octocat/hello-world/vulnerability-alerts", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.dorian-preview+json\" \\\n  https://api.github.com/repos/octocat/hello-world/vulnerability-alerts
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.dorian-preview+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/vulnerability-alerts", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.dorian-preview+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/vulnerability-alerts
    " }, { "lang": "JavaScript", @@ -70797,7 +71199,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "bodyParameters": [], @@ -70806,7 +71208,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/zipball/{ref}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -70839,8 +71241,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/zipball/REF", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/zipball/REF
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/zipball/REF", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/zipball/REF
    " }, { "lang": "JavaScript", @@ -70884,7 +71286,7 @@ { "verb": "post", "requestPath": "/repos/{template_owner}/{template_repo}/generate", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "template_owner", @@ -70908,8 +71310,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.baptiste-preview+json\" \\\n https://api.github.com/repos/TEMPLATE_OWNER/TEMPLATE_REPO/generate \\\n -d '{\"name\":\"name\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.baptiste-preview+json\" \\\n  https://api.github.com/repos/TEMPLATE_OWNER/TEMPLATE_REPO/generate \\\n  -d '{\"name\":\"name\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.baptiste-preview+json\" \\\n http(s)://{hostname}/api/v3/repos/TEMPLATE_OWNER/TEMPLATE_REPO/generate \\\n -d '{\"name\":\"name\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.baptiste-preview+json\" \\\n  http(s)://{hostname}/api/v3/repos/TEMPLATE_OWNER/TEMPLATE_REPO/generate \\\n  -d '{\"name\":\"name\"}'
    " }, { "lang": "JavaScript", @@ -70918,7 +71320,7 @@ } ], "summary": "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", + "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", "tags": [ "repos" ], @@ -71013,7 +71415,7 @@ "category": "repos", "categoryLabel": "Repos", "notes": [], - "descriptionHTML": "

    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 endpoint and check that the is_template key is true.

    \n

    OAuth scope requirements

    \n

    When using OAuth, 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
    ", + "descriptionHTML": "

    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 endpoint and check that the is_template key is true.

    \n

    OAuth scope requirements

    \n

    When using OAuth, 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
    ", "bodyParameters": [ { "type": "string", @@ -71075,7 +71477,7 @@ { "verb": "get", "requestPath": "/repositories", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "since", @@ -71089,7 +71491,7 @@ }, { "name": "visibility", - "description": "Specifies the types of repositories to return. Can be one of `all` or `public`. Default: `public`.", + "description": "Specifies the types of repositories to return. Can be one of `all` or `public`. Default: `public`. Note: For GitHub Enterprise Server and GitHub AE, this endpoint will only list repositories available to all users on the enterprise.", "in": "query", "required": false, "schema": { @@ -71101,14 +71503,14 @@ "public" ] }, - "descriptionHTML": "

    Specifies the types of repositories to return. Can be one of all or public. Default: public.

    " + "descriptionHTML": "

    Specifies the types of repositories to return. Can be one of all or public. Default: public. Note: For GitHub Enterprise Server and GitHub AE, this endpoint will only list repositories available to all users on the enterprise.

    " } ], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repositories", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repositories
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repositories", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repositories
    " }, { "lang": "JavaScript", @@ -71117,7 +71519,7 @@ } ], "summary": "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.", + "description": "Lists all public repositories in the order that they were created.\n\nNotes:\n- For GitHub Enterprise Server and GitHub AE, 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.", "tags": [ "repos" ], @@ -71138,7 +71540,7 @@ "categoryLabel": "Repos", "notes": [], "bodyParameters": [], - "descriptionHTML": "

    Lists all public repositories in the order that they were created.

    \n

    Note: Pagination is powered exclusively by the since parameter. Use the Link header to get the URL for the next page of repositories.

    ", + "descriptionHTML": "

    Lists all public repositories in the order that they were created.

    \n

    Notes:

    \n
      \n
    • For GitHub Enterprise Server and GitHub AE, 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 to get the URL for the next page of repositories.
    • \n
    ", "responses": [ { "httpStatusCode": "200", @@ -71161,7 +71563,7 @@ { "verb": "get", "requestPath": "/search/code", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "q", @@ -71225,8 +71627,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/search/code", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/search/code
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/search/code", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/search/code
    " }, { "lang": "JavaScript", @@ -71289,7 +71691,7 @@ { "verb": "get", "requestPath": "/search/commits", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "q", @@ -71354,8 +71756,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.cloak-preview+json\" \\\n https://api.github.com/search/commits", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.cloak-preview+json\" \\\n  https://api.github.com/search/commits
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.cloak-preview+json\" \\\n http(s)://{hostname}/api/v3/search/commits", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.cloak-preview+json\" \\\n  http(s)://{hostname}/api/v3/search/commits
    " }, { "lang": "JavaScript", @@ -71415,7 +71817,7 @@ { "verb": "get", "requestPath": "/search/issues", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "q", @@ -71489,8 +71891,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/search/issues", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/search/issues
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/search/issues", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/search/issues
    " }, { "lang": "JavaScript", @@ -71553,7 +71955,7 @@ { "verb": "get", "requestPath": "/search/labels", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "repository_id", @@ -71608,8 +72010,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/search/labels", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/search/labels
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/search/labels", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/search/labels
    " }, { "lang": "JavaScript", @@ -71672,7 +72074,7 @@ { "verb": "get", "requestPath": "/search/repositories", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "q", @@ -71739,8 +72141,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/search/repositories", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/search/repositories
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/search/repositories", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/search/repositories
    " }, { "lang": "JavaScript", @@ -71805,7 +72207,7 @@ { "verb": "get", "requestPath": "/search/topics", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "q", @@ -71821,8 +72223,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.mercy-preview+json\" \\\n https://api.github.com/search/topics", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.mercy-preview+json\" \\\n  https://api.github.com/search/topics
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.mercy-preview+json\" \\\n http(s)://{hostname}/api/v3/search/topics", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.mercy-preview+json\" \\\n  http(s)://{hostname}/api/v3/search/topics
    " }, { "lang": "JavaScript", @@ -71882,7 +72284,7 @@ { "verb": "get", "requestPath": "/search/users", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "q", @@ -71948,8 +72350,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/search/users", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/search/users
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/search/users", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/search/users
    " }, { "lang": "JavaScript", @@ -72007,13 +72409,13 @@ { "verb": "get", "requestPath": "/setup/api/configcheck", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/setup/api/configcheck", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/setup/api/configcheck
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/setup/api/configcheck", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/setup/api/configcheck
    " }, { "lang": "JavaScript", @@ -72058,13 +72460,13 @@ { "verb": "post", "requestPath": "/setup/api/configure", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/setup/api/configure", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/setup/api/configure
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/setup/api/configure", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/setup/api/configure
    " }, { "lang": "JavaScript", @@ -72108,13 +72510,13 @@ { "verb": "get", "requestPath": "/setup/api/maintenance", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/setup/api/maintenance", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/setup/api/maintenance
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/setup/api/maintenance", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/setup/api/maintenance
    " }, { "lang": "JavaScript", @@ -72159,13 +72561,13 @@ { "verb": "post", "requestPath": "/setup/api/maintenance", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/setup/api/maintenance \\\n -d '{\"maintenance\":\"maintenance\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/setup/api/maintenance \\\n  -d '{\"maintenance\":\"maintenance\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/setup/api/maintenance \\\n -d '{\"maintenance\":\"maintenance\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/setup/api/maintenance \\\n  -d '{\"maintenance\":\"maintenance\"}'
    " }, { "lang": "JavaScript", @@ -72243,13 +72645,13 @@ { "verb": "get", "requestPath": "/setup/api/settings", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/setup/api/settings", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/setup/api/settings
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/setup/api/settings", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/setup/api/settings
    " }, { "lang": "JavaScript", @@ -72294,13 +72696,13 @@ { "verb": "put", "requestPath": "/setup/api/settings", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/setup/api/settings \\\n -d '{\"settings\":\"settings\"}'", - "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/setup/api/settings \\\n  -d '{\"settings\":\"settings\"}'
    " + "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/setup/api/settings \\\n -d '{\"settings\":\"settings\"}'", + "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/setup/api/settings \\\n  -d '{\"settings\":\"settings\"}'
    " }, { "lang": "JavaScript", @@ -72358,7 +72760,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "descriptionHTML": "

    For a list of the available settings, see the Get settings endpoint.

    ", @@ -72377,13 +72779,13 @@ { "verb": "get", "requestPath": "/setup/api/settings/authorized-keys", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/setup/api/settings/authorized-keys", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/setup/api/settings/authorized-keys
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/setup/api/settings/authorized-keys", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/setup/api/settings/authorized-keys
    " }, { "lang": "JavaScript", @@ -72428,13 +72830,13 @@ { "verb": "post", "requestPath": "/setup/api/settings/authorized-keys", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/setup/api/settings/authorized-keys \\\n -d '{\"authorized_key\":\"authorized_key\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/setup/api/settings/authorized-keys \\\n  -d '{\"authorized_key\":\"authorized_key\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/setup/api/settings/authorized-keys \\\n -d '{\"authorized_key\":\"authorized_key\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/setup/api/settings/authorized-keys \\\n  -d '{\"authorized_key\":\"authorized_key\"}'
    " }, { "lang": "JavaScript", @@ -72512,13 +72914,13 @@ { "verb": "delete", "requestPath": "/setup/api/settings/authorized-keys", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/setup/api/settings/authorized-keys \\\n -d '{\"authorized_key\":\"authorized_key\"}'", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/setup/api/settings/authorized-keys \\\n  -d '{\"authorized_key\":\"authorized_key\"}'
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/setup/api/settings/authorized-keys \\\n -d '{\"authorized_key\":\"authorized_key\"}'", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/setup/api/settings/authorized-keys \\\n  -d '{\"authorized_key\":\"authorized_key\"}'
    " }, { "lang": "JavaScript", @@ -72596,13 +72998,13 @@ { "verb": "post", "requestPath": "/setup/api/start", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/setup/api/start \\\n -d '{\"license\":\"license\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/setup/api/start \\\n  -d '{\"license\":\"license\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/setup/api/start \\\n -d '{\"license\":\"license\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/setup/api/start \\\n  -d '{\"license\":\"license\"}'
    " }, { "lang": "JavaScript", @@ -72715,13 +73117,13 @@ { "verb": "post", "requestPath": "/setup/api/upgrade", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/setup/api/upgrade \\\n -d '{\"license\":\"license\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/setup/api/upgrade \\\n  -d '{\"license\":\"license\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/setup/api/upgrade \\\n -d '{\"license\":\"license\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/setup/api/upgrade \\\n  -d '{\"license\":\"license\"}'
    " }, { "lang": "JavaScript", @@ -72795,7 +73197,7 @@ { "verb": "get", "requestPath": "/teams/{team_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "team_id", @@ -72810,8 +73212,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/teams/42", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/teams/42
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/teams/42", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/teams/42
    " }, { "lang": "JavaScript", @@ -72862,7 +73264,7 @@ { "verb": "patch", "requestPath": "/teams/{team_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "team_id", @@ -72877,8 +73279,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/teams/42 \\\n -d '{\"name\":\"name\"}'", - "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/teams/42 \\\n  -d '{\"name\":\"name\"}'
    " + "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/teams/42 \\\n -d '{\"name\":\"name\"}'", + "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/teams/42 \\\n  -d '{\"name\":\"name\"}'
    " }, { "lang": "JavaScript", @@ -73071,7 +73473,7 @@ { "verb": "delete", "requestPath": "/teams/{team_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "team_id", @@ -73086,8 +73488,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/teams/42", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/teams/42
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/teams/42", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/teams/42
    " }, { "lang": "JavaScript", @@ -73123,7 +73525,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "404", @@ -73142,7 +73544,7 @@ { "verb": "get", "requestPath": "/teams/{team_id}/discussions", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "team_id", @@ -73192,8 +73594,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/teams/42/discussions", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/teams/42/discussions
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/teams/42/discussions", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/teams/42/discussions
    " }, { "lang": "JavaScript", @@ -73248,7 +73650,7 @@ { "verb": "post", "requestPath": "/teams/{team_id}/discussions", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "team_id", @@ -73263,8 +73665,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/teams/42/discussions \\\n -d '{\"title\":\"title\",\"body\":\"body\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/teams/42/discussions \\\n  -d '{\"title\":\"title\",\"body\":\"body\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/teams/42/discussions \\\n -d '{\"title\":\"title\",\"body\":\"body\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/teams/42/discussions \\\n  -d '{\"title\":\"title\",\"body\":\"body\"}'
    " }, { "lang": "JavaScript", @@ -73396,7 +73798,7 @@ { "verb": "get", "requestPath": "/teams/{team_id}/discussions/{discussion_number}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "team_id", @@ -73420,8 +73822,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/teams/42/discussions/42", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/teams/42/discussions/42
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/teams/42/discussions/42", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/teams/42/discussions/42
    " }, { "lang": "JavaScript", @@ -73476,7 +73878,7 @@ { "verb": "patch", "requestPath": "/teams/{team_id}/discussions/{discussion_number}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "team_id", @@ -73500,8 +73902,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/teams/42/discussions/42 \\\n -d '{\"title\":\"title\"}'", - "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/teams/42/discussions/42 \\\n  -d '{\"title\":\"title\"}'
    " + "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/teams/42/discussions/42 \\\n -d '{\"title\":\"title\"}'", + "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/teams/42/discussions/42 \\\n  -d '{\"title\":\"title\"}'
    " }, { "lang": "JavaScript", @@ -73607,7 +74009,7 @@ { "verb": "delete", "requestPath": "/teams/{team_id}/discussions/{discussion_number}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "team_id", @@ -73631,8 +74033,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/teams/42/discussions/42", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/teams/42/discussions/42
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/teams/42/discussions/42", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/teams/42/discussions/42
    " }, { "lang": "JavaScript", @@ -73670,7 +74072,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "bodyParameters": [], @@ -73679,7 +74081,7 @@ { "verb": "get", "requestPath": "/teams/{team_id}/discussions/{discussion_number}/comments", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "team_id", @@ -73738,8 +74140,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/teams/42/discussions/42/comments", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/teams/42/discussions/42/comments
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/teams/42/discussions/42/comments", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/teams/42/discussions/42/comments
    " }, { "lang": "JavaScript", @@ -73794,7 +74196,7 @@ { "verb": "post", "requestPath": "/teams/{team_id}/discussions/{discussion_number}/comments", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "team_id", @@ -73818,8 +74220,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/teams/42/discussions/42/comments \\\n -d '{\"body\":\"body\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/teams/42/discussions/42/comments \\\n  -d '{\"body\":\"body\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/teams/42/discussions/42/comments \\\n -d '{\"body\":\"body\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/teams/42/discussions/42/comments \\\n  -d '{\"body\":\"body\"}'
    " }, { "lang": "JavaScript", @@ -73911,7 +74313,7 @@ { "verb": "get", "requestPath": "/teams/{team_id}/discussions/{discussion_number}/comments/{comment_number}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "team_id", @@ -73944,8 +74346,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/teams/42/discussions/42/comments/42", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/teams/42/discussions/42/comments/42
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/teams/42/discussions/42/comments/42", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/teams/42/discussions/42/comments/42
    " }, { "lang": "JavaScript", @@ -74000,7 +74402,7 @@ { "verb": "patch", "requestPath": "/teams/{team_id}/discussions/{discussion_number}/comments/{comment_number}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "team_id", @@ -74033,8 +74435,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/teams/42/discussions/42/comments/42 \\\n -d '{\"body\":\"body\"}'", - "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/teams/42/discussions/42/comments/42 \\\n  -d '{\"body\":\"body\"}'
    " + "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/teams/42/discussions/42/comments/42 \\\n -d '{\"body\":\"body\"}'", + "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/teams/42/discussions/42/comments/42 \\\n  -d '{\"body\":\"body\"}'
    " }, { "lang": "JavaScript", @@ -74125,7 +74527,7 @@ { "verb": "delete", "requestPath": "/teams/{team_id}/discussions/{discussion_number}/comments/{comment_number}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "team_id", @@ -74158,8 +74560,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/teams/42/discussions/42/comments/42", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/teams/42/discussions/42/comments/42
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/teams/42/discussions/42/comments/42", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/teams/42/discussions/42/comments/42
    " }, { "lang": "JavaScript", @@ -74197,7 +74599,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "bodyParameters": [], @@ -74206,7 +74608,7 @@ { "verb": "get", "requestPath": "/teams/{team_id}/discussions/{discussion_number}/comments/{comment_number}/reactions", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "team_id", @@ -74279,8 +74681,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n https://api.github.com/teams/42/discussions/42/comments/42/reactions", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n  https://api.github.com/teams/42/discussions/42/comments/42/reactions
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n http(s)://{hostname}/api/v3/teams/42/discussions/42/comments/42/reactions", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n  http(s)://{hostname}/api/v3/teams/42/discussions/42/comments/42/reactions
    " }, { "lang": "JavaScript", @@ -74333,7 +74735,7 @@ { "verb": "post", "requestPath": "/teams/{team_id}/discussions/{discussion_number}/comments/{comment_number}/reactions", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "team_id", @@ -74366,8 +74768,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n https://api.github.com/teams/42/discussions/42/comments/42/reactions \\\n -d '{\"content\":\"content\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n  https://api.github.com/teams/42/discussions/42/comments/42/reactions \\\n  -d '{\"content\":\"content\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n http(s)://{hostname}/api/v3/teams/42/discussions/42/comments/42/reactions \\\n -d '{\"content\":\"content\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n  http(s)://{hostname}/api/v3/teams/42/discussions/42/comments/42/reactions \\\n  -d '{\"content\":\"content\"}'
    " }, { "lang": "JavaScript", @@ -74476,7 +74878,7 @@ { "verb": "get", "requestPath": "/teams/{team_id}/discussions/{discussion_number}/reactions", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "team_id", @@ -74540,8 +74942,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n https://api.github.com/teams/42/discussions/42/reactions", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n  https://api.github.com/teams/42/discussions/42/reactions
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n http(s)://{hostname}/api/v3/teams/42/discussions/42/reactions", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n  http(s)://{hostname}/api/v3/teams/42/discussions/42/reactions
    " }, { "lang": "JavaScript", @@ -74594,7 +74996,7 @@ { "verb": "post", "requestPath": "/teams/{team_id}/discussions/{discussion_number}/reactions", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "team_id", @@ -74618,8 +75020,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n https://api.github.com/teams/42/discussions/42/reactions \\\n -d '{\"content\":\"content\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n  https://api.github.com/teams/42/discussions/42/reactions \\\n  -d '{\"content\":\"content\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n http(s)://{hostname}/api/v3/teams/42/discussions/42/reactions \\\n -d '{\"content\":\"content\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n  http(s)://{hostname}/api/v3/teams/42/discussions/42/reactions \\\n  -d '{\"content\":\"content\"}'
    " }, { "lang": "JavaScript", @@ -74728,7 +75130,7 @@ { "verb": "get", "requestPath": "/teams/{team_id}/members", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "team_id", @@ -74779,8 +75181,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/teams/42/members", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/teams/42/members
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/teams/42/members", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/teams/42/members
    " }, { "lang": "JavaScript", @@ -74833,7 +75235,7 @@ { "verb": "get", "requestPath": "/teams/{team_id}/members/{username}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "team_id", @@ -74857,8 +75259,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/teams/42/members/USERNAME", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/teams/42/members/USERNAME
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/teams/42/members/USERNAME", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/teams/42/members/USERNAME
    " }, { "lang": "JavaScript", @@ -74910,7 +75312,7 @@ { "verb": "put", "requestPath": "/teams/{team_id}/members/{username}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "team_id", @@ -74934,8 +75336,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/teams/42/members/USERNAME", - "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/teams/42/members/USERNAME
    " + "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/teams/42/members/USERNAME", + "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/teams/42/members/USERNAME
    " }, { "lang": "JavaScript", @@ -74969,13 +75371,11 @@ "subcategory": "members", "subcategoryLabel": "Members", "notes": [], - "bodyParameters": [], - "descriptionHTML": "

    The \"Add team member\" endpoint (described below) is deprecated.

    \n

    We recommend using the Add or update team membership for a user endpoint instead. It allows you to invite new organization members to your teams.

    \n

    Team synchronization is available for organizations using GitHub Enterprise Cloud. For more information, see GitHub's products in the GitHub Help documentation.

    \n

    To 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

    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.\"

    \n

    Note that you'll need to set Content-Length to zero when calling out to this endpoint. For more information, see \"HTTP verbs.\"

    ", "responses": [ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "403", @@ -74990,21 +75390,16 @@ { "httpStatusCode": "422", "httpStatusMessage": "Unprocessable Entity", - "description": "Response if you attempt to add an organization to a team", - "payload": "
    {\n  \"message\": \"Cannot add an organization as a member.\",\n  \"errors\": [\n    {\n      \"code\": \"org\",\n      \"field\": \"user\",\n      \"resource\": \"TeamMember\"\n    }\n  ]\n}\n
    " - }, - { - "httpStatusCode": "422", - "httpStatusMessage": "Unprocessable Entity", - "description": "Response if you attempt to add a user to a team when they are not a member of at least one other team in the same organization", - "payload": "
    {\n  \"message\": \"User isn't a member of this organization. Please invite them first.\",\n  \"errors\": [\n    {\n      \"code\": \"unaffiliated\",\n      \"field\": \"user\",\n      \"resource\": \"TeamMember\"\n    }\n  ]\n}\n
    " + "description": "Response if you attempt to add an organization to a team or you attempt to add a user to a team when they are not a member of at least one other team in the same organization" } - ] + ], + "bodyParameters": [], + "descriptionHTML": "

    The \"Add team member\" endpoint (described below) is deprecated.

    \n

    We recommend using the Add or update team membership for a user endpoint instead. It allows you to invite new organization members to your teams.

    \n

    Team synchronization is available for organizations using GitHub Enterprise Cloud. For more information, see GitHub's products in the GitHub Help documentation.

    \n

    To 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

    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.\"

    \n

    Note that you'll need to set Content-Length to zero when calling out to this endpoint. For more information, see \"HTTP verbs.\"

    " }, { "verb": "delete", "requestPath": "/teams/{team_id}/members/{username}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "team_id", @@ -75028,8 +75423,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/teams/42/members/USERNAME", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/teams/42/members/USERNAME
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/teams/42/members/USERNAME", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/teams/42/members/USERNAME
    " }, { "lang": "JavaScript", @@ -75067,7 +75462,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "404", @@ -75081,7 +75476,7 @@ { "verb": "get", "requestPath": "/teams/{team_id}/memberships/{username}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "team_id", @@ -75105,8 +75500,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/teams/42/memberships/USERNAME", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/teams/42/memberships/USERNAME
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/teams/42/memberships/USERNAME", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/teams/42/memberships/USERNAME
    " }, { "lang": "JavaScript", @@ -75115,7 +75510,7 @@ } ], "summary": "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).", + "description": "**Deprecation 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).", "tags": [ "teams" ], @@ -75141,26 +75536,14 @@ "subcategoryLabel": "Members", "notes": [], "bodyParameters": [], - "descriptionHTML": "

    Deprecation 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 endpoint.

    \n

    Team members will include the members of child teams.

    \n

    To get a user's membership with a team, the team must be visible to the authenticated user.

    \n

    Note: The role for organization owners returns as maintainer. For more information about maintainer roles, see Create a team.

    ", + "descriptionHTML": "

    Deprecation 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 endpoint.

    \n

    Team members will include the members of child teams.

    \n

    To get a user's membership with a team, the team must be visible to the authenticated user.

    \n

    Note:\nThe response contains the state of the membership and the member's role.

    \n

    The role for organization owners is set to maintainer. For more information about maintainer roles, see Create a team.

    ", "responses": [ - { - "httpStatusCode": "200", - "httpStatusMessage": "OK", - "description": "Response if user has an active membership with team", - "payload": "
    {\n  \"url\": \"https://api.github.com/teams/1/memberships/octocat\",\n  \"role\": \"member\",\n  \"state\": \"active\"\n}\n
    " - }, { "httpStatusCode": "200", "httpStatusMessage": "OK", "description": "Response if user is a team maintainer", "payload": "
    {\n  \"url\": \"https://api.github.com/teams/1/memberships/octocat\",\n  \"role\": \"maintainer\",\n  \"state\": \"active\"\n}\n
    " }, - { - "httpStatusCode": "200", - "httpStatusMessage": "OK", - "description": "Response if user has a pending membership with team", - "payload": "
    {\n  \"url\": \"https://api.github.com/teams/1/memberships/octocat\",\n  \"role\": \"member\",\n  \"state\": \"pending\"\n}\n
    " - }, { "httpStatusCode": "404", "httpStatusMessage": "Not Found", @@ -75171,7 +75554,7 @@ { "verb": "put", "requestPath": "/teams/{team_id}/memberships/{username}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "team_id", @@ -75195,8 +75578,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/teams/42/memberships/USERNAME \\\n -d '{\"role\":\"role\"}'", - "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/teams/42/memberships/USERNAME \\\n  -d '{\"role\":\"role\"}'
    " + "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/teams/42/memberships/USERNAME \\\n -d '{\"role\":\"role\"}'", + "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/teams/42/memberships/USERNAME \\\n  -d '{\"role\":\"role\"}'
    " }, { "lang": "JavaScript", @@ -75273,12 +75656,6 @@ } ], "responses": [ - { - "httpStatusCode": "200", - "httpStatusMessage": "OK", - "description": "Response if user's membership with team is now active", - "payload": "
    {\n  \"url\": \"https://api.github.com/teams/1/memberships/octocat\",\n  \"role\": \"member\",\n  \"state\": \"active\"\n}\n
    " - }, { "httpStatusCode": "200", "httpStatusMessage": "OK", @@ -75298,15 +75675,14 @@ { "httpStatusCode": "422", "httpStatusMessage": "Unprocessable Entity", - "description": "Response if you attempt to add an organization to a team", - "payload": "
    {\n  \"message\": \"Cannot add an organization as a member.\",\n  \"errors\": [\n    {\n      \"code\": \"org\",\n      \"field\": \"user\",\n      \"resource\": \"TeamMember\"\n    }\n  ]\n}\n
    " + "description": "Response if you attempt to add an organization to a team" } ] }, { "verb": "delete", "requestPath": "/teams/{team_id}/memberships/{username}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "team_id", @@ -75330,8 +75706,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/teams/42/memberships/USERNAME", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/teams/42/memberships/USERNAME
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/teams/42/memberships/USERNAME", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/teams/42/memberships/USERNAME
    " }, { "lang": "JavaScript", @@ -75369,7 +75745,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "403", @@ -75383,7 +75759,7 @@ { "verb": "get", "requestPath": "/teams/{team_id}/projects", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "team_id", @@ -75418,8 +75794,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n https://api.github.com/teams/42/projects", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  https://api.github.com/teams/42/projects
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n http(s)://{hostname}/api/v3/teams/42/projects", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  http(s)://{hostname}/api/v3/teams/42/projects
    " }, { "lang": "JavaScript", @@ -75482,7 +75858,7 @@ { "verb": "get", "requestPath": "/teams/{team_id}/projects/{project_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "team_id", @@ -75506,8 +75882,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n https://api.github.com/teams/42/projects/42", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  https://api.github.com/teams/42/projects/42
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n http(s)://{hostname}/api/v3/teams/42/projects/42", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  http(s)://{hostname}/api/v3/teams/42/projects/42
    " }, { "lang": "JavaScript", @@ -75570,7 +75946,7 @@ { "verb": "put", "requestPath": "/teams/{team_id}/projects/{project_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "team_id", @@ -75594,8 +75970,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n https://api.github.com/teams/42/projects/42 \\\n -d '{\"permission\":\"permission\"}'", - "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  https://api.github.com/teams/42/projects/42 \\\n  -d '{\"permission\":\"permission\"}'
    " + "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n http(s)://{hostname}/api/v3/teams/42/projects/42 \\\n -d '{\"permission\":\"permission\"}'", + "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  http(s)://{hostname}/api/v3/teams/42/projects/42 \\\n  -d '{\"permission\":\"permission\"}'
    " }, { "lang": "JavaScript", @@ -75680,7 +76056,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "403", @@ -75708,7 +76084,7 @@ { "verb": "delete", "requestPath": "/teams/{team_id}/projects/{project_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "team_id", @@ -75732,8 +76108,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/teams/42/projects/42", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/teams/42/projects/42
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/teams/42/projects/42", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/teams/42/projects/42
    " }, { "lang": "JavaScript", @@ -75769,7 +76145,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "404", @@ -75793,7 +76169,7 @@ { "verb": "get", "requestPath": "/teams/{team_id}/repos", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "team_id", @@ -75828,8 +76204,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/teams/42/repos", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/teams/42/repos
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/teams/42/repos", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/teams/42/repos
    " }, { "lang": "JavaScript", @@ -75880,7 +76256,7 @@ { "verb": "get", "requestPath": "/teams/{team_id}/repos/{owner}/{repo}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "team_id", @@ -75913,8 +76289,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/teams/42/repos/octocat/hello-world", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/teams/42/repos/octocat/hello-world
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/teams/42/repos/octocat/hello-world", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/teams/42/repos/octocat/hello-world
    " }, { "lang": "JavaScript", @@ -75969,7 +76345,7 @@ { "verb": "put", "requestPath": "/teams/{team_id}/repos/{owner}/{repo}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "team_id", @@ -76002,8 +76378,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/teams/42/repos/octocat/hello-world \\\n -d '{\"permission\":\"permission\"}'", - "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/teams/42/repos/octocat/hello-world \\\n  -d '{\"permission\":\"permission\"}'
    " + "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/teams/42/repos/octocat/hello-world \\\n -d '{\"permission\":\"permission\"}'", + "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/teams/42/repos/octocat/hello-world \\\n  -d '{\"permission\":\"permission\"}'
    " }, { "lang": "JavaScript", @@ -76064,7 +76440,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "403", @@ -76098,7 +76474,7 @@ { "verb": "delete", "requestPath": "/teams/{team_id}/repos/{owner}/{repo}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "team_id", @@ -76131,8 +76507,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/teams/42/repos/octocat/hello-world", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/teams/42/repos/octocat/hello-world
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/teams/42/repos/octocat/hello-world", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/teams/42/repos/octocat/hello-world
    " }, { "lang": "JavaScript", @@ -76168,7 +76544,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "bodyParameters": [], @@ -76177,7 +76553,7 @@ { "verb": "get", "requestPath": "/teams/{team_id}/teams", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "team_id", @@ -76212,8 +76588,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/teams/42/teams", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/teams/42/teams
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/teams/42/teams", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/teams/42/teams
    " }, { "lang": "JavaScript", @@ -76274,13 +76650,13 @@ { "verb": "get", "requestPath": "/user", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/user", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/user
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/user", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/user
    " }, { "lang": "JavaScript", @@ -76344,13 +76720,13 @@ { "verb": "patch", "requestPath": "/user", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/user \\\n -d '{\"name\":\"name\"}'", - "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/user \\\n  -d '{\"name\":\"name\"}'
    " + "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/user \\\n -d '{\"name\":\"name\"}'", + "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/user \\\n  -d '{\"name\":\"name\"}'
    " }, { "lang": "JavaScript", @@ -76588,7 +76964,7 @@ { "verb": "get", "requestPath": "/user/emails", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "per_page", @@ -76614,8 +76990,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/user/emails", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/user/emails
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/user/emails", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/user/emails
    " }, { "lang": "JavaScript", @@ -76680,13 +77056,13 @@ { "verb": "post", "requestPath": "/user/emails", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/user/emails \\\n -d '{\"emails\":[\"octocat@github.com\"]}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/user/emails \\\n  -d '{\"emails\":[\"octocat@github.com\"]}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/user/emails \\\n -d '{\"emails\":[\"octocat@github.com\"]}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/user/emails \\\n  -d '{\"emails\":[\"octocat@github.com\"]}'
    " }, { "lang": "JavaScript", @@ -76801,13 +77177,13 @@ { "verb": "delete", "requestPath": "/user/emails", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/user/emails \\\n -d '{\"emails\":[\"octocat@github.com\"]}'", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/user/emails \\\n  -d '{\"emails\":[\"octocat@github.com\"]}'
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/user/emails \\\n -d '{\"emails\":[\"octocat@github.com\"]}'", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/user/emails \\\n  -d '{\"emails\":[\"octocat@github.com\"]}'
    " }, { "lang": "JavaScript", @@ -76887,7 +77263,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "304", @@ -76921,7 +77297,7 @@ { "verb": "get", "requestPath": "/user/followers", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "per_page", @@ -76947,8 +77323,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/user/followers", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/user/followers
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/user/followers", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/user/followers
    " }, { "lang": "JavaScript", @@ -77008,7 +77384,7 @@ { "verb": "get", "requestPath": "/user/following", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "per_page", @@ -77034,8 +77410,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/user/following", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/user/following
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/user/following", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/user/following
    " }, { "lang": "JavaScript", @@ -77095,7 +77471,7 @@ { "verb": "get", "requestPath": "/user/following/{username}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "username", @@ -77110,8 +77486,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/user/following/USERNAME", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/user/following/USERNAME
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/user/following/USERNAME", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/user/following/USERNAME
    " }, { "lang": "JavaScript", @@ -77175,7 +77551,7 @@ { "verb": "put", "requestPath": "/user/following/{username}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "username", @@ -77190,8 +77566,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/user/following/USERNAME", - "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/user/following/USERNAME
    " + "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/user/following/USERNAME", + "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/user/following/USERNAME
    " }, { "lang": "JavaScript", @@ -77226,7 +77602,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "304", @@ -77255,7 +77631,7 @@ { "verb": "delete", "requestPath": "/user/following/{username}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "username", @@ -77270,8 +77646,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/user/following/USERNAME", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/user/following/USERNAME
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/user/following/USERNAME", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/user/following/USERNAME
    " }, { "lang": "JavaScript", @@ -77306,7 +77682,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "304", @@ -77335,7 +77711,7 @@ { "verb": "get", "requestPath": "/user/gpg_keys", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "per_page", @@ -77361,8 +77737,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/user/gpg_keys", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/user/gpg_keys
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/user/gpg_keys", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/user/gpg_keys
    " }, { "lang": "JavaScript", @@ -77427,13 +77803,13 @@ { "verb": "post", "requestPath": "/user/gpg_keys", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/user/gpg_keys \\\n -d '{\"armored_public_key\":\"armored_public_key\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/user/gpg_keys \\\n  -d '{\"armored_public_key\":\"armored_public_key\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/user/gpg_keys \\\n -d '{\"armored_public_key\":\"armored_public_key\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/user/gpg_keys \\\n  -d '{\"armored_public_key\":\"armored_public_key\"}'
    " }, { "lang": "JavaScript", @@ -77536,7 +77912,7 @@ { "verb": "get", "requestPath": "/user/gpg_keys/{gpg_key_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "gpg_key_id", @@ -77552,8 +77928,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/user/gpg_keys/42", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/user/gpg_keys/42
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/user/gpg_keys/42", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/user/gpg_keys/42
    " }, { "lang": "JavaScript", @@ -77618,7 +77994,7 @@ { "verb": "delete", "requestPath": "/user/gpg_keys/{gpg_key_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "gpg_key_id", @@ -77634,8 +78010,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/user/gpg_keys/42", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/user/gpg_keys/42
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/user/gpg_keys/42", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/user/gpg_keys/42
    " }, { "lang": "JavaScript", @@ -77670,7 +78046,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "304", @@ -77704,7 +78080,7 @@ { "verb": "get", "requestPath": "/user/installations", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "per_page", @@ -77730,8 +78106,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/user/installations", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/user/installations
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/user/installations", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/user/installations
    " }, { "lang": "JavaScript", @@ -77796,7 +78172,7 @@ { "verb": "get", "requestPath": "/user/installations/{installation_id}/repositories", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "installation_id", @@ -77832,8 +78208,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/user/installations/42/repositories", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/user/installations/42/repositories
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/user/installations/42/repositories", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/user/installations/42/repositories
    " }, { "lang": "JavaScript", @@ -77900,7 +78276,7 @@ { "verb": "put", "requestPath": "/user/installations/{installation_id}/repositories/{repository_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "installation_id", @@ -77925,8 +78301,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/user/installations/42/repositories/42", - "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/user/installations/42/repositories/42
    " + "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/user/installations/42/repositories/42", + "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/user/installations/42/repositories/42
    " }, { "lang": "JavaScript", @@ -77961,7 +78337,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "304", @@ -77985,7 +78361,7 @@ { "verb": "delete", "requestPath": "/user/installations/{installation_id}/repositories/{repository_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "installation_id", @@ -78010,8 +78386,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/user/installations/42/repositories/42", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/user/installations/42/repositories/42
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/user/installations/42/repositories/42", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/user/installations/42/repositories/42
    " }, { "lang": "JavaScript", @@ -78046,7 +78422,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "304", @@ -78070,7 +78446,7 @@ { "verb": "get", "requestPath": "/user/issues", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "filter", @@ -78084,6 +78460,7 @@ "created", "mentioned", "subscribed", + "repos", "all" ], "default": "assigned" @@ -78181,8 +78558,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/user/issues", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/user/issues
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/user/issues", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/user/issues
    " }, { "lang": "JavaScript", @@ -78242,7 +78619,7 @@ { "verb": "get", "requestPath": "/user/keys", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "per_page", @@ -78268,8 +78645,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/user/keys", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/user/keys
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/user/keys", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/user/keys
    " }, { "lang": "JavaScript", @@ -78334,13 +78711,13 @@ { "verb": "post", "requestPath": "/user/keys", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/user/keys \\\n -d '{\"key\":\"key\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/user/keys \\\n  -d '{\"key\":\"key\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/user/keys \\\n -d '{\"key\":\"key\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/user/keys \\\n  -d '{\"key\":\"key\"}'
    " }, { "lang": "JavaScript", @@ -78465,7 +78842,7 @@ { "verb": "get", "requestPath": "/user/keys/{key_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "key_id", @@ -78481,8 +78858,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/user/keys/42", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/user/keys/42
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/user/keys/42", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/user/keys/42
    " }, { "lang": "JavaScript", @@ -78547,7 +78924,7 @@ { "verb": "delete", "requestPath": "/user/keys/{key_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "key_id", @@ -78563,8 +78940,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/user/keys/42", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/user/keys/42
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/user/keys/42", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/user/keys/42
    " }, { "lang": "JavaScript", @@ -78599,7 +78976,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "304", @@ -78628,7 +79005,7 @@ { "verb": "get", "requestPath": "/user/memberships/orgs", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "state", @@ -78668,8 +79045,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/user/memberships/orgs", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/user/memberships/orgs
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/user/memberships/orgs", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/user/memberships/orgs
    " }, { "lang": "JavaScript", @@ -78734,7 +79111,7 @@ { "verb": "get", "requestPath": "/user/memberships/orgs/{org}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "org", @@ -78749,8 +79126,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/user/memberships/orgs/ORG", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/user/memberships/orgs/ORG
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/user/memberships/orgs/ORG", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/user/memberships/orgs/ORG
    " }, { "lang": "JavaScript", @@ -78805,7 +79182,7 @@ { "verb": "patch", "requestPath": "/user/memberships/orgs/{org}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "org", @@ -78820,8 +79197,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/user/memberships/orgs/ORG \\\n -d '{\"state\":\"state\"}'", - "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/user/memberships/orgs/ORG \\\n  -d '{\"state\":\"state\"}'
    " + "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/user/memberships/orgs/ORG \\\n -d '{\"state\":\"state\"}'", + "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/user/memberships/orgs/ORG \\\n  -d '{\"state\":\"state\"}'
    " }, { "lang": "JavaScript", @@ -78923,7 +79300,7 @@ { "verb": "get", "requestPath": "/user/orgs", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "per_page", @@ -78949,8 +79326,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/user/orgs", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/user/orgs
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/user/orgs", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/user/orgs
    " }, { "lang": "JavaScript", @@ -79008,13 +79385,13 @@ { "verb": "post", "requestPath": "/user/projects", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n https://api.github.com/user/projects \\\n -d '{\"name\":\"name\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  https://api.github.com/user/projects \\\n  -d '{\"name\":\"name\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n http(s)://{hostname}/api/v3/user/projects \\\n -d '{\"name\":\"name\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  http(s)://{hostname}/api/v3/user/projects \\\n  -d '{\"name\":\"name\"}'
    " }, { "lang": "JavaScript", @@ -79146,7 +79523,7 @@ { "verb": "get", "requestPath": "/user/public_emails", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "per_page", @@ -79172,8 +79549,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/user/public_emails", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/user/public_emails
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/user/public_emails", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/user/public_emails
    " }, { "lang": "JavaScript", @@ -79238,11 +79615,11 @@ { "verb": "get", "requestPath": "/user/repos", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "visibility", - "description": "Can be one of `all`, `public`, or `private`.", + "description": "Can be one of `all`, `public`, or `private`. Note: For GitHub AE, can be one of `all`, `internal`, or `private`.", "in": "query", "required": false, "schema": { @@ -79254,7 +79631,7 @@ ], "default": "all" }, - "descriptionHTML": "

    Can be one of all, public, or private.

    " + "descriptionHTML": "

    Can be one of all, public, or private. Note: For GitHub AE, can be one of all, internal, or private.

    " }, { "name": "affiliation", @@ -79269,7 +79646,7 @@ }, { "name": "type", - "description": "Can be one of `all`, `owner`, `public`, `private`, `member`. Default: `all` \n \nWill cause a `422` error if used in the same request as **visibility** or **affiliation**. Will cause a `422` error if used in the same request as **visibility** or **affiliation**.", + "description": "Can be one of `all`, `owner`, `public`, `private`, `member`. Note: For GitHub AE, can be one of `all`, `owner`, `internal`, `private`, `member`. Default: `all` \n \nWill cause a `422` error if used in the same request as **visibility** or **affiliation**. Will cause a `422` error if used in the same request as **visibility** or **affiliation**.", "in": "query", "required": false, "schema": { @@ -79283,7 +79660,7 @@ ], "default": "all" }, - "descriptionHTML": "

    Can be one of all, owner, public, private, member. Default: all

    \n

    Will cause a 422 error if used in the same request as visibility or affiliation. Will cause a 422 error if used in the same request as visibility or affiliation.

    " + "descriptionHTML": "

    Can be one of all, owner, public, private, member. Note: For GitHub AE, can be one of all, owner, internal, private, member. Default: all

    \n

    Will cause a 422 error if used in the same request as visibility or affiliation. Will cause a 422 error if used in the same request as visibility or affiliation.

    " }, { "name": "sort", @@ -79360,8 +79737,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/user/repos", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/user/repos
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/user/repos", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/user/repos
    " }, { "lang": "JavaScript", @@ -79424,13 +79801,13 @@ { "verb": "post", "requestPath": "/user/repos", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/user/repos \\\n -d '{\"name\":\"name\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/user/repos \\\n  -d '{\"name\":\"name\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/user/repos \\\n -d '{\"name\":\"name\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/user/repos \\\n  -d '{\"name\":\"name\"}'
    " }, { "lang": "JavaScript", @@ -79439,7 +79816,7 @@ } ], "summary": "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", + "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.", "tags": [ "repos" ], @@ -79482,13 +79859,13 @@ "childParamsGroups": [] }, "private": { - "description": "

    Whether the repository is private or public.

    ", + "description": "

    Whether the repository is private.

    ", "default": false, "type": "boolean", "name": "private", "in": "body", "rawType": "boolean", - "rawDescription": "Whether the repository is private or public.", + "rawDescription": "Whether the repository is private.", "childParamsGroups": [] }, "has_issues": { @@ -79662,7 +80039,7 @@ "category": "repos", "categoryLabel": "Repos", "notes": [], - "descriptionHTML": "

    Creates a new repository for the authenticated user.

    \n

    OAuth scope requirements

    \n

    When using OAuth, 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
    ", + "descriptionHTML": "

    Creates a new repository for the authenticated user.

    \n

    OAuth scope requirements

    \n

    When using OAuth, 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
    ", "bodyParameters": [ { "description": "

    Required. The name of the repository.

    ", @@ -79693,13 +80070,13 @@ "childParamsGroups": [] }, { - "description": "

    Whether the repository is private or public.

    ", + "description": "

    Whether the repository is private.

    ", "default": false, "type": "boolean", "name": "private", "in": "body", "rawType": "boolean", - "rawDescription": "Whether the repository is private or public.", + "rawDescription": "Whether the repository is private.", "childParamsGroups": [] }, { @@ -79883,7 +80260,7 @@ { "verb": "get", "requestPath": "/user/repository_invitations", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "per_page", @@ -79909,8 +80286,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/user/repository_invitations", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/user/repository_invitations
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/user/repository_invitations", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/user/repository_invitations
    " }, { "lang": "JavaScript", @@ -79975,7 +80352,7 @@ { "verb": "patch", "requestPath": "/user/repository_invitations/{invitation_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "invitation_id", @@ -79991,8 +80368,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/user/repository_invitations/42", - "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/user/repository_invitations/42
    " + "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/user/repository_invitations/42", + "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/user/repository_invitations/42
    " }, { "lang": "JavaScript", @@ -80027,7 +80404,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "304", @@ -80056,7 +80433,7 @@ { "verb": "delete", "requestPath": "/user/repository_invitations/{invitation_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "invitation_id", @@ -80072,8 +80449,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/user/repository_invitations/42", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/user/repository_invitations/42
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/user/repository_invitations/42", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/user/repository_invitations/42
    " }, { "lang": "JavaScript", @@ -80108,7 +80485,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "304", @@ -80137,7 +80514,7 @@ { "verb": "get", "requestPath": "/user/starred", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "sort", @@ -80193,8 +80570,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/user/starred", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/user/starred
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/user/starred", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/user/starred
    " }, { "lang": "JavaScript", @@ -80254,7 +80631,7 @@ { "verb": "get", "requestPath": "/user/starred/{owner}/{repo}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -80278,8 +80655,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/user/starred/octocat/hello-world", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/user/starred/octocat/hello-world
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/user/starred/octocat/hello-world", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/user/starred/octocat/hello-world
    " }, { "lang": "JavaScript", @@ -80343,7 +80720,7 @@ { "verb": "put", "requestPath": "/user/starred/{owner}/{repo}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -80367,8 +80744,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/user/starred/octocat/hello-world", - "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/user/starred/octocat/hello-world
    " + "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/user/starred/octocat/hello-world", + "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/user/starred/octocat/hello-world
    " }, { "lang": "JavaScript", @@ -80403,7 +80780,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "304", @@ -80432,7 +80809,7 @@ { "verb": "delete", "requestPath": "/user/starred/{owner}/{repo}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "owner", @@ -80456,8 +80833,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/user/starred/octocat/hello-world", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/user/starred/octocat/hello-world
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/user/starred/octocat/hello-world", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/user/starred/octocat/hello-world
    " }, { "lang": "JavaScript", @@ -80492,7 +80869,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "304", @@ -80521,7 +80898,7 @@ { "verb": "get", "requestPath": "/user/subscriptions", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "per_page", @@ -80547,8 +80924,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/user/subscriptions", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/user/subscriptions
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/user/subscriptions", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/user/subscriptions
    " }, { "lang": "JavaScript", @@ -80608,7 +80985,7 @@ { "verb": "get", "requestPath": "/user/teams", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "per_page", @@ -80634,8 +81011,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/user/teams", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/user/teams
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/user/teams", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/user/teams
    " }, { "lang": "JavaScript", @@ -80693,7 +81070,7 @@ { "verb": "get", "requestPath": "/users", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "since", @@ -80719,8 +81096,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/users", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/users
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/users", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/users
    " }, { "lang": "JavaScript", @@ -80768,7 +81145,7 @@ { "verb": "get", "requestPath": "/users/{username}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "username", @@ -80783,8 +81160,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/users/USERNAME", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/users/USERNAME
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/users/USERNAME", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/users/USERNAME
    " }, { "lang": "JavaScript", @@ -80838,7 +81215,7 @@ { "verb": "get", "requestPath": "/users/{username}/events", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "username", @@ -80873,8 +81250,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/users/USERNAME/events", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/users/USERNAME/events
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/users/USERNAME/events", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/users/USERNAME/events
    " }, { "lang": "JavaScript", @@ -80918,7 +81295,7 @@ { "verb": "get", "requestPath": "/users/{username}/events/orgs/{org}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "username", @@ -80962,8 +81339,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/users/USERNAME/events/orgs/ORG", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/users/USERNAME/events/orgs/ORG
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/users/USERNAME/events/orgs/ORG", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/users/USERNAME/events/orgs/ORG
    " }, { "lang": "JavaScript", @@ -81007,7 +81384,7 @@ { "verb": "get", "requestPath": "/users/{username}/events/public", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "username", @@ -81042,8 +81419,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/users/USERNAME/events/public", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/users/USERNAME/events/public
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/users/USERNAME/events/public", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/users/USERNAME/events/public
    " }, { "lang": "JavaScript", @@ -81087,7 +81464,7 @@ { "verb": "get", "requestPath": "/users/{username}/followers", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "username", @@ -81122,8 +81499,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/users/USERNAME/followers", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/users/USERNAME/followers
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/users/USERNAME/followers", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/users/USERNAME/followers
    " }, { "lang": "JavaScript", @@ -81168,7 +81545,7 @@ { "verb": "get", "requestPath": "/users/{username}/following", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "username", @@ -81203,8 +81580,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/users/USERNAME/following", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/users/USERNAME/following
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/users/USERNAME/following", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/users/USERNAME/following
    " }, { "lang": "JavaScript", @@ -81249,7 +81626,7 @@ { "verb": "get", "requestPath": "/users/{username}/following/{target_user}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "username", @@ -81273,8 +81650,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/users/USERNAME/following/TARGET_USER", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/users/USERNAME/following/TARGET_USER
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/users/USERNAME/following/TARGET_USER", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/users/USERNAME/following/TARGET_USER
    " }, { "lang": "JavaScript", @@ -81323,7 +81700,7 @@ { "verb": "get", "requestPath": "/users/{username}/gists", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "username", @@ -81368,8 +81745,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/users/USERNAME/gists", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/users/USERNAME/gists
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/users/USERNAME/gists", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/users/USERNAME/gists
    " }, { "lang": "JavaScript", @@ -81417,7 +81794,7 @@ { "verb": "get", "requestPath": "/users/{username}/gpg_keys", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "username", @@ -81452,8 +81829,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/users/USERNAME/gpg_keys", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/users/USERNAME/gpg_keys
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/users/USERNAME/gpg_keys", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/users/USERNAME/gpg_keys
    " }, { "lang": "JavaScript", @@ -81498,7 +81875,7 @@ { "verb": "get", "requestPath": "/users/{username}/hovercard", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "username", @@ -81539,8 +81916,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/users/USERNAME/hovercard", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/users/USERNAME/hovercard
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/users/USERNAME/hovercard", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/users/USERNAME/hovercard
    " }, { "lang": "JavaScript", @@ -81593,7 +81970,7 @@ { "verb": "get", "requestPath": "/users/{username}/installation", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "username", @@ -81608,8 +81985,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/users/USERNAME/installation", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/users/USERNAME/installation
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/users/USERNAME/installation", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/users/USERNAME/installation
    " }, { "lang": "JavaScript", @@ -81652,7 +82029,7 @@ { "verb": "get", "requestPath": "/users/{username}/keys", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "username", @@ -81687,8 +82064,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/users/USERNAME/keys", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/users/USERNAME/keys
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/users/USERNAME/keys", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/users/USERNAME/keys
    " }, { "lang": "JavaScript", @@ -81733,7 +82110,7 @@ { "verb": "get", "requestPath": "/users/{username}/orgs", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "username", @@ -81768,8 +82145,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/users/USERNAME/orgs", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/users/USERNAME/orgs
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/users/USERNAME/orgs", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/users/USERNAME/orgs
    " }, { "lang": "JavaScript", @@ -81812,7 +82189,7 @@ { "verb": "get", "requestPath": "/users/{username}/projects", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "username", @@ -81863,8 +82240,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n https://api.github.com/users/USERNAME/projects", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  https://api.github.com/users/USERNAME/projects
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n http(s)://{hostname}/api/v3/users/USERNAME/projects", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  http(s)://{hostname}/api/v3/users/USERNAME/projects
    " }, { "lang": "JavaScript", @@ -81924,7 +82301,7 @@ { "verb": "get", "requestPath": "/users/{username}/received_events", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "username", @@ -81959,8 +82336,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/users/USERNAME/received_events", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/users/USERNAME/received_events
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/users/USERNAME/received_events", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/users/USERNAME/received_events
    " }, { "lang": "JavaScript", @@ -82004,7 +82381,7 @@ { "verb": "get", "requestPath": "/users/{username}/received_events/public", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "username", @@ -82039,8 +82416,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/users/USERNAME/received_events/public", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/users/USERNAME/received_events/public
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/users/USERNAME/received_events/public", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/users/USERNAME/received_events/public
    " }, { "lang": "JavaScript", @@ -82084,7 +82461,7 @@ { "verb": "get", "requestPath": "/users/{username}/repos", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "username", @@ -82166,8 +82543,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/users/USERNAME/repos", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/users/USERNAME/repos
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/users/USERNAME/repos", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/users/USERNAME/repos
    " }, { "lang": "JavaScript", @@ -82176,7 +82553,7 @@ } ], "summary": "List repositories for a user", - "description": "Lists public repositories for the specified user.", + "description": "Lists public repositories for the specified user. Note: For GitHub AE, this endpoint will list internal repositories for the specified user.", "tags": [ "repos" ], @@ -82204,7 +82581,7 @@ "categoryLabel": "Repos", "notes": [], "bodyParameters": [], - "descriptionHTML": "

    Lists public repositories for the specified user.

    ", + "descriptionHTML": "

    Lists public repositories for the specified user. Note: For GitHub AE, this endpoint will list internal repositories for the specified user.

    ", "responses": [ { "httpStatusCode": "200", @@ -82217,7 +82594,7 @@ { "verb": "put", "requestPath": "/users/{username}/site_admin", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "username", @@ -82232,8 +82609,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/users/USERNAME/site_admin", - "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/users/USERNAME/site_admin
    " + "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/users/USERNAME/site_admin", + "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/users/USERNAME/site_admin
    " }, { "lang": "JavaScript", @@ -82268,7 +82645,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "bodyParameters": [], @@ -82277,7 +82654,7 @@ { "verb": "delete", "requestPath": "/users/{username}/site_admin", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "username", @@ -82292,8 +82669,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/users/USERNAME/site_admin", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/users/USERNAME/site_admin
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/users/USERNAME/site_admin", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/users/USERNAME/site_admin
    " }, { "lang": "JavaScript", @@ -82328,7 +82705,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "bodyParameters": [], @@ -82337,7 +82714,7 @@ { "verb": "get", "requestPath": "/users/{username}/starred", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "username", @@ -82402,8 +82779,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/users/USERNAME/starred", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/users/USERNAME/starred
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/users/USERNAME/starred", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/users/USERNAME/starred
    " }, { "lang": "JavaScript", @@ -82448,7 +82825,7 @@ { "verb": "get", "requestPath": "/users/{username}/subscriptions", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "username", @@ -82483,8 +82860,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/users/USERNAME/subscriptions", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/users/USERNAME/subscriptions
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/users/USERNAME/subscriptions", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/users/USERNAME/subscriptions
    " }, { "lang": "JavaScript", @@ -82529,7 +82906,7 @@ { "verb": "put", "requestPath": "/users/{username}/suspended", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "username", @@ -82544,8 +82921,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/users/USERNAME/suspended \\\n -d '{\"reason\":\"reason\"}'", - "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/users/USERNAME/suspended \\\n  -d '{\"reason\":\"reason\"}'
    " + "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/users/USERNAME/suspended \\\n -d '{\"reason\":\"reason\"}'", + "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/users/USERNAME/suspended \\\n  -d '{\"reason\":\"reason\"}'
    " }, { "lang": "JavaScript", @@ -82600,7 +82977,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "descriptionHTML": "

    If your GitHub instance uses LDAP Sync with Active Directory LDAP servers, 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

    You can suspend any user account except your own.

    \n

    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.\"

    ", @@ -82619,7 +82996,7 @@ { "verb": "delete", "requestPath": "/users/{username}/suspended", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [ { "name": "username", @@ -82634,8 +83011,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/users/USERNAME/suspended \\\n -d '{\"reason\":\"reason\"}'", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/users/USERNAME/suspended \\\n  -d '{\"reason\":\"reason\"}'
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/users/USERNAME/suspended \\\n -d '{\"reason\":\"reason\"}'", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/users/USERNAME/suspended \\\n  -d '{\"reason\":\"reason\"}'
    " }, { "lang": "JavaScript", @@ -82690,7 +83067,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "descriptionHTML": "

    If your GitHub instance uses LDAP Sync with Active Directory LDAP servers, this API is disabled and will return a 403 response. Active Directory LDAP-authenticated users cannot be unsuspended using the API.

    ", @@ -82709,13 +83086,13 @@ { "verb": "get", "requestPath": "/zen", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://{hostname}/api/v3", "parameters": [], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/zen", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/zen
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/zen", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/zen
    " }, { "lang": "JavaScript", diff --git a/lib/rest/static/decorated/github.ae.json b/lib/rest/static/decorated/github.ae.json index 714b4662e6..8099a7b098 100644 --- a/lib/rest/static/decorated/github.ae.json +++ b/lib/rest/static/decorated/github.ae.json @@ -2,13 +2,13 @@ { "verb": "get", "requestPath": "/", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/
    " }, { "lang": "JavaScript", @@ -45,7 +45,7 @@ { "verb": "get", "requestPath": "/admin/hooks", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "accept", @@ -82,8 +82,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.superpro-preview+json\" \\\n https://api.github.com/admin/hooks", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.superpro-preview+json\" \\\n  https://api.github.com/admin/hooks
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.superpro-preview+json\" \\\n http(s)://api.{hostname}/admin/hooks", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.superpro-preview+json\" \\\n  http(s)://api.{hostname}/admin/hooks
    " }, { "lang": "JavaScript", @@ -135,7 +135,7 @@ { "verb": "post", "requestPath": "/admin/hooks", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "accept", @@ -152,8 +152,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.superpro-preview+json\" \\\n https://api.github.com/admin/hooks \\\n -d '{\"name\":\"name\",\"config\":{\"url\":\"url\",\"content_type\":\"content_type\",\"secret\":\"secret\",\"insecure_ssl\":\"insecure_ssl\"}}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.superpro-preview+json\" \\\n  https://api.github.com/admin/hooks \\\n  -d '{\"name\":\"name\",\"config\":{\"url\":\"url\",\"content_type\":\"content_type\",\"secret\":\"secret\",\"insecure_ssl\":\"insecure_ssl\"}}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.superpro-preview+json\" \\\n http(s)://api.{hostname}/admin/hooks \\\n -d '{\"name\":\"name\",\"config\":{\"url\":\"url\",\"content_type\":\"content_type\",\"secret\":\"secret\",\"insecure_ssl\":\"insecure_ssl\"}}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.superpro-preview+json\" \\\n  http(s)://api.{hostname}/admin/hooks \\\n  -d '{\"name\":\"name\",\"config\":{\"url\":\"url\",\"content_type\":\"content_type\",\"secret\":\"secret\",\"insecure_ssl\":\"insecure_ssl\"}}'
    " }, { "lang": "JavaScript", @@ -483,7 +483,7 @@ { "verb": "get", "requestPath": "/admin/hooks/{hook_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "accept", @@ -509,8 +509,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.superpro-preview+json\" \\\n https://api.github.com/admin/hooks/42", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.superpro-preview+json\" \\\n  https://api.github.com/admin/hooks/42
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.superpro-preview+json\" \\\n http(s)://api.{hostname}/admin/hooks/42", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.superpro-preview+json\" \\\n  http(s)://api.{hostname}/admin/hooks/42
    " }, { "lang": "JavaScript", @@ -562,7 +562,7 @@ { "verb": "patch", "requestPath": "/admin/hooks/{hook_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "accept", @@ -588,8 +588,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.superpro-preview+json\" \\\n https://api.github.com/admin/hooks/42 \\\n -d '{\"config\":{\"url\":\"url\",\"content_type\":\"content_type\",\"secret\":\"secret\",\"insecure_ssl\":\"insecure_ssl\"}}'", - "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.superpro-preview+json\" \\\n  https://api.github.com/admin/hooks/42 \\\n  -d '{\"config\":{\"url\":\"url\",\"content_type\":\"content_type\",\"secret\":\"secret\",\"insecure_ssl\":\"insecure_ssl\"}}'
    " + "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.superpro-preview+json\" \\\n http(s)://api.{hostname}/admin/hooks/42 \\\n -d '{\"config\":{\"url\":\"url\",\"content_type\":\"content_type\",\"secret\":\"secret\",\"insecure_ssl\":\"insecure_ssl\"}}'", + "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.superpro-preview+json\" \\\n  http(s)://api.{hostname}/admin/hooks/42 \\\n  -d '{\"config\":{\"url\":\"url\",\"content_type\":\"content_type\",\"secret\":\"secret\",\"insecure_ssl\":\"insecure_ssl\"}}'
    " }, { "lang": "JavaScript", @@ -893,7 +893,7 @@ { "verb": "delete", "requestPath": "/admin/hooks/{hook_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "accept", @@ -919,8 +919,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.superpro-preview+json\" \\\n https://api.github.com/admin/hooks/42", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.superpro-preview+json\" \\\n  https://api.github.com/admin/hooks/42
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.superpro-preview+json\" \\\n http(s)://api.{hostname}/admin/hooks/42", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.superpro-preview+json\" \\\n  http(s)://api.{hostname}/admin/hooks/42
    " }, { "lang": "JavaScript", @@ -962,7 +962,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "bodyParameters": [], @@ -971,7 +971,7 @@ { "verb": "post", "requestPath": "/admin/hooks/{hook_id}/pings", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "accept", @@ -997,8 +997,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.superpro-preview+json\" \\\n https://api.github.com/admin/hooks/42/pings", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.superpro-preview+json\" \\\n  https://api.github.com/admin/hooks/42/pings
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.superpro-preview+json\" \\\n http(s)://api.{hostname}/admin/hooks/42/pings", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.superpro-preview+json\" \\\n  http(s)://api.{hostname}/admin/hooks/42/pings
    " }, { "lang": "JavaScript", @@ -1040,7 +1040,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "bodyParameters": [], @@ -1049,7 +1049,7 @@ { "verb": "get", "requestPath": "/admin/keys", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "per_page", @@ -1070,13 +1070,53 @@ "default": 1 }, "descriptionHTML": "

    Page number of the results to fetch.

    " + }, + { + "name": "direction", + "description": "One of `asc` (ascending) or `desc` (descending).", + "in": "query", + "required": false, + "schema": { + "type": "string", + "enum": [ + "asc", + "desc" + ], + "default": "desc" + }, + "descriptionHTML": "

    One of asc (ascending) or desc (descending).

    " + }, + { + "name": "sort", + "in": "query", + "required": false, + "schema": { + "type": "string", + "enum": [ + "created", + "updated", + "accessed" + ], + "default": "created" + }, + "descriptionHTML": "" + }, + { + "name": "since", + "description": "Only show public keys accessed after the given time.", + "in": "query", + "required": false, + "schema": { + "type": "string" + }, + "descriptionHTML": "

    Only show public keys accessed after the given time.

    " } ], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/admin/keys", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/admin/keys
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/admin/keys", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/admin/keys
    " }, { "lang": "JavaScript", @@ -1121,7 +1161,7 @@ { "verb": "delete", "requestPath": "/admin/keys/{key_ids}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "key_ids", @@ -1136,8 +1176,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/admin/keys/KEY_IDS", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/admin/keys/KEY_IDS
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/admin/keys/KEY_IDS", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/admin/keys/KEY_IDS
    " }, { "lang": "JavaScript", @@ -1172,7 +1212,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "bodyParameters": [], @@ -1181,13 +1221,13 @@ { "verb": "post", "requestPath": "/admin/organizations", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/admin/organizations \\\n -d '{\"login\":\"login\",\"admin\":\"admin\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/admin/organizations \\\n  -d '{\"login\":\"login\",\"admin\":\"admin\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/admin/organizations \\\n -d '{\"login\":\"login\",\"admin\":\"admin\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/admin/organizations \\\n  -d '{\"login\":\"login\",\"admin\":\"admin\"}'
    " }, { "lang": "JavaScript", @@ -1307,7 +1347,7 @@ { "verb": "patch", "requestPath": "/admin/organizations/{org}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "org", @@ -1322,8 +1362,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/admin/organizations/ORG \\\n -d '{\"login\":\"login\"}'", - "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/admin/organizations/ORG \\\n  -d '{\"login\":\"login\"}'
    " + "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/admin/organizations/ORG \\\n -d '{\"login\":\"login\"}'", + "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/admin/organizations/ORG \\\n  -d '{\"login\":\"login\"}'
    " }, { "lang": "JavaScript", @@ -1404,7 +1444,7 @@ { "verb": "get", "requestPath": "/admin/pre-receive-environments", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "per_page", @@ -1425,13 +1465,43 @@ "default": 1 }, "descriptionHTML": "

    Page number of the results to fetch.

    " + }, + { + "name": "direction", + "description": "One of `asc` (ascending) or `desc` (descending).", + "in": "query", + "required": false, + "schema": { + "type": "string", + "enum": [ + "asc", + "desc" + ], + "default": "desc" + }, + "descriptionHTML": "

    One of asc (ascending) or desc (descending).

    " + }, + { + "name": "sort", + "in": "query", + "required": false, + "schema": { + "type": "string", + "enum": [ + "created", + "updated", + "name" + ], + "default": "created" + }, + "descriptionHTML": "" } ], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n https://api.github.com/admin/pre-receive-environments", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n  https://api.github.com/admin/pre-receive-environments
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n http(s)://api.{hostname}/admin/pre-receive-environments", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n  http(s)://api.{hostname}/admin/pre-receive-environments
    " }, { "lang": "JavaScript", @@ -1483,13 +1553,13 @@ { "verb": "post", "requestPath": "/admin/pre-receive-environments", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n https://api.github.com/admin/pre-receive-environments \\\n -d '{\"name\":\"name\",\"image_url\":\"image_url\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n  https://api.github.com/admin/pre-receive-environments \\\n  -d '{\"name\":\"name\",\"image_url\":\"image_url\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n http(s)://api.{hostname}/admin/pre-receive-environments \\\n -d '{\"name\":\"name\",\"image_url\":\"image_url\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n  http(s)://api.{hostname}/admin/pre-receive-environments \\\n  -d '{\"name\":\"name\",\"image_url\":\"image_url\"}'
    " }, { "lang": "JavaScript", @@ -1597,7 +1667,7 @@ { "verb": "get", "requestPath": "/admin/pre-receive-environments/{pre_receive_environment_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "pre_receive_environment_id", @@ -1612,8 +1682,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n https://api.github.com/admin/pre-receive-environments/42", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n  https://api.github.com/admin/pre-receive-environments/42
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n http(s)://api.{hostname}/admin/pre-receive-environments/42", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n  http(s)://api.{hostname}/admin/pre-receive-environments/42
    " }, { "lang": "JavaScript", @@ -1665,7 +1735,7 @@ { "verb": "patch", "requestPath": "/admin/pre-receive-environments/{pre_receive_environment_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "pre_receive_environment_id", @@ -1680,8 +1750,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n https://api.github.com/admin/pre-receive-environments/42 \\\n -d '{\"name\":\"name\"}'", - "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n  https://api.github.com/admin/pre-receive-environments/42 \\\n  -d '{\"name\":\"name\"}'
    " + "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n http(s)://api.{hostname}/admin/pre-receive-environments/42 \\\n -d '{\"name\":\"name\"}'", + "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n  http(s)://api.{hostname}/admin/pre-receive-environments/42 \\\n  -d '{\"name\":\"name\"}'
    " }, { "lang": "JavaScript", @@ -1787,7 +1857,7 @@ { "verb": "delete", "requestPath": "/admin/pre-receive-environments/{pre_receive_environment_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "pre_receive_environment_id", @@ -1802,8 +1872,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n https://api.github.com/admin/pre-receive-environments/42", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n  https://api.github.com/admin/pre-receive-environments/42
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n http(s)://api.{hostname}/admin/pre-receive-environments/42", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n  http(s)://api.{hostname}/admin/pre-receive-environments/42
    " }, { "lang": "JavaScript", @@ -1847,7 +1917,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "422", @@ -1860,7 +1930,7 @@ { "verb": "post", "requestPath": "/admin/pre-receive-environments/{pre_receive_environment_id}/downloads", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "pre_receive_environment_id", @@ -1875,8 +1945,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n https://api.github.com/admin/pre-receive-environments/42/downloads", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n  https://api.github.com/admin/pre-receive-environments/42/downloads
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n http(s)://api.{hostname}/admin/pre-receive-environments/42/downloads", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n  http(s)://api.{hostname}/admin/pre-receive-environments/42/downloads
    " }, { "lang": "JavaScript", @@ -1934,7 +2004,7 @@ { "verb": "get", "requestPath": "/admin/pre-receive-environments/{pre_receive_environment_id}/downloads/latest", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "pre_receive_environment_id", @@ -1949,8 +2019,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n https://api.github.com/admin/pre-receive-environments/42/downloads/latest", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n  https://api.github.com/admin/pre-receive-environments/42/downloads/latest
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n http(s)://api.{hostname}/admin/pre-receive-environments/42/downloads/latest", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n  http(s)://api.{hostname}/admin/pre-receive-environments/42/downloads/latest
    " }, { "lang": "JavaScript", @@ -2002,7 +2072,7 @@ { "verb": "get", "requestPath": "/admin/tokens", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "per_page", @@ -2028,8 +2098,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/admin/tokens", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/admin/tokens
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/admin/tokens", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/admin/tokens
    " }, { "lang": "JavaScript", @@ -2074,7 +2144,7 @@ { "verb": "delete", "requestPath": "/admin/tokens/{token_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "token_id", @@ -2089,8 +2159,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/admin/tokens/42", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/admin/tokens/42
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/admin/tokens/42", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/admin/tokens/42
    " }, { "lang": "JavaScript", @@ -2125,7 +2195,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "bodyParameters": [], @@ -2134,7 +2204,7 @@ { "verb": "delete", "requestPath": "/admin/users/{username}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "username", @@ -2149,8 +2219,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/admin/users/USERNAME", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/admin/users/USERNAME
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/admin/users/USERNAME", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/admin/users/USERNAME
    " }, { "lang": "JavaScript", @@ -2185,7 +2255,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "bodyParameters": [], @@ -2194,7 +2264,7 @@ { "verb": "post", "requestPath": "/admin/users/{username}/authorizations", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "username", @@ -2209,8 +2279,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/admin/users/USERNAME/authorizations \\\n -d '{\"scopes\":[\"scopes\"]}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/admin/users/USERNAME/authorizations \\\n  -d '{\"scopes\":[\"scopes\"]}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/admin/users/USERNAME/authorizations \\\n -d '{\"scopes\":[\"scopes\"]}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/admin/users/USERNAME/authorizations \\\n  -d '{\"scopes\":[\"scopes\"]}'
    " }, { "lang": "JavaScript", @@ -2291,7 +2361,7 @@ { "verb": "delete", "requestPath": "/admin/users/{username}/authorizations", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "username", @@ -2306,8 +2376,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/admin/users/USERNAME/authorizations", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/admin/users/USERNAME/authorizations
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/admin/users/USERNAME/authorizations", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/admin/users/USERNAME/authorizations
    " }, { "lang": "JavaScript", @@ -2342,7 +2412,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "bodyParameters": [], @@ -2351,13 +2421,13 @@ { "verb": "get", "requestPath": "/app", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/app", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/app
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/app", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/app
    " }, { "lang": "JavaScript", @@ -2400,7 +2470,7 @@ { "verb": "post", "requestPath": "/app-manifests/{code}/conversions", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "code", @@ -2415,8 +2485,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/app-manifests/CODE/conversions", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/app-manifests/CODE/conversions
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/app-manifests/CODE/conversions", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/app-manifests/CODE/conversions
    " }, { "lang": "JavaScript", @@ -2469,13 +2539,13 @@ { "verb": "get", "requestPath": "/app/hook/config", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/app/hook/config", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/app/hook/config
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/app/hook/config", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/app/hook/config
    " }, { "lang": "JavaScript", @@ -2520,13 +2590,13 @@ { "verb": "patch", "requestPath": "/app/hook/config", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/app/hook/config \\\n -d '{\"url\":\"url\"}'", - "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/app/hook/config \\\n  -d '{\"url\":\"url\"}'
    " + "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/app/hook/config \\\n -d '{\"url\":\"url\"}'", + "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/app/hook/config \\\n  -d '{\"url\":\"url\"}'
    " }, { "lang": "JavaScript", @@ -2671,7 +2741,7 @@ { "verb": "get", "requestPath": "/app/installations", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "per_page", @@ -2716,8 +2786,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/app/installations", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/app/installations
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/app/installations", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/app/installations
    " }, { "lang": "JavaScript", @@ -2760,7 +2830,7 @@ { "verb": "get", "requestPath": "/app/installations/{installation_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "installation_id", @@ -2776,8 +2846,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/app/installations/42", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/app/installations/42
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/app/installations/42", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/app/installations/42
    " }, { "lang": "JavaScript", @@ -2830,7 +2900,7 @@ { "verb": "delete", "requestPath": "/app/installations/{installation_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "installation_id", @@ -2846,8 +2916,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/app/installations/42", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/app/installations/42
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/app/installations/42", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/app/installations/42
    " }, { "lang": "JavaScript", @@ -2880,7 +2950,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "404", @@ -2894,7 +2964,7 @@ { "verb": "post", "requestPath": "/app/installations/{installation_id}/access_tokens", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "installation_id", @@ -2910,8 +2980,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/app/installations/42/access_tokens \\\n -d '{\"repositories\":[\"repositories\"]}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/app/installations/42/access_tokens \\\n  -d '{\"repositories\":[\"repositories\"]}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/app/installations/42/access_tokens \\\n -d '{\"repositories\":[\"repositories\"]}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/app/installations/42/access_tokens \\\n  -d '{\"repositories\":[\"repositories\"]}'
    " }, { "lang": "JavaScript", @@ -4655,7 +4725,7 @@ { "verb": "put", "requestPath": "/app/installations/{installation_id}/suspended", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "installation_id", @@ -4671,8 +4741,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/app/installations/42/suspended", - "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/app/installations/42/suspended
    " + "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/app/installations/42/suspended", + "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/app/installations/42/suspended
    " }, { "lang": "JavaScript", @@ -4705,7 +4775,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "404", @@ -4719,7 +4789,7 @@ { "verb": "delete", "requestPath": "/app/installations/{installation_id}/suspended", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "installation_id", @@ -4735,8 +4805,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/app/installations/42/suspended", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/app/installations/42/suspended
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/app/installations/42/suspended", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/app/installations/42/suspended
    " }, { "lang": "JavaScript", @@ -4769,7 +4839,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "404", @@ -4783,7 +4853,7 @@ { "verb": "delete", "requestPath": "/applications/{client_id}/grant", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "client_id", @@ -4799,8 +4869,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/applications/CLIENT_ID/grant \\\n -d '{\"access_token\":\"access_token\"}'", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/applications/CLIENT_ID/grant \\\n  -d '{\"access_token\":\"access_token\"}'
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/applications/CLIENT_ID/grant \\\n -d '{\"access_token\":\"access_token\"}'", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/applications/CLIENT_ID/grant \\\n  -d '{\"access_token\":\"access_token\"}'
    " }, { "lang": "JavaScript", @@ -4858,7 +4928,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "422", @@ -4882,7 +4952,7 @@ { "verb": "delete", "requestPath": "/applications/{client_id}/grants/{access_token}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "client_id", @@ -4907,8 +4977,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/applications/CLIENT_ID/grants/ACCESS_TOKEN", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/applications/CLIENT_ID/grants/ACCESS_TOKEN
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/applications/CLIENT_ID/grants/ACCESS_TOKEN", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/applications/CLIENT_ID/grants/ACCESS_TOKEN
    " }, { "lang": "JavaScript", @@ -4946,7 +5016,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "bodyParameters": [], @@ -4955,7 +5025,7 @@ { "verb": "post", "requestPath": "/applications/{client_id}/token", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "client_id", @@ -4971,8 +5041,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/applications/CLIENT_ID/token \\\n -d '{\"access_token\":\"access_token\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/applications/CLIENT_ID/token \\\n  -d '{\"access_token\":\"access_token\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/applications/CLIENT_ID/token \\\n -d '{\"access_token\":\"access_token\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/applications/CLIENT_ID/token \\\n  -d '{\"access_token\":\"access_token\"}'
    " }, { "lang": "JavaScript", @@ -5060,7 +5130,7 @@ { "verb": "patch", "requestPath": "/applications/{client_id}/token", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "client_id", @@ -5076,8 +5146,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/applications/CLIENT_ID/token \\\n -d '{\"access_token\":\"access_token\"}'", - "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/applications/CLIENT_ID/token \\\n  -d '{\"access_token\":\"access_token\"}'
    " + "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/applications/CLIENT_ID/token \\\n -d '{\"access_token\":\"access_token\"}'", + "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/applications/CLIENT_ID/token \\\n  -d '{\"access_token\":\"access_token\"}'
    " }, { "lang": "JavaScript", @@ -5160,7 +5230,7 @@ { "verb": "delete", "requestPath": "/applications/{client_id}/token", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "client_id", @@ -5176,8 +5246,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/applications/CLIENT_ID/token \\\n -d '{\"access_token\":\"access_token\"}'", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/applications/CLIENT_ID/token \\\n  -d '{\"access_token\":\"access_token\"}'
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/applications/CLIENT_ID/token \\\n -d '{\"access_token\":\"access_token\"}'", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/applications/CLIENT_ID/token \\\n  -d '{\"access_token\":\"access_token\"}'
    " }, { "lang": "JavaScript", @@ -5238,7 +5308,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "422", @@ -5262,7 +5332,7 @@ { "verb": "get", "requestPath": "/applications/{client_id}/tokens/{access_token}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "client_id", @@ -5287,8 +5357,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/applications/CLIENT_ID/tokens/ACCESS_TOKEN", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/applications/CLIENT_ID/tokens/ACCESS_TOKEN
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/applications/CLIENT_ID/tokens/ACCESS_TOKEN", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/applications/CLIENT_ID/tokens/ACCESS_TOKEN
    " }, { "lang": "JavaScript", @@ -5341,7 +5411,7 @@ { "verb": "post", "requestPath": "/applications/{client_id}/tokens/{access_token}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "client_id", @@ -5366,8 +5436,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/applications/CLIENT_ID/tokens/ACCESS_TOKEN", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/applications/CLIENT_ID/tokens/ACCESS_TOKEN
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/applications/CLIENT_ID/tokens/ACCESS_TOKEN", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/applications/CLIENT_ID/tokens/ACCESS_TOKEN
    " }, { "lang": "JavaScript", @@ -5415,7 +5485,7 @@ { "verb": "delete", "requestPath": "/applications/{client_id}/tokens/{access_token}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "client_id", @@ -5440,8 +5510,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/applications/CLIENT_ID/tokens/ACCESS_TOKEN", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/applications/CLIENT_ID/tokens/ACCESS_TOKEN
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/applications/CLIENT_ID/tokens/ACCESS_TOKEN", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/applications/CLIENT_ID/tokens/ACCESS_TOKEN
    " }, { "lang": "JavaScript", @@ -5479,7 +5549,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "bodyParameters": [], @@ -5488,7 +5558,7 @@ { "verb": "get", "requestPath": "/apps/{app_slug}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "app_slug", @@ -5503,8 +5573,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/apps/APP_SLUG", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/apps/APP_SLUG
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/apps/APP_SLUG", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/apps/APP_SLUG
    " }, { "lang": "JavaScript", @@ -5562,13 +5632,13 @@ { "verb": "get", "requestPath": "/codes_of_conduct", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.scarlet-witch-preview+json\" \\\n https://api.github.com/codes_of_conduct", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.scarlet-witch-preview+json\" \\\n  https://api.github.com/codes_of_conduct
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.scarlet-witch-preview+json\" \\\n http(s)://api.{hostname}/codes_of_conduct", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.scarlet-witch-preview+json\" \\\n  http(s)://api.{hostname}/codes_of_conduct
    " }, { "lang": "JavaScript", @@ -5628,7 +5698,7 @@ { "verb": "get", "requestPath": "/codes_of_conduct/{key}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "key", @@ -5643,8 +5713,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.scarlet-witch-preview+json\" \\\n https://api.github.com/codes_of_conduct/KEY", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.scarlet-witch-preview+json\" \\\n  https://api.github.com/codes_of_conduct/KEY
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.scarlet-witch-preview+json\" \\\n http(s)://api.{hostname}/codes_of_conduct/KEY", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.scarlet-witch-preview+json\" \\\n  http(s)://api.{hostname}/codes_of_conduct/KEY
    " }, { "lang": "JavaScript", @@ -5709,7 +5779,7 @@ { "verb": "post", "requestPath": "/content_references/{content_reference_id}/attachments", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "content_reference_id", @@ -5724,8 +5794,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.corsair-preview+json\" \\\n https://api.github.com/content_references/42/attachments \\\n -d '{\"title\":\"title\",\"body\":\"body\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.corsair-preview+json\" \\\n  https://api.github.com/content_references/42/attachments \\\n  -d '{\"title\":\"title\",\"body\":\"body\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.corsair-preview+json\" \\\n http(s)://api.{hostname}/content_references/42/attachments \\\n -d '{\"title\":\"title\",\"body\":\"body\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.corsair-preview+json\" \\\n  http(s)://api.{hostname}/content_references/42/attachments \\\n  -d '{\"title\":\"title\",\"body\":\"body\"}'
    " }, { "lang": "JavaScript", @@ -5867,13 +5937,13 @@ { "verb": "get", "requestPath": "/emojis", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/emojis", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/emojis
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/emojis", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/emojis
    " }, { "lang": "JavaScript", @@ -5920,13 +5990,13 @@ { "verb": "get", "requestPath": "/enterprise/announcement", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/enterprise/announcement", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/enterprise/announcement
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/enterprise/announcement", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/enterprise/announcement
    " }, { "lang": "JavaScript", @@ -5971,13 +6041,13 @@ { "verb": "patch", "requestPath": "/enterprise/announcement", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/enterprise/announcement \\\n -d '{\"announcement\":\"announcement\"}'", - "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/enterprise/announcement \\\n  -d '{\"announcement\":\"announcement\"}'
    " + "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/enterprise/announcement \\\n -d '{\"announcement\":\"announcement\"}'", + "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/enterprise/announcement \\\n  -d '{\"announcement\":\"announcement\"}'
    " }, { "lang": "JavaScript", @@ -6081,13 +6151,13 @@ { "verb": "delete", "requestPath": "/enterprise/announcement", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/enterprise/announcement", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/enterprise/announcement
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/enterprise/announcement", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/enterprise/announcement
    " }, { "lang": "JavaScript", @@ -6122,7 +6192,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "bodyParameters": [], @@ -6131,13 +6201,13 @@ { "verb": "get", "requestPath": "/enterprise/encryption", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/enterprise/encryption", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/enterprise/encryption
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/enterprise/encryption", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/enterprise/encryption
    " }, { "lang": "JavaScript", @@ -6182,13 +6252,13 @@ { "verb": "patch", "requestPath": "/enterprise/encryption", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/enterprise/encryption \\\n -d '{\"key\":\"key\"}'", - "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/enterprise/encryption \\\n  -d '{\"key\":\"key\"}'
    " + "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/enterprise/encryption \\\n -d '{\"key\":\"key\"}'", + "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/enterprise/encryption \\\n  -d '{\"key\":\"key\"}'
    " }, { "lang": "JavaScript", @@ -6269,13 +6339,13 @@ { "verb": "delete", "requestPath": "/enterprise/encryption", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/enterprise/encryption", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/enterprise/encryption
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/enterprise/encryption", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/enterprise/encryption
    " }, { "lang": "JavaScript", @@ -6320,7 +6390,7 @@ { "verb": "get", "requestPath": "/enterprise/encryption/status/{request_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "request_id", @@ -6336,8 +6406,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/enterprise/encryption/status/REQUEST_ID", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/enterprise/encryption/status/REQUEST_ID
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/enterprise/encryption/status/REQUEST_ID", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/enterprise/encryption/status/REQUEST_ID
    " }, { "lang": "JavaScript", @@ -6387,13 +6457,13 @@ { "verb": "get", "requestPath": "/enterprise/settings/license", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/enterprise/settings/license", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/enterprise/settings/license
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/enterprise/settings/license", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/enterprise/settings/license
    " }, { "lang": "JavaScript", @@ -6438,7 +6508,7 @@ { "verb": "get", "requestPath": "/enterprise/stats/{type}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "type", @@ -6453,8 +6523,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/enterprise/stats/TYPE", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/enterprise/stats/TYPE
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/enterprise/stats/TYPE", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/enterprise/stats/TYPE
    " }, { "lang": "JavaScript", @@ -6499,7 +6569,7 @@ { "verb": "get", "requestPath": "/enterprises/{enterprise}/actions/permissions", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "enterprise", @@ -6515,8 +6585,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/enterprises/ENTERPRISE/actions/permissions", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/enterprises/ENTERPRISE/actions/permissions
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/enterprises/ENTERPRISE/actions/permissions", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/enterprises/ENTERPRISE/actions/permissions
    " }, { "lang": "JavaScript", @@ -6561,7 +6631,7 @@ { "verb": "put", "requestPath": "/enterprises/{enterprise}/actions/permissions", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "enterprise", @@ -6577,8 +6647,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/enterprises/ENTERPRISE/actions/permissions \\\n -d '{\"enabled_organizations\":\"enabled_organizations\"}'", - "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/enterprises/ENTERPRISE/actions/permissions \\\n  -d '{\"enabled_organizations\":\"enabled_organizations\"}'
    " + "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/enterprises/ENTERPRISE/actions/permissions \\\n -d '{\"enabled_organizations\":\"enabled_organizations\"}'", + "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/enterprises/ENTERPRISE/actions/permissions \\\n  -d '{\"enabled_organizations\":\"enabled_organizations\"}'
    " }, { "lang": "JavaScript", @@ -6659,7 +6729,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "descriptionHTML": "

    Sets the GitHub Actions permissions policy for organizations and allowed actions in an enterprise.

    \n

    You must authenticate using an access token with the admin:enterprise scope to use this endpoint.

    ", @@ -6697,7 +6767,7 @@ { "verb": "get", "requestPath": "/enterprises/{enterprise}/actions/permissions/organizations", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "enterprise", @@ -6733,8 +6803,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/enterprises/ENTERPRISE/actions/permissions/organizations", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/enterprises/ENTERPRISE/actions/permissions/organizations
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/enterprises/ENTERPRISE/actions/permissions/organizations", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/enterprises/ENTERPRISE/actions/permissions/organizations
    " }, { "lang": "JavaScript", @@ -6779,7 +6849,7 @@ { "verb": "put", "requestPath": "/enterprises/{enterprise}/actions/permissions/organizations", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "enterprise", @@ -6795,8 +6865,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/enterprises/ENTERPRISE/actions/permissions/organizations \\\n -d '{\"selected_organization_ids\":[42]}'", - "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/enterprises/ENTERPRISE/actions/permissions/organizations \\\n  -d '{\"selected_organization_ids\":[42]}'
    " + "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/enterprises/ENTERPRISE/actions/permissions/organizations \\\n -d '{\"selected_organization_ids\":[42]}'", + "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/enterprises/ENTERPRISE/actions/permissions/organizations \\\n  -d '{\"selected_organization_ids\":[42]}'
    " }, { "lang": "JavaScript", @@ -6864,7 +6934,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "descriptionHTML": "

    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.\"

    \n

    You must authenticate using an access token with the admin:enterprise scope to use this endpoint.

    ", @@ -6887,7 +6957,7 @@ { "verb": "put", "requestPath": "/enterprises/{enterprise}/actions/permissions/organizations/{org_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "enterprise", @@ -6913,8 +6983,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/enterprises/ENTERPRISE/actions/permissions/organizations/42", - "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/enterprises/ENTERPRISE/actions/permissions/organizations/42
    " + "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/enterprises/ENTERPRISE/actions/permissions/organizations/42", + "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/enterprises/ENTERPRISE/actions/permissions/organizations/42
    " }, { "lang": "JavaScript", @@ -6949,7 +7019,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "bodyParameters": [], @@ -6958,7 +7028,7 @@ { "verb": "delete", "requestPath": "/enterprises/{enterprise}/actions/permissions/organizations/{org_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "enterprise", @@ -6984,8 +7054,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/enterprises/ENTERPRISE/actions/permissions/organizations/42", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/enterprises/ENTERPRISE/actions/permissions/organizations/42
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/enterprises/ENTERPRISE/actions/permissions/organizations/42", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/enterprises/ENTERPRISE/actions/permissions/organizations/42
    " }, { "lang": "JavaScript", @@ -7020,7 +7090,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "bodyParameters": [], @@ -7029,7 +7099,7 @@ { "verb": "get", "requestPath": "/enterprises/{enterprise}/actions/permissions/selected-actions", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "enterprise", @@ -7045,8 +7115,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/enterprises/ENTERPRISE/actions/permissions/selected-actions", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/enterprises/ENTERPRISE/actions/permissions/selected-actions
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/enterprises/ENTERPRISE/actions/permissions/selected-actions", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/enterprises/ENTERPRISE/actions/permissions/selected-actions
    " }, { "lang": "JavaScript", @@ -7091,7 +7161,7 @@ { "verb": "put", "requestPath": "/enterprises/{enterprise}/actions/permissions/selected-actions", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "enterprise", @@ -7107,8 +7177,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/enterprises/ENTERPRISE/actions/permissions/selected-actions \\\n -d '{\"github_owned_allowed\":true,\"patterns_allowed\":[\"patterns_allowed\"],\"verified_allowed\":true}'", - "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/enterprises/ENTERPRISE/actions/permissions/selected-actions \\\n  -d '{\"github_owned_allowed\":true,\"patterns_allowed\":[\"patterns_allowed\"],\"verified_allowed\":true}'
    " + "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/enterprises/ENTERPRISE/actions/permissions/selected-actions \\\n -d '{\"github_owned_allowed\":true,\"patterns_allowed\":[\"patterns_allowed\"],\"verified_allowed\":true}'", + "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/enterprises/ENTERPRISE/actions/permissions/selected-actions \\\n  -d '{\"github_owned_allowed\":true,\"patterns_allowed\":[\"patterns_allowed\"],\"verified_allowed\":true}'
    " }, { "lang": "JavaScript", @@ -7201,7 +7271,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "descriptionHTML": "

    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.\"

    \n

    You must authenticate using an access token with the admin:enterprise scope to use this endpoint.

    ", @@ -7241,7 +7311,7 @@ { "verb": "get", "requestPath": "/enterprises/{enterprise}/actions/runner-groups", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "enterprise", @@ -7277,8 +7347,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/enterprises/ENTERPRISE/actions/runner-groups", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/enterprises/ENTERPRISE/actions/runner-groups
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/enterprises/ENTERPRISE/actions/runner-groups", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/enterprises/ENTERPRISE/actions/runner-groups
    " }, { "lang": "JavaScript", @@ -7323,7 +7393,7 @@ { "verb": "post", "requestPath": "/enterprises/{enterprise}/actions/runner-groups", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "enterprise", @@ -7339,8 +7409,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/enterprises/ENTERPRISE/actions/runner-groups \\\n -d '{\"name\":\"name\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/enterprises/ENTERPRISE/actions/runner-groups \\\n  -d '{\"name\":\"name\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/enterprises/ENTERPRISE/actions/runner-groups \\\n -d '{\"name\":\"name\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/enterprises/ENTERPRISE/actions/runner-groups \\\n  -d '{\"name\":\"name\"}'
    " }, { "lang": "JavaScript", @@ -7508,7 +7578,7 @@ { "verb": "get", "requestPath": "/enterprises/{enterprise}/actions/runner-groups/{runner_group_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "enterprise", @@ -7534,8 +7604,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/enterprises/ENTERPRISE/actions/runner-groups/42", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/enterprises/ENTERPRISE/actions/runner-groups/42
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/enterprises/ENTERPRISE/actions/runner-groups/42", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/enterprises/ENTERPRISE/actions/runner-groups/42
    " }, { "lang": "JavaScript", @@ -7580,7 +7650,7 @@ { "verb": "patch", "requestPath": "/enterprises/{enterprise}/actions/runner-groups/{runner_group_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "enterprise", @@ -7606,8 +7676,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/enterprises/ENTERPRISE/actions/runner-groups/42 \\\n -d '{\"name\":\"name\"}'", - "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/enterprises/ENTERPRISE/actions/runner-groups/42 \\\n  -d '{\"name\":\"name\"}'
    " + "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/enterprises/ENTERPRISE/actions/runner-groups/42 \\\n -d '{\"name\":\"name\"}'", + "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/enterprises/ENTERPRISE/actions/runner-groups/42 \\\n  -d '{\"name\":\"name\"}'
    " }, { "lang": "JavaScript", @@ -7714,7 +7784,7 @@ { "verb": "delete", "requestPath": "/enterprises/{enterprise}/actions/runner-groups/{runner_group_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "enterprise", @@ -7740,8 +7810,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/enterprises/ENTERPRISE/actions/runner-groups/42", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/enterprises/ENTERPRISE/actions/runner-groups/42
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/enterprises/ENTERPRISE/actions/runner-groups/42", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/enterprises/ENTERPRISE/actions/runner-groups/42
    " }, { "lang": "JavaScript", @@ -7776,7 +7846,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "bodyParameters": [], @@ -7785,7 +7855,7 @@ { "verb": "get", "requestPath": "/enterprises/{enterprise}/actions/runner-groups/{runner_group_id}/runners", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "enterprise", @@ -7831,8 +7901,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/enterprises/ENTERPRISE/actions/runner-groups/42/runners", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/enterprises/ENTERPRISE/actions/runner-groups/42/runners
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/enterprises/ENTERPRISE/actions/runner-groups/42/runners", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/enterprises/ENTERPRISE/actions/runner-groups/42/runners
    " }, { "lang": "JavaScript", @@ -7877,7 +7947,7 @@ { "verb": "put", "requestPath": "/enterprises/{enterprise}/actions/runner-groups/{runner_group_id}/runners", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "enterprise", @@ -7903,8 +7973,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/enterprises/ENTERPRISE/actions/runner-groups/42/runners \\\n -d '{\"runners\":[42]}'", - "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/enterprises/ENTERPRISE/actions/runner-groups/42/runners \\\n  -d '{\"runners\":[42]}'
    " + "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/enterprises/ENTERPRISE/actions/runner-groups/42/runners \\\n -d '{\"runners\":[42]}'", + "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/enterprises/ENTERPRISE/actions/runner-groups/42/runners \\\n  -d '{\"runners\":[42]}'
    " }, { "lang": "JavaScript", @@ -7972,7 +8042,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "descriptionHTML": "

    Replaces the list of self-hosted runners that are part of an enterprise runner group.

    \n

    You must authenticate using an access token with the admin:enterprise scope to use this endpoint.

    ", @@ -7995,7 +8065,7 @@ { "verb": "put", "requestPath": "/enterprises/{enterprise}/actions/runner-groups/{runner_group_id}/runners/{runner_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "enterprise", @@ -8031,8 +8101,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/enterprises/ENTERPRISE/actions/runner-groups/42/runners/42", - "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/enterprises/ENTERPRISE/actions/runner-groups/42/runners/42
    " + "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/enterprises/ENTERPRISE/actions/runner-groups/42/runners/42", + "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/enterprises/ENTERPRISE/actions/runner-groups/42/runners/42
    " }, { "lang": "JavaScript", @@ -8067,7 +8137,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "bodyParameters": [], @@ -8076,7 +8146,7 @@ { "verb": "delete", "requestPath": "/enterprises/{enterprise}/actions/runner-groups/{runner_group_id}/runners/{runner_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "enterprise", @@ -8112,8 +8182,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/enterprises/ENTERPRISE/actions/runner-groups/42/runners/42", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/enterprises/ENTERPRISE/actions/runner-groups/42/runners/42
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/enterprises/ENTERPRISE/actions/runner-groups/42/runners/42", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/enterprises/ENTERPRISE/actions/runner-groups/42/runners/42
    " }, { "lang": "JavaScript", @@ -8148,7 +8218,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "bodyParameters": [], @@ -8157,7 +8227,7 @@ { "verb": "get", "requestPath": "/enterprises/{enterprise}/actions/runners", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "enterprise", @@ -8193,8 +8263,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/enterprises/ENTERPRISE/actions/runners", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/enterprises/ENTERPRISE/actions/runners
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/enterprises/ENTERPRISE/actions/runners", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/enterprises/ENTERPRISE/actions/runners
    " }, { "lang": "JavaScript", @@ -8239,7 +8309,7 @@ { "verb": "get", "requestPath": "/enterprises/{enterprise}/actions/runners/{runner_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "enterprise", @@ -8265,8 +8335,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/enterprises/ENTERPRISE/actions/runners/42", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/enterprises/ENTERPRISE/actions/runners/42
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/enterprises/ENTERPRISE/actions/runners/42", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/enterprises/ENTERPRISE/actions/runners/42
    " }, { "lang": "JavaScript", @@ -8311,7 +8381,7 @@ { "verb": "delete", "requestPath": "/enterprises/{enterprise}/actions/runners/{runner_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "enterprise", @@ -8337,8 +8407,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/enterprises/ENTERPRISE/actions/runners/42", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/enterprises/ENTERPRISE/actions/runners/42
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/enterprises/ENTERPRISE/actions/runners/42", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/enterprises/ENTERPRISE/actions/runners/42
    " }, { "lang": "JavaScript", @@ -8373,7 +8443,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "bodyParameters": [], @@ -8382,7 +8452,7 @@ { "verb": "get", "requestPath": "/events", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "per_page", @@ -8408,8 +8478,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/events", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/events
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/events", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/events
    " }, { "lang": "JavaScript", @@ -8468,13 +8538,13 @@ { "verb": "get", "requestPath": "/feeds", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/feeds", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/feeds
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/feeds", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/feeds
    " }, { "lang": "JavaScript", @@ -8519,7 +8589,7 @@ { "verb": "get", "requestPath": "/gists", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "since", @@ -8555,8 +8625,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/gists", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/gists
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/gists", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/gists
    " }, { "lang": "JavaScript", @@ -8609,13 +8679,13 @@ { "verb": "post", "requestPath": "/gists", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/gists \\\n -d '{\"files\":{}}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/gists \\\n  -d '{\"files\":{}}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/gists \\\n -d '{\"files\":{}}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/gists \\\n  -d '{\"files\":{}}'
    " }, { "lang": "JavaScript", @@ -8813,7 +8883,7 @@ { "verb": "get", "requestPath": "/gists/public", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "since", @@ -8849,8 +8919,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/gists/public", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/gists/public
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/gists/public", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/gists/public
    " }, { "lang": "JavaScript", @@ -8908,7 +8978,7 @@ { "verb": "get", "requestPath": "/gists/starred", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "since", @@ -8944,8 +9014,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/gists/starred", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/gists/starred
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/gists/starred", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/gists/starred
    " }, { "lang": "JavaScript", @@ -9003,7 +9073,7 @@ { "verb": "get", "requestPath": "/gists/{gist_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "gist_id", @@ -9019,8 +9089,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/gists/GIST_ID", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/gists/GIST_ID
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/gists/GIST_ID", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/gists/GIST_ID
    " }, { "lang": "JavaScript", @@ -9078,7 +9148,7 @@ { "verb": "patch", "requestPath": "/gists/{gist_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "gist_id", @@ -9094,8 +9164,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/gists/GIST_ID \\\n -d '{\"description\":\"description\"}'", - "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/gists/GIST_ID \\\n  -d '{\"description\":\"description\"}'
    " + "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/gists/GIST_ID \\\n -d '{\"description\":\"description\"}'", + "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/gists/GIST_ID \\\n  -d '{\"description\":\"description\"}'
    " }, { "lang": "JavaScript", @@ -9285,7 +9355,7 @@ { "verb": "delete", "requestPath": "/gists/{gist_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "gist_id", @@ -9301,8 +9371,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/gists/GIST_ID", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/gists/GIST_ID
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/gists/GIST_ID", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/gists/GIST_ID
    " }, { "lang": "JavaScript", @@ -9335,7 +9405,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "304", @@ -9359,7 +9429,7 @@ { "verb": "get", "requestPath": "/gists/{gist_id}/comments", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "gist_id", @@ -9395,8 +9465,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/gists/GIST_ID/comments", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/gists/GIST_ID/comments
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/gists/GIST_ID/comments", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/gists/GIST_ID/comments
    " }, { "lang": "JavaScript", @@ -9456,7 +9526,7 @@ { "verb": "post", "requestPath": "/gists/{gist_id}/comments", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "gist_id", @@ -9472,8 +9542,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/gists/GIST_ID/comments \\\n -d '{\"body\":\"body\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/gists/GIST_ID/comments \\\n  -d '{\"body\":\"body\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/gists/GIST_ID/comments \\\n -d '{\"body\":\"body\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/gists/GIST_ID/comments \\\n  -d '{\"body\":\"body\"}'
    " }, { "lang": "JavaScript", @@ -9570,7 +9640,7 @@ { "verb": "get", "requestPath": "/gists/{gist_id}/comments/{comment_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "gist_id", @@ -9596,8 +9666,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/gists/GIST_ID/comments/42", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/gists/GIST_ID/comments/42
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/gists/GIST_ID/comments/42", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/gists/GIST_ID/comments/42
    " }, { "lang": "JavaScript", @@ -9657,7 +9727,7 @@ { "verb": "patch", "requestPath": "/gists/{gist_id}/comments/{comment_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "gist_id", @@ -9683,8 +9753,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/gists/GIST_ID/comments/42 \\\n -d '{\"body\":\"body\"}'", - "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/gists/GIST_ID/comments/42 \\\n  -d '{\"body\":\"body\"}'
    " + "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/gists/GIST_ID/comments/42 \\\n -d '{\"body\":\"body\"}'", + "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/gists/GIST_ID/comments/42 \\\n  -d '{\"body\":\"body\"}'
    " }, { "lang": "JavaScript", @@ -9771,7 +9841,7 @@ { "verb": "delete", "requestPath": "/gists/{gist_id}/comments/{comment_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "gist_id", @@ -9797,8 +9867,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/gists/GIST_ID/comments/42", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/gists/GIST_ID/comments/42
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/gists/GIST_ID/comments/42", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/gists/GIST_ID/comments/42
    " }, { "lang": "JavaScript", @@ -9833,7 +9903,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "304", @@ -9857,7 +9927,7 @@ { "verb": "get", "requestPath": "/gists/{gist_id}/commits", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "gist_id", @@ -9893,8 +9963,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/gists/GIST_ID/commits", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/gists/GIST_ID/commits
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/gists/GIST_ID/commits", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/gists/GIST_ID/commits
    " }, { "lang": "JavaScript", @@ -9952,7 +10022,7 @@ { "verb": "get", "requestPath": "/gists/{gist_id}/forks", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "gist_id", @@ -9988,8 +10058,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/gists/GIST_ID/forks", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/gists/GIST_ID/forks
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/gists/GIST_ID/forks", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/gists/GIST_ID/forks
    " }, { "lang": "JavaScript", @@ -10047,7 +10117,7 @@ { "verb": "post", "requestPath": "/gists/{gist_id}/forks", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "gist_id", @@ -10063,8 +10133,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/gists/GIST_ID/forks", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/gists/GIST_ID/forks
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/gists/GIST_ID/forks", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/gists/GIST_ID/forks
    " }, { "lang": "JavaScript", @@ -10127,7 +10197,7 @@ { "verb": "get", "requestPath": "/gists/{gist_id}/star", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "gist_id", @@ -10143,8 +10213,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/gists/GIST_ID/star", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/gists/GIST_ID/star
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/gists/GIST_ID/star", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/gists/GIST_ID/star
    " }, { "lang": "JavaScript", @@ -10201,7 +10271,7 @@ { "verb": "put", "requestPath": "/gists/{gist_id}/star", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "gist_id", @@ -10217,8 +10287,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/gists/GIST_ID/star", - "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/gists/GIST_ID/star
    " + "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/gists/GIST_ID/star", + "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/gists/GIST_ID/star
    " }, { "lang": "JavaScript", @@ -10251,7 +10321,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "304", @@ -10275,7 +10345,7 @@ { "verb": "delete", "requestPath": "/gists/{gist_id}/star", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "gist_id", @@ -10291,8 +10361,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/gists/GIST_ID/star", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/gists/GIST_ID/star
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/gists/GIST_ID/star", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/gists/GIST_ID/star
    " }, { "lang": "JavaScript", @@ -10325,7 +10395,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "304", @@ -10349,7 +10419,7 @@ { "verb": "get", "requestPath": "/gists/{gist_id}/{sha}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "gist_id", @@ -10374,8 +10444,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/gists/GIST_ID/SHA", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/gists/GIST_ID/SHA
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/gists/GIST_ID/SHA", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/gists/GIST_ID/SHA
    " }, { "lang": "JavaScript", @@ -10433,13 +10503,13 @@ { "verb": "get", "requestPath": "/gitignore/templates", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/gitignore/templates", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/gitignore/templates
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/gitignore/templates", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/gitignore/templates
    " }, { "lang": "JavaScript", @@ -10487,7 +10557,7 @@ { "verb": "get", "requestPath": "/gitignore/templates/{name}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "name", @@ -10502,8 +10572,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/gitignore/templates/NAME", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/gitignore/templates/NAME
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/gitignore/templates/NAME", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/gitignore/templates/NAME
    " }, { "lang": "JavaScript", @@ -10551,7 +10621,7 @@ { "verb": "get", "requestPath": "/installation/repositories", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "per_page", @@ -10577,8 +10647,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/installation/repositories", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/installation/repositories
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/installation/repositories", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/installation/repositories
    " }, { "lang": "JavaScript", @@ -10645,13 +10715,13 @@ { "verb": "delete", "requestPath": "/installation/token", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/installation/token", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/installation/token
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/installation/token", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/installation/token
    " }, { "lang": "JavaScript", @@ -10686,7 +10756,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "bodyParameters": [], @@ -10695,7 +10765,7 @@ { "verb": "get", "requestPath": "/issues", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "filter", @@ -10709,6 +10779,7 @@ "created", "mentioned", "subscribed", + "repos", "all" ], "default": "assigned" @@ -10842,8 +10913,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/issues", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/issues
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/issues", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/issues
    " }, { "lang": "JavaScript", @@ -10908,7 +10979,7 @@ { "verb": "get", "requestPath": "/licenses", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "featured", @@ -10928,13 +10999,23 @@ "default": 30 }, "descriptionHTML": "

    Results per page (max 100).

    " + }, + { + "name": "page", + "description": "Page number of the results to fetch.", + "in": "query", + "schema": { + "type": "integer", + "default": 1 + }, + "descriptionHTML": "

    Page number of the results to fetch.

    " } ], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/licenses", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/licenses
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/licenses", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/licenses
    " }, { "lang": "JavaScript", @@ -10982,7 +11063,7 @@ { "verb": "get", "requestPath": "/licenses/{license}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "license", @@ -10997,8 +11078,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/licenses/LICENSE", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/licenses/LICENSE
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/licenses/LICENSE", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/licenses/LICENSE
    " }, { "lang": "JavaScript", @@ -11056,13 +11137,13 @@ { "verb": "post", "requestPath": "/markdown", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/markdown \\\n -d '{\"text\":\"text\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/markdown \\\n  -d '{\"text\":\"text\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/markdown \\\n -d '{\"text\":\"text\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/markdown \\\n  -d '{\"text\":\"text\"}'
    " }, { "lang": "JavaScript", @@ -11190,13 +11271,13 @@ { "verb": "post", "requestPath": "/markdown/raw", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/markdown/raw", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/markdown/raw
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/markdown/raw", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/markdown/raw
    " }, { "lang": "JavaScript", @@ -11257,13 +11338,13 @@ { "verb": "get", "requestPath": "/meta", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/meta", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/meta
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/meta", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/meta
    " }, { "lang": "JavaScript", @@ -11311,7 +11392,7 @@ { "verb": "get", "requestPath": "/networks/{owner}/{repo}/events", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "owner", @@ -11355,8 +11436,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/networks/octocat/hello-world/events", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/networks/octocat/hello-world/events
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/networks/octocat/hello-world/events", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/networks/octocat/hello-world/events
    " }, { "lang": "JavaScript", @@ -11420,7 +11501,7 @@ { "verb": "get", "requestPath": "/notifications", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "all", @@ -11488,8 +11569,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/notifications", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/notifications
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/notifications", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/notifications
    " }, { "lang": "JavaScript", @@ -11554,13 +11635,13 @@ { "verb": "put", "requestPath": "/notifications", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/notifications \\\n -d '{\"last_read_at\":\"last_read_at\"}'", - "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/notifications \\\n  -d '{\"last_read_at\":\"last_read_at\"}'
    " + "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/notifications \\\n -d '{\"last_read_at\":\"last_read_at\"}'", + "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/notifications \\\n  -d '{\"last_read_at\":\"last_read_at\"}'
    " }, { "lang": "JavaScript", @@ -11674,7 +11755,7 @@ { "verb": "get", "requestPath": "/notifications/threads/{thread_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "thread_id", @@ -11690,8 +11771,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/notifications/threads/42", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/notifications/threads/42
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/notifications/threads/42", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/notifications/threads/42
    " }, { "lang": "JavaScript", @@ -11751,7 +11832,7 @@ { "verb": "patch", "requestPath": "/notifications/threads/{thread_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "thread_id", @@ -11767,8 +11848,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/notifications/threads/42", - "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/notifications/threads/42
    " + "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/notifications/threads/42", + "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/notifications/threads/42
    " }, { "lang": "JavaScript", @@ -11822,7 +11903,7 @@ { "verb": "get", "requestPath": "/notifications/threads/{thread_id}/subscription", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "thread_id", @@ -11838,8 +11919,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/notifications/threads/42/subscription", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/notifications/threads/42/subscription
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/notifications/threads/42/subscription", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/notifications/threads/42/subscription
    " }, { "lang": "JavaScript", @@ -11899,7 +11980,7 @@ { "verb": "put", "requestPath": "/notifications/threads/{thread_id}/subscription", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "thread_id", @@ -11915,8 +11996,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/notifications/threads/42/subscription \\\n -d '{\"ignored\":true}'", - "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/notifications/threads/42/subscription \\\n  -d '{\"ignored\":true}'
    " + "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/notifications/threads/42/subscription \\\n -d '{\"ignored\":true}'", + "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/notifications/threads/42/subscription \\\n  -d '{\"ignored\":true}'
    " }, { "lang": "JavaScript", @@ -12008,7 +12089,7 @@ { "verb": "delete", "requestPath": "/notifications/threads/{thread_id}/subscription", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "thread_id", @@ -12024,8 +12105,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/notifications/threads/42/subscription", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/notifications/threads/42/subscription
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/notifications/threads/42/subscription", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/notifications/threads/42/subscription
    " }, { "lang": "JavaScript", @@ -12060,7 +12141,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "304", @@ -12084,7 +12165,7 @@ { "verb": "get", "requestPath": "/octocat", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "s", @@ -12100,8 +12181,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/octocat", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/octocat
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/octocat", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/octocat
    " }, { "lang": "JavaScript", @@ -12138,7 +12219,7 @@ { "verb": "get", "requestPath": "/organizations", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "since", @@ -12164,8 +12245,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/organizations", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/organizations
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/organizations", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/organizations
    " }, { "lang": "JavaScript", @@ -12213,7 +12294,7 @@ { "verb": "get", "requestPath": "/orgs/{org}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "org", @@ -12228,8 +12309,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/orgs/ORG", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/orgs/ORG
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/orgs/ORG", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/orgs/ORG
    " }, { "lang": "JavaScript", @@ -12272,13 +12353,7 @@ "httpStatusCode": "200", "httpStatusMessage": "OK", "description": "Default response", - "payload": "
    {\n  \"login\": \"github\",\n  \"id\": 1,\n  \"node_id\": \"MDEyOk9yZ2FuaXphdGlvbjE=\",\n  \"url\": \"https://api.github.com/orgs/github\",\n  \"repos_url\": \"https://api.github.com/orgs/github/repos\",\n  \"events_url\": \"https://api.github.com/orgs/github/events\",\n  \"hooks_url\": \"https://api.github.com/orgs/github/hooks\",\n  \"issues_url\": \"https://api.github.com/orgs/github/issues\",\n  \"members_url\": \"https://api.github.com/orgs/github/members{/member}\",\n  \"public_members_url\": \"https://api.github.com/orgs/github/public_members{/member}\",\n  \"avatar_url\": \"https://github.com/images/error/octocat_happy.gif\",\n  \"description\": \"A great organization\",\n  \"name\": \"github\",\n  \"company\": \"GitHub\",\n  \"blog\": \"https://github.com/blog\",\n  \"location\": \"San Francisco\",\n  \"email\": \"octocat@github.com\",\n  \"twitter_username\": \"github\",\n  \"is_verified\": true,\n  \"has_organization_projects\": true,\n  \"has_repository_projects\": true,\n  \"public_repos\": 2,\n  \"public_gists\": 1,\n  \"followers\": 20,\n  \"following\": 0,\n  \"html_url\": \"https://github.com/octocat\",\n  \"created_at\": \"2008-01-14T04:33:35Z\",\n  \"updated_at\": \"2014-03-03T18:58:10Z\",\n  \"type\": \"Organization\",\n  \"total_private_repos\": 100,\n  \"owned_private_repos\": 100,\n  \"private_gists\": 81,\n  \"disk_usage\": 10000,\n  \"collaborators\": 8,\n  \"billing_email\": \"mona@github.com\",\n  \"plan\": {\n    \"name\": \"Medium\",\n    \"space\": 400,\n    \"private_repos\": 20\n  },\n  \"default_repository_permission\": \"read\",\n  \"members_can_create_repositories\": true,\n  \"two_factor_requirement_enabled\": true,\n  \"members_allowed_repository_creation_type\": \"all\",\n  \"members_can_create_public_repositories\": false,\n  \"members_can_create_private_repositories\": false,\n  \"members_can_create_internal_repositories\": false,\n  \"members_can_create_pages\": true\n}\n
    " - }, - { - "httpStatusCode": "200", - "httpStatusMessage": "OK", - "description": "Response with GitHub plan information", - "payload": "
    {\n  \"login\": \"github\",\n  \"id\": 1,\n  \"node_id\": \"MDEyOk9yZ2FuaXphdGlvbjE=\",\n  \"url\": \"https://api.github.com/orgs/github\",\n  \"repos_url\": \"https://api.github.com/orgs/github/repos\",\n  \"events_url\": \"https://api.github.com/orgs/github/events\",\n  \"hooks_url\": \"https://api.github.com/orgs/github/hooks\",\n  \"issues_url\": \"https://api.github.com/orgs/github/issues\",\n  \"members_url\": \"https://api.github.com/orgs/github/members{/member}\",\n  \"public_members_url\": \"https://api.github.com/orgs/github/public_members{/member}\",\n  \"avatar_url\": \"https://github.com/images/error/octocat_happy.gif\",\n  \"description\": \"A great organization\",\n  \"name\": \"github\",\n  \"company\": \"GitHub\",\n  \"blog\": \"https://github.com/blog\",\n  \"location\": \"San Francisco\",\n  \"email\": \"octocat@github.com\",\n  \"twitter_username\": \"github\",\n  \"is_verified\": true,\n  \"has_organization_projects\": true,\n  \"has_repository_projects\": true,\n  \"public_repos\": 2,\n  \"public_gists\": 1,\n  \"followers\": 20,\n  \"following\": 0,\n  \"html_url\": \"https://github.com/octocat\",\n  \"created_at\": \"2008-01-14T04:33:35Z\",\n  \"updated_at\": \"2014-03-03T18:58:10Z\",\n  \"type\": \"Organization\",\n  \"plan\": {\n    \"name\": \"team\",\n    \"space\": 976562499,\n    \"private_repos\": 999999,\n    \"filled_seats\": 4,\n    \"seats\": 5\n  }\n}\n
    " + "payload": "
    {\n  \"login\": \"github\",\n  \"id\": 1,\n  \"node_id\": \"MDEyOk9yZ2FuaXphdGlvbjE=\",\n  \"url\": \"https://api.github.com/orgs/github\",\n  \"repos_url\": \"https://api.github.com/orgs/github/repos\",\n  \"events_url\": \"https://api.github.com/orgs/github/events\",\n  \"hooks_url\": \"https://api.github.com/orgs/github/hooks\",\n  \"issues_url\": \"https://api.github.com/orgs/github/issues\",\n  \"members_url\": \"https://api.github.com/orgs/github/members{/member}\",\n  \"public_members_url\": \"https://api.github.com/orgs/github/public_members{/member}\",\n  \"avatar_url\": \"https://github.com/images/error/octocat_happy.gif\",\n  \"description\": \"A great organization\",\n  \"name\": \"github\",\n  \"company\": \"GitHub\",\n  \"blog\": \"https://github.com/blog\",\n  \"location\": \"San Francisco\",\n  \"email\": \"octocat@github.com\",\n  \"twitter_username\": \"github\",\n  \"is_verified\": true,\n  \"has_organization_projects\": true,\n  \"has_repository_projects\": true,\n  \"public_repos\": 2,\n  \"public_gists\": 1,\n  \"followers\": 20,\n  \"following\": 0,\n  \"html_url\": \"https://github.com/octocat\",\n  \"created_at\": \"2008-01-14T04:33:35Z\",\n  \"updated_at\": \"2014-03-03T18:58:10Z\",\n  \"type\": \"Organization\",\n  \"total_private_repos\": 100,\n  \"owned_private_repos\": 100,\n  \"private_gists\": 81,\n  \"disk_usage\": 10000,\n  \"collaborators\": 8,\n  \"billing_email\": \"mona@github.com\",\n  \"plan\": {\n    \"name\": \"Medium\",\n    \"space\": 400,\n    \"private_repos\": 20,\n    \"filled_seats\": 4,\n    \"seats\": 5\n  },\n  \"default_repository_permission\": \"read\",\n  \"members_can_create_repositories\": true,\n  \"two_factor_requirement_enabled\": true,\n  \"members_allowed_repository_creation_type\": \"all\",\n  \"members_can_create_public_repositories\": false,\n  \"members_can_create_private_repositories\": false,\n  \"members_can_create_internal_repositories\": false,\n  \"members_can_create_pages\": true\n}\n
    " }, { "httpStatusCode": "404", @@ -12290,7 +12365,7 @@ { "verb": "patch", "requestPath": "/orgs/{org}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "org", @@ -12305,8 +12380,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/orgs/ORG \\\n -d '{\"billing_email\":\"billing_email\"}'", - "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/orgs/ORG \\\n  -d '{\"billing_email\":\"billing_email\"}'
    " + "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/orgs/ORG \\\n -d '{\"billing_email\":\"billing_email\"}'", + "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/orgs/ORG \\\n  -d '{\"billing_email\":\"billing_email\"}'
    " }, { "lang": "JavaScript", @@ -12769,7 +12844,7 @@ { "verb": "get", "requestPath": "/orgs/{org}/actions/permissions", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "org", @@ -12784,8 +12859,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/orgs/ORG/actions/permissions", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/orgs/ORG/actions/permissions
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/orgs/ORG/actions/permissions", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/orgs/ORG/actions/permissions
    " }, { "lang": "JavaScript", @@ -12830,7 +12905,7 @@ { "verb": "put", "requestPath": "/orgs/{org}/actions/permissions", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "org", @@ -12845,8 +12920,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/orgs/ORG/actions/permissions \\\n -d '{\"enabled_repositories\":\"enabled_repositories\"}'", - "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/orgs/ORG/actions/permissions \\\n  -d '{\"enabled_repositories\":\"enabled_repositories\"}'
    " + "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/orgs/ORG/actions/permissions \\\n -d '{\"enabled_repositories\":\"enabled_repositories\"}'", + "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/orgs/ORG/actions/permissions \\\n  -d '{\"enabled_repositories\":\"enabled_repositories\"}'
    " }, { "lang": "JavaScript", @@ -12927,7 +13002,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "descriptionHTML": "

    Sets the GitHub Actions permissions policy for repositories and allowed actions in an organization.

    \n

    If 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

    You 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.

    ", @@ -12965,7 +13040,7 @@ { "verb": "get", "requestPath": "/orgs/{org}/actions/permissions/repositories", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "org", @@ -13000,8 +13075,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/orgs/ORG/actions/permissions/repositories", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/orgs/ORG/actions/permissions/repositories
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/orgs/ORG/actions/permissions/repositories", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/orgs/ORG/actions/permissions/repositories
    " }, { "lang": "JavaScript", @@ -13046,7 +13121,7 @@ { "verb": "put", "requestPath": "/orgs/{org}/actions/permissions/repositories", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "org", @@ -13061,8 +13136,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/orgs/ORG/actions/permissions/repositories \\\n -d '{\"selected_repository_ids\":[42]}'", - "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/orgs/ORG/actions/permissions/repositories \\\n  -d '{\"selected_repository_ids\":[42]}'
    " + "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/orgs/ORG/actions/permissions/repositories \\\n -d '{\"selected_repository_ids\":[42]}'", + "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/orgs/ORG/actions/permissions/repositories \\\n  -d '{\"selected_repository_ids\":[42]}'
    " }, { "lang": "JavaScript", @@ -13130,7 +13205,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "descriptionHTML": "

    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.\"

    \n

    You 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.

    ", @@ -13153,7 +13228,7 @@ { "verb": "put", "requestPath": "/orgs/{org}/actions/permissions/repositories/{repository_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "org", @@ -13177,8 +13252,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/orgs/ORG/actions/permissions/repositories/42", - "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/orgs/ORG/actions/permissions/repositories/42
    " + "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/orgs/ORG/actions/permissions/repositories/42", + "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/orgs/ORG/actions/permissions/repositories/42
    " }, { "lang": "JavaScript", @@ -13213,7 +13288,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "bodyParameters": [], @@ -13222,7 +13297,7 @@ { "verb": "delete", "requestPath": "/orgs/{org}/actions/permissions/repositories/{repository_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "org", @@ -13246,8 +13321,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/orgs/ORG/actions/permissions/repositories/42", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/orgs/ORG/actions/permissions/repositories/42
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/orgs/ORG/actions/permissions/repositories/42", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/orgs/ORG/actions/permissions/repositories/42
    " }, { "lang": "JavaScript", @@ -13282,7 +13357,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "bodyParameters": [], @@ -13291,7 +13366,7 @@ { "verb": "get", "requestPath": "/orgs/{org}/actions/permissions/selected-actions", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "org", @@ -13306,8 +13381,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/orgs/ORG/actions/permissions/selected-actions", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/orgs/ORG/actions/permissions/selected-actions
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/orgs/ORG/actions/permissions/selected-actions", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/orgs/ORG/actions/permissions/selected-actions
    " }, { "lang": "JavaScript", @@ -13352,7 +13427,7 @@ { "verb": "put", "requestPath": "/orgs/{org}/actions/permissions/selected-actions", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "org", @@ -13367,8 +13442,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/orgs/ORG/actions/permissions/selected-actions \\\n -d '{\"github_owned_allowed\":true,\"patterns_allowed\":[\"patterns_allowed\"],\"verified_allowed\":true}'", - "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/orgs/ORG/actions/permissions/selected-actions \\\n  -d '{\"github_owned_allowed\":true,\"patterns_allowed\":[\"patterns_allowed\"],\"verified_allowed\":true}'
    " + "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/orgs/ORG/actions/permissions/selected-actions \\\n -d '{\"github_owned_allowed\":true,\"patterns_allowed\":[\"patterns_allowed\"],\"verified_allowed\":true}'", + "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/orgs/ORG/actions/permissions/selected-actions \\\n  -d '{\"github_owned_allowed\":true,\"patterns_allowed\":[\"patterns_allowed\"],\"verified_allowed\":true}'
    " }, { "lang": "JavaScript", @@ -13461,7 +13536,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "descriptionHTML": "

    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.\"

    \n

    If 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

    To 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

    You 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.

    ", @@ -13501,7 +13576,7 @@ { "verb": "post", "requestPath": "/orgs/{org}/actions/runner-groups", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "org", @@ -13516,8 +13591,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/orgs/ORG/actions/runner-groups \\\n -d '{\"name\":\"name\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/orgs/ORG/actions/runner-groups \\\n  -d '{\"name\":\"name\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/orgs/ORG/actions/runner-groups \\\n -d '{\"name\":\"name\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/orgs/ORG/actions/runner-groups \\\n  -d '{\"name\":\"name\"}'
    " }, { "lang": "JavaScript", @@ -13689,7 +13764,7 @@ { "verb": "patch", "requestPath": "/orgs/{org}/actions/runner-groups/{runner_group_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "org", @@ -13714,8 +13789,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/orgs/ORG/actions/runner-groups/42 \\\n -d '{\"name\":\"name\"}'", - "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/orgs/ORG/actions/runner-groups/42 \\\n  -d '{\"name\":\"name\"}'
    " + "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/orgs/ORG/actions/runner-groups/42 \\\n -d '{\"name\":\"name\"}'", + "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/orgs/ORG/actions/runner-groups/42 \\\n  -d '{\"name\":\"name\"}'
    " }, { "lang": "JavaScript", @@ -13822,7 +13897,7 @@ { "verb": "delete", "requestPath": "/orgs/{org}/actions/runner-groups/{runner_group_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "org", @@ -13847,8 +13922,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/orgs/ORG/actions/runner-groups/42", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/orgs/ORG/actions/runner-groups/42
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/orgs/ORG/actions/runner-groups/42", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/orgs/ORG/actions/runner-groups/42
    " }, { "lang": "JavaScript", @@ -13883,7 +13958,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "bodyParameters": [], @@ -13892,7 +13967,7 @@ { "verb": "delete", "requestPath": "/orgs/{org}/actions/runners/{runner_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "org", @@ -13917,8 +13992,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/orgs/ORG/actions/runners/42", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/orgs/ORG/actions/runners/42
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/orgs/ORG/actions/runners/42", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/orgs/ORG/actions/runners/42
    " }, { "lang": "JavaScript", @@ -13953,7 +14028,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "bodyParameters": [], @@ -13962,7 +14037,7 @@ { "verb": "get", "requestPath": "/orgs/{org}/actions/secrets", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "org", @@ -13997,8 +14072,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/orgs/ORG/actions/secrets", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/orgs/ORG/actions/secrets
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/orgs/ORG/actions/secrets", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/orgs/ORG/actions/secrets
    " }, { "lang": "JavaScript", @@ -14043,7 +14118,7 @@ { "verb": "get", "requestPath": "/orgs/{org}/actions/secrets/public-key", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "org", @@ -14058,8 +14133,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/orgs/ORG/actions/secrets/public-key", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/orgs/ORG/actions/secrets/public-key
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/orgs/ORG/actions/secrets/public-key", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/orgs/ORG/actions/secrets/public-key
    " }, { "lang": "JavaScript", @@ -14104,7 +14179,7 @@ { "verb": "get", "requestPath": "/orgs/{org}/actions/secrets/{secret_name}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "org", @@ -14129,8 +14204,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/orgs/ORG/actions/secrets/SECRET_NAME", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/orgs/ORG/actions/secrets/SECRET_NAME
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/orgs/ORG/actions/secrets/SECRET_NAME", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/orgs/ORG/actions/secrets/SECRET_NAME
    " }, { "lang": "JavaScript", @@ -14175,7 +14250,7 @@ { "verb": "put", "requestPath": "/orgs/{org}/actions/secrets/{secret_name}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "org", @@ -14200,8 +14275,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/orgs/ORG/actions/secrets/SECRET_NAME \\\n -d '{\"encrypted_value\":\"encrypted_value\"}'", - "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/orgs/ORG/actions/secrets/SECRET_NAME \\\n  -d '{\"encrypted_value\":\"encrypted_value\"}'
    " + "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/orgs/ORG/actions/secrets/SECRET_NAME \\\n -d '{\"encrypted_value\":\"encrypted_value\"}'", + "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/orgs/ORG/actions/secrets/SECRET_NAME \\\n  -d '{\"encrypted_value\":\"encrypted_value\"}'
    " }, { "lang": "JavaScript", @@ -14361,7 +14436,7 @@ { "verb": "delete", "requestPath": "/orgs/{org}/actions/secrets/{secret_name}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "org", @@ -14386,8 +14461,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/orgs/ORG/actions/secrets/SECRET_NAME", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/orgs/ORG/actions/secrets/SECRET_NAME
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/orgs/ORG/actions/secrets/SECRET_NAME", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/orgs/ORG/actions/secrets/SECRET_NAME
    " }, { "lang": "JavaScript", @@ -14422,7 +14497,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "bodyParameters": [], @@ -14431,7 +14506,7 @@ { "verb": "get", "requestPath": "/orgs/{org}/actions/secrets/{secret_name}/repositories", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "org", @@ -14451,13 +14526,33 @@ "type": "string" }, "descriptionHTML": "

    secret_name parameter

    " + }, + { + "name": "page", + "description": "Page number of the results to fetch.", + "in": "query", + "schema": { + "type": "integer", + "default": 1 + }, + "descriptionHTML": "

    Page number of the results to fetch.

    " + }, + { + "name": "per_page", + "description": "Results per page (max 100).", + "in": "query", + "schema": { + "type": "integer", + "default": 30 + }, + "descriptionHTML": "

    Results per page (max 100).

    " } ], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/orgs/ORG/actions/secrets/SECRET_NAME/repositories", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/orgs/ORG/actions/secrets/SECRET_NAME/repositories
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/orgs/ORG/actions/secrets/SECRET_NAME/repositories", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/orgs/ORG/actions/secrets/SECRET_NAME/repositories
    " }, { "lang": "JavaScript", @@ -14502,7 +14597,7 @@ { "verb": "put", "requestPath": "/orgs/{org}/actions/secrets/{secret_name}/repositories", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "org", @@ -14527,8 +14622,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/orgs/ORG/actions/secrets/SECRET_NAME/repositories \\\n -d '{\"selected_repository_ids\":[42]}'", - "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/orgs/ORG/actions/secrets/SECRET_NAME/repositories \\\n  -d '{\"selected_repository_ids\":[42]}'
    " + "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/orgs/ORG/actions/secrets/SECRET_NAME/repositories \\\n -d '{\"selected_repository_ids\":[42]}'", + "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/orgs/ORG/actions/secrets/SECRET_NAME/repositories \\\n  -d '{\"selected_repository_ids\":[42]}'
    " }, { "lang": "JavaScript", @@ -14591,7 +14686,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "descriptionHTML": "

    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. 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.

    ", @@ -14613,7 +14708,7 @@ { "verb": "put", "requestPath": "/orgs/{org}/actions/secrets/{secret_name}/repositories/{repository_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "org", @@ -14647,8 +14742,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/orgs/ORG/actions/secrets/SECRET_NAME/repositories/42", - "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/orgs/ORG/actions/secrets/SECRET_NAME/repositories/42
    " + "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/orgs/ORG/actions/secrets/SECRET_NAME/repositories/42", + "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/orgs/ORG/actions/secrets/SECRET_NAME/repositories/42
    " }, { "lang": "JavaScript", @@ -14697,7 +14792,7 @@ { "verb": "delete", "requestPath": "/orgs/{org}/actions/secrets/{secret_name}/repositories/{repository_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "org", @@ -14731,8 +14826,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/orgs/ORG/actions/secrets/SECRET_NAME/repositories/42", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/orgs/ORG/actions/secrets/SECRET_NAME/repositories/42
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/orgs/ORG/actions/secrets/SECRET_NAME/repositories/42", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/orgs/ORG/actions/secrets/SECRET_NAME/repositories/42
    " }, { "lang": "JavaScript", @@ -14781,7 +14876,7 @@ { "verb": "get", "requestPath": "/orgs/{org}/events", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "org", @@ -14816,8 +14911,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/orgs/ORG/events", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/orgs/ORG/events
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/orgs/ORG/events", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/orgs/ORG/events
    " }, { "lang": "JavaScript", @@ -14861,7 +14956,7 @@ { "verb": "get", "requestPath": "/orgs/{org}/hooks", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "org", @@ -14896,8 +14991,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/orgs/ORG/hooks", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/orgs/ORG/hooks
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/orgs/ORG/hooks", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/orgs/ORG/hooks
    " }, { "lang": "JavaScript", @@ -14947,7 +15042,7 @@ { "verb": "post", "requestPath": "/orgs/{org}/hooks", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "org", @@ -14962,8 +15057,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/orgs/ORG/hooks \\\n -d '{\"name\":\"name\",\"config\":{\"url\":\"url\",\"content_type\":\"content_type\",\"secret\":\"secret\",\"insecure_ssl\":\"insecure_ssl\",\"username\":\"username\",\"password\":\"password\"}}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/orgs/ORG/hooks \\\n  -d '{\"name\":\"name\",\"config\":{\"url\":\"url\",\"content_type\":\"content_type\",\"secret\":\"secret\",\"insecure_ssl\":\"insecure_ssl\",\"username\":\"username\",\"password\":\"password\"}}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/orgs/ORG/hooks \\\n -d '{\"name\":\"name\",\"config\":{\"url\":\"url\",\"content_type\":\"content_type\",\"secret\":\"secret\",\"insecure_ssl\":\"insecure_ssl\",\"username\":\"username\",\"password\":\"password\"}}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/orgs/ORG/hooks \\\n  -d '{\"name\":\"name\",\"config\":{\"url\":\"url\",\"content_type\":\"content_type\",\"secret\":\"secret\",\"insecure_ssl\":\"insecure_ssl\",\"username\":\"username\",\"password\":\"password\"}}'
    " }, { "lang": "JavaScript", @@ -15394,7 +15489,7 @@ { "verb": "get", "requestPath": "/orgs/{org}/hooks/{hook_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "org", @@ -15418,8 +15513,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/orgs/ORG/hooks/42", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/orgs/ORG/hooks/42
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/orgs/ORG/hooks/42", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/orgs/ORG/hooks/42
    " }, { "lang": "JavaScript", @@ -15469,7 +15564,7 @@ { "verb": "patch", "requestPath": "/orgs/{org}/hooks/{hook_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "org", @@ -15493,8 +15588,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/orgs/ORG/hooks/42 \\\n -d '{\"config\":{\"url\":\"url\",\"content_type\":\"content_type\",\"secret\":\"secret\",\"insecure_ssl\":\"insecure_ssl\"}}'", - "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/orgs/ORG/hooks/42 \\\n  -d '{\"config\":{\"url\":\"url\",\"content_type\":\"content_type\",\"secret\":\"secret\",\"insecure_ssl\":\"insecure_ssl\"}}'
    " + "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/orgs/ORG/hooks/42 \\\n -d '{\"config\":{\"url\":\"url\",\"content_type\":\"content_type\",\"secret\":\"secret\",\"insecure_ssl\":\"insecure_ssl\"}}'", + "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/orgs/ORG/hooks/42 \\\n  -d '{\"config\":{\"url\":\"url\",\"content_type\":\"content_type\",\"secret\":\"secret\",\"insecure_ssl\":\"insecure_ssl\"}}'
    " }, { "lang": "JavaScript", @@ -15843,7 +15938,7 @@ { "verb": "delete", "requestPath": "/orgs/{org}/hooks/{hook_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "org", @@ -15867,8 +15962,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/orgs/ORG/hooks/42", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/orgs/ORG/hooks/42
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/orgs/ORG/hooks/42", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/orgs/ORG/hooks/42
    " }, { "lang": "JavaScript", @@ -15903,7 +15998,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "404", @@ -15917,7 +16012,7 @@ { "verb": "get", "requestPath": "/orgs/{org}/hooks/{hook_id}/config", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "org", @@ -15941,8 +16036,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/orgs/ORG/hooks/42/config", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/orgs/ORG/hooks/42/config
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/orgs/ORG/hooks/42/config", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/orgs/ORG/hooks/42/config
    " }, { "lang": "JavaScript", @@ -15987,7 +16082,7 @@ { "verb": "patch", "requestPath": "/orgs/{org}/hooks/{hook_id}/config", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "org", @@ -16011,8 +16106,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/orgs/ORG/hooks/42/config \\\n -d '{\"url\":\"url\"}'", - "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/orgs/ORG/hooks/42/config \\\n  -d '{\"url\":\"url\"}'
    " + "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/orgs/ORG/hooks/42/config \\\n -d '{\"url\":\"url\"}'", + "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/orgs/ORG/hooks/42/config \\\n  -d '{\"url\":\"url\"}'
    " }, { "lang": "JavaScript", @@ -16157,7 +16252,7 @@ { "verb": "post", "requestPath": "/orgs/{org}/hooks/{hook_id}/pings", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "org", @@ -16181,8 +16276,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/orgs/ORG/hooks/42/pings", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/orgs/ORG/hooks/42/pings
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/orgs/ORG/hooks/42/pings", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/orgs/ORG/hooks/42/pings
    " }, { "lang": "JavaScript", @@ -16217,7 +16312,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "404", @@ -16231,7 +16326,7 @@ { "verb": "get", "requestPath": "/orgs/{org}/installation", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "org", @@ -16246,8 +16341,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/orgs/ORG/installation", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/orgs/ORG/installation
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/orgs/ORG/installation", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/orgs/ORG/installation
    " }, { "lang": "JavaScript", @@ -16290,7 +16385,7 @@ { "verb": "get", "requestPath": "/orgs/{org}/installations", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "org", @@ -16325,8 +16420,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/orgs/ORG/installations", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/orgs/ORG/installations
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/orgs/ORG/installations", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/orgs/ORG/installations
    " }, { "lang": "JavaScript", @@ -16369,7 +16464,7 @@ { "verb": "get", "requestPath": "/orgs/{org}/issues", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "org", @@ -16392,6 +16487,7 @@ "created", "mentioned", "subscribed", + "repos", "all" ], "default": "assigned" @@ -16489,8 +16585,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/orgs/ORG/issues", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/orgs/ORG/issues
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/orgs/ORG/issues", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/orgs/ORG/issues
    " }, { "lang": "JavaScript", @@ -16545,7 +16641,7 @@ { "verb": "get", "requestPath": "/orgs/{org}/members", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "org", @@ -16611,8 +16707,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/orgs/ORG/members", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/orgs/ORG/members
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/orgs/ORG/members", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/orgs/ORG/members
    " }, { "lang": "JavaScript", @@ -16667,7 +16763,7 @@ { "verb": "get", "requestPath": "/orgs/{org}/members/{username}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "org", @@ -16691,8 +16787,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/orgs/ORG/members/USERNAME", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/orgs/ORG/members/USERNAME
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/orgs/ORG/members/USERNAME", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/orgs/ORG/members/USERNAME
    " }, { "lang": "JavaScript", @@ -16746,7 +16842,7 @@ { "verb": "delete", "requestPath": "/orgs/{org}/members/{username}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "org", @@ -16770,8 +16866,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/orgs/ORG/members/USERNAME", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/orgs/ORG/members/USERNAME
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/orgs/ORG/members/USERNAME", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/orgs/ORG/members/USERNAME
    " }, { "lang": "JavaScript", @@ -16806,7 +16902,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "403", @@ -16820,7 +16916,7 @@ { "verb": "get", "requestPath": "/orgs/{org}/memberships/{username}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "org", @@ -16844,8 +16940,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/orgs/ORG/memberships/USERNAME", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/orgs/ORG/memberships/USERNAME
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/orgs/ORG/memberships/USERNAME", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/orgs/ORG/memberships/USERNAME
    " }, { "lang": "JavaScript", @@ -16854,7 +16950,7 @@ } ], "summary": "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.", + "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.", "tags": [ "orgs" ], @@ -16877,7 +16973,7 @@ "subcategoryLabel": "Members", "notes": [], "bodyParameters": [], - "descriptionHTML": "

    In order to get a user's membership with an organization, the authenticated user must be an organization member.

    ", + "descriptionHTML": "

    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.

    ", "responses": [ { "httpStatusCode": "200", @@ -16885,18 +16981,6 @@ "description": "Response if user has an active admin membership with organization", "payload": "
    {\n  \"url\": \"https://api.github.com/orgs/octocat/memberships/defunkt\",\n  \"state\": \"active\",\n  \"role\": \"admin\",\n  \"organization_url\": \"https://api.github.com/orgs/octocat\",\n  \"organization\": {\n    \"login\": \"github\",\n    \"id\": 1,\n    \"node_id\": \"MDEyOk9yZ2FuaXphdGlvbjE=\",\n    \"url\": \"https://api.github.com/orgs/github\",\n    \"repos_url\": \"https://api.github.com/orgs/github/repos\",\n    \"events_url\": \"https://api.github.com/orgs/github/events\",\n    \"hooks_url\": \"https://api.github.com/orgs/github/hooks\",\n    \"issues_url\": \"https://api.github.com/orgs/github/issues\",\n    \"members_url\": \"https://api.github.com/orgs/github/members{/member}\",\n    \"public_members_url\": \"https://api.github.com/orgs/github/public_members{/member}\",\n    \"avatar_url\": \"https://github.com/images/error/octocat_happy.gif\",\n    \"description\": \"A great organization\"\n  },\n  \"user\": {\n    \"login\": \"octocat\",\n    \"id\": 1,\n    \"node_id\": \"MDQ6VXNlcjE=\",\n    \"avatar_url\": \"https://github.com/images/error/octocat_happy.gif\",\n    \"gravatar_id\": \"\",\n    \"url\": \"https://api.github.com/users/octocat\",\n    \"html_url\": \"https://github.com/octocat\",\n    \"followers_url\": \"https://api.github.com/users/octocat/followers\",\n    \"following_url\": \"https://api.github.com/users/octocat/following{/other_user}\",\n    \"gists_url\": \"https://api.github.com/users/octocat/gists{/gist_id}\",\n    \"starred_url\": \"https://api.github.com/users/octocat/starred{/owner}{/repo}\",\n    \"subscriptions_url\": \"https://api.github.com/users/octocat/subscriptions\",\n    \"organizations_url\": \"https://api.github.com/users/octocat/orgs\",\n    \"repos_url\": \"https://api.github.com/users/octocat/repos\",\n    \"events_url\": \"https://api.github.com/users/octocat/events{/privacy}\",\n    \"received_events_url\": \"https://api.github.com/users/octocat/received_events\",\n    \"type\": \"User\",\n    \"site_admin\": false\n  }\n}\n
    " }, - { - "httpStatusCode": "200", - "httpStatusMessage": "OK", - "description": "Response if user has an active membership with organization", - "payload": "
    {\n  \"url\": \"https://api.github.com/orgs/octocat/memberships/defunkt\",\n  \"state\": \"active\",\n  \"role\": \"member\",\n  \"organization_url\": \"https://api.github.com/orgs/octocat\",\n  \"organization\": {\n    \"login\": \"github\",\n    \"id\": 1,\n    \"node_id\": \"MDEyOk9yZ2FuaXphdGlvbjE=\",\n    \"url\": \"https://api.github.com/orgs/github\",\n    \"repos_url\": \"https://api.github.com/orgs/github/repos\",\n    \"events_url\": \"https://api.github.com/orgs/github/events\",\n    \"hooks_url\": \"https://api.github.com/orgs/github/hooks\",\n    \"issues_url\": \"https://api.github.com/orgs/github/issues\",\n    \"members_url\": \"https://api.github.com/orgs/github/members{/member}\",\n    \"public_members_url\": \"https://api.github.com/orgs/github/public_members{/member}\",\n    \"avatar_url\": \"https://github.com/images/error/octocat_happy.gif\",\n    \"description\": \"A great organization\"\n  },\n  \"user\": {\n    \"login\": \"octocat\",\n    \"id\": 1,\n    \"node_id\": \"MDQ6VXNlcjE=\",\n    \"avatar_url\": \"https://github.com/images/error/octocat_happy.gif\",\n    \"gravatar_id\": \"\",\n    \"url\": \"https://api.github.com/users/octocat\",\n    \"html_url\": \"https://github.com/octocat\",\n    \"followers_url\": \"https://api.github.com/users/octocat/followers\",\n    \"following_url\": \"https://api.github.com/users/octocat/following{/other_user}\",\n    \"gists_url\": \"https://api.github.com/users/octocat/gists{/gist_id}\",\n    \"starred_url\": \"https://api.github.com/users/octocat/starred{/owner}{/repo}\",\n    \"subscriptions_url\": \"https://api.github.com/users/octocat/subscriptions\",\n    \"organizations_url\": \"https://api.github.com/users/octocat/orgs\",\n    \"repos_url\": \"https://api.github.com/users/octocat/repos\",\n    \"events_url\": \"https://api.github.com/users/octocat/events{/privacy}\",\n    \"received_events_url\": \"https://api.github.com/users/octocat/received_events\",\n    \"type\": \"User\",\n    \"site_admin\": false\n  }\n}\n
    " - }, - { - "httpStatusCode": "200", - "httpStatusMessage": "OK", - "description": "Response if user has a pending membership with organization", - "payload": "
    {\n  \"url\": \"https://api.github.com/orgs/invitocat/memberships/defunkt\",\n  \"state\": \"pending\",\n  \"role\": \"member\",\n  \"organization_url\": \"https://api.github.com/orgs/invitocat\",\n  \"organization\": {\n    \"login\": \"github\",\n    \"id\": 1,\n    \"node_id\": \"MDEyOk9yZ2FuaXphdGlvbjE=\",\n    \"url\": \"https://api.github.com/orgs/github\",\n    \"repos_url\": \"https://api.github.com/orgs/github/repos\",\n    \"events_url\": \"https://api.github.com/orgs/github/events\",\n    \"hooks_url\": \"https://api.github.com/orgs/github/hooks\",\n    \"issues_url\": \"https://api.github.com/orgs/github/issues\",\n    \"members_url\": \"https://api.github.com/orgs/github/members{/member}\",\n    \"public_members_url\": \"https://api.github.com/orgs/github/public_members{/member}\",\n    \"avatar_url\": \"https://github.com/images/error/octocat_happy.gif\",\n    \"description\": \"A great organization\"\n  },\n  \"user\": {\n    \"login\": \"octocat\",\n    \"id\": 1,\n    \"node_id\": \"MDQ6VXNlcjE=\",\n    \"avatar_url\": \"https://github.com/images/error/octocat_happy.gif\",\n    \"gravatar_id\": \"\",\n    \"url\": \"https://api.github.com/users/octocat\",\n    \"html_url\": \"https://github.com/octocat\",\n    \"followers_url\": \"https://api.github.com/users/octocat/followers\",\n    \"following_url\": \"https://api.github.com/users/octocat/following{/other_user}\",\n    \"gists_url\": \"https://api.github.com/users/octocat/gists{/gist_id}\",\n    \"starred_url\": \"https://api.github.com/users/octocat/starred{/owner}{/repo}\",\n    \"subscriptions_url\": \"https://api.github.com/users/octocat/subscriptions\",\n    \"organizations_url\": \"https://api.github.com/users/octocat/orgs\",\n    \"repos_url\": \"https://api.github.com/users/octocat/repos\",\n    \"events_url\": \"https://api.github.com/users/octocat/events{/privacy}\",\n    \"received_events_url\": \"https://api.github.com/users/octocat/received_events\",\n    \"type\": \"User\",\n    \"site_admin\": false\n  }\n}\n
    " - }, { "httpStatusCode": "403", "httpStatusMessage": "Forbidden", @@ -16912,7 +16996,7 @@ { "verb": "put", "requestPath": "/orgs/{org}/memberships/{username}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "org", @@ -16936,8 +17020,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/orgs/ORG/memberships/USERNAME \\\n -d '{\"role\":\"role\"}'", - "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/orgs/ORG/memberships/USERNAME \\\n  -d '{\"role\":\"role\"}'
    " + "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/orgs/ORG/memberships/USERNAME \\\n -d '{\"role\":\"role\"}'", + "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/orgs/ORG/memberships/USERNAME \\\n  -d '{\"role\":\"role\"}'
    " }, { "lang": "JavaScript", @@ -17014,13 +17098,7 @@ { "httpStatusCode": "200", "httpStatusMessage": "OK", - "description": "Response if user was previously unaffiliated with organization", - "payload": "
    {\n  \"url\": \"https://api.github.com/orgs/invitocat/memberships/defunkt\",\n  \"state\": \"pending\",\n  \"role\": \"admin\",\n  \"organization_url\": \"https://api.github.com/orgs/invitocat\",\n  \"organization\": {\n    \"login\": \"github\",\n    \"id\": 1,\n    \"node_id\": \"MDEyOk9yZ2FuaXphdGlvbjE=\",\n    \"url\": \"https://api.github.com/orgs/github\",\n    \"repos_url\": \"https://api.github.com/orgs/github/repos\",\n    \"events_url\": \"https://api.github.com/orgs/github/events\",\n    \"hooks_url\": \"https://api.github.com/orgs/github/hooks\",\n    \"issues_url\": \"https://api.github.com/orgs/github/issues\",\n    \"members_url\": \"https://api.github.com/orgs/github/members{/member}\",\n    \"public_members_url\": \"https://api.github.com/orgs/github/public_members{/member}\",\n    \"avatar_url\": \"https://github.com/images/error/octocat_happy.gif\",\n    \"description\": \"A great organization\"\n  },\n  \"user\": {\n    \"login\": \"octocat\",\n    \"id\": 1,\n    \"node_id\": \"MDQ6VXNlcjE=\",\n    \"avatar_url\": \"https://github.com/images/error/octocat_happy.gif\",\n    \"gravatar_id\": \"\",\n    \"url\": \"https://api.github.com/users/octocat\",\n    \"html_url\": \"https://github.com/octocat\",\n    \"followers_url\": \"https://api.github.com/users/octocat/followers\",\n    \"following_url\": \"https://api.github.com/users/octocat/following{/other_user}\",\n    \"gists_url\": \"https://api.github.com/users/octocat/gists{/gist_id}\",\n    \"starred_url\": \"https://api.github.com/users/octocat/starred{/owner}{/repo}\",\n    \"subscriptions_url\": \"https://api.github.com/users/octocat/subscriptions\",\n    \"organizations_url\": \"https://api.github.com/users/octocat/orgs\",\n    \"repos_url\": \"https://api.github.com/users/octocat/repos\",\n    \"events_url\": \"https://api.github.com/users/octocat/events{/privacy}\",\n    \"received_events_url\": \"https://api.github.com/users/octocat/received_events\",\n    \"type\": \"User\",\n    \"site_admin\": false\n  }\n}\n
    " - }, - { - "httpStatusCode": "200", - "httpStatusMessage": "OK", - "description": "Response if user already had membership with organization", + "description": "Response if user has an active admin membership with organization", "payload": "
    {\n  \"url\": \"https://api.github.com/orgs/octocat/memberships/defunkt\",\n  \"state\": \"active\",\n  \"role\": \"admin\",\n  \"organization_url\": \"https://api.github.com/orgs/octocat\",\n  \"organization\": {\n    \"login\": \"github\",\n    \"id\": 1,\n    \"node_id\": \"MDEyOk9yZ2FuaXphdGlvbjE=\",\n    \"url\": \"https://api.github.com/orgs/github\",\n    \"repos_url\": \"https://api.github.com/orgs/github/repos\",\n    \"events_url\": \"https://api.github.com/orgs/github/events\",\n    \"hooks_url\": \"https://api.github.com/orgs/github/hooks\",\n    \"issues_url\": \"https://api.github.com/orgs/github/issues\",\n    \"members_url\": \"https://api.github.com/orgs/github/members{/member}\",\n    \"public_members_url\": \"https://api.github.com/orgs/github/public_members{/member}\",\n    \"avatar_url\": \"https://github.com/images/error/octocat_happy.gif\",\n    \"description\": \"A great organization\"\n  },\n  \"user\": {\n    \"login\": \"octocat\",\n    \"id\": 1,\n    \"node_id\": \"MDQ6VXNlcjE=\",\n    \"avatar_url\": \"https://github.com/images/error/octocat_happy.gif\",\n    \"gravatar_id\": \"\",\n    \"url\": \"https://api.github.com/users/octocat\",\n    \"html_url\": \"https://github.com/octocat\",\n    \"followers_url\": \"https://api.github.com/users/octocat/followers\",\n    \"following_url\": \"https://api.github.com/users/octocat/following{/other_user}\",\n    \"gists_url\": \"https://api.github.com/users/octocat/gists{/gist_id}\",\n    \"starred_url\": \"https://api.github.com/users/octocat/starred{/owner}{/repo}\",\n    \"subscriptions_url\": \"https://api.github.com/users/octocat/subscriptions\",\n    \"organizations_url\": \"https://api.github.com/users/octocat/orgs\",\n    \"repos_url\": \"https://api.github.com/users/octocat/repos\",\n    \"events_url\": \"https://api.github.com/users/octocat/events{/privacy}\",\n    \"received_events_url\": \"https://api.github.com/users/octocat/received_events\",\n    \"type\": \"User\",\n    \"site_admin\": false\n  }\n}\n
    " }, { @@ -17038,7 +17116,7 @@ { "verb": "delete", "requestPath": "/orgs/{org}/memberships/{username}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "org", @@ -17062,8 +17140,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/orgs/ORG/memberships/USERNAME", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/orgs/ORG/memberships/USERNAME
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/orgs/ORG/memberships/USERNAME", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/orgs/ORG/memberships/USERNAME
    " }, { "lang": "JavaScript", @@ -17098,7 +17176,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "403", @@ -17117,7 +17195,7 @@ { "verb": "get", "requestPath": "/orgs/{org}/outside_collaborators", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "org", @@ -17167,8 +17245,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/orgs/ORG/outside_collaborators", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/orgs/ORG/outside_collaborators
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/orgs/ORG/outside_collaborators", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/orgs/ORG/outside_collaborators
    " }, { "lang": "JavaScript", @@ -17213,7 +17291,7 @@ { "verb": "put", "requestPath": "/orgs/{org}/outside_collaborators/{username}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "org", @@ -17237,8 +17315,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/orgs/ORG/outside_collaborators/USERNAME", - "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/orgs/ORG/outside_collaborators/USERNAME
    " + "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/orgs/ORG/outside_collaborators/USERNAME", + "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/orgs/ORG/outside_collaborators/USERNAME
    " }, { "lang": "JavaScript", @@ -17269,8 +17347,6 @@ "subcategory": "outside-collaborators", "subcategoryLabel": "Outside collaborators", "notes": [], - "bodyParameters": [], - "descriptionHTML": "

    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\".

    ", "responses": [ { "httpStatusCode": "202", @@ -17285,26 +17361,21 @@ { "httpStatusCode": "403", "httpStatusMessage": "Forbidden", - "description": "Response if user is the last owner of the organization", - "payload": "
    {\n  \"message\": \"Cannot convert the last owner to an outside collaborator\",\n  \"documentation_url\": \"https://docs.github.com/github-ae@latest/rest/reference/orgs#convert-member-to-outside-collaborator\"\n}\n
    " - }, - { - "httpStatusCode": "403", - "httpStatusMessage": "Forbidden", - "description": "Response if user is not a member of the organization", - "payload": "
    {\n  \"message\": \"<user> is not a member of the <organization> organization.\",\n  \"documentation_url\": \"https://docs.github.com/github-ae@latest/rest/reference/orgs#convert-member-to-outside-collaborator\"\n}\n
    " + "description": "Response if user is the last owner of the organization or not a member of the organization" }, { "httpStatusCode": "404", "httpStatusMessage": "Not Found", "description": "Resource not found" } - ] + ], + "bodyParameters": [], + "descriptionHTML": "

    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\".

    " }, { "verb": "delete", "requestPath": "/orgs/{org}/outside_collaborators/{username}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "org", @@ -17328,8 +17399,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/orgs/ORG/outside_collaborators/USERNAME", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/orgs/ORG/outside_collaborators/USERNAME
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/orgs/ORG/outside_collaborators/USERNAME", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/orgs/ORG/outside_collaborators/USERNAME
    " }, { "lang": "JavaScript", @@ -17366,7 +17437,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "422", @@ -17379,7 +17450,7 @@ { "verb": "get", "requestPath": "/orgs/{org}/projects", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "org", @@ -17430,8 +17501,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n https://api.github.com/orgs/ORG/projects", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  https://api.github.com/orgs/ORG/projects
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n http(s)://api.{hostname}/orgs/ORG/projects", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  http(s)://api.{hostname}/orgs/ORG/projects
    " }, { "lang": "JavaScript", @@ -17486,7 +17557,7 @@ { "verb": "post", "requestPath": "/orgs/{org}/projects", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "org", @@ -17501,8 +17572,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n https://api.github.com/orgs/ORG/projects \\\n -d '{\"name\":\"name\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  https://api.github.com/orgs/ORG/projects \\\n  -d '{\"name\":\"name\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n http(s)://api.{hostname}/orgs/ORG/projects \\\n -d '{\"name\":\"name\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  http(s)://api.{hostname}/orgs/ORG/projects \\\n  -d '{\"name\":\"name\"}'
    " }, { "lang": "JavaScript", @@ -17632,7 +17703,7 @@ { "verb": "get", "requestPath": "/orgs/{org}/public_members", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "org", @@ -17667,8 +17738,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/orgs/ORG/public_members", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/orgs/ORG/public_members
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/orgs/ORG/public_members", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/orgs/ORG/public_members
    " }, { "lang": "JavaScript", @@ -17713,7 +17784,7 @@ { "verb": "get", "requestPath": "/orgs/{org}/public_members/{username}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "org", @@ -17737,8 +17808,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/orgs/ORG/public_members/USERNAME", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/orgs/ORG/public_members/USERNAME
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/orgs/ORG/public_members/USERNAME", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/orgs/ORG/public_members/USERNAME
    " }, { "lang": "JavaScript", @@ -17787,7 +17858,7 @@ { "verb": "put", "requestPath": "/orgs/{org}/public_members/{username}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "org", @@ -17811,8 +17882,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/orgs/ORG/public_members/USERNAME", - "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/orgs/ORG/public_members/USERNAME
    " + "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/orgs/ORG/public_members/USERNAME", + "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/orgs/ORG/public_members/USERNAME
    " }, { "lang": "JavaScript", @@ -17847,7 +17918,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "403", @@ -17861,7 +17932,7 @@ { "verb": "delete", "requestPath": "/orgs/{org}/public_members/{username}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "org", @@ -17885,8 +17956,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/orgs/ORG/public_members/USERNAME", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/orgs/ORG/public_members/USERNAME
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/orgs/ORG/public_members/USERNAME", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/orgs/ORG/public_members/USERNAME
    " }, { "lang": "JavaScript", @@ -17921,7 +17992,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "bodyParameters": [], @@ -17930,7 +18001,7 @@ { "verb": "get", "requestPath": "/orgs/{org}/repos", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "org", @@ -17943,7 +18014,7 @@ }, { "name": "type", - "description": "Specifies the types of repositories you want returned. Can be one of `all`, `public`, `private`, `forks`, `sources`, `member`, `internal`. Default: `all`. If your organization is associated with an enterprise account using GitHub Enterprise Cloud or GitHub Enterprise Server 2.20+, `type` can also be `internal`.", + "description": "Specifies the types of repositories you want returned. Can be one of `all`, `public`, `private`, `forks`, `sources`, `member`, `internal`. Note: For GitHub AE, can be one of `all`, `private`, `forks`, `sources`, `member`, `internal`. Default: `all`. If your organization is associated with an enterprise account using GitHub Enterprise Cloud or GitHub Enterprise Server 2.20+, `type` can also be `internal`.", "in": "query", "required": false, "schema": { @@ -17958,7 +18029,7 @@ "internal" ] }, - "descriptionHTML": "

    Specifies the types of repositories you want returned. Can be one of all, public, private, forks, sources, member, internal. Default: all. If your organization is associated with an enterprise account using GitHub Enterprise Cloud or GitHub Enterprise Server 2.20+, type can also be internal.

    " + "descriptionHTML": "

    Specifies the types of repositories you want returned. Can be one of all, public, private, forks, sources, member, internal. Note: For GitHub AE, can be one of all, private, forks, sources, member, internal. Default: all. If your organization is associated with an enterprise account using GitHub Enterprise Cloud or GitHub Enterprise Server 2.20+, type can also be internal.

    " }, { "name": "sort", @@ -18015,8 +18086,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/orgs/ORG/repos", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/orgs/ORG/repos
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/orgs/ORG/repos", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/orgs/ORG/repos
    " }, { "lang": "JavaScript", @@ -18072,7 +18143,7 @@ { "verb": "post", "requestPath": "/orgs/{org}/repos", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "org", @@ -18087,8 +18158,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/orgs/ORG/repos \\\n -d '{\"name\":\"name\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/orgs/ORG/repos \\\n  -d '{\"name\":\"name\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/orgs/ORG/repos \\\n -d '{\"name\":\"name\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/orgs/ORG/repos \\\n  -d '{\"name\":\"name\"}'
    " }, { "lang": "JavaScript", @@ -18097,7 +18168,7 @@ } ], "summary": "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", + "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", "tags": [ "repos" ], @@ -18141,17 +18212,17 @@ }, "private": { "type": "boolean", - "description": "

    Either true to create a private repository or false to create a public one.

    ", + "description": "

    Whether the repository is private.

    ", "default": false, "name": "private", "in": "body", "rawType": "boolean", - "rawDescription": "Either `true` to create a private repository or `false` to create a public one.", + "rawDescription": "Whether the repository is private.", "childParamsGroups": [] }, "visibility": { "type": "string", - "description": "

    Can be public or private. If your organization is associated with an enterprise account using GitHub Enterprise Cloud or GitHub Enterprise Server 2.20+, visibility can also be internal. For more information, see \"Creating an internal repository\" in the GitHub Help documentation.
    \nThe visibility parameter overrides the private parameter when you use both parameters with the nebula-preview preview header.

    ", + "description": "

    Can be public or private. If your organization is associated with an enterprise account using GitHub Enterprise Cloud or GitHub Enterprise Server 2.20+, visibility can also be internal. Note: For GitHub Enterprise Server and GitHub AE, this endpoint will only list repositories available to all users on the enterprise. For more information, see \"Creating an internal repository\" in the GitHub Help documentation.
    \nThe visibility parameter overrides the private parameter when you use both parameters with the nebula-preview preview header.

    ", "enum": [ "public", "private", @@ -18161,7 +18232,7 @@ "name": "visibility", "in": "body", "rawType": "string", - "rawDescription": "Can be `public` or `private`. If your organization is associated with an enterprise account using GitHub Enterprise Cloud or GitHub Enterprise Server 2.20+, `visibility` can also be `internal`. For more information, see \"[Creating an internal repository](https://help.github.com/en/github/creating-cloning-and-archiving-repositories/about-repository-visibility#about-internal-repositories)\" in the GitHub Help documentation. \nThe `visibility` parameter overrides the `private` parameter when you use both parameters with the `nebula-preview` preview header.", + "rawDescription": "Can be `public` or `private`. If your organization is associated with an enterprise account using GitHub Enterprise Cloud or GitHub Enterprise Server 2.20+, `visibility` can also be `internal`. Note: For GitHub Enterprise Server and GitHub AE, this endpoint will only list repositories available to all users on the enterprise. For more information, see \"[Creating an internal repository](https://help.github.com/en/github/creating-cloning-and-archiving-repositories/about-repository-visibility#about-internal-repositories)\" in the GitHub Help documentation. \nThe `visibility` parameter overrides the `private` parameter when you use both parameters with the `nebula-preview` preview header.", "childParamsGroups": [] }, "has_issues": { @@ -18322,7 +18393,7 @@ "category": "repos", "categoryLabel": "Repos", "notes": [], - "descriptionHTML": "

    Creates a new repository in the specified organization. The authenticated user must be a member of the organization.

    \n

    OAuth scope requirements

    \n

    When using OAuth, 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
    ", + "descriptionHTML": "

    Creates a new repository in the specified organization. The authenticated user must be a member of the organization.

    \n

    OAuth scope requirements

    \n

    When using OAuth, 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
    ", "bodyParameters": [ { "type": "string", @@ -18353,17 +18424,17 @@ }, { "type": "boolean", - "description": "

    Either true to create a private repository or false to create a public one.

    ", + "description": "

    Whether the repository is private.

    ", "default": false, "name": "private", "in": "body", "rawType": "boolean", - "rawDescription": "Either `true` to create a private repository or `false` to create a public one.", + "rawDescription": "Whether the repository is private.", "childParamsGroups": [] }, { "type": "string", - "description": "

    Can be public or private. If your organization is associated with an enterprise account using GitHub Enterprise Cloud or GitHub Enterprise Server 2.20+, visibility can also be internal. For more information, see \"Creating an internal repository\" in the GitHub Help documentation.
    \nThe visibility parameter overrides the private parameter when you use both parameters with the nebula-preview preview header.

    ", + "description": "

    Can be public or private. If your organization is associated with an enterprise account using GitHub Enterprise Cloud or GitHub Enterprise Server 2.20+, visibility can also be internal. Note: For GitHub Enterprise Server and GitHub AE, this endpoint will only list repositories available to all users on the enterprise. For more information, see \"Creating an internal repository\" in the GitHub Help documentation.
    \nThe visibility parameter overrides the private parameter when you use both parameters with the nebula-preview preview header.

    ", "enum": [ "public", "private", @@ -18373,7 +18444,7 @@ "name": "visibility", "in": "body", "rawType": "string", - "rawDescription": "Can be `public` or `private`. If your organization is associated with an enterprise account using GitHub Enterprise Cloud or GitHub Enterprise Server 2.20+, `visibility` can also be `internal`. For more information, see \"[Creating an internal repository](https://help.github.com/en/github/creating-cloning-and-archiving-repositories/about-repository-visibility#about-internal-repositories)\" in the GitHub Help documentation. \nThe `visibility` parameter overrides the `private` parameter when you use both parameters with the `nebula-preview` preview header.", + "rawDescription": "Can be `public` or `private`. If your organization is associated with an enterprise account using GitHub Enterprise Cloud or GitHub Enterprise Server 2.20+, `visibility` can also be `internal`. Note: For GitHub Enterprise Server and GitHub AE, this endpoint will only list repositories available to all users on the enterprise. For more information, see \"[Creating an internal repository](https://help.github.com/en/github/creating-cloning-and-archiving-repositories/about-repository-visibility#about-internal-repositories)\" in the GitHub Help documentation. \nThe `visibility` parameter overrides the `private` parameter when you use both parameters with the `nebula-preview` preview header.", "childParamsGroups": [] }, { @@ -18516,7 +18587,7 @@ { "verb": "get", "requestPath": "/orgs/{org}/teams", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "org", @@ -18551,8 +18622,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/orgs/ORG/teams", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/orgs/ORG/teams
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/orgs/ORG/teams", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/orgs/ORG/teams
    " }, { "lang": "JavaScript", @@ -18600,7 +18671,7 @@ { "verb": "post", "requestPath": "/orgs/{org}/teams", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "org", @@ -18615,8 +18686,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/orgs/ORG/teams \\\n -d '{\"name\":\"name\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/orgs/ORG/teams \\\n  -d '{\"name\":\"name\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/orgs/ORG/teams \\\n -d '{\"name\":\"name\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/orgs/ORG/teams \\\n  -d '{\"name\":\"name\"}'
    " }, { "lang": "JavaScript", @@ -18848,7 +18919,7 @@ { "verb": "get", "requestPath": "/orgs/{org}/teams/{team_slug}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "org", @@ -18873,8 +18944,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/orgs/ORG/teams/TEAM_SLUG", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/orgs/ORG/teams/TEAM_SLUG
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/orgs/ORG/teams/TEAM_SLUG", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/orgs/ORG/teams/TEAM_SLUG
    " }, { "lang": "JavaScript", @@ -18922,7 +18993,7 @@ { "verb": "patch", "requestPath": "/orgs/{org}/teams/{team_slug}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "org", @@ -18947,8 +19018,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/orgs/ORG/teams/TEAM_SLUG \\\n -d '{\"name\":\"name\"}'", - "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/orgs/ORG/teams/TEAM_SLUG \\\n  -d '{\"name\":\"name\"}'
    " + "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/orgs/ORG/teams/TEAM_SLUG \\\n -d '{\"name\":\"name\"}'", + "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/orgs/ORG/teams/TEAM_SLUG \\\n  -d '{\"name\":\"name\"}'
    " }, { "lang": "JavaScript", @@ -19120,7 +19191,7 @@ { "verb": "delete", "requestPath": "/orgs/{org}/teams/{team_slug}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "org", @@ -19145,8 +19216,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/orgs/ORG/teams/TEAM_SLUG", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/orgs/ORG/teams/TEAM_SLUG
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/orgs/ORG/teams/TEAM_SLUG", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/orgs/ORG/teams/TEAM_SLUG
    " }, { "lang": "JavaScript", @@ -19179,7 +19250,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "bodyParameters": [], @@ -19188,7 +19259,7 @@ { "verb": "get", "requestPath": "/orgs/{org}/teams/{team_slug}/discussions", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "org", @@ -19243,13 +19314,23 @@ "default": 1 }, "descriptionHTML": "

    Page number of the results to fetch.

    " + }, + { + "name": "pinned", + "in": "query", + "required": false, + "description": "Pinned discussions only filter", + "schema": { + "type": "string" + }, + "descriptionHTML": "

    Pinned discussions only filter

    " } ], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/orgs/ORG/teams/TEAM_SLUG/discussions", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/orgs/ORG/teams/TEAM_SLUG/discussions
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/orgs/ORG/teams/TEAM_SLUG/discussions", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/orgs/ORG/teams/TEAM_SLUG/discussions
    " }, { "lang": "JavaScript", @@ -19301,7 +19382,7 @@ { "verb": "post", "requestPath": "/orgs/{org}/teams/{team_slug}/discussions", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "org", @@ -19326,8 +19407,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/orgs/ORG/teams/TEAM_SLUG/discussions \\\n -d '{\"title\":\"title\",\"body\":\"body\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/orgs/ORG/teams/TEAM_SLUG/discussions \\\n  -d '{\"title\":\"title\",\"body\":\"body\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/orgs/ORG/teams/TEAM_SLUG/discussions \\\n -d '{\"title\":\"title\",\"body\":\"body\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/orgs/ORG/teams/TEAM_SLUG/discussions \\\n  -d '{\"title\":\"title\",\"body\":\"body\"}'
    " }, { "lang": "JavaScript", @@ -19456,7 +19537,7 @@ { "verb": "get", "requestPath": "/orgs/{org}/teams/{team_slug}/discussions/{discussion_number}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "org", @@ -19490,8 +19571,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/orgs/ORG/teams/TEAM_SLUG/discussions/42", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/orgs/ORG/teams/TEAM_SLUG/discussions/42
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/orgs/ORG/teams/TEAM_SLUG/discussions/42", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/orgs/ORG/teams/TEAM_SLUG/discussions/42
    " }, { "lang": "JavaScript", @@ -19543,7 +19624,7 @@ { "verb": "patch", "requestPath": "/orgs/{org}/teams/{team_slug}/discussions/{discussion_number}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "org", @@ -19577,8 +19658,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/orgs/ORG/teams/TEAM_SLUG/discussions/42 \\\n -d '{\"title\":\"title\"}'", - "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/orgs/ORG/teams/TEAM_SLUG/discussions/42 \\\n  -d '{\"title\":\"title\"}'
    " + "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/orgs/ORG/teams/TEAM_SLUG/discussions/42 \\\n -d '{\"title\":\"title\"}'", + "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/orgs/ORG/teams/TEAM_SLUG/discussions/42 \\\n  -d '{\"title\":\"title\"}'
    " }, { "lang": "JavaScript", @@ -19681,7 +19762,7 @@ { "verb": "delete", "requestPath": "/orgs/{org}/teams/{team_slug}/discussions/{discussion_number}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "org", @@ -19715,8 +19796,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/orgs/ORG/teams/TEAM_SLUG/discussions/42", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/orgs/ORG/teams/TEAM_SLUG/discussions/42
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/orgs/ORG/teams/TEAM_SLUG/discussions/42", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/orgs/ORG/teams/TEAM_SLUG/discussions/42
    " }, { "lang": "JavaScript", @@ -19751,7 +19832,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "bodyParameters": [], @@ -19760,7 +19841,7 @@ { "verb": "get", "requestPath": "/orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "org", @@ -19829,8 +19910,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/orgs/ORG/teams/TEAM_SLUG/discussions/42/comments", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/orgs/ORG/teams/TEAM_SLUG/discussions/42/comments
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/orgs/ORG/teams/TEAM_SLUG/discussions/42/comments", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/orgs/ORG/teams/TEAM_SLUG/discussions/42/comments
    " }, { "lang": "JavaScript", @@ -19882,7 +19963,7 @@ { "verb": "post", "requestPath": "/orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "org", @@ -19916,8 +19997,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/orgs/ORG/teams/TEAM_SLUG/discussions/42/comments \\\n -d '{\"body\":\"body\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/orgs/ORG/teams/TEAM_SLUG/discussions/42/comments \\\n  -d '{\"body\":\"body\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/orgs/ORG/teams/TEAM_SLUG/discussions/42/comments \\\n -d '{\"body\":\"body\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/orgs/ORG/teams/TEAM_SLUG/discussions/42/comments \\\n  -d '{\"body\":\"body\"}'
    " }, { "lang": "JavaScript", @@ -20006,7 +20087,7 @@ { "verb": "get", "requestPath": "/orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "org", @@ -20049,8 +20130,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/orgs/ORG/teams/TEAM_SLUG/discussions/42/comments/42", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/orgs/ORG/teams/TEAM_SLUG/discussions/42/comments/42
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/orgs/ORG/teams/TEAM_SLUG/discussions/42/comments/42", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/orgs/ORG/teams/TEAM_SLUG/discussions/42/comments/42
    " }, { "lang": "JavaScript", @@ -20102,7 +20183,7 @@ { "verb": "patch", "requestPath": "/orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "org", @@ -20145,8 +20226,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/orgs/ORG/teams/TEAM_SLUG/discussions/42/comments/42 \\\n -d '{\"body\":\"body\"}'", - "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/orgs/ORG/teams/TEAM_SLUG/discussions/42/comments/42 \\\n  -d '{\"body\":\"body\"}'
    " + "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/orgs/ORG/teams/TEAM_SLUG/discussions/42/comments/42 \\\n -d '{\"body\":\"body\"}'", + "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/orgs/ORG/teams/TEAM_SLUG/discussions/42/comments/42 \\\n  -d '{\"body\":\"body\"}'
    " }, { "lang": "JavaScript", @@ -20234,7 +20315,7 @@ { "verb": "delete", "requestPath": "/orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "org", @@ -20277,8 +20358,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/orgs/ORG/teams/TEAM_SLUG/discussions/42/comments/42", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/orgs/ORG/teams/TEAM_SLUG/discussions/42/comments/42
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/orgs/ORG/teams/TEAM_SLUG/discussions/42/comments/42", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/orgs/ORG/teams/TEAM_SLUG/discussions/42/comments/42
    " }, { "lang": "JavaScript", @@ -20313,7 +20394,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "bodyParameters": [], @@ -20322,7 +20403,7 @@ { "verb": "get", "requestPath": "/orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}/reactions", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "org", @@ -20405,8 +20486,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n https://api.github.com/orgs/ORG/teams/TEAM_SLUG/discussions/42/comments/42/reactions", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n  https://api.github.com/orgs/ORG/teams/TEAM_SLUG/discussions/42/comments/42/reactions
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n http(s)://api.{hostname}/orgs/ORG/teams/TEAM_SLUG/discussions/42/comments/42/reactions", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n  http(s)://api.{hostname}/orgs/ORG/teams/TEAM_SLUG/discussions/42/comments/42/reactions
    " }, { "lang": "JavaScript", @@ -20456,7 +20537,7 @@ { "verb": "post", "requestPath": "/orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}/reactions", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "org", @@ -20499,8 +20580,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n https://api.github.com/orgs/ORG/teams/TEAM_SLUG/discussions/42/comments/42/reactions \\\n -d '{\"content\":\"content\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n  https://api.github.com/orgs/ORG/teams/TEAM_SLUG/discussions/42/comments/42/reactions \\\n  -d '{\"content\":\"content\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n http(s)://api.{hostname}/orgs/ORG/teams/TEAM_SLUG/discussions/42/comments/42/reactions \\\n -d '{\"content\":\"content\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n  http(s)://api.{hostname}/orgs/ORG/teams/TEAM_SLUG/discussions/42/comments/42/reactions \\\n  -d '{\"content\":\"content\"}'
    " }, { "lang": "JavaScript", @@ -20606,7 +20687,7 @@ { "verb": "delete", "requestPath": "/orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}/reactions/{reaction_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "org", @@ -20658,8 +20739,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n https://api.github.com/orgs/ORG/teams/TEAM_SLUG/discussions/42/comments/42/reactions/42", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n  https://api.github.com/orgs/ORG/teams/TEAM_SLUG/discussions/42/comments/42/reactions/42
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n http(s)://api.{hostname}/orgs/ORG/teams/TEAM_SLUG/discussions/42/comments/42/reactions/42", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n  http(s)://api.{hostname}/orgs/ORG/teams/TEAM_SLUG/discussions/42/comments/42/reactions/42
    " }, { "lang": "JavaScript", @@ -20699,7 +20780,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "bodyParameters": [], @@ -20708,7 +20789,7 @@ { "verb": "get", "requestPath": "/orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/reactions", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "org", @@ -20782,8 +20863,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n https://api.github.com/orgs/ORG/teams/TEAM_SLUG/discussions/42/reactions", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n  https://api.github.com/orgs/ORG/teams/TEAM_SLUG/discussions/42/reactions
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n http(s)://api.{hostname}/orgs/ORG/teams/TEAM_SLUG/discussions/42/reactions", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n  http(s)://api.{hostname}/orgs/ORG/teams/TEAM_SLUG/discussions/42/reactions
    " }, { "lang": "JavaScript", @@ -20833,7 +20914,7 @@ { "verb": "post", "requestPath": "/orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/reactions", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "org", @@ -20867,8 +20948,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n https://api.github.com/orgs/ORG/teams/TEAM_SLUG/discussions/42/reactions \\\n -d '{\"content\":\"content\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n  https://api.github.com/orgs/ORG/teams/TEAM_SLUG/discussions/42/reactions \\\n  -d '{\"content\":\"content\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n http(s)://api.{hostname}/orgs/ORG/teams/TEAM_SLUG/discussions/42/reactions \\\n -d '{\"content\":\"content\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n  http(s)://api.{hostname}/orgs/ORG/teams/TEAM_SLUG/discussions/42/reactions \\\n  -d '{\"content\":\"content\"}'
    " }, { "lang": "JavaScript", @@ -20974,7 +21055,7 @@ { "verb": "delete", "requestPath": "/orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/reactions/{reaction_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "org", @@ -21017,8 +21098,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n https://api.github.com/orgs/ORG/teams/TEAM_SLUG/discussions/42/reactions/42", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n  https://api.github.com/orgs/ORG/teams/TEAM_SLUG/discussions/42/reactions/42
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n http(s)://api.{hostname}/orgs/ORG/teams/TEAM_SLUG/discussions/42/reactions/42", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n  http(s)://api.{hostname}/orgs/ORG/teams/TEAM_SLUG/discussions/42/reactions/42
    " }, { "lang": "JavaScript", @@ -21058,7 +21139,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "bodyParameters": [], @@ -21067,7 +21148,7 @@ { "verb": "get", "requestPath": "/orgs/{org}/teams/{team_slug}/members", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "org", @@ -21128,8 +21209,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/orgs/ORG/teams/TEAM_SLUG/members", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/orgs/ORG/teams/TEAM_SLUG/members
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/orgs/ORG/teams/TEAM_SLUG/members", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/orgs/ORG/teams/TEAM_SLUG/members
    " }, { "lang": "JavaScript", @@ -21174,7 +21255,7 @@ { "verb": "get", "requestPath": "/orgs/{org}/teams/{team_slug}/memberships/{username}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "org", @@ -21208,8 +21289,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/orgs/ORG/teams/TEAM_SLUG/memberships/USERNAME", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/orgs/ORG/teams/TEAM_SLUG/memberships/USERNAME
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/orgs/ORG/teams/TEAM_SLUG/memberships/USERNAME", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/orgs/ORG/teams/TEAM_SLUG/memberships/USERNAME
    " }, { "lang": "JavaScript", @@ -21218,7 +21299,7 @@ } ], "summary": "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).", + "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).", "tags": [ "teams" ], @@ -21241,26 +21322,14 @@ "subcategoryLabel": "Members", "notes": [], "bodyParameters": [], - "descriptionHTML": "

    Team members will include the members of child teams.

    \n

    To get a user's membership with a team, the team must be visible to the authenticated user.

    \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

    Note: The role for organization owners returns as maintainer. For more information about maintainer roles, see Create a team.

    ", + "descriptionHTML": "

    Team members will include the members of child teams.

    \n

    To get a user's membership with a team, the team must be visible to the authenticated user.

    \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

    Note:\nThe response contains the state of the membership and the member's role.

    \n

    The role for organization owners is set to maintainer. For more information about maintainer roles, see see Create a team.

    ", "responses": [ - { - "httpStatusCode": "200", - "httpStatusMessage": "OK", - "description": "Response if user has an active membership with team", - "payload": "
    {\n  \"url\": \"https://api.github.com/teams/1/memberships/octocat\",\n  \"role\": \"member\",\n  \"state\": \"active\"\n}\n
    " - }, { "httpStatusCode": "200", "httpStatusMessage": "OK", "description": "Response if user is a team maintainer", "payload": "
    {\n  \"url\": \"https://api.github.com/teams/1/memberships/octocat\",\n  \"role\": \"maintainer\",\n  \"state\": \"active\"\n}\n
    " }, - { - "httpStatusCode": "200", - "httpStatusMessage": "OK", - "description": "Response if user has a pending membership with team", - "payload": "
    {\n  \"url\": \"https://api.github.com/teams/1/memberships/octocat\",\n  \"role\": \"member\",\n  \"state\": \"pending\"\n}\n
    " - }, { "httpStatusCode": "404", "httpStatusMessage": "Not Found", @@ -21271,7 +21340,7 @@ { "verb": "put", "requestPath": "/orgs/{org}/teams/{team_slug}/memberships/{username}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "org", @@ -21305,8 +21374,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/orgs/ORG/teams/TEAM_SLUG/memberships/USERNAME \\\n -d '{\"role\":\"role\"}'", - "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/orgs/ORG/teams/TEAM_SLUG/memberships/USERNAME \\\n  -d '{\"role\":\"role\"}'
    " + "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/orgs/ORG/teams/TEAM_SLUG/memberships/USERNAME \\\n -d '{\"role\":\"role\"}'", + "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/orgs/ORG/teams/TEAM_SLUG/memberships/USERNAME \\\n  -d '{\"role\":\"role\"}'
    " }, { "lang": "JavaScript", @@ -21380,12 +21449,6 @@ } ], "responses": [ - { - "httpStatusCode": "200", - "httpStatusMessage": "OK", - "description": "Response if user's membership with team is now active", - "payload": "
    {\n  \"url\": \"https://api.github.com/teams/1/memberships/octocat\",\n  \"role\": \"member\",\n  \"state\": \"active\"\n}\n
    " - }, { "httpStatusCode": "200", "httpStatusMessage": "OK", @@ -21400,15 +21463,14 @@ { "httpStatusCode": "422", "httpStatusMessage": "Unprocessable Entity", - "description": "Response if you attempt to add an organization to a team", - "payload": "
    {\n  \"message\": \"Cannot add an organization as a member.\",\n  \"errors\": [\n    {\n      \"code\": \"org\",\n      \"field\": \"user\",\n      \"resource\": \"TeamMember\"\n    }\n  ]\n}\n
    " + "description": "Response if you attempt to add an organization to a team" } ] }, { "verb": "delete", "requestPath": "/orgs/{org}/teams/{team_slug}/memberships/{username}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "org", @@ -21442,8 +21504,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/orgs/ORG/teams/TEAM_SLUG/memberships/USERNAME", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/orgs/ORG/teams/TEAM_SLUG/memberships/USERNAME
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/orgs/ORG/teams/TEAM_SLUG/memberships/USERNAME", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/orgs/ORG/teams/TEAM_SLUG/memberships/USERNAME
    " }, { "lang": "JavaScript", @@ -21478,7 +21540,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "403", @@ -21492,7 +21554,7 @@ { "verb": "get", "requestPath": "/orgs/{org}/teams/{team_slug}/projects", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "org", @@ -21537,8 +21599,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n https://api.github.com/orgs/ORG/teams/TEAM_SLUG/projects", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  https://api.github.com/orgs/ORG/teams/TEAM_SLUG/projects
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n http(s)://api.{hostname}/orgs/ORG/teams/TEAM_SLUG/projects", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  http(s)://api.{hostname}/orgs/ORG/teams/TEAM_SLUG/projects
    " }, { "lang": "JavaScript", @@ -21588,7 +21650,7 @@ { "verb": "get", "requestPath": "/orgs/{org}/teams/{team_slug}/projects/{project_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "org", @@ -21622,8 +21684,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n https://api.github.com/orgs/ORG/teams/TEAM_SLUG/projects/42", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  https://api.github.com/orgs/ORG/teams/TEAM_SLUG/projects/42
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n http(s)://api.{hostname}/orgs/ORG/teams/TEAM_SLUG/projects/42", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  http(s)://api.{hostname}/orgs/ORG/teams/TEAM_SLUG/projects/42
    " }, { "lang": "JavaScript", @@ -21678,7 +21740,7 @@ { "verb": "put", "requestPath": "/orgs/{org}/teams/{team_slug}/projects/{project_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "org", @@ -21712,8 +21774,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n https://api.github.com/orgs/ORG/teams/TEAM_SLUG/projects/42 \\\n -d '{\"permission\":\"permission\"}'", - "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  https://api.github.com/orgs/ORG/teams/TEAM_SLUG/projects/42 \\\n  -d '{\"permission\":\"permission\"}'
    " + "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n http(s)://api.{hostname}/orgs/ORG/teams/TEAM_SLUG/projects/42 \\\n -d '{\"permission\":\"permission\"}'", + "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  http(s)://api.{hostname}/orgs/ORG/teams/TEAM_SLUG/projects/42 \\\n  -d '{\"permission\":\"permission\"}'
    " }, { "lang": "JavaScript", @@ -21796,7 +21858,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "403", @@ -21809,7 +21871,7 @@ { "verb": "delete", "requestPath": "/orgs/{org}/teams/{team_slug}/projects/{project_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "org", @@ -21843,8 +21905,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/orgs/ORG/teams/TEAM_SLUG/projects/42", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/orgs/ORG/teams/TEAM_SLUG/projects/42
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/orgs/ORG/teams/TEAM_SLUG/projects/42", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/orgs/ORG/teams/TEAM_SLUG/projects/42
    " }, { "lang": "JavaScript", @@ -21877,7 +21939,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "bodyParameters": [], @@ -21886,7 +21948,7 @@ { "verb": "get", "requestPath": "/orgs/{org}/teams/{team_slug}/repos", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "org", @@ -21931,8 +21993,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/orgs/ORG/teams/TEAM_SLUG/repos", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/orgs/ORG/teams/TEAM_SLUG/repos
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/orgs/ORG/teams/TEAM_SLUG/repos", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/orgs/ORG/teams/TEAM_SLUG/repos
    " }, { "lang": "JavaScript", @@ -21975,7 +22037,7 @@ { "verb": "get", "requestPath": "/orgs/{org}/teams/{team_slug}/repos/{owner}/{repo}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "org", @@ -22018,8 +22080,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/orgs/ORG/teams/TEAM_SLUG/repos/octocat/hello-world", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/orgs/ORG/teams/TEAM_SLUG/repos/octocat/hello-world
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/orgs/ORG/teams/TEAM_SLUG/repos/octocat/hello-world", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/orgs/ORG/teams/TEAM_SLUG/repos/octocat/hello-world
    " }, { "lang": "JavaScript", @@ -22071,7 +22133,7 @@ { "verb": "put", "requestPath": "/orgs/{org}/teams/{team_slug}/repos/{owner}/{repo}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "org", @@ -22114,8 +22176,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/orgs/ORG/teams/TEAM_SLUG/repos/octocat/hello-world \\\n -d '{\"permission\":\"permission\"}'", - "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/orgs/ORG/teams/TEAM_SLUG/repos/octocat/hello-world \\\n  -d '{\"permission\":\"permission\"}'
    " + "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/orgs/ORG/teams/TEAM_SLUG/repos/octocat/hello-world \\\n -d '{\"permission\":\"permission\"}'", + "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/orgs/ORG/teams/TEAM_SLUG/repos/octocat/hello-world \\\n  -d '{\"permission\":\"permission\"}'
    " }, { "lang": "JavaScript", @@ -22175,7 +22237,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "descriptionHTML": "

    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.\"

    \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

    For more information about the permission levels, see \"Repository permission levels for an organization\".

    ", @@ -22201,7 +22263,7 @@ { "verb": "delete", "requestPath": "/orgs/{org}/teams/{team_slug}/repos/{owner}/{repo}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "org", @@ -22244,8 +22306,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/orgs/ORG/teams/TEAM_SLUG/repos/octocat/hello-world", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/orgs/ORG/teams/TEAM_SLUG/repos/octocat/hello-world
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/orgs/ORG/teams/TEAM_SLUG/repos/octocat/hello-world", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/orgs/ORG/teams/TEAM_SLUG/repos/octocat/hello-world
    " }, { "lang": "JavaScript", @@ -22278,7 +22340,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "bodyParameters": [], @@ -22287,7 +22349,7 @@ { "verb": "get", "requestPath": "/orgs/{org}/teams/{team_slug}/teams", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "org", @@ -22332,8 +22394,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/orgs/ORG/teams/TEAM_SLUG/teams", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/orgs/ORG/teams/TEAM_SLUG/teams
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/orgs/ORG/teams/TEAM_SLUG/teams", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/orgs/ORG/teams/TEAM_SLUG/teams
    " }, { "lang": "JavaScript", @@ -22376,7 +22438,7 @@ { "verb": "get", "requestPath": "/projects/columns/cards/{card_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "card_id", @@ -22392,8 +22454,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n https://api.github.com/projects/columns/cards/42", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  https://api.github.com/projects/columns/cards/42
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n http(s)://api.{hostname}/projects/columns/cards/42", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  http(s)://api.{hostname}/projects/columns/cards/42
    " }, { "lang": "JavaScript", @@ -22465,7 +22527,7 @@ { "verb": "patch", "requestPath": "/projects/columns/cards/{card_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "card_id", @@ -22481,8 +22543,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n https://api.github.com/projects/columns/cards/42 \\\n -d '{\"note\":\"note\"}'", - "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  https://api.github.com/projects/columns/cards/42 \\\n  -d '{\"note\":\"note\"}'
    " + "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n http(s)://api.{hostname}/projects/columns/cards/42 \\\n -d '{\"note\":\"note\"}'", + "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  http(s)://api.{hostname}/projects/columns/cards/42 \\\n  -d '{\"note\":\"note\"}'
    " }, { "lang": "JavaScript", @@ -22613,7 +22675,7 @@ { "verb": "delete", "requestPath": "/projects/columns/cards/{card_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "card_id", @@ -22629,8 +22691,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n https://api.github.com/projects/columns/cards/42", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  https://api.github.com/projects/columns/cards/42
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n http(s)://api.{hostname}/projects/columns/cards/42", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  http(s)://api.{hostname}/projects/columns/cards/42
    " }, { "lang": "JavaScript", @@ -22672,7 +22734,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "304", @@ -22701,7 +22763,7 @@ { "verb": "post", "requestPath": "/projects/columns/cards/{card_id}/moves", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "card_id", @@ -22717,8 +22779,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n https://api.github.com/projects/columns/cards/42/moves \\\n -d '{\"position\":\"position\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  https://api.github.com/projects/columns/cards/42/moves \\\n  -d '{\"position\":\"position\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n http(s)://api.{hostname}/projects/columns/cards/42/moves \\\n -d '{\"position\":\"position\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  http(s)://api.{hostname}/projects/columns/cards/42/moves \\\n  -d '{\"position\":\"position\"}'
    " }, { "lang": "JavaScript", @@ -22851,7 +22913,7 @@ { "verb": "get", "requestPath": "/projects/columns/{column_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "column_id", @@ -22867,8 +22929,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n https://api.github.com/projects/columns/42", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  https://api.github.com/projects/columns/42
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n http(s)://api.{hostname}/projects/columns/42", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  http(s)://api.{hostname}/projects/columns/42
    " }, { "lang": "JavaScript", @@ -22940,7 +23002,7 @@ { "verb": "patch", "requestPath": "/projects/columns/{column_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "column_id", @@ -22956,8 +23018,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n https://api.github.com/projects/columns/42 \\\n -d '{\"name\":\"name\"}'", - "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  https://api.github.com/projects/columns/42 \\\n  -d '{\"name\":\"name\"}'
    " + "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n http(s)://api.{hostname}/projects/columns/42 \\\n -d '{\"name\":\"name\"}'", + "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  http(s)://api.{hostname}/projects/columns/42 \\\n  -d '{\"name\":\"name\"}'
    " }, { "lang": "JavaScript", @@ -23059,7 +23121,7 @@ { "verb": "delete", "requestPath": "/projects/columns/{column_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "column_id", @@ -23075,8 +23137,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n https://api.github.com/projects/columns/42", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  https://api.github.com/projects/columns/42
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n http(s)://api.{hostname}/projects/columns/42", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  http(s)://api.{hostname}/projects/columns/42
    " }, { "lang": "JavaScript", @@ -23118,7 +23180,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "304", @@ -23142,7 +23204,7 @@ { "verb": "get", "requestPath": "/projects/columns/{column_id}/cards", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "column_id", @@ -23194,8 +23256,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n https://api.github.com/projects/columns/42/cards", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  https://api.github.com/projects/columns/42/cards
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n http(s)://api.{hostname}/projects/columns/42/cards", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  http(s)://api.{hostname}/projects/columns/42/cards
    " }, { "lang": "JavaScript", @@ -23262,7 +23324,7 @@ { "verb": "post", "requestPath": "/projects/columns/{column_id}/cards", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "column_id", @@ -23278,8 +23340,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n https://api.github.com/projects/columns/42/cards \\\n -d '{\"note\":\"note\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  https://api.github.com/projects/columns/42/cards \\\n  -d '{\"note\":\"note\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n http(s)://api.{hostname}/projects/columns/42/cards \\\n -d '{\"note\":\"note\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  http(s)://api.{hostname}/projects/columns/42/cards \\\n  -d '{\"note\":\"note\"}'
    " }, { "lang": "JavaScript", @@ -23399,7 +23461,7 @@ { "verb": "post", "requestPath": "/projects/columns/{column_id}/moves", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "column_id", @@ -23415,8 +23477,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n https://api.github.com/projects/columns/42/moves \\\n -d '{\"position\":\"position\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  https://api.github.com/projects/columns/42/moves \\\n  -d '{\"position\":\"position\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n http(s)://api.{hostname}/projects/columns/42/moves \\\n -d '{\"position\":\"position\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  http(s)://api.{hostname}/projects/columns/42/moves \\\n  -d '{\"position\":\"position\"}'
    " }, { "lang": "JavaScript", @@ -23524,7 +23586,7 @@ { "verb": "get", "requestPath": "/projects/{project_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "project_id", @@ -23539,8 +23601,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n https://api.github.com/projects/42", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  https://api.github.com/projects/42
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n http(s)://api.{hostname}/projects/42", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  http(s)://api.{hostname}/projects/42
    " }, { "lang": "JavaScript", @@ -23605,7 +23667,7 @@ { "verb": "patch", "requestPath": "/projects/{project_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "project_id", @@ -23620,8 +23682,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n https://api.github.com/projects/42 \\\n -d '{\"name\":\"name\"}'", - "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  https://api.github.com/projects/42 \\\n  -d '{\"name\":\"name\"}'
    " + "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n http(s)://api.{hostname}/projects/42 \\\n -d '{\"name\":\"name\"}'", + "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  http(s)://api.{hostname}/projects/42 \\\n  -d '{\"name\":\"name\"}'
    " }, { "lang": "JavaScript", @@ -23823,7 +23885,7 @@ { "verb": "delete", "requestPath": "/projects/{project_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "project_id", @@ -23838,8 +23900,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n https://api.github.com/projects/42", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  https://api.github.com/projects/42
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n http(s)://api.{hostname}/projects/42", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  http(s)://api.{hostname}/projects/42
    " }, { "lang": "JavaScript", @@ -23913,7 +23975,7 @@ { "verb": "get", "requestPath": "/projects/{project_id}/collaborators", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "project_id", @@ -23964,8 +24026,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n https://api.github.com/projects/42/collaborators", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  https://api.github.com/projects/42/collaborators
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n http(s)://api.{hostname}/projects/42/collaborators", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  http(s)://api.{hostname}/projects/42/collaborators
    " }, { "lang": "JavaScript", @@ -24047,7 +24109,7 @@ { "verb": "put", "requestPath": "/projects/{project_id}/collaborators/{username}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "project_id", @@ -24071,8 +24133,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n https://api.github.com/projects/42/collaborators/USERNAME \\\n -d '{\"permission\":\"permission\"}'", - "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  https://api.github.com/projects/42/collaborators/USERNAME \\\n  -d '{\"permission\":\"permission\"}'
    " + "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n http(s)://api.{hostname}/projects/42/collaborators/USERNAME \\\n -d '{\"permission\":\"permission\"}'", + "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  http(s)://api.{hostname}/projects/42/collaborators/USERNAME \\\n  -d '{\"permission\":\"permission\"}'
    " }, { "lang": "JavaScript", @@ -24141,7 +24203,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "304", @@ -24197,7 +24259,7 @@ { "verb": "delete", "requestPath": "/projects/{project_id}/collaborators/{username}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "project_id", @@ -24221,8 +24283,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n https://api.github.com/projects/42/collaborators/USERNAME", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  https://api.github.com/projects/42/collaborators/USERNAME
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n http(s)://api.{hostname}/projects/42/collaborators/USERNAME", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  http(s)://api.{hostname}/projects/42/collaborators/USERNAME
    " }, { "lang": "JavaScript", @@ -24264,7 +24326,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "304", @@ -24303,7 +24365,7 @@ { "verb": "get", "requestPath": "/projects/{project_id}/collaborators/{username}/permission", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "project_id", @@ -24327,8 +24389,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n https://api.github.com/projects/42/collaborators/USERNAME/permission", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  https://api.github.com/projects/42/collaborators/USERNAME/permission
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n http(s)://api.{hostname}/projects/42/collaborators/USERNAME/permission", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  http(s)://api.{hostname}/projects/42/collaborators/USERNAME/permission
    " }, { "lang": "JavaScript", @@ -24410,7 +24472,7 @@ { "verb": "get", "requestPath": "/projects/{project_id}/columns", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "project_id", @@ -24445,8 +24507,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n https://api.github.com/projects/42/columns", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  https://api.github.com/projects/42/columns
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n http(s)://api.{hostname}/projects/42/columns", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  http(s)://api.{hostname}/projects/42/columns
    " }, { "lang": "JavaScript", @@ -24513,7 +24575,7 @@ { "verb": "post", "requestPath": "/projects/{project_id}/columns", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "project_id", @@ -24528,8 +24590,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n https://api.github.com/projects/42/columns \\\n -d '{\"name\":\"name\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  https://api.github.com/projects/42/columns \\\n  -d '{\"name\":\"name\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n http(s)://api.{hostname}/projects/42/columns \\\n -d '{\"name\":\"name\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  http(s)://api.{hostname}/projects/42/columns \\\n  -d '{\"name\":\"name\"}'
    " }, { "lang": "JavaScript", @@ -24636,13 +24698,13 @@ { "verb": "get", "requestPath": "/rate_limit", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/rate_limit", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/rate_limit
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/rate_limit", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/rate_limit
    " }, { "lang": "JavaScript", @@ -24695,7 +24757,7 @@ { "verb": "delete", "requestPath": "/reactions/{reaction_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "reaction_id", @@ -24710,8 +24772,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n https://api.github.com/reactions/42", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n  https://api.github.com/reactions/42
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n http(s)://api.{hostname}/reactions/42", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n  http(s)://api.{hostname}/reactions/42
    " }, { "lang": "JavaScript", @@ -24754,7 +24816,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "304", @@ -24788,7 +24850,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "owner", @@ -24812,8 +24874,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/repos/octocat/hello-world", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/repos/octocat/hello-world
    " }, { "lang": "JavaScript", @@ -24890,7 +24952,7 @@ { "verb": "patch", "requestPath": "/repos/{owner}/{repo}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "owner", @@ -24914,8 +24976,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world \\\n -d '{\"name\":\"name\"}'", - "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world \\\n  -d '{\"name\":\"name\"}'
    " + "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/repos/octocat/hello-world \\\n -d '{\"name\":\"name\"}'", + "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/repos/octocat/hello-world \\\n  -d '{\"name\":\"name\"}'
    " }, { "lang": "JavaScript", @@ -25309,7 +25371,7 @@ { "verb": "delete", "requestPath": "/repos/{owner}/{repo}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "owner", @@ -25333,8 +25395,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/repos/octocat/hello-world", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/repos/octocat/hello-world
    " }, { "lang": "JavaScript", @@ -25369,7 +25431,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "403", @@ -25387,7 +25449,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/actions/artifacts", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "owner", @@ -25431,8 +25493,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/actions/artifacts", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/actions/artifacts
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/repos/octocat/hello-world/actions/artifacts", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/repos/octocat/hello-world/actions/artifacts
    " }, { "lang": "JavaScript", @@ -25477,7 +25539,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/actions/artifacts/{artifact_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "owner", @@ -25511,8 +25573,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/actions/artifacts/42", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/actions/artifacts/42
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/repos/octocat/hello-world/actions/artifacts/42", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/repos/octocat/hello-world/actions/artifacts/42
    " }, { "lang": "JavaScript", @@ -25557,7 +25619,7 @@ { "verb": "delete", "requestPath": "/repos/{owner}/{repo}/actions/artifacts/{artifact_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "owner", @@ -25591,8 +25653,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/actions/artifacts/42", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/actions/artifacts/42
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/repos/octocat/hello-world/actions/artifacts/42", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/repos/octocat/hello-world/actions/artifacts/42
    " }, { "lang": "JavaScript", @@ -25627,7 +25689,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "bodyParameters": [], @@ -25636,7 +25698,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/actions/artifacts/{artifact_id}/{archive_format}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "owner", @@ -25679,8 +25741,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/actions/artifacts/42/ARCHIVE_FORMAT", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/actions/artifacts/42/ARCHIVE_FORMAT
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/repos/octocat/hello-world/actions/artifacts/42/ARCHIVE_FORMAT", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/repos/octocat/hello-world/actions/artifacts/42/ARCHIVE_FORMAT
    " }, { "lang": "JavaScript", @@ -25724,7 +25786,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/actions/jobs/{job_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "owner", @@ -25758,8 +25820,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/actions/jobs/42", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/actions/jobs/42
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/repos/octocat/hello-world/actions/jobs/42", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/repos/octocat/hello-world/actions/jobs/42
    " }, { "lang": "JavaScript", @@ -25804,7 +25866,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/actions/jobs/{job_id}/logs", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "owner", @@ -25838,8 +25900,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/actions/jobs/42/logs", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/actions/jobs/42/logs
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/repos/octocat/hello-world/actions/jobs/42/logs", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/repos/octocat/hello-world/actions/jobs/42/logs
    " }, { "lang": "JavaScript", @@ -25883,7 +25945,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/actions/permissions", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "owner", @@ -25907,8 +25969,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/actions/permissions", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/actions/permissions
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/repos/octocat/hello-world/actions/permissions", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/repos/octocat/hello-world/actions/permissions
    " }, { "lang": "JavaScript", @@ -25953,7 +26015,7 @@ { "verb": "put", "requestPath": "/repos/{owner}/{repo}/actions/permissions", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "owner", @@ -25977,8 +26039,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/actions/permissions \\\n -d '{\"enabled\":true}'", - "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/actions/permissions \\\n  -d '{\"enabled\":true}'
    " + "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/repos/octocat/hello-world/actions/permissions \\\n -d '{\"enabled\":true}'", + "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/repos/octocat/hello-world/actions/permissions \\\n  -d '{\"enabled\":true}'
    " }, { "lang": "JavaScript", @@ -26054,7 +26116,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "descriptionHTML": "

    Sets the GitHub Actions permissions policy for enabling GitHub Actions and allowed actions in the repository.

    \n

    If 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

    You 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.

    ", @@ -26087,7 +26149,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/actions/permissions/selected-actions", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "owner", @@ -26111,8 +26173,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/actions/permissions/selected-actions", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/actions/permissions/selected-actions
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/repos/octocat/hello-world/actions/permissions/selected-actions", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/repos/octocat/hello-world/actions/permissions/selected-actions
    " }, { "lang": "JavaScript", @@ -26157,7 +26219,7 @@ { "verb": "put", "requestPath": "/repos/{owner}/{repo}/actions/permissions/selected-actions", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "owner", @@ -26181,8 +26243,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/actions/permissions/selected-actions \\\n -d '{\"github_owned_allowed\":true,\"patterns_allowed\":[\"patterns_allowed\"],\"verified_allowed\":true}'", - "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/actions/permissions/selected-actions \\\n  -d '{\"github_owned_allowed\":true,\"patterns_allowed\":[\"patterns_allowed\"],\"verified_allowed\":true}'
    " + "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/repos/octocat/hello-world/actions/permissions/selected-actions \\\n -d '{\"github_owned_allowed\":true,\"patterns_allowed\":[\"patterns_allowed\"],\"verified_allowed\":true}'", + "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/repos/octocat/hello-world/actions/permissions/selected-actions \\\n  -d '{\"github_owned_allowed\":true,\"patterns_allowed\":[\"patterns_allowed\"],\"verified_allowed\":true}'
    " }, { "lang": "JavaScript", @@ -26275,7 +26337,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "descriptionHTML": "

    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.\"

    \n

    If 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

    To 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

    You 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.

    ", @@ -26315,7 +26377,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/actions/runners", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "owner", @@ -26359,8 +26421,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/actions/runners", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/actions/runners
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/repos/octocat/hello-world/actions/runners", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/repos/octocat/hello-world/actions/runners
    " }, { "lang": "JavaScript", @@ -26405,7 +26467,7 @@ { "verb": "delete", "requestPath": "/repos/{owner}/{repo}/actions/runners/{runner_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "owner", @@ -26439,8 +26501,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/actions/runners/42", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/actions/runners/42
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/repos/octocat/hello-world/actions/runners/42", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/repos/octocat/hello-world/actions/runners/42
    " }, { "lang": "JavaScript", @@ -26475,7 +26537,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "bodyParameters": [], @@ -26484,7 +26546,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/actions/runs", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "owner", @@ -26583,8 +26645,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/actions/runs", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/actions/runs
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/repos/octocat/hello-world/actions/runs", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/repos/octocat/hello-world/actions/runs
    " }, { "lang": "JavaScript", @@ -26629,7 +26691,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/actions/runs/{run_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "owner", @@ -26663,8 +26725,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/actions/runs/42", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/actions/runs/42
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/repos/octocat/hello-world/actions/runs/42", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/repos/octocat/hello-world/actions/runs/42
    " }, { "lang": "JavaScript", @@ -26709,7 +26771,7 @@ { "verb": "delete", "requestPath": "/repos/{owner}/{repo}/actions/runs/{run_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "owner", @@ -26743,8 +26805,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/actions/runs/42", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/actions/runs/42
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/repos/octocat/hello-world/actions/runs/42", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/repos/octocat/hello-world/actions/runs/42
    " }, { "lang": "JavaScript", @@ -26779,7 +26841,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "bodyParameters": [], @@ -26788,7 +26850,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/actions/runs/{run_id}/approvals", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "owner", @@ -26822,8 +26884,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/actions/runs/42/approvals", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/actions/runs/42/approvals
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/repos/octocat/hello-world/actions/runs/42/approvals", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/repos/octocat/hello-world/actions/runs/42/approvals
    " }, { "lang": "JavaScript", @@ -26868,7 +26930,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/actions/runs/{run_id}/artifacts", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "owner", @@ -26922,8 +26984,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/actions/runs/42/artifacts", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/actions/runs/42/artifacts
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/repos/octocat/hello-world/actions/runs/42/artifacts", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/repos/octocat/hello-world/actions/runs/42/artifacts
    " }, { "lang": "JavaScript", @@ -26968,7 +27030,7 @@ { "verb": "post", "requestPath": "/repos/{owner}/{repo}/actions/runs/{run_id}/cancel", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "owner", @@ -27002,8 +27064,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/actions/runs/42/cancel", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/actions/runs/42/cancel
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/repos/octocat/hello-world/actions/runs/42/cancel", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/repos/octocat/hello-world/actions/runs/42/cancel
    " }, { "lang": "JavaScript", @@ -27047,7 +27109,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/actions/runs/{run_id}/jobs", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "owner", @@ -27116,8 +27178,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/actions/runs/42/jobs", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/actions/runs/42/jobs
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/repos/octocat/hello-world/actions/runs/42/jobs", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/repos/octocat/hello-world/actions/runs/42/jobs
    " }, { "lang": "JavaScript", @@ -27162,7 +27224,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/actions/runs/{run_id}/logs", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "owner", @@ -27196,8 +27258,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/actions/runs/42/logs", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/actions/runs/42/logs
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/repos/octocat/hello-world/actions/runs/42/logs", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/repos/octocat/hello-world/actions/runs/42/logs
    " }, { "lang": "JavaScript", @@ -27241,7 +27303,7 @@ { "verb": "delete", "requestPath": "/repos/{owner}/{repo}/actions/runs/{run_id}/logs", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "owner", @@ -27275,8 +27337,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/actions/runs/42/logs", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/actions/runs/42/logs
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/repos/octocat/hello-world/actions/runs/42/logs", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/repos/octocat/hello-world/actions/runs/42/logs
    " }, { "lang": "JavaScript", @@ -27311,7 +27373,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "bodyParameters": [], @@ -27320,7 +27382,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/actions/runs/{run_id}/pending_deployments", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "owner", @@ -27354,8 +27416,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/actions/runs/42/pending_deployments", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/actions/runs/42/pending_deployments
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/repos/octocat/hello-world/actions/runs/42/pending_deployments", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/repos/octocat/hello-world/actions/runs/42/pending_deployments
    " }, { "lang": "JavaScript", @@ -27400,7 +27462,7 @@ { "verb": "post", "requestPath": "/repos/{owner}/{repo}/actions/runs/{run_id}/pending_deployments", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "owner", @@ -27434,8 +27496,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/actions/runs/42/pending_deployments \\\n -d '{\"environment_ids\":[42],\"state\":\"state\",\"comment\":\"comment\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/actions/runs/42/pending_deployments \\\n  -d '{\"environment_ids\":[42],\"state\":\"state\",\"comment\":\"comment\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/repos/octocat/hello-world/actions/runs/42/pending_deployments \\\n -d '{\"environment_ids\":[42],\"state\":\"state\",\"comment\":\"comment\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/repos/octocat/hello-world/actions/runs/42/pending_deployments \\\n  -d '{\"environment_ids\":[42],\"state\":\"state\",\"comment\":\"comment\"}'
    " }, { "lang": "JavaScript", @@ -27579,7 +27641,7 @@ { "verb": "post", "requestPath": "/repos/{owner}/{repo}/actions/runs/{run_id}/rerun", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "owner", @@ -27613,8 +27675,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/actions/runs/42/rerun", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/actions/runs/42/rerun
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/repos/octocat/hello-world/actions/runs/42/rerun", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/repos/octocat/hello-world/actions/runs/42/rerun
    " }, { "lang": "JavaScript", @@ -27658,7 +27720,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/actions/runs/{run_id}/timing", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "owner", @@ -27692,8 +27754,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/actions/runs/42/timing", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/actions/runs/42/timing
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/repos/octocat/hello-world/actions/runs/42/timing", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/repos/octocat/hello-world/actions/runs/42/timing
    " }, { "lang": "JavaScript", @@ -27738,7 +27800,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/actions/secrets", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "owner", @@ -27782,8 +27844,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/actions/secrets", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/actions/secrets
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/repos/octocat/hello-world/actions/secrets", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/repos/octocat/hello-world/actions/secrets
    " }, { "lang": "JavaScript", @@ -27828,7 +27890,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/actions/secrets/public-key", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "owner", @@ -27852,8 +27914,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/actions/secrets/public-key", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/actions/secrets/public-key
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/repos/octocat/hello-world/actions/secrets/public-key", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/repos/octocat/hello-world/actions/secrets/public-key
    " }, { "lang": "JavaScript", @@ -27898,7 +27960,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/actions/secrets/{secret_name}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "owner", @@ -27932,8 +27994,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/actions/secrets/SECRET_NAME", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/actions/secrets/SECRET_NAME
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/repos/octocat/hello-world/actions/secrets/SECRET_NAME", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/repos/octocat/hello-world/actions/secrets/SECRET_NAME
    " }, { "lang": "JavaScript", @@ -27978,7 +28040,7 @@ { "verb": "put", "requestPath": "/repos/{owner}/{repo}/actions/secrets/{secret_name}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "owner", @@ -28012,8 +28074,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/actions/secrets/SECRET_NAME \\\n -d '{\"encrypted_value\":\"encrypted_value\"}'", - "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/actions/secrets/SECRET_NAME \\\n  -d '{\"encrypted_value\":\"encrypted_value\"}'
    " + "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/repos/octocat/hello-world/actions/secrets/SECRET_NAME \\\n -d '{\"encrypted_value\":\"encrypted_value\"}'", + "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/repos/octocat/hello-world/actions/secrets/SECRET_NAME \\\n  -d '{\"encrypted_value\":\"encrypted_value\"}'
    " }, { "lang": "JavaScript", @@ -28116,7 +28178,7 @@ { "verb": "delete", "requestPath": "/repos/{owner}/{repo}/actions/secrets/{secret_name}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "owner", @@ -28150,8 +28212,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/actions/secrets/SECRET_NAME", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/actions/secrets/SECRET_NAME
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/repos/octocat/hello-world/actions/secrets/SECRET_NAME", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/repos/octocat/hello-world/actions/secrets/SECRET_NAME
    " }, { "lang": "JavaScript", @@ -28186,7 +28248,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "bodyParameters": [], @@ -28195,7 +28257,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/actions/workflows", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "owner", @@ -28239,8 +28301,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/actions/workflows", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/actions/workflows
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/repos/octocat/hello-world/actions/workflows", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/repos/octocat/hello-world/actions/workflows
    " }, { "lang": "JavaScript", @@ -28285,7 +28347,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/actions/workflows/{workflow_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "owner", @@ -28326,8 +28388,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/actions/workflows/42", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/actions/workflows/42
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/repos/octocat/hello-world/actions/workflows/42", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/repos/octocat/hello-world/actions/workflows/42
    " }, { "lang": "JavaScript", @@ -28372,7 +28434,7 @@ { "verb": "put", "requestPath": "/repos/{owner}/{repo}/actions/workflows/{workflow_id}/disable", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "owner", @@ -28413,8 +28475,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/actions/workflows/42/disable", - "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/actions/workflows/42/disable
    " + "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/repos/octocat/hello-world/actions/workflows/42/disable", + "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/repos/octocat/hello-world/actions/workflows/42/disable
    " }, { "lang": "JavaScript", @@ -28449,7 +28511,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "bodyParameters": [], @@ -28458,7 +28520,7 @@ { "verb": "post", "requestPath": "/repos/{owner}/{repo}/actions/workflows/{workflow_id}/dispatches", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "owner", @@ -28499,8 +28561,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/actions/workflows/42/dispatches \\\n -d '{\"ref\":\"ref\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/actions/workflows/42/dispatches \\\n  -d '{\"ref\":\"ref\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/repos/octocat/hello-world/actions/workflows/42/dispatches \\\n -d '{\"ref\":\"ref\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/repos/octocat/hello-world/actions/workflows/42/dispatches \\\n  -d '{\"ref\":\"ref\"}'
    " }, { "lang": "JavaScript", @@ -28578,7 +28640,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "descriptionHTML": "

    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

    You must configure your GitHub Actions workflow to run when the workflow_dispatch webhook 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.\"

    \n

    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. For more information, see \"Creating a personal access token for the command line.\"

    ", @@ -28610,7 +28672,7 @@ { "verb": "put", "requestPath": "/repos/{owner}/{repo}/actions/workflows/{workflow_id}/enable", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "owner", @@ -28651,8 +28713,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/actions/workflows/42/enable", - "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/actions/workflows/42/enable
    " + "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/repos/octocat/hello-world/actions/workflows/42/enable", + "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/repos/octocat/hello-world/actions/workflows/42/enable
    " }, { "lang": "JavaScript", @@ -28687,7 +28749,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "bodyParameters": [], @@ -28696,7 +28758,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/actions/workflows/{workflow_id}/runs", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "owner", @@ -28812,8 +28874,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/actions/workflows/42/runs", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/actions/workflows/42/runs
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/repos/octocat/hello-world/actions/workflows/42/runs", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/repos/octocat/hello-world/actions/workflows/42/runs
    " }, { "lang": "JavaScript", @@ -28858,7 +28920,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/actions/workflows/{workflow_id}/timing", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "owner", @@ -28899,8 +28961,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/actions/workflows/42/timing", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/actions/workflows/42/timing
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/repos/octocat/hello-world/actions/workflows/42/timing", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/repos/octocat/hello-world/actions/workflows/42/timing
    " }, { "lang": "JavaScript", @@ -28945,7 +29007,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/assignees", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "owner", @@ -28989,8 +29051,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/assignees", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/assignees
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/repos/octocat/hello-world/assignees", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/repos/octocat/hello-world/assignees
    " }, { "lang": "JavaScript", @@ -29040,7 +29102,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/assignees/{assignee}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "owner", @@ -29073,8 +29135,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/assignees/ASSIGNEE", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/assignees/ASSIGNEE
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/repos/octocat/hello-world/assignees/ASSIGNEE", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/repos/octocat/hello-world/assignees/ASSIGNEE
    " }, { "lang": "JavaScript", @@ -29123,7 +29185,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/branches", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "owner", @@ -29177,8 +29239,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/branches", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/branches
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/repos/octocat/hello-world/branches", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/repos/octocat/hello-world/branches
    " }, { "lang": "JavaScript", @@ -29216,12 +29278,6 @@ "httpStatusCode": "200", "httpStatusMessage": "OK", "description": "Default response", - "payload": "
    [\n  {\n    \"name\": \"master\",\n    \"commit\": {\n      \"sha\": \"c5b97d5ae6c19d5c5df71a34c7fbeeda2479ccbc\",\n      \"url\": \"https://api.github.com/repos/octocat/Hello-World/commits/c5b97d5ae6c19d5c5df71a34c7fbeeda2479ccbc\"\n    },\n    \"protected\": true\n  }\n]\n
    " - }, - { - "httpStatusCode": "200", - "httpStatusMessage": "OK", - "description": "With protection", "payload": "
    [\n  {\n    \"name\": \"master\",\n    \"commit\": {\n      \"sha\": \"c5b97d5ae6c19d5c5df71a34c7fbeeda2479ccbc\",\n      \"url\": \"https://api.github.com/repos/octocat/Hello-World/commits/c5b97d5ae6c19d5c5df71a34c7fbeeda2479ccbc\"\n    },\n    \"protected\": true,\n    \"protection\": {\n      \"enabled\": true,\n      \"required_status_checks\": {\n        \"enforcement_level\": \"non_admins\",\n        \"contexts\": [\n          \"ci-test\",\n          \"linter\"\n        ]\n      }\n    },\n    \"protection_url\": \"https://api.github.com/repos/octocat/hello-world/branches/master/protection\"\n  }\n]\n
    " }, { @@ -29234,7 +29290,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/branches/{branch}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "owner", @@ -29269,8 +29325,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/branches/BRANCH", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/branches/BRANCH
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/repos/octocat/hello-world/branches/BRANCH", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/repos/octocat/hello-world/branches/BRANCH
    " }, { "lang": "JavaScript", @@ -29325,7 +29381,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/branches/{branch}/protection", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "owner", @@ -29360,8 +29416,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/repos/octocat/hello-world/branches/BRANCH/protection", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/repos/octocat/hello-world/branches/BRANCH/protection
    " }, { "lang": "JavaScript", @@ -29418,7 +29474,7 @@ { "verb": "put", "requestPath": "/repos/{owner}/{repo}/branches/{branch}/protection", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "owner", @@ -29453,8 +29509,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection \\\n -d '{\"required_status_checks\":{\"strict\":true,\"contexts\":[\"contexts\"]},\"enforce_admins\":true,\"required_pull_request_reviews\":{\"dismissal_restrictions\":{\"users\":[\"users\"],\"teams\":[\"teams\"]},\"dismiss_stale_reviews\":true,\"require_code_owner_reviews\":true,\"required_approving_review_count\":42},\"restrictions\":{\"users\":[\"users\"],\"teams\":[\"teams\"],\"apps\":[\"apps\"]}}'", - "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection \\\n  -d '{\"required_status_checks\":{\"strict\":true,\"contexts\":[\"contexts\"]},\"enforce_admins\":true,\"required_pull_request_reviews\":{\"dismissal_restrictions\":{\"users\":[\"users\"],\"teams\":[\"teams\"]},\"dismiss_stale_reviews\":true,\"require_code_owner_reviews\":true,\"required_approving_review_count\":42},\"restrictions\":{\"users\":[\"users\"],\"teams\":[\"teams\"],\"apps\":[\"apps\"]}}'
    " + "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/repos/octocat/hello-world/branches/BRANCH/protection \\\n -d '{\"required_status_checks\":{\"strict\":true,\"contexts\":[\"contexts\"]},\"enforce_admins\":true,\"required_pull_request_reviews\":{\"dismissal_restrictions\":{\"users\":[\"users\"],\"teams\":[\"teams\"]},\"dismiss_stale_reviews\":true,\"require_code_owner_reviews\":true,\"required_approving_review_count\":42},\"restrictions\":{\"users\":[\"users\"],\"teams\":[\"teams\"],\"apps\":[\"apps\"]}}'", + "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/repos/octocat/hello-world/branches/BRANCH/protection \\\n  -d '{\"required_status_checks\":{\"strict\":true,\"contexts\":[\"contexts\"]},\"enforce_admins\":true,\"required_pull_request_reviews\":{\"dismissal_restrictions\":{\"users\":[\"users\"],\"teams\":[\"teams\"]},\"dismiss_stale_reviews\":true,\"require_code_owner_reviews\":true,\"required_approving_review_count\":42},\"restrictions\":{\"users\":[\"users\"],\"teams\":[\"teams\"],\"apps\":[\"apps\"]}}'
    " }, { "lang": "JavaScript", @@ -30457,7 +30513,7 @@ { "verb": "delete", "requestPath": "/repos/{owner}/{repo}/branches/{branch}/protection", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "owner", @@ -30492,8 +30548,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/repos/octocat/hello-world/branches/BRANCH/protection", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/repos/octocat/hello-world/branches/BRANCH/protection
    " }, { "lang": "JavaScript", @@ -30528,7 +30584,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "403", @@ -30542,7 +30598,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/branches/{branch}/protection/enforce_admins", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "owner", @@ -30577,8 +30633,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/enforce_admins", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/enforce_admins
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/repos/octocat/hello-world/branches/BRANCH/protection/enforce_admins", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/repos/octocat/hello-world/branches/BRANCH/protection/enforce_admins
    " }, { "lang": "JavaScript", @@ -30623,7 +30679,7 @@ { "verb": "post", "requestPath": "/repos/{owner}/{repo}/branches/{branch}/protection/enforce_admins", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "owner", @@ -30658,8 +30714,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/enforce_admins", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/enforce_admins
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/repos/octocat/hello-world/branches/BRANCH/protection/enforce_admins", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/repos/octocat/hello-world/branches/BRANCH/protection/enforce_admins
    " }, { "lang": "JavaScript", @@ -30704,7 +30760,7 @@ { "verb": "delete", "requestPath": "/repos/{owner}/{repo}/branches/{branch}/protection/enforce_admins", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "owner", @@ -30739,8 +30795,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/enforce_admins", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/enforce_admins
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/repos/octocat/hello-world/branches/BRANCH/protection/enforce_admins", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/repos/octocat/hello-world/branches/BRANCH/protection/enforce_admins
    " }, { "lang": "JavaScript", @@ -30789,7 +30845,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/branches/{branch}/protection/required_pull_request_reviews", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "owner", @@ -30824,8 +30880,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/required_pull_request_reviews", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/required_pull_request_reviews
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/repos/octocat/hello-world/branches/BRANCH/protection/required_pull_request_reviews", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/repos/octocat/hello-world/branches/BRANCH/protection/required_pull_request_reviews
    " }, { "lang": "JavaScript", @@ -30876,7 +30932,7 @@ { "verb": "patch", "requestPath": "/repos/{owner}/{repo}/branches/{branch}/protection/required_pull_request_reviews", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "owner", @@ -30911,8 +30967,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/required_pull_request_reviews \\\n -d '{\"dismissal_restrictions\":{\"users\":[\"users\"],\"teams\":[\"teams\"]}}'", - "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/required_pull_request_reviews \\\n  -d '{\"dismissal_restrictions\":{\"users\":[\"users\"],\"teams\":[\"teams\"]}}'
    " + "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/repos/octocat/hello-world/branches/BRANCH/protection/required_pull_request_reviews \\\n -d '{\"dismissal_restrictions\":{\"users\":[\"users\"],\"teams\":[\"teams\"]}}'", + "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/repos/octocat/hello-world/branches/BRANCH/protection/required_pull_request_reviews \\\n  -d '{\"dismissal_restrictions\":{\"users\":[\"users\"],\"teams\":[\"teams\"]}}'
    " }, { "lang": "JavaScript", @@ -31182,7 +31238,7 @@ { "verb": "delete", "requestPath": "/repos/{owner}/{repo}/branches/{branch}/protection/required_pull_request_reviews", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "owner", @@ -31217,8 +31273,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/required_pull_request_reviews", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/required_pull_request_reviews
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/repos/octocat/hello-world/branches/BRANCH/protection/required_pull_request_reviews", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/repos/octocat/hello-world/branches/BRANCH/protection/required_pull_request_reviews
    " }, { "lang": "JavaScript", @@ -31267,7 +31323,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/branches/{branch}/protection/required_signatures", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "owner", @@ -31302,8 +31358,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.zzzax-preview+json\" \\\n https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/required_signatures", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.zzzax-preview+json\" \\\n  https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/required_signatures
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.zzzax-preview+json\" \\\n http(s)://api.{hostname}/repos/octocat/hello-world/branches/BRANCH/protection/required_signatures", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.zzzax-preview+json\" \\\n  http(s)://api.{hostname}/repos/octocat/hello-world/branches/BRANCH/protection/required_signatures
    " }, { "lang": "JavaScript", @@ -31360,7 +31416,7 @@ { "verb": "post", "requestPath": "/repos/{owner}/{repo}/branches/{branch}/protection/required_signatures", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "owner", @@ -31395,8 +31451,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.zzzax-preview+json\" \\\n https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/required_signatures", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.zzzax-preview+json\" \\\n  https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/required_signatures
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.zzzax-preview+json\" \\\n http(s)://api.{hostname}/repos/octocat/hello-world/branches/BRANCH/protection/required_signatures", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.zzzax-preview+json\" \\\n  http(s)://api.{hostname}/repos/octocat/hello-world/branches/BRANCH/protection/required_signatures
    " }, { "lang": "JavaScript", @@ -31453,7 +31509,7 @@ { "verb": "delete", "requestPath": "/repos/{owner}/{repo}/branches/{branch}/protection/required_signatures", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "owner", @@ -31488,8 +31544,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.zzzax-preview+json\" \\\n https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/required_signatures", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.zzzax-preview+json\" \\\n  https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/required_signatures
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.zzzax-preview+json\" \\\n http(s)://api.{hostname}/repos/octocat/hello-world/branches/BRANCH/protection/required_signatures", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.zzzax-preview+json\" \\\n  http(s)://api.{hostname}/repos/octocat/hello-world/branches/BRANCH/protection/required_signatures
    " }, { "lang": "JavaScript", @@ -31545,7 +31601,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "owner", @@ -31580,8 +31636,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/required_status_checks", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/required_status_checks
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/repos/octocat/hello-world/branches/BRANCH/protection/required_status_checks", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/repos/octocat/hello-world/branches/BRANCH/protection/required_status_checks
    " }, { "lang": "JavaScript", @@ -31631,7 +31687,7 @@ { "verb": "patch", "requestPath": "/repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "owner", @@ -31666,8 +31722,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/required_status_checks \\\n -d '{\"strict\":true}'", - "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/required_status_checks \\\n  -d '{\"strict\":true}'
    " + "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/repos/octocat/hello-world/branches/BRANCH/protection/required_status_checks \\\n -d '{\"strict\":true}'", + "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/repos/octocat/hello-world/branches/BRANCH/protection/required_status_checks \\\n  -d '{\"strict\":true}'
    " }, { "lang": "JavaScript", @@ -31782,7 +31838,7 @@ { "verb": "delete", "requestPath": "/repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "owner", @@ -31817,8 +31873,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/required_status_checks", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/required_status_checks
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/repos/octocat/hello-world/branches/BRANCH/protection/required_status_checks", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/repos/octocat/hello-world/branches/BRANCH/protection/required_status_checks
    " }, { "lang": "JavaScript", @@ -31862,7 +31918,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks/contexts", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "owner", @@ -31897,8 +31953,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/required_status_checks/contexts", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/required_status_checks/contexts
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/repos/octocat/hello-world/branches/BRANCH/protection/required_status_checks/contexts", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/repos/octocat/hello-world/branches/BRANCH/protection/required_status_checks/contexts
    " }, { "lang": "JavaScript", @@ -31948,7 +32004,7 @@ { "verb": "post", "requestPath": "/repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks/contexts", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "owner", @@ -31983,8 +32039,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/required_status_checks/contexts \\\n -d '{\"contexts\":{\"contexts\":[\"contexts\"]}}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/required_status_checks/contexts \\\n  -d '{\"contexts\":{\"contexts\":[\"contexts\"]}}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/repos/octocat/hello-world/branches/BRANCH/protection/required_status_checks/contexts \\\n -d '{\"contexts\":{\"contexts\":[\"contexts\"]}}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/repos/octocat/hello-world/branches/BRANCH/protection/required_status_checks/contexts \\\n  -d '{\"contexts\":{\"contexts\":[\"contexts\"]}}'
    " }, { "lang": "JavaScript", @@ -32089,7 +32145,7 @@ { "verb": "put", "requestPath": "/repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks/contexts", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "owner", @@ -32124,8 +32180,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/required_status_checks/contexts \\\n -d '{\"contexts\":{\"contexts\":[\"contexts\"]}}'", - "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/required_status_checks/contexts \\\n  -d '{\"contexts\":{\"contexts\":[\"contexts\"]}}'
    " + "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/repos/octocat/hello-world/branches/BRANCH/protection/required_status_checks/contexts \\\n -d '{\"contexts\":{\"contexts\":[\"contexts\"]}}'", + "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/repos/octocat/hello-world/branches/BRANCH/protection/required_status_checks/contexts \\\n  -d '{\"contexts\":{\"contexts\":[\"contexts\"]}}'
    " }, { "lang": "JavaScript", @@ -32225,7 +32281,7 @@ { "verb": "delete", "requestPath": "/repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks/contexts", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "owner", @@ -32260,8 +32316,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/required_status_checks/contexts \\\n -d '{\"contexts\":{\"contexts\":[\"contexts\"]}}'", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/required_status_checks/contexts \\\n  -d '{\"contexts\":{\"contexts\":[\"contexts\"]}}'
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/repos/octocat/hello-world/branches/BRANCH/protection/required_status_checks/contexts \\\n -d '{\"contexts\":{\"contexts\":[\"contexts\"]}}'", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/repos/octocat/hello-world/branches/BRANCH/protection/required_status_checks/contexts \\\n  -d '{\"contexts\":{\"contexts\":[\"contexts\"]}}'
    " }, { "lang": "JavaScript", @@ -32361,7 +32417,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/branches/{branch}/protection/restrictions", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "owner", @@ -32396,8 +32452,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/restrictions", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/restrictions
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/repos/octocat/hello-world/branches/BRANCH/protection/restrictions", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/repos/octocat/hello-world/branches/BRANCH/protection/restrictions
    " }, { "lang": "JavaScript", @@ -32447,7 +32503,7 @@ { "verb": "delete", "requestPath": "/repos/{owner}/{repo}/branches/{branch}/protection/restrictions", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "owner", @@ -32482,8 +32538,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/restrictions", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/restrictions
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/repos/octocat/hello-world/branches/BRANCH/protection/restrictions", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/repos/octocat/hello-world/branches/BRANCH/protection/restrictions
    " }, { "lang": "JavaScript", @@ -32527,7 +32583,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/branches/{branch}/protection/restrictions/apps", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "owner", @@ -32562,8 +32618,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/restrictions/apps", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/restrictions/apps
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/repos/octocat/hello-world/branches/BRANCH/protection/restrictions/apps", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/repos/octocat/hello-world/branches/BRANCH/protection/restrictions/apps
    " }, { "lang": "JavaScript", @@ -32613,7 +32669,7 @@ { "verb": "post", "requestPath": "/repos/{owner}/{repo}/branches/{branch}/protection/restrictions/apps", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "owner", @@ -32648,8 +32704,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/restrictions/apps \\\n -d '{\"apps\":{\"apps\":[\"apps\"]}}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/restrictions/apps \\\n  -d '{\"apps\":{\"apps\":[\"apps\"]}}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/repos/octocat/hello-world/branches/BRANCH/protection/restrictions/apps \\\n -d '{\"apps\":{\"apps\":[\"apps\"]}}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/repos/octocat/hello-world/branches/BRANCH/protection/restrictions/apps \\\n  -d '{\"apps\":{\"apps\":[\"apps\"]}}'
    " }, { "lang": "JavaScript", @@ -32744,7 +32800,7 @@ { "verb": "put", "requestPath": "/repos/{owner}/{repo}/branches/{branch}/protection/restrictions/apps", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "owner", @@ -32779,8 +32835,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/restrictions/apps \\\n -d '{\"apps\":{\"apps\":[\"apps\"]}}'", - "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/restrictions/apps \\\n  -d '{\"apps\":{\"apps\":[\"apps\"]}}'
    " + "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/repos/octocat/hello-world/branches/BRANCH/protection/restrictions/apps \\\n -d '{\"apps\":{\"apps\":[\"apps\"]}}'", + "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/repos/octocat/hello-world/branches/BRANCH/protection/restrictions/apps \\\n  -d '{\"apps\":{\"apps\":[\"apps\"]}}'
    " }, { "lang": "JavaScript", @@ -32875,7 +32931,7 @@ { "verb": "delete", "requestPath": "/repos/{owner}/{repo}/branches/{branch}/protection/restrictions/apps", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "owner", @@ -32910,8 +32966,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/restrictions/apps \\\n -d '{\"apps\":{\"apps\":[\"apps\"]}}'", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/restrictions/apps \\\n  -d '{\"apps\":{\"apps\":[\"apps\"]}}'
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/repos/octocat/hello-world/branches/BRANCH/protection/restrictions/apps \\\n -d '{\"apps\":{\"apps\":[\"apps\"]}}'", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/repos/octocat/hello-world/branches/BRANCH/protection/restrictions/apps \\\n  -d '{\"apps\":{\"apps\":[\"apps\"]}}'
    " }, { "lang": "JavaScript", @@ -33006,7 +33062,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/branches/{branch}/protection/restrictions/teams", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "owner", @@ -33041,8 +33097,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/restrictions/teams", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/restrictions/teams
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/repos/octocat/hello-world/branches/BRANCH/protection/restrictions/teams", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/repos/octocat/hello-world/branches/BRANCH/protection/restrictions/teams
    " }, { "lang": "JavaScript", @@ -33092,7 +33148,7 @@ { "verb": "post", "requestPath": "/repos/{owner}/{repo}/branches/{branch}/protection/restrictions/teams", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "owner", @@ -33127,8 +33183,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/restrictions/teams \\\n -d '{\"teams\":{\"teams\":[\"teams\"]}}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/restrictions/teams \\\n  -d '{\"teams\":{\"teams\":[\"teams\"]}}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/repos/octocat/hello-world/branches/BRANCH/protection/restrictions/teams \\\n -d '{\"teams\":{\"teams\":[\"teams\"]}}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/repos/octocat/hello-world/branches/BRANCH/protection/restrictions/teams \\\n  -d '{\"teams\":{\"teams\":[\"teams\"]}}'
    " }, { "lang": "JavaScript", @@ -33223,7 +33279,7 @@ { "verb": "put", "requestPath": "/repos/{owner}/{repo}/branches/{branch}/protection/restrictions/teams", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "owner", @@ -33258,8 +33314,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/restrictions/teams \\\n -d '{\"teams\":{\"teams\":[\"teams\"]}}'", - "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/restrictions/teams \\\n  -d '{\"teams\":{\"teams\":[\"teams\"]}}'
    " + "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/repos/octocat/hello-world/branches/BRANCH/protection/restrictions/teams \\\n -d '{\"teams\":{\"teams\":[\"teams\"]}}'", + "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/repos/octocat/hello-world/branches/BRANCH/protection/restrictions/teams \\\n  -d '{\"teams\":{\"teams\":[\"teams\"]}}'
    " }, { "lang": "JavaScript", @@ -33354,7 +33410,7 @@ { "verb": "delete", "requestPath": "/repos/{owner}/{repo}/branches/{branch}/protection/restrictions/teams", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "owner", @@ -33389,8 +33445,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/restrictions/teams \\\n -d '{\"teams\":{\"teams\":[\"teams\"]}}'", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/restrictions/teams \\\n  -d '{\"teams\":{\"teams\":[\"teams\"]}}'
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/repos/octocat/hello-world/branches/BRANCH/protection/restrictions/teams \\\n -d '{\"teams\":{\"teams\":[\"teams\"]}}'", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/repos/octocat/hello-world/branches/BRANCH/protection/restrictions/teams \\\n  -d '{\"teams\":{\"teams\":[\"teams\"]}}'
    " }, { "lang": "JavaScript", @@ -33485,7 +33541,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/branches/{branch}/protection/restrictions/users", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "owner", @@ -33520,8 +33576,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/restrictions/users", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/restrictions/users
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/repos/octocat/hello-world/branches/BRANCH/protection/restrictions/users", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/repos/octocat/hello-world/branches/BRANCH/protection/restrictions/users
    " }, { "lang": "JavaScript", @@ -33571,7 +33627,7 @@ { "verb": "post", "requestPath": "/repos/{owner}/{repo}/branches/{branch}/protection/restrictions/users", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "owner", @@ -33606,8 +33662,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/restrictions/users \\\n -d '{\"users\":{\"users\":[\"users\"]}}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/restrictions/users \\\n  -d '{\"users\":{\"users\":[\"users\"]}}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/repos/octocat/hello-world/branches/BRANCH/protection/restrictions/users \\\n -d '{\"users\":{\"users\":[\"users\"]}}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/repos/octocat/hello-world/branches/BRANCH/protection/restrictions/users \\\n  -d '{\"users\":{\"users\":[\"users\"]}}'
    " }, { "lang": "JavaScript", @@ -33702,7 +33758,7 @@ { "verb": "put", "requestPath": "/repos/{owner}/{repo}/branches/{branch}/protection/restrictions/users", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "owner", @@ -33737,8 +33793,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/restrictions/users \\\n -d '{\"users\":{\"users\":[\"users\"]}}'", - "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/restrictions/users \\\n  -d '{\"users\":{\"users\":[\"users\"]}}'
    " + "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/repos/octocat/hello-world/branches/BRANCH/protection/restrictions/users \\\n -d '{\"users\":{\"users\":[\"users\"]}}'", + "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/repos/octocat/hello-world/branches/BRANCH/protection/restrictions/users \\\n  -d '{\"users\":{\"users\":[\"users\"]}}'
    " }, { "lang": "JavaScript", @@ -33833,7 +33889,7 @@ { "verb": "delete", "requestPath": "/repos/{owner}/{repo}/branches/{branch}/protection/restrictions/users", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "owner", @@ -33868,8 +33924,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/restrictions/users \\\n -d '{\"users\":{\"users\":[\"users\"]}}'", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection/restrictions/users \\\n  -d '{\"users\":{\"users\":[\"users\"]}}'
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/repos/octocat/hello-world/branches/BRANCH/protection/restrictions/users \\\n -d '{\"users\":{\"users\":[\"users\"]}}'", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/repos/octocat/hello-world/branches/BRANCH/protection/restrictions/users \\\n  -d '{\"users\":{\"users\":[\"users\"]}}'
    " }, { "lang": "JavaScript", @@ -33964,7 +34020,7 @@ { "verb": "post", "requestPath": "/repos/{owner}/{repo}/check-runs", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "owner", @@ -33988,8 +34044,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/check-runs \\\n -d '{\"name\":\"name\",\"head_sha\":\"head_sha\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/check-runs \\\n  -d '{\"name\":\"name\",\"head_sha\":\"head_sha\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/repos/octocat/hello-world/check-runs \\\n -d '{\"name\":\"name\",\"head_sha\":\"head_sha\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/repos/octocat/hello-world/check-runs \\\n  -d '{\"name\":\"name\",\"head_sha\":\"head_sha\"}'
    " }, { "lang": "JavaScript", @@ -34966,7 +35022,7 @@ "name", "head_sha" ], - "anyOf": [ + "oneOf": [ { "properties": { "status": { @@ -34976,6 +35032,7 @@ } }, "required": [ + "status", "conclusion" ], "additionalProperties": true @@ -34995,7 +35052,7 @@ }, "examples": { "example-of-in-progress-conclusion": { - "summary": "Example of in_progress conclusion", + "summary": "Response for in_progress conclusion", "value": { "name": "mighty_readme", "head_sha": "ce587453ced02b1526dfb4cb910479d431683101", @@ -35010,7 +35067,7 @@ } }, "example-of-completed-conclusion": { - "summary": "Example of completed conclusion", + "summary": "Response for completed conclusion", "value": { "name": "mighty_readme", "head_sha": "ce587453ced02b1526dfb4cb910479d431683101", @@ -35077,12 +35134,6 @@ "notes": [], "descriptionHTML": "

    Note: The Checks API only looks for pushes in the repository where the check 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

    Creates 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

    In 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.

    ", "responses": [ - { - "httpStatusCode": "201", - "httpStatusMessage": "Created", - "description": "Response for in_progress conclusion", - "payload": "
    {\n  \"id\": 4,\n  \"head_sha\": \"ce587453ced02b1526dfb4cb910479d431683101\",\n  \"node_id\": \"MDg6Q2hlY2tSdW40\",\n  \"external_id\": \"42\",\n  \"url\": \"https://api.github.com/repos/github/hello-world/check-runs/4\",\n  \"html_url\": \"https://github.com/github/hello-world/runs/4\",\n  \"details_url\": \"https://example.com\",\n  \"status\": \"in_progress\",\n  \"conclusion\": \"neutral\",\n  \"started_at\": \"2018-05-04T01:14:52Z\",\n  \"completed_at\": null,\n  \"output\": {\n    \"title\": \"Mighty Readme Report\",\n    \"summary\": \"\",\n    \"text\": \"\",\n    \"annotations_count\": 1,\n    \"annotations_url\": \"https://api.github.com/repos/github/hello-world/check-runs/4/annotations\"\n  },\n  \"name\": \"mighty_readme\",\n  \"check_suite\": {\n    \"id\": 5\n  },\n  \"app\": {\n    \"id\": 1,\n    \"slug\": \"octoapp\",\n    \"node_id\": \"MDExOkludGVncmF0aW9uMQ==\",\n    \"owner\": {\n      \"login\": \"github\",\n      \"id\": 1,\n      \"node_id\": \"MDEyOk9yZ2FuaXphdGlvbjE=\",\n      \"url\": \"https://api.github.com/orgs/github\",\n      \"repos_url\": \"https://api.github.com/orgs/github/repos\",\n      \"events_url\": \"https://api.github.com/orgs/github/events\",\n      \"avatar_url\": \"https://github.com/images/error/octocat_happy.gif\",\n      \"gravatar_id\": \"\",\n      \"html_url\": \"https://github.com/octocat\",\n      \"followers_url\": \"https://api.github.com/users/octocat/followers\",\n      \"following_url\": \"https://api.github.com/users/octocat/following{/other_user}\",\n      \"gists_url\": \"https://api.github.com/users/octocat/gists{/gist_id}\",\n      \"starred_url\": \"https://api.github.com/users/octocat/starred{/owner}{/repo}\",\n      \"subscriptions_url\": \"https://api.github.com/users/octocat/subscriptions\",\n      \"organizations_url\": \"https://api.github.com/users/octocat/orgs\",\n      \"received_events_url\": \"https://api.github.com/users/octocat/received_events\",\n      \"type\": \"User\",\n      \"site_admin\": true\n    },\n    \"name\": \"Octocat App\",\n    \"description\": \"\",\n    \"external_url\": \"https://example.com\",\n    \"html_url\": \"https://github.com/apps/octoapp\",\n    \"created_at\": \"2017-07-08T16:18:44-04:00\",\n    \"updated_at\": \"2017-07-08T16:18:44-04:00\",\n    \"permissions\": {\n      \"metadata\": \"read\",\n      \"contents\": \"read\",\n      \"issues\": \"write\",\n      \"single_file\": \"write\"\n    },\n    \"events\": [\n      \"push\",\n      \"pull_request\"\n    ]\n  },\n  \"pull_requests\": [\n    {\n      \"url\": \"https://api.github.com/repos/github/hello-world/pulls/1\",\n      \"id\": 1934,\n      \"number\": 3956,\n      \"head\": {\n        \"ref\": \"say-hello\",\n        \"sha\": \"3dca65fa3e8d4b3da3f3d056c59aee1c50f41390\",\n        \"repo\": {\n          \"id\": 526,\n          \"url\": \"https://api.github.com/repos/github/hello-world\",\n          \"name\": \"hello-world\"\n        }\n      },\n      \"base\": {\n        \"ref\": \"master\",\n        \"sha\": \"e7fdf7640066d71ad16a86fbcbb9c6a10a18af4f\",\n        \"repo\": {\n          \"id\": 526,\n          \"url\": \"https://api.github.com/repos/github/hello-world\",\n          \"name\": \"hello-world\"\n        }\n      }\n    }\n  ]\n}\n
    " - }, { "httpStatusCode": "201", "httpStatusMessage": "Created", @@ -36044,7 +36095,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/check-runs/{check_run_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "owner", @@ -36078,8 +36129,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/check-runs/42", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/check-runs/42
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/repos/octocat/hello-world/check-runs/42", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/repos/octocat/hello-world/check-runs/42
    " }, { "lang": "JavaScript", @@ -36124,7 +36175,7 @@ { "verb": "patch", "requestPath": "/repos/{owner}/{repo}/check-runs/{check_run_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "owner", @@ -36158,8 +36209,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/check-runs/42 \\\n -d '{\"name\":\"name\"}'", - "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/check-runs/42 \\\n  -d '{\"name\":\"name\"}'
    " + "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/repos/octocat/hello-world/check-runs/42 \\\n -d '{\"name\":\"name\"}'", + "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/repos/octocat/hello-world/check-runs/42 \\\n  -d '{\"name\":\"name\"}'
    " }, { "lang": "JavaScript", @@ -38154,7 +38205,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/check-runs/{check_run_id}/annotations", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "owner", @@ -38208,8 +38259,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/check-runs/42/annotations", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/check-runs/42/annotations
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/repos/octocat/hello-world/check-runs/42/annotations", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/repos/octocat/hello-world/check-runs/42/annotations
    " }, { "lang": "JavaScript", @@ -38254,7 +38305,7 @@ { "verb": "post", "requestPath": "/repos/{owner}/{repo}/check-suites", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "owner", @@ -38278,8 +38329,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/check-suites \\\n -d '{\"head_sha\":\"head_sha\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/check-suites \\\n  -d '{\"head_sha\":\"head_sha\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/repos/octocat/hello-world/check-suites \\\n -d '{\"head_sha\":\"head_sha\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/repos/octocat/hello-world/check-suites \\\n  -d '{\"head_sha\":\"head_sha\"}'
    " }, { "lang": "JavaScript", @@ -38360,7 +38411,7 @@ { "verb": "patch", "requestPath": "/repos/{owner}/{repo}/check-suites/preferences", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "owner", @@ -38384,8 +38435,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/check-suites/preferences \\\n -d '{\"auto_trigger_checks\":[{\"app_id\":42,\"setting\":true}]}'", - "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/check-suites/preferences \\\n  -d '{\"auto_trigger_checks\":[{\"app_id\":42,\"setting\":true}]}'
    " + "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/repos/octocat/hello-world/check-suites/preferences \\\n -d '{\"auto_trigger_checks\":[{\"app_id\":42,\"setting\":true}]}'", + "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/repos/octocat/hello-world/check-suites/preferences \\\n  -d '{\"auto_trigger_checks\":[{\"app_id\":42,\"setting\":true}]}'
    " }, { "lang": "JavaScript", @@ -38578,7 +38629,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/check-suites/{check_suite_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "owner", @@ -38612,8 +38663,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/check-suites/42", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/check-suites/42
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/repos/octocat/hello-world/check-suites/42", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/repos/octocat/hello-world/check-suites/42
    " }, { "lang": "JavaScript", @@ -38658,7 +38709,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/check-suites/{check_suite_id}/check-runs", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "owner", @@ -38752,8 +38803,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/check-suites/42/check-runs", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/check-suites/42/check-runs
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/repos/octocat/hello-world/check-suites/42/check-runs", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/repos/octocat/hello-world/check-suites/42/check-runs
    " }, { "lang": "JavaScript", @@ -38798,7 +38849,7 @@ { "verb": "post", "requestPath": "/repos/{owner}/{repo}/check-suites/{check_suite_id}/rerequest", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "owner", @@ -38832,8 +38883,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/check-suites/42/rerequest", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/check-suites/42/rerequest
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/repos/octocat/hello-world/check-suites/42/rerequest", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/repos/octocat/hello-world/check-suites/42/rerequest
    " }, { "lang": "JavaScript", @@ -38877,7 +38928,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/code-scanning/alerts", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "owner", @@ -38947,7 +38998,7 @@ "required": false, "schema": { "type": "string", - "description": "The full Git reference, formatted as `refs/heads/`." + "description": "The full Git reference, formatted as `refs/heads/`,\n`refs/pull//merge`, or `refs/pull//head`." }, "descriptionHTML": "

    The Git reference for the results you want to list. The ref for a branch can be formatted either as refs/heads/<branch name> or simply <branch name>. To reference a pull request use refs/pull/<number>/merge.

    " }, @@ -38961,6 +39012,7 @@ "description": "State of a code scanning alert.", "enum": [ "open", + "closed", "dismissed", "fixed" ] @@ -38971,8 +39023,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/code-scanning/alerts", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/code-scanning/alerts
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/repos/octocat/hello-world/code-scanning/alerts", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/repos/octocat/hello-world/code-scanning/alerts
    " }, { "lang": "JavaScript", @@ -38981,7 +39033,7 @@ } ], "summary": "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 the default branch or for the specified Git reference\n(if you used `ref` in the request).", + "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).", "tags": [ "code-scanning" ], @@ -39002,7 +39054,7 @@ "categoryLabel": "Code scanning", "notes": [], "bodyParameters": [], - "descriptionHTML": "

    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

    The response includes a most_recent_instance object.\nThis provides details of the most recent instance of this alert\nfor the the default branch or for the specified Git reference\n(if you used ref in the request).

    ", + "descriptionHTML": "

    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

    The 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).

    ", "responses": [ { "httpStatusCode": "200", @@ -39013,7 +39065,7 @@ { "httpStatusCode": "403", "httpStatusMessage": "Forbidden", - "description": "Response if github advanced security is not enabled for this repository" + "description": "Response if git hub advanced security is not enabled for this repository" }, { "httpStatusCode": "404", @@ -39030,7 +39082,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/code-scanning/alerts/{alert_number}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "owner", @@ -39067,8 +39119,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/repos/octocat/hello-world/code-scanning/alerts/42", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/repos/octocat/hello-world/code-scanning/alerts/42
    " }, { "lang": "JavaScript", @@ -39109,7 +39161,7 @@ { "httpStatusCode": "403", "httpStatusMessage": "Forbidden", - "description": "Response if github advanced security is not enabled for this repository" + "description": "Response if git hub advanced security is not enabled for this repository" }, { "httpStatusCode": "404", @@ -39126,7 +39178,7 @@ { "verb": "patch", "requestPath": "/repos/{owner}/{repo}/code-scanning/alerts/{alert_number}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "owner", @@ -39163,8 +39215,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42 \\\n -d '{\"state\":\"state\"}'", - "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42 \\\n  -d '{\"state\":\"state\"}'
    " + "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/repos/octocat/hello-world/code-scanning/alerts/42 \\\n -d '{\"state\":\"state\"}'", + "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/repos/octocat/hello-world/code-scanning/alerts/42 \\\n  -d '{\"state\":\"state\"}'
    " }, { "lang": "JavaScript", @@ -39314,7 +39366,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/code-scanning/alerts/{alert_number}/instances", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "owner", @@ -39374,7 +39426,7 @@ "required": false, "schema": { "type": "string", - "description": "The full Git reference, formatted as `refs/heads/`." + "description": "The full Git reference, formatted as `refs/heads/`,\n`refs/pull//merge`, or `refs/pull//head`." }, "descriptionHTML": "

    The Git reference for the results you want to list. The ref for a branch can be formatted either as refs/heads/<branch name> or simply <branch name>. To reference a pull request use refs/pull/<number>/merge.

    " } @@ -39382,8 +39434,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/repos/octocat/hello-world/code-scanning/alerts/42/instances", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/repos/octocat/hello-world/code-scanning/alerts/42/instances
    " }, { "lang": "JavaScript", @@ -39424,7 +39476,7 @@ { "httpStatusCode": "403", "httpStatusMessage": "Forbidden", - "description": "Response if github advanced security is not enabled for this repository" + "description": "Response if git hub advanced security is not enabled for this repository" }, { "httpStatusCode": "404", @@ -39441,7 +39493,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/code-scanning/analyses", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "owner", @@ -39511,7 +39563,7 @@ "required": false, "schema": { "type": "string", - "description": "The full Git reference, formatted as `refs/heads/`." + "description": "The full Git reference, formatted as `refs/heads/`,\n`refs/pull//merge`, or `refs/pull//head`." }, "descriptionHTML": "

    The Git reference for the analyses you want to list. The ref for a branch can be formatted either as refs/heads/<branch name> or simply <branch name>. To reference a pull request use refs/pull/<number>/merge.

    " }, @@ -39532,8 +39584,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/code-scanning/analyses", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/code-scanning/analyses
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/repos/octocat/hello-world/code-scanning/analyses", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/repos/octocat/hello-world/code-scanning/analyses
    " }, { "lang": "JavaScript", @@ -39573,7 +39625,7 @@ { "httpStatusCode": "403", "httpStatusMessage": "Forbidden", - "description": "Response if github advanced security is not enabled for this repository" + "description": "Response if git hub advanced security is not enabled for this repository" }, { "httpStatusCode": "404", @@ -39590,7 +39642,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/code-scanning/analyses/{analysis_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "owner", @@ -39624,8 +39676,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/code-scanning/analyses/42", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/code-scanning/analyses/42
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/repos/octocat/hello-world/code-scanning/analyses/42", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/repos/octocat/hello-world/code-scanning/analyses/42
    " }, { "lang": "JavaScript", @@ -39665,7 +39717,7 @@ { "httpStatusCode": "403", "httpStatusMessage": "Forbidden", - "description": "Response if github advanced security is not enabled for this repository" + "description": "Response if git hub advanced security is not enabled for this repository" }, { "httpStatusCode": "404", @@ -39682,7 +39734,7 @@ { "verb": "post", "requestPath": "/repos/{owner}/{repo}/code-scanning/sarifs", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "owner", @@ -39706,8 +39758,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/code-scanning/sarifs \\\n -d '{\"commit_sha\":\"commit_sha\",\"ref\":\"ref\",\"sarif\":\"sarif\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/code-scanning/sarifs \\\n  -d '{\"commit_sha\":\"commit_sha\",\"ref\":\"ref\",\"sarif\":\"sarif\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/repos/octocat/hello-world/code-scanning/sarifs \\\n -d '{\"commit_sha\":\"commit_sha\",\"ref\":\"ref\",\"sarif\":\"sarif\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/repos/octocat/hello-world/code-scanning/sarifs \\\n  -d '{\"commit_sha\":\"commit_sha\",\"ref\":\"ref\",\"sarif\":\"sarif\"}'
    " }, { "lang": "JavaScript", @@ -39716,7 +39768,7 @@ } ], "summary": "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\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\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).\"", + "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/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/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\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).\"", "operationId": "code-scanning/upload-sarif", "tags": [ "code-scanning" @@ -39745,11 +39797,11 @@ }, "ref": { "type": "string", - "description": "

    Required. The full Git reference, formatted as refs/heads/<branch name>.

    ", + "description": "

    Required. The full Git reference, formatted as refs/heads/<branch name>,\nrefs/pull/<number>/merge, or refs/pull/<number>/head.

    ", "name": "ref", "in": "body", "rawType": "string", - "rawDescription": "The full Git reference, formatted as `refs/heads/`.", + "rawDescription": "The full Git reference, formatted as `refs/heads/`,\n`refs/pull//merge`, or `refs/pull//head`.", "childParamsGroups": [] }, "sarif": { @@ -39811,7 +39863,7 @@ "category": "code-scanning", "categoryLabel": "Code scanning", "notes": [], - "descriptionHTML": "

    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

    You 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
    gzip -c analysis-data.sarif | base64\n
    \n

    SARIF 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

    The 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.\"

    ", + "descriptionHTML": "

    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

    There are two places where you can upload code scanning results.

    \n\n

    You 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
    gzip -c analysis-data.sarif | base64\n
    \n

    SARIF 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

    The 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.\"

    ", "bodyParameters": [ { "description": "

    Required. The SHA of the commit to which the analysis you are uploading relates.

    ", @@ -39827,11 +39879,11 @@ }, { "type": "string", - "description": "

    Required. The full Git reference, formatted as refs/heads/<branch name>.

    ", + "description": "

    Required. The full Git reference, formatted as refs/heads/<branch name>,\nrefs/pull/<number>/merge, or refs/pull/<number>/head.

    ", "name": "ref", "in": "body", "rawType": "string", - "rawDescription": "The full Git reference, formatted as `refs/heads/`.", + "rawDescription": "The full Git reference, formatted as `refs/heads/`,\n`refs/pull//merge`, or `refs/pull//head`.", "childParamsGroups": [] }, { @@ -39911,7 +39963,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/code-scanning/sarifs/{sarif_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "owner", @@ -39945,8 +39997,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/code-scanning/sarifs/SARIF_ID", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/code-scanning/sarifs/SARIF_ID
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/repos/octocat/hello-world/code-scanning/sarifs/SARIF_ID", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/repos/octocat/hello-world/code-scanning/sarifs/SARIF_ID
    " }, { "lang": "JavaScript", @@ -39986,7 +40038,7 @@ { "httpStatusCode": "403", "httpStatusMessage": "Forbidden", - "description": "Response if github advanced security is not enabled for this repository" + "description": "Response if git hub advanced security is not enabled for this repository" }, { "httpStatusCode": "404", @@ -40003,7 +40055,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/collaborators", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "owner", @@ -40063,8 +40115,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/collaborators", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/collaborators
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/repos/octocat/hello-world/collaborators", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/repos/octocat/hello-world/collaborators
    " }, { "lang": "JavaScript", @@ -40114,7 +40166,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/collaborators/{username}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "owner", @@ -40147,8 +40199,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/collaborators/USERNAME", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/collaborators/USERNAME
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/repos/octocat/hello-world/collaborators/USERNAME", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/repos/octocat/hello-world/collaborators/USERNAME
    " }, { "lang": "JavaScript", @@ -40197,7 +40249,7 @@ { "verb": "put", "requestPath": "/repos/{owner}/{repo}/collaborators/{username}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "owner", @@ -40230,8 +40282,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/collaborators/USERNAME \\\n -d '{\"permission\":\"permission\"}'", - "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/collaborators/USERNAME \\\n  -d '{\"permission\":\"permission\"}'
    " + "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/repos/octocat/hello-world/collaborators/USERNAME \\\n -d '{\"permission\":\"permission\"}'", + "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/repos/octocat/hello-world/collaborators/USERNAME \\\n  -d '{\"permission\":\"permission\"}'
    " }, { "lang": "JavaScript", @@ -40356,7 +40408,7 @@ { "verb": "delete", "requestPath": "/repos/{owner}/{repo}/collaborators/{username}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "owner", @@ -40389,8 +40441,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/collaborators/USERNAME", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/collaborators/USERNAME
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/repos/octocat/hello-world/collaborators/USERNAME", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/repos/octocat/hello-world/collaborators/USERNAME
    " }, { "lang": "JavaScript", @@ -40425,7 +40477,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "bodyParameters": [], @@ -40434,7 +40486,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/collaborators/{username}/permission", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "owner", @@ -40467,8 +40519,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/collaborators/USERNAME/permission", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/collaborators/USERNAME/permission
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/repos/octocat/hello-world/collaborators/USERNAME/permission", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/repos/octocat/hello-world/collaborators/USERNAME/permission
    " }, { "lang": "JavaScript", @@ -40518,7 +40570,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/comments", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "owner", @@ -40562,8 +40614,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/comments", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/comments
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/repos/octocat/hello-world/comments", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/repos/octocat/hello-world/comments
    " }, { "lang": "JavaScript", @@ -40615,7 +40667,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/comments/{comment_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "owner", @@ -40649,8 +40701,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/comments/42", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/comments/42
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/repos/octocat/hello-world/comments/42", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/repos/octocat/hello-world/comments/42
    " }, { "lang": "JavaScript", @@ -40707,7 +40759,7 @@ { "verb": "patch", "requestPath": "/repos/{owner}/{repo}/comments/{comment_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "owner", @@ -40741,8 +40793,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/comments/42 \\\n -d '{\"body\":\"body\"}'", - "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/comments/42 \\\n  -d '{\"body\":\"body\"}'
    " + "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/repos/octocat/hello-world/comments/42 \\\n -d '{\"body\":\"body\"}'", + "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/repos/octocat/hello-world/comments/42 \\\n  -d '{\"body\":\"body\"}'
    " }, { "lang": "JavaScript", @@ -40828,7 +40880,7 @@ { "verb": "delete", "requestPath": "/repos/{owner}/{repo}/comments/{comment_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "owner", @@ -40862,8 +40914,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/comments/42", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/comments/42
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/repos/octocat/hello-world/comments/42", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/repos/octocat/hello-world/comments/42
    " }, { "lang": "JavaScript", @@ -40898,7 +40950,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "404", @@ -40912,7 +40964,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/comments/{comment_id}/reactions", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "owner", @@ -40986,8 +41038,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n https://api.github.com/repos/octocat/hello-world/comments/42/reactions", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n  https://api.github.com/repos/octocat/hello-world/comments/42/reactions
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n http(s)://api.{hostname}/repos/octocat/hello-world/comments/42/reactions", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n  http(s)://api.{hostname}/repos/octocat/hello-world/comments/42/reactions
    " }, { "lang": "JavaScript", @@ -41047,7 +41099,7 @@ { "verb": "post", "requestPath": "/repos/{owner}/{repo}/comments/{comment_id}/reactions", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "owner", @@ -41081,8 +41133,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n https://api.github.com/repos/octocat/hello-world/comments/42/reactions \\\n -d '{\"content\":\"content\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n  https://api.github.com/repos/octocat/hello-world/comments/42/reactions \\\n  -d '{\"content\":\"content\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n http(s)://api.{hostname}/repos/octocat/hello-world/comments/42/reactions \\\n -d '{\"content\":\"content\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n  http(s)://api.{hostname}/repos/octocat/hello-world/comments/42/reactions \\\n  -d '{\"content\":\"content\"}'
    " }, { "lang": "JavaScript", @@ -41204,7 +41256,7 @@ { "verb": "delete", "requestPath": "/repos/{owner}/{repo}/comments/{comment_id}/reactions/{reaction_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "owner", @@ -41247,8 +41299,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n https://api.github.com/repos/octocat/hello-world/comments/42/reactions/42", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n  https://api.github.com/repos/octocat/hello-world/comments/42/reactions/42
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n http(s)://api.{hostname}/repos/octocat/hello-world/comments/42/reactions/42", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n  http(s)://api.{hostname}/repos/octocat/hello-world/comments/42/reactions/42
    " }, { "lang": "JavaScript", @@ -41288,7 +41340,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "bodyParameters": [], @@ -41297,7 +41349,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/commits", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "owner", @@ -41386,13 +41438,35 @@ "default": 1 }, "descriptionHTML": "

    Page number of the results to fetch.

    " + }, + { + "name": "top", + "description": "legacy parameter for pagination.", + "in": "query", + "deprecated": true, + "required": false, + "schema": { + "type": "string" + }, + "descriptionHTML": "

    legacy parameter for pagination.

    " + }, + { + "name": "last_sha", + "description": "legacy parameter for pagination.", + "in": "query", + "deprecated": true, + "required": false, + "schema": { + "type": "string" + }, + "descriptionHTML": "

    legacy parameter for pagination.

    " } ], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/commits", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/commits
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/repos/octocat/hello-world/commits", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/repos/octocat/hello-world/commits
    " }, { "lang": "JavaScript", @@ -41457,7 +41531,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/commits/{commit_sha}/branches-where-head", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "owner", @@ -41492,8 +41566,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.groot-preview+json\" \\\n https://api.github.com/repos/octocat/hello-world/commits/COMMIT_SHA/branches-where-head", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.groot-preview+json\" \\\n  https://api.github.com/repos/octocat/hello-world/commits/COMMIT_SHA/branches-where-head
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.groot-preview+json\" \\\n http(s)://api.{hostname}/repos/octocat/hello-world/commits/COMMIT_SHA/branches-where-head", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.groot-preview+json\" \\\n  http(s)://api.{hostname}/repos/octocat/hello-world/commits/COMMIT_SHA/branches-where-head
    " }, { "lang": "JavaScript", @@ -41555,7 +41629,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/commits/{commit_sha}/comments", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "owner", @@ -41610,8 +41684,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/commits/COMMIT_SHA/comments", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/commits/COMMIT_SHA/comments
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/repos/octocat/hello-world/commits/COMMIT_SHA/comments", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/repos/octocat/hello-world/commits/COMMIT_SHA/comments
    " }, { "lang": "JavaScript", @@ -41663,7 +41737,7 @@ { "verb": "post", "requestPath": "/repos/{owner}/{repo}/commits/{commit_sha}/comments", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "owner", @@ -41698,8 +41772,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/commits/COMMIT_SHA/comments \\\n -d '{\"body\":\"body\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/commits/COMMIT_SHA/comments \\\n  -d '{\"body\":\"body\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/repos/octocat/hello-world/commits/COMMIT_SHA/comments \\\n -d '{\"body\":\"body\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/repos/octocat/hello-world/commits/COMMIT_SHA/comments \\\n  -d '{\"body\":\"body\"}'
    " }, { "lang": "JavaScript", @@ -41848,7 +41922,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/commits/{commit_sha}/pulls", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "owner", @@ -41903,8 +41977,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.groot-preview+json\" \\\n https://api.github.com/repos/octocat/hello-world/commits/COMMIT_SHA/pulls", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.groot-preview+json\" \\\n  https://api.github.com/repos/octocat/hello-world/commits/COMMIT_SHA/pulls
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.groot-preview+json\" \\\n http(s)://api.{hostname}/repos/octocat/hello-world/commits/COMMIT_SHA/pulls", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.groot-preview+json\" \\\n  http(s)://api.{hostname}/repos/octocat/hello-world/commits/COMMIT_SHA/pulls
    " }, { "lang": "JavaScript", @@ -41961,7 +42035,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/commits/{ref}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "owner", @@ -41981,23 +42055,43 @@ }, "descriptionHTML": "" }, + { + "name": "page", + "description": "Page number of the results to fetch.", + "in": "query", + "schema": { + "type": "integer", + "default": 1 + }, + "descriptionHTML": "

    Page number of the results to fetch.

    " + }, + { + "name": "per_page", + "description": "Results per page (max 100).", + "in": "query", + "schema": { + "type": "integer", + "default": 30 + }, + "descriptionHTML": "

    Results per page (max 100).

    " + }, { "name": "ref", - "description": "ref+ parameter", + "description": "ref parameter", "in": "path", "required": true, "schema": { "type": "string" }, "x-multi-segment": true, - "descriptionHTML": "

    ref+ parameter

    " + "descriptionHTML": "

    ref parameter

    " } ], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/commits/REF", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/commits/REF
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/repos/octocat/hello-world/commits/REF", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/repos/octocat/hello-world/commits/REF
    " }, { "lang": "JavaScript", @@ -42057,7 +42151,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/commits/{ref}/check-runs", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "owner", @@ -42079,14 +42173,14 @@ }, { "name": "ref", - "description": "ref+ parameter", + "description": "ref parameter", "in": "path", "required": true, "schema": { "type": "string" }, "x-multi-segment": true, - "descriptionHTML": "

    ref+ parameter

    " + "descriptionHTML": "

    ref parameter

    " }, { "name": "check_name", @@ -42147,13 +42241,22 @@ "default": 1 }, "descriptionHTML": "

    Page number of the results to fetch.

    " + }, + { + "name": "app_id", + "in": "query", + "required": false, + "schema": { + "type": "integer" + }, + "descriptionHTML": "" } ], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/commits/REF/check-runs", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/commits/REF/check-runs
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/repos/octocat/hello-world/commits/REF/check-runs", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/repos/octocat/hello-world/commits/REF/check-runs
    " }, { "lang": "JavaScript", @@ -42198,7 +42301,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/commits/{ref}/check-suites", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "owner", @@ -42220,14 +42323,14 @@ }, { "name": "ref", - "description": "ref+ parameter", + "description": "ref parameter", "in": "path", "required": true, "schema": { "type": "string" }, "x-multi-segment": true, - "descriptionHTML": "

    ref+ parameter

    " + "descriptionHTML": "

    ref parameter

    " }, { "name": "app_id", @@ -42274,8 +42377,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/commits/REF/check-suites", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/commits/REF/check-suites
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/repos/octocat/hello-world/commits/REF/check-suites", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/repos/octocat/hello-world/commits/REF/check-suites
    " }, { "lang": "JavaScript", @@ -42320,7 +42423,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/commits/{ref}/status", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "owner", @@ -42342,21 +42445,41 @@ }, { "name": "ref", - "description": "ref+ parameter", + "description": "ref parameter", "in": "path", "required": true, "schema": { "type": "string" }, "x-multi-segment": true, - "descriptionHTML": "

    ref+ parameter

    " + "descriptionHTML": "

    ref parameter

    " + }, + { + "name": "per_page", + "description": "Results per page (max 100).", + "in": "query", + "schema": { + "type": "integer", + "default": 30 + }, + "descriptionHTML": "

    Results per page (max 100).

    " + }, + { + "name": "page", + "description": "Page number of the results to fetch.", + "in": "query", + "schema": { + "type": "integer", + "default": 1 + }, + "descriptionHTML": "

    Page number of the results to fetch.

    " } ], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/commits/REF/status", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/commits/REF/status
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/repos/octocat/hello-world/commits/REF/status", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/repos/octocat/hello-world/commits/REF/status
    " }, { "lang": "JavaScript", @@ -42406,7 +42529,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/commits/{ref}/statuses", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "owner", @@ -42428,14 +42551,14 @@ }, { "name": "ref", - "description": "ref+ parameter", + "description": "ref parameter", "in": "path", "required": true, "schema": { "type": "string" }, "x-multi-segment": true, - "descriptionHTML": "

    ref+ parameter

    " + "descriptionHTML": "

    ref parameter

    " }, { "name": "per_page", @@ -42461,8 +42584,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/commits/REF/statuses", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/commits/REF/statuses
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/repos/octocat/hello-world/commits/REF/statuses", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/repos/octocat/hello-world/commits/REF/statuses
    " }, { "lang": "JavaScript", @@ -42512,7 +42635,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/compare/{base}...{head}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "owner", @@ -42549,13 +42672,33 @@ "type": "string" }, "descriptionHTML": "" + }, + { + "name": "per_page", + "description": "Results per page.", + "in": "query", + "schema": { + "type": "integer", + "default": 250 + }, + "descriptionHTML": "

    Results per page.

    " + }, + { + "name": "page", + "description": "Page number of the results to fetch.", + "in": "query", + "schema": { + "type": "integer", + "default": 1 + }, + "descriptionHTML": "

    Page number of the results to fetch.

    " } ], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/compare/BASE...HEAD", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/compare/BASE...HEAD
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/repos/octocat/hello-world/compare/BASE...HEAD", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/repos/octocat/hello-world/compare/BASE...HEAD
    " }, { "lang": "JavaScript", @@ -42564,7 +42707,7 @@ } ], "summary": "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. |", + "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\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. |", "tags": [ "repos" ], @@ -42587,7 +42730,7 @@ "subcategoryLabel": "Commits", "notes": [], "bodyParameters": [], - "descriptionHTML": "

    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 <USERNAME>:branch.

    \n

    The 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 to fetch diff and patch formats.

    \n

    The 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

    Working with large comparisons

    \n

    The 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 to enumerate all commits in the range.

    \n

    For 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

    Signature verification object

    \n

    The response will 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\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameTypeDescription
    verifiedbooleanIndicates whether GitHub considers the signature in this commit to be verified.
    reasonstringThe reason for verified value. Possible values and their meanings are enumerated in table below.
    signaturestringThe signature that was extracted from the commit.
    payloadstringThe value that was signed.
    \n

    These are the possible values for reason in the verification object:

    \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    ValueDescription
    expired_keyThe key that made the signature is expired.
    not_signing_keyThe "signing" flag is not among the usage flags in the GPG key that made the signature.
    gpgverify_errorThere was an error communicating with the signature verification service.
    gpgverify_unavailableThe signature verification service is currently unavailable.
    unsignedThe object does not include a signature.
    unknown_signature_typeA non-PGP signature was found in the commit.
    no_userNo user was associated with the committer email address in the commit.
    unverified_emailThe committer email address in the commit was associated with a user, but the email address is not verified on her/his account.
    bad_emailThe committer email address in the commit is not included in the identities of the PGP key that made the signature.
    unknown_keyThe key that made the signature has not been registered with any user's account.
    malformed_signatureThere was an error parsing the signature.
    invalidThe signature could not be cryptographically verified using the key whose key-id was found in the signature.
    validNone of the above errors applied, so the signature is considered to be verified.
    ", + "descriptionHTML": "

    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 <USERNAME>:branch.

    \n

    The 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 to fetch diff and patch formats.

    \n

    The 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

    Working with large comparisons

    \n

    To 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."

    \n

    When 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

    Signature verification object

    \n

    The response will 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\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    NameTypeDescription
    verifiedbooleanIndicates whether GitHub considers the signature in this commit to be verified.
    reasonstringThe reason for verified value. Possible values and their meanings are enumerated in table below.
    signaturestringThe signature that was extracted from the commit.
    payloadstringThe value that was signed.
    \n

    These are the possible values for reason in the verification object:

    \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    ValueDescription
    expired_keyThe key that made the signature is expired.
    not_signing_keyThe "signing" flag is not among the usage flags in the GPG key that made the signature.
    gpgverify_errorThere was an error communicating with the signature verification service.
    gpgverify_unavailableThe signature verification service is currently unavailable.
    unsignedThe object does not include a signature.
    unknown_signature_typeA non-PGP signature was found in the commit.
    no_userNo user was associated with the committer email address in the commit.
    unverified_emailThe committer email address in the commit was associated with a user, but the email address is not verified on her/his account.
    bad_emailThe committer email address in the commit is not included in the identities of the PGP key that made the signature.
    unknown_keyThe key that made the signature has not been registered with any user's account.
    malformed_signatureThere was an error parsing the signature.
    invalidThe signature could not be cryptographically verified using the key whose key-id was found in the signature.
    validNone of the above errors applied, so the signature is considered to be verified.
    ", "responses": [ { "httpStatusCode": "200", @@ -42610,7 +42753,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/contents/{path}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "owner", @@ -42632,14 +42775,14 @@ }, { "name": "path", - "description": "path+ parameter", + "description": "path parameter", "in": "path", "required": true, "schema": { "type": "string" }, "x-multi-segment": true, - "descriptionHTML": "

    path+ parameter

    " + "descriptionHTML": "

    path parameter

    " }, { "name": "ref", @@ -42655,8 +42798,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/contents/PATH", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/contents/PATH
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/repos/octocat/hello-world/contents/PATH", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/repos/octocat/hello-world/contents/PATH
    " }, { "lang": "JavaScript", @@ -42734,7 +42877,7 @@ { "verb": "put", "requestPath": "/repos/{owner}/{repo}/contents/{path}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "owner", @@ -42756,21 +42899,21 @@ }, { "name": "path", - "description": "path+ parameter", + "description": "path parameter", "in": "path", "required": true, "schema": { "type": "string" }, "x-multi-segment": true, - "descriptionHTML": "

    path+ parameter

    " + "descriptionHTML": "

    path parameter

    " } ], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/contents/PATH \\\n -d '{\"message\":\"message\",\"content\":\"content\"}'", - "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/contents/PATH \\\n  -d '{\"message\":\"message\",\"content\":\"content\"}'
    " + "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/repos/octocat/hello-world/contents/PATH \\\n -d '{\"message\":\"message\",\"content\":\"content\"}'", + "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/repos/octocat/hello-world/contents/PATH \\\n  -d '{\"message\":\"message\",\"content\":\"content\"}'
    " }, { "lang": "JavaScript", @@ -43257,7 +43400,7 @@ { "verb": "delete", "requestPath": "/repos/{owner}/{repo}/contents/{path}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "owner", @@ -43279,21 +43422,21 @@ }, { "name": "path", - "description": "path+ parameter", + "description": "path parameter", "in": "path", "required": true, "schema": { "type": "string" }, "x-multi-segment": true, - "descriptionHTML": "

    path+ parameter

    " + "descriptionHTML": "

    path parameter

    " } ], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/contents/PATH \\\n -d '{\"message\":\"message\",\"sha\":\"sha\"}'", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/contents/PATH \\\n  -d '{\"message\":\"message\",\"sha\":\"sha\"}'
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/repos/octocat/hello-world/contents/PATH \\\n -d '{\"message\":\"message\",\"sha\":\"sha\"}'", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/repos/octocat/hello-world/contents/PATH \\\n  -d '{\"message\":\"message\",\"sha\":\"sha\"}'
    " }, { "lang": "JavaScript", @@ -43656,7 +43799,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/contributors", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "owner", @@ -43710,8 +43853,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/contributors", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/contributors
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/repos/octocat/hello-world/contributors", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/repos/octocat/hello-world/contributors
    " }, { "lang": "JavaScript", @@ -43769,7 +43912,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/deployments", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "owner", @@ -43829,7 +43972,8 @@ "required": false, "schema": { "type": "string", - "default": "none" + "default": "none", + "nullable": true }, "descriptionHTML": "

    The name of the environment that was deployed to (e.g., staging or production).

    " }, @@ -43857,8 +44001,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/deployments", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/deployments
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/repos/octocat/hello-world/deployments", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/repos/octocat/hello-world/deployments
    " }, { "lang": "JavaScript", @@ -43910,7 +44054,7 @@ { "verb": "post", "requestPath": "/repos/{owner}/{repo}/deployments", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "owner", @@ -43934,8 +44078,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/deployments \\\n -d '{\"ref\":\"ref\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/deployments \\\n  -d '{\"ref\":\"ref\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/repos/octocat/hello-world/deployments \\\n -d '{\"ref\":\"ref\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/repos/octocat/hello-world/deployments \\\n  -d '{\"ref\":\"ref\"}'
    " }, { "lang": "JavaScript", @@ -44234,12 +44378,6 @@ "description": "Simple example", "payload": "
    {\n  \"url\": \"https://api.github.com/repos/octocat/example/deployments/1\",\n  \"id\": 1,\n  \"node_id\": \"MDEwOkRlcGxveW1lbnQx\",\n  \"sha\": \"a84d88e7554fc1fa21bcbc4efae3c782a70d2b9d\",\n  \"ref\": \"topic-branch\",\n  \"task\": \"deploy\",\n  \"payload\": {},\n  \"original_environment\": \"staging\",\n  \"environment\": \"production\",\n  \"description\": \"Deploy request from hubot\",\n  \"creator\": {\n    \"login\": \"octocat\",\n    \"id\": 1,\n    \"node_id\": \"MDQ6VXNlcjE=\",\n    \"avatar_url\": \"https://github.com/images/error/octocat_happy.gif\",\n    \"gravatar_id\": \"\",\n    \"url\": \"https://api.github.com/users/octocat\",\n    \"html_url\": \"https://github.com/octocat\",\n    \"followers_url\": \"https://api.github.com/users/octocat/followers\",\n    \"following_url\": \"https://api.github.com/users/octocat/following{/other_user}\",\n    \"gists_url\": \"https://api.github.com/users/octocat/gists{/gist_id}\",\n    \"starred_url\": \"https://api.github.com/users/octocat/starred{/owner}{/repo}\",\n    \"subscriptions_url\": \"https://api.github.com/users/octocat/subscriptions\",\n    \"organizations_url\": \"https://api.github.com/users/octocat/orgs\",\n    \"repos_url\": \"https://api.github.com/users/octocat/repos\",\n    \"events_url\": \"https://api.github.com/users/octocat/events{/privacy}\",\n    \"received_events_url\": \"https://api.github.com/users/octocat/received_events\",\n    \"type\": \"User\",\n    \"site_admin\": false\n  },\n  \"created_at\": \"2012-07-20T01:19:13Z\",\n  \"updated_at\": \"2012-07-20T01:19:13Z\",\n  \"statuses_url\": \"https://api.github.com/repos/octocat/example/deployments/1/statuses\",\n  \"repository_url\": \"https://api.github.com/repos/octocat/example\",\n  \"transient_environment\": false,\n  \"production_environment\": true\n}\n
    " }, - { - "httpStatusCode": "201", - "httpStatusMessage": "Created", - "description": "Advanced example", - "payload": "
    {\n  \"url\": \"https://api.github.com/repos/octocat/example/deployments/1\",\n  \"id\": 1,\n  \"node_id\": \"MDEwOkRlcGxveW1lbnQx\",\n  \"sha\": \"a84d88e7554fc1fa21bcbc4efae3c782a70d2b9d\",\n  \"ref\": \"topic-branch\",\n  \"task\": \"deploy\",\n  \"payload\": {},\n  \"original_environment\": \"staging\",\n  \"environment\": \"production\",\n  \"description\": \"Deploy request from hubot\",\n  \"creator\": {\n    \"login\": \"octocat\",\n    \"id\": 1,\n    \"node_id\": \"MDQ6VXNlcjE=\",\n    \"avatar_url\": \"https://github.com/images/error/octocat_happy.gif\",\n    \"gravatar_id\": \"\",\n    \"url\": \"https://api.github.com/users/octocat\",\n    \"html_url\": \"https://github.com/octocat\",\n    \"followers_url\": \"https://api.github.com/users/octocat/followers\",\n    \"following_url\": \"https://api.github.com/users/octocat/following{/other_user}\",\n    \"gists_url\": \"https://api.github.com/users/octocat/gists{/gist_id}\",\n    \"starred_url\": \"https://api.github.com/users/octocat/starred{/owner}{/repo}\",\n    \"subscriptions_url\": \"https://api.github.com/users/octocat/subscriptions\",\n    \"organizations_url\": \"https://api.github.com/users/octocat/orgs\",\n    \"repos_url\": \"https://api.github.com/users/octocat/repos\",\n    \"events_url\": \"https://api.github.com/users/octocat/events{/privacy}\",\n    \"received_events_url\": \"https://api.github.com/users/octocat/received_events\",\n    \"type\": \"User\",\n    \"site_admin\": false\n  },\n  \"created_at\": \"2012-07-20T01:19:13Z\",\n  \"updated_at\": \"2012-07-20T01:19:13Z\",\n  \"statuses_url\": \"https://api.github.com/repos/octocat/example/deployments/1/statuses\",\n  \"repository_url\": \"https://api.github.com/repos/octocat/example\",\n  \"transient_environment\": false,\n  \"production_environment\": true\n}\n
    " - }, { "httpStatusCode": "202", "httpStatusMessage": "Accepted", @@ -44249,14 +44387,7 @@ { "httpStatusCode": "409", "httpStatusMessage": "Conflict", - "description": "Merge conflict response", - "payload": "
    {\n  \"message\": \"Conflict merging master into topic-branch\"\n}\n
    " - }, - { - "httpStatusCode": "409", - "httpStatusMessage": "Conflict", - "description": "Failed commit status checks", - "payload": "
    {\n  \"message\": \"Conflict: Commit status checks failed for topic-branch.\"\n}\n
    " + "description": "Response when there is a merge conflict or the commit s status checks failed" }, { "httpStatusCode": "422", @@ -44268,7 +44399,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/deployments/{deployment_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "owner", @@ -44302,8 +44433,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/deployments/42", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/deployments/42
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/repos/octocat/hello-world/deployments/42", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/repos/octocat/hello-world/deployments/42
    " }, { "lang": "JavaScript", @@ -44360,7 +44491,7 @@ { "verb": "delete", "requestPath": "/repos/{owner}/{repo}/deployments/{deployment_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "owner", @@ -44394,8 +44525,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/deployments/42", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/deployments/42
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/repos/octocat/hello-world/deployments/42", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/repos/octocat/hello-world/deployments/42
    " }, { "lang": "JavaScript", @@ -44430,7 +44561,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "404", @@ -44449,7 +44580,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/deployments/{deployment_id}/statuses", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "owner", @@ -44503,8 +44634,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/deployments/42/statuses", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/deployments/42/statuses
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/repos/octocat/hello-world/deployments/42/statuses", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/repos/octocat/hello-world/deployments/42/statuses
    " }, { "lang": "JavaScript", @@ -44567,7 +44698,7 @@ { "verb": "post", "requestPath": "/repos/{owner}/{repo}/deployments/{deployment_id}/statuses", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "owner", @@ -44601,8 +44732,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/deployments/42/statuses \\\n -d '{\"state\":\"state\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/deployments/42/statuses \\\n  -d '{\"state\":\"state\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/repos/octocat/hello-world/deployments/42/statuses \\\n -d '{\"state\":\"state\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/repos/octocat/hello-world/deployments/42/statuses \\\n  -d '{\"state\":\"state\"}'
    " }, { "lang": "JavaScript", @@ -44848,7 +44979,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/deployments/{deployment_id}/statuses/{status_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "owner", @@ -44891,8 +45022,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/deployments/42/statuses/42", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/deployments/42/statuses/42
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/repos/octocat/hello-world/deployments/42/statuses/42", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/repos/octocat/hello-world/deployments/42/statuses/42
    " }, { "lang": "JavaScript", @@ -44960,7 +45091,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/environments", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "owner", @@ -44984,8 +45115,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/environments", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/environments
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/repos/octocat/hello-world/environments", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/repos/octocat/hello-world/environments
    " }, { "lang": "JavaScript", @@ -45030,7 +45161,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "owner", @@ -45064,8 +45195,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/environments/ENVIRONMENT_NAME", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/environments/ENVIRONMENT_NAME
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/repos/octocat/hello-world/environments/ENVIRONMENT_NAME", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/repos/octocat/hello-world/environments/ENVIRONMENT_NAME
    " }, { "lang": "JavaScript", @@ -45110,7 +45241,7 @@ { "verb": "put", "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "owner", @@ -45144,8 +45275,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/environments/ENVIRONMENT_NAME \\\n -d '{\"wait_timer\":42}'", - "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/environments/ENVIRONMENT_NAME \\\n  -d '{\"wait_timer\":42}'
    " + "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/repos/octocat/hello-world/environments/ENVIRONMENT_NAME \\\n -d '{\"wait_timer\":42}'", + "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/repos/octocat/hello-world/environments/ENVIRONMENT_NAME \\\n  -d '{\"wait_timer\":42}'
    " }, { "lang": "JavaScript", @@ -45491,7 +45622,7 @@ { "verb": "delete", "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "owner", @@ -45525,8 +45656,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/environments/ENVIRONMENT_NAME", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/environments/ENVIRONMENT_NAME
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/repos/octocat/hello-world/environments/ENVIRONMENT_NAME", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/repos/octocat/hello-world/environments/ENVIRONMENT_NAME
    " }, { "lang": "JavaScript", @@ -45561,7 +45692,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Default response" } ], "bodyParameters": [], @@ -45570,7 +45701,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/events", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "owner", @@ -45614,8 +45745,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/events", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/events
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/repos/octocat/hello-world/events", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/repos/octocat/hello-world/events
    " }, { "lang": "JavaScript", @@ -45659,7 +45790,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/forks", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "owner", @@ -45689,7 +45820,8 @@ "enum": [ "newest", "oldest", - "stargazers" + "stargazers", + "watchers" ], "default": "newest" }, @@ -45714,13 +45846,35 @@ "default": 1 }, "descriptionHTML": "

    Page number of the results to fetch.

    " + }, + { + "name": "org", + "description": "legacy query parameter for specifying the org.", + "in": "query", + "deprecated": true, + "required": false, + "schema": { + "type": "string" + }, + "descriptionHTML": "

    legacy query parameter for specifying the org.

    " + }, + { + "name": "organization", + "description": "legacy query parameter for specifying the org.", + "in": "query", + "deprecated": true, + "required": false, + "schema": { + "type": "string" + }, + "descriptionHTML": "

    legacy query parameter for specifying the org.

    " } ], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/forks", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/forks
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/repos/octocat/hello-world/forks", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/repos/octocat/hello-world/forks
    " }, { "lang": "JavaScript", @@ -45770,7 +45924,7 @@ { "verb": "post", "requestPath": "/repos/{owner}/{repo}/forks", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "owner", @@ -45789,13 +45943,35 @@ "type": "string" }, "descriptionHTML": "" + }, + { + "name": "org", + "description": "legacy query parameter for specifying the org.", + "in": "query", + "deprecated": true, + "required": false, + "schema": { + "type": "string" + }, + "descriptionHTML": "

    legacy query parameter for specifying the org.

    " + }, + { + "name": "organization", + "description": "legacy query parameter for specifying the org.", + "in": "query", + "deprecated": true, + "required": false, + "schema": { + "type": "string" + }, + "descriptionHTML": "

    legacy query parameter for specifying the org.

    " } ], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/forks \\\n -d '{\"organization\":\"organization\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/forks \\\n  -d '{\"organization\":\"organization\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/repos/octocat/hello-world/forks \\\n -d '{\"organization\":\"organization\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/repos/octocat/hello-world/forks \\\n  -d '{\"organization\":\"organization\"}'
    " }, { "lang": "JavaScript", @@ -45818,6 +45994,7 @@ "application/json": { "schema": { "type": "object", + "nullable": true, "properties": { "organization": { "type": "string", @@ -45890,7 +46067,7 @@ { "verb": "post", "requestPath": "/repos/{owner}/{repo}/git/blobs", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "owner", @@ -45914,8 +46091,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/git/blobs \\\n -d '{\"content\":\"content\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/git/blobs \\\n  -d '{\"content\":\"content\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/repos/octocat/hello-world/git/blobs \\\n -d '{\"content\":\"content\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/repos/octocat/hello-world/git/blobs \\\n  -d '{\"content\":\"content\"}'
    " }, { "lang": "JavaScript", @@ -46037,7 +46214,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/git/blobs/{file_sha}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "owner", @@ -46070,8 +46247,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/git/blobs/FILE_SHA", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/git/blobs/FILE_SHA
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/repos/octocat/hello-world/git/blobs/FILE_SHA", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/repos/octocat/hello-world/git/blobs/FILE_SHA
    " }, { "lang": "JavaScript", @@ -46131,7 +46308,7 @@ { "verb": "post", "requestPath": "/repos/{owner}/{repo}/git/commits", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "owner", @@ -46155,8 +46332,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/git/commits \\\n -d '{\"message\":\"message\",\"tree\":\"tree\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/git/commits \\\n  -d '{\"message\":\"message\",\"tree\":\"tree\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/repos/octocat/hello-world/git/commits \\\n -d '{\"message\":\"message\",\"tree\":\"tree\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/repos/octocat/hello-world/git/commits \\\n  -d '{\"message\":\"message\",\"tree\":\"tree\"}'
    " }, { "lang": "JavaScript", @@ -46610,7 +46787,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/git/commits/{commit_sha}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "owner", @@ -46645,8 +46822,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/git/commits/COMMIT_SHA", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/git/commits/COMMIT_SHA
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/repos/octocat/hello-world/git/commits/COMMIT_SHA", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/repos/octocat/hello-world/git/commits/COMMIT_SHA
    " }, { "lang": "JavaScript", @@ -46696,7 +46873,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/git/matching-refs/{ref}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "owner", @@ -46718,14 +46895,14 @@ }, { "name": "ref", - "description": "ref+ parameter", + "description": "ref parameter", "in": "path", "required": true, "schema": { "type": "string" }, "x-multi-segment": true, - "descriptionHTML": "

    ref+ parameter

    " + "descriptionHTML": "

    ref parameter

    " }, { "name": "per_page", @@ -46751,8 +46928,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/git/matching-refs/REF", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/git/matching-refs/REF
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/repos/octocat/hello-world/git/matching-refs/REF", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/repos/octocat/hello-world/git/matching-refs/REF
    " }, { "lang": "JavaScript", @@ -46797,7 +46974,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/git/ref/{ref}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "owner", @@ -46819,21 +46996,21 @@ }, { "name": "ref", - "description": "ref+ parameter", + "description": "ref parameter", "in": "path", "required": true, "schema": { "type": "string" }, "x-multi-segment": true, - "descriptionHTML": "

    ref+ parameter

    " + "descriptionHTML": "

    ref parameter

    " } ], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/git/ref/REF", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/git/ref/REF
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/repos/octocat/hello-world/git/ref/REF", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/repos/octocat/hello-world/git/ref/REF
    " }, { "lang": "JavaScript", @@ -46883,7 +47060,7 @@ { "verb": "post", "requestPath": "/repos/{owner}/{repo}/git/refs", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "owner", @@ -46907,8 +47084,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/git/refs \\\n -d '{\"ref\":\"ref\",\"sha\":\"sha\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/git/refs \\\n  -d '{\"ref\":\"ref\",\"sha\":\"sha\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/repos/octocat/hello-world/git/refs \\\n -d '{\"ref\":\"ref\",\"sha\":\"sha\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/repos/octocat/hello-world/git/refs \\\n  -d '{\"ref\":\"ref\",\"sha\":\"sha\"}'
    " }, { "lang": "JavaScript", @@ -47032,7 +47209,7 @@ { "verb": "patch", "requestPath": "/repos/{owner}/{repo}/git/refs/{ref}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "owner", @@ -47054,21 +47231,21 @@ }, { "name": "ref", - "description": "ref+ parameter", + "description": "ref parameter", "in": "path", "required": true, "schema": { "type": "string" }, "x-multi-segment": true, - "descriptionHTML": "

    ref+ parameter

    " + "descriptionHTML": "

    ref parameter

    " } ], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/git/refs/REF \\\n -d '{\"sha\":\"sha\"}'", - "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/git/refs/REF \\\n  -d '{\"sha\":\"sha\"}'
    " + "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/repos/octocat/hello-world/git/refs/REF \\\n -d '{\"sha\":\"sha\"}'", + "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/repos/octocat/hello-world/git/refs/REF \\\n  -d '{\"sha\":\"sha\"}'
    " }, { "lang": "JavaScript", @@ -47175,7 +47352,7 @@ { "verb": "delete", "requestPath": "/repos/{owner}/{repo}/git/refs/{ref}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "owner", @@ -47197,21 +47374,21 @@ }, { "name": "ref", - "description": "ref+ parameter", + "description": "ref parameter", "in": "path", "required": true, "schema": { "type": "string" }, "x-multi-segment": true, - "descriptionHTML": "

    ref+ parameter

    " + "descriptionHTML": "

    ref parameter

    " } ], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/git/refs/REF", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/git/refs/REF
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/repos/octocat/hello-world/git/refs/REF", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/repos/octocat/hello-world/git/refs/REF
    " }, { "lang": "JavaScript", @@ -47246,7 +47423,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "422", @@ -47260,7 +47437,7 @@ { "verb": "post", "requestPath": "/repos/{owner}/{repo}/git/tags", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "owner", @@ -47284,8 +47461,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/git/tags \\\n -d '{\"tag\":\"tag\",\"message\":\"message\",\"object\":\"object\",\"type\":\"type\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/git/tags \\\n  -d '{\"tag\":\"tag\",\"message\":\"message\",\"object\":\"object\",\"type\":\"type\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/repos/octocat/hello-world/git/tags \\\n -d '{\"tag\":\"tag\",\"message\":\"message\",\"object\":\"object\",\"type\":\"type\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/repos/octocat/hello-world/git/tags \\\n  -d '{\"tag\":\"tag\",\"message\":\"message\",\"object\":\"object\",\"type\":\"type\"}'
    " }, { "lang": "JavaScript", @@ -47592,7 +47769,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/git/tags/{tag_sha}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "owner", @@ -47625,8 +47802,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/git/tags/TAG_SHA", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/git/tags/TAG_SHA
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/repos/octocat/hello-world/git/tags/TAG_SHA", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/repos/octocat/hello-world/git/tags/TAG_SHA
    " }, { "lang": "JavaScript", @@ -47676,7 +47853,7 @@ { "verb": "post", "requestPath": "/repos/{owner}/{repo}/git/trees", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "owner", @@ -47700,8 +47877,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/git/trees \\\n -d '{\"tree\":[{\"path\":\"path\",\"mode\":\"mode\",\"type\":\"type\",\"sha\":\"sha\",\"content\":\"content\"}]}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/git/trees \\\n  -d '{\"tree\":[{\"path\":\"path\",\"mode\":\"mode\",\"type\":\"type\",\"sha\":\"sha\",\"content\":\"content\"}]}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/repos/octocat/hello-world/git/trees \\\n -d '{\"tree\":[{\"path\":\"path\",\"mode\":\"mode\",\"type\":\"type\",\"sha\":\"sha\",\"content\":\"content\"}]}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/repos/octocat/hello-world/git/trees \\\n  -d '{\"tree\":[{\"path\":\"path\",\"mode\":\"mode\",\"type\":\"type\",\"sha\":\"sha\",\"content\":\"content\"}]}'
    " }, { "lang": "JavaScript", @@ -48081,7 +48258,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/git/trees/{tree_sha}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "owner", @@ -48108,6 +48285,7 @@ "schema": { "type": "string" }, + "x-multi-segment": true, "descriptionHTML": "" }, { @@ -48124,8 +48302,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/git/trees/TREE_SHA", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/git/trees/TREE_SHA
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/repos/octocat/hello-world/git/trees/TREE_SHA", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/repos/octocat/hello-world/git/trees/TREE_SHA
    " }, { "lang": "JavaScript", @@ -48186,7 +48364,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/hooks", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "owner", @@ -48230,8 +48408,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/hooks", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/hooks
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/repos/octocat/hello-world/hooks", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/repos/octocat/hello-world/hooks
    " }, { "lang": "JavaScript", @@ -48281,7 +48459,7 @@ { "verb": "post", "requestPath": "/repos/{owner}/{repo}/hooks", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "owner", @@ -48305,8 +48483,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/hooks \\\n -d '{\"config\":{\"url\":\"url\",\"content_type\":\"content_type\",\"secret\":\"secret\",\"insecure_ssl\":\"insecure_ssl\",\"token\":\"token\",\"digest\":\"digest\"}}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/hooks \\\n  -d '{\"config\":{\"url\":\"url\",\"content_type\":\"content_type\",\"secret\":\"secret\",\"insecure_ssl\":\"insecure_ssl\",\"token\":\"token\",\"digest\":\"digest\"}}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/repos/octocat/hello-world/hooks \\\n -d '{\"config\":{\"url\":\"url\",\"content_type\":\"content_type\",\"secret\":\"secret\",\"insecure_ssl\":\"insecure_ssl\",\"token\":\"token\",\"digest\":\"digest\"}}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/repos/octocat/hello-world/hooks \\\n  -d '{\"config\":{\"url\":\"url\",\"content_type\":\"content_type\",\"secret\":\"secret\",\"insecure_ssl\":\"insecure_ssl\",\"token\":\"token\",\"digest\":\"digest\"}}'
    " }, { "lang": "JavaScript", @@ -48742,7 +48920,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/hooks/{hook_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "owner", @@ -48775,8 +48953,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/hooks/42", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/hooks/42
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/repos/octocat/hello-world/hooks/42", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/repos/octocat/hello-world/hooks/42
    " }, { "lang": "JavaScript", @@ -48826,7 +49004,7 @@ { "verb": "patch", "requestPath": "/repos/{owner}/{repo}/hooks/{hook_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "owner", @@ -48859,8 +49037,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/hooks/42 \\\n -d '{\"config\":{\"url\":\"url\",\"content_type\":\"content_type\",\"secret\":\"secret\",\"insecure_ssl\":\"insecure_ssl\",\"address\":\"address\",\"room\":\"room\"}}'", - "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/hooks/42 \\\n  -d '{\"config\":{\"url\":\"url\",\"content_type\":\"content_type\",\"secret\":\"secret\",\"insecure_ssl\":\"insecure_ssl\",\"address\":\"address\",\"room\":\"room\"}}'
    " + "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/repos/octocat/hello-world/hooks/42 \\\n -d '{\"config\":{\"url\":\"url\",\"content_type\":\"content_type\",\"secret\":\"secret\",\"insecure_ssl\":\"insecure_ssl\",\"address\":\"address\",\"room\":\"room\"}}'", + "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/repos/octocat/hello-world/hooks/42 \\\n  -d '{\"config\":{\"url\":\"url\",\"content_type\":\"content_type\",\"secret\":\"secret\",\"insecure_ssl\":\"insecure_ssl\",\"address\":\"address\",\"room\":\"room\"}}'
    " }, { "lang": "JavaScript", @@ -49311,7 +49489,7 @@ { "verb": "delete", "requestPath": "/repos/{owner}/{repo}/hooks/{hook_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "owner", @@ -49344,8 +49522,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/hooks/42", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/hooks/42
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/repos/octocat/hello-world/hooks/42", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/repos/octocat/hello-world/hooks/42
    " }, { "lang": "JavaScript", @@ -49380,7 +49558,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "404", @@ -49394,7 +49572,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/hooks/{hook_id}/config", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "owner", @@ -49427,8 +49605,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/hooks/42/config", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/hooks/42/config
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/repos/octocat/hello-world/hooks/42/config", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/repos/octocat/hello-world/hooks/42/config
    " }, { "lang": "JavaScript", @@ -49473,7 +49651,7 @@ { "verb": "patch", "requestPath": "/repos/{owner}/{repo}/hooks/{hook_id}/config", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "owner", @@ -49506,8 +49684,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/hooks/42/config \\\n -d '{\"url\":\"url\"}'", - "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/hooks/42/config \\\n  -d '{\"url\":\"url\"}'
    " + "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/repos/octocat/hello-world/hooks/42/config \\\n -d '{\"url\":\"url\"}'", + "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/repos/octocat/hello-world/hooks/42/config \\\n  -d '{\"url\":\"url\"}'
    " }, { "lang": "JavaScript", @@ -49652,7 +49830,7 @@ { "verb": "post", "requestPath": "/repos/{owner}/{repo}/hooks/{hook_id}/pings", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "owner", @@ -49685,8 +49863,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/hooks/42/pings", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/hooks/42/pings
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/repos/octocat/hello-world/hooks/42/pings", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/repos/octocat/hello-world/hooks/42/pings
    " }, { "lang": "JavaScript", @@ -49721,7 +49899,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "404", @@ -49735,7 +49913,7 @@ { "verb": "post", "requestPath": "/repos/{owner}/{repo}/hooks/{hook_id}/tests", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "owner", @@ -49768,8 +49946,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/hooks/42/tests", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/hooks/42/tests
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/repos/octocat/hello-world/hooks/42/tests", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/repos/octocat/hello-world/hooks/42/tests
    " }, { "lang": "JavaScript", @@ -49804,7 +49982,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "404", @@ -49818,7 +49996,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/installation", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "owner", @@ -49842,8 +50020,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/installation", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/installation
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/repos/octocat/hello-world/installation", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/repos/octocat/hello-world/installation
    " }, { "lang": "JavaScript", @@ -49896,7 +50074,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/invitations", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "owner", @@ -49940,8 +50118,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/invitations", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/invitations
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/repos/octocat/hello-world/invitations", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/repos/octocat/hello-world/invitations
    " }, { "lang": "JavaScript", @@ -49986,7 +50164,7 @@ { "verb": "patch", "requestPath": "/repos/{owner}/{repo}/invitations/{invitation_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "owner", @@ -50020,8 +50198,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/invitations/42 \\\n -d '{\"permissions\":\"permissions\"}'", - "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/invitations/42 \\\n  -d '{\"permissions\":\"permissions\"}'
    " + "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/repos/octocat/hello-world/invitations/42 \\\n -d '{\"permissions\":\"permissions\"}'", + "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/repos/octocat/hello-world/invitations/42 \\\n  -d '{\"permissions\":\"permissions\"}'
    " }, { "lang": "JavaScript", @@ -50110,7 +50288,7 @@ { "verb": "delete", "requestPath": "/repos/{owner}/{repo}/invitations/{invitation_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "owner", @@ -50144,8 +50322,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/invitations/42", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/invitations/42
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/repos/octocat/hello-world/invitations/42", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/repos/octocat/hello-world/invitations/42
    " }, { "lang": "JavaScript", @@ -50180,7 +50358,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "bodyParameters": [], @@ -50189,7 +50367,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/issues", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "owner", @@ -50340,8 +50518,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/issues", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/issues
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/repos/octocat/hello-world/issues", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/repos/octocat/hello-world/issues
    " }, { "lang": "JavaScript", @@ -50406,7 +50584,7 @@ { "verb": "post", "requestPath": "/repos/{owner}/{repo}/issues", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "owner", @@ -50430,8 +50608,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/issues \\\n -d '{\"title\":\"title\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/issues \\\n  -d '{\"title\":\"title\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/repos/octocat/hello-world/issues \\\n -d '{\"title\":\"title\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/repos/octocat/hello-world/issues \\\n  -d '{\"title\":\"title\"}'
    " }, { "lang": "JavaScript", @@ -50722,7 +50900,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/issues/comments", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "owner", @@ -50805,8 +50983,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/issues/comments", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/issues/comments
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/repos/octocat/hello-world/issues/comments", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/repos/octocat/hello-world/issues/comments
    " }, { "lang": "JavaScript", @@ -50868,7 +51046,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/issues/comments/{comment_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "owner", @@ -50902,8 +51080,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/issues/comments/42", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/issues/comments/42
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/repos/octocat/hello-world/issues/comments/42", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/repos/octocat/hello-world/issues/comments/42
    " }, { "lang": "JavaScript", @@ -50960,7 +51138,7 @@ { "verb": "patch", "requestPath": "/repos/{owner}/{repo}/issues/comments/{comment_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "owner", @@ -50994,8 +51172,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/issues/comments/42 \\\n -d '{\"body\":\"body\"}'", - "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/issues/comments/42 \\\n  -d '{\"body\":\"body\"}'
    " + "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/repos/octocat/hello-world/issues/comments/42 \\\n -d '{\"body\":\"body\"}'", + "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/repos/octocat/hello-world/issues/comments/42 \\\n  -d '{\"body\":\"body\"}'
    " }, { "lang": "JavaScript", @@ -51081,7 +51259,7 @@ { "verb": "delete", "requestPath": "/repos/{owner}/{repo}/issues/comments/{comment_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "owner", @@ -51115,8 +51293,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/issues/comments/42", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/issues/comments/42
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/repos/octocat/hello-world/issues/comments/42", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/repos/octocat/hello-world/issues/comments/42
    " }, { "lang": "JavaScript", @@ -51151,7 +51329,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "bodyParameters": [], @@ -51160,7 +51338,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/issues/comments/{comment_id}/reactions", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "owner", @@ -51234,8 +51412,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n https://api.github.com/repos/octocat/hello-world/issues/comments/42/reactions", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n  https://api.github.com/repos/octocat/hello-world/issues/comments/42/reactions
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n http(s)://api.{hostname}/repos/octocat/hello-world/issues/comments/42/reactions", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n  http(s)://api.{hostname}/repos/octocat/hello-world/issues/comments/42/reactions
    " }, { "lang": "JavaScript", @@ -51295,7 +51473,7 @@ { "verb": "post", "requestPath": "/repos/{owner}/{repo}/issues/comments/{comment_id}/reactions", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "owner", @@ -51329,8 +51507,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n https://api.github.com/repos/octocat/hello-world/issues/comments/42/reactions \\\n -d '{\"content\":\"content\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n  https://api.github.com/repos/octocat/hello-world/issues/comments/42/reactions \\\n  -d '{\"content\":\"content\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n http(s)://api.{hostname}/repos/octocat/hello-world/issues/comments/42/reactions \\\n -d '{\"content\":\"content\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n  http(s)://api.{hostname}/repos/octocat/hello-world/issues/comments/42/reactions \\\n  -d '{\"content\":\"content\"}'
    " }, { "lang": "JavaScript", @@ -51452,7 +51630,7 @@ { "verb": "delete", "requestPath": "/repos/{owner}/{repo}/issues/comments/{comment_id}/reactions/{reaction_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "owner", @@ -51495,8 +51673,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n https://api.github.com/repos/octocat/hello-world/issues/comments/42/reactions/42", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n  https://api.github.com/repos/octocat/hello-world/issues/comments/42/reactions/42
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n http(s)://api.{hostname}/repos/octocat/hello-world/issues/comments/42/reactions/42", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n  http(s)://api.{hostname}/repos/octocat/hello-world/issues/comments/42/reactions/42
    " }, { "lang": "JavaScript", @@ -51536,7 +51714,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "bodyParameters": [], @@ -51545,7 +51723,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/issues/events", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "owner", @@ -51589,8 +51767,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/issues/events", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/issues/events
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/repos/octocat/hello-world/issues/events", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/repos/octocat/hello-world/issues/events
    " }, { "lang": "JavaScript", @@ -51647,7 +51825,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/issues/events/{event_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "owner", @@ -51680,8 +51858,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/issues/events/42", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/issues/events/42
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/repos/octocat/hello-world/issues/events/42", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/repos/octocat/hello-world/issues/events/42
    " }, { "lang": "JavaScript", @@ -51748,7 +51926,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/issues/{issue_number}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "owner", @@ -51782,8 +51960,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/issues/42", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/issues/42
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/repos/octocat/hello-world/issues/42", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/repos/octocat/hello-world/issues/42
    " }, { "lang": "JavaScript", @@ -51853,7 +52031,7 @@ { "verb": "patch", "requestPath": "/repos/{owner}/{repo}/issues/{issue_number}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "owner", @@ -51887,8 +52065,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/issues/42 \\\n -d '{\"title\":\"title\"}'", - "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/issues/42 \\\n  -d '{\"title\":\"title\"}'
    " + "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/repos/octocat/hello-world/issues/42 \\\n -d '{\"title\":\"title\"}'", + "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/repos/octocat/hello-world/issues/42 \\\n  -d '{\"title\":\"title\"}'
    " }, { "lang": "JavaScript", @@ -52213,7 +52391,7 @@ { "verb": "post", "requestPath": "/repos/{owner}/{repo}/issues/{issue_number}/assignees", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "owner", @@ -52247,8 +52425,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/issues/42/assignees \\\n -d '{\"assignees\":[\"assignees\"]}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/issues/42/assignees \\\n  -d '{\"assignees\":[\"assignees\"]}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/repos/octocat/hello-world/issues/42/assignees \\\n -d '{\"assignees\":[\"assignees\"]}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/repos/octocat/hello-world/issues/42/assignees \\\n  -d '{\"assignees\":[\"assignees\"]}'
    " }, { "lang": "JavaScript", @@ -52335,7 +52513,7 @@ { "verb": "delete", "requestPath": "/repos/{owner}/{repo}/issues/{issue_number}/assignees", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "owner", @@ -52369,8 +52547,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/issues/42/assignees \\\n -d '{\"assignees\":[\"assignees\"]}'", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/issues/42/assignees \\\n  -d '{\"assignees\":[\"assignees\"]}'
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/repos/octocat/hello-world/issues/42/assignees \\\n -d '{\"assignees\":[\"assignees\"]}'", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/repos/octocat/hello-world/issues/42/assignees \\\n  -d '{\"assignees\":[\"assignees\"]}'
    " }, { "lang": "JavaScript", @@ -52457,7 +52635,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/issues/{issue_number}/comments", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "owner", @@ -52521,8 +52699,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/issues/42/comments", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/issues/42/comments
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/repos/octocat/hello-world/issues/42/comments", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/repos/octocat/hello-world/issues/42/comments
    " }, { "lang": "JavaScript", @@ -52584,7 +52762,7 @@ { "verb": "post", "requestPath": "/repos/{owner}/{repo}/issues/{issue_number}/comments", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "owner", @@ -52618,8 +52796,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/issues/42/comments \\\n -d '{\"body\":\"body\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/issues/42/comments \\\n  -d '{\"body\":\"body\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/repos/octocat/hello-world/issues/42/comments \\\n -d '{\"body\":\"body\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/repos/octocat/hello-world/issues/42/comments \\\n  -d '{\"body\":\"body\"}'
    " }, { "lang": "JavaScript", @@ -52721,7 +52899,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/issues/{issue_number}/events", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "owner", @@ -52775,8 +52953,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/issues/42/events", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/issues/42/events
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/repos/octocat/hello-world/issues/42/events", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/repos/octocat/hello-world/issues/42/events
    " }, { "lang": "JavaScript", @@ -52833,7 +53011,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/issues/{issue_number}/labels", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "owner", @@ -52887,8 +53065,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/issues/42/labels", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/issues/42/labels
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/repos/octocat/hello-world/issues/42/labels", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/repos/octocat/hello-world/issues/42/labels
    " }, { "lang": "JavaScript", @@ -52938,7 +53116,7 @@ { "verb": "post", "requestPath": "/repos/{owner}/{repo}/issues/{issue_number}/labels", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "owner", @@ -52972,8 +53150,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/issues/42/labels \\\n -d '{\"labels\":[\"labels\"]}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/issues/42/labels \\\n  -d '{\"labels\":[\"labels\"]}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/repos/octocat/hello-world/issues/42/labels \\\n -d '{\"labels\":[\"labels\"]}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/repos/octocat/hello-world/issues/42/labels \\\n  -d '{\"labels\":[\"labels\"]}'
    " }, { "lang": "JavaScript", @@ -53073,7 +53251,7 @@ { "verb": "put", "requestPath": "/repos/{owner}/{repo}/issues/{issue_number}/labels", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "owner", @@ -53107,8 +53285,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/issues/42/labels \\\n -d '{\"labels\":[\"labels\"]}'", - "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/issues/42/labels \\\n  -d '{\"labels\":[\"labels\"]}'
    " + "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/repos/octocat/hello-world/issues/42/labels \\\n -d '{\"labels\":[\"labels\"]}'", + "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/repos/octocat/hello-world/issues/42/labels \\\n  -d '{\"labels\":[\"labels\"]}'
    " }, { "lang": "JavaScript", @@ -53205,7 +53383,7 @@ { "verb": "delete", "requestPath": "/repos/{owner}/{repo}/issues/{issue_number}/labels", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "owner", @@ -53239,8 +53417,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/issues/42/labels", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/issues/42/labels
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/repos/octocat/hello-world/issues/42/labels", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/repos/octocat/hello-world/issues/42/labels
    " }, { "lang": "JavaScript", @@ -53275,7 +53453,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "410", @@ -53289,7 +53467,7 @@ { "verb": "delete", "requestPath": "/repos/{owner}/{repo}/issues/{issue_number}/labels/{name}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "owner", @@ -53332,8 +53510,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/issues/42/labels/NAME", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/issues/42/labels/NAME
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/repos/octocat/hello-world/issues/42/labels/NAME", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/repos/octocat/hello-world/issues/42/labels/NAME
    " }, { "lang": "JavaScript", @@ -53388,7 +53566,7 @@ { "verb": "put", "requestPath": "/repos/{owner}/{repo}/issues/{issue_number}/lock", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "owner", @@ -53422,8 +53600,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/issues/42/lock \\\n -d '{\"lock_reason\":\"lock_reason\"}'", - "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/issues/42/lock \\\n  -d '{\"lock_reason\":\"lock_reason\"}'
    " + "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/repos/octocat/hello-world/issues/42/lock \\\n -d '{\"lock_reason\":\"lock_reason\"}'", + "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/repos/octocat/hello-world/issues/42/lock \\\n  -d '{\"lock_reason\":\"lock_reason\"}'
    " }, { "lang": "JavaScript", @@ -53483,7 +53661,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "403", @@ -53528,7 +53706,7 @@ { "verb": "delete", "requestPath": "/repos/{owner}/{repo}/issues/{issue_number}/lock", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "owner", @@ -53562,8 +53740,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/issues/42/lock", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/issues/42/lock
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/repos/octocat/hello-world/issues/42/lock", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/repos/octocat/hello-world/issues/42/lock
    " }, { "lang": "JavaScript", @@ -53596,7 +53774,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "403", @@ -53615,7 +53793,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/issues/{issue_number}/reactions", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "owner", @@ -53689,8 +53867,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n https://api.github.com/repos/octocat/hello-world/issues/42/reactions", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n  https://api.github.com/repos/octocat/hello-world/issues/42/reactions
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n http(s)://api.{hostname}/repos/octocat/hello-world/issues/42/reactions", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n  http(s)://api.{hostname}/repos/octocat/hello-world/issues/42/reactions
    " }, { "lang": "JavaScript", @@ -53755,7 +53933,7 @@ { "verb": "post", "requestPath": "/repos/{owner}/{repo}/issues/{issue_number}/reactions", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "owner", @@ -53789,8 +53967,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n https://api.github.com/repos/octocat/hello-world/issues/42/reactions \\\n -d '{\"content\":\"content\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n  https://api.github.com/repos/octocat/hello-world/issues/42/reactions \\\n  -d '{\"content\":\"content\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n http(s)://api.{hostname}/repos/octocat/hello-world/issues/42/reactions \\\n -d '{\"content\":\"content\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n  http(s)://api.{hostname}/repos/octocat/hello-world/issues/42/reactions \\\n  -d '{\"content\":\"content\"}'
    " }, { "lang": "JavaScript", @@ -53906,7 +54084,7 @@ { "verb": "delete", "requestPath": "/repos/{owner}/{repo}/issues/{issue_number}/reactions/{reaction_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "owner", @@ -53949,8 +54127,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n https://api.github.com/repos/octocat/hello-world/issues/42/reactions/42", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n  https://api.github.com/repos/octocat/hello-world/issues/42/reactions/42
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n http(s)://api.{hostname}/repos/octocat/hello-world/issues/42/reactions/42", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n  http(s)://api.{hostname}/repos/octocat/hello-world/issues/42/reactions/42
    " }, { "lang": "JavaScript", @@ -53990,7 +54168,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "bodyParameters": [], @@ -53999,7 +54177,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/issues/{issue_number}/timeline", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "owner", @@ -54053,8 +54231,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.mockingbird-preview+json\" \\\n https://api.github.com/repos/octocat/hello-world/issues/42/timeline", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.mockingbird-preview+json\" \\\n  https://api.github.com/repos/octocat/hello-world/issues/42/timeline
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.mockingbird-preview+json\" \\\n http(s)://api.{hostname}/repos/octocat/hello-world/issues/42/timeline", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.mockingbird-preview+json\" \\\n  http(s)://api.{hostname}/repos/octocat/hello-world/issues/42/timeline
    " }, { "lang": "JavaScript", @@ -54127,7 +54305,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/keys", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "owner", @@ -54171,8 +54349,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/keys", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/keys
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/repos/octocat/hello-world/keys", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/repos/octocat/hello-world/keys
    " }, { "lang": "JavaScript", @@ -54217,7 +54395,7 @@ { "verb": "post", "requestPath": "/repos/{owner}/{repo}/keys", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "owner", @@ -54241,8 +54419,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/keys \\\n -d '{\"key\":\"key\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/keys \\\n  -d '{\"key\":\"key\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/repos/octocat/hello-world/keys \\\n -d '{\"key\":\"key\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/repos/octocat/hello-world/keys \\\n  -d '{\"key\":\"key\"}'
    " }, { "lang": "JavaScript", @@ -54366,7 +54544,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/keys/{key_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "owner", @@ -54400,8 +54578,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/keys/42", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/keys/42
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/repos/octocat/hello-world/keys/42", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/repos/octocat/hello-world/keys/42
    " }, { "lang": "JavaScript", @@ -54451,7 +54629,7 @@ { "verb": "delete", "requestPath": "/repos/{owner}/{repo}/keys/{key_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "owner", @@ -54485,8 +54663,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/keys/42", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/keys/42
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/repos/octocat/hello-world/keys/42", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/repos/octocat/hello-world/keys/42
    " }, { "lang": "JavaScript", @@ -54521,7 +54699,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "bodyParameters": [], @@ -54530,7 +54708,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/labels", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "owner", @@ -54574,8 +54752,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/labels", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/labels
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/repos/octocat/hello-world/labels", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/repos/octocat/hello-world/labels
    " }, { "lang": "JavaScript", @@ -54625,7 +54803,7 @@ { "verb": "post", "requestPath": "/repos/{owner}/{repo}/labels", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "owner", @@ -54649,8 +54827,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/labels \\\n -d '{\"name\":\"name\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/labels \\\n  -d '{\"name\":\"name\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/repos/octocat/hello-world/labels \\\n -d '{\"name\":\"name\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/repos/octocat/hello-world/labels \\\n  -d '{\"name\":\"name\"}'
    " }, { "lang": "JavaScript", @@ -54676,11 +54854,11 @@ "properties": { "name": { "type": "string", - "description": "

    Required. The name of the label. Emoji can be added to label names, using either native emoji or colon-style markup. For example, typing :strawberry: will render the emoji \":strawberry:\". For a full list of available emoji and codes, see emoji-cheat-sheet.com.

    ", + "description": "

    Required. The name of the label. Emoji can be added to label names, using either native emoji or colon-style markup. For example, typing :strawberry: will render the emoji \":strawberry:\". For a full list of available emoji and codes, see \"Emoji cheat sheet.\"

    ", "name": "name", "in": "body", "rawType": "string", - "rawDescription": "The name of the label. Emoji can be added to label names, using either native emoji or colon-style markup. For example, typing `:strawberry:` will render the emoji ![:strawberry:](https://github.githubassets.com/images/icons/emoji/unicode/1f353.png \":strawberry:\"). For a full list of available emoji and codes, see [emoji-cheat-sheet.com](http://emoji-cheat-sheet.com/).", + "rawDescription": "The name of the label. Emoji can be added to label names, using either native emoji or colon-style markup. For example, typing `:strawberry:` will render the emoji ![:strawberry:](https://github.githubassets.com/images/icons/emoji/unicode/1f353.png \":strawberry:\"). For a full list of available emoji and codes, see \"[Emoji cheat sheet](https://github.com/ikatyang/emoji-cheat-sheet).\"", "childParamsGroups": [] }, "color": { @@ -54731,11 +54909,11 @@ "bodyParameters": [ { "type": "string", - "description": "

    Required. The name of the label. Emoji can be added to label names, using either native emoji or colon-style markup. For example, typing :strawberry: will render the emoji \":strawberry:\". For a full list of available emoji and codes, see emoji-cheat-sheet.com.

    ", + "description": "

    Required. The name of the label. Emoji can be added to label names, using either native emoji or colon-style markup. For example, typing :strawberry: will render the emoji \":strawberry:\". For a full list of available emoji and codes, see \"Emoji cheat sheet.\"

    ", "name": "name", "in": "body", "rawType": "string", - "rawDescription": "The name of the label. Emoji can be added to label names, using either native emoji or colon-style markup. For example, typing `:strawberry:` will render the emoji ![:strawberry:](https://github.githubassets.com/images/icons/emoji/unicode/1f353.png \":strawberry:\"). For a full list of available emoji and codes, see [emoji-cheat-sheet.com](http://emoji-cheat-sheet.com/).", + "rawDescription": "The name of the label. Emoji can be added to label names, using either native emoji or colon-style markup. For example, typing `:strawberry:` will render the emoji ![:strawberry:](https://github.githubassets.com/images/icons/emoji/unicode/1f353.png \":strawberry:\"). For a full list of available emoji and codes, see \"[Emoji cheat sheet](https://github.com/ikatyang/emoji-cheat-sheet).\"", "childParamsGroups": [] }, { @@ -54779,7 +54957,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/labels/{name}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "owner", @@ -54812,8 +54990,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/labels/NAME", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/labels/NAME
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/repos/octocat/hello-world/labels/NAME", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/repos/octocat/hello-world/labels/NAME
    " }, { "lang": "JavaScript", @@ -54863,7 +55041,7 @@ { "verb": "patch", "requestPath": "/repos/{owner}/{repo}/labels/{name}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "owner", @@ -54896,8 +55074,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/labels/NAME \\\n -d '{\"new_name\":\"new_name\"}'", - "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/labels/NAME \\\n  -d '{\"new_name\":\"new_name\"}'
    " + "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/repos/octocat/hello-world/labels/NAME \\\n -d '{\"new_name\":\"new_name\"}'", + "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/repos/octocat/hello-world/labels/NAME \\\n  -d '{\"new_name\":\"new_name\"}'
    " }, { "lang": "JavaScript", @@ -54923,11 +55101,11 @@ "properties": { "new_name": { "type": "string", - "description": "

    The new name of the label. Emoji can be added to label names, using either native emoji or colon-style markup. For example, typing :strawberry: will render the emoji \":strawberry:\". For a full list of available emoji and codes, see emoji-cheat-sheet.com.

    ", + "description": "

    The new name of the label. Emoji can be added to label names, using either native emoji or colon-style markup. For example, typing :strawberry: will render the emoji \":strawberry:\". For a full list of available emoji and codes, see \"Emoji cheat sheet.\"

    ", "name": "new_name", "in": "body", "rawType": "string", - "rawDescription": "The new name of the label. Emoji can be added to label names, using either native emoji or colon-style markup. For example, typing `:strawberry:` will render the emoji ![:strawberry:](https://github.githubassets.com/images/icons/emoji/unicode/1f353.png \":strawberry:\"). For a full list of available emoji and codes, see [emoji-cheat-sheet.com](http://emoji-cheat-sheet.com/).", + "rawDescription": "The new name of the label. Emoji can be added to label names, using either native emoji or colon-style markup. For example, typing `:strawberry:` will render the emoji ![:strawberry:](https://github.githubassets.com/images/icons/emoji/unicode/1f353.png \":strawberry:\"). For a full list of available emoji and codes, see \"[Emoji cheat sheet](https://github.com/ikatyang/emoji-cheat-sheet).\"", "childParamsGroups": [] }, "color": { @@ -54975,11 +55153,11 @@ "bodyParameters": [ { "type": "string", - "description": "

    The new name of the label. Emoji can be added to label names, using either native emoji or colon-style markup. For example, typing :strawberry: will render the emoji \":strawberry:\". For a full list of available emoji and codes, see emoji-cheat-sheet.com.

    ", + "description": "

    The new name of the label. Emoji can be added to label names, using either native emoji or colon-style markup. For example, typing :strawberry: will render the emoji \":strawberry:\". For a full list of available emoji and codes, see \"Emoji cheat sheet.\"

    ", "name": "new_name", "in": "body", "rawType": "string", - "rawDescription": "The new name of the label. Emoji can be added to label names, using either native emoji or colon-style markup. For example, typing `:strawberry:` will render the emoji ![:strawberry:](https://github.githubassets.com/images/icons/emoji/unicode/1f353.png \":strawberry:\"). For a full list of available emoji and codes, see [emoji-cheat-sheet.com](http://emoji-cheat-sheet.com/).", + "rawDescription": "The new name of the label. Emoji can be added to label names, using either native emoji or colon-style markup. For example, typing `:strawberry:` will render the emoji ![:strawberry:](https://github.githubassets.com/images/icons/emoji/unicode/1f353.png \":strawberry:\"). For a full list of available emoji and codes, see \"[Emoji cheat sheet](https://github.com/ikatyang/emoji-cheat-sheet).\"", "childParamsGroups": [] }, { @@ -55013,7 +55191,7 @@ { "verb": "delete", "requestPath": "/repos/{owner}/{repo}/labels/{name}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "owner", @@ -55046,8 +55224,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/labels/NAME", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/labels/NAME
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/repos/octocat/hello-world/labels/NAME", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/repos/octocat/hello-world/labels/NAME
    " }, { "lang": "JavaScript", @@ -55082,7 +55260,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "bodyParameters": [], @@ -55091,7 +55269,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/languages", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "owner", @@ -55115,8 +55293,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/languages", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/languages
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/repos/octocat/hello-world/languages", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/repos/octocat/hello-world/languages
    " }, { "lang": "JavaScript", @@ -55159,7 +55337,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/license", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "owner", @@ -55183,8 +55361,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/license", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/license
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/repos/octocat/hello-world/license", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/repos/octocat/hello-world/license
    " }, { "lang": "JavaScript", @@ -55227,7 +55405,7 @@ { "verb": "post", "requestPath": "/repos/{owner}/{repo}/merges", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "owner", @@ -55251,8 +55429,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/merges \\\n -d '{\"base\":\"base\",\"head\":\"head\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/merges \\\n  -d '{\"base\":\"base\",\"head\":\"head\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/repos/octocat/hello-world/merges \\\n -d '{\"base\":\"base\",\"head\":\"head\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/repos/octocat/hello-world/merges \\\n  -d '{\"base\":\"base\",\"head\":\"head\"}'
    " }, { "lang": "JavaScript", @@ -55375,20 +55553,12 @@ { "httpStatusCode": "404", "httpStatusMessage": "Not Found", - "description": "Missing base response", - "payload": "
    {\n  \"message\": \"Base does not exist\"\n}\n
    " - }, - { - "httpStatusCode": "404", - "httpStatusMessage": "Not Found", - "description": "Missing head response", - "payload": "
    {\n  \"message\": \"Head does not exist\"\n}\n
    " + "description": "Response when the base or head does not exist" }, { "httpStatusCode": "409", "httpStatusMessage": "Conflict", - "description": "Merge conflict response", - "payload": "
    {\n  \"message\": \"Merge Conflict\"\n}\n
    " + "description": "Response when there is a merge conflict" }, { "httpStatusCode": "422", @@ -55400,7 +55570,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/milestones", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "owner", @@ -55490,8 +55660,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/milestones", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/milestones
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/repos/octocat/hello-world/milestones", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/repos/octocat/hello-world/milestones
    " }, { "lang": "JavaScript", @@ -55541,7 +55711,7 @@ { "verb": "post", "requestPath": "/repos/{owner}/{repo}/milestones", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "owner", @@ -55565,8 +55735,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/milestones \\\n -d '{\"title\":\"title\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/milestones \\\n  -d '{\"title\":\"title\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/repos/octocat/hello-world/milestones \\\n -d '{\"title\":\"title\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/repos/octocat/hello-world/milestones \\\n  -d '{\"title\":\"title\"}'
    " }, { "lang": "JavaScript", @@ -55724,7 +55894,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/milestones/{milestone_number}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "owner", @@ -55758,8 +55928,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/milestones/42", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/milestones/42
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/repos/octocat/hello-world/milestones/42", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/repos/octocat/hello-world/milestones/42
    " }, { "lang": "JavaScript", @@ -55809,7 +55979,7 @@ { "verb": "patch", "requestPath": "/repos/{owner}/{repo}/milestones/{milestone_number}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "owner", @@ -55843,8 +56013,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/milestones/42 \\\n -d '{\"title\":\"title\"}'", - "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/milestones/42 \\\n  -d '{\"title\":\"title\"}'
    " + "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/repos/octocat/hello-world/milestones/42 \\\n -d '{\"title\":\"title\"}'", + "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/repos/octocat/hello-world/milestones/42 \\\n  -d '{\"title\":\"title\"}'
    " }, { "lang": "JavaScript", @@ -55989,7 +56159,7 @@ { "verb": "delete", "requestPath": "/repos/{owner}/{repo}/milestones/{milestone_number}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "owner", @@ -56023,8 +56193,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/milestones/42", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/milestones/42
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/repos/octocat/hello-world/milestones/42", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/repos/octocat/hello-world/milestones/42
    " }, { "lang": "JavaScript", @@ -56059,7 +56229,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "404", @@ -56073,7 +56243,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/milestones/{milestone_number}/labels", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "owner", @@ -56127,8 +56297,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/milestones/42/labels", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/milestones/42/labels
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/repos/octocat/hello-world/milestones/42/labels", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/repos/octocat/hello-world/milestones/42/labels
    " }, { "lang": "JavaScript", @@ -56173,7 +56343,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/notifications", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "owner", @@ -56259,8 +56429,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/notifications", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/notifications
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/repos/octocat/hello-world/notifications", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/repos/octocat/hello-world/notifications
    " }, { "lang": "JavaScript", @@ -56305,7 +56475,7 @@ { "verb": "put", "requestPath": "/repos/{owner}/{repo}/notifications", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "owner", @@ -56329,8 +56499,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/notifications \\\n -d '{\"last_read_at\":\"last_read_at\"}'", - "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/notifications \\\n  -d '{\"last_read_at\":\"last_read_at\"}'
    " + "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/repos/octocat/hello-world/notifications \\\n -d '{\"last_read_at\":\"last_read_at\"}'", + "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/repos/octocat/hello-world/notifications \\\n  -d '{\"last_read_at\":\"last_read_at\"}'
    " }, { "lang": "JavaScript", @@ -56404,7 +56574,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/pages", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "owner", @@ -56428,8 +56598,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/pages", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/pages
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/repos/octocat/hello-world/pages", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/repos/octocat/hello-world/pages
    " }, { "lang": "JavaScript", @@ -56479,7 +56649,7 @@ { "verb": "post", "requestPath": "/repos/{owner}/{repo}/pages", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "owner", @@ -56503,8 +56673,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.switcheroo-preview+json\" \\\n https://api.github.com/repos/octocat/hello-world/pages \\\n -d '{\"source\":{\"branch\":\"branch\",\"path\":\"path\"}}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.switcheroo-preview+json\" \\\n  https://api.github.com/repos/octocat/hello-world/pages \\\n  -d '{\"source\":{\"branch\":\"branch\",\"path\":\"path\"}}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.switcheroo-preview+json\" \\\n http(s)://api.{hostname}/repos/octocat/hello-world/pages \\\n -d '{\"source\":{\"branch\":\"branch\",\"path\":\"path\"}}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.switcheroo-preview+json\" \\\n  http(s)://api.{hostname}/repos/octocat/hello-world/pages \\\n  -d '{\"source\":{\"branch\":\"branch\",\"path\":\"path\"}}'
    " }, { "lang": "JavaScript", @@ -56729,7 +56899,7 @@ { "verb": "put", "requestPath": "/repos/{owner}/{repo}/pages", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "owner", @@ -56753,8 +56923,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/pages \\\n -d '{\"source\":\"source\"}'", - "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/pages \\\n  -d '{\"source\":\"source\"}'
    " + "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/repos/octocat/hello-world/pages \\\n -d '{\"source\":\"source\"}'", + "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/repos/octocat/hello-world/pages \\\n  -d '{\"source\":\"source\"}'
    " }, { "lang": "JavaScript", @@ -56868,7 +57038,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "400", @@ -56946,7 +57116,7 @@ { "verb": "delete", "requestPath": "/repos/{owner}/{repo}/pages", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "owner", @@ -56970,8 +57140,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.switcheroo-preview+json\" \\\n https://api.github.com/repos/octocat/hello-world/pages", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.switcheroo-preview+json\" \\\n  https://api.github.com/repos/octocat/hello-world/pages
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.switcheroo-preview+json\" \\\n http(s)://api.{hostname}/repos/octocat/hello-world/pages", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.switcheroo-preview+json\" \\\n  http(s)://api.{hostname}/repos/octocat/hello-world/pages
    " }, { "lang": "JavaScript", @@ -57013,7 +57183,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "404", @@ -57037,7 +57207,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/pages/builds", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "owner", @@ -57081,8 +57251,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/pages/builds", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/pages/builds
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/repos/octocat/hello-world/pages/builds", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/repos/octocat/hello-world/pages/builds
    " }, { "lang": "JavaScript", @@ -57127,7 +57297,7 @@ { "verb": "post", "requestPath": "/repos/{owner}/{repo}/pages/builds", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "owner", @@ -57151,8 +57321,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/pages/builds", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/pages/builds
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/repos/octocat/hello-world/pages/builds", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/repos/octocat/hello-world/pages/builds
    " }, { "lang": "JavaScript", @@ -57197,7 +57367,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/pages/builds/latest", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "owner", @@ -57221,8 +57391,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/pages/builds/latest", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/pages/builds/latest
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/repos/octocat/hello-world/pages/builds/latest", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/repos/octocat/hello-world/pages/builds/latest
    " }, { "lang": "JavaScript", @@ -57267,7 +57437,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/pages/builds/{build_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "owner", @@ -57300,8 +57470,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/pages/builds/42", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/pages/builds/42
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/repos/octocat/hello-world/pages/builds/42", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/repos/octocat/hello-world/pages/builds/42
    " }, { "lang": "JavaScript", @@ -57346,7 +57516,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/projects", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "owner", @@ -57406,8 +57576,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n https://api.github.com/repos/octocat/hello-world/projects", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  https://api.github.com/repos/octocat/hello-world/projects
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n http(s)://api.{hostname}/repos/octocat/hello-world/projects", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  http(s)://api.{hostname}/repos/octocat/hello-world/projects
    " }, { "lang": "JavaScript", @@ -57482,7 +57652,7 @@ { "verb": "post", "requestPath": "/repos/{owner}/{repo}/projects", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "owner", @@ -57506,8 +57676,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n https://api.github.com/repos/octocat/hello-world/projects \\\n -d '{\"name\":\"name\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  https://api.github.com/repos/octocat/hello-world/projects \\\n  -d '{\"name\":\"name\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n http(s)://api.{hostname}/repos/octocat/hello-world/projects \\\n -d '{\"name\":\"name\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  http(s)://api.{hostname}/repos/octocat/hello-world/projects \\\n  -d '{\"name\":\"name\"}'
    " }, { "lang": "JavaScript", @@ -57637,7 +57807,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/pulls", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "owner", @@ -57748,8 +57918,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/pulls", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/pulls
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/repos/octocat/hello-world/pulls", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/repos/octocat/hello-world/pulls
    " }, { "lang": "JavaScript", @@ -57802,7 +57972,7 @@ { "verb": "post", "requestPath": "/repos/{owner}/{repo}/pulls", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "owner", @@ -57826,8 +57996,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/pulls \\\n -d '{\"head\":\"head\",\"base\":\"base\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/pulls \\\n  -d '{\"head\":\"head\",\"base\":\"base\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/repos/octocat/hello-world/pulls \\\n -d '{\"head\":\"head\",\"base\":\"base\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/repos/octocat/hello-world/pulls \\\n  -d '{\"head\":\"head\",\"base\":\"base\"}'
    " }, { "lang": "JavaScript", @@ -58029,7 +58199,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/pulls/comments", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "owner", @@ -58051,18 +58221,17 @@ }, { "name": "sort", - "description": "One of `created` (when the repository was starred) or `updated` (when it was last pushed to).", "in": "query", "required": false, "schema": { "type": "string", "enum": [ "created", - "updated" - ], - "default": "created" + "updated", + "created_at" + ] }, - "descriptionHTML": "

    One of created (when the repository was starred) or updated (when it was last pushed to).

    " + "descriptionHTML": "" }, { "name": "direction", @@ -58112,8 +58281,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/pulls/comments", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/pulls/comments
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/repos/octocat/hello-world/pulls/comments", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/repos/octocat/hello-world/pulls/comments
    " }, { "lang": "JavaScript", @@ -58171,7 +58340,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/pulls/comments/{comment_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "owner", @@ -58205,8 +58374,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/pulls/comments/42", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/pulls/comments/42
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/repos/octocat/hello-world/pulls/comments/42", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/repos/octocat/hello-world/pulls/comments/42
    " }, { "lang": "JavaScript", @@ -58269,7 +58438,7 @@ { "verb": "patch", "requestPath": "/repos/{owner}/{repo}/pulls/comments/{comment_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "owner", @@ -58303,8 +58472,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/pulls/comments/42 \\\n -d '{\"body\":\"body\"}'", - "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/pulls/comments/42 \\\n  -d '{\"body\":\"body\"}'
    " + "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/repos/octocat/hello-world/pulls/comments/42 \\\n -d '{\"body\":\"body\"}'", + "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/repos/octocat/hello-world/pulls/comments/42 \\\n  -d '{\"body\":\"body\"}'
    " }, { "lang": "JavaScript", @@ -58392,7 +58561,7 @@ { "verb": "delete", "requestPath": "/repos/{owner}/{repo}/pulls/comments/{comment_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "owner", @@ -58426,8 +58595,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/pulls/comments/42", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/pulls/comments/42
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/repos/octocat/hello-world/pulls/comments/42", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/repos/octocat/hello-world/pulls/comments/42
    " }, { "lang": "JavaScript", @@ -58462,7 +58631,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "404", @@ -58476,7 +58645,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/pulls/comments/{comment_id}/reactions", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "owner", @@ -58550,8 +58719,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n https://api.github.com/repos/octocat/hello-world/pulls/comments/42/reactions", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n  https://api.github.com/repos/octocat/hello-world/pulls/comments/42/reactions
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n http(s)://api.{hostname}/repos/octocat/hello-world/pulls/comments/42/reactions", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n  http(s)://api.{hostname}/repos/octocat/hello-world/pulls/comments/42/reactions
    " }, { "lang": "JavaScript", @@ -58611,7 +58780,7 @@ { "verb": "post", "requestPath": "/repos/{owner}/{repo}/pulls/comments/{comment_id}/reactions", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "owner", @@ -58645,8 +58814,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n https://api.github.com/repos/octocat/hello-world/pulls/comments/42/reactions \\\n -d '{\"content\":\"content\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n  https://api.github.com/repos/octocat/hello-world/pulls/comments/42/reactions \\\n  -d '{\"content\":\"content\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n http(s)://api.{hostname}/repos/octocat/hello-world/pulls/comments/42/reactions \\\n -d '{\"content\":\"content\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n  http(s)://api.{hostname}/repos/octocat/hello-world/pulls/comments/42/reactions \\\n  -d '{\"content\":\"content\"}'
    " }, { "lang": "JavaScript", @@ -58768,7 +58937,7 @@ { "verb": "delete", "requestPath": "/repos/{owner}/{repo}/pulls/comments/{comment_id}/reactions/{reaction_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "owner", @@ -58811,8 +58980,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n https://api.github.com/repos/octocat/hello-world/pulls/comments/42/reactions/42", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n  https://api.github.com/repos/octocat/hello-world/pulls/comments/42/reactions/42
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n http(s)://api.{hostname}/repos/octocat/hello-world/pulls/comments/42/reactions/42", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n  http(s)://api.{hostname}/repos/octocat/hello-world/pulls/comments/42/reactions/42
    " }, { "lang": "JavaScript", @@ -58852,7 +59021,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "bodyParameters": [], @@ -58861,7 +59030,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/pulls/{pull_number}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "owner", @@ -58894,8 +59063,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/pulls/42", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/pulls/42
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/repos/octocat/hello-world/pulls/42", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/repos/octocat/hello-world/pulls/42
    " }, { "lang": "JavaScript", @@ -58953,7 +59122,7 @@ { "verb": "patch", "requestPath": "/repos/{owner}/{repo}/pulls/{pull_number}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "owner", @@ -58986,8 +59155,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/pulls/42 \\\n -d '{\"title\":\"title\"}'", - "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/pulls/42 \\\n  -d '{\"title\":\"title\"}'
    " + "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/repos/octocat/hello-world/pulls/42 \\\n -d '{\"title\":\"title\"}'", + "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/repos/octocat/hello-world/pulls/42 \\\n  -d '{\"title\":\"title\"}'
    " }, { "lang": "JavaScript", @@ -59156,7 +59325,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/pulls/{pull_number}/comments", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "owner", @@ -59248,8 +59417,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/pulls/42/comments", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/pulls/42/comments
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/repos/octocat/hello-world/pulls/42/comments", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/repos/octocat/hello-world/pulls/42/comments
    " }, { "lang": "JavaScript", @@ -59307,7 +59476,7 @@ { "verb": "post", "requestPath": "/repos/{owner}/{repo}/pulls/{pull_number}/comments", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "owner", @@ -59340,8 +59509,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/pulls/42/comments \\\n -d '{\"body\":\"body\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/pulls/42/comments \\\n  -d '{\"body\":\"body\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/repos/octocat/hello-world/pulls/42/comments \\\n -d '{\"body\":\"body\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/repos/octocat/hello-world/pulls/42/comments \\\n  -d '{\"body\":\"body\"}'
    " }, { "lang": "JavaScript", @@ -59623,7 +59792,7 @@ { "verb": "post", "requestPath": "/repos/{owner}/{repo}/pulls/{pull_number}/comments/{comment_id}/replies", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "owner", @@ -59666,8 +59835,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/pulls/42/comments/42/replies \\\n -d '{\"body\":\"body\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/pulls/42/comments/42/replies \\\n  -d '{\"body\":\"body\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/repos/octocat/hello-world/pulls/42/comments/42/replies \\\n -d '{\"body\":\"body\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/repos/octocat/hello-world/pulls/42/comments/42/replies \\\n  -d '{\"body\":\"body\"}'
    " }, { "lang": "JavaScript", @@ -59754,7 +59923,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/pulls/{pull_number}/commits", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "owner", @@ -59807,8 +59976,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/pulls/42/commits", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/pulls/42/commits
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/repos/octocat/hello-world/pulls/42/commits", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/repos/octocat/hello-world/pulls/42/commits
    " }, { "lang": "JavaScript", @@ -59851,7 +60020,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/pulls/{pull_number}/files", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "owner", @@ -59904,8 +60073,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/pulls/42/files", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/pulls/42/files
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/repos/octocat/hello-world/pulls/42/files", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/repos/octocat/hello-world/pulls/42/files
    " }, { "lang": "JavaScript", @@ -59958,7 +60127,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/pulls/{pull_number}/merge", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "owner", @@ -59991,8 +60160,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/pulls/42/merge", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/pulls/42/merge
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/repos/octocat/hello-world/pulls/42/merge", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/repos/octocat/hello-world/pulls/42/merge
    " }, { "lang": "JavaScript", @@ -60039,7 +60208,7 @@ { "verb": "put", "requestPath": "/repos/{owner}/{repo}/pulls/{pull_number}/merge", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "owner", @@ -60072,8 +60241,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/pulls/42/merge \\\n -d '{\"commit_title\":\"commit_title\"}'", - "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/pulls/42/merge \\\n  -d '{\"commit_title\":\"commit_title\"}'
    " + "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/repos/octocat/hello-world/pulls/42/merge \\\n -d '{\"commit_title\":\"commit_title\"}'", + "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/repos/octocat/hello-world/pulls/42/merge \\\n  -d '{\"commit_title\":\"commit_title\"}'
    " }, { "lang": "JavaScript", @@ -60239,7 +60408,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/pulls/{pull_number}/requested_reviewers", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "owner", @@ -60292,8 +60461,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/pulls/42/requested_reviewers", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/pulls/42/requested_reviewers
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/repos/octocat/hello-world/pulls/42/requested_reviewers", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/repos/octocat/hello-world/pulls/42/requested_reviewers
    " }, { "lang": "JavaScript", @@ -60338,7 +60507,7 @@ { "verb": "post", "requestPath": "/repos/{owner}/{repo}/pulls/{pull_number}/requested_reviewers", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "owner", @@ -60371,8 +60540,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/pulls/42/requested_reviewers \\\n -d '{\"reviewers\":[\"reviewers\"]}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/pulls/42/requested_reviewers \\\n  -d '{\"reviewers\":[\"reviewers\"]}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/repos/octocat/hello-world/pulls/42/requested_reviewers \\\n -d '{\"reviewers\":[\"reviewers\"]}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/repos/octocat/hello-world/pulls/42/requested_reviewers \\\n  -d '{\"reviewers\":[\"reviewers\"]}'
    " }, { "lang": "JavaScript", @@ -60510,7 +60679,7 @@ { "verb": "delete", "requestPath": "/repos/{owner}/{repo}/pulls/{pull_number}/requested_reviewers", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "owner", @@ -60543,8 +60712,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/pulls/42/requested_reviewers \\\n -d '{\"reviewers\":[\"reviewers\"]}'", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/pulls/42/requested_reviewers \\\n  -d '{\"reviewers\":[\"reviewers\"]}'
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/repos/octocat/hello-world/pulls/42/requested_reviewers \\\n -d '{\"reviewers\":[\"reviewers\"]}'", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/repos/octocat/hello-world/pulls/42/requested_reviewers \\\n  -d '{\"reviewers\":[\"reviewers\"]}'
    " }, { "lang": "JavaScript", @@ -60666,7 +60835,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/pulls/{pull_number}/reviews", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "owner", @@ -60719,8 +60888,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/pulls/42/reviews", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/pulls/42/reviews
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/repos/octocat/hello-world/pulls/42/reviews", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/repos/octocat/hello-world/pulls/42/reviews
    " }, { "lang": "JavaScript", @@ -60765,7 +60934,7 @@ { "verb": "post", "requestPath": "/repos/{owner}/{repo}/pulls/{pull_number}/reviews", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "owner", @@ -60798,8 +60967,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/pulls/42/reviews \\\n -d '{\"commit_id\":\"commit_id\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/pulls/42/reviews \\\n  -d '{\"commit_id\":\"commit_id\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/repos/octocat/hello-world/pulls/42/reviews \\\n -d '{\"commit_id\":\"commit_id\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/repos/octocat/hello-world/pulls/42/reviews \\\n  -d '{\"commit_id\":\"commit_id\"}'
    " }, { "lang": "JavaScript", @@ -61247,7 +61416,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "owner", @@ -61290,8 +61459,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/pulls/42/reviews/42", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/pulls/42/reviews/42
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/repos/octocat/hello-world/pulls/42/reviews/42", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/repos/octocat/hello-world/pulls/42/reviews/42
    " }, { "lang": "JavaScript", @@ -61341,7 +61510,7 @@ { "verb": "put", "requestPath": "/repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "owner", @@ -61384,8 +61553,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/pulls/42/reviews/42 \\\n -d '{\"body\":\"body\"}'", - "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/pulls/42/reviews/42 \\\n  -d '{\"body\":\"body\"}'
    " + "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/repos/octocat/hello-world/pulls/42/reviews/42 \\\n -d '{\"body\":\"body\"}'", + "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/repos/octocat/hello-world/pulls/42/reviews/42 \\\n  -d '{\"body\":\"body\"}'
    " }, { "lang": "JavaScript", @@ -61471,7 +61640,7 @@ { "verb": "delete", "requestPath": "/repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "owner", @@ -61514,8 +61683,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/pulls/42/reviews/42", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/pulls/42/reviews/42
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/repos/octocat/hello-world/pulls/42/reviews/42", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/repos/octocat/hello-world/pulls/42/reviews/42
    " }, { "lang": "JavaScript", @@ -61570,7 +61739,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}/comments", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "owner", @@ -61633,8 +61802,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/pulls/42/reviews/42/comments", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/pulls/42/reviews/42/comments
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/repos/octocat/hello-world/pulls/42/reviews/42/comments", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/repos/octocat/hello-world/pulls/42/reviews/42/comments
    " }, { "lang": "JavaScript", @@ -61684,7 +61853,7 @@ { "verb": "put", "requestPath": "/repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}/dismissals", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "owner", @@ -61727,8 +61896,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/pulls/42/reviews/42/dismissals \\\n -d '{\"message\":\"message\"}'", - "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/pulls/42/reviews/42/dismissals \\\n  -d '{\"message\":\"message\"}'
    " + "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/repos/octocat/hello-world/pulls/42/reviews/42/dismissals \\\n -d '{\"message\":\"message\"}'", + "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/repos/octocat/hello-world/pulls/42/reviews/42/dismissals \\\n  -d '{\"message\":\"message\"}'
    " }, { "lang": "JavaScript", @@ -61834,7 +62003,7 @@ { "verb": "post", "requestPath": "/repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}/events", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "owner", @@ -61877,8 +62046,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/pulls/42/reviews/42/events \\\n -d '{\"event\":\"event\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/pulls/42/reviews/42/events \\\n  -d '{\"event\":\"event\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/repos/octocat/hello-world/pulls/42/reviews/42/events \\\n -d '{\"event\":\"event\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/repos/octocat/hello-world/pulls/42/reviews/42/events \\\n  -d '{\"event\":\"event\"}'
    " }, { "lang": "JavaScript", @@ -61999,7 +62168,7 @@ { "verb": "put", "requestPath": "/repos/{owner}/{repo}/pulls/{pull_number}/update-branch", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "owner", @@ -62032,8 +62201,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.lydian-preview+json\" \\\n https://api.github.com/repos/octocat/hello-world/pulls/42/update-branch \\\n -d '{\"expected_head_sha\":\"expected_head_sha\"}'", - "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.lydian-preview+json\" \\\n  https://api.github.com/repos/octocat/hello-world/pulls/42/update-branch \\\n  -d '{\"expected_head_sha\":\"expected_head_sha\"}'
    " + "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.lydian-preview+json\" \\\n http(s)://api.{hostname}/repos/octocat/hello-world/pulls/42/update-branch \\\n -d '{\"expected_head_sha\":\"expected_head_sha\"}'", + "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.lydian-preview+json\" \\\n  http(s)://api.{hostname}/repos/octocat/hello-world/pulls/42/update-branch \\\n  -d '{\"expected_head_sha\":\"expected_head_sha\"}'
    " }, { "lang": "JavaScript", @@ -62132,7 +62301,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/readme", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "owner", @@ -62166,8 +62335,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/readme", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/readme
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/repos/octocat/hello-world/readme", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/repos/octocat/hello-world/readme
    " }, { "lang": "JavaScript", @@ -62219,10 +62388,111 @@ } ] }, + { + "verb": "get", + "requestPath": "/repos/{owner}/{repo}/readme/{dir}", + "serverUrl": "http(s)://api.{hostname}", + "parameters": [ + { + "name": "owner", + "in": "path", + "required": true, + "schema": { + "type": "string" + }, + "descriptionHTML": "" + }, + { + "name": "repo", + "in": "path", + "required": true, + "schema": { + "type": "string" + }, + "descriptionHTML": "" + }, + { + "name": "dir", + "description": "The alternate path to look for a README file", + "in": "path", + "required": true, + "schema": { + "type": "string" + }, + "x-multi-segment": true, + "descriptionHTML": "

    The alternate path to look for a README file

    " + }, + { + "name": "ref", + "description": "The name of the commit/branch/tag. Default: the repository’s default branch (usually `master`)", + "in": "query", + "required": false, + "schema": { + "type": "string" + }, + "descriptionHTML": "

    The name of the commit/branch/tag. Default: the repository’s default branch (usually master)

    " + } + ], + "x-codeSamples": [ + { + "lang": "Shell", + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/repos/octocat/hello-world/readme/DIR", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/repos/octocat/hello-world/readme/DIR
    " + }, + { + "lang": "JavaScript", + "source": "await octokit.request('GET /repos/{owner}/{repo}/readme/{dir}', {\n owner: 'octocat',\n repo: 'hello-world',\n dir: 'dir'\n})", + "html": "
    await octokit.request('GET /repos/{owner}/{repo}/readme/{dir}', {\n  owner: 'octocat',\n  repo: 'hello-world',\n  dir: 'dir'\n})\n
    " + } + ], + "summary": "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.", + "tags": [ + "repos" + ], + "operationId": "repos/get-readme-in-directory", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/github-ae@latest/rest/reference/repos#get-a-repository-directory-readme" + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "previews": [], + "category": "repos", + "subcategory": "contents" + }, + "slug": "get-a-repository-readme-for-a-directory", + "category": "repos", + "categoryLabel": "Repos", + "subcategory": "contents", + "subcategoryLabel": "Contents", + "notes": [], + "bodyParameters": [], + "descriptionHTML": "

    Gets the README from a repository directory.

    \n

    READMEs support custom media types for retrieving the raw content or rendered HTML.

    ", + "responses": [ + { + "httpStatusCode": "200", + "httpStatusMessage": "OK", + "description": "Default response", + "payload": "
    {\n  \"type\": \"file\",\n  \"encoding\": \"base64\",\n  \"size\": 5362,\n  \"name\": \"README.md\",\n  \"path\": \"README.md\",\n  \"content\": \"encoded content ...\",\n  \"sha\": \"3d21ec53a331a6f037a91c368710b99387d012c1\",\n  \"url\": \"https://api.github.com/repos/octokit/octokit.rb/contents/README.md\",\n  \"git_url\": \"https://api.github.com/repos/octokit/octokit.rb/git/blobs/3d21ec53a331a6f037a91c368710b99387d012c1\",\n  \"html_url\": \"https://github.com/octokit/octokit.rb/blob/master/README.md\",\n  \"download_url\": \"https://raw.githubusercontent.com/octokit/octokit.rb/master/README.md\",\n  \"_links\": {\n    \"git\": \"https://api.github.com/repos/octokit/octokit.rb/git/blobs/3d21ec53a331a6f037a91c368710b99387d012c1\",\n    \"self\": \"https://api.github.com/repos/octokit/octokit.rb/contents/README.md\",\n    \"html\": \"https://github.com/octokit/octokit.rb/blob/master/README.md\"\n  }\n}\n
    " + }, + { + "httpStatusCode": "404", + "httpStatusMessage": "Not Found", + "description": "Resource not found" + }, + { + "httpStatusCode": "422", + "httpStatusMessage": "Unprocessable Entity", + "description": "Validation failed" + } + ] + }, { "verb": "get", "requestPath": "/repos/{owner}/{repo}/releases", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "owner", @@ -62266,8 +62536,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/releases", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/releases
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/repos/octocat/hello-world/releases", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/repos/octocat/hello-world/releases
    " }, { "lang": "JavaScript", @@ -62317,7 +62587,7 @@ { "verb": "post", "requestPath": "/repos/{owner}/{repo}/releases", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "owner", @@ -62341,8 +62611,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/releases \\\n -d '{\"tag_name\":\"tag_name\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/releases \\\n  -d '{\"tag_name\":\"tag_name\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/repos/octocat/hello-world/releases \\\n -d '{\"tag_name\":\"tag_name\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/repos/octocat/hello-world/releases \\\n  -d '{\"tag_name\":\"tag_name\"}'
    " }, { "lang": "JavaScript", @@ -62528,7 +62798,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/releases/assets/{asset_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "owner", @@ -62562,8 +62832,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/releases/assets/42", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/releases/assets/42
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/repos/octocat/hello-world/releases/assets/42", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/repos/octocat/hello-world/releases/assets/42
    " }, { "lang": "JavaScript", @@ -62623,7 +62893,7 @@ { "verb": "patch", "requestPath": "/repos/{owner}/{repo}/releases/assets/{asset_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "owner", @@ -62657,8 +62927,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/releases/assets/42 \\\n -d '{\"name\":\"name\"}'", - "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/releases/assets/42 \\\n  -d '{\"name\":\"name\"}'
    " + "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/repos/octocat/hello-world/releases/assets/42 \\\n -d '{\"name\":\"name\"}'", + "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/repos/octocat/hello-world/releases/assets/42 \\\n  -d '{\"name\":\"name\"}'
    " }, { "lang": "JavaScript", @@ -62773,7 +63043,7 @@ { "verb": "delete", "requestPath": "/repos/{owner}/{repo}/releases/assets/{asset_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "owner", @@ -62807,8 +63077,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/releases/assets/42", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/releases/assets/42
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/repos/octocat/hello-world/releases/assets/42", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/repos/octocat/hello-world/releases/assets/42
    " }, { "lang": "JavaScript", @@ -62843,7 +63113,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "bodyParameters": [], @@ -62852,7 +63122,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/releases/latest", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "owner", @@ -62876,8 +63146,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/releases/latest", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/releases/latest
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/repos/octocat/hello-world/releases/latest", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/repos/octocat/hello-world/releases/latest
    " }, { "lang": "JavaScript", @@ -62922,7 +63192,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/releases/tags/{tag}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "owner", @@ -62944,21 +63214,21 @@ }, { "name": "tag", - "description": "tag+ parameter", + "description": "tag parameter", "in": "path", "required": true, "schema": { "type": "string" }, "x-multi-segment": true, - "descriptionHTML": "

    tag+ parameter

    " + "descriptionHTML": "

    tag parameter

    " } ], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/releases/tags/TAG", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/releases/tags/TAG
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/repos/octocat/hello-world/releases/tags/TAG", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/repos/octocat/hello-world/releases/tags/TAG
    " }, { "lang": "JavaScript", @@ -63008,7 +63278,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/releases/{release_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "owner", @@ -63042,8 +63312,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/releases/42", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/releases/42
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/repos/octocat/hello-world/releases/42", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/repos/octocat/hello-world/releases/42
    " }, { "lang": "JavaScript", @@ -63093,7 +63363,7 @@ { "verb": "patch", "requestPath": "/repos/{owner}/{repo}/releases/{release_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "owner", @@ -63127,8 +63397,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/releases/42 \\\n -d '{\"tag_name\":\"tag_name\"}'", - "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/releases/42 \\\n  -d '{\"tag_name\":\"tag_name\"}'
    " + "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/repos/octocat/hello-world/releases/42 \\\n -d '{\"tag_name\":\"tag_name\"}'", + "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/repos/octocat/hello-world/releases/42 \\\n  -d '{\"tag_name\":\"tag_name\"}'
    " }, { "lang": "JavaScript", @@ -63301,7 +63571,7 @@ { "verb": "delete", "requestPath": "/repos/{owner}/{repo}/releases/{release_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "owner", @@ -63335,8 +63605,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/releases/42", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/releases/42
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/repos/octocat/hello-world/releases/42", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/repos/octocat/hello-world/releases/42
    " }, { "lang": "JavaScript", @@ -63371,7 +63641,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "bodyParameters": [], @@ -63380,7 +63650,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/releases/{release_id}/assets", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "owner", @@ -63434,8 +63704,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/releases/42/assets", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/releases/42/assets
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/repos/octocat/hello-world/releases/42/assets", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/repos/octocat/hello-world/releases/42/assets
    " }, { "lang": "JavaScript", @@ -63480,7 +63750,7 @@ { "verb": "post", "requestPath": "/repos/{owner}/{repo}/releases/{release_id}/assets", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "owner", @@ -63530,8 +63800,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/releases/42/assets", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/releases/42/assets
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/repos/octocat/hello-world/releases/42/assets", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/repos/octocat/hello-world/releases/42/assets
    " }, { "lang": "JavaScript", @@ -63597,7 +63867,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/stargazers", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "owner", @@ -63641,8 +63911,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/stargazers", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/stargazers
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/repos/octocat/hello-world/stargazers", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/repos/octocat/hello-world/stargazers
    " }, { "lang": "JavaScript", @@ -63692,7 +63962,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/stats/code_frequency", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "owner", @@ -63716,8 +63986,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/stats/code_frequency", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/stats/code_frequency
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/repos/octocat/hello-world/stats/code_frequency", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/repos/octocat/hello-world/stats/code_frequency
    " }, { "lang": "JavaScript", @@ -63762,7 +64032,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/stats/commit_activity", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "owner", @@ -63786,8 +64056,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/stats/commit_activity", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/stats/commit_activity
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/repos/octocat/hello-world/stats/commit_activity", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/repos/octocat/hello-world/stats/commit_activity
    " }, { "lang": "JavaScript", @@ -63832,7 +64102,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/stats/contributors", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "owner", @@ -63856,8 +64126,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/stats/contributors", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/stats/contributors
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/repos/octocat/hello-world/stats/contributors", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/repos/octocat/hello-world/stats/contributors
    " }, { "lang": "JavaScript", @@ -63902,7 +64172,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/stats/participation", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "owner", @@ -63926,8 +64196,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/stats/participation", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/stats/participation
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/repos/octocat/hello-world/stats/participation", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/repos/octocat/hello-world/stats/participation
    " }, { "lang": "JavaScript", @@ -63977,7 +64247,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/stats/punch_card", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "owner", @@ -64001,8 +64271,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/stats/punch_card", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/stats/punch_card
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/repos/octocat/hello-world/stats/punch_card", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/repos/octocat/hello-world/stats/punch_card
    " }, { "lang": "JavaScript", @@ -64047,7 +64317,7 @@ { "verb": "post", "requestPath": "/repos/{owner}/{repo}/statuses/{sha}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "owner", @@ -64081,8 +64351,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/statuses/SHA \\\n -d '{\"state\":\"state\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/statuses/SHA \\\n  -d '{\"state\":\"state\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/repos/octocat/hello-world/statuses/SHA \\\n -d '{\"state\":\"state\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/repos/octocat/hello-world/statuses/SHA \\\n  -d '{\"state\":\"state\"}'
    " }, { "lang": "JavaScript", @@ -64234,7 +64504,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/subscribers", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "owner", @@ -64278,8 +64548,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/subscribers", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/subscribers
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/repos/octocat/hello-world/subscribers", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/repos/octocat/hello-world/subscribers
    " }, { "lang": "JavaScript", @@ -64324,7 +64594,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/subscription", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "owner", @@ -64348,8 +64618,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/subscription", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/subscription
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/repos/octocat/hello-world/subscription", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/repos/octocat/hello-world/subscription
    " }, { "lang": "JavaScript", @@ -64404,7 +64674,7 @@ { "verb": "put", "requestPath": "/repos/{owner}/{repo}/subscription", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "owner", @@ -64428,8 +64698,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/subscription \\\n -d '{\"subscribed\":true}'", - "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/subscription \\\n  -d '{\"subscribed\":true}'
    " + "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/repos/octocat/hello-world/subscription \\\n -d '{\"subscribed\":true}'", + "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/repos/octocat/hello-world/subscription \\\n  -d '{\"subscribed\":true}'
    " }, { "lang": "JavaScript", @@ -64522,7 +64792,7 @@ { "verb": "delete", "requestPath": "/repos/{owner}/{repo}/subscription", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "owner", @@ -64546,8 +64816,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/subscription", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/subscription
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/repos/octocat/hello-world/subscription", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/repos/octocat/hello-world/subscription
    " }, { "lang": "JavaScript", @@ -64582,7 +64852,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "bodyParameters": [], @@ -64591,7 +64861,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/tags", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "owner", @@ -64635,8 +64905,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/tags", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/tags
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/repos/octocat/hello-world/tags", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/repos/octocat/hello-world/tags
    " }, { "lang": "JavaScript", @@ -64679,7 +64949,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/tarball/{ref}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "owner", @@ -64712,8 +64982,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/tarball/REF", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/tarball/REF
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/repos/octocat/hello-world/tarball/REF", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/repos/octocat/hello-world/tarball/REF
    " }, { "lang": "JavaScript", @@ -64757,7 +65027,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/teams", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "owner", @@ -64801,8 +65071,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/teams", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/teams
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/repos/octocat/hello-world/teams", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/repos/octocat/hello-world/teams
    " }, { "lang": "JavaScript", @@ -64845,7 +65115,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/topics", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "owner", @@ -64864,13 +65134,33 @@ "type": "string" }, "descriptionHTML": "" + }, + { + "name": "page", + "description": "Page number of the results to fetch.", + "in": "query", + "schema": { + "type": "integer", + "default": 1 + }, + "descriptionHTML": "

    Page number of the results to fetch.

    " + }, + { + "name": "per_page", + "description": "Results per page (max 100).", + "in": "query", + "schema": { + "type": "integer", + "default": 30 + }, + "descriptionHTML": "

    Results per page (max 100).

    " } ], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.mercy-preview+json\" \\\n https://api.github.com/repos/octocat/hello-world/topics", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.mercy-preview+json\" \\\n  https://api.github.com/repos/octocat/hello-world/topics
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.mercy-preview+json\" \\\n http(s)://api.{hostname}/repos/octocat/hello-world/topics", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.mercy-preview+json\" \\\n  http(s)://api.{hostname}/repos/octocat/hello-world/topics
    " }, { "lang": "JavaScript", @@ -64930,7 +65220,7 @@ { "verb": "put", "requestPath": "/repos/{owner}/{repo}/topics", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "owner", @@ -64954,8 +65244,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.mercy-preview+json\" \\\n https://api.github.com/repos/octocat/hello-world/topics \\\n -d '{\"names\":[\"names\"]}'", - "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.mercy-preview+json\" \\\n  https://api.github.com/repos/octocat/hello-world/topics \\\n  -d '{\"names\":[\"names\"]}'
    " + "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.mercy-preview+json\" \\\n http(s)://api.{hostname}/repos/octocat/hello-world/topics \\\n -d '{\"names\":[\"names\"]}'", + "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.mercy-preview+json\" \\\n  http(s)://api.{hostname}/repos/octocat/hello-world/topics \\\n  -d '{\"names\":[\"names\"]}'
    " }, { "lang": "JavaScript", @@ -65067,7 +65357,7 @@ { "verb": "post", "requestPath": "/repos/{owner}/{repo}/transfer", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "owner", @@ -65091,8 +65381,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/transfer \\\n -d '{\"new_owner\":\"new_owner\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/transfer \\\n  -d '{\"new_owner\":\"new_owner\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/repos/octocat/hello-world/transfer \\\n -d '{\"new_owner\":\"new_owner\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/repos/octocat/hello-world/transfer \\\n  -d '{\"new_owner\":\"new_owner\"}'
    " }, { "lang": "JavaScript", @@ -65199,7 +65489,7 @@ { "verb": "put", "requestPath": "/repos/{owner}/{repo}/vulnerability-alerts", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "owner", @@ -65223,8 +65513,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.dorian-preview+json\" \\\n https://api.github.com/repos/octocat/hello-world/vulnerability-alerts", - "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.dorian-preview+json\" \\\n  https://api.github.com/repos/octocat/hello-world/vulnerability-alerts
    " + "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.dorian-preview+json\" \\\n http(s)://api.{hostname}/repos/octocat/hello-world/vulnerability-alerts", + "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.dorian-preview+json\" \\\n  http(s)://api.{hostname}/repos/octocat/hello-world/vulnerability-alerts
    " }, { "lang": "JavaScript", @@ -65264,7 +65554,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "bodyParameters": [], @@ -65273,7 +65563,7 @@ { "verb": "delete", "requestPath": "/repos/{owner}/{repo}/vulnerability-alerts", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "owner", @@ -65297,8 +65587,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.dorian-preview+json\" \\\n https://api.github.com/repos/octocat/hello-world/vulnerability-alerts", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.dorian-preview+json\" \\\n  https://api.github.com/repos/octocat/hello-world/vulnerability-alerts
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.dorian-preview+json\" \\\n http(s)://api.{hostname}/repos/octocat/hello-world/vulnerability-alerts", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.dorian-preview+json\" \\\n  http(s)://api.{hostname}/repos/octocat/hello-world/vulnerability-alerts
    " }, { "lang": "JavaScript", @@ -65338,7 +65628,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "bodyParameters": [], @@ -65347,7 +65637,7 @@ { "verb": "get", "requestPath": "/repos/{owner}/{repo}/zipball/{ref}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "owner", @@ -65380,8 +65670,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/zipball/REF", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/zipball/REF
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/repos/octocat/hello-world/zipball/REF", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/repos/octocat/hello-world/zipball/REF
    " }, { "lang": "JavaScript", @@ -65425,7 +65715,7 @@ { "verb": "post", "requestPath": "/repos/{template_owner}/{template_repo}/generate", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "template_owner", @@ -65449,8 +65739,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.baptiste-preview+json\" \\\n https://api.github.com/repos/TEMPLATE_OWNER/TEMPLATE_REPO/generate \\\n -d '{\"name\":\"name\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.baptiste-preview+json\" \\\n  https://api.github.com/repos/TEMPLATE_OWNER/TEMPLATE_REPO/generate \\\n  -d '{\"name\":\"name\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.baptiste-preview+json\" \\\n http(s)://api.{hostname}/repos/TEMPLATE_OWNER/TEMPLATE_REPO/generate \\\n -d '{\"name\":\"name\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.baptiste-preview+json\" \\\n  http(s)://api.{hostname}/repos/TEMPLATE_OWNER/TEMPLATE_REPO/generate \\\n  -d '{\"name\":\"name\"}'
    " }, { "lang": "JavaScript", @@ -65459,7 +65749,7 @@ } ], "summary": "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", + "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", "tags": [ "repos" ], @@ -65554,7 +65844,7 @@ "category": "repos", "categoryLabel": "Repos", "notes": [], - "descriptionHTML": "

    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 endpoint and check that the is_template key is true.

    \n

    OAuth scope requirements

    \n

    When using OAuth, 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
    ", + "descriptionHTML": "

    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 endpoint and check that the is_template key is true.

    \n

    OAuth scope requirements

    \n

    When using OAuth, 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
    ", "bodyParameters": [ { "type": "string", @@ -65616,7 +65906,7 @@ { "verb": "get", "requestPath": "/repositories", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "since", @@ -65632,8 +65922,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repositories", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repositories
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/repositories", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/repositories
    " }, { "lang": "JavaScript", @@ -65642,7 +65932,7 @@ } ], "summary": "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.", + "description": "Lists all public repositories in the order that they were created.\n\nNotes:\n- For GitHub Enterprise Server and GitHub AE, 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/github-ae@latest/rest/overview/resources-in-the-rest-api#link-header) to get the URL for the next page of repositories.", "tags": [ "repos" ], @@ -65663,7 +65953,7 @@ "categoryLabel": "Repos", "notes": [], "bodyParameters": [], - "descriptionHTML": "

    Lists all public repositories in the order that they were created.

    \n

    Note: Pagination is powered exclusively by the since parameter. Use the Link header to get the URL for the next page of repositories.

    ", + "descriptionHTML": "

    Lists all public repositories in the order that they were created.

    \n

    Notes:

    \n
      \n
    • For GitHub Enterprise Server and GitHub AE, 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 to get the URL for the next page of repositories.
    • \n
    ", "responses": [ { "httpStatusCode": "200", @@ -65686,7 +65976,7 @@ { "verb": "get", "requestPath": "/repositories/{repository_id}/environments/{environment_name}/secrets", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "repository_id", @@ -65731,8 +66021,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repositories/42/environments/ENVIRONMENT_NAME/secrets", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repositories/42/environments/ENVIRONMENT_NAME/secrets
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/repositories/42/environments/ENVIRONMENT_NAME/secrets", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/repositories/42/environments/ENVIRONMENT_NAME/secrets
    " }, { "lang": "JavaScript", @@ -65777,7 +66067,7 @@ { "verb": "get", "requestPath": "/repositories/{repository_id}/environments/{environment_name}/secrets/public-key", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "repository_id", @@ -65802,8 +66092,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repositories/42/environments/ENVIRONMENT_NAME/secrets/public-key", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repositories/42/environments/ENVIRONMENT_NAME/secrets/public-key
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/repositories/42/environments/ENVIRONMENT_NAME/secrets/public-key", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/repositories/42/environments/ENVIRONMENT_NAME/secrets/public-key
    " }, { "lang": "JavaScript", @@ -65848,7 +66138,7 @@ { "verb": "get", "requestPath": "/repositories/{repository_id}/environments/{environment_name}/secrets/{secret_name}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "repository_id", @@ -65883,8 +66173,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repositories/42/environments/ENVIRONMENT_NAME/secrets/SECRET_NAME", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repositories/42/environments/ENVIRONMENT_NAME/secrets/SECRET_NAME
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/repositories/42/environments/ENVIRONMENT_NAME/secrets/SECRET_NAME", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/repositories/42/environments/ENVIRONMENT_NAME/secrets/SECRET_NAME
    " }, { "lang": "JavaScript", @@ -65929,7 +66219,7 @@ { "verb": "put", "requestPath": "/repositories/{repository_id}/environments/{environment_name}/secrets/{secret_name}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "repository_id", @@ -65964,8 +66254,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repositories/42/environments/ENVIRONMENT_NAME/secrets/SECRET_NAME \\\n -d '{\"encrypted_value\":\"encrypted_value\"}'", - "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repositories/42/environments/ENVIRONMENT_NAME/secrets/SECRET_NAME \\\n  -d '{\"encrypted_value\":\"encrypted_value\"}'
    " + "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/repositories/42/environments/ENVIRONMENT_NAME/secrets/SECRET_NAME \\\n -d '{\"encrypted_value\":\"encrypted_value\"}'", + "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/repositories/42/environments/ENVIRONMENT_NAME/secrets/SECRET_NAME \\\n  -d '{\"encrypted_value\":\"encrypted_value\"}'
    " }, { "lang": "JavaScript", @@ -66068,7 +66358,7 @@ { "verb": "delete", "requestPath": "/repositories/{repository_id}/environments/{environment_name}/secrets/{secret_name}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "repository_id", @@ -66103,8 +66393,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repositories/42/environments/ENVIRONMENT_NAME/secrets/SECRET_NAME", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repositories/42/environments/ENVIRONMENT_NAME/secrets/SECRET_NAME
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/repositories/42/environments/ENVIRONMENT_NAME/secrets/SECRET_NAME", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/repositories/42/environments/ENVIRONMENT_NAME/secrets/SECRET_NAME
    " }, { "lang": "JavaScript", @@ -66139,16 +66429,1061 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Default response" } ], "bodyParameters": [], "descriptionHTML": "

    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.

    " }, + { + "verb": "get", + "requestPath": "/scim/v2/enterprises/{enterprise}/Groups", + "serverUrl": "http(s)://api.{hostname}", + "parameters": [ + { + "name": "enterprise", + "description": "The slug version of the enterprise name. You can also substitute this value with the enterprise id.", + "in": "path", + "required": true, + "schema": { + "type": "string" + }, + "descriptionHTML": "

    The slug version of the enterprise name. You can also substitute this value with the enterprise id.

    " + }, + { + "name": "startIndex", + "description": "Used for pagination: the index of the first result to return.", + "in": "query", + "required": false, + "schema": { + "type": "integer" + }, + "descriptionHTML": "

    Used for pagination: the index of the first result to return.

    " + }, + { + "name": "count", + "description": "Used for pagination: the number of results to return.", + "in": "query", + "required": false, + "schema": { + "type": "integer" + }, + "descriptionHTML": "

    Used for pagination: the number of results to return.

    " + }, + { + "name": "filter", + "description": "filter results", + "in": "query", + "required": false, + "schema": { + "type": "string" + }, + "descriptionHTML": "

    filter results

    " + }, + { + "name": "excludedAttributes", + "description": "attributes to exclude", + "in": "query", + "required": false, + "schema": { + "type": "string" + }, + "descriptionHTML": "

    attributes to exclude

    " + } + ], + "x-codeSamples": [ + { + "lang": "Shell", + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/scim/v2/enterprises/ENTERPRISE/Groups", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/scim/v2/enterprises/ENTERPRISE/Groups
    " + }, + { + "lang": "JavaScript", + "source": "await octokit.request('GET /scim/v2/enterprises/{enterprise}/Groups', {\n enterprise: 'enterprise'\n})", + "html": "
    await octokit.request('GET /scim/v2/enterprises/{enterprise}/Groups', {\n  enterprise: 'enterprise'\n})\n
    " + } + ], + "summary": "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.", + "operationId": "enterprise-admin/list-provisioned-groups-enterprise", + "tags": [ + "enterprise-admin" + ], + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/github-ae@latest/rest/reference/enterprise-admin#list-provisioned-scim-groups-for-an-enterprise" + }, + "x-github": { + "enabledForGitHubApps": true, + "githubCloudOnly": true, + "previews": [], + "category": "enterprise-admin", + "subcategory": "scim" + }, + "slug": "list-provisioned-scim-groups-for-an-enterprise", + "category": "enterprise-admin", + "categoryLabel": "Enterprise admin", + "subcategory": "scim", + "subcategoryLabel": "Scim", + "notes": [], + "bodyParameters": [], + "descriptionHTML": "

    Note: The SCIM API endpoints for enterprise accounts are currently in beta and are subject to change.

    ", + "responses": [ + { + "httpStatusCode": "200", + "httpStatusMessage": "OK", + "description": "Default response", + "payload": "
    {\n  \"schemas\": [\n    \"urn:ietf:params:scim:api:messages:2.0:ListResponse\"\n  ],\n  \"totalResults\": 2,\n  \"itemsPerPage\": 2,\n  \"startIndex\": 1,\n  \"Resources\": [\n    {\n      \"schemas\": [\n        \"urn:ietf:params:scim:schemas:core:2.0:Group\"\n      ],\n      \"id\": \"abcd27f8-a9aa-11ea-8221-f59b2be9cccc\",\n      \"externalId\": null,\n      \"displayName\": \"octo-org\",\n      \"members\": [\n        {\n          \"value\": \"92b58aaa-a1d6-11ea-8227-b9ce9e023ccc\",\n          \"$ref\": \"https://api.github.com/scim/v2/enterprises/octo-corp/Users/92b58aaa-a1d6-11ea-8227-b9ce9e023ccc\",\n          \"display\": \"octocat@github.com\"\n        },\n        {\n          \"value\": \"aaaa8c34-a6b2-11ea-9d70-bbbbbd1c8fd5\",\n          \"$ref\": \"https://api.github.com/scim/v2/enterprises/octo-corp/Users/aaaa8c34-a6b2-11ea-9d70-bbbbbd1c8fd5\",\n          \"display\": \"hubot@example.com\"\n        }\n      ],\n      \"meta\": {\n        \"resourceType\": \"Group\",\n        \"created\": \"2020-06-09T03:10:17.000+10:00\",\n        \"lastModified\": \"2020-06-09T03:10:17.000+10:00\",\n        \"location\": \"https://api.github.com/scim/v2/enterprises/octo-corp/Groups/abcd27f8-a9aa-11ea-8221-f59b2be9cccc\"\n      }\n    },\n    {\n      \"schemas\": [\n        \"urn:ietf:params:scim:schemas:core:2.0:Group\"\n      ],\n      \"id\": \"5e75bbbb-aa1a-11ea-8644-75ff655cdddd\",\n      \"externalId\": null,\n      \"displayName\": \"octo-docs-org\",\n      \"members\": [\n        {\n          \"value\": \"92b58aaa-a1d6-11ea-8227-b9ce9e023ccc\",\n          \"$ref\": \"https://api.github.com/scim/v2/enterprises/octo-corp/Users/92b58aaa-a1d6-11ea-8227-b9ce9e023ccc\",\n          \"display\": \"octocat@github.com\"\n        }\n      ],\n      \"meta\": {\n        \"resourceType\": \"Group\",\n        \"created\": \"2020-06-09T16:28:01.000+10:00\",\n        \"lastModified\": \"2020-06-09T16:28:01.000+10:00\",\n        \"location\": \"https://api.github.com/scim/v2/enterprises/octo-corp/Groups/5e75bbbb-aa1a-11ea-8644-75ff655cdddd\"\n      }\n    }\n  ]\n}\n
    " + } + ] + }, + { + "verb": "post", + "requestPath": "/scim/v2/enterprises/{enterprise}/Groups", + "serverUrl": "http(s)://api.{hostname}", + "parameters": [ + { + "name": "enterprise", + "description": "The slug version of the enterprise name. You can also substitute this value with the enterprise id.", + "in": "path", + "required": true, + "schema": { + "type": "string" + }, + "descriptionHTML": "

    The slug version of the enterprise name. You can also substitute this value with the enterprise id.

    " + } + ], + "x-codeSamples": [ + { + "lang": "Shell", + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/scim/v2/enterprises/ENTERPRISE/Groups \\\n -d '{\"schemas\":[\"schemas\"],\"displayName\":\"displayName\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/scim/v2/enterprises/ENTERPRISE/Groups \\\n  -d '{\"schemas\":[\"schemas\"],\"displayName\":\"displayName\"}'
    " + }, + { + "lang": "JavaScript", + "source": "await octokit.request('POST /scim/v2/enterprises/{enterprise}/Groups', {\n enterprise: 'enterprise',\n schemas: [\n 'schemas'\n ],\n displayName: 'displayName'\n})", + "html": "
    await octokit.request('POST /scim/v2/enterprises/{enterprise}/Groups', {\n  enterprise: 'enterprise',\n  schemas: [\n    'schemas'\n  ],\n  displayName: 'displayName'\n})\n
    " + } + ], + "summary": "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.", + "operationId": "enterprise-admin/provision-and-invite-enterprise-group", + "tags": [ + "enterprise-admin" + ], + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/github-ae@latest/rest/reference/enterprise-admin#provision-a-scim-enterprise-group-and-invite-users" + }, + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "schemas": { + "type": "array of strings", + "description": "

    Required. The SCIM schema URIs.

    ", + "items": { + "type": "string" + }, + "name": "schemas", + "in": "body", + "rawType": "array", + "rawDescription": "The SCIM schema URIs.", + "childParamsGroups": [] + }, + "displayName": { + "type": "string", + "description": "

    Required. The name of the SCIM group. This must match the GitHub organization that the group maps to.

    ", + "name": "displayName", + "in": "body", + "rawType": "string", + "rawDescription": "The name of the SCIM group. This must match the GitHub organization that the group maps to.", + "childParamsGroups": [] + }, + "members": { + "type": "array of objects", + "items": { + "type": "object", + "properties": { + "value": { + "type": "string", + "description": "

    Required. The SCIM user ID for a user.

    ", + "name": "value", + "in": "body", + "rawType": "string", + "rawDescription": "The SCIM user ID for a user.", + "childParamsGroups": [] + } + }, + "required": [ + "value" + ] + }, + "name": "members", + "in": "body", + "rawType": "array", + "description": "

    undefined

    ", + "childParamsGroups": [ + { + "parentName": "members", + "parentType": "items", + "id": "members-items", + "params": [ + { + "type": "string", + "description": "

    Required. The SCIM user ID for a user.

    ", + "name": "value", + "in": "body", + "rawType": "string", + "rawDescription": "The SCIM user ID for a user.", + "childParamsGroups": [] + } + ] + } + ] + } + }, + "required": [ + "schemas", + "displayName" + ] + }, + "example": { + "schemas": [ + "urn:ietf:params:scim:schemas:core:2.0:Group" + ], + "displayName": "octo-org", + "members": [ + { + "value": "92b58aaa-a1d6-11ea-8227-b9ce9e023ccc" + }, + { + "value": "aaaa8c34-a6b2-11ea-9d70-bbbbbd1c8fd5" + } + ] + } + } + } + }, + "x-github": { + "enabledForGitHubApps": true, + "githubCloudOnly": true, + "previews": [], + "category": "enterprise-admin", + "subcategory": "scim" + }, + "slug": "provision-a-scim-enterprise-group-and-invite-users", + "category": "enterprise-admin", + "categoryLabel": "Enterprise admin", + "subcategory": "scim", + "subcategoryLabel": "Scim", + "notes": [], + "descriptionHTML": "

    Note: The SCIM API endpoints for enterprise accounts are currently in beta and are subject to change.

    \n

    Provision 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.

    ", + "responses": [ + { + "httpStatusCode": "201", + "httpStatusMessage": "Created", + "description": "Default response", + "payload": "
    {\n  \"schemas\": [\n    \"urn:ietf:params:scim:schemas:core:2.0:Group\"\n  ],\n  \"id\": \"abcd27f8-a9aa-11ea-8221-f59b2be9cccc\",\n  \"externalId\": null,\n  \"displayName\": \"octo-org\",\n  \"members\": [\n    {\n      \"value\": \"92b58aaa-a1d6-11ea-8227-b9ce9e023ccc\",\n      \"$ref\": \"https://api.github.com/scim/v2/enterprises/octo-corp/Users/92b58aaa-a1d6-11ea-8227-b9ce9e023ccc\",\n      \"display\": \"octocat@github.com\"\n    },\n    {\n      \"value\": \"aaaa8c34-a6b2-11ea-9d70-bbbbbd1c8fd5\",\n      \"$ref\": \"https://api.github.com/scim/v2/enterprises/octo-corp/Users/aaaa8c34-a6b2-11ea-9d70-bbbbbd1c8fd5\",\n      \"display\": \"hubot@example.com\"\n    }\n  ],\n  \"meta\": {\n    \"resourceType\": \"Group\",\n    \"created\": \"2020-06-09T03:10:17.000+10:0\",\n    \"lastModified\": \"2020-06-09T03:10:17.000+10:00\",\n    \"location\": \"https://api.github.com/scim/v2/enterprises/octo-corp/Groups/abcd27f8-a9aa-11ea-8221-f59b2be9cccc\"\n  }\n}\n
    " + } + ], + "bodyParameters": [ + { + "type": "array of strings", + "description": "

    Required. The SCIM schema URIs.

    ", + "items": { + "type": "string" + }, + "name": "schemas", + "in": "body", + "rawType": "array", + "rawDescription": "The SCIM schema URIs.", + "childParamsGroups": [] + }, + { + "type": "string", + "description": "

    Required. The name of the SCIM group. This must match the GitHub organization that the group maps to.

    ", + "name": "displayName", + "in": "body", + "rawType": "string", + "rawDescription": "The name of the SCIM group. This must match the GitHub organization that the group maps to.", + "childParamsGroups": [] + }, + { + "type": "array of objects", + "items": { + "type": "object", + "properties": { + "value": { + "type": "string", + "description": "

    Required. The SCIM user ID for a user.

    ", + "name": "value", + "in": "body", + "rawType": "string", + "rawDescription": "The SCIM user ID for a user.", + "childParamsGroups": [] + } + }, + "required": [ + "value" + ] + }, + "name": "members", + "in": "body", + "rawType": "array", + "description": "

    undefined

    ", + "childParamsGroups": [ + { + "parentName": "members", + "parentType": "items", + "id": "members-items", + "params": [ + { + "type": "string", + "description": "

    Required. The SCIM user ID for a user.

    ", + "name": "value", + "in": "body", + "rawType": "string", + "rawDescription": "The SCIM user ID for a user.", + "childParamsGroups": [] + } + ] + } + ] + } + ] + }, + { + "verb": "get", + "requestPath": "/scim/v2/enterprises/{enterprise}/Groups/{scim_group_id}", + "serverUrl": "http(s)://api.{hostname}", + "parameters": [ + { + "name": "enterprise", + "description": "The slug version of the enterprise name. You can also substitute this value with the enterprise id.", + "in": "path", + "required": true, + "schema": { + "type": "string" + }, + "descriptionHTML": "

    The slug version of the enterprise name. You can also substitute this value with the enterprise id.

    " + }, + { + "name": "scim_group_id", + "description": "Identifier generated by the GitHub SCIM endpoint.", + "in": "path", + "required": true, + "schema": { + "type": "string" + }, + "descriptionHTML": "

    Identifier generated by the GitHub SCIM endpoint.

    " + }, + { + "name": "excludedAttributes", + "description": "Attributes to exclude.", + "in": "query", + "required": false, + "schema": { + "type": "string" + }, + "descriptionHTML": "

    Attributes to exclude.

    " + } + ], + "x-codeSamples": [ + { + "lang": "Shell", + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/scim/v2/enterprises/ENTERPRISE/Groups/SCIM_GROUP_ID", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/scim/v2/enterprises/ENTERPRISE/Groups/SCIM_GROUP_ID
    " + }, + { + "lang": "JavaScript", + "source": "await octokit.request('GET /scim/v2/enterprises/{enterprise}/Groups/{scim_group_id}', {\n enterprise: 'enterprise',\n scim_group_id: 'scim_group_id'\n})", + "html": "
    await octokit.request('GET /scim/v2/enterprises/{enterprise}/Groups/{scim_group_id}', {\n  enterprise: 'enterprise',\n  scim_group_id: 'scim_group_id'\n})\n
    " + } + ], + "summary": "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.", + "operationId": "enterprise-admin/get-provisioning-information-for-enterprise-group", + "tags": [ + "enterprise-admin" + ], + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/github-ae@latest/rest/reference/enterprise-admin#get-scim-provisioning-information-for-an-enterprise-group" + }, + "x-github": { + "enabledForGitHubApps": true, + "githubCloudOnly": true, + "previews": [], + "category": "enterprise-admin", + "subcategory": "scim" + }, + "slug": "get-scim-provisioning-information-for-an-enterprise-group", + "category": "enterprise-admin", + "categoryLabel": "Enterprise admin", + "subcategory": "scim", + "subcategoryLabel": "Scim", + "notes": [], + "bodyParameters": [], + "descriptionHTML": "

    Note: The SCIM API endpoints for enterprise accounts are currently in beta and are subject to change.

    ", + "responses": [ + { + "httpStatusCode": "200", + "httpStatusMessage": "OK", + "description": "Default response", + "payload": "
    {\n  \"schemas\": [\n    \"urn:ietf:params:scim:schemas:core:2.0:Group\"\n  ],\n  \"id\": \"abcd27f8-a9aa-11ea-8221-f59b2be9cccc\",\n  \"externalId\": null,\n  \"displayName\": \"octo-org\",\n  \"members\": [\n    {\n      \"value\": \"92b58aaa-a1d6-11ea-8227-b9ce9e023ccc\",\n      \"$ref\": \"https://api.github.com/scim/v2/enterprises/octo-corp/Users/92b58aaa-a1d6-11ea-8227-b9ce9e023ccc\",\n      \"display\": \"octocat@github.com\"\n    },\n    {\n      \"value\": \"aaaa8c34-a6b2-11ea-9d70-bbbbbd1c8fd5\",\n      \"$ref\": \"https://api.github.com/scim/v2/enterprises/octo-corp/Users/aaaa8c34-a6b2-11ea-9d70-bbbbbd1c8fd5\",\n      \"display\": \"hubot@example.com\"\n    }\n  ],\n  \"meta\": {\n    \"resourceType\": \"Group\",\n    \"created\": \"2020-06-09T03:10:17.000+10:0\",\n    \"lastModified\": \"2020-06-09T03:10:17.000+10:00\",\n    \"location\": \"https://api.github.com/scim/v2/enterprises/octo-corp/Groups/abcd27f8-a9aa-11ea-8221-f59b2be9cccc\"\n  }\n}\n
    " + } + ] + }, + { + "verb": "put", + "requestPath": "/scim/v2/enterprises/{enterprise}/Groups/{scim_group_id}", + "serverUrl": "http(s)://api.{hostname}", + "parameters": [ + { + "name": "enterprise", + "description": "The slug version of the enterprise name. You can also substitute this value with the enterprise id.", + "in": "path", + "required": true, + "schema": { + "type": "string" + }, + "descriptionHTML": "

    The slug version of the enterprise name. You can also substitute this value with the enterprise id.

    " + }, + { + "name": "scim_group_id", + "description": "Identifier generated by the GitHub SCIM endpoint.", + "in": "path", + "required": true, + "schema": { + "type": "string" + }, + "descriptionHTML": "

    Identifier generated by the GitHub SCIM endpoint.

    " + } + ], + "x-codeSamples": [ + { + "lang": "Shell", + "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/scim/v2/enterprises/ENTERPRISE/Groups/SCIM_GROUP_ID \\\n -d '{\"schemas\":[\"schemas\"],\"displayName\":\"displayName\"}'", + "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/scim/v2/enterprises/ENTERPRISE/Groups/SCIM_GROUP_ID \\\n  -d '{\"schemas\":[\"schemas\"],\"displayName\":\"displayName\"}'
    " + }, + { + "lang": "JavaScript", + "source": "await octokit.request('PUT /scim/v2/enterprises/{enterprise}/Groups/{scim_group_id}', {\n enterprise: 'enterprise',\n scim_group_id: 'scim_group_id',\n schemas: [\n 'schemas'\n ],\n displayName: 'displayName'\n})", + "html": "
    await octokit.request('PUT /scim/v2/enterprises/{enterprise}/Groups/{scim_group_id}', {\n  enterprise: 'enterprise',\n  scim_group_id: 'scim_group_id',\n  schemas: [\n    'schemas'\n  ],\n  displayName: 'displayName'\n})\n
    " + } + ], + "summary": "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.", + "operationId": "enterprise-admin/set-information-for-provisioned-enterprise-group", + "tags": [ + "enterprise-admin" + ], + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/github-ae@latest/rest/reference/enterprise-admin#set-scim-information-for-a-provisioned-enterprise-group" + }, + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "schemas": { + "type": "array of strings", + "description": "

    Required. The SCIM schema URIs.

    ", + "items": { + "type": "string" + }, + "name": "schemas", + "in": "body", + "rawType": "array", + "rawDescription": "The SCIM schema URIs.", + "childParamsGroups": [] + }, + "displayName": { + "type": "string", + "description": "

    Required. The name of the SCIM group. This must match the GitHub organization that the group maps to.

    ", + "name": "displayName", + "in": "body", + "rawType": "string", + "rawDescription": "The name of the SCIM group. This must match the GitHub organization that the group maps to.", + "childParamsGroups": [] + }, + "members": { + "type": "array of objects", + "items": { + "type": "object", + "properties": { + "value": { + "type": "string", + "description": "

    Required. The SCIM user ID for a user.

    ", + "name": "value", + "in": "body", + "rawType": "string", + "rawDescription": "The SCIM user ID for a user.", + "childParamsGroups": [] + } + }, + "required": [ + "value" + ] + }, + "name": "members", + "in": "body", + "rawType": "array", + "description": "

    undefined

    ", + "childParamsGroups": [ + { + "parentName": "members", + "parentType": "items", + "id": "members-items", + "params": [ + { + "type": "string", + "description": "

    Required. The SCIM user ID for a user.

    ", + "name": "value", + "in": "body", + "rawType": "string", + "rawDescription": "The SCIM user ID for a user.", + "childParamsGroups": [] + } + ] + } + ] + } + }, + "required": [ + "schemas", + "displayName" + ] + }, + "example": { + "schemas": [ + "urn:ietf:params:scim:schemas:core:2.0:Group" + ], + "displayName": "octo-org", + "members": [ + { + "value": "92b58aaa-a1d6-11ea-8227-b9ce9e023ccc" + }, + { + "value": "aaaa8c34-a6b2-11ea-9d70-bbbbbd1c8fd5" + } + ] + } + } + } + }, + "x-github": { + "enabledForGitHubApps": true, + "githubCloudOnly": true, + "previews": [], + "category": "enterprise-admin", + "subcategory": "scim" + }, + "slug": "set-scim-information-for-a-provisioned-enterprise-group", + "category": "enterprise-admin", + "categoryLabel": "Enterprise admin", + "subcategory": "scim", + "subcategoryLabel": "Scim", + "notes": [], + "descriptionHTML": "

    Note: The SCIM API endpoints for enterprise accounts are currently in beta and are subject to change.

    \n

    Replaces 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 endpoint instead.

    ", + "responses": [ + { + "httpStatusCode": "200", + "httpStatusMessage": "OK", + "description": "Default response", + "payload": "
    {\n  \"schemas\": [\n    \"urn:ietf:params:scim:schemas:core:2.0:Group\"\n  ],\n  \"id\": \"abcd27f8-a9aa-11ea-8221-f59b2be9cccc\",\n  \"externalId\": null,\n  \"displayName\": \"octo-org\",\n  \"members\": [\n    {\n      \"value\": \"92b58aaa-a1d6-11ea-8227-b9ce9e023ccc\",\n      \"$ref\": \"https://api.github.com/scim/v2/enterprises/octo-corp/Users/92b58aaa-a1d6-11ea-8227-b9ce9e023ccc\",\n      \"display\": \"octocat@github.com\"\n    },\n    {\n      \"value\": \"aaaa8c34-a6b2-11ea-9d70-bbbbbd1c8fd5\",\n      \"$ref\": \"https://api.github.com/scim/v2/enterprises/octo-corp/Users/aaaa8c34-a6b2-11ea-9d70-bbbbbd1c8fd5\",\n      \"display\": \"hubot@example.com\"\n    }\n  ],\n  \"meta\": {\n    \"resourceType\": \"Group\",\n    \"created\": \"2020-06-09T03:10:17.000+10:0\",\n    \"lastModified\": \"2020-06-09T03:10:17.000+10:00\",\n    \"location\": \"https://api.github.com/scim/v2/enterprises/octo-corp/Groups/abcd27f8-a9aa-11ea-8221-f59b2be9cccc\"\n  }\n}\n
    " + } + ], + "bodyParameters": [ + { + "type": "array of strings", + "description": "

    Required. The SCIM schema URIs.

    ", + "items": { + "type": "string" + }, + "name": "schemas", + "in": "body", + "rawType": "array", + "rawDescription": "The SCIM schema URIs.", + "childParamsGroups": [] + }, + { + "type": "string", + "description": "

    Required. The name of the SCIM group. This must match the GitHub organization that the group maps to.

    ", + "name": "displayName", + "in": "body", + "rawType": "string", + "rawDescription": "The name of the SCIM group. This must match the GitHub organization that the group maps to.", + "childParamsGroups": [] + }, + { + "type": "array of objects", + "items": { + "type": "object", + "properties": { + "value": { + "type": "string", + "description": "

    Required. The SCIM user ID for a user.

    ", + "name": "value", + "in": "body", + "rawType": "string", + "rawDescription": "The SCIM user ID for a user.", + "childParamsGroups": [] + } + }, + "required": [ + "value" + ] + }, + "name": "members", + "in": "body", + "rawType": "array", + "description": "

    undefined

    ", + "childParamsGroups": [ + { + "parentName": "members", + "parentType": "items", + "id": "members-items", + "params": [ + { + "type": "string", + "description": "

    Required. The SCIM user ID for a user.

    ", + "name": "value", + "in": "body", + "rawType": "string", + "rawDescription": "The SCIM user ID for a user.", + "childParamsGroups": [] + } + ] + } + ] + } + ] + }, + { + "verb": "patch", + "requestPath": "/scim/v2/enterprises/{enterprise}/Groups/{scim_group_id}", + "serverUrl": "http(s)://api.{hostname}", + "parameters": [ + { + "name": "enterprise", + "description": "The slug version of the enterprise name. You can also substitute this value with the enterprise id.", + "in": "path", + "required": true, + "schema": { + "type": "string" + }, + "descriptionHTML": "

    The slug version of the enterprise name. You can also substitute this value with the enterprise id.

    " + }, + { + "name": "scim_group_id", + "description": "Identifier generated by the GitHub SCIM endpoint.", + "in": "path", + "required": true, + "schema": { + "type": "string" + }, + "descriptionHTML": "

    Identifier generated by the GitHub SCIM endpoint.

    " + } + ], + "x-codeSamples": [ + { + "lang": "Shell", + "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/scim/v2/enterprises/ENTERPRISE/Groups/SCIM_GROUP_ID \\\n -d '{\"schemas\":[\"schemas\"],\"Operations\":[{\"op\":\"op\",\"path\":\"path\",\"value\":\"value\"}]}'", + "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/scim/v2/enterprises/ENTERPRISE/Groups/SCIM_GROUP_ID \\\n  -d '{\"schemas\":[\"schemas\"],\"Operations\":[{\"op\":\"op\",\"path\":\"path\",\"value\":\"value\"}]}'
    " + }, + { + "lang": "JavaScript", + "source": "await octokit.request('PATCH /scim/v2/enterprises/{enterprise}/Groups/{scim_group_id}', {\n enterprise: 'enterprise',\n scim_group_id: 'scim_group_id',\n schemas: [\n 'schemas'\n ],\n Operations: [\n {\n op: 'op',\n path: 'path',\n value: 'value'\n }\n ]\n})", + "html": "
    await octokit.request('PATCH /scim/v2/enterprises/{enterprise}/Groups/{scim_group_id}', {\n  enterprise: 'enterprise',\n  scim_group_id: 'scim_group_id',\n  schemas: [\n    'schemas'\n  ],\n  Operations: [\n    {\n      op: 'op',\n      path: 'path',\n      value: 'value'\n    }\n  ]\n})\n
    " + } + ], + "summary": "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).", + "operationId": "enterprise-admin/update-attribute-for-enterprise-group", + "tags": [ + "enterprise-admin" + ], + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/github-ae@latest/rest/reference/enterprise-admin#update-an-attribute-for-a-scim-enterprise-group" + }, + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "schemas": { + "type": "array of strings", + "description": "

    Required. The SCIM schema URIs.

    ", + "items": { + "type": "string" + }, + "name": "schemas", + "in": "body", + "rawType": "array", + "rawDescription": "The SCIM schema URIs.", + "childParamsGroups": [] + }, + "Operations": { + "type": "array of objects", + "description": "

    Required. Array of SCIM operations.

    ", + "minItems": 1, + "items": { + "type": "object", + "properties": { + "op": { + "type": "string", + "enum": [ + "add", + "Add", + "remove", + "Remove", + "replace", + "Replace" + ], + "name": "op", + "in": "body", + "rawType": "string", + "description": "

    Required. undefined

    ", + "childParamsGroups": [] + }, + "path": { + "type": "string", + "name": "path", + "in": "body", + "rawType": "string", + "description": "

    undefined

    ", + "childParamsGroups": [] + }, + "value": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "object" + }, + { + "type": "array" + } + ], + "name": "value", + "in": "body", + "description": "

    undefined

    ", + "childParamsGroups": [] + } + }, + "required": [ + "op" + ] + }, + "name": "Operations", + "in": "body", + "rawType": "array", + "rawDescription": "Array of [SCIM operations](https://tools.ietf.org/html/rfc7644#section-3.5.2).", + "childParamsGroups": [ + { + "parentName": "Operations", + "parentType": "items", + "id": "operations-items", + "params": [ + { + "type": "string", + "enum": [ + "add", + "Add", + "remove", + "Remove", + "replace", + "Replace" + ], + "name": "op", + "in": "body", + "rawType": "string", + "description": "

    Required. undefined

    ", + "childParamsGroups": [] + }, + { + "type": "string", + "name": "path", + "in": "body", + "rawType": "string", + "description": "

    undefined

    ", + "childParamsGroups": [] + }, + { + "oneOf": [ + { + "type": "string" + }, + { + "type": "object" + }, + { + "type": "array" + } + ], + "name": "value", + "in": "body", + "description": "

    undefined

    ", + "childParamsGroups": [] + } + ] + } + ] + } + }, + "required": [ + "schemas", + "Operations" + ] + }, + "example": { + "schemas": [ + "urn:ietf:params:scim:api:messages:2.0:PatchOp" + ], + "Operations": [ + { + "op": "remove", + "path": "members", + "value": [ + { + "value": "aaaa8c34-a6b2-11ea-9d70-bbbbbd1c8fd5" + } + ] + } + ] + } + } + } + }, + "x-github": { + "enabledForGitHubApps": true, + "githubCloudOnly": true, + "previews": [], + "category": "enterprise-admin", + "subcategory": "scim" + }, + "slug": "update-an-attribute-for-a-scim-enterprise-group", + "category": "enterprise-admin", + "categoryLabel": "Enterprise admin", + "subcategory": "scim", + "subcategoryLabel": "Scim", + "notes": [], + "descriptionHTML": "

    Note: The SCIM API endpoints for enterprise accounts are currently in beta and are subject to change.

    \n

    Allows 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.

    ", + "responses": [ + { + "httpStatusCode": "200", + "httpStatusMessage": "OK", + "description": "Default response", + "payload": "
    {\n  \"schemas\": [\n    \"urn:ietf:params:scim:schemas:core:2.0:Group\"\n  ],\n  \"id\": \"abcd27f8-a9aa-11ea-8221-f59b2be9cccc\",\n  \"externalId\": null,\n  \"displayName\": \"octo-org\",\n  \"members\": [\n    {\n      \"value\": \"92b58aaa-a1d6-11ea-8227-b9ce9e023ccc\",\n      \"$ref\": \"https://api.github.com/scim/v2/enterprises/octo-corp/Users/92b58aaa-a1d6-11ea-8227-b9ce9e023ccc\",\n      \"display\": \"octocat@github.com\"\n    }\n  ],\n  \"meta\": {\n    \"resourceType\": \"Group\",\n    \"created\": \"2020-06-09T03:10:17.000+10:00\",\n    \"lastModified\": \"2020-06-09T03:10:17.000+10:00\",\n    \"location\": \"https://api.github.com/scim/v2/enterprises/octo-corp/Groups/abcd27f8-a9aa-11ea-8221-f59b2be9cccc\"\n  }\n}\n
    " + } + ], + "bodyParameters": [ + { + "type": "array of strings", + "description": "

    Required. The SCIM schema URIs.

    ", + "items": { + "type": "string" + }, + "name": "schemas", + "in": "body", + "rawType": "array", + "rawDescription": "The SCIM schema URIs.", + "childParamsGroups": [] + }, + { + "type": "array of objects", + "description": "

    Required. Array of SCIM operations.

    ", + "minItems": 1, + "items": { + "type": "object", + "properties": { + "op": { + "type": "string", + "enum": [ + "add", + "Add", + "remove", + "Remove", + "replace", + "Replace" + ], + "name": "op", + "in": "body", + "rawType": "string", + "description": "

    Required. undefined

    ", + "childParamsGroups": [] + }, + "path": { + "type": "string", + "name": "path", + "in": "body", + "rawType": "string", + "description": "

    undefined

    ", + "childParamsGroups": [] + }, + "value": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "object" + }, + { + "type": "array" + } + ], + "name": "value", + "in": "body", + "description": "

    undefined

    ", + "childParamsGroups": [] + } + }, + "required": [ + "op" + ] + }, + "name": "Operations", + "in": "body", + "rawType": "array", + "rawDescription": "Array of [SCIM operations](https://tools.ietf.org/html/rfc7644#section-3.5.2).", + "childParamsGroups": [ + { + "parentName": "Operations", + "parentType": "items", + "id": "operations-items", + "params": [ + { + "type": "string", + "enum": [ + "add", + "Add", + "remove", + "Remove", + "replace", + "Replace" + ], + "name": "op", + "in": "body", + "rawType": "string", + "description": "

    Required. undefined

    ", + "childParamsGroups": [] + }, + { + "type": "string", + "name": "path", + "in": "body", + "rawType": "string", + "description": "

    undefined

    ", + "childParamsGroups": [] + }, + { + "oneOf": [ + { + "type": "string" + }, + { + "type": "object" + }, + { + "type": "array" + } + ], + "name": "value", + "in": "body", + "description": "

    undefined

    ", + "childParamsGroups": [] + } + ] + } + ] + } + ] + }, + { + "verb": "delete", + "requestPath": "/scim/v2/enterprises/{enterprise}/Groups/{scim_group_id}", + "serverUrl": "http(s)://api.{hostname}", + "parameters": [ + { + "name": "enterprise", + "description": "The slug version of the enterprise name. You can also substitute this value with the enterprise id.", + "in": "path", + "required": true, + "schema": { + "type": "string" + }, + "descriptionHTML": "

    The slug version of the enterprise name. You can also substitute this value with the enterprise id.

    " + }, + { + "name": "scim_group_id", + "description": "Identifier generated by the GitHub SCIM endpoint.", + "in": "path", + "required": true, + "schema": { + "type": "string" + }, + "descriptionHTML": "

    Identifier generated by the GitHub SCIM endpoint.

    " + } + ], + "x-codeSamples": [ + { + "lang": "Shell", + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/scim/v2/enterprises/ENTERPRISE/Groups/SCIM_GROUP_ID", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/scim/v2/enterprises/ENTERPRISE/Groups/SCIM_GROUP_ID
    " + }, + { + "lang": "JavaScript", + "source": "await octokit.request('DELETE /scim/v2/enterprises/{enterprise}/Groups/{scim_group_id}', {\n enterprise: 'enterprise',\n scim_group_id: 'scim_group_id'\n})", + "html": "
    await octokit.request('DELETE /scim/v2/enterprises/{enterprise}/Groups/{scim_group_id}', {\n  enterprise: 'enterprise',\n  scim_group_id: 'scim_group_id'\n})\n
    " + } + ], + "summary": "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.", + "operationId": "enterprise-admin/delete-scim-group-from-enterprise", + "tags": [ + "enterprise-admin" + ], + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/github-ae@latest/rest/reference/enterprise-admin#delete-a-scim-group-from-an-enterprise" + }, + "x-github": { + "enabledForGitHubApps": true, + "githubCloudOnly": true, + "previews": [], + "category": "enterprise-admin", + "subcategory": "scim" + }, + "slug": "delete-a-scim-group-from-an-enterprise", + "category": "enterprise-admin", + "categoryLabel": "Enterprise admin", + "subcategory": "scim", + "subcategoryLabel": "Scim", + "notes": [], + "responses": [ + { + "httpStatusCode": "204", + "httpStatusMessage": "No Content", + "description": "Response" + } + ], + "bodyParameters": [], + "descriptionHTML": "

    Note: The SCIM API endpoints for enterprise accounts are currently in beta and are subject to change.

    " + }, { "verb": "get", "requestPath": "/search/code", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "q", @@ -66212,8 +67547,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/search/code", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/search/code
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/search/code", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/search/code
    " }, { "lang": "JavaScript", @@ -66276,7 +67611,7 @@ { "verb": "get", "requestPath": "/search/commits", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "q", @@ -66341,8 +67676,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.cloak-preview+json\" \\\n https://api.github.com/search/commits", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.cloak-preview+json\" \\\n  https://api.github.com/search/commits
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.cloak-preview+json\" \\\n http(s)://api.{hostname}/search/commits", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.cloak-preview+json\" \\\n  http(s)://api.{hostname}/search/commits
    " }, { "lang": "JavaScript", @@ -66402,7 +67737,7 @@ { "verb": "get", "requestPath": "/search/issues", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "q", @@ -66476,8 +67811,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/search/issues", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/search/issues
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/search/issues", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/search/issues
    " }, { "lang": "JavaScript", @@ -66540,7 +67875,7 @@ { "verb": "get", "requestPath": "/search/labels", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "repository_id", @@ -66595,8 +67930,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/search/labels", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/search/labels
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/search/labels", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/search/labels
    " }, { "lang": "JavaScript", @@ -66659,7 +67994,7 @@ { "verb": "get", "requestPath": "/search/repositories", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "q", @@ -66726,8 +68061,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/search/repositories", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/search/repositories
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/search/repositories", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/search/repositories
    " }, { "lang": "JavaScript", @@ -66792,7 +68127,7 @@ { "verb": "get", "requestPath": "/search/topics", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "q", @@ -66808,8 +68143,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.mercy-preview+json\" \\\n https://api.github.com/search/topics", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.mercy-preview+json\" \\\n  https://api.github.com/search/topics
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.mercy-preview+json\" \\\n http(s)://api.{hostname}/search/topics", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.mercy-preview+json\" \\\n  http(s)://api.{hostname}/search/topics
    " }, { "lang": "JavaScript", @@ -66869,7 +68204,7 @@ { "verb": "get", "requestPath": "/search/users", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "q", @@ -66935,8 +68270,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/search/users", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/search/users
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/search/users", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/search/users
    " }, { "lang": "JavaScript", @@ -66994,7 +68329,7 @@ { "verb": "get", "requestPath": "/teams/{team_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "team_id", @@ -67009,8 +68344,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/teams/42", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/teams/42
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/teams/42", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/teams/42
    " }, { "lang": "JavaScript", @@ -67061,7 +68396,7 @@ { "verb": "patch", "requestPath": "/teams/{team_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "team_id", @@ -67076,8 +68411,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/teams/42 \\\n -d '{\"name\":\"name\"}'", - "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/teams/42 \\\n  -d '{\"name\":\"name\"}'
    " + "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/teams/42 \\\n -d '{\"name\":\"name\"}'", + "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/teams/42 \\\n  -d '{\"name\":\"name\"}'
    " }, { "lang": "JavaScript", @@ -67270,7 +68605,7 @@ { "verb": "delete", "requestPath": "/teams/{team_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "team_id", @@ -67285,8 +68620,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/teams/42", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/teams/42
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/teams/42", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/teams/42
    " }, { "lang": "JavaScript", @@ -67322,7 +68657,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "404", @@ -67341,7 +68676,7 @@ { "verb": "get", "requestPath": "/teams/{team_id}/discussions", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "team_id", @@ -67391,8 +68726,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/teams/42/discussions", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/teams/42/discussions
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/teams/42/discussions", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/teams/42/discussions
    " }, { "lang": "JavaScript", @@ -67447,7 +68782,7 @@ { "verb": "post", "requestPath": "/teams/{team_id}/discussions", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "team_id", @@ -67462,8 +68797,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/teams/42/discussions \\\n -d '{\"title\":\"title\",\"body\":\"body\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/teams/42/discussions \\\n  -d '{\"title\":\"title\",\"body\":\"body\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/teams/42/discussions \\\n -d '{\"title\":\"title\",\"body\":\"body\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/teams/42/discussions \\\n  -d '{\"title\":\"title\",\"body\":\"body\"}'
    " }, { "lang": "JavaScript", @@ -67595,7 +68930,7 @@ { "verb": "get", "requestPath": "/teams/{team_id}/discussions/{discussion_number}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "team_id", @@ -67619,8 +68954,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/teams/42/discussions/42", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/teams/42/discussions/42
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/teams/42/discussions/42", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/teams/42/discussions/42
    " }, { "lang": "JavaScript", @@ -67675,7 +69010,7 @@ { "verb": "patch", "requestPath": "/teams/{team_id}/discussions/{discussion_number}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "team_id", @@ -67699,8 +69034,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/teams/42/discussions/42 \\\n -d '{\"title\":\"title\"}'", - "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/teams/42/discussions/42 \\\n  -d '{\"title\":\"title\"}'
    " + "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/teams/42/discussions/42 \\\n -d '{\"title\":\"title\"}'", + "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/teams/42/discussions/42 \\\n  -d '{\"title\":\"title\"}'
    " }, { "lang": "JavaScript", @@ -67806,7 +69141,7 @@ { "verb": "delete", "requestPath": "/teams/{team_id}/discussions/{discussion_number}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "team_id", @@ -67830,8 +69165,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/teams/42/discussions/42", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/teams/42/discussions/42
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/teams/42/discussions/42", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/teams/42/discussions/42
    " }, { "lang": "JavaScript", @@ -67869,7 +69204,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "bodyParameters": [], @@ -67878,7 +69213,7 @@ { "verb": "get", "requestPath": "/teams/{team_id}/discussions/{discussion_number}/comments", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "team_id", @@ -67937,8 +69272,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/teams/42/discussions/42/comments", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/teams/42/discussions/42/comments
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/teams/42/discussions/42/comments", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/teams/42/discussions/42/comments
    " }, { "lang": "JavaScript", @@ -67993,7 +69328,7 @@ { "verb": "post", "requestPath": "/teams/{team_id}/discussions/{discussion_number}/comments", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "team_id", @@ -68017,8 +69352,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/teams/42/discussions/42/comments \\\n -d '{\"body\":\"body\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/teams/42/discussions/42/comments \\\n  -d '{\"body\":\"body\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/teams/42/discussions/42/comments \\\n -d '{\"body\":\"body\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/teams/42/discussions/42/comments \\\n  -d '{\"body\":\"body\"}'
    " }, { "lang": "JavaScript", @@ -68110,7 +69445,7 @@ { "verb": "get", "requestPath": "/teams/{team_id}/discussions/{discussion_number}/comments/{comment_number}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "team_id", @@ -68143,8 +69478,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/teams/42/discussions/42/comments/42", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/teams/42/discussions/42/comments/42
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/teams/42/discussions/42/comments/42", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/teams/42/discussions/42/comments/42
    " }, { "lang": "JavaScript", @@ -68199,7 +69534,7 @@ { "verb": "patch", "requestPath": "/teams/{team_id}/discussions/{discussion_number}/comments/{comment_number}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "team_id", @@ -68232,8 +69567,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/teams/42/discussions/42/comments/42 \\\n -d '{\"body\":\"body\"}'", - "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/teams/42/discussions/42/comments/42 \\\n  -d '{\"body\":\"body\"}'
    " + "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/teams/42/discussions/42/comments/42 \\\n -d '{\"body\":\"body\"}'", + "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/teams/42/discussions/42/comments/42 \\\n  -d '{\"body\":\"body\"}'
    " }, { "lang": "JavaScript", @@ -68324,7 +69659,7 @@ { "verb": "delete", "requestPath": "/teams/{team_id}/discussions/{discussion_number}/comments/{comment_number}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "team_id", @@ -68357,8 +69692,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/teams/42/discussions/42/comments/42", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/teams/42/discussions/42/comments/42
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/teams/42/discussions/42/comments/42", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/teams/42/discussions/42/comments/42
    " }, { "lang": "JavaScript", @@ -68396,7 +69731,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "bodyParameters": [], @@ -68405,7 +69740,7 @@ { "verb": "get", "requestPath": "/teams/{team_id}/discussions/{discussion_number}/comments/{comment_number}/reactions", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "team_id", @@ -68478,8 +69813,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n https://api.github.com/teams/42/discussions/42/comments/42/reactions", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n  https://api.github.com/teams/42/discussions/42/comments/42/reactions
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n http(s)://api.{hostname}/teams/42/discussions/42/comments/42/reactions", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n  http(s)://api.{hostname}/teams/42/discussions/42/comments/42/reactions
    " }, { "lang": "JavaScript", @@ -68532,7 +69867,7 @@ { "verb": "post", "requestPath": "/teams/{team_id}/discussions/{discussion_number}/comments/{comment_number}/reactions", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "team_id", @@ -68565,8 +69900,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n https://api.github.com/teams/42/discussions/42/comments/42/reactions \\\n -d '{\"content\":\"content\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n  https://api.github.com/teams/42/discussions/42/comments/42/reactions \\\n  -d '{\"content\":\"content\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n http(s)://api.{hostname}/teams/42/discussions/42/comments/42/reactions \\\n -d '{\"content\":\"content\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n  http(s)://api.{hostname}/teams/42/discussions/42/comments/42/reactions \\\n  -d '{\"content\":\"content\"}'
    " }, { "lang": "JavaScript", @@ -68675,7 +70010,7 @@ { "verb": "get", "requestPath": "/teams/{team_id}/discussions/{discussion_number}/reactions", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "team_id", @@ -68739,8 +70074,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n https://api.github.com/teams/42/discussions/42/reactions", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n  https://api.github.com/teams/42/discussions/42/reactions
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n http(s)://api.{hostname}/teams/42/discussions/42/reactions", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n  http(s)://api.{hostname}/teams/42/discussions/42/reactions
    " }, { "lang": "JavaScript", @@ -68793,7 +70128,7 @@ { "verb": "post", "requestPath": "/teams/{team_id}/discussions/{discussion_number}/reactions", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "team_id", @@ -68817,8 +70152,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n https://api.github.com/teams/42/discussions/42/reactions \\\n -d '{\"content\":\"content\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n  https://api.github.com/teams/42/discussions/42/reactions \\\n  -d '{\"content\":\"content\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n http(s)://api.{hostname}/teams/42/discussions/42/reactions \\\n -d '{\"content\":\"content\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n  http(s)://api.{hostname}/teams/42/discussions/42/reactions \\\n  -d '{\"content\":\"content\"}'
    " }, { "lang": "JavaScript", @@ -68927,7 +70262,7 @@ { "verb": "get", "requestPath": "/teams/{team_id}/members", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "team_id", @@ -68978,8 +70313,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/teams/42/members", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/teams/42/members
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/teams/42/members", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/teams/42/members
    " }, { "lang": "JavaScript", @@ -69032,7 +70367,7 @@ { "verb": "get", "requestPath": "/teams/{team_id}/members/{username}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "team_id", @@ -69056,8 +70391,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/teams/42/members/USERNAME", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/teams/42/members/USERNAME
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/teams/42/members/USERNAME", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/teams/42/members/USERNAME
    " }, { "lang": "JavaScript", @@ -69109,7 +70444,7 @@ { "verb": "put", "requestPath": "/teams/{team_id}/members/{username}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "team_id", @@ -69133,8 +70468,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/teams/42/members/USERNAME", - "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/teams/42/members/USERNAME
    " + "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/teams/42/members/USERNAME", + "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/teams/42/members/USERNAME
    " }, { "lang": "JavaScript", @@ -69168,13 +70503,11 @@ "subcategory": "members", "subcategoryLabel": "Members", "notes": [], - "bodyParameters": [], - "descriptionHTML": "

    The \"Add team member\" endpoint (described below) is deprecated.

    \n

    We recommend using the Add or update team membership for a user endpoint instead. It allows you to invite new organization members to your teams.

    \n

    Team synchronization is available for organizations using GitHub Enterprise Cloud. For more information, see GitHub's products in the GitHub Help documentation.

    \n

    To 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

    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.\"

    \n

    Note that you'll need to set Content-Length to zero when calling out to this endpoint. For more information, see \"HTTP verbs.\"

    ", "responses": [ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "403", @@ -69189,21 +70522,16 @@ { "httpStatusCode": "422", "httpStatusMessage": "Unprocessable Entity", - "description": "Response if you attempt to add an organization to a team", - "payload": "
    {\n  \"message\": \"Cannot add an organization as a member.\",\n  \"errors\": [\n    {\n      \"code\": \"org\",\n      \"field\": \"user\",\n      \"resource\": \"TeamMember\"\n    }\n  ]\n}\n
    " - }, - { - "httpStatusCode": "422", - "httpStatusMessage": "Unprocessable Entity", - "description": "Response if you attempt to add a user to a team when they are not a member of at least one other team in the same organization", - "payload": "
    {\n  \"message\": \"User isn't a member of this organization. Please invite them first.\",\n  \"errors\": [\n    {\n      \"code\": \"unaffiliated\",\n      \"field\": \"user\",\n      \"resource\": \"TeamMember\"\n    }\n  ]\n}\n
    " + "description": "Response if you attempt to add an organization to a team or you attempt to add a user to a team when they are not a member of at least one other team in the same organization" } - ] + ], + "bodyParameters": [], + "descriptionHTML": "

    The \"Add team member\" endpoint (described below) is deprecated.

    \n

    We recommend using the Add or update team membership for a user endpoint instead. It allows you to invite new organization members to your teams.

    \n

    Team synchronization is available for organizations using GitHub Enterprise Cloud. For more information, see GitHub's products in the GitHub Help documentation.

    \n

    To 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

    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.\"

    \n

    Note that you'll need to set Content-Length to zero when calling out to this endpoint. For more information, see \"HTTP verbs.\"

    " }, { "verb": "delete", "requestPath": "/teams/{team_id}/members/{username}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "team_id", @@ -69227,8 +70555,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/teams/42/members/USERNAME", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/teams/42/members/USERNAME
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/teams/42/members/USERNAME", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/teams/42/members/USERNAME
    " }, { "lang": "JavaScript", @@ -69266,7 +70594,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "404", @@ -69280,7 +70608,7 @@ { "verb": "get", "requestPath": "/teams/{team_id}/memberships/{username}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "team_id", @@ -69304,8 +70632,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/teams/42/memberships/USERNAME", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/teams/42/memberships/USERNAME
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/teams/42/memberships/USERNAME", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/teams/42/memberships/USERNAME
    " }, { "lang": "JavaScript", @@ -69314,7 +70642,7 @@ } ], "summary": "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).", + "description": "**Deprecation 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).", "tags": [ "teams" ], @@ -69340,26 +70668,14 @@ "subcategoryLabel": "Members", "notes": [], "bodyParameters": [], - "descriptionHTML": "

    Deprecation 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 endpoint.

    \n

    Team members will include the members of child teams.

    \n

    To get a user's membership with a team, the team must be visible to the authenticated user.

    \n

    Note: The role for organization owners returns as maintainer. For more information about maintainer roles, see Create a team.

    ", + "descriptionHTML": "

    Deprecation 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 endpoint.

    \n

    Team members will include the members of child teams.

    \n

    To get a user's membership with a team, the team must be visible to the authenticated user.

    \n

    Note:\nThe response contains the state of the membership and the member's role.

    \n

    The role for organization owners is set to maintainer. For more information about maintainer roles, see Create a team.

    ", "responses": [ - { - "httpStatusCode": "200", - "httpStatusMessage": "OK", - "description": "Response if user has an active membership with team", - "payload": "
    {\n  \"url\": \"https://api.github.com/teams/1/memberships/octocat\",\n  \"role\": \"member\",\n  \"state\": \"active\"\n}\n
    " - }, { "httpStatusCode": "200", "httpStatusMessage": "OK", "description": "Response if user is a team maintainer", "payload": "
    {\n  \"url\": \"https://api.github.com/teams/1/memberships/octocat\",\n  \"role\": \"maintainer\",\n  \"state\": \"active\"\n}\n
    " }, - { - "httpStatusCode": "200", - "httpStatusMessage": "OK", - "description": "Response if user has a pending membership with team", - "payload": "
    {\n  \"url\": \"https://api.github.com/teams/1/memberships/octocat\",\n  \"role\": \"member\",\n  \"state\": \"pending\"\n}\n
    " - }, { "httpStatusCode": "404", "httpStatusMessage": "Not Found", @@ -69370,7 +70686,7 @@ { "verb": "put", "requestPath": "/teams/{team_id}/memberships/{username}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "team_id", @@ -69394,8 +70710,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/teams/42/memberships/USERNAME \\\n -d '{\"role\":\"role\"}'", - "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/teams/42/memberships/USERNAME \\\n  -d '{\"role\":\"role\"}'
    " + "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/teams/42/memberships/USERNAME \\\n -d '{\"role\":\"role\"}'", + "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/teams/42/memberships/USERNAME \\\n  -d '{\"role\":\"role\"}'
    " }, { "lang": "JavaScript", @@ -69472,12 +70788,6 @@ } ], "responses": [ - { - "httpStatusCode": "200", - "httpStatusMessage": "OK", - "description": "Response if user's membership with team is now active", - "payload": "
    {\n  \"url\": \"https://api.github.com/teams/1/memberships/octocat\",\n  \"role\": \"member\",\n  \"state\": \"active\"\n}\n
    " - }, { "httpStatusCode": "200", "httpStatusMessage": "OK", @@ -69497,15 +70807,14 @@ { "httpStatusCode": "422", "httpStatusMessage": "Unprocessable Entity", - "description": "Response if you attempt to add an organization to a team", - "payload": "
    {\n  \"message\": \"Cannot add an organization as a member.\",\n  \"errors\": [\n    {\n      \"code\": \"org\",\n      \"field\": \"user\",\n      \"resource\": \"TeamMember\"\n    }\n  ]\n}\n
    " + "description": "Response if you attempt to add an organization to a team" } ] }, { "verb": "delete", "requestPath": "/teams/{team_id}/memberships/{username}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "team_id", @@ -69529,8 +70838,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/teams/42/memberships/USERNAME", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/teams/42/memberships/USERNAME
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/teams/42/memberships/USERNAME", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/teams/42/memberships/USERNAME
    " }, { "lang": "JavaScript", @@ -69568,7 +70877,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "403", @@ -69582,7 +70891,7 @@ { "verb": "get", "requestPath": "/teams/{team_id}/projects", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "team_id", @@ -69617,8 +70926,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n https://api.github.com/teams/42/projects", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  https://api.github.com/teams/42/projects
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n http(s)://api.{hostname}/teams/42/projects", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  http(s)://api.{hostname}/teams/42/projects
    " }, { "lang": "JavaScript", @@ -69681,7 +70990,7 @@ { "verb": "get", "requestPath": "/teams/{team_id}/projects/{project_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "team_id", @@ -69705,8 +71014,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n https://api.github.com/teams/42/projects/42", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  https://api.github.com/teams/42/projects/42
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n http(s)://api.{hostname}/teams/42/projects/42", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  http(s)://api.{hostname}/teams/42/projects/42
    " }, { "lang": "JavaScript", @@ -69769,7 +71078,7 @@ { "verb": "put", "requestPath": "/teams/{team_id}/projects/{project_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "team_id", @@ -69793,8 +71102,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n https://api.github.com/teams/42/projects/42 \\\n -d '{\"permission\":\"permission\"}'", - "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  https://api.github.com/teams/42/projects/42 \\\n  -d '{\"permission\":\"permission\"}'
    " + "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n http(s)://api.{hostname}/teams/42/projects/42 \\\n -d '{\"permission\":\"permission\"}'", + "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  http(s)://api.{hostname}/teams/42/projects/42 \\\n  -d '{\"permission\":\"permission\"}'
    " }, { "lang": "JavaScript", @@ -69879,7 +71188,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "403", @@ -69907,7 +71216,7 @@ { "verb": "delete", "requestPath": "/teams/{team_id}/projects/{project_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "team_id", @@ -69931,8 +71240,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/teams/42/projects/42", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/teams/42/projects/42
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/teams/42/projects/42", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/teams/42/projects/42
    " }, { "lang": "JavaScript", @@ -69968,7 +71277,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "404", @@ -69992,7 +71301,7 @@ { "verb": "get", "requestPath": "/teams/{team_id}/repos", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "team_id", @@ -70027,8 +71336,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/teams/42/repos", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/teams/42/repos
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/teams/42/repos", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/teams/42/repos
    " }, { "lang": "JavaScript", @@ -70079,7 +71388,7 @@ { "verb": "get", "requestPath": "/teams/{team_id}/repos/{owner}/{repo}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "team_id", @@ -70112,8 +71421,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/teams/42/repos/octocat/hello-world", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/teams/42/repos/octocat/hello-world
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/teams/42/repos/octocat/hello-world", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/teams/42/repos/octocat/hello-world
    " }, { "lang": "JavaScript", @@ -70168,7 +71477,7 @@ { "verb": "put", "requestPath": "/teams/{team_id}/repos/{owner}/{repo}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "team_id", @@ -70201,8 +71510,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/teams/42/repos/octocat/hello-world \\\n -d '{\"permission\":\"permission\"}'", - "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/teams/42/repos/octocat/hello-world \\\n  -d '{\"permission\":\"permission\"}'
    " + "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/teams/42/repos/octocat/hello-world \\\n -d '{\"permission\":\"permission\"}'", + "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/teams/42/repos/octocat/hello-world \\\n  -d '{\"permission\":\"permission\"}'
    " }, { "lang": "JavaScript", @@ -70263,7 +71572,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "403", @@ -70297,7 +71606,7 @@ { "verb": "delete", "requestPath": "/teams/{team_id}/repos/{owner}/{repo}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "team_id", @@ -70330,8 +71639,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/teams/42/repos/octocat/hello-world", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/teams/42/repos/octocat/hello-world
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/teams/42/repos/octocat/hello-world", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/teams/42/repos/octocat/hello-world
    " }, { "lang": "JavaScript", @@ -70367,7 +71676,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "bodyParameters": [], @@ -70376,7 +71685,7 @@ { "verb": "get", "requestPath": "/teams/{team_id}/teams", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "team_id", @@ -70411,8 +71720,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/teams/42/teams", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/teams/42/teams
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/teams/42/teams", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/teams/42/teams
    " }, { "lang": "JavaScript", @@ -70473,13 +71782,13 @@ { "verb": "get", "requestPath": "/user", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/user", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/user
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/user", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/user
    " }, { "lang": "JavaScript", @@ -70543,13 +71852,13 @@ { "verb": "patch", "requestPath": "/user", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/user \\\n -d '{\"name\":\"name\"}'", - "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/user \\\n  -d '{\"name\":\"name\"}'
    " + "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/user \\\n -d '{\"name\":\"name\"}'", + "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/user \\\n  -d '{\"name\":\"name\"}'
    " }, { "lang": "JavaScript", @@ -70787,7 +72096,7 @@ { "verb": "get", "requestPath": "/user/followers", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "per_page", @@ -70813,8 +72122,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/user/followers", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/user/followers
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/user/followers", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/user/followers
    " }, { "lang": "JavaScript", @@ -70874,7 +72183,7 @@ { "verb": "get", "requestPath": "/user/following", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "per_page", @@ -70900,8 +72209,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/user/following", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/user/following
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/user/following", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/user/following
    " }, { "lang": "JavaScript", @@ -70961,7 +72270,7 @@ { "verb": "get", "requestPath": "/user/following/{username}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "username", @@ -70976,8 +72285,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/user/following/USERNAME", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/user/following/USERNAME
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/user/following/USERNAME", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/user/following/USERNAME
    " }, { "lang": "JavaScript", @@ -71041,7 +72350,7 @@ { "verb": "put", "requestPath": "/user/following/{username}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "username", @@ -71056,8 +72365,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/user/following/USERNAME", - "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/user/following/USERNAME
    " + "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/user/following/USERNAME", + "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/user/following/USERNAME
    " }, { "lang": "JavaScript", @@ -71092,7 +72401,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "304", @@ -71121,7 +72430,7 @@ { "verb": "delete", "requestPath": "/user/following/{username}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "username", @@ -71136,8 +72445,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/user/following/USERNAME", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/user/following/USERNAME
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/user/following/USERNAME", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/user/following/USERNAME
    " }, { "lang": "JavaScript", @@ -71172,7 +72481,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "304", @@ -71201,7 +72510,7 @@ { "verb": "get", "requestPath": "/user/gpg_keys", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "per_page", @@ -71227,8 +72536,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/user/gpg_keys", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/user/gpg_keys
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/user/gpg_keys", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/user/gpg_keys
    " }, { "lang": "JavaScript", @@ -71293,13 +72602,13 @@ { "verb": "post", "requestPath": "/user/gpg_keys", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/user/gpg_keys \\\n -d '{\"armored_public_key\":\"armored_public_key\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/user/gpg_keys \\\n  -d '{\"armored_public_key\":\"armored_public_key\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/user/gpg_keys \\\n -d '{\"armored_public_key\":\"armored_public_key\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/user/gpg_keys \\\n  -d '{\"armored_public_key\":\"armored_public_key\"}'
    " }, { "lang": "JavaScript", @@ -71402,7 +72711,7 @@ { "verb": "get", "requestPath": "/user/gpg_keys/{gpg_key_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "gpg_key_id", @@ -71418,8 +72727,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/user/gpg_keys/42", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/user/gpg_keys/42
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/user/gpg_keys/42", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/user/gpg_keys/42
    " }, { "lang": "JavaScript", @@ -71484,7 +72793,7 @@ { "verb": "delete", "requestPath": "/user/gpg_keys/{gpg_key_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "gpg_key_id", @@ -71500,8 +72809,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/user/gpg_keys/42", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/user/gpg_keys/42
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/user/gpg_keys/42", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/user/gpg_keys/42
    " }, { "lang": "JavaScript", @@ -71536,7 +72845,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "304", @@ -71570,7 +72879,7 @@ { "verb": "get", "requestPath": "/user/installations", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "per_page", @@ -71596,8 +72905,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/user/installations", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/user/installations
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/user/installations", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/user/installations
    " }, { "lang": "JavaScript", @@ -71662,7 +72971,7 @@ { "verb": "get", "requestPath": "/user/installations/{installation_id}/repositories", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "installation_id", @@ -71698,8 +73007,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/user/installations/42/repositories", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/user/installations/42/repositories
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/user/installations/42/repositories", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/user/installations/42/repositories
    " }, { "lang": "JavaScript", @@ -71766,7 +73075,7 @@ { "verb": "put", "requestPath": "/user/installations/{installation_id}/repositories/{repository_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "installation_id", @@ -71791,8 +73100,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/user/installations/42/repositories/42", - "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/user/installations/42/repositories/42
    " + "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/user/installations/42/repositories/42", + "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/user/installations/42/repositories/42
    " }, { "lang": "JavaScript", @@ -71827,7 +73136,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "304", @@ -71851,7 +73160,7 @@ { "verb": "delete", "requestPath": "/user/installations/{installation_id}/repositories/{repository_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "installation_id", @@ -71876,8 +73185,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/user/installations/42/repositories/42", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/user/installations/42/repositories/42
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/user/installations/42/repositories/42", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/user/installations/42/repositories/42
    " }, { "lang": "JavaScript", @@ -71912,7 +73221,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "304", @@ -71936,7 +73245,7 @@ { "verb": "get", "requestPath": "/user/issues", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "filter", @@ -71950,6 +73259,7 @@ "created", "mentioned", "subscribed", + "repos", "all" ], "default": "assigned" @@ -72047,8 +73357,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/user/issues", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/user/issues
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/user/issues", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/user/issues
    " }, { "lang": "JavaScript", @@ -72108,7 +73418,7 @@ { "verb": "get", "requestPath": "/user/keys", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "per_page", @@ -72134,8 +73444,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/user/keys", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/user/keys
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/user/keys", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/user/keys
    " }, { "lang": "JavaScript", @@ -72200,13 +73510,13 @@ { "verb": "post", "requestPath": "/user/keys", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/user/keys \\\n -d '{\"key\":\"key\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/user/keys \\\n  -d '{\"key\":\"key\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/user/keys \\\n -d '{\"key\":\"key\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/user/keys \\\n  -d '{\"key\":\"key\"}'
    " }, { "lang": "JavaScript", @@ -72331,7 +73641,7 @@ { "verb": "get", "requestPath": "/user/keys/{key_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "key_id", @@ -72347,8 +73657,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/user/keys/42", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/user/keys/42
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/user/keys/42", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/user/keys/42
    " }, { "lang": "JavaScript", @@ -72413,7 +73723,7 @@ { "verb": "delete", "requestPath": "/user/keys/{key_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "key_id", @@ -72429,8 +73739,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/user/keys/42", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/user/keys/42
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/user/keys/42", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/user/keys/42
    " }, { "lang": "JavaScript", @@ -72465,7 +73775,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "304", @@ -72494,7 +73804,7 @@ { "verb": "get", "requestPath": "/user/memberships/orgs", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "state", @@ -72534,8 +73844,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/user/memberships/orgs", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/user/memberships/orgs
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/user/memberships/orgs", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/user/memberships/orgs
    " }, { "lang": "JavaScript", @@ -72600,7 +73910,7 @@ { "verb": "get", "requestPath": "/user/memberships/orgs/{org}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "org", @@ -72615,8 +73925,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/user/memberships/orgs/ORG", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/user/memberships/orgs/ORG
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/user/memberships/orgs/ORG", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/user/memberships/orgs/ORG
    " }, { "lang": "JavaScript", @@ -72671,7 +73981,7 @@ { "verb": "patch", "requestPath": "/user/memberships/orgs/{org}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "org", @@ -72686,8 +73996,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/user/memberships/orgs/ORG \\\n -d '{\"state\":\"state\"}'", - "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/user/memberships/orgs/ORG \\\n  -d '{\"state\":\"state\"}'
    " + "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/user/memberships/orgs/ORG \\\n -d '{\"state\":\"state\"}'", + "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/user/memberships/orgs/ORG \\\n  -d '{\"state\":\"state\"}'
    " }, { "lang": "JavaScript", @@ -72789,7 +74099,7 @@ { "verb": "get", "requestPath": "/user/orgs", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "per_page", @@ -72815,8 +74125,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/user/orgs", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/user/orgs
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/user/orgs", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/user/orgs
    " }, { "lang": "JavaScript", @@ -72874,13 +74184,13 @@ { "verb": "post", "requestPath": "/user/projects", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n https://api.github.com/user/projects \\\n -d '{\"name\":\"name\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  https://api.github.com/user/projects \\\n  -d '{\"name\":\"name\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n http(s)://api.{hostname}/user/projects \\\n -d '{\"name\":\"name\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  http(s)://api.{hostname}/user/projects \\\n  -d '{\"name\":\"name\"}'
    " }, { "lang": "JavaScript", @@ -73012,11 +74322,11 @@ { "verb": "get", "requestPath": "/user/repos", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "visibility", - "description": "Can be one of `all`, `public`, or `private`.", + "description": "Can be one of `all`, `public`, or `private`. Note: For GitHub AE, can be one of `all`, `internal`, or `private`.", "in": "query", "required": false, "schema": { @@ -73028,7 +74338,7 @@ ], "default": "all" }, - "descriptionHTML": "

    Can be one of all, public, or private.

    " + "descriptionHTML": "

    Can be one of all, public, or private. Note: For GitHub AE, can be one of all, internal, or private.

    " }, { "name": "affiliation", @@ -73043,7 +74353,7 @@ }, { "name": "type", - "description": "Can be one of `all`, `owner`, `public`, `private`, `member`. Default: `all` \n \nWill cause a `422` error if used in the same request as **visibility** or **affiliation**. Will cause a `422` error if used in the same request as **visibility** or **affiliation**.", + "description": "Can be one of `all`, `owner`, `public`, `private`, `member`. Note: For GitHub AE, can be one of `all`, `owner`, `internal`, `private`, `member`. Default: `all` \n \nWill cause a `422` error if used in the same request as **visibility** or **affiliation**. Will cause a `422` error if used in the same request as **visibility** or **affiliation**.", "in": "query", "required": false, "schema": { @@ -73057,7 +74367,7 @@ ], "default": "all" }, - "descriptionHTML": "

    Can be one of all, owner, public, private, member. Default: all

    \n

    Will cause a 422 error if used in the same request as visibility or affiliation. Will cause a 422 error if used in the same request as visibility or affiliation.

    " + "descriptionHTML": "

    Can be one of all, owner, public, private, member. Note: For GitHub AE, can be one of all, owner, internal, private, member. Default: all

    \n

    Will cause a 422 error if used in the same request as visibility or affiliation. Will cause a 422 error if used in the same request as visibility or affiliation.

    " }, { "name": "sort", @@ -73134,8 +74444,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/user/repos", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/user/repos
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/user/repos", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/user/repos
    " }, { "lang": "JavaScript", @@ -73198,13 +74508,13 @@ { "verb": "post", "requestPath": "/user/repos", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/user/repos \\\n -d '{\"name\":\"name\"}'", - "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/user/repos \\\n  -d '{\"name\":\"name\"}'
    " + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/user/repos \\\n -d '{\"name\":\"name\"}'", + "html": "
    curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/user/repos \\\n  -d '{\"name\":\"name\"}'
    " }, { "lang": "JavaScript", @@ -73213,7 +74523,7 @@ } ], "summary": "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", + "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.", "tags": [ "repos" ], @@ -73256,13 +74566,13 @@ "childParamsGroups": [] }, "private": { - "description": "

    Whether the repository is private or public.

    ", + "description": "

    Whether the repository is private.

    ", "default": false, "type": "boolean", "name": "private", "in": "body", "rawType": "boolean", - "rawDescription": "Whether the repository is private or public.", + "rawDescription": "Whether the repository is private.", "childParamsGroups": [] }, "has_issues": { @@ -73436,7 +74746,7 @@ "category": "repos", "categoryLabel": "Repos", "notes": [], - "descriptionHTML": "

    Creates a new repository for the authenticated user.

    \n

    OAuth scope requirements

    \n

    When using OAuth, 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
    ", + "descriptionHTML": "

    Creates a new repository for the authenticated user.

    \n

    OAuth scope requirements

    \n

    When using OAuth, 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
    ", "bodyParameters": [ { "description": "

    Required. The name of the repository.

    ", @@ -73467,13 +74777,13 @@ "childParamsGroups": [] }, { - "description": "

    Whether the repository is private or public.

    ", + "description": "

    Whether the repository is private.

    ", "default": false, "type": "boolean", "name": "private", "in": "body", "rawType": "boolean", - "rawDescription": "Whether the repository is private or public.", + "rawDescription": "Whether the repository is private.", "childParamsGroups": [] }, { @@ -73657,7 +74967,7 @@ { "verb": "get", "requestPath": "/user/repository_invitations", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "per_page", @@ -73683,8 +74993,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/user/repository_invitations", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/user/repository_invitations
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/user/repository_invitations", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/user/repository_invitations
    " }, { "lang": "JavaScript", @@ -73749,7 +75059,7 @@ { "verb": "patch", "requestPath": "/user/repository_invitations/{invitation_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "invitation_id", @@ -73765,8 +75075,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/user/repository_invitations/42", - "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/user/repository_invitations/42
    " + "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/user/repository_invitations/42", + "html": "
    curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/user/repository_invitations/42
    " }, { "lang": "JavaScript", @@ -73801,7 +75111,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "304", @@ -73830,7 +75140,7 @@ { "verb": "delete", "requestPath": "/user/repository_invitations/{invitation_id}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "invitation_id", @@ -73846,8 +75156,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/user/repository_invitations/42", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/user/repository_invitations/42
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/user/repository_invitations/42", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/user/repository_invitations/42
    " }, { "lang": "JavaScript", @@ -73882,7 +75192,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "304", @@ -73911,7 +75221,7 @@ { "verb": "get", "requestPath": "/user/starred", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "sort", @@ -73967,8 +75277,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/user/starred", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/user/starred
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/user/starred", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/user/starred
    " }, { "lang": "JavaScript", @@ -74028,7 +75338,7 @@ { "verb": "get", "requestPath": "/user/starred/{owner}/{repo}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "owner", @@ -74052,8 +75362,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/user/starred/octocat/hello-world", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/user/starred/octocat/hello-world
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/user/starred/octocat/hello-world", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/user/starred/octocat/hello-world
    " }, { "lang": "JavaScript", @@ -74117,7 +75427,7 @@ { "verb": "put", "requestPath": "/user/starred/{owner}/{repo}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "owner", @@ -74141,8 +75451,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/user/starred/octocat/hello-world", - "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/user/starred/octocat/hello-world
    " + "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/user/starred/octocat/hello-world", + "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/user/starred/octocat/hello-world
    " }, { "lang": "JavaScript", @@ -74177,7 +75487,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "304", @@ -74206,7 +75516,7 @@ { "verb": "delete", "requestPath": "/user/starred/{owner}/{repo}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "owner", @@ -74230,8 +75540,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/user/starred/octocat/hello-world", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/user/starred/octocat/hello-world
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/user/starred/octocat/hello-world", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/user/starred/octocat/hello-world
    " }, { "lang": "JavaScript", @@ -74266,7 +75576,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" }, { "httpStatusCode": "304", @@ -74295,7 +75605,7 @@ { "verb": "get", "requestPath": "/user/subscriptions", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "per_page", @@ -74321,8 +75631,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/user/subscriptions", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/user/subscriptions
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/user/subscriptions", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/user/subscriptions
    " }, { "lang": "JavaScript", @@ -74382,7 +75692,7 @@ { "verb": "get", "requestPath": "/user/teams", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "per_page", @@ -74408,8 +75718,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/user/teams", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/user/teams
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/user/teams", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/user/teams
    " }, { "lang": "JavaScript", @@ -74467,7 +75777,7 @@ { "verb": "get", "requestPath": "/users", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "since", @@ -74493,8 +75803,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/users", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/users
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/users", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/users
    " }, { "lang": "JavaScript", @@ -74542,7 +75852,7 @@ { "verb": "get", "requestPath": "/users/{username}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "username", @@ -74557,8 +75867,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/users/USERNAME", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/users/USERNAME
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/users/USERNAME", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/users/USERNAME
    " }, { "lang": "JavaScript", @@ -74612,7 +75922,7 @@ { "verb": "get", "requestPath": "/users/{username}/events", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "username", @@ -74647,8 +75957,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/users/USERNAME/events", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/users/USERNAME/events
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/users/USERNAME/events", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/users/USERNAME/events
    " }, { "lang": "JavaScript", @@ -74692,7 +76002,7 @@ { "verb": "get", "requestPath": "/users/{username}/events/orgs/{org}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "username", @@ -74736,8 +76046,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/users/USERNAME/events/orgs/ORG", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/users/USERNAME/events/orgs/ORG
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/users/USERNAME/events/orgs/ORG", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/users/USERNAME/events/orgs/ORG
    " }, { "lang": "JavaScript", @@ -74781,7 +76091,7 @@ { "verb": "get", "requestPath": "/users/{username}/events/public", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "username", @@ -74816,8 +76126,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/users/USERNAME/events/public", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/users/USERNAME/events/public
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/users/USERNAME/events/public", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/users/USERNAME/events/public
    " }, { "lang": "JavaScript", @@ -74861,7 +76171,7 @@ { "verb": "get", "requestPath": "/users/{username}/followers", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "username", @@ -74896,8 +76206,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/users/USERNAME/followers", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/users/USERNAME/followers
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/users/USERNAME/followers", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/users/USERNAME/followers
    " }, { "lang": "JavaScript", @@ -74942,7 +76252,7 @@ { "verb": "get", "requestPath": "/users/{username}/following", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "username", @@ -74977,8 +76287,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/users/USERNAME/following", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/users/USERNAME/following
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/users/USERNAME/following", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/users/USERNAME/following
    " }, { "lang": "JavaScript", @@ -75023,7 +76333,7 @@ { "verb": "get", "requestPath": "/users/{username}/following/{target_user}", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "username", @@ -75047,8 +76357,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/users/USERNAME/following/TARGET_USER", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/users/USERNAME/following/TARGET_USER
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/users/USERNAME/following/TARGET_USER", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/users/USERNAME/following/TARGET_USER
    " }, { "lang": "JavaScript", @@ -75097,7 +76407,7 @@ { "verb": "get", "requestPath": "/users/{username}/gists", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "username", @@ -75142,8 +76452,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/users/USERNAME/gists", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/users/USERNAME/gists
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/users/USERNAME/gists", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/users/USERNAME/gists
    " }, { "lang": "JavaScript", @@ -75191,7 +76501,7 @@ { "verb": "get", "requestPath": "/users/{username}/gpg_keys", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "username", @@ -75226,8 +76536,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/users/USERNAME/gpg_keys", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/users/USERNAME/gpg_keys
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/users/USERNAME/gpg_keys", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/users/USERNAME/gpg_keys
    " }, { "lang": "JavaScript", @@ -75272,7 +76582,7 @@ { "verb": "get", "requestPath": "/users/{username}/hovercard", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "username", @@ -75313,8 +76623,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/users/USERNAME/hovercard", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/users/USERNAME/hovercard
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/users/USERNAME/hovercard", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/users/USERNAME/hovercard
    " }, { "lang": "JavaScript", @@ -75367,7 +76677,7 @@ { "verb": "get", "requestPath": "/users/{username}/installation", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "username", @@ -75382,8 +76692,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/users/USERNAME/installation", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/users/USERNAME/installation
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/users/USERNAME/installation", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/users/USERNAME/installation
    " }, { "lang": "JavaScript", @@ -75426,7 +76736,7 @@ { "verb": "get", "requestPath": "/users/{username}/keys", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "username", @@ -75461,8 +76771,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/users/USERNAME/keys", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/users/USERNAME/keys
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/users/USERNAME/keys", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/users/USERNAME/keys
    " }, { "lang": "JavaScript", @@ -75507,7 +76817,7 @@ { "verb": "get", "requestPath": "/users/{username}/orgs", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "username", @@ -75542,8 +76852,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/users/USERNAME/orgs", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/users/USERNAME/orgs
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/users/USERNAME/orgs", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/users/USERNAME/orgs
    " }, { "lang": "JavaScript", @@ -75586,7 +76896,7 @@ { "verb": "get", "requestPath": "/users/{username}/projects", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "username", @@ -75637,8 +76947,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n https://api.github.com/users/USERNAME/projects", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  https://api.github.com/users/USERNAME/projects
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n http(s)://api.{hostname}/users/USERNAME/projects", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  http(s)://api.{hostname}/users/USERNAME/projects
    " }, { "lang": "JavaScript", @@ -75698,7 +77008,7 @@ { "verb": "get", "requestPath": "/users/{username}/received_events", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "username", @@ -75733,8 +77043,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/users/USERNAME/received_events", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/users/USERNAME/received_events
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/users/USERNAME/received_events", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/users/USERNAME/received_events
    " }, { "lang": "JavaScript", @@ -75778,7 +77088,7 @@ { "verb": "get", "requestPath": "/users/{username}/received_events/public", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "username", @@ -75813,8 +77123,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/users/USERNAME/received_events/public", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/users/USERNAME/received_events/public
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/users/USERNAME/received_events/public", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/users/USERNAME/received_events/public
    " }, { "lang": "JavaScript", @@ -75858,7 +77168,7 @@ { "verb": "get", "requestPath": "/users/{username}/repos", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "username", @@ -75940,8 +77250,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/users/USERNAME/repos", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/users/USERNAME/repos
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/users/USERNAME/repos", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/users/USERNAME/repos
    " }, { "lang": "JavaScript", @@ -75950,7 +77260,7 @@ } ], "summary": "List repositories for a user", - "description": "Lists public repositories for the specified user.", + "description": "Lists public repositories for the specified user. Note: For GitHub AE, this endpoint will list internal repositories for the specified user.", "tags": [ "repos" ], @@ -75978,7 +77288,7 @@ "categoryLabel": "Repos", "notes": [], "bodyParameters": [], - "descriptionHTML": "

    Lists public repositories for the specified user.

    ", + "descriptionHTML": "

    Lists public repositories for the specified user. Note: For GitHub AE, this endpoint will list internal repositories for the specified user.

    ", "responses": [ { "httpStatusCode": "200", @@ -75991,7 +77301,7 @@ { "verb": "get", "requestPath": "/users/{username}/starred", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "username", @@ -76056,8 +77366,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/users/USERNAME/starred", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/users/USERNAME/starred
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/users/USERNAME/starred", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/users/USERNAME/starred
    " }, { "lang": "JavaScript", @@ -76102,7 +77412,7 @@ { "verb": "get", "requestPath": "/users/{username}/subscriptions", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "username", @@ -76137,8 +77447,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/users/USERNAME/subscriptions", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/users/USERNAME/subscriptions
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/users/USERNAME/subscriptions", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/users/USERNAME/subscriptions
    " }, { "lang": "JavaScript", @@ -76183,7 +77493,7 @@ { "verb": "put", "requestPath": "/users/{username}/suspended", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "username", @@ -76198,8 +77508,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/users/USERNAME/suspended \\\n -d '{\"reason\":\"reason\"}'", - "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/users/USERNAME/suspended \\\n  -d '{\"reason\":\"reason\"}'
    " + "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/users/USERNAME/suspended \\\n -d '{\"reason\":\"reason\"}'", + "html": "
    curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/users/USERNAME/suspended \\\n  -d '{\"reason\":\"reason\"}'
    " }, { "lang": "JavaScript", @@ -76254,7 +77564,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "descriptionHTML": "

    If your GitHub instance uses LDAP Sync with Active Directory LDAP servers, 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

    You can suspend any user account except your own.

    \n

    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.\"

    ", @@ -76273,7 +77583,7 @@ { "verb": "delete", "requestPath": "/users/{username}/suspended", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [ { "name": "username", @@ -76288,8 +77598,8 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/users/USERNAME/suspended \\\n -d '{\"reason\":\"reason\"}'", - "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/users/USERNAME/suspended \\\n  -d '{\"reason\":\"reason\"}'
    " + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/users/USERNAME/suspended \\\n -d '{\"reason\":\"reason\"}'", + "html": "
    curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/users/USERNAME/suspended \\\n  -d '{\"reason\":\"reason\"}'
    " }, { "lang": "JavaScript", @@ -76344,7 +77654,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Response" } ], "descriptionHTML": "

    If your GitHub instance uses LDAP Sync with Active Directory LDAP servers, this API is disabled and will return a 403 response. Active Directory LDAP-authenticated users cannot be unsuspended using the API.

    ", @@ -76363,13 +77673,13 @@ { "verb": "get", "requestPath": "/zen", - "serverUrl": "https://api.github.com", + "serverUrl": "http(s)://api.{hostname}", "parameters": [], "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/zen", - "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/zen
    " + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/zen", + "html": "
    curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://api.{hostname}/zen
    " }, { "lang": "JavaScript", diff --git a/lib/rest/static/dereferenced/api.github.com.deref.json b/lib/rest/static/dereferenced/api.github.com.deref.json index 290e985a82..dc7623c18b 100644 --- a/lib/rest/static/dereferenced/api.github.com.deref.json +++ b/lib/rest/static/dereferenced/api.github.com.deref.json @@ -152,7 +152,7 @@ "operationId": "meta/root", "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -357,7 +357,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -686,7 +686,7 @@ ], "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -1012,7 +1012,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -1032,7 +1032,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -1087,7 +1087,7 @@ }, "responses": { "200": { - "description": "Default response", + "description": "Response", "content": { "application/json": { "schema": { @@ -1193,7 +1193,7 @@ }, "responses": { "200": { - "description": "Default response", + "description": "Response", "content": { "application/json": { "schema": { @@ -1856,7 +1856,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -2363,7 +2363,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -2383,7 +2383,7 @@ } }, "415": { - "description": "Preview Header Missing", + "description": "Preview header missing", "content": { "application/json": { "schema": { @@ -2439,10 +2439,10 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -2779,7 +2779,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -3969,7 +3969,7 @@ } }, "415": { - "description": "Preview Header Missing", + "description": "Preview header missing", "content": { "application/json": { "schema": { @@ -3991,7 +3991,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -4011,7 +4011,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -4031,7 +4031,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -4136,10 +4136,10 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -4193,10 +4193,10 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -4257,11 +4257,20 @@ "type": "integer", "default": 1 } + }, + { + "name": "client_id", + "in": "query", + "required": false, + "description": "The client ID of your GitHub app.", + "schema": { + "type": "string" + } } ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -4479,7 +4488,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -4502,7 +4511,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -4522,7 +4531,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -4581,7 +4590,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -4786,7 +4795,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -4809,7 +4818,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -4866,10 +4875,10 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -4892,7 +4901,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -4969,10 +4978,10 @@ }, "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -5085,7 +5094,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "x-github": { @@ -5145,7 +5154,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -5816,7 +5825,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -5885,7 +5894,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -5957,7 +5966,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -6628,7 +6637,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -6752,10 +6761,10 @@ }, "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -7159,7 +7168,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -7863,7 +7872,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -7903,7 +7912,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -7923,7 +7932,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -8036,7 +8045,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -8712,7 +8721,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -8777,7 +8786,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -9493,7 +9502,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "x-github": { @@ -9534,7 +9543,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -9848,7 +9857,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -9868,7 +9877,7 @@ } }, "415": { - "description": "Preview Header Missing", + "description": "Preview header missing", "content": { "application/json": { "schema": { @@ -9931,11 +9940,20 @@ "type": "integer", "default": 1 } + }, + { + "name": "client_id", + "in": "query", + "required": false, + "description": "The client ID of your GitHub app.", + "schema": { + "type": "string" + } } ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -10598,7 +10616,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -10621,7 +10639,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -10641,7 +10659,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -10736,7 +10754,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -11394,7 +11412,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -11483,7 +11501,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -11506,7 +11524,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -12925,7 +12943,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -12994,7 +13012,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -13017,7 +13035,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -14440,7 +14458,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -14548,7 +14566,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -15198,7 +15216,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -15221,7 +15239,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -15328,7 +15346,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -15978,7 +15996,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -16084,10 +16102,10 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -16110,7 +16128,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -16161,7 +16179,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -16224,10 +16242,10 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "415": { - "description": "Preview Header Missing", + "description": "Preview header missing", "content": { "application/json": { "schema": { @@ -16288,7 +16306,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -16341,7 +16359,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -16361,10 +16379,10 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "415": { - "description": "Preview Header Missing", + "description": "Preview header missing", "content": { "application/json": { "schema": { @@ -16452,7 +16470,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -16502,7 +16520,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -16571,7 +16589,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -16611,7 +16629,7 @@ } }, "415": { - "description": "Preview Header Missing", + "description": "Preview header missing", "content": { "application/json": { "schema": { @@ -16633,7 +16651,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -16698,10 +16716,10 @@ } } }, - "description": "response" + "description": "Response" }, "304": { - "description": "Not Modified" + "description": "Not modified" } }, "x-github": { @@ -16740,7 +16758,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -16825,7 +16843,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "requestBody": { @@ -16918,7 +16936,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -17070,7 +17088,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "requestBody": { @@ -17146,7 +17164,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "x-github": { @@ -17192,7 +17210,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "x-github": { @@ -17231,7 +17249,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -17309,7 +17327,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "requestBody": { @@ -17409,7 +17427,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -17587,7 +17605,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -17686,7 +17704,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -17811,7 +17829,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -17908,7 +17926,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "x-github": { @@ -17974,7 +17992,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -18163,7 +18181,7 @@ }, "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "x-github": { @@ -18220,7 +18238,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "x-github": { @@ -18275,7 +18293,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "x-github": { @@ -18341,7 +18359,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -18566,7 +18584,7 @@ }, "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "x-github": { @@ -18623,7 +18641,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "x-github": { @@ -18678,7 +18696,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "x-github": { @@ -18735,7 +18753,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -18921,7 +18939,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -19028,7 +19046,7 @@ ], "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -20087,7 +20105,7 @@ ], "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -21155,7 +21173,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -21300,7 +21318,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "x-github": { @@ -21390,6 +21408,15 @@ ] } }, + { + "name": "page", + "description": "Page number of the results to fetch.", + "in": "query", + "schema": { + "type": "integer", + "default": 1 + } + }, { "name": "per_page", "description": "Results per page (max 100).", @@ -21600,7 +21627,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -21697,7 +21724,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -21771,7 +21798,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -21854,7 +21881,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -24522,7 +24549,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -24545,7 +24572,7 @@ } }, "503": { - "description": "Service Unavailable", + "description": "Service unavailable", "content": { "application/json": { "schema": { @@ -24594,7 +24621,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -24905,7 +24932,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -25323,7 +25350,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -25432,7 +25459,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -25665,7 +25692,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -25734,10 +25761,10 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -25831,7 +25858,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -26249,7 +26276,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -26318,7 +26345,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -26395,7 +26422,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -26813,7 +26840,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -26833,7 +26860,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -26892,7 +26919,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -27150,7 +27177,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -27170,7 +27197,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" } }, "x-github": { @@ -27277,7 +27304,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -27502,7 +27529,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -27571,7 +27598,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -27625,10 +27652,10 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -27648,7 +27675,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -27725,7 +27752,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -27957,10 +27984,10 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -28054,7 +28081,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -28281,10 +28308,10 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -28369,7 +28396,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -28588,10 +28615,10 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -28707,7 +28734,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -28926,7 +28953,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -28989,13 +29016,13 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -29089,7 +29116,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -29302,7 +29329,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -29322,7 +29349,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -29399,7 +29426,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -29668,7 +29695,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -29688,7 +29715,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -29745,7 +29772,7 @@ ], "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -30158,7 +30185,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -30178,7 +30205,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -30247,7 +30274,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -30322,7 +30349,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -30379,10 +30406,10 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -30402,7 +30429,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -30459,13 +30486,13 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -30549,7 +30576,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -30774,7 +30801,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -30843,7 +30870,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -30911,7 +30938,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -30933,7 +30960,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" } }, "x-github": { @@ -30971,7 +30998,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -31005,7 +31032,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" } }, "x-github": { @@ -31053,7 +31080,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -32195,10 +32222,10 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -32250,7 +32277,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "x-github": { @@ -32289,6 +32316,7 @@ "created", "mentioned", "subscribed", + "repos", "all" ], "default": "assigned" @@ -32409,7 +32437,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -34852,7 +34880,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -34921,10 +34949,10 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -34988,11 +35016,20 @@ "type": "integer", "default": 30 } + }, + { + "name": "page", + "description": "Page number of the results to fetch.", + "in": "query", + "schema": { + "type": "integer", + "default": 1 + } } ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -35098,7 +35135,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" } }, "x-github": { @@ -35136,7 +35173,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -35289,7 +35326,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -35309,7 +35346,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" } }, "x-github": { @@ -35372,7 +35409,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "headers": { "Content-Type": { "example": "text/html", @@ -35402,7 +35439,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" } }, "x-github": { @@ -35447,7 +35484,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "headers": { "X-CommonMarker-Version": { "example": "0.17.4", @@ -35465,7 +35502,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" } }, "x-github": { @@ -35504,7 +35541,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -35832,7 +35869,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -35897,7 +35934,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -36021,7 +36058,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -36041,7 +36078,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -36142,7 +36179,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -36463,7 +36500,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -36483,7 +36520,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -36552,7 +36589,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -36608,7 +36645,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -36919,7 +36956,7 @@ "description": "Response when the account has not purchased the listing" }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -36984,7 +37021,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -37108,7 +37145,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -37209,7 +37246,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -37530,7 +37567,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -37578,7 +37615,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -37713,7 +37750,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" } }, "x-github": { @@ -37777,7 +37814,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -40445,7 +40482,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -40485,10 +40522,10 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "301": { - "description": "Moved Permanently" + "description": "Moved permanently" } }, "x-github": { @@ -40574,7 +40611,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -42233,7 +42270,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -42256,7 +42293,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -42276,7 +42313,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -42391,7 +42428,7 @@ }, "responses": { "202": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -42406,10 +42443,10 @@ } }, "205": { - "description": "response" + "description": "Response" }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -42432,7 +42469,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -42488,7 +42525,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -44134,7 +44171,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -44157,7 +44194,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -44211,10 +44248,10 @@ ], "responses": { "205": { - "description": "response" + "description": "Response" }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -44273,7 +44310,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -44338,7 +44375,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -44361,7 +44398,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -44431,7 +44468,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -44496,7 +44533,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -44519,7 +44556,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -44573,10 +44610,10 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -44599,7 +44636,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -44651,7 +44688,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/octocat-stream": { "schema": { @@ -44705,7 +44742,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -44816,7 +44853,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" } }, "x-github": { @@ -44854,7 +44891,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -45143,7 +45180,9 @@ "plan": { "name": "Medium", "space": 400, - "private_repos": 20 + "private_repos": 20, + "filled_seats": 4, + "seats": 5 }, "default_repository_permission": "read", "members_can_create_repositories": true, @@ -45154,54 +45193,13 @@ "members_can_create_internal_repositories": false, "members_can_create_pages": true } - }, - "response-with-git-hub-plan-information": { - "summary": "Response with GitHub plan information", - "value": { - "login": "github", - "id": 1, - "node_id": "MDEyOk9yZ2FuaXphdGlvbjE=", - "url": "https://api.github.com/orgs/github", - "repos_url": "https://api.github.com/orgs/github/repos", - "events_url": "https://api.github.com/orgs/github/events", - "hooks_url": "https://api.github.com/orgs/github/hooks", - "issues_url": "https://api.github.com/orgs/github/issues", - "members_url": "https://api.github.com/orgs/github/members{/member}", - "public_members_url": "https://api.github.com/orgs/github/public_members{/member}", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "description": "A great organization", - "name": "github", - "company": "GitHub", - "blog": "https://github.com/blog", - "location": "San Francisco", - "email": "octocat@github.com", - "twitter_username": "github", - "is_verified": true, - "has_organization_projects": true, - "has_repository_projects": true, - "public_repos": 2, - "public_gists": 1, - "followers": 20, - "following": 0, - "html_url": "https://github.com/octocat", - "created_at": "2008-01-14T04:33:35Z", - "updated_at": "2014-03-03T18:58:10Z", - "type": "Organization", - "plan": { - "name": "team", - "space": 976562499, - "private_repos": 999999, - "filled_seats": 4, - "seats": 5 - } - } } } } } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -45373,7 +45371,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -45678,7 +45676,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -45794,7 +45792,7 @@ } }, "415": { - "description": "Preview Header Missing", + "description": "Preview header missing", "content": { "application/json": { "schema": { @@ -45855,7 +45853,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -45939,7 +45937,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "requestBody": { @@ -46031,7 +46029,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -47179,7 +47177,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "requestBody": { @@ -47253,7 +47251,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "x-github": { @@ -47297,7 +47295,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "x-github": { @@ -47335,7 +47333,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -47412,7 +47410,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "requestBody": { @@ -47511,7 +47509,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -47701,7 +47699,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -47808,7 +47806,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -47941,7 +47939,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -48046,7 +48044,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "x-github": { @@ -48089,11 +48087,29 @@ "schema": { "type": "integer" } + }, + { + "name": "page", + "description": "Page number of the results to fetch.", + "in": "query", + "schema": { + "type": "integer", + "default": 1 + } + }, + { + "name": "per_page", + "description": "Results per page (max 100).", + "in": "query", + "schema": { + "type": "integer", + "default": 30 + } } ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -49278,7 +49294,7 @@ }, "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "x-github": { @@ -49333,7 +49349,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "x-github": { @@ -49386,7 +49402,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "x-github": { @@ -49451,7 +49467,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -49675,7 +49691,7 @@ }, "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "x-github": { @@ -49731,7 +49747,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "x-github": { @@ -49785,7 +49801,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "x-github": { @@ -49841,7 +49857,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -50030,7 +50046,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -50136,7 +50152,7 @@ ], "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -51194,7 +51210,7 @@ ], "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -52261,7 +52277,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -52405,7 +52421,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "x-github": { @@ -52461,7 +52477,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -52594,7 +52610,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -52690,7 +52706,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -52883,7 +52899,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "x-github": { @@ -52926,11 +52942,29 @@ "schema": { "type": "string" } + }, + { + "name": "page", + "description": "Page number of the results to fetch.", + "in": "query", + "schema": { + "type": "integer", + "default": 1 + } + }, + { + "name": "per_page", + "description": "Results per page (max 100).", + "in": "query", + "schema": { + "type": "integer", + "default": 30 + } } ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -54582,7 +54616,7 @@ }, "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "x-github": { @@ -54793,6 +54827,15 @@ "type": "integer", "default": 30 } + }, + { + "name": "page", + "description": "Page number of the results to fetch.", + "in": "query", + "schema": { + "type": "integer", + "default": 1 + } } ], "responses": { @@ -54994,7 +55037,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -55142,7 +55185,7 @@ } }, "415": { - "description": "Preview Header Missing", + "description": "Preview header missing", "content": { "application/json": { "schema": { @@ -55271,10 +55314,10 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -55384,7 +55427,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "x-github": { @@ -55422,7 +55465,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -55581,10 +55624,10 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -55657,7 +55700,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -58378,7 +58421,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -58601,7 +58644,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -58674,7 +58717,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -58801,7 +58844,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -58938,7 +58981,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -59060,7 +59103,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -59129,7 +59172,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -59192,7 +59235,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -59306,7 +59349,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -59433,7 +59476,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -59546,7 +59589,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -59615,7 +59658,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -59676,10 +59719,10 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -59742,7 +59785,7 @@ ], "responses": { "200": { - "description": "Default response", + "description": "Response", "content": { "application/json": { "schema": { @@ -59866,7 +59909,7 @@ }, "responses": { "200": { - "description": "Default response", + "description": "Response", "content": { "application/json": { "schema": { @@ -59954,10 +59997,10 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -60012,7 +60055,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -60572,7 +60615,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -61143,7 +61186,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -61261,7 +61304,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -61308,7 +61351,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -61410,7 +61453,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "x-github": { @@ -61466,7 +61509,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -61689,7 +61732,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -61786,7 +61829,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -61994,7 +62037,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -62063,7 +62106,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -62128,10 +62171,10 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -62200,7 +62243,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -62283,7 +62326,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -62462,7 +62505,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -62526,6 +62569,7 @@ "created", "mentioned", "subscribed", + "repos", "all" ], "default": "assigned" @@ -62614,7 +62658,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -65057,7 +65101,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -65163,7 +65207,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -65330,7 +65374,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -65500,7 +65544,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "403": { "description": "Forbidden", @@ -65537,7 +65581,7 @@ "/orgs/{org}/memberships/{username}": { "get": { "summary": "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.", + "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.", "tags": [ "orgs" ], @@ -65566,7 +65610,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -65581,11 +65625,21 @@ }, "state": { "type": "string", - "example": "active" + "description": "The state of the member in the organization. The `pending` state indicates the user has not yet accepted an invitation.", + "example": "active", + "enum": [ + "active", + "pending" + ] }, "role": { "type": "string", - "example": "admin" + "description": "The user's membership type in the organization.", + "example": "admin", + "enum": [ + "admin", + "member" + ] }, "organization_url": { "type": "string", @@ -65846,99 +65900,13 @@ "site_admin": false } } - }, - "response-if-user-has-an-active-membership-with-organization": { - "summary": "Response if user has an active membership with organization", - "value": { - "url": "https://api.github.com/orgs/octocat/memberships/defunkt", - "state": "active", - "role": "member", - "organization_url": "https://api.github.com/orgs/octocat", - "organization": { - "login": "github", - "id": 1, - "node_id": "MDEyOk9yZ2FuaXphdGlvbjE=", - "url": "https://api.github.com/orgs/github", - "repos_url": "https://api.github.com/orgs/github/repos", - "events_url": "https://api.github.com/orgs/github/events", - "hooks_url": "https://api.github.com/orgs/github/hooks", - "issues_url": "https://api.github.com/orgs/github/issues", - "members_url": "https://api.github.com/orgs/github/members{/member}", - "public_members_url": "https://api.github.com/orgs/github/public_members{/member}", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "description": "A great organization" - }, - "user": { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - } - } - }, - "response-if-user-has-a-pending-membership-with-organization": { - "summary": "Response if user has a pending membership with organization", - "value": { - "url": "https://api.github.com/orgs/invitocat/memberships/defunkt", - "state": "pending", - "role": "member", - "organization_url": "https://api.github.com/orgs/invitocat", - "organization": { - "login": "github", - "id": 1, - "node_id": "MDEyOk9yZ2FuaXphdGlvbjE=", - "url": "https://api.github.com/orgs/github", - "repos_url": "https://api.github.com/orgs/github/repos", - "events_url": "https://api.github.com/orgs/github/events", - "hooks_url": "https://api.github.com/orgs/github/hooks", - "issues_url": "https://api.github.com/orgs/github/issues", - "members_url": "https://api.github.com/orgs/github/members{/member}", - "public_members_url": "https://api.github.com/orgs/github/public_members{/member}", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "description": "A great organization" - }, - "user": { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - } - } } } } } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -66039,7 +66007,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -66054,11 +66022,21 @@ }, "state": { "type": "string", - "example": "active" + "description": "The state of the member in the organization. The `pending` state indicates the user has not yet accepted an invitation.", + "example": "active", + "enum": [ + "active", + "pending" + ] }, "role": { "type": "string", - "example": "admin" + "description": "The user's membership type in the organization.", + "example": "admin", + "enum": [ + "admin", + "member" + ] }, "organization_url": { "type": "string", @@ -66277,51 +66255,8 @@ ] }, "examples": { - "response-if-user-was-previously-unaffiliated-with-organization": { - "summary": "Response if user was previously unaffiliated with organization", - "value": { - "url": "https://api.github.com/orgs/invitocat/memberships/defunkt", - "state": "pending", - "role": "admin", - "organization_url": "https://api.github.com/orgs/invitocat", - "organization": { - "login": "github", - "id": 1, - "node_id": "MDEyOk9yZ2FuaXphdGlvbjE=", - "url": "https://api.github.com/orgs/github", - "repos_url": "https://api.github.com/orgs/github/repos", - "events_url": "https://api.github.com/orgs/github/events", - "hooks_url": "https://api.github.com/orgs/github/hooks", - "issues_url": "https://api.github.com/orgs/github/issues", - "members_url": "https://api.github.com/orgs/github/members{/member}", - "public_members_url": "https://api.github.com/orgs/github/public_members{/member}", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "description": "A great organization" - }, - "user": { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - } - } - }, "response-if-user-already-had-membership-with-organization": { - "summary": "Response if user already had membership with organization", + "summary": "Response if user has an active admin membership with organization", "value": { "url": "https://api.github.com/orgs/octocat/memberships/defunkt", "state": "active", @@ -66368,7 +66303,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -66498,7 +66433,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "403": { "description": "Forbidden", @@ -66521,7 +66456,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -66590,11 +66525,27 @@ "type": "integer", "default": 1 } + }, + { + "name": "exclude", + "description": "Exclude attributes from the API response to improve performance", + "in": "query", + "schema": { + "type": "array", + "items": { + "description": "Allowed values that can be passed to the exclude param.", + "enum": [ + "repositories" + ], + "example": "repositories", + "type": "string" + } + } } ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -68001,7 +67952,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -69315,7 +69266,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -69335,7 +69286,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -69444,6 +69395,22 @@ "schema": { "type": "integer" } + }, + { + "name": "exclude", + "description": "Exclude attributes from the API response to improve performance", + "in": "query", + "schema": { + "type": "array", + "items": { + "description": "Allowed values that can be passed to the exclude param.", + "enum": [ + "repositories" + ], + "example": "repositories", + "type": "string" + } + } } ], "responses": { @@ -70762,7 +70729,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -70830,10 +70797,10 @@ ], "responses": { "302": { - "description": "response" + "description": "Response" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -70899,10 +70866,10 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -70979,10 +70946,10 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -71068,7 +71035,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -72803,7 +72770,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -72894,7 +72861,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -73099,41 +73066,10 @@ "description": "User was converted" }, "403": { - "description": "response", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - } - } - }, - "examples": { - "response-if-user-is-the-last-owner-of-the-organization": { - "summary": "Response if user is the last owner of the organization", - "value": { - "message": "Cannot convert the last owner to an outside collaborator", - "documentation_url": "https://docs.github.com/rest/reference/orgs#convert-member-to-outside-collaborator" - } - }, - "response-if-user-is-not-a-member-of-the-organization": { - "summary": "Response if user is not a member of the organization", - "value": { - "message": " is not a member of the organization.", - "documentation_url": "https://docs.github.com/rest/reference/orgs#convert-member-to-outside-collaborator" - } - } - } - } - } + "description": "Response if user is the last owner of the organization or not a member of the organization" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -73194,7 +73130,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "422": { "description": "Response if user is a member of the organization", @@ -75063,10 +74999,10 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -75106,7 +75042,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -75183,14 +75119,23 @@ "schema": { "type": "string" } + }, + { + "name": "token", + "description": "package token", + "schema": { + "type": "string" + }, + "required": false, + "in": "query" } ], "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -75230,7 +75175,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -75268,7 +75213,7 @@ "tags": [ "packages" ], - "operationId": "packages/get-all-package-versions-for-a-package-owned-by-an-org", + "operationId": "packages/get-all-package-versions-for-package-owned-by-org", "externalDocs": { "description": "API method documentation", "url": "https://docs.github.com/rest/reference/packages#get-all-package-versions-for-a-package-owned-by-the-authenticated-user" @@ -75307,6 +75252,38 @@ "schema": { "type": "string" } + }, + { + "name": "page", + "description": "Page number of the results to fetch.", + "in": "query", + "schema": { + "type": "integer", + "default": 1 + } + }, + { + "name": "per_page", + "description": "Results per page (max 100).", + "in": "query", + "schema": { + "type": "integer", + "default": 30 + } + }, + { + "name": "state", + "in": "query", + "required": false, + "description": "The state of the package, either active or deleted.", + "schema": { + "type": "string", + "enum": [ + "active", + "deleted" + ], + "default": "active" + } } ], "responses": { @@ -75455,7 +75432,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -75495,7 +75472,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -75785,10 +75762,10 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -75828,7 +75805,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -75918,10 +75895,10 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -75961,7 +75938,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -76049,7 +76026,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -76318,7 +76295,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -76411,7 +76388,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -76667,7 +76644,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -76707,7 +76684,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -76747,7 +76724,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -76834,7 +76811,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -77080,7 +77057,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "403": { "description": "Forbidden", @@ -77144,7 +77121,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "x-github": { @@ -77247,7 +77224,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -79131,7 +79108,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -80254,7 +80231,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -80346,7 +80323,7 @@ "/orgs/{org}/settings/billing/actions": { "get": { "summary": "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.", + "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://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.", "operationId": "billing/get-github-actions-billing-org", "tags": [ "billing" @@ -80367,7 +80344,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -80463,7 +80440,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -80536,7 +80513,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -80617,17 +80594,16 @@ }, { "name": "page", - "description": "Page number of the results to fetch.", + "description": "Page token", "in": "query", "schema": { - "type": "integer", - "default": 1 + "type": "string" } } ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -80771,7 +80747,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -81067,7 +81043,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -81558,7 +81534,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -81691,7 +81667,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -82182,7 +82158,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -82291,7 +82267,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -82824,7 +82800,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "x-github": { @@ -82899,11 +82875,20 @@ "type": "integer", "default": 1 } + }, + { + "name": "pinned", + "in": "query", + "required": false, + "description": "Pinned discussions only filter", + "schema": { + "type": "string" + } } ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -83324,7 +83309,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -83711,7 +83696,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -84117,7 +84102,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -84501,7 +84486,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "x-github": { @@ -84588,7 +84573,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -84972,7 +84957,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -85333,7 +85318,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -85712,7 +85697,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -86070,7 +86055,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "x-github": { @@ -86170,7 +86155,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -86472,7 +86457,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -86740,7 +86725,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "x-github": { @@ -86836,7 +86821,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -87130,7 +87115,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -87390,7 +87375,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "x-github": { @@ -87459,7 +87444,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -87759,7 +87744,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -87929,7 +87914,7 @@ "/orgs/{org}/teams/{team_slug}/memberships/{username}": { "get": { "summary": "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).", + "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).", "tags": [ "teams" ], @@ -87967,7 +87952,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -87990,7 +87975,12 @@ "type": "string" }, "state": { - "type": "string" + "description": "The state of the user's membership in the team.", + "type": "string", + "enum": [ + "active", + "pending" + ] } }, "required": [ @@ -88000,14 +87990,6 @@ ] }, "examples": { - "response-if-user-has-an-active-membership-with-team": { - "summary": "Response if user has an active membership with team", - "value": { - "url": "https://api.github.com/teams/1/memberships/octocat", - "role": "member", - "state": "active" - } - }, "response-if-user-is-a-team-maintainer": { "summary": "Response if user is a team maintainer", "value": { @@ -88015,14 +87997,6 @@ "role": "maintainer", "state": "active" } - }, - "response-if-user-has-a-pending-membership-with-team": { - "summary": "Response if user has a pending membership with team", - "value": { - "url": "https://api.github.com/teams/1/memberships/octocat", - "role": "member", - "state": "pending" - } } } } @@ -88102,7 +88076,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -88125,7 +88099,12 @@ "type": "string" }, "state": { - "type": "string" + "description": "The state of the user's membership in the team.", + "type": "string", + "enum": [ + "active", + "pending" + ] } }, "required": [ @@ -88135,14 +88114,6 @@ ] }, "examples": { - "response-if-users-membership-with-team-is-now-active": { - "summary": "Response if user's membership with team is now active", - "value": { - "url": "https://api.github.com/teams/1/memberships/octocat", - "role": "member", - "state": "active" - } - }, "response-if-users-membership-with-team-is-now-pending": { "summary": "Response if user's membership with team is now pending", "value": { @@ -88159,50 +88130,7 @@ "description": "Response if team synchronization is set up" }, "422": { - "description": "Response if you attempt to add an organization to a team", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "errors": { - "type": "array", - "items": { - "type": "object", - "properties": { - "code": { - "type": "string" - }, - "field": { - "type": "string" - }, - "resource": { - "type": "string" - } - } - } - } - } - }, - "examples": { - "response-if-you-attempt-to-add-an-organization-to-a-team": { - "value": { - "message": "Cannot add an organization as a member.", - "errors": [ - { - "code": "org", - "field": "user", - "resource": "TeamMember" - } - ] - } - } - } - } - } + "description": "Response if you attempt to add an organization to a team" } }, "x-github": { @@ -88255,7 +88183,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "403": { "description": "Response if team synchronization is set up" @@ -88323,7 +88251,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -88643,7 +88571,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -88972,7 +88900,7 @@ }, "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "403": { "description": "Response if the project is not owned by the organization", @@ -89055,7 +88983,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "x-github": { @@ -89120,7 +89048,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -92864,7 +92792,7 @@ }, "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "x-github": { @@ -92925,7 +92853,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "x-github": { @@ -92972,7 +92900,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -93146,7 +93074,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -93518,7 +93446,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -93745,7 +93673,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -93768,7 +93696,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -93788,7 +93716,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -93868,7 +93796,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -94095,7 +94023,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -94118,7 +94046,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -94138,7 +94066,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -94158,7 +94086,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -94226,10 +94154,10 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -94256,7 +94184,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -94276,7 +94204,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -94361,7 +94289,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -94374,7 +94302,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -94415,7 +94343,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -94435,7 +94363,7 @@ } }, "503": { - "description": "Service Unavailable", + "description": "Service unavailable", "content": { "application/json": { "schema": { @@ -94470,7 +94398,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -94579,7 +94507,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -94656,7 +94584,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -94679,7 +94607,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -94699,7 +94627,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -94776,7 +94704,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -94853,7 +94781,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -94876,7 +94804,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -94934,10 +94862,10 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -94960,7 +94888,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -95053,7 +94981,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -95293,7 +95221,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -95316,7 +95244,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -95417,7 +95345,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -95644,7 +95572,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -95667,7 +95595,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -95687,7 +95615,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -95783,7 +95711,7 @@ } }, "503": { - "description": "Service Unavailable", + "description": "Service unavailable", "content": { "application/json": { "schema": { @@ -95878,7 +95806,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -95891,7 +95819,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -95914,7 +95842,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -95944,7 +95872,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -96003,7 +95931,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -96259,7 +96187,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -96282,7 +96210,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -96380,7 +96308,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -96639,7 +96567,7 @@ "description": "Response if the authenticated user does not have access to the project" }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -96666,7 +96594,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -96706,7 +96634,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -96776,7 +96704,7 @@ "description": "Delete Success" }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -96803,7 +96731,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -96843,7 +96771,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -96935,7 +96863,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -97091,7 +97019,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -97111,7 +97039,7 @@ } }, "415": { - "description": "Preview Header Missing", + "description": "Preview header missing", "content": { "application/json": { "schema": { @@ -97133,7 +97061,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -97202,7 +97130,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -97225,7 +97153,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -97314,10 +97242,10 @@ }, "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -97337,7 +97265,7 @@ } }, "415": { - "description": "Preview Header Missing", + "description": "Preview header missing", "content": { "application/json": { "schema": { @@ -97359,7 +97287,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -97428,7 +97356,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -97451,7 +97379,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -97516,13 +97444,13 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -97542,7 +97470,7 @@ } }, "415": { - "description": "Preview Header Missing", + "description": "Preview header missing", "content": { "application/json": { "schema": { @@ -97584,7 +97512,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -97653,7 +97581,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -97720,7 +97648,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -97885,7 +97813,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -97905,7 +97833,7 @@ } }, "415": { - "description": "Preview Header Missing", + "description": "Preview header missing", "content": { "application/json": { "schema": { @@ -97927,7 +97855,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -97996,7 +97924,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -98019,7 +97947,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -98096,7 +98024,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -98186,7 +98114,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -98209,7 +98137,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -98285,7 +98213,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -98358,7 +98286,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -98381,7 +98309,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -98411,7 +98339,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -98463,7 +98391,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -98689,10 +98617,10 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -98747,10 +98675,10 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -98773,7 +98701,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -98813,7 +98741,7 @@ } }, "415": { - "description": "Preview Header Missing", + "description": "Preview header missing", "content": { "application/json": { "schema": { @@ -98885,7 +98813,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -103597,7 +103525,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -103617,7 +103545,7 @@ } }, "301": { - "description": "Moved Permanently" + "description": "Moved permanently" } }, "x-github": { @@ -103766,7 +103694,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -107966,7 +107894,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -108035,7 +107963,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -108105,7 +108033,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "403": { "description": "If an organization owner has configured the organization to prevent members from deleting organization-owned repositories, a member will get this response:", @@ -108130,7 +108058,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -108211,7 +108139,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -108389,7 +108317,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -108525,7 +108453,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "x-github": { @@ -108588,7 +108516,7 @@ ], "responses": { "302": { - "description": "response", + "description": "Response", "headers": { "Location": { "example": "https://pipelines.actions.githubusercontent.com/OhgS4QRKqmgx7bKC27GKU83jnQjyeqG8oIMTge8eqtheppcmw8/_apis/pipelines/1/runs/176/signedlogcontent?urlExpires=2020-01-24T18%3A10%3A31.5729946Z&urlSigningMethod=HMACV1&urlSignature=agG73JakPYkHrh06seAkvmH7rBR4Ji4c2%2B6a2ejYh3E%3D", @@ -108651,7 +108579,7 @@ ], "responses": { "202": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -108957,7 +108885,7 @@ ], "responses": { "302": { - "description": "response", + "description": "Response", "headers": { "Location": { "example": "https://pipelines.actions.githubusercontent.com/ab1f3cCFPB34Nd6imvFxpGZH5hNlDp2wijMwl2gDoO0bcrrlJj/_apis/pipelines/1/jobs/19/signedlogcontent?urlExpires=2020-01-22T22%3A44%3A54.1389777Z&urlSigningMethod=HMACV1&urlSignature=2TUDfIg4fm36OJmfPy6km5QD5DLCOkBVzvhWZM8B%2BUY%3D", @@ -109011,7 +108939,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -109094,7 +109022,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "requestBody": { @@ -109171,7 +109099,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -109256,7 +109184,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "requestBody": { @@ -109363,7 +109291,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -109560,7 +109488,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -109674,7 +109602,7 @@ ], "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -110740,7 +110668,7 @@ ], "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -111815,7 +111743,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -111967,7 +111895,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "x-github": { @@ -112082,7 +112010,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -115616,7 +115544,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -119120,7 +119048,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "x-github": { @@ -119478,7 +119406,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -119656,7 +119584,7 @@ ], "responses": { "202": { - "description": "response" + "description": "Response" } }, "x-github": { @@ -119743,7 +119671,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -120077,7 +120005,7 @@ ], "responses": { "302": { - "description": "response", + "description": "Response", "headers": { "Location": { "example": "https://pipelines.actions.githubusercontent.com/ab1f3cCFPB34Nd6imvFxpGZH5hNlDp2wijMwl2gDoO0bcrrlJj/_apis/pipelines/1/runs/19/signedlogcontent?urlExpires=2020-01-22T22%3A44%3A54.1389777Z&urlSigningMethod=HMACV1&urlSignature=2TUDfIg4fm36OJmfPy6km5QD5DLCOkBVzvhWZM8B%2BUY%3D", @@ -120138,7 +120066,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "x-github": { @@ -121196,7 +121124,7 @@ ], "responses": { "201": { - "description": "response" + "description": "Response" } }, "x-github": { @@ -121251,7 +121179,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -121404,7 +121332,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -121521,7 +121449,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -121625,7 +121553,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -121796,7 +121724,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "x-github": { @@ -121860,7 +121788,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -122052,7 +121980,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -122204,7 +122132,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "x-github": { @@ -122266,7 +122194,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "requestBody": { @@ -122361,7 +122289,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "x-github": { @@ -122492,7 +122420,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -126033,7 +125961,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -126157,7 +126085,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -126313,7 +126241,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -126450,7 +126378,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "x-github": { @@ -126498,7 +126426,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "x-github": { @@ -126575,7 +126503,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -127301,18 +127229,6 @@ }, "examples": { "default": { - "value": [ - { - "name": "master", - "commit": { - "sha": "c5b97d5ae6c19d5c5df71a34c7fbeeda2479ccbc", - "url": "https://api.github.com/repos/octocat/Hello-World/commits/c5b97d5ae6c19d5c5df71a34c7fbeeda2479ccbc" - }, - "protected": true - } - ] - }, - "with-protection": { "value": [ { "name": "master", @@ -127348,7 +127264,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -127421,7 +127337,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -128739,7 +128655,7 @@ } }, "415": { - "description": "Preview Header Missing", + "description": "Preview header missing", "content": { "application/json": { "schema": { @@ -128761,7 +128677,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -128834,7 +128750,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -129680,7 +129596,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -129919,7 +129835,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -130650,7 +130566,7 @@ } }, "415": { - "description": "Preview Header Missing", + "description": "Preview header missing", "content": { "application/json": { "schema": { @@ -130672,7 +130588,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -130702,7 +130618,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -130777,7 +130693,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "403": { "description": "Forbidden", @@ -130853,7 +130769,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -130939,7 +130855,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -131028,7 +130944,7 @@ "description": "No Content" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -131101,7 +131017,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/vnd.github.luke-cage-preview+json": { "schema": { @@ -131580,7 +131496,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -131948,7 +131864,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -132075,7 +131991,7 @@ "description": "No Content" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -132148,7 +132064,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -132183,7 +132099,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -132258,7 +132174,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -132293,7 +132209,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -132371,7 +132287,7 @@ "description": "No Content" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -132448,7 +132364,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -132503,7 +132419,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -132602,7 +132518,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -132657,7 +132573,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -132677,7 +132593,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -132853,7 +132769,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -132869,7 +132785,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -132966,7 +132882,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -132983,7 +132899,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -133072,7 +132988,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -133170,7 +133086,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -133186,7 +133102,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -133255,7 +133171,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -133353,7 +133269,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -133369,7 +133285,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -133389,7 +133305,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -133512,7 +133428,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -133883,7 +133799,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -134010,7 +133926,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -134309,7 +134225,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -134406,7 +134322,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -134705,7 +134621,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -134852,7 +134768,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -135151,7 +135067,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -135298,7 +135214,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -135597,7 +135513,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -135720,7 +135636,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -135891,7 +135807,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -135988,7 +135904,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -136159,7 +136075,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -136306,7 +136222,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -136477,7 +136393,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -136624,7 +136540,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -136795,7 +136711,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -136918,7 +136834,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -137066,7 +136982,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -137163,7 +137079,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -137311,7 +137227,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -137458,7 +137374,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -137606,7 +137522,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -137753,7 +137669,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -137901,7 +137817,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -138045,7 +137961,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -139383,7 +139299,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -139403,7 +139319,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -139739,7 +139655,7 @@ }, "examples": { "example-of-in-progress-conclusion": { - "summary": "Example of in_progress conclusion", + "summary": "Response for in_progress conclusion", "value": { "name": "mighty_readme", "head_sha": "ce587453ced02b1526dfb4cb910479d431683101", @@ -139754,7 +139670,7 @@ } }, "example-of-completed-conclusion": { - "summary": "Example of completed conclusion", + "summary": "Response for completed conclusion", "value": { "name": "mighty_readme", "head_sha": "ce587453ced02b1526dfb4cb910479d431683101", @@ -139808,7 +139724,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -140624,101 +140540,8 @@ ] }, "examples": { - "example-of-in-progress-conclusion": { - "summary": "Example of in_progress conclusion", - "value": { - "id": 4, - "head_sha": "ce587453ced02b1526dfb4cb910479d431683101", - "node_id": "MDg6Q2hlY2tSdW40", - "external_id": "42", - "url": "https://api.github.com/repos/github/hello-world/check-runs/4", - "html_url": "https://github.com/github/hello-world/runs/4", - "details_url": "https://example.com", - "status": "in_progress", - "conclusion": "neutral", - "started_at": "2018-05-04T01:14:52Z", - "completed_at": null, - "output": { - "title": "Mighty Readme Report", - "summary": "", - "text": "", - "annotations_count": 1, - "annotations_url": "https://api.github.com/repos/github/hello-world/check-runs/4/annotations" - }, - "name": "mighty_readme", - "check_suite": { - "id": 5 - }, - "app": { - "id": 1, - "slug": "octoapp", - "node_id": "MDExOkludGVncmF0aW9uMQ==", - "owner": { - "login": "github", - "id": 1, - "node_id": "MDEyOk9yZ2FuaXphdGlvbjE=", - "url": "https://api.github.com/orgs/github", - "repos_url": "https://api.github.com/orgs/github/repos", - "events_url": "https://api.github.com/orgs/github/events", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": true - }, - "name": "Octocat App", - "description": "", - "external_url": "https://example.com", - "html_url": "https://github.com/apps/octoapp", - "created_at": "2017-07-08T16:18:44-04:00", - "updated_at": "2017-07-08T16:18:44-04:00", - "permissions": { - "metadata": "read", - "contents": "read", - "issues": "write", - "single_file": "write" - }, - "events": [ - "push", - "pull_request" - ] - }, - "pull_requests": [ - { - "url": "https://api.github.com/repos/github/hello-world/pulls/1", - "id": 1934, - "number": 3956, - "head": { - "ref": "say-hello", - "sha": "3dca65fa3e8d4b3da3f3d056c59aee1c50f41390", - "repo": { - "id": 526, - "url": "https://api.github.com/repos/github/hello-world", - "name": "hello-world" - } - }, - "base": { - "ref": "master", - "sha": "e7fdf7640066d71ad16a86fbcbb9c6a10a18af4f", - "repo": { - "id": 526, - "url": "https://api.github.com/repos/github/hello-world", - "name": "hello-world" - } - } - } - ] - } - }, "example-of-completed-conclusion": { - "summary": "Example of completed conclusion", + "summary": "Response for completed conclusion", "value": { "id": 4, "head_sha": "ce587453ced02b1526dfb4cb910479d431683101", @@ -140867,7 +140690,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -142084,7 +141907,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -143067,7 +142890,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -143231,7 +143054,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -145616,7 +145439,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -146811,7 +146634,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -149219,7 +149042,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -150212,7 +150035,7 @@ ], "responses": { "201": { - "description": "response" + "description": "Response" } }, "x-github": { @@ -150229,7 +150052,7 @@ "/repos/{owner}/{repo}/code-scanning/alerts": { "get": { "summary": "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 the default branch or for the specified Git reference\n(if you used `ref` in the request).", + "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).", "tags": [ "code-scanning" ], @@ -150301,7 +150124,7 @@ "required": false, "schema": { "type": "string", - "description": "The full Git reference, formatted as `refs/heads/`." + "description": "The full Git reference, formatted as `refs/heads/`,\n`refs/pull//merge`, or `refs/pull//head`." } }, { @@ -150314,6 +150137,7 @@ "description": "State of a code scanning alert.", "enum": [ "open", + "closed", "dismissed", "fixed" ] @@ -150322,7 +150146,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -150369,6 +150193,7 @@ "description": "State of a code scanning alert.", "enum": [ "open", + "closed", "dismissed", "fixed" ] @@ -150564,7 +150389,7 @@ "properties": { "ref": { "type": "string", - "description": "The full Git reference, formatted as `refs/heads/`." + "description": "The full Git reference, formatted as `refs/heads/`,\n`refs/pull//merge`, or `refs/pull//head`." }, "analysis_key": { "type": "string", @@ -150579,6 +150404,7 @@ "description": "State of a code scanning alert.", "enum": [ "open", + "closed", "dismissed", "fixed" ] @@ -150765,7 +150591,7 @@ } }, "403": { - "description": "Response if github advanced security is not enabled for this repository", + "description": "Response if GitHub Advanced Security is not enabled for this repository", "content": { "application/json": { "schema": { @@ -150785,7 +150611,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -150805,7 +150631,7 @@ } }, "503": { - "description": "Service Unavailable", + "description": "Service unavailable", "content": { "application/json": { "schema": { @@ -150881,7 +150707,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -150926,6 +150752,7 @@ "description": "State of a code scanning alert.", "enum": [ "open", + "closed", "dismissed", "fixed" ] @@ -151136,7 +150963,7 @@ "properties": { "ref": { "type": "string", - "description": "The full Git reference, formatted as `refs/heads/`." + "description": "The full Git reference, formatted as `refs/heads/`,\n`refs/pull//merge`, or `refs/pull//head`." }, "analysis_key": { "type": "string", @@ -151151,6 +150978,7 @@ "description": "State of a code scanning alert.", "enum": [ "open", + "closed", "dismissed", "fixed" ] @@ -151298,7 +151126,7 @@ } }, "403": { - "description": "Response if github advanced security is not enabled for this repository", + "description": "Response if GitHub Advanced Security is not enabled for this repository", "content": { "application/json": { "schema": { @@ -151318,7 +151146,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -151338,7 +151166,7 @@ } }, "503": { - "description": "Service Unavailable", + "description": "Service unavailable", "content": { "application/json": { "schema": { @@ -151457,7 +151285,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -151502,6 +151330,7 @@ "description": "State of a code scanning alert.", "enum": [ "open", + "closed", "dismissed", "fixed" ] @@ -151712,7 +151541,7 @@ "properties": { "ref": { "type": "string", - "description": "The full Git reference, formatted as `refs/heads/`." + "description": "The full Git reference, formatted as `refs/heads/`,\n`refs/pull//merge`, or `refs/pull//head`." }, "analysis_key": { "type": "string", @@ -151727,6 +151556,7 @@ "description": "State of a code scanning alert.", "enum": [ "open", + "closed", "dismissed", "fixed" ] @@ -151894,7 +151724,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -151914,7 +151744,7 @@ } }, "503": { - "description": "Service Unavailable", + "description": "Service unavailable", "content": { "application/json": { "schema": { @@ -152011,13 +151841,13 @@ "required": false, "schema": { "type": "string", - "description": "The full Git reference, formatted as `refs/heads/`." + "description": "The full Git reference, formatted as `refs/heads/`,\n`refs/pull//merge`, or `refs/pull//head`." } } ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -152027,7 +151857,7 @@ "properties": { "ref": { "type": "string", - "description": "The full Git reference, formatted as `refs/heads/`." + "description": "The full Git reference, formatted as `refs/heads/`,\n`refs/pull//merge`, or `refs/pull//head`." }, "analysis_key": { "type": "string", @@ -152042,6 +151872,7 @@ "description": "State of a code scanning alert.", "enum": [ "open", + "closed", "dismissed", "fixed" ] @@ -152149,7 +151980,7 @@ } }, "403": { - "description": "Response if github advanced security is not enabled for this repository", + "description": "Response if GitHub Advanced Security is not enabled for this repository", "content": { "application/json": { "schema": { @@ -152169,7 +152000,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -152189,7 +152020,7 @@ } }, "503": { - "description": "Service Unavailable", + "description": "Service unavailable", "content": { "application/json": { "schema": { @@ -152296,7 +152127,7 @@ "required": false, "schema": { "type": "string", - "description": "The full Git reference, formatted as `refs/heads/`." + "description": "The full Git reference, formatted as `refs/heads/`,\n`refs/pull//merge`, or `refs/pull//head`." } }, { @@ -152314,7 +152145,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -152324,7 +152155,7 @@ "properties": { "ref": { "type": "string", - "description": "The full Git reference, formatted as `refs/heads/`." + "description": "The full Git reference, formatted as `refs/heads/`,\n`refs/pull//merge`, or `refs/pull//head`." }, "commit_sha": { "description": "The SHA of the commit to which the analysis you are uploading relates.", @@ -152465,7 +152296,7 @@ } }, "403": { - "description": "Response if github advanced security is not enabled for this repository", + "description": "Response if GitHub Advanced Security is not enabled for this repository", "content": { "application/json": { "schema": { @@ -152485,7 +152316,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -152505,7 +152336,7 @@ } }, "503": { - "description": "Service Unavailable", + "description": "Service unavailable", "content": { "application/json": { "schema": { @@ -152577,7 +152408,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -152585,7 +152416,7 @@ "properties": { "ref": { "type": "string", - "description": "The full Git reference, formatted as `refs/heads/`." + "description": "The full Git reference, formatted as `refs/heads/`,\n`refs/pull//merge`, or `refs/pull//head`." }, "commit_sha": { "description": "The SHA of the commit to which the analysis you are uploading relates.", @@ -152705,7 +152536,7 @@ } }, "403": { - "description": "Response if github advanced security is not enabled for this repository", + "description": "Response if GitHub Advanced Security is not enabled for this repository", "content": { "application/json": { "schema": { @@ -152725,7 +152556,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -152745,7 +152576,7 @@ } }, "503": { - "description": "Service Unavailable", + "description": "Service unavailable", "content": { "application/json": { "schema": { @@ -152815,16 +152646,17 @@ { "name": "confirm_delete", "in": "query", - "description": "Allow deletion if the specified analysis is the last in a set. The parameter can be used without a value as the parameter value is not considered. If you attempt to delete the final analysis in a set without using this parameter you'll get a 400 response with the message: `Analysis is last of its type and deletion may result in the loss of historical alert data. Please specify confirm_delete.`", + "description": "Allow deletion if the specified analysis is the last in a set. If you attempt to delete the final analysis in a set without setting this parameter to `true`, you'll get a 400 response with the message: `Analysis is last of its type and deletion may result in the loss of historical alert data. Please specify confirm_delete.`", "required": false, "schema": { - "type": "string" + "type": "string", + "nullable": true } } ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -152939,7 +152771,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -152959,7 +152791,7 @@ } }, "503": { - "description": "Service Unavailable", + "description": "Service unavailable", "content": { "application/json": { "schema": { @@ -152993,7 +152825,7 @@ "/repos/{owner}/{repo}/code-scanning/sarifs": { "post": { "summary": "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\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\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).\"", + "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/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/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\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).\"", "operationId": "code-scanning/upload-sarif", "tags": [ "code-scanning" @@ -153035,7 +152867,7 @@ }, "ref": { "type": "string", - "description": "The full Git reference, formatted as `refs/heads/`." + "description": "The full Git reference, formatted as `refs/heads/`,\n`refs/pull//merge`, or `refs/pull//head`." }, "sarif": { "description": "A Base64 string representing the SARIF file to upload. You must first compress your SARIF file using [`gzip`](http://www.gnu.org/software/gzip/manual/gzip.html) and then translate the contents of the file into a Base64 encoding string. For more information, see \"[SARIF support for code scanning](https://docs.github.com/github/finding-security-vulnerabilities-and-errors-in-your-code/sarif-support-for-code-scanning).\"", @@ -153068,7 +152900,7 @@ }, "responses": { "202": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -153125,7 +152957,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -153148,7 +152980,7 @@ "description": "Response if the sarif field is too large" }, "503": { - "description": "Service Unavailable", + "description": "Service unavailable", "content": { "application/json": { "schema": { @@ -153220,7 +153052,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -153256,7 +153088,7 @@ } }, "403": { - "description": "Response if github advanced security is not enabled for this repository", + "description": "Response if GitHub Advanced Security is not enabled for this repository", "content": { "application/json": { "schema": { @@ -153279,7 +153111,7 @@ "description": "Response if the sarif id does not match any upload" }, "503": { - "description": "Service Unavailable", + "description": "Service unavailable", "content": { "application/json": { "schema": { @@ -153375,7 +153207,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -153550,7 +153382,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -155609,7 +155441,7 @@ "description": "Response when person is already a collaborator" }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -155748,7 +155580,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "x-github": { @@ -155967,7 +155799,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -156048,7 +155880,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -156406,7 +156238,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -156695,7 +156527,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -156790,7 +156622,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -157079,7 +156911,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -157149,10 +156981,10 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -157261,7 +157093,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -157470,7 +157302,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -157490,7 +157322,7 @@ } }, "415": { - "description": "Preview Header Missing", + "description": "Preview header missing", "content": { "application/json": { "schema": { @@ -157989,7 +157821,7 @@ } }, "415": { - "description": "Preview Header Missing", + "description": "Preview header missing", "content": { "application/json": { "schema": { @@ -158011,7 +157843,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -158144,7 +157976,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "x-github": { @@ -158253,11 +158085,31 @@ "type": "integer", "default": 1 } + }, + { + "name": "top", + "description": "legacy parameter for pagination.", + "in": "query", + "deprecated": true, + "required": false, + "schema": { + "type": "string" + } + }, + { + "name": "last_sha", + "description": "legacy parameter for pagination.", + "in": "query", + "deprecated": true, + "required": false, + "schema": { + "type": "string" + } } ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -158910,7 +158762,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -159003,7 +158855,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -159060,7 +158912,7 @@ } }, "415": { - "description": "Preview Header Missing", + "description": "Preview header missing", "content": { "application/json": { "schema": { @@ -159082,7 +158934,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -159226,7 +159078,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -159619,7 +159471,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -159936,7 +159788,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -160077,7 +159929,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -164052,7 +163904,7 @@ } }, "415": { - "description": "Preview Header Missing", + "description": "Preview header missing", "content": { "application/json": { "schema": { @@ -164118,9 +163970,27 @@ "type": "string" } }, + { + "name": "page", + "description": "Page number of the results to fetch.", + "in": "query", + "schema": { + "type": "integer", + "default": 1 + } + }, + { + "name": "per_page", + "description": "Results per page (max 100).", + "in": "query", + "schema": { + "type": "integer", + "default": 30 + } + }, { "name": "ref", - "description": "ref+ parameter", + "description": "ref parameter", "in": "path", "required": true, "schema": { @@ -164131,7 +164001,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -164714,7 +164584,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -164783,7 +164653,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -164865,7 +164735,7 @@ }, { "name": "ref", - "description": "ref+ parameter", + "description": "ref parameter", "in": "path", "required": true, "schema": { @@ -164927,11 +164797,19 @@ "type": "integer", "default": 1 } + }, + { + "name": "app_id", + "in": "query", + "required": false, + "schema": { + "type": "integer" + } } ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -165914,7 +165792,7 @@ }, { "name": "ref", - "description": "ref+ parameter", + "description": "ref parameter", "in": "path", "required": true, "schema": { @@ -165962,7 +165840,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -168212,18 +168090,36 @@ }, { "name": "ref", - "description": "ref+ parameter", + "description": "ref parameter", "in": "path", "required": true, "schema": { "type": "string" }, "x-multi-segment": true + }, + { + "name": "per_page", + "description": "Results per page (max 100).", + "in": "query", + "schema": { + "type": "integer", + "default": 30 + } + }, + { + "name": "page", + "description": "Page number of the results to fetch.", + "in": "query", + "schema": { + "type": "integer", + "default": 1 + } } ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -169918,7 +169814,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -169980,7 +169876,7 @@ }, { "name": "ref", - "description": "ref+ parameter", + "description": "ref parameter", "in": "path", "required": true, "schema": { @@ -170009,7 +169905,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -170228,7 +170124,7 @@ } }, "301": { - "description": "Moved Permanently" + "description": "Moved permanently" } }, "x-github": { @@ -170274,7 +170170,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -170374,7 +170270,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -170661,7 +170557,7 @@ "/repos/{owner}/{repo}/compare/{base}...{head}": { "get": { "summary": "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. |", + "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\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. |", "tags": [ "repos" ], @@ -170702,11 +170598,29 @@ "schema": { "type": "string" } + }, + { + "name": "per_page", + "description": "Results per page.", + "in": "query", + "schema": { + "type": "integer", + "default": 250 + } + }, + { + "name": "page", + "description": "Page number of the results to fetch.", + "in": "query", + "schema": { + "type": "integer", + "default": 1 + } } ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -172569,7 +172483,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -172631,7 +172545,7 @@ }, { "name": "path", - "description": "path+ parameter", + "description": "path parameter", "in": "path", "required": true, "schema": { @@ -172651,7 +172565,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/vnd.github.v3.object": { "schema": { @@ -173263,7 +173177,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -173346,7 +173260,7 @@ }, { "name": "path", - "description": "path+ parameter", + "description": "path parameter", "in": "path", "required": true, "schema": { @@ -173457,7 +173371,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -173673,7 +173587,7 @@ } }, "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -173889,7 +173803,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -173909,7 +173823,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -174038,7 +173952,7 @@ }, { "name": "path", - "description": "path+ parameter", + "description": "path parameter", "in": "path", "required": true, "schema": { @@ -174112,7 +174026,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -174313,7 +174227,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -174382,7 +174296,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -174422,7 +174336,7 @@ } }, "503": { - "description": "Service Unavailable", + "description": "Service unavailable", "content": { "application/json": { "schema": { @@ -174664,7 +174578,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -174761,7 +174675,8 @@ "required": false, "schema": { "type": "string", - "default": "none" + "default": "none", + "nullable": true } }, { @@ -174785,7 +174700,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -175452,7 +175367,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -175961,48 +175876,6 @@ "transient_environment": false, "production_environment": true } - }, - "advanced-example": { - "summary": "Advanced example", - "value": { - "url": "https://api.github.com/repos/octocat/example/deployments/1", - "id": 1, - "node_id": "MDEwOkRlcGxveW1lbnQx", - "sha": "a84d88e7554fc1fa21bcbc4efae3c782a70d2b9d", - "ref": "topic-branch", - "task": "deploy", - "payload": { - }, - "original_environment": "staging", - "environment": "production", - "description": "Deploy request from hubot", - "creator": { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - }, - "created_at": "2012-07-20T01:19:13Z", - "updated_at": "2012-07-20T01:19:13Z", - "statuses_url": "https://api.github.com/repos/octocat/example/deployments/1/statuses", - "repository_url": "https://api.github.com/repos/octocat/example", - "transient_environment": false, - "production_environment": true - } } } } @@ -176031,40 +175904,10 @@ } }, "409": { - "description": "response", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string", - "example": "\"https://docs.github.com/rest/reference/repos#create-a-deployment\"" - } - } - }, - "examples": { - "merge-conflict-response": { - "summary": "Merge conflict response", - "value": { - "message": "Conflict merging master into topic-branch" - } - }, - "failed-commit-status-checks": { - "summary": "Failed commit status checks", - "value": { - "message": "Conflict: Commit status checks failed for topic-branch." - } - } - } - } - } + "description": "Response when there is a merge conflict or the commit's status checks failed" }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -176189,7 +176032,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -176703,7 +176546,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -176777,10 +176620,10 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -176800,7 +176643,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -176900,7 +176743,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -177424,7 +177267,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -177569,7 +177412,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -178088,7 +177931,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -178226,7 +178069,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -178737,7 +178580,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -178757,7 +178600,7 @@ } }, "415": { - "description": "Preview Header Missing", + "description": "Preview header missing", "content": { "application/json": { "schema": { @@ -178861,10 +178704,10 @@ }, "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -180556,7 +180399,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Default response" } }, "x-github": { @@ -180620,7 +180463,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -183338,7 +183181,8 @@ "enum": [ "newest", "oldest", - "stargazers" + "stargazers", + "watchers" ], "default": "newest" } @@ -183360,11 +183204,31 @@ "type": "integer", "default": 1 } + }, + { + "name": "org", + "description": "legacy query parameter for specifying the org.", + "in": "query", + "deprecated": true, + "required": false, + "schema": { + "type": "string" + } + }, + { + "name": "organization", + "description": "legacy query parameter for specifying the org.", + "in": "query", + "deprecated": true, + "required": false, + "schema": { + "type": "string" + } } ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -185080,6 +184944,26 @@ "schema": { "type": "string" } + }, + { + "name": "org", + "description": "legacy query parameter for specifying the org.", + "in": "query", + "deprecated": true, + "required": false, + "schema": { + "type": "string" + } + }, + { + "name": "organization", + "description": "legacy query parameter for specifying the org.", + "in": "query", + "deprecated": true, + "required": false, + "schema": { + "type": "string" + } } ], "requestBody": { @@ -185087,6 +184971,7 @@ "application/json": { "schema": { "type": "object", + "nullable": true, "properties": { "organization": { "type": "string", @@ -185099,7 +184984,7 @@ }, "responses": { "202": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -186248,7 +186133,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -186337,7 +186222,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -186427,7 +186312,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -186467,7 +186352,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -186527,7 +186412,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -186647,7 +186532,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -186704,7 +186589,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -186724,7 +186609,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -186939,7 +186824,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -187155,7 +187040,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -187224,7 +187109,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -187297,7 +187182,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -187505,7 +187390,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -187567,7 +187452,7 @@ }, { "name": "ref", - "description": "ref+ parameter", + "description": "ref parameter", "in": "path", "required": true, "schema": { @@ -187596,7 +187481,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -187729,7 +187614,7 @@ }, { "name": "ref", - "description": "ref+ parameter", + "description": "ref parameter", "in": "path", "required": true, "schema": { @@ -187740,7 +187625,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -187808,7 +187693,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -187902,7 +187787,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -187978,7 +187863,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -188089,7 +187974,7 @@ }, { "name": "ref", - "description": "ref+ parameter", + "description": "ref parameter", "in": "path", "required": true, "schema": { @@ -188127,7 +188012,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -188195,7 +188080,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -188304,7 +188189,7 @@ }, { "name": "ref", - "description": "ref+ parameter", + "description": "ref parameter", "in": "path", "required": true, "schema": { @@ -188315,10 +188200,10 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -188497,7 +188382,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -188644,7 +188529,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -188764,7 +188649,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -188903,7 +188788,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -189037,7 +188922,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -189165,7 +189050,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -189234,7 +189119,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -189320,7 +189205,8 @@ "required": true, "schema": { "type": "string" - } + }, + "x-multi-segment": true }, { "name": "recursive", @@ -189334,7 +189220,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -189488,7 +189374,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -189557,7 +189443,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -189638,7 +189524,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -189835,7 +189721,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -189980,7 +189866,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -190172,7 +190058,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -190192,7 +190078,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -190332,7 +190218,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -190516,7 +190402,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -190669,7 +190555,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -190853,7 +190739,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -190922,7 +190808,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -190991,10 +190877,10 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -191065,7 +190951,7 @@ ], "responses": { "200": { - "description": "Default response", + "description": "Response", "content": { "application/json": { "schema": { @@ -191197,7 +191083,7 @@ }, "responses": { "200": { - "description": "Default response", + "description": "Response", "content": { "application/json": { "schema": { @@ -191293,10 +191179,10 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -191367,10 +191253,10 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -191433,7 +191319,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -191589,7 +191475,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -191696,7 +191582,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -191861,7 +191747,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -191930,7 +191816,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -192027,7 +191913,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -192259,7 +192145,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "x-github": { @@ -192314,7 +192200,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -192396,7 +192282,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -192494,7 +192380,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -192553,7 +192439,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -192622,7 +192508,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -192685,7 +192571,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -192812,7 +192698,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -192968,7 +192854,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -193080,7 +192966,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -193587,10 +193473,10 @@ } }, "301": { - "description": "Moved Permanently" + "description": "Moved permanently" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -193653,7 +193539,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -193779,7 +193665,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -193870,7 +193756,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "409": { "description": "Conflict" @@ -193937,7 +193823,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -195927,7 +195813,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -197881,7 +197767,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "x-github": { @@ -198043,7 +197929,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -200213,10 +200099,10 @@ } }, "301": { - "description": "Moved Permanently" + "description": "Moved permanently" }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -200285,7 +200171,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -200444,7 +200330,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -202800,7 +202686,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -202869,7 +202755,7 @@ } }, "503": { - "description": "Service Unavailable", + "description": "Service unavailable", "content": { "application/json": { "schema": { @@ -202890,7 +202776,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -203028,7 +202914,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -203573,7 +203459,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -203642,7 +203528,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -203718,7 +203604,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -204250,7 +204136,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -204345,7 +204231,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -204877,7 +204763,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -204996,7 +204882,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "x-github": { @@ -205088,7 +204974,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -205297,7 +205183,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -205317,7 +205203,7 @@ } }, "415": { - "description": "Preview Header Missing", + "description": "Preview header missing", "content": { "application/json": { "schema": { @@ -205816,7 +205702,7 @@ } }, "415": { - "description": "Preview Header Missing", + "description": "Preview header missing", "content": { "application/json": { "schema": { @@ -205838,7 +205724,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -205971,7 +205857,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "x-github": { @@ -206039,7 +205925,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -209141,7 +209027,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -209265,7 +209151,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -212354,7 +212240,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -212470,7 +212356,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -214798,10 +214684,10 @@ } }, "301": { - "description": "Moved Permanently" + "description": "Moved permanently" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -214841,7 +214727,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" } }, "x-github": { @@ -215000,7 +214886,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -217328,7 +217214,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -217397,7 +217283,7 @@ } }, "503": { - "description": "Service Unavailable", + "description": "Service unavailable", "content": { "application/json": { "schema": { @@ -217438,10 +217324,10 @@ } }, "301": { - "description": "Moved Permanently" + "description": "Moved permanently" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -217557,7 +217443,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -219828,7 +219714,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -222104,7 +221990,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -222649,7 +222535,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -222764,7 +222650,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -223344,7 +223230,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -223413,7 +223299,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -223504,7 +223390,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -223857,7 +223743,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -224045,7 +223931,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -224148,7 +224034,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -224291,7 +224177,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -224394,7 +224280,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -224513,7 +224399,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "410": { "description": "Gone", @@ -224596,7 +224482,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -224670,7 +224556,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -224784,7 +224670,7 @@ }, "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "403": { "description": "Forbidden", @@ -224827,7 +224713,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -224847,7 +224733,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -224966,7 +224852,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "403": { "description": "Forbidden", @@ -224989,7 +224875,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -225098,7 +224984,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -225307,7 +225193,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -225347,7 +225233,7 @@ } }, "415": { - "description": "Preview Header Missing", + "description": "Preview header missing", "content": { "application/json": { "schema": { @@ -225454,7 +225340,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -225650,7 +225536,7 @@ } }, "415": { - "description": "Preview Header Missing", + "description": "Preview header missing", "content": { "application/json": { "schema": { @@ -225672,7 +225558,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -225805,7 +225691,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "x-github": { @@ -225882,7 +225768,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -226141,7 +226027,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -226181,7 +226067,7 @@ } }, "415": { - "description": "Preview Header Missing", + "description": "Preview header missing", "content": { "application/json": { "schema": { @@ -226273,7 +226159,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -226415,7 +226301,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -226480,7 +226366,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -226601,7 +226487,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -226658,7 +226544,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -226728,7 +226614,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "x-github": { @@ -226792,7 +226678,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -226883,7 +226769,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -226950,7 +226836,7 @@ "properties": { "name": { "type": "string", - "description": "The name of the label. Emoji can be added to label names, using either native emoji or colon-style markup. For example, typing `:strawberry:` will render the emoji ![:strawberry:](https://github.githubassets.com/images/icons/emoji/unicode/1f353.png \":strawberry:\"). For a full list of available emoji and codes, see [emoji-cheat-sheet.com](http://emoji-cheat-sheet.com/)." + "description": "The name of the label. Emoji can be added to label names, using either native emoji or colon-style markup. For example, typing `:strawberry:` will render the emoji ![:strawberry:](https://github.githubassets.com/images/icons/emoji/unicode/1f353.png \":strawberry:\"). For a full list of available emoji and codes, see \"[Emoji cheat sheet](https://github.com/ikatyang/emoji-cheat-sheet).\"" }, "color": { "type": "string", @@ -226975,7 +226861,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -227052,7 +226938,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -227121,7 +227007,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -227192,7 +227078,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -227261,7 +227147,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -227336,7 +227222,7 @@ "properties": { "new_name": { "type": "string", - "description": "The new name of the label. Emoji can be added to label names, using either native emoji or colon-style markup. For example, typing `:strawberry:` will render the emoji ![:strawberry:](https://github.githubassets.com/images/icons/emoji/unicode/1f353.png \":strawberry:\"). For a full list of available emoji and codes, see [emoji-cheat-sheet.com](http://emoji-cheat-sheet.com/)." + "description": "The new name of the label. Emoji can be added to label names, using either native emoji or colon-style markup. For example, typing `:strawberry:` will render the emoji ![:strawberry:](https://github.githubassets.com/images/icons/emoji/unicode/1f353.png \":strawberry:\"). For a full list of available emoji and codes, see \"[Emoji cheat sheet](https://github.com/ikatyang/emoji-cheat-sheet).\"" }, "color": { "type": "string", @@ -227358,7 +227244,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -227476,7 +227362,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "x-github": { @@ -227522,7 +227408,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -227588,7 +227474,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -228414,63 +228300,10 @@ } }, "404": { - "description": "response", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string", - "example": "\"https://docs.github.com/rest/reference/repos#perform-a-merge\"" - } - } - }, - "examples": { - "missing-base-response": { - "summary": "Missing base response", - "value": { - "message": "Base does not exist" - } - }, - "missing-head-response": { - "summary": "Missing head response", - "value": { - "message": "Head does not exist" - } - } - } - } - } + "description": "Response when the base or head does not exist" }, "409": { - "description": "Merge conflict response", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string", - "example": "\"https://docs.github.com/rest/reference/repos#perform-a-merge\"" - } - } - }, - "examples": { - "merge-conflict-response": { - "value": { - "message": "Merge Conflict" - } - } - } - } - } + "description": "Response when there is a merge conflict" }, "403": { "description": "Forbidden", @@ -228493,7 +228326,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -228666,7 +228499,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -228947,7 +228780,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -229049,7 +228882,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -229325,7 +229158,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -229345,7 +229178,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -229466,7 +229299,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -229734,7 +229567,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -229842,7 +229675,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -230160,10 +229993,10 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -230253,7 +230086,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -230443,7 +230276,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -232158,7 +231991,7 @@ }, "responses": { "202": { - "description": "response" + "description": "Response" } }, "x-github": { @@ -232204,7 +232037,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -232297,7 +232130,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -232401,7 +232234,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -232494,7 +232327,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -232563,7 +232396,7 @@ } }, "415": { - "description": "Preview Header Missing", + "description": "Preview header missing", "content": { "application/json": { "schema": { @@ -232715,10 +232548,10 @@ }, "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -232882,10 +232715,10 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -232954,7 +232787,7 @@ } }, "415": { - "description": "Preview Header Missing", + "description": "Preview header missing", "content": { "application/json": { "schema": { @@ -232976,7 +232809,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -233061,7 +232894,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -233324,7 +233157,7 @@ ], "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -233402,7 +233235,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -233662,7 +233495,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -233947,7 +233780,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -234216,7 +234049,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -234256,7 +234089,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -234296,7 +234129,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -234397,7 +234230,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -234653,7 +234486,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -234693,7 +234526,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -234733,7 +234566,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -234890,7 +234723,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -238865,10 +238698,10 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -239027,7 +238860,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -242203,7 +242036,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -242315,16 +242148,15 @@ }, { "name": "sort", - "description": "One of `created` (when the repository was starred) or `updated` (when it was last pushed to).", "in": "query", "required": false, "schema": { "type": "string", "enum": [ "created", - "updated" - ], - "default": "created" + "updated", + "created_at" + ] } }, { @@ -242370,7 +242202,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -242896,7 +242728,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -243348,7 +243180,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -243448,7 +243280,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -243954,10 +243786,10 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -244066,7 +243898,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -244275,7 +244107,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -244295,7 +244127,7 @@ } }, "415": { - "description": "Preview Header Missing", + "description": "Preview header missing", "content": { "application/json": { "schema": { @@ -244794,7 +244626,7 @@ } }, "415": { - "description": "Preview Header Missing", + "description": "Preview header missing", "content": { "application/json": { "schema": { @@ -244816,7 +244648,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -244949,7 +244781,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "x-github": { @@ -248155,7 +247987,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "500": { "description": "Internal Error", @@ -248178,7 +248010,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -248288,7 +248120,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -251436,7 +251268,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -251630,7 +251462,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -252236,7 +252068,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -252696,7 +252528,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -252871,7 +252703,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -253331,7 +253163,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -253421,7 +253253,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -254069,7 +253901,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -254170,7 +254002,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -254485,7 +254317,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -254574,7 +254406,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -254664,7 +254496,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -255026,7 +254858,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -259139,10 +258971,10 @@ }, "responses": { "200": { - "description": "response" + "description": "Response" }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -259699,7 +259531,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -259975,7 +259807,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -260086,7 +259918,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -260362,7 +260194,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -260461,7 +260293,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -260737,7 +260569,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -260825,7 +260657,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -261101,7 +260933,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -261131,7 +260963,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -261229,7 +261061,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -261630,7 +261462,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -261732,7 +261564,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -262008,7 +261840,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -262028,7 +261860,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -262145,7 +261977,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -262421,7 +262253,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -262441,7 +262273,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -262561,7 +262393,7 @@ }, "responses": { "202": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -262583,7 +262415,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -262672,7 +262504,7 @@ } }, "415": { - "description": "Preview Header Missing", + "description": "Preview header missing", "content": { "application/json": { "schema": { @@ -262748,6 +262580,279 @@ } } ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "title": "Content File", + "description": "Content File", + "type": "object", + "properties": { + "type": { + "type": "string" + }, + "encoding": { + "type": "string" + }, + "size": { + "type": "integer" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "content": { + "type": "string" + }, + "sha": { + "type": "string" + }, + "url": { + "type": "string", + "format": "uri" + }, + "git_url": { + "type": "string", + "format": "uri", + "nullable": true + }, + "html_url": { + "type": "string", + "format": "uri", + "nullable": true + }, + "download_url": { + "type": "string", + "format": "uri", + "nullable": true + }, + "_links": { + "type": "object", + "properties": { + "git": { + "type": "string", + "format": "uri", + "nullable": true + }, + "html": { + "type": "string", + "format": "uri", + "nullable": true + }, + "self": { + "type": "string", + "format": "uri" + } + }, + "required": [ + "git", + "html", + "self" + ] + }, + "target": { + "type": "string", + "example": "\"actual/actual.md\"" + }, + "submodule_git_url": { + "type": "string", + "example": "\"git://example.com/defunkt/dotjs.git\"" + } + }, + "required": [ + "_links", + "git_url", + "html_url", + "download_url", + "name", + "path", + "sha", + "size", + "type", + "url", + "content", + "encoding" + ] + }, + "examples": { + "default": { + "value": { + "type": "file", + "encoding": "base64", + "size": 5362, + "name": "README.md", + "path": "README.md", + "content": "encoded content ...", + "sha": "3d21ec53a331a6f037a91c368710b99387d012c1", + "url": "https://api.github.com/repos/octokit/octokit.rb/contents/README.md", + "git_url": "https://api.github.com/repos/octokit/octokit.rb/git/blobs/3d21ec53a331a6f037a91c368710b99387d012c1", + "html_url": "https://github.com/octokit/octokit.rb/blob/master/README.md", + "download_url": "https://raw.githubusercontent.com/octokit/octokit.rb/master/README.md", + "_links": { + "git": "https://api.github.com/repos/octokit/octokit.rb/git/blobs/3d21ec53a331a6f037a91c368710b99387d012c1", + "self": "https://api.github.com/repos/octokit/octokit.rb/contents/README.md", + "html": "https://github.com/octokit/octokit.rb/blob/master/README.md" + } + } + } + } + } + } + }, + "404": { + "description": "Resource not found", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + } + } + } + } + } + }, + "422": { + "description": "Validation failed", + "content": { + "application/json": { + "schema": { + "title": "Validation Error", + "description": "Validation Error", + "type": "object", + "required": [ + "message", + "documentation_url" + ], + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "errors": { + "type": "array", + "items": { + "type": "object", + "required": [ + "code" + ], + "properties": { + "resource": { + "type": "string" + }, + "field": { + "type": "string" + }, + "message": { + "type": "string" + }, + "code": { + "type": "string" + }, + "index": { + "type": "integer" + }, + "value": { + "oneOf": [ + { + "type": "string", + "nullable": true + }, + { + "type": "integer", + "nullable": true + }, + { + "type": "array", + "nullable": true, + "items": { + "type": "string" + } + } + ] + } + } + } + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "previews": [ + + ], + "category": "repos", + "subcategory": "contents" + } + } + }, + "/repos/{owner}/{repo}/readme/{dir}": { + "get": { + "summary": "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.", + "tags": [ + "repos" + ], + "operationId": "repos/get-readme-in-directory", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/repos#get-a-repository-directory-readme" + }, + "parameters": [ + { + "name": "owner", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "repo", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "dir", + "description": "The alternate path to look for a README file", + "in": "path", + "required": true, + "schema": { + "type": "string" + }, + "x-multi-segment": true + }, + { + "name": "ref", + "description": "The name of the commit/branch/tag. Default: the repository’s default branch (usually `master`)", + "in": "query", + "required": false, + "schema": { + "type": "string" + } + } + ], "responses": { "200": { "description": "response", @@ -262872,7 +262977,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -262892,7 +262997,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -263022,7 +263127,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -263522,7 +263627,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -263631,7 +263736,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -264126,7 +264231,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -264480,7 +264585,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -264500,7 +264605,7 @@ } }, "415": { - "description": "Preview Header Missing", + "description": "Preview header missing", "content": { "application/json": { "schema": { @@ -264602,7 +264707,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -264884,7 +264989,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "x-github": { @@ -264930,7 +265035,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -265459,7 +265564,7 @@ }, { "name": "tag", - "description": "tag+ parameter", + "description": "tag parameter", "in": "path", "required": true, "schema": { @@ -265470,7 +265575,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -265957,7 +266062,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -266516,7 +266621,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -266629,7 +266734,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -267166,7 +267271,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "x-github": { @@ -267239,7 +267344,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -268123,7 +268228,7 @@ "description": "Repository is public or secret scanning is disabled for the repository" }, "503": { - "description": "Service Unavailable", + "description": "Service unavailable", "content": { "application/json": { "schema": { @@ -268199,7 +268304,7 @@ ], "responses": { "200": { - "description": "Default response", + "description": "Response", "content": { "application/json": { "schema": { @@ -268411,7 +268516,7 @@ "description": "Repository is public, or secret scanning is disabled for the repository, or the resource is not found" }, "503": { - "description": "Service Unavailable", + "description": "Service unavailable", "content": { "application/json": { "schema": { @@ -268531,7 +268636,7 @@ }, "responses": { "200": { - "description": "Default response", + "description": "Response", "content": { "application/json": { "schema": { @@ -268765,7 +268870,7 @@ "description": "State does not match the resolution" }, "503": { - "description": "Service Unavailable", + "description": "Service unavailable", "content": { "application/json": { "schema": { @@ -268846,7 +268951,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -269170,7 +269275,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -269354,7 +269459,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -269855,7 +269960,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -270052,7 +270157,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -270327,7 +270432,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -270671,7 +270776,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -270774,7 +270879,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "x-github": { @@ -270838,7 +270943,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -270970,7 +271075,7 @@ ], "responses": { "302": { - "description": "response", + "description": "Response", "headers": { "Location": { "example": "https://codeload.github.com/me/myprivate/legacy.zip/master?login=me&token=thistokenexpires", @@ -271042,7 +271147,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -271260,11 +271365,29 @@ "schema": { "type": "string" } + }, + { + "name": "page", + "description": "Page number of the results to fetch.", + "in": "query", + "schema": { + "type": "integer", + "default": 1 + } + }, + { + "name": "per_page", + "description": "Results per page (max 100).", + "in": "query", + "schema": { + "type": "integer", + "default": 30 + } } ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -271299,7 +271422,7 @@ } }, "415": { - "description": "Preview Header Missing", + "description": "Preview header missing", "content": { "application/json": { "schema": { @@ -271321,7 +271444,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -271415,7 +271538,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -271450,7 +271573,7 @@ } }, "415": { - "description": "Preview Header Missing", + "description": "Preview header missing", "content": { "application/json": { "schema": { @@ -271472,7 +271595,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -271492,7 +271615,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -271574,6 +271697,7 @@ "schema": { "type": "string", "enum": [ + "", "day", "week" ], @@ -271583,7 +271707,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -271782,7 +271906,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -271950,7 +272074,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -272078,6 +272202,7 @@ "schema": { "type": "string", "enum": [ + "", "day", "week" ], @@ -272087,7 +272212,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -272318,7 +272443,7 @@ }, "responses": { "202": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -273507,7 +273632,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "x-github": { @@ -273555,7 +273680,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "x-github": { @@ -273613,7 +273738,7 @@ ], "responses": { "302": { - "description": "response", + "description": "Response", "headers": { "Location": { "example": "https://codeload.github.com/me/myprivate/legacy.zip/master?login=me&token=thistokenexpires", @@ -273710,7 +273835,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -274846,7 +274971,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -276426,7 +276551,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -276495,7 +276620,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" } }, "x-github": { @@ -276956,7 +277081,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Default response" } }, "x-github": { @@ -277009,11 +277134,29 @@ "schema": { "type": "integer" } + }, + { + "name": "filter", + "description": "filter results", + "in": "query", + "required": false, + "schema": { + "type": "string" + } + }, + { + "name": "excludedAttributes", + "description": "attributes to exclude", + "in": "query", + "required": false, + "schema": { + "type": "string" + } } ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -277259,7 +277402,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -277396,11 +277539,20 @@ "schema": { "type": "string" } + }, + { + "name": "excludedAttributes", + "description": "Attributes to exclude.", + "in": "query", + "required": false, + "schema": { + "type": "string" + } } ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -277594,7 +277746,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -277811,7 +277963,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -277945,7 +278097,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "x-github": { @@ -277998,11 +278150,20 @@ "schema": { "type": "integer" } + }, + { + "name": "filter", + "description": "filter results", + "in": "query", + "required": false, + "schema": { + "type": "string" + } } ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -278335,7 +278496,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -278505,7 +278666,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -278778,7 +278939,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -278997,7 +279158,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -279169,7 +279330,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "x-github": { @@ -279234,7 +279395,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/scim+json": { "schema": { @@ -279585,10 +279746,10 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -279840,7 +280001,7 @@ ], "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/scim+json": { "schema": { @@ -280078,10 +280239,10 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -280588,7 +280749,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/scim+json": { "schema": { @@ -280826,7 +280987,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -280972,7 +281133,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" } }, "x-github": { @@ -281017,7 +281178,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/scim+json": { "schema": { @@ -281255,10 +281416,10 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -281544,7 +281705,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/scim+json": { "schema": { @@ -281782,10 +281943,10 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -282164,10 +282325,10 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -282313,7 +282474,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" } }, "x-github": { @@ -282396,7 +282557,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -284096,10 +284257,10 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "503": { - "description": "Service Unavailable", + "description": "Service unavailable", "content": { "application/json": { "schema": { @@ -284120,7 +284281,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -284290,7 +284451,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -286283,10 +286444,10 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "415": { - "description": "Preview Header Missing", + "description": "Preview header missing", "content": { "application/json": { "schema": { @@ -286402,7 +286563,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -288548,7 +288709,7 @@ } }, "503": { - "description": "Service Unavailable", + "description": "Service unavailable", "content": { "application/json": { "schema": { @@ -288569,7 +288730,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -288638,7 +288799,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -288733,7 +288894,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -288871,10 +289032,10 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -288914,7 +289075,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -289066,7 +289227,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -289775,7 +289936,7 @@ } }, "503": { - "description": "Service Unavailable", + "description": "Service unavailable", "content": { "application/json": { "schema": { @@ -289796,7 +289957,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -289865,7 +290026,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" } }, "x-github": { @@ -289908,7 +290069,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -290182,10 +290343,10 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "415": { - "description": "Preview Header Missing", + "description": "Preview header missing", "content": { "application/json": { "schema": { @@ -290293,7 +290454,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -290537,10 +290698,10 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "503": { - "description": "Service Unavailable", + "description": "Service unavailable", "content": { "application/json": { "schema": { @@ -290561,7 +290722,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -290665,7 +290826,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -291156,7 +291317,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -291262,7 +291423,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -291753,7 +291914,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -291773,7 +291934,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -291898,10 +292059,10 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -291921,7 +292082,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -292060,7 +292221,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -292475,7 +292636,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -292856,7 +293017,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -293256,7 +293417,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -293634,7 +293795,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "x-github": { @@ -293715,7 +293876,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -294093,7 +294254,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -294448,7 +294609,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -294821,7 +294982,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -295173,7 +295334,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "x-github": { @@ -295267,7 +295428,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -295563,7 +295724,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -295846,7 +296007,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -296134,7 +296295,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -296390,7 +296551,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -296684,7 +296845,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -296840,7 +297001,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -296956,74 +297117,13 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "404": { "description": "Response if team synchronization is set up" }, "422": { - "description": "response", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "errors": { - "type": "array", - "items": { - "type": "object", - "properties": { - "code": { - "type": "string" - }, - "field": { - "type": "string" - }, - "resource": { - "type": "string" - } - } - } - }, - "documentation_url": { - "type": "string", - "example": "\"https://docs.github.com/rest\"" - } - } - }, - "examples": { - "response-if-you-attempt-to-add-an-organization-to-a-team": { - "summary": "Response if you attempt to add an organization to a team", - "value": { - "message": "Cannot add an organization as a member.", - "errors": [ - { - "code": "org", - "field": "user", - "resource": "TeamMember" - } - ] - } - }, - "response-if-you-attempt-to-add-a-user-to-a-team-when-they-are-not-a-member-of-at-least-one-other-team-in-the-same-organization": { - "summary": "Response if you attempt to add a user to a team when they are not a member of at least one other team in the same organization", - "value": { - "message": "User isn't a member of this organization. Please invite them first.", - "errors": [ - { - "code": "unaffiliated", - "field": "user", - "resource": "TeamMember" - } - ] - } - } - } - } - } + "description": "Response if you attempt to add an organization to a team or you attempt to add a user to a team when they are not a member of at least one other team in the same organization" }, "403": { "description": "Forbidden", @@ -297090,7 +297190,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "404": { "description": "Response if team synchronization is setup" @@ -297113,7 +297213,7 @@ "/teams/{team_id}/memberships/{username}": { "get": { "summary": "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).", + "description": "**Deprecation 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).", "tags": [ "teams" ], @@ -297142,7 +297242,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -297165,7 +297265,12 @@ "type": "string" }, "state": { - "type": "string" + "description": "The state of the user's membership in the team.", + "type": "string", + "enum": [ + "active", + "pending" + ] } }, "required": [ @@ -297175,14 +297280,6 @@ ] }, "examples": { - "response-if-user-has-an-active-membership-with-team": { - "summary": "Response if user has an active membership with team", - "value": { - "url": "https://api.github.com/teams/1/memberships/octocat", - "role": "member", - "state": "active" - } - }, "response-if-user-is-a-team-maintainer": { "summary": "Response if user is a team maintainer", "value": { @@ -297190,21 +297287,13 @@ "role": "maintainer", "state": "active" } - }, - "response-if-user-has-a-pending-membership-with-team": { - "summary": "Response if user has a pending membership with team", - "value": { - "url": "https://api.github.com/teams/1/memberships/octocat", - "role": "member", - "state": "pending" - } } } } } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -297288,7 +297377,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -297311,7 +297400,12 @@ "type": "string" }, "state": { - "type": "string" + "description": "The state of the user's membership in the team.", + "type": "string", + "enum": [ + "active", + "pending" + ] } }, "required": [ @@ -297321,14 +297415,6 @@ ] }, "examples": { - "response-if-users-membership-with-team-is-now-active": { - "summary": "Response if user's membership with team is now active", - "value": { - "url": "https://api.github.com/teams/1/memberships/octocat", - "role": "member", - "state": "active" - } - }, "response-if-users-membership-with-team-is-now-pending": { "summary": "Response if user's membership with team is now pending", "value": { @@ -297345,57 +297431,10 @@ "description": "Response if team synchronization is set up" }, "422": { - "description": "Response if you attempt to add an organization to a team", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "errors": { - "type": "array", - "items": { - "type": "object", - "properties": { - "code": { - "type": "string" - }, - "field": { - "type": "string" - }, - "resource": { - "type": "string" - } - } - } - }, - "documentation_url": { - "type": "string", - "example": "\"https://help.github.com/articles/github-and-trade-controls\"" - } - } - }, - "examples": { - "response-if-you-attempt-to-add-an-organization-to-a-team": { - "value": { - "message": "Cannot add an organization as a member.", - "errors": [ - { - "code": "org", - "field": "user", - "resource": "TeamMember" - } - ] - } - } - } - } - } + "description": "Response if you attempt to add an organization to a team" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -297459,7 +297498,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "403": { "description": "Response if team synchronization is set up" @@ -297521,7 +297560,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -297785,7 +297824,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -297805,7 +297844,7 @@ } }, "415": { - "description": "Preview Header Missing", + "description": "Preview header missing", "content": { "application/json": { "schema": { @@ -297877,7 +297916,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -298131,7 +298170,7 @@ "description": "Response if project is not managed by this team" }, "415": { - "description": "Preview Header Missing", + "description": "Preview header missing", "content": { "application/json": { "schema": { @@ -298221,7 +298260,7 @@ }, "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "403": { "description": "Response if the project is not owned by the organization", @@ -298250,7 +298289,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -298270,7 +298309,7 @@ } }, "415": { - "description": "Preview Header Missing", + "description": "Preview header missing", "content": { "application/json": { "schema": { @@ -298292,7 +298331,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -298409,10 +298448,10 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -298432,7 +298471,7 @@ } }, "415": { - "description": "Preview Header Missing", + "description": "Preview header missing", "content": { "application/json": { "schema": { @@ -298454,7 +298493,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -298579,7 +298618,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -300314,7 +300353,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -302329,7 +302368,7 @@ }, "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "403": { "description": "Forbidden", @@ -302352,7 +302391,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -302473,7 +302512,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "x-github": { @@ -302514,7 +302553,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -302617,7 +302656,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -302739,7 +302778,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -302817,7 +302856,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -303153,7 +303192,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -303193,7 +303232,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -303293,7 +303332,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -303847,7 +303886,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -303870,7 +303909,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -303966,7 +304005,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -304273,10 +304312,10 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -304316,7 +304355,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -304336,7 +304375,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -304433,7 +304472,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -304581,10 +304620,10 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -304624,7 +304663,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -304644,7 +304683,7 @@ } }, "415": { - "description": "Preview Header Missing", + "description": "Preview header missing", "content": { "application/json": { "schema": { @@ -304724,7 +304763,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -304747,7 +304786,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -304800,13 +304839,13 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -304846,7 +304885,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -304866,7 +304905,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -304968,10 +305007,10 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -304994,7 +305033,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -305014,7 +305053,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -305090,7 +305129,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -305143,10 +305182,10 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -305186,7 +305225,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -305206,7 +305245,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -305320,7 +305359,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -305381,10 +305420,10 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -305424,7 +305463,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -305517,7 +305556,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -305582,7 +305621,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -305651,10 +305690,10 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -305694,7 +305733,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -305785,13 +305824,13 @@ }, "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -305831,7 +305870,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -305851,7 +305890,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -305965,7 +306004,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -306121,7 +306160,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -306144,7 +306183,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -306209,7 +306248,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -306365,7 +306404,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -306388,7 +306427,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -306466,7 +306505,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -306489,7 +306528,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -306542,13 +306581,13 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -306588,7 +306627,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -306641,13 +306680,13 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -306687,7 +306726,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -306752,7 +306791,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -306974,10 +307013,10 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -307017,7 +307056,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -307081,7 +307120,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -307290,7 +307329,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -307359,10 +307398,10 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -307402,7 +307441,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -307458,7 +307497,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -307667,7 +307706,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -307687,7 +307726,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -307710,7 +307749,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -307764,10 +307803,10 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -307787,7 +307826,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -307856,7 +307895,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -307879,7 +307918,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -308527,7 +308566,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -308550,7 +308589,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -308570,7 +308609,7 @@ } }, "415": { - "description": "Preview Header Missing", + "description": "Preview header missing", "content": { "application/json": { "schema": { @@ -309772,7 +309811,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -309812,7 +309851,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" } }, "x-github": { @@ -309863,7 +309902,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "403": { "description": "Forbidden", @@ -309886,10 +309925,10 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -309951,7 +309990,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "403": { "description": "Forbidden", @@ -309974,10 +310013,10 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -310011,7 +310050,7 @@ "/user/interaction-limits": { "get": { "summary": "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.", + "description": "Shows which type of GitHub user can interact with your public repositories and when the restriction expires.", "tags": [ "interactions" ], @@ -310022,7 +310061,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Default response", "content": { "application/json": { "schema": { @@ -310067,6 +310106,9 @@ } } } + }, + "204": { + "description": "Response when there are no restrictions" } }, "x-github": { @@ -310130,7 +310172,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -310177,7 +310219,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -310269,7 +310311,7 @@ }, "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "x-github": { @@ -310308,6 +310350,7 @@ "created", "mentioned", "subscribed", + "repos", "all" ], "default": "assigned" @@ -310396,7 +310439,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -312839,7 +312882,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -312859,7 +312902,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" } }, "x-github": { @@ -312911,7 +312954,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -312997,10 +313040,10 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -313040,7 +313083,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -313110,7 +313153,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -313173,7 +313216,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -313242,10 +313285,10 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -313285,7 +313328,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -313341,7 +313384,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -313404,7 +313447,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -313424,7 +313467,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -313447,7 +313490,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -313501,13 +313544,13 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -313547,7 +313590,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -313612,7 +313655,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -313838,10 +313881,10 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -313861,7 +313904,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -313926,7 +313969,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -314152,10 +314195,10 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -314233,7 +314276,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -314250,11 +314293,21 @@ }, "state": { "type": "string", - "example": "active" + "description": "The state of the member in the organization. The `pending` state indicates the user has not yet accepted an invitation.", + "example": "active", + "enum": [ + "active", + "pending" + ] }, "role": { "type": "string", - "example": "admin" + "description": "The user's membership type in the organization.", + "example": "admin", + "enum": [ + "admin", + "member" + ] }, "organization_url": { "type": "string", @@ -314571,7 +314624,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -314594,7 +314647,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -314614,7 +314667,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -314718,7 +314771,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -314733,11 +314786,21 @@ }, "state": { "type": "string", - "example": "active" + "description": "The state of the member in the organization. The `pending` state indicates the user has not yet accepted an invitation.", + "example": "active", + "enum": [ + "active", + "pending" + ] }, "role": { "type": "string", - "example": "admin" + "description": "The user's membership type in the organization.", + "example": "admin", + "enum": [ + "admin", + "member" + ] }, "organization_url": { "type": "string", @@ -315023,7 +315086,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -315100,7 +315163,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -315115,11 +315178,21 @@ }, "state": { "type": "string", - "example": "active" + "description": "The state of the member in the organization. The `pending` state indicates the user has not yet accepted an invitation.", + "example": "active", + "enum": [ + "active", + "pending" + ] }, "role": { "type": "string", - "example": "admin" + "description": "The user's membership type in the organization.", + "example": "admin", + "enum": [ + "admin", + "member" + ] }, "organization_url": { "type": "string", @@ -315405,7 +315478,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -315425,7 +315498,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -315539,7 +315612,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -316866,7 +316939,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -316889,7 +316962,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -316989,7 +317062,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -318303,7 +318376,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -318372,7 +318445,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -318395,7 +318468,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -318462,7 +318535,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -319776,7 +319849,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -319796,7 +319869,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -319819,7 +319892,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -319879,10 +319952,10 @@ ], "responses": { "302": { - "description": "response" + "description": "Response" }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -319905,7 +319978,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -319963,10 +320036,10 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -319986,7 +320059,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -320009,7 +320082,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -320078,13 +320151,13 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -320124,7 +320197,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -320202,7 +320275,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -321937,7 +322010,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -322006,7 +322079,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -322117,7 +322190,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -322140,7 +322213,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -324051,10 +324124,10 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -324094,7 +324167,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -324163,14 +324236,23 @@ "schema": { "type": "string" } + }, + { + "name": "token", + "description": "package token", + "schema": { + "type": "string" + }, + "required": false, + "in": "query" } ], "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -324210,7 +324292,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -324248,7 +324330,7 @@ "tags": [ "packages" ], - "operationId": "packages/get-all-package-versions-for-a-package-owned-by-the-authenticated-user", + "operationId": "packages/get-all-package-versions-for-package-owned-by-authenticated-user", "externalDocs": { "description": "API method documentation", "url": "https://docs.github.com/rest/reference/packages#get-all-package-versions-for-a-package-owned-by-the-authenticated-user" @@ -324279,6 +324361,38 @@ "schema": { "type": "string" } + }, + { + "name": "page", + "description": "Page number of the results to fetch.", + "in": "query", + "schema": { + "type": "integer", + "default": 1 + } + }, + { + "name": "per_page", + "description": "Results per page (max 100).", + "in": "query", + "schema": { + "type": "integer", + "default": 30 + } + }, + { + "name": "state", + "in": "query", + "required": false, + "description": "The state of the package, either active or deleted.", + "schema": { + "type": "string", + "enum": [ + "active", + "deleted" + ], + "default": "active" + } } ], "responses": { @@ -324437,7 +324551,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -324477,7 +324591,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -324751,10 +324865,10 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -324794,7 +324908,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -324876,10 +324990,10 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -324919,7 +325033,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -324992,7 +325106,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -325248,7 +325362,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -325271,7 +325385,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -325291,7 +325405,7 @@ } }, "415": { - "description": "Preview Header Missing", + "description": "Preview header missing", "content": { "application/json": { "schema": { @@ -325313,7 +325427,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -325392,7 +325506,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -325453,10 +325567,10 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -325496,7 +325610,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -325650,7 +325764,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -326751,7 +326865,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -326820,7 +326934,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -326843,7 +326957,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -326994,7 +327108,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -328097,7 +328211,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -328117,10 +328231,10 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -328160,7 +328274,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -328337,7 +328451,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -330253,10 +330367,10 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -330296,7 +330410,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -330352,7 +330466,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "403": { "description": "Forbidden", @@ -330395,7 +330509,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -330415,7 +330529,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" } }, "x-github": { @@ -330452,7 +330566,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "409": { "description": "Conflict", @@ -330475,10 +330589,10 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -330591,7 +330705,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -332814,7 +332928,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -332837,7 +332951,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -332923,7 +333037,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -332943,7 +333057,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -333007,7 +333121,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "403": { "description": "Forbidden", @@ -333030,7 +333144,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -333050,7 +333164,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -333070,7 +333184,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" } }, "x-github": { @@ -333114,10 +333228,10 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -333137,7 +333251,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -333157,7 +333271,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -333225,7 +333339,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -334960,7 +335074,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -334983,7 +335097,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -335048,7 +335162,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -335552,10 +335666,10 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -335640,7 +335754,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -335796,7 +335910,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" } }, "x-github": { @@ -335834,7 +335948,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -336382,7 +336496,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -336455,7 +336569,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -339184,7 +339298,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -341905,7 +342019,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -344626,7 +344740,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -344835,7 +344949,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -345102,7 +345216,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -345520,7 +345634,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -345642,7 +345756,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -345923,7 +346037,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -345970,7 +346084,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -345990,7 +346104,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -346094,7 +346208,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -346654,7 +346768,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -346752,7 +346866,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -348933,7 +349047,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -348973,7 +349087,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -349260,7 +349374,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -349529,7 +349643,7 @@ } }, "415": { - "description": "Preview Header Missing", + "description": "Preview header missing", "content": { "application/json": { "schema": { @@ -349551,7 +349665,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -349677,7 +349791,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -352398,7 +352512,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -355163,7 +355277,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -356916,7 +357030,7 @@ "/users/{username}/settings/billing/actions": { "get": { "summary": "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.", + "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://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.", "operationId": "billing/get-github-actions-billing-user", "tags": [ "billing" @@ -356937,7 +357051,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -357033,7 +357147,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -357106,7 +357220,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -357225,7 +357339,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -359501,7 +359615,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -361257,7 +361371,7 @@ "operationId": "meta/get-zen", "responses": { "200": { - "description": "response", + "description": "Response", "content": { "text/plain": { "schema": { diff --git a/lib/rest/static/dereferenced/ghes-2.18.deref.json b/lib/rest/static/dereferenced/ghes-2.18.deref.json index 11b1bbf946..e4870b4c5f 100644 --- a/lib/rest/static/dereferenced/ghes-2.18.deref.json +++ b/lib/rest/static/dereferenced/ghes-2.18.deref.json @@ -134,7 +134,7 @@ ], "servers": [ { - "url": "{protocol}://{hostname}", + "url": "{protocol}://{hostname}/api/v3", "variables": { "hostname": { "description": "Self-hosted Enterprise Server or Enterprise Cloud hostname", @@ -162,7 +162,7 @@ "operationId": "meta/root", "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -394,7 +394,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -529,7 +529,7 @@ ], "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -729,7 +729,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -859,7 +859,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -1040,7 +1040,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "x-github": { @@ -1092,7 +1092,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "x-github": { @@ -1140,11 +1140,48 @@ "type": "integer", "default": 1 } + }, + { + "name": "direction", + "description": "One of `asc` (ascending) or `desc` (descending).", + "in": "query", + "required": false, + "schema": { + "type": "string", + "enum": [ + "asc", + "desc" + ], + "default": "desc" + } + }, + { + "name": "sort", + "in": "query", + "required": false, + "schema": { + "type": "string", + "enum": [ + "created", + "updated", + "accessed" + ], + "default": "created" + } + }, + { + "name": "since", + "description": "Only show public keys accessed after the given time.", + "in": "query", + "required": false, + "schema": { + "type": "string" + } } ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -1242,7 +1279,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "x-github": { @@ -1280,7 +1317,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -1407,7 +1444,7 @@ ], "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -1460,7 +1497,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -1607,7 +1644,7 @@ ], "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -1650,7 +1687,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -1815,7 +1852,7 @@ ], "responses": { "202": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -1899,11 +1936,39 @@ "type": "integer", "default": 1 } + }, + { + "name": "direction", + "description": "One of `asc` (ascending) or `desc` (descending).", + "in": "query", + "required": false, + "schema": { + "type": "string", + "enum": [ + "asc", + "desc" + ], + "default": "desc" + } + }, + { + "name": "sort", + "in": "query", + "required": false, + "schema": { + "type": "string", + "enum": [ + "created", + "updated", + "name" + ], + "default": "created" + } } ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -2026,7 +2091,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -2166,7 +2231,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -2277,7 +2342,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -2454,7 +2519,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "422": { "description": "Client Errors", @@ -2542,7 +2607,7 @@ ], "responses": { "202": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -2663,7 +2728,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -2744,11 +2809,40 @@ "type": "integer", "default": 1 } + }, + { + "name": "direction", + "description": "One of `asc` (ascending) or `desc` (descending).", + "in": "query", + "required": false, + "schema": { + "type": "string", + "enum": [ + "asc", + "desc" + ], + "default": "desc" + } + }, + { + "name": "sort", + "description": "One of `created` (when the repository was starred) or `updated` (when it was last pushed to) or `name`.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "enum": [ + "created", + "updated", + "name" + ], + "default": "created" + } } ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -2905,7 +2999,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -3128,7 +3222,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -3290,7 +3384,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -3500,7 +3594,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "x-github": { @@ -3552,7 +3646,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -4262,7 +4356,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "x-github": { @@ -4290,7 +4384,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -4494,7 +4588,7 @@ ], "responses": { "202": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -4570,7 +4664,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "x-github": { @@ -4608,7 +4702,7 @@ ], "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -5309,7 +5403,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "x-github": { @@ -5340,7 +5434,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -5666,7 +5760,7 @@ ], "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -5987,7 +6081,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -6007,7 +6101,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -6642,7 +6736,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -7130,7 +7224,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -7150,7 +7244,7 @@ } }, "415": { - "description": "Preview Header Missing", + "description": "Preview header missing", "content": { "application/json": { "schema": { @@ -7219,10 +7313,10 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -7577,7 +7671,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -8736,7 +8830,7 @@ } }, "415": { - "description": "Preview Header Missing", + "description": "Preview header missing", "content": { "application/json": { "schema": { @@ -8758,7 +8852,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -8778,7 +8872,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -8798,7 +8892,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -8911,11 +9005,20 @@ "type": "integer", "default": 1 } + }, + { + "name": "client_id", + "in": "query", + "required": false, + "description": "The client ID of your GitHub app.", + "schema": { + "type": "string" + } } ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -9133,7 +9236,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -9156,7 +9259,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -9176,7 +9279,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -9235,7 +9338,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -9440,7 +9543,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -9463,7 +9566,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -9520,10 +9623,10 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -9546,7 +9649,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -9613,7 +9716,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "x-github": { @@ -9660,7 +9763,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -9868,7 +9971,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -10076,7 +10179,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "x-github": { @@ -10114,7 +10217,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -10422,7 +10525,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -10442,7 +10545,7 @@ } }, "415": { - "description": "Preview Header Missing", + "description": "Preview header missing", "content": { "application/json": { "schema": { @@ -10508,11 +10611,20 @@ "type": "integer", "default": 1 } + }, + { + "name": "client_id", + "in": "query", + "required": false, + "description": "The client ID of your GitHub app.", + "schema": { + "type": "string" + } } ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -11187,7 +11299,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -11210,7 +11322,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -11230,7 +11342,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -11325,7 +11437,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -11983,7 +12095,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -12072,7 +12184,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -12095,7 +12207,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -13514,7 +13626,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -13583,7 +13695,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -13606,7 +13718,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -15029,7 +15141,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -15137,7 +15249,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -15787,7 +15899,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -15810,7 +15922,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -15917,7 +16029,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -16567,7 +16679,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -16673,10 +16785,10 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -16699,7 +16811,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -16750,7 +16862,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -16813,10 +16925,10 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "415": { - "description": "Preview Header Missing", + "description": "Preview header missing", "content": { "application/json": { "schema": { @@ -16877,7 +16989,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -16930,7 +17042,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -16950,10 +17062,10 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "415": { - "description": "Preview Header Missing", + "description": "Preview header missing", "content": { "application/json": { "schema": { @@ -17041,7 +17153,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -17091,7 +17203,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -17160,7 +17272,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -17200,7 +17312,7 @@ } }, "415": { - "description": "Preview Header Missing", + "description": "Preview header missing", "content": { "application/json": { "schema": { @@ -17222,7 +17334,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -17287,10 +17399,10 @@ } } }, - "description": "response" + "description": "Response" }, "304": { - "description": "Not Modified" + "description": "Not modified" } }, "x-github": { @@ -17318,7 +17430,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -17395,7 +17507,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -17664,7 +17776,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -20305,7 +20417,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -20328,7 +20440,7 @@ } }, "503": { - "description": "Service Unavailable", + "description": "Service unavailable", "content": { "application/json": { "schema": { @@ -20377,7 +20489,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -20679,7 +20791,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -21097,7 +21209,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -21206,7 +21318,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -21439,7 +21551,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -21508,10 +21620,10 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -21605,7 +21717,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -22023,7 +22135,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -22092,7 +22204,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -22169,7 +22281,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -22587,7 +22699,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -22607,7 +22719,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -22666,7 +22778,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -22924,7 +23036,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -22944,7 +23056,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" } }, "x-github": { @@ -23051,7 +23163,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -23276,7 +23388,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -23345,7 +23457,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -23399,10 +23511,10 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -23422,7 +23534,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -23499,7 +23611,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -23731,10 +23843,10 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -23828,7 +23940,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -24055,10 +24167,10 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -24143,7 +24255,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -24362,10 +24474,10 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -24481,7 +24593,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -24700,7 +24812,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -24763,13 +24875,13 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -24863,7 +24975,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -25076,7 +25188,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -25096,7 +25208,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -25173,7 +25285,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -25442,7 +25554,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -25462,7 +25574,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -25519,7 +25631,7 @@ ], "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -25932,7 +26044,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -25952,7 +26064,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -26021,7 +26133,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -26096,7 +26208,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -26153,10 +26265,10 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -26176,7 +26288,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -26233,13 +26345,13 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -26323,7 +26435,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -26548,7 +26660,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -26617,7 +26729,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -26685,7 +26797,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -26707,7 +26819,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" } }, "x-github": { @@ -26745,7 +26857,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -26779,7 +26891,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" } }, "x-github": { @@ -26837,7 +26949,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -27949,10 +28061,10 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -28017,6 +28129,7 @@ "created", "mentioned", "subscribed", + "repos", "all" ], "default": "assigned" @@ -28137,7 +28250,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -30544,7 +30657,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -30613,10 +30726,10 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -30679,11 +30792,20 @@ "type": "integer", "default": 30 } + }, + { + "name": "page", + "description": "Page number of the results to fetch.", + "in": "query", + "schema": { + "type": "integer", + "default": 1 + } } ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -30789,7 +30911,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" } }, "x-github": { @@ -30827,7 +30949,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -30980,7 +31102,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -31000,7 +31122,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" } }, "x-github": { @@ -31063,7 +31185,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "headers": { "Content-Type": { "example": "text/html", @@ -31093,7 +31215,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" } }, "x-github": { @@ -31138,7 +31260,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "headers": { "X-CommonMarker-Version": { "example": "0.17.4", @@ -31156,7 +31278,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" } }, "x-github": { @@ -31187,7 +31309,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -31225,7 +31347,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" } }, "x-github": { @@ -31289,7 +31411,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -33930,7 +34052,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -33970,10 +34092,10 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "301": { - "description": "Moved Permanently" + "description": "Moved permanently" } }, "x-github": { @@ -34059,7 +34181,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -35695,7 +35817,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -35718,7 +35840,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -35738,7 +35860,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -35853,7 +35975,7 @@ }, "responses": { "202": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -35868,10 +35990,10 @@ } }, "205": { - "description": "response" + "description": "Response" }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -35894,7 +36016,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -35950,7 +36072,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -37573,7 +37695,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -37596,7 +37718,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -37650,10 +37772,10 @@ ], "responses": { "205": { - "description": "response" + "description": "Response" }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -37712,7 +37834,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -37777,7 +37899,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -37800,7 +37922,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -37870,7 +37992,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -37935,7 +38057,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -37958,7 +38080,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -38012,10 +38134,10 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -38038,7 +38160,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -38090,7 +38212,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/octocat-stream": { "schema": { @@ -38144,7 +38266,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -38255,7 +38377,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" } }, "x-github": { @@ -38293,7 +38415,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -38561,7 +38683,9 @@ "plan": { "name": "Medium", "space": 400, - "private_repos": 20 + "private_repos": 20, + "filled_seats": 4, + "seats": 5 }, "default_repository_permission": "read", "members_can_create_repositories": true, @@ -38572,54 +38696,13 @@ "members_can_create_internal_repositories": false, "members_can_create_pages": true } - }, - "response-with-git-hub-plan-information": { - "summary": "Response with GitHub plan information", - "value": { - "login": "github", - "id": 1, - "node_id": "MDEyOk9yZ2FuaXphdGlvbjE=", - "url": "https://api.github.com/orgs/github", - "repos_url": "https://api.github.com/orgs/github/repos", - "events_url": "https://api.github.com/orgs/github/events", - "hooks_url": "https://api.github.com/orgs/github/hooks", - "issues_url": "https://api.github.com/orgs/github/issues", - "members_url": "https://api.github.com/orgs/github/members{/member}", - "public_members_url": "https://api.github.com/orgs/github/public_members{/member}", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "description": "A great organization", - "name": "github", - "company": "GitHub", - "blog": "https://github.com/blog", - "location": "San Francisco", - "email": "octocat@github.com", - "twitter_username": "github", - "is_verified": true, - "has_organization_projects": true, - "has_repository_projects": true, - "public_repos": 2, - "public_gists": 1, - "followers": 20, - "following": 0, - "html_url": "https://github.com/octocat", - "created_at": "2008-01-14T04:33:35Z", - "updated_at": "2014-03-03T18:58:10Z", - "type": "Organization", - "plan": { - "name": "team", - "space": 976562499, - "private_repos": 999999, - "filled_seats": 4, - "seats": 5 - } - } } } } } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -38776,7 +38859,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -39055,7 +39138,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -39171,7 +39254,7 @@ } }, "415": { - "description": "Preview Header Missing", + "description": "Preview header missing", "content": { "application/json": { "schema": { @@ -39250,7 +39333,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -41944,7 +42027,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -42071,7 +42154,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -42208,7 +42291,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -42330,7 +42413,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -42399,7 +42482,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -42462,7 +42545,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -42576,7 +42659,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -42703,7 +42786,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -42816,7 +42899,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -42885,7 +42968,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -42946,10 +43029,10 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -43012,10 +43095,10 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -43080,7 +43163,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -43615,6 +43698,7 @@ "created", "mentioned", "subscribed", + "repos", "all" ], "default": "assigned" @@ -43703,7 +43787,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -46110,7 +46194,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -46215,7 +46299,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -46382,7 +46466,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -46552,7 +46636,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "403": { "description": "Forbidden", @@ -46589,7 +46673,7 @@ "/orgs/{org}/memberships/{username}": { "get": { "summary": "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.", + "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.", "tags": [ "orgs" ], @@ -46618,7 +46702,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -46633,11 +46717,21 @@ }, "state": { "type": "string", - "example": "active" + "description": "The state of the member in the organization. The `pending` state indicates the user has not yet accepted an invitation.", + "example": "active", + "enum": [ + "active", + "pending" + ] }, "role": { "type": "string", - "example": "admin" + "description": "The user's membership type in the organization.", + "example": "admin", + "enum": [ + "admin", + "member" + ] }, "organization_url": { "type": "string", @@ -46898,99 +46992,13 @@ "site_admin": false } } - }, - "response-if-user-has-an-active-membership-with-organization": { - "summary": "Response if user has an active membership with organization", - "value": { - "url": "https://api.github.com/orgs/octocat/memberships/defunkt", - "state": "active", - "role": "member", - "organization_url": "https://api.github.com/orgs/octocat", - "organization": { - "login": "github", - "id": 1, - "node_id": "MDEyOk9yZ2FuaXphdGlvbjE=", - "url": "https://api.github.com/orgs/github", - "repos_url": "https://api.github.com/orgs/github/repos", - "events_url": "https://api.github.com/orgs/github/events", - "hooks_url": "https://api.github.com/orgs/github/hooks", - "issues_url": "https://api.github.com/orgs/github/issues", - "members_url": "https://api.github.com/orgs/github/members{/member}", - "public_members_url": "https://api.github.com/orgs/github/public_members{/member}", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "description": "A great organization" - }, - "user": { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - } - } - }, - "response-if-user-has-a-pending-membership-with-organization": { - "summary": "Response if user has a pending membership with organization", - "value": { - "url": "https://api.github.com/orgs/invitocat/memberships/defunkt", - "state": "pending", - "role": "member", - "organization_url": "https://api.github.com/orgs/invitocat", - "organization": { - "login": "github", - "id": 1, - "node_id": "MDEyOk9yZ2FuaXphdGlvbjE=", - "url": "https://api.github.com/orgs/github", - "repos_url": "https://api.github.com/orgs/github/repos", - "events_url": "https://api.github.com/orgs/github/events", - "hooks_url": "https://api.github.com/orgs/github/hooks", - "issues_url": "https://api.github.com/orgs/github/issues", - "members_url": "https://api.github.com/orgs/github/members{/member}", - "public_members_url": "https://api.github.com/orgs/github/public_members{/member}", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "description": "A great organization" - }, - "user": { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - } - } } } } } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -47091,7 +47099,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -47106,11 +47114,21 @@ }, "state": { "type": "string", - "example": "active" + "description": "The state of the member in the organization. The `pending` state indicates the user has not yet accepted an invitation.", + "example": "active", + "enum": [ + "active", + "pending" + ] }, "role": { "type": "string", - "example": "admin" + "description": "The user's membership type in the organization.", + "example": "admin", + "enum": [ + "admin", + "member" + ] }, "organization_url": { "type": "string", @@ -47329,51 +47347,8 @@ ] }, "examples": { - "response-if-user-was-previously-unaffiliated-with-organization": { - "summary": "Response if user was previously unaffiliated with organization", - "value": { - "url": "https://api.github.com/orgs/invitocat/memberships/defunkt", - "state": "pending", - "role": "admin", - "organization_url": "https://api.github.com/orgs/invitocat", - "organization": { - "login": "github", - "id": 1, - "node_id": "MDEyOk9yZ2FuaXphdGlvbjE=", - "url": "https://api.github.com/orgs/github", - "repos_url": "https://api.github.com/orgs/github/repos", - "events_url": "https://api.github.com/orgs/github/events", - "hooks_url": "https://api.github.com/orgs/github/hooks", - "issues_url": "https://api.github.com/orgs/github/issues", - "members_url": "https://api.github.com/orgs/github/members{/member}", - "public_members_url": "https://api.github.com/orgs/github/public_members{/member}", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "description": "A great organization" - }, - "user": { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - } - } - }, "response-if-user-already-had-membership-with-organization": { - "summary": "Response if user already had membership with organization", + "summary": "Response if user has an active admin membership with organization", "value": { "url": "https://api.github.com/orgs/octocat/memberships/defunkt", "state": "active", @@ -47420,7 +47395,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -47550,7 +47525,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "403": { "description": "Forbidden", @@ -47573,7 +47548,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -47660,7 +47635,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -47865,41 +47840,10 @@ "description": "User was converted" }, "403": { - "description": "response", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - } - } - }, - "examples": { - "response-if-user-is-the-last-owner-of-the-organization": { - "summary": "Response if user is the last owner of the organization", - "value": { - "message": "Cannot convert the last owner to an outside collaborator", - "documentation_url": "https://docs.github.com/enterprise-server@2.18/rest/reference/orgs#convert-member-to-outside-collaborator" - } - }, - "response-if-user-is-not-a-member-of-the-organization": { - "summary": "Response if user is not a member of the organization", - "value": { - "message": " is not a member of the organization.", - "documentation_url": "https://docs.github.com/enterprise-server@2.18/rest/reference/orgs#convert-member-to-outside-collaborator" - } - } - } - } - } + "description": "Response if user is the last owner of the organization or not a member of the organization" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -47960,7 +47904,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "422": { "description": "Response if user is a member of the organization", @@ -48038,11 +47982,40 @@ "type": "integer", "default": 1 } + }, + { + "name": "direction", + "description": "One of `asc` (ascending) or `desc` (descending).", + "in": "query", + "required": false, + "schema": { + "type": "string", + "enum": [ + "asc", + "desc" + ], + "default": "desc" + } + }, + { + "name": "sort", + "description": "The sort order for the response collection.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "enum": [ + "created", + "updated", + "name" + ], + "default": "created" + } } ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -48132,7 +48105,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -48215,7 +48188,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -48321,7 +48294,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -48431,7 +48404,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -48700,7 +48673,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -48793,7 +48766,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -49049,7 +49022,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -49089,7 +49062,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -49129,7 +49102,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -49216,7 +49189,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -49462,7 +49435,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "403": { "description": "Forbidden", @@ -49526,7 +49499,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "x-github": { @@ -49629,7 +49602,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -51379,7 +51352,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -52481,7 +52454,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -52612,7 +52585,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -52908,7 +52881,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -53377,7 +53350,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -53510,7 +53483,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -53979,7 +53952,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -54035,7 +54008,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -54262,7 +54235,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -54285,7 +54258,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -54305,7 +54278,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -54385,7 +54358,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -54612,7 +54585,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -54635,7 +54608,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -54655,7 +54628,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -54675,7 +54648,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -54743,10 +54716,10 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -54773,7 +54746,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -54793,7 +54766,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -54878,7 +54851,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -54891,7 +54864,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -54932,7 +54905,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -54952,7 +54925,7 @@ } }, "503": { - "description": "Service Unavailable", + "description": "Service unavailable", "content": { "application/json": { "schema": { @@ -54987,7 +54960,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -55096,7 +55069,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -55173,7 +55146,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -55196,7 +55169,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -55216,7 +55189,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -55293,7 +55266,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -55370,7 +55343,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -55393,7 +55366,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -55451,10 +55424,10 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -55477,7 +55450,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -55570,7 +55543,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -55810,7 +55783,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -55833,7 +55806,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -55934,7 +55907,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -56161,7 +56134,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -56184,7 +56157,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -56204,7 +56177,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -56300,7 +56273,7 @@ } }, "503": { - "description": "Service Unavailable", + "description": "Service unavailable", "content": { "application/json": { "schema": { @@ -56395,7 +56368,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -56408,7 +56381,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -56431,7 +56404,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -56461,7 +56434,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -56520,7 +56493,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -56776,7 +56749,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -56799,7 +56772,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -56897,7 +56870,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -57156,7 +57129,7 @@ "description": "Response if the authenticated user does not have access to the project" }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -57183,7 +57156,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -57223,7 +57196,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -57293,7 +57266,7 @@ "description": "Delete Success" }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -57320,7 +57293,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -57360,7 +57333,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -57452,7 +57425,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -57608,7 +57581,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -57628,7 +57601,7 @@ } }, "415": { - "description": "Preview Header Missing", + "description": "Preview header missing", "content": { "application/json": { "schema": { @@ -57650,7 +57623,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -57719,7 +57692,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -57742,7 +57715,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -57831,10 +57804,10 @@ }, "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -57854,7 +57827,7 @@ } }, "415": { - "description": "Preview Header Missing", + "description": "Preview header missing", "content": { "application/json": { "schema": { @@ -57876,7 +57849,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -57945,7 +57918,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -57968,7 +57941,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -58033,13 +58006,13 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -58059,7 +58032,7 @@ } }, "415": { - "description": "Preview Header Missing", + "description": "Preview header missing", "content": { "application/json": { "schema": { @@ -58101,7 +58074,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -58170,7 +58143,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -58237,7 +58210,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -58402,7 +58375,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -58422,7 +58395,7 @@ } }, "415": { - "description": "Preview Header Missing", + "description": "Preview header missing", "content": { "application/json": { "schema": { @@ -58444,7 +58417,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -58513,7 +58486,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -58536,7 +58509,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -58613,7 +58586,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -58703,7 +58676,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -58726,7 +58699,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -58802,7 +58775,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -58875,7 +58848,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -58898,7 +58871,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -58928,7 +58901,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -58980,7 +58953,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -59206,10 +59179,10 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -59274,7 +59247,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "x-github": { @@ -59329,7 +59302,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -63959,7 +63932,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -63979,7 +63952,7 @@ } }, "301": { - "description": "Moved Permanently" + "description": "Moved permanently" } }, "x-github": { @@ -64128,7 +64101,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -68255,7 +68228,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -68324,7 +68297,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -68394,7 +68367,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "403": { "description": "If an organization owner has configured the organization to prevent members from deleting organization-owned repositories, a member will get this response:", @@ -68419,7 +68392,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -68500,7 +68473,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -68656,7 +68629,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -68820,7 +68793,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -69645,18 +69618,6 @@ }, "examples": { "default": { - "value": [ - { - "name": "master", - "commit": { - "sha": "c5b97d5ae6c19d5c5df71a34c7fbeeda2479ccbc", - "url": "https://api.github.com/repos/octocat/Hello-World/commits/c5b97d5ae6c19d5c5df71a34c7fbeeda2479ccbc" - }, - "protected": true - } - ] - }, - "with-protection": { "value": [ { "name": "master", @@ -69692,7 +69653,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -69765,7 +69726,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -71182,7 +71143,7 @@ } }, "415": { - "description": "Preview Header Missing", + "description": "Preview header missing", "content": { "application/json": { "schema": { @@ -71204,7 +71165,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -71277,7 +71238,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -72177,7 +72138,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -72416,7 +72377,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -73270,7 +73231,7 @@ } }, "415": { - "description": "Preview Header Missing", + "description": "Preview header missing", "content": { "application/json": { "schema": { @@ -73292,7 +73253,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -73322,7 +73283,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -73397,7 +73358,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "403": { "description": "Forbidden", @@ -73473,7 +73434,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -73559,7 +73520,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -73648,7 +73609,7 @@ "description": "No Content" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -73721,7 +73682,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/vnd.github.luke-cage-preview+json": { "schema": { @@ -74200,7 +74161,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -74568,7 +74529,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -74695,7 +74656,7 @@ "description": "No Content" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -74768,7 +74729,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -74803,7 +74764,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -74878,7 +74839,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -74913,7 +74874,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -74991,7 +74952,7 @@ "description": "No Content" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -75068,7 +75029,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -75123,7 +75084,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -75222,7 +75183,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -75277,7 +75238,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -75297,7 +75258,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -75473,7 +75434,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -75489,7 +75450,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -75586,7 +75547,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -75603,7 +75564,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -75692,7 +75653,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -75790,7 +75751,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -75806,7 +75767,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -75875,7 +75836,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -75973,7 +75934,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -75989,7 +75950,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -76009,7 +75970,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -76132,7 +76093,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -76588,7 +76549,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -76715,7 +76676,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -76886,7 +76847,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -76983,7 +76944,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -77154,7 +77115,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -77301,7 +77262,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -77472,7 +77433,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -77619,7 +77580,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -77790,7 +77751,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -77913,7 +77874,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -78061,7 +78022,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -78158,7 +78119,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -78306,7 +78267,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -78453,7 +78414,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -78601,7 +78562,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -78748,7 +78709,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -78896,7 +78857,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -79233,7 +79194,7 @@ }, "examples": { "example-of-in-progress-conclusion": { - "summary": "Example of in_progress conclusion", + "summary": "Response for in_progress conclusion", "value": { "name": "mighty_readme", "head_sha": "ce587453ced02b1526dfb4cb910479d431683101", @@ -79248,7 +79209,7 @@ } }, "example-of-completed-conclusion": { - "summary": "Example of completed conclusion", + "summary": "Response for completed conclusion", "value": { "name": "mighty_readme", "head_sha": "ce587453ced02b1526dfb4cb910479d431683101", @@ -79302,7 +79263,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -80108,101 +80069,8 @@ ] }, "examples": { - "example-of-in-progress-conclusion": { - "summary": "Example of in_progress conclusion", - "value": { - "id": 4, - "head_sha": "ce587453ced02b1526dfb4cb910479d431683101", - "node_id": "MDg6Q2hlY2tSdW40", - "external_id": "42", - "url": "https://api.github.com/repos/github/hello-world/check-runs/4", - "html_url": "https://github.com/github/hello-world/runs/4", - "details_url": "https://example.com", - "status": "in_progress", - "conclusion": "neutral", - "started_at": "2018-05-04T01:14:52Z", - "completed_at": null, - "output": { - "title": "Mighty Readme Report", - "summary": "", - "text": "", - "annotations_count": 1, - "annotations_url": "https://api.github.com/repos/github/hello-world/check-runs/4/annotations" - }, - "name": "mighty_readme", - "check_suite": { - "id": 5 - }, - "app": { - "id": 1, - "slug": "octoapp", - "node_id": "MDExOkludGVncmF0aW9uMQ==", - "owner": { - "login": "github", - "id": 1, - "node_id": "MDEyOk9yZ2FuaXphdGlvbjE=", - "url": "https://api.github.com/orgs/github", - "repos_url": "https://api.github.com/orgs/github/repos", - "events_url": "https://api.github.com/orgs/github/events", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": true - }, - "name": "Octocat App", - "description": "", - "external_url": "https://example.com", - "html_url": "https://github.com/apps/octoapp", - "created_at": "2017-07-08T16:18:44-04:00", - "updated_at": "2017-07-08T16:18:44-04:00", - "permissions": { - "metadata": "read", - "contents": "read", - "issues": "write", - "single_file": "write" - }, - "events": [ - "push", - "pull_request" - ] - }, - "pull_requests": [ - { - "url": "https://api.github.com/repos/github/hello-world/pulls/1", - "id": 1934, - "number": 3956, - "head": { - "ref": "say-hello", - "sha": "3dca65fa3e8d4b3da3f3d056c59aee1c50f41390", - "repo": { - "id": 526, - "url": "https://api.github.com/repos/github/hello-world", - "name": "hello-world" - } - }, - "base": { - "ref": "master", - "sha": "e7fdf7640066d71ad16a86fbcbb9c6a10a18af4f", - "repo": { - "id": 526, - "url": "https://api.github.com/repos/github/hello-world", - "name": "hello-world" - } - } - } - ] - } - }, "example-of-completed-conclusion": { - "summary": "Example of completed conclusion", + "summary": "Response for completed conclusion", "value": { "id": 4, "head_sha": "ce587453ced02b1526dfb4cb910479d431683101", @@ -80355,7 +80223,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -81566,7 +81434,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -82543,7 +82411,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -82711,7 +82579,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -85069,7 +84937,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -86247,7 +86115,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -88628,7 +88496,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -89615,7 +89483,7 @@ ], "responses": { "201": { - "description": "response" + "description": "Response" } }, "x-github": { @@ -89698,7 +89566,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -89873,7 +89741,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -91909,7 +91777,7 @@ "description": "Response when person is already a collaborator" }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -92048,7 +91916,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "x-github": { @@ -92267,7 +92135,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -92348,7 +92216,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -92706,7 +92574,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -92995,7 +92863,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -93090,7 +92958,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -93379,7 +93247,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -93449,10 +93317,10 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -93561,7 +93429,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -93770,7 +93638,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -93790,7 +93658,7 @@ } }, "415": { - "description": "Preview Header Missing", + "description": "Preview header missing", "content": { "application/json": { "schema": { @@ -94289,7 +94157,7 @@ } }, "415": { - "description": "Preview Header Missing", + "description": "Preview header missing", "content": { "application/json": { "schema": { @@ -94311,7 +94179,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -94486,11 +94354,31 @@ "type": "integer", "default": 1 } + }, + { + "name": "top", + "description": "legacy parameter for pagination.", + "in": "query", + "deprecated": true, + "required": false, + "schema": { + "type": "string" + } + }, + { + "name": "last_sha", + "description": "legacy parameter for pagination.", + "in": "query", + "deprecated": true, + "required": false, + "schema": { + "type": "string" + } } ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -95143,7 +95031,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -95236,7 +95124,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -95293,7 +95181,7 @@ } }, "415": { - "description": "Preview Header Missing", + "description": "Preview header missing", "content": { "application/json": { "schema": { @@ -95315,7 +95203,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -95459,7 +95347,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -95852,7 +95740,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -96169,7 +96057,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -96310,7 +96198,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -100081,7 +99969,7 @@ } }, "415": { - "description": "Preview Header Missing", + "description": "Preview header missing", "content": { "application/json": { "schema": { @@ -100147,9 +100035,27 @@ "type": "string" } }, + { + "name": "page", + "description": "Page number of the results to fetch.", + "in": "query", + "schema": { + "type": "integer", + "default": 1 + } + }, + { + "name": "per_page", + "description": "Results per page (max 100).", + "in": "query", + "schema": { + "type": "integer", + "default": 30 + } + }, { "name": "ref", - "description": "ref+ parameter", + "description": "ref parameter", "in": "path", "required": true, "schema": { @@ -100160,7 +100066,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -100743,7 +100649,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -100812,7 +100718,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -100894,7 +100800,7 @@ }, { "name": "ref", - "description": "ref+ parameter", + "description": "ref parameter", "in": "path", "required": true, "schema": { @@ -100956,11 +100862,19 @@ "type": "integer", "default": 1 } + }, + { + "name": "app_id", + "in": "query", + "required": false, + "schema": { + "type": "integer" + } } ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -101937,7 +101851,7 @@ }, { "name": "ref", - "description": "ref+ parameter", + "description": "ref parameter", "in": "path", "required": true, "schema": { @@ -101985,7 +101899,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -104189,18 +104103,36 @@ }, { "name": "ref", - "description": "ref+ parameter", + "description": "ref parameter", "in": "path", "required": true, "schema": { "type": "string" }, "x-multi-segment": true + }, + { + "name": "per_page", + "description": "Results per page (max 100).", + "in": "query", + "schema": { + "type": "integer", + "default": 30 + } + }, + { + "name": "page", + "description": "Page number of the results to fetch.", + "in": "query", + "schema": { + "type": "integer", + "default": 1 + } } ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -105872,7 +105804,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -105934,7 +105866,7 @@ }, { "name": "ref", - "description": "ref+ parameter", + "description": "ref parameter", "in": "path", "required": true, "schema": { @@ -105963,7 +105895,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -106182,7 +106114,7 @@ } }, "301": { - "description": "Moved Permanently" + "description": "Moved permanently" } }, "x-github": { @@ -106244,7 +106176,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -108107,7 +108039,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -108169,7 +108101,7 @@ }, { "name": "path", - "description": "path+ parameter", + "description": "path parameter", "in": "path", "required": true, "schema": { @@ -108189,7 +108121,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/vnd.github.v3.object": { "schema": { @@ -108801,7 +108733,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -108884,7 +108816,7 @@ }, { "name": "path", - "description": "path+ parameter", + "description": "path parameter", "in": "path", "required": true, "schema": { @@ -108995,7 +108927,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -109211,7 +109143,7 @@ } }, "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -109427,7 +109359,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -109447,7 +109379,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -109576,7 +109508,7 @@ }, { "name": "path", - "description": "path+ parameter", + "description": "path parameter", "in": "path", "required": true, "schema": { @@ -109650,7 +109582,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -109851,7 +109783,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -109920,7 +109852,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -109960,7 +109892,7 @@ } }, "503": { - "description": "Service Unavailable", + "description": "Service unavailable", "content": { "application/json": { "schema": { @@ -110202,7 +110134,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -110299,7 +110231,8 @@ "required": false, "schema": { "type": "string", - "default": "none" + "default": "none", + "nullable": true } }, { @@ -110323,7 +110256,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -110985,7 +110918,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -111489,48 +111422,6 @@ "transient_environment": false, "production_environment": true } - }, - "advanced-example": { - "summary": "Advanced example", - "value": { - "url": "https://api.github.com/repos/octocat/example/deployments/1", - "id": 1, - "node_id": "MDEwOkRlcGxveW1lbnQx", - "sha": "a84d88e7554fc1fa21bcbc4efae3c782a70d2b9d", - "ref": "topic-branch", - "task": "deploy", - "payload": { - }, - "original_environment": "staging", - "environment": "production", - "description": "Deploy request from hubot", - "creator": { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - }, - "created_at": "2012-07-20T01:19:13Z", - "updated_at": "2012-07-20T01:19:13Z", - "statuses_url": "https://api.github.com/repos/octocat/example/deployments/1/statuses", - "repository_url": "https://api.github.com/repos/octocat/example", - "transient_environment": false, - "production_environment": true - } } } } @@ -111559,40 +111450,10 @@ } }, "409": { - "description": "response", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string", - "example": "\"https://docs.github.com/enterprise-server@2.18/rest/reference/repos#create-a-deployment\"" - } - } - }, - "examples": { - "merge-conflict-response": { - "summary": "Merge conflict response", - "value": { - "message": "Conflict merging master into topic-branch" - } - }, - "failed-commit-status-checks": { - "summary": "Failed commit status checks", - "value": { - "message": "Conflict: Commit status checks failed for topic-branch." - } - } - } - } - } + "description": "Response when there is a merge conflict or the commit's status checks failed" }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -111717,7 +111578,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -112226,7 +112087,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -112325,7 +112186,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -112844,7 +112705,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -112989,7 +112850,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -113503,7 +113364,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -113641,7 +113502,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -114147,7 +114008,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -114167,7 +114028,7 @@ } }, "415": { - "description": "Preview Header Missing", + "description": "Preview header missing", "content": { "application/json": { "schema": { @@ -114264,7 +114125,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -116955,7 +116816,8 @@ "enum": [ "newest", "oldest", - "stargazers" + "stargazers", + "watchers" ], "default": "newest" } @@ -116977,11 +116839,31 @@ "type": "integer", "default": 1 } + }, + { + "name": "org", + "description": "legacy query parameter for specifying the org.", + "in": "query", + "deprecated": true, + "required": false, + "schema": { + "type": "string" + } + }, + { + "name": "organization", + "description": "legacy query parameter for specifying the org.", + "in": "query", + "deprecated": true, + "required": false, + "schema": { + "type": "string" + } } ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -118673,6 +118555,26 @@ "schema": { "type": "string" } + }, + { + "name": "org", + "description": "legacy query parameter for specifying the org.", + "in": "query", + "deprecated": true, + "required": false, + "schema": { + "type": "string" + } + }, + { + "name": "organization", + "description": "legacy query parameter for specifying the org.", + "in": "query", + "deprecated": true, + "required": false, + "schema": { + "type": "string" + } } ], "requestBody": { @@ -118680,6 +118582,7 @@ "application/json": { "schema": { "type": "object", + "nullable": true, "properties": { "organization": { "type": "string", @@ -118692,7 +118595,7 @@ }, "responses": { "202": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -119820,7 +119723,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -119909,7 +119812,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -119999,7 +119902,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -120039,7 +119942,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -120099,7 +120002,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -120219,7 +120122,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -120276,7 +120179,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -120296,7 +120199,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -120511,7 +120414,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -120727,7 +120630,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -120796,7 +120699,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -120869,7 +120772,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -121077,7 +120980,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -121171,7 +121074,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -121247,7 +121150,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -121377,7 +121280,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -121476,7 +121379,7 @@ }, { "name": "ref", - "description": "ref+ parameter", + "description": "ref parameter", "in": "path", "required": true, "schema": { @@ -121514,7 +121417,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -121582,7 +121485,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -121691,7 +121594,7 @@ }, { "name": "ref", - "description": "ref+ parameter", + "description": "ref parameter", "in": "path", "required": true, "schema": { @@ -121702,10 +121605,10 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -121884,7 +121787,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -122031,7 +121934,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -122151,7 +122054,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -122290,7 +122193,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -122424,7 +122327,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -122552,7 +122455,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -122621,7 +122524,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -122707,7 +122610,8 @@ "required": true, "schema": { "type": "string" - } + }, + "x-multi-segment": true }, { "name": "recursive", @@ -122721,7 +122625,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -122875,7 +122779,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -122944,7 +122848,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -123025,7 +122929,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -123222,7 +123126,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -123367,7 +123271,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -123559,7 +123463,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -123579,7 +123483,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -123719,7 +123623,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -123903,7 +123807,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -124056,7 +123960,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -124240,7 +124144,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -124309,7 +124213,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -124378,10 +124282,10 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -124452,10 +124356,10 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -124526,10 +124430,10 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -124602,7 +124506,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -125090,10 +124994,10 @@ } }, "301": { - "description": "Moved Permanently" + "description": "Moved permanently" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -125177,7 +125081,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -127144,7 +127048,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -129075,7 +128979,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "x-github": { @@ -129237,7 +129141,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -131385,10 +131289,10 @@ } }, "301": { - "description": "Moved Permanently" + "description": "Moved permanently" }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -131457,7 +131361,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -131615,7 +131519,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -133949,7 +133853,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -134018,7 +133922,7 @@ } }, "503": { - "description": "Service Unavailable", + "description": "Service unavailable", "content": { "application/json": { "schema": { @@ -134039,7 +133943,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -134177,7 +134081,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -134717,7 +134621,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -134786,7 +134690,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -134862,7 +134766,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -135389,7 +135293,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -135484,7 +135388,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -136011,7 +135915,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -136130,7 +136034,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "x-github": { @@ -136222,7 +136126,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -136431,7 +136335,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -136451,7 +136355,7 @@ } }, "415": { - "description": "Preview Header Missing", + "description": "Preview header missing", "content": { "application/json": { "schema": { @@ -136950,7 +136854,7 @@ } }, "415": { - "description": "Preview Header Missing", + "description": "Preview header missing", "content": { "application/json": { "schema": { @@ -136972,7 +136876,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -137106,7 +137010,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -140186,7 +140090,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -140315,7 +140219,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -143382,7 +143286,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -143508,7 +143412,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -145814,10 +145718,10 @@ } }, "301": { - "description": "Moved Permanently" + "description": "Moved permanently" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -145857,7 +145761,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" } }, "x-github": { @@ -146016,7 +145920,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -148322,7 +148226,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -148391,7 +148295,7 @@ } }, "503": { - "description": "Service Unavailable", + "description": "Service unavailable", "content": { "application/json": { "schema": { @@ -148432,10 +148336,10 @@ } }, "301": { - "description": "Moved Permanently" + "description": "Moved permanently" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -148551,7 +148455,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -150800,7 +150704,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -153054,7 +152958,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -153594,7 +153498,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -153709,7 +153613,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -154284,7 +154188,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -154353,7 +154257,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -154444,7 +154348,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -154802,7 +154706,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -154990,7 +154894,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -155093,7 +154997,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -155236,7 +155140,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -155339,7 +155243,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -155458,7 +155362,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "410": { "description": "Gone", @@ -155541,7 +155445,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -155615,7 +155519,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -155729,7 +155633,7 @@ }, "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "403": { "description": "Forbidden", @@ -155772,7 +155676,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -155792,7 +155696,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -155914,7 +155818,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "403": { "description": "Forbidden", @@ -155937,7 +155841,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -156046,7 +155950,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -156255,7 +156159,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -156295,7 +156199,7 @@ } }, "415": { - "description": "Preview Header Missing", + "description": "Preview header missing", "content": { "application/json": { "schema": { @@ -156402,7 +156306,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -156598,7 +156502,7 @@ } }, "415": { - "description": "Preview Header Missing", + "description": "Preview header missing", "content": { "application/json": { "schema": { @@ -156620,7 +156524,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -156763,7 +156667,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -157022,7 +156926,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -157062,7 +156966,7 @@ } }, "415": { - "description": "Preview Header Missing", + "description": "Preview header missing", "content": { "application/json": { "schema": { @@ -157154,7 +157058,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -157296,7 +157200,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -157361,7 +157265,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -157482,7 +157386,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -157539,7 +157443,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -157609,7 +157513,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "x-github": { @@ -157673,7 +157577,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -157764,7 +157668,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -157831,7 +157735,7 @@ "properties": { "name": { "type": "string", - "description": "The name of the label. Emoji can be added to label names, using either native emoji or colon-style markup. For example, typing `:strawberry:` will render the emoji ![:strawberry:](https://github.githubassets.com/images/icons/emoji/unicode/1f353.png \":strawberry:\"). For a full list of available emoji and codes, see [emoji-cheat-sheet.com](http://emoji-cheat-sheet.com/)." + "description": "The name of the label. Emoji can be added to label names, using either native emoji or colon-style markup. For example, typing `:strawberry:` will render the emoji ![:strawberry:](https://github.githubassets.com/images/icons/emoji/unicode/1f353.png \":strawberry:\"). For a full list of available emoji and codes, see \"[Emoji cheat sheet](https://github.com/ikatyang/emoji-cheat-sheet).\"" }, "color": { "type": "string", @@ -157856,7 +157760,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -157933,7 +157837,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -158002,7 +157906,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -158073,7 +157977,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -158142,7 +158046,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -158211,7 +158115,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "x-github": { @@ -158257,7 +158161,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -158323,7 +158227,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -159149,63 +159053,10 @@ } }, "404": { - "description": "response", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string", - "example": "\"https://docs.github.com/enterprise-server@2.18/rest/reference/repos#perform-a-merge\"" - } - } - }, - "examples": { - "missing-base-response": { - "summary": "Missing base response", - "value": { - "message": "Base does not exist" - } - }, - "missing-head-response": { - "summary": "Missing head response", - "value": { - "message": "Head does not exist" - } - } - } - } - } + "description": "Response when the base or head does not exist" }, "409": { - "description": "Merge conflict response", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string", - "example": "\"https://docs.github.com/enterprise-server@2.18/rest/reference/repos#perform-a-merge\"" - } - } - }, - "examples": { - "merge-conflict-response": { - "value": { - "message": "Merge Conflict" - } - } - } - } - } + "description": "Response when there is a merge conflict" }, "403": { "description": "Forbidden", @@ -159228,7 +159079,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -159401,7 +159252,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -159682,7 +159533,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -159784,7 +159635,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -160060,7 +159911,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -160080,7 +159931,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -160201,7 +160052,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -160469,7 +160320,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -160577,7 +160428,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -160895,10 +160746,10 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -160988,7 +160839,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -161178,7 +161029,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -162870,7 +162721,7 @@ }, "responses": { "202": { - "description": "response" + "description": "Response" } }, "x-github": { @@ -162916,7 +162767,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -163009,7 +162860,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -163117,7 +162968,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -163210,7 +163061,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -163279,7 +163130,7 @@ } }, "415": { - "description": "Preview Header Missing", + "description": "Preview header missing", "content": { "application/json": { "schema": { @@ -163431,10 +163282,10 @@ }, "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -163602,10 +163453,10 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -163674,7 +163525,7 @@ } }, "415": { - "description": "Preview Header Missing", + "description": "Preview header missing", "content": { "application/json": { "schema": { @@ -163696,7 +163547,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -163781,7 +163632,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -164044,7 +163895,7 @@ ], "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -164122,7 +163973,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -164382,7 +164233,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -164648,11 +164499,39 @@ "type": "integer", "default": 1 } + }, + { + "name": "direction", + "description": "One of `asc` (ascending) or `desc` (descending).", + "in": "query", + "required": false, + "schema": { + "type": "string", + "enum": [ + "asc", + "desc" + ], + "default": "desc" + } + }, + { + "name": "sort", + "in": "query", + "required": false, + "schema": { + "type": "string", + "enum": [ + "created", + "updated", + "name" + ], + "default": "created" + } } ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -164746,7 +164625,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -164833,7 +164712,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -165052,7 +164931,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -165321,7 +165200,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -165361,7 +165240,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -165401,7 +165280,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -165502,7 +165381,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -165758,7 +165637,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -165798,7 +165677,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -165838,7 +165717,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -165995,7 +165874,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -169766,10 +169645,10 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -169936,7 +169815,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -172965,7 +172844,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -173085,16 +172964,15 @@ }, { "name": "sort", - "description": "One of `created` (when the repository was starred) or `updated` (when it was last pushed to).", "in": "query", "required": false, "schema": { "type": "string", "enum": [ "created", - "updated" - ], - "default": "created" + "updated", + "created_at" + ] } }, { @@ -173140,7 +173018,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -173619,7 +173497,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -174024,7 +173902,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -174124,7 +174002,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -174583,10 +174461,10 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -174695,7 +174573,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -174904,7 +174782,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -174924,7 +174802,7 @@ } }, "415": { - "description": "Preview Header Missing", + "description": "Preview header missing", "content": { "application/json": { "schema": { @@ -175423,7 +175301,7 @@ } }, "415": { - "description": "Preview Header Missing", + "description": "Preview header missing", "content": { "application/json": { "schema": { @@ -175445,7 +175323,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -178570,7 +178448,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "500": { "description": "Internal Error", @@ -178593,7 +178471,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -178703,7 +178581,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -181704,7 +181582,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -181906,7 +181784,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -182382,7 +182260,7 @@ ], "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -182702,7 +182580,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -183115,7 +182993,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -183205,7 +183083,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -183853,7 +183731,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -183954,7 +183832,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -184268,7 +184146,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -184357,7 +184235,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -184447,7 +184325,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -184808,7 +184686,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -188734,10 +188612,10 @@ }, "responses": { "200": { - "description": "response" + "description": "Response" }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -189294,7 +189172,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -189570,7 +189448,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -189681,7 +189559,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -189957,7 +189835,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -190056,7 +189934,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -190332,7 +190210,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -190420,7 +190298,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -190696,7 +190574,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -190726,7 +190604,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -190824,7 +190702,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -191225,7 +191103,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -191327,7 +191205,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -191603,7 +191481,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -191623,7 +191501,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -191740,7 +191618,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -192016,7 +191894,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -192036,7 +191914,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -192156,7 +192034,7 @@ }, "responses": { "202": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -192178,7 +192056,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -192267,7 +192145,7 @@ } }, "415": { - "description": "Preview Header Missing", + "description": "Preview header missing", "content": { "application/json": { "schema": { @@ -192343,6 +192221,279 @@ } } ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "title": "Content File", + "description": "Content File", + "type": "object", + "properties": { + "type": { + "type": "string" + }, + "encoding": { + "type": "string" + }, + "size": { + "type": "integer" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "content": { + "type": "string" + }, + "sha": { + "type": "string" + }, + "url": { + "type": "string", + "format": "uri" + }, + "git_url": { + "type": "string", + "format": "uri", + "nullable": true + }, + "html_url": { + "type": "string", + "format": "uri", + "nullable": true + }, + "download_url": { + "type": "string", + "format": "uri", + "nullable": true + }, + "_links": { + "type": "object", + "properties": { + "git": { + "type": "string", + "format": "uri", + "nullable": true + }, + "html": { + "type": "string", + "format": "uri", + "nullable": true + }, + "self": { + "type": "string", + "format": "uri" + } + }, + "required": [ + "git", + "html", + "self" + ] + }, + "target": { + "type": "string", + "example": "\"actual/actual.md\"" + }, + "submodule_git_url": { + "type": "string", + "example": "\"git://example.com/defunkt/dotjs.git\"" + } + }, + "required": [ + "_links", + "git_url", + "html_url", + "download_url", + "name", + "path", + "sha", + "size", + "type", + "url", + "content", + "encoding" + ] + }, + "examples": { + "default": { + "value": { + "type": "file", + "encoding": "base64", + "size": 5362, + "name": "README.md", + "path": "README.md", + "content": "encoded content ...", + "sha": "3d21ec53a331a6f037a91c368710b99387d012c1", + "url": "https://api.github.com/repos/octokit/octokit.rb/contents/README.md", + "git_url": "https://api.github.com/repos/octokit/octokit.rb/git/blobs/3d21ec53a331a6f037a91c368710b99387d012c1", + "html_url": "https://github.com/octokit/octokit.rb/blob/master/README.md", + "download_url": "https://raw.githubusercontent.com/octokit/octokit.rb/master/README.md", + "_links": { + "git": "https://api.github.com/repos/octokit/octokit.rb/git/blobs/3d21ec53a331a6f037a91c368710b99387d012c1", + "self": "https://api.github.com/repos/octokit/octokit.rb/contents/README.md", + "html": "https://github.com/octokit/octokit.rb/blob/master/README.md" + } + } + } + } + } + } + }, + "404": { + "description": "Resource not found", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + } + } + } + } + } + }, + "422": { + "description": "Validation failed", + "content": { + "application/json": { + "schema": { + "title": "Validation Error", + "description": "Validation Error", + "type": "object", + "required": [ + "message", + "documentation_url" + ], + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "errors": { + "type": "array", + "items": { + "type": "object", + "required": [ + "code" + ], + "properties": { + "resource": { + "type": "string" + }, + "field": { + "type": "string" + }, + "message": { + "type": "string" + }, + "code": { + "type": "string" + }, + "index": { + "type": "integer" + }, + "value": { + "oneOf": [ + { + "type": "string", + "nullable": true + }, + { + "type": "integer", + "nullable": true + }, + { + "type": "array", + "nullable": true, + "items": { + "type": "string" + } + } + ] + } + } + } + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "previews": [ + + ], + "category": "repos", + "subcategory": "contents" + } + } + }, + "/repos/{owner}/{repo}/readme/{dir}": { + "get": { + "summary": "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.", + "tags": [ + "repos" + ], + "operationId": "repos/get-readme-in-directory", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-server@2.18/rest/reference/repos#get-a-repository-directory-readme" + }, + "parameters": [ + { + "name": "owner", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "repo", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "dir", + "description": "The alternate path to look for a README file", + "in": "path", + "required": true, + "schema": { + "type": "string" + }, + "x-multi-segment": true + }, + { + "name": "ref", + "description": "The name of the commit/branch/tag. Default: the repository’s default branch (usually `master`)", + "in": "query", + "required": false, + "schema": { + "type": "string" + } + } + ], "responses": { "200": { "description": "response", @@ -192467,7 +192618,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -192487,7 +192638,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -192617,7 +192768,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -193117,7 +193268,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -193226,7 +193377,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -193721,7 +193872,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -194075,7 +194226,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -194095,7 +194246,7 @@ } }, "415": { - "description": "Preview Header Missing", + "description": "Preview header missing", "content": { "application/json": { "schema": { @@ -194197,7 +194348,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -194479,7 +194630,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "x-github": { @@ -194525,7 +194676,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -195054,7 +195205,7 @@ }, { "name": "tag", - "description": "tag+ parameter", + "description": "tag parameter", "in": "path", "required": true, "schema": { @@ -195065,7 +195216,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -195552,7 +195703,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -196111,7 +196262,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -196224,7 +196375,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -196761,7 +196912,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "x-github": { @@ -196834,7 +196985,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -197457,7 +197608,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -197781,7 +197932,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -197965,7 +198116,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -198466,7 +198617,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -198663,7 +198814,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -198938,7 +199089,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -199282,7 +199433,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -199385,7 +199536,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "x-github": { @@ -199449,7 +199600,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -199581,7 +199732,7 @@ ], "responses": { "302": { - "description": "response", + "description": "Response", "headers": { "Location": { "example": "https://codeload.github.com/me/myprivate/legacy.zip/master?login=me&token=thistokenexpires", @@ -199653,7 +199804,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -199871,11 +200022,29 @@ "schema": { "type": "string" } + }, + { + "name": "page", + "description": "Page number of the results to fetch.", + "in": "query", + "schema": { + "type": "integer", + "default": 1 + } + }, + { + "name": "per_page", + "description": "Results per page (max 100).", + "in": "query", + "schema": { + "type": "integer", + "default": 30 + } } ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -199910,7 +200079,7 @@ } }, "415": { - "description": "Preview Header Missing", + "description": "Preview header missing", "content": { "application/json": { "schema": { @@ -199932,7 +200101,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -200026,7 +200195,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -200061,7 +200230,7 @@ } }, "415": { - "description": "Preview Header Missing", + "description": "Preview header missing", "content": { "application/json": { "schema": { @@ -200083,7 +200252,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -200103,7 +200272,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -200212,7 +200381,7 @@ }, "responses": { "202": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -201329,7 +201498,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "x-github": { @@ -201377,7 +201546,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "x-github": { @@ -201435,7 +201604,7 @@ ], "responses": { "302": { - "description": "response", + "description": "Response", "headers": { "Location": { "example": "https://codeload.github.com/me/myprivate/legacy.zip/master?login=me&token=thistokenexpires", @@ -201532,7 +201701,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -202668,7 +202837,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -204225,7 +204394,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -204294,7 +204463,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" } }, "x-github": { @@ -204377,7 +204546,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -206054,10 +206223,10 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "503": { - "description": "Service Unavailable", + "description": "Service unavailable", "content": { "application/json": { "schema": { @@ -206078,7 +206247,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -206248,7 +206417,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -208218,10 +208387,10 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "415": { - "description": "Preview Header Missing", + "description": "Preview header missing", "content": { "application/json": { "schema": { @@ -208337,7 +208506,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -210461,7 +210630,7 @@ } }, "503": { - "description": "Service Unavailable", + "description": "Service unavailable", "content": { "application/json": { "schema": { @@ -210482,7 +210651,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -210551,7 +210720,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -210646,7 +210815,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -210784,10 +210953,10 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -210827,7 +210996,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -210979,7 +211148,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -211688,7 +211857,7 @@ } }, "503": { - "description": "Service Unavailable", + "description": "Service unavailable", "content": { "application/json": { "schema": { @@ -211709,7 +211878,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -211778,7 +211947,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" } }, "x-github": { @@ -211821,7 +211990,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -212095,10 +212264,10 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "415": { - "description": "Preview Header Missing", + "description": "Preview header missing", "content": { "application/json": { "schema": { @@ -212206,7 +212375,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -212450,10 +212619,10 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "503": { - "description": "Service Unavailable", + "description": "Service unavailable", "content": { "application/json": { "schema": { @@ -212474,7 +212643,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -212568,7 +212737,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -212655,7 +212824,7 @@ }, "responses": { "202": { - "description": "response" + "description": "Response" } }, "x-github": { @@ -212683,7 +212852,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -212764,7 +212933,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -212865,7 +213034,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -213474,7 +213643,7 @@ }, "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "requestBody": { @@ -213520,7 +213689,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -213578,7 +213747,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -213654,7 +213823,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -213732,7 +213901,7 @@ }, "responses": { "202": { - "description": "response" + "description": "Response" } }, "requestBody": { @@ -213786,7 +213955,7 @@ }, "responses": { "202": { - "description": "response" + "description": "Response" } }, "requestBody": { @@ -213839,7 +214008,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -214345,7 +214514,7 @@ ], "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -214898,7 +215067,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "x-github": { @@ -214982,7 +215151,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -215377,7 +215546,7 @@ ], "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -215802,7 +215971,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -216192,7 +216361,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -216604,7 +216773,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "x-github": { @@ -216696,7 +216865,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -217065,7 +217234,7 @@ ], "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -217453,7 +217622,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -217817,7 +217986,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -218202,7 +218371,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "x-github": { @@ -218307,7 +218476,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -218584,7 +218753,7 @@ ], "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -218910,7 +219079,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -219179,7 +219348,7 @@ ], "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -219483,7 +219652,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -219736,74 +219905,13 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "404": { "description": "Response if team synchronization is set up" }, "422": { - "description": "response", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "errors": { - "type": "array", - "items": { - "type": "object", - "properties": { - "code": { - "type": "string" - }, - "field": { - "type": "string" - }, - "resource": { - "type": "string" - } - } - } - }, - "documentation_url": { - "type": "string", - "example": "\"https://docs.github.com/enterprise-server@2.18/rest\"" - } - } - }, - "examples": { - "response-if-you-attempt-to-add-an-organization-to-a-team": { - "summary": "Response if you attempt to add an organization to a team", - "value": { - "message": "Cannot add an organization as a member.", - "errors": [ - { - "code": "org", - "field": "user", - "resource": "TeamMember" - } - ] - } - }, - "response-if-you-attempt-to-add-a-user-to-a-team-when-they-are-not-a-member-of-at-least-one-other-team-in-the-same-organization": { - "summary": "Response if you attempt to add a user to a team when they are not a member of at least one other team in the same organization", - "value": { - "message": "User isn't a member of this organization. Please invite them first.", - "errors": [ - { - "code": "unaffiliated", - "field": "user", - "resource": "TeamMember" - } - ] - } - } - } - } - } + "description": "Response if you attempt to add an organization to a team or you attempt to add a user to a team when they are not a member of at least one other team in the same organization" }, "403": { "description": "Forbidden", @@ -219870,7 +219978,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "404": { "description": "Response if team synchronization is setup" @@ -219893,7 +220001,7 @@ "/teams/{team_id}/memberships/{username}": { "get": { "summary": "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).", + "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).", "operationId": "teams/get-membership-for-user", "tags": [ "teams" @@ -219922,7 +220030,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -219945,7 +220053,12 @@ "type": "string" }, "state": { - "type": "string" + "description": "The state of the user's membership in the team.", + "type": "string", + "enum": [ + "active", + "pending" + ] } }, "required": [ @@ -219955,14 +220068,6 @@ ] }, "examples": { - "response-if-user-has-an-active-membership-with-team": { - "summary": "Response if user has an active membership with team", - "value": { - "url": "https://api.github.com/teams/1/memberships/octocat", - "role": "member", - "state": "active" - } - }, "response-if-user-is-a-team-maintainer": { "summary": "Response if user is a team maintainer", "value": { @@ -219970,14 +220075,6 @@ "role": "maintainer", "state": "active" } - }, - "response-if-user-has-a-pending-membership-with-team": { - "summary": "Response if user has a pending membership with team", - "value": { - "url": "https://api.github.com/teams/1/memberships/octocat", - "role": "member", - "state": "pending" - } } } } @@ -220029,7 +220126,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -220052,7 +220149,12 @@ "type": "string" }, "state": { - "type": "string" + "description": "The state of the user's membership in the team.", + "type": "string", + "enum": [ + "active", + "pending" + ] } }, "required": [ @@ -220062,14 +220164,6 @@ ] }, "examples": { - "response-if-users-membership-with-team-is-now-active": { - "summary": "Response if user's membership with team is now active", - "value": { - "url": "https://api.github.com/teams/1/memberships/octocat", - "role": "member", - "state": "active" - } - }, "response-if-users-membership-with-team-is-now-pending": { "summary": "Response if user's membership with team is now pending", "value": { @@ -220083,50 +220177,7 @@ } }, "422": { - "description": "Response if you attempt to add an organization to a team", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "errors": { - "type": "array", - "items": { - "type": "object", - "properties": { - "code": { - "type": "string" - }, - "field": { - "type": "string" - }, - "resource": { - "type": "string" - } - } - } - } - } - }, - "examples": { - "response-if-you-attempt-to-add-an-organization-to-a-team": { - "value": { - "message": "Cannot add an organization as a member.", - "errors": [ - { - "code": "org", - "field": "user", - "resource": "TeamMember" - } - ] - } - } - } - } - } + "description": "Response if you attempt to add an organization to a team" } }, "requestBody": { @@ -220190,7 +220241,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "x-github": { @@ -220256,7 +220307,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -220582,7 +220633,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -220896,7 +220947,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "403": { "description": "Response if the project is not owned by the organization", @@ -220996,7 +221047,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "x-github": { @@ -221052,7 +221103,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -228212,7 +228263,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "requestBody": { @@ -228288,7 +228339,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "x-github": { @@ -228499,7 +228550,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -229042,7 +229093,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -229065,7 +229116,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -229161,7 +229212,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -229462,10 +229513,10 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -229505,7 +229556,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -229525,7 +229576,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -229639,7 +229690,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -229700,10 +229751,10 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -229743,7 +229794,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -229836,7 +229887,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -229901,7 +229952,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -229970,10 +230021,10 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -230013,7 +230064,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -230104,13 +230155,13 @@ }, "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -230150,7 +230201,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -230170,7 +230221,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -230284,7 +230335,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -230440,7 +230491,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -230463,7 +230514,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -230528,7 +230579,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -230684,7 +230735,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -230707,7 +230758,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -230785,7 +230836,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -230808,7 +230859,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -230861,13 +230912,13 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -230907,7 +230958,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -230960,13 +231011,13 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -231006,7 +231057,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -231071,7 +231122,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -231293,10 +231344,10 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -231336,7 +231387,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -231400,7 +231451,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -231609,7 +231660,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -231678,10 +231729,10 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -231721,7 +231772,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -231777,7 +231828,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -231986,7 +232037,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -232006,7 +232057,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -232029,7 +232080,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -232083,10 +232134,10 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -232106,7 +232157,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -232175,7 +232226,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -232198,7 +232249,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -232832,7 +232883,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -232855,7 +232906,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -232875,7 +232926,7 @@ } }, "415": { - "description": "Preview Header Missing", + "description": "Preview header missing", "content": { "application/json": { "schema": { @@ -234061,7 +234112,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -234101,7 +234152,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" } }, "x-github": { @@ -234157,7 +234208,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "403": { "description": "Forbidden", @@ -234180,10 +234231,10 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -234249,7 +234300,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "403": { "description": "Forbidden", @@ -234272,10 +234323,10 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -234335,6 +234386,7 @@ "created", "mentioned", "subscribed", + "repos", "all" ], "default": "assigned" @@ -234423,7 +234475,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -236830,7 +236882,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -236850,7 +236902,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" } }, "x-github": { @@ -236901,7 +236953,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -236987,10 +237039,10 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -237030,7 +237082,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -237100,7 +237152,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -237163,7 +237215,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -237232,10 +237284,10 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -237275,7 +237327,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -237331,7 +237383,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -237394,7 +237446,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -237414,7 +237466,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -237437,7 +237489,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -237491,13 +237543,13 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -237537,7 +237589,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -237615,7 +237667,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -237632,11 +237684,21 @@ }, "state": { "type": "string", - "example": "active" + "description": "The state of the member in the organization. The `pending` state indicates the user has not yet accepted an invitation.", + "example": "active", + "enum": [ + "active", + "pending" + ] }, "role": { "type": "string", - "example": "admin" + "description": "The user's membership type in the organization.", + "example": "admin", + "enum": [ + "admin", + "member" + ] }, "organization_url": { "type": "string", @@ -237953,7 +238015,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -237976,7 +238038,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -237996,7 +238058,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -238100,7 +238162,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -238115,11 +238177,21 @@ }, "state": { "type": "string", - "example": "active" + "description": "The state of the member in the organization. The `pending` state indicates the user has not yet accepted an invitation.", + "example": "active", + "enum": [ + "active", + "pending" + ] }, "role": { "type": "string", - "example": "admin" + "description": "The user's membership type in the organization.", + "example": "admin", + "enum": [ + "admin", + "member" + ] }, "organization_url": { "type": "string", @@ -238405,7 +238477,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -238482,7 +238554,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -238497,11 +238569,21 @@ }, "state": { "type": "string", - "example": "active" + "description": "The state of the member in the organization. The `pending` state indicates the user has not yet accepted an invitation.", + "example": "active", + "enum": [ + "active", + "pending" + ] }, "role": { "type": "string", - "example": "admin" + "description": "The user's membership type in the organization.", + "example": "admin", + "enum": [ + "admin", + "member" + ] }, "organization_url": { "type": "string", @@ -238787,7 +238869,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -238807,7 +238889,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -238921,7 +239003,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -239032,7 +239114,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -239055,7 +239137,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -239128,7 +239210,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -239384,7 +239466,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -239407,7 +239489,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -239427,7 +239509,7 @@ } }, "415": { - "description": "Preview Header Missing", + "description": "Preview header missing", "content": { "application/json": { "schema": { @@ -239449,7 +239531,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -239528,7 +239610,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -239589,10 +239671,10 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -239632,7 +239714,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -239786,7 +239868,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -240857,7 +240939,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -240926,7 +241008,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -240949,7 +241031,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -241100,7 +241182,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -242182,7 +242264,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -242202,10 +242284,10 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -242245,7 +242327,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -242422,7 +242504,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -244315,10 +244397,10 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -244358,7 +244440,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -244414,7 +244496,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "403": { "description": "Forbidden", @@ -244457,7 +244539,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -244477,7 +244559,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" } }, "x-github": { @@ -244514,7 +244596,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "409": { "description": "Conflict", @@ -244537,10 +244619,10 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -244653,7 +244735,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -246816,7 +246898,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -246839,7 +246921,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -246925,7 +247007,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -246945,7 +247027,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -247009,7 +247091,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "403": { "description": "Forbidden", @@ -247032,7 +247114,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -247052,7 +247134,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -247072,7 +247154,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" } }, "x-github": { @@ -247116,10 +247198,10 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -247139,7 +247221,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -247159,7 +247241,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -247227,7 +247309,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -248828,7 +248910,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -248851,7 +248933,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -248916,7 +248998,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -249398,10 +249480,10 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -249486,7 +249568,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -249642,7 +249724,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" } }, "x-github": { @@ -249680,7 +249762,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -250219,7 +250301,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -250292,7 +250374,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -252994,7 +253076,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -255688,7 +255770,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -258382,7 +258464,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -258591,7 +258673,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -258858,7 +258940,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -259276,7 +259358,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -259398,7 +259480,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -259679,7 +259761,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -259726,7 +259808,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -259746,7 +259828,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -259860,7 +259942,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -260404,7 +260486,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -260502,7 +260584,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -260681,7 +260763,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -260950,7 +261032,7 @@ } }, "415": { - "description": "Preview Header Missing", + "description": "Preview header missing", "content": { "application/json": { "schema": { @@ -260972,7 +261054,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -261098,7 +261180,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -263792,7 +263874,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -266530,7 +266612,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -268170,7 +268252,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "x-github": { @@ -268206,7 +268288,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "x-github": { @@ -268290,7 +268372,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -270506,7 +270588,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -272142,7 +272224,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "requestBody": { @@ -272193,7 +272275,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "requestBody": { @@ -272232,7 +272314,7 @@ "operationId": "meta/get-zen", "responses": { "200": { - "description": "response", + "description": "Response", "content": { "text/plain": { "schema": { diff --git a/lib/rest/static/dereferenced/ghes-2.19.deref.json b/lib/rest/static/dereferenced/ghes-2.19.deref.json index 5206af05c2..f3a2b11af1 100644 --- a/lib/rest/static/dereferenced/ghes-2.19.deref.json +++ b/lib/rest/static/dereferenced/ghes-2.19.deref.json @@ -134,7 +134,7 @@ ], "servers": [ { - "url": "{protocol}://{hostname}", + "url": "{protocol}://{hostname}/api/v3", "variables": { "hostname": { "description": "Self-hosted Enterprise Server or Enterprise Cloud hostname", @@ -162,7 +162,7 @@ "operationId": "meta/root", "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -394,7 +394,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -529,7 +529,7 @@ ], "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -729,7 +729,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -859,7 +859,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -1040,7 +1040,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "x-github": { @@ -1092,7 +1092,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "x-github": { @@ -1140,11 +1140,48 @@ "type": "integer", "default": 1 } + }, + { + "name": "direction", + "description": "One of `asc` (ascending) or `desc` (descending).", + "in": "query", + "required": false, + "schema": { + "type": "string", + "enum": [ + "asc", + "desc" + ], + "default": "desc" + } + }, + { + "name": "sort", + "in": "query", + "required": false, + "schema": { + "type": "string", + "enum": [ + "created", + "updated", + "accessed" + ], + "default": "created" + } + }, + { + "name": "since", + "description": "Only show public keys accessed after the given time.", + "in": "query", + "required": false, + "schema": { + "type": "string" + } } ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -1242,7 +1279,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "x-github": { @@ -1280,7 +1317,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -1407,7 +1444,7 @@ ], "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -1460,7 +1497,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -1607,7 +1644,7 @@ ], "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -1650,7 +1687,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -1815,7 +1852,7 @@ ], "responses": { "202": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -1899,11 +1936,39 @@ "type": "integer", "default": 1 } + }, + { + "name": "direction", + "description": "One of `asc` (ascending) or `desc` (descending).", + "in": "query", + "required": false, + "schema": { + "type": "string", + "enum": [ + "asc", + "desc" + ], + "default": "desc" + } + }, + { + "name": "sort", + "in": "query", + "required": false, + "schema": { + "type": "string", + "enum": [ + "created", + "updated", + "name" + ], + "default": "created" + } } ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -2026,7 +2091,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -2167,7 +2232,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -2279,7 +2344,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -2456,7 +2521,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "422": { "description": "Client Errors", @@ -2544,7 +2609,7 @@ ], "responses": { "202": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -2665,7 +2730,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -2746,11 +2811,40 @@ "type": "integer", "default": 1 } + }, + { + "name": "direction", + "description": "One of `asc` (ascending) or `desc` (descending).", + "in": "query", + "required": false, + "schema": { + "type": "string", + "enum": [ + "asc", + "desc" + ], + "default": "desc" + } + }, + { + "name": "sort", + "description": "One of `created` (when the repository was starred) or `updated` (when it was last pushed to) or `name`.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "enum": [ + "created", + "updated", + "name" + ], + "default": "created" + } } ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -2907,7 +3001,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -3130,7 +3224,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -3292,7 +3386,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -3502,7 +3596,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "x-github": { @@ -3554,7 +3648,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -4264,7 +4358,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "x-github": { @@ -4292,7 +4386,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -4496,7 +4590,7 @@ ], "responses": { "202": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -4572,7 +4666,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "x-github": { @@ -4610,7 +4704,7 @@ ], "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -5311,7 +5405,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "x-github": { @@ -5342,7 +5436,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -5674,7 +5768,7 @@ ], "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -6000,7 +6094,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -6020,7 +6114,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -6655,7 +6749,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -7143,7 +7237,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -7163,7 +7257,7 @@ } }, "415": { - "description": "Preview Header Missing", + "description": "Preview header missing", "content": { "application/json": { "schema": { @@ -7232,10 +7326,10 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -7590,7 +7684,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -8750,7 +8844,7 @@ } }, "415": { - "description": "Preview Header Missing", + "description": "Preview header missing", "content": { "application/json": { "schema": { @@ -8772,7 +8866,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -8792,7 +8886,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -8812,7 +8906,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -8925,11 +9019,20 @@ "type": "integer", "default": 1 } + }, + { + "name": "client_id", + "in": "query", + "required": false, + "description": "The client ID of your GitHub app.", + "schema": { + "type": "string" + } } ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -9147,7 +9250,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -9170,7 +9273,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -9190,7 +9293,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -9249,7 +9352,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -9454,7 +9557,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -9477,7 +9580,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -9534,10 +9637,10 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -9560,7 +9663,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -9627,7 +9730,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "x-github": { @@ -9674,7 +9777,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -9882,7 +9985,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -10090,7 +10193,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "x-github": { @@ -10128,7 +10231,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -10442,7 +10545,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -10462,7 +10565,7 @@ } }, "415": { - "description": "Preview Header Missing", + "description": "Preview header missing", "content": { "application/json": { "schema": { @@ -10528,11 +10631,20 @@ "type": "integer", "default": 1 } + }, + { + "name": "client_id", + "in": "query", + "required": false, + "description": "The client ID of your GitHub app.", + "schema": { + "type": "string" + } } ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -11207,7 +11319,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -11230,7 +11342,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -11250,7 +11362,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -11345,7 +11457,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -12003,7 +12115,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -12092,7 +12204,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -12115,7 +12227,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -13534,7 +13646,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -13603,7 +13715,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -13626,7 +13738,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -15049,7 +15161,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -15157,7 +15269,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -15807,7 +15919,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -15830,7 +15942,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -15937,7 +16049,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -16587,7 +16699,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -16693,10 +16805,10 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -16719,7 +16831,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -16770,7 +16882,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -16833,10 +16945,10 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "415": { - "description": "Preview Header Missing", + "description": "Preview header missing", "content": { "application/json": { "schema": { @@ -16897,7 +17009,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -16950,7 +17062,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -16970,10 +17082,10 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "415": { - "description": "Preview Header Missing", + "description": "Preview header missing", "content": { "application/json": { "schema": { @@ -17061,7 +17173,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -17111,7 +17223,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -17180,7 +17292,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -17220,7 +17332,7 @@ } }, "415": { - "description": "Preview Header Missing", + "description": "Preview header missing", "content": { "application/json": { "schema": { @@ -17242,7 +17354,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -17307,10 +17419,10 @@ } } }, - "description": "response" + "description": "Response" }, "304": { - "description": "Not Modified" + "description": "Not modified" } }, "x-github": { @@ -17338,7 +17450,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -17415,7 +17527,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -17684,7 +17796,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -20335,7 +20447,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -20358,7 +20470,7 @@ } }, "503": { - "description": "Service Unavailable", + "description": "Service unavailable", "content": { "application/json": { "schema": { @@ -20407,7 +20519,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -20709,7 +20821,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -21127,7 +21239,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -21236,7 +21348,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -21469,7 +21581,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -21538,10 +21650,10 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -21635,7 +21747,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -22053,7 +22165,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -22122,7 +22234,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -22199,7 +22311,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -22617,7 +22729,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -22637,7 +22749,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -22696,7 +22808,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -22954,7 +23066,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -22974,7 +23086,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" } }, "x-github": { @@ -23081,7 +23193,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -23306,7 +23418,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -23375,7 +23487,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -23429,10 +23541,10 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -23452,7 +23564,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -23529,7 +23641,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -23761,10 +23873,10 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -23858,7 +23970,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -24085,10 +24197,10 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -24173,7 +24285,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -24392,10 +24504,10 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -24511,7 +24623,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -24730,7 +24842,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -24793,13 +24905,13 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -24893,7 +25005,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -25106,7 +25218,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -25126,7 +25238,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -25203,7 +25315,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -25472,7 +25584,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -25492,7 +25604,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -25549,7 +25661,7 @@ ], "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -25962,7 +26074,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -25982,7 +26094,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -26051,7 +26163,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -26126,7 +26238,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -26183,10 +26295,10 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -26206,7 +26318,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -26263,13 +26375,13 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -26353,7 +26465,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -26578,7 +26690,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -26647,7 +26759,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -26715,7 +26827,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -26737,7 +26849,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" } }, "x-github": { @@ -26775,7 +26887,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -26809,7 +26921,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" } }, "x-github": { @@ -26867,7 +26979,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -27979,10 +28091,10 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -28047,6 +28159,7 @@ "created", "mentioned", "subscribed", + "repos", "all" ], "default": "assigned" @@ -28167,7 +28280,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -30579,7 +30692,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -30648,10 +30761,10 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -30714,11 +30827,20 @@ "type": "integer", "default": 30 } + }, + { + "name": "page", + "description": "Page number of the results to fetch.", + "in": "query", + "schema": { + "type": "integer", + "default": 1 + } } ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -30824,7 +30946,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" } }, "x-github": { @@ -30862,7 +30984,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -31015,7 +31137,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -31035,7 +31157,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" } }, "x-github": { @@ -31098,7 +31220,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "headers": { "Content-Type": { "example": "text/html", @@ -31128,7 +31250,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" } }, "x-github": { @@ -31173,7 +31295,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "headers": { "X-CommonMarker-Version": { "example": "0.17.4", @@ -31191,7 +31313,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" } }, "x-github": { @@ -31222,7 +31344,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -31260,7 +31382,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" } }, "x-github": { @@ -31324,7 +31446,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -33975,7 +34097,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -34015,10 +34137,10 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "301": { - "description": "Moved Permanently" + "description": "Moved permanently" } }, "x-github": { @@ -34104,7 +34226,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -35740,7 +35862,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -35763,7 +35885,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -35783,7 +35905,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -35898,7 +36020,7 @@ }, "responses": { "202": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -35913,10 +36035,10 @@ } }, "205": { - "description": "response" + "description": "Response" }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -35939,7 +36061,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -35995,7 +36117,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -37618,7 +37740,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -37641,7 +37763,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -37695,10 +37817,10 @@ ], "responses": { "205": { - "description": "response" + "description": "Response" }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -37757,7 +37879,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -37822,7 +37944,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -37845,7 +37967,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -37915,7 +38037,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -37980,7 +38102,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -38003,7 +38125,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -38057,10 +38179,10 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -38083,7 +38205,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -38135,7 +38257,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/octocat-stream": { "schema": { @@ -38189,7 +38311,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -38300,7 +38422,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" } }, "x-github": { @@ -38338,7 +38460,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -38606,7 +38728,9 @@ "plan": { "name": "Medium", "space": 400, - "private_repos": 20 + "private_repos": 20, + "filled_seats": 4, + "seats": 5 }, "default_repository_permission": "read", "members_can_create_repositories": true, @@ -38617,54 +38741,13 @@ "members_can_create_internal_repositories": false, "members_can_create_pages": true } - }, - "response-with-git-hub-plan-information": { - "summary": "Response with GitHub plan information", - "value": { - "login": "github", - "id": 1, - "node_id": "MDEyOk9yZ2FuaXphdGlvbjE=", - "url": "https://api.github.com/orgs/github", - "repos_url": "https://api.github.com/orgs/github/repos", - "events_url": "https://api.github.com/orgs/github/events", - "hooks_url": "https://api.github.com/orgs/github/hooks", - "issues_url": "https://api.github.com/orgs/github/issues", - "members_url": "https://api.github.com/orgs/github/members{/member}", - "public_members_url": "https://api.github.com/orgs/github/public_members{/member}", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "description": "A great organization", - "name": "github", - "company": "GitHub", - "blog": "https://github.com/blog", - "location": "San Francisco", - "email": "octocat@github.com", - "twitter_username": "github", - "is_verified": true, - "has_organization_projects": true, - "has_repository_projects": true, - "public_repos": 2, - "public_gists": 1, - "followers": 20, - "following": 0, - "html_url": "https://github.com/octocat", - "created_at": "2008-01-14T04:33:35Z", - "updated_at": "2014-03-03T18:58:10Z", - "type": "Organization", - "plan": { - "name": "team", - "space": 976562499, - "private_repos": 999999, - "filled_seats": 4, - "seats": 5 - } - } } } } } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -38821,7 +38904,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -39100,7 +39183,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -39216,7 +39299,7 @@ } }, "415": { - "description": "Preview Header Missing", + "description": "Preview header missing", "content": { "application/json": { "schema": { @@ -39295,7 +39378,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -41999,7 +42082,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -42126,7 +42209,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -42263,7 +42346,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -42385,7 +42468,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -42454,7 +42537,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -42517,7 +42600,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -42631,7 +42714,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -42758,7 +42841,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -42871,7 +42954,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -42940,7 +43023,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -43001,10 +43084,10 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -43067,10 +43150,10 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -43135,7 +43218,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -43689,7 +43772,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -44253,6 +44336,7 @@ "created", "mentioned", "subscribed", + "repos", "all" ], "default": "assigned" @@ -44341,7 +44425,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -46753,7 +46837,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -46858,7 +46942,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -47025,7 +47109,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -47195,7 +47279,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "403": { "description": "Forbidden", @@ -47232,7 +47316,7 @@ "/orgs/{org}/memberships/{username}": { "get": { "summary": "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.", + "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.", "tags": [ "orgs" ], @@ -47261,7 +47345,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -47276,11 +47360,21 @@ }, "state": { "type": "string", - "example": "active" + "description": "The state of the member in the organization. The `pending` state indicates the user has not yet accepted an invitation.", + "example": "active", + "enum": [ + "active", + "pending" + ] }, "role": { "type": "string", - "example": "admin" + "description": "The user's membership type in the organization.", + "example": "admin", + "enum": [ + "admin", + "member" + ] }, "organization_url": { "type": "string", @@ -47541,99 +47635,13 @@ "site_admin": false } } - }, - "response-if-user-has-an-active-membership-with-organization": { - "summary": "Response if user has an active membership with organization", - "value": { - "url": "https://api.github.com/orgs/octocat/memberships/defunkt", - "state": "active", - "role": "member", - "organization_url": "https://api.github.com/orgs/octocat", - "organization": { - "login": "github", - "id": 1, - "node_id": "MDEyOk9yZ2FuaXphdGlvbjE=", - "url": "https://api.github.com/orgs/github", - "repos_url": "https://api.github.com/orgs/github/repos", - "events_url": "https://api.github.com/orgs/github/events", - "hooks_url": "https://api.github.com/orgs/github/hooks", - "issues_url": "https://api.github.com/orgs/github/issues", - "members_url": "https://api.github.com/orgs/github/members{/member}", - "public_members_url": "https://api.github.com/orgs/github/public_members{/member}", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "description": "A great organization" - }, - "user": { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - } - } - }, - "response-if-user-has-a-pending-membership-with-organization": { - "summary": "Response if user has a pending membership with organization", - "value": { - "url": "https://api.github.com/orgs/invitocat/memberships/defunkt", - "state": "pending", - "role": "member", - "organization_url": "https://api.github.com/orgs/invitocat", - "organization": { - "login": "github", - "id": 1, - "node_id": "MDEyOk9yZ2FuaXphdGlvbjE=", - "url": "https://api.github.com/orgs/github", - "repos_url": "https://api.github.com/orgs/github/repos", - "events_url": "https://api.github.com/orgs/github/events", - "hooks_url": "https://api.github.com/orgs/github/hooks", - "issues_url": "https://api.github.com/orgs/github/issues", - "members_url": "https://api.github.com/orgs/github/members{/member}", - "public_members_url": "https://api.github.com/orgs/github/public_members{/member}", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "description": "A great organization" - }, - "user": { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - } - } } } } } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -47734,7 +47742,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -47749,11 +47757,21 @@ }, "state": { "type": "string", - "example": "active" + "description": "The state of the member in the organization. The `pending` state indicates the user has not yet accepted an invitation.", + "example": "active", + "enum": [ + "active", + "pending" + ] }, "role": { "type": "string", - "example": "admin" + "description": "The user's membership type in the organization.", + "example": "admin", + "enum": [ + "admin", + "member" + ] }, "organization_url": { "type": "string", @@ -47972,51 +47990,8 @@ ] }, "examples": { - "response-if-user-was-previously-unaffiliated-with-organization": { - "summary": "Response if user was previously unaffiliated with organization", - "value": { - "url": "https://api.github.com/orgs/invitocat/memberships/defunkt", - "state": "pending", - "role": "admin", - "organization_url": "https://api.github.com/orgs/invitocat", - "organization": { - "login": "github", - "id": 1, - "node_id": "MDEyOk9yZ2FuaXphdGlvbjE=", - "url": "https://api.github.com/orgs/github", - "repos_url": "https://api.github.com/orgs/github/repos", - "events_url": "https://api.github.com/orgs/github/events", - "hooks_url": "https://api.github.com/orgs/github/hooks", - "issues_url": "https://api.github.com/orgs/github/issues", - "members_url": "https://api.github.com/orgs/github/members{/member}", - "public_members_url": "https://api.github.com/orgs/github/public_members{/member}", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "description": "A great organization" - }, - "user": { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - } - } - }, "response-if-user-already-had-membership-with-organization": { - "summary": "Response if user already had membership with organization", + "summary": "Response if user has an active admin membership with organization", "value": { "url": "https://api.github.com/orgs/octocat/memberships/defunkt", "state": "active", @@ -48063,7 +48038,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -48193,7 +48168,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "403": { "description": "Forbidden", @@ -48216,7 +48191,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -48303,7 +48278,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -48508,41 +48483,10 @@ "description": "User was converted" }, "403": { - "description": "response", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - } - } - }, - "examples": { - "response-if-user-is-the-last-owner-of-the-organization": { - "summary": "Response if user is the last owner of the organization", - "value": { - "message": "Cannot convert the last owner to an outside collaborator", - "documentation_url": "https://docs.github.com/enterprise-server@2.19/rest/reference/orgs#convert-member-to-outside-collaborator" - } - }, - "response-if-user-is-not-a-member-of-the-organization": { - "summary": "Response if user is not a member of the organization", - "value": { - "message": " is not a member of the organization.", - "documentation_url": "https://docs.github.com/enterprise-server@2.19/rest/reference/orgs#convert-member-to-outside-collaborator" - } - } - } - } - } + "description": "Response if user is the last owner of the organization or not a member of the organization" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -48603,7 +48547,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "422": { "description": "Response if user is a member of the organization", @@ -48681,11 +48625,40 @@ "type": "integer", "default": 1 } + }, + { + "name": "direction", + "description": "One of `asc` (ascending) or `desc` (descending).", + "in": "query", + "required": false, + "schema": { + "type": "string", + "enum": [ + "asc", + "desc" + ], + "default": "desc" + } + }, + { + "name": "sort", + "description": "The sort order for the response collection.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "enum": [ + "created", + "updated", + "name" + ], + "default": "created" + } } ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -48775,7 +48748,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -48858,7 +48831,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -48964,7 +48937,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -49074,7 +49047,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -49343,7 +49316,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -49436,7 +49409,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -49692,7 +49665,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -49732,7 +49705,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -49772,7 +49745,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -49859,7 +49832,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -50105,7 +50078,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "403": { "description": "Forbidden", @@ -50169,7 +50142,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "x-github": { @@ -50272,7 +50245,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -52022,7 +51995,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -53124,7 +53097,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -53255,7 +53228,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -53551,7 +53524,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -54020,7 +53993,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -54153,7 +54126,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -54622,7 +54595,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -54678,7 +54651,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -54905,7 +54878,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -54928,7 +54901,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -54948,7 +54921,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -55028,7 +55001,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -55255,7 +55228,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -55278,7 +55251,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -55298,7 +55271,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -55318,7 +55291,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -55386,10 +55359,10 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -55416,7 +55389,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -55436,7 +55409,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -55521,7 +55494,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -55534,7 +55507,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -55575,7 +55548,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -55595,7 +55568,7 @@ } }, "503": { - "description": "Service Unavailable", + "description": "Service unavailable", "content": { "application/json": { "schema": { @@ -55630,7 +55603,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -55739,7 +55712,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -55816,7 +55789,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -55839,7 +55812,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -55859,7 +55832,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -55936,7 +55909,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -56013,7 +55986,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -56036,7 +56009,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -56094,10 +56067,10 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -56120,7 +56093,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -56213,7 +56186,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -56453,7 +56426,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -56476,7 +56449,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -56577,7 +56550,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -56804,7 +56777,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -56827,7 +56800,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -56847,7 +56820,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -56943,7 +56916,7 @@ } }, "503": { - "description": "Service Unavailable", + "description": "Service unavailable", "content": { "application/json": { "schema": { @@ -57038,7 +57011,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -57051,7 +57024,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -57074,7 +57047,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -57104,7 +57077,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -57163,7 +57136,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -57419,7 +57392,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -57442,7 +57415,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -57540,7 +57513,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -57799,7 +57772,7 @@ "description": "Response if the authenticated user does not have access to the project" }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -57826,7 +57799,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -57866,7 +57839,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -57936,7 +57909,7 @@ "description": "Delete Success" }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -57963,7 +57936,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -58003,7 +57976,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -58095,7 +58068,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -58251,7 +58224,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -58271,7 +58244,7 @@ } }, "415": { - "description": "Preview Header Missing", + "description": "Preview header missing", "content": { "application/json": { "schema": { @@ -58293,7 +58266,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -58362,7 +58335,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -58385,7 +58358,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -58474,10 +58447,10 @@ }, "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -58497,7 +58470,7 @@ } }, "415": { - "description": "Preview Header Missing", + "description": "Preview header missing", "content": { "application/json": { "schema": { @@ -58519,7 +58492,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -58588,7 +58561,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -58611,7 +58584,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -58676,13 +58649,13 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -58702,7 +58675,7 @@ } }, "415": { - "description": "Preview Header Missing", + "description": "Preview header missing", "content": { "application/json": { "schema": { @@ -58744,7 +58717,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -58813,7 +58786,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -58880,7 +58853,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -59045,7 +59018,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -59065,7 +59038,7 @@ } }, "415": { - "description": "Preview Header Missing", + "description": "Preview header missing", "content": { "application/json": { "schema": { @@ -59087,7 +59060,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -59156,7 +59129,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -59179,7 +59152,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -59256,7 +59229,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -59346,7 +59319,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -59369,7 +59342,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -59445,7 +59418,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -59518,7 +59491,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -59541,7 +59514,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -59571,7 +59544,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -59623,7 +59596,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -59849,10 +59822,10 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -59917,7 +59890,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "x-github": { @@ -59965,7 +59938,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -64595,7 +64568,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -64615,7 +64588,7 @@ } }, "301": { - "description": "Moved Permanently" + "description": "Moved permanently" } }, "x-github": { @@ -64764,7 +64737,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -68891,7 +68864,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -68960,7 +68933,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -69030,7 +69003,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "403": { "description": "If an organization owner has configured the organization to prevent members from deleting organization-owned repositories, a member will get this response:", @@ -69055,7 +69028,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -69136,7 +69109,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -69292,7 +69265,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -69456,7 +69429,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -70383,18 +70356,6 @@ }, "examples": { "default": { - "value": [ - { - "name": "master", - "commit": { - "sha": "c5b97d5ae6c19d5c5df71a34c7fbeeda2479ccbc", - "url": "https://api.github.com/repos/octocat/Hello-World/commits/c5b97d5ae6c19d5c5df71a34c7fbeeda2479ccbc" - }, - "protected": true - } - ] - }, - "with-protection": { "value": [ { "name": "master", @@ -70430,7 +70391,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -70503,7 +70464,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -72022,7 +71983,7 @@ } }, "415": { - "description": "Preview Header Missing", + "description": "Preview header missing", "content": { "application/json": { "schema": { @@ -72044,7 +72005,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -72117,7 +72078,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -73157,7 +73118,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -73396,7 +73357,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -74352,7 +74313,7 @@ } }, "415": { - "description": "Preview Header Missing", + "description": "Preview header missing", "content": { "application/json": { "schema": { @@ -74374,7 +74335,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -74404,7 +74365,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -74479,7 +74440,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "403": { "description": "Forbidden", @@ -74555,7 +74516,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -74641,7 +74602,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -74730,7 +74691,7 @@ "description": "No Content" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -74803,7 +74764,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/vnd.github.luke-cage-preview+json": { "schema": { @@ -75282,7 +75243,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -75650,7 +75611,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -75777,7 +75738,7 @@ "description": "No Content" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -75850,7 +75811,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -75885,7 +75846,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -75960,7 +75921,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -75995,7 +75956,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -76073,7 +76034,7 @@ "description": "No Content" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -76150,7 +76111,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -76205,7 +76166,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -76304,7 +76265,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -76359,7 +76320,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -76379,7 +76340,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -76555,7 +76516,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -76571,7 +76532,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -76668,7 +76629,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -76685,7 +76646,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -76774,7 +76735,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -76872,7 +76833,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -76888,7 +76849,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -76957,7 +76918,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -77055,7 +77016,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -77071,7 +77032,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -77091,7 +77052,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -77214,7 +77175,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -77810,7 +77771,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -77937,7 +77898,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -78236,7 +78197,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -78333,7 +78294,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -78632,7 +78593,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -78779,7 +78740,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -79078,7 +79039,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -79225,7 +79186,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -79524,7 +79485,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -79647,7 +79608,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -79818,7 +79779,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -79915,7 +79876,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -80086,7 +80047,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -80233,7 +80194,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -80404,7 +80365,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -80551,7 +80512,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -80722,7 +80683,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -80845,7 +80806,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -80993,7 +80954,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -81090,7 +81051,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -81238,7 +81199,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -81385,7 +81346,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -81533,7 +81494,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -81680,7 +81641,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -81828,7 +81789,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -82165,7 +82126,7 @@ }, "examples": { "example-of-in-progress-conclusion": { - "summary": "Example of in_progress conclusion", + "summary": "Response for in_progress conclusion", "value": { "name": "mighty_readme", "head_sha": "ce587453ced02b1526dfb4cb910479d431683101", @@ -82180,7 +82141,7 @@ } }, "example-of-completed-conclusion": { - "summary": "Example of completed conclusion", + "summary": "Response for completed conclusion", "value": { "name": "mighty_readme", "head_sha": "ce587453ced02b1526dfb4cb910479d431683101", @@ -82234,7 +82195,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -83050,101 +83011,8 @@ ] }, "examples": { - "example-of-in-progress-conclusion": { - "summary": "Example of in_progress conclusion", - "value": { - "id": 4, - "head_sha": "ce587453ced02b1526dfb4cb910479d431683101", - "node_id": "MDg6Q2hlY2tSdW40", - "external_id": "42", - "url": "https://api.github.com/repos/github/hello-world/check-runs/4", - "html_url": "https://github.com/github/hello-world/runs/4", - "details_url": "https://example.com", - "status": "in_progress", - "conclusion": "neutral", - "started_at": "2018-05-04T01:14:52Z", - "completed_at": null, - "output": { - "title": "Mighty Readme Report", - "summary": "", - "text": "", - "annotations_count": 1, - "annotations_url": "https://api.github.com/repos/github/hello-world/check-runs/4/annotations" - }, - "name": "mighty_readme", - "check_suite": { - "id": 5 - }, - "app": { - "id": 1, - "slug": "octoapp", - "node_id": "MDExOkludGVncmF0aW9uMQ==", - "owner": { - "login": "github", - "id": 1, - "node_id": "MDEyOk9yZ2FuaXphdGlvbjE=", - "url": "https://api.github.com/orgs/github", - "repos_url": "https://api.github.com/orgs/github/repos", - "events_url": "https://api.github.com/orgs/github/events", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": true - }, - "name": "Octocat App", - "description": "", - "external_url": "https://example.com", - "html_url": "https://github.com/apps/octoapp", - "created_at": "2017-07-08T16:18:44-04:00", - "updated_at": "2017-07-08T16:18:44-04:00", - "permissions": { - "metadata": "read", - "contents": "read", - "issues": "write", - "single_file": "write" - }, - "events": [ - "push", - "pull_request" - ] - }, - "pull_requests": [ - { - "url": "https://api.github.com/repos/github/hello-world/pulls/1", - "id": 1934, - "number": 3956, - "head": { - "ref": "say-hello", - "sha": "3dca65fa3e8d4b3da3f3d056c59aee1c50f41390", - "repo": { - "id": 526, - "url": "https://api.github.com/repos/github/hello-world", - "name": "hello-world" - } - }, - "base": { - "ref": "master", - "sha": "e7fdf7640066d71ad16a86fbcbb9c6a10a18af4f", - "repo": { - "id": 526, - "url": "https://api.github.com/repos/github/hello-world", - "name": "hello-world" - } - } - } - ] - } - }, "example-of-completed-conclusion": { - "summary": "Example of completed conclusion", + "summary": "Response for completed conclusion", "value": { "id": 4, "head_sha": "ce587453ced02b1526dfb4cb910479d431683101", @@ -83297,7 +83165,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -84518,7 +84386,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -85505,7 +85373,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -85673,7 +85541,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -88036,7 +87904,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -89214,7 +89082,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -91600,7 +91468,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -92597,7 +92465,7 @@ ], "responses": { "201": { - "description": "response" + "description": "Response" } }, "x-github": { @@ -92680,7 +92548,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -92855,7 +92723,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -94891,7 +94759,7 @@ "description": "Response when person is already a collaborator" }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -95030,7 +94898,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "x-github": { @@ -95249,7 +95117,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -95330,7 +95198,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -95688,7 +95556,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -95977,7 +95845,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -96072,7 +95940,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -96361,7 +96229,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -96431,10 +96299,10 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -96543,7 +96411,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -96752,7 +96620,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -96772,7 +96640,7 @@ } }, "415": { - "description": "Preview Header Missing", + "description": "Preview header missing", "content": { "application/json": { "schema": { @@ -97271,7 +97139,7 @@ } }, "415": { - "description": "Preview Header Missing", + "description": "Preview header missing", "content": { "application/json": { "schema": { @@ -97293,7 +97161,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -97468,11 +97336,31 @@ "type": "integer", "default": 1 } + }, + { + "name": "top", + "description": "legacy parameter for pagination.", + "in": "query", + "deprecated": true, + "required": false, + "schema": { + "type": "string" + } + }, + { + "name": "last_sha", + "description": "legacy parameter for pagination.", + "in": "query", + "deprecated": true, + "required": false, + "schema": { + "type": "string" + } } ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -98125,7 +98013,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -98218,7 +98106,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -98275,7 +98163,7 @@ } }, "415": { - "description": "Preview Header Missing", + "description": "Preview header missing", "content": { "application/json": { "schema": { @@ -98297,7 +98185,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -98441,7 +98329,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -98834,7 +98722,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -99151,7 +99039,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -99292,7 +99180,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -103063,7 +102951,7 @@ } }, "415": { - "description": "Preview Header Missing", + "description": "Preview header missing", "content": { "application/json": { "schema": { @@ -103129,9 +103017,27 @@ "type": "string" } }, + { + "name": "page", + "description": "Page number of the results to fetch.", + "in": "query", + "schema": { + "type": "integer", + "default": 1 + } + }, + { + "name": "per_page", + "description": "Results per page (max 100).", + "in": "query", + "schema": { + "type": "integer", + "default": 30 + } + }, { "name": "ref", - "description": "ref+ parameter", + "description": "ref parameter", "in": "path", "required": true, "schema": { @@ -103142,7 +103048,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -103725,7 +103631,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -103794,7 +103700,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -103876,7 +103782,7 @@ }, { "name": "ref", - "description": "ref+ parameter", + "description": "ref parameter", "in": "path", "required": true, "schema": { @@ -103938,11 +103844,19 @@ "type": "integer", "default": 1 } + }, + { + "name": "app_id", + "in": "query", + "required": false, + "schema": { + "type": "integer" + } } ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -104929,7 +104843,7 @@ }, { "name": "ref", - "description": "ref+ parameter", + "description": "ref parameter", "in": "path", "required": true, "schema": { @@ -104977,7 +104891,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -107186,18 +107100,36 @@ }, { "name": "ref", - "description": "ref+ parameter", + "description": "ref parameter", "in": "path", "required": true, "schema": { "type": "string" }, "x-multi-segment": true + }, + { + "name": "per_page", + "description": "Results per page (max 100).", + "in": "query", + "schema": { + "type": "integer", + "default": 30 + } + }, + { + "name": "page", + "description": "Page number of the results to fetch.", + "in": "query", + "schema": { + "type": "integer", + "default": 1 + } } ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -108869,7 +108801,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -108931,7 +108863,7 @@ }, { "name": "ref", - "description": "ref+ parameter", + "description": "ref parameter", "in": "path", "required": true, "schema": { @@ -108960,7 +108892,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -109179,7 +109111,7 @@ } }, "301": { - "description": "Moved Permanently" + "description": "Moved permanently" } }, "x-github": { @@ -109241,7 +109173,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -111104,7 +111036,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -111166,7 +111098,7 @@ }, { "name": "path", - "description": "path+ parameter", + "description": "path parameter", "in": "path", "required": true, "schema": { @@ -111186,7 +111118,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/vnd.github.v3.object": { "schema": { @@ -111798,7 +111730,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -111881,7 +111813,7 @@ }, { "name": "path", - "description": "path+ parameter", + "description": "path parameter", "in": "path", "required": true, "schema": { @@ -111992,7 +111924,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -112208,7 +112140,7 @@ } }, "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -112424,7 +112356,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -112444,7 +112376,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -112573,7 +112505,7 @@ }, { "name": "path", - "description": "path+ parameter", + "description": "path parameter", "in": "path", "required": true, "schema": { @@ -112647,7 +112579,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -112848,7 +112780,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -112917,7 +112849,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -112957,7 +112889,7 @@ } }, "503": { - "description": "Service Unavailable", + "description": "Service unavailable", "content": { "application/json": { "schema": { @@ -113199,7 +113131,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -113296,7 +113228,8 @@ "required": false, "schema": { "type": "string", - "default": "none" + "default": "none", + "nullable": true } }, { @@ -113320,7 +113253,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -113987,7 +113920,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -114496,48 +114429,6 @@ "transient_environment": false, "production_environment": true } - }, - "advanced-example": { - "summary": "Advanced example", - "value": { - "url": "https://api.github.com/repos/octocat/example/deployments/1", - "id": 1, - "node_id": "MDEwOkRlcGxveW1lbnQx", - "sha": "a84d88e7554fc1fa21bcbc4efae3c782a70d2b9d", - "ref": "topic-branch", - "task": "deploy", - "payload": { - }, - "original_environment": "staging", - "environment": "production", - "description": "Deploy request from hubot", - "creator": { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - }, - "created_at": "2012-07-20T01:19:13Z", - "updated_at": "2012-07-20T01:19:13Z", - "statuses_url": "https://api.github.com/repos/octocat/example/deployments/1/statuses", - "repository_url": "https://api.github.com/repos/octocat/example", - "transient_environment": false, - "production_environment": true - } } } } @@ -114566,40 +114457,10 @@ } }, "409": { - "description": "response", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string", - "example": "\"https://docs.github.com/enterprise-server@2.19/rest/reference/repos#create-a-deployment\"" - } - } - }, - "examples": { - "merge-conflict-response": { - "summary": "Merge conflict response", - "value": { - "message": "Conflict merging master into topic-branch" - } - }, - "failed-commit-status-checks": { - "summary": "Failed commit status checks", - "value": { - "message": "Conflict: Commit status checks failed for topic-branch." - } - } - } - } - } + "description": "Response when there is a merge conflict or the commit's status checks failed" }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -114724,7 +114585,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -115238,7 +115099,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -115337,7 +115198,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -115861,7 +115722,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -116006,7 +115867,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -116525,7 +116386,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -116663,7 +116524,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -117174,7 +117035,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -117194,7 +117055,7 @@ } }, "415": { - "description": "Preview Header Missing", + "description": "Preview header missing", "content": { "application/json": { "schema": { @@ -117291,7 +117152,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -119992,7 +119853,8 @@ "enum": [ "newest", "oldest", - "stargazers" + "stargazers", + "watchers" ], "default": "newest" } @@ -120014,11 +119876,31 @@ "type": "integer", "default": 1 } + }, + { + "name": "org", + "description": "legacy query parameter for specifying the org.", + "in": "query", + "deprecated": true, + "required": false, + "schema": { + "type": "string" + } + }, + { + "name": "organization", + "description": "legacy query parameter for specifying the org.", + "in": "query", + "deprecated": true, + "required": false, + "schema": { + "type": "string" + } } ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -121710,6 +121592,26 @@ "schema": { "type": "string" } + }, + { + "name": "org", + "description": "legacy query parameter for specifying the org.", + "in": "query", + "deprecated": true, + "required": false, + "schema": { + "type": "string" + } + }, + { + "name": "organization", + "description": "legacy query parameter for specifying the org.", + "in": "query", + "deprecated": true, + "required": false, + "schema": { + "type": "string" + } } ], "requestBody": { @@ -121717,6 +121619,7 @@ "application/json": { "schema": { "type": "object", + "nullable": true, "properties": { "organization": { "type": "string", @@ -121729,7 +121632,7 @@ }, "responses": { "202": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -122857,7 +122760,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -122946,7 +122849,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -123036,7 +122939,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -123076,7 +122979,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -123136,7 +123039,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -123256,7 +123159,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -123313,7 +123216,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -123333,7 +123236,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -123548,7 +123451,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -123764,7 +123667,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -123833,7 +123736,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -123906,7 +123809,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -124114,7 +124017,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -124176,7 +124079,7 @@ }, { "name": "ref", - "description": "ref+ parameter", + "description": "ref parameter", "in": "path", "required": true, "schema": { @@ -124205,7 +124108,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -124338,7 +124241,7 @@ }, { "name": "ref", - "description": "ref+ parameter", + "description": "ref parameter", "in": "path", "required": true, "schema": { @@ -124349,7 +124252,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -124417,7 +124320,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -124511,7 +124414,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -124587,7 +124490,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -124698,7 +124601,7 @@ }, { "name": "ref", - "description": "ref+ parameter", + "description": "ref parameter", "in": "path", "required": true, "schema": { @@ -124736,7 +124639,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -124804,7 +124707,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -124913,7 +124816,7 @@ }, { "name": "ref", - "description": "ref+ parameter", + "description": "ref parameter", "in": "path", "required": true, "schema": { @@ -124924,10 +124827,10 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -125106,7 +125009,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -125253,7 +125156,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -125373,7 +125276,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -125512,7 +125415,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -125646,7 +125549,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -125774,7 +125677,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -125843,7 +125746,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -125929,7 +125832,8 @@ "required": true, "schema": { "type": "string" - } + }, + "x-multi-segment": true }, { "name": "recursive", @@ -125943,7 +125847,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -126097,7 +126001,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -126166,7 +126070,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -126247,7 +126151,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -126444,7 +126348,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -126589,7 +126493,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -126781,7 +126685,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -126801,7 +126705,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -126941,7 +126845,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -127125,7 +127029,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -127278,7 +127182,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -127462,7 +127366,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -127531,7 +127435,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -127600,10 +127504,10 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -127674,10 +127578,10 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -127748,10 +127652,10 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -127824,7 +127728,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -128312,10 +128216,10 @@ } }, "301": { - "description": "Moved Permanently" + "description": "Moved permanently" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -128399,7 +128303,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -130366,7 +130270,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -132297,7 +132201,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "x-github": { @@ -132459,7 +132363,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -134612,10 +134516,10 @@ } }, "301": { - "description": "Moved Permanently" + "description": "Moved permanently" }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -134684,7 +134588,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -134842,7 +134746,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -137181,7 +137085,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -137250,7 +137154,7 @@ } }, "503": { - "description": "Service Unavailable", + "description": "Service unavailable", "content": { "application/json": { "schema": { @@ -137271,7 +137175,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -137409,7 +137313,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -137954,7 +137858,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -138023,7 +137927,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -138099,7 +138003,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -138631,7 +138535,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -138726,7 +138630,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -139258,7 +139162,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -139377,7 +139281,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "x-github": { @@ -139469,7 +139373,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -139678,7 +139582,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -139698,7 +139602,7 @@ } }, "415": { - "description": "Preview Header Missing", + "description": "Preview header missing", "content": { "application/json": { "schema": { @@ -140197,7 +140101,7 @@ } }, "415": { - "description": "Preview Header Missing", + "description": "Preview header missing", "content": { "application/json": { "schema": { @@ -140219,7 +140123,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -140353,7 +140257,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -143438,7 +143342,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -143567,7 +143471,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -146639,7 +146543,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -146765,7 +146669,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -149076,10 +148980,10 @@ } }, "301": { - "description": "Moved Permanently" + "description": "Moved permanently" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -149119,7 +149023,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" } }, "x-github": { @@ -149278,7 +149182,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -151589,7 +151493,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -151658,7 +151562,7 @@ } }, "503": { - "description": "Service Unavailable", + "description": "Service unavailable", "content": { "application/json": { "schema": { @@ -151699,10 +151603,10 @@ } }, "301": { - "description": "Moved Permanently" + "description": "Moved permanently" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -151818,7 +151722,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -154072,7 +153976,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -156331,7 +156235,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -156876,7 +156780,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -156991,7 +156895,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -157571,7 +157475,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -157640,7 +157544,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -157731,7 +157635,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -158089,7 +157993,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -158277,7 +158181,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -158380,7 +158284,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -158523,7 +158427,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -158626,7 +158530,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -158745,7 +158649,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "410": { "description": "Gone", @@ -158828,7 +158732,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -158902,7 +158806,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -159016,7 +158920,7 @@ }, "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "403": { "description": "Forbidden", @@ -159059,7 +158963,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -159079,7 +158983,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -159201,7 +159105,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "403": { "description": "Forbidden", @@ -159224,7 +159128,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -159333,7 +159237,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -159542,7 +159446,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -159582,7 +159486,7 @@ } }, "415": { - "description": "Preview Header Missing", + "description": "Preview header missing", "content": { "application/json": { "schema": { @@ -159689,7 +159593,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -159885,7 +159789,7 @@ } }, "415": { - "description": "Preview Header Missing", + "description": "Preview header missing", "content": { "application/json": { "schema": { @@ -159907,7 +159811,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -160050,7 +159954,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -160309,7 +160213,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -160349,7 +160253,7 @@ } }, "415": { - "description": "Preview Header Missing", + "description": "Preview header missing", "content": { "application/json": { "schema": { @@ -160441,7 +160345,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -160583,7 +160487,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -160648,7 +160552,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -160769,7 +160673,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -160826,7 +160730,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -160896,7 +160800,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "x-github": { @@ -160960,7 +160864,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -161051,7 +160955,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -161118,7 +161022,7 @@ "properties": { "name": { "type": "string", - "description": "The name of the label. Emoji can be added to label names, using either native emoji or colon-style markup. For example, typing `:strawberry:` will render the emoji ![:strawberry:](https://github.githubassets.com/images/icons/emoji/unicode/1f353.png \":strawberry:\"). For a full list of available emoji and codes, see [emoji-cheat-sheet.com](http://emoji-cheat-sheet.com/)." + "description": "The name of the label. Emoji can be added to label names, using either native emoji or colon-style markup. For example, typing `:strawberry:` will render the emoji ![:strawberry:](https://github.githubassets.com/images/icons/emoji/unicode/1f353.png \":strawberry:\"). For a full list of available emoji and codes, see \"[Emoji cheat sheet](https://github.com/ikatyang/emoji-cheat-sheet).\"" }, "color": { "type": "string", @@ -161143,7 +161047,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -161220,7 +161124,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -161289,7 +161193,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -161360,7 +161264,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -161429,7 +161333,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -161504,7 +161408,7 @@ "properties": { "new_name": { "type": "string", - "description": "The new name of the label. Emoji can be added to label names, using either native emoji or colon-style markup. For example, typing `:strawberry:` will render the emoji ![:strawberry:](https://github.githubassets.com/images/icons/emoji/unicode/1f353.png \":strawberry:\"). For a full list of available emoji and codes, see [emoji-cheat-sheet.com](http://emoji-cheat-sheet.com/)." + "description": "The new name of the label. Emoji can be added to label names, using either native emoji or colon-style markup. For example, typing `:strawberry:` will render the emoji ![:strawberry:](https://github.githubassets.com/images/icons/emoji/unicode/1f353.png \":strawberry:\"). For a full list of available emoji and codes, see \"[Emoji cheat sheet](https://github.com/ikatyang/emoji-cheat-sheet).\"" }, "color": { "type": "string", @@ -161526,7 +161430,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -161644,7 +161548,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "x-github": { @@ -161690,7 +161594,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -161756,7 +161660,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -162582,63 +162486,10 @@ } }, "404": { - "description": "response", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string", - "example": "\"https://docs.github.com/enterprise-server@2.19/rest/reference/repos#perform-a-merge\"" - } - } - }, - "examples": { - "missing-base-response": { - "summary": "Missing base response", - "value": { - "message": "Base does not exist" - } - }, - "missing-head-response": { - "summary": "Missing head response", - "value": { - "message": "Head does not exist" - } - } - } - } - } + "description": "Response when the base or head does not exist" }, "409": { - "description": "Merge conflict response", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string", - "example": "\"https://docs.github.com/enterprise-server@2.19/rest/reference/repos#perform-a-merge\"" - } - } - }, - "examples": { - "merge-conflict-response": { - "value": { - "message": "Merge Conflict" - } - } - } - } - } + "description": "Response when there is a merge conflict" }, "403": { "description": "Forbidden", @@ -162661,7 +162512,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -162834,7 +162685,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -163115,7 +162966,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -163217,7 +163068,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -163493,7 +163344,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -163513,7 +163364,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -163634,7 +163485,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -163902,7 +163753,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -164010,7 +163861,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -164328,10 +164179,10 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -164421,7 +164272,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -164611,7 +164462,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -166303,7 +166154,7 @@ }, "responses": { "202": { - "description": "response" + "description": "Response" } }, "x-github": { @@ -166349,7 +166200,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -166442,7 +166293,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -166550,7 +166401,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -166643,7 +166494,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -166712,7 +166563,7 @@ } }, "415": { - "description": "Preview Header Missing", + "description": "Preview header missing", "content": { "application/json": { "schema": { @@ -166859,10 +166710,10 @@ }, "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -167026,10 +166877,10 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -167098,7 +166949,7 @@ } }, "415": { - "description": "Preview Header Missing", + "description": "Preview header missing", "content": { "application/json": { "schema": { @@ -167120,7 +166971,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -167205,7 +167056,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -167468,7 +167319,7 @@ ], "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -167546,7 +167397,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -167806,7 +167657,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -168072,11 +167923,39 @@ "type": "integer", "default": 1 } + }, + { + "name": "direction", + "description": "One of `asc` (ascending) or `desc` (descending).", + "in": "query", + "required": false, + "schema": { + "type": "string", + "enum": [ + "asc", + "desc" + ], + "default": "desc" + } + }, + { + "name": "sort", + "in": "query", + "required": false, + "schema": { + "type": "string", + "enum": [ + "created", + "updated", + "name" + ], + "default": "created" + } } ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -168170,7 +168049,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -168257,7 +168136,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -168476,7 +168355,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -168745,7 +168624,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -168785,7 +168664,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -168825,7 +168704,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -168926,7 +168805,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -169182,7 +169061,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -169222,7 +169101,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -169262,7 +169141,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -169419,7 +169298,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -173190,10 +173069,10 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -173360,7 +173239,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -176389,7 +176268,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -176509,16 +176388,15 @@ }, { "name": "sort", - "description": "One of `created` (when the repository was starred) or `updated` (when it was last pushed to).", "in": "query", "required": false, "schema": { "type": "string", "enum": [ "created", - "updated" - ], - "default": "created" + "updated", + "created_at" + ] } }, { @@ -176564,7 +176442,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -177043,7 +176921,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -177448,7 +177326,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -177548,7 +177426,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -178007,10 +177885,10 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -178119,7 +177997,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -178328,7 +178206,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -178348,7 +178226,7 @@ } }, "415": { - "description": "Preview Header Missing", + "description": "Preview header missing", "content": { "application/json": { "schema": { @@ -178847,7 +178725,7 @@ } }, "415": { - "description": "Preview Header Missing", + "description": "Preview header missing", "content": { "application/json": { "schema": { @@ -178869,7 +178747,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -181994,7 +181872,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "500": { "description": "Internal Error", @@ -182017,7 +181895,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -182127,7 +182005,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -185128,7 +185006,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -185330,7 +185208,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -185806,7 +185684,7 @@ ], "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -186126,7 +186004,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -186539,7 +186417,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -186629,7 +186507,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -187277,7 +187155,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -187378,7 +187256,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -187692,7 +187570,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -187781,7 +187659,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -187871,7 +187749,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -188232,7 +188110,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -192158,10 +192036,10 @@ }, "responses": { "200": { - "description": "response" + "description": "Response" }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -192718,7 +192596,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -192994,7 +192872,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -193105,7 +192983,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -193381,7 +193259,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -193480,7 +193358,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -193756,7 +193634,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -193844,7 +193722,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -194120,7 +193998,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -194150,7 +194028,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -194248,7 +194126,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -194649,7 +194527,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -194751,7 +194629,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -195027,7 +194905,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -195047,7 +194925,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -195164,7 +195042,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -195440,7 +195318,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -195460,7 +195338,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -195580,7 +195458,7 @@ }, "responses": { "202": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -195602,7 +195480,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -195691,7 +195569,7 @@ } }, "415": { - "description": "Preview Header Missing", + "description": "Preview header missing", "content": { "application/json": { "schema": { @@ -195767,6 +195645,279 @@ } } ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "title": "Content File", + "description": "Content File", + "type": "object", + "properties": { + "type": { + "type": "string" + }, + "encoding": { + "type": "string" + }, + "size": { + "type": "integer" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "content": { + "type": "string" + }, + "sha": { + "type": "string" + }, + "url": { + "type": "string", + "format": "uri" + }, + "git_url": { + "type": "string", + "format": "uri", + "nullable": true + }, + "html_url": { + "type": "string", + "format": "uri", + "nullable": true + }, + "download_url": { + "type": "string", + "format": "uri", + "nullable": true + }, + "_links": { + "type": "object", + "properties": { + "git": { + "type": "string", + "format": "uri", + "nullable": true + }, + "html": { + "type": "string", + "format": "uri", + "nullable": true + }, + "self": { + "type": "string", + "format": "uri" + } + }, + "required": [ + "git", + "html", + "self" + ] + }, + "target": { + "type": "string", + "example": "\"actual/actual.md\"" + }, + "submodule_git_url": { + "type": "string", + "example": "\"git://example.com/defunkt/dotjs.git\"" + } + }, + "required": [ + "_links", + "git_url", + "html_url", + "download_url", + "name", + "path", + "sha", + "size", + "type", + "url", + "content", + "encoding" + ] + }, + "examples": { + "default": { + "value": { + "type": "file", + "encoding": "base64", + "size": 5362, + "name": "README.md", + "path": "README.md", + "content": "encoded content ...", + "sha": "3d21ec53a331a6f037a91c368710b99387d012c1", + "url": "https://api.github.com/repos/octokit/octokit.rb/contents/README.md", + "git_url": "https://api.github.com/repos/octokit/octokit.rb/git/blobs/3d21ec53a331a6f037a91c368710b99387d012c1", + "html_url": "https://github.com/octokit/octokit.rb/blob/master/README.md", + "download_url": "https://raw.githubusercontent.com/octokit/octokit.rb/master/README.md", + "_links": { + "git": "https://api.github.com/repos/octokit/octokit.rb/git/blobs/3d21ec53a331a6f037a91c368710b99387d012c1", + "self": "https://api.github.com/repos/octokit/octokit.rb/contents/README.md", + "html": "https://github.com/octokit/octokit.rb/blob/master/README.md" + } + } + } + } + } + } + }, + "404": { + "description": "Resource not found", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + } + } + } + } + } + }, + "422": { + "description": "Validation failed", + "content": { + "application/json": { + "schema": { + "title": "Validation Error", + "description": "Validation Error", + "type": "object", + "required": [ + "message", + "documentation_url" + ], + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "errors": { + "type": "array", + "items": { + "type": "object", + "required": [ + "code" + ], + "properties": { + "resource": { + "type": "string" + }, + "field": { + "type": "string" + }, + "message": { + "type": "string" + }, + "code": { + "type": "string" + }, + "index": { + "type": "integer" + }, + "value": { + "oneOf": [ + { + "type": "string", + "nullable": true + }, + { + "type": "integer", + "nullable": true + }, + { + "type": "array", + "nullable": true, + "items": { + "type": "string" + } + } + ] + } + } + } + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "previews": [ + + ], + "category": "repos", + "subcategory": "contents" + } + } + }, + "/repos/{owner}/{repo}/readme/{dir}": { + "get": { + "summary": "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.", + "tags": [ + "repos" + ], + "operationId": "repos/get-readme-in-directory", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-server@2.19/rest/reference/repos#get-a-repository-directory-readme" + }, + "parameters": [ + { + "name": "owner", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "repo", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "dir", + "description": "The alternate path to look for a README file", + "in": "path", + "required": true, + "schema": { + "type": "string" + }, + "x-multi-segment": true + }, + { + "name": "ref", + "description": "The name of the commit/branch/tag. Default: the repository’s default branch (usually `master`)", + "in": "query", + "required": false, + "schema": { + "type": "string" + } + } + ], "responses": { "200": { "description": "response", @@ -195891,7 +196042,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -195911,7 +196062,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -196041,7 +196192,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -196541,7 +196692,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -196650,7 +196801,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -197145,7 +197296,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -197499,7 +197650,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -197519,7 +197670,7 @@ } }, "415": { - "description": "Preview Header Missing", + "description": "Preview header missing", "content": { "application/json": { "schema": { @@ -197621,7 +197772,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -197903,7 +198054,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "x-github": { @@ -197949,7 +198100,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -198478,7 +198629,7 @@ }, { "name": "tag", - "description": "tag+ parameter", + "description": "tag parameter", "in": "path", "required": true, "schema": { @@ -198489,7 +198640,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -198976,7 +199127,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -199535,7 +199686,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -199648,7 +199799,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -200185,7 +200336,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "x-github": { @@ -200258,7 +200409,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -200881,7 +201032,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -201205,7 +201356,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -201389,7 +201540,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -201890,7 +202041,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -202087,7 +202238,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -202362,7 +202513,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -202706,7 +202857,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -202809,7 +202960,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "x-github": { @@ -202873,7 +203024,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -203005,7 +203156,7 @@ ], "responses": { "302": { - "description": "response", + "description": "Response", "headers": { "Location": { "example": "https://codeload.github.com/me/myprivate/legacy.zip/master?login=me&token=thistokenexpires", @@ -203077,7 +203228,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -203295,11 +203446,29 @@ "schema": { "type": "string" } + }, + { + "name": "page", + "description": "Page number of the results to fetch.", + "in": "query", + "schema": { + "type": "integer", + "default": 1 + } + }, + { + "name": "per_page", + "description": "Results per page (max 100).", + "in": "query", + "schema": { + "type": "integer", + "default": 30 + } } ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -203334,7 +203503,7 @@ } }, "415": { - "description": "Preview Header Missing", + "description": "Preview header missing", "content": { "application/json": { "schema": { @@ -203356,7 +203525,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -203450,7 +203619,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -203485,7 +203654,7 @@ } }, "415": { - "description": "Preview Header Missing", + "description": "Preview header missing", "content": { "application/json": { "schema": { @@ -203507,7 +203676,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -203527,7 +203696,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -203636,7 +203805,7 @@ }, "responses": { "202": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -204753,7 +204922,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "x-github": { @@ -204801,7 +204970,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "x-github": { @@ -204859,7 +205028,7 @@ ], "responses": { "302": { - "description": "response", + "description": "Response", "headers": { "Location": { "example": "https://codeload.github.com/me/myprivate/legacy.zip/master?login=me&token=thistokenexpires", @@ -204956,7 +205125,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -206092,7 +206261,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -207649,7 +207818,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -207718,7 +207887,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" } }, "x-github": { @@ -207801,7 +207970,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -209478,10 +209647,10 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "503": { - "description": "Service Unavailable", + "description": "Service unavailable", "content": { "application/json": { "schema": { @@ -209502,7 +209671,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -209672,7 +209841,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -211642,10 +211811,10 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "415": { - "description": "Preview Header Missing", + "description": "Preview header missing", "content": { "application/json": { "schema": { @@ -211761,7 +211930,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -213890,7 +214059,7 @@ } }, "503": { - "description": "Service Unavailable", + "description": "Service unavailable", "content": { "application/json": { "schema": { @@ -213911,7 +214080,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -213980,7 +214149,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -214075,7 +214244,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -214213,10 +214382,10 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -214256,7 +214425,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -214408,7 +214577,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -215117,7 +215286,7 @@ } }, "503": { - "description": "Service Unavailable", + "description": "Service unavailable", "content": { "application/json": { "schema": { @@ -215138,7 +215307,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -215207,7 +215376,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" } }, "x-github": { @@ -215250,7 +215419,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -215524,10 +215693,10 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "415": { - "description": "Preview Header Missing", + "description": "Preview header missing", "content": { "application/json": { "schema": { @@ -215635,7 +215804,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -215879,10 +216048,10 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "503": { - "description": "Service Unavailable", + "description": "Service unavailable", "content": { "application/json": { "schema": { @@ -215903,7 +216072,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -215997,7 +216166,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -216084,7 +216253,7 @@ }, "responses": { "202": { - "description": "response" + "description": "Response" } }, "x-github": { @@ -216112,7 +216281,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -216193,7 +216362,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -216294,7 +216463,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -216903,7 +217072,7 @@ }, "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "requestBody": { @@ -216949,7 +217118,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -217007,7 +217176,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -217087,7 +217256,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -217165,7 +217334,7 @@ }, "responses": { "202": { - "description": "response" + "description": "Response" } }, "requestBody": { @@ -217219,7 +217388,7 @@ }, "responses": { "202": { - "description": "response" + "description": "Response" } }, "requestBody": { @@ -217272,7 +217441,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -217778,7 +217947,7 @@ ], "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -218331,7 +218500,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "x-github": { @@ -218405,7 +218574,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -218784,7 +218953,7 @@ ], "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -219193,7 +219362,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -219567,7 +219736,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -219963,7 +220132,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "x-github": { @@ -220041,7 +220210,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -220394,7 +220563,7 @@ ], "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -220766,7 +220935,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -221114,7 +221283,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -221483,7 +221652,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "x-github": { @@ -221584,7 +221753,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -221854,7 +222023,7 @@ ], "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -222173,7 +222342,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -222435,7 +222604,7 @@ ], "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -222732,7 +222901,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -222985,74 +223154,13 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "404": { "description": "Response if team synchronization is set up" }, "422": { - "description": "response", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "errors": { - "type": "array", - "items": { - "type": "object", - "properties": { - "code": { - "type": "string" - }, - "field": { - "type": "string" - }, - "resource": { - "type": "string" - } - } - } - }, - "documentation_url": { - "type": "string", - "example": "\"https://docs.github.com/enterprise-server@2.19/rest\"" - } - } - }, - "examples": { - "response-if-you-attempt-to-add-an-organization-to-a-team": { - "summary": "Response if you attempt to add an organization to a team", - "value": { - "message": "Cannot add an organization as a member.", - "errors": [ - { - "code": "org", - "field": "user", - "resource": "TeamMember" - } - ] - } - }, - "response-if-you-attempt-to-add-a-user-to-a-team-when-they-are-not-a-member-of-at-least-one-other-team-in-the-same-organization": { - "summary": "Response if you attempt to add a user to a team when they are not a member of at least one other team in the same organization", - "value": { - "message": "User isn't a member of this organization. Please invite them first.", - "errors": [ - { - "code": "unaffiliated", - "field": "user", - "resource": "TeamMember" - } - ] - } - } - } - } - } + "description": "Response if you attempt to add an organization to a team or you attempt to add a user to a team when they are not a member of at least one other team in the same organization" }, "403": { "description": "Forbidden", @@ -223119,7 +223227,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "404": { "description": "Response if team synchronization is setup" @@ -223142,7 +223250,7 @@ "/teams/{team_id}/memberships/{username}": { "get": { "summary": "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).", + "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).", "operationId": "teams/get-membership-for-user", "tags": [ "teams" @@ -223171,7 +223279,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -223194,7 +223302,12 @@ "type": "string" }, "state": { - "type": "string" + "description": "The state of the user's membership in the team.", + "type": "string", + "enum": [ + "active", + "pending" + ] } }, "required": [ @@ -223204,14 +223317,6 @@ ] }, "examples": { - "response-if-user-has-an-active-membership-with-team": { - "summary": "Response if user has an active membership with team", - "value": { - "url": "https://api.github.com/teams/1/memberships/octocat", - "role": "member", - "state": "active" - } - }, "response-if-user-is-a-team-maintainer": { "summary": "Response if user is a team maintainer", "value": { @@ -223219,14 +223324,6 @@ "role": "maintainer", "state": "active" } - }, - "response-if-user-has-a-pending-membership-with-team": { - "summary": "Response if user has a pending membership with team", - "value": { - "url": "https://api.github.com/teams/1/memberships/octocat", - "role": "member", - "state": "pending" - } } } } @@ -223278,7 +223375,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -223301,7 +223398,12 @@ "type": "string" }, "state": { - "type": "string" + "description": "The state of the user's membership in the team.", + "type": "string", + "enum": [ + "active", + "pending" + ] } }, "required": [ @@ -223311,14 +223413,6 @@ ] }, "examples": { - "response-if-users-membership-with-team-is-now-active": { - "summary": "Response if user's membership with team is now active", - "value": { - "url": "https://api.github.com/teams/1/memberships/octocat", - "role": "member", - "state": "active" - } - }, "response-if-users-membership-with-team-is-now-pending": { "summary": "Response if user's membership with team is now pending", "value": { @@ -223332,50 +223426,7 @@ } }, "422": { - "description": "Response if you attempt to add an organization to a team", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "errors": { - "type": "array", - "items": { - "type": "object", - "properties": { - "code": { - "type": "string" - }, - "field": { - "type": "string" - }, - "resource": { - "type": "string" - } - } - } - } - } - }, - "examples": { - "response-if-you-attempt-to-add-an-organization-to-a-team": { - "value": { - "message": "Cannot add an organization as a member.", - "errors": [ - { - "code": "org", - "field": "user", - "resource": "TeamMember" - } - ] - } - } - } - } - } + "description": "Response if you attempt to add an organization to a team" } }, "requestBody": { @@ -223439,7 +223490,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "x-github": { @@ -223505,7 +223556,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -223831,7 +223882,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -224145,7 +224196,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "403": { "description": "Response if the project is not owned by the organization", @@ -224245,7 +224296,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "x-github": { @@ -224301,7 +224352,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -231461,7 +231512,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "requestBody": { @@ -231537,7 +231588,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "x-github": { @@ -231748,7 +231799,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -232291,7 +232342,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -232314,7 +232365,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -232410,7 +232461,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -232711,10 +232762,10 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -232754,7 +232805,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -232774,7 +232825,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -232888,7 +232939,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -232949,10 +233000,10 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -232992,7 +233043,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -233085,7 +233136,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -233150,7 +233201,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -233219,10 +233270,10 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -233262,7 +233313,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -233353,13 +233404,13 @@ }, "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -233399,7 +233450,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -233419,7 +233470,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -233533,7 +233584,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -233689,7 +233740,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -233712,7 +233763,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -233777,7 +233828,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -233933,7 +233984,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -233956,7 +234007,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -234034,7 +234085,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -234057,7 +234108,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -234110,13 +234161,13 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -234156,7 +234207,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -234209,13 +234260,13 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -234255,7 +234306,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -234320,7 +234371,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -234542,10 +234593,10 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -234585,7 +234636,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -234649,7 +234700,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -234858,7 +234909,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -234927,10 +234978,10 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -234970,7 +235021,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -235026,7 +235077,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -235235,7 +235286,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -235255,7 +235306,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -235278,7 +235329,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -235332,10 +235383,10 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -235355,7 +235406,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -235424,7 +235475,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -235447,7 +235498,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -236081,7 +236132,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -236104,7 +236155,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -236124,7 +236175,7 @@ } }, "415": { - "description": "Preview Header Missing", + "description": "Preview header missing", "content": { "application/json": { "schema": { @@ -237310,7 +237361,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -237350,7 +237401,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" } }, "x-github": { @@ -237406,7 +237457,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "403": { "description": "Forbidden", @@ -237429,10 +237480,10 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -237498,7 +237549,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "403": { "description": "Forbidden", @@ -237521,10 +237572,10 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -237584,6 +237635,7 @@ "created", "mentioned", "subscribed", + "repos", "all" ], "default": "assigned" @@ -237672,7 +237724,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -240084,7 +240136,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -240104,7 +240156,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" } }, "x-github": { @@ -240155,7 +240207,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -240241,10 +240293,10 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -240284,7 +240336,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -240354,7 +240406,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -240417,7 +240469,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -240486,10 +240538,10 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -240529,7 +240581,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -240585,7 +240637,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -240648,7 +240700,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -240668,7 +240720,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -240691,7 +240743,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -240745,13 +240797,13 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -240791,7 +240843,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -240869,7 +240921,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -240886,11 +240938,21 @@ }, "state": { "type": "string", - "example": "active" + "description": "The state of the member in the organization. The `pending` state indicates the user has not yet accepted an invitation.", + "example": "active", + "enum": [ + "active", + "pending" + ] }, "role": { "type": "string", - "example": "admin" + "description": "The user's membership type in the organization.", + "example": "admin", + "enum": [ + "admin", + "member" + ] }, "organization_url": { "type": "string", @@ -241207,7 +241269,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -241230,7 +241292,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -241250,7 +241312,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -241354,7 +241416,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -241369,11 +241431,21 @@ }, "state": { "type": "string", - "example": "active" + "description": "The state of the member in the organization. The `pending` state indicates the user has not yet accepted an invitation.", + "example": "active", + "enum": [ + "active", + "pending" + ] }, "role": { "type": "string", - "example": "admin" + "description": "The user's membership type in the organization.", + "example": "admin", + "enum": [ + "admin", + "member" + ] }, "organization_url": { "type": "string", @@ -241659,7 +241731,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -241736,7 +241808,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -241751,11 +241823,21 @@ }, "state": { "type": "string", - "example": "active" + "description": "The state of the member in the organization. The `pending` state indicates the user has not yet accepted an invitation.", + "example": "active", + "enum": [ + "active", + "pending" + ] }, "role": { "type": "string", - "example": "admin" + "description": "The user's membership type in the organization.", + "example": "admin", + "enum": [ + "admin", + "member" + ] }, "organization_url": { "type": "string", @@ -242041,7 +242123,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -242061,7 +242143,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -242175,7 +242257,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -242286,7 +242368,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -242309,7 +242391,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -242382,7 +242464,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -242638,7 +242720,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -242661,7 +242743,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -242681,7 +242763,7 @@ } }, "415": { - "description": "Preview Header Missing", + "description": "Preview header missing", "content": { "application/json": { "schema": { @@ -242703,7 +242785,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -242782,7 +242864,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -242843,10 +242925,10 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -242886,7 +242968,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -243040,7 +243122,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -244111,7 +244193,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -244180,7 +244262,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -244203,7 +244285,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -244354,7 +244436,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -245436,7 +245518,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -245456,10 +245538,10 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -245499,7 +245581,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -245676,7 +245758,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -247569,10 +247651,10 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -247612,7 +247694,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -247668,7 +247750,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "403": { "description": "Forbidden", @@ -247711,7 +247793,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -247731,7 +247813,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" } }, "x-github": { @@ -247768,7 +247850,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "409": { "description": "Conflict", @@ -247791,10 +247873,10 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -247907,7 +247989,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -250070,7 +250152,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -250093,7 +250175,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -250179,7 +250261,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -250199,7 +250281,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -250263,7 +250345,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "403": { "description": "Forbidden", @@ -250286,7 +250368,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -250306,7 +250388,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -250326,7 +250408,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" } }, "x-github": { @@ -250370,10 +250452,10 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -250393,7 +250475,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -250413,7 +250495,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -250481,7 +250563,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -252082,7 +252164,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -252105,7 +252187,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -252170,7 +252252,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -252652,10 +252734,10 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -252740,7 +252822,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -252896,7 +252978,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" } }, "x-github": { @@ -252934,7 +253016,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -253473,7 +253555,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -253546,7 +253628,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -256258,7 +256340,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -258962,7 +259044,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -261666,7 +261748,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -261875,7 +261957,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -262142,7 +262224,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -262560,7 +262642,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -262682,7 +262764,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -262963,7 +263045,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -263010,7 +263092,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -263030,7 +263112,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -263144,7 +263226,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -263688,7 +263770,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -263786,7 +263868,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -263965,7 +264047,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -264234,7 +264316,7 @@ } }, "415": { - "description": "Preview Header Missing", + "description": "Preview header missing", "content": { "application/json": { "schema": { @@ -264256,7 +264338,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -264382,7 +264464,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -267086,7 +267168,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -269834,7 +269916,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -271474,7 +271556,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "x-github": { @@ -271510,7 +271592,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "x-github": { @@ -271594,7 +271676,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -273810,7 +273892,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -275446,7 +275528,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "requestBody": { @@ -275497,7 +275579,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "requestBody": { @@ -275536,7 +275618,7 @@ "operationId": "meta/get-zen", "responses": { "200": { - "description": "response", + "description": "Response", "content": { "text/plain": { "schema": { diff --git a/lib/rest/static/dereferenced/ghes-2.20.deref.json b/lib/rest/static/dereferenced/ghes-2.20.deref.json index 9c8e315069..f8ae8e4c90 100644 --- a/lib/rest/static/dereferenced/ghes-2.20.deref.json +++ b/lib/rest/static/dereferenced/ghes-2.20.deref.json @@ -134,7 +134,7 @@ ], "servers": [ { - "url": "{protocol}://{hostname}", + "url": "{protocol}://{hostname}/api/v3", "variables": { "hostname": { "description": "Self-hosted Enterprise Server or Enterprise Cloud hostname", @@ -162,7 +162,7 @@ "operationId": "meta/root", "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -394,7 +394,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -529,7 +529,7 @@ ], "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -729,7 +729,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -859,7 +859,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -1040,7 +1040,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "x-github": { @@ -1092,7 +1092,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "x-github": { @@ -1140,11 +1140,48 @@ "type": "integer", "default": 1 } + }, + { + "name": "direction", + "description": "One of `asc` (ascending) or `desc` (descending).", + "in": "query", + "required": false, + "schema": { + "type": "string", + "enum": [ + "asc", + "desc" + ], + "default": "desc" + } + }, + { + "name": "sort", + "in": "query", + "required": false, + "schema": { + "type": "string", + "enum": [ + "created", + "updated", + "accessed" + ], + "default": "created" + } + }, + { + "name": "since", + "description": "Only show public keys accessed after the given time.", + "in": "query", + "required": false, + "schema": { + "type": "string" + } } ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -1242,7 +1279,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "x-github": { @@ -1280,7 +1317,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -1403,7 +1440,7 @@ ], "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -1456,7 +1493,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -1603,7 +1640,7 @@ ], "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -1646,7 +1683,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -1811,7 +1848,7 @@ ], "responses": { "202": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -1895,11 +1932,39 @@ "type": "integer", "default": 1 } + }, + { + "name": "direction", + "description": "One of `asc` (ascending) or `desc` (descending).", + "in": "query", + "required": false, + "schema": { + "type": "string", + "enum": [ + "asc", + "desc" + ], + "default": "desc" + } + }, + { + "name": "sort", + "in": "query", + "required": false, + "schema": { + "type": "string", + "enum": [ + "created", + "updated", + "name" + ], + "default": "created" + } } ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -2022,7 +2087,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -2163,7 +2228,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -2275,7 +2340,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -2452,7 +2517,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "422": { "description": "Client Errors", @@ -2540,7 +2605,7 @@ ], "responses": { "202": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -2661,7 +2726,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -2742,11 +2807,40 @@ "type": "integer", "default": 1 } + }, + { + "name": "direction", + "description": "One of `asc` (ascending) or `desc` (descending).", + "in": "query", + "required": false, + "schema": { + "type": "string", + "enum": [ + "asc", + "desc" + ], + "default": "desc" + } + }, + { + "name": "sort", + "description": "One of `created` (when the repository was starred) or `updated` (when it was last pushed to) or `name`.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "enum": [ + "created", + "updated", + "name" + ], + "default": "created" + } } ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -2903,7 +2997,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -3126,7 +3220,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -3288,7 +3382,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -3498,7 +3592,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "x-github": { @@ -3550,7 +3644,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -4260,7 +4354,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "x-github": { @@ -4288,7 +4382,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -4492,7 +4586,7 @@ ], "responses": { "202": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -4568,7 +4662,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "x-github": { @@ -4606,7 +4700,7 @@ ], "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -5307,7 +5401,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "x-github": { @@ -5338,7 +5432,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -5670,7 +5764,7 @@ ], "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -5996,7 +6090,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -6016,7 +6110,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -6651,7 +6745,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -7139,7 +7233,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -7159,7 +7253,7 @@ } }, "415": { - "description": "Preview Header Missing", + "description": "Preview header missing", "content": { "application/json": { "schema": { @@ -7228,10 +7322,10 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -7586,7 +7680,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -8755,7 +8849,7 @@ } }, "415": { - "description": "Preview Header Missing", + "description": "Preview header missing", "content": { "application/json": { "schema": { @@ -8777,7 +8871,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -8797,7 +8891,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -8817,7 +8911,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -8930,11 +9024,20 @@ "type": "integer", "default": 1 } + }, + { + "name": "client_id", + "in": "query", + "required": false, + "description": "The client ID of your GitHub app.", + "schema": { + "type": "string" + } } ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -9152,7 +9255,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -9175,7 +9278,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -9195,7 +9298,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -9254,7 +9357,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -9459,7 +9562,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -9482,7 +9585,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -9539,10 +9642,10 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -9565,7 +9668,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -9642,10 +9745,10 @@ }, "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -9758,7 +9861,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "x-github": { @@ -9818,7 +9921,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -10489,7 +10592,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -10558,7 +10661,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -10630,7 +10733,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -11301,7 +11404,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -11425,10 +11528,10 @@ }, "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -11541,7 +11644,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -12217,7 +12320,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -12282,7 +12385,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -12998,7 +13101,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "x-github": { @@ -13039,7 +13142,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -13353,7 +13456,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -13373,7 +13476,7 @@ } }, "415": { - "description": "Preview Header Missing", + "description": "Preview header missing", "content": { "application/json": { "schema": { @@ -13439,11 +13542,20 @@ "type": "integer", "default": 1 } + }, + { + "name": "client_id", + "in": "query", + "required": false, + "description": "The client ID of your GitHub app.", + "schema": { + "type": "string" + } } ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -14118,7 +14230,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -14141,7 +14253,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -14161,7 +14273,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -14256,7 +14368,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -14914,7 +15026,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -15003,7 +15115,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -15026,7 +15138,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -16445,7 +16557,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -16514,7 +16626,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -16537,7 +16649,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -17960,7 +18072,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -18068,7 +18180,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -18718,7 +18830,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -18741,7 +18853,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -18848,7 +18960,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -19498,7 +19610,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -19604,10 +19716,10 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -19630,7 +19742,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -19681,7 +19793,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -19744,10 +19856,10 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "415": { - "description": "Preview Header Missing", + "description": "Preview header missing", "content": { "application/json": { "schema": { @@ -19808,7 +19920,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -19861,7 +19973,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -19881,10 +19993,10 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "415": { - "description": "Preview Header Missing", + "description": "Preview header missing", "content": { "application/json": { "schema": { @@ -19972,7 +20084,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -20022,7 +20134,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -20091,7 +20203,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -20131,7 +20243,7 @@ } }, "415": { - "description": "Preview Header Missing", + "description": "Preview header missing", "content": { "application/json": { "schema": { @@ -20153,7 +20265,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -20218,10 +20330,10 @@ } } }, - "description": "response" + "description": "Response" }, "304": { - "description": "Not Modified" + "description": "Not modified" } }, "x-github": { @@ -20249,7 +20361,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -20326,7 +20438,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -20595,7 +20707,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -23254,7 +23366,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -23277,7 +23389,7 @@ } }, "503": { - "description": "Service Unavailable", + "description": "Service unavailable", "content": { "application/json": { "schema": { @@ -23326,7 +23438,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -23628,7 +23740,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -24046,7 +24158,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -24155,7 +24267,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -24388,7 +24500,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -24457,10 +24569,10 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -24554,7 +24666,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -24972,7 +25084,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -25041,7 +25153,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -25118,7 +25230,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -25536,7 +25648,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -25556,7 +25668,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -25615,7 +25727,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -25873,7 +25985,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -25893,7 +26005,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" } }, "x-github": { @@ -26000,7 +26112,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -26225,7 +26337,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -26294,7 +26406,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -26348,10 +26460,10 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -26371,7 +26483,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -26448,7 +26560,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -26680,10 +26792,10 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -26777,7 +26889,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -27004,10 +27116,10 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -27092,7 +27204,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -27311,10 +27423,10 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -27430,7 +27542,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -27649,7 +27761,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -27712,13 +27824,13 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -27812,7 +27924,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -28025,7 +28137,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -28045,7 +28157,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -28122,7 +28234,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -28391,7 +28503,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -28411,7 +28523,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -28468,7 +28580,7 @@ ], "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -28881,7 +28993,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -28901,7 +29013,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -28970,7 +29082,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -29045,7 +29157,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -29102,10 +29214,10 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -29125,7 +29237,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -29182,13 +29294,13 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -29272,7 +29384,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -29497,7 +29609,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -29566,7 +29678,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -29634,7 +29746,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -29656,7 +29768,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" } }, "x-github": { @@ -29694,7 +29806,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -29728,7 +29840,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" } }, "x-github": { @@ -29786,7 +29898,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -30907,10 +31019,10 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -30967,7 +31079,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "x-github": { @@ -31006,6 +31118,7 @@ "created", "mentioned", "subscribed", + "repos", "all" ], "default": "assigned" @@ -31126,7 +31239,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -33547,7 +33660,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -33616,10 +33729,10 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -33682,11 +33795,20 @@ "type": "integer", "default": 30 } + }, + { + "name": "page", + "description": "Page number of the results to fetch.", + "in": "query", + "schema": { + "type": "integer", + "default": 1 + } } ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -33792,7 +33914,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" } }, "x-github": { @@ -33830,7 +33952,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -33983,7 +34105,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -34003,7 +34125,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" } }, "x-github": { @@ -34066,7 +34188,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "headers": { "Content-Type": { "example": "text/html", @@ -34096,7 +34218,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" } }, "x-github": { @@ -34141,7 +34263,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "headers": { "X-CommonMarker-Version": { "example": "0.17.4", @@ -34159,7 +34281,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" } }, "x-github": { @@ -34190,7 +34312,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -34223,7 +34345,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" } }, "x-github": { @@ -34287,7 +34409,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -36946,7 +37068,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -36986,10 +37108,10 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "301": { - "description": "Moved Permanently" + "description": "Moved permanently" } }, "x-github": { @@ -37075,7 +37197,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -38722,7 +38844,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -38745,7 +38867,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -38765,7 +38887,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -38880,7 +39002,7 @@ }, "responses": { "202": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -38895,10 +39017,10 @@ } }, "205": { - "description": "response" + "description": "Response" }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -38921,7 +39043,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -38977,7 +39099,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -40611,7 +40733,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -40634,7 +40756,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -40688,10 +40810,10 @@ ], "responses": { "205": { - "description": "response" + "description": "Response" }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -40750,7 +40872,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -40815,7 +40937,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -40838,7 +40960,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -40908,7 +41030,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -40973,7 +41095,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -40996,7 +41118,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -41050,10 +41172,10 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -41076,7 +41198,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -41128,7 +41250,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/octocat-stream": { "schema": { @@ -41182,7 +41304,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -41293,7 +41415,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" } }, "x-github": { @@ -41331,7 +41453,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -41611,7 +41733,9 @@ "plan": { "name": "Medium", "space": 400, - "private_repos": 20 + "private_repos": 20, + "filled_seats": 4, + "seats": 5 }, "default_repository_permission": "read", "members_can_create_repositories": true, @@ -41622,54 +41746,13 @@ "members_can_create_internal_repositories": false, "members_can_create_pages": true } - }, - "response-with-git-hub-plan-information": { - "summary": "Response with GitHub plan information", - "value": { - "login": "github", - "id": 1, - "node_id": "MDEyOk9yZ2FuaXphdGlvbjE=", - "url": "https://api.github.com/orgs/github", - "repos_url": "https://api.github.com/orgs/github/repos", - "events_url": "https://api.github.com/orgs/github/events", - "hooks_url": "https://api.github.com/orgs/github/hooks", - "issues_url": "https://api.github.com/orgs/github/issues", - "members_url": "https://api.github.com/orgs/github/members{/member}", - "public_members_url": "https://api.github.com/orgs/github/public_members{/member}", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "description": "A great organization", - "name": "github", - "company": "GitHub", - "blog": "https://github.com/blog", - "location": "San Francisco", - "email": "octocat@github.com", - "twitter_username": "github", - "is_verified": true, - "has_organization_projects": true, - "has_repository_projects": true, - "public_repos": 2, - "public_gists": 1, - "followers": 20, - "following": 0, - "html_url": "https://github.com/octocat", - "created_at": "2008-01-14T04:33:35Z", - "updated_at": "2014-03-03T18:58:10Z", - "type": "Organization", - "plan": { - "name": "team", - "space": 976562499, - "private_repos": 999999, - "filled_seats": 4, - "seats": 5 - } - } } } } } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -41826,7 +41909,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -42120,7 +42203,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -42236,7 +42319,7 @@ } }, "415": { - "description": "Preview Header Missing", + "description": "Preview header missing", "content": { "application/json": { "schema": { @@ -42315,7 +42398,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -45027,7 +45110,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -45154,7 +45237,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -45291,7 +45374,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -45413,7 +45496,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -45482,7 +45565,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -45545,7 +45628,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -45659,7 +45742,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -45786,7 +45869,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -45899,7 +45982,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -45968,7 +46051,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -46029,10 +46112,10 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -46095,10 +46178,10 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -46163,7 +46246,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -46717,7 +46800,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -47281,6 +47364,7 @@ "created", "mentioned", "subscribed", + "repos", "all" ], "default": "assigned" @@ -47369,7 +47453,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -49790,7 +49874,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -49895,7 +49979,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -50062,7 +50146,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -50232,7 +50316,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "403": { "description": "Forbidden", @@ -50269,7 +50353,7 @@ "/orgs/{org}/memberships/{username}": { "get": { "summary": "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.", + "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.", "tags": [ "orgs" ], @@ -50298,7 +50382,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -50313,11 +50397,21 @@ }, "state": { "type": "string", - "example": "active" + "description": "The state of the member in the organization. The `pending` state indicates the user has not yet accepted an invitation.", + "example": "active", + "enum": [ + "active", + "pending" + ] }, "role": { "type": "string", - "example": "admin" + "description": "The user's membership type in the organization.", + "example": "admin", + "enum": [ + "admin", + "member" + ] }, "organization_url": { "type": "string", @@ -50578,99 +50672,13 @@ "site_admin": false } } - }, - "response-if-user-has-an-active-membership-with-organization": { - "summary": "Response if user has an active membership with organization", - "value": { - "url": "https://api.github.com/orgs/octocat/memberships/defunkt", - "state": "active", - "role": "member", - "organization_url": "https://api.github.com/orgs/octocat", - "organization": { - "login": "github", - "id": 1, - "node_id": "MDEyOk9yZ2FuaXphdGlvbjE=", - "url": "https://api.github.com/orgs/github", - "repos_url": "https://api.github.com/orgs/github/repos", - "events_url": "https://api.github.com/orgs/github/events", - "hooks_url": "https://api.github.com/orgs/github/hooks", - "issues_url": "https://api.github.com/orgs/github/issues", - "members_url": "https://api.github.com/orgs/github/members{/member}", - "public_members_url": "https://api.github.com/orgs/github/public_members{/member}", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "description": "A great organization" - }, - "user": { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - } - } - }, - "response-if-user-has-a-pending-membership-with-organization": { - "summary": "Response if user has a pending membership with organization", - "value": { - "url": "https://api.github.com/orgs/invitocat/memberships/defunkt", - "state": "pending", - "role": "member", - "organization_url": "https://api.github.com/orgs/invitocat", - "organization": { - "login": "github", - "id": 1, - "node_id": "MDEyOk9yZ2FuaXphdGlvbjE=", - "url": "https://api.github.com/orgs/github", - "repos_url": "https://api.github.com/orgs/github/repos", - "events_url": "https://api.github.com/orgs/github/events", - "hooks_url": "https://api.github.com/orgs/github/hooks", - "issues_url": "https://api.github.com/orgs/github/issues", - "members_url": "https://api.github.com/orgs/github/members{/member}", - "public_members_url": "https://api.github.com/orgs/github/public_members{/member}", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "description": "A great organization" - }, - "user": { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - } - } } } } } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -50771,7 +50779,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -50786,11 +50794,21 @@ }, "state": { "type": "string", - "example": "active" + "description": "The state of the member in the organization. The `pending` state indicates the user has not yet accepted an invitation.", + "example": "active", + "enum": [ + "active", + "pending" + ] }, "role": { "type": "string", - "example": "admin" + "description": "The user's membership type in the organization.", + "example": "admin", + "enum": [ + "admin", + "member" + ] }, "organization_url": { "type": "string", @@ -51009,51 +51027,8 @@ ] }, "examples": { - "response-if-user-was-previously-unaffiliated-with-organization": { - "summary": "Response if user was previously unaffiliated with organization", - "value": { - "url": "https://api.github.com/orgs/invitocat/memberships/defunkt", - "state": "pending", - "role": "admin", - "organization_url": "https://api.github.com/orgs/invitocat", - "organization": { - "login": "github", - "id": 1, - "node_id": "MDEyOk9yZ2FuaXphdGlvbjE=", - "url": "https://api.github.com/orgs/github", - "repos_url": "https://api.github.com/orgs/github/repos", - "events_url": "https://api.github.com/orgs/github/events", - "hooks_url": "https://api.github.com/orgs/github/hooks", - "issues_url": "https://api.github.com/orgs/github/issues", - "members_url": "https://api.github.com/orgs/github/members{/member}", - "public_members_url": "https://api.github.com/orgs/github/public_members{/member}", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "description": "A great organization" - }, - "user": { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - } - } - }, "response-if-user-already-had-membership-with-organization": { - "summary": "Response if user already had membership with organization", + "summary": "Response if user has an active admin membership with organization", "value": { "url": "https://api.github.com/orgs/octocat/memberships/defunkt", "state": "active", @@ -51100,7 +51075,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -51230,7 +51205,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "403": { "description": "Forbidden", @@ -51253,7 +51228,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -51340,7 +51315,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -51545,41 +51520,10 @@ "description": "User was converted" }, "403": { - "description": "response", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - } - } - }, - "examples": { - "response-if-user-is-the-last-owner-of-the-organization": { - "summary": "Response if user is the last owner of the organization", - "value": { - "message": "Cannot convert the last owner to an outside collaborator", - "documentation_url": "https://docs.github.com/enterprise-server@2.20/rest/reference/orgs#convert-member-to-outside-collaborator" - } - }, - "response-if-user-is-not-a-member-of-the-organization": { - "summary": "Response if user is not a member of the organization", - "value": { - "message": " is not a member of the organization.", - "documentation_url": "https://docs.github.com/enterprise-server@2.20/rest/reference/orgs#convert-member-to-outside-collaborator" - } - } - } - } - } + "description": "Response if user is the last owner of the organization or not a member of the organization" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -51640,7 +51584,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "422": { "description": "Response if user is a member of the organization", @@ -51718,11 +51662,40 @@ "type": "integer", "default": 1 } + }, + { + "name": "direction", + "description": "One of `asc` (ascending) or `desc` (descending).", + "in": "query", + "required": false, + "schema": { + "type": "string", + "enum": [ + "asc", + "desc" + ], + "default": "desc" + } + }, + { + "name": "sort", + "description": "The sort order for the response collection.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "enum": [ + "created", + "updated", + "name" + ], + "default": "created" + } } ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -51812,7 +51785,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -51895,7 +51868,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -52001,7 +51974,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -52111,7 +52084,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -52380,7 +52353,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -52473,7 +52446,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -52729,7 +52702,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -52769,7 +52742,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -52809,7 +52782,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -52896,7 +52869,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -53142,7 +53115,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "403": { "description": "Forbidden", @@ -53206,7 +53179,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "x-github": { @@ -53309,7 +53282,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -55071,7 +55044,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -56182,7 +56155,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -56313,7 +56286,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -56609,7 +56582,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -57090,7 +57063,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -57223,7 +57196,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -57704,7 +57677,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -57760,7 +57733,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -57987,7 +57960,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -58010,7 +57983,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -58030,7 +58003,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -58110,7 +58083,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -58337,7 +58310,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -58360,7 +58333,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -58380,7 +58353,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -58400,7 +58373,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -58468,10 +58441,10 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -58498,7 +58471,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -58518,7 +58491,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -58603,7 +58576,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -58616,7 +58589,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -58657,7 +58630,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -58677,7 +58650,7 @@ } }, "503": { - "description": "Service Unavailable", + "description": "Service unavailable", "content": { "application/json": { "schema": { @@ -58712,7 +58685,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -58821,7 +58794,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -58898,7 +58871,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -58921,7 +58894,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -58941,7 +58914,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -59018,7 +58991,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -59095,7 +59068,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -59118,7 +59091,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -59176,10 +59149,10 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -59202,7 +59175,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -59295,7 +59268,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -59535,7 +59508,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -59558,7 +59531,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -59659,7 +59632,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -59886,7 +59859,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -59909,7 +59882,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -59929,7 +59902,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -60025,7 +59998,7 @@ } }, "503": { - "description": "Service Unavailable", + "description": "Service unavailable", "content": { "application/json": { "schema": { @@ -60120,7 +60093,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -60133,7 +60106,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -60156,7 +60129,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -60186,7 +60159,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -60245,7 +60218,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -60501,7 +60474,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -60524,7 +60497,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -60622,7 +60595,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -60881,7 +60854,7 @@ "description": "Response if the authenticated user does not have access to the project" }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -60908,7 +60881,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -60948,7 +60921,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -61018,7 +60991,7 @@ "description": "Delete Success" }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -61045,7 +61018,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -61085,7 +61058,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -61177,7 +61150,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -61333,7 +61306,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -61353,7 +61326,7 @@ } }, "415": { - "description": "Preview Header Missing", + "description": "Preview header missing", "content": { "application/json": { "schema": { @@ -61375,7 +61348,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -61444,7 +61417,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -61467,7 +61440,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -61556,10 +61529,10 @@ }, "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -61579,7 +61552,7 @@ } }, "415": { - "description": "Preview Header Missing", + "description": "Preview header missing", "content": { "application/json": { "schema": { @@ -61601,7 +61574,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -61670,7 +61643,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -61693,7 +61666,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -61758,13 +61731,13 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -61784,7 +61757,7 @@ } }, "415": { - "description": "Preview Header Missing", + "description": "Preview header missing", "content": { "application/json": { "schema": { @@ -61826,7 +61799,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -61895,7 +61868,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -61962,7 +61935,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -62127,7 +62100,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -62147,7 +62120,7 @@ } }, "415": { - "description": "Preview Header Missing", + "description": "Preview header missing", "content": { "application/json": { "schema": { @@ -62169,7 +62142,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -62238,7 +62211,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -62261,7 +62234,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -62338,7 +62311,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -62428,7 +62401,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -62451,7 +62424,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -62527,7 +62500,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -62600,7 +62573,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -62623,7 +62596,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -62653,7 +62626,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -62705,7 +62678,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -62931,10 +62904,10 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -62999,7 +62972,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "x-github": { @@ -63047,7 +63020,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -67716,7 +67689,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -67736,7 +67709,7 @@ } }, "301": { - "description": "Moved Permanently" + "description": "Moved permanently" } }, "x-github": { @@ -67885,7 +67858,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -72046,7 +72019,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -72115,7 +72088,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -72185,7 +72158,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "403": { "description": "If an organization owner has configured the organization to prevent members from deleting organization-owned repositories, a member will get this response:", @@ -72210,7 +72183,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -72291,7 +72264,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -72447,7 +72420,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -72611,7 +72584,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -73337,18 +73310,6 @@ }, "examples": { "default": { - "value": [ - { - "name": "master", - "commit": { - "sha": "c5b97d5ae6c19d5c5df71a34c7fbeeda2479ccbc", - "url": "https://api.github.com/repos/octocat/Hello-World/commits/c5b97d5ae6c19d5c5df71a34c7fbeeda2479ccbc" - }, - "protected": true - } - ] - }, - "with-protection": { "value": [ { "name": "master", @@ -73384,7 +73345,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -73457,7 +73418,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -74775,7 +74736,7 @@ } }, "415": { - "description": "Preview Header Missing", + "description": "Preview header missing", "content": { "application/json": { "schema": { @@ -74797,7 +74758,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -74870,7 +74831,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -75716,7 +75677,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -75955,7 +75916,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -76686,7 +76647,7 @@ } }, "415": { - "description": "Preview Header Missing", + "description": "Preview header missing", "content": { "application/json": { "schema": { @@ -76708,7 +76669,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -76738,7 +76699,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -76813,7 +76774,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "403": { "description": "Forbidden", @@ -76889,7 +76850,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -76975,7 +76936,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -77064,7 +77025,7 @@ "description": "No Content" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -77137,7 +77098,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/vnd.github.luke-cage-preview+json": { "schema": { @@ -77616,7 +77577,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -77984,7 +77945,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -78111,7 +78072,7 @@ "description": "No Content" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -78184,7 +78145,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -78219,7 +78180,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -78294,7 +78255,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -78329,7 +78290,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -78407,7 +78368,7 @@ "description": "No Content" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -78484,7 +78445,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -78539,7 +78500,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -78638,7 +78599,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -78693,7 +78654,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -78713,7 +78674,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -78889,7 +78850,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -78905,7 +78866,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -79002,7 +78963,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -79019,7 +78980,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -79108,7 +79069,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -79206,7 +79167,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -79222,7 +79183,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -79291,7 +79252,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -79389,7 +79350,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -79405,7 +79366,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -79425,7 +79386,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -79548,7 +79509,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -79919,7 +79880,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -80046,7 +80007,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -80345,7 +80306,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -80442,7 +80403,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -80741,7 +80702,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -80888,7 +80849,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -81187,7 +81148,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -81334,7 +81295,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -81633,7 +81594,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -81756,7 +81717,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -81927,7 +81888,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -82024,7 +81985,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -82195,7 +82156,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -82342,7 +82303,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -82513,7 +82474,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -82660,7 +82621,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -82831,7 +82792,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -82954,7 +82915,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -83102,7 +83063,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -83199,7 +83160,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -83347,7 +83308,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -83494,7 +83455,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -83642,7 +83603,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -83789,7 +83750,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -83937,7 +83898,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -84274,7 +84235,7 @@ }, "examples": { "example-of-in-progress-conclusion": { - "summary": "Example of in_progress conclusion", + "summary": "Response for in_progress conclusion", "value": { "name": "mighty_readme", "head_sha": "ce587453ced02b1526dfb4cb910479d431683101", @@ -84289,7 +84250,7 @@ } }, "example-of-completed-conclusion": { - "summary": "Example of completed conclusion", + "summary": "Response for completed conclusion", "value": { "name": "mighty_readme", "head_sha": "ce587453ced02b1526dfb4cb910479d431683101", @@ -84343,7 +84304,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -85159,101 +85120,8 @@ ] }, "examples": { - "example-of-in-progress-conclusion": { - "summary": "Example of in_progress conclusion", - "value": { - "id": 4, - "head_sha": "ce587453ced02b1526dfb4cb910479d431683101", - "node_id": "MDg6Q2hlY2tSdW40", - "external_id": "42", - "url": "https://api.github.com/repos/github/hello-world/check-runs/4", - "html_url": "https://github.com/github/hello-world/runs/4", - "details_url": "https://example.com", - "status": "in_progress", - "conclusion": "neutral", - "started_at": "2018-05-04T01:14:52Z", - "completed_at": null, - "output": { - "title": "Mighty Readme Report", - "summary": "", - "text": "", - "annotations_count": 1, - "annotations_url": "https://api.github.com/repos/github/hello-world/check-runs/4/annotations" - }, - "name": "mighty_readme", - "check_suite": { - "id": 5 - }, - "app": { - "id": 1, - "slug": "octoapp", - "node_id": "MDExOkludGVncmF0aW9uMQ==", - "owner": { - "login": "github", - "id": 1, - "node_id": "MDEyOk9yZ2FuaXphdGlvbjE=", - "url": "https://api.github.com/orgs/github", - "repos_url": "https://api.github.com/orgs/github/repos", - "events_url": "https://api.github.com/orgs/github/events", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": true - }, - "name": "Octocat App", - "description": "", - "external_url": "https://example.com", - "html_url": "https://github.com/apps/octoapp", - "created_at": "2017-07-08T16:18:44-04:00", - "updated_at": "2017-07-08T16:18:44-04:00", - "permissions": { - "metadata": "read", - "contents": "read", - "issues": "write", - "single_file": "write" - }, - "events": [ - "push", - "pull_request" - ] - }, - "pull_requests": [ - { - "url": "https://api.github.com/repos/github/hello-world/pulls/1", - "id": 1934, - "number": 3956, - "head": { - "ref": "say-hello", - "sha": "3dca65fa3e8d4b3da3f3d056c59aee1c50f41390", - "repo": { - "id": 526, - "url": "https://api.github.com/repos/github/hello-world", - "name": "hello-world" - } - }, - "base": { - "ref": "master", - "sha": "e7fdf7640066d71ad16a86fbcbb9c6a10a18af4f", - "repo": { - "id": 526, - "url": "https://api.github.com/repos/github/hello-world", - "name": "hello-world" - } - } - } - ] - } - }, "example-of-completed-conclusion": { - "summary": "Example of completed conclusion", + "summary": "Response for completed conclusion", "value": { "id": 4, "head_sha": "ce587453ced02b1526dfb4cb910479d431683101", @@ -85406,7 +85274,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -86627,7 +86495,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -87614,7 +87482,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -87782,7 +87650,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -90157,7 +90025,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -91344,7 +91212,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -93742,7 +93610,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -94739,7 +94607,7 @@ ], "responses": { "201": { - "description": "response" + "description": "Response" } }, "x-github": { @@ -94822,7 +94690,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -94997,7 +94865,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -97044,7 +96912,7 @@ "description": "Response when person is already a collaborator" }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -97183,7 +97051,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "x-github": { @@ -97402,7 +97270,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -97483,7 +97351,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -97841,7 +97709,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -98130,7 +97998,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -98225,7 +98093,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -98514,7 +98382,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -98584,10 +98452,10 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -98696,7 +98564,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -98905,7 +98773,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -98925,7 +98793,7 @@ } }, "415": { - "description": "Preview Header Missing", + "description": "Preview header missing", "content": { "application/json": { "schema": { @@ -99424,7 +99292,7 @@ } }, "415": { - "description": "Preview Header Missing", + "description": "Preview header missing", "content": { "application/json": { "schema": { @@ -99446,7 +99314,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -99621,11 +99489,31 @@ "type": "integer", "default": 1 } + }, + { + "name": "top", + "description": "legacy parameter for pagination.", + "in": "query", + "deprecated": true, + "required": false, + "schema": { + "type": "string" + } + }, + { + "name": "last_sha", + "description": "legacy parameter for pagination.", + "in": "query", + "deprecated": true, + "required": false, + "schema": { + "type": "string" + } } ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -100278,7 +100166,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -100371,7 +100259,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -100428,7 +100316,7 @@ } }, "415": { - "description": "Preview Header Missing", + "description": "Preview header missing", "content": { "application/json": { "schema": { @@ -100450,7 +100338,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -100594,7 +100482,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -100987,7 +100875,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -101304,7 +101192,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -101445,7 +101333,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -105234,7 +105122,7 @@ } }, "415": { - "description": "Preview Header Missing", + "description": "Preview header missing", "content": { "application/json": { "schema": { @@ -105300,9 +105188,27 @@ "type": "string" } }, + { + "name": "page", + "description": "Page number of the results to fetch.", + "in": "query", + "schema": { + "type": "integer", + "default": 1 + } + }, + { + "name": "per_page", + "description": "Results per page (max 100).", + "in": "query", + "schema": { + "type": "integer", + "default": 30 + } + }, { "name": "ref", - "description": "ref+ parameter", + "description": "ref parameter", "in": "path", "required": true, "schema": { @@ -105313,7 +105219,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -105896,7 +105802,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -105965,7 +105871,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -106047,7 +105953,7 @@ }, { "name": "ref", - "description": "ref+ parameter", + "description": "ref parameter", "in": "path", "required": true, "schema": { @@ -106109,11 +106015,19 @@ "type": "integer", "default": 1 } + }, + { + "name": "app_id", + "in": "query", + "required": false, + "schema": { + "type": "integer" + } } ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -107100,7 +107014,7 @@ }, { "name": "ref", - "description": "ref+ parameter", + "description": "ref parameter", "in": "path", "required": true, "schema": { @@ -107148,7 +107062,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -109369,18 +109283,36 @@ }, { "name": "ref", - "description": "ref+ parameter", + "description": "ref parameter", "in": "path", "required": true, "schema": { "type": "string" }, "x-multi-segment": true + }, + { + "name": "per_page", + "description": "Results per page (max 100).", + "in": "query", + "schema": { + "type": "integer", + "default": 30 + } + }, + { + "name": "page", + "description": "Page number of the results to fetch.", + "in": "query", + "schema": { + "type": "integer", + "default": 1 + } } ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -111063,7 +110995,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -111125,7 +111057,7 @@ }, { "name": "ref", - "description": "ref+ parameter", + "description": "ref parameter", "in": "path", "required": true, "schema": { @@ -111154,7 +111086,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -111373,7 +111305,7 @@ } }, "301": { - "description": "Moved Permanently" + "description": "Moved permanently" } }, "x-github": { @@ -111435,7 +111367,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -113298,7 +113230,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -113360,7 +113292,7 @@ }, { "name": "path", - "description": "path+ parameter", + "description": "path parameter", "in": "path", "required": true, "schema": { @@ -113380,7 +113312,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/vnd.github.v3.object": { "schema": { @@ -113992,7 +113924,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -114075,7 +114007,7 @@ }, { "name": "path", - "description": "path+ parameter", + "description": "path parameter", "in": "path", "required": true, "schema": { @@ -114186,7 +114118,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -114402,7 +114334,7 @@ } }, "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -114618,7 +114550,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -114638,7 +114570,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -114767,7 +114699,7 @@ }, { "name": "path", - "description": "path+ parameter", + "description": "path parameter", "in": "path", "required": true, "schema": { @@ -114841,7 +114773,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -115042,7 +114974,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -115111,7 +115043,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -115151,7 +115083,7 @@ } }, "503": { - "description": "Service Unavailable", + "description": "Service unavailable", "content": { "application/json": { "schema": { @@ -115393,7 +115325,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -115490,7 +115422,8 @@ "required": false, "schema": { "type": "string", - "default": "none" + "default": "none", + "nullable": true } }, { @@ -115514,7 +115447,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -116181,7 +116114,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -116690,48 +116623,6 @@ "transient_environment": false, "production_environment": true } - }, - "advanced-example": { - "summary": "Advanced example", - "value": { - "url": "https://api.github.com/repos/octocat/example/deployments/1", - "id": 1, - "node_id": "MDEwOkRlcGxveW1lbnQx", - "sha": "a84d88e7554fc1fa21bcbc4efae3c782a70d2b9d", - "ref": "topic-branch", - "task": "deploy", - "payload": { - }, - "original_environment": "staging", - "environment": "production", - "description": "Deploy request from hubot", - "creator": { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - }, - "created_at": "2012-07-20T01:19:13Z", - "updated_at": "2012-07-20T01:19:13Z", - "statuses_url": "https://api.github.com/repos/octocat/example/deployments/1/statuses", - "repository_url": "https://api.github.com/repos/octocat/example", - "transient_environment": false, - "production_environment": true - } } } } @@ -116760,40 +116651,10 @@ } }, "409": { - "description": "response", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string", - "example": "\"https://docs.github.com/enterprise-server@2.20/rest/reference/repos#create-a-deployment\"" - } - } - }, - "examples": { - "merge-conflict-response": { - "summary": "Merge conflict response", - "value": { - "message": "Conflict merging master into topic-branch" - } - }, - "failed-commit-status-checks": { - "summary": "Failed commit status checks", - "value": { - "message": "Conflict: Commit status checks failed for topic-branch." - } - } - } - } - } + "description": "Response when there is a merge conflict or the commit's status checks failed" }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -116918,7 +116779,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -117432,7 +117293,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -117531,7 +117392,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -118055,7 +117916,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -118200,7 +118061,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -118719,7 +118580,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -118857,7 +118718,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -119368,7 +119229,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -119388,7 +119249,7 @@ } }, "415": { - "description": "Preview Header Missing", + "description": "Preview header missing", "content": { "application/json": { "schema": { @@ -119485,7 +119346,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -122194,7 +122055,8 @@ "enum": [ "newest", "oldest", - "stargazers" + "stargazers", + "watchers" ], "default": "newest" } @@ -122216,11 +122078,31 @@ "type": "integer", "default": 1 } + }, + { + "name": "org", + "description": "legacy query parameter for specifying the org.", + "in": "query", + "deprecated": true, + "required": false, + "schema": { + "type": "string" + } + }, + { + "name": "organization", + "description": "legacy query parameter for specifying the org.", + "in": "query", + "deprecated": true, + "required": false, + "schema": { + "type": "string" + } } ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -123924,6 +123806,26 @@ "schema": { "type": "string" } + }, + { + "name": "org", + "description": "legacy query parameter for specifying the org.", + "in": "query", + "deprecated": true, + "required": false, + "schema": { + "type": "string" + } + }, + { + "name": "organization", + "description": "legacy query parameter for specifying the org.", + "in": "query", + "deprecated": true, + "required": false, + "schema": { + "type": "string" + } } ], "requestBody": { @@ -123931,6 +123833,7 @@ "application/json": { "schema": { "type": "object", + "nullable": true, "properties": { "organization": { "type": "string", @@ -123943,7 +123846,7 @@ }, "responses": { "202": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -125080,7 +124983,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -125169,7 +125072,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -125259,7 +125162,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -125299,7 +125202,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -125359,7 +125262,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -125479,7 +125382,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -125536,7 +125439,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -125556,7 +125459,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -125771,7 +125674,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -125987,7 +125890,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -126056,7 +125959,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -126129,7 +126032,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -126337,7 +126240,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -126399,7 +126302,7 @@ }, { "name": "ref", - "description": "ref+ parameter", + "description": "ref parameter", "in": "path", "required": true, "schema": { @@ -126428,7 +126331,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -126561,7 +126464,7 @@ }, { "name": "ref", - "description": "ref+ parameter", + "description": "ref parameter", "in": "path", "required": true, "schema": { @@ -126572,7 +126475,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -126640,7 +126543,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -126734,7 +126637,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -126810,7 +126713,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -126921,7 +126824,7 @@ }, { "name": "ref", - "description": "ref+ parameter", + "description": "ref parameter", "in": "path", "required": true, "schema": { @@ -126959,7 +126862,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -127027,7 +126930,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -127136,7 +127039,7 @@ }, { "name": "ref", - "description": "ref+ parameter", + "description": "ref parameter", "in": "path", "required": true, "schema": { @@ -127147,10 +127050,10 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -127329,7 +127232,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -127476,7 +127379,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -127596,7 +127499,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -127735,7 +127638,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -127869,7 +127772,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -127997,7 +127900,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -128066,7 +127969,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -128152,7 +128055,8 @@ "required": true, "schema": { "type": "string" - } + }, + "x-multi-segment": true }, { "name": "recursive", @@ -128166,7 +128070,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -128320,7 +128224,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -128389,7 +128293,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -128470,7 +128374,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -128667,7 +128571,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -128812,7 +128716,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -129004,7 +128908,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -129024,7 +128928,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -129164,7 +129068,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -129348,7 +129252,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -129501,7 +129405,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -129685,7 +129589,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -129754,7 +129658,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -129823,10 +129727,10 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -129897,10 +129801,10 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -129971,10 +129875,10 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -130047,7 +129951,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -130535,10 +130439,10 @@ } }, "301": { - "description": "Moved Permanently" + "description": "Moved permanently" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -130622,7 +130526,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -132600,7 +132504,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -134542,7 +134446,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "x-github": { @@ -134704,7 +134608,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -136865,10 +136769,10 @@ } }, "301": { - "description": "Moved Permanently" + "description": "Moved permanently" }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -136937,7 +136841,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -137095,7 +136999,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -139442,7 +139346,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -139511,7 +139415,7 @@ } }, "503": { - "description": "Service Unavailable", + "description": "Service unavailable", "content": { "application/json": { "schema": { @@ -139532,7 +139436,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -139670,7 +139574,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -140215,7 +140119,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -140284,7 +140188,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -140360,7 +140264,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -140892,7 +140796,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -140987,7 +140891,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -141519,7 +141423,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -141638,7 +141542,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "x-github": { @@ -141730,7 +141634,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -141939,7 +141843,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -141959,7 +141863,7 @@ } }, "415": { - "description": "Preview Header Missing", + "description": "Preview header missing", "content": { "application/json": { "schema": { @@ -142458,7 +142362,7 @@ } }, "415": { - "description": "Preview Header Missing", + "description": "Preview header missing", "content": { "application/json": { "schema": { @@ -142480,7 +142384,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -142614,7 +142518,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -145707,7 +145611,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -145836,7 +145740,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -148916,7 +148820,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -149042,7 +148946,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -151361,10 +151265,10 @@ } }, "301": { - "description": "Moved Permanently" + "description": "Moved permanently" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -151404,7 +151308,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" } }, "x-github": { @@ -151563,7 +151467,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -153882,7 +153786,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -153951,7 +153855,7 @@ } }, "503": { - "description": "Service Unavailable", + "description": "Service unavailable", "content": { "application/json": { "schema": { @@ -153992,10 +153896,10 @@ } }, "301": { - "description": "Moved Permanently" + "description": "Moved permanently" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -154111,7 +154015,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -156373,7 +156277,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -158640,7 +158544,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -159185,7 +159089,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -159300,7 +159204,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -159880,7 +159784,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -159949,7 +159853,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -160040,7 +159944,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -160398,7 +160302,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -160586,7 +160490,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -160689,7 +160593,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -160832,7 +160736,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -160935,7 +160839,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -161054,7 +160958,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "410": { "description": "Gone", @@ -161137,7 +161041,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -161211,7 +161115,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -161325,7 +161229,7 @@ }, "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "403": { "description": "Forbidden", @@ -161368,7 +161272,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -161388,7 +161292,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -161510,7 +161414,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "403": { "description": "Forbidden", @@ -161533,7 +161437,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -161642,7 +161546,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -161851,7 +161755,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -161891,7 +161795,7 @@ } }, "415": { - "description": "Preview Header Missing", + "description": "Preview header missing", "content": { "application/json": { "schema": { @@ -161998,7 +161902,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -162194,7 +162098,7 @@ } }, "415": { - "description": "Preview Header Missing", + "description": "Preview header missing", "content": { "application/json": { "schema": { @@ -162216,7 +162120,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -162359,7 +162263,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -162618,7 +162522,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -162658,7 +162562,7 @@ } }, "415": { - "description": "Preview Header Missing", + "description": "Preview header missing", "content": { "application/json": { "schema": { @@ -162750,7 +162654,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -162892,7 +162796,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -162957,7 +162861,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -163078,7 +162982,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -163135,7 +163039,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -163205,7 +163109,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "x-github": { @@ -163269,7 +163173,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -163360,7 +163264,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -163427,7 +163331,7 @@ "properties": { "name": { "type": "string", - "description": "The name of the label. Emoji can be added to label names, using either native emoji or colon-style markup. For example, typing `:strawberry:` will render the emoji ![:strawberry:](https://github.githubassets.com/images/icons/emoji/unicode/1f353.png \":strawberry:\"). For a full list of available emoji and codes, see [emoji-cheat-sheet.com](http://emoji-cheat-sheet.com/)." + "description": "The name of the label. Emoji can be added to label names, using either native emoji or colon-style markup. For example, typing `:strawberry:` will render the emoji ![:strawberry:](https://github.githubassets.com/images/icons/emoji/unicode/1f353.png \":strawberry:\"). For a full list of available emoji and codes, see \"[Emoji cheat sheet](https://github.com/ikatyang/emoji-cheat-sheet).\"" }, "color": { "type": "string", @@ -163452,7 +163356,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -163529,7 +163433,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -163598,7 +163502,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -163669,7 +163573,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -163738,7 +163642,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -163813,7 +163717,7 @@ "properties": { "new_name": { "type": "string", - "description": "The new name of the label. Emoji can be added to label names, using either native emoji or colon-style markup. For example, typing `:strawberry:` will render the emoji ![:strawberry:](https://github.githubassets.com/images/icons/emoji/unicode/1f353.png \":strawberry:\"). For a full list of available emoji and codes, see [emoji-cheat-sheet.com](http://emoji-cheat-sheet.com/)." + "description": "The new name of the label. Emoji can be added to label names, using either native emoji or colon-style markup. For example, typing `:strawberry:` will render the emoji ![:strawberry:](https://github.githubassets.com/images/icons/emoji/unicode/1f353.png \":strawberry:\"). For a full list of available emoji and codes, see \"[Emoji cheat sheet](https://github.com/ikatyang/emoji-cheat-sheet).\"" }, "color": { "type": "string", @@ -163835,7 +163739,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -163953,7 +163857,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "x-github": { @@ -163999,7 +163903,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -164065,7 +163969,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -164891,63 +164795,10 @@ } }, "404": { - "description": "response", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string", - "example": "\"https://docs.github.com/enterprise-server@2.20/rest/reference/repos#perform-a-merge\"" - } - } - }, - "examples": { - "missing-base-response": { - "summary": "Missing base response", - "value": { - "message": "Base does not exist" - } - }, - "missing-head-response": { - "summary": "Missing head response", - "value": { - "message": "Head does not exist" - } - } - } - } - } + "description": "Response when the base or head does not exist" }, "409": { - "description": "Merge conflict response", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string", - "example": "\"https://docs.github.com/enterprise-server@2.20/rest/reference/repos#perform-a-merge\"" - } - } - }, - "examples": { - "merge-conflict-response": { - "value": { - "message": "Merge Conflict" - } - } - } - } - } + "description": "Response when there is a merge conflict" }, "403": { "description": "Forbidden", @@ -164970,7 +164821,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -165143,7 +164994,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -165424,7 +165275,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -165526,7 +165377,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -165802,7 +165653,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -165822,7 +165673,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -165943,7 +165794,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -166211,7 +166062,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -166319,7 +166170,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -166637,10 +166488,10 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -166730,7 +166581,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -166920,7 +166771,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -168623,7 +168474,7 @@ }, "responses": { "202": { - "description": "response" + "description": "Response" } }, "x-github": { @@ -168669,7 +168520,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -168762,7 +168613,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -168870,7 +168721,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -168963,7 +168814,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -169032,7 +168883,7 @@ } }, "415": { - "description": "Preview Header Missing", + "description": "Preview header missing", "content": { "application/json": { "schema": { @@ -169179,10 +169030,10 @@ }, "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -169346,10 +169197,10 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -169418,7 +169269,7 @@ } }, "415": { - "description": "Preview Header Missing", + "description": "Preview header missing", "content": { "application/json": { "schema": { @@ -169440,7 +169291,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -169525,7 +169376,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -169788,7 +169639,7 @@ ], "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -169866,7 +169717,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -170126,7 +169977,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -170392,11 +170243,39 @@ "type": "integer", "default": 1 } + }, + { + "name": "direction", + "description": "One of `asc` (ascending) or `desc` (descending).", + "in": "query", + "required": false, + "schema": { + "type": "string", + "enum": [ + "asc", + "desc" + ], + "default": "desc" + } + }, + { + "name": "sort", + "in": "query", + "required": false, + "schema": { + "type": "string", + "enum": [ + "created", + "updated", + "name" + ], + "default": "created" + } } ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -170490,7 +170369,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -170577,7 +170456,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -170796,7 +170675,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -171065,7 +170944,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -171105,7 +170984,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -171145,7 +171024,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -171246,7 +171125,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -171502,7 +171381,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -171542,7 +171421,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -171582,7 +171461,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -171739,7 +171618,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -175528,10 +175407,10 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -175698,7 +175577,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -178727,7 +178606,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -178847,16 +178726,15 @@ }, { "name": "sort", - "description": "One of `created` (when the repository was starred) or `updated` (when it was last pushed to).", "in": "query", "required": false, "schema": { "type": "string", "enum": [ "created", - "updated" - ], - "default": "created" + "updated", + "created_at" + ] } }, { @@ -178902,7 +178780,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -179428,7 +179306,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -179880,7 +179758,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -179980,7 +179858,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -180486,10 +180364,10 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -180598,7 +180476,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -180807,7 +180685,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -180827,7 +180705,7 @@ } }, "415": { - "description": "Preview Header Missing", + "description": "Preview header missing", "content": { "application/json": { "schema": { @@ -181326,7 +181204,7 @@ } }, "415": { - "description": "Preview Header Missing", + "description": "Preview header missing", "content": { "application/json": { "schema": { @@ -181348,7 +181226,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -184473,7 +184351,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "500": { "description": "Internal Error", @@ -184496,7 +184374,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -184606,7 +184484,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -187607,7 +187485,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -187809,7 +187687,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -188415,7 +188293,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -188875,7 +188753,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -189050,7 +188928,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -189510,7 +189388,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -189600,7 +189478,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -190248,7 +190126,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -190349,7 +190227,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -190663,7 +190541,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -190752,7 +190630,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -190842,7 +190720,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -191203,7 +191081,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -195147,10 +195025,10 @@ }, "responses": { "200": { - "description": "response" + "description": "Response" }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -195707,7 +195585,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -195983,7 +195861,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -196094,7 +195972,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -196370,7 +196248,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -196469,7 +196347,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -196745,7 +196623,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -196833,7 +196711,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -197109,7 +196987,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -197139,7 +197017,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -197237,7 +197115,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -197638,7 +197516,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -197740,7 +197618,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -198016,7 +197894,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -198036,7 +197914,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -198153,7 +198031,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -198429,7 +198307,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -198449,7 +198327,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -198569,7 +198447,7 @@ }, "responses": { "202": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -198591,7 +198469,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -198680,7 +198558,7 @@ } }, "415": { - "description": "Preview Header Missing", + "description": "Preview header missing", "content": { "application/json": { "schema": { @@ -198756,6 +198634,279 @@ } } ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "title": "Content File", + "description": "Content File", + "type": "object", + "properties": { + "type": { + "type": "string" + }, + "encoding": { + "type": "string" + }, + "size": { + "type": "integer" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "content": { + "type": "string" + }, + "sha": { + "type": "string" + }, + "url": { + "type": "string", + "format": "uri" + }, + "git_url": { + "type": "string", + "format": "uri", + "nullable": true + }, + "html_url": { + "type": "string", + "format": "uri", + "nullable": true + }, + "download_url": { + "type": "string", + "format": "uri", + "nullable": true + }, + "_links": { + "type": "object", + "properties": { + "git": { + "type": "string", + "format": "uri", + "nullable": true + }, + "html": { + "type": "string", + "format": "uri", + "nullable": true + }, + "self": { + "type": "string", + "format": "uri" + } + }, + "required": [ + "git", + "html", + "self" + ] + }, + "target": { + "type": "string", + "example": "\"actual/actual.md\"" + }, + "submodule_git_url": { + "type": "string", + "example": "\"git://example.com/defunkt/dotjs.git\"" + } + }, + "required": [ + "_links", + "git_url", + "html_url", + "download_url", + "name", + "path", + "sha", + "size", + "type", + "url", + "content", + "encoding" + ] + }, + "examples": { + "default": { + "value": { + "type": "file", + "encoding": "base64", + "size": 5362, + "name": "README.md", + "path": "README.md", + "content": "encoded content ...", + "sha": "3d21ec53a331a6f037a91c368710b99387d012c1", + "url": "https://api.github.com/repos/octokit/octokit.rb/contents/README.md", + "git_url": "https://api.github.com/repos/octokit/octokit.rb/git/blobs/3d21ec53a331a6f037a91c368710b99387d012c1", + "html_url": "https://github.com/octokit/octokit.rb/blob/master/README.md", + "download_url": "https://raw.githubusercontent.com/octokit/octokit.rb/master/README.md", + "_links": { + "git": "https://api.github.com/repos/octokit/octokit.rb/git/blobs/3d21ec53a331a6f037a91c368710b99387d012c1", + "self": "https://api.github.com/repos/octokit/octokit.rb/contents/README.md", + "html": "https://github.com/octokit/octokit.rb/blob/master/README.md" + } + } + } + } + } + } + }, + "404": { + "description": "Resource not found", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + } + } + } + } + } + }, + "422": { + "description": "Validation failed", + "content": { + "application/json": { + "schema": { + "title": "Validation Error", + "description": "Validation Error", + "type": "object", + "required": [ + "message", + "documentation_url" + ], + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "errors": { + "type": "array", + "items": { + "type": "object", + "required": [ + "code" + ], + "properties": { + "resource": { + "type": "string" + }, + "field": { + "type": "string" + }, + "message": { + "type": "string" + }, + "code": { + "type": "string" + }, + "index": { + "type": "integer" + }, + "value": { + "oneOf": [ + { + "type": "string", + "nullable": true + }, + { + "type": "integer", + "nullable": true + }, + { + "type": "array", + "nullable": true, + "items": { + "type": "string" + } + } + ] + } + } + } + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "previews": [ + + ], + "category": "repos", + "subcategory": "contents" + } + } + }, + "/repos/{owner}/{repo}/readme/{dir}": { + "get": { + "summary": "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.", + "tags": [ + "repos" + ], + "operationId": "repos/get-readme-in-directory", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-server@2.20/rest/reference/repos#get-a-repository-directory-readme" + }, + "parameters": [ + { + "name": "owner", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "repo", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "dir", + "description": "The alternate path to look for a README file", + "in": "path", + "required": true, + "schema": { + "type": "string" + }, + "x-multi-segment": true + }, + { + "name": "ref", + "description": "The name of the commit/branch/tag. Default: the repository’s default branch (usually `master`)", + "in": "query", + "required": false, + "schema": { + "type": "string" + } + } + ], "responses": { "200": { "description": "response", @@ -198880,7 +199031,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -198900,7 +199051,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -199030,7 +199181,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -199530,7 +199681,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -199639,7 +199790,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -200134,7 +200285,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -200488,7 +200639,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -200508,7 +200659,7 @@ } }, "415": { - "description": "Preview Header Missing", + "description": "Preview header missing", "content": { "application/json": { "schema": { @@ -200610,7 +200761,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -200892,7 +201043,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "x-github": { @@ -200938,7 +201089,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -201467,7 +201618,7 @@ }, { "name": "tag", - "description": "tag+ parameter", + "description": "tag parameter", "in": "path", "required": true, "schema": { @@ -201478,7 +201629,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -201965,7 +202116,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -202524,7 +202675,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -202637,7 +202788,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -203174,7 +203325,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "x-github": { @@ -203247,7 +203398,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -203870,7 +204021,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -204194,7 +204345,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -204378,7 +204529,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -204879,7 +205030,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -205076,7 +205227,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -205351,7 +205502,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -205695,7 +205846,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -205798,7 +205949,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "x-github": { @@ -205862,7 +206013,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -205994,7 +206145,7 @@ ], "responses": { "302": { - "description": "response", + "description": "Response", "headers": { "Location": { "example": "https://codeload.github.com/me/myprivate/legacy.zip/master?login=me&token=thistokenexpires", @@ -206066,7 +206217,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -206284,11 +206435,29 @@ "schema": { "type": "string" } + }, + { + "name": "page", + "description": "Page number of the results to fetch.", + "in": "query", + "schema": { + "type": "integer", + "default": 1 + } + }, + { + "name": "per_page", + "description": "Results per page (max 100).", + "in": "query", + "schema": { + "type": "integer", + "default": 30 + } } ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -206323,7 +206492,7 @@ } }, "415": { - "description": "Preview Header Missing", + "description": "Preview header missing", "content": { "application/json": { "schema": { @@ -206345,7 +206514,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -206439,7 +206608,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -206474,7 +206643,7 @@ } }, "415": { - "description": "Preview Header Missing", + "description": "Preview header missing", "content": { "application/json": { "schema": { @@ -206496,7 +206665,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -206516,7 +206685,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -206625,7 +206794,7 @@ }, "responses": { "202": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -207751,7 +207920,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "x-github": { @@ -207799,7 +207968,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "x-github": { @@ -207857,7 +208026,7 @@ ], "responses": { "302": { - "description": "response", + "description": "Response", "headers": { "Location": { "example": "https://codeload.github.com/me/myprivate/legacy.zip/master?login=me&token=thistokenexpires", @@ -207954,7 +208123,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -209099,7 +209268,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -210667,7 +210836,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -210736,7 +210905,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" } }, "x-github": { @@ -210819,7 +210988,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -212507,10 +212676,10 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "503": { - "description": "Service Unavailable", + "description": "Service unavailable", "content": { "application/json": { "schema": { @@ -212531,7 +212700,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -212701,7 +212870,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -214682,10 +214851,10 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "415": { - "description": "Preview Header Missing", + "description": "Preview header missing", "content": { "application/json": { "schema": { @@ -214801,7 +214970,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -216938,7 +217107,7 @@ } }, "503": { - "description": "Service Unavailable", + "description": "Service unavailable", "content": { "application/json": { "schema": { @@ -216959,7 +217128,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -217028,7 +217197,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -217123,7 +217292,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -217261,10 +217430,10 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -217304,7 +217473,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -217456,7 +217625,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -218165,7 +218334,7 @@ } }, "503": { - "description": "Service Unavailable", + "description": "Service unavailable", "content": { "application/json": { "schema": { @@ -218186,7 +218355,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -218255,7 +218424,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" } }, "x-github": { @@ -218298,7 +218467,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -218572,10 +218741,10 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "415": { - "description": "Preview Header Missing", + "description": "Preview header missing", "content": { "application/json": { "schema": { @@ -218683,7 +218852,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -218927,10 +219096,10 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "503": { - "description": "Service Unavailable", + "description": "Service unavailable", "content": { "application/json": { "schema": { @@ -218951,7 +219120,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -219045,7 +219214,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -219132,7 +219301,7 @@ }, "responses": { "202": { - "description": "response" + "description": "Response" } }, "x-github": { @@ -219160,7 +219329,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -219241,7 +219410,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -219342,7 +219511,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -219951,7 +220120,7 @@ }, "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "requestBody": { @@ -219997,7 +220166,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -220055,7 +220224,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -220135,7 +220304,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -220213,7 +220382,7 @@ }, "responses": { "202": { - "description": "response" + "description": "Response" } }, "requestBody": { @@ -220267,7 +220436,7 @@ }, "responses": { "202": { - "description": "response" + "description": "Response" } }, "requestBody": { @@ -220320,7 +220489,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -220833,7 +221002,7 @@ ], "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -221393,7 +221562,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "x-github": { @@ -221462,7 +221631,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -221841,7 +222010,7 @@ ], "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -222250,7 +222419,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -222624,7 +222793,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -223020,7 +223189,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "x-github": { @@ -223098,7 +223267,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -223451,7 +223620,7 @@ ], "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -223823,7 +223992,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -224171,7 +224340,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -224540,7 +224709,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "x-github": { @@ -224641,7 +224810,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -224911,7 +225080,7 @@ ], "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -225230,7 +225399,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -225492,7 +225661,7 @@ ], "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -225789,7 +225958,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -226038,74 +226207,13 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "404": { "description": "Response if team synchronization is set up" }, "422": { - "description": "response", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "errors": { - "type": "array", - "items": { - "type": "object", - "properties": { - "code": { - "type": "string" - }, - "field": { - "type": "string" - }, - "resource": { - "type": "string" - } - } - } - }, - "documentation_url": { - "type": "string", - "example": "\"https://docs.github.com/enterprise-server@2.20/rest\"" - } - } - }, - "examples": { - "response-if-you-attempt-to-add-an-organization-to-a-team": { - "summary": "Response if you attempt to add an organization to a team", - "value": { - "message": "Cannot add an organization as a member.", - "errors": [ - { - "code": "org", - "field": "user", - "resource": "TeamMember" - } - ] - } - }, - "response-if-you-attempt-to-add-a-user-to-a-team-when-they-are-not-a-member-of-at-least-one-other-team-in-the-same-organization": { - "summary": "Response if you attempt to add a user to a team when they are not a member of at least one other team in the same organization", - "value": { - "message": "User isn't a member of this organization. Please invite them first.", - "errors": [ - { - "code": "unaffiliated", - "field": "user", - "resource": "TeamMember" - } - ] - } - } - } - } - } + "description": "Response if you attempt to add an organization to a team or you attempt to add a user to a team when they are not a member of at least one other team in the same organization" }, "403": { "description": "Forbidden", @@ -226172,7 +226280,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "404": { "description": "Response if team synchronization is setup" @@ -226224,7 +226332,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -226247,7 +226355,12 @@ "type": "string" }, "state": { - "type": "string" + "description": "The state of the user's membership in the team.", + "type": "string", + "enum": [ + "active", + "pending" + ] } }, "required": [ @@ -226257,14 +226370,6 @@ ] }, "examples": { - "response-if-user-has-an-active-membership-with-team": { - "summary": "Response if user has an active membership with team", - "value": { - "url": "https://api.github.com/teams/1/memberships/octocat", - "role": "member", - "state": "active" - } - }, "response-if-user-is-a-team-maintainer": { "summary": "Response if user is a team maintainer", "value": { @@ -226272,14 +226377,6 @@ "role": "maintainer", "state": "active" } - }, - "response-if-user-has-a-pending-membership-with-team": { - "summary": "Response if user has a pending membership with team", - "value": { - "url": "https://api.github.com/teams/1/memberships/octocat", - "role": "member", - "state": "pending" - } } } } @@ -226327,7 +226424,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -226350,7 +226447,12 @@ "type": "string" }, "state": { - "type": "string" + "description": "The state of the user's membership in the team.", + "type": "string", + "enum": [ + "active", + "pending" + ] } }, "required": [ @@ -226360,14 +226462,6 @@ ] }, "examples": { - "response-if-users-membership-with-team-is-now-active": { - "summary": "Response if user's membership with team is now active", - "value": { - "url": "https://api.github.com/teams/1/memberships/octocat", - "role": "member", - "state": "active" - } - }, "response-if-users-membership-with-team-is-now-pending": { "summary": "Response if user's membership with team is now pending", "value": { @@ -226381,50 +226475,7 @@ } }, "422": { - "description": "Response if you attempt to add an organization to a team", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "errors": { - "type": "array", - "items": { - "type": "object", - "properties": { - "code": { - "type": "string" - }, - "field": { - "type": "string" - }, - "resource": { - "type": "string" - } - } - } - } - } - }, - "examples": { - "response-if-you-attempt-to-add-an-organization-to-a-team": { - "value": { - "message": "Cannot add an organization as a member.", - "errors": [ - { - "code": "org", - "field": "user", - "resource": "TeamMember" - } - ] - } - } - } - } - } + "description": "Response if you attempt to add an organization to a team" } }, "requestBody": { @@ -226488,7 +226539,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "x-github": { @@ -226554,7 +226605,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -226873,7 +226924,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -227180,7 +227231,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "403": { "description": "Response if the project is not owned by the organization", @@ -227273,7 +227324,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "x-github": { @@ -227329,7 +227380,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -234531,7 +234582,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "requestBody": { @@ -234602,7 +234653,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "x-github": { @@ -234808,7 +234859,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -235351,7 +235402,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -235374,7 +235425,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -235470,7 +235521,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -235771,10 +235822,10 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -235814,7 +235865,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -235834,7 +235885,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -235948,7 +235999,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -236009,10 +236060,10 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -236052,7 +236103,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -236145,7 +236196,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -236210,7 +236261,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -236279,10 +236330,10 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -236322,7 +236373,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -236413,13 +236464,13 @@ }, "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -236459,7 +236510,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -236479,7 +236530,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -236593,7 +236644,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -236749,7 +236800,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -236772,7 +236823,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -236837,7 +236888,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -236993,7 +237044,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -237016,7 +237067,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -237094,7 +237145,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -237117,7 +237168,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -237170,13 +237221,13 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -237216,7 +237267,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -237269,13 +237320,13 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -237315,7 +237366,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -237380,7 +237431,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -237602,10 +237653,10 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -237645,7 +237696,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -237709,7 +237760,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -237918,7 +237969,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -237987,10 +238038,10 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -238030,7 +238081,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -238086,7 +238137,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -238295,7 +238346,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -238315,7 +238366,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -238338,7 +238389,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -238392,10 +238443,10 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -238415,7 +238466,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -238484,7 +238535,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -238507,7 +238558,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -239141,7 +239192,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -239164,7 +239215,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -239184,7 +239235,7 @@ } }, "415": { - "description": "Preview Header Missing", + "description": "Preview header missing", "content": { "application/json": { "schema": { @@ -240379,7 +240430,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -240419,7 +240470,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" } }, "x-github": { @@ -240475,7 +240526,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "403": { "description": "Forbidden", @@ -240498,10 +240549,10 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -240567,7 +240618,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "403": { "description": "Forbidden", @@ -240590,10 +240641,10 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -240653,6 +240704,7 @@ "created", "mentioned", "subscribed", + "repos", "all" ], "default": "assigned" @@ -240741,7 +240793,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -243162,7 +243214,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -243182,7 +243234,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" } }, "x-github": { @@ -243233,7 +243285,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -243319,10 +243371,10 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -243362,7 +243414,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -243432,7 +243484,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -243495,7 +243547,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -243564,10 +243616,10 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -243607,7 +243659,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -243663,7 +243715,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -243726,7 +243778,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -243746,7 +243798,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -243769,7 +243821,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -243823,13 +243875,13 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -243869,7 +243921,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -243947,7 +243999,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -243964,11 +244016,21 @@ }, "state": { "type": "string", - "example": "active" + "description": "The state of the member in the organization. The `pending` state indicates the user has not yet accepted an invitation.", + "example": "active", + "enum": [ + "active", + "pending" + ] }, "role": { "type": "string", - "example": "admin" + "description": "The user's membership type in the organization.", + "example": "admin", + "enum": [ + "admin", + "member" + ] }, "organization_url": { "type": "string", @@ -244285,7 +244347,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -244308,7 +244370,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -244328,7 +244390,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -244432,7 +244494,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -244447,11 +244509,21 @@ }, "state": { "type": "string", - "example": "active" + "description": "The state of the member in the organization. The `pending` state indicates the user has not yet accepted an invitation.", + "example": "active", + "enum": [ + "active", + "pending" + ] }, "role": { "type": "string", - "example": "admin" + "description": "The user's membership type in the organization.", + "example": "admin", + "enum": [ + "admin", + "member" + ] }, "organization_url": { "type": "string", @@ -244737,7 +244809,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -244814,7 +244886,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -244829,11 +244901,21 @@ }, "state": { "type": "string", - "example": "active" + "description": "The state of the member in the organization. The `pending` state indicates the user has not yet accepted an invitation.", + "example": "active", + "enum": [ + "active", + "pending" + ] }, "role": { "type": "string", - "example": "admin" + "description": "The user's membership type in the organization.", + "example": "admin", + "enum": [ + "admin", + "member" + ] }, "organization_url": { "type": "string", @@ -245119,7 +245201,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -245139,7 +245221,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -245253,7 +245335,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -245364,7 +245446,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -245387,7 +245469,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -245460,7 +245542,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -245716,7 +245798,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -245739,7 +245821,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -245759,7 +245841,7 @@ } }, "415": { - "description": "Preview Header Missing", + "description": "Preview header missing", "content": { "application/json": { "schema": { @@ -245781,7 +245863,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -245860,7 +245942,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -245921,10 +246003,10 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -245964,7 +246046,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -246118,7 +246200,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -247198,7 +247280,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -247267,7 +247349,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -247290,7 +247372,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -247441,7 +247523,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -248532,7 +248614,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -248552,10 +248634,10 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -248595,7 +248677,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -248772,7 +248854,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -250676,10 +250758,10 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -250719,7 +250801,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -250775,7 +250857,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "403": { "description": "Forbidden", @@ -250818,7 +250900,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -250838,7 +250920,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" } }, "x-github": { @@ -250875,7 +250957,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "409": { "description": "Conflict", @@ -250898,10 +250980,10 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -251014,7 +251096,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -253195,7 +253277,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -253218,7 +253300,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -253304,7 +253386,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -253324,7 +253406,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -253388,7 +253470,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "403": { "description": "Forbidden", @@ -253411,7 +253493,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -253431,7 +253513,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -253451,7 +253533,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" } }, "x-github": { @@ -253495,10 +253577,10 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -253518,7 +253600,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -253538,7 +253620,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -253606,7 +253688,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -255219,7 +255301,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -255242,7 +255324,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -255307,7 +255389,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -255801,10 +255883,10 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -255889,7 +255971,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -256045,7 +256127,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" } }, "x-github": { @@ -256083,7 +256165,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -256622,7 +256704,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -256695,7 +256777,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -259415,7 +259497,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -262127,7 +262209,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -264839,7 +264921,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -265048,7 +265130,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -265315,7 +265397,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -265733,7 +265815,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -265855,7 +265937,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -266136,7 +266218,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -266183,7 +266265,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -266203,7 +266285,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -266317,7 +266399,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -266861,7 +266943,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -266959,7 +267041,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -267138,7 +267220,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -267407,7 +267489,7 @@ } }, "415": { - "description": "Preview Header Missing", + "description": "Preview header missing", "content": { "application/json": { "schema": { @@ -267429,7 +267511,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -267555,7 +267637,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -270267,7 +270349,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -273023,7 +273105,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -274675,7 +274757,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "x-github": { @@ -274711,7 +274793,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "x-github": { @@ -274795,7 +274877,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -277029,7 +277111,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -278677,7 +278759,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "requestBody": { @@ -278728,7 +278810,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "requestBody": { @@ -278767,7 +278849,7 @@ "operationId": "meta/get-zen", "responses": { "200": { - "description": "response", + "description": "Response", "content": { "text/plain": { "schema": { diff --git a/lib/rest/static/dereferenced/ghes-2.21.deref.json b/lib/rest/static/dereferenced/ghes-2.21.deref.json index 8aaab6d84b..38675db419 100644 --- a/lib/rest/static/dereferenced/ghes-2.21.deref.json +++ b/lib/rest/static/dereferenced/ghes-2.21.deref.json @@ -134,7 +134,7 @@ ], "servers": [ { - "url": "{protocol}://{hostname}", + "url": "{protocol}://{hostname}/api/v3", "variables": { "hostname": { "description": "Self-hosted Enterprise Server or Enterprise Cloud hostname", @@ -162,7 +162,7 @@ "operationId": "meta/root", "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -394,7 +394,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -529,7 +529,7 @@ ], "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -729,7 +729,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -859,7 +859,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -1040,7 +1040,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "x-github": { @@ -1092,7 +1092,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "x-github": { @@ -1140,11 +1140,48 @@ "type": "integer", "default": 1 } + }, + { + "name": "direction", + "description": "One of `asc` (ascending) or `desc` (descending).", + "in": "query", + "required": false, + "schema": { + "type": "string", + "enum": [ + "asc", + "desc" + ], + "default": "desc" + } + }, + { + "name": "sort", + "in": "query", + "required": false, + "schema": { + "type": "string", + "enum": [ + "created", + "updated", + "accessed" + ], + "default": "created" + } + }, + { + "name": "since", + "description": "Only show public keys accessed after the given time.", + "in": "query", + "required": false, + "schema": { + "type": "string" + } } ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -1242,7 +1279,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "x-github": { @@ -1280,7 +1317,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -1403,7 +1440,7 @@ ], "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -1456,7 +1493,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -1603,7 +1640,7 @@ ], "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -1646,7 +1683,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -1811,7 +1848,7 @@ ], "responses": { "202": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -1895,11 +1932,39 @@ "type": "integer", "default": 1 } + }, + { + "name": "direction", + "description": "One of `asc` (ascending) or `desc` (descending).", + "in": "query", + "required": false, + "schema": { + "type": "string", + "enum": [ + "asc", + "desc" + ], + "default": "desc" + } + }, + { + "name": "sort", + "in": "query", + "required": false, + "schema": { + "type": "string", + "enum": [ + "created", + "updated", + "name" + ], + "default": "created" + } } ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -2022,7 +2087,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -2163,7 +2228,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -2275,7 +2340,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -2452,7 +2517,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "422": { "description": "Client Errors", @@ -2540,7 +2605,7 @@ ], "responses": { "202": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -2661,7 +2726,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -2742,11 +2807,40 @@ "type": "integer", "default": 1 } + }, + { + "name": "direction", + "description": "One of `asc` (ascending) or `desc` (descending).", + "in": "query", + "required": false, + "schema": { + "type": "string", + "enum": [ + "asc", + "desc" + ], + "default": "desc" + } + }, + { + "name": "sort", + "description": "One of `created` (when the repository was starred) or `updated` (when it was last pushed to) or `name`.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "enum": [ + "created", + "updated", + "name" + ], + "default": "created" + } } ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -2903,7 +2997,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -3126,7 +3220,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -3288,7 +3382,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -3498,7 +3592,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "x-github": { @@ -3550,7 +3644,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -4260,7 +4354,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "x-github": { @@ -4288,7 +4382,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -4492,7 +4586,7 @@ ], "responses": { "202": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -4568,7 +4662,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "x-github": { @@ -4606,7 +4700,7 @@ ], "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -5307,7 +5401,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "x-github": { @@ -5338,7 +5432,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -5670,7 +5764,7 @@ ], "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -5996,7 +6090,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -6016,7 +6110,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -6651,7 +6745,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -7139,7 +7233,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -7159,7 +7253,7 @@ } }, "415": { - "description": "Preview Header Missing", + "description": "Preview header missing", "content": { "application/json": { "schema": { @@ -7228,10 +7322,10 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -7581,7 +7675,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -8760,7 +8854,7 @@ } }, "415": { - "description": "Preview Header Missing", + "description": "Preview header missing", "content": { "application/json": { "schema": { @@ -8782,7 +8876,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -8802,7 +8896,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -8822,7 +8916,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -8935,11 +9029,20 @@ "type": "integer", "default": 1 } + }, + { + "name": "client_id", + "in": "query", + "required": false, + "description": "The client ID of your GitHub app.", + "schema": { + "type": "string" + } } ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -9157,7 +9260,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -9180,7 +9283,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -9200,7 +9303,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -9259,7 +9362,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -9464,7 +9567,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -9487,7 +9590,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -9544,10 +9647,10 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -9570,7 +9673,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -9647,10 +9750,10 @@ }, "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -9763,7 +9866,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "x-github": { @@ -9823,7 +9926,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -10494,7 +10597,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -10563,7 +10666,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -10635,7 +10738,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -11306,7 +11409,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -11430,10 +11533,10 @@ }, "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -11546,7 +11649,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -12222,7 +12325,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -12287,7 +12390,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -13003,7 +13106,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "x-github": { @@ -13044,7 +13147,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -13358,7 +13461,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -13378,7 +13481,7 @@ } }, "415": { - "description": "Preview Header Missing", + "description": "Preview header missing", "content": { "application/json": { "schema": { @@ -13444,11 +13547,20 @@ "type": "integer", "default": 1 } + }, + { + "name": "client_id", + "in": "query", + "required": false, + "description": "The client ID of your GitHub app.", + "schema": { + "type": "string" + } } ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -14123,7 +14235,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -14146,7 +14258,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -14166,7 +14278,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -14261,7 +14373,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -14919,7 +15031,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -15008,7 +15120,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -15031,7 +15143,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -16450,7 +16562,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -16519,7 +16631,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -16542,7 +16654,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -17965,7 +18077,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -18073,7 +18185,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -18723,7 +18835,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -18746,7 +18858,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -18853,7 +18965,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -19503,7 +19615,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -19609,10 +19721,10 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -19635,7 +19747,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -19686,7 +19798,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -19749,10 +19861,10 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "415": { - "description": "Preview Header Missing", + "description": "Preview header missing", "content": { "application/json": { "schema": { @@ -19813,7 +19925,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -19866,7 +19978,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -19886,10 +19998,10 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "415": { - "description": "Preview Header Missing", + "description": "Preview header missing", "content": { "application/json": { "schema": { @@ -19977,7 +20089,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -20027,7 +20139,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -20096,7 +20208,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -20136,7 +20248,7 @@ } }, "415": { - "description": "Preview Header Missing", + "description": "Preview header missing", "content": { "application/json": { "schema": { @@ -20158,7 +20270,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -20223,10 +20335,10 @@ } } }, - "description": "response" + "description": "Response" }, "304": { - "description": "Not Modified" + "description": "Not modified" } }, "x-github": { @@ -20254,7 +20366,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -20331,7 +20443,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -20600,7 +20712,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -23268,7 +23380,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -23291,7 +23403,7 @@ } }, "503": { - "description": "Service Unavailable", + "description": "Service unavailable", "content": { "application/json": { "schema": { @@ -23340,7 +23452,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -23642,7 +23754,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -24060,7 +24172,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -24169,7 +24281,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -24402,7 +24514,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -24471,10 +24583,10 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -24568,7 +24680,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -24986,7 +25098,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -25055,7 +25167,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -25132,7 +25244,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -25550,7 +25662,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -25570,7 +25682,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -25629,7 +25741,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -25887,7 +25999,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -25907,7 +26019,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" } }, "x-github": { @@ -26014,7 +26126,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -26239,7 +26351,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -26308,7 +26420,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -26362,10 +26474,10 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -26385,7 +26497,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -26462,7 +26574,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -26694,10 +26806,10 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -26791,7 +26903,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -27018,10 +27130,10 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -27106,7 +27218,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -27325,10 +27437,10 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -27444,7 +27556,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -27663,7 +27775,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -27726,13 +27838,13 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -27826,7 +27938,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -28039,7 +28151,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -28059,7 +28171,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -28136,7 +28248,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -28405,7 +28517,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -28425,7 +28537,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -28482,7 +28594,7 @@ ], "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -28895,7 +29007,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -28915,7 +29027,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -28984,7 +29096,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -29059,7 +29171,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -29116,10 +29228,10 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -29139,7 +29251,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -29196,13 +29308,13 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -29286,7 +29398,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -29511,7 +29623,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -29580,7 +29692,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -29648,7 +29760,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -29670,7 +29782,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" } }, "x-github": { @@ -29708,7 +29820,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -29742,7 +29854,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" } }, "x-github": { @@ -29800,7 +29912,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -30931,10 +31043,10 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -30991,7 +31103,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "x-github": { @@ -31030,6 +31142,7 @@ "created", "mentioned", "subscribed", + "repos", "all" ], "default": "assigned" @@ -31150,7 +31263,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -33581,7 +33694,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -33650,10 +33763,10 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -33716,11 +33829,20 @@ "type": "integer", "default": 30 } + }, + { + "name": "page", + "description": "Page number of the results to fetch.", + "in": "query", + "schema": { + "type": "integer", + "default": 1 + } } ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -33826,7 +33948,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" } }, "x-github": { @@ -33864,7 +33986,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -34017,7 +34139,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -34037,7 +34159,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" } }, "x-github": { @@ -34100,7 +34222,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "headers": { "Content-Type": { "example": "text/html", @@ -34130,7 +34252,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" } }, "x-github": { @@ -34175,7 +34297,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "headers": { "X-CommonMarker-Version": { "example": "0.17.4", @@ -34193,7 +34315,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" } }, "x-github": { @@ -34224,7 +34346,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -34257,7 +34379,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" } }, "x-github": { @@ -34321,7 +34443,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -36989,7 +37111,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -37029,10 +37151,10 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "301": { - "description": "Moved Permanently" + "description": "Moved permanently" } }, "x-github": { @@ -37118,7 +37240,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -38777,7 +38899,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -38800,7 +38922,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -38820,7 +38942,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -38935,7 +39057,7 @@ }, "responses": { "202": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -38950,10 +39072,10 @@ } }, "205": { - "description": "response" + "description": "Response" }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -38976,7 +39098,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -39032,7 +39154,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -40678,7 +40800,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -40701,7 +40823,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -40755,10 +40877,10 @@ ], "responses": { "205": { - "description": "response" + "description": "Response" }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -40817,7 +40939,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -40882,7 +41004,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -40905,7 +41027,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -40975,7 +41097,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -41040,7 +41162,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -41063,7 +41185,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -41117,10 +41239,10 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -41143,7 +41265,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -41195,7 +41317,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/octocat-stream": { "schema": { @@ -41249,7 +41371,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -41360,7 +41482,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" } }, "x-github": { @@ -41398,7 +41520,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -41678,7 +41800,9 @@ "plan": { "name": "Medium", "space": 400, - "private_repos": 20 + "private_repos": 20, + "filled_seats": 4, + "seats": 5 }, "default_repository_permission": "read", "members_can_create_repositories": true, @@ -41689,54 +41813,13 @@ "members_can_create_internal_repositories": false, "members_can_create_pages": true } - }, - "response-with-git-hub-plan-information": { - "summary": "Response with GitHub plan information", - "value": { - "login": "github", - "id": 1, - "node_id": "MDEyOk9yZ2FuaXphdGlvbjE=", - "url": "https://api.github.com/orgs/github", - "repos_url": "https://api.github.com/orgs/github/repos", - "events_url": "https://api.github.com/orgs/github/events", - "hooks_url": "https://api.github.com/orgs/github/hooks", - "issues_url": "https://api.github.com/orgs/github/issues", - "members_url": "https://api.github.com/orgs/github/members{/member}", - "public_members_url": "https://api.github.com/orgs/github/public_members{/member}", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "description": "A great organization", - "name": "github", - "company": "GitHub", - "blog": "https://github.com/blog", - "location": "San Francisco", - "email": "octocat@github.com", - "twitter_username": "github", - "is_verified": true, - "has_organization_projects": true, - "has_repository_projects": true, - "public_repos": 2, - "public_gists": 1, - "followers": 20, - "following": 0, - "html_url": "https://github.com/octocat", - "created_at": "2008-01-14T04:33:35Z", - "updated_at": "2014-03-03T18:58:10Z", - "type": "Organization", - "plan": { - "name": "team", - "space": 976562499, - "private_repos": 999999, - "filled_seats": 4, - "seats": 5 - } - } } } } } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -41893,7 +41976,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -42187,7 +42270,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -42303,7 +42386,7 @@ } }, "415": { - "description": "Preview Header Missing", + "description": "Preview header missing", "content": { "application/json": { "schema": { @@ -42382,7 +42465,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -45103,7 +45186,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -45230,7 +45313,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -45367,7 +45450,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -45489,7 +45572,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -45558,7 +45641,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -45621,7 +45704,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -45735,7 +45818,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -45862,7 +45945,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -45975,7 +46058,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -46044,7 +46127,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -46105,10 +46188,10 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -46171,10 +46254,10 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -46239,7 +46322,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -46793,7 +46876,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -47357,6 +47440,7 @@ "created", "mentioned", "subscribed", + "repos", "all" ], "default": "assigned" @@ -47445,7 +47529,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -49876,7 +49960,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -49981,7 +50065,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -50148,7 +50232,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -50318,7 +50402,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "403": { "description": "Forbidden", @@ -50355,7 +50439,7 @@ "/orgs/{org}/memberships/{username}": { "get": { "summary": "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.", + "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.", "tags": [ "orgs" ], @@ -50384,7 +50468,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -50399,11 +50483,21 @@ }, "state": { "type": "string", - "example": "active" + "description": "The state of the member in the organization. The `pending` state indicates the user has not yet accepted an invitation.", + "example": "active", + "enum": [ + "active", + "pending" + ] }, "role": { "type": "string", - "example": "admin" + "description": "The user's membership type in the organization.", + "example": "admin", + "enum": [ + "admin", + "member" + ] }, "organization_url": { "type": "string", @@ -50664,99 +50758,13 @@ "site_admin": false } } - }, - "response-if-user-has-an-active-membership-with-organization": { - "summary": "Response if user has an active membership with organization", - "value": { - "url": "https://api.github.com/orgs/octocat/memberships/defunkt", - "state": "active", - "role": "member", - "organization_url": "https://api.github.com/orgs/octocat", - "organization": { - "login": "github", - "id": 1, - "node_id": "MDEyOk9yZ2FuaXphdGlvbjE=", - "url": "https://api.github.com/orgs/github", - "repos_url": "https://api.github.com/orgs/github/repos", - "events_url": "https://api.github.com/orgs/github/events", - "hooks_url": "https://api.github.com/orgs/github/hooks", - "issues_url": "https://api.github.com/orgs/github/issues", - "members_url": "https://api.github.com/orgs/github/members{/member}", - "public_members_url": "https://api.github.com/orgs/github/public_members{/member}", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "description": "A great organization" - }, - "user": { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - } - } - }, - "response-if-user-has-a-pending-membership-with-organization": { - "summary": "Response if user has a pending membership with organization", - "value": { - "url": "https://api.github.com/orgs/invitocat/memberships/defunkt", - "state": "pending", - "role": "member", - "organization_url": "https://api.github.com/orgs/invitocat", - "organization": { - "login": "github", - "id": 1, - "node_id": "MDEyOk9yZ2FuaXphdGlvbjE=", - "url": "https://api.github.com/orgs/github", - "repos_url": "https://api.github.com/orgs/github/repos", - "events_url": "https://api.github.com/orgs/github/events", - "hooks_url": "https://api.github.com/orgs/github/hooks", - "issues_url": "https://api.github.com/orgs/github/issues", - "members_url": "https://api.github.com/orgs/github/members{/member}", - "public_members_url": "https://api.github.com/orgs/github/public_members{/member}", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "description": "A great organization" - }, - "user": { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - } - } } } } } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -50857,7 +50865,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -50872,11 +50880,21 @@ }, "state": { "type": "string", - "example": "active" + "description": "The state of the member in the organization. The `pending` state indicates the user has not yet accepted an invitation.", + "example": "active", + "enum": [ + "active", + "pending" + ] }, "role": { "type": "string", - "example": "admin" + "description": "The user's membership type in the organization.", + "example": "admin", + "enum": [ + "admin", + "member" + ] }, "organization_url": { "type": "string", @@ -51095,51 +51113,8 @@ ] }, "examples": { - "response-if-user-was-previously-unaffiliated-with-organization": { - "summary": "Response if user was previously unaffiliated with organization", - "value": { - "url": "https://api.github.com/orgs/invitocat/memberships/defunkt", - "state": "pending", - "role": "admin", - "organization_url": "https://api.github.com/orgs/invitocat", - "organization": { - "login": "github", - "id": 1, - "node_id": "MDEyOk9yZ2FuaXphdGlvbjE=", - "url": "https://api.github.com/orgs/github", - "repos_url": "https://api.github.com/orgs/github/repos", - "events_url": "https://api.github.com/orgs/github/events", - "hooks_url": "https://api.github.com/orgs/github/hooks", - "issues_url": "https://api.github.com/orgs/github/issues", - "members_url": "https://api.github.com/orgs/github/members{/member}", - "public_members_url": "https://api.github.com/orgs/github/public_members{/member}", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "description": "A great organization" - }, - "user": { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - } - } - }, "response-if-user-already-had-membership-with-organization": { - "summary": "Response if user already had membership with organization", + "summary": "Response if user has an active admin membership with organization", "value": { "url": "https://api.github.com/orgs/octocat/memberships/defunkt", "state": "active", @@ -51186,7 +51161,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -51316,7 +51291,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "403": { "description": "Forbidden", @@ -51339,7 +51314,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -51426,7 +51401,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -51631,41 +51606,10 @@ "description": "User was converted" }, "403": { - "description": "response", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - } - } - }, - "examples": { - "response-if-user-is-the-last-owner-of-the-organization": { - "summary": "Response if user is the last owner of the organization", - "value": { - "message": "Cannot convert the last owner to an outside collaborator", - "documentation_url": "https://docs.github.com/enterprise-server@2.21/rest/reference/orgs#convert-member-to-outside-collaborator" - } - }, - "response-if-user-is-not-a-member-of-the-organization": { - "summary": "Response if user is not a member of the organization", - "value": { - "message": " is not a member of the organization.", - "documentation_url": "https://docs.github.com/enterprise-server@2.21/rest/reference/orgs#convert-member-to-outside-collaborator" - } - } - } - } - } + "description": "Response if user is the last owner of the organization or not a member of the organization" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -51726,7 +51670,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "422": { "description": "Response if user is a member of the organization", @@ -51804,11 +51748,40 @@ "type": "integer", "default": 1 } + }, + { + "name": "direction", + "description": "One of `asc` (ascending) or `desc` (descending).", + "in": "query", + "required": false, + "schema": { + "type": "string", + "enum": [ + "asc", + "desc" + ], + "default": "desc" + } + }, + { + "name": "sort", + "description": "The sort order for the response collection.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "enum": [ + "created", + "updated", + "name" + ], + "default": "created" + } } ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -51898,7 +51871,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -51981,7 +51954,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -52087,7 +52060,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -52197,7 +52170,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -52466,7 +52439,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -52559,7 +52532,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -52815,7 +52788,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -52855,7 +52828,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -52895,7 +52868,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -52982,7 +52955,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -53228,7 +53201,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "403": { "description": "Forbidden", @@ -53292,7 +53265,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "x-github": { @@ -53395,7 +53368,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -55170,7 +55143,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -56291,7 +56264,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -56422,7 +56395,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -56718,7 +56691,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -57199,7 +57172,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -57332,7 +57305,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -57813,7 +57786,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -57922,7 +57895,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -58445,7 +58418,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "x-github": { @@ -58520,11 +58493,20 @@ "type": "integer", "default": 1 } + }, + { + "name": "pinned", + "in": "query", + "required": false, + "description": "Pinned discussions only filter", + "schema": { + "type": "string" + } } ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -58945,7 +58927,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -59332,7 +59314,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -59738,7 +59720,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -60122,7 +60104,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "x-github": { @@ -60209,7 +60191,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -60593,7 +60575,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -60954,7 +60936,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -61333,7 +61315,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -61691,7 +61673,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "x-github": { @@ -61791,7 +61773,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -62093,7 +62075,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -62361,7 +62343,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "x-github": { @@ -62457,7 +62439,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -62751,7 +62733,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -63011,7 +62993,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "x-github": { @@ -63095,7 +63077,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -63265,7 +63247,7 @@ "/orgs/{org}/teams/{team_slug}/memberships/{username}": { "get": { "summary": "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).", + "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).", "tags": [ "teams" ], @@ -63303,7 +63285,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -63326,7 +63308,12 @@ "type": "string" }, "state": { - "type": "string" + "description": "The state of the user's membership in the team.", + "type": "string", + "enum": [ + "active", + "pending" + ] } }, "required": [ @@ -63336,14 +63323,6 @@ ] }, "examples": { - "response-if-user-has-an-active-membership-with-team": { - "summary": "Response if user has an active membership with team", - "value": { - "url": "https://api.github.com/teams/1/memberships/octocat", - "role": "member", - "state": "active" - } - }, "response-if-user-is-a-team-maintainer": { "summary": "Response if user is a team maintainer", "value": { @@ -63351,14 +63330,6 @@ "role": "maintainer", "state": "active" } - }, - "response-if-user-has-a-pending-membership-with-team": { - "summary": "Response if user has a pending membership with team", - "value": { - "url": "https://api.github.com/teams/1/memberships/octocat", - "role": "member", - "state": "pending" - } } } } @@ -63438,7 +63409,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -63461,7 +63432,12 @@ "type": "string" }, "state": { - "type": "string" + "description": "The state of the user's membership in the team.", + "type": "string", + "enum": [ + "active", + "pending" + ] } }, "required": [ @@ -63471,14 +63447,6 @@ ] }, "examples": { - "response-if-users-membership-with-team-is-now-active": { - "summary": "Response if user's membership with team is now active", - "value": { - "url": "https://api.github.com/teams/1/memberships/octocat", - "role": "member", - "state": "active" - } - }, "response-if-users-membership-with-team-is-now-pending": { "summary": "Response if user's membership with team is now pending", "value": { @@ -63495,50 +63463,7 @@ "description": "Response if team synchronization is set up" }, "422": { - "description": "Response if you attempt to add an organization to a team", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "errors": { - "type": "array", - "items": { - "type": "object", - "properties": { - "code": { - "type": "string" - }, - "field": { - "type": "string" - }, - "resource": { - "type": "string" - } - } - } - } - } - }, - "examples": { - "response-if-you-attempt-to-add-an-organization-to-a-team": { - "value": { - "message": "Cannot add an organization as a member.", - "errors": [ - { - "code": "org", - "field": "user", - "resource": "TeamMember" - } - ] - } - } - } - } - } + "description": "Response if you attempt to add an organization to a team" } }, "x-github": { @@ -63591,7 +63516,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "403": { "description": "Response if team synchronization is set up" @@ -63659,7 +63584,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -63979,7 +63904,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -64308,7 +64233,7 @@ }, "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "403": { "description": "Response if the project is not owned by the organization", @@ -64391,7 +64316,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "x-github": { @@ -64456,7 +64381,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -68095,7 +68020,7 @@ }, "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "x-github": { @@ -68156,7 +68081,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "x-github": { @@ -68448,7 +68373,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -68675,7 +68600,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -68698,7 +68623,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -68718,7 +68643,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -68798,7 +68723,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -69025,7 +68950,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -69048,7 +68973,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -69068,7 +68993,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -69088,7 +69013,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -69156,10 +69081,10 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -69186,7 +69111,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -69206,7 +69131,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -69291,7 +69216,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -69304,7 +69229,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -69345,7 +69270,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -69365,7 +69290,7 @@ } }, "503": { - "description": "Service Unavailable", + "description": "Service unavailable", "content": { "application/json": { "schema": { @@ -69400,7 +69325,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -69509,7 +69434,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -69586,7 +69511,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -69609,7 +69534,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -69629,7 +69554,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -69706,7 +69631,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -69783,7 +69708,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -69806,7 +69731,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -69864,10 +69789,10 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -69890,7 +69815,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -69983,7 +69908,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -70223,7 +70148,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -70246,7 +70171,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -70347,7 +70272,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -70574,7 +70499,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -70597,7 +70522,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -70617,7 +70542,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -70713,7 +70638,7 @@ } }, "503": { - "description": "Service Unavailable", + "description": "Service unavailable", "content": { "application/json": { "schema": { @@ -70808,7 +70733,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -70821,7 +70746,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -70844,7 +70769,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -70874,7 +70799,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -70933,7 +70858,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -71189,7 +71114,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -71212,7 +71137,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -71310,7 +71235,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -71569,7 +71494,7 @@ "description": "Response if the authenticated user does not have access to the project" }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -71596,7 +71521,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -71636,7 +71561,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -71706,7 +71631,7 @@ "description": "Delete Success" }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -71733,7 +71658,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -71773,7 +71698,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -71865,7 +71790,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -72021,7 +71946,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -72041,7 +71966,7 @@ } }, "415": { - "description": "Preview Header Missing", + "description": "Preview header missing", "content": { "application/json": { "schema": { @@ -72063,7 +71988,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -72132,7 +72057,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -72155,7 +72080,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -72244,10 +72169,10 @@ }, "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -72267,7 +72192,7 @@ } }, "415": { - "description": "Preview Header Missing", + "description": "Preview header missing", "content": { "application/json": { "schema": { @@ -72289,7 +72214,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -72358,7 +72283,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -72381,7 +72306,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -72446,13 +72371,13 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -72472,7 +72397,7 @@ } }, "415": { - "description": "Preview Header Missing", + "description": "Preview header missing", "content": { "application/json": { "schema": { @@ -72514,7 +72439,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -72583,7 +72508,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -72650,7 +72575,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -72815,7 +72740,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -72835,7 +72760,7 @@ } }, "415": { - "description": "Preview Header Missing", + "description": "Preview header missing", "content": { "application/json": { "schema": { @@ -72857,7 +72782,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -72926,7 +72851,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -72949,7 +72874,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -73026,7 +72951,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -73116,7 +73041,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -73139,7 +73064,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -73215,7 +73140,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -73288,7 +73213,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -73311,7 +73236,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -73341,7 +73266,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -73393,7 +73318,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -73619,10 +73544,10 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -73677,10 +73602,10 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -73703,7 +73628,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -73743,7 +73668,7 @@ } }, "415": { - "description": "Preview Header Missing", + "description": "Preview header missing", "content": { "application/json": { "schema": { @@ -73815,7 +73740,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -78517,7 +78442,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -78537,7 +78462,7 @@ } }, "301": { - "description": "Moved Permanently" + "description": "Moved permanently" } }, "x-github": { @@ -78686,7 +78611,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -82879,7 +82804,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -82948,7 +82873,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -83018,7 +82943,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "403": { "description": "If an organization owner has configured the organization to prevent members from deleting organization-owned repositories, a member will get this response:", @@ -83043,7 +82968,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -83124,7 +83049,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -83280,7 +83205,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -83444,7 +83369,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -84170,18 +84095,6 @@ }, "examples": { "default": { - "value": [ - { - "name": "master", - "commit": { - "sha": "c5b97d5ae6c19d5c5df71a34c7fbeeda2479ccbc", - "url": "https://api.github.com/repos/octocat/Hello-World/commits/c5b97d5ae6c19d5c5df71a34c7fbeeda2479ccbc" - }, - "protected": true - } - ] - }, - "with-protection": { "value": [ { "name": "master", @@ -84217,7 +84130,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -84290,7 +84203,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -85608,7 +85521,7 @@ } }, "415": { - "description": "Preview Header Missing", + "description": "Preview header missing", "content": { "application/json": { "schema": { @@ -85630,7 +85543,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -85703,7 +85616,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -86549,7 +86462,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -86788,7 +86701,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -87519,7 +87432,7 @@ } }, "415": { - "description": "Preview Header Missing", + "description": "Preview header missing", "content": { "application/json": { "schema": { @@ -87541,7 +87454,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -87571,7 +87484,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -87646,7 +87559,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "403": { "description": "Forbidden", @@ -87722,7 +87635,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -87808,7 +87721,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -87897,7 +87810,7 @@ "description": "No Content" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -87970,7 +87883,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/vnd.github.luke-cage-preview+json": { "schema": { @@ -88449,7 +88362,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -88817,7 +88730,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -88944,7 +88857,7 @@ "description": "No Content" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -89017,7 +88930,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -89052,7 +88965,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -89127,7 +89040,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -89162,7 +89075,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -89240,7 +89153,7 @@ "description": "No Content" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -89317,7 +89230,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -89372,7 +89285,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -89471,7 +89384,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -89526,7 +89439,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -89546,7 +89459,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -89722,7 +89635,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -89738,7 +89651,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -89835,7 +89748,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -89852,7 +89765,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -89941,7 +89854,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -90039,7 +89952,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -90055,7 +89968,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -90124,7 +90037,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -90222,7 +90135,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -90238,7 +90151,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -90258,7 +90171,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -90381,7 +90294,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -90752,7 +90665,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -90879,7 +90792,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -91178,7 +91091,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -91275,7 +91188,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -91574,7 +91487,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -91721,7 +91634,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -92020,7 +91933,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -92167,7 +92080,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -92466,7 +92379,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -92589,7 +92502,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -92760,7 +92673,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -92857,7 +92770,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -93028,7 +92941,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -93175,7 +93088,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -93346,7 +93259,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -93493,7 +93406,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -93664,7 +93577,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -93787,7 +93700,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -93935,7 +93848,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -94032,7 +93945,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -94180,7 +94093,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -94327,7 +94240,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -94475,7 +94388,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -94622,7 +94535,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -94770,7 +94683,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -95107,7 +95020,7 @@ }, "examples": { "example-of-in-progress-conclusion": { - "summary": "Example of in_progress conclusion", + "summary": "Response for in_progress conclusion", "value": { "name": "mighty_readme", "head_sha": "ce587453ced02b1526dfb4cb910479d431683101", @@ -95122,7 +95035,7 @@ } }, "example-of-completed-conclusion": { - "summary": "Example of completed conclusion", + "summary": "Response for completed conclusion", "value": { "name": "mighty_readme", "head_sha": "ce587453ced02b1526dfb4cb910479d431683101", @@ -95176,7 +95089,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -95992,101 +95905,8 @@ ] }, "examples": { - "example-of-in-progress-conclusion": { - "summary": "Example of in_progress conclusion", - "value": { - "id": 4, - "head_sha": "ce587453ced02b1526dfb4cb910479d431683101", - "node_id": "MDg6Q2hlY2tSdW40", - "external_id": "42", - "url": "https://api.github.com/repos/github/hello-world/check-runs/4", - "html_url": "https://github.com/github/hello-world/runs/4", - "details_url": "https://example.com", - "status": "in_progress", - "conclusion": "neutral", - "started_at": "2018-05-04T01:14:52Z", - "completed_at": null, - "output": { - "title": "Mighty Readme Report", - "summary": "", - "text": "", - "annotations_count": 1, - "annotations_url": "https://api.github.com/repos/github/hello-world/check-runs/4/annotations" - }, - "name": "mighty_readme", - "check_suite": { - "id": 5 - }, - "app": { - "id": 1, - "slug": "octoapp", - "node_id": "MDExOkludGVncmF0aW9uMQ==", - "owner": { - "login": "github", - "id": 1, - "node_id": "MDEyOk9yZ2FuaXphdGlvbjE=", - "url": "https://api.github.com/orgs/github", - "repos_url": "https://api.github.com/orgs/github/repos", - "events_url": "https://api.github.com/orgs/github/events", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": true - }, - "name": "Octocat App", - "description": "", - "external_url": "https://example.com", - "html_url": "https://github.com/apps/octoapp", - "created_at": "2017-07-08T16:18:44-04:00", - "updated_at": "2017-07-08T16:18:44-04:00", - "permissions": { - "metadata": "read", - "contents": "read", - "issues": "write", - "single_file": "write" - }, - "events": [ - "push", - "pull_request" - ] - }, - "pull_requests": [ - { - "url": "https://api.github.com/repos/github/hello-world/pulls/1", - "id": 1934, - "number": 3956, - "head": { - "ref": "say-hello", - "sha": "3dca65fa3e8d4b3da3f3d056c59aee1c50f41390", - "repo": { - "id": 526, - "url": "https://api.github.com/repos/github/hello-world", - "name": "hello-world" - } - }, - "base": { - "ref": "master", - "sha": "e7fdf7640066d71ad16a86fbcbb9c6a10a18af4f", - "repo": { - "id": 526, - "url": "https://api.github.com/repos/github/hello-world", - "name": "hello-world" - } - } - } - ] - } - }, "example-of-completed-conclusion": { - "summary": "Example of completed conclusion", + "summary": "Response for completed conclusion", "value": { "id": 4, "head_sha": "ce587453ced02b1526dfb4cb910479d431683101", @@ -96239,7 +96059,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -97460,7 +97280,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -98447,7 +98267,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -98615,7 +98435,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -101003,7 +100823,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -102200,7 +102020,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -104611,7 +104431,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -105608,7 +105428,7 @@ ], "responses": { "201": { - "description": "response" + "description": "Response" } }, "x-github": { @@ -105691,7 +105511,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -105866,7 +105686,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -107925,7 +107745,7 @@ "description": "Response when person is already a collaborator" }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -108064,7 +107884,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "x-github": { @@ -108283,7 +108103,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -108364,7 +108184,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -108722,7 +108542,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -109011,7 +108831,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -109106,7 +108926,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -109395,7 +109215,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -109465,10 +109285,10 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -109577,7 +109397,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -109786,7 +109606,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -109806,7 +109626,7 @@ } }, "415": { - "description": "Preview Header Missing", + "description": "Preview header missing", "content": { "application/json": { "schema": { @@ -110305,7 +110125,7 @@ } }, "415": { - "description": "Preview Header Missing", + "description": "Preview header missing", "content": { "application/json": { "schema": { @@ -110327,7 +110147,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -110460,7 +110280,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "x-github": { @@ -110569,11 +110389,31 @@ "type": "integer", "default": 1 } + }, + { + "name": "top", + "description": "legacy parameter for pagination.", + "in": "query", + "deprecated": true, + "required": false, + "schema": { + "type": "string" + } + }, + { + "name": "last_sha", + "description": "legacy parameter for pagination.", + "in": "query", + "deprecated": true, + "required": false, + "schema": { + "type": "string" + } } ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -111226,7 +111066,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -111319,7 +111159,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -111376,7 +111216,7 @@ } }, "415": { - "description": "Preview Header Missing", + "description": "Preview header missing", "content": { "application/json": { "schema": { @@ -111398,7 +111238,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -111542,7 +111382,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -111935,7 +111775,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -112252,7 +112092,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -112393,7 +112233,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -116202,7 +116042,7 @@ } }, "415": { - "description": "Preview Header Missing", + "description": "Preview header missing", "content": { "application/json": { "schema": { @@ -116268,9 +116108,27 @@ "type": "string" } }, + { + "name": "page", + "description": "Page number of the results to fetch.", + "in": "query", + "schema": { + "type": "integer", + "default": 1 + } + }, + { + "name": "per_page", + "description": "Results per page (max 100).", + "in": "query", + "schema": { + "type": "integer", + "default": 30 + } + }, { "name": "ref", - "description": "ref+ parameter", + "description": "ref parameter", "in": "path", "required": true, "schema": { @@ -116281,7 +116139,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -116864,7 +116722,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -116933,7 +116791,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -117015,7 +116873,7 @@ }, { "name": "ref", - "description": "ref+ parameter", + "description": "ref parameter", "in": "path", "required": true, "schema": { @@ -117077,11 +116935,19 @@ "type": "integer", "default": 1 } + }, + { + "name": "app_id", + "in": "query", + "required": false, + "schema": { + "type": "integer" + } } ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -118068,7 +117934,7 @@ }, { "name": "ref", - "description": "ref+ parameter", + "description": "ref parameter", "in": "path", "required": true, "schema": { @@ -118116,7 +117982,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -120350,18 +120216,36 @@ }, { "name": "ref", - "description": "ref+ parameter", + "description": "ref parameter", "in": "path", "required": true, "schema": { "type": "string" }, "x-multi-segment": true + }, + { + "name": "per_page", + "description": "Results per page (max 100).", + "in": "query", + "schema": { + "type": "integer", + "default": 30 + } + }, + { + "name": "page", + "description": "Page number of the results to fetch.", + "in": "query", + "schema": { + "type": "integer", + "default": 1 + } } ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -122056,7 +121940,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -122118,7 +122002,7 @@ }, { "name": "ref", - "description": "ref+ parameter", + "description": "ref parameter", "in": "path", "required": true, "schema": { @@ -122147,7 +122031,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -122366,7 +122250,7 @@ } }, "301": { - "description": "Moved Permanently" + "description": "Moved permanently" } }, "x-github": { @@ -122428,7 +122312,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -124291,7 +124175,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -124353,7 +124237,7 @@ }, { "name": "path", - "description": "path+ parameter", + "description": "path parameter", "in": "path", "required": true, "schema": { @@ -124373,7 +124257,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/vnd.github.v3.object": { "schema": { @@ -124985,7 +124869,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -125068,7 +124952,7 @@ }, { "name": "path", - "description": "path+ parameter", + "description": "path parameter", "in": "path", "required": true, "schema": { @@ -125179,7 +125063,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -125395,7 +125279,7 @@ } }, "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -125611,7 +125495,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -125631,7 +125515,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -125760,7 +125644,7 @@ }, { "name": "path", - "description": "path+ parameter", + "description": "path parameter", "in": "path", "required": true, "schema": { @@ -125834,7 +125718,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -126035,7 +125919,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -126104,7 +125988,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -126144,7 +126028,7 @@ } }, "503": { - "description": "Service Unavailable", + "description": "Service unavailable", "content": { "application/json": { "schema": { @@ -126386,7 +126270,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -126483,7 +126367,8 @@ "required": false, "schema": { "type": "string", - "default": "none" + "default": "none", + "nullable": true } }, { @@ -126507,7 +126392,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -127174,7 +127059,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -127683,48 +127568,6 @@ "transient_environment": false, "production_environment": true } - }, - "advanced-example": { - "summary": "Advanced example", - "value": { - "url": "https://api.github.com/repos/octocat/example/deployments/1", - "id": 1, - "node_id": "MDEwOkRlcGxveW1lbnQx", - "sha": "a84d88e7554fc1fa21bcbc4efae3c782a70d2b9d", - "ref": "topic-branch", - "task": "deploy", - "payload": { - }, - "original_environment": "staging", - "environment": "production", - "description": "Deploy request from hubot", - "creator": { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - }, - "created_at": "2012-07-20T01:19:13Z", - "updated_at": "2012-07-20T01:19:13Z", - "statuses_url": "https://api.github.com/repos/octocat/example/deployments/1/statuses", - "repository_url": "https://api.github.com/repos/octocat/example", - "transient_environment": false, - "production_environment": true - } } } } @@ -127753,40 +127596,10 @@ } }, "409": { - "description": "response", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string", - "example": "\"https://docs.github.com/enterprise-server@2.21/rest/reference/repos#create-a-deployment\"" - } - } - }, - "examples": { - "merge-conflict-response": { - "summary": "Merge conflict response", - "value": { - "message": "Conflict merging master into topic-branch" - } - }, - "failed-commit-status-checks": { - "summary": "Failed commit status checks", - "value": { - "message": "Conflict: Commit status checks failed for topic-branch." - } - } - } - } - } + "description": "Response when there is a merge conflict or the commit's status checks failed" }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -127911,7 +127724,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -128425,7 +128238,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -128504,10 +128317,10 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -128527,7 +128340,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -128627,7 +128440,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -129151,7 +128964,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -129296,7 +129109,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -129815,7 +129628,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -129953,7 +129766,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -130464,7 +130277,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -130484,7 +130297,7 @@ } }, "415": { - "description": "Preview Header Missing", + "description": "Preview header missing", "content": { "application/json": { "schema": { @@ -130593,10 +130406,10 @@ }, "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -130726,7 +130539,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -133444,7 +133257,8 @@ "enum": [ "newest", "oldest", - "stargazers" + "stargazers", + "watchers" ], "default": "newest" } @@ -133466,11 +133280,31 @@ "type": "integer", "default": 1 } + }, + { + "name": "org", + "description": "legacy query parameter for specifying the org.", + "in": "query", + "deprecated": true, + "required": false, + "schema": { + "type": "string" + } + }, + { + "name": "organization", + "description": "legacy query parameter for specifying the org.", + "in": "query", + "deprecated": true, + "required": false, + "schema": { + "type": "string" + } } ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -135187,6 +135021,26 @@ "schema": { "type": "string" } + }, + { + "name": "org", + "description": "legacy query parameter for specifying the org.", + "in": "query", + "deprecated": true, + "required": false, + "schema": { + "type": "string" + } + }, + { + "name": "organization", + "description": "legacy query parameter for specifying the org.", + "in": "query", + "deprecated": true, + "required": false, + "schema": { + "type": "string" + } } ], "requestBody": { @@ -135194,6 +135048,7 @@ "application/json": { "schema": { "type": "object", + "nullable": true, "properties": { "organization": { "type": "string", @@ -135206,7 +135061,7 @@ }, "responses": { "202": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -136353,7 +136208,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -136442,7 +136297,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -136532,7 +136387,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -136572,7 +136427,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -136632,7 +136487,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -136752,7 +136607,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -136809,7 +136664,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -136829,7 +136684,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -137044,7 +136899,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -137260,7 +137115,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -137329,7 +137184,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -137402,7 +137257,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -137610,7 +137465,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -137672,7 +137527,7 @@ }, { "name": "ref", - "description": "ref+ parameter", + "description": "ref parameter", "in": "path", "required": true, "schema": { @@ -137701,7 +137556,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -137834,7 +137689,7 @@ }, { "name": "ref", - "description": "ref+ parameter", + "description": "ref parameter", "in": "path", "required": true, "schema": { @@ -137845,7 +137700,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -137913,7 +137768,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -138007,7 +137862,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -138083,7 +137938,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -138194,7 +138049,7 @@ }, { "name": "ref", - "description": "ref+ parameter", + "description": "ref parameter", "in": "path", "required": true, "schema": { @@ -138232,7 +138087,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -138300,7 +138155,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -138409,7 +138264,7 @@ }, { "name": "ref", - "description": "ref+ parameter", + "description": "ref parameter", "in": "path", "required": true, "schema": { @@ -138420,10 +138275,10 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -138602,7 +138457,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -138749,7 +138604,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -138869,7 +138724,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -139008,7 +138863,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -139142,7 +138997,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -139270,7 +139125,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -139339,7 +139194,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -139425,7 +139280,8 @@ "required": true, "schema": { "type": "string" - } + }, + "x-multi-segment": true }, { "name": "recursive", @@ -139439,7 +139295,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -139593,7 +139449,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -139662,7 +139518,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -139743,7 +139599,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -139940,7 +139796,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -140085,7 +139941,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -140277,7 +140133,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -140297,7 +140153,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -140437,7 +140293,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -140621,7 +140477,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -140774,7 +140630,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -140958,7 +140814,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -141027,7 +140883,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -141096,10 +140952,10 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -141170,10 +141026,10 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -141244,10 +141100,10 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -141320,7 +141176,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -141808,10 +141664,10 @@ } }, "301": { - "description": "Moved Permanently" + "description": "Moved permanently" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -141895,7 +141751,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -143885,7 +143741,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -145839,7 +145695,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "x-github": { @@ -146001,7 +145857,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -148171,10 +148027,10 @@ } }, "301": { - "description": "Moved Permanently" + "description": "Moved permanently" }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -148243,7 +148099,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -148401,7 +148257,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -150757,7 +150613,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -150826,7 +150682,7 @@ } }, "503": { - "description": "Service Unavailable", + "description": "Service unavailable", "content": { "application/json": { "schema": { @@ -150847,7 +150703,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -150985,7 +150841,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -151530,7 +151386,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -151599,7 +151455,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -151675,7 +151531,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -152207,7 +152063,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -152302,7 +152158,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -152834,7 +152690,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -152953,7 +152809,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "x-github": { @@ -153045,7 +152901,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -153254,7 +153110,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -153274,7 +153130,7 @@ } }, "415": { - "description": "Preview Header Missing", + "description": "Preview header missing", "content": { "application/json": { "schema": { @@ -153773,7 +153629,7 @@ } }, "415": { - "description": "Preview Header Missing", + "description": "Preview header missing", "content": { "application/json": { "schema": { @@ -153795,7 +153651,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -153928,7 +153784,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "x-github": { @@ -153996,7 +153852,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -157098,7 +156954,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -157227,7 +157083,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -160316,7 +160172,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -160442,7 +160298,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -162770,10 +162626,10 @@ } }, "301": { - "description": "Moved Permanently" + "description": "Moved permanently" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -162813,7 +162669,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" } }, "x-github": { @@ -162972,7 +162828,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -165300,7 +165156,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -165369,7 +165225,7 @@ } }, "503": { - "description": "Service Unavailable", + "description": "Service unavailable", "content": { "application/json": { "schema": { @@ -165410,10 +165266,10 @@ } }, "301": { - "description": "Moved Permanently" + "description": "Moved permanently" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -165529,7 +165385,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -167800,7 +167656,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -170076,7 +169932,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -170621,7 +170477,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -170736,7 +170592,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -171316,7 +171172,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -171385,7 +171241,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -171476,7 +171332,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -171834,7 +171690,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -172022,7 +171878,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -172125,7 +171981,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -172268,7 +172124,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -172371,7 +172227,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -172490,7 +172346,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "410": { "description": "Gone", @@ -172573,7 +172429,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -172647,7 +172503,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -172761,7 +172617,7 @@ }, "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "403": { "description": "Forbidden", @@ -172804,7 +172660,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -172824,7 +172680,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -172946,7 +172802,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "403": { "description": "Forbidden", @@ -172969,7 +172825,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -173078,7 +172934,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -173287,7 +173143,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -173327,7 +173183,7 @@ } }, "415": { - "description": "Preview Header Missing", + "description": "Preview header missing", "content": { "application/json": { "schema": { @@ -173434,7 +173290,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -173630,7 +173486,7 @@ } }, "415": { - "description": "Preview Header Missing", + "description": "Preview header missing", "content": { "application/json": { "schema": { @@ -173652,7 +173508,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -173785,7 +173641,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "x-github": { @@ -173862,7 +173718,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -174121,7 +173977,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -174161,7 +174017,7 @@ } }, "415": { - "description": "Preview Header Missing", + "description": "Preview header missing", "content": { "application/json": { "schema": { @@ -174253,7 +174109,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -174395,7 +174251,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -174460,7 +174316,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -174581,7 +174437,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -174638,7 +174494,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -174708,7 +174564,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "x-github": { @@ -174772,7 +174628,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -174863,7 +174719,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -174930,7 +174786,7 @@ "properties": { "name": { "type": "string", - "description": "The name of the label. Emoji can be added to label names, using either native emoji or colon-style markup. For example, typing `:strawberry:` will render the emoji ![:strawberry:](https://github.githubassets.com/images/icons/emoji/unicode/1f353.png \":strawberry:\"). For a full list of available emoji and codes, see [emoji-cheat-sheet.com](http://emoji-cheat-sheet.com/)." + "description": "The name of the label. Emoji can be added to label names, using either native emoji or colon-style markup. For example, typing `:strawberry:` will render the emoji ![:strawberry:](https://github.githubassets.com/images/icons/emoji/unicode/1f353.png \":strawberry:\"). For a full list of available emoji and codes, see \"[Emoji cheat sheet](https://github.com/ikatyang/emoji-cheat-sheet).\"" }, "color": { "type": "string", @@ -174955,7 +174811,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -175032,7 +174888,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -175101,7 +174957,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -175172,7 +175028,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -175241,7 +175097,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -175316,7 +175172,7 @@ "properties": { "new_name": { "type": "string", - "description": "The new name of the label. Emoji can be added to label names, using either native emoji or colon-style markup. For example, typing `:strawberry:` will render the emoji ![:strawberry:](https://github.githubassets.com/images/icons/emoji/unicode/1f353.png \":strawberry:\"). For a full list of available emoji and codes, see [emoji-cheat-sheet.com](http://emoji-cheat-sheet.com/)." + "description": "The new name of the label. Emoji can be added to label names, using either native emoji or colon-style markup. For example, typing `:strawberry:` will render the emoji ![:strawberry:](https://github.githubassets.com/images/icons/emoji/unicode/1f353.png \":strawberry:\"). For a full list of available emoji and codes, see \"[Emoji cheat sheet](https://github.com/ikatyang/emoji-cheat-sheet).\"" }, "color": { "type": "string", @@ -175338,7 +175194,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -175456,7 +175312,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "x-github": { @@ -175502,7 +175358,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -175568,7 +175424,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -176394,63 +176250,10 @@ } }, "404": { - "description": "response", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string", - "example": "\"https://docs.github.com/enterprise-server@2.21/rest/reference/repos#perform-a-merge\"" - } - } - }, - "examples": { - "missing-base-response": { - "summary": "Missing base response", - "value": { - "message": "Base does not exist" - } - }, - "missing-head-response": { - "summary": "Missing head response", - "value": { - "message": "Head does not exist" - } - } - } - } - } + "description": "Response when the base or head does not exist" }, "409": { - "description": "Merge conflict response", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string", - "example": "\"https://docs.github.com/enterprise-server@2.21/rest/reference/repos#perform-a-merge\"" - } - } - }, - "examples": { - "merge-conflict-response": { - "value": { - "message": "Merge Conflict" - } - } - } - } - } + "description": "Response when there is a merge conflict" }, "403": { "description": "Forbidden", @@ -176473,7 +176276,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -176646,7 +176449,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -176927,7 +176730,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -177029,7 +176832,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -177305,7 +177108,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -177325,7 +177128,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -177446,7 +177249,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -177714,7 +177517,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -177822,7 +177625,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -178140,10 +177943,10 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -178233,7 +178036,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -178423,7 +178226,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -180138,7 +179941,7 @@ }, "responses": { "202": { - "description": "response" + "description": "Response" } }, "x-github": { @@ -180184,7 +179987,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -180277,7 +180080,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -180385,7 +180188,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -180478,7 +180281,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -180547,7 +180350,7 @@ } }, "415": { - "description": "Preview Header Missing", + "description": "Preview header missing", "content": { "application/json": { "schema": { @@ -180694,10 +180497,10 @@ }, "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -180861,10 +180664,10 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -180933,7 +180736,7 @@ } }, "415": { - "description": "Preview Header Missing", + "description": "Preview header missing", "content": { "application/json": { "schema": { @@ -180955,7 +180758,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -181040,7 +180843,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -181303,7 +181106,7 @@ ], "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -181381,7 +181184,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -181641,7 +181444,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -181907,11 +181710,39 @@ "type": "integer", "default": 1 } + }, + { + "name": "direction", + "description": "One of `asc` (ascending) or `desc` (descending).", + "in": "query", + "required": false, + "schema": { + "type": "string", + "enum": [ + "asc", + "desc" + ], + "default": "desc" + } + }, + { + "name": "sort", + "in": "query", + "required": false, + "schema": { + "type": "string", + "enum": [ + "created", + "updated", + "name" + ], + "default": "created" + } } ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -182005,7 +181836,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -182092,7 +181923,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -182311,7 +182142,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -182580,7 +182411,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -182620,7 +182451,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -182660,7 +182491,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -182761,7 +182592,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -183017,7 +182848,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -183057,7 +182888,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -183097,7 +182928,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -183254,7 +183085,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -187063,10 +186894,10 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -187228,7 +187059,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -190257,7 +190088,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -190372,16 +190203,15 @@ }, { "name": "sort", - "description": "One of `created` (when the repository was starred) or `updated` (when it was last pushed to).", "in": "query", "required": false, "schema": { "type": "string", "enum": [ "created", - "updated" - ], - "default": "created" + "updated", + "created_at" + ] } }, { @@ -190427,7 +190257,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -190953,7 +190783,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -191405,7 +191235,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -191505,7 +191335,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -192011,10 +191841,10 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -192123,7 +191953,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -192332,7 +192162,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -192352,7 +192182,7 @@ } }, "415": { - "description": "Preview Header Missing", + "description": "Preview header missing", "content": { "application/json": { "schema": { @@ -192851,7 +192681,7 @@ } }, "415": { - "description": "Preview Header Missing", + "description": "Preview header missing", "content": { "application/json": { "schema": { @@ -192873,7 +192703,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -193006,7 +192836,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "x-github": { @@ -196065,7 +195895,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "500": { "description": "Internal Error", @@ -196088,7 +195918,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -196198,7 +196028,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -199199,7 +199029,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -199396,7 +199226,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -200002,7 +199832,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -200462,7 +200292,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -200637,7 +200467,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -201097,7 +200927,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -201187,7 +201017,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -201835,7 +201665,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -201936,7 +201766,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -202251,7 +202081,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -202340,7 +202170,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -202430,7 +202260,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -202792,7 +202622,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -206756,10 +206586,10 @@ }, "responses": { "200": { - "description": "response" + "description": "Response" }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -207316,7 +207146,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -207592,7 +207422,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -207703,7 +207533,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -207979,7 +207809,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -208078,7 +207908,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -208354,7 +208184,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -208442,7 +208272,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -208718,7 +208548,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -208748,7 +208578,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -208846,7 +208676,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -209247,7 +209077,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -209349,7 +209179,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -209625,7 +209455,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -209645,7 +209475,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -209762,7 +209592,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -210038,7 +209868,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -210058,7 +209888,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -210178,7 +210008,7 @@ }, "responses": { "202": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -210200,7 +210030,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -210289,7 +210119,7 @@ } }, "415": { - "description": "Preview Header Missing", + "description": "Preview header missing", "content": { "application/json": { "schema": { @@ -210365,6 +210195,279 @@ } } ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "title": "Content File", + "description": "Content File", + "type": "object", + "properties": { + "type": { + "type": "string" + }, + "encoding": { + "type": "string" + }, + "size": { + "type": "integer" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "content": { + "type": "string" + }, + "sha": { + "type": "string" + }, + "url": { + "type": "string", + "format": "uri" + }, + "git_url": { + "type": "string", + "format": "uri", + "nullable": true + }, + "html_url": { + "type": "string", + "format": "uri", + "nullable": true + }, + "download_url": { + "type": "string", + "format": "uri", + "nullable": true + }, + "_links": { + "type": "object", + "properties": { + "git": { + "type": "string", + "format": "uri", + "nullable": true + }, + "html": { + "type": "string", + "format": "uri", + "nullable": true + }, + "self": { + "type": "string", + "format": "uri" + } + }, + "required": [ + "git", + "html", + "self" + ] + }, + "target": { + "type": "string", + "example": "\"actual/actual.md\"" + }, + "submodule_git_url": { + "type": "string", + "example": "\"git://example.com/defunkt/dotjs.git\"" + } + }, + "required": [ + "_links", + "git_url", + "html_url", + "download_url", + "name", + "path", + "sha", + "size", + "type", + "url", + "content", + "encoding" + ] + }, + "examples": { + "default": { + "value": { + "type": "file", + "encoding": "base64", + "size": 5362, + "name": "README.md", + "path": "README.md", + "content": "encoded content ...", + "sha": "3d21ec53a331a6f037a91c368710b99387d012c1", + "url": "https://api.github.com/repos/octokit/octokit.rb/contents/README.md", + "git_url": "https://api.github.com/repos/octokit/octokit.rb/git/blobs/3d21ec53a331a6f037a91c368710b99387d012c1", + "html_url": "https://github.com/octokit/octokit.rb/blob/master/README.md", + "download_url": "https://raw.githubusercontent.com/octokit/octokit.rb/master/README.md", + "_links": { + "git": "https://api.github.com/repos/octokit/octokit.rb/git/blobs/3d21ec53a331a6f037a91c368710b99387d012c1", + "self": "https://api.github.com/repos/octokit/octokit.rb/contents/README.md", + "html": "https://github.com/octokit/octokit.rb/blob/master/README.md" + } + } + } + } + } + } + }, + "404": { + "description": "Resource not found", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + } + } + } + } + } + }, + "422": { + "description": "Validation failed", + "content": { + "application/json": { + "schema": { + "title": "Validation Error", + "description": "Validation Error", + "type": "object", + "required": [ + "message", + "documentation_url" + ], + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "errors": { + "type": "array", + "items": { + "type": "object", + "required": [ + "code" + ], + "properties": { + "resource": { + "type": "string" + }, + "field": { + "type": "string" + }, + "message": { + "type": "string" + }, + "code": { + "type": "string" + }, + "index": { + "type": "integer" + }, + "value": { + "oneOf": [ + { + "type": "string", + "nullable": true + }, + { + "type": "integer", + "nullable": true + }, + { + "type": "array", + "nullable": true, + "items": { + "type": "string" + } + } + ] + } + } + } + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "previews": [ + + ], + "category": "repos", + "subcategory": "contents" + } + } + }, + "/repos/{owner}/{repo}/readme/{dir}": { + "get": { + "summary": "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.", + "tags": [ + "repos" + ], + "operationId": "repos/get-readme-in-directory", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-server@2.21/rest/reference/repos#get-a-repository-directory-readme" + }, + "parameters": [ + { + "name": "owner", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "repo", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "dir", + "description": "The alternate path to look for a README file", + "in": "path", + "required": true, + "schema": { + "type": "string" + }, + "x-multi-segment": true + }, + { + "name": "ref", + "description": "The name of the commit/branch/tag. Default: the repository’s default branch (usually `master`)", + "in": "query", + "required": false, + "schema": { + "type": "string" + } + } + ], "responses": { "200": { "description": "response", @@ -210489,7 +210592,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -210509,7 +210612,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -210639,7 +210742,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -211139,7 +211242,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -211248,7 +211351,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -211743,7 +211846,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -212097,7 +212200,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -212117,7 +212220,7 @@ } }, "415": { - "description": "Preview Header Missing", + "description": "Preview header missing", "content": { "application/json": { "schema": { @@ -212219,7 +212322,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -212501,7 +212604,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "x-github": { @@ -212547,7 +212650,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -213076,7 +213179,7 @@ }, { "name": "tag", - "description": "tag+ parameter", + "description": "tag parameter", "in": "path", "required": true, "schema": { @@ -213087,7 +213190,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -213574,7 +213677,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -214133,7 +214236,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -214246,7 +214349,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -214783,7 +214886,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "x-github": { @@ -214856,7 +214959,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -215479,7 +215582,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -215803,7 +215906,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -215987,7 +216090,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -216488,7 +216591,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -216685,7 +216788,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -216960,7 +217063,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -217304,7 +217407,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -217407,7 +217510,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "x-github": { @@ -217471,7 +217574,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -217603,7 +217706,7 @@ ], "responses": { "302": { - "description": "response", + "description": "Response", "headers": { "Location": { "example": "https://codeload.github.com/me/myprivate/legacy.zip/master?login=me&token=thistokenexpires", @@ -217675,7 +217778,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -217893,11 +217996,29 @@ "schema": { "type": "string" } + }, + { + "name": "page", + "description": "Page number of the results to fetch.", + "in": "query", + "schema": { + "type": "integer", + "default": 1 + } + }, + { + "name": "per_page", + "description": "Results per page (max 100).", + "in": "query", + "schema": { + "type": "integer", + "default": 30 + } } ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -217932,7 +218053,7 @@ } }, "415": { - "description": "Preview Header Missing", + "description": "Preview header missing", "content": { "application/json": { "schema": { @@ -217954,7 +218075,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -218048,7 +218169,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -218083,7 +218204,7 @@ } }, "415": { - "description": "Preview Header Missing", + "description": "Preview header missing", "content": { "application/json": { "schema": { @@ -218105,7 +218226,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -218125,7 +218246,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -218234,7 +218355,7 @@ }, "responses": { "202": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -219370,7 +219491,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "x-github": { @@ -219418,7 +219539,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "x-github": { @@ -219476,7 +219597,7 @@ ], "responses": { "302": { - "description": "response", + "description": "Response", "headers": { "Location": { "example": "https://codeload.github.com/me/myprivate/legacy.zip/master?login=me&token=thistokenexpires", @@ -219573,7 +219694,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -220727,7 +220848,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -222307,7 +222428,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -222376,7 +222497,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" } }, "x-github": { @@ -222459,7 +222580,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -224159,10 +224280,10 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "503": { - "description": "Service Unavailable", + "description": "Service unavailable", "content": { "application/json": { "schema": { @@ -224183,7 +224304,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -224353,7 +224474,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -226346,10 +226467,10 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "415": { - "description": "Preview Header Missing", + "description": "Preview header missing", "content": { "application/json": { "schema": { @@ -226465,7 +226586,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -228611,7 +228732,7 @@ } }, "503": { - "description": "Service Unavailable", + "description": "Service unavailable", "content": { "application/json": { "schema": { @@ -228632,7 +228753,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -228701,7 +228822,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -228796,7 +228917,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -228934,10 +229055,10 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -228977,7 +229098,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -229129,7 +229250,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -229838,7 +229959,7 @@ } }, "503": { - "description": "Service Unavailable", + "description": "Service unavailable", "content": { "application/json": { "schema": { @@ -229859,7 +229980,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -229928,7 +230049,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" } }, "x-github": { @@ -229971,7 +230092,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -230245,10 +230366,10 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "415": { - "description": "Preview Header Missing", + "description": "Preview header missing", "content": { "application/json": { "schema": { @@ -230356,7 +230477,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -230600,10 +230721,10 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "503": { - "description": "Service Unavailable", + "description": "Service unavailable", "content": { "application/json": { "schema": { @@ -230624,7 +230745,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -230718,7 +230839,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -230805,7 +230926,7 @@ }, "responses": { "202": { - "description": "response" + "description": "Response" } }, "x-github": { @@ -230833,7 +230954,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -230914,7 +231035,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -231015,7 +231136,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -231624,7 +231745,7 @@ }, "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "requestBody": { @@ -231670,7 +231791,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -231728,7 +231849,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -231808,7 +231929,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -231886,7 +232007,7 @@ }, "responses": { "202": { - "description": "response" + "description": "Response" } }, "requestBody": { @@ -231940,7 +232061,7 @@ }, "responses": { "202": { - "description": "response" + "description": "Response" } }, "requestBody": { @@ -231993,7 +232114,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -232474,7 +232595,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -232580,7 +232701,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -233061,7 +233182,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -233081,7 +233202,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -233206,10 +233327,10 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -233229,7 +233350,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -233368,7 +233489,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -233783,7 +233904,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -234164,7 +234285,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -234564,7 +234685,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -234942,7 +235063,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "x-github": { @@ -235023,7 +235144,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -235401,7 +235522,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -235756,7 +235877,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -236129,7 +236250,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -236481,7 +236602,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "x-github": { @@ -236575,7 +236696,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -236871,7 +236992,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -237154,7 +237275,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -237442,7 +237563,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -237713,7 +237834,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -237869,7 +237990,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -237985,74 +238106,13 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "404": { "description": "Response if team synchronization is set up" }, "422": { - "description": "response", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "errors": { - "type": "array", - "items": { - "type": "object", - "properties": { - "code": { - "type": "string" - }, - "field": { - "type": "string" - }, - "resource": { - "type": "string" - } - } - } - }, - "documentation_url": { - "type": "string", - "example": "\"https://docs.github.com/enterprise-server@2.21/rest\"" - } - } - }, - "examples": { - "response-if-you-attempt-to-add-an-organization-to-a-team": { - "summary": "Response if you attempt to add an organization to a team", - "value": { - "message": "Cannot add an organization as a member.", - "errors": [ - { - "code": "org", - "field": "user", - "resource": "TeamMember" - } - ] - } - }, - "response-if-you-attempt-to-add-a-user-to-a-team-when-they-are-not-a-member-of-at-least-one-other-team-in-the-same-organization": { - "summary": "Response if you attempt to add a user to a team when they are not a member of at least one other team in the same organization", - "value": { - "message": "User isn't a member of this organization. Please invite them first.", - "errors": [ - { - "code": "unaffiliated", - "field": "user", - "resource": "TeamMember" - } - ] - } - } - } - } - } + "description": "Response if you attempt to add an organization to a team or you attempt to add a user to a team when they are not a member of at least one other team in the same organization" }, "403": { "description": "Forbidden", @@ -238119,7 +238179,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "404": { "description": "Response if team synchronization is setup" @@ -238142,7 +238202,7 @@ "/teams/{team_id}/memberships/{username}": { "get": { "summary": "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).", + "description": "**Deprecation 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).", "tags": [ "teams" ], @@ -238171,7 +238231,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -238194,7 +238254,12 @@ "type": "string" }, "state": { - "type": "string" + "description": "The state of the user's membership in the team.", + "type": "string", + "enum": [ + "active", + "pending" + ] } }, "required": [ @@ -238204,14 +238269,6 @@ ] }, "examples": { - "response-if-user-has-an-active-membership-with-team": { - "summary": "Response if user has an active membership with team", - "value": { - "url": "https://api.github.com/teams/1/memberships/octocat", - "role": "member", - "state": "active" - } - }, "response-if-user-is-a-team-maintainer": { "summary": "Response if user is a team maintainer", "value": { @@ -238219,21 +238276,13 @@ "role": "maintainer", "state": "active" } - }, - "response-if-user-has-a-pending-membership-with-team": { - "summary": "Response if user has a pending membership with team", - "value": { - "url": "https://api.github.com/teams/1/memberships/octocat", - "role": "member", - "state": "pending" - } } } } } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -238317,7 +238366,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -238340,7 +238389,12 @@ "type": "string" }, "state": { - "type": "string" + "description": "The state of the user's membership in the team.", + "type": "string", + "enum": [ + "active", + "pending" + ] } }, "required": [ @@ -238350,14 +238404,6 @@ ] }, "examples": { - "response-if-users-membership-with-team-is-now-active": { - "summary": "Response if user's membership with team is now active", - "value": { - "url": "https://api.github.com/teams/1/memberships/octocat", - "role": "member", - "state": "active" - } - }, "response-if-users-membership-with-team-is-now-pending": { "summary": "Response if user's membership with team is now pending", "value": { @@ -238374,57 +238420,10 @@ "description": "Response if team synchronization is set up" }, "422": { - "description": "Response if you attempt to add an organization to a team", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "errors": { - "type": "array", - "items": { - "type": "object", - "properties": { - "code": { - "type": "string" - }, - "field": { - "type": "string" - }, - "resource": { - "type": "string" - } - } - } - }, - "documentation_url": { - "type": "string", - "example": "\"https://help.github.com/articles/github-and-trade-controls\"" - } - } - }, - "examples": { - "response-if-you-attempt-to-add-an-organization-to-a-team": { - "value": { - "message": "Cannot add an organization as a member.", - "errors": [ - { - "code": "org", - "field": "user", - "resource": "TeamMember" - } - ] - } - } - } - } - } + "description": "Response if you attempt to add an organization to a team" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -238488,7 +238487,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "403": { "description": "Response if team synchronization is set up" @@ -238550,7 +238549,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -238814,7 +238813,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -238834,7 +238833,7 @@ } }, "415": { - "description": "Preview Header Missing", + "description": "Preview header missing", "content": { "application/json": { "schema": { @@ -238906,7 +238905,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -239160,7 +239159,7 @@ "description": "Response if project is not managed by this team" }, "415": { - "description": "Preview Header Missing", + "description": "Preview header missing", "content": { "application/json": { "schema": { @@ -239250,7 +239249,7 @@ }, "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "403": { "description": "Response if the project is not owned by the organization", @@ -239279,7 +239278,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -239299,7 +239298,7 @@ } }, "415": { - "description": "Preview Header Missing", + "description": "Preview header missing", "content": { "application/json": { "schema": { @@ -239321,7 +239320,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -239438,10 +239437,10 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -239461,7 +239460,7 @@ } }, "415": { - "description": "Preview Header Missing", + "description": "Preview header missing", "content": { "application/json": { "schema": { @@ -239483,7 +239482,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -239608,7 +239607,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -241234,7 +241233,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -243253,7 +243252,7 @@ }, "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "403": { "description": "Forbidden", @@ -243276,7 +243275,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -243397,7 +243396,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "x-github": { @@ -243647,7 +243646,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -243687,7 +243686,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -243787,7 +243786,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -244330,7 +244329,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -244353,7 +244352,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -244449,7 +244448,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -244750,10 +244749,10 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -244793,7 +244792,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -244813,7 +244812,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -244927,7 +244926,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -244988,10 +244987,10 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -245031,7 +245030,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -245124,7 +245123,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -245189,7 +245188,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -245258,10 +245257,10 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -245301,7 +245300,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -245392,13 +245391,13 @@ }, "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -245438,7 +245437,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -245458,7 +245457,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -245572,7 +245571,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -245728,7 +245727,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -245751,7 +245750,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -245816,7 +245815,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -245972,7 +245971,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -245995,7 +245994,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -246073,7 +246072,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -246096,7 +246095,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -246149,13 +246148,13 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -246195,7 +246194,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -246248,13 +246247,13 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -246294,7 +246293,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -246359,7 +246358,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -246581,10 +246580,10 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -246624,7 +246623,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -246688,7 +246687,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -246897,7 +246896,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -246966,10 +246965,10 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -247009,7 +247008,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -247065,7 +247064,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -247274,7 +247273,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -247294,7 +247293,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -247317,7 +247316,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -247371,10 +247370,10 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -247394,7 +247393,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -247463,7 +247462,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -247486,7 +247485,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -248120,7 +248119,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -248143,7 +248142,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -248163,7 +248162,7 @@ } }, "415": { - "description": "Preview Header Missing", + "description": "Preview header missing", "content": { "application/json": { "schema": { @@ -249368,7 +249367,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -249408,7 +249407,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" } }, "x-github": { @@ -249464,7 +249463,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "403": { "description": "Forbidden", @@ -249487,10 +249486,10 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -249556,7 +249555,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "403": { "description": "Forbidden", @@ -249579,10 +249578,10 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -249642,6 +249641,7 @@ "created", "mentioned", "subscribed", + "repos", "all" ], "default": "assigned" @@ -249730,7 +249730,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -252161,7 +252161,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -252181,7 +252181,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" } }, "x-github": { @@ -252232,7 +252232,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -252318,10 +252318,10 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -252361,7 +252361,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -252431,7 +252431,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -252494,7 +252494,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -252563,10 +252563,10 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -252606,7 +252606,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -252662,7 +252662,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -252725,7 +252725,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -252745,7 +252745,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -252768,7 +252768,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -252822,13 +252822,13 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -252868,7 +252868,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -252946,7 +252946,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -252963,11 +252963,21 @@ }, "state": { "type": "string", - "example": "active" + "description": "The state of the member in the organization. The `pending` state indicates the user has not yet accepted an invitation.", + "example": "active", + "enum": [ + "active", + "pending" + ] }, "role": { "type": "string", - "example": "admin" + "description": "The user's membership type in the organization.", + "example": "admin", + "enum": [ + "admin", + "member" + ] }, "organization_url": { "type": "string", @@ -253284,7 +253294,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -253307,7 +253317,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -253327,7 +253337,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -253431,7 +253441,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -253446,11 +253456,21 @@ }, "state": { "type": "string", - "example": "active" + "description": "The state of the member in the organization. The `pending` state indicates the user has not yet accepted an invitation.", + "example": "active", + "enum": [ + "active", + "pending" + ] }, "role": { "type": "string", - "example": "admin" + "description": "The user's membership type in the organization.", + "example": "admin", + "enum": [ + "admin", + "member" + ] }, "organization_url": { "type": "string", @@ -253736,7 +253756,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -253813,7 +253833,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -253828,11 +253848,21 @@ }, "state": { "type": "string", - "example": "active" + "description": "The state of the member in the organization. The `pending` state indicates the user has not yet accepted an invitation.", + "example": "active", + "enum": [ + "active", + "pending" + ] }, "role": { "type": "string", - "example": "admin" + "description": "The user's membership type in the organization.", + "example": "admin", + "enum": [ + "admin", + "member" + ] }, "organization_url": { "type": "string", @@ -254118,7 +254148,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -254138,7 +254168,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -254252,7 +254282,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -254363,7 +254393,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -254386,7 +254416,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -254459,7 +254489,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -254715,7 +254745,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -254738,7 +254768,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -254758,7 +254788,7 @@ } }, "415": { - "description": "Preview Header Missing", + "description": "Preview header missing", "content": { "application/json": { "schema": { @@ -254780,7 +254810,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -254859,7 +254889,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -254920,10 +254950,10 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -254963,7 +254993,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -255117,7 +255147,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -256207,7 +256237,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -256276,7 +256306,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -256299,7 +256329,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -256450,7 +256480,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -257551,7 +257581,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -257571,10 +257601,10 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -257614,7 +257644,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -257791,7 +257821,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -259707,10 +259737,10 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -259750,7 +259780,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -259806,7 +259836,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "403": { "description": "Forbidden", @@ -259849,7 +259879,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -259869,7 +259899,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" } }, "x-github": { @@ -259906,7 +259936,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "409": { "description": "Conflict", @@ -259929,10 +259959,10 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -260045,7 +260075,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -262246,7 +262276,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -262269,7 +262299,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -262355,7 +262385,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -262375,7 +262405,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -262439,7 +262469,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "403": { "description": "Forbidden", @@ -262462,7 +262492,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -262482,7 +262512,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -262502,7 +262532,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" } }, "x-github": { @@ -262546,10 +262576,10 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -262569,7 +262599,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -262589,7 +262619,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -262657,7 +262687,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -264283,7 +264313,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -264306,7 +264336,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -264371,7 +264401,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -264865,10 +264895,10 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -264953,7 +264983,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -265109,7 +265139,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" } }, "x-github": { @@ -265147,7 +265177,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -265686,7 +265716,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -265759,7 +265789,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -268488,7 +268518,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -271209,7 +271239,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -273930,7 +273960,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -274139,7 +274169,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -274406,7 +274436,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -274824,7 +274854,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -274946,7 +274976,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -275227,7 +275257,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -275274,7 +275304,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -275294,7 +275324,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -275408,7 +275438,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -275952,7 +275982,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -276050,7 +276080,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -276229,7 +276259,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -276498,7 +276528,7 @@ } }, "415": { - "description": "Preview Header Missing", + "description": "Preview header missing", "content": { "application/json": { "schema": { @@ -276520,7 +276550,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -276646,7 +276676,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -279367,7 +279397,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -282132,7 +282162,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -283797,7 +283827,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "x-github": { @@ -283833,7 +283863,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "x-github": { @@ -283917,7 +283947,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -286171,7 +286201,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -287832,7 +287862,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "requestBody": { @@ -287883,7 +287913,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "requestBody": { @@ -287922,7 +287952,7 @@ "operationId": "meta/get-zen", "responses": { "200": { - "description": "response", + "description": "Response", "content": { "text/plain": { "schema": { diff --git a/lib/rest/static/dereferenced/ghes-2.22.deref.json b/lib/rest/static/dereferenced/ghes-2.22.deref.json index a5ca44119e..92892137b5 100644 --- a/lib/rest/static/dereferenced/ghes-2.22.deref.json +++ b/lib/rest/static/dereferenced/ghes-2.22.deref.json @@ -134,7 +134,7 @@ ], "servers": [ { - "url": "{protocol}://{hostname}", + "url": "{protocol}://{hostname}/api/v3", "variables": { "hostname": { "description": "Self-hosted Enterprise Server or Enterprise Cloud hostname", @@ -162,7 +162,7 @@ "operationId": "meta/root", "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -394,7 +394,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -529,7 +529,7 @@ ], "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -729,7 +729,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -859,7 +859,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -1040,7 +1040,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "x-github": { @@ -1092,7 +1092,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "x-github": { @@ -1140,11 +1140,48 @@ "type": "integer", "default": 1 } + }, + { + "name": "direction", + "description": "One of `asc` (ascending) or `desc` (descending).", + "in": "query", + "required": false, + "schema": { + "type": "string", + "enum": [ + "asc", + "desc" + ], + "default": "desc" + } + }, + { + "name": "sort", + "in": "query", + "required": false, + "schema": { + "type": "string", + "enum": [ + "created", + "updated", + "accessed" + ], + "default": "created" + } + }, + { + "name": "since", + "description": "Only show public keys accessed after the given time.", + "in": "query", + "required": false, + "schema": { + "type": "string" + } } ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -1242,7 +1279,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "x-github": { @@ -1280,7 +1317,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -1407,7 +1444,7 @@ ], "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -1460,7 +1497,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -1607,7 +1644,7 @@ ], "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -1650,7 +1687,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -1815,7 +1852,7 @@ ], "responses": { "202": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -1899,11 +1936,39 @@ "type": "integer", "default": 1 } + }, + { + "name": "direction", + "description": "One of `asc` (ascending) or `desc` (descending).", + "in": "query", + "required": false, + "schema": { + "type": "string", + "enum": [ + "asc", + "desc" + ], + "default": "desc" + } + }, + { + "name": "sort", + "in": "query", + "required": false, + "schema": { + "type": "string", + "enum": [ + "created", + "updated", + "name" + ], + "default": "created" + } } ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -2026,7 +2091,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -2167,7 +2232,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -2279,7 +2344,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -2456,7 +2521,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "422": { "description": "Client Errors", @@ -2544,7 +2609,7 @@ ], "responses": { "202": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -2665,7 +2730,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -2746,11 +2811,40 @@ "type": "integer", "default": 1 } + }, + { + "name": "direction", + "description": "One of `asc` (ascending) or `desc` (descending).", + "in": "query", + "required": false, + "schema": { + "type": "string", + "enum": [ + "asc", + "desc" + ], + "default": "desc" + } + }, + { + "name": "sort", + "description": "One of `created` (when the repository was starred) or `updated` (when it was last pushed to) or `name`.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "enum": [ + "created", + "updated", + "name" + ], + "default": "created" + } } ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -2907,7 +3001,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -3130,7 +3224,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -3292,7 +3386,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -3502,7 +3596,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "x-github": { @@ -3554,7 +3648,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -4264,7 +4358,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "x-github": { @@ -4292,7 +4386,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -4496,7 +4590,7 @@ ], "responses": { "202": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -4572,7 +4666,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "x-github": { @@ -4610,7 +4704,7 @@ ], "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -5311,7 +5405,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "x-github": { @@ -5342,7 +5436,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -5671,7 +5765,7 @@ ], "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -5997,7 +6091,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -6017,7 +6111,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -6646,7 +6740,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -7134,7 +7228,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -7154,7 +7248,7 @@ } }, "415": { - "description": "Preview Header Missing", + "description": "Preview header missing", "content": { "application/json": { "schema": { @@ -7210,10 +7304,10 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -7550,7 +7644,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -8740,7 +8834,7 @@ } }, "415": { - "description": "Preview Header Missing", + "description": "Preview header missing", "content": { "application/json": { "schema": { @@ -8762,7 +8856,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -8782,7 +8876,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -8802,7 +8896,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -8907,10 +9001,10 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -8964,10 +9058,10 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -9028,11 +9122,20 @@ "type": "integer", "default": 1 } + }, + { + "name": "client_id", + "in": "query", + "required": false, + "description": "The client ID of your GitHub app.", + "schema": { + "type": "string" + } } ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -9250,7 +9353,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -9273,7 +9376,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -9293,7 +9396,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -9352,7 +9455,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -9557,7 +9660,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -9580,7 +9683,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -9637,10 +9740,10 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -9663,7 +9766,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -9740,10 +9843,10 @@ }, "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -9856,7 +9959,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "x-github": { @@ -9916,7 +10019,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -10587,7 +10690,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -10656,7 +10759,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -10728,7 +10831,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -11399,7 +11502,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -11523,10 +11626,10 @@ }, "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -11639,7 +11742,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -12315,7 +12418,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -12380,7 +12483,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -13096,7 +13199,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "x-github": { @@ -13137,7 +13240,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -13451,7 +13554,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -13471,7 +13574,7 @@ } }, "415": { - "description": "Preview Header Missing", + "description": "Preview header missing", "content": { "application/json": { "schema": { @@ -13534,11 +13637,20 @@ "type": "integer", "default": 1 } + }, + { + "name": "client_id", + "in": "query", + "required": false, + "description": "The client ID of your GitHub app.", + "schema": { + "type": "string" + } } ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -14213,7 +14325,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -14236,7 +14348,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -14256,7 +14368,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -14351,7 +14463,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -15009,7 +15121,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -15098,7 +15210,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -15121,7 +15233,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -16540,7 +16652,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -16609,7 +16721,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -16632,7 +16744,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -18055,7 +18167,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -18163,7 +18275,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -18813,7 +18925,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -18836,7 +18948,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -18943,7 +19055,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -19593,7 +19705,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -19699,10 +19811,10 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -19725,7 +19837,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -19776,7 +19888,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -19839,10 +19951,10 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "415": { - "description": "Preview Header Missing", + "description": "Preview header missing", "content": { "application/json": { "schema": { @@ -19903,7 +20015,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -19956,7 +20068,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -19976,10 +20088,10 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "415": { - "description": "Preview Header Missing", + "description": "Preview header missing", "content": { "application/json": { "schema": { @@ -20067,7 +20179,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -20117,7 +20229,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -20186,7 +20298,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -20226,7 +20338,7 @@ } }, "415": { - "description": "Preview Header Missing", + "description": "Preview header missing", "content": { "application/json": { "schema": { @@ -20248,7 +20360,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -20313,10 +20425,10 @@ } } }, - "description": "response" + "description": "Response" }, "304": { - "description": "Not Modified" + "description": "Not modified" } }, "x-github": { @@ -20344,7 +20456,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -20421,7 +20533,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -20699,7 +20811,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -20877,7 +20989,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -20976,7 +21088,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -21101,7 +21213,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -21198,7 +21310,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "x-github": { @@ -21264,7 +21376,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -21453,7 +21565,7 @@ }, "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "x-github": { @@ -21510,7 +21622,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "x-github": { @@ -21565,7 +21677,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "x-github": { @@ -21631,7 +21743,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -21775,7 +21887,7 @@ }, "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "x-github": { @@ -21832,7 +21944,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "x-github": { @@ -21887,7 +21999,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "x-github": { @@ -21944,7 +22056,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -22049,7 +22161,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -22156,7 +22268,7 @@ ], "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -23215,7 +23327,7 @@ ], "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -24283,7 +24395,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -24364,7 +24476,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "x-github": { @@ -24412,7 +24524,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -27080,7 +27192,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -27103,7 +27215,7 @@ } }, "503": { - "description": "Service Unavailable", + "description": "Service unavailable", "content": { "application/json": { "schema": { @@ -27152,7 +27264,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -27454,7 +27566,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -27872,7 +27984,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -27981,7 +28093,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -28214,7 +28326,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -28283,10 +28395,10 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -28380,7 +28492,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -28798,7 +28910,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -28867,7 +28979,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -28944,7 +29056,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -29362,7 +29474,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -29382,7 +29494,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -29441,7 +29553,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -29699,7 +29811,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -29719,7 +29831,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" } }, "x-github": { @@ -29826,7 +29938,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -30051,7 +30163,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -30120,7 +30232,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -30174,10 +30286,10 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -30197,7 +30309,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -30274,7 +30386,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -30506,10 +30618,10 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -30603,7 +30715,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -30830,10 +30942,10 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -30918,7 +31030,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -31137,10 +31249,10 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -31256,7 +31368,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -31475,7 +31587,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -31538,13 +31650,13 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -31638,7 +31750,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -31851,7 +31963,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -31871,7 +31983,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -31948,7 +32060,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -32217,7 +32329,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -32237,7 +32349,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -32294,7 +32406,7 @@ ], "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -32707,7 +32819,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -32727,7 +32839,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -32796,7 +32908,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -32871,7 +32983,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -32928,10 +33040,10 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -32951,7 +33063,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -33008,13 +33120,13 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -33098,7 +33210,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -33323,7 +33435,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -33392,7 +33504,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -33460,7 +33572,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -33482,7 +33594,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" } }, "x-github": { @@ -33520,7 +33632,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -33554,7 +33666,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" } }, "x-github": { @@ -33602,7 +33714,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -34744,10 +34856,10 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -34799,7 +34911,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "x-github": { @@ -34838,6 +34950,7 @@ "created", "mentioned", "subscribed", + "repos", "all" ], "default": "assigned" @@ -34958,7 +35071,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -37401,7 +37514,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -37470,10 +37583,10 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -37537,11 +37650,20 @@ "type": "integer", "default": 30 } + }, + { + "name": "page", + "description": "Page number of the results to fetch.", + "in": "query", + "schema": { + "type": "integer", + "default": 1 + } } ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -37647,7 +37769,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" } }, "x-github": { @@ -37685,7 +37807,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -37838,7 +37960,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -37858,7 +37980,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" } }, "x-github": { @@ -37921,7 +38043,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "headers": { "Content-Type": { "example": "text/html", @@ -37951,7 +38073,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" } }, "x-github": { @@ -37996,7 +38118,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "headers": { "X-CommonMarker-Version": { "example": "0.17.4", @@ -38014,7 +38136,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" } }, "x-github": { @@ -38045,7 +38167,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -38078,7 +38200,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" } }, "x-github": { @@ -38142,7 +38264,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -40810,7 +40932,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -40850,10 +40972,10 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "301": { - "description": "Moved Permanently" + "description": "Moved permanently" } }, "x-github": { @@ -40939,7 +41061,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -42598,7 +42720,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -42621,7 +42743,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -42641,7 +42763,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -42756,7 +42878,7 @@ }, "responses": { "202": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -42771,10 +42893,10 @@ } }, "205": { - "description": "response" + "description": "Response" }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -42797,7 +42919,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -42853,7 +42975,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -44499,7 +44621,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -44522,7 +44644,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -44576,10 +44698,10 @@ ], "responses": { "205": { - "description": "response" + "description": "Response" }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -44638,7 +44760,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -44703,7 +44825,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -44726,7 +44848,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -44796,7 +44918,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -44861,7 +44983,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -44884,7 +45006,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -44938,10 +45060,10 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -44964,7 +45086,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -45016,7 +45138,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/octocat-stream": { "schema": { @@ -45070,7 +45192,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -45181,7 +45303,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" } }, "x-github": { @@ -45219,7 +45341,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -45508,7 +45630,9 @@ "plan": { "name": "Medium", "space": 400, - "private_repos": 20 + "private_repos": 20, + "filled_seats": 4, + "seats": 5 }, "default_repository_permission": "read", "members_can_create_repositories": true, @@ -45519,54 +45643,13 @@ "members_can_create_internal_repositories": false, "members_can_create_pages": true } - }, - "response-with-git-hub-plan-information": { - "summary": "Response with GitHub plan information", - "value": { - "login": "github", - "id": 1, - "node_id": "MDEyOk9yZ2FuaXphdGlvbjE=", - "url": "https://api.github.com/orgs/github", - "repos_url": "https://api.github.com/orgs/github/repos", - "events_url": "https://api.github.com/orgs/github/events", - "hooks_url": "https://api.github.com/orgs/github/hooks", - "issues_url": "https://api.github.com/orgs/github/issues", - "members_url": "https://api.github.com/orgs/github/members{/member}", - "public_members_url": "https://api.github.com/orgs/github/public_members{/member}", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "description": "A great organization", - "name": "github", - "company": "GitHub", - "blog": "https://github.com/blog", - "location": "San Francisco", - "email": "octocat@github.com", - "twitter_username": "github", - "is_verified": true, - "has_organization_projects": true, - "has_repository_projects": true, - "public_repos": 2, - "public_gists": 1, - "followers": 20, - "following": 0, - "html_url": "https://github.com/octocat", - "created_at": "2008-01-14T04:33:35Z", - "updated_at": "2014-03-03T18:58:10Z", - "type": "Organization", - "plan": { - "name": "team", - "space": 976562499, - "private_repos": 999999, - "filled_seats": 4, - "seats": 5 - } - } } } } } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -45723,7 +45806,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -46028,7 +46111,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -46144,7 +46227,7 @@ } }, "415": { - "description": "Preview Header Missing", + "description": "Preview header missing", "content": { "application/json": { "schema": { @@ -46223,7 +46306,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -46413,7 +46496,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -46520,7 +46603,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -46653,7 +46736,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -46758,7 +46841,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "x-github": { @@ -46801,11 +46884,29 @@ "schema": { "type": "integer" } + }, + { + "name": "page", + "description": "Page number of the results to fetch.", + "in": "query", + "schema": { + "type": "integer", + "default": 1 + } + }, + { + "name": "per_page", + "description": "Results per page (max 100).", + "in": "query", + "schema": { + "type": "integer", + "default": 30 + } } ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -47990,7 +48091,7 @@ }, "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "x-github": { @@ -48045,7 +48146,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "x-github": { @@ -48098,7 +48199,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "x-github": { @@ -48163,7 +48264,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -48306,7 +48407,7 @@ }, "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "x-github": { @@ -48362,7 +48463,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "x-github": { @@ -48416,7 +48517,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "x-github": { @@ -48472,7 +48573,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -48580,7 +48681,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -48686,7 +48787,7 @@ ], "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -49744,7 +49845,7 @@ ], "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -50811,7 +50912,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -50891,7 +50992,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "x-github": { @@ -50947,7 +51048,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -51080,7 +51181,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -51176,7 +51277,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -51369,7 +51470,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "x-github": { @@ -51412,11 +51513,29 @@ "schema": { "type": "string" } + }, + { + "name": "page", + "description": "Page number of the results to fetch.", + "in": "query", + "schema": { + "type": "integer", + "default": 1 + } + }, + { + "name": "per_page", + "description": "Results per page (max 100).", + "in": "query", + "schema": { + "type": "integer", + "default": 30 + } } ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -53068,7 +53187,7 @@ }, "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "x-github": { @@ -53238,7 +53357,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -55959,7 +56078,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -56086,7 +56205,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -56223,7 +56342,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -56345,7 +56464,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -56414,7 +56533,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -56477,7 +56596,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -56591,7 +56710,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -56718,7 +56837,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -56831,7 +56950,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -56900,7 +57019,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -56961,10 +57080,10 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -57027,10 +57146,10 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -57085,7 +57204,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -57626,7 +57745,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -58187,6 +58306,7 @@ "created", "mentioned", "subscribed", + "repos", "all" ], "default": "assigned" @@ -58275,7 +58395,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -60718,7 +60838,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -60824,7 +60944,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -60991,7 +61111,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -61161,7 +61281,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "403": { "description": "Forbidden", @@ -61198,7 +61318,7 @@ "/orgs/{org}/memberships/{username}": { "get": { "summary": "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.", + "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.", "tags": [ "orgs" ], @@ -61227,7 +61347,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -61242,11 +61362,21 @@ }, "state": { "type": "string", - "example": "active" + "description": "The state of the member in the organization. The `pending` state indicates the user has not yet accepted an invitation.", + "example": "active", + "enum": [ + "active", + "pending" + ] }, "role": { "type": "string", - "example": "admin" + "description": "The user's membership type in the organization.", + "example": "admin", + "enum": [ + "admin", + "member" + ] }, "organization_url": { "type": "string", @@ -61507,99 +61637,13 @@ "site_admin": false } } - }, - "response-if-user-has-an-active-membership-with-organization": { - "summary": "Response if user has an active membership with organization", - "value": { - "url": "https://api.github.com/orgs/octocat/memberships/defunkt", - "state": "active", - "role": "member", - "organization_url": "https://api.github.com/orgs/octocat", - "organization": { - "login": "github", - "id": 1, - "node_id": "MDEyOk9yZ2FuaXphdGlvbjE=", - "url": "https://api.github.com/orgs/github", - "repos_url": "https://api.github.com/orgs/github/repos", - "events_url": "https://api.github.com/orgs/github/events", - "hooks_url": "https://api.github.com/orgs/github/hooks", - "issues_url": "https://api.github.com/orgs/github/issues", - "members_url": "https://api.github.com/orgs/github/members{/member}", - "public_members_url": "https://api.github.com/orgs/github/public_members{/member}", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "description": "A great organization" - }, - "user": { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - } - } - }, - "response-if-user-has-a-pending-membership-with-organization": { - "summary": "Response if user has a pending membership with organization", - "value": { - "url": "https://api.github.com/orgs/invitocat/memberships/defunkt", - "state": "pending", - "role": "member", - "organization_url": "https://api.github.com/orgs/invitocat", - "organization": { - "login": "github", - "id": 1, - "node_id": "MDEyOk9yZ2FuaXphdGlvbjE=", - "url": "https://api.github.com/orgs/github", - "repos_url": "https://api.github.com/orgs/github/repos", - "events_url": "https://api.github.com/orgs/github/events", - "hooks_url": "https://api.github.com/orgs/github/hooks", - "issues_url": "https://api.github.com/orgs/github/issues", - "members_url": "https://api.github.com/orgs/github/members{/member}", - "public_members_url": "https://api.github.com/orgs/github/public_members{/member}", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "description": "A great organization" - }, - "user": { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - } - } } } } } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -61700,7 +61744,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -61715,11 +61759,21 @@ }, "state": { "type": "string", - "example": "active" + "description": "The state of the member in the organization. The `pending` state indicates the user has not yet accepted an invitation.", + "example": "active", + "enum": [ + "active", + "pending" + ] }, "role": { "type": "string", - "example": "admin" + "description": "The user's membership type in the organization.", + "example": "admin", + "enum": [ + "admin", + "member" + ] }, "organization_url": { "type": "string", @@ -61938,51 +61992,8 @@ ] }, "examples": { - "response-if-user-was-previously-unaffiliated-with-organization": { - "summary": "Response if user was previously unaffiliated with organization", - "value": { - "url": "https://api.github.com/orgs/invitocat/memberships/defunkt", - "state": "pending", - "role": "admin", - "organization_url": "https://api.github.com/orgs/invitocat", - "organization": { - "login": "github", - "id": 1, - "node_id": "MDEyOk9yZ2FuaXphdGlvbjE=", - "url": "https://api.github.com/orgs/github", - "repos_url": "https://api.github.com/orgs/github/repos", - "events_url": "https://api.github.com/orgs/github/events", - "hooks_url": "https://api.github.com/orgs/github/hooks", - "issues_url": "https://api.github.com/orgs/github/issues", - "members_url": "https://api.github.com/orgs/github/members{/member}", - "public_members_url": "https://api.github.com/orgs/github/public_members{/member}", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "description": "A great organization" - }, - "user": { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - } - } - }, "response-if-user-already-had-membership-with-organization": { - "summary": "Response if user already had membership with organization", + "summary": "Response if user has an active admin membership with organization", "value": { "url": "https://api.github.com/orgs/octocat/memberships/defunkt", "state": "active", @@ -62029,7 +62040,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -62159,7 +62170,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "403": { "description": "Forbidden", @@ -62182,7 +62193,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -62269,7 +62280,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -62474,41 +62485,10 @@ "description": "User was converted" }, "403": { - "description": "response", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - } - } - }, - "examples": { - "response-if-user-is-the-last-owner-of-the-organization": { - "summary": "Response if user is the last owner of the organization", - "value": { - "message": "Cannot convert the last owner to an outside collaborator", - "documentation_url": "https://docs.github.com/enterprise-server@2.22/rest/reference/orgs#convert-member-to-outside-collaborator" - } - }, - "response-if-user-is-not-a-member-of-the-organization": { - "summary": "Response if user is not a member of the organization", - "value": { - "message": " is not a member of the organization.", - "documentation_url": "https://docs.github.com/enterprise-server@2.22/rest/reference/orgs#convert-member-to-outside-collaborator" - } - } - } - } - } + "description": "Response if user is the last owner of the organization or not a member of the organization" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -62569,7 +62549,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "422": { "description": "Response if user is a member of the organization", @@ -62647,11 +62627,40 @@ "type": "integer", "default": 1 } + }, + { + "name": "direction", + "description": "One of `asc` (ascending) or `desc` (descending).", + "in": "query", + "required": false, + "schema": { + "type": "string", + "enum": [ + "asc", + "desc" + ], + "default": "desc" + } + }, + { + "name": "sort", + "description": "The sort order for the response collection.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "enum": [ + "created", + "updated", + "name" + ], + "default": "created" + } } ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -62741,7 +62750,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -62824,7 +62833,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -62930,7 +62939,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -63040,7 +63049,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -63309,7 +63318,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -63402,7 +63411,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -63658,7 +63667,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -63698,7 +63707,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -63738,7 +63747,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -63825,7 +63834,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -64071,7 +64080,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "403": { "description": "Forbidden", @@ -64135,7 +64144,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "x-github": { @@ -64238,7 +64247,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -66122,7 +66131,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -67245,7 +67254,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -67376,7 +67385,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -67672,7 +67681,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -68162,7 +68171,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -68295,7 +68304,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -68785,7 +68794,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -68894,7 +68903,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -69426,7 +69435,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "x-github": { @@ -69501,11 +69510,20 @@ "type": "integer", "default": 1 } + }, + { + "name": "pinned", + "in": "query", + "required": false, + "description": "Pinned discussions only filter", + "schema": { + "type": "string" + } } ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -69926,7 +69944,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -70313,7 +70331,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -70719,7 +70737,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -71103,7 +71121,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "x-github": { @@ -71190,7 +71208,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -71574,7 +71592,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -71935,7 +71953,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -72314,7 +72332,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -72672,7 +72690,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "x-github": { @@ -72772,7 +72790,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -73074,7 +73092,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -73342,7 +73360,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "x-github": { @@ -73438,7 +73456,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -73732,7 +73750,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -73992,7 +74010,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "x-github": { @@ -74076,7 +74094,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -74246,7 +74264,7 @@ "/orgs/{org}/teams/{team_slug}/memberships/{username}": { "get": { "summary": "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).", + "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).", "tags": [ "teams" ], @@ -74284,7 +74302,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -74307,7 +74325,12 @@ "type": "string" }, "state": { - "type": "string" + "description": "The state of the user's membership in the team.", + "type": "string", + "enum": [ + "active", + "pending" + ] } }, "required": [ @@ -74317,14 +74340,6 @@ ] }, "examples": { - "response-if-user-has-an-active-membership-with-team": { - "summary": "Response if user has an active membership with team", - "value": { - "url": "https://api.github.com/teams/1/memberships/octocat", - "role": "member", - "state": "active" - } - }, "response-if-user-is-a-team-maintainer": { "summary": "Response if user is a team maintainer", "value": { @@ -74332,14 +74347,6 @@ "role": "maintainer", "state": "active" } - }, - "response-if-user-has-a-pending-membership-with-team": { - "summary": "Response if user has a pending membership with team", - "value": { - "url": "https://api.github.com/teams/1/memberships/octocat", - "role": "member", - "state": "pending" - } } } } @@ -74419,7 +74426,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -74442,7 +74449,12 @@ "type": "string" }, "state": { - "type": "string" + "description": "The state of the user's membership in the team.", + "type": "string", + "enum": [ + "active", + "pending" + ] } }, "required": [ @@ -74452,14 +74464,6 @@ ] }, "examples": { - "response-if-users-membership-with-team-is-now-active": { - "summary": "Response if user's membership with team is now active", - "value": { - "url": "https://api.github.com/teams/1/memberships/octocat", - "role": "member", - "state": "active" - } - }, "response-if-users-membership-with-team-is-now-pending": { "summary": "Response if user's membership with team is now pending", "value": { @@ -74476,50 +74480,7 @@ "description": "Response if team synchronization is set up" }, "422": { - "description": "Response if you attempt to add an organization to a team", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "errors": { - "type": "array", - "items": { - "type": "object", - "properties": { - "code": { - "type": "string" - }, - "field": { - "type": "string" - }, - "resource": { - "type": "string" - } - } - } - } - } - }, - "examples": { - "response-if-you-attempt-to-add-an-organization-to-a-team": { - "value": { - "message": "Cannot add an organization as a member.", - "errors": [ - { - "code": "org", - "field": "user", - "resource": "TeamMember" - } - ] - } - } - } - } - } + "description": "Response if you attempt to add an organization to a team" } }, "x-github": { @@ -74572,7 +74533,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "403": { "description": "Response if team synchronization is set up" @@ -74640,7 +74601,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -74960,7 +74921,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -75289,7 +75250,7 @@ }, "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "403": { "description": "Response if the project is not owned by the organization", @@ -75372,7 +75333,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "x-github": { @@ -75437,7 +75398,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -79181,7 +79142,7 @@ }, "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "x-github": { @@ -79242,7 +79203,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "x-github": { @@ -79534,7 +79495,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -79761,7 +79722,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -79784,7 +79745,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -79804,7 +79765,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -79884,7 +79845,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -80111,7 +80072,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -80134,7 +80095,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -80154,7 +80115,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -80174,7 +80135,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -80242,10 +80203,10 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -80272,7 +80233,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -80292,7 +80253,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -80377,7 +80338,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -80390,7 +80351,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -80431,7 +80392,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -80451,7 +80412,7 @@ } }, "503": { - "description": "Service Unavailable", + "description": "Service unavailable", "content": { "application/json": { "schema": { @@ -80486,7 +80447,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -80595,7 +80556,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -80672,7 +80633,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -80695,7 +80656,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -80715,7 +80676,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -80792,7 +80753,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -80869,7 +80830,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -80892,7 +80853,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -80950,10 +80911,10 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -80976,7 +80937,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -81069,7 +81030,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -81309,7 +81270,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -81332,7 +81293,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -81433,7 +81394,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -81660,7 +81621,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -81683,7 +81644,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -81703,7 +81664,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -81799,7 +81760,7 @@ } }, "503": { - "description": "Service Unavailable", + "description": "Service unavailable", "content": { "application/json": { "schema": { @@ -81894,7 +81855,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -81907,7 +81868,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -81930,7 +81891,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -81960,7 +81921,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -82019,7 +81980,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -82275,7 +82236,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -82298,7 +82259,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -82396,7 +82357,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -82655,7 +82616,7 @@ "description": "Response if the authenticated user does not have access to the project" }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -82682,7 +82643,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -82722,7 +82683,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -82792,7 +82753,7 @@ "description": "Delete Success" }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -82819,7 +82780,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -82859,7 +82820,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -82951,7 +82912,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -83107,7 +83068,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -83127,7 +83088,7 @@ } }, "415": { - "description": "Preview Header Missing", + "description": "Preview header missing", "content": { "application/json": { "schema": { @@ -83149,7 +83110,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -83218,7 +83179,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -83241,7 +83202,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -83330,10 +83291,10 @@ }, "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -83353,7 +83314,7 @@ } }, "415": { - "description": "Preview Header Missing", + "description": "Preview header missing", "content": { "application/json": { "schema": { @@ -83375,7 +83336,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -83444,7 +83405,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -83467,7 +83428,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -83532,13 +83493,13 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -83558,7 +83519,7 @@ } }, "415": { - "description": "Preview Header Missing", + "description": "Preview header missing", "content": { "application/json": { "schema": { @@ -83600,7 +83561,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -83669,7 +83630,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -83736,7 +83697,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -83901,7 +83862,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -83921,7 +83882,7 @@ } }, "415": { - "description": "Preview Header Missing", + "description": "Preview header missing", "content": { "application/json": { "schema": { @@ -83943,7 +83904,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -84012,7 +83973,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -84035,7 +83996,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -84112,7 +84073,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -84202,7 +84163,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -84225,7 +84186,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -84301,7 +84262,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -84374,7 +84335,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -84397,7 +84358,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -84427,7 +84388,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -84479,7 +84440,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -84705,10 +84666,10 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -84763,10 +84724,10 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -84789,7 +84750,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -84829,7 +84790,7 @@ } }, "415": { - "description": "Preview Header Missing", + "description": "Preview header missing", "content": { "application/json": { "schema": { @@ -84901,7 +84862,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -89613,7 +89574,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -89633,7 +89594,7 @@ } }, "301": { - "description": "Moved Permanently" + "description": "Moved permanently" } }, "x-github": { @@ -89782,7 +89743,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -93982,7 +93943,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -94051,7 +94012,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -94121,7 +94082,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "403": { "description": "If an organization owner has configured the organization to prevent members from deleting organization-owned repositories, a member will get this response:", @@ -94146,7 +94107,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -94227,7 +94188,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -94405,7 +94366,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -94541,7 +94502,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "x-github": { @@ -94604,7 +94565,7 @@ ], "responses": { "302": { - "description": "response", + "description": "Response", "headers": { "Location": { "example": "https://pipelines.actions.githubusercontent.com/OhgS4QRKqmgx7bKC27GKU83jnQjyeqG8oIMTge8eqtheppcmw8/_apis/pipelines/1/runs/176/signedlogcontent?urlExpires=2020-01-24T18%3A10%3A31.5729946Z&urlSigningMethod=HMACV1&urlSignature=agG73JakPYkHrh06seAkvmH7rBR4Ji4c2%2B6a2ejYh3E%3D", @@ -94667,7 +94628,7 @@ ], "responses": { "202": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -94973,7 +94934,7 @@ ], "responses": { "302": { - "description": "response", + "description": "Response", "headers": { "Location": { "example": "https://pipelines.actions.githubusercontent.com/ab1f3cCFPB34Nd6imvFxpGZH5hNlDp2wijMwl2gDoO0bcrrlJj/_apis/pipelines/1/jobs/19/signedlogcontent?urlExpires=2020-01-22T22%3A44%3A54.1389777Z&urlSigningMethod=HMACV1&urlSignature=2TUDfIg4fm36OJmfPy6km5QD5DLCOkBVzvhWZM8B%2BUY%3D", @@ -95045,7 +95006,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -95161,7 +95122,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -95275,7 +95236,7 @@ ], "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -96341,7 +96302,7 @@ ], "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -97416,7 +97377,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -97504,7 +97465,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "x-github": { @@ -97619,7 +97580,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -101153,7 +101114,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -104657,7 +104618,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "x-github": { @@ -104730,7 +104691,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -104908,7 +104869,7 @@ ], "responses": { "202": { - "description": "response" + "description": "Response" } }, "x-github": { @@ -104995,7 +104956,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -105329,7 +105290,7 @@ ], "responses": { "302": { - "description": "response", + "description": "Response", "headers": { "Location": { "example": "https://pipelines.actions.githubusercontent.com/ab1f3cCFPB34Nd6imvFxpGZH5hNlDp2wijMwl2gDoO0bcrrlJj/_apis/pipelines/1/runs/19/signedlogcontent?urlExpires=2020-01-22T22%3A44%3A54.1389777Z&urlSigningMethod=HMACV1&urlSignature=2TUDfIg4fm36OJmfPy6km5QD5DLCOkBVzvhWZM8B%2BUY%3D", @@ -105390,7 +105351,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "x-github": { @@ -105445,7 +105406,7 @@ ], "responses": { "201": { - "description": "response" + "description": "Response" } }, "x-github": { @@ -105509,7 +105470,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -105626,7 +105587,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -105730,7 +105691,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -105901,7 +105862,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "x-github": { @@ -105965,7 +105926,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -106157,7 +106118,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -106309,7 +106270,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "requestBody": { @@ -106473,7 +106434,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -110016,7 +109977,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -110172,7 +110133,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -110336,7 +110297,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -111062,18 +111023,6 @@ }, "examples": { "default": { - "value": [ - { - "name": "master", - "commit": { - "sha": "c5b97d5ae6c19d5c5df71a34c7fbeeda2479ccbc", - "url": "https://api.github.com/repos/octocat/Hello-World/commits/c5b97d5ae6c19d5c5df71a34c7fbeeda2479ccbc" - }, - "protected": true - } - ] - }, - "with-protection": { "value": [ { "name": "master", @@ -111109,7 +111058,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -111182,7 +111131,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -112500,7 +112449,7 @@ } }, "415": { - "description": "Preview Header Missing", + "description": "Preview header missing", "content": { "application/json": { "schema": { @@ -112522,7 +112471,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -112595,7 +112544,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -113441,7 +113390,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -113680,7 +113629,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -114411,7 +114360,7 @@ } }, "415": { - "description": "Preview Header Missing", + "description": "Preview header missing", "content": { "application/json": { "schema": { @@ -114433,7 +114382,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -114463,7 +114412,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -114538,7 +114487,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "403": { "description": "Forbidden", @@ -114614,7 +114563,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -114700,7 +114649,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -114789,7 +114738,7 @@ "description": "No Content" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -114862,7 +114811,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/vnd.github.luke-cage-preview+json": { "schema": { @@ -115341,7 +115290,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -115709,7 +115658,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -115836,7 +115785,7 @@ "description": "No Content" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -115909,7 +115858,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -115944,7 +115893,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -116019,7 +115968,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -116054,7 +116003,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -116132,7 +116081,7 @@ "description": "No Content" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -116209,7 +116158,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -116264,7 +116213,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -116363,7 +116312,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -116418,7 +116367,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -116438,7 +116387,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -116614,7 +116563,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -116630,7 +116579,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -116727,7 +116676,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -116744,7 +116693,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -116833,7 +116782,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -116931,7 +116880,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -116947,7 +116896,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -117016,7 +116965,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -117114,7 +117063,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -117130,7 +117079,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -117150,7 +117099,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -117273,7 +117222,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -117644,7 +117593,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -117771,7 +117720,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -118070,7 +118019,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -118167,7 +118116,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -118466,7 +118415,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -118613,7 +118562,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -118912,7 +118861,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -119059,7 +119008,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -119358,7 +119307,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -119481,7 +119430,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -119652,7 +119601,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -119749,7 +119698,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -119920,7 +119869,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -120067,7 +120016,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -120238,7 +120187,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -120385,7 +120334,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -120556,7 +120505,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -120679,7 +120628,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -120827,7 +120776,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -120924,7 +120873,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -121072,7 +121021,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -121219,7 +121168,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -121367,7 +121316,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -121514,7 +121463,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -121662,7 +121611,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -121999,7 +121948,7 @@ }, "examples": { "example-of-in-progress-conclusion": { - "summary": "Example of in_progress conclusion", + "summary": "Response for in_progress conclusion", "value": { "name": "mighty_readme", "head_sha": "ce587453ced02b1526dfb4cb910479d431683101", @@ -122014,7 +121963,7 @@ } }, "example-of-completed-conclusion": { - "summary": "Example of completed conclusion", + "summary": "Response for completed conclusion", "value": { "name": "mighty_readme", "head_sha": "ce587453ced02b1526dfb4cb910479d431683101", @@ -122068,7 +122017,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -122884,101 +122833,8 @@ ] }, "examples": { - "example-of-in-progress-conclusion": { - "summary": "Example of in_progress conclusion", - "value": { - "id": 4, - "head_sha": "ce587453ced02b1526dfb4cb910479d431683101", - "node_id": "MDg6Q2hlY2tSdW40", - "external_id": "42", - "url": "https://api.github.com/repos/github/hello-world/check-runs/4", - "html_url": "https://github.com/github/hello-world/runs/4", - "details_url": "https://example.com", - "status": "in_progress", - "conclusion": "neutral", - "started_at": "2018-05-04T01:14:52Z", - "completed_at": null, - "output": { - "title": "Mighty Readme Report", - "summary": "", - "text": "", - "annotations_count": 1, - "annotations_url": "https://api.github.com/repos/github/hello-world/check-runs/4/annotations" - }, - "name": "mighty_readme", - "check_suite": { - "id": 5 - }, - "app": { - "id": 1, - "slug": "octoapp", - "node_id": "MDExOkludGVncmF0aW9uMQ==", - "owner": { - "login": "github", - "id": 1, - "node_id": "MDEyOk9yZ2FuaXphdGlvbjE=", - "url": "https://api.github.com/orgs/github", - "repos_url": "https://api.github.com/orgs/github/repos", - "events_url": "https://api.github.com/orgs/github/events", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": true - }, - "name": "Octocat App", - "description": "", - "external_url": "https://example.com", - "html_url": "https://github.com/apps/octoapp", - "created_at": "2017-07-08T16:18:44-04:00", - "updated_at": "2017-07-08T16:18:44-04:00", - "permissions": { - "metadata": "read", - "contents": "read", - "issues": "write", - "single_file": "write" - }, - "events": [ - "push", - "pull_request" - ] - }, - "pull_requests": [ - { - "url": "https://api.github.com/repos/github/hello-world/pulls/1", - "id": 1934, - "number": 3956, - "head": { - "ref": "say-hello", - "sha": "3dca65fa3e8d4b3da3f3d056c59aee1c50f41390", - "repo": { - "id": 526, - "url": "https://api.github.com/repos/github/hello-world", - "name": "hello-world" - } - }, - "base": { - "ref": "master", - "sha": "e7fdf7640066d71ad16a86fbcbb9c6a10a18af4f", - "repo": { - "id": 526, - "url": "https://api.github.com/repos/github/hello-world", - "name": "hello-world" - } - } - } - ] - } - }, "example-of-completed-conclusion": { - "summary": "Example of completed conclusion", + "summary": "Response for completed conclusion", "value": { "id": 4, "head_sha": "ce587453ced02b1526dfb4cb910479d431683101", @@ -123131,7 +122987,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -124352,7 +124208,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -125339,7 +125195,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -125507,7 +125363,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -127896,7 +127752,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -129095,7 +128951,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -131507,7 +131363,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -132504,7 +132360,7 @@ ], "responses": { "201": { - "description": "response" + "description": "Response" } }, "x-github": { @@ -132525,7 +132381,7 @@ "/repos/{owner}/{repo}/code-scanning/alerts": { "get": { "summary": "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 the default branch or for the specified Git reference\n(if you used `ref` in the request).", + "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).", "tags": [ "code-scanning" ], @@ -132597,7 +132453,7 @@ "required": false, "schema": { "type": "string", - "description": "The full Git reference, formatted as `refs/heads/`." + "description": "The full Git reference, formatted as `refs/heads/`,\n`refs/pull//merge`, or `refs/pull//head`." } }, { @@ -132610,6 +132466,7 @@ "description": "State of a code scanning alert.", "enum": [ "open", + "closed", "dismissed", "fixed" ] @@ -132618,7 +132475,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -132665,6 +132522,7 @@ "description": "State of a code scanning alert.", "enum": [ "open", + "closed", "dismissed", "fixed" ] @@ -132860,7 +132718,7 @@ "properties": { "ref": { "type": "string", - "description": "The full Git reference, formatted as `refs/heads/`." + "description": "The full Git reference, formatted as `refs/heads/`,\n`refs/pull//merge`, or `refs/pull//head`." }, "analysis_key": { "type": "string", @@ -132875,6 +132733,7 @@ "description": "State of a code scanning alert.", "enum": [ "open", + "closed", "dismissed", "fixed" ] @@ -133081,7 +132940,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -133101,7 +132960,7 @@ } }, "503": { - "description": "Service Unavailable", + "description": "Service unavailable", "content": { "application/json": { "schema": { @@ -133177,7 +133036,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -133222,6 +133081,7 @@ "description": "State of a code scanning alert.", "enum": [ "open", + "closed", "dismissed", "fixed" ] @@ -133432,7 +133292,7 @@ "properties": { "ref": { "type": "string", - "description": "The full Git reference, formatted as `refs/heads/`." + "description": "The full Git reference, formatted as `refs/heads/`,\n`refs/pull//merge`, or `refs/pull//head`." }, "analysis_key": { "type": "string", @@ -133447,6 +133307,7 @@ "description": "State of a code scanning alert.", "enum": [ "open", + "closed", "dismissed", "fixed" ] @@ -133614,7 +133475,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -133634,7 +133495,7 @@ } }, "503": { - "description": "Service Unavailable", + "description": "Service unavailable", "content": { "application/json": { "schema": { @@ -133753,7 +133614,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -133798,6 +133659,7 @@ "description": "State of a code scanning alert.", "enum": [ "open", + "closed", "dismissed", "fixed" ] @@ -134008,7 +133870,7 @@ "properties": { "ref": { "type": "string", - "description": "The full Git reference, formatted as `refs/heads/`." + "description": "The full Git reference, formatted as `refs/heads/`,\n`refs/pull//merge`, or `refs/pull//head`." }, "analysis_key": { "type": "string", @@ -134023,6 +133885,7 @@ "description": "State of a code scanning alert.", "enum": [ "open", + "closed", "dismissed", "fixed" ] @@ -134190,7 +134053,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -134210,7 +134073,7 @@ } }, "503": { - "description": "Service Unavailable", + "description": "Service unavailable", "content": { "application/json": { "schema": { @@ -134316,7 +134179,7 @@ "required": false, "schema": { "type": "string", - "description": "The full Git reference, formatted as `refs/heads/`." + "description": "The full Git reference, formatted as `refs/heads/`,\n`refs/pull//merge`, or `refs/pull//head`." } }, { @@ -134334,7 +134197,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -134344,7 +134207,7 @@ "properties": { "ref": { "type": "string", - "description": "The full Git reference, formatted as `refs/heads/`." + "description": "The full Git reference, formatted as `refs/heads/`,\n`refs/pull//merge`, or `refs/pull//head`." }, "commit_sha": { "description": "The SHA of the commit to which the analysis you are uploading relates.", @@ -134505,7 +134368,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -134525,7 +134388,7 @@ } }, "503": { - "description": "Service Unavailable", + "description": "Service unavailable", "content": { "application/json": { "schema": { @@ -134559,7 +134422,7 @@ "/repos/{owner}/{repo}/code-scanning/sarifs": { "post": { "summary": "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\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\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).\"", + "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/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/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\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).\"", "operationId": "code-scanning/upload-sarif", "tags": [ "code-scanning" @@ -134601,7 +134464,7 @@ }, "ref": { "type": "string", - "description": "The full Git reference, formatted as `refs/heads/`." + "description": "The full Git reference, formatted as `refs/heads/`,\n`refs/pull//merge`, or `refs/pull//head`." }, "sarif": { "description": "A Base64 string representing the SARIF file to upload. You must first compress your SARIF file using [`gzip`](http://www.gnu.org/software/gzip/manual/gzip.html) and then translate the contents of the file into a Base64 encoding string. For more information, see \"[SARIF support for code scanning](https://docs.github.com/enterprise-server@2.22/github/finding-security-vulnerabilities-and-errors-in-your-code/sarif-support-for-code-scanning).\"", @@ -134634,7 +134497,7 @@ }, "responses": { "202": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -134691,7 +134554,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -134714,7 +134577,7 @@ "description": "Response if the sarif field is too large" }, "503": { - "description": "Service Unavailable", + "description": "Service unavailable", "content": { "application/json": { "schema": { @@ -134810,7 +134673,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -134985,7 +134848,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -137044,7 +136907,7 @@ "description": "Response when person is already a collaborator" }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -137183,7 +137046,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "x-github": { @@ -137402,7 +137265,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -137483,7 +137346,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -137841,7 +137704,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -138130,7 +137993,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -138225,7 +138088,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -138514,7 +138377,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -138584,10 +138447,10 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -138696,7 +138559,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -138905,7 +138768,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -138925,7 +138788,7 @@ } }, "415": { - "description": "Preview Header Missing", + "description": "Preview header missing", "content": { "application/json": { "schema": { @@ -139424,7 +139287,7 @@ } }, "415": { - "description": "Preview Header Missing", + "description": "Preview header missing", "content": { "application/json": { "schema": { @@ -139446,7 +139309,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -139579,7 +139442,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "x-github": { @@ -139688,11 +139551,31 @@ "type": "integer", "default": 1 } + }, + { + "name": "top", + "description": "legacy parameter for pagination.", + "in": "query", + "deprecated": true, + "required": false, + "schema": { + "type": "string" + } + }, + { + "name": "last_sha", + "description": "legacy parameter for pagination.", + "in": "query", + "deprecated": true, + "required": false, + "schema": { + "type": "string" + } } ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -140345,7 +140228,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -140438,7 +140321,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -140495,7 +140378,7 @@ } }, "415": { - "description": "Preview Header Missing", + "description": "Preview header missing", "content": { "application/json": { "schema": { @@ -140517,7 +140400,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -140661,7 +140544,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -141054,7 +140937,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -141371,7 +141254,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -141512,7 +141395,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -145342,7 +145225,7 @@ } }, "415": { - "description": "Preview Header Missing", + "description": "Preview header missing", "content": { "application/json": { "schema": { @@ -145408,9 +145291,27 @@ "type": "string" } }, + { + "name": "page", + "description": "Page number of the results to fetch.", + "in": "query", + "schema": { + "type": "integer", + "default": 1 + } + }, + { + "name": "per_page", + "description": "Results per page (max 100).", + "in": "query", + "schema": { + "type": "integer", + "default": 30 + } + }, { "name": "ref", - "description": "ref+ parameter", + "description": "ref parameter", "in": "path", "required": true, "schema": { @@ -145421,7 +145322,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -146004,7 +145905,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -146073,7 +145974,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -146155,7 +146056,7 @@ }, { "name": "ref", - "description": "ref+ parameter", + "description": "ref parameter", "in": "path", "required": true, "schema": { @@ -146217,11 +146118,19 @@ "type": "integer", "default": 1 } + }, + { + "name": "app_id", + "in": "query", + "required": false, + "schema": { + "type": "integer" + } } ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -147208,7 +147117,7 @@ }, { "name": "ref", - "description": "ref+ parameter", + "description": "ref parameter", "in": "path", "required": true, "schema": { @@ -147256,7 +147165,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -149510,18 +149419,36 @@ }, { "name": "ref", - "description": "ref+ parameter", + "description": "ref parameter", "in": "path", "required": true, "schema": { "type": "string" }, "x-multi-segment": true + }, + { + "name": "per_page", + "description": "Results per page (max 100).", + "in": "query", + "schema": { + "type": "integer", + "default": 30 + } + }, + { + "name": "page", + "description": "Page number of the results to fetch.", + "in": "query", + "schema": { + "type": "integer", + "default": 1 + } } ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -151216,7 +151143,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -151278,7 +151205,7 @@ }, { "name": "ref", - "description": "ref+ parameter", + "description": "ref parameter", "in": "path", "required": true, "schema": { @@ -151307,7 +151234,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -151526,7 +151453,7 @@ } }, "301": { - "description": "Moved Permanently" + "description": "Moved permanently" } }, "x-github": { @@ -151588,7 +151515,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -153451,7 +153378,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -153513,7 +153440,7 @@ }, { "name": "path", - "description": "path+ parameter", + "description": "path parameter", "in": "path", "required": true, "schema": { @@ -153533,7 +153460,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/vnd.github.v3.object": { "schema": { @@ -154145,7 +154072,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -154228,7 +154155,7 @@ }, { "name": "path", - "description": "path+ parameter", + "description": "path parameter", "in": "path", "required": true, "schema": { @@ -154339,7 +154266,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -154555,7 +154482,7 @@ } }, "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -154771,7 +154698,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -154791,7 +154718,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -154920,7 +154847,7 @@ }, { "name": "path", - "description": "path+ parameter", + "description": "path parameter", "in": "path", "required": true, "schema": { @@ -154994,7 +154921,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -155195,7 +155122,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -155264,7 +155191,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -155304,7 +155231,7 @@ } }, "503": { - "description": "Service Unavailable", + "description": "Service unavailable", "content": { "application/json": { "schema": { @@ -155546,7 +155473,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -155643,7 +155570,8 @@ "required": false, "schema": { "type": "string", - "default": "none" + "default": "none", + "nullable": true } }, { @@ -155667,7 +155595,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -156334,7 +156262,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -156843,48 +156771,6 @@ "transient_environment": false, "production_environment": true } - }, - "advanced-example": { - "summary": "Advanced example", - "value": { - "url": "https://api.github.com/repos/octocat/example/deployments/1", - "id": 1, - "node_id": "MDEwOkRlcGxveW1lbnQx", - "sha": "a84d88e7554fc1fa21bcbc4efae3c782a70d2b9d", - "ref": "topic-branch", - "task": "deploy", - "payload": { - }, - "original_environment": "staging", - "environment": "production", - "description": "Deploy request from hubot", - "creator": { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - }, - "created_at": "2012-07-20T01:19:13Z", - "updated_at": "2012-07-20T01:19:13Z", - "statuses_url": "https://api.github.com/repos/octocat/example/deployments/1/statuses", - "repository_url": "https://api.github.com/repos/octocat/example", - "transient_environment": false, - "production_environment": true - } } } } @@ -156913,40 +156799,10 @@ } }, "409": { - "description": "response", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string", - "example": "\"https://docs.github.com/enterprise-server@2.22/rest/reference/repos#create-a-deployment\"" - } - } - }, - "examples": { - "merge-conflict-response": { - "summary": "Merge conflict response", - "value": { - "message": "Conflict merging master into topic-branch" - } - }, - "failed-commit-status-checks": { - "summary": "Failed commit status checks", - "value": { - "message": "Conflict: Commit status checks failed for topic-branch." - } - } - } - } - } + "description": "Response when there is a merge conflict or the commit's status checks failed" }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -157071,7 +156927,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -157585,7 +157441,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -157659,10 +157515,10 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -157682,7 +157538,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -157782,7 +157638,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -158306,7 +158162,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -158451,7 +158307,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -158970,7 +158826,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -159108,7 +158964,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -159619,7 +159475,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -159639,7 +159495,7 @@ } }, "415": { - "description": "Preview Header Missing", + "description": "Preview header missing", "content": { "application/json": { "schema": { @@ -159743,10 +159599,10 @@ }, "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -159876,7 +159732,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -162594,7 +162450,8 @@ "enum": [ "newest", "oldest", - "stargazers" + "stargazers", + "watchers" ], "default": "newest" } @@ -162616,11 +162473,31 @@ "type": "integer", "default": 1 } + }, + { + "name": "org", + "description": "legacy query parameter for specifying the org.", + "in": "query", + "deprecated": true, + "required": false, + "schema": { + "type": "string" + } + }, + { + "name": "organization", + "description": "legacy query parameter for specifying the org.", + "in": "query", + "deprecated": true, + "required": false, + "schema": { + "type": "string" + } } ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -164336,6 +164213,26 @@ "schema": { "type": "string" } + }, + { + "name": "org", + "description": "legacy query parameter for specifying the org.", + "in": "query", + "deprecated": true, + "required": false, + "schema": { + "type": "string" + } + }, + { + "name": "organization", + "description": "legacy query parameter for specifying the org.", + "in": "query", + "deprecated": true, + "required": false, + "schema": { + "type": "string" + } } ], "requestBody": { @@ -164343,6 +164240,7 @@ "application/json": { "schema": { "type": "object", + "nullable": true, "properties": { "organization": { "type": "string", @@ -164355,7 +164253,7 @@ }, "responses": { "202": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -165504,7 +165402,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -165593,7 +165491,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -165683,7 +165581,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -165723,7 +165621,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -165783,7 +165681,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -165903,7 +165801,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -165960,7 +165858,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -165980,7 +165878,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -166195,7 +166093,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -166411,7 +166309,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -166480,7 +166378,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -166553,7 +166451,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -166761,7 +166659,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -166823,7 +166721,7 @@ }, { "name": "ref", - "description": "ref+ parameter", + "description": "ref parameter", "in": "path", "required": true, "schema": { @@ -166852,7 +166750,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -166985,7 +166883,7 @@ }, { "name": "ref", - "description": "ref+ parameter", + "description": "ref parameter", "in": "path", "required": true, "schema": { @@ -166996,7 +166894,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -167064,7 +166962,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -167158,7 +167056,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -167234,7 +167132,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -167345,7 +167243,7 @@ }, { "name": "ref", - "description": "ref+ parameter", + "description": "ref parameter", "in": "path", "required": true, "schema": { @@ -167383,7 +167281,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -167451,7 +167349,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -167560,7 +167458,7 @@ }, { "name": "ref", - "description": "ref+ parameter", + "description": "ref parameter", "in": "path", "required": true, "schema": { @@ -167571,10 +167469,10 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -167753,7 +167651,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -167900,7 +167798,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -168020,7 +167918,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -168159,7 +168057,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -168293,7 +168191,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -168421,7 +168319,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -168490,7 +168388,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -168576,7 +168474,8 @@ "required": true, "schema": { "type": "string" - } + }, + "x-multi-segment": true }, { "name": "recursive", @@ -168590,7 +168489,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -168744,7 +168643,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -168813,7 +168712,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -168894,7 +168793,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -169091,7 +168990,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -169236,7 +169135,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -169428,7 +169327,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -169448,7 +169347,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -169588,7 +169487,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -169772,7 +169671,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -169925,7 +169824,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -170109,7 +170008,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -170178,7 +170077,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -170247,10 +170146,10 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -170321,10 +170220,10 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -170395,10 +170294,10 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -170461,7 +170360,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -170949,10 +170848,10 @@ } }, "301": { - "description": "Moved Permanently" + "description": "Moved permanently" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -171033,7 +170932,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -173023,7 +172922,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -174977,7 +174876,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "x-github": { @@ -175139,7 +175038,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -177309,10 +177208,10 @@ } }, "301": { - "description": "Moved Permanently" + "description": "Moved permanently" }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -177381,7 +177280,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -177540,7 +177439,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -179896,7 +179795,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -179965,7 +179864,7 @@ } }, "503": { - "description": "Service Unavailable", + "description": "Service unavailable", "content": { "application/json": { "schema": { @@ -179986,7 +179885,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -180124,7 +180023,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -180669,7 +180568,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -180738,7 +180637,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -180814,7 +180713,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -181346,7 +181245,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -181441,7 +181340,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -181973,7 +181872,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -182092,7 +181991,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "x-github": { @@ -182184,7 +182083,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -182393,7 +182292,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -182413,7 +182312,7 @@ } }, "415": { - "description": "Preview Header Missing", + "description": "Preview header missing", "content": { "application/json": { "schema": { @@ -182912,7 +182811,7 @@ } }, "415": { - "description": "Preview Header Missing", + "description": "Preview header missing", "content": { "application/json": { "schema": { @@ -182934,7 +182833,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -183067,7 +182966,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "x-github": { @@ -183135,7 +183034,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -186237,7 +186136,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -186361,7 +186260,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -189450,7 +189349,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -189566,7 +189465,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -191894,10 +191793,10 @@ } }, "301": { - "description": "Moved Permanently" + "description": "Moved permanently" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -191937,7 +191836,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" } }, "x-github": { @@ -192096,7 +191995,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -194424,7 +194323,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -194493,7 +194392,7 @@ } }, "503": { - "description": "Service Unavailable", + "description": "Service unavailable", "content": { "application/json": { "schema": { @@ -194534,10 +194433,10 @@ } }, "301": { - "description": "Moved Permanently" + "description": "Moved permanently" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -194653,7 +194552,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -196924,7 +196823,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -199200,7 +199099,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -199745,7 +199644,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -199860,7 +199759,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -200440,7 +200339,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -200509,7 +200408,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -200600,7 +200499,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -200953,7 +200852,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -201141,7 +201040,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -201244,7 +201143,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -201387,7 +201286,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -201490,7 +201389,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -201609,7 +201508,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "410": { "description": "Gone", @@ -201692,7 +201591,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -201766,7 +201665,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -201880,7 +201779,7 @@ }, "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "403": { "description": "Forbidden", @@ -201923,7 +201822,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -201943,7 +201842,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -202062,7 +201961,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "403": { "description": "Forbidden", @@ -202085,7 +201984,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -202194,7 +202093,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -202403,7 +202302,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -202443,7 +202342,7 @@ } }, "415": { - "description": "Preview Header Missing", + "description": "Preview header missing", "content": { "application/json": { "schema": { @@ -202550,7 +202449,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -202746,7 +202645,7 @@ } }, "415": { - "description": "Preview Header Missing", + "description": "Preview header missing", "content": { "application/json": { "schema": { @@ -202768,7 +202667,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -202901,7 +202800,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "x-github": { @@ -202978,7 +202877,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -203237,7 +203136,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -203277,7 +203176,7 @@ } }, "415": { - "description": "Preview Header Missing", + "description": "Preview header missing", "content": { "application/json": { "schema": { @@ -203369,7 +203268,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -203511,7 +203410,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -203576,7 +203475,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -203697,7 +203596,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -203754,7 +203653,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -203824,7 +203723,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "x-github": { @@ -203888,7 +203787,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -203979,7 +203878,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -204046,7 +203945,7 @@ "properties": { "name": { "type": "string", - "description": "The name of the label. Emoji can be added to label names, using either native emoji or colon-style markup. For example, typing `:strawberry:` will render the emoji ![:strawberry:](https://github.githubassets.com/images/icons/emoji/unicode/1f353.png \":strawberry:\"). For a full list of available emoji and codes, see [emoji-cheat-sheet.com](http://emoji-cheat-sheet.com/)." + "description": "The name of the label. Emoji can be added to label names, using either native emoji or colon-style markup. For example, typing `:strawberry:` will render the emoji ![:strawberry:](https://github.githubassets.com/images/icons/emoji/unicode/1f353.png \":strawberry:\"). For a full list of available emoji and codes, see \"[Emoji cheat sheet](https://github.com/ikatyang/emoji-cheat-sheet).\"" }, "color": { "type": "string", @@ -204071,7 +203970,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -204148,7 +204047,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -204217,7 +204116,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -204288,7 +204187,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -204357,7 +204256,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -204432,7 +204331,7 @@ "properties": { "new_name": { "type": "string", - "description": "The new name of the label. Emoji can be added to label names, using either native emoji or colon-style markup. For example, typing `:strawberry:` will render the emoji ![:strawberry:](https://github.githubassets.com/images/icons/emoji/unicode/1f353.png \":strawberry:\"). For a full list of available emoji and codes, see [emoji-cheat-sheet.com](http://emoji-cheat-sheet.com/)." + "description": "The new name of the label. Emoji can be added to label names, using either native emoji or colon-style markup. For example, typing `:strawberry:` will render the emoji ![:strawberry:](https://github.githubassets.com/images/icons/emoji/unicode/1f353.png \":strawberry:\"). For a full list of available emoji and codes, see \"[Emoji cheat sheet](https://github.com/ikatyang/emoji-cheat-sheet).\"" }, "color": { "type": "string", @@ -204454,7 +204353,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -204572,7 +204471,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "x-github": { @@ -204618,7 +204517,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -204684,7 +204583,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -205510,63 +205409,10 @@ } }, "404": { - "description": "response", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string", - "example": "\"https://docs.github.com/enterprise-server@2.22/rest/reference/repos#perform-a-merge\"" - } - } - }, - "examples": { - "missing-base-response": { - "summary": "Missing base response", - "value": { - "message": "Base does not exist" - } - }, - "missing-head-response": { - "summary": "Missing head response", - "value": { - "message": "Head does not exist" - } - } - } - } - } + "description": "Response when the base or head does not exist" }, "409": { - "description": "Merge conflict response", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string", - "example": "\"https://docs.github.com/enterprise-server@2.22/rest/reference/repos#perform-a-merge\"" - } - } - }, - "examples": { - "merge-conflict-response": { - "value": { - "message": "Merge Conflict" - } - } - } - } - } + "description": "Response when there is a merge conflict" }, "403": { "description": "Forbidden", @@ -205589,7 +205435,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -205762,7 +205608,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -206043,7 +205889,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -206145,7 +205991,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -206421,7 +206267,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -206441,7 +206287,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -206562,7 +206408,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -206830,7 +206676,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -206938,7 +206784,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -207256,10 +207102,10 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -207349,7 +207195,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -207539,7 +207385,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -209254,7 +209100,7 @@ }, "responses": { "202": { - "description": "response" + "description": "Response" } }, "x-github": { @@ -209300,7 +209146,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -209393,7 +209239,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -209497,7 +209343,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -209590,7 +209436,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -209659,7 +209505,7 @@ } }, "415": { - "description": "Preview Header Missing", + "description": "Preview header missing", "content": { "application/json": { "schema": { @@ -209811,10 +209657,10 @@ }, "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -209978,10 +209824,10 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -210050,7 +209896,7 @@ } }, "415": { - "description": "Preview Header Missing", + "description": "Preview header missing", "content": { "application/json": { "schema": { @@ -210072,7 +209918,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -210157,7 +210003,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -210420,7 +210266,7 @@ ], "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -210498,7 +210344,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -210758,7 +210604,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -211024,11 +210870,39 @@ "type": "integer", "default": 1 } + }, + { + "name": "direction", + "description": "One of `asc` (ascending) or `desc` (descending).", + "in": "query", + "required": false, + "schema": { + "type": "string", + "enum": [ + "asc", + "desc" + ], + "default": "desc" + } + }, + { + "name": "sort", + "in": "query", + "required": false, + "schema": { + "type": "string", + "enum": [ + "created", + "updated", + "name" + ], + "default": "created" + } } ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -211122,7 +210996,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -211209,7 +211083,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -211428,7 +211302,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -211697,7 +211571,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -211737,7 +211611,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -211777,7 +211651,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -211878,7 +211752,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -212134,7 +212008,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -212174,7 +212048,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -212214,7 +212088,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -212371,7 +212245,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -216201,10 +216075,10 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -216363,7 +216237,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -219394,7 +219268,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -219506,16 +219380,15 @@ }, { "name": "sort", - "description": "One of `created` (when the repository was starred) or `updated` (when it was last pushed to).", "in": "query", "required": false, "schema": { "type": "string", "enum": [ "created", - "updated" - ], - "default": "created" + "updated", + "created_at" + ] } }, { @@ -219561,7 +219434,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -220087,7 +219960,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -220539,7 +220412,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -220639,7 +220512,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -221145,10 +221018,10 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -221257,7 +221130,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -221466,7 +221339,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -221486,7 +221359,7 @@ } }, "415": { - "description": "Preview Header Missing", + "description": "Preview header missing", "content": { "application/json": { "schema": { @@ -221985,7 +221858,7 @@ } }, "415": { - "description": "Preview Header Missing", + "description": "Preview header missing", "content": { "application/json": { "schema": { @@ -222007,7 +221880,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -222140,7 +222013,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "x-github": { @@ -225201,7 +225074,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "500": { "description": "Internal Error", @@ -225224,7 +225097,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -225334,7 +225207,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -228337,7 +228210,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -228531,7 +228404,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -229137,7 +229010,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -229597,7 +229470,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -229772,7 +229645,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -230232,7 +230105,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -230322,7 +230195,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -230970,7 +230843,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -231071,7 +230944,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -231386,7 +231259,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -231475,7 +231348,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -231565,7 +231438,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -231927,7 +231800,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -235895,10 +235768,10 @@ }, "responses": { "200": { - "description": "response" + "description": "Response" }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -236455,7 +236328,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -236731,7 +236604,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -236842,7 +236715,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -237118,7 +236991,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -237217,7 +237090,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -237493,7 +237366,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -237581,7 +237454,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -237857,7 +237730,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -237887,7 +237760,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -237985,7 +237858,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -238386,7 +238259,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -238488,7 +238361,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -238764,7 +238637,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -238784,7 +238657,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -238901,7 +238774,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -239177,7 +239050,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -239197,7 +239070,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -239317,7 +239190,7 @@ }, "responses": { "202": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -239339,7 +239212,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -239428,7 +239301,7 @@ } }, "415": { - "description": "Preview Header Missing", + "description": "Preview header missing", "content": { "application/json": { "schema": { @@ -239504,6 +239377,279 @@ } } ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "title": "Content File", + "description": "Content File", + "type": "object", + "properties": { + "type": { + "type": "string" + }, + "encoding": { + "type": "string" + }, + "size": { + "type": "integer" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "content": { + "type": "string" + }, + "sha": { + "type": "string" + }, + "url": { + "type": "string", + "format": "uri" + }, + "git_url": { + "type": "string", + "format": "uri", + "nullable": true + }, + "html_url": { + "type": "string", + "format": "uri", + "nullable": true + }, + "download_url": { + "type": "string", + "format": "uri", + "nullable": true + }, + "_links": { + "type": "object", + "properties": { + "git": { + "type": "string", + "format": "uri", + "nullable": true + }, + "html": { + "type": "string", + "format": "uri", + "nullable": true + }, + "self": { + "type": "string", + "format": "uri" + } + }, + "required": [ + "git", + "html", + "self" + ] + }, + "target": { + "type": "string", + "example": "\"actual/actual.md\"" + }, + "submodule_git_url": { + "type": "string", + "example": "\"git://example.com/defunkt/dotjs.git\"" + } + }, + "required": [ + "_links", + "git_url", + "html_url", + "download_url", + "name", + "path", + "sha", + "size", + "type", + "url", + "content", + "encoding" + ] + }, + "examples": { + "default": { + "value": { + "type": "file", + "encoding": "base64", + "size": 5362, + "name": "README.md", + "path": "README.md", + "content": "encoded content ...", + "sha": "3d21ec53a331a6f037a91c368710b99387d012c1", + "url": "https://api.github.com/repos/octokit/octokit.rb/contents/README.md", + "git_url": "https://api.github.com/repos/octokit/octokit.rb/git/blobs/3d21ec53a331a6f037a91c368710b99387d012c1", + "html_url": "https://github.com/octokit/octokit.rb/blob/master/README.md", + "download_url": "https://raw.githubusercontent.com/octokit/octokit.rb/master/README.md", + "_links": { + "git": "https://api.github.com/repos/octokit/octokit.rb/git/blobs/3d21ec53a331a6f037a91c368710b99387d012c1", + "self": "https://api.github.com/repos/octokit/octokit.rb/contents/README.md", + "html": "https://github.com/octokit/octokit.rb/blob/master/README.md" + } + } + } + } + } + } + }, + "404": { + "description": "Resource not found", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + } + } + } + } + } + }, + "422": { + "description": "Validation failed", + "content": { + "application/json": { + "schema": { + "title": "Validation Error", + "description": "Validation Error", + "type": "object", + "required": [ + "message", + "documentation_url" + ], + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "errors": { + "type": "array", + "items": { + "type": "object", + "required": [ + "code" + ], + "properties": { + "resource": { + "type": "string" + }, + "field": { + "type": "string" + }, + "message": { + "type": "string" + }, + "code": { + "type": "string" + }, + "index": { + "type": "integer" + }, + "value": { + "oneOf": [ + { + "type": "string", + "nullable": true + }, + { + "type": "integer", + "nullable": true + }, + { + "type": "array", + "nullable": true, + "items": { + "type": "string" + } + } + ] + } + } + } + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "previews": [ + + ], + "category": "repos", + "subcategory": "contents" + } + } + }, + "/repos/{owner}/{repo}/readme/{dir}": { + "get": { + "summary": "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.", + "tags": [ + "repos" + ], + "operationId": "repos/get-readme-in-directory", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-server@2.22/rest/reference/repos#get-a-repository-directory-readme" + }, + "parameters": [ + { + "name": "owner", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "repo", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "dir", + "description": "The alternate path to look for a README file", + "in": "path", + "required": true, + "schema": { + "type": "string" + }, + "x-multi-segment": true + }, + { + "name": "ref", + "description": "The name of the commit/branch/tag. Default: the repository’s default branch (usually `master`)", + "in": "query", + "required": false, + "schema": { + "type": "string" + } + } + ], "responses": { "200": { "description": "response", @@ -239628,7 +239774,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -239648,7 +239794,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -239778,7 +239924,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -240278,7 +240424,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -240387,7 +240533,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -240882,7 +241028,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -241236,7 +241382,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -241256,7 +241402,7 @@ } }, "415": { - "description": "Preview Header Missing", + "description": "Preview header missing", "content": { "application/json": { "schema": { @@ -241358,7 +241504,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -241640,7 +241786,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "x-github": { @@ -241686,7 +241832,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -242215,7 +242361,7 @@ }, { "name": "tag", - "description": "tag+ parameter", + "description": "tag parameter", "in": "path", "required": true, "schema": { @@ -242226,7 +242372,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -242713,7 +242859,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -243272,7 +243418,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -243385,7 +243531,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -243922,7 +244068,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "x-github": { @@ -243995,7 +244141,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -244618,7 +244764,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -244942,7 +245088,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -245126,7 +245272,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -245627,7 +245773,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -245824,7 +245970,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -246099,7 +246245,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -246443,7 +246589,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -246546,7 +246692,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "x-github": { @@ -246610,7 +246756,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -246742,7 +246888,7 @@ ], "responses": { "302": { - "description": "response", + "description": "Response", "headers": { "Location": { "example": "https://codeload.github.com/me/myprivate/legacy.zip/master?login=me&token=thistokenexpires", @@ -246814,7 +246960,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -247032,11 +247178,29 @@ "schema": { "type": "string" } + }, + { + "name": "page", + "description": "Page number of the results to fetch.", + "in": "query", + "schema": { + "type": "integer", + "default": 1 + } + }, + { + "name": "per_page", + "description": "Results per page (max 100).", + "in": "query", + "schema": { + "type": "integer", + "default": 30 + } } ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -247071,7 +247235,7 @@ } }, "415": { - "description": "Preview Header Missing", + "description": "Preview header missing", "content": { "application/json": { "schema": { @@ -247093,7 +247257,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -247187,7 +247351,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -247222,7 +247386,7 @@ } }, "415": { - "description": "Preview Header Missing", + "description": "Preview header missing", "content": { "application/json": { "schema": { @@ -247244,7 +247408,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -247264,7 +247428,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -247373,7 +247537,7 @@ }, "responses": { "202": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -248511,7 +248675,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "x-github": { @@ -248559,7 +248723,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "x-github": { @@ -248617,7 +248781,7 @@ ], "responses": { "302": { - "description": "response", + "description": "Response", "headers": { "Location": { "example": "https://codeload.github.com/me/myprivate/legacy.zip/master?login=me&token=thistokenexpires", @@ -248714,7 +248878,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -249865,7 +250029,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -251445,7 +251609,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -251514,7 +251678,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" } }, "x-github": { @@ -251597,7 +251761,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -253297,10 +253461,10 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "503": { - "description": "Service Unavailable", + "description": "Service unavailable", "content": { "application/json": { "schema": { @@ -253321,7 +253485,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -253491,7 +253655,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -255484,10 +255648,10 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "415": { - "description": "Preview Header Missing", + "description": "Preview header missing", "content": { "application/json": { "schema": { @@ -255603,7 +255767,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -257749,7 +257913,7 @@ } }, "503": { - "description": "Service Unavailable", + "description": "Service unavailable", "content": { "application/json": { "schema": { @@ -257770,7 +257934,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -257839,7 +258003,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -257934,7 +258098,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -258072,10 +258236,10 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -258115,7 +258279,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -258267,7 +258431,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -258976,7 +259140,7 @@ } }, "503": { - "description": "Service Unavailable", + "description": "Service unavailable", "content": { "application/json": { "schema": { @@ -258997,7 +259161,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -259066,7 +259230,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" } }, "x-github": { @@ -259109,7 +259273,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -259383,10 +259547,10 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "415": { - "description": "Preview Header Missing", + "description": "Preview header missing", "content": { "application/json": { "schema": { @@ -259494,7 +259658,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -259738,10 +259902,10 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "503": { - "description": "Service Unavailable", + "description": "Service unavailable", "content": { "application/json": { "schema": { @@ -259762,7 +259926,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -259856,7 +260020,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -259943,7 +260107,7 @@ }, "responses": { "202": { - "description": "response" + "description": "Response" } }, "x-github": { @@ -259971,7 +260135,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -260052,7 +260216,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -260153,7 +260317,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -260762,7 +260926,7 @@ }, "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "requestBody": { @@ -260808,7 +260972,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -260870,7 +261034,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -260950,7 +261114,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -261032,7 +261196,7 @@ }, "responses": { "202": { - "description": "response" + "description": "Response" } }, "requestBody": { @@ -261086,7 +261250,7 @@ }, "responses": { "202": { - "description": "response" + "description": "Response" } }, "requestBody": { @@ -261139,7 +261303,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -261629,7 +261793,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -261735,7 +261899,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -262225,7 +262389,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -262245,7 +262409,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -262370,10 +262534,10 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -262393,7 +262557,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -262532,7 +262696,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -262947,7 +263111,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -263328,7 +263492,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -263728,7 +263892,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -264106,7 +264270,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "x-github": { @@ -264187,7 +264351,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -264565,7 +264729,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -264920,7 +265084,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -265293,7 +265457,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -265645,7 +265809,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "x-github": { @@ -265739,7 +265903,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -266035,7 +266199,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -266318,7 +266482,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -266606,7 +266770,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -266877,7 +267041,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -267033,7 +267197,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -267149,74 +267313,13 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "404": { "description": "Response if team synchronization is set up" }, "422": { - "description": "response", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "errors": { - "type": "array", - "items": { - "type": "object", - "properties": { - "code": { - "type": "string" - }, - "field": { - "type": "string" - }, - "resource": { - "type": "string" - } - } - } - }, - "documentation_url": { - "type": "string", - "example": "\"https://docs.github.com/enterprise-server@2.22/rest\"" - } - } - }, - "examples": { - "response-if-you-attempt-to-add-an-organization-to-a-team": { - "summary": "Response if you attempt to add an organization to a team", - "value": { - "message": "Cannot add an organization as a member.", - "errors": [ - { - "code": "org", - "field": "user", - "resource": "TeamMember" - } - ] - } - }, - "response-if-you-attempt-to-add-a-user-to-a-team-when-they-are-not-a-member-of-at-least-one-other-team-in-the-same-organization": { - "summary": "Response if you attempt to add a user to a team when they are not a member of at least one other team in the same organization", - "value": { - "message": "User isn't a member of this organization. Please invite them first.", - "errors": [ - { - "code": "unaffiliated", - "field": "user", - "resource": "TeamMember" - } - ] - } - } - } - } - } + "description": "Response if you attempt to add an organization to a team or you attempt to add a user to a team when they are not a member of at least one other team in the same organization" }, "403": { "description": "Forbidden", @@ -267283,7 +267386,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "404": { "description": "Response if team synchronization is setup" @@ -267306,7 +267409,7 @@ "/teams/{team_id}/memberships/{username}": { "get": { "summary": "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).", + "description": "**Deprecation 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).", "tags": [ "teams" ], @@ -267335,7 +267438,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -267358,7 +267461,12 @@ "type": "string" }, "state": { - "type": "string" + "description": "The state of the user's membership in the team.", + "type": "string", + "enum": [ + "active", + "pending" + ] } }, "required": [ @@ -267368,14 +267476,6 @@ ] }, "examples": { - "response-if-user-has-an-active-membership-with-team": { - "summary": "Response if user has an active membership with team", - "value": { - "url": "https://api.github.com/teams/1/memberships/octocat", - "role": "member", - "state": "active" - } - }, "response-if-user-is-a-team-maintainer": { "summary": "Response if user is a team maintainer", "value": { @@ -267383,21 +267483,13 @@ "role": "maintainer", "state": "active" } - }, - "response-if-user-has-a-pending-membership-with-team": { - "summary": "Response if user has a pending membership with team", - "value": { - "url": "https://api.github.com/teams/1/memberships/octocat", - "role": "member", - "state": "pending" - } } } } } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -267481,7 +267573,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -267504,7 +267596,12 @@ "type": "string" }, "state": { - "type": "string" + "description": "The state of the user's membership in the team.", + "type": "string", + "enum": [ + "active", + "pending" + ] } }, "required": [ @@ -267514,14 +267611,6 @@ ] }, "examples": { - "response-if-users-membership-with-team-is-now-active": { - "summary": "Response if user's membership with team is now active", - "value": { - "url": "https://api.github.com/teams/1/memberships/octocat", - "role": "member", - "state": "active" - } - }, "response-if-users-membership-with-team-is-now-pending": { "summary": "Response if user's membership with team is now pending", "value": { @@ -267538,57 +267627,10 @@ "description": "Response if team synchronization is set up" }, "422": { - "description": "Response if you attempt to add an organization to a team", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "errors": { - "type": "array", - "items": { - "type": "object", - "properties": { - "code": { - "type": "string" - }, - "field": { - "type": "string" - }, - "resource": { - "type": "string" - } - } - } - }, - "documentation_url": { - "type": "string", - "example": "\"https://help.github.com/articles/github-and-trade-controls\"" - } - } - }, - "examples": { - "response-if-you-attempt-to-add-an-organization-to-a-team": { - "value": { - "message": "Cannot add an organization as a member.", - "errors": [ - { - "code": "org", - "field": "user", - "resource": "TeamMember" - } - ] - } - } - } - } - } + "description": "Response if you attempt to add an organization to a team" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -267652,7 +267694,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "403": { "description": "Response if team synchronization is set up" @@ -267714,7 +267756,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -267978,7 +268020,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -267998,7 +268040,7 @@ } }, "415": { - "description": "Preview Header Missing", + "description": "Preview header missing", "content": { "application/json": { "schema": { @@ -268070,7 +268112,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -268324,7 +268366,7 @@ "description": "Response if project is not managed by this team" }, "415": { - "description": "Preview Header Missing", + "description": "Preview header missing", "content": { "application/json": { "schema": { @@ -268414,7 +268456,7 @@ }, "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "403": { "description": "Response if the project is not owned by the organization", @@ -268443,7 +268485,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -268463,7 +268505,7 @@ } }, "415": { - "description": "Preview Header Missing", + "description": "Preview header missing", "content": { "application/json": { "schema": { @@ -268485,7 +268527,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -268602,10 +268644,10 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -268625,7 +268667,7 @@ } }, "415": { - "description": "Preview Header Missing", + "description": "Preview header missing", "content": { "application/json": { "schema": { @@ -268647,7 +268689,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -268772,7 +268814,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -270507,7 +270549,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -272522,7 +272564,7 @@ }, "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "403": { "description": "Forbidden", @@ -272545,7 +272587,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -272666,7 +272708,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "x-github": { @@ -272916,7 +272958,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -272956,7 +272998,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -273056,7 +273098,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -273599,7 +273641,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -273622,7 +273664,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -273718,7 +273760,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -274019,10 +274061,10 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -274062,7 +274104,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -274082,7 +274124,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -274196,7 +274238,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -274257,10 +274299,10 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -274300,7 +274342,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -274393,7 +274435,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -274458,7 +274500,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -274527,10 +274569,10 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -274570,7 +274612,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -274661,13 +274703,13 @@ }, "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -274707,7 +274749,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -274727,7 +274769,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -274841,7 +274883,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -274997,7 +275039,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -275020,7 +275062,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -275085,7 +275127,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -275241,7 +275283,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -275264,7 +275306,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -275342,7 +275384,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -275365,7 +275407,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -275418,13 +275460,13 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -275464,7 +275506,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -275517,13 +275559,13 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -275563,7 +275605,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -275628,7 +275670,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -275850,10 +275892,10 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -275893,7 +275935,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -275957,7 +275999,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -276166,7 +276208,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -276235,10 +276277,10 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -276278,7 +276320,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -276334,7 +276376,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -276543,7 +276585,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -276563,7 +276605,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -276586,7 +276628,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -276640,10 +276682,10 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -276663,7 +276705,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -276732,7 +276774,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -276755,7 +276797,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -277379,7 +277421,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -277402,7 +277444,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -277422,7 +277464,7 @@ } }, "415": { - "description": "Preview Header Missing", + "description": "Preview header missing", "content": { "application/json": { "schema": { @@ -278624,7 +278666,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -278664,7 +278706,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" } }, "x-github": { @@ -278715,7 +278757,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "403": { "description": "Forbidden", @@ -278738,10 +278780,10 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -278803,7 +278845,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "403": { "description": "Forbidden", @@ -278826,10 +278868,10 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -278885,6 +278927,7 @@ "created", "mentioned", "subscribed", + "repos", "all" ], "default": "assigned" @@ -278973,7 +279016,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -281416,7 +281459,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -281436,7 +281479,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" } }, "x-github": { @@ -281488,7 +281531,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -281574,10 +281617,10 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -281617,7 +281660,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -281687,7 +281730,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -281750,7 +281793,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -281819,10 +281862,10 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -281862,7 +281905,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -281918,7 +281961,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -281981,7 +282024,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -282001,7 +282044,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -282024,7 +282067,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -282078,13 +282121,13 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -282124,7 +282167,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -282202,7 +282245,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -282219,11 +282262,21 @@ }, "state": { "type": "string", - "example": "active" + "description": "The state of the member in the organization. The `pending` state indicates the user has not yet accepted an invitation.", + "example": "active", + "enum": [ + "active", + "pending" + ] }, "role": { "type": "string", - "example": "admin" + "description": "The user's membership type in the organization.", + "example": "admin", + "enum": [ + "admin", + "member" + ] }, "organization_url": { "type": "string", @@ -282540,7 +282593,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -282563,7 +282616,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -282583,7 +282636,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -282687,7 +282740,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -282702,11 +282755,21 @@ }, "state": { "type": "string", - "example": "active" + "description": "The state of the member in the organization. The `pending` state indicates the user has not yet accepted an invitation.", + "example": "active", + "enum": [ + "active", + "pending" + ] }, "role": { "type": "string", - "example": "admin" + "description": "The user's membership type in the organization.", + "example": "admin", + "enum": [ + "admin", + "member" + ] }, "organization_url": { "type": "string", @@ -282992,7 +283055,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -283069,7 +283132,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -283084,11 +283147,21 @@ }, "state": { "type": "string", - "example": "active" + "description": "The state of the member in the organization. The `pending` state indicates the user has not yet accepted an invitation.", + "example": "active", + "enum": [ + "active", + "pending" + ] }, "role": { "type": "string", - "example": "admin" + "description": "The user's membership type in the organization.", + "example": "admin", + "enum": [ + "admin", + "member" + ] }, "organization_url": { "type": "string", @@ -283374,7 +283447,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -283394,7 +283467,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -283508,7 +283581,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -283619,7 +283692,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -283642,7 +283715,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -283715,7 +283788,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -283971,7 +284044,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -283994,7 +284067,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -284014,7 +284087,7 @@ } }, "415": { - "description": "Preview Header Missing", + "description": "Preview header missing", "content": { "application/json": { "schema": { @@ -284036,7 +284109,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -284115,7 +284188,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -284176,10 +284249,10 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -284219,7 +284292,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -284373,7 +284446,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -285474,7 +285547,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -285543,7 +285616,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -285566,7 +285639,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -285717,7 +285790,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -286820,7 +286893,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -286840,10 +286913,10 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -286883,7 +286956,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -287060,7 +287133,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -288976,10 +289049,10 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -289019,7 +289092,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -289075,7 +289148,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "403": { "description": "Forbidden", @@ -289118,7 +289191,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -289138,7 +289211,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" } }, "x-github": { @@ -289175,7 +289248,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "409": { "description": "Conflict", @@ -289198,10 +289271,10 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -289314,7 +289387,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -291537,7 +291610,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -291560,7 +291633,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -291646,7 +291719,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -291666,7 +291739,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -291730,7 +291803,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "403": { "description": "Forbidden", @@ -291753,7 +291826,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -291773,7 +291846,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -291793,7 +291866,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" } }, "x-github": { @@ -291837,10 +291910,10 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -291860,7 +291933,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -291880,7 +291953,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -291948,7 +292021,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -293683,7 +293756,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -293706,7 +293779,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -293771,7 +293844,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -294274,10 +294347,10 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -294362,7 +294435,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -294518,7 +294591,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" } }, "x-github": { @@ -294556,7 +294629,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -295095,7 +295168,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -295168,7 +295241,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -297897,7 +297970,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -300618,7 +300691,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -303339,7 +303412,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -303548,7 +303621,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -303815,7 +303888,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -304233,7 +304306,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -304355,7 +304428,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -304636,7 +304709,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -304683,7 +304756,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -304703,7 +304776,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -304807,7 +304880,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -305348,7 +305421,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -305446,7 +305519,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -305625,7 +305698,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -305894,7 +305967,7 @@ } }, "415": { - "description": "Preview Header Missing", + "description": "Preview header missing", "content": { "application/json": { "schema": { @@ -305916,7 +305989,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -306042,7 +306115,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -308763,7 +308836,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -311528,7 +311601,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -313302,7 +313375,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "x-github": { @@ -313338,7 +313411,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "x-github": { @@ -313422,7 +313495,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -315698,7 +315771,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -317468,7 +317541,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "requestBody": { @@ -317519,7 +317592,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "requestBody": { @@ -317558,7 +317631,7 @@ "operationId": "meta/get-zen", "responses": { "200": { - "description": "response", + "description": "Response", "content": { "text/plain": { "schema": { diff --git a/lib/rest/static/dereferenced/ghes-3.0.deref.json b/lib/rest/static/dereferenced/ghes-3.0.deref.json index 663a6c26ed..30ccbf97c2 100644 --- a/lib/rest/static/dereferenced/ghes-3.0.deref.json +++ b/lib/rest/static/dereferenced/ghes-3.0.deref.json @@ -134,7 +134,7 @@ ], "servers": [ { - "url": "{protocol}://{hostname}", + "url": "{protocol}://{hostname}/api/v3", "variables": { "hostname": { "description": "Self-hosted Enterprise Server or Enterprise Cloud hostname", @@ -162,7 +162,7 @@ "operationId": "meta/root", "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -394,7 +394,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -529,7 +529,7 @@ ], "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -729,7 +729,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -859,7 +859,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -1040,7 +1040,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "x-github": { @@ -1092,7 +1092,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "x-github": { @@ -1140,11 +1140,48 @@ "type": "integer", "default": 1 } + }, + { + "name": "direction", + "description": "One of `asc` (ascending) or `desc` (descending).", + "in": "query", + "required": false, + "schema": { + "type": "string", + "enum": [ + "asc", + "desc" + ], + "default": "desc" + } + }, + { + "name": "sort", + "in": "query", + "required": false, + "schema": { + "type": "string", + "enum": [ + "created", + "updated", + "accessed" + ], + "default": "created" + } + }, + { + "name": "since", + "description": "Only show public keys accessed after the given time.", + "in": "query", + "required": false, + "schema": { + "type": "string" + } } ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -1242,7 +1279,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "x-github": { @@ -1280,7 +1317,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -1407,7 +1444,7 @@ ], "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -1460,7 +1497,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -1607,7 +1644,7 @@ ], "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -1650,7 +1687,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -1815,7 +1852,7 @@ ], "responses": { "202": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -1899,11 +1936,39 @@ "type": "integer", "default": 1 } + }, + { + "name": "direction", + "description": "One of `asc` (ascending) or `desc` (descending).", + "in": "query", + "required": false, + "schema": { + "type": "string", + "enum": [ + "asc", + "desc" + ], + "default": "desc" + } + }, + { + "name": "sort", + "in": "query", + "required": false, + "schema": { + "type": "string", + "enum": [ + "created", + "updated", + "name" + ], + "default": "created" + } } ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -2026,7 +2091,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -2167,7 +2232,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -2279,7 +2344,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -2456,7 +2521,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "422": { "description": "Client Errors", @@ -2544,7 +2609,7 @@ ], "responses": { "202": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -2665,7 +2730,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -2746,11 +2811,40 @@ "type": "integer", "default": 1 } + }, + { + "name": "direction", + "description": "One of `asc` (ascending) or `desc` (descending).", + "in": "query", + "required": false, + "schema": { + "type": "string", + "enum": [ + "asc", + "desc" + ], + "default": "desc" + } + }, + { + "name": "sort", + "description": "One of `created` (when the repository was starred) or `updated` (when it was last pushed to) or `name`.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "enum": [ + "created", + "updated", + "name" + ], + "default": "created" + } } ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -2907,7 +3001,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -3130,7 +3224,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -3292,7 +3386,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -3502,7 +3596,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "x-github": { @@ -3554,7 +3648,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -4264,7 +4358,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "x-github": { @@ -4292,7 +4386,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -4496,7 +4590,7 @@ ], "responses": { "202": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -4572,7 +4666,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "x-github": { @@ -4610,7 +4704,7 @@ ], "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -5311,7 +5405,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "x-github": { @@ -5342,7 +5436,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -5671,7 +5765,7 @@ ], "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -5997,7 +6091,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -6017,7 +6111,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -6072,7 +6166,7 @@ }, "responses": { "200": { - "description": "Default response", + "description": "Response", "content": { "application/json": { "schema": { @@ -6178,7 +6272,7 @@ }, "responses": { "200": { - "description": "Default response", + "description": "Response", "content": { "application/json": { "schema": { @@ -6841,7 +6935,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -7348,7 +7442,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -7368,7 +7462,7 @@ } }, "415": { - "description": "Preview Header Missing", + "description": "Preview header missing", "content": { "application/json": { "schema": { @@ -7424,10 +7518,10 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -7764,7 +7858,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -8954,7 +9048,7 @@ } }, "415": { - "description": "Preview Header Missing", + "description": "Preview header missing", "content": { "application/json": { "schema": { @@ -8976,7 +9070,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -8996,7 +9090,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -9016,7 +9110,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -9121,10 +9215,10 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -9178,10 +9272,10 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -9242,11 +9336,20 @@ "type": "integer", "default": 1 } + }, + { + "name": "client_id", + "in": "query", + "required": false, + "description": "The client ID of your GitHub app.", + "schema": { + "type": "string" + } } ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -9464,7 +9567,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -9487,7 +9590,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -9507,7 +9610,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -9566,7 +9669,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -9771,7 +9874,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -9794,7 +9897,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -9851,10 +9954,10 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -9877,7 +9980,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -9954,10 +10057,10 @@ }, "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -10070,7 +10173,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "x-github": { @@ -10130,7 +10233,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -10801,7 +10904,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -10870,7 +10973,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -10942,7 +11045,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -11613,7 +11716,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -11737,10 +11840,10 @@ }, "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -12144,7 +12247,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -12848,7 +12951,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -12888,7 +12991,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -12908,7 +13011,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -13021,7 +13124,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -13697,7 +13800,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -13762,7 +13865,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -14478,7 +14581,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "x-github": { @@ -14519,7 +14622,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -14833,7 +14936,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -14853,7 +14956,7 @@ } }, "415": { - "description": "Preview Header Missing", + "description": "Preview header missing", "content": { "application/json": { "schema": { @@ -14916,11 +15019,20 @@ "type": "integer", "default": 1 } + }, + { + "name": "client_id", + "in": "query", + "required": false, + "description": "The client ID of your GitHub app.", + "schema": { + "type": "string" + } } ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -15595,7 +15707,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -15618,7 +15730,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -15638,7 +15750,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -15733,7 +15845,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -16391,7 +16503,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -16480,7 +16592,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -16503,7 +16615,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -17922,7 +18034,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -17991,7 +18103,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -18014,7 +18126,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -19437,7 +19549,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -19545,7 +19657,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -20195,7 +20307,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -20218,7 +20330,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -20325,7 +20437,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -20975,7 +21087,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -21081,10 +21193,10 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -21107,7 +21219,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -21158,7 +21270,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -21221,10 +21333,10 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "415": { - "description": "Preview Header Missing", + "description": "Preview header missing", "content": { "application/json": { "schema": { @@ -21285,7 +21397,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -21338,7 +21450,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -21358,10 +21470,10 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "415": { - "description": "Preview Header Missing", + "description": "Preview header missing", "content": { "application/json": { "schema": { @@ -21449,7 +21561,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -21499,7 +21611,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -21568,7 +21680,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -21608,7 +21720,7 @@ } }, "415": { - "description": "Preview Header Missing", + "description": "Preview header missing", "content": { "application/json": { "schema": { @@ -21630,7 +21742,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -21695,10 +21807,10 @@ } } }, - "description": "response" + "description": "Response" }, "304": { - "description": "Not Modified" + "description": "Not modified" } }, "x-github": { @@ -21726,7 +21838,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -21813,7 +21925,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -21873,7 +21985,7 @@ }, "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "x-github": { @@ -21901,7 +22013,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -21978,7 +22090,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -22238,7 +22350,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -22323,7 +22435,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "requestBody": { @@ -22416,7 +22528,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -22568,7 +22680,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "requestBody": { @@ -22644,7 +22756,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "x-github": { @@ -22690,7 +22802,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "x-github": { @@ -22729,7 +22841,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -22802,7 +22914,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "requestBody": { @@ -22897,7 +23009,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -23075,7 +23187,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -23174,7 +23286,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -23299,7 +23411,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -23396,7 +23508,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "x-github": { @@ -23462,7 +23574,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -23651,7 +23763,7 @@ }, "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "x-github": { @@ -23708,7 +23820,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "x-github": { @@ -23763,7 +23875,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "x-github": { @@ -23829,7 +23941,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -24054,7 +24166,7 @@ }, "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "x-github": { @@ -24111,7 +24223,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "x-github": { @@ -24166,7 +24278,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "x-github": { @@ -24223,7 +24335,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -24409,7 +24521,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -24516,7 +24628,7 @@ ], "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -25575,7 +25687,7 @@ ], "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -26643,7 +26755,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -26788,7 +26900,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "x-github": { @@ -26836,7 +26948,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -29504,7 +29616,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -29527,7 +29639,7 @@ } }, "503": { - "description": "Service Unavailable", + "description": "Service unavailable", "content": { "application/json": { "schema": { @@ -29576,7 +29688,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -29878,7 +29990,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -30296,7 +30408,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -30405,7 +30517,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -30638,7 +30750,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -30707,10 +30819,10 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -30804,7 +30916,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -31222,7 +31334,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -31291,7 +31403,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -31368,7 +31480,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -31786,7 +31898,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -31806,7 +31918,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -31865,7 +31977,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -32123,7 +32235,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -32143,7 +32255,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" } }, "x-github": { @@ -32250,7 +32362,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -32475,7 +32587,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -32544,7 +32656,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -32598,10 +32710,10 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -32621,7 +32733,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -32698,7 +32810,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -32930,10 +33042,10 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -33027,7 +33139,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -33254,10 +33366,10 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -33342,7 +33454,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -33561,10 +33673,10 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -33680,7 +33792,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -33899,7 +34011,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -33962,13 +34074,13 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -34062,7 +34174,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -34275,7 +34387,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -34295,7 +34407,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -34372,7 +34484,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -34641,7 +34753,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -34661,7 +34773,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -34718,7 +34830,7 @@ ], "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -35131,7 +35243,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -35151,7 +35263,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -35220,7 +35332,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -35295,7 +35407,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -35352,10 +35464,10 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -35375,7 +35487,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -35432,13 +35544,13 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -35522,7 +35634,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -35747,7 +35859,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -35816,7 +35928,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -35884,7 +35996,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -35906,7 +36018,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" } }, "x-github": { @@ -35944,7 +36056,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -35978,7 +36090,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" } }, "x-github": { @@ -36026,7 +36138,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -37168,10 +37280,10 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -37223,7 +37335,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "x-github": { @@ -37262,6 +37374,7 @@ "created", "mentioned", "subscribed", + "repos", "all" ], "default": "assigned" @@ -37382,7 +37495,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -39825,7 +39938,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -39894,10 +40007,10 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -39961,11 +40074,20 @@ "type": "integer", "default": 30 } + }, + { + "name": "page", + "description": "Page number of the results to fetch.", + "in": "query", + "schema": { + "type": "integer", + "default": 1 + } } ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -40071,7 +40193,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" } }, "x-github": { @@ -40109,7 +40231,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -40262,7 +40384,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -40282,7 +40404,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" } }, "x-github": { @@ -40345,7 +40467,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "headers": { "Content-Type": { "example": "text/html", @@ -40375,7 +40497,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" } }, "x-github": { @@ -40420,7 +40542,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "headers": { "X-CommonMarker-Version": { "example": "0.17.4", @@ -40438,7 +40560,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" } }, "x-github": { @@ -40469,7 +40591,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -40502,7 +40624,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" } }, "x-github": { @@ -40566,7 +40688,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -43234,7 +43356,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -43274,10 +43396,10 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "301": { - "description": "Moved Permanently" + "description": "Moved permanently" } }, "x-github": { @@ -43363,7 +43485,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -45022,7 +45144,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -45045,7 +45167,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -45065,7 +45187,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -45180,7 +45302,7 @@ }, "responses": { "202": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -45195,10 +45317,10 @@ } }, "205": { - "description": "response" + "description": "Response" }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -45221,7 +45343,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -45277,7 +45399,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -46923,7 +47045,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -46946,7 +47068,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -47000,10 +47122,10 @@ ], "responses": { "205": { - "description": "response" + "description": "Response" }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -47062,7 +47184,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -47127,7 +47249,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -47150,7 +47272,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -47220,7 +47342,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -47285,7 +47407,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -47308,7 +47430,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -47362,10 +47484,10 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -47388,7 +47510,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -47440,7 +47562,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/octocat-stream": { "schema": { @@ -47494,7 +47616,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -47605,7 +47727,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" } }, "x-github": { @@ -47643,7 +47765,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -47932,7 +48054,9 @@ "plan": { "name": "Medium", "space": 400, - "private_repos": 20 + "private_repos": 20, + "filled_seats": 4, + "seats": 5 }, "default_repository_permission": "read", "members_can_create_repositories": true, @@ -47943,54 +48067,13 @@ "members_can_create_internal_repositories": false, "members_can_create_pages": true } - }, - "response-with-git-hub-plan-information": { - "summary": "Response with GitHub plan information", - "value": { - "login": "github", - "id": 1, - "node_id": "MDEyOk9yZ2FuaXphdGlvbjE=", - "url": "https://api.github.com/orgs/github", - "repos_url": "https://api.github.com/orgs/github/repos", - "events_url": "https://api.github.com/orgs/github/events", - "hooks_url": "https://api.github.com/orgs/github/hooks", - "issues_url": "https://api.github.com/orgs/github/issues", - "members_url": "https://api.github.com/orgs/github/members{/member}", - "public_members_url": "https://api.github.com/orgs/github/public_members{/member}", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "description": "A great organization", - "name": "github", - "company": "GitHub", - "blog": "https://github.com/blog", - "location": "San Francisco", - "email": "octocat@github.com", - "twitter_username": "github", - "is_verified": true, - "has_organization_projects": true, - "has_repository_projects": true, - "public_repos": 2, - "public_gists": 1, - "followers": 20, - "following": 0, - "html_url": "https://github.com/octocat", - "created_at": "2008-01-14T04:33:35Z", - "updated_at": "2014-03-03T18:58:10Z", - "type": "Organization", - "plan": { - "name": "team", - "space": 976562499, - "private_repos": 999999, - "filled_seats": 4, - "seats": 5 - } - } } } } } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -48152,7 +48235,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -48457,7 +48540,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -48573,7 +48656,7 @@ } }, "415": { - "description": "Preview Header Missing", + "description": "Preview header missing", "content": { "application/json": { "schema": { @@ -48634,7 +48717,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -48718,7 +48801,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "requestBody": { @@ -48810,7 +48893,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -49958,7 +50041,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "requestBody": { @@ -50032,7 +50115,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "x-github": { @@ -50076,7 +50159,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "x-github": { @@ -50114,7 +50197,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -50186,7 +50269,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "requestBody": { @@ -50280,7 +50363,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -50470,7 +50553,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -50577,7 +50660,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -50710,7 +50793,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -50815,7 +50898,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "x-github": { @@ -50858,11 +50941,29 @@ "schema": { "type": "integer" } + }, + { + "name": "page", + "description": "Page number of the results to fetch.", + "in": "query", + "schema": { + "type": "integer", + "default": 1 + } + }, + { + "name": "per_page", + "description": "Results per page (max 100).", + "in": "query", + "schema": { + "type": "integer", + "default": 30 + } } ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -52047,7 +52148,7 @@ }, "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "x-github": { @@ -52102,7 +52203,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "x-github": { @@ -52155,7 +52256,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "x-github": { @@ -52220,7 +52321,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -52444,7 +52545,7 @@ }, "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "x-github": { @@ -52500,7 +52601,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "x-github": { @@ -52554,7 +52655,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "x-github": { @@ -52610,7 +52711,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -52799,7 +52900,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -52905,7 +53006,7 @@ ], "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -53963,7 +54064,7 @@ ], "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -55030,7 +55131,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -55174,7 +55275,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "x-github": { @@ -55230,7 +55331,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -55363,7 +55464,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -55459,7 +55560,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -55652,7 +55753,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "x-github": { @@ -55695,11 +55796,29 @@ "schema": { "type": "string" } + }, + { + "name": "page", + "description": "Page number of the results to fetch.", + "in": "query", + "schema": { + "type": "integer", + "default": 1 + } + }, + { + "name": "per_page", + "description": "Results per page (max 100).", + "in": "query", + "schema": { + "type": "integer", + "default": 30 + } } ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -57351,7 +57470,7 @@ }, "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "x-github": { @@ -57521,7 +57640,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -60242,7 +60361,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -60369,7 +60488,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -60506,7 +60625,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -60628,7 +60747,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -60697,7 +60816,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -60760,7 +60879,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -60874,7 +60993,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -61001,7 +61120,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -61114,7 +61233,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -61183,7 +61302,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -61244,10 +61363,10 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -61310,7 +61429,7 @@ ], "responses": { "200": { - "description": "Default response", + "description": "Response", "content": { "application/json": { "schema": { @@ -61434,7 +61553,7 @@ }, "responses": { "200": { - "description": "Default response", + "description": "Response", "content": { "application/json": { "schema": { @@ -61522,10 +61641,10 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -61580,7 +61699,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -62140,7 +62259,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -62720,6 +62839,7 @@ "created", "mentioned", "subscribed", + "repos", "all" ], "default": "assigned" @@ -62808,7 +62928,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -65251,7 +65371,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -65357,7 +65477,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -65524,7 +65644,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -65694,7 +65814,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "403": { "description": "Forbidden", @@ -65731,7 +65851,7 @@ "/orgs/{org}/memberships/{username}": { "get": { "summary": "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.", + "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.", "tags": [ "orgs" ], @@ -65760,7 +65880,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -65775,11 +65895,21 @@ }, "state": { "type": "string", - "example": "active" + "description": "The state of the member in the organization. The `pending` state indicates the user has not yet accepted an invitation.", + "example": "active", + "enum": [ + "active", + "pending" + ] }, "role": { "type": "string", - "example": "admin" + "description": "The user's membership type in the organization.", + "example": "admin", + "enum": [ + "admin", + "member" + ] }, "organization_url": { "type": "string", @@ -66040,99 +66170,13 @@ "site_admin": false } } - }, - "response-if-user-has-an-active-membership-with-organization": { - "summary": "Response if user has an active membership with organization", - "value": { - "url": "https://api.github.com/orgs/octocat/memberships/defunkt", - "state": "active", - "role": "member", - "organization_url": "https://api.github.com/orgs/octocat", - "organization": { - "login": "github", - "id": 1, - "node_id": "MDEyOk9yZ2FuaXphdGlvbjE=", - "url": "https://api.github.com/orgs/github", - "repos_url": "https://api.github.com/orgs/github/repos", - "events_url": "https://api.github.com/orgs/github/events", - "hooks_url": "https://api.github.com/orgs/github/hooks", - "issues_url": "https://api.github.com/orgs/github/issues", - "members_url": "https://api.github.com/orgs/github/members{/member}", - "public_members_url": "https://api.github.com/orgs/github/public_members{/member}", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "description": "A great organization" - }, - "user": { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - } - } - }, - "response-if-user-has-a-pending-membership-with-organization": { - "summary": "Response if user has a pending membership with organization", - "value": { - "url": "https://api.github.com/orgs/invitocat/memberships/defunkt", - "state": "pending", - "role": "member", - "organization_url": "https://api.github.com/orgs/invitocat", - "organization": { - "login": "github", - "id": 1, - "node_id": "MDEyOk9yZ2FuaXphdGlvbjE=", - "url": "https://api.github.com/orgs/github", - "repos_url": "https://api.github.com/orgs/github/repos", - "events_url": "https://api.github.com/orgs/github/events", - "hooks_url": "https://api.github.com/orgs/github/hooks", - "issues_url": "https://api.github.com/orgs/github/issues", - "members_url": "https://api.github.com/orgs/github/members{/member}", - "public_members_url": "https://api.github.com/orgs/github/public_members{/member}", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "description": "A great organization" - }, - "user": { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - } - } } } } } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -66233,7 +66277,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -66248,11 +66292,21 @@ }, "state": { "type": "string", - "example": "active" + "description": "The state of the member in the organization. The `pending` state indicates the user has not yet accepted an invitation.", + "example": "active", + "enum": [ + "active", + "pending" + ] }, "role": { "type": "string", - "example": "admin" + "description": "The user's membership type in the organization.", + "example": "admin", + "enum": [ + "admin", + "member" + ] }, "organization_url": { "type": "string", @@ -66471,51 +66525,8 @@ ] }, "examples": { - "response-if-user-was-previously-unaffiliated-with-organization": { - "summary": "Response if user was previously unaffiliated with organization", - "value": { - "url": "https://api.github.com/orgs/invitocat/memberships/defunkt", - "state": "pending", - "role": "admin", - "organization_url": "https://api.github.com/orgs/invitocat", - "organization": { - "login": "github", - "id": 1, - "node_id": "MDEyOk9yZ2FuaXphdGlvbjE=", - "url": "https://api.github.com/orgs/github", - "repos_url": "https://api.github.com/orgs/github/repos", - "events_url": "https://api.github.com/orgs/github/events", - "hooks_url": "https://api.github.com/orgs/github/hooks", - "issues_url": "https://api.github.com/orgs/github/issues", - "members_url": "https://api.github.com/orgs/github/members{/member}", - "public_members_url": "https://api.github.com/orgs/github/public_members{/member}", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "description": "A great organization" - }, - "user": { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - } - } - }, "response-if-user-already-had-membership-with-organization": { - "summary": "Response if user already had membership with organization", + "summary": "Response if user has an active admin membership with organization", "value": { "url": "https://api.github.com/orgs/octocat/memberships/defunkt", "state": "active", @@ -66562,7 +66573,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -66692,7 +66703,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "403": { "description": "Forbidden", @@ -66715,7 +66726,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -66802,7 +66813,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -67007,41 +67018,10 @@ "description": "User was converted" }, "403": { - "description": "response", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - } - } - }, - "examples": { - "response-if-user-is-the-last-owner-of-the-organization": { - "summary": "Response if user is the last owner of the organization", - "value": { - "message": "Cannot convert the last owner to an outside collaborator", - "documentation_url": "https://docs.github.com/enterprise-server@3.0/rest/reference/orgs#convert-member-to-outside-collaborator" - } - }, - "response-if-user-is-not-a-member-of-the-organization": { - "summary": "Response if user is not a member of the organization", - "value": { - "message": " is not a member of the organization.", - "documentation_url": "https://docs.github.com/enterprise-server@3.0/rest/reference/orgs#convert-member-to-outside-collaborator" - } - } - } - } - } + "description": "Response if user is the last owner of the organization or not a member of the organization" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -67102,7 +67082,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "422": { "description": "Response if user is a member of the organization", @@ -67180,11 +67160,40 @@ "type": "integer", "default": 1 } + }, + { + "name": "direction", + "description": "One of `asc` (ascending) or `desc` (descending).", + "in": "query", + "required": false, + "schema": { + "type": "string", + "enum": [ + "asc", + "desc" + ], + "default": "desc" + } + }, + { + "name": "sort", + "description": "The sort order for the response collection.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "enum": [ + "created", + "updated", + "name" + ], + "default": "created" + } } ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -67274,7 +67283,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -67357,7 +67366,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -67463,7 +67472,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -67573,7 +67582,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -67842,7 +67851,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -67935,7 +67944,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -68191,7 +68200,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -68231,7 +68240,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -68271,7 +68280,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -68358,7 +68367,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -68604,7 +68613,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "403": { "description": "Forbidden", @@ -68668,7 +68677,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "x-github": { @@ -68771,7 +68780,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -70655,7 +70664,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -71778,7 +71787,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -71909,7 +71918,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -72205,7 +72214,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -72695,7 +72704,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -72828,7 +72837,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -73318,7 +73327,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -73427,7 +73436,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -73959,7 +73968,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "x-github": { @@ -74034,11 +74043,20 @@ "type": "integer", "default": 1 } + }, + { + "name": "pinned", + "in": "query", + "required": false, + "description": "Pinned discussions only filter", + "schema": { + "type": "string" + } } ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -74459,7 +74477,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -74846,7 +74864,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -75252,7 +75270,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -75636,7 +75654,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "x-github": { @@ -75723,7 +75741,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -76107,7 +76125,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -76468,7 +76486,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -76847,7 +76865,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -77205,7 +77223,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "x-github": { @@ -77305,7 +77323,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -77607,7 +77625,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -77875,7 +77893,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "x-github": { @@ -77971,7 +77989,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -78265,7 +78283,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -78525,7 +78543,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "x-github": { @@ -78609,7 +78627,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -78779,7 +78797,7 @@ "/orgs/{org}/teams/{team_slug}/memberships/{username}": { "get": { "summary": "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).", + "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).", "tags": [ "teams" ], @@ -78817,7 +78835,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -78840,7 +78858,12 @@ "type": "string" }, "state": { - "type": "string" + "description": "The state of the user's membership in the team.", + "type": "string", + "enum": [ + "active", + "pending" + ] } }, "required": [ @@ -78850,14 +78873,6 @@ ] }, "examples": { - "response-if-user-has-an-active-membership-with-team": { - "summary": "Response if user has an active membership with team", - "value": { - "url": "https://api.github.com/teams/1/memberships/octocat", - "role": "member", - "state": "active" - } - }, "response-if-user-is-a-team-maintainer": { "summary": "Response if user is a team maintainer", "value": { @@ -78865,14 +78880,6 @@ "role": "maintainer", "state": "active" } - }, - "response-if-user-has-a-pending-membership-with-team": { - "summary": "Response if user has a pending membership with team", - "value": { - "url": "https://api.github.com/teams/1/memberships/octocat", - "role": "member", - "state": "pending" - } } } } @@ -78952,7 +78959,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -78975,7 +78982,12 @@ "type": "string" }, "state": { - "type": "string" + "description": "The state of the user's membership in the team.", + "type": "string", + "enum": [ + "active", + "pending" + ] } }, "required": [ @@ -78985,14 +78997,6 @@ ] }, "examples": { - "response-if-users-membership-with-team-is-now-active": { - "summary": "Response if user's membership with team is now active", - "value": { - "url": "https://api.github.com/teams/1/memberships/octocat", - "role": "member", - "state": "active" - } - }, "response-if-users-membership-with-team-is-now-pending": { "summary": "Response if user's membership with team is now pending", "value": { @@ -79009,50 +79013,7 @@ "description": "Response if team synchronization is set up" }, "422": { - "description": "Response if you attempt to add an organization to a team", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "errors": { - "type": "array", - "items": { - "type": "object", - "properties": { - "code": { - "type": "string" - }, - "field": { - "type": "string" - }, - "resource": { - "type": "string" - } - } - } - } - } - }, - "examples": { - "response-if-you-attempt-to-add-an-organization-to-a-team": { - "value": { - "message": "Cannot add an organization as a member.", - "errors": [ - { - "code": "org", - "field": "user", - "resource": "TeamMember" - } - ] - } - } - } - } - } + "description": "Response if you attempt to add an organization to a team" } }, "x-github": { @@ -79105,7 +79066,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "403": { "description": "Response if team synchronization is set up" @@ -79173,7 +79134,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -79493,7 +79454,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -79822,7 +79783,7 @@ }, "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "403": { "description": "Response if the project is not owned by the organization", @@ -79905,7 +79866,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "x-github": { @@ -79970,7 +79931,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -83714,7 +83675,7 @@ }, "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "x-github": { @@ -83775,7 +83736,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "x-github": { @@ -84067,7 +84028,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -84294,7 +84255,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -84317,7 +84278,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -84337,7 +84298,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -84417,7 +84378,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -84644,7 +84605,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -84667,7 +84628,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -84687,7 +84648,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -84707,7 +84668,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -84775,10 +84736,10 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -84805,7 +84766,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -84825,7 +84786,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -84910,7 +84871,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -84923,7 +84884,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -84964,7 +84925,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -84984,7 +84945,7 @@ } }, "503": { - "description": "Service Unavailable", + "description": "Service unavailable", "content": { "application/json": { "schema": { @@ -85019,7 +84980,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -85128,7 +85089,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -85205,7 +85166,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -85228,7 +85189,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -85248,7 +85209,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -85325,7 +85286,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -85402,7 +85363,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -85425,7 +85386,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -85483,10 +85444,10 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -85509,7 +85470,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -85602,7 +85563,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -85842,7 +85803,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -85865,7 +85826,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -85966,7 +85927,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -86193,7 +86154,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -86216,7 +86177,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -86236,7 +86197,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -86332,7 +86293,7 @@ } }, "503": { - "description": "Service Unavailable", + "description": "Service unavailable", "content": { "application/json": { "schema": { @@ -86427,7 +86388,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -86440,7 +86401,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -86463,7 +86424,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -86493,7 +86454,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -86552,7 +86513,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -86808,7 +86769,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -86831,7 +86792,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -86929,7 +86890,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -87188,7 +87149,7 @@ "description": "Response if the authenticated user does not have access to the project" }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -87215,7 +87176,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -87255,7 +87216,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -87325,7 +87286,7 @@ "description": "Delete Success" }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -87352,7 +87313,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -87392,7 +87353,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -87484,7 +87445,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -87640,7 +87601,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -87660,7 +87621,7 @@ } }, "415": { - "description": "Preview Header Missing", + "description": "Preview header missing", "content": { "application/json": { "schema": { @@ -87682,7 +87643,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -87751,7 +87712,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -87774,7 +87735,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -87863,10 +87824,10 @@ }, "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -87886,7 +87847,7 @@ } }, "415": { - "description": "Preview Header Missing", + "description": "Preview header missing", "content": { "application/json": { "schema": { @@ -87908,7 +87869,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -87977,7 +87938,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -88000,7 +87961,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -88065,13 +88026,13 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -88091,7 +88052,7 @@ } }, "415": { - "description": "Preview Header Missing", + "description": "Preview header missing", "content": { "application/json": { "schema": { @@ -88133,7 +88094,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -88202,7 +88163,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -88269,7 +88230,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -88434,7 +88395,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -88454,7 +88415,7 @@ } }, "415": { - "description": "Preview Header Missing", + "description": "Preview header missing", "content": { "application/json": { "schema": { @@ -88476,7 +88437,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -88545,7 +88506,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -88568,7 +88529,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -88645,7 +88606,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -88735,7 +88696,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -88758,7 +88719,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -88834,7 +88795,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -88907,7 +88868,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -88930,7 +88891,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -88960,7 +88921,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -89012,7 +88973,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -89238,10 +89199,10 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -89296,10 +89257,10 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -89322,7 +89283,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -89362,7 +89323,7 @@ } }, "415": { - "description": "Preview Header Missing", + "description": "Preview header missing", "content": { "application/json": { "schema": { @@ -89434,7 +89395,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -94146,7 +94107,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -94166,7 +94127,7 @@ } }, "301": { - "description": "Moved Permanently" + "description": "Moved permanently" } }, "x-github": { @@ -94315,7 +94276,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -98515,7 +98476,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -98584,7 +98545,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -98654,7 +98615,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "403": { "description": "If an organization owner has configured the organization to prevent members from deleting organization-owned repositories, a member will get this response:", @@ -98679,7 +98640,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -98760,7 +98721,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -98938,7 +98899,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -99074,7 +99035,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "x-github": { @@ -99137,7 +99098,7 @@ ], "responses": { "302": { - "description": "response", + "description": "Response", "headers": { "Location": { "example": "https://pipelines.actions.githubusercontent.com/OhgS4QRKqmgx7bKC27GKU83jnQjyeqG8oIMTge8eqtheppcmw8/_apis/pipelines/1/runs/176/signedlogcontent?urlExpires=2020-01-24T18%3A10%3A31.5729946Z&urlSigningMethod=HMACV1&urlSignature=agG73JakPYkHrh06seAkvmH7rBR4Ji4c2%2B6a2ejYh3E%3D", @@ -99200,7 +99161,7 @@ ], "responses": { "202": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -99506,7 +99467,7 @@ ], "responses": { "302": { - "description": "response", + "description": "Response", "headers": { "Location": { "example": "https://pipelines.actions.githubusercontent.com/ab1f3cCFPB34Nd6imvFxpGZH5hNlDp2wijMwl2gDoO0bcrrlJj/_apis/pipelines/1/jobs/19/signedlogcontent?urlExpires=2020-01-22T22%3A44%3A54.1389777Z&urlSigningMethod=HMACV1&urlSignature=2TUDfIg4fm36OJmfPy6km5QD5DLCOkBVzvhWZM8B%2BUY%3D", @@ -99560,7 +99521,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -99643,7 +99604,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "requestBody": { @@ -99720,7 +99681,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -99800,7 +99761,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "requestBody": { @@ -99902,7 +99863,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -100099,7 +100060,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -100213,7 +100174,7 @@ ], "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -101279,7 +101240,7 @@ ], "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -102354,7 +102315,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -102506,7 +102467,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "x-github": { @@ -102621,7 +102582,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -106155,7 +106116,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -109659,7 +109620,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "x-github": { @@ -109732,7 +109693,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -109910,7 +109871,7 @@ ], "responses": { "202": { - "description": "response" + "description": "Response" } }, "x-github": { @@ -109997,7 +109958,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -110331,7 +110292,7 @@ ], "responses": { "302": { - "description": "response", + "description": "Response", "headers": { "Location": { "example": "https://pipelines.actions.githubusercontent.com/ab1f3cCFPB34Nd6imvFxpGZH5hNlDp2wijMwl2gDoO0bcrrlJj/_apis/pipelines/1/runs/19/signedlogcontent?urlExpires=2020-01-22T22%3A44%3A54.1389777Z&urlSigningMethod=HMACV1&urlSignature=2TUDfIg4fm36OJmfPy6km5QD5DLCOkBVzvhWZM8B%2BUY%3D", @@ -110392,7 +110353,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "x-github": { @@ -110447,7 +110408,7 @@ ], "responses": { "201": { - "description": "response" + "description": "Response" } }, "x-github": { @@ -110511,7 +110472,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -110628,7 +110589,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -110732,7 +110693,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -110903,7 +110864,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "x-github": { @@ -110967,7 +110928,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -111159,7 +111120,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -111311,7 +111272,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "x-github": { @@ -111373,7 +111334,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "requestBody": { @@ -111468,7 +111429,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "x-github": { @@ -111599,7 +111560,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -115142,7 +115103,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -115298,7 +115259,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -115462,7 +115423,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -116188,18 +116149,6 @@ }, "examples": { "default": { - "value": [ - { - "name": "master", - "commit": { - "sha": "c5b97d5ae6c19d5c5df71a34c7fbeeda2479ccbc", - "url": "https://api.github.com/repos/octocat/Hello-World/commits/c5b97d5ae6c19d5c5df71a34c7fbeeda2479ccbc" - }, - "protected": true - } - ] - }, - "with-protection": { "value": [ { "name": "master", @@ -116235,7 +116184,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -116308,7 +116257,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -117626,7 +117575,7 @@ } }, "415": { - "description": "Preview Header Missing", + "description": "Preview header missing", "content": { "application/json": { "schema": { @@ -117648,7 +117597,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -117721,7 +117670,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -118567,7 +118516,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -118806,7 +118755,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -119537,7 +119486,7 @@ } }, "415": { - "description": "Preview Header Missing", + "description": "Preview header missing", "content": { "application/json": { "schema": { @@ -119559,7 +119508,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -119589,7 +119538,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -119664,7 +119613,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "403": { "description": "Forbidden", @@ -119740,7 +119689,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -119826,7 +119775,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -119915,7 +119864,7 @@ "description": "No Content" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -119988,7 +119937,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/vnd.github.luke-cage-preview+json": { "schema": { @@ -120467,7 +120416,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -120835,7 +120784,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -120962,7 +120911,7 @@ "description": "No Content" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -121035,7 +120984,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -121070,7 +121019,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -121145,7 +121094,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -121180,7 +121129,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -121258,7 +121207,7 @@ "description": "No Content" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -121335,7 +121284,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -121390,7 +121339,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -121489,7 +121438,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -121544,7 +121493,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -121564,7 +121513,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -121740,7 +121689,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -121756,7 +121705,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -121853,7 +121802,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -121870,7 +121819,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -121959,7 +121908,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -122057,7 +122006,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -122073,7 +122022,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -122142,7 +122091,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -122240,7 +122189,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -122256,7 +122205,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -122276,7 +122225,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -122399,7 +122348,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -122770,7 +122719,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -122897,7 +122846,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -123196,7 +123145,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -123293,7 +123242,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -123592,7 +123541,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -123739,7 +123688,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -124038,7 +123987,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -124185,7 +124134,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -124484,7 +124433,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -124607,7 +124556,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -124778,7 +124727,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -124875,7 +124824,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -125046,7 +124995,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -125193,7 +125142,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -125364,7 +125313,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -125511,7 +125460,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -125682,7 +125631,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -125805,7 +125754,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -125953,7 +125902,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -126050,7 +125999,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -126198,7 +126147,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -126345,7 +126294,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -126493,7 +126442,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -126640,7 +126589,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -126788,7 +126737,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -127125,7 +127074,7 @@ }, "examples": { "example-of-in-progress-conclusion": { - "summary": "Example of in_progress conclusion", + "summary": "Response for in_progress conclusion", "value": { "name": "mighty_readme", "head_sha": "ce587453ced02b1526dfb4cb910479d431683101", @@ -127140,7 +127089,7 @@ } }, "example-of-completed-conclusion": { - "summary": "Example of completed conclusion", + "summary": "Response for completed conclusion", "value": { "name": "mighty_readme", "head_sha": "ce587453ced02b1526dfb4cb910479d431683101", @@ -127194,7 +127143,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -128010,101 +127959,8 @@ ] }, "examples": { - "example-of-in-progress-conclusion": { - "summary": "Example of in_progress conclusion", - "value": { - "id": 4, - "head_sha": "ce587453ced02b1526dfb4cb910479d431683101", - "node_id": "MDg6Q2hlY2tSdW40", - "external_id": "42", - "url": "https://api.github.com/repos/github/hello-world/check-runs/4", - "html_url": "https://github.com/github/hello-world/runs/4", - "details_url": "https://example.com", - "status": "in_progress", - "conclusion": "neutral", - "started_at": "2018-05-04T01:14:52Z", - "completed_at": null, - "output": { - "title": "Mighty Readme Report", - "summary": "", - "text": "", - "annotations_count": 1, - "annotations_url": "https://api.github.com/repos/github/hello-world/check-runs/4/annotations" - }, - "name": "mighty_readme", - "check_suite": { - "id": 5 - }, - "app": { - "id": 1, - "slug": "octoapp", - "node_id": "MDExOkludGVncmF0aW9uMQ==", - "owner": { - "login": "github", - "id": 1, - "node_id": "MDEyOk9yZ2FuaXphdGlvbjE=", - "url": "https://api.github.com/orgs/github", - "repos_url": "https://api.github.com/orgs/github/repos", - "events_url": "https://api.github.com/orgs/github/events", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": true - }, - "name": "Octocat App", - "description": "", - "external_url": "https://example.com", - "html_url": "https://github.com/apps/octoapp", - "created_at": "2017-07-08T16:18:44-04:00", - "updated_at": "2017-07-08T16:18:44-04:00", - "permissions": { - "metadata": "read", - "contents": "read", - "issues": "write", - "single_file": "write" - }, - "events": [ - "push", - "pull_request" - ] - }, - "pull_requests": [ - { - "url": "https://api.github.com/repos/github/hello-world/pulls/1", - "id": 1934, - "number": 3956, - "head": { - "ref": "say-hello", - "sha": "3dca65fa3e8d4b3da3f3d056c59aee1c50f41390", - "repo": { - "id": 526, - "url": "https://api.github.com/repos/github/hello-world", - "name": "hello-world" - } - }, - "base": { - "ref": "master", - "sha": "e7fdf7640066d71ad16a86fbcbb9c6a10a18af4f", - "repo": { - "id": 526, - "url": "https://api.github.com/repos/github/hello-world", - "name": "hello-world" - } - } - } - ] - } - }, "example-of-completed-conclusion": { - "summary": "Example of completed conclusion", + "summary": "Response for completed conclusion", "value": { "id": 4, "head_sha": "ce587453ced02b1526dfb4cb910479d431683101", @@ -128253,7 +128109,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -129470,7 +129326,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -130453,7 +130309,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -130617,7 +130473,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -133002,7 +132858,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -134197,7 +134053,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -136605,7 +136461,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -137598,7 +137454,7 @@ ], "responses": { "201": { - "description": "response" + "description": "Response" } }, "x-github": { @@ -137615,7 +137471,7 @@ "/repos/{owner}/{repo}/code-scanning/alerts": { "get": { "summary": "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 the default branch or for the specified Git reference\n(if you used `ref` in the request).", + "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).", "tags": [ "code-scanning" ], @@ -137687,7 +137543,7 @@ "required": false, "schema": { "type": "string", - "description": "The full Git reference, formatted as `refs/heads/`." + "description": "The full Git reference, formatted as `refs/heads/`,\n`refs/pull//merge`, or `refs/pull//head`." } }, { @@ -137700,6 +137556,7 @@ "description": "State of a code scanning alert.", "enum": [ "open", + "closed", "dismissed", "fixed" ] @@ -137708,7 +137565,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -137755,6 +137612,7 @@ "description": "State of a code scanning alert.", "enum": [ "open", + "closed", "dismissed", "fixed" ] @@ -137950,7 +137808,7 @@ "properties": { "ref": { "type": "string", - "description": "The full Git reference, formatted as `refs/heads/`." + "description": "The full Git reference, formatted as `refs/heads/`,\n`refs/pull//merge`, or `refs/pull//head`." }, "analysis_key": { "type": "string", @@ -137965,6 +137823,7 @@ "description": "State of a code scanning alert.", "enum": [ "open", + "closed", "dismissed", "fixed" ] @@ -138151,7 +138010,7 @@ } }, "403": { - "description": "Response if github advanced security is not enabled for this repository", + "description": "Response if GitHub Advanced Security is not enabled for this repository", "content": { "application/json": { "schema": { @@ -138171,7 +138030,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -138191,7 +138050,7 @@ } }, "503": { - "description": "Service Unavailable", + "description": "Service unavailable", "content": { "application/json": { "schema": { @@ -138267,7 +138126,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -138312,6 +138171,7 @@ "description": "State of a code scanning alert.", "enum": [ "open", + "closed", "dismissed", "fixed" ] @@ -138522,7 +138382,7 @@ "properties": { "ref": { "type": "string", - "description": "The full Git reference, formatted as `refs/heads/`." + "description": "The full Git reference, formatted as `refs/heads/`,\n`refs/pull//merge`, or `refs/pull//head`." }, "analysis_key": { "type": "string", @@ -138537,6 +138397,7 @@ "description": "State of a code scanning alert.", "enum": [ "open", + "closed", "dismissed", "fixed" ] @@ -138684,7 +138545,7 @@ } }, "403": { - "description": "Response if github advanced security is not enabled for this repository", + "description": "Response if GitHub Advanced Security is not enabled for this repository", "content": { "application/json": { "schema": { @@ -138704,7 +138565,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -138724,7 +138585,7 @@ } }, "503": { - "description": "Service Unavailable", + "description": "Service unavailable", "content": { "application/json": { "schema": { @@ -138843,7 +138704,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -138888,6 +138749,7 @@ "description": "State of a code scanning alert.", "enum": [ "open", + "closed", "dismissed", "fixed" ] @@ -139098,7 +138960,7 @@ "properties": { "ref": { "type": "string", - "description": "The full Git reference, formatted as `refs/heads/`." + "description": "The full Git reference, formatted as `refs/heads/`,\n`refs/pull//merge`, or `refs/pull//head`." }, "analysis_key": { "type": "string", @@ -139113,6 +138975,7 @@ "description": "State of a code scanning alert.", "enum": [ "open", + "closed", "dismissed", "fixed" ] @@ -139280,7 +139143,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -139300,7 +139163,7 @@ } }, "503": { - "description": "Service Unavailable", + "description": "Service unavailable", "content": { "application/json": { "schema": { @@ -139406,7 +139269,7 @@ "required": false, "schema": { "type": "string", - "description": "The full Git reference, formatted as `refs/heads/`." + "description": "The full Git reference, formatted as `refs/heads/`,\n`refs/pull//merge`, or `refs/pull//head`." } }, { @@ -139424,7 +139287,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -139434,7 +139297,7 @@ "properties": { "ref": { "type": "string", - "description": "The full Git reference, formatted as `refs/heads/`." + "description": "The full Git reference, formatted as `refs/heads/`,\n`refs/pull//merge`, or `refs/pull//head`." }, "commit_sha": { "description": "The SHA of the commit to which the analysis you are uploading relates.", @@ -139575,7 +139438,7 @@ } }, "403": { - "description": "Response if github advanced security is not enabled for this repository", + "description": "Response if GitHub Advanced Security is not enabled for this repository", "content": { "application/json": { "schema": { @@ -139595,7 +139458,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -139615,7 +139478,7 @@ } }, "503": { - "description": "Service Unavailable", + "description": "Service unavailable", "content": { "application/json": { "schema": { @@ -139649,7 +139512,7 @@ "/repos/{owner}/{repo}/code-scanning/sarifs": { "post": { "summary": "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\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\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).\"", + "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/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/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\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).\"", "operationId": "code-scanning/upload-sarif", "tags": [ "code-scanning" @@ -139691,7 +139554,7 @@ }, "ref": { "type": "string", - "description": "The full Git reference, formatted as `refs/heads/`." + "description": "The full Git reference, formatted as `refs/heads/`,\n`refs/pull//merge`, or `refs/pull//head`." }, "sarif": { "description": "A Base64 string representing the SARIF file to upload. You must first compress your SARIF file using [`gzip`](http://www.gnu.org/software/gzip/manual/gzip.html) and then translate the contents of the file into a Base64 encoding string. For more information, see \"[SARIF support for code scanning](https://docs.github.com/enterprise-server@3.0/github/finding-security-vulnerabilities-and-errors-in-your-code/sarif-support-for-code-scanning).\"", @@ -139724,7 +139587,7 @@ }, "responses": { "202": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -139781,7 +139644,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -139804,7 +139667,7 @@ "description": "Response if the sarif field is too large" }, "503": { - "description": "Service Unavailable", + "description": "Service unavailable", "content": { "application/json": { "schema": { @@ -139900,7 +139763,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -140075,7 +139938,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -142134,7 +141997,7 @@ "description": "Response when person is already a collaborator" }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -142273,7 +142136,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "x-github": { @@ -142492,7 +142355,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -142573,7 +142436,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -142931,7 +142794,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -143220,7 +143083,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -143315,7 +143178,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -143604,7 +143467,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -143674,10 +143537,10 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -143786,7 +143649,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -143995,7 +143858,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -144015,7 +143878,7 @@ } }, "415": { - "description": "Preview Header Missing", + "description": "Preview header missing", "content": { "application/json": { "schema": { @@ -144514,7 +144377,7 @@ } }, "415": { - "description": "Preview Header Missing", + "description": "Preview header missing", "content": { "application/json": { "schema": { @@ -144536,7 +144399,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -144669,7 +144532,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "x-github": { @@ -144778,11 +144641,31 @@ "type": "integer", "default": 1 } + }, + { + "name": "top", + "description": "legacy parameter for pagination.", + "in": "query", + "deprecated": true, + "required": false, + "schema": { + "type": "string" + } + }, + { + "name": "last_sha", + "description": "legacy parameter for pagination.", + "in": "query", + "deprecated": true, + "required": false, + "schema": { + "type": "string" + } } ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -145435,7 +145318,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -145528,7 +145411,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -145585,7 +145468,7 @@ } }, "415": { - "description": "Preview Header Missing", + "description": "Preview header missing", "content": { "application/json": { "schema": { @@ -145607,7 +145490,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -145751,7 +145634,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -146144,7 +146027,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -146461,7 +146344,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -146602,7 +146485,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -150432,7 +150315,7 @@ } }, "415": { - "description": "Preview Header Missing", + "description": "Preview header missing", "content": { "application/json": { "schema": { @@ -150498,9 +150381,27 @@ "type": "string" } }, + { + "name": "page", + "description": "Page number of the results to fetch.", + "in": "query", + "schema": { + "type": "integer", + "default": 1 + } + }, + { + "name": "per_page", + "description": "Results per page (max 100).", + "in": "query", + "schema": { + "type": "integer", + "default": 30 + } + }, { "name": "ref", - "description": "ref+ parameter", + "description": "ref parameter", "in": "path", "required": true, "schema": { @@ -150511,7 +150412,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -151094,7 +150995,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -151163,7 +151064,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -151245,7 +151146,7 @@ }, { "name": "ref", - "description": "ref+ parameter", + "description": "ref parameter", "in": "path", "required": true, "schema": { @@ -151307,11 +151208,19 @@ "type": "integer", "default": 1 } + }, + { + "name": "app_id", + "in": "query", + "required": false, + "schema": { + "type": "integer" + } } ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -152294,7 +152203,7 @@ }, { "name": "ref", - "description": "ref+ parameter", + "description": "ref parameter", "in": "path", "required": true, "schema": { @@ -152342,7 +152251,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -154592,18 +154501,36 @@ }, { "name": "ref", - "description": "ref+ parameter", + "description": "ref parameter", "in": "path", "required": true, "schema": { "type": "string" }, "x-multi-segment": true + }, + { + "name": "per_page", + "description": "Results per page (max 100).", + "in": "query", + "schema": { + "type": "integer", + "default": 30 + } + }, + { + "name": "page", + "description": "Page number of the results to fetch.", + "in": "query", + "schema": { + "type": "integer", + "default": 1 + } } ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -156298,7 +156225,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -156360,7 +156287,7 @@ }, { "name": "ref", - "description": "ref+ parameter", + "description": "ref parameter", "in": "path", "required": true, "schema": { @@ -156389,7 +156316,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -156608,7 +156535,7 @@ } }, "301": { - "description": "Moved Permanently" + "description": "Moved permanently" } }, "x-github": { @@ -156670,7 +156597,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -158533,7 +158460,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -158595,7 +158522,7 @@ }, { "name": "path", - "description": "path+ parameter", + "description": "path parameter", "in": "path", "required": true, "schema": { @@ -158615,7 +158542,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/vnd.github.v3.object": { "schema": { @@ -159227,7 +159154,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -159310,7 +159237,7 @@ }, { "name": "path", - "description": "path+ parameter", + "description": "path parameter", "in": "path", "required": true, "schema": { @@ -159421,7 +159348,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -159637,7 +159564,7 @@ } }, "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -159853,7 +159780,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -159873,7 +159800,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -160002,7 +159929,7 @@ }, { "name": "path", - "description": "path+ parameter", + "description": "path parameter", "in": "path", "required": true, "schema": { @@ -160076,7 +160003,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -160277,7 +160204,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -160346,7 +160273,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -160386,7 +160313,7 @@ } }, "503": { - "description": "Service Unavailable", + "description": "Service unavailable", "content": { "application/json": { "schema": { @@ -160628,7 +160555,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -160725,7 +160652,8 @@ "required": false, "schema": { "type": "string", - "default": "none" + "default": "none", + "nullable": true } }, { @@ -160749,7 +160677,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -161416,7 +161344,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -161925,48 +161853,6 @@ "transient_environment": false, "production_environment": true } - }, - "advanced-example": { - "summary": "Advanced example", - "value": { - "url": "https://api.github.com/repos/octocat/example/deployments/1", - "id": 1, - "node_id": "MDEwOkRlcGxveW1lbnQx", - "sha": "a84d88e7554fc1fa21bcbc4efae3c782a70d2b9d", - "ref": "topic-branch", - "task": "deploy", - "payload": { - }, - "original_environment": "staging", - "environment": "production", - "description": "Deploy request from hubot", - "creator": { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - }, - "created_at": "2012-07-20T01:19:13Z", - "updated_at": "2012-07-20T01:19:13Z", - "statuses_url": "https://api.github.com/repos/octocat/example/deployments/1/statuses", - "repository_url": "https://api.github.com/repos/octocat/example", - "transient_environment": false, - "production_environment": true - } } } } @@ -161995,40 +161881,10 @@ } }, "409": { - "description": "response", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string", - "example": "\"https://docs.github.com/enterprise-server@3.0/rest/reference/repos#create-a-deployment\"" - } - } - }, - "examples": { - "merge-conflict-response": { - "summary": "Merge conflict response", - "value": { - "message": "Conflict merging master into topic-branch" - } - }, - "failed-commit-status-checks": { - "summary": "Failed commit status checks", - "value": { - "message": "Conflict: Commit status checks failed for topic-branch." - } - } - } - } - } + "description": "Response when there is a merge conflict or the commit's status checks failed" }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -162153,7 +162009,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -162667,7 +162523,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -162741,10 +162597,10 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -162764,7 +162620,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -162864,7 +162720,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -163388,7 +163244,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -163533,7 +163389,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -164052,7 +163908,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -164190,7 +164046,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -164701,7 +164557,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -164721,7 +164577,7 @@ } }, "415": { - "description": "Preview Header Missing", + "description": "Preview header missing", "content": { "application/json": { "schema": { @@ -164825,10 +164681,10 @@ }, "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -164958,7 +164814,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -167676,7 +167532,8 @@ "enum": [ "newest", "oldest", - "stargazers" + "stargazers", + "watchers" ], "default": "newest" } @@ -167698,11 +167555,31 @@ "type": "integer", "default": 1 } + }, + { + "name": "org", + "description": "legacy query parameter for specifying the org.", + "in": "query", + "deprecated": true, + "required": false, + "schema": { + "type": "string" + } + }, + { + "name": "organization", + "description": "legacy query parameter for specifying the org.", + "in": "query", + "deprecated": true, + "required": false, + "schema": { + "type": "string" + } } ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -169418,6 +169295,26 @@ "schema": { "type": "string" } + }, + { + "name": "org", + "description": "legacy query parameter for specifying the org.", + "in": "query", + "deprecated": true, + "required": false, + "schema": { + "type": "string" + } + }, + { + "name": "organization", + "description": "legacy query parameter for specifying the org.", + "in": "query", + "deprecated": true, + "required": false, + "schema": { + "type": "string" + } } ], "requestBody": { @@ -169425,6 +169322,7 @@ "application/json": { "schema": { "type": "object", + "nullable": true, "properties": { "organization": { "type": "string", @@ -169437,7 +169335,7 @@ }, "responses": { "202": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -170586,7 +170484,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -170675,7 +170573,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -170765,7 +170663,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -170805,7 +170703,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -170865,7 +170763,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -170985,7 +170883,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -171042,7 +170940,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -171062,7 +170960,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -171277,7 +171175,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -171493,7 +171391,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -171562,7 +171460,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -171635,7 +171533,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -171843,7 +171741,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -171905,7 +171803,7 @@ }, { "name": "ref", - "description": "ref+ parameter", + "description": "ref parameter", "in": "path", "required": true, "schema": { @@ -171934,7 +171832,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -172067,7 +171965,7 @@ }, { "name": "ref", - "description": "ref+ parameter", + "description": "ref parameter", "in": "path", "required": true, "schema": { @@ -172078,7 +171976,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -172146,7 +172044,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -172240,7 +172138,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -172316,7 +172214,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -172427,7 +172325,7 @@ }, { "name": "ref", - "description": "ref+ parameter", + "description": "ref parameter", "in": "path", "required": true, "schema": { @@ -172465,7 +172363,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -172533,7 +172431,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -172642,7 +172540,7 @@ }, { "name": "ref", - "description": "ref+ parameter", + "description": "ref parameter", "in": "path", "required": true, "schema": { @@ -172653,10 +172551,10 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -172835,7 +172733,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -172982,7 +172880,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -173102,7 +173000,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -173241,7 +173139,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -173375,7 +173273,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -173503,7 +173401,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -173572,7 +173470,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -173658,7 +173556,8 @@ "required": true, "schema": { "type": "string" - } + }, + "x-multi-segment": true }, { "name": "recursive", @@ -173672,7 +173571,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -173826,7 +173725,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -173895,7 +173794,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -173976,7 +173875,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -174173,7 +174072,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -174318,7 +174217,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -174510,7 +174409,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -174530,7 +174429,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -174670,7 +174569,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -174854,7 +174753,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -175007,7 +174906,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -175191,7 +175090,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -175260,7 +175159,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -175329,10 +175228,10 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -175403,7 +175302,7 @@ ], "responses": { "200": { - "description": "Default response", + "description": "Response", "content": { "application/json": { "schema": { @@ -175535,7 +175434,7 @@ }, "responses": { "200": { - "description": "Default response", + "description": "Response", "content": { "application/json": { "schema": { @@ -175631,10 +175530,10 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -175705,10 +175604,10 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -175771,7 +175670,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -176278,10 +176177,10 @@ } }, "301": { - "description": "Moved Permanently" + "description": "Moved permanently" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -176362,7 +176261,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -178352,7 +178251,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -180306,7 +180205,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "x-github": { @@ -180468,7 +180367,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -182638,10 +182537,10 @@ } }, "301": { - "description": "Moved Permanently" + "description": "Moved permanently" }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -182710,7 +182609,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -182869,7 +182768,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -185225,7 +185124,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -185294,7 +185193,7 @@ } }, "503": { - "description": "Service Unavailable", + "description": "Service unavailable", "content": { "application/json": { "schema": { @@ -185315,7 +185214,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -185453,7 +185352,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -185998,7 +185897,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -186067,7 +185966,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -186143,7 +186042,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -186675,7 +186574,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -186770,7 +186669,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -187302,7 +187201,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -187421,7 +187320,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "x-github": { @@ -187513,7 +187412,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -187722,7 +187621,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -187742,7 +187641,7 @@ } }, "415": { - "description": "Preview Header Missing", + "description": "Preview header missing", "content": { "application/json": { "schema": { @@ -188241,7 +188140,7 @@ } }, "415": { - "description": "Preview Header Missing", + "description": "Preview header missing", "content": { "application/json": { "schema": { @@ -188263,7 +188162,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -188396,7 +188295,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "x-github": { @@ -188464,7 +188363,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -191566,7 +191465,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -191690,7 +191589,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -194779,7 +194678,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -194895,7 +194794,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -197223,10 +197122,10 @@ } }, "301": { - "description": "Moved Permanently" + "description": "Moved permanently" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -197266,7 +197165,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" } }, "x-github": { @@ -197425,7 +197324,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -199753,7 +199652,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -199822,7 +199721,7 @@ } }, "503": { - "description": "Service Unavailable", + "description": "Service unavailable", "content": { "application/json": { "schema": { @@ -199863,10 +199762,10 @@ } }, "301": { - "description": "Moved Permanently" + "description": "Moved permanently" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -199982,7 +199881,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -202253,7 +202152,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -204529,7 +204428,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -205074,7 +204973,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -205189,7 +205088,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -205769,7 +205668,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -205838,7 +205737,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -205929,7 +205828,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -206282,7 +206181,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -206470,7 +206369,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -206573,7 +206472,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -206716,7 +206615,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -206819,7 +206718,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -206938,7 +206837,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "410": { "description": "Gone", @@ -207021,7 +206920,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -207095,7 +206994,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -207209,7 +207108,7 @@ }, "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "403": { "description": "Forbidden", @@ -207252,7 +207151,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -207272,7 +207171,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -207391,7 +207290,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "403": { "description": "Forbidden", @@ -207414,7 +207313,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -207523,7 +207422,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -207732,7 +207631,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -207772,7 +207671,7 @@ } }, "415": { - "description": "Preview Header Missing", + "description": "Preview header missing", "content": { "application/json": { "schema": { @@ -207879,7 +207778,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -208075,7 +207974,7 @@ } }, "415": { - "description": "Preview Header Missing", + "description": "Preview header missing", "content": { "application/json": { "schema": { @@ -208097,7 +207996,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -208230,7 +208129,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "x-github": { @@ -208307,7 +208206,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -208566,7 +208465,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -208606,7 +208505,7 @@ } }, "415": { - "description": "Preview Header Missing", + "description": "Preview header missing", "content": { "application/json": { "schema": { @@ -208698,7 +208597,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -208840,7 +208739,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -208905,7 +208804,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -209026,7 +208925,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -209083,7 +208982,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -209153,7 +209052,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "x-github": { @@ -209217,7 +209116,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -209308,7 +209207,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -209375,7 +209274,7 @@ "properties": { "name": { "type": "string", - "description": "The name of the label. Emoji can be added to label names, using either native emoji or colon-style markup. For example, typing `:strawberry:` will render the emoji ![:strawberry:](https://github.githubassets.com/images/icons/emoji/unicode/1f353.png \":strawberry:\"). For a full list of available emoji and codes, see [emoji-cheat-sheet.com](http://emoji-cheat-sheet.com/)." + "description": "The name of the label. Emoji can be added to label names, using either native emoji or colon-style markup. For example, typing `:strawberry:` will render the emoji ![:strawberry:](https://github.githubassets.com/images/icons/emoji/unicode/1f353.png \":strawberry:\"). For a full list of available emoji and codes, see \"[Emoji cheat sheet](https://github.com/ikatyang/emoji-cheat-sheet).\"" }, "color": { "type": "string", @@ -209400,7 +209299,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -209477,7 +209376,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -209546,7 +209445,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -209617,7 +209516,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -209686,7 +209585,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -209761,7 +209660,7 @@ "properties": { "new_name": { "type": "string", - "description": "The new name of the label. Emoji can be added to label names, using either native emoji or colon-style markup. For example, typing `:strawberry:` will render the emoji ![:strawberry:](https://github.githubassets.com/images/icons/emoji/unicode/1f353.png \":strawberry:\"). For a full list of available emoji and codes, see [emoji-cheat-sheet.com](http://emoji-cheat-sheet.com/)." + "description": "The new name of the label. Emoji can be added to label names, using either native emoji or colon-style markup. For example, typing `:strawberry:` will render the emoji ![:strawberry:](https://github.githubassets.com/images/icons/emoji/unicode/1f353.png \":strawberry:\"). For a full list of available emoji and codes, see \"[Emoji cheat sheet](https://github.com/ikatyang/emoji-cheat-sheet).\"" }, "color": { "type": "string", @@ -209783,7 +209682,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -209901,7 +209800,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "x-github": { @@ -209947,7 +209846,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -210013,7 +209912,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -210839,63 +210738,10 @@ } }, "404": { - "description": "response", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string", - "example": "\"https://docs.github.com/enterprise-server@3.0/rest/reference/repos#perform-a-merge\"" - } - } - }, - "examples": { - "missing-base-response": { - "summary": "Missing base response", - "value": { - "message": "Base does not exist" - } - }, - "missing-head-response": { - "summary": "Missing head response", - "value": { - "message": "Head does not exist" - } - } - } - } - } + "description": "Response when the base or head does not exist" }, "409": { - "description": "Merge conflict response", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string", - "example": "\"https://docs.github.com/enterprise-server@3.0/rest/reference/repos#perform-a-merge\"" - } - } - }, - "examples": { - "merge-conflict-response": { - "value": { - "message": "Merge Conflict" - } - } - } - } - } + "description": "Response when there is a merge conflict" }, "403": { "description": "Forbidden", @@ -210918,7 +210764,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -211091,7 +210937,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -211372,7 +211218,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -211474,7 +211320,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -211750,7 +211596,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -211770,7 +211616,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -211891,7 +211737,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -212159,7 +212005,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -212267,7 +212113,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -212585,10 +212431,10 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -212678,7 +212524,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -212868,7 +212714,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -214583,7 +214429,7 @@ }, "responses": { "202": { - "description": "response" + "description": "Response" } }, "x-github": { @@ -214629,7 +214475,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -214722,7 +214568,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -214826,7 +214672,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -214919,7 +214765,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -214988,7 +214834,7 @@ } }, "415": { - "description": "Preview Header Missing", + "description": "Preview header missing", "content": { "application/json": { "schema": { @@ -215140,10 +214986,10 @@ }, "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -215307,10 +215153,10 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -215379,7 +215225,7 @@ } }, "415": { - "description": "Preview Header Missing", + "description": "Preview header missing", "content": { "application/json": { "schema": { @@ -215401,7 +215247,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -215486,7 +215332,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -215749,7 +215595,7 @@ ], "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -215827,7 +215673,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -216087,7 +215933,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -216353,11 +216199,39 @@ "type": "integer", "default": 1 } + }, + { + "name": "direction", + "description": "One of `asc` (ascending) or `desc` (descending).", + "in": "query", + "required": false, + "schema": { + "type": "string", + "enum": [ + "asc", + "desc" + ], + "default": "desc" + } + }, + { + "name": "sort", + "in": "query", + "required": false, + "schema": { + "type": "string", + "enum": [ + "created", + "updated", + "name" + ], + "default": "created" + } } ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -216451,7 +216325,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -216538,7 +216412,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -216757,7 +216631,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -217026,7 +216900,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -217066,7 +216940,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -217106,7 +216980,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -217207,7 +217081,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -217463,7 +217337,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -217503,7 +217377,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -217543,7 +217417,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -217700,7 +217574,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -221530,10 +221404,10 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -221692,7 +221566,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -224723,7 +224597,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -224835,16 +224709,15 @@ }, { "name": "sort", - "description": "One of `created` (when the repository was starred) or `updated` (when it was last pushed to).", "in": "query", "required": false, "schema": { "type": "string", "enum": [ "created", - "updated" - ], - "default": "created" + "updated", + "created_at" + ] } }, { @@ -224890,7 +224763,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -225416,7 +225289,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -225868,7 +225741,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -225968,7 +225841,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -226474,10 +226347,10 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -226586,7 +226459,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -226795,7 +226668,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -226815,7 +226688,7 @@ } }, "415": { - "description": "Preview Header Missing", + "description": "Preview header missing", "content": { "application/json": { "schema": { @@ -227314,7 +227187,7 @@ } }, "415": { - "description": "Preview Header Missing", + "description": "Preview header missing", "content": { "application/json": { "schema": { @@ -227336,7 +227209,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -227469,7 +227342,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "x-github": { @@ -230530,7 +230403,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "500": { "description": "Internal Error", @@ -230553,7 +230426,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -230663,7 +230536,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -233666,7 +233539,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -233860,7 +233733,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -234466,7 +234339,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -234926,7 +234799,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -235101,7 +234974,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -235561,7 +235434,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -235651,7 +235524,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -236299,7 +236172,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -236400,7 +236273,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -236715,7 +236588,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -236804,7 +236677,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -236894,7 +236767,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -237256,7 +237129,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -241224,10 +241097,10 @@ }, "responses": { "200": { - "description": "response" + "description": "Response" }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -241784,7 +241657,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -242060,7 +241933,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -242171,7 +242044,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -242447,7 +242320,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -242546,7 +242419,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -242822,7 +242695,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -242910,7 +242783,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -243186,7 +243059,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -243216,7 +243089,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -243314,7 +243187,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -243715,7 +243588,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -243817,7 +243690,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -244093,7 +243966,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -244113,7 +243986,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -244230,7 +244103,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -244506,7 +244379,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -244526,7 +244399,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -244646,7 +244519,7 @@ }, "responses": { "202": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -244668,7 +244541,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -244757,7 +244630,7 @@ } }, "415": { - "description": "Preview Header Missing", + "description": "Preview header missing", "content": { "application/json": { "schema": { @@ -244833,6 +244706,279 @@ } } ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "title": "Content File", + "description": "Content File", + "type": "object", + "properties": { + "type": { + "type": "string" + }, + "encoding": { + "type": "string" + }, + "size": { + "type": "integer" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "content": { + "type": "string" + }, + "sha": { + "type": "string" + }, + "url": { + "type": "string", + "format": "uri" + }, + "git_url": { + "type": "string", + "format": "uri", + "nullable": true + }, + "html_url": { + "type": "string", + "format": "uri", + "nullable": true + }, + "download_url": { + "type": "string", + "format": "uri", + "nullable": true + }, + "_links": { + "type": "object", + "properties": { + "git": { + "type": "string", + "format": "uri", + "nullable": true + }, + "html": { + "type": "string", + "format": "uri", + "nullable": true + }, + "self": { + "type": "string", + "format": "uri" + } + }, + "required": [ + "git", + "html", + "self" + ] + }, + "target": { + "type": "string", + "example": "\"actual/actual.md\"" + }, + "submodule_git_url": { + "type": "string", + "example": "\"git://example.com/defunkt/dotjs.git\"" + } + }, + "required": [ + "_links", + "git_url", + "html_url", + "download_url", + "name", + "path", + "sha", + "size", + "type", + "url", + "content", + "encoding" + ] + }, + "examples": { + "default": { + "value": { + "type": "file", + "encoding": "base64", + "size": 5362, + "name": "README.md", + "path": "README.md", + "content": "encoded content ...", + "sha": "3d21ec53a331a6f037a91c368710b99387d012c1", + "url": "https://api.github.com/repos/octokit/octokit.rb/contents/README.md", + "git_url": "https://api.github.com/repos/octokit/octokit.rb/git/blobs/3d21ec53a331a6f037a91c368710b99387d012c1", + "html_url": "https://github.com/octokit/octokit.rb/blob/master/README.md", + "download_url": "https://raw.githubusercontent.com/octokit/octokit.rb/master/README.md", + "_links": { + "git": "https://api.github.com/repos/octokit/octokit.rb/git/blobs/3d21ec53a331a6f037a91c368710b99387d012c1", + "self": "https://api.github.com/repos/octokit/octokit.rb/contents/README.md", + "html": "https://github.com/octokit/octokit.rb/blob/master/README.md" + } + } + } + } + } + } + }, + "404": { + "description": "Resource not found", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + } + } + } + } + } + }, + "422": { + "description": "Validation failed", + "content": { + "application/json": { + "schema": { + "title": "Validation Error", + "description": "Validation Error", + "type": "object", + "required": [ + "message", + "documentation_url" + ], + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "errors": { + "type": "array", + "items": { + "type": "object", + "required": [ + "code" + ], + "properties": { + "resource": { + "type": "string" + }, + "field": { + "type": "string" + }, + "message": { + "type": "string" + }, + "code": { + "type": "string" + }, + "index": { + "type": "integer" + }, + "value": { + "oneOf": [ + { + "type": "string", + "nullable": true + }, + { + "type": "integer", + "nullable": true + }, + { + "type": "array", + "nullable": true, + "items": { + "type": "string" + } + } + ] + } + } + } + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "previews": [ + + ], + "category": "repos", + "subcategory": "contents" + } + } + }, + "/repos/{owner}/{repo}/readme/{dir}": { + "get": { + "summary": "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.", + "tags": [ + "repos" + ], + "operationId": "repos/get-readme-in-directory", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-server@3.0/rest/reference/repos#get-a-repository-directory-readme" + }, + "parameters": [ + { + "name": "owner", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "repo", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "dir", + "description": "The alternate path to look for a README file", + "in": "path", + "required": true, + "schema": { + "type": "string" + }, + "x-multi-segment": true + }, + { + "name": "ref", + "description": "The name of the commit/branch/tag. Default: the repository’s default branch (usually `master`)", + "in": "query", + "required": false, + "schema": { + "type": "string" + } + } + ], "responses": { "200": { "description": "response", @@ -244957,7 +245103,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -244977,7 +245123,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -245107,7 +245253,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -245607,7 +245753,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -245716,7 +245862,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -246211,7 +246357,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -246565,7 +246711,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -246585,7 +246731,7 @@ } }, "415": { - "description": "Preview Header Missing", + "description": "Preview header missing", "content": { "application/json": { "schema": { @@ -246687,7 +246833,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -246969,7 +247115,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "x-github": { @@ -247015,7 +247161,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -247544,7 +247690,7 @@ }, { "name": "tag", - "description": "tag+ parameter", + "description": "tag parameter", "in": "path", "required": true, "schema": { @@ -247555,7 +247701,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -248042,7 +248188,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -248601,7 +248747,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -248714,7 +248860,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -249251,7 +249397,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "x-github": { @@ -249324,7 +249470,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -249947,7 +250093,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -250271,7 +250417,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -250455,7 +250601,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -250956,7 +251102,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -251153,7 +251299,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -251428,7 +251574,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -251772,7 +251918,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -251875,7 +252021,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "x-github": { @@ -251939,7 +252085,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -252071,7 +252217,7 @@ ], "responses": { "302": { - "description": "response", + "description": "Response", "headers": { "Location": { "example": "https://codeload.github.com/me/myprivate/legacy.zip/master?login=me&token=thistokenexpires", @@ -252143,7 +252289,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -252361,11 +252507,29 @@ "schema": { "type": "string" } + }, + { + "name": "page", + "description": "Page number of the results to fetch.", + "in": "query", + "schema": { + "type": "integer", + "default": 1 + } + }, + { + "name": "per_page", + "description": "Results per page (max 100).", + "in": "query", + "schema": { + "type": "integer", + "default": 30 + } } ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -252400,7 +252564,7 @@ } }, "415": { - "description": "Preview Header Missing", + "description": "Preview header missing", "content": { "application/json": { "schema": { @@ -252422,7 +252586,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -252516,7 +252680,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -252551,7 +252715,7 @@ } }, "415": { - "description": "Preview Header Missing", + "description": "Preview header missing", "content": { "application/json": { "schema": { @@ -252573,7 +252737,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -252593,7 +252757,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -252702,7 +252866,7 @@ }, "responses": { "202": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -253840,7 +254004,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "x-github": { @@ -253888,7 +254052,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "x-github": { @@ -253946,7 +254110,7 @@ ], "responses": { "302": { - "description": "response", + "description": "Response", "headers": { "Location": { "example": "https://codeload.github.com/me/myprivate/legacy.zip/master?login=me&token=thistokenexpires", @@ -254043,7 +254207,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -255194,7 +255358,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -256774,7 +256938,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -256843,7 +257007,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" } }, "x-github": { @@ -256926,7 +257090,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -258626,10 +258790,10 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "503": { - "description": "Service Unavailable", + "description": "Service unavailable", "content": { "application/json": { "schema": { @@ -258650,7 +258814,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -258820,7 +258984,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -260813,10 +260977,10 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "415": { - "description": "Preview Header Missing", + "description": "Preview header missing", "content": { "application/json": { "schema": { @@ -260932,7 +261096,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -263078,7 +263242,7 @@ } }, "503": { - "description": "Service Unavailable", + "description": "Service unavailable", "content": { "application/json": { "schema": { @@ -263099,7 +263263,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -263168,7 +263332,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -263263,7 +263427,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -263401,10 +263565,10 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -263444,7 +263608,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -263596,7 +263760,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -264305,7 +264469,7 @@ } }, "503": { - "description": "Service Unavailable", + "description": "Service unavailable", "content": { "application/json": { "schema": { @@ -264326,7 +264490,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -264395,7 +264559,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" } }, "x-github": { @@ -264438,7 +264602,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -264712,10 +264876,10 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "415": { - "description": "Preview Header Missing", + "description": "Preview header missing", "content": { "application/json": { "schema": { @@ -264823,7 +264987,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -265067,10 +265231,10 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "503": { - "description": "Service Unavailable", + "description": "Service unavailable", "content": { "application/json": { "schema": { @@ -265091,7 +265255,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -265185,7 +265349,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -265272,7 +265436,7 @@ }, "responses": { "202": { - "description": "response" + "description": "Response" } }, "x-github": { @@ -265300,7 +265464,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -265381,7 +265545,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -265482,7 +265646,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -266091,7 +266255,7 @@ }, "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "requestBody": { @@ -266137,7 +266301,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -266199,7 +266363,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -266279,7 +266443,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -266361,7 +266525,7 @@ }, "responses": { "202": { - "description": "response" + "description": "Response" } }, "requestBody": { @@ -266415,7 +266579,7 @@ }, "responses": { "202": { - "description": "response" + "description": "Response" } }, "requestBody": { @@ -266468,7 +266632,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -266958,7 +267122,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -267064,7 +267228,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -267554,7 +267718,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -267574,7 +267738,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -267699,10 +267863,10 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -267722,7 +267886,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -267861,7 +268025,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -268276,7 +268440,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -268657,7 +268821,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -269057,7 +269221,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -269435,7 +269599,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "x-github": { @@ -269516,7 +269680,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -269894,7 +270058,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -270249,7 +270413,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -270622,7 +270786,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -270974,7 +271138,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "x-github": { @@ -271068,7 +271232,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -271364,7 +271528,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -271647,7 +271811,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -271935,7 +272099,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -272206,7 +272370,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -272362,7 +272526,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -272478,74 +272642,13 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "404": { "description": "Response if team synchronization is set up" }, "422": { - "description": "response", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "errors": { - "type": "array", - "items": { - "type": "object", - "properties": { - "code": { - "type": "string" - }, - "field": { - "type": "string" - }, - "resource": { - "type": "string" - } - } - } - }, - "documentation_url": { - "type": "string", - "example": "\"https://docs.github.com/enterprise-server@3.0/rest\"" - } - } - }, - "examples": { - "response-if-you-attempt-to-add-an-organization-to-a-team": { - "summary": "Response if you attempt to add an organization to a team", - "value": { - "message": "Cannot add an organization as a member.", - "errors": [ - { - "code": "org", - "field": "user", - "resource": "TeamMember" - } - ] - } - }, - "response-if-you-attempt-to-add-a-user-to-a-team-when-they-are-not-a-member-of-at-least-one-other-team-in-the-same-organization": { - "summary": "Response if you attempt to add a user to a team when they are not a member of at least one other team in the same organization", - "value": { - "message": "User isn't a member of this organization. Please invite them first.", - "errors": [ - { - "code": "unaffiliated", - "field": "user", - "resource": "TeamMember" - } - ] - } - } - } - } - } + "description": "Response if you attempt to add an organization to a team or you attempt to add a user to a team when they are not a member of at least one other team in the same organization" }, "403": { "description": "Forbidden", @@ -272612,7 +272715,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "404": { "description": "Response if team synchronization is setup" @@ -272635,7 +272738,7 @@ "/teams/{team_id}/memberships/{username}": { "get": { "summary": "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).", + "description": "**Deprecation 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).", "tags": [ "teams" ], @@ -272664,7 +272767,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -272687,7 +272790,12 @@ "type": "string" }, "state": { - "type": "string" + "description": "The state of the user's membership in the team.", + "type": "string", + "enum": [ + "active", + "pending" + ] } }, "required": [ @@ -272697,14 +272805,6 @@ ] }, "examples": { - "response-if-user-has-an-active-membership-with-team": { - "summary": "Response if user has an active membership with team", - "value": { - "url": "https://api.github.com/teams/1/memberships/octocat", - "role": "member", - "state": "active" - } - }, "response-if-user-is-a-team-maintainer": { "summary": "Response if user is a team maintainer", "value": { @@ -272712,21 +272812,13 @@ "role": "maintainer", "state": "active" } - }, - "response-if-user-has-a-pending-membership-with-team": { - "summary": "Response if user has a pending membership with team", - "value": { - "url": "https://api.github.com/teams/1/memberships/octocat", - "role": "member", - "state": "pending" - } } } } } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -272810,7 +272902,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -272833,7 +272925,12 @@ "type": "string" }, "state": { - "type": "string" + "description": "The state of the user's membership in the team.", + "type": "string", + "enum": [ + "active", + "pending" + ] } }, "required": [ @@ -272843,14 +272940,6 @@ ] }, "examples": { - "response-if-users-membership-with-team-is-now-active": { - "summary": "Response if user's membership with team is now active", - "value": { - "url": "https://api.github.com/teams/1/memberships/octocat", - "role": "member", - "state": "active" - } - }, "response-if-users-membership-with-team-is-now-pending": { "summary": "Response if user's membership with team is now pending", "value": { @@ -272867,57 +272956,10 @@ "description": "Response if team synchronization is set up" }, "422": { - "description": "Response if you attempt to add an organization to a team", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "errors": { - "type": "array", - "items": { - "type": "object", - "properties": { - "code": { - "type": "string" - }, - "field": { - "type": "string" - }, - "resource": { - "type": "string" - } - } - } - }, - "documentation_url": { - "type": "string", - "example": "\"https://help.github.com/articles/github-and-trade-controls\"" - } - } - }, - "examples": { - "response-if-you-attempt-to-add-an-organization-to-a-team": { - "value": { - "message": "Cannot add an organization as a member.", - "errors": [ - { - "code": "org", - "field": "user", - "resource": "TeamMember" - } - ] - } - } - } - } - } + "description": "Response if you attempt to add an organization to a team" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -272981,7 +273023,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "403": { "description": "Response if team synchronization is set up" @@ -273043,7 +273085,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -273307,7 +273349,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -273327,7 +273369,7 @@ } }, "415": { - "description": "Preview Header Missing", + "description": "Preview header missing", "content": { "application/json": { "schema": { @@ -273399,7 +273441,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -273653,7 +273695,7 @@ "description": "Response if project is not managed by this team" }, "415": { - "description": "Preview Header Missing", + "description": "Preview header missing", "content": { "application/json": { "schema": { @@ -273743,7 +273785,7 @@ }, "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "403": { "description": "Response if the project is not owned by the organization", @@ -273772,7 +273814,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -273792,7 +273834,7 @@ } }, "415": { - "description": "Preview Header Missing", + "description": "Preview header missing", "content": { "application/json": { "schema": { @@ -273814,7 +273856,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -273931,10 +273973,10 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -273954,7 +273996,7 @@ } }, "415": { - "description": "Preview Header Missing", + "description": "Preview header missing", "content": { "application/json": { "schema": { @@ -273976,7 +274018,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -274101,7 +274143,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -275836,7 +275878,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -277851,7 +277893,7 @@ }, "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "403": { "description": "Forbidden", @@ -277874,7 +277916,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -277995,7 +278037,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "x-github": { @@ -278245,7 +278287,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -278285,7 +278327,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -278385,7 +278427,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -278928,7 +278970,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -278951,7 +278993,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -279047,7 +279089,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -279348,10 +279390,10 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -279391,7 +279433,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -279411,7 +279453,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -279525,7 +279567,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -279586,10 +279628,10 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -279629,7 +279671,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -279722,7 +279764,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -279787,7 +279829,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -279856,10 +279898,10 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -279899,7 +279941,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -279990,13 +280032,13 @@ }, "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -280036,7 +280078,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -280056,7 +280098,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -280170,7 +280212,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -280326,7 +280368,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -280349,7 +280391,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -280414,7 +280456,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -280570,7 +280612,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -280593,7 +280635,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -280671,7 +280713,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -280694,7 +280736,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -280747,13 +280789,13 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -280793,7 +280835,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -280846,13 +280888,13 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -280892,7 +280934,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -280957,7 +280999,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -281179,10 +281221,10 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -281222,7 +281264,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -281286,7 +281328,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -281495,7 +281537,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -281564,10 +281606,10 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -281607,7 +281649,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -281663,7 +281705,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -281872,7 +281914,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -281892,7 +281934,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -281915,7 +281957,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -281969,10 +282011,10 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -281992,7 +282034,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -282061,7 +282103,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -282084,7 +282126,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -282732,7 +282774,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -282755,7 +282797,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -282775,7 +282817,7 @@ } }, "415": { - "description": "Preview Header Missing", + "description": "Preview header missing", "content": { "application/json": { "schema": { @@ -283977,7 +284019,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -284017,7 +284059,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" } }, "x-github": { @@ -284068,7 +284110,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "403": { "description": "Forbidden", @@ -284091,10 +284133,10 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -284156,7 +284198,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "403": { "description": "Forbidden", @@ -284179,10 +284221,10 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -284238,6 +284280,7 @@ "created", "mentioned", "subscribed", + "repos", "all" ], "default": "assigned" @@ -284326,7 +284369,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -286769,7 +286812,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -286789,7 +286832,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" } }, "x-github": { @@ -286841,7 +286884,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -286927,10 +286970,10 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -286970,7 +287013,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -287040,7 +287083,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -287103,7 +287146,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -287172,10 +287215,10 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -287215,7 +287258,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -287271,7 +287314,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -287334,7 +287377,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -287354,7 +287397,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -287377,7 +287420,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -287431,13 +287474,13 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -287477,7 +287520,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -287555,7 +287598,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -287572,11 +287615,21 @@ }, "state": { "type": "string", - "example": "active" + "description": "The state of the member in the organization. The `pending` state indicates the user has not yet accepted an invitation.", + "example": "active", + "enum": [ + "active", + "pending" + ] }, "role": { "type": "string", - "example": "admin" + "description": "The user's membership type in the organization.", + "example": "admin", + "enum": [ + "admin", + "member" + ] }, "organization_url": { "type": "string", @@ -287893,7 +287946,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -287916,7 +287969,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -287936,7 +287989,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -288040,7 +288093,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -288055,11 +288108,21 @@ }, "state": { "type": "string", - "example": "active" + "description": "The state of the member in the organization. The `pending` state indicates the user has not yet accepted an invitation.", + "example": "active", + "enum": [ + "active", + "pending" + ] }, "role": { "type": "string", - "example": "admin" + "description": "The user's membership type in the organization.", + "example": "admin", + "enum": [ + "admin", + "member" + ] }, "organization_url": { "type": "string", @@ -288345,7 +288408,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -288422,7 +288485,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -288437,11 +288500,21 @@ }, "state": { "type": "string", - "example": "active" + "description": "The state of the member in the organization. The `pending` state indicates the user has not yet accepted an invitation.", + "example": "active", + "enum": [ + "active", + "pending" + ] }, "role": { "type": "string", - "example": "admin" + "description": "The user's membership type in the organization.", + "example": "admin", + "enum": [ + "admin", + "member" + ] }, "organization_url": { "type": "string", @@ -288727,7 +288800,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -288747,7 +288820,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -288861,7 +288934,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -288972,7 +289045,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -288995,7 +289068,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -289068,7 +289141,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -289324,7 +289397,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -289347,7 +289420,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -289367,7 +289440,7 @@ } }, "415": { - "description": "Preview Header Missing", + "description": "Preview header missing", "content": { "application/json": { "schema": { @@ -289389,7 +289462,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -289468,7 +289541,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -289529,10 +289602,10 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -289572,7 +289645,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -289726,7 +289799,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -290827,7 +290900,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -290896,7 +290969,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -290919,7 +290992,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -291070,7 +291143,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -292173,7 +292246,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -292193,10 +292266,10 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -292236,7 +292309,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -292413,7 +292486,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -294329,10 +294402,10 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -294372,7 +294445,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -294428,7 +294501,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "403": { "description": "Forbidden", @@ -294471,7 +294544,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -294491,7 +294564,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" } }, "x-github": { @@ -294528,7 +294601,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "409": { "description": "Conflict", @@ -294551,10 +294624,10 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -294667,7 +294740,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -296890,7 +296963,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -296913,7 +296986,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -296999,7 +297072,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -297019,7 +297092,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -297083,7 +297156,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "403": { "description": "Forbidden", @@ -297106,7 +297179,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -297126,7 +297199,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -297146,7 +297219,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" } }, "x-github": { @@ -297190,10 +297263,10 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -297213,7 +297286,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -297233,7 +297306,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -297301,7 +297374,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -299036,7 +299109,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -299059,7 +299132,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -299124,7 +299197,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -299627,10 +299700,10 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -299715,7 +299788,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -299871,7 +299944,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" } }, "x-github": { @@ -299909,7 +299982,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -300448,7 +300521,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -300521,7 +300594,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -303250,7 +303323,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -305971,7 +306044,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -308692,7 +308765,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -308901,7 +308974,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -309168,7 +309241,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -309586,7 +309659,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -309708,7 +309781,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -309989,7 +310062,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -310036,7 +310109,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -310056,7 +310129,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -310160,7 +310233,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -310720,7 +310793,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -310818,7 +310891,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -310997,7 +311070,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -311266,7 +311339,7 @@ } }, "415": { - "description": "Preview Header Missing", + "description": "Preview header missing", "content": { "application/json": { "schema": { @@ -311288,7 +311361,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -311414,7 +311487,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -314135,7 +314208,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -316900,7 +316973,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -318674,7 +318747,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "x-github": { @@ -318710,7 +318783,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "x-github": { @@ -318794,7 +318867,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -321070,7 +321143,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -322840,7 +322913,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "requestBody": { @@ -322891,7 +322964,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "requestBody": { @@ -322930,7 +323003,7 @@ "operationId": "meta/get-zen", "responses": { "200": { - "description": "response", + "description": "Response", "content": { "text/plain": { "schema": { diff --git a/lib/rest/static/dereferenced/github.ae.deref.json b/lib/rest/static/dereferenced/github.ae.deref.json index 4fb966764a..fc0fd201f2 100644 --- a/lib/rest/static/dereferenced/github.ae.deref.json +++ b/lib/rest/static/dereferenced/github.ae.deref.json @@ -134,7 +134,7 @@ ], "servers": [ { - "url": "{protocol}://{hostname}", + "url": "{protocol}://api.{hostname}", "variables": { "hostname": { "description": "Self-hosted GitHub AE hostname", @@ -162,7 +162,7 @@ "operationId": "meta/root", "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -394,7 +394,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -529,7 +529,7 @@ ], "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -729,7 +729,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -859,7 +859,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -1040,7 +1040,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "x-github": { @@ -1092,7 +1092,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "x-github": { @@ -1140,11 +1140,48 @@ "type": "integer", "default": 1 } + }, + { + "name": "direction", + "description": "One of `asc` (ascending) or `desc` (descending).", + "in": "query", + "required": false, + "schema": { + "type": "string", + "enum": [ + "asc", + "desc" + ], + "default": "desc" + } + }, + { + "name": "sort", + "in": "query", + "required": false, + "schema": { + "type": "string", + "enum": [ + "created", + "updated", + "accessed" + ], + "default": "created" + } + }, + { + "name": "since", + "description": "Only show public keys accessed after the given time.", + "in": "query", + "required": false, + "schema": { + "type": "string" + } } ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -1242,7 +1279,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "x-github": { @@ -1270,7 +1307,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -1435,7 +1472,7 @@ ], "responses": { "202": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -1519,11 +1556,39 @@ "type": "integer", "default": 1 } + }, + { + "name": "direction", + "description": "One of `asc` (ascending) or `desc` (descending).", + "in": "query", + "required": false, + "schema": { + "type": "string", + "enum": [ + "asc", + "desc" + ], + "default": "desc" + } + }, + { + "name": "sort", + "in": "query", + "required": false, + "schema": { + "type": "string", + "enum": [ + "created", + "updated", + "name" + ], + "default": "created" + } } ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -1646,7 +1711,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -1787,7 +1852,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -1899,7 +1964,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -2076,7 +2141,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "422": { "description": "Client Errors", @@ -2164,7 +2229,7 @@ ], "responses": { "202": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -2285,7 +2350,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -2370,7 +2435,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -3068,7 +3133,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "x-github": { @@ -3106,7 +3171,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "x-github": { @@ -3144,7 +3209,7 @@ ], "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -3845,7 +3910,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "x-github": { @@ -3876,7 +3941,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -4205,7 +4270,7 @@ ], "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -4531,7 +4596,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -4551,7 +4616,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -4606,7 +4671,7 @@ }, "responses": { "200": { - "description": "Default response", + "description": "Response", "content": { "application/json": { "schema": { @@ -4712,7 +4777,7 @@ }, "responses": { "200": { - "description": "Default response", + "description": "Response", "content": { "application/json": { "schema": { @@ -5375,7 +5440,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -5882,7 +5947,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -5902,7 +5967,7 @@ } }, "415": { - "description": "Preview Header Missing", + "description": "Preview header missing", "content": { "application/json": { "schema": { @@ -5958,10 +6023,10 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -6298,7 +6363,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -7488,7 +7553,7 @@ } }, "415": { - "description": "Preview Header Missing", + "description": "Preview header missing", "content": { "application/json": { "schema": { @@ -7510,7 +7575,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -7530,7 +7595,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -7550,7 +7615,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -7655,10 +7720,10 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -7712,10 +7777,10 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -7789,10 +7854,10 @@ }, "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -7905,7 +7970,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "x-github": { @@ -7965,7 +8030,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -8636,7 +8701,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -8705,7 +8770,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -8777,7 +8842,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -9448,7 +9513,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -9572,10 +9637,10 @@ }, "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -9688,7 +9753,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -10364,7 +10429,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -10429,7 +10494,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -11145,7 +11210,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "x-github": { @@ -11186,7 +11251,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -11500,7 +11565,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -11520,7 +11585,7 @@ } }, "415": { - "description": "Preview Header Missing", + "description": "Preview header missing", "content": { "application/json": { "schema": { @@ -11570,7 +11635,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -11633,10 +11698,10 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "415": { - "description": "Preview Header Missing", + "description": "Preview header missing", "content": { "application/json": { "schema": { @@ -11697,7 +11762,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -11750,7 +11815,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -11770,10 +11835,10 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "415": { - "description": "Preview Header Missing", + "description": "Preview header missing", "content": { "application/json": { "schema": { @@ -11861,7 +11926,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -11911,7 +11976,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -11980,7 +12045,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -12020,7 +12085,7 @@ } }, "415": { - "description": "Preview Header Missing", + "description": "Preview header missing", "content": { "application/json": { "schema": { @@ -12042,7 +12107,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -12107,10 +12172,10 @@ } } }, - "description": "response" + "description": "Response" }, "304": { - "description": "Not Modified" + "description": "Not modified" } }, "x-github": { @@ -12138,7 +12203,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -12225,7 +12290,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -12285,7 +12350,7 @@ }, "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "x-github": { @@ -12313,7 +12378,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -12406,7 +12471,7 @@ }, "responses": { "202": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -12458,7 +12523,7 @@ }, "responses": { "202": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -12523,7 +12588,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -12581,7 +12646,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -12658,7 +12723,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -12918,7 +12983,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -13003,7 +13068,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "requestBody": { @@ -13096,7 +13161,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -13248,7 +13313,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "requestBody": { @@ -13324,7 +13389,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "x-github": { @@ -13370,7 +13435,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "x-github": { @@ -13409,7 +13474,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -13487,7 +13552,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "requestBody": { @@ -13587,7 +13652,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -13765,7 +13830,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -13864,7 +13929,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -13989,7 +14054,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -14086,7 +14151,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "x-github": { @@ -14152,7 +14217,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -14377,7 +14442,7 @@ }, "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "x-github": { @@ -14434,7 +14499,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "x-github": { @@ -14489,7 +14554,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "x-github": { @@ -14546,7 +14611,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -14741,7 +14806,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -14886,7 +14951,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "x-github": { @@ -14934,7 +14999,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -17602,7 +17667,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -17625,7 +17690,7 @@ } }, "503": { - "description": "Service Unavailable", + "description": "Service unavailable", "content": { "application/json": { "schema": { @@ -17674,7 +17739,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -17985,7 +18050,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -18403,7 +18468,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -18512,7 +18577,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -18745,7 +18810,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -18814,10 +18879,10 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -18911,7 +18976,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -19329,7 +19394,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -19398,7 +19463,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -19475,7 +19540,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -19893,7 +19958,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -19913,7 +19978,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -19972,7 +20037,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -20230,7 +20295,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -20250,7 +20315,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" } }, "x-github": { @@ -20357,7 +20422,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -20582,7 +20647,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -20651,7 +20716,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -20705,10 +20770,10 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -20728,7 +20793,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -20805,7 +20870,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -21037,10 +21102,10 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -21134,7 +21199,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -21361,10 +21426,10 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -21449,7 +21514,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -21668,10 +21733,10 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -21787,7 +21852,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -22006,7 +22071,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -22069,13 +22134,13 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -22169,7 +22234,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -22382,7 +22447,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -22402,7 +22467,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -22479,7 +22544,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -22748,7 +22813,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -22768,7 +22833,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -22825,7 +22890,7 @@ ], "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -23238,7 +23303,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -23258,7 +23323,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -23327,7 +23392,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -23402,7 +23467,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -23459,10 +23524,10 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -23482,7 +23547,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -23539,13 +23604,13 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -23629,7 +23694,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -23854,7 +23919,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -23923,7 +23988,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -23991,7 +24056,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -24013,7 +24078,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" } }, "x-github": { @@ -24051,7 +24116,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -24085,7 +24150,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" } }, "x-github": { @@ -24133,7 +24198,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -25275,10 +25340,10 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -25330,7 +25395,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "x-github": { @@ -25369,6 +25434,7 @@ "created", "mentioned", "subscribed", + "repos", "all" ], "default": "assigned" @@ -25489,7 +25555,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -27932,7 +27998,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -28001,10 +28067,10 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -28068,11 +28134,20 @@ "type": "integer", "default": 30 } + }, + { + "name": "page", + "description": "Page number of the results to fetch.", + "in": "query", + "schema": { + "type": "integer", + "default": 1 + } } ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -28178,7 +28253,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" } }, "x-github": { @@ -28216,7 +28291,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -28369,7 +28444,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -28389,7 +28464,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" } }, "x-github": { @@ -28452,7 +28527,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "headers": { "Content-Type": { "example": "text/html", @@ -28482,7 +28557,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" } }, "x-github": { @@ -28527,7 +28602,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "headers": { "X-CommonMarker-Version": { "example": "0.17.4", @@ -28545,7 +28620,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" } }, "x-github": { @@ -28576,7 +28651,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -28711,7 +28786,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" } }, "x-github": { @@ -28775,7 +28850,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -31443,7 +31518,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -31483,10 +31558,10 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "301": { - "description": "Moved Permanently" + "description": "Moved permanently" } }, "x-github": { @@ -31572,7 +31647,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -33231,7 +33306,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -33254,7 +33329,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -33274,7 +33349,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -33389,7 +33464,7 @@ }, "responses": { "202": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -33404,10 +33479,10 @@ } }, "205": { - "description": "response" + "description": "Response" }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -33430,7 +33505,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -33486,7 +33561,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -35132,7 +35207,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -35155,7 +35230,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -35209,10 +35284,10 @@ ], "responses": { "205": { - "description": "response" + "description": "Response" }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -35271,7 +35346,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -35336,7 +35411,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -35359,7 +35434,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -35429,7 +35504,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -35494,7 +35569,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -35517,7 +35592,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -35571,10 +35646,10 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -35597,7 +35672,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -35649,7 +35724,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/octocat-stream": { "schema": { @@ -35703,7 +35778,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -35814,7 +35889,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" } }, "x-github": { @@ -35852,7 +35927,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -36141,7 +36216,9 @@ "plan": { "name": "Medium", "space": 400, - "private_repos": 20 + "private_repos": 20, + "filled_seats": 4, + "seats": 5 }, "default_repository_permission": "read", "members_can_create_repositories": true, @@ -36152,54 +36229,13 @@ "members_can_create_internal_repositories": false, "members_can_create_pages": true } - }, - "response-with-git-hub-plan-information": { - "summary": "Response with GitHub plan information", - "value": { - "login": "github", - "id": 1, - "node_id": "MDEyOk9yZ2FuaXphdGlvbjE=", - "url": "https://api.github.com/orgs/github", - "repos_url": "https://api.github.com/orgs/github/repos", - "events_url": "https://api.github.com/orgs/github/events", - "hooks_url": "https://api.github.com/orgs/github/hooks", - "issues_url": "https://api.github.com/orgs/github/issues", - "members_url": "https://api.github.com/orgs/github/members{/member}", - "public_members_url": "https://api.github.com/orgs/github/public_members{/member}", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "description": "A great organization", - "name": "github", - "company": "GitHub", - "blog": "https://github.com/blog", - "location": "San Francisco", - "email": "octocat@github.com", - "twitter_username": "github", - "is_verified": true, - "has_organization_projects": true, - "has_repository_projects": true, - "public_repos": 2, - "public_gists": 1, - "followers": 20, - "following": 0, - "html_url": "https://github.com/octocat", - "created_at": "2008-01-14T04:33:35Z", - "updated_at": "2014-03-03T18:58:10Z", - "type": "Organization", - "plan": { - "name": "team", - "space": 976562499, - "private_repos": 999999, - "filled_seats": 4, - "seats": 5 - } - } } } } } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -36371,7 +36407,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -36676,7 +36712,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -36792,7 +36828,7 @@ } }, "415": { - "description": "Preview Header Missing", + "description": "Preview header missing", "content": { "application/json": { "schema": { @@ -36853,7 +36889,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -36937,7 +36973,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "requestBody": { @@ -37029,7 +37065,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -38177,7 +38213,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "requestBody": { @@ -38251,7 +38287,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "x-github": { @@ -38295,7 +38331,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "x-github": { @@ -38333,7 +38369,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -38410,7 +38446,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "requestBody": { @@ -38547,7 +38583,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -38682,7 +38718,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -38787,7 +38823,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "x-github": { @@ -38834,7 +38870,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "x-github": { @@ -38890,7 +38926,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -39023,7 +39059,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -39119,7 +39155,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -39312,7 +39348,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "x-github": { @@ -39355,11 +39391,29 @@ "schema": { "type": "string" } + }, + { + "name": "page", + "description": "Page number of the results to fetch.", + "in": "query", + "schema": { + "type": "integer", + "default": 1 + } + }, + { + "name": "per_page", + "description": "Results per page (max 100).", + "in": "query", + "schema": { + "type": "integer", + "default": 30 + } } ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -41011,7 +41065,7 @@ }, "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "x-github": { @@ -41181,7 +41235,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -43902,7 +43956,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -44029,7 +44083,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -44166,7 +44220,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -44288,7 +44342,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -44357,7 +44411,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -44420,7 +44474,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -44534,7 +44588,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -44661,7 +44715,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -44774,7 +44828,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -44843,7 +44897,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -44904,10 +44958,10 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -44970,7 +45024,7 @@ ], "responses": { "200": { - "description": "Default response", + "description": "Response", "content": { "application/json": { "schema": { @@ -45094,7 +45148,7 @@ }, "responses": { "200": { - "description": "Default response", + "description": "Response", "content": { "application/json": { "schema": { @@ -45182,10 +45236,10 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -45240,7 +45294,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -45800,7 +45854,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -46380,6 +46434,7 @@ "created", "mentioned", "subscribed", + "repos", "all" ], "default": "assigned" @@ -46468,7 +46523,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -48911,7 +48966,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -49017,7 +49072,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -49184,7 +49239,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -49354,7 +49409,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "403": { "description": "Forbidden", @@ -49391,7 +49446,7 @@ "/orgs/{org}/memberships/{username}": { "get": { "summary": "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.", + "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.", "tags": [ "orgs" ], @@ -49420,7 +49475,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -49435,11 +49490,21 @@ }, "state": { "type": "string", - "example": "active" + "description": "The state of the member in the organization. The `pending` state indicates the user has not yet accepted an invitation.", + "example": "active", + "enum": [ + "active", + "pending" + ] }, "role": { "type": "string", - "example": "admin" + "description": "The user's membership type in the organization.", + "example": "admin", + "enum": [ + "admin", + "member" + ] }, "organization_url": { "type": "string", @@ -49700,99 +49765,13 @@ "site_admin": false } } - }, - "response-if-user-has-an-active-membership-with-organization": { - "summary": "Response if user has an active membership with organization", - "value": { - "url": "https://api.github.com/orgs/octocat/memberships/defunkt", - "state": "active", - "role": "member", - "organization_url": "https://api.github.com/orgs/octocat", - "organization": { - "login": "github", - "id": 1, - "node_id": "MDEyOk9yZ2FuaXphdGlvbjE=", - "url": "https://api.github.com/orgs/github", - "repos_url": "https://api.github.com/orgs/github/repos", - "events_url": "https://api.github.com/orgs/github/events", - "hooks_url": "https://api.github.com/orgs/github/hooks", - "issues_url": "https://api.github.com/orgs/github/issues", - "members_url": "https://api.github.com/orgs/github/members{/member}", - "public_members_url": "https://api.github.com/orgs/github/public_members{/member}", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "description": "A great organization" - }, - "user": { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - } - } - }, - "response-if-user-has-a-pending-membership-with-organization": { - "summary": "Response if user has a pending membership with organization", - "value": { - "url": "https://api.github.com/orgs/invitocat/memberships/defunkt", - "state": "pending", - "role": "member", - "organization_url": "https://api.github.com/orgs/invitocat", - "organization": { - "login": "github", - "id": 1, - "node_id": "MDEyOk9yZ2FuaXphdGlvbjE=", - "url": "https://api.github.com/orgs/github", - "repos_url": "https://api.github.com/orgs/github/repos", - "events_url": "https://api.github.com/orgs/github/events", - "hooks_url": "https://api.github.com/orgs/github/hooks", - "issues_url": "https://api.github.com/orgs/github/issues", - "members_url": "https://api.github.com/orgs/github/members{/member}", - "public_members_url": "https://api.github.com/orgs/github/public_members{/member}", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "description": "A great organization" - }, - "user": { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - } - } } } } } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -49893,7 +49872,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -49908,11 +49887,21 @@ }, "state": { "type": "string", - "example": "active" + "description": "The state of the member in the organization. The `pending` state indicates the user has not yet accepted an invitation.", + "example": "active", + "enum": [ + "active", + "pending" + ] }, "role": { "type": "string", - "example": "admin" + "description": "The user's membership type in the organization.", + "example": "admin", + "enum": [ + "admin", + "member" + ] }, "organization_url": { "type": "string", @@ -50131,51 +50120,8 @@ ] }, "examples": { - "response-if-user-was-previously-unaffiliated-with-organization": { - "summary": "Response if user was previously unaffiliated with organization", - "value": { - "url": "https://api.github.com/orgs/invitocat/memberships/defunkt", - "state": "pending", - "role": "admin", - "organization_url": "https://api.github.com/orgs/invitocat", - "organization": { - "login": "github", - "id": 1, - "node_id": "MDEyOk9yZ2FuaXphdGlvbjE=", - "url": "https://api.github.com/orgs/github", - "repos_url": "https://api.github.com/orgs/github/repos", - "events_url": "https://api.github.com/orgs/github/events", - "hooks_url": "https://api.github.com/orgs/github/hooks", - "issues_url": "https://api.github.com/orgs/github/issues", - "members_url": "https://api.github.com/orgs/github/members{/member}", - "public_members_url": "https://api.github.com/orgs/github/public_members{/member}", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "description": "A great organization" - }, - "user": { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - } - } - }, "response-if-user-already-had-membership-with-organization": { - "summary": "Response if user already had membership with organization", + "summary": "Response if user has an active admin membership with organization", "value": { "url": "https://api.github.com/orgs/octocat/memberships/defunkt", "state": "active", @@ -50222,7 +50168,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -50352,7 +50298,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "403": { "description": "Forbidden", @@ -50375,7 +50321,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -50462,7 +50408,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -50667,41 +50613,10 @@ "description": "User was converted" }, "403": { - "description": "response", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - } - } - }, - "examples": { - "response-if-user-is-the-last-owner-of-the-organization": { - "summary": "Response if user is the last owner of the organization", - "value": { - "message": "Cannot convert the last owner to an outside collaborator", - "documentation_url": "https://docs.github.com/github-ae@latest/rest/reference/orgs#convert-member-to-outside-collaborator" - } - }, - "response-if-user-is-not-a-member-of-the-organization": { - "summary": "Response if user is not a member of the organization", - "value": { - "message": " is not a member of the organization.", - "documentation_url": "https://docs.github.com/github-ae@latest/rest/reference/orgs#convert-member-to-outside-collaborator" - } - } - } - } - } + "description": "Response if user is the last owner of the organization or not a member of the organization" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -50762,7 +50677,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "422": { "description": "Response if user is a member of the organization", @@ -50859,7 +50774,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -51128,7 +51043,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -51221,7 +51136,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -51477,7 +51392,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -51517,7 +51432,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -51557,7 +51472,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -51644,7 +51559,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -51890,7 +51805,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "403": { "description": "Forbidden", @@ -51954,7 +51869,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "x-github": { @@ -52057,7 +51972,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -53941,7 +53856,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -55064,7 +54979,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -55195,7 +55110,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -55491,7 +55406,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -55982,7 +55897,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -56115,7 +56030,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -56606,7 +56521,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -56715,7 +56630,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -57248,7 +57163,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "x-github": { @@ -57323,11 +57238,20 @@ "type": "integer", "default": 1 } + }, + { + "name": "pinned", + "in": "query", + "required": false, + "description": "Pinned discussions only filter", + "schema": { + "type": "string" + } } ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -57748,7 +57672,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -58135,7 +58059,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -58541,7 +58465,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -58925,7 +58849,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "x-github": { @@ -59012,7 +58936,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -59396,7 +59320,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -59757,7 +59681,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -60136,7 +60060,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -60494,7 +60418,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "x-github": { @@ -60594,7 +60518,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -60896,7 +60820,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -61164,7 +61088,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "x-github": { @@ -61260,7 +61184,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -61554,7 +61478,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -61814,7 +61738,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "x-github": { @@ -61898,7 +61822,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -62068,7 +61992,7 @@ "/orgs/{org}/teams/{team_slug}/memberships/{username}": { "get": { "summary": "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).", + "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).", "tags": [ "teams" ], @@ -62106,7 +62030,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -62129,7 +62053,12 @@ "type": "string" }, "state": { - "type": "string" + "description": "The state of the user's membership in the team.", + "type": "string", + "enum": [ + "active", + "pending" + ] } }, "required": [ @@ -62139,14 +62068,6 @@ ] }, "examples": { - "response-if-user-has-an-active-membership-with-team": { - "summary": "Response if user has an active membership with team", - "value": { - "url": "https://api.github.com/teams/1/memberships/octocat", - "role": "member", - "state": "active" - } - }, "response-if-user-is-a-team-maintainer": { "summary": "Response if user is a team maintainer", "value": { @@ -62154,14 +62075,6 @@ "role": "maintainer", "state": "active" } - }, - "response-if-user-has-a-pending-membership-with-team": { - "summary": "Response if user has a pending membership with team", - "value": { - "url": "https://api.github.com/teams/1/memberships/octocat", - "role": "member", - "state": "pending" - } } } } @@ -62241,7 +62154,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -62264,7 +62177,12 @@ "type": "string" }, "state": { - "type": "string" + "description": "The state of the user's membership in the team.", + "type": "string", + "enum": [ + "active", + "pending" + ] } }, "required": [ @@ -62274,14 +62192,6 @@ ] }, "examples": { - "response-if-users-membership-with-team-is-now-active": { - "summary": "Response if user's membership with team is now active", - "value": { - "url": "https://api.github.com/teams/1/memberships/octocat", - "role": "member", - "state": "active" - } - }, "response-if-users-membership-with-team-is-now-pending": { "summary": "Response if user's membership with team is now pending", "value": { @@ -62298,50 +62208,7 @@ "description": "Response if team synchronization is set up" }, "422": { - "description": "Response if you attempt to add an organization to a team", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "errors": { - "type": "array", - "items": { - "type": "object", - "properties": { - "code": { - "type": "string" - }, - "field": { - "type": "string" - }, - "resource": { - "type": "string" - } - } - } - } - } - }, - "examples": { - "response-if-you-attempt-to-add-an-organization-to-a-team": { - "value": { - "message": "Cannot add an organization as a member.", - "errors": [ - { - "code": "org", - "field": "user", - "resource": "TeamMember" - } - ] - } - } - } - } - } + "description": "Response if you attempt to add an organization to a team" } }, "x-github": { @@ -62394,7 +62261,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "403": { "description": "Response if team synchronization is set up" @@ -62462,7 +62329,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -62782,7 +62649,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -63111,7 +62978,7 @@ }, "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "403": { "description": "Response if the project is not owned by the organization", @@ -63194,7 +63061,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "x-github": { @@ -63259,7 +63126,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -67003,7 +66870,7 @@ }, "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "x-github": { @@ -67064,7 +66931,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "x-github": { @@ -67356,7 +67223,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -67583,7 +67450,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -67606,7 +67473,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -67626,7 +67493,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -67706,7 +67573,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -67933,7 +67800,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -67956,7 +67823,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -67976,7 +67843,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -67996,7 +67863,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -68064,10 +67931,10 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -68094,7 +67961,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -68114,7 +67981,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -68199,7 +68066,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -68212,7 +68079,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -68253,7 +68120,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -68273,7 +68140,7 @@ } }, "503": { - "description": "Service Unavailable", + "description": "Service unavailable", "content": { "application/json": { "schema": { @@ -68308,7 +68175,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -68417,7 +68284,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -68494,7 +68361,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -68517,7 +68384,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -68537,7 +68404,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -68614,7 +68481,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -68691,7 +68558,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -68714,7 +68581,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -68772,10 +68639,10 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -68798,7 +68665,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -68891,7 +68758,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -69131,7 +68998,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -69154,7 +69021,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -69255,7 +69122,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -69482,7 +69349,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -69505,7 +69372,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -69525,7 +69392,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -69621,7 +69488,7 @@ } }, "503": { - "description": "Service Unavailable", + "description": "Service unavailable", "content": { "application/json": { "schema": { @@ -69716,7 +69583,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -69729,7 +69596,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -69752,7 +69619,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -69782,7 +69649,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -69841,7 +69708,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -70097,7 +69964,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -70120,7 +69987,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -70218,7 +70085,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -70477,7 +70344,7 @@ "description": "Response if the authenticated user does not have access to the project" }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -70504,7 +70371,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -70544,7 +70411,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -70614,7 +70481,7 @@ "description": "Delete Success" }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -70641,7 +70508,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -70681,7 +70548,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -70773,7 +70640,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -70929,7 +70796,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -70949,7 +70816,7 @@ } }, "415": { - "description": "Preview Header Missing", + "description": "Preview header missing", "content": { "application/json": { "schema": { @@ -70971,7 +70838,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -71040,7 +70907,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -71063,7 +70930,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -71152,10 +71019,10 @@ }, "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -71175,7 +71042,7 @@ } }, "415": { - "description": "Preview Header Missing", + "description": "Preview header missing", "content": { "application/json": { "schema": { @@ -71197,7 +71064,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -71266,7 +71133,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -71289,7 +71156,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -71354,13 +71221,13 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -71380,7 +71247,7 @@ } }, "415": { - "description": "Preview Header Missing", + "description": "Preview header missing", "content": { "application/json": { "schema": { @@ -71422,7 +71289,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -71491,7 +71358,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -71558,7 +71425,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -71723,7 +71590,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -71743,7 +71610,7 @@ } }, "415": { - "description": "Preview Header Missing", + "description": "Preview header missing", "content": { "application/json": { "schema": { @@ -71765,7 +71632,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -71834,7 +71701,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -71857,7 +71724,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -71934,7 +71801,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -72024,7 +71891,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -72047,7 +71914,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -72123,7 +71990,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -72196,7 +72063,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -72219,7 +72086,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -72249,7 +72116,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -72301,7 +72168,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -72527,10 +72394,10 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -72585,10 +72452,10 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -72611,7 +72478,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -72651,7 +72518,7 @@ } }, "415": { - "description": "Preview Header Missing", + "description": "Preview header missing", "content": { "application/json": { "schema": { @@ -72723,7 +72590,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -77435,7 +77302,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -77455,7 +77322,7 @@ } }, "301": { - "description": "Moved Permanently" + "description": "Moved permanently" } }, "x-github": { @@ -77604,7 +77471,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -81804,7 +81671,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -81873,7 +81740,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -81943,7 +81810,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "403": { "description": "If an organization owner has configured the organization to prevent members from deleting organization-owned repositories, a member will get this response:", @@ -81968,7 +81835,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -82049,7 +81916,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -82227,7 +82094,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -82363,7 +82230,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "x-github": { @@ -82426,7 +82293,7 @@ ], "responses": { "302": { - "description": "response", + "description": "Response", "headers": { "Location": { "example": "https://pipelines.actions.githubusercontent.com/OhgS4QRKqmgx7bKC27GKU83jnQjyeqG8oIMTge8eqtheppcmw8/_apis/pipelines/1/runs/176/signedlogcontent?urlExpires=2020-01-24T18%3A10%3A31.5729946Z&urlSigningMethod=HMACV1&urlSignature=agG73JakPYkHrh06seAkvmH7rBR4Ji4c2%2B6a2ejYh3E%3D", @@ -82489,7 +82356,7 @@ ], "responses": { "202": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -82795,7 +82662,7 @@ ], "responses": { "302": { - "description": "response", + "description": "Response", "headers": { "Location": { "example": "https://pipelines.actions.githubusercontent.com/ab1f3cCFPB34Nd6imvFxpGZH5hNlDp2wijMwl2gDoO0bcrrlJj/_apis/pipelines/1/jobs/19/signedlogcontent?urlExpires=2020-01-22T22%3A44%3A54.1389777Z&urlSigningMethod=HMACV1&urlSignature=2TUDfIg4fm36OJmfPy6km5QD5DLCOkBVzvhWZM8B%2BUY%3D", @@ -82849,7 +82716,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -82932,7 +82799,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "requestBody": { @@ -83009,7 +82876,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -83094,7 +82961,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "requestBody": { @@ -83201,7 +83068,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -83407,7 +83274,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "x-github": { @@ -83522,7 +83389,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -87056,7 +86923,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -90560,7 +90427,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "x-github": { @@ -90918,7 +90785,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -91096,7 +90963,7 @@ ], "responses": { "202": { - "description": "response" + "description": "Response" } }, "x-github": { @@ -91183,7 +91050,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -91517,7 +91384,7 @@ ], "responses": { "302": { - "description": "response", + "description": "Response", "headers": { "Location": { "example": "https://pipelines.actions.githubusercontent.com/ab1f3cCFPB34Nd6imvFxpGZH5hNlDp2wijMwl2gDoO0bcrrlJj/_apis/pipelines/1/runs/19/signedlogcontent?urlExpires=2020-01-22T22%3A44%3A54.1389777Z&urlSigningMethod=HMACV1&urlSignature=2TUDfIg4fm36OJmfPy6km5QD5DLCOkBVzvhWZM8B%2BUY%3D", @@ -91578,7 +91445,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "x-github": { @@ -92636,7 +92503,7 @@ ], "responses": { "201": { - "description": "response" + "description": "Response" } }, "x-github": { @@ -92691,7 +92558,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -92844,7 +92711,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -92961,7 +92828,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -93065,7 +92932,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -93236,7 +93103,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "x-github": { @@ -93300,7 +93167,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -93492,7 +93359,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -93644,7 +93511,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "x-github": { @@ -93706,7 +93573,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "requestBody": { @@ -93801,7 +93668,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "x-github": { @@ -93932,7 +93799,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -97473,7 +97340,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -97597,7 +97464,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -97753,7 +97620,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -97917,7 +97784,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -98643,18 +98510,6 @@ }, "examples": { "default": { - "value": [ - { - "name": "master", - "commit": { - "sha": "c5b97d5ae6c19d5c5df71a34c7fbeeda2479ccbc", - "url": "https://api.github.com/repos/octocat/Hello-World/commits/c5b97d5ae6c19d5c5df71a34c7fbeeda2479ccbc" - }, - "protected": true - } - ] - }, - "with-protection": { "value": [ { "name": "master", @@ -98690,7 +98545,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -98763,7 +98618,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -100081,7 +99936,7 @@ } }, "415": { - "description": "Preview Header Missing", + "description": "Preview header missing", "content": { "application/json": { "schema": { @@ -100103,7 +99958,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -100176,7 +100031,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -101022,7 +100877,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -101261,7 +101116,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -101992,7 +101847,7 @@ } }, "415": { - "description": "Preview Header Missing", + "description": "Preview header missing", "content": { "application/json": { "schema": { @@ -102014,7 +101869,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -102044,7 +101899,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -102119,7 +101974,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "403": { "description": "Forbidden", @@ -102195,7 +102050,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -102281,7 +102136,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -102370,7 +102225,7 @@ "description": "No Content" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -102443,7 +102298,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/vnd.github.luke-cage-preview+json": { "schema": { @@ -102922,7 +102777,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -103290,7 +103145,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -103417,7 +103272,7 @@ "description": "No Content" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -103490,7 +103345,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -103525,7 +103380,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -103600,7 +103455,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -103635,7 +103490,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -103713,7 +103568,7 @@ "description": "No Content" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -103790,7 +103645,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -103845,7 +103700,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -103944,7 +103799,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -103999,7 +103854,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -104019,7 +103874,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -104195,7 +104050,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -104211,7 +104066,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -104308,7 +104163,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -104325,7 +104180,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -104414,7 +104269,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -104512,7 +104367,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -104528,7 +104383,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -104597,7 +104452,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -104695,7 +104550,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -104711,7 +104566,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -104731,7 +104586,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -104854,7 +104709,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -105225,7 +105080,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -105352,7 +105207,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -105651,7 +105506,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -105748,7 +105603,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -106047,7 +105902,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -106194,7 +106049,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -106493,7 +106348,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -106640,7 +106495,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -106939,7 +106794,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -107062,7 +106917,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -107233,7 +107088,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -107330,7 +107185,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -107501,7 +107356,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -107648,7 +107503,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -107819,7 +107674,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -107966,7 +107821,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -108137,7 +107992,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -108260,7 +108115,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -108408,7 +108263,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -108505,7 +108360,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -108653,7 +108508,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -108800,7 +108655,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -108948,7 +108803,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -109095,7 +108950,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -109243,7 +109098,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -109580,7 +109435,7 @@ }, "examples": { "example-of-in-progress-conclusion": { - "summary": "Example of in_progress conclusion", + "summary": "Response for in_progress conclusion", "value": { "name": "mighty_readme", "head_sha": "ce587453ced02b1526dfb4cb910479d431683101", @@ -109595,7 +109450,7 @@ } }, "example-of-completed-conclusion": { - "summary": "Example of completed conclusion", + "summary": "Response for completed conclusion", "value": { "name": "mighty_readme", "head_sha": "ce587453ced02b1526dfb4cb910479d431683101", @@ -109649,7 +109504,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -110465,101 +110320,8 @@ ] }, "examples": { - "example-of-in-progress-conclusion": { - "summary": "Example of in_progress conclusion", - "value": { - "id": 4, - "head_sha": "ce587453ced02b1526dfb4cb910479d431683101", - "node_id": "MDg6Q2hlY2tSdW40", - "external_id": "42", - "url": "https://api.github.com/repos/github/hello-world/check-runs/4", - "html_url": "https://github.com/github/hello-world/runs/4", - "details_url": "https://example.com", - "status": "in_progress", - "conclusion": "neutral", - "started_at": "2018-05-04T01:14:52Z", - "completed_at": null, - "output": { - "title": "Mighty Readme Report", - "summary": "", - "text": "", - "annotations_count": 1, - "annotations_url": "https://api.github.com/repos/github/hello-world/check-runs/4/annotations" - }, - "name": "mighty_readme", - "check_suite": { - "id": 5 - }, - "app": { - "id": 1, - "slug": "octoapp", - "node_id": "MDExOkludGVncmF0aW9uMQ==", - "owner": { - "login": "github", - "id": 1, - "node_id": "MDEyOk9yZ2FuaXphdGlvbjE=", - "url": "https://api.github.com/orgs/github", - "repos_url": "https://api.github.com/orgs/github/repos", - "events_url": "https://api.github.com/orgs/github/events", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": true - }, - "name": "Octocat App", - "description": "", - "external_url": "https://example.com", - "html_url": "https://github.com/apps/octoapp", - "created_at": "2017-07-08T16:18:44-04:00", - "updated_at": "2017-07-08T16:18:44-04:00", - "permissions": { - "metadata": "read", - "contents": "read", - "issues": "write", - "single_file": "write" - }, - "events": [ - "push", - "pull_request" - ] - }, - "pull_requests": [ - { - "url": "https://api.github.com/repos/github/hello-world/pulls/1", - "id": 1934, - "number": 3956, - "head": { - "ref": "say-hello", - "sha": "3dca65fa3e8d4b3da3f3d056c59aee1c50f41390", - "repo": { - "id": 526, - "url": "https://api.github.com/repos/github/hello-world", - "name": "hello-world" - } - }, - "base": { - "ref": "master", - "sha": "e7fdf7640066d71ad16a86fbcbb9c6a10a18af4f", - "repo": { - "id": 526, - "url": "https://api.github.com/repos/github/hello-world", - "name": "hello-world" - } - } - } - ] - } - }, "example-of-completed-conclusion": { - "summary": "Example of completed conclusion", + "summary": "Response for completed conclusion", "value": { "id": 4, "head_sha": "ce587453ced02b1526dfb4cb910479d431683101", @@ -110708,7 +110470,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -111925,7 +111687,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -112908,7 +112670,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -113072,7 +112834,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -115457,7 +115219,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -116652,7 +116414,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -119060,7 +118822,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -120053,7 +119815,7 @@ ], "responses": { "201": { - "description": "response" + "description": "Response" } }, "x-github": { @@ -120070,7 +119832,7 @@ "/repos/{owner}/{repo}/code-scanning/alerts": { "get": { "summary": "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 the default branch or for the specified Git reference\n(if you used `ref` in the request).", + "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).", "tags": [ "code-scanning" ], @@ -120142,7 +119904,7 @@ "required": false, "schema": { "type": "string", - "description": "The full Git reference, formatted as `refs/heads/`." + "description": "The full Git reference, formatted as `refs/heads/`,\n`refs/pull//merge`, or `refs/pull//head`." } }, { @@ -120155,6 +119917,7 @@ "description": "State of a code scanning alert.", "enum": [ "open", + "closed", "dismissed", "fixed" ] @@ -120163,7 +119926,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -120210,6 +119973,7 @@ "description": "State of a code scanning alert.", "enum": [ "open", + "closed", "dismissed", "fixed" ] @@ -120405,7 +120169,7 @@ "properties": { "ref": { "type": "string", - "description": "The full Git reference, formatted as `refs/heads/`." + "description": "The full Git reference, formatted as `refs/heads/`,\n`refs/pull//merge`, or `refs/pull//head`." }, "analysis_key": { "type": "string", @@ -120420,6 +120184,7 @@ "description": "State of a code scanning alert.", "enum": [ "open", + "closed", "dismissed", "fixed" ] @@ -120606,7 +120371,7 @@ } }, "403": { - "description": "Response if github advanced security is not enabled for this repository", + "description": "Response if GitHub Advanced Security is not enabled for this repository", "content": { "application/json": { "schema": { @@ -120626,7 +120391,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -120646,7 +120411,7 @@ } }, "503": { - "description": "Service Unavailable", + "description": "Service unavailable", "content": { "application/json": { "schema": { @@ -120722,7 +120487,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -120767,6 +120532,7 @@ "description": "State of a code scanning alert.", "enum": [ "open", + "closed", "dismissed", "fixed" ] @@ -120977,7 +120743,7 @@ "properties": { "ref": { "type": "string", - "description": "The full Git reference, formatted as `refs/heads/`." + "description": "The full Git reference, formatted as `refs/heads/`,\n`refs/pull//merge`, or `refs/pull//head`." }, "analysis_key": { "type": "string", @@ -120992,6 +120758,7 @@ "description": "State of a code scanning alert.", "enum": [ "open", + "closed", "dismissed", "fixed" ] @@ -121139,7 +120906,7 @@ } }, "403": { - "description": "Response if github advanced security is not enabled for this repository", + "description": "Response if GitHub Advanced Security is not enabled for this repository", "content": { "application/json": { "schema": { @@ -121159,7 +120926,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -121179,7 +120946,7 @@ } }, "503": { - "description": "Service Unavailable", + "description": "Service unavailable", "content": { "application/json": { "schema": { @@ -121298,7 +121065,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -121343,6 +121110,7 @@ "description": "State of a code scanning alert.", "enum": [ "open", + "closed", "dismissed", "fixed" ] @@ -121553,7 +121321,7 @@ "properties": { "ref": { "type": "string", - "description": "The full Git reference, formatted as `refs/heads/`." + "description": "The full Git reference, formatted as `refs/heads/`,\n`refs/pull//merge`, or `refs/pull//head`." }, "analysis_key": { "type": "string", @@ -121568,6 +121336,7 @@ "description": "State of a code scanning alert.", "enum": [ "open", + "closed", "dismissed", "fixed" ] @@ -121735,7 +121504,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -121755,7 +121524,7 @@ } }, "503": { - "description": "Service Unavailable", + "description": "Service unavailable", "content": { "application/json": { "schema": { @@ -121852,13 +121621,13 @@ "required": false, "schema": { "type": "string", - "description": "The full Git reference, formatted as `refs/heads/`." + "description": "The full Git reference, formatted as `refs/heads/`,\n`refs/pull//merge`, or `refs/pull//head`." } } ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -121868,7 +121637,7 @@ "properties": { "ref": { "type": "string", - "description": "The full Git reference, formatted as `refs/heads/`." + "description": "The full Git reference, formatted as `refs/heads/`,\n`refs/pull//merge`, or `refs/pull//head`." }, "analysis_key": { "type": "string", @@ -121883,6 +121652,7 @@ "description": "State of a code scanning alert.", "enum": [ "open", + "closed", "dismissed", "fixed" ] @@ -121990,7 +121760,7 @@ } }, "403": { - "description": "Response if github advanced security is not enabled for this repository", + "description": "Response if GitHub Advanced Security is not enabled for this repository", "content": { "application/json": { "schema": { @@ -122010,7 +121780,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -122030,7 +121800,7 @@ } }, "503": { - "description": "Service Unavailable", + "description": "Service unavailable", "content": { "application/json": { "schema": { @@ -122137,7 +121907,7 @@ "required": false, "schema": { "type": "string", - "description": "The full Git reference, formatted as `refs/heads/`." + "description": "The full Git reference, formatted as `refs/heads/`,\n`refs/pull//merge`, or `refs/pull//head`." } }, { @@ -122155,7 +121925,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -122165,7 +121935,7 @@ "properties": { "ref": { "type": "string", - "description": "The full Git reference, formatted as `refs/heads/`." + "description": "The full Git reference, formatted as `refs/heads/`,\n`refs/pull//merge`, or `refs/pull//head`." }, "commit_sha": { "description": "The SHA of the commit to which the analysis you are uploading relates.", @@ -122306,7 +122076,7 @@ } }, "403": { - "description": "Response if github advanced security is not enabled for this repository", + "description": "Response if GitHub Advanced Security is not enabled for this repository", "content": { "application/json": { "schema": { @@ -122326,7 +122096,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -122346,7 +122116,7 @@ } }, "503": { - "description": "Service Unavailable", + "description": "Service unavailable", "content": { "application/json": { "schema": { @@ -122418,7 +122188,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -122426,7 +122196,7 @@ "properties": { "ref": { "type": "string", - "description": "The full Git reference, formatted as `refs/heads/`." + "description": "The full Git reference, formatted as `refs/heads/`,\n`refs/pull//merge`, or `refs/pull//head`." }, "commit_sha": { "description": "The SHA of the commit to which the analysis you are uploading relates.", @@ -122546,7 +122316,7 @@ } }, "403": { - "description": "Response if github advanced security is not enabled for this repository", + "description": "Response if GitHub Advanced Security is not enabled for this repository", "content": { "application/json": { "schema": { @@ -122566,7 +122336,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -122586,7 +122356,7 @@ } }, "503": { - "description": "Service Unavailable", + "description": "Service unavailable", "content": { "application/json": { "schema": { @@ -122620,7 +122390,7 @@ "/repos/{owner}/{repo}/code-scanning/sarifs": { "post": { "summary": "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\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\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).\"", + "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/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/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\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).\"", "operationId": "code-scanning/upload-sarif", "tags": [ "code-scanning" @@ -122662,7 +122432,7 @@ }, "ref": { "type": "string", - "description": "The full Git reference, formatted as `refs/heads/`." + "description": "The full Git reference, formatted as `refs/heads/`,\n`refs/pull//merge`, or `refs/pull//head`." }, "sarif": { "description": "A Base64 string representing the SARIF file to upload. You must first compress your SARIF file using [`gzip`](http://www.gnu.org/software/gzip/manual/gzip.html) and then translate the contents of the file into a Base64 encoding string. For more information, see \"[SARIF support for code scanning](https://docs.github.com/github-ae@latest/github/finding-security-vulnerabilities-and-errors-in-your-code/sarif-support-for-code-scanning).\"", @@ -122695,7 +122465,7 @@ }, "responses": { "202": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -122752,7 +122522,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -122775,7 +122545,7 @@ "description": "Response if the sarif field is too large" }, "503": { - "description": "Service Unavailable", + "description": "Service unavailable", "content": { "application/json": { "schema": { @@ -122847,7 +122617,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -122883,7 +122653,7 @@ } }, "403": { - "description": "Response if github advanced security is not enabled for this repository", + "description": "Response if GitHub Advanced Security is not enabled for this repository", "content": { "application/json": { "schema": { @@ -122906,7 +122676,7 @@ "description": "Response if the sarif id does not match any upload" }, "503": { - "description": "Service Unavailable", + "description": "Service unavailable", "content": { "application/json": { "schema": { @@ -123002,7 +122772,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -123177,7 +122947,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -125236,7 +125006,7 @@ "description": "Response when person is already a collaborator" }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -125375,7 +125145,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "x-github": { @@ -125594,7 +125364,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -125675,7 +125445,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -126033,7 +125803,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -126322,7 +126092,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -126417,7 +126187,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -126706,7 +126476,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -126776,10 +126546,10 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -126888,7 +126658,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -127097,7 +126867,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -127117,7 +126887,7 @@ } }, "415": { - "description": "Preview Header Missing", + "description": "Preview header missing", "content": { "application/json": { "schema": { @@ -127616,7 +127386,7 @@ } }, "415": { - "description": "Preview Header Missing", + "description": "Preview header missing", "content": { "application/json": { "schema": { @@ -127638,7 +127408,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -127771,7 +127541,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "x-github": { @@ -127880,11 +127650,31 @@ "type": "integer", "default": 1 } + }, + { + "name": "top", + "description": "legacy parameter for pagination.", + "in": "query", + "deprecated": true, + "required": false, + "schema": { + "type": "string" + } + }, + { + "name": "last_sha", + "description": "legacy parameter for pagination.", + "in": "query", + "deprecated": true, + "required": false, + "schema": { + "type": "string" + } } ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -128537,7 +128327,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -128630,7 +128420,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -128687,7 +128477,7 @@ } }, "415": { - "description": "Preview Header Missing", + "description": "Preview header missing", "content": { "application/json": { "schema": { @@ -128709,7 +128499,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -128853,7 +128643,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -129246,7 +129036,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -129563,7 +129353,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -129704,7 +129494,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -133679,7 +133469,7 @@ } }, "415": { - "description": "Preview Header Missing", + "description": "Preview header missing", "content": { "application/json": { "schema": { @@ -133745,9 +133535,27 @@ "type": "string" } }, + { + "name": "page", + "description": "Page number of the results to fetch.", + "in": "query", + "schema": { + "type": "integer", + "default": 1 + } + }, + { + "name": "per_page", + "description": "Results per page (max 100).", + "in": "query", + "schema": { + "type": "integer", + "default": 30 + } + }, { "name": "ref", - "description": "ref+ parameter", + "description": "ref parameter", "in": "path", "required": true, "schema": { @@ -133758,7 +133566,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -134341,7 +134149,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -134410,7 +134218,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -134492,7 +134300,7 @@ }, { "name": "ref", - "description": "ref+ parameter", + "description": "ref parameter", "in": "path", "required": true, "schema": { @@ -134554,11 +134362,19 @@ "type": "integer", "default": 1 } + }, + { + "name": "app_id", + "in": "query", + "required": false, + "schema": { + "type": "integer" + } } ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -135541,7 +135357,7 @@ }, { "name": "ref", - "description": "ref+ parameter", + "description": "ref parameter", "in": "path", "required": true, "schema": { @@ -135589,7 +135405,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -137839,18 +137655,36 @@ }, { "name": "ref", - "description": "ref+ parameter", + "description": "ref parameter", "in": "path", "required": true, "schema": { "type": "string" }, "x-multi-segment": true + }, + { + "name": "per_page", + "description": "Results per page (max 100).", + "in": "query", + "schema": { + "type": "integer", + "default": 30 + } + }, + { + "name": "page", + "description": "Page number of the results to fetch.", + "in": "query", + "schema": { + "type": "integer", + "default": 1 + } } ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -139545,7 +139379,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -139607,7 +139441,7 @@ }, { "name": "ref", - "description": "ref+ parameter", + "description": "ref parameter", "in": "path", "required": true, "schema": { @@ -139636,7 +139470,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -139855,7 +139689,7 @@ } }, "301": { - "description": "Moved Permanently" + "description": "Moved permanently" } }, "x-github": { @@ -139872,7 +139706,7 @@ "/repos/{owner}/{repo}/compare/{base}...{head}": { "get": { "summary": "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. |", + "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\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. |", "tags": [ "repos" ], @@ -139913,11 +139747,29 @@ "schema": { "type": "string" } + }, + { + "name": "per_page", + "description": "Results per page.", + "in": "query", + "schema": { + "type": "integer", + "default": 250 + } + }, + { + "name": "page", + "description": "Page number of the results to fetch.", + "in": "query", + "schema": { + "type": "integer", + "default": 1 + } } ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -141780,7 +141632,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -141842,7 +141694,7 @@ }, { "name": "path", - "description": "path+ parameter", + "description": "path parameter", "in": "path", "required": true, "schema": { @@ -141862,7 +141714,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/vnd.github.v3.object": { "schema": { @@ -142474,7 +142326,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -142557,7 +142409,7 @@ }, { "name": "path", - "description": "path+ parameter", + "description": "path parameter", "in": "path", "required": true, "schema": { @@ -142668,7 +142520,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -142884,7 +142736,7 @@ } }, "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -143100,7 +142952,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -143120,7 +142972,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -143249,7 +143101,7 @@ }, { "name": "path", - "description": "path+ parameter", + "description": "path parameter", "in": "path", "required": true, "schema": { @@ -143323,7 +143175,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -143524,7 +143376,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -143593,7 +143445,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -143633,7 +143485,7 @@ } }, "503": { - "description": "Service Unavailable", + "description": "Service unavailable", "content": { "application/json": { "schema": { @@ -143875,7 +143727,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -143972,7 +143824,8 @@ "required": false, "schema": { "type": "string", - "default": "none" + "default": "none", + "nullable": true } }, { @@ -143996,7 +143849,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -144663,7 +144516,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -145172,48 +145025,6 @@ "transient_environment": false, "production_environment": true } - }, - "advanced-example": { - "summary": "Advanced example", - "value": { - "url": "https://api.github.com/repos/octocat/example/deployments/1", - "id": 1, - "node_id": "MDEwOkRlcGxveW1lbnQx", - "sha": "a84d88e7554fc1fa21bcbc4efae3c782a70d2b9d", - "ref": "topic-branch", - "task": "deploy", - "payload": { - }, - "original_environment": "staging", - "environment": "production", - "description": "Deploy request from hubot", - "creator": { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - }, - "created_at": "2012-07-20T01:19:13Z", - "updated_at": "2012-07-20T01:19:13Z", - "statuses_url": "https://api.github.com/repos/octocat/example/deployments/1/statuses", - "repository_url": "https://api.github.com/repos/octocat/example", - "transient_environment": false, - "production_environment": true - } } } } @@ -145242,40 +145053,10 @@ } }, "409": { - "description": "response", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string", - "example": "\"https://docs.github.com/github-ae@latest/rest/reference/repos#create-a-deployment\"" - } - } - }, - "examples": { - "merge-conflict-response": { - "summary": "Merge conflict response", - "value": { - "message": "Conflict merging master into topic-branch" - } - }, - "failed-commit-status-checks": { - "summary": "Failed commit status checks", - "value": { - "message": "Conflict: Commit status checks failed for topic-branch." - } - } - } - } - } + "description": "Response when there is a merge conflict or the commit's status checks failed" }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -145400,7 +145181,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -145914,7 +145695,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -145988,10 +145769,10 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -146011,7 +145792,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -146111,7 +145892,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -146635,7 +146416,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -146780,7 +146561,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -147299,7 +147080,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -147437,7 +147218,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -147948,7 +147729,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -147968,7 +147749,7 @@ } }, "415": { - "description": "Preview Header Missing", + "description": "Preview header missing", "content": { "application/json": { "schema": { @@ -149622,7 +149403,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Default response" } }, "x-github": { @@ -149686,7 +149467,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -152404,7 +152185,8 @@ "enum": [ "newest", "oldest", - "stargazers" + "stargazers", + "watchers" ], "default": "newest" } @@ -152426,11 +152208,31 @@ "type": "integer", "default": 1 } + }, + { + "name": "org", + "description": "legacy query parameter for specifying the org.", + "in": "query", + "deprecated": true, + "required": false, + "schema": { + "type": "string" + } + }, + { + "name": "organization", + "description": "legacy query parameter for specifying the org.", + "in": "query", + "deprecated": true, + "required": false, + "schema": { + "type": "string" + } } ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -154146,6 +153948,26 @@ "schema": { "type": "string" } + }, + { + "name": "org", + "description": "legacy query parameter for specifying the org.", + "in": "query", + "deprecated": true, + "required": false, + "schema": { + "type": "string" + } + }, + { + "name": "organization", + "description": "legacy query parameter for specifying the org.", + "in": "query", + "deprecated": true, + "required": false, + "schema": { + "type": "string" + } } ], "requestBody": { @@ -154153,6 +153975,7 @@ "application/json": { "schema": { "type": "object", + "nullable": true, "properties": { "organization": { "type": "string", @@ -154165,7 +153988,7 @@ }, "responses": { "202": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -155314,7 +155137,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -155403,7 +155226,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -155493,7 +155316,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -155533,7 +155356,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -155593,7 +155416,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -155713,7 +155536,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -155770,7 +155593,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -155790,7 +155613,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -156005,7 +155828,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -156221,7 +156044,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -156290,7 +156113,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -156363,7 +156186,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -156571,7 +156394,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -156633,7 +156456,7 @@ }, { "name": "ref", - "description": "ref+ parameter", + "description": "ref parameter", "in": "path", "required": true, "schema": { @@ -156662,7 +156485,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -156795,7 +156618,7 @@ }, { "name": "ref", - "description": "ref+ parameter", + "description": "ref parameter", "in": "path", "required": true, "schema": { @@ -156806,7 +156629,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -156874,7 +156697,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -156968,7 +156791,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -157044,7 +156867,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -157155,7 +156978,7 @@ }, { "name": "ref", - "description": "ref+ parameter", + "description": "ref parameter", "in": "path", "required": true, "schema": { @@ -157193,7 +157016,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -157261,7 +157084,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -157370,7 +157193,7 @@ }, { "name": "ref", - "description": "ref+ parameter", + "description": "ref parameter", "in": "path", "required": true, "schema": { @@ -157381,10 +157204,10 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -157563,7 +157386,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -157710,7 +157533,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -157830,7 +157653,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -157969,7 +157792,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -158103,7 +157926,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -158231,7 +158054,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -158300,7 +158123,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -158386,7 +158209,8 @@ "required": true, "schema": { "type": "string" - } + }, + "x-multi-segment": true }, { "name": "recursive", @@ -158400,7 +158224,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -158554,7 +158378,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -158623,7 +158447,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -158704,7 +158528,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -158901,7 +158725,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -159046,7 +158870,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -159238,7 +159062,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -159258,7 +159082,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -159398,7 +159222,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -159582,7 +159406,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -159735,7 +159559,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -159919,7 +159743,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -159988,7 +159812,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -160057,10 +159881,10 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -160131,7 +159955,7 @@ ], "responses": { "200": { - "description": "Default response", + "description": "Response", "content": { "application/json": { "schema": { @@ -160263,7 +160087,7 @@ }, "responses": { "200": { - "description": "Default response", + "description": "Response", "content": { "application/json": { "schema": { @@ -160359,10 +160183,10 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -160433,10 +160257,10 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -160499,7 +160323,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -161006,10 +160830,10 @@ } }, "301": { - "description": "Moved Permanently" + "description": "Moved permanently" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -161090,7 +160914,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -163080,7 +162904,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -165034,7 +164858,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "x-github": { @@ -165196,7 +165020,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -167366,10 +167190,10 @@ } }, "301": { - "description": "Moved Permanently" + "description": "Moved permanently" }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -167438,7 +167262,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -167597,7 +167421,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -169953,7 +169777,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -170022,7 +169846,7 @@ } }, "503": { - "description": "Service Unavailable", + "description": "Service unavailable", "content": { "application/json": { "schema": { @@ -170043,7 +169867,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -170181,7 +170005,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -170726,7 +170550,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -170795,7 +170619,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -170871,7 +170695,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -171403,7 +171227,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -171498,7 +171322,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -172030,7 +171854,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -172149,7 +171973,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "x-github": { @@ -172241,7 +172065,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -172450,7 +172274,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -172470,7 +172294,7 @@ } }, "415": { - "description": "Preview Header Missing", + "description": "Preview header missing", "content": { "application/json": { "schema": { @@ -172969,7 +172793,7 @@ } }, "415": { - "description": "Preview Header Missing", + "description": "Preview header missing", "content": { "application/json": { "schema": { @@ -172991,7 +172815,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -173124,7 +172948,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "x-github": { @@ -173192,7 +173016,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -176294,7 +176118,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -176418,7 +176242,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -179507,7 +179331,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -179623,7 +179447,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -181951,10 +181775,10 @@ } }, "301": { - "description": "Moved Permanently" + "description": "Moved permanently" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -181994,7 +181818,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" } }, "x-github": { @@ -182153,7 +181977,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -184481,7 +184305,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -184550,7 +184374,7 @@ } }, "503": { - "description": "Service Unavailable", + "description": "Service unavailable", "content": { "application/json": { "schema": { @@ -184591,10 +184415,10 @@ } }, "301": { - "description": "Moved Permanently" + "description": "Moved permanently" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -184710,7 +184534,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -186981,7 +186805,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -189257,7 +189081,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -189802,7 +189626,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -189917,7 +189741,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -190497,7 +190321,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -190566,7 +190390,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -190657,7 +190481,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -191010,7 +190834,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -191198,7 +191022,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -191301,7 +191125,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -191444,7 +191268,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -191547,7 +191371,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -191666,7 +191490,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "410": { "description": "Gone", @@ -191749,7 +191573,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -191823,7 +191647,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -191937,7 +191761,7 @@ }, "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "403": { "description": "Forbidden", @@ -191980,7 +191804,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -192000,7 +191824,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -192119,7 +191943,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "403": { "description": "Forbidden", @@ -192142,7 +191966,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -192251,7 +192075,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -192460,7 +192284,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -192500,7 +192324,7 @@ } }, "415": { - "description": "Preview Header Missing", + "description": "Preview header missing", "content": { "application/json": { "schema": { @@ -192607,7 +192431,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -192803,7 +192627,7 @@ } }, "415": { - "description": "Preview Header Missing", + "description": "Preview header missing", "content": { "application/json": { "schema": { @@ -192825,7 +192649,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -192958,7 +192782,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "x-github": { @@ -193035,7 +192859,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -193294,7 +193118,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -193334,7 +193158,7 @@ } }, "415": { - "description": "Preview Header Missing", + "description": "Preview header missing", "content": { "application/json": { "schema": { @@ -193426,7 +193250,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -193568,7 +193392,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -193633,7 +193457,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -193754,7 +193578,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -193811,7 +193635,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -193881,7 +193705,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "x-github": { @@ -193945,7 +193769,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -194036,7 +193860,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -194103,7 +193927,7 @@ "properties": { "name": { "type": "string", - "description": "The name of the label. Emoji can be added to label names, using either native emoji or colon-style markup. For example, typing `:strawberry:` will render the emoji ![:strawberry:](https://github.githubassets.com/images/icons/emoji/unicode/1f353.png \":strawberry:\"). For a full list of available emoji and codes, see [emoji-cheat-sheet.com](http://emoji-cheat-sheet.com/)." + "description": "The name of the label. Emoji can be added to label names, using either native emoji or colon-style markup. For example, typing `:strawberry:` will render the emoji ![:strawberry:](https://github.githubassets.com/images/icons/emoji/unicode/1f353.png \":strawberry:\"). For a full list of available emoji and codes, see \"[Emoji cheat sheet](https://github.com/ikatyang/emoji-cheat-sheet).\"" }, "color": { "type": "string", @@ -194128,7 +193952,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -194205,7 +194029,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -194274,7 +194098,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -194345,7 +194169,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -194414,7 +194238,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -194489,7 +194313,7 @@ "properties": { "new_name": { "type": "string", - "description": "The new name of the label. Emoji can be added to label names, using either native emoji or colon-style markup. For example, typing `:strawberry:` will render the emoji ![:strawberry:](https://github.githubassets.com/images/icons/emoji/unicode/1f353.png \":strawberry:\"). For a full list of available emoji and codes, see [emoji-cheat-sheet.com](http://emoji-cheat-sheet.com/)." + "description": "The new name of the label. Emoji can be added to label names, using either native emoji or colon-style markup. For example, typing `:strawberry:` will render the emoji ![:strawberry:](https://github.githubassets.com/images/icons/emoji/unicode/1f353.png \":strawberry:\"). For a full list of available emoji and codes, see \"[Emoji cheat sheet](https://github.com/ikatyang/emoji-cheat-sheet).\"" }, "color": { "type": "string", @@ -194511,7 +194335,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -194629,7 +194453,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "x-github": { @@ -194675,7 +194499,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -194741,7 +194565,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -195567,63 +195391,10 @@ } }, "404": { - "description": "response", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string", - "example": "\"https://docs.github.com/github-ae@latest/rest/reference/repos#perform-a-merge\"" - } - } - }, - "examples": { - "missing-base-response": { - "summary": "Missing base response", - "value": { - "message": "Base does not exist" - } - }, - "missing-head-response": { - "summary": "Missing head response", - "value": { - "message": "Head does not exist" - } - } - } - } - } + "description": "Response when the base or head does not exist" }, "409": { - "description": "Merge conflict response", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string", - "example": "\"https://docs.github.com/github-ae@latest/rest/reference/repos#perform-a-merge\"" - } - } - }, - "examples": { - "merge-conflict-response": { - "value": { - "message": "Merge Conflict" - } - } - } - } - } + "description": "Response when there is a merge conflict" }, "403": { "description": "Forbidden", @@ -195646,7 +195417,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -195819,7 +195590,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -196100,7 +195871,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -196202,7 +195973,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -196478,7 +196249,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -196498,7 +196269,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -196619,7 +196390,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -196887,7 +196658,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -196995,7 +196766,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -197313,10 +197084,10 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -197406,7 +197177,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -197596,7 +197367,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -199311,7 +199082,7 @@ }, "responses": { "202": { - "description": "response" + "description": "Response" } }, "x-github": { @@ -199357,7 +199128,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -199450,7 +199221,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -199554,7 +199325,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -199647,7 +199418,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -199716,7 +199487,7 @@ } }, "415": { - "description": "Preview Header Missing", + "description": "Preview header missing", "content": { "application/json": { "schema": { @@ -199868,10 +199639,10 @@ }, "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -200035,10 +199806,10 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -200107,7 +199878,7 @@ } }, "415": { - "description": "Preview Header Missing", + "description": "Preview header missing", "content": { "application/json": { "schema": { @@ -200129,7 +199900,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -200214,7 +199985,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -200477,7 +200248,7 @@ ], "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -200555,7 +200326,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -200815,7 +200586,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -201100,7 +200871,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -201369,7 +201140,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -201409,7 +201180,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -201449,7 +201220,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -201550,7 +201321,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -201806,7 +201577,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -201846,7 +201617,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -201886,7 +201657,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -202043,7 +201814,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -206018,10 +205789,10 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -206180,7 +205951,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -209356,7 +209127,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -209468,16 +209239,15 @@ }, { "name": "sort", - "description": "One of `created` (when the repository was starred) or `updated` (when it was last pushed to).", "in": "query", "required": false, "schema": { "type": "string", "enum": [ "created", - "updated" - ], - "default": "created" + "updated", + "created_at" + ] } }, { @@ -209523,7 +209293,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -210049,7 +209819,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -210501,7 +210271,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -210601,7 +210371,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -211107,10 +210877,10 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -211219,7 +210989,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -211428,7 +211198,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -211448,7 +211218,7 @@ } }, "415": { - "description": "Preview Header Missing", + "description": "Preview header missing", "content": { "application/json": { "schema": { @@ -211947,7 +211717,7 @@ } }, "415": { - "description": "Preview Header Missing", + "description": "Preview header missing", "content": { "application/json": { "schema": { @@ -211969,7 +211739,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -212102,7 +211872,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "x-github": { @@ -215308,7 +215078,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "500": { "description": "Internal Error", @@ -215331,7 +215101,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -215441,7 +215211,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -218589,7 +218359,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -218783,7 +218553,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -219389,7 +219159,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -219849,7 +219619,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -220024,7 +219794,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -220484,7 +220254,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -220574,7 +220344,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -221222,7 +220992,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -221323,7 +221093,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -221638,7 +221408,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -221727,7 +221497,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -221817,7 +221587,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -222179,7 +221949,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -226292,10 +226062,10 @@ }, "responses": { "200": { - "description": "response" + "description": "Response" }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -226852,7 +226622,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -227128,7 +226898,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -227239,7 +227009,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -227515,7 +227285,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -227614,7 +227384,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -227890,7 +227660,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -227978,7 +227748,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -228254,7 +228024,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -228284,7 +228054,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -228382,7 +228152,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -228783,7 +228553,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -228885,7 +228655,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -229161,7 +228931,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -229181,7 +228951,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -229298,7 +229068,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -229574,7 +229344,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -229594,7 +229364,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -229714,7 +229484,7 @@ }, "responses": { "202": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -229736,7 +229506,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -229825,7 +229595,7 @@ } }, "415": { - "description": "Preview Header Missing", + "description": "Preview header missing", "content": { "application/json": { "schema": { @@ -229901,6 +229671,279 @@ } } ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "title": "Content File", + "description": "Content File", + "type": "object", + "properties": { + "type": { + "type": "string" + }, + "encoding": { + "type": "string" + }, + "size": { + "type": "integer" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "content": { + "type": "string" + }, + "sha": { + "type": "string" + }, + "url": { + "type": "string", + "format": "uri" + }, + "git_url": { + "type": "string", + "format": "uri", + "nullable": true + }, + "html_url": { + "type": "string", + "format": "uri", + "nullable": true + }, + "download_url": { + "type": "string", + "format": "uri", + "nullable": true + }, + "_links": { + "type": "object", + "properties": { + "git": { + "type": "string", + "format": "uri", + "nullable": true + }, + "html": { + "type": "string", + "format": "uri", + "nullable": true + }, + "self": { + "type": "string", + "format": "uri" + } + }, + "required": [ + "git", + "html", + "self" + ] + }, + "target": { + "type": "string", + "example": "\"actual/actual.md\"" + }, + "submodule_git_url": { + "type": "string", + "example": "\"git://example.com/defunkt/dotjs.git\"" + } + }, + "required": [ + "_links", + "git_url", + "html_url", + "download_url", + "name", + "path", + "sha", + "size", + "type", + "url", + "content", + "encoding" + ] + }, + "examples": { + "default": { + "value": { + "type": "file", + "encoding": "base64", + "size": 5362, + "name": "README.md", + "path": "README.md", + "content": "encoded content ...", + "sha": "3d21ec53a331a6f037a91c368710b99387d012c1", + "url": "https://api.github.com/repos/octokit/octokit.rb/contents/README.md", + "git_url": "https://api.github.com/repos/octokit/octokit.rb/git/blobs/3d21ec53a331a6f037a91c368710b99387d012c1", + "html_url": "https://github.com/octokit/octokit.rb/blob/master/README.md", + "download_url": "https://raw.githubusercontent.com/octokit/octokit.rb/master/README.md", + "_links": { + "git": "https://api.github.com/repos/octokit/octokit.rb/git/blobs/3d21ec53a331a6f037a91c368710b99387d012c1", + "self": "https://api.github.com/repos/octokit/octokit.rb/contents/README.md", + "html": "https://github.com/octokit/octokit.rb/blob/master/README.md" + } + } + } + } + } + } + }, + "404": { + "description": "Resource not found", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + } + } + } + } + } + }, + "422": { + "description": "Validation failed", + "content": { + "application/json": { + "schema": { + "title": "Validation Error", + "description": "Validation Error", + "type": "object", + "required": [ + "message", + "documentation_url" + ], + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "errors": { + "type": "array", + "items": { + "type": "object", + "required": [ + "code" + ], + "properties": { + "resource": { + "type": "string" + }, + "field": { + "type": "string" + }, + "message": { + "type": "string" + }, + "code": { + "type": "string" + }, + "index": { + "type": "integer" + }, + "value": { + "oneOf": [ + { + "type": "string", + "nullable": true + }, + { + "type": "integer", + "nullable": true + }, + { + "type": "array", + "nullable": true, + "items": { + "type": "string" + } + } + ] + } + } + } + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "previews": [ + + ], + "category": "repos", + "subcategory": "contents" + } + } + }, + "/repos/{owner}/{repo}/readme/{dir}": { + "get": { + "summary": "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.", + "tags": [ + "repos" + ], + "operationId": "repos/get-readme-in-directory", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/github-ae@latest/rest/reference/repos#get-a-repository-directory-readme" + }, + "parameters": [ + { + "name": "owner", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "repo", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "dir", + "description": "The alternate path to look for a README file", + "in": "path", + "required": true, + "schema": { + "type": "string" + }, + "x-multi-segment": true + }, + { + "name": "ref", + "description": "The name of the commit/branch/tag. Default: the repository’s default branch (usually `master`)", + "in": "query", + "required": false, + "schema": { + "type": "string" + } + } + ], "responses": { "200": { "description": "response", @@ -230025,7 +230068,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -230045,7 +230088,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -230175,7 +230218,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -230675,7 +230718,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -230784,7 +230827,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -231279,7 +231322,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -231633,7 +231676,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -231653,7 +231696,7 @@ } }, "415": { - "description": "Preview Header Missing", + "description": "Preview header missing", "content": { "application/json": { "schema": { @@ -231755,7 +231798,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -232037,7 +232080,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "x-github": { @@ -232083,7 +232126,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -232612,7 +232655,7 @@ }, { "name": "tag", - "description": "tag+ parameter", + "description": "tag parameter", "in": "path", "required": true, "schema": { @@ -232623,7 +232666,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -233110,7 +233153,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -233669,7 +233712,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -233782,7 +233825,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -234319,7 +234362,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "x-github": { @@ -234392,7 +234435,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -235015,7 +235058,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -235339,7 +235382,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -235523,7 +235566,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -236024,7 +236067,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -236221,7 +236264,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -236496,7 +236539,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -236840,7 +236883,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -236943,7 +236986,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "x-github": { @@ -237007,7 +237050,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -237139,7 +237182,7 @@ ], "responses": { "302": { - "description": "response", + "description": "Response", "headers": { "Location": { "example": "https://codeload.github.com/me/myprivate/legacy.zip/master?login=me&token=thistokenexpires", @@ -237211,7 +237254,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -237429,11 +237472,29 @@ "schema": { "type": "string" } + }, + { + "name": "page", + "description": "Page number of the results to fetch.", + "in": "query", + "schema": { + "type": "integer", + "default": 1 + } + }, + { + "name": "per_page", + "description": "Results per page (max 100).", + "in": "query", + "schema": { + "type": "integer", + "default": 30 + } } ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -237468,7 +237529,7 @@ } }, "415": { - "description": "Preview Header Missing", + "description": "Preview header missing", "content": { "application/json": { "schema": { @@ -237490,7 +237551,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -237584,7 +237645,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -237619,7 +237680,7 @@ } }, "415": { - "description": "Preview Header Missing", + "description": "Preview header missing", "content": { "application/json": { "schema": { @@ -237641,7 +237702,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -237661,7 +237722,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -237770,7 +237831,7 @@ }, "responses": { "202": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -238908,7 +238969,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "x-github": { @@ -238956,7 +239017,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "x-github": { @@ -239014,7 +239075,7 @@ ], "responses": { "302": { - "description": "response", + "description": "Response", "headers": { "Location": { "example": "https://codeload.github.com/me/myprivate/legacy.zip/master?login=me&token=thistokenexpires", @@ -239111,7 +239172,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -240247,7 +240308,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -241827,7 +241888,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -241896,7 +241957,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" } }, "x-github": { @@ -242357,7 +242418,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Default response" } }, "x-github": { @@ -242371,6 +242432,1022 @@ } } }, + "/scim/v2/enterprises/{enterprise}/Groups": { + "get": { + "summary": "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.", + "operationId": "enterprise-admin/list-provisioned-groups-enterprise", + "tags": [ + "enterprise-admin" + ], + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/github-ae@latest/rest/reference/enterprise-admin#list-provisioned-scim-groups-for-an-enterprise" + }, + "parameters": [ + { + "name": "enterprise", + "description": "The slug version of the enterprise name. You can also substitute this value with the enterprise id.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "startIndex", + "description": "Used for pagination: the index of the first result to return.", + "in": "query", + "required": false, + "schema": { + "type": "integer" + } + }, + { + "name": "count", + "description": "Used for pagination: the number of results to return.", + "in": "query", + "required": false, + "schema": { + "type": "integer" + } + }, + { + "name": "filter", + "description": "filter results", + "in": "query", + "required": false, + "schema": { + "type": "string" + } + }, + { + "name": "excludedAttributes", + "description": "attributes to exclude", + "in": "query", + "required": false, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "schemas": { + "type": "array", + "items": { + "type": "string" + } + }, + "totalResults": { + "type": "number" + }, + "itemsPerPage": { + "type": "number" + }, + "startIndex": { + "type": "number" + }, + "Resources": { + "type": "array", + "items": { + "type": "object", + "properties": { + "schemas": { + "type": "array", + "items": { + "type": "string" + } + }, + "id": { + "type": "string" + }, + "externalId": { + "type": "string", + "nullable": true + }, + "displayName": { + "type": "string" + }, + "members": { + "type": "array", + "items": { + "type": "object", + "properties": { + "value": { + "type": "string" + }, + "$ref": { + "type": "string" + }, + "display": { + "type": "string" + } + } + } + }, + "meta": { + "type": "object", + "properties": { + "resourceType": { + "type": "string" + }, + "created": { + "type": "string" + }, + "lastModified": { + "type": "string" + }, + "location": { + "type": "string" + } + } + } + }, + "required": [ + "schemas", + "id" + ] + } + } + }, + "required": [ + "schemas", + "totalResults", + "itemsPerPage", + "startIndex", + "Resources" + ] + }, + "examples": { + "default": { + "value": { + "schemas": [ + "urn:ietf:params:scim:api:messages:2.0:ListResponse" + ], + "totalResults": 2, + "itemsPerPage": 2, + "startIndex": 1, + "Resources": [ + { + "schemas": [ + "urn:ietf:params:scim:schemas:core:2.0:Group" + ], + "id": "abcd27f8-a9aa-11ea-8221-f59b2be9cccc", + "externalId": null, + "displayName": "octo-org", + "members": [ + { + "value": "92b58aaa-a1d6-11ea-8227-b9ce9e023ccc", + "$ref": "https://api.github.com/scim/v2/enterprises/octo-corp/Users/92b58aaa-a1d6-11ea-8227-b9ce9e023ccc", + "display": "octocat@github.com" + }, + { + "value": "aaaa8c34-a6b2-11ea-9d70-bbbbbd1c8fd5", + "$ref": "https://api.github.com/scim/v2/enterprises/octo-corp/Users/aaaa8c34-a6b2-11ea-9d70-bbbbbd1c8fd5", + "display": "hubot@example.com" + } + ], + "meta": { + "resourceType": "Group", + "created": "2020-06-09T03:10:17.000+10:00", + "lastModified": "2020-06-09T03:10:17.000+10:00", + "location": "https://api.github.com/scim/v2/enterprises/octo-corp/Groups/abcd27f8-a9aa-11ea-8221-f59b2be9cccc" + } + }, + { + "schemas": [ + "urn:ietf:params:scim:schemas:core:2.0:Group" + ], + "id": "5e75bbbb-aa1a-11ea-8644-75ff655cdddd", + "externalId": null, + "displayName": "octo-docs-org", + "members": [ + { + "value": "92b58aaa-a1d6-11ea-8227-b9ce9e023ccc", + "$ref": "https://api.github.com/scim/v2/enterprises/octo-corp/Users/92b58aaa-a1d6-11ea-8227-b9ce9e023ccc", + "display": "octocat@github.com" + } + ], + "meta": { + "resourceType": "Group", + "created": "2020-06-09T16:28:01.000+10:00", + "lastModified": "2020-06-09T16:28:01.000+10:00", + "location": "https://api.github.com/scim/v2/enterprises/octo-corp/Groups/5e75bbbb-aa1a-11ea-8644-75ff655cdddd" + } + } + ] + } + } + } + } + } + } + }, + "x-github": { + "enabledForGitHubApps": true, + "githubCloudOnly": true, + "previews": [ + + ], + "category": "enterprise-admin", + "subcategory": "scim" + } + }, + "post": { + "summary": "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.", + "operationId": "enterprise-admin/provision-and-invite-enterprise-group", + "tags": [ + "enterprise-admin" + ], + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/github-ae@latest/rest/reference/enterprise-admin#provision-a-scim-enterprise-group-and-invite-users" + }, + "parameters": [ + { + "name": "enterprise", + "description": "The slug version of the enterprise name. You can also substitute this value with the enterprise id.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "schemas": { + "type": "array", + "description": "The SCIM schema URIs.", + "items": { + "type": "string" + } + }, + "displayName": { + "type": "string", + "description": "The name of the SCIM group. This must match the GitHub organization that the group maps to." + }, + "members": { + "type": "array", + "items": { + "type": "object", + "properties": { + "value": { + "type": "string", + "description": "The SCIM user ID for a user." + } + }, + "required": [ + "value" + ] + } + } + }, + "required": [ + "schemas", + "displayName" + ] + }, + "example": { + "schemas": [ + "urn:ietf:params:scim:schemas:core:2.0:Group" + ], + "displayName": "octo-org", + "members": [ + { + "value": "92b58aaa-a1d6-11ea-8227-b9ce9e023ccc" + }, + { + "value": "aaaa8c34-a6b2-11ea-9d70-bbbbbd1c8fd5" + } + ] + } + } + } + }, + "responses": { + "201": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "schemas": { + "type": "array", + "items": { + "type": "string" + } + }, + "id": { + "type": "string" + }, + "externalId": { + "type": "string", + "nullable": true + }, + "displayName": { + "type": "string" + }, + "members": { + "type": "array", + "items": { + "type": "object", + "properties": { + "value": { + "type": "string" + }, + "$ref": { + "type": "string" + }, + "display": { + "type": "string" + } + } + } + }, + "meta": { + "type": "object", + "properties": { + "resourceType": { + "type": "string" + }, + "created": { + "type": "string" + }, + "lastModified": { + "type": "string" + }, + "location": { + "type": "string" + } + } + } + }, + "required": [ + "schemas", + "id" + ] + }, + "examples": { + "default": { + "value": { + "schemas": [ + "urn:ietf:params:scim:schemas:core:2.0:Group" + ], + "id": "abcd27f8-a9aa-11ea-8221-f59b2be9cccc", + "externalId": null, + "displayName": "octo-org", + "members": [ + { + "value": "92b58aaa-a1d6-11ea-8227-b9ce9e023ccc", + "$ref": "https://api.github.com/scim/v2/enterprises/octo-corp/Users/92b58aaa-a1d6-11ea-8227-b9ce9e023ccc", + "display": "octocat@github.com" + }, + { + "value": "aaaa8c34-a6b2-11ea-9d70-bbbbbd1c8fd5", + "$ref": "https://api.github.com/scim/v2/enterprises/octo-corp/Users/aaaa8c34-a6b2-11ea-9d70-bbbbbd1c8fd5", + "display": "hubot@example.com" + } + ], + "meta": { + "resourceType": "Group", + "created": "2020-06-09T03:10:17.000+10:0", + "lastModified": "2020-06-09T03:10:17.000+10:00", + "location": "https://api.github.com/scim/v2/enterprises/octo-corp/Groups/abcd27f8-a9aa-11ea-8221-f59b2be9cccc" + } + } + } + } + } + } + } + }, + "x-github": { + "enabledForGitHubApps": true, + "githubCloudOnly": true, + "previews": [ + + ], + "category": "enterprise-admin", + "subcategory": "scim" + } + } + }, + "/scim/v2/enterprises/{enterprise}/Groups/{scim_group_id}": { + "get": { + "summary": "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.", + "operationId": "enterprise-admin/get-provisioning-information-for-enterprise-group", + "tags": [ + "enterprise-admin" + ], + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/github-ae@latest/rest/reference/enterprise-admin#get-scim-provisioning-information-for-an-enterprise-group" + }, + "parameters": [ + { + "name": "enterprise", + "description": "The slug version of the enterprise name. You can also substitute this value with the enterprise id.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "scim_group_id", + "description": "Identifier generated by the GitHub SCIM endpoint.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "excludedAttributes", + "description": "Attributes to exclude.", + "in": "query", + "required": false, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "schemas": { + "type": "array", + "items": { + "type": "string" + } + }, + "id": { + "type": "string" + }, + "externalId": { + "type": "string", + "nullable": true + }, + "displayName": { + "type": "string" + }, + "members": { + "type": "array", + "items": { + "type": "object", + "properties": { + "value": { + "type": "string" + }, + "$ref": { + "type": "string" + }, + "display": { + "type": "string" + } + } + } + }, + "meta": { + "type": "object", + "properties": { + "resourceType": { + "type": "string" + }, + "created": { + "type": "string" + }, + "lastModified": { + "type": "string" + }, + "location": { + "type": "string" + } + } + } + }, + "required": [ + "schemas", + "id" + ] + }, + "examples": { + "default": { + "value": { + "schemas": [ + "urn:ietf:params:scim:schemas:core:2.0:Group" + ], + "id": "abcd27f8-a9aa-11ea-8221-f59b2be9cccc", + "externalId": null, + "displayName": "octo-org", + "members": [ + { + "value": "92b58aaa-a1d6-11ea-8227-b9ce9e023ccc", + "$ref": "https://api.github.com/scim/v2/enterprises/octo-corp/Users/92b58aaa-a1d6-11ea-8227-b9ce9e023ccc", + "display": "octocat@github.com" + }, + { + "value": "aaaa8c34-a6b2-11ea-9d70-bbbbbd1c8fd5", + "$ref": "https://api.github.com/scim/v2/enterprises/octo-corp/Users/aaaa8c34-a6b2-11ea-9d70-bbbbbd1c8fd5", + "display": "hubot@example.com" + } + ], + "meta": { + "resourceType": "Group", + "created": "2020-06-09T03:10:17.000+10:0", + "lastModified": "2020-06-09T03:10:17.000+10:00", + "location": "https://api.github.com/scim/v2/enterprises/octo-corp/Groups/abcd27f8-a9aa-11ea-8221-f59b2be9cccc" + } + } + } + } + } + } + } + }, + "x-github": { + "enabledForGitHubApps": true, + "githubCloudOnly": true, + "previews": [ + + ], + "category": "enterprise-admin", + "subcategory": "scim" + } + }, + "put": { + "summary": "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.", + "operationId": "enterprise-admin/set-information-for-provisioned-enterprise-group", + "tags": [ + "enterprise-admin" + ], + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/github-ae@latest/rest/reference/enterprise-admin#set-scim-information-for-a-provisioned-enterprise-group" + }, + "parameters": [ + { + "name": "enterprise", + "description": "The slug version of the enterprise name. You can also substitute this value with the enterprise id.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "scim_group_id", + "description": "Identifier generated by the GitHub SCIM endpoint.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "schemas": { + "type": "array", + "description": "The SCIM schema URIs.", + "items": { + "type": "string" + } + }, + "displayName": { + "type": "string", + "description": "The name of the SCIM group. This must match the GitHub organization that the group maps to." + }, + "members": { + "type": "array", + "items": { + "type": "object", + "properties": { + "value": { + "type": "string", + "description": "The SCIM user ID for a user." + } + }, + "required": [ + "value" + ] + } + } + }, + "required": [ + "schemas", + "displayName" + ] + }, + "example": { + "schemas": [ + "urn:ietf:params:scim:schemas:core:2.0:Group" + ], + "displayName": "octo-org", + "members": [ + { + "value": "92b58aaa-a1d6-11ea-8227-b9ce9e023ccc" + }, + { + "value": "aaaa8c34-a6b2-11ea-9d70-bbbbbd1c8fd5" + } + ] + } + } + } + }, + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "schemas": { + "type": "array", + "items": { + "type": "string" + } + }, + "id": { + "type": "string" + }, + "externalId": { + "type": "string", + "nullable": true + }, + "displayName": { + "type": "string" + }, + "members": { + "type": "array", + "items": { + "type": "object", + "properties": { + "value": { + "type": "string" + }, + "$ref": { + "type": "string" + }, + "display": { + "type": "string" + } + } + } + }, + "meta": { + "type": "object", + "properties": { + "resourceType": { + "type": "string" + }, + "created": { + "type": "string" + }, + "lastModified": { + "type": "string" + }, + "location": { + "type": "string" + } + } + } + }, + "required": [ + "schemas", + "id" + ] + }, + "examples": { + "default": { + "value": { + "schemas": [ + "urn:ietf:params:scim:schemas:core:2.0:Group" + ], + "id": "abcd27f8-a9aa-11ea-8221-f59b2be9cccc", + "externalId": null, + "displayName": "octo-org", + "members": [ + { + "value": "92b58aaa-a1d6-11ea-8227-b9ce9e023ccc", + "$ref": "https://api.github.com/scim/v2/enterprises/octo-corp/Users/92b58aaa-a1d6-11ea-8227-b9ce9e023ccc", + "display": "octocat@github.com" + }, + { + "value": "aaaa8c34-a6b2-11ea-9d70-bbbbbd1c8fd5", + "$ref": "https://api.github.com/scim/v2/enterprises/octo-corp/Users/aaaa8c34-a6b2-11ea-9d70-bbbbbd1c8fd5", + "display": "hubot@example.com" + } + ], + "meta": { + "resourceType": "Group", + "created": "2020-06-09T03:10:17.000+10:0", + "lastModified": "2020-06-09T03:10:17.000+10:00", + "location": "https://api.github.com/scim/v2/enterprises/octo-corp/Groups/abcd27f8-a9aa-11ea-8221-f59b2be9cccc" + } + } + } + } + } + } + } + }, + "x-github": { + "enabledForGitHubApps": true, + "githubCloudOnly": true, + "previews": [ + + ], + "category": "enterprise-admin", + "subcategory": "scim" + } + }, + "patch": { + "summary": "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).", + "operationId": "enterprise-admin/update-attribute-for-enterprise-group", + "tags": [ + "enterprise-admin" + ], + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/github-ae@latest/rest/reference/enterprise-admin#update-an-attribute-for-a-scim-enterprise-group" + }, + "parameters": [ + { + "name": "enterprise", + "description": "The slug version of the enterprise name. You can also substitute this value with the enterprise id.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "scim_group_id", + "description": "Identifier generated by the GitHub SCIM endpoint.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "schemas": { + "type": "array", + "description": "The SCIM schema URIs.", + "items": { + "type": "string" + } + }, + "Operations": { + "type": "array", + "description": "Array of [SCIM operations](https://tools.ietf.org/html/rfc7644#section-3.5.2).", + "minItems": 1, + "items": { + "type": "object", + "properties": { + "op": { + "type": "string", + "enum": [ + "add", + "Add", + "remove", + "Remove", + "replace", + "Replace" + ] + }, + "path": { + "type": "string" + }, + "value": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "object" + }, + { + "type": "array" + } + ] + } + }, + "required": [ + "op" + ] + } + } + }, + "required": [ + "schemas", + "Operations" + ] + }, + "example": { + "schemas": [ + "urn:ietf:params:scim:api:messages:2.0:PatchOp" + ], + "Operations": [ + { + "op": "remove", + "path": "members", + "value": [ + { + "value": "aaaa8c34-a6b2-11ea-9d70-bbbbbd1c8fd5" + } + ] + } + ] + } + } + } + }, + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "schemas": { + "type": "array", + "items": { + "type": "string" + } + }, + "id": { + "type": "string" + }, + "externalId": { + "type": "string", + "nullable": true + }, + "displayName": { + "type": "string" + }, + "members": { + "type": "array", + "items": { + "type": "object", + "properties": { + "value": { + "type": "string" + }, + "$ref": { + "type": "string" + }, + "display": { + "type": "string" + } + } + } + }, + "meta": { + "type": "object", + "properties": { + "resourceType": { + "type": "string" + }, + "created": { + "type": "string" + }, + "lastModified": { + "type": "string" + }, + "location": { + "type": "string" + } + } + } + }, + "required": [ + "schemas", + "id" + ] + }, + "examples": { + "default": { + "value": { + "schemas": [ + "urn:ietf:params:scim:schemas:core:2.0:Group" + ], + "id": "abcd27f8-a9aa-11ea-8221-f59b2be9cccc", + "externalId": null, + "displayName": "octo-org", + "members": [ + { + "value": "92b58aaa-a1d6-11ea-8227-b9ce9e023ccc", + "$ref": "https://api.github.com/scim/v2/enterprises/octo-corp/Users/92b58aaa-a1d6-11ea-8227-b9ce9e023ccc", + "display": "octocat@github.com" + } + ], + "meta": { + "resourceType": "Group", + "created": "2020-06-09T03:10:17.000+10:00", + "lastModified": "2020-06-09T03:10:17.000+10:00", + "location": "https://api.github.com/scim/v2/enterprises/octo-corp/Groups/abcd27f8-a9aa-11ea-8221-f59b2be9cccc" + } + } + } + } + } + } + } + }, + "x-github": { + "enabledForGitHubApps": true, + "githubCloudOnly": true, + "previews": [ + + ], + "category": "enterprise-admin", + "subcategory": "scim" + } + }, + "delete": { + "summary": "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.", + "operationId": "enterprise-admin/delete-scim-group-from-enterprise", + "tags": [ + "enterprise-admin" + ], + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/github-ae@latest/rest/reference/enterprise-admin#delete-a-scim-group-from-an-enterprise" + }, + "parameters": [ + { + "name": "enterprise", + "description": "The slug version of the enterprise name. You can also substitute this value with the enterprise id.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "scim_group_id", + "description": "Identifier generated by the GitHub SCIM endpoint.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "204": { + "description": "Response" + } + }, + "x-github": { + "enabledForGitHubApps": true, + "githubCloudOnly": true, + "previews": [ + + ], + "category": "enterprise-admin", + "subcategory": "scim" + } + } + }, "/search/code": { "get": { "summary": "Search code", @@ -242440,7 +243517,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -244140,10 +245217,10 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "503": { - "description": "Service Unavailable", + "description": "Service unavailable", "content": { "application/json": { "schema": { @@ -244164,7 +245241,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -244334,7 +245411,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -246327,10 +247404,10 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "415": { - "description": "Preview Header Missing", + "description": "Preview header missing", "content": { "application/json": { "schema": { @@ -246446,7 +247523,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -248592,7 +249669,7 @@ } }, "503": { - "description": "Service Unavailable", + "description": "Service unavailable", "content": { "application/json": { "schema": { @@ -248613,7 +249690,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -248682,7 +249759,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -248777,7 +249854,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -248915,10 +249992,10 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -248958,7 +250035,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -249110,7 +250187,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -249819,7 +250896,7 @@ } }, "503": { - "description": "Service Unavailable", + "description": "Service unavailable", "content": { "application/json": { "schema": { @@ -249840,7 +250917,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -249909,7 +250986,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" } }, "x-github": { @@ -249952,7 +251029,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -250226,10 +251303,10 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "415": { - "description": "Preview Header Missing", + "description": "Preview header missing", "content": { "application/json": { "schema": { @@ -250337,7 +251414,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -250581,10 +251658,10 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "503": { - "description": "Service Unavailable", + "description": "Service unavailable", "content": { "application/json": { "schema": { @@ -250605,7 +251682,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -250709,7 +251786,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -251200,7 +252277,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -251306,7 +252383,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -251797,7 +252874,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -251817,7 +252894,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -251942,10 +253019,10 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -251965,7 +253042,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -252104,7 +253181,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -252519,7 +253596,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -252900,7 +253977,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -253300,7 +254377,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -253678,7 +254755,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "x-github": { @@ -253759,7 +254836,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -254137,7 +255214,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -254492,7 +255569,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -254865,7 +255942,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -255217,7 +256294,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "x-github": { @@ -255311,7 +256388,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -255607,7 +256684,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -255890,7 +256967,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -256178,7 +257255,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -256449,7 +257526,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -256605,7 +257682,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -256721,74 +257798,13 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "404": { "description": "Response if team synchronization is set up" }, "422": { - "description": "response", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "errors": { - "type": "array", - "items": { - "type": "object", - "properties": { - "code": { - "type": "string" - }, - "field": { - "type": "string" - }, - "resource": { - "type": "string" - } - } - } - }, - "documentation_url": { - "type": "string", - "example": "\"https://docs.github.com/github-ae@latest/rest\"" - } - } - }, - "examples": { - "response-if-you-attempt-to-add-an-organization-to-a-team": { - "summary": "Response if you attempt to add an organization to a team", - "value": { - "message": "Cannot add an organization as a member.", - "errors": [ - { - "code": "org", - "field": "user", - "resource": "TeamMember" - } - ] - } - }, - "response-if-you-attempt-to-add-a-user-to-a-team-when-they-are-not-a-member-of-at-least-one-other-team-in-the-same-organization": { - "summary": "Response if you attempt to add a user to a team when they are not a member of at least one other team in the same organization", - "value": { - "message": "User isn't a member of this organization. Please invite them first.", - "errors": [ - { - "code": "unaffiliated", - "field": "user", - "resource": "TeamMember" - } - ] - } - } - } - } - } + "description": "Response if you attempt to add an organization to a team or you attempt to add a user to a team when they are not a member of at least one other team in the same organization" }, "403": { "description": "Forbidden", @@ -256855,7 +257871,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "404": { "description": "Response if team synchronization is setup" @@ -256878,7 +257894,7 @@ "/teams/{team_id}/memberships/{username}": { "get": { "summary": "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).", + "description": "**Deprecation 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).", "tags": [ "teams" ], @@ -256907,7 +257923,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -256930,7 +257946,12 @@ "type": "string" }, "state": { - "type": "string" + "description": "The state of the user's membership in the team.", + "type": "string", + "enum": [ + "active", + "pending" + ] } }, "required": [ @@ -256940,14 +257961,6 @@ ] }, "examples": { - "response-if-user-has-an-active-membership-with-team": { - "summary": "Response if user has an active membership with team", - "value": { - "url": "https://api.github.com/teams/1/memberships/octocat", - "role": "member", - "state": "active" - } - }, "response-if-user-is-a-team-maintainer": { "summary": "Response if user is a team maintainer", "value": { @@ -256955,21 +257968,13 @@ "role": "maintainer", "state": "active" } - }, - "response-if-user-has-a-pending-membership-with-team": { - "summary": "Response if user has a pending membership with team", - "value": { - "url": "https://api.github.com/teams/1/memberships/octocat", - "role": "member", - "state": "pending" - } } } } } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -257053,7 +258058,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -257076,7 +258081,12 @@ "type": "string" }, "state": { - "type": "string" + "description": "The state of the user's membership in the team.", + "type": "string", + "enum": [ + "active", + "pending" + ] } }, "required": [ @@ -257086,14 +258096,6 @@ ] }, "examples": { - "response-if-users-membership-with-team-is-now-active": { - "summary": "Response if user's membership with team is now active", - "value": { - "url": "https://api.github.com/teams/1/memberships/octocat", - "role": "member", - "state": "active" - } - }, "response-if-users-membership-with-team-is-now-pending": { "summary": "Response if user's membership with team is now pending", "value": { @@ -257110,57 +258112,10 @@ "description": "Response if team synchronization is set up" }, "422": { - "description": "Response if you attempt to add an organization to a team", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "errors": { - "type": "array", - "items": { - "type": "object", - "properties": { - "code": { - "type": "string" - }, - "field": { - "type": "string" - }, - "resource": { - "type": "string" - } - } - } - }, - "documentation_url": { - "type": "string", - "example": "\"https://help.github.com/articles/github-and-trade-controls\"" - } - } - }, - "examples": { - "response-if-you-attempt-to-add-an-organization-to-a-team": { - "value": { - "message": "Cannot add an organization as a member.", - "errors": [ - { - "code": "org", - "field": "user", - "resource": "TeamMember" - } - ] - } - } - } - } - } + "description": "Response if you attempt to add an organization to a team" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -257224,7 +258179,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "403": { "description": "Response if team synchronization is set up" @@ -257286,7 +258241,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -257550,7 +258505,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -257570,7 +258525,7 @@ } }, "415": { - "description": "Preview Header Missing", + "description": "Preview header missing", "content": { "application/json": { "schema": { @@ -257642,7 +258597,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -257896,7 +258851,7 @@ "description": "Response if project is not managed by this team" }, "415": { - "description": "Preview Header Missing", + "description": "Preview header missing", "content": { "application/json": { "schema": { @@ -257986,7 +258941,7 @@ }, "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "403": { "description": "Response if the project is not owned by the organization", @@ -258015,7 +258970,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -258035,7 +258990,7 @@ } }, "415": { - "description": "Preview Header Missing", + "description": "Preview header missing", "content": { "application/json": { "schema": { @@ -258057,7 +259012,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -258174,10 +259129,10 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -258197,7 +259152,7 @@ } }, "415": { - "description": "Preview Header Missing", + "description": "Preview header missing", "content": { "application/json": { "schema": { @@ -258219,7 +259174,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -258344,7 +259299,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -260079,7 +261034,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -262094,7 +263049,7 @@ }, "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "403": { "description": "Forbidden", @@ -262117,7 +263072,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -262238,7 +263193,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "x-github": { @@ -262488,7 +263443,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -262528,7 +263483,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -262628,7 +263583,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -263182,7 +264137,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -263205,7 +264160,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -263301,7 +264256,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -263608,10 +264563,10 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -263651,7 +264606,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -263671,7 +264626,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -263785,7 +264740,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -263941,7 +264896,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -263964,7 +264919,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -264029,7 +264984,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -264185,7 +265140,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -264208,7 +265163,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -264286,7 +265241,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -264309,7 +265264,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -264362,13 +265317,13 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -264408,7 +265363,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -264461,13 +265416,13 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -264507,7 +265462,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -264572,7 +265527,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -264794,10 +265749,10 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -264837,7 +265792,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -264901,7 +265856,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -265110,7 +266065,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -265179,10 +266134,10 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -265222,7 +266177,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -265278,7 +266233,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -265487,7 +266442,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -265507,7 +266462,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -265530,7 +266485,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -265584,10 +266539,10 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -265607,7 +266562,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -265676,7 +266631,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -265699,7 +266654,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -266347,7 +267302,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -266370,7 +267325,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -266390,7 +267345,7 @@ } }, "415": { - "description": "Preview Header Missing", + "description": "Preview header missing", "content": { "application/json": { "schema": { @@ -267592,7 +268547,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -267632,7 +268587,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" } }, "x-github": { @@ -267683,7 +268638,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "403": { "description": "Forbidden", @@ -267706,10 +268661,10 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -267771,7 +268726,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "403": { "description": "Forbidden", @@ -267794,10 +268749,10 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -267853,6 +268808,7 @@ "created", "mentioned", "subscribed", + "repos", "all" ], "default": "assigned" @@ -267941,7 +268897,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -270384,7 +271340,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -270404,7 +271360,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" } }, "x-github": { @@ -270456,7 +271412,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -270542,10 +271498,10 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -270585,7 +271541,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -270655,7 +271611,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -270718,7 +271674,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -270787,10 +271743,10 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -270830,7 +271786,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -270886,7 +271842,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -270949,7 +271905,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -270969,7 +271925,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -270992,7 +271948,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -271046,13 +272002,13 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -271092,7 +272048,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -271170,7 +272126,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -271187,11 +272143,21 @@ }, "state": { "type": "string", - "example": "active" + "description": "The state of the member in the organization. The `pending` state indicates the user has not yet accepted an invitation.", + "example": "active", + "enum": [ + "active", + "pending" + ] }, "role": { "type": "string", - "example": "admin" + "description": "The user's membership type in the organization.", + "example": "admin", + "enum": [ + "admin", + "member" + ] }, "organization_url": { "type": "string", @@ -271508,7 +272474,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -271531,7 +272497,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -271551,7 +272517,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -271655,7 +272621,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -271670,11 +272636,21 @@ }, "state": { "type": "string", - "example": "active" + "description": "The state of the member in the organization. The `pending` state indicates the user has not yet accepted an invitation.", + "example": "active", + "enum": [ + "active", + "pending" + ] }, "role": { "type": "string", - "example": "admin" + "description": "The user's membership type in the organization.", + "example": "admin", + "enum": [ + "admin", + "member" + ] }, "organization_url": { "type": "string", @@ -271960,7 +272936,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -272037,7 +273013,7 @@ }, "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -272052,11 +273028,21 @@ }, "state": { "type": "string", - "example": "active" + "description": "The state of the member in the organization. The `pending` state indicates the user has not yet accepted an invitation.", + "example": "active", + "enum": [ + "active", + "pending" + ] }, "role": { "type": "string", - "example": "admin" + "description": "The user's membership type in the organization.", + "example": "admin", + "enum": [ + "admin", + "member" + ] }, "organization_url": { "type": "string", @@ -272342,7 +273328,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -272362,7 +273348,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -272476,7 +273462,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -272587,7 +273573,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -272610,7 +273596,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -272683,7 +273669,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -272939,7 +273925,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -272962,7 +273948,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -272982,7 +273968,7 @@ } }, "415": { - "description": "Preview Header Missing", + "description": "Preview header missing", "content": { "application/json": { "schema": { @@ -273004,7 +273990,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -273172,7 +274158,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -274273,7 +275259,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -274342,7 +275328,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -274365,7 +275351,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -274516,7 +275502,7 @@ }, "responses": { "201": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -275619,7 +276605,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -275639,10 +276625,10 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -275682,7 +276668,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -275859,7 +276845,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -277775,10 +278761,10 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -277818,7 +278804,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -277874,7 +278860,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "403": { "description": "Forbidden", @@ -277917,7 +278903,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -277937,7 +278923,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" } }, "x-github": { @@ -277974,7 +278960,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "409": { "description": "Conflict", @@ -277997,10 +278983,10 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -278113,7 +279099,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -280336,7 +281322,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -280359,7 +281345,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -280445,7 +281431,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -280465,7 +281451,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -280529,7 +281515,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "403": { "description": "Forbidden", @@ -280552,7 +281538,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -280572,7 +281558,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -280592,7 +281578,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" } }, "x-github": { @@ -280636,10 +281622,10 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -280659,7 +281645,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -280679,7 +281665,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -280747,7 +281733,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -282482,7 +283468,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "403": { "description": "Forbidden", @@ -282505,7 +283491,7 @@ } }, "401": { - "description": "Requires Authentication", + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -282570,7 +283556,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -283074,10 +284060,10 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -283162,7 +284148,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -283318,7 +284304,7 @@ } }, "304": { - "description": "Not Modified" + "description": "Not modified" } }, "x-github": { @@ -283356,7 +284342,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -283904,7 +284890,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -283977,7 +284963,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -286706,7 +287692,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -289427,7 +290413,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -292148,7 +293134,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -292357,7 +293343,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -292624,7 +293610,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -293042,7 +294028,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -293164,7 +294150,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -293445,7 +294431,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -293492,7 +294478,7 @@ } }, "404": { - "description": "Resource Not Found", + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -293512,7 +294498,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -293616,7 +294602,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -294176,7 +295162,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -294274,7 +295260,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -294453,7 +295439,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -294722,7 +295708,7 @@ } }, "415": { - "description": "Preview Header Missing", + "description": "Preview header missing", "content": { "application/json": { "schema": { @@ -294744,7 +295730,7 @@ } }, "422": { - "description": "Validation Failed", + "description": "Validation failed", "content": { "application/json": { "schema": { @@ -294870,7 +295856,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -297591,7 +298577,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -300356,7 +301342,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -302176,7 +303162,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -304452,7 +305438,7 @@ ], "responses": { "200": { - "description": "response", + "description": "Response", "content": { "application/json": { "schema": { @@ -306222,7 +307208,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "requestBody": { @@ -306273,7 +307259,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Response" } }, "requestBody": { @@ -306312,7 +307298,7 @@ "operationId": "meta/get-zen", "responses": { "200": { - "description": "response", + "description": "Response", "content": { "text/plain": { "schema": { diff --git a/lib/schema-event.js b/lib/schema-event.js index fbb37060f2..913cf1d9a3 100644 --- a/lib/schema-event.js +++ b/lib/schema-event.js @@ -73,7 +73,7 @@ const context = { os: { type: 'string', description: 'The type of operating system the user is working with.', - enum: ['windows', 'mac', 'linux', 'ios', 'android', 'other'], + enum: ['windows', 'mac', 'linux', 'ios', 'android', 'cros', 'other'], default: 'other' }, os_version: { diff --git a/lib/search/algolia-search.js b/lib/search/algolia-search.js index e14b4e4524..4f415a9c5c 100644 --- a/lib/search/algolia-search.js +++ b/lib/search/algolia-search.js @@ -6,7 +6,7 @@ const { namePrefix } = require('./config') // This API key is public. There's also a private API key for writing to the Algolia API const searchClient = algoliasearch('ZI5KPY1HBE', '685df617246c3a10abba589b4599288f') -module.exports = async function loadAlgoliaResults ({ version, language, query, limit }) { +module.exports = async function loadAlgoliaResults ({ version, language, query, filters, limit }) { const indexName = `${namePrefix}-${version}-${language}` const index = searchClient.initIndex(indexName) @@ -16,7 +16,8 @@ module.exports = async function loadAlgoliaResults ({ version, language, query, hitsPerPage: limit, advancedSyntax: true, highlightPreTag: '', - highlightPostTag: '' + highlightPostTag: '', + filters }) return hits.map(hit => ({ @@ -24,6 +25,7 @@ module.exports = async function loadAlgoliaResults ({ version, language, query, breadcrumbs: get(hit, '_highlightResult.breadcrumbs.value'), heading: get(hit, '_highlightResult.heading.value'), title: get(hit, '_highlightResult.title.value'), - content: get(hit, '_highlightResult.content.value') + content: get(hit, '_highlightResult.content.value'), + topics: hit.topics })) } diff --git a/lib/search/lunr-search-index.js b/lib/search/lunr-search-index.js index 05eb88ddc3..bde23b7f7e 100644 --- a/lib/search/lunr-search-index.js +++ b/lib/search/lunr-search-index.js @@ -46,6 +46,7 @@ module.exports = class LunrIndex { this.field('heading') this.field('title') this.field('content') + this.field('topics') this.field('customRanking') this.metadataWhitelist = ['position'] diff --git a/lib/search/lunr-search.js b/lib/search/lunr-search.js index e081206a45..1a0d5db2b5 100644 --- a/lib/search/lunr-search.js +++ b/lib/search/lunr-search.js @@ -1,7 +1,7 @@ -const fs = require('fs').promises const path = require('path') const lunr = require('lunr') const { get } = require('lodash') +const readFileAsync = require('../readfile-async') const { namePrefix } = require('./config') const { decompress } = require('./compress') @@ -25,7 +25,9 @@ module.exports = async function loadLunrResults ({ version, language, query, lim breadcrumbs: field(result, record, 'breadcrumbs'), heading: field(result, record, 'heading'), title: field(result, record, 'title'), - content: field(result, record, 'content') + content: field(result, record, 'content'), + // don't highlight the topics array + topics: record.topics } }) return results @@ -34,7 +36,7 @@ module.exports = async function loadLunrResults ({ version, language, query, lim async function loadLunrIndex (indexName) { const filePath = path.posix.join(__dirname, LUNR_DIR, `${indexName}.json.br`) // Do not set to 'utf8' on file reads - return fs.readFile(filePath) + return readFileAsync(filePath) .then(decompress) .then(JSON.parse) .then(lunr.Index.load) @@ -43,11 +45,12 @@ async function loadLunrIndex (indexName) { async function loadLunrRecords (indexName) { const filePath = path.posix.join(__dirname, LUNR_DIR, `${indexName}-records.json.br`) // Do not set to 'utf8' on file reads - return fs.readFile(filePath) + return readFileAsync(filePath) .then(decompress) .then(JSON.parse) } +// Highlight a match within an attribute field function field (result, record, name) { const text = record[name] if (!text) return text diff --git a/lib/search/parse-page-sections-into-records.js b/lib/search/parse-page-sections-into-records.js index 79ac651f83..3c253ae617 100644 --- a/lib/search/parse-page-sections-into-records.js +++ b/lib/search/parse-page-sections-into-records.js @@ -12,7 +12,7 @@ const { maxContentLength } = require('./config') module.exports = function parsePageSectionsIntoRecords (href, $) { const title = $('h1').text().trim() - const breadcrumbs = $('nav.breadcrumbs a') + const breadcrumbsArray = $('nav.breadcrumbs a') .map((i, el) => { return $(el) .text() @@ -21,7 +21,18 @@ module.exports = function parsePageSectionsIntoRecords (href, $) { .replace(/\s+/g, ' ') }) .get() - .join(' / ') + .slice(0, -1) + + const breadcrumbs = breadcrumbsArray.join(' / ') || '' + const metaKeywords = $('meta[name="keywords"]').attr('content') + const topics = metaKeywords ? metaKeywords.split(',') : [] + + const productName = breadcrumbsArray[0] || '' + topics.push(productName) + // Remove "github" to make filter queries shorter + if (productName.includes('GitHub ')) { + topics.push(productName.replace('GitHub ', '')) + } let records @@ -54,7 +65,8 @@ module.exports = function parsePageSectionsIntoRecords (href, $) { breadcrumbs, heading, title, - content + content, + topics } }) .get() @@ -74,7 +86,8 @@ module.exports = function parsePageSectionsIntoRecords (href, $) { url, breadcrumbs, title, - content + content, + topics }] } diff --git a/lib/webhooks/static/dotcom/code_scanning_alert.reopened.payload.json b/lib/webhooks/static/dotcom/code_scanning_alert.reopened.payload.json index 6f56c67b04..4acbc806be 100644 --- a/lib/webhooks/static/dotcom/code_scanning_alert.reopened.payload.json +++ b/lib/webhooks/static/dotcom/code_scanning_alert.reopened.payload.json @@ -7,7 +7,7 @@ "html_url": "https://github.com/Codertocat/Hello-World/security/code-scanning/10", "instances": [ { - "ref": "refs/heads/master", + "ref": "refs/heads/main", "analysis_key": ".github/workflows/workflow.yml:upload", "environment": "{}", "state": "open" @@ -27,7 +27,7 @@ "version": null } }, - "ref": "refs/heads/master", + "ref": "refs/heads/main", "commit_oid": "d6e4c75c141dbacecc279b721b8b9393d5405795", "repository": { "id": 186853002, @@ -121,7 +121,7 @@ "forks": 0, "open_issues": 2, "watchers": 0, - "default_branch": "master" + "default_branch": "main" }, "organization": { "login": "Octocoders", diff --git a/lib/webhooks/static/dotcom/repository_vulnerability_alert.create.payload.json b/lib/webhooks/static/dotcom/repository_vulnerability_alert.create.payload.json index d2e45f2a07..a034401623 100644 --- a/lib/webhooks/static/dotcom/repository_vulnerability_alert.create.payload.json +++ b/lib/webhooks/static/dotcom/repository_vulnerability_alert.create.payload.json @@ -4,9 +4,11 @@ "id": 91095730, "affected_range": ">= 2.0.4, < 2.0.6", "affected_package_name": "rack", + "fixed_in": "2.0.6", "external_reference": "https://nvd.nist.gov/vuln/detail/CVE-2018-16470", "external_identifier": "CVE-2018-16470", - "fixed_in": "2.0.6" + "ghsa_id": "GHSA-hg78-4f6x-99wq", + "created_at": "2021-03-01T01:23:45Z" }, "repository": { "id": 186853002, diff --git a/lib/webhooks/static/dotcom/repository_vulnerability_alert.dismiss.payload.json b/lib/webhooks/static/dotcom/repository_vulnerability_alert.dismiss.payload.json index 6f47df008a..0a9f355f75 100644 --- a/lib/webhooks/static/dotcom/repository_vulnerability_alert.dismiss.payload.json +++ b/lib/webhooks/static/dotcom/repository_vulnerability_alert.dismiss.payload.json @@ -4,9 +4,11 @@ "id": 7649605, "affected_range": "0.2.0", "affected_package_name": "many_versioned_gem", + "fixed_in": "0.2.5", "external_reference": "https://nvd.nist.gov/vuln/detail/CVE-2018-3728", "external_identifier": "CVE-2018-3728", - "fixed_in": "0.2.5", + "ghsa_id": "GHSA-jp4x-w63m-7wgm", + "created_at": "2017-10-24T00:00:00Z", "dismisser": { "login":"octocat", "id":1, @@ -28,6 +30,6 @@ "site_admin":true }, "dismiss_reason": "No bandwidth to fix this", - "dismissed_at": "2017-10-25T00:00:00+00:00" + "dismissed_at": "2017-10-25T00:00:00Z" } } diff --git a/lib/webhooks/static/ghae/code_scanning_alert.reopened.payload.json b/lib/webhooks/static/ghae/code_scanning_alert.reopened.payload.json index f2271f33d4..1789c8ac9b 100644 --- a/lib/webhooks/static/ghae/code_scanning_alert.reopened.payload.json +++ b/lib/webhooks/static/ghae/code_scanning_alert.reopened.payload.json @@ -7,7 +7,7 @@ "html_url": "https://octocoders.github.io/Codertocat/Hello-World/security/code-scanning/10", "instances": [ { - "ref": "refs/heads/master", + "ref": "refs/heads/main", "analysis_key": ".github/workflows/workflow.yml:upload", "environment": "{}", "state": "open" @@ -27,7 +27,7 @@ "version": null } }, - "ref": "refs/heads/master", + "ref": "refs/heads/main", "commit_oid": "d6e4c75c141dbacecc279b721b8b9393d5405795", "repository": { "id": 186853002, @@ -121,7 +121,7 @@ "forks": 0, "open_issues": 2, "watchers": 0, - "default_branch": "master" + "default_branch": "main" }, "organization": { "login": "Octocoders", diff --git a/lib/webhooks/static/ghes-2.22/code_scanning_alert.reopened.payload.json b/lib/webhooks/static/ghes-2.22/code_scanning_alert.reopened.payload.json index f2271f33d4..1789c8ac9b 100644 --- a/lib/webhooks/static/ghes-2.22/code_scanning_alert.reopened.payload.json +++ b/lib/webhooks/static/ghes-2.22/code_scanning_alert.reopened.payload.json @@ -7,7 +7,7 @@ "html_url": "https://octocoders.github.io/Codertocat/Hello-World/security/code-scanning/10", "instances": [ { - "ref": "refs/heads/master", + "ref": "refs/heads/main", "analysis_key": ".github/workflows/workflow.yml:upload", "environment": "{}", "state": "open" @@ -27,7 +27,7 @@ "version": null } }, - "ref": "refs/heads/master", + "ref": "refs/heads/main", "commit_oid": "d6e4c75c141dbacecc279b721b8b9393d5405795", "repository": { "id": 186853002, @@ -121,7 +121,7 @@ "forks": 0, "open_issues": 2, "watchers": 0, - "default_branch": "master" + "default_branch": "main" }, "organization": { "login": "Octocoders", diff --git a/lib/webhooks/static/ghes-3.0/code_scanning_alert.reopened.payload.json b/lib/webhooks/static/ghes-3.0/code_scanning_alert.reopened.payload.json index f2271f33d4..1789c8ac9b 100644 --- a/lib/webhooks/static/ghes-3.0/code_scanning_alert.reopened.payload.json +++ b/lib/webhooks/static/ghes-3.0/code_scanning_alert.reopened.payload.json @@ -7,7 +7,7 @@ "html_url": "https://octocoders.github.io/Codertocat/Hello-World/security/code-scanning/10", "instances": [ { - "ref": "refs/heads/master", + "ref": "refs/heads/main", "analysis_key": ".github/workflows/workflow.yml:upload", "environment": "{}", "state": "open" @@ -27,7 +27,7 @@ "version": null } }, - "ref": "refs/heads/master", + "ref": "refs/heads/main", "commit_oid": "d6e4c75c141dbacecc279b721b8b9393d5405795", "repository": { "id": 186853002, @@ -121,7 +121,7 @@ "forks": 0, "open_issues": 2, "watchers": 0, - "default_branch": "master" + "default_branch": "main" }, "organization": { "login": "Octocoders", diff --git a/middleware/abort.js b/middleware/abort.js new file mode 100644 index 0000000000..387a965ead --- /dev/null +++ b/middleware/abort.js @@ -0,0 +1,15 @@ +module.exports = function abort (req, res, next) { + // If the client aborts the connection, send an error + req.once('aborted', () => { + // NOTE: Node.js will also automatically set `req.aborted = true` + + const abortError = new Error('Client closed request') + abortError.statusCode = 499 + abortError.code = 'ECONNRESET' + + // Pass the error to the Express error handler + return next(abortError) + }) + + return next() +} diff --git a/middleware/archived-enterprise-versions-assets.js b/middleware/archived-enterprise-versions-assets.js index c1f1253712..81ca646078 100644 --- a/middleware/archived-enterprise-versions-assets.js +++ b/middleware/archived-enterprise-versions-assets.js @@ -11,7 +11,7 @@ const ONE_DAY = 24 * 60 * 60 // 1 day in seconds // // See also ./archived-enterprise-versions.js for non-CSS/JS paths -module.exports = async (req, res, next) => { +module.exports = async function archivedEnterpriseVersionsAssets (req, res, next) { const { isArchived, requestedVersion } = isArchivedVersion(req) if (!isArchived) return next() diff --git a/middleware/archived-enterprise-versions.js b/middleware/archived-enterprise-versions.js index 422484f977..3a5cd96f7f 100644 --- a/middleware/archived-enterprise-versions.js +++ b/middleware/archived-enterprise-versions.js @@ -11,7 +11,7 @@ const archivedFrontmatterFallbacks = require('../lib/redirects/static/archived-f // This module handles requests for deprecated GitHub Enterprise versions // by routing them to static content in help-docs-archived-enterprise-versions -module.exports = async (req, res, next) => { +module.exports = async function archivedEnterpriseVersions (req, res, next) { const { isArchived, requestedVersion } = isArchivedVersion(req) if (!isArchived) return next() diff --git a/middleware/block-robots.js b/middleware/block-robots.js index 7a437972de..286920acaa 100644 --- a/middleware/block-robots.js +++ b/middleware/block-robots.js @@ -30,7 +30,7 @@ function blockIndex (path) { return pathRegExps.some(pathRe => pathRe.test(path)) } -const middleware = (req, res, next) => { +const middleware = function blockRobots (req, res, next) { if (blockIndex(req.path)) res.set('x-robots-tag', 'noindex') return next() } diff --git a/middleware/breadcrumbs.js b/middleware/breadcrumbs.js index 86970bde35..e26545c400 100644 --- a/middleware/breadcrumbs.js +++ b/middleware/breadcrumbs.js @@ -3,7 +3,7 @@ const { getPathWithoutLanguage } = require('../lib/path-utils') const nonEnterpriseDefaultVersion = require('../lib/non-enterprise-default-version') const removeFPTFromPath = require('../lib/remove-fpt-from-path') -module.exports = async (req, res, next) => { +module.exports = async function breadcrumbs (req, res, next) { if (!req.context.page) return next() if (req.context.page.hidden) return next() diff --git a/middleware/categories-for-support-team.js b/middleware/categories-for-support-team.js index 4b550a566e..b288bc3b13 100644 --- a/middleware/categories-for-support-team.js +++ b/middleware/categories-for-support-team.js @@ -2,13 +2,13 @@ // to quickly search for Help articles by title and insert the link to // the article into a reply to a customer. const path = require('path') -const fs = require('fs').promises const matter = require('gray-matter') +const readFileAsync = require('../lib/readfile-async') const dotcomDir = path.join(__dirname, '../content/github') const dotcomIndex = path.join(dotcomDir, 'index.md') const linkRegex = /{% (?:topic_)?link_in_list ?\/(.*?) ?%}/g -module.exports = async (req, res, next) => { +module.exports = async function categoriesForSupportTeam (req, res, next) { if (req.path !== '/categories.json') return next() const categories = await generateCategories() return res.json(categories) @@ -18,14 +18,14 @@ async function generateCategories () { // get links included in dotcom index page. // each link corresponds to a dotcom subdirectory // example: getting-started-with-github - const links = getLinks(await fs.readFile(dotcomIndex, 'utf8')) + const links = getLinks(await readFileAsync(dotcomIndex, 'utf8')) // get links included in each subdir's index page // these are links to articles const categories = await Promise.all(links.map(async link => { const category = {} const indexPath = getPath(link, 'index') - const indexContents = await fs.readFile(indexPath, 'utf8') + const indexContents = await readFileAsync(indexPath, 'utf8') const { data, content } = matter(indexContents) // get name from title frontmatter @@ -37,7 +37,7 @@ async function generateCategories () { category.published_articles = (await Promise.all(articleLinks.map(async articleLink => { // get title from frontmatter const articlePath = getPath(link, articleLink) - const articleContents = await fs.readFile(articlePath, 'utf8') + const articleContents = await readFileAsync(articlePath, 'utf8') const { data } = matter(articleContents) // do not include map topics in list of published articles diff --git a/middleware/context.js b/middleware/context.js index a2508138aa..3a00064c90 100644 --- a/middleware/context.js +++ b/middleware/context.js @@ -3,7 +3,12 @@ const enterpriseServerReleases = require('../lib/enterprise-server-releases') const allVersions = require('../lib/all-versions') const allProducts = require('../lib/all-products') const activeProducts = Object.values(allProducts).filter(product => !product.wip && !product.hidden) -const { getVersionStringFromPath, getProductStringFromPath, getPathWithoutLanguage } = require('../lib/path-utils') +const { + getVersionStringFromPath, + getProductStringFromPath, + getCategoryStringFromPath, + getPathWithoutLanguage +} = require('../lib/path-utils') const productNames = require('../lib/product-names') const warmServer = require('../lib/warm-server') const featureFlags = Object.keys(require('../feature-flags')) @@ -31,6 +36,7 @@ module.exports = async function contextualize (req, res, next) { req.context.currentLanguage = req.language req.context.currentVersion = getVersionStringFromPath(req.path) req.context.currentProduct = getProductStringFromPath(req.path) + req.context.currentCategory = getCategoryStringFromPath(req.path) req.context.allProducts = allProducts req.context.activeProducts = activeProducts req.context.allVersions = allVersions diff --git a/middleware/contextualizers/enterprise-release-notes.js b/middleware/contextualizers/enterprise-release-notes.js index 0396bd109d..1a75370f22 100644 --- a/middleware/contextualizers/enterprise-release-notes.js +++ b/middleware/contextualizers/enterprise-release-notes.js @@ -1,7 +1,15 @@ const semver = require('semver') const renderContent = require('../../lib/render-content') const patterns = require('../../lib/patterns') -const enterpriseReleases = require('../../lib/enterprise-server-releases').supported +const { all, firstReleaseNote, latest } = require('../../lib/enterprise-server-releases') + +// Display all GHES release notes, regardless of deprecation status, +// starting with the first release notes in 2.20 +const supported = all.filter(release => { + return semver.gte( + semver.coerce(release), semver.coerce(firstReleaseNote) + ) && release !== '11.10.340' +}) /** * Turn { [key]: { notes, intro, date } } @@ -66,7 +74,7 @@ async function renderPatchNotes (patch, ctx) { return patch } -module.exports = async (req, res, next) => { +module.exports = async function enterpriseReleaseNotesContext (req, res, next) { // The `/release-notes` sub-path if (!req.path.endsWith('/release-notes')) return next() @@ -92,7 +100,7 @@ module.exports = async (req, res, next) => { req.context.releaseNotes = await Promise.all(patches.map(async patch => renderPatchNotes(patch, req.context))) // Put together information about other releases - req.context.releases = enterpriseReleases.map(version => { + req.context.releases = supported.map(version => { const ret = { version } if (!req.context.site.data['release-notes']) return ret const release = req.context.site.data['release-notes'][version.replace(/\./g, '-')] @@ -101,9 +109,12 @@ module.exports = async (req, res, next) => { return { ...ret, patches } }) - const releaseIndex = enterpriseReleases.findIndex(release => release === requestedVersion) - req.context.nextRelease = enterpriseReleases[releaseIndex - 1] - req.context.prevRelease = enterpriseReleases[releaseIndex + 1] + const releaseIndex = supported.findIndex(release => release === requestedVersion) + req.context.nextRelease = supported[releaseIndex - 1] + req.context.prevRelease = supported[releaseIndex + 1] + + req.context.latestPatch = patches[0].version + req.context.latestRelease = latest return next() } diff --git a/middleware/contextualizers/graphql.js b/middleware/contextualizers/graphql.js index e07094dba7..91575be17a 100644 --- a/middleware/contextualizers/graphql.js +++ b/middleware/contextualizers/graphql.js @@ -8,7 +8,7 @@ const explorerUrl = process.env.NODE_ENV === 'production' ? 'https://graphql.github.com/explorer' : 'http://localhost:3000' -module.exports = async (req, res, next) => { +module.exports = function graphqlContext (req, res, next) { const currentVersionObj = allVersions[req.context.currentVersion] // ignore requests to non-GraphQL reference paths // and to versions that don't exist diff --git a/middleware/contextualizers/rest.js b/middleware/contextualizers/rest.js index 198a4d312a..5b49cbfa19 100644 --- a/middleware/contextualizers/rest.js +++ b/middleware/contextualizers/rest.js @@ -2,7 +2,7 @@ const path = require('path') const rest = require('../../lib/rest') const removeFPTFromPath = require('../../lib/remove-fpt-from-path') -module.exports = async function (req, res, next) { +module.exports = function restContext (req, res, next) { req.context.rest = rest // link to include in `Works with GitHub Apps` notes diff --git a/middleware/contextualizers/webhooks.js b/middleware/contextualizers/webhooks.js index f2ed9a6cc7..90347b36fd 100644 --- a/middleware/contextualizers/webhooks.js +++ b/middleware/contextualizers/webhooks.js @@ -4,7 +4,7 @@ const webhookPayloads = require(path.join(process.cwd(), 'lib/webhooks')) const nonEnterpriseDefaultVersion = require('../../lib/non-enterprise-default-version') const allVersions = require('../../lib/all-versions') -module.exports = async (req, res, next) => { +module.exports = function webhooksContext (req, res, next) { const currentVersionObj = allVersions[req.context.currentVersion] // ignore requests to non-webhook reference paths // and to versions that don't exist diff --git a/middleware/csp.js b/middleware/csp.js index 9f054036f7..08b618eac6 100644 --- a/middleware/csp.js +++ b/middleware/csp.js @@ -7,7 +7,7 @@ const versionSatisfiesRange = require('../lib/version-satisfies-range') const AZURE_STORAGE_URL = 'githubdocs.azureedge.net' // module.exports = contentSecurityPolicy({ -module.exports = async (req, res, next) => { +module.exports = function csp (req, res, next) { const csp = { directives: { defaultSrc: ["'none'"], diff --git a/middleware/detect-language.js b/middleware/detect-language.js index 9c46c3e0b3..1c407fe3e5 100644 --- a/middleware/detect-language.js +++ b/middleware/detect-language.js @@ -1,7 +1,7 @@ const languageCodes = Object.keys(require('../lib/languages')) // determine language code from first part of URL, or default to English -module.exports = async function detectLanguage (req, res, next) { +module.exports = function detectLanguage (req, res, next) { // /en/articles/foo // ^^ const firstPartOfPath = req.path.split('/')[1] diff --git a/middleware/dev-toc.js b/middleware/dev-toc.js index 5e00093e55..9e5e5f2e51 100644 --- a/middleware/dev-toc.js +++ b/middleware/dev-toc.js @@ -1,7 +1,7 @@ const { liquid } = require('../lib/render-content') const layouts = require('../lib/layouts') -module.exports = async (req, res, next) => { +module.exports = async function devToc (req, res, next) { if (process.env.NODE_ENV !== 'development') return next() if (!req.path.endsWith('/dev-toc')) return next() diff --git a/middleware/disable-caching-on-safari.js b/middleware/disable-caching-on-safari.js index 4281b37c91..123bdffbe0 100644 --- a/middleware/disable-caching-on-safari.js +++ b/middleware/disable-caching-on-safari.js @@ -1,4 +1,4 @@ -module.exports = (req, res, next) => { +module.exports = function disableCachingOnSafari (req, res, next) { const isSafari = /^((?!chrome|android).)*safari/i.test(req.headers['user-agent']) if (isSafari) { res.header('Last-Modified', (new Date()).toUTCString()) diff --git a/middleware/early-access-breadcrumbs.js b/middleware/early-access-breadcrumbs.js index 2b7c95ca76..5ada437c47 100644 --- a/middleware/early-access-breadcrumbs.js +++ b/middleware/early-access-breadcrumbs.js @@ -5,7 +5,7 @@ const removeFPTFromPath = require('../lib/remove-fpt-from-path') // Early Access content doesn't conform to the same structure as other products, so we // can't derive breadcrumbs from the siteTree in the same way. Hence, this separate middleware. -module.exports = async (req, res, next) => { +module.exports = async function earlyAccessBreadcrumbs (req, res, next) { if (!req.context.page) return next() if (!req.context.page.hidden) return next() diff --git a/middleware/enterprise-server-releases.js b/middleware/enterprise-server-releases.js index a3f331d97c..0c7035c46a 100644 --- a/middleware/enterprise-server-releases.js +++ b/middleware/enterprise-server-releases.js @@ -2,7 +2,7 @@ const { liquid } = require('../lib/render-content') const layouts = require('../lib/layouts') const getMiniTocItems = require('../lib/get-mini-toc-items') -module.exports = async (req, res, next) => { +module.exports = async function enterpriseServerReleases (req, res, next) { if (!req.path.endsWith('/enterprise-server-releases')) return next() const html = await liquid.parseAndRender(layouts['enterprise-server-releases'], req.context) diff --git a/middleware/events.js b/middleware/events.js index e687954e83..11871b4fd5 100644 --- a/middleware/events.js +++ b/middleware/events.js @@ -10,7 +10,7 @@ const ajv = new Ajv() const router = express.Router() -router.post('/', async (req, res, next) => { +router.post('/', async function postEvents (req, res, next) { const isDev = process.env.NODE_ENV === 'development' const fields = omit(req.body, '_csrf') diff --git a/middleware/featured-links.js b/middleware/featured-links.js index 0430d06af5..e0a779ce17 100644 --- a/middleware/featured-links.js +++ b/middleware/featured-links.js @@ -1,7 +1,7 @@ const getLinkData = require('../lib/get-link-data') // this middleware adds properties to the context object -module.exports = async (req, res, next) => { +module.exports = async function featuredLinks (req, res, next) { if (!req.context.page) return next() if (!(req.context.page.relativePath.endsWith('index.md') || req.context.page.layout === 'product-landing')) return next() diff --git a/middleware/halt-on-dropped-connection.js b/middleware/halt-on-dropped-connection.js new file mode 100644 index 0000000000..9745723a84 --- /dev/null +++ b/middleware/halt-on-dropped-connection.js @@ -0,0 +1,18 @@ +function isConnectionDropped (req, res) { + // Have the flags been set for: + // - a global request timeout (via the express-timeout-handler middleware)? + // - an aborted request connection (via Node.js core's HTTP IncomingMessage)? + return Boolean(res.globalTimeout || req.aborted) +} + +function haltOnDroppedConnection (req, res, next) { + // Only proceed if the flag has not been set for the express-timeout-handler middleware + if (!isConnectionDropped(req, res)) { + return next() + } +} + +// Export this logic, too +haltOnDroppedConnection.isConnectionDropped = isConnectionDropped + +module.exports = haltOnDroppedConnection diff --git a/middleware/handle-csrf-errors.js b/middleware/handle-csrf-errors.js index 738bbbf0e3..be673ec4e3 100644 --- a/middleware/handle-csrf-errors.js +++ b/middleware/handle-csrf-errors.js @@ -1,4 +1,4 @@ -module.exports = async function handleCSRFError (error, req, res, next) { +module.exports = function handleCSRFError (error, req, res, next) { // If the CSRF token is bad if (error.code === 'EBADCSRFTOKEN') { return res.sendStatus(403) diff --git a/middleware/handle-errors.js b/middleware/handle-errors.js index 7e3757ae94..98448486f3 100644 --- a/middleware/handle-errors.js +++ b/middleware/handle-errors.js @@ -6,7 +6,9 @@ const loadSiteData = require('../lib/site-data') function shouldLogException (error) { const IGNORED_ERRORS = [ // avoid sending CSRF token errors (from bad-actor POST requests) - 'EBADCSRFTOKEN' + 'EBADCSRFTOKEN', + // Client connected aborted + 'ECONNRESET' ] if (IGNORED_ERRORS.includes(error.code)) { @@ -26,47 +28,52 @@ async function logException (error, req) { } module.exports = async function handleError (error, req, res, next) { - // If the headers have already been sent... - if (res.headersSent) { - // Report to Failbot - await logException(error, req) + try { + // If the headers have already been sent or the request was aborted... + if (res.headersSent || req.aborted) { + // Report to Failbot + await logException(error, req) - // We MUST delegate to the default Express error handler + // We MUST delegate to the default Express error handler + return next(error) + } + + // if the error is thrown before req.context is created (say, in the Page class), + // set req.context.site here so we can pass data/ui.yml text to the 500 layout + if (!req.context) { + const site = await loadSiteData() + req.context = { site: site[req.language || 'en'].site } + } + + // display error on the page in development, but not in production + if (process.env.NODE_ENV !== 'production' && req.context) { + req.context.error = error + } + + // Special handling for when a middleware calls `next(404)` + if (error === 404) { + return res + .status(404) + .send(await liquid.parseAndRender(layouts['error-404'], req.context)) + } + + // If the error contains a status code, just send that back. This is usually + // from a middleware like `express.json()` or `csrf`. + if (error.statusCode || error.status) { + return res.sendStatus(error.statusCode || error.status) + } + + if (process.env.NODE_ENV !== 'test') { + console.error('500 error!', req.path) + console.error(error) + } + + res.status(500).send(await liquid.parseAndRender(layouts['error-500'], req.context)) + + // Report to Failbot AFTER responding to the user + await logException(error, req) + } catch (error) { + console.error('An error occurred in the error handling middleware!', error) return next(error) } - - // if the error is thrown before req.context is created (say, in the Page class), - // set req.context.site here so we can pass data/ui.yml text to the 500 layout - if (!req.context) { - const site = await loadSiteData() - req.context = { site: site[req.language || 'en'].site } - } - - // display error on the page in development, but not in production - if (process.env.NODE_ENV !== 'production' && req.context) { - req.context.error = error - } - - // Special handling for when a middleware calls `next(404)` - if (error === 404) { - return res - .status(404) - .send(await liquid.parseAndRender(layouts['error-404'], req.context)) - } - - // If the error contains a status code, just send that back. This is usually - // from a middleware like `express.json()` or `csrf`. - if (error.statusCode || error.status) { - return res.sendStatus(error.statusCode || error.status) - } - - if (process.env.NODE_ENV !== 'test') { - console.error('500 error!', req.path) - console.error(error) - } - - res.status(500).send(await liquid.parseAndRender(layouts['error-500'], req.context)) - - // Report to Failbot AFTER responding to the user - await logException(error, req) } diff --git a/middleware/handle-invalid-paths.js b/middleware/handle-invalid-paths.js index 151887ce54..3a8d9eb0c0 100644 --- a/middleware/handle-invalid-paths.js +++ b/middleware/handle-invalid-paths.js @@ -1,6 +1,6 @@ const patterns = require('../lib/patterns') -module.exports = (req, res, next) => { +module.exports = function handleInvalidPaths (req, res, next) { // prevent open redirect vulnerability if (req.path.match(patterns.multipleSlashes)) { return next(404) @@ -10,12 +10,33 @@ module.exports = (req, res, next) => { // for paths like /%7B% try { decodeURIComponent(req.path) - return next() } catch (err) { if (process.env.NODE_ENV !== 'test') { - console.log('unable to decode path', req.path, err) + console.error('unable to decode path', req.path, err) } return res.sendStatus(400) } + + // Prevent spammy request URLs from getting through by checking how they + // handle being normalized twice in a row + try { + const origin = 'https://docs.github.com' + const normalizedPath = new URL(req.path, origin).pathname + + // This may also throw an error with code `ERR_INVALID_URL` + const reNormalizedPath = new URL(normalizedPath, origin).pathname + + if (reNormalizedPath !== normalizedPath) { + throw new Error('URI keeps changing') + } + } catch (err) { + if (process.env.NODE_ENV !== 'test') { + console.error('unable to normalize path', req.path, err) + } + + return res.sendStatus(400) + } + + return next() } diff --git a/middleware/index.js b/middleware/index.js index 6d39616432..779fd3c22c 100644 --- a/middleware/index.js +++ b/middleware/index.js @@ -1,7 +1,10 @@ const express = require('express') const instrument = require('../lib/instrument-middleware') +const haltOnDroppedConnection = require('./halt-on-dropped-connection') -const isDevelopment = process.env.NODE_ENV === 'development' +const { NODE_ENV } = process.env +const isDevelopment = NODE_ENV === 'development' +const isTest = NODE_ENV === 'test' || process.env.GITHUB_ACTIONS === 'true' // Catch unhandled promise rejections and passing them to Express's error handler // https://medium.com/@Abazhenov/using-async-await-in-express-with-node-8-b8af872c0016 @@ -11,6 +14,10 @@ const asyncMiddleware = fn => } module.exports = function (app) { + // *** Request connection management *** + if (!isTest) app.use(require('./timeout')) + app.use(require('./abort')) + // *** Development tools *** app.use(require('morgan')('dev', { skip: (req, res) => !isDevelopment })) if (isDevelopment) app.use(require('./webpack')) @@ -57,12 +64,15 @@ module.exports = function (app) { app.use(instrument('./redirects/handle-redirects')) // Must come before contextualizers // *** Config and context for rendering *** - app.use(instrument('./find-page')) // Must come before archived-enterprise-versions, breadcrumbs, featured-links, products, render-page + app.use(asyncMiddleware(instrument('./find-page'))) // Must come before archived-enterprise-versions, breadcrumbs, featured-links, products, render-page app.use(instrument('./block-robots')) + // Check for a dropped connection before proceeding + app.use(haltOnDroppedConnection) + // *** Rendering, 2xx responses *** // I largely ordered these by use frequency - app.use(instrument('./archived-enterprise-versions-assets')) // Must come before static/assets + app.use(asyncMiddleware(instrument('./archived-enterprise-versions-assets'))) // Must come before static/assets app.use('/dist', express.static('dist', { index: false, etag: false, @@ -82,31 +92,39 @@ module.exports = function (app) { lastModified: false, maxAge: '7 days' // A bit longer since releases are more sparse })) - app.use('/events', instrument('./events')) - app.use('/search', instrument('./search')) - app.use(instrument('./archived-enterprise-versions')) + app.use('/events', asyncMiddleware(instrument('./events'))) + app.use('/search', asyncMiddleware(instrument('./search'))) + app.use(asyncMiddleware(instrument('./archived-enterprise-versions'))) app.use(instrument('./robots')) app.use(/(\/.*)?\/early-access$/, instrument('./contextualizers/early-access-links')) - app.use(instrument('./categories-for-support-team')) + app.use(asyncMiddleware(instrument('./categories-for-support-team'))) app.use(instrument('./loaderio-verification')) app.get('/_500', asyncMiddleware(instrument('./trigger-error'))) + // Check for a dropped connection before proceeding (again) + app.use(haltOnDroppedConnection) + // *** Preparation for render-page *** app.use(asyncMiddleware(instrument('./contextualizers/enterprise-release-notes'))) app.use(instrument('./contextualizers/graphql')) app.use(instrument('./contextualizers/rest')) app.use(instrument('./contextualizers/webhooks')) - app.use(instrument('./breadcrumbs')) - app.use(instrument('./early-access-breadcrumbs')) - app.use(instrument('./enterprise-server-releases')) - app.use(instrument('./dev-toc')) - app.use(instrument('./featured-links')) - app.use(instrument('./learning-track')) + app.use(asyncMiddleware(instrument('./breadcrumbs'))) + app.use(asyncMiddleware(instrument('./early-access-breadcrumbs'))) + app.use(asyncMiddleware(instrument('./enterprise-server-releases'))) + app.use(asyncMiddleware(instrument('./dev-toc'))) + app.use(asyncMiddleware(instrument('./featured-links'))) + app.use(asyncMiddleware(instrument('./learning-track'))) // *** Headers for pages only *** app.use(require('./set-fastly-cache-headers')) - // *** Rendering, must go last *** + // Check for a dropped connection before proceeding (again) + app.use(haltOnDroppedConnection) + + // *** Rendering, must go almost last *** app.get('/*', asyncMiddleware(instrument('./render-page'))) + + // *** Error handling, must go last *** app.use(require('./handle-errors')) } diff --git a/middleware/learning-track.js b/middleware/learning-track.js index 2dbb6c6c20..dd55b0745f 100644 --- a/middleware/learning-track.js +++ b/middleware/learning-track.js @@ -1,7 +1,7 @@ const { getPathWithoutLanguage, getPathWithoutVersion } = require('../lib/path-utils') const getLinkData = require('../lib/get-link-data') -module.exports = async (req, res, next) => { +module.exports = async function learningTrack (req, res, next) { const noTrack = () => { req.context.currentLearningTrack = {} return next() diff --git a/middleware/loaderio-verification.js b/middleware/loaderio-verification.js index f31f980c29..08a4577a31 100644 --- a/middleware/loaderio-verification.js +++ b/middleware/loaderio-verification.js @@ -1,6 +1,6 @@ // prove to loader.io that we own this site // by responding to requests like `/loaderio-12345/` with `loaderio-12345` -module.exports = (req, res, next) => { +module.exports = function loaderIoVerification (req, res, next) { if (!req.path.startsWith('/loaderio-')) return next() return res.send(req.path.replace(/\//g, '')) } diff --git a/middleware/record-redirect.js b/middleware/record-redirect.js index b72e975db3..b574180334 100644 --- a/middleware/record-redirect.js +++ b/middleware/record-redirect.js @@ -1,6 +1,6 @@ const { v4: uuidv4 } = require('uuid') -module.exports = function (req, res, next) { +module.exports = function recordRedirects (req, res, next) { if (!req.hydro.maySend()) return next() res.on('finish', async function recordRedirect () { diff --git a/middleware/redirects/external.js b/middleware/redirects/external.js index 3500af3759..b6172696e3 100644 --- a/middleware/redirects/external.js +++ b/middleware/redirects/external.js @@ -1,7 +1,7 @@ const externalSites = require('../../lib/redirects/external-sites') // blanket redirects to external websites -module.exports = async function externalRedirects (req, res, next) { +module.exports = function externalRedirects (req, res, next) { if (req.path in externalSites) { return res.redirect(301, externalSites[req.path]) } else { diff --git a/middleware/redirects/handle-redirects.js b/middleware/redirects/handle-redirects.js index a6db5bc168..8fc89af056 100644 --- a/middleware/redirects/handle-redirects.js +++ b/middleware/redirects/handle-redirects.js @@ -1,7 +1,7 @@ const patterns = require('../../lib/patterns') const { URL } = require('url') -module.exports = async function handleRedirects (req, res, next) { +module.exports = function handleRedirects (req, res, next) { // never redirect assets if (patterns.assetPaths.test(req.path)) return next() diff --git a/middleware/redirects/help-to-docs.js b/middleware/redirects/help-to-docs.js index d57c2136bb..508e283dbf 100644 --- a/middleware/redirects/help-to-docs.js +++ b/middleware/redirects/help-to-docs.js @@ -3,7 +3,7 @@ const patterns = require('../../lib/patterns') // redirect help.github.com requests to docs.github.com -module.exports = async (req, res, next) => { +module.exports = function helpToDocs (req, res, next) { if (req.hostname === 'help.github.com') { // prevent open redirect security vulnerability const path = req.originalUrl.replace(patterns.multipleSlashes, '/') diff --git a/middleware/redirects/language-code-redirects.js b/middleware/redirects/language-code-redirects.js index 25f16d91a5..d0d2ff733b 100644 --- a/middleware/redirects/language-code-redirects.js +++ b/middleware/redirects/language-code-redirects.js @@ -5,7 +5,7 @@ const languages = require('../../lib/languages') // Examples: // /jp* -> /ja* // /zh-TW* -> /cn* -module.exports = async function languageCodeRedirects (req, res, next) { +module.exports = function languageCodeRedirects (req, res, next) { for (const code in languages) { const language = languages[code] const redirectPatterns = language.redirectPatterns || [] diff --git a/middleware/render-page.js b/middleware/render-page.js index 1ee5b3d161..0bb4e62774 100644 --- a/middleware/render-page.js +++ b/middleware/render-page.js @@ -6,6 +6,7 @@ const getMiniTocItems = require('../lib/get-mini-toc-items') const Page = require('../lib/page') const statsd = require('../lib/statsd') const RedisAccessor = require('../lib/redis-accessor') +const { isConnectionDropped } = require('./halt-on-dropped-connection') const { HEROKU_RELEASE_VERSION } = process.env const pageCacheDatabaseNumber = 1 @@ -28,31 +29,6 @@ function addCsrf (req, text) { module.exports = async function renderPage (req, res, next) { const page = req.context.page - // Remove any query string (?...) and/or fragment identifier (#...) - const { pathname, searchParams } = new URL(req.originalUrl, 'https://docs.github.com') - - for (const queryKey in req.query) { - if (!cacheableQueries.includes(queryKey)) { - searchParams.delete(queryKey) - } - } - const originalUrl = pathname + ([...searchParams].length > 0 ? `?${searchParams}` : '') - - // Serve from the cache if possible (skip during tests) - const isCacheable = !process.env.CI && process.env.NODE_ENV !== 'test' && req.method === 'GET' - - // Is the request for JSON debugging info? - const isRequestingJsonForDebugging = 'json' in req.query && process.env.NODE_ENV !== 'production' - - if (isCacheable && !isRequestingJsonForDebugging) { - const cachedHtml = await pageCache.get(originalUrl) - if (cachedHtml) { - console.log(`Serving from cached version of ${originalUrl}`) - statsd.increment('page.sent_from_cache') - return res.send(addCsrf(req, cachedHtml)) - } - } - // render a 404 page if (!page) { if (process.env.NODE_ENV !== 'test' && req.context.redirectNotFound) { @@ -70,15 +46,52 @@ module.exports = async function renderPage (req, res, next) { return res.status(200).end() } + // Remove any query string (?...) and/or fragment identifier (#...) + const { pathname, searchParams } = new URL(req.originalUrl, 'https://docs.github.com') + + for (const queryKey in req.query) { + if (!cacheableQueries.includes(queryKey)) { + searchParams.delete(queryKey) + } + } + const originalUrl = pathname + ([...searchParams].length > 0 ? `?${searchParams}` : '') + + // Serve from the cache if possible (skip during tests) + const isCacheable = !process.env.CI && process.env.NODE_ENV !== 'test' && req.method === 'GET' + + // Is the request for JSON debugging info? + const isRequestingJsonForDebugging = 'json' in req.query && process.env.NODE_ENV !== 'production' + + if (isCacheable && !isRequestingJsonForDebugging) { + // Stop processing if the connection was already dropped + if (isConnectionDropped(req, res)) return + + const cachedHtml = await pageCache.get(originalUrl) + if (cachedHtml) { + // Stop processing if the connection was already dropped + if (isConnectionDropped(req, res)) return + + console.log(`Serving from cached version of ${originalUrl}`) + statsd.increment('page.sent_from_cache') + return res.send(addCsrf(req, cachedHtml)) + } + } + // add page context const context = Object.assign({}, req.context, { page }) // collect URLs for variants of this page in all languages context.page.languageVariants = Page.getLanguageVariants(req.path) + // Stop processing if the connection was already dropped + if (isConnectionDropped(req, res)) return + // render page context.renderedPage = await page.render(context) + // Stop processing if the connection was already dropped + if (isConnectionDropped(req, res)) return + // get mini TOC items on articles if (page.showMiniToc) { context.miniTocItems = getMiniTocItems(context.renderedPage, page.miniTocMaxHeadingLevel) diff --git a/middleware/req-utils.js b/middleware/req-utils.js index d82bb959ed..3072de4265 100644 --- a/middleware/req-utils.js +++ b/middleware/req-utils.js @@ -1,6 +1,6 @@ const Hydro = require('../lib/hydro') -module.exports = (req, res, next) => { +module.exports = function reqUtils (req, res, next) { req.hydro = new Hydro() return next() } diff --git a/middleware/robots.js b/middleware/robots.js index 967d1f21dd..8e12c8c1bc 100644 --- a/middleware/robots.js +++ b/middleware/robots.js @@ -3,7 +3,7 @@ const defaultResponse = 'User-agent: *' const disallowAll = `User-agent: * Disallow: /` -module.exports = function (req, res, next) { +module.exports = function robots (req, res, next) { if (req.path !== '/robots.txt') return next() res.type('text/plain') diff --git a/middleware/search.js b/middleware/search.js index 58025beef6..149ad4285a 100644 --- a/middleware/search.js +++ b/middleware/search.js @@ -6,13 +6,13 @@ const loadAlgoliaResults = require('../lib/search/algolia-search') const router = express.Router() -router.get('/', async (req, res) => { +router.get('/', async function postSearch (req, res, next) { res.set({ 'surrogate-control': 'private, no-store', 'cache-control': 'private, no-store' }) - const { query, version, language, limit: limit_ } = req.query + const { query, version, language, filters, limit: limit_ } = req.query const limit = Math.min(parseInt(limit_, 10) || 10, 100) if (!versions.has(version) || !languages.has(language)) { return res.status(400).json([]) @@ -23,8 +23,8 @@ router.get('/', async (req, res) => { try { const results = process.env.AIRGAP - ? await loadLunrResults({ version, language, query, limit }) - : await loadAlgoliaResults({ version, language, query, limit }) + ? await loadLunrResults({ version, language, query: `${query} ${filters || ''}`, limit }) + : await loadAlgoliaResults({ version, language, query, filters, limit }) return res.status(200).json(results) } catch (err) { console.error(err) diff --git a/middleware/set-fastly-cache-headers.js b/middleware/set-fastly-cache-headers.js index 2463e63ea5..2a044da3f4 100644 --- a/middleware/set-fastly-cache-headers.js +++ b/middleware/set-fastly-cache-headers.js @@ -1,4 +1,4 @@ -module.exports = (req, res, next) => { +module.exports = function setFastlyCacheHeaders (req, res, next) { // Disallow both Fastly AND the browser from caching HTML pages res.set({ 'surrogate-control': 'private, no-store', diff --git a/middleware/set-fastly-surrogate-key.js b/middleware/set-fastly-surrogate-key.js index 5ca1eda829..4912435c1a 100644 --- a/middleware/set-fastly-surrogate-key.js +++ b/middleware/set-fastly-surrogate-key.js @@ -1,4 +1,4 @@ -module.exports = (req, res, next) => { +module.exports = function setFastlySurrogateKey (req, res, next) { // Fastly provides a Soft Purge feature that allows you to mark content as outdated (stale) instead of permanently // purging and thereby deleting it from Fastly's caches. Objects invalidated with Soft Purge will be treated as // outdated (stale) while Fastly fetches a new version from origin. diff --git a/middleware/timeout.js b/middleware/timeout.js new file mode 100644 index 0000000000..b8190719ed --- /dev/null +++ b/middleware/timeout.js @@ -0,0 +1,27 @@ +const timeout = require('express-timeout-handler') + +// Heroku router requests timeout after 30 seconds. We should stop them earlier! +const maxRequestTimeout = parseInt(process.env.REQUEST_TIMEOUT, 10) || 25000 + +module.exports = timeout.handler({ + // Default timeout for all endpoints + // To override for a given router/endpoint, use `require('express-timeout-handler').set(...)` + timeout: maxRequestTimeout, + + // IMPORTANT: + // We cannot allow the middleware to disable the `res` object's methods like + // it does by default if we want to use `next` in the `onTimeout` handler! + disable: [], + + onTimeout: function (req, res, next) { + // Create a custom timeout error + const timeoutError = new Error('Request timed out') + timeoutError.statusCode = 503 + timeoutError.code = 'ETIMEDOUT' + + // Pass the error to our Express error handler for consolidated processing + return next(timeoutError) + } + + // Can also set an `onDelayedResponse` property IF AND ONLY IF you allow for disabling methods +}) diff --git a/middleware/trigger-error.js b/middleware/trigger-error.js index 74bacee0ab..271e523a38 100644 --- a/middleware/trigger-error.js +++ b/middleware/trigger-error.js @@ -1,6 +1,11 @@ // This module is for testing our handling of uncaught async rejections on incoming requests +// IMPORTANT: Leave this function as `async` even though it doesn't need to be! module.exports = async function triggerError (req, res, next) { + // IMPORTANT: + // Do NOT wrap this method's contents in the usual `try-catch+next(error)` + // pattern used on async middleware! This is an intentional omission! + // prevent this from being used in production if (process.env.NODE_ENV === 'production') return next() diff --git a/package-lock.json b/package-lock.json index 847d8365d3..f52c09a10f 100644 --- a/package-lock.json +++ b/package-lock.json @@ -5519,6 +5519,16 @@ } } }, + "adler-32": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/adler-32/-/adler-32-1.2.0.tgz", + "integrity": "sha1-aj5r8KY5ALoVZSgIyxXGgT0aXyU=", + "dev": true, + "requires": { + "exit-on-epipe": "~1.0.1", + "printj": "~1.1.0" + } + }, "agent-base": { "version": "5.1.1", "resolved": "https://registry.npmjs.org/agent-base/-/agent-base-5.1.1.tgz", @@ -7498,6 +7508,17 @@ "resolved": "https://registry.npmjs.org/ccount/-/ccount-1.0.5.tgz", "integrity": "sha512-MOli1W+nfbPLlKEhInaxhRdp7KVLFxLN5ykwzHgLsLI3H3gs5jjFAK4Eoj3OzzcxCtumDaI8onoVDeQyWaNTkw==" }, + "cfb": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/cfb/-/cfb-1.2.0.tgz", + "integrity": "sha512-sXMvHsKCICVR3Naq+J556K+ExBo9n50iKl6LGarlnvuA2035uMlGA/qVrc0wQtow5P1vJEw9UyrKLCbtIKz+TQ==", + "dev": true, + "requires": { + "adler-32": "~1.2.0", + "crc-32": "~1.2.0", + "printj": "~1.1.2" + } + }, "chalk": { "version": "4.1.0", "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.0.tgz", @@ -8568,6 +8589,16 @@ "integrity": "sha1-v1JMJWJrJPCMxUooWZzXH97Wt6k=", "dev": true }, + "crc-32": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/crc-32/-/crc-32-1.2.0.tgz", + "integrity": "sha512-1uBwHxF+Y/4yF5G48fwnKq6QsIXheor3ZLPT80yGBV1oEUwpPojlEhQbWKVw1VwcTQyMGHK1/XMmTjmlsmTTGA==", + "dev": true, + "requires": { + "exit-on-epipe": "~1.0.1", + "printj": "~1.1.0" + } + }, "create-ecdh": { "version": "4.0.3", "resolved": "https://registry.npmjs.org/create-ecdh/-/create-ecdh-4.0.3.tgz", @@ -10625,6 +10656,12 @@ "integrity": "sha1-BjJjj42HfMghB9MKD/8aF8uhzQw=", "dev": true }, + "exit-on-epipe": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/exit-on-epipe/-/exit-on-epipe-1.0.1.tgz", + "integrity": "sha512-h2z5mrROTxce56S+pnvAV890uu7ls7f1kEvVGJbw1OlFH3/mlJ5bkXu0KRyW94v37zzHPiUd55iLn3DA7TjWpw==", + "dev": true + }, "expand-brackets": { "version": "2.1.4", "resolved": "https://registry.npmjs.org/expand-brackets/-/expand-brackets-2.1.4.tgz", @@ -10914,6 +10951,11 @@ "resolved": "https://registry.npmjs.org/express-rate-limit/-/express-rate-limit-5.1.3.tgz", "integrity": "sha512-TINcxve5510pXj4n9/1AMupkj3iWxl3JuZaWhCdYDlZeoCPqweGZrxbrlqTCFb1CT5wli7s8e2SH/Qz2c9GorA==" }, + "express-timeout-handler": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/express-timeout-handler/-/express-timeout-handler-2.2.0.tgz", + "integrity": "sha512-Ae9M32r3T+RmrY1MGwBvyVjnzVo1iD4s0YQHgvJqzPlT0d4qS84pr87LHyiUtnD7qDQLMYw6rl2fhsgH4TH8aQ==" + }, "ext": { "version": "1.4.0", "resolved": "https://registry.npmjs.org/ext/-/ext-1.4.0.tgz", @@ -13338,6 +13380,12 @@ "integrity": "sha512-Hiyv+mXHfFEP7LzUL/llg9RwFxxY+o9N3JVLIeG5E7iFIFAalxvRU9UZthBdYDEVnzHMgjnKJPPpay5BWf1g9g==", "dev": true }, + "immediate": { + "version": "3.0.6", + "resolved": "https://registry.npmjs.org/immediate/-/immediate-3.0.6.tgz", + "integrity": "sha1-nbHb0Pr43m++D13V5Wu2BigN5ps=", + "dev": true + }, "import-fresh": { "version": "3.2.1", "resolved": "https://registry.npmjs.org/import-fresh/-/import-fresh-3.2.1.tgz", @@ -17768,6 +17816,18 @@ } } }, + "jszip": { + "version": "3.6.0", + "resolved": "https://registry.npmjs.org/jszip/-/jszip-3.6.0.tgz", + "integrity": "sha512-jgnQoG9LKnWO3mnVNBnfhkh0QknICd1FGSrXcgrl67zioyJ4wgx25o9ZqwNtrROSflGBCGYnJfjrIyRIby1OoQ==", + "dev": true, + "requires": { + "lie": "~3.3.0", + "pako": "~1.0.2", + "readable-stream": "~2.3.6", + "set-immediate-shim": "~1.0.1" + } + }, "keycode": { "version": "2.2.0", "resolved": "https://registry.npmjs.org/keycode/-/keycode-2.2.0.tgz", @@ -17832,6 +17892,15 @@ "type-check": "~0.3.2" } }, + "lie": { + "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", @@ -20493,6 +20562,12 @@ "integrity": "sha512-16c7K+x4qVlJg9rEbXl7HEGmQyZlG4R9AgP+oHKRMsMsuk8s+ATStlf1NpDqyBI1HpVyfjLOeMhH2LvuNvV5Vg==", "dev": true }, + "printj": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/printj/-/printj-1.1.2.tgz", + "integrity": "sha512-zA2SmoLaxZyArQTOPj5LXecR+RagfPSU5Kw1qP+jkWeNlrq+eJZyY2oS68SU1Z/7/myXM4lo9716laOFAVStCQ==", + "dev": true + }, "private": { "version": "0.1.8", "resolved": "https://registry.npmjs.org/private/-/private-0.1.8.tgz", @@ -22031,6 +22106,12 @@ "resolved": "https://registry.npmjs.org/set-blocking/-/set-blocking-2.0.0.tgz", "integrity": "sha1-BF+XgtARrppoA93TgrJDkrPYkPc=" }, + "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", @@ -23315,6 +23396,21 @@ "integrity": "sha512-fcwX4mndzpLQKBS1DVYhGAcYaYt7vsHNIvQV+WXMvnow5cgjPphq5CaayLaGsjRdSCKZFNGt7/GYAuXaNOiYCA==", "dev": true }, + "throng": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/throng/-/throng-5.0.0.tgz", + "integrity": "sha512-nrq7+qQhn/DL8yW/wiwImTepfi6ynOCAe7moSwgoYN1F32yQMdBkuFII40oAkb3cDfaL6q5BIoFTDCHdMWQ8Pw==", + "requires": { + "lodash": "^4.17.20" + }, + "dependencies": { + "lodash": { + "version": "4.17.20", + "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.20.tgz", + "integrity": "sha512-PlhdFcillOINfeV7Ni6oF1TAEayyZBoZ8bcshTHqOYJYlrqzRK5hagpagky5o4HfCzzd1TRkXPMFq6cKk9rGmA==" + } + } + }, "through": { "version": "2.3.8", "resolved": "http://registry.npmjs.org/through/-/through-2.3.8.tgz", @@ -25201,6 +25297,26 @@ "xtend": "^4.0.0" } }, + "xlsx-populate": { + "version": "1.21.0", + "resolved": "https://registry.npmjs.org/xlsx-populate/-/xlsx-populate-1.21.0.tgz", + "integrity": "sha512-8v2Gm8BehXo6LU7KT802QoXTPkYY1SKk5V8g/UuYZnNB3JzXqud/P99Pxr2yXeKyt+sKlCatmidz6jQNie1hRw==", + "dev": true, + "requires": { + "cfb": "^1.1.3", + "jszip": "^3.2.2", + "lodash": "^4.17.15", + "sax": "^1.2.4" + }, + "dependencies": { + "sax": { + "version": "1.2.4", + "resolved": "https://registry.npmjs.org/sax/-/sax-1.2.4.tgz", + "integrity": "sha512-NqVDv9TpANUjFm0N8uM5GxL36UgKi9/atZw+x7YFnQ8ckwFGKrl4xX4yWtrey3UJm5nP1kUbnYgLopqWNSRhWw==", + "dev": true + } + } + }, "xml-name-validator": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/xml-name-validator/-/xml-name-validator-3.0.0.tgz", diff --git a/package.json b/package.json index 008ddf8da0..66d6b9f8d5 100644 --- a/package.json +++ b/package.json @@ -43,6 +43,7 @@ "dotenv": "^8.2.0", "express": "^4.17.1", "express-rate-limit": "^5.1.3", + "express-timeout-handler": "^2.2.0", "flat": "^5.0.0", "github-slugger": "^1.2.1", "got": "^9.6.0", @@ -96,6 +97,7 @@ "slash": "^3.0.0", "strip-html-comments": "^1.0.0", "style-loader": "^1.2.1", + "throng": "^5.0.0", "unified": "^8.4.2", "unist-util-visit": "^2.0.3", "uuid": "^8.3.0", @@ -158,7 +160,8 @@ "supertest": "^4.0.2", "url-template": "^2.0.8", "webpack-dev-middleware": "^3.7.2", - "website-scraper": "^4.2.0" + "website-scraper": "^4.2.0", + "xlsx-populate": "^1.21.0" }, "scripts": { "start": "cross-env NODE_ENV=development ENABLED_LANGUAGES='en,ja' nodemon server.js", diff --git a/script/content-migrations/add-tags-to-articles.js b/script/content-migrations/add-tags-to-articles.js new file mode 100755 index 0000000000..e98e7fe172 --- /dev/null +++ b/script/content-migrations/add-tags-to-articles.js @@ -0,0 +1,62 @@ +#!/usr/bin/env node + +const fs = require('fs') +const path = require('path') +const XlsxPopulate = require('xlsx-populate') +const readFrontmatter = require('../../lib/read-frontmatter') + +const START_ROW = 2 + +// Load an existing workbook +XlsxPopulate.fromFileAsync('./SanitizedInformationArchitecture.xlsx') + .then(workbook => { + const sheet = workbook.sheet('New content architecture') + + for (let row = START_ROW; sheet.row(row).cell(1).value() !== undefined; row++) { + const pageUrl = sheet.row(row).cell(1).hyperlink() + // article, learning path, or category + const contentStructure = sheet.row(row).cell(2).value() + // comma-separated keywords + const topics = sheet.row(row).cell(5).value() + + // The spreadsheet cell sometimes contains the string "null" + if (!topics || topics === 'null') continue + + // enterprise admin article urls will always include enterprise-server@3.0 + let fileName = pageUrl.replace('https://docs.github.com/en', 'content') + .replace('enterprise-server@3.0', '') + + // Only category files use the index.md format + if (contentStructure === 'article' || contentStructure === 'learning path') { + fileName = fileName + '.md' + } else { + fileName = fileName + '/index.md' + } + + const topicsArray = topics.split(',').map(topic => topic.trim()) || [] + updateFrontmatter(path.join(process.cwd(), fileName), topicsArray) + } + }) + +function updateFrontmatter (filePath, newTopics) { + const articleContents = fs.readFileSync(filePath, 'utf8') + const { content, data } = readFrontmatter(articleContents) + + let topics = [] + if (typeof data.topics === 'string') { + topics = [data.topics] + } else if (Array.isArray(data.topics)) { + topics = topics.concat(data.topics) + } + + newTopics.forEach(topic => { + topics.push(topic) + }) + + // remove any duplicates + const uniqueTopics = [...new Set(topics)] + data.topics = uniqueTopics + + const newContents = readFrontmatter.stringify(content, data, { lineWidth: 10000 }) + fs.writeFileSync(filePath, newContents) +} diff --git a/script/early-access/clone-for-build.js b/script/early-access/clone-for-build.js index 6ba9fbebdb..6bf2cf239d 100755 --- a/script/early-access/clone-for-build.js +++ b/script/early-access/clone-for-build.js @@ -12,7 +12,7 @@ require('dotenv').config() const { DOCUBOT_REPO_PAT, HEROKU_PRODUCTION_APP, - GIT_BRANCH // Set by the deployer with the name of the docs-internal branch + GIT_BRANCH // Set by Actions and/or the deployer with the name of the docs-internal branch } = process.env // Exit if PAT is not found diff --git a/script/enterprise-server-deprecations/archive-version.js b/script/enterprise-server-deprecations/archive-version.js index 8493a9dc60..6c13e9891e 100755 --- a/script/enterprise-server-deprecations/archive-version.js +++ b/script/enterprise-server-deprecations/archive-version.js @@ -3,7 +3,7 @@ const fs = require('fs') const path = require('path') const { execSync } = require('child_process') -const server = require('../../server') +const app = require('../../lib/app') const port = '4001' const host = `http://localhost:${port}` const scrape = require('website-scraper') @@ -155,7 +155,7 @@ async function main () { plugins: [new RewriteAssetPathsPlugin(version, tempDirectory)] } - server.listen(port, async () => { + app.listen(port, async () => { console.log(`started server on ${host}`) await scrape(scraperOptions).catch(err => { diff --git a/script/fix-translation-errors.js b/script/fix-translation-errors.js index ea3ee1af5d..7d5d5cdc31 100644 --- a/script/fix-translation-errors.js +++ b/script/fix-translation-errors.js @@ -2,6 +2,7 @@ const { execSync } = require('child_process') const { get, set } = require('lodash') const fs = require('fs') const path = require('path') +const readFileAsync = require('../lib/readfile-async') const fm = require('../lib/frontmatter') const matter = require('gray-matter') const chalk = require('chalk') @@ -23,7 +24,7 @@ const fixableYmlProps = ['date'] const loadAndValidateContent = async (path, schema) => { let fileContents try { - fileContents = await fs.promises.readFile(path, 'utf8') + fileContents = await readFileAsync(path, 'utf8') } catch (e) { console.error(e.message) return null diff --git a/script/rest/update-files.js b/script/rest/update-files.js index 8b42275334..ee1fe72985 100755 --- a/script/rest/update-files.js +++ b/script/rest/update-files.js @@ -91,17 +91,23 @@ async function decorate () { }, {}) for (const [schemaName, schema] of Object.entries(dereferencedSchemas)) { - // munge OpenAPI definitions object in an array of operations objects - const operations = await getOperations(schema) + try { + // munge OpenAPI definitions object in an array of operations objects + const operations = await getOperations(schema) - // process each operation, asynchronously rendering markdown and stuff - await Promise.all(operations.map(operation => operation.process())) + // process each operation, asynchronously rendering markdown and stuff + await Promise.all(operations.map(operation => operation.process())) - const filename = path.join(decoratedPath, `${schemaName}.json`) - .replace('.deref', '') - // write processed operations to disk - fs.writeFileSync(filename, JSON.stringify(operations, null, 2)) + const filename = path.join(decoratedPath, `${schemaName}.json`) + .replace('.deref', '') + // write processed operations to disk + fs.writeFileSync(filename, JSON.stringify(operations, null, 2)) - console.log('Wrote', path.relative(process.cwd(), filename)) + console.log('Wrote', path.relative(process.cwd(), filename)) + } catch (error) { + console.error(error) + console.log('🐛 Whoops! It looks like the decorator script wasn\'t able to parse the dereferenced schema. A recent change may not yet be supported by the decorator. Please reach out in the #docs-engineering slack channel for help.') + process.exit(1) + } } } diff --git a/script/rest/utils/create-code-samples.js b/script/rest/utils/create-code-samples.js index ddb1d7bf6c..3ff74cc4a3 100644 --- a/script/rest/utils/create-code-samples.js +++ b/script/rest/utils/create-code-samples.js @@ -1,6 +1,5 @@ module.exports = createCodeSamples -const { URL } = require('url') const urlTemplate = require('url-template') const { stringify } = require('javascript-stringify') const { get, mapValues, snakeCase } = require('lodash') @@ -45,7 +44,7 @@ function toShellExample ({ route, serverUrl }) { const args = [ method !== 'GET' && `-X ${method}`, defaultAcceptHeader ? `-H "Accept: ${defaultAcceptHeader}"` : '', - new URL(path, serverUrl).href, + `${serverUrl}${path}`, Object.keys(params).length && `-d '${JSON.stringify(params)}'` ].filter(Boolean) return `curl \\\n ${args.join(' \\\n ')}` @@ -114,15 +113,18 @@ function getExampleBodyParams ({ operation }) { return { [paramName]: getExampleParamValue(paramName, schema) } } - if (schema.oneOf) { + if (schema.oneOf && schema.oneOf[0].type) { schema = schema.oneOf[0] } + const props = schema.required && schema.required.length > 0 ? schema.required : Object.keys(schema.properties).slice(0, 1) + return props.reduce((dict, propName) => { const propSchema = schema.properties[propName] + if (!propSchema.deprecated) { dict[propName] = getExampleParamValue(propName, propSchema) } @@ -137,8 +139,8 @@ function getExampleParamValue (name, schema) { } // TODO: figure out the right behavior here - if (schema.oneOf) return getExampleParamValue(name, schema.oneOf[0]) - if (schema.anyOf) return getExampleParamValue(name, schema.anyOf[0]) + if (schema.oneOf && schema.oneOf[0].type) return getExampleParamValue(name, schema.oneOf[0]) + if (schema.anyOf && schema.anyOf[0].type) return getExampleParamValue(name, schema.anyOf[0]) switch (schema.type) { case 'string': diff --git a/script/rest/utils/get-operations.js b/script/rest/utils/get-operations.js index 37b2fe61c8..dd408e87b2 100644 --- a/script/rest/utils/get-operations.js +++ b/script/rest/utils/get-operations.js @@ -10,8 +10,7 @@ module.exports = async function getOperations (schema) { for (const [requestPath, operationsAtPath] of Object.entries(schema.paths)) { for (const [verb, props] of Object.entries(operationsAtPath)) { const serverUrl = schema.servers[0].url - .replace('{protocol}', 'https') - .replace('{hostname}', 'api.github.com') + .replace('{protocol}', 'http(s)') const operation = new Operation(verb, requestPath, props, serverUrl) operations.push(operation) } diff --git a/server.js b/server.js index b26751cbaa..49ff01708e 100644 --- a/server.js +++ b/server.js @@ -1,40 +1,114 @@ +require('dotenv').config() + +const throng = require('throng') +const os = require('os') +const portUsed = require('port-used') +const prefixStreamWrite = require('./lib/prefix-stream-write') + +// Intentionally require these for both cluster primary and workers require('./lib/check-node-version') require('./lib/handle-exceptions') require('./lib/feature-flags') -const express = require('express') -const portUsed = require('port-used') -const warmServer = require('./lib/warm-server') -const port = Number(process.env.PORT) || 4000 -const app = express() +const { PORT, NODE_ENV } = process.env +const port = Number(PORT) || 4000 -require('./middleware')(app) - -// prevent the app from starting up during tests -/* istanbul ignore next */ -if (!module.parent) { - // check that the development server is not already running - portUsed.check(port).then(async status => { - if (status === false) { - // If in a deployed environment, warm the server at the start - if (process.env.NODE_ENV === 'production') { - // If in a true production environment, wait for the cache to be fully warmed. - if (process.env.HEROKU_PRODUCTION_APP || process.env.GITHUB_ACTIONS) { - await warmServer() - } - } - - // workaround for https://github.com/expressjs/express/issues/1101 - const server = require('http').createServer(app) - server.listen(port, () => console.log(`app running on http://localhost:${port}`)) - .on('error', () => server.close()) - } else { - console.log(`\n\n\nPort ${port} is not available. You may already have a server running.`) - console.log('Try running `killall node` to shut down all your running node processes.\n\n\n') - console.log('\x07') // system 'beep' sound - process.exit(1) - } +function main () { + // Spin up a cluster! + throng({ + master: setupPrimary, + worker: setupWorker, + count: calculateWorkerCount() }) } -module.exports = app +// Start the server! +main() + +// This function will only be run in the primary process +async function setupPrimary () { + process.on('beforeExit', () => { + console.log('Shutting down primary...') + console.log('Exiting!') + }) + + console.log('Starting up primary...') + + // Check that the development server is not already running + const portInUse = await portUsed.check(port) + if (portInUse) { + console.log(`\n\n\nPort ${port} is not available. You may already have a server running.`) + console.log('Try running `killall node` to shut down all your running node processes.\n\n\n') + console.log('\x07') // system 'beep' sound + process.exit(1) + } +} + +// IMPORTANT: This function will be run in a separate worker process! +async function setupWorker (id, disconnect) { + let exited = false + + // Wrap stdout and stderr to include the worker ID as a static prefix + // console.log('hi') => '[worker.1]: hi' + const prefix = `[worker.${id}]: ` + prefixStreamWrite(process.stdout, prefix) + prefixStreamWrite(process.stderr, prefix) + + process.on('beforeExit', () => { + console.log('Exiting!') + }) + + process.on('SIGTERM', shutdown) + process.on('SIGINT', shutdown) + + console.log('Starting up worker...') + + // Load the server in each worker process and share the port via sharding + const app = require('./lib/app') + const warmServer = require('./lib/warm-server') + + // If in a deployed environment... + if (NODE_ENV === 'production') { + // If in a true production environment, wait for the cache to be fully warmed. + if (process.env.HEROKU_PRODUCTION_APP || process.env.GITHUB_ACTIONS) { + await warmServer() + } + } + + // Workaround for https://github.com/expressjs/express/issues/1101 + const server = require('http').createServer(app) + server + .listen(port, () => console.log(`app running on http://localhost:${port}`)) + .on('error', () => server.close()) + + function shutdown () { + if (exited) return + exited = true + + console.log('Shutting down worker...') + disconnect() + } +} + +function calculateWorkerCount () { + // Heroku's recommended WEB_CONCURRENCY count based on the WEB_MEMORY config, + // or explicitly configured by us + const { WEB_CONCURRENCY } = process.env + + const recommendedCount = parseInt(WEB_CONCURRENCY, 10) + const cpuCount = os.cpus().length + + // Ensure the recommended count is AT LEAST 1 for safety + let workerCount = Math.max(recommendedCount || 1, 1) + + // If WEB_CONCURRENCY value was configured to a valid number... + if (recommendedCount > 0) { + // Use the smaller value between the recommendation vs. the CPU count + workerCount = Math.min(workerCount, cpuCount) + } else if (NODE_ENV === 'production') { + // Else if in a deployed environment, default to the CPU count + workerCount = cpuCount + } + + return workerCount +} diff --git a/stylesheets/overrides.scss b/stylesheets/overrides.scss index 056b5eeff0..5657740df5 100644 --- a/stylesheets/overrides.scss +++ b/stylesheets/overrides.scss @@ -65,7 +65,7 @@ color: $text-gray-dark; } -.product-callout p { +.product-callout p, .contributor-callout p { margin: 0; } diff --git a/tests/content/category-pages.js b/tests/content/category-pages.js index cc9febf9c3..8db57821a6 100644 --- a/tests/content/category-pages.js +++ b/tests/content/category-pages.js @@ -5,6 +5,7 @@ const matter = require('../../lib/read-frontmatter') const { zip, difference } = require('lodash') const GithubSlugger = require('github-slugger') const { XmlEntities } = require('html-entities') +const readFileAsync = require('../../lib/readfile-async') const loadSiteData = require('../../lib/site-data') const renderContent = require('../../lib/render-content') const getApplicableVersions = require('../../lib/get-applicable-versions') @@ -72,7 +73,7 @@ describe('category pages', () => { const categoryDir = path.dirname(indexAbsPath) // Get child article links included in each subdir's index page - const indexContents = await fs.promises.readFile(indexAbsPath, 'utf8') + const indexContents = await readFileAsync(indexAbsPath, 'utf8') const { data, content } = matter(indexContents) categoryVersions = getApplicableVersions(data.versions, indexAbsPath) const articleLinks = getLinks(content) @@ -83,7 +84,7 @@ describe('category pages', () => { publishedArticlePaths = (await Promise.all( articleLinks.map(async (articleLink) => { const articlePath = getPath(productDir, indexLink, articleLink) - const articleContents = await fs.promises.readFile(articlePath, 'utf8') + const articleContents = await readFileAsync(articlePath, 'utf8') const { data } = matter(articleContents) // Do not include map topics in list of published articles @@ -101,7 +102,7 @@ describe('category pages', () => { availableArticlePaths = (await Promise.all( childFilePaths.map(async (articlePath) => { - const articleContents = await fs.promises.readFile(articlePath, 'utf8') + const articleContents = await readFileAsync(articlePath, 'utf8') const { data } = matter(articleContents) // Do not include map topics nor hidden pages in list of available articles @@ -114,7 +115,7 @@ describe('category pages', () => { await Promise.all( childFilePaths.map(async (articlePath) => { - const articleContents = await fs.promises.readFile(articlePath, 'utf8') + const articleContents = await readFileAsync(articlePath, 'utf8') const { data } = matter(articleContents) articleVersions[articlePath] = getApplicableVersions(data.versions, articlePath) diff --git a/tests/content/lint-files.js b/tests/content/lint-files.js index 56fb2a85e7..e5d899ac82 100644 --- a/tests/content/lint-files.js +++ b/tests/content/lint-files.js @@ -1,12 +1,12 @@ const path = require('path') const slash = require('slash') -const fs = require('fs') const walk = require('walk-sync') const { zip, groupBy } = require('lodash') const yaml = require('js-yaml') const revalidator = require('revalidator') const generateMarkdownAST = require('mdast-util-from-markdown') const visit = require('unist-util-visit') +const readFileAsync = require('../../lib/readfile-async') const frontmatter = require('../../lib/frontmatter') const languages = require('../../lib/languages') const { tags } = require('../../lib/liquid-tags/extended-markdown') @@ -250,7 +250,7 @@ describe('lint markdown content', () => { let content, ast, links, isHidden, isEarlyAccess, isSitePolicy, frontmatterErrors, frontmatterData beforeAll(async () => { - const fileContents = await fs.promises.readFile(markdownAbsPath, 'utf8') + const fileContents = await readFileAsync(markdownAbsPath, 'utf8') const { data, content: bodyContent, errors } = frontmatter(fileContents) content = bodyContent @@ -417,7 +417,7 @@ describe('lint yaml content', () => { let dictionary, isEarlyAccess beforeAll(async () => { - const fileContents = await fs.promises.readFile(yamlAbsPath, 'utf8') + const fileContents = await readFileAsync(yamlAbsPath, 'utf8') dictionary = yaml.safeLoad(fileContents, { filename: yamlRelPath }) isEarlyAccess = yamlRelPath.split('/').includes('early-access') @@ -606,7 +606,7 @@ describe('lint release notes', () => { let dictionary beforeAll(async () => { - const fileContents = await fs.promises.readFile(yamlAbsPath, 'utf8') + const fileContents = await readFileAsync(yamlAbsPath, 'utf8') dictionary = yaml.safeLoad(fileContents, { filename: yamlRelPath }) }) diff --git a/tests/content/liquid-line-breaks.js b/tests/content/liquid-line-breaks.js index a675e52639..6f7eaaaff1 100644 --- a/tests/content/liquid-line-breaks.js +++ b/tests/content/liquid-line-breaks.js @@ -1,9 +1,9 @@ const path = require('path') -const fs = require('fs') const walk = require('walk-sync') const matter = require('../../lib/read-frontmatter') const { zip } = require('lodash') const yaml = require('js-yaml') +const readFileAsync = require('../../lib/readfile-async') const rootDir = path.join(__dirname, '../..') const contentDir = path.join(rootDir, 'content') @@ -52,7 +52,7 @@ describe('Liquid references', () => { test.each([...contentMarkdownTuples, ...reusableMarkdownTuples])( 'in "%s"', async (markdownRelPath, markdownAbsPath) => { - const fileContents = await fs.promises.readFile(markdownAbsPath, 'utf8') + const fileContents = await readFileAsync(markdownAbsPath, 'utf8') const { content } = matter(fileContents) const matches = (content.match(liquidRefsWithLinkBreaksRegex) || []) @@ -75,7 +75,7 @@ describe('Liquid references', () => { test.each(variableYamlTuples)( 'in "%s"', async (yamlRelPath, yamlAbsPath) => { - const fileContents = await fs.promises.readFile(yamlAbsPath, 'utf8') + const fileContents = await readFileAsync(yamlAbsPath, 'utf8') const dictionary = yaml.safeLoad(fileContents, { filename: yamlRelPath }) const matches = [] diff --git a/tests/content/remove-liquid-statements.js b/tests/content/remove-liquid-statements.js index f94dd5ae5c..a7ba5ed1db 100644 --- a/tests/content/remove-liquid-statements.js +++ b/tests/content/remove-liquid-statements.js @@ -1,7 +1,7 @@ -const fs = require('fs').promises const path = require('path') const cheerio = require('cheerio') const matter = require('gray-matter') +const readFileAsync = require('../../lib/readfile-async') const removeLiquidStatements = require('../../lib/remove-liquid-statements') const removeDeprecatedFrontmatter = require('../../lib/remove-deprecated-frontmatter') const removeLiquidStatementsFixtures = path.join(__dirname, '../fixtures/remove-liquid-statements') @@ -36,7 +36,7 @@ function processFrontmatter (contents, file) { describe('removing liquid statements only', () => { test('removes liquid statements that specify "greater than version to deprecate"', async () => { - let contents = await fs.readFile(greaterThan, 'utf8') + let contents = await readFileAsync(greaterThan, 'utf8') contents = removeLiquidStatements(contents, versionToDeprecate, nextOldestVersion) const $ = cheerio.load(contents) expect($('.example1').text().trim()).toBe('Alpha') @@ -58,7 +58,7 @@ Alpha\n\n{% else %}\n\nBravo\n\n{% if currentVersion ver_gt "enterprise-server@2 }) test('removes liquid statements that specify "and greater than version to deprecate"', async () => { - let contents = await fs.readFile(andGreaterThan1, 'utf8') + let contents = await readFileAsync(andGreaterThan1, 'utf8') contents = removeLiquidStatements(contents, versionToDeprecate, nextOldestVersion) const $ = cheerio.load(contents) expect($('.example1').text().trim()).toBe('{% if currentVersion != "free-pro-team@latest" %}\n\nAlpha\n\n{% endif %}') @@ -72,7 +72,7 @@ Alpha\n\n{% if currentVersion ver_gt "enterprise-server@2.16" %}\n\nBravo\n\n{% }) test('removes liquid statements that specify "and greater than version to deprecate" (alternate format)', async () => { - let contents = await fs.readFile(andGreaterThan2, 'utf8') + let contents = await readFileAsync(andGreaterThan2, 'utf8') contents = removeLiquidStatements(contents, versionToDeprecate, nextOldestVersion) const $ = cheerio.load(contents) expect($('.example1').text().trim()).toBe('{% if currentVersion ver_lt "enterprise-server@2.16" %}\n\nAlpha\n\n{% endif %}') @@ -86,7 +86,7 @@ Alpha\n\n{% if currentVersion != "free-pro-team@latest" %}\n\nBravo\n\n{% endif }) test('removes liquid statements that specify "not equals version to deprecate"', async () => { - let contents = await fs.readFile(notEquals, 'utf8') + let contents = await readFileAsync(notEquals, 'utf8') contents = removeLiquidStatements(contents, versionToDeprecate, nextOldestVersion) const $ = cheerio.load(contents) expect($('.example1').text().trim()).toBe('Alpha') @@ -104,7 +104,7 @@ Alpha\n\n{% endif %}`) describe('removing liquid statements and content', () => { test('removes interior content and liquid statements that specify "equals version to deprecate"', async () => { - let contents = await fs.readFile(equals, 'utf8') + let contents = await readFileAsync(equals, 'utf8') contents = removeLiquidStatements(contents, versionToDeprecate, nextOldestVersion) const $ = cheerio.load(contents) expect($('.example1').text().trim()).toBe('') @@ -118,7 +118,7 @@ Alpha\n\n{% else %}\n\nCharlie\n\n{% endif %}`) }) test('removes interior content and liquid statements that specify "less than next oldest than version to deprecate"', async () => { - let contents = await fs.readFile(lessThanNextOldest, 'utf8') + let contents = await readFileAsync(lessThanNextOldest, 'utf8') contents = removeLiquidStatements(contents, versionToDeprecate, nextOldestVersion) const $ = cheerio.load(contents) expect($('.example1').text().trim()).toBe('Alpha') @@ -138,7 +138,7 @@ Charlie\n\n{% else %}\n\nDelta\n\n{% endif %}\n\nEcho`) describe('updating frontmatter', () => { test('updates frontmatter versions Enterprise if set to greater-than-or-equal-to version to deprecate', async () => { - let contents = await fs.readFile(frontmatter1, 'utf8') + let contents = await readFileAsync(frontmatter1, 'utf8') contents = processFrontmatter(contents, frontmatter1) const $ = cheerio.load(contents) // console.log('foo') @@ -148,7 +148,7 @@ describe('updating frontmatter', () => { }) test('updates frontmatter versions Enterprise if set to greater-than-or-equal-to next oldest version', async () => { - let contents = await fs.readFile(frontmatter2, 'utf8') + let contents = await readFileAsync(frontmatter2, 'utf8') contents = processFrontmatter(contents, frontmatter2) const $ = cheerio.load(contents) expect($.text().includes('enterprise-server: \'*\'')).toBe(true) @@ -158,7 +158,7 @@ describe('updating frontmatter', () => { describe('whitespace', () => { test('does not add newlines when whitespace control is used', async () => { - let contents = await fs.readFile(whitespace, 'utf8') + let contents = await readFileAsync(whitespace, 'utf8') contents = removeLiquidStatements(contents, versionToDeprecate, nextOldestVersion) const $ = cheerio.load(contents) expect($('.example1').text()).toBe('\n Alpha\n') @@ -168,7 +168,7 @@ describe('whitespace', () => { }) test('does not add newlines when no newlines are present', async () => { - let contents = await fs.readFile(whitespace, 'utf8') + let contents = await readFileAsync(whitespace, 'utf8') contents = removeLiquidStatements(contents, versionToDeprecate, nextOldestVersion) const $ = cheerio.load(contents) expect($('.example5').text()).toBe('\n Alpha\n') diff --git a/tests/content/site-data-references.js b/tests/content/site-data-references.js index 9f8fa6b9ab..0b56d8f69a 100644 --- a/tests/content/site-data-references.js +++ b/tests/content/site-data-references.js @@ -5,6 +5,7 @@ const getDataReferences = require('../../lib/get-liquid-data-references') const frontmatter = require('../../lib/read-frontmatter') const fs = require('fs').promises const path = require('path') +const readFileAsync = require('../../lib/readfile-async') describe('data references', () => { jest.setTimeout(60 * 1000) @@ -41,7 +42,7 @@ describe('data references', () => { await Promise.all(pages.map(async page => { const metadataFile = path.join('content', page.relativePath) - const fileContents = await fs.readFile(path.join(__dirname, '../..', metadataFile)) + const fileContents = await readFileAsync(path.join(__dirname, '../..', metadataFile)) const { data: metadata } = frontmatter(fileContents, { filepath: page.fullPath }) const metadataRefs = getDataReferences(JSON.stringify(metadata)) metadataRefs.forEach(key => { diff --git a/tests/fixtures/article-with-broken-links-and-images.md b/tests/fixtures/article-with-broken-links-and-images.md index 96bfbb9553..abf65dbb78 100644 --- a/tests/fixtures/article-with-broken-links-and-images.md +++ b/tests/fixtures/article-with-broken-links-and-images.md @@ -20,7 +20,7 @@ This anchor is broken on all versions because it points to a heading that does n This link is broken on Enterprise versions because it points to a Dotcom-only article: [GitHub's Products](/github/getting-started-with-github/githubs-products) -This link is OK because it points to a Dotcom-only article with the `dotcom-only` class: About security alerts for vulnerable dependencies." +This link is OK because it points to a Dotcom-only article with the `dotcom-only` class: About alerts for vulnerable dependencies." This link is broken on Dotcom because it points to an Enterprise-only article: [Working with Pre-Receive Hooks](/github/collaborating-with-issues-and-pull-requests/working-with-pre-receive-hooks) diff --git a/tests/fixtures/page-versioned-for-ghae-next.md b/tests/fixtures/page-versioned-for-ghae-next.md new file mode 100644 index 0000000000..7829f629ad --- /dev/null +++ b/tests/fixtures/page-versioned-for-ghae-next.md @@ -0,0 +1,5 @@ +--- +title: Page versioned for next GitHub AE release +versions: + github-ae: 'next' +--- diff --git a/tests/fixtures/page-versioned-for-next-enterprise-release.md b/tests/fixtures/page-versioned-for-next-enterprise-release.md new file mode 100644 index 0000000000..46a30ad849 --- /dev/null +++ b/tests/fixtures/page-versioned-for-next-enterprise-release.md @@ -0,0 +1,5 @@ +--- +title: Page versioned for next Enterprise release +versions: + enterprise-server: '>=3.1' +--- diff --git a/tests/graphql/build-changelog-test.js b/tests/graphql/build-changelog-test.js index 4620d4aeee..d0fb0a6625 100644 --- a/tests/graphql/build-changelog-test.js +++ b/tests/graphql/build-changelog-test.js @@ -2,6 +2,7 @@ const yaml = require('js-yaml') const { createChangelogEntry, cleanPreviewTitle, previewAnchor, prependDatedEntry } = require('../../script/graphql/build-changelog') const fs = require('fs').promises const MockDate = require('mockdate') +const readFileAsync = require('../../lib/readfile-async') const expectedChangelogEntry = require('../fixtures/changelog-entry') const expectedUpdatedChangelogFile = require('../fixtures/updated-changelog-file') @@ -113,14 +114,14 @@ describe('updating the changelog file', () => { it('modifies the entry object and the file on disk', async () => { const testTargetPath = 'tests/graphql/example_changelog.json' - const previousContents = await fs.readFile(testTargetPath) + const previousContents = await readFileAsync(testTargetPath) const exampleEntry = { someStuff: true } const expectedDate = '2020-11-20' MockDate.set(expectedDate) prependDatedEntry(exampleEntry, testTargetPath) - const newContents = await fs.readFile(testTargetPath, 'utf8') + const newContents = await readFileAsync(testTargetPath, 'utf8') // reset the file: await fs.writeFile(testTargetPath, previousContents) diff --git a/tests/helpers/supertest.js b/tests/helpers/supertest.js index 7ffcbb73eb..f946972c59 100644 --- a/tests/helpers/supertest.js +++ b/tests/helpers/supertest.js @@ -3,7 +3,7 @@ const cheerio = require('cheerio') const supertest = require('supertest') -const app = require('../../server') +const app = require('../../lib/app') const helpers = {} diff --git a/tests/meta/repository-references.js b/tests/meta/repository-references.js index a33c93e3d2..d8571239ab 100644 --- a/tests/meta/repository-references.js +++ b/tests/meta/repository-references.js @@ -1,5 +1,5 @@ const walkSync = require('walk-sync') -const fs = require('fs').promises +const readFileAsync = require('../../lib/readfile-async') const REPO_REGEXP = /\/\/github\.com\/github\/(?!docs[/'"\n])([\w-.]+)/gi @@ -61,7 +61,7 @@ describe('check for repository references', () => { }) test.each(filenames)('in file %s', async (filename) => { - const file = await fs.readFile(filename, 'utf8') + const file = await readFileAsync(filename, 'utf8') const matches = Array.from(file.matchAll(REPO_REGEXP)) .map(([, repoName]) => repoName) .filter(repoName => !ALLOW_LIST.has(repoName)) diff --git a/tests/rendering/breadcrumbs.js b/tests/rendering/breadcrumbs.js index 81f4249207..b95fe1b0cd 100644 --- a/tests/rendering/breadcrumbs.js +++ b/tests/rendering/breadcrumbs.js @@ -49,13 +49,13 @@ describe('breadcrumbs', () => { }) test('English breadcrumbs link to English pages', async () => { - const $ = await getDOM('/en/github/getting-started-with-github') + const $ = await getDOM('/en/github/setting-up-and-managing-your-github-user-account') const $breadcrumbs = $('.breadcrumbs a') expect($breadcrumbs.eq(0).attr('href')).toBe('/en/github') }) test('localized breadcrumbs link to localize pages', async () => { - const $ = await getDOM('/ja/github/getting-started-with-github') + const $ = await getDOM('/ja/github/setting-up-and-managing-your-github-user-account') const $breadcrumbs = $('.breadcrumbs a') expect($breadcrumbs.eq(0).attr('href')).toBe('/ja/github') }) diff --git a/tests/rendering/events.js b/tests/rendering/events.js index b0d8c64e29..407a89a907 100644 --- a/tests/rendering/events.js +++ b/tests/rendering/events.js @@ -1,7 +1,7 @@ const request = require('supertest') const nock = require('nock') const cheerio = require('cheerio') -const app = require('../../server') +const app = require('../../lib/app') describe('POST /events', () => { jest.setTimeout(60 * 1000) diff --git a/tests/rendering/server.js b/tests/rendering/server.js index c9cabb77d0..7b7e316c30 100644 --- a/tests/rendering/server.js +++ b/tests/rendering/server.js @@ -756,15 +756,15 @@ describe('static routes', () => { }) describe('index pages', () => { - const nonEnterpriseOnlyPath = '/en/github/getting-started-with-github/verifying-your-email-address' + const nonEnterpriseOnlyPath = '/en/github/setting-up-and-managing-your-github-user-account/managing-user-account-settings' test('includes dotcom-only links in dotcom TOC', async () => { - const $ = await getDOM('/en/github/getting-started-with-github') + const $ = await getDOM('/en/github/setting-up-and-managing-your-github-user-account') expect($(`article a[href="${nonEnterpriseOnlyPath}"]`).length).toBe(1) }) test('excludes dotcom-only from GHE TOC', async () => { - const $ = await getDOM(`/en/enterprise/${enterpriseServerReleases.latest}/user/github/getting-started-with-github`) + const $ = await getDOM(`/en/enterprise/${enterpriseServerReleases.latest}/user/github/setting-up-and-managing-your-github-user-account`) expect($(`a[href="${nonEnterpriseOnlyPath}"]`).length).toBe(0) }) diff --git a/tests/routing/deprecated-enterprise-versions.js b/tests/routing/deprecated-enterprise-versions.js index 6ef55122e0..4d0d3e94d4 100644 --- a/tests/routing/deprecated-enterprise-versions.js +++ b/tests/routing/deprecated-enterprise-versions.js @@ -1,4 +1,4 @@ -const app = require('../../server') +const app = require('../../lib/app') const enterpriseServerReleases = require('../../lib/enterprise-server-releases') const { get, getDOM } = require('../helpers/supertest') const supertest = require('supertest') diff --git a/tests/routing/redirects.js b/tests/routing/redirects.js index e3614da787..e912e26559 100644 --- a/tests/routing/redirects.js +++ b/tests/routing/redirects.js @@ -1,7 +1,7 @@ const path = require('path') const { isPlainObject } = require('lodash') const supertest = require('supertest') -const app = require('../../server') +const app = require('../../lib/app') const enterpriseServerReleases = require('../../lib/enterprise-server-releases') const nonEnterpriseDefaultVersion = require('../../lib/non-enterprise-default-version') const Page = require('../../lib/page') diff --git a/tests/unit/page.js b/tests/unit/page.js index 3843e0abd7..988b278426 100644 --- a/tests/unit/page.js +++ b/tests/unit/page.js @@ -190,6 +190,36 @@ describe('Page class', () => { expect($.text()).not.toBe('This text should render on any actively supported version of Enterprise Server') expect($.text()).toBe('This text should only render on non-Enterprise') }) + + test('support next to-be-released Enterprise Server version in frontmatter', async () => { + // This fixture has `enterprise-server: '>=3.1'` hardcoded in the frontmatter + const page = await Page.init({ + relativePath: 'page-versioned-for-next-enterprise-release.md', + basePath: path.join(__dirname, '../fixtures'), + languageCode: 'en' + }) + // set version to 3.0 + const context = { + currentVersion: 'enterprise-server@3.0', + currentLanguage: 'en' + } + await expect(() => { return page.render(context) }).not.toThrow() + }) + + test('support next GitHub AE version in frontmatter', async () => { + // This fixture has `github-ae: 'next'` hardcoded in the frontmatter + const page = await Page.init({ + relativePath: 'page-versioned-for-ghae-next.md', + basePath: path.join(__dirname, '../fixtures'), + languageCode: 'en' + }) + // set version to @latest + const context = { + currentVersion: 'github-ae@latest', + currentLanguage: 'en' + } + await expect(() => { return page.render(context) }).not.toThrow() + }) }) test('preserves `languageCode`', async () => { diff --git a/tests/unit/pages.js b/tests/unit/pages.js index 5a516e8a81..c2443730fe 100644 --- a/tests/unit/pages.js +++ b/tests/unit/pages.js @@ -8,6 +8,7 @@ const slugger = new GithubSlugger() const Entities = require('html-entities').XmlEntities const entities = new Entities() const { chain, difference } = require('lodash') +const checkIfNextVersionOnly = require('../../lib/check-if-next-version-only') describe('pages module', () => { jest.setTimeout(60 * 1000) @@ -30,7 +31,12 @@ describe('pages module', () => { }) test('every page has a non-empty `permalinks` array', async () => { - const brokenPages = pages.filter(page => !Array.isArray(page.permalinks) || page.permalinks.length === 0) + const brokenPages = pages + .filter(page => !Array.isArray(page.permalinks) || page.permalinks.length === 0) + // Ignore pages that only have "next" versions specified and therefore no permalinks; + // These pages are not broken, they just won't render in the currently supported versions. + .filter(page => !Object.values(page.versions).every(pageVersion => checkIfNextVersionOnly(pageVersion))) + const expectation = JSON.stringify(brokenPages.map(page => page.fullPath), null, 2) expect(brokenPages.length, expectation).toBe(0) }) diff --git a/tests/unit/algolia/fixtures/page-with-sections.html b/tests/unit/search/fixtures/page-with-sections.html similarity index 75% rename from tests/unit/algolia/fixtures/page-with-sections.html rename to tests/unit/search/fixtures/page-with-sections.html index f61318d4c4..f6da35c328 100644 --- a/tests/unit/algolia/fixtures/page-with-sections.html +++ b/tests/unit/search/fixtures/page-with-sections.html @@ -1,8 +1,11 @@ + + +

    I am the page title

    diff --git a/tests/unit/algolia/fixtures/page-without-sections.html b/tests/unit/search/fixtures/page-without-sections.html similarity index 56% rename from tests/unit/algolia/fixtures/page-without-sections.html rename to tests/unit/search/fixtures/page-without-sections.html index 2c137527e6..4046e0a66c 100644 --- a/tests/unit/algolia/fixtures/page-without-sections.html +++ b/tests/unit/search/fixtures/page-without-sections.html @@ -1,10 +1,13 @@ + + +

    I am outside the article and should not be included

    A page without sections

    diff --git a/tests/unit/algolia/parse-page-sections-into-records.js b/tests/unit/search/parse-page-sections-into-records.js similarity index 79% rename from tests/unit/algolia/parse-page-sections-into-records.js rename to tests/unit/search/parse-page-sections-into-records.js index e328f846f0..982a72a086 100644 --- a/tests/unit/algolia/parse-page-sections-into-records.js +++ b/tests/unit/search/parse-page-sections-into-records.js @@ -20,19 +20,21 @@ describe('search parsePageSectionsIntoRecords module', () => { objectID: '/example/href#first', url: 'https://docs.github.com/example/href#first', slug: 'first', - breadcrumbs: 'a / b / c', + breadcrumbs: 'GitHub Actions / actions learning path', heading: 'First heading', title: 'I am the page title', - content: "Here's a paragraph. And another." + content: "Here's a paragraph. And another.", + topics: ['topic1', 'topic2', 'GitHub Actions', 'Actions'] }, { objectID: '/example/href#second', url: 'https://docs.github.com/example/href#second', slug: 'second', - breadcrumbs: 'a / b / c', + breadcrumbs: 'GitHub Actions / actions learning path', heading: 'Second heading', title: 'I am the page title', - content: "Here's a paragraph in the second section. And another." + content: "Here's a paragraph in the second section. And another.", + topics: ['topic1', 'topic2', 'GitHub Actions', 'Actions'] } ] @@ -50,9 +52,10 @@ describe('search parsePageSectionsIntoRecords module', () => { { objectID: '/example/href', url: 'https://docs.github.com/example/href', - breadcrumbs: 'x / y / z', + breadcrumbs: 'Education / map topic', title: 'A page without sections', - content: 'First paragraph. Second paragraph.' + content: 'First paragraph. Second paragraph.', + topics: ['key1', 'key2', 'key3', 'Education'] } ] expect(records).toEqual(expected) diff --git a/tests/unit/algolia/rank.js b/tests/unit/search/rank.js similarity index 100% rename from tests/unit/algolia/rank.js rename to tests/unit/search/rank.js diff --git a/tests/unit/search/topics.js b/tests/unit/search/topics.js new file mode 100644 index 0000000000..67e31554bb --- /dev/null +++ b/tests/unit/search/topics.js @@ -0,0 +1,32 @@ +const path = require('path') +const fs = require('fs') +const readFrontmatter = require('../../../lib/read-frontmatter') +const walk = require('walk-sync') +const { difference } = require('lodash') +const allowedTopics = require('../../../data/allowed-topics') + +const contentDir = path.join(process.cwd(), 'content') +const topics = walk(contentDir, { includeBasePath: true }) + .filter(filename => filename.endsWith('.md') && !filename.includes('README')) + .map(filename => { + const fileContent = fs.readFileSync(filename, 'utf8') + const { data } = readFrontmatter(fileContent) + return data.topics || [] + }) + .flat() + +const allUsedTopics = [...new Set(topics)].sort() + +describe('Check for allowed frontmatter topics', () => { + test('all used topics are allowed in /data/allowed-topics.js', () => { + expect(allUsedTopics.length).toBeGreaterThan(0) + const unusedTopics = difference(allUsedTopics, allowedTopics) + expect(unusedTopics).toEqual([]) + }) + + test('all allowed topics are used by at least one content file', () => { + expect(allowedTopics.length).toBeGreaterThan(0) + const disallowedTopics = difference(allowedTopics, allUsedTopics) + expect(disallowedTopics).toEqual([]) + }) +}) diff --git a/translations/de-DE/content/github/site-policy/github-ae-data-protection-agreement.md b/translations/de-DE/content/github/site-policy/github-ae-data-protection-agreement.md index 65b61b7f27..57940b3c39 100644 --- a/translations/de-DE/content/github/site-policy/github-ae-data-protection-agreement.md +++ b/translations/de-DE/content/github/site-policy/github-ae-data-protection-agreement.md @@ -328,7 +328,7 @@ Data exporter: Customer is the data exporter. However, because the data importer provides storage services and does not control the categories of data it stores, the data exporter may choose to transfer special categories of data. Consequently, the data exporter is solely responsible for ensuring that it complies with all obligations imposed by applicable laws and regulations relating to the collection and processing of any special categories of data, including obtaining the explicit consent of the data subject prior to processing sensitive personal data. -**Processing operations:** The personal data transferred will be subject to the following basic processing activities: GitHub uses personal data for the limited purposes set forth in the GitHub Privacy Statement, available at https://help.github.com/articles/github-privacy-statement/, and the “Data Processing” section of the DPA. +**Processing operations:** The personal data transferred will be subject to the following basic processing activities: GitHub uses personal data for the limited purposes set forth in the GitHub Privacy Statement, available at https://docs.github.com/articles/github-privacy-statement/, and the “Data Processing” section of the DPA. **Subcontractors:** In accordance with the DPA, the data importer may hire other companies to provide limited services on data importer’s behalf, such as providing customer support. Any such subcontractors will be permitted to obtain Customer Personal Data only to deliver the services the data importer has retained them to provide, and they are prohibited from using Customer Personal Data for any other purpose. diff --git a/translations/de-DE/content/github/site-policy/github-enterprise-cloud-evaluation-agreement.md b/translations/de-DE/content/github/site-policy/github-enterprise-cloud-evaluation-agreement.md index ff4f574e70..ac1cbc7c50 100644 --- a/translations/de-DE/content/github/site-policy/github-enterprise-cloud-evaluation-agreement.md +++ b/translations/de-DE/content/github/site-policy/github-enterprise-cloud-evaluation-agreement.md @@ -10,7 +10,7 @@ VIELEN DANK, DASS SIE SICH FÜR GITHUB ENTSCHIEDEN HABEN, UM DIE ANFORDERUNGEN I ### 1. Unternehmensnutzungsbedingungen -Der Kunde benötigt ein Unternehmenskonto bei GitHub.com, um Auswertungszugriff zu haben. Customer's evaluation of Enterprise Cloud will be governed by these terms and the Corporate Terms of Service (found at [https://docs.github.com/articles/github-corporate-terms-of-service](/articles/github-corporate-terms-of-service)) (together, the "**Evaluation Agreement**"). Alle zusätzlichen Bedingungen, die mit dem [Enterprise Cloud-Nachtrag](https://help.github.com/articles/github-enterprise-cloud-addendum) verbunden sind, gelten **nicht**, bis der Kunde sein Produkt auf ein kostenpflichtiges Abonnement von Enterprise Cloud heraufstuft.Alle großgeschriebenen Begriffe, die in dieser Auswertungsvereinbarung nicht definiert werden, sind in den Unternehmensnutzungsbedingungen definiert. +Der Kunde benötigt ein Unternehmenskonto bei GitHub.com, um Auswertungszugriff zu haben. Customer's evaluation of Enterprise Cloud will be governed by these terms and the Corporate Terms of Service (found at [https://docs.github.com/articles/github-corporate-terms-of-service](/articles/github-corporate-terms-of-service)) (together, the "**Evaluation Agreement**"). Alle zusätzlichen Bedingungen, die mit dem [Enterprise Cloud-Nachtrag](https://docs.github.com/articles/github-enterprise-cloud-addendum) verbunden sind, gelten **nicht**, bis der Kunde sein Produkt auf ein kostenpflichtiges Abonnement von Enterprise Cloud heraufstuft.Alle großgeschriebenen Begriffe, die in dieser Auswertungsvereinbarung nicht definiert werden, sind in den Unternehmensnutzungsbedingungen definiert. ### 2. Laufzeit und Kündigung diff --git a/translations/de-DE/data/ui.yml b/translations/de-DE/data/ui.yml index dcdf70a038..28806956a1 100644 --- a/translations/de-DE/data/ui.yml +++ b/translations/de-DE/data/ui.yml @@ -5,7 +5,7 @@ header: notices: ghae_silent_launch: GitHub AE is currently under limited release. Please contact our Sales Team to find out more. release_candidate: '# The version name is rendered before the below text via includes/header-notification.html '' is currently available as a release candidate. For more information, see "About upgrades to new releases."''' - localization_complete: Wir veröffentlichen regelmäßig Aktualisierungen unserer Dokumentation, und die Übersetzung dieser Seite kann noch im Gange sein. Die neuesten Informationen findest Du in der englischsprachigen Dokumentation. Informieren Sie uns bitte, falls auf dieser Seite ein Problem mit den Übersetzungen vorliegt. + localization_complete: Wir veröffentlichen regelmäßig Aktualisierungen unserer Dokumentation, und die Übersetzung dieser Seite kann noch im Gange sein. Die neuesten Informationen findest Du in der englischsprachigen Dokumentation. Informieren Sie uns bitte, falls auf dieser Seite ein Problem mit den Übersetzungen vorliegt. localization_in_progress: Hallo, Entdecker! An dieser Seite wird aktiv gearbeitet, oder sie wird noch übersetzt. Die neuesten und genauesten Informationen findest Du in unserer englischsprachigen Dokumentation. early_access: '📣 Please do not share this URL publicly. This page contains content about an early access feature.' search: diff --git a/translations/es-ES/data/ui.yml b/translations/es-ES/data/ui.yml index c6b10f8c07..f21a7f5057 100644 --- a/translations/es-ES/data/ui.yml +++ b/translations/es-ES/data/ui.yml @@ -5,7 +5,7 @@ header: notices: ghae_silent_launch: GitHub AE está actualmente en un lanzamiento limitado. Por favor, contacta a nuestro equipo de ventas para conocer más sobre esto. release_candidate: '# El nombre de la versión se interpreta antes del texto siguiente a través de '' includes/header-notification.html '' se encuentra disponible actualmente como un candidato de lanzamiento. Para obtener más información, consulta la sección "Acerca de las mejoras para los lanzamientos nuevos".' - localization_complete: Frecuentemente publicamos actualizaciones de nuestra documentación. Es posible que la traducción de esta página esté en curso. Para conocer la información más actual, visita la documentación en inglés. Si existe un problema con las traducciones en esta página, por favor infórmanos. + localization_complete: Frecuentemente publicamos actualizaciones de nuestra documentación. Es posible que la traducción de esta página esté en curso. Para conocer la información más actual, visita la documentación en inglés. Si existe un problema con las traducciones en esta página, por favor infórmanos. localization_in_progress: '¡Hola, explorador! Esta página está bajo desarrollo activo o todavía está en la etapa de traducción. Para obtener información más actualizada y precisa, visita nuestra documentación en inglés.' early_access: '📣 Por favor, no compartas esta URL públicamente. Esta página tiene contenido sobre una característica de acceso temprano.' search: diff --git a/translations/es-XL/content/github/site-policy/github-enterprise-cloud-evaluation-agreement.md b/translations/es-XL/content/github/site-policy/github-enterprise-cloud-evaluation-agreement.md index 44c158ca7d..9afe00a785 100644 --- a/translations/es-XL/content/github/site-policy/github-enterprise-cloud-evaluation-agreement.md +++ b/translations/es-XL/content/github/site-policy/github-enterprise-cloud-evaluation-agreement.md @@ -10,7 +10,7 @@ GRACIAS POR ELEGIR GITHUB PARA LAS NECESIDADES COMERCIALES DE SU EMPRESA. LEA ES ### 1. Términos de servicio corporativos -El cliente debe tener una cuenta corporativa en GitHub.com para poder acceder a la evaluación. La evaluación del Cliente sobre Enterprise Cloud se regirá mediante estas condiciones y las Condiciones Corporativas del Servicio (las cuales se pueden encontrar en [https://docs.github.com/articles/github-corporate-terms-of-service](/articles/github-corporate-terms-of-service)) (en conjunto conocidas como el "**Acuerdo de Evaluación**"). Sin embargo, los términos adicionales asociados con el [Anexo de Enterprise Cloud](https://help.github.com/articles/github-enterprise-cloud-addendum) **no** se aplicarán hasta que el Cliente actualice su compra a una suscripción remunerada de Enterprise Cloud.Todos los términos en mayúscula que no están definidos en este Acuerdo de evaluación están definidos en los Términos de servicio corporativos. +El cliente debe tener una cuenta corporativa en GitHub.com para poder acceder a la evaluación. La evaluación del Cliente sobre Enterprise Cloud se regirá mediante estas condiciones y las Condiciones Corporativas del Servicio (las cuales se pueden encontrar en [https://docs.github.com/articles/github-corporate-terms-of-service](/articles/github-corporate-terms-of-service)) (en conjunto conocidas como el "**Acuerdo de Evaluación**"). Sin embargo, los términos adicionales asociados con el [Anexo de Enterprise Cloud](https://docs.github.com/articles/github-enterprise-cloud-addendum) **no** se aplicarán hasta que el Cliente actualice su compra a una suscripción remunerada de Enterprise Cloud.Todos los términos en mayúscula que no están definidos en este Acuerdo de evaluación están definidos en los Términos de servicio corporativos. ### 2. Plazo y terminación diff --git a/translations/es-XL/data/glossaries/external.yml b/translations/es-XL/data/glossaries/external.yml index f511b72218..b28af95451 100644 --- a/translations/es-XL/data/glossaries/external.yml +++ b/translations/es-XL/data/glossaries/external.yml @@ -35,7 +35,7 @@ - term: biografía description: >- - La descripción generada por el usuario encontrada en un perfil: https://help.github.com/articles/adding-a-bio-to-your-profile/ + La descripción generada por el usuario encontrada en un perfil: https://docs.github.com/articles/adding-a-bio-to-your-profile/ - term: ciclo de facturación description: El intervalo de tiempo para tu plan de facturación específico. @@ -155,7 +155,7 @@ - term: contribuciones description: >- - Actividades específicas en GitHub que: - Agregarán un cuadrado al gráfico de contribuciones de un usuario: "[Que cuenta como una contribución](https://help.github.com/articles/viewing-contributions-on-your-profile/#what-counts-as-a-contribution)" - Agregarán actividades a la cronología de un usuario en su perfil: "[Actividad de contribución](https://help.github.com/articles/viewing-contributions-on-your-profile/#contribution-activity)" + Actividades específicas en GitHub que: - Agregarán un cuadrado al gráfico de contribuciones de un usuario: "[Que cuenta como una contribución](https://docs.github.com/articles/viewing-contributions-on-your-profile/#what-counts-as-a-contribution)" - Agregarán actividades a la cronología de un usuario en su perfil: "[Actividad de contribución](https://docs.github.com/articles/viewing-contributions-on-your-profile/#contribution-activity)" - term: colaborador description: >- @@ -228,7 +228,7 @@ Una rama usada para experimentar con una nueva función o corregir una propuesta que no está en producción. También llamada rama de tema. - term: bloque de código cercado - description: 'Un bloque de código sangrado que puedes crear con el formato Markdown de GitHub utilizando triple diagonal inversa \`\`\` antes y después del mismo. Consulta el [example](https://help.github.com/en/articles/creating-and-highlighting-code-blocks#fenced-code-blocks).' + description: 'Un bloque de código sangrado que puedes crear con el formato Markdown de GitHub utilizando triple diagonal inversa \`\`\` antes y después del mismo. Consulta el [example](https://docs.github.com/en/articles/creating-and-highlighting-code-blocks#fenced-code-blocks).' - term: extraer description: >- diff --git a/translations/es-XL/data/ui.yml b/translations/es-XL/data/ui.yml index 6c0154aba5..3e6d70b597 100644 --- a/translations/es-XL/data/ui.yml +++ b/translations/es-XL/data/ui.yml @@ -4,7 +4,7 @@ header: contact: Contacto notices: ghe_release_candidate: GitHub Enterprise Server 2.22 is currently under limited release as a release candidate. - localization_complete: Frecuentemente publicamos actualizaciones de nuestra documentación. Es posible que la traducción de esta página esté en curso. Para conocer la información más actual, visita la documentación en inglés. Si existe un problema con las traducciones en esta página, por favor infórmanos. + localization_complete: Frecuentemente publicamos actualizaciones de nuestra documentación. Es posible que la traducción de esta página esté en curso. Para conocer la información más actual, visita la documentación en inglés. Si existe un problema con las traducciones en esta página, por favor infórmanos. localization_in_progress: '¡Hola, explorador! Esta página está bajo desarrollo activo o todavía está en la etapa de traducción. Para obtener información más actualizada y precisa, visita nuestra documentación en inglés.' product_in_progress: '👋 ¡Hola, explorador! Esta página está en desarrollo activo. Para la información más actualizada y precisa, por favor visita nuestra documentación del desarrollador.' search: diff --git a/translations/ja-JP/content/github/setting-up-and-managing-organizations-and-teams/repository-permission-levels-for-an-organization.md b/translations/ja-JP/content/github/setting-up-and-managing-organizations-and-teams/repository-permission-levels-for-an-organization.md index afbf2c1e5a..3eb96aa01c 100644 --- a/translations/ja-JP/content/github/setting-up-and-managing-organizations-and-teams/repository-permission-levels-for-an-organization.md +++ b/translations/ja-JP/content/github/setting-up-and-managing-organizations-and-teams/repository-permission-levels-for-an-organization.md @@ -49,7 +49,7 @@ Organization レベルの設定を管理することに加え、Organization の **Note:** Repository permissions required to use security features are listed in "[Permission requirements for security features](#permission-requirements-for-security-features)" below. {% endnote %} -| + {% endif %} | リポジトリアクション | Read | Triage | Write | Maintain | Admin | |:------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |:-----:|:------:|:-----:|:--------:|:--------------------------------------------------------------------------------------------------------------------------------------------------:| @@ -63,16 +63,13 @@ Organization レベルの設定を管理することに加え、Organization の | Team の割り当てリポジトリのフォークからのプルリクエストの送信 | **X** | **X** | **X** | **X** | **X** | | プルリクエストについてのレビューのサブミット | **X** | **X** | **X** | **X** | **X** | | 公開済みリリースの表示 | **X** | **X** | **X** | **X** | **X** |{% if currentVersion == "free-pro-team@latest" %} -| [[GitHub Actions workflow runs](/actions/automating-your-workflow-with-github-actions/managing-a-workflow-run)] の表示 | **X** | **X** | **X** | **X** | **X** -{% endif %} +| [[GitHub Actions workflow runs](/actions/automating-your-workflow-with-github-actions/managing-a-workflow-run)] の表示 | **X** | **X** | **X** | **X** | **X** |{% endif %} | wiki の編集 | **X** | **X** | **X** | **X** | **X** |{% if currentVersion == "free-pro-team@latest" %} -| [悪用あるいはスパムの可能性があるコンテンツのレポート](/articles/reporting-abuse-or-spam) | **X** | **X** | **X** | **X** | **X** -{% endif %} +| [悪用あるいはスパムの可能性があるコンテンツのレポート](/articles/reporting-abuse-or-spam) | **X** | **X** | **X** | **X** | **X** |{% endif %} | Apply/dismiss labels | | **X** | **X** | **X** | **X** | | Create, edit, delete labels | | | **X** | **X** | **X** | | すべての Issue およびプルリクエストのクローズ、再オープン、割り当て | | **X** | **X** | **X** | **X** |{% if currentVersion == "free-pro-team@latest" or currentVersion ver_gt "enterprise-server@3.0" %} -| [Enable and disable auto-merge on a pull request](/github/administering-a-repository/managing-auto-merge-for-pull-requests-in-your-repository) | | | **X** | **X** | **X** -{% endif %} +| [Enable and disable auto-merge on a pull request](/github/administering-a-repository/managing-auto-merge-for-pull-requests-in-your-repository) | | | **X** | **X** | **X** |{% endif %} | マイルストーンの適用 | | **X** | **X** | **X** | **X** | | [重複した Issue とプルリクエスト](/articles/about-duplicate-issues-and-pull-requests)のマーク付け | | **X** | **X** | **X** | **X** | | [プルリクエストのレビュー](/articles/requesting-a-pull-request-review)の要求 | | **X** | **X** | **X** | **X** | @@ -83,13 +80,11 @@ Organization レベルの設定を管理することに加え、Organization の | Issue の移譲 (詳細は「[他のリポジトリへ Issue を移譲する](/articles/transferring-an-issue-to-another-repository)」を参照) | | | **X** | **X** | **X** | | [リポジトリに指定されたコードオーナーとしてのアクション](/articles/about-code-owners) | | | **X** | **X** | **X** | | [プルリクエストのドラフトに、レビューの準備ができたことを示すマークを付ける](/articles/changing-the-stage-of-a-pull-request) | | | **X** | **X** | **X** |{% if currentVersion == "free-pro-team@latest" or currentVersion ver_gt "enterprise-server@2.20" or currentVersion == "github-ae@latest" %} -| [プルリクエストをドラフトに変換する](/articles/changing-the-stage-of-a-pull-request) | | | **X** | **X** | **X** -{% endif %} +| [プルリクエストをドラフトに変換する](/articles/changing-the-stage-of-a-pull-request) | | | **X** | **X** | **X** |{% endif %} | プルリクエストのマージ可能性に影響するレビューのサブミット | | | **X** | **X** | **X** | | プルリクエストに[提案された変更を適用する](/articles/incorporating-feedback-in-your-pull-request) | | | **X** | **X** | **X** | | [ステータスチェック](/articles/about-status-checks)の作成 | | | **X** | **X** | **X** |{% if currentVersion == "free-pro-team@latest" %} -| [GitHub Actions ワークフロー](/actions/automating-your-workflow-with-github-actions/) の作成、編集、実行、再実行、キャンセル | | | **X** | **X** | **X** -{% endif %} +| [GitHub Actions ワークフロー](/actions/automating-your-workflow-with-github-actions/) の作成、編集、実行、再実行、キャンセル | | | **X** | **X** | **X** |{% endif %} | リリースの作成と編集 | | | **X** | **X** | **X** | | ドラフトリリースの表示 | | | **X** | **X** | **X** | | リポジトリの説明の編集 | | | | **X** | **X** |{% if currentVersion == "free-pro-team@latest" %} @@ -103,8 +98,7 @@ Organization レベルの設定を管理することに加え、Organization の | [{% data variables.product.prodname_pages %} の公開ソース](/articles/configuring-a-publishing-source-for-github-pages)の設定 | | | | **X** | **X** | | [保護されたブランチへのプッシュ](/articles/about-protected-branches) | | | | **X** | **X** | | [リポジトリソーシャルカードの作成と編集](/articles/customizing-your-repositorys-social-media-preview) | | | | **X** | **X** |{% if currentVersion == "free-pro-team@latest" %} -| [リポジトリでのインタラクション](/github/building-a-strong-community/limiting-interactions-in-your-repository)を制限する | | | | **X** | **X** -{% endif %} +| [リポジトリでのインタラクション](/github/building-a-strong-community/limiting-interactions-in-your-repository)を制限する | | | | **X** | **X** |{% endif %} | Issue の削除 (「[Issue を削除する](/articles/deleting-an-issue)」を参照) | | | | | **X** | | 保護されたブランチでのプルリクエストのマージ(レビューの承認がなくても) | | | | | **X** | | [リポジトリのコードオーナーの定義](/articles/about-code-owners) | | | | | **X** | @@ -116,17 +110,14 @@ Organization レベルの設定を管理することに加え、Organization の | Team およびコラボレータのリポジトリへのアクセス管理 | | | | | **X** | | リポジトリのデフォルトブランチ編集 | | | | | **X** |{% if currentVersion == "free-pro-team@latest" or currentVersion ver_gt "enterprise-server@3.0" %} | Rename the repository's default branch (see "[Renaming a branch](/github/administering-a-repository/renaming-a-branch)") | | | | | **X** | -| Rename a branch other than the repository's default branch (see "[Renaming a branch](/github/administering-a-repository/renaming-a-branch)") | | | **X** | **X** | **X** -{% endif %} +| Rename a branch other than the repository's default branch (see "[Renaming a branch](/github/administering-a-repository/renaming-a-branch)") | | | **X** | **X** | **X** |{% endif %} | Webhookおよびデプロイキーの管理 | | | | | **X** |{% if currentVersion == "free-pro-team@latest" %} -| [プライベートリポジトリ用のデータ利用設定を管理する](/github/understanding-how-github-uses-and-protects-your-data/managing-data-use-settings-for-your-private-repository) | | | | | **X** -{% endif %} +| [プライベートリポジトリ用のデータ利用設定を管理する](/github/understanding-how-github-uses-and-protects-your-data/managing-data-use-settings-for-your-private-repository) | | | | | **X** |{% endif %} | [リポジトリのフォークポリシーを管理する](/github/administering-a-repository/managing-the-forking-policy-for-your-repository) | | | | | **X** | | [リポジトリの Organization への移譲](/articles/restricting-repository-creation-in-your-organization) | | | | | **X** | | [リポジトリの削除または Organization 外への移譲](/articles/setting-permissions-for-deleting-or-transferring-repositories) | | | | | **X** | | [リポジトリのアーカイブ](/articles/about-archiving-repositories) | | | | | **X** |{% if currentVersion == "free-pro-team@latest" %} -| スポンサーボタンの表示 (「[リポジトリにスポンサーボタンを表示する](/articles/displaying-a-sponsor-button-in-your-repository)」を参照) | | | | | **X** -{% endif %} +| スポンサーボタンの表示 (「[リポジトリにスポンサーボタンを表示する](/articles/displaying-a-sponsor-button-in-your-repository)」を参照) | | | | | **X** |{% endif %} | JIRA や Zendesk などの外部リソースに対する自動リンク参照を作成します (「[外部リソースを参照する自動リンクの設定](/articles/configuring-autolinks-to-reference-external-resources)」を参照)。 | | | | | **X** |{% if currentVersion == "free-pro-team@latest" %} | [Enable {% data variables.product.prodname_discussions %}](/github/administering-a-repository/enabling-or-disabling-github-discussions-for-a-repository) in a repository | | | | **X** | **X** | | [Create and edit categories](/discussions/managing-discussions-for-your-community/managing-categories-for-discussions-in-your-repository) for {% data variables.product.prodname_discussions %} | | | | **X** | **X** | @@ -137,8 +128,7 @@ Organization レベルの設定を管理することに加え、Organization の | [Lock and unlock discussions](/discussions/managing-discussions-for-your-community/moderating-discussions) | | **X** | **X** | **X** | **X** | | [Individually convert issues to discussions](/discussions/managing-discussions-for-your-community/moderating-discussions) | | **X** | **X** | **X** | **X** | | [Create new discussions and comment on existing discussions](/discussions/collaborating-with-your-community-using-discussions/participating-in-a-discussion) | **X** | **X** | **X** | **X** | **X** | -| [ディスカッションの削除](/discussions/managing-discussions-for-your-community/managing-discussions-in-your-repository#deleting-a-discussion) | | | | **X** | **X** -{% endif %} +| [ディスカッションの削除](/discussions/managing-discussions-for-your-community/managing-discussions-in-your-repository#deleting-a-discussion) | | | | **X** | **X** |{% endif %} {% if currentVersion == "free-pro-team@latest" or currentVersion ver_gt "enterprise-server@2.21" %} #### Permission requirements for security features @@ -158,8 +148,7 @@ In this section, you can find the repository permission levels required for secu | [List, dismiss, and delete {% data variables.product.prodname_code_scanning %} alerts](/github/finding-security-vulnerabilities-and-errors-in-your-code/managing-code-scanning-alerts-for-your-repository) | | | **X** | **X** | **X** |{% endif %}{% if currentVersion == "free-pro-team@latest" or currentVersion ver_gt "enterprise-server@2.22" %} | [View {% data variables.product.prodname_secret_scanning %} alerts in a repository](/github/administering-a-repository/managing-alerts-from-secret-scanning) | | | | | **X** | | [Resolve, revoke or re-open {% data variables.product.prodname_secret_scanning %} alerts](/github/administering-a-repository/managing-alerts-from-secret-scanning) | | | | | **X** | -| [Designate additional people or teams to receive {% data variables.product.prodname_secret_scanning %} alerts](/github/administering-a-repository/managing-security-and-analysis-settings-for-your-repository#granting-access-to-security-alerts) in repositories | | | | | **X** -{% endif %} +| [Designate additional people or teams to receive {% data variables.product.prodname_secret_scanning %} alerts](/github/administering-a-repository/managing-security-and-analysis-settings-for-your-repository#granting-access-to-security-alerts) in repositories | | | | | **X** |{% endif %} {% endif %} ### 参考リンク diff --git a/translations/ja-JP/content/github/site-policy/github-ae-data-protection-agreement.md b/translations/ja-JP/content/github/site-policy/github-ae-data-protection-agreement.md index 7fab15d3ce..43f85aac2d 100644 --- a/translations/ja-JP/content/github/site-policy/github-ae-data-protection-agreement.md +++ b/translations/ja-JP/content/github/site-policy/github-ae-data-protection-agreement.md @@ -328,7 +328,7 @@ Data exporter: Customer is the data exporter. However, because the data importer provides storage services and does not control the categories of data it stores, the data exporter may choose to transfer special categories of data. Consequently, the data exporter is solely responsible for ensuring that it complies with all obligations imposed by applicable laws and regulations relating to the collection and processing of any special categories of data, including obtaining the explicit consent of the data subject prior to processing sensitive personal data. -**Processing operations:** The personal data transferred will be subject to the following basic processing activities: GitHub uses personal data for the limited purposes set forth in the GitHub Privacy Statement, available at https://help.github.com/articles/github-privacy-statement/, and the “Data Processing” section of the DPA. +**Processing operations:** The personal data transferred will be subject to the following basic processing activities: GitHub uses personal data for the limited purposes set forth in the GitHub Privacy Statement, available at https://docs.github.com/articles/github-privacy-statement/, and the “Data Processing” section of the DPA. **Subcontractors:** In accordance with the DPA, the data importer may hire other companies to provide limited services on data importer’s behalf, such as providing customer support. Any such subcontractors will be permitted to obtain Customer Personal Data only to deliver the services the data importer has retained them to provide, and they are prohibited from using Customer Personal Data for any other purpose. diff --git a/translations/ja-JP/content/github/site-policy/github-enterprise-cloud-evaluation-agreement.md b/translations/ja-JP/content/github/site-policy/github-enterprise-cloud-evaluation-agreement.md index eea815cb5f..cd2113166f 100644 --- a/translations/ja-JP/content/github/site-policy/github-enterprise-cloud-evaluation-agreement.md +++ b/translations/ja-JP/content/github/site-policy/github-enterprise-cloud-evaluation-agreement.md @@ -10,7 +10,7 @@ versions: ### 1. 企業向け利用規約 -評価版にアクセスするお客様には、GitHub.comの法人アカウントが必要です。 Customer's evaluation of Enterprise Cloud will be governed by these terms and the Corporate Terms of Service (found at [https://docs.github.com/articles/github-corporate-terms-of-service](/articles/github-corporate-terms-of-service)) (together, the "**Evaluation Agreement**"). ただし、[Enterprise Cloudの付属文書](https://help.github.com/articles/github-enterprise-cloud-addendum)に伴う補足条項は、お客様が購入した製品をEnterprise Cloudの有料サブスクリプションにアップグレードするまでは**適用されません**。本評価契約で定義されていない大文字表記の条件は、企業向け利用規約で定義されています。 +評価版にアクセスするお客様には、GitHub.comの法人アカウントが必要です。 Customer's evaluation of Enterprise Cloud will be governed by these terms and the Corporate Terms of Service (found at [https://docs.github.com/articles/github-corporate-terms-of-service](/articles/github-corporate-terms-of-service)) (together, the "**Evaluation Agreement**"). ただし、[Enterprise Cloudの付属文書](https://docs.github.com/articles/github-enterprise-cloud-addendum)に伴う補足条項は、お客様が購入した製品をEnterprise Cloudの有料サブスクリプションにアップグレードするまでは**適用されません**。本評価契約で定義されていない大文字表記の条件は、企業向け利用規約で定義されています。 ### 2. 契約期間および解約 diff --git a/translations/ja-JP/content/rest/overview/libraries.md b/translations/ja-JP/content/rest/overview/libraries.md index 5fd19e461a..859e816866 100644 --- a/translations/ja-JP/content/rest/overview/libraries.md +++ b/translations/ja-JP/content/rest/overview/libraries.md @@ -25,68 +25,123 @@ versions: ### Clojure -Library name | Repository |---|---| **Tentacles**| [Raynes/tentacles](https://github.com/Raynes/tentacles) +Library name | Repository +|---|---| +**Tentacles**| [Raynes/tentacles](https://github.com/Raynes/tentacles) ### Dart -ライブラリ名 | リポジトリ |---|---| **github.dart** | [DirectMyFile/github.dart](https://github.com/DirectMyFile/github.dart) +ライブラリ名 | リポジトリ +|---|---| +**github.dart** | [DirectMyFile/github.dart](https://github.com/DirectMyFile/github.dart) ### Emacs Lisp -ライブラリ名 | リポジトリ |---|---| **gh.el** | [sigma/gh.el](https://github.com/sigma/gh.el) +ライブラリ名 | リポジトリ +|---|---| +**gh.el** | [sigma/gh.el](https://github.com/sigma/gh.el) ### Erlang -ライブラリ名 | リポジトリ |---|---| **octo-erl** | [sdepold/octo.erl](https://github.com/sdepold/octo.erl) +ライブラリ名 | リポジトリ +|---|---| +**octo-erl** | [sdepold/octo.erl](https://github.com/sdepold/octo.erl) ### Go -ライブラリ名 | リポジトリ |---|---| **go-github**| [google/go-github](https://github.com/google/go-github) +ライブラリ名 | リポジトリ +|---|---| +**go-github**| [google/go-github](https://github.com/google/go-github) ### Haskell -ライブラリ名 | リポジトリ |---|---| **haskell-github** | [fpco/Github](https://github.com/fpco/GitHub) +ライブラリ名 | リポジトリ +|---|---| +**haskell-github** | [fpco/Github](https://github.com/fpco/GitHub) ### Java -ライブラリ名 | リポジトリ | 詳細 |---|---|---| **GitHub Java API**| [org.eclipse.egit.github.core](https://github.com/eclipse/egit-github/tree/master/org.eclipse.egit.github.core) | [GitHub Mylyn Connector](https://github.com/eclipse/egit-github) の一部であり、GitHub v3 API 全体のサポートを目指します。 ビルドは [Maven Central](http://search.maven.org/#search%7Cga%7C1%7Ca%3A%22org.eclipse.egit.github.core%22) で利用できます。 **GitHub API for Java**| [org.kohsuke.github (From github-api)](http://github-api.kohsuke.org/)| GitHub API のオブジェクト指向の表現を定義します。 **JCabi GitHub API**|[github.jcabi.com (Personal Website)](http://github.jcabi.com)| Java7 JSON API (JSR-353) に基づいており、ランタイム GitHub スタブを使用してテストを簡素化し、API 全体をカバーします。 +ライブラリ名 | リポジトリ | 詳細 +|---|---|---| +**GitHub Java API**| [org.eclipse.egit.github.core](https://github.com/eclipse/egit-github/tree/master/org.eclipse.egit.github.core) | [GitHub Mylyn Connector](https://github.com/eclipse/egit-github) の一部であり、GitHub v3 API 全体のサポートを目指します。 ビルドは [Maven Central](http://search.maven.org/#search%7Cga%7C1%7Ca%3A%22org.eclipse.egit.github.core%22) で利用できます。 +**GitHub API for Java**| [org.kohsuke.github (From github-api)](http://github-api.kohsuke.org/)| GitHub API のオブジェクト指向の表現を定義します。 +**JCabi GitHub API**|[github.jcabi.com (Personal Website)](http://github.jcabi.com)| Java7 JSON API (JSR-353) に基づいており、ランタイム GitHub スタブを使用してテストを簡素化し、API 全体をカバーします。 ### JavaScript -ライブラリ名 | リポジトリ | |---|---| **NodeJS GitHub library**| [pksunkara/octonode](https://github.com/pksunkara/octonode) **gh3 client-side API v3 wrapper**| [k33g/gh3](https://github.com/k33g/gh3) **Github.js wrapper around the GitHub API**|[michael/github](https://github.com/michael/github) **Promise-Based CoffeeScript library for the Browser or NodeJS**|[philschatz/github-client](https://github.com/philschatz/github-client) +ライブラリ名 | リポジトリ | +|---|---| +**NodeJS GitHub library**| [pksunkara/octonode](https://github.com/pksunkara/octonode) +**gh3 client-side API v3 wrapper**| [k33g/gh3](https://github.com/k33g/gh3) +**Github.js wrapper around the GitHub API**|[michael/github](https://github.com/michael/github) **Promise-Based CoffeeScript library for the Browser or NodeJS**|[philschatz/github-client](https://github.com/philschatz/github-client) ### Julia -Library name | Repository | |---|---| **GitHub.jl**|[WestleyArgentum/GitHub.jl](https://github.com/WestleyArgentum/GitHub.jl) +Library name | Repository | +|---|---| +**GitHub.jl**|[WestleyArgentum/GitHub.jl](https://github.com/WestleyArgentum/GitHub.jl) ### OCaml -ライブラリ名 | リポジトリ | |---|---| **ocaml-github**|[mirage/ocaml-github](https://github.com/mirage/ocaml-github) +ライブラリ名 | リポジトリ | +|---|---| +**ocaml-github**|[mirage/ocaml-github](https://github.com/mirage/ocaml-github) ### Perl -Library name | Repository | metacpan Website for the Library |---|---|---| **Pithub**|[plu/Pithub](https://github.com/plu/Pithub)|[Pithub CPAN](http://metacpan.org/module/Pithub) **Net::GitHub**|[fayland/perl-net-github](https://github.com/fayland/perl-net-github)|[Net:GitHub CPAN](https://metacpan.org/pod/Net::GitHub) +Library name | Repository | metacpan Website for the Library +|---|---|---| +**Pithub**|[plu/Pithub](https://github.com/plu/Pithub)|[Pithub CPAN](http://metacpan.org/module/Pithub) **Net::GitHub**|[fayland/perl-net-github](https://github.com/fayland/perl-net-github)|[Net:GitHub CPAN](https://metacpan.org/pod/Net::GitHub) ### PHP -ライブラリ名 | リポジトリ |---|---| **GitHub PHP Client**|[tan-tan-kanarek/github-php-client](https://github.com/tan-tan-kanarek/github-php-client) **PHP GitHub API**|[KnpLabs/php-github-api](https://github.com/KnpLabs/php-github-api) **GitHub API**|[yiiext/github-api](https://github.com/yiiext/github-api) **GitHub Joomla! Package**|[joomla-framework/github-api](https://github.com/joomla-framework/github-api) **GitHub Nette Extension**|[kdyby/github](https://github.com/kdyby/github) **GitHub API Easy Access**|[milo/github-api](https://github.com/milo/github-api) **GitHub bridge for Laravel**|[GrahamCampbell/Laravel-GitHub](https://github.com/GrahamCampbell/Laravel-GitHub) **PHP7 Client & WebHook wrapper**|[FlexyProject/GitHubAPI](https://github.com/FlexyProject/GitHubAPI) +ライブラリ名 | リポジトリ +|---|---| +**GitHub PHP Client**|[tan-tan-kanarek/github-php-client](https://github.com/tan-tan-kanarek/github-php-client) +**PHP GitHub API**|[KnpLabs/php-github-api](https://github.com/KnpLabs/php-github-api) +**GitHub API**|[yiiext/github-api](https://github.com/yiiext/github-api) +**GitHub Joomla! Package**|[joomla-framework/github-api](https://github.com/joomla-framework/github-api) **GitHub Nette Extension**|[kdyby/github](https://github.com/kdyby/github) +**GitHub API Easy Access**|[milo/github-api](https://github.com/milo/github-api) +**GitHub bridge for Laravel**|[GrahamCampbell/Laravel-GitHub](https://github.com/GrahamCampbell/Laravel-GitHub) +**PHP7 Client & WebHook wrapper**|[FlexyProject/GitHubAPI](https://github.com/FlexyProject/GitHubAPI) ### Python -Library name | Repository |---|---| **gidgethub**|[brettcannon/gidgethub](https://github.com/brettcannon/gidgethub) **ghapi**|[fastai/ghapi](https://github.com/fastai/ghapi) **PyGithub**|[PyGithub/PyGithub](https://github.com/PyGithub/PyGithub) **libsaas**|[duckboard/libsaas](https://github.com/ducksboard/libsaas) **github3.py**|[sigmavirus24/github3.py](https://github.com/sigmavirus24/github3.py) **sanction**|[demianbrecht/sanction](https://github.com/demianbrecht/sanction) **agithub**|[jpaugh/agithub](https://github.com/jpaugh/agithub) **octohub**|[turnkeylinux/octohub](https://github.com/turnkeylinux/octohub) **github-flask**|[github-flask (Official Website)](http://github-flask.readthedocs.org) **torngithub**|[jkeylu/torngithub](https://github.com/jkeylu/torngithub) +Library name | Repository +|---|---| +**gidgethub**|[brettcannon/gidgethub](https://github.com/brettcannon/gidgethub) +**ghapi**|[fastai/ghapi](https://github.com/fastai/ghapi) +**PyGithub**|[PyGithub/PyGithub](https://github.com/PyGithub/PyGithub) +**libsaas**|[duckboard/libsaas](https://github.com/ducksboard/libsaas) +**github3.py**|[sigmavirus24/github3.py](https://github.com/sigmavirus24/github3.py) +**sanction**|[demianbrecht/sanction](https://github.com/demianbrecht/sanction) +**agithub**|[jpaugh/agithub](https://github.com/jpaugh/agithub) +**octohub**|[turnkeylinux/octohub](https://github.com/turnkeylinux/octohub) +**github-flask**|[github-flask (Official Website)](http://github-flask.readthedocs.org) +**torngithub**|[jkeylu/torngithub](https://github.com/jkeylu/torngithub) ### Ruby -ライブラリ名 | リポジトリ |---|---| **GitHub API Gem**|[peter-murach/github](https://github.com/peter-murach/github) **Ghee**|[rauhryan/ghee](https://github.com/rauhryan/ghee) +ライブラリ名 | リポジトリ +|---|---| +**GitHub API Gem**|[peter-murach/github](https://github.com/peter-murach/github) +**Ghee**|[rauhryan/ghee](https://github.com/rauhryan/ghee) ### Rust -Library name | Repository |---|---| **Octocrab**|[XAMPPRocky/octocrab](https://github.com/XAMPPRocky/octocrab) +Library name | Repository +|---|---| +**Octocrab**|[XAMPPRocky/octocrab](https://github.com/XAMPPRocky/octocrab) ### Scala -ライブラリ名 | リポジトリ |---|---| **Hubcat**|[softprops/hubcat](https://github.com/softprops/hubcat) **Github4s**|[47deg/github4s](https://github.com/47deg/github4s) +ライブラリ名 | リポジトリ +|---|---| +**Hubcat**|[softprops/hubcat](https://github.com/softprops/hubcat) +**Github4s**|[47deg/github4s](https://github.com/47deg/github4s) ### Shell -ライブラリ名 | リポジトリ |---|---| **ok.sh**|[whiteinge/ok.sh](https://github.com/whiteinge/ok.sh) +ライブラリ名 | リポジトリ +|---|---| +**ok.sh**|[whiteinge/ok.sh](https://github.com/whiteinge/ok.sh) diff --git a/translations/ja-JP/data/ui.yml b/translations/ja-JP/data/ui.yml index f36f53a2bb..82bd8a57c8 100644 --- a/translations/ja-JP/data/ui.yml +++ b/translations/ja-JP/data/ui.yml @@ -5,7 +5,7 @@ header: notices: ghae_silent_launch: GitHub AE is currently under limited release. Please contact our Sales Team to find out more. release_candidate: '# The version name is rendered before the below text via includes/header-notification.html '' is currently available as a release candidate. For more information, see "About upgrades to new releases."''' - localization_complete: ドキュメントには頻繁に更新が加えられ、その都度公開されています。本ページの翻訳はまだ未完成な部分があることをご了承ください。最新の情報については、英語のドキュメンテーションをご参照ください。本ページの翻訳に問題がある場合はこちらまでご連絡ください。 + localization_complete: ドキュメントには頻繁に更新が加えられ、その都度公開されています。本ページの翻訳はまだ未完成な部分があることをご了承ください。最新の情報については、英語のドキュメンテーションをご参照ください。本ページの翻訳に問題がある場合はこちらまでご連絡ください。 localization_in_progress: こんにちは!このページは開発中か、まだ翻訳中です。最新の正しい情報を得るには、英語のドキュメンテーションにアクセスしてください。 early_access: '📣 Please do not share this URL publicly. This page contains content about an early access feature.' search: diff --git a/translations/ko-KR/content/github/site-policy/github-ae-data-protection-agreement.md b/translations/ko-KR/content/github/site-policy/github-ae-data-protection-agreement.md index 80cdc66842..500686841b 100644 --- a/translations/ko-KR/content/github/site-policy/github-ae-data-protection-agreement.md +++ b/translations/ko-KR/content/github/site-policy/github-ae-data-protection-agreement.md @@ -328,7 +328,7 @@ Data exporter: Customer is the data exporter. However, because the data importer provides storage services and does not control the categories of data it stores, the data exporter may choose to transfer special categories of data. Consequently, the data exporter is solely responsible for ensuring that it complies with all obligations imposed by applicable laws and regulations relating to the collection and processing of any special categories of data, including obtaining the explicit consent of the data subject prior to processing sensitive personal data. -**Processing operations:** The personal data transferred will be subject to the following basic processing activities: GitHub uses personal data for the limited purposes set forth in the GitHub Privacy Statement, available at https://help.github.com/articles/github-privacy-statement/, and the “Data Processing” section of the DPA. +**Processing operations:** The personal data transferred will be subject to the following basic processing activities: GitHub uses personal data for the limited purposes set forth in the GitHub Privacy Statement, available at https://docs.github.com/articles/github-privacy-statement/, and the “Data Processing” section of the DPA. **Subcontractors:** In accordance with the DPA, the data importer may hire other companies to provide limited services on data importer’s behalf, such as providing customer support. Any such subcontractors will be permitted to obtain Customer Personal Data only to deliver the services the data importer has retained them to provide, and they are prohibited from using Customer Personal Data for any other purpose. diff --git a/translations/ko-KR/data/ui.yml b/translations/ko-KR/data/ui.yml index a48fc65c38..a45f828aca 100644 --- a/translations/ko-KR/data/ui.yml +++ b/translations/ko-KR/data/ui.yml @@ -5,7 +5,7 @@ header: notices: ghae_silent_launch: GitHub AE is currently under limited release. Please contact our Sales Team to find out more. release_candidate: '# The version name is rendered before the below text via includes/header-notification.html '' is currently available as a release candidate. For more information, see "About upgrades to new releases."''' - localization_complete: 문서에 대한 업데이트가 자주 게시되며, 이 페이지의 번역이 아직 진행 중일 수 있습니다. 최신 정보는영어 설명서를 방문하십시오. 이 페이지에서 번역에 문제가 있는 경우 알려주십시오. + localization_complete: 문서에 대한 업데이트가 자주 게시되며, 이 페이지의 번역이 아직 진행 중일 수 있습니다. 최신 정보는영어 설명서를 방문하십시오. 이 페이지에서 번역에 문제가 있는 경우 알려주십시오. localization_in_progress: 안녕하세요! 이 페이지는 현재 개발 중이거나 아직 번역 중입니다. 정확한 최신 정보를 확인하려면 영어 설명서를 방문하십시오. early_access: '📣 Please do not share this URL publicly. This page contains content about an early access feature.' search: diff --git a/translations/pt-BR/content/github/finding-security-vulnerabilities-and-errors-in-your-code/configuring-code-scanning.md b/translations/pt-BR/content/github/finding-security-vulnerabilities-and-errors-in-your-code/configuring-code-scanning.md index 50dcf8d90b..6a4cad90c3 100644 --- a/translations/pt-BR/content/github/finding-security-vulnerabilities-and-errors-in-your-code/configuring-code-scanning.md +++ b/translations/pt-BR/content/github/finding-security-vulnerabilities-and-errors-in-your-code/configuring-code-scanning.md @@ -278,7 +278,7 @@ paths-ignore: Para linguagens compiladas, se você deseja limitar {% data variables.product.prodname_code_scanning %} a diretórios específicos no seu projeto, você deverá especificar os passos de compilação adequados no fluxo de trabalho. Os comandos que você precisa usar para excluir um diretório da criação dependerão do seu sistema de criação. Para obter mais informações, consulte "[Configurar o fluxo de trabalho do {% data variables.product.prodname_codeql %} para linguagens compiladas](/github/finding-security-vulnerabilities-and-errors-in-your-code/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language)". -Você pode rapidamente analisar pequenas partes de um monorepo ao modificar o código em diretórios específicos. Você deverá excluir diretórios nas suas etapas de criação e usar as palavras-chave `paths-ignore` e `caminhos` para [`on.`](https://help.github.com/actions/reference/workflow-syntax-for-github-actions#onpushpull_requestpaths) no seu arquivo de fluxo de trabalho. +Você pode rapidamente analisar pequenas partes de um monorepo ao modificar o código em diretórios específicos. Você deverá excluir diretórios nas suas etapas de criação e usar as palavras-chave `paths-ignore` e `caminhos` para [`on.`](https://docs.github.com/actions/reference/workflow-syntax-for-github-actions#onpushpull_requestpaths) no seu arquivo de fluxo de trabalho. #### Exemplo de arquivo de configuração diff --git a/translations/pt-BR/content/github/site-policy/github-ae-data-protection-agreement.md b/translations/pt-BR/content/github/site-policy/github-ae-data-protection-agreement.md index 77b0431692..1e73d26938 100644 --- a/translations/pt-BR/content/github/site-policy/github-ae-data-protection-agreement.md +++ b/translations/pt-BR/content/github/site-policy/github-ae-data-protection-agreement.md @@ -328,7 +328,7 @@ Exportador de dados: Cliente é o exportador de dados. No entanto, uma vez que o importador de dados fornece serviços de armazenamento e não controla as categorias de dados que armazena, o exportador de dados pode optar por transferir as categorias especiais de dados. Consequentemente, o exportador de dados é o único responsável por assegurar que cumpre todas as obrigações impostas por leis e regulamentos aplicáveis relativos à coleta e processamento de quaisquer categorias especiais de dados, incluindo a obtenção do consentimento explícito dos dados sujeitos antes de processar dados pessoais confidenciais. -**Processamento de operações:** Os dados pessoais transferidos estarão sujeitos às seguintes atividades básicas de processamento: O GitHub usa dados pessoais para fins limitados definidos na Declaração de Privacidade do GitHub, disponível em https://help.github.com/articles/github-privacy-statement/, e a seção "Processamento de Dados" da DPA. +**Processamento de operações:** Os dados pessoais transferidos estarão sujeitos às seguintes atividades básicas de processamento: O GitHub usa dados pessoais para fins limitados definidos na Declaração de Privacidade do GitHub, disponível em https://docs.github.com/articles/github-privacy-statement/, e a seção "Processamento de Dados" da DPA. **Subcontratantes:** De acordo com a DPA, o importador de dados pode contratar outras empresas para prestar serviços limitados em nome do importador de dados, tais como fornecer suporte ao cliente. Esses subcontratantes terão a permissão de obter Dados Pessoais do Cliente apenas para fornecer os serviços que o importador de dados os manteve para fornecer, e são proibidos de usar os Dados Pessoais do Cliente para qualquer outra finalidade. diff --git a/translations/pt-BR/content/github/site-policy/github-corporate-terms-of-service.md b/translations/pt-BR/content/github/site-policy/github-corporate-terms-of-service.md index d2c46ae272..2c1c905685 100644 --- a/translations/pt-BR/content/github/site-policy/github-corporate-terms-of-service.md +++ b/translations/pt-BR/content/github/site-policy/github-corporate-terms-of-service.md @@ -108,7 +108,7 @@ O Cliente é responsável por: (i) todo o Conteúdo publicado e a atividade que Em algumas situações, os termos de terceiros podem ser aplicados ao uso do GitHub pelo Cliente. Por exemplo, o Cliente pode ser integrante de uma Organização com seus próprios termos ou contratos de licença. O cliente poderá baixar um aplicativo que se integra ao Serviço ou utilizar o Serviço para autenticar em outro serviço. Embora este Contrato seja o acordo completo do GitHub com o Cliente, os termos de outras partes regem as relações delas com o Cliente. #### 5. EUA Termos do Governo Federal -Se o cliente é dos EUA. Se o Cliente for uma entidade do governo dos EUA ou que acessa ou usa o Serviço em instalações governamentais, a [Emenda do Governo Federal dos EUA](https://help.github.com/articles/amendment-to-github-terms-of-service-applicable-to-us-federal-government-users) se aplicará e o Cliente concorda com as disposições dela. Aplica-se a alteração do Governo Federal e o Cliente concorda com suas disposições. +Se o cliente é dos EUA. Se o Cliente for uma entidade do governo dos EUA ou que acessa ou usa o Serviço em instalações governamentais, a [Emenda do Governo Federal dos EUA](https://docs.github.com/articles/amendment-to-github-terms-of-service-applicable-to-us-federal-government-users) se aplicará e o Cliente concorda com as disposições dela. Aplica-se a alteração do Governo Federal e o Cliente concorda com suas disposições. #### 6. Acordo de Nível de Serviço de Nuvem Empresarial O compromisso trimestral de tempo de atividade do GitHub para o GitHub Enterprise Cloud é fornecido no [Contrato de Nível de Serviço Empresarial](/github/site-policy/github-enterprise-service-level-agreement). Se o cliente inscreveu-se no GitHub Enterprise Cloud, ele terá direito a um crédito de serviço se o GitHub não atender ao seu nível de serviço. diff --git a/translations/pt-BR/content/github/site-policy/github-data-protection-addendum.md b/translations/pt-BR/content/github/site-policy/github-data-protection-addendum.md index 84afabfc25..c1b0fdca6f 100644 --- a/translations/pt-BR/content/github/site-policy/github-data-protection-addendum.md +++ b/translations/pt-BR/content/github/site-policy/github-data-protection-addendum.md @@ -107,7 +107,7 @@ O GitHub fornecerá a assistência cabível ao Cliente com preocupações como a O GitHub não usará os Dados Protegidos para fins de publicidade de conteúdo de terceiros nem os venderá a terceiros, exceto como parte de uma fusão ou aquisição. #### 5.2 Declaração de Privacidade do GitHub. -A Declaração de Privacidade do GitHub, disponível publicamente em [https://help.github.com/articles/github-privacy-statement/](/articles/github-privacy-statement), fornece um aviso detalhado sobre as práticas de privacidade e uso de dados do GitHub, como o uso de cookies, o processo de resolução de disputas e mais informações sobre a conformidade do GitHub com a GDPR. +A Declaração de Privacidade do GitHub, disponível publicamente em [https://docs.github.com/articles/github-privacy-statement/](/articles/github-privacy-statement), fornece um aviso detalhado sobre as práticas de privacidade e uso de dados do GitHub, como o uso de cookies, o processo de resolução de disputas e mais informações sobre a conformidade do GitHub com a GDPR. ### 6. Transferência progressiva e subprocessamento. @@ -125,7 +125,7 @@ a. Qualquer subprocessador progressivo deve concordar por escrito em somente pr b. b. O GitHub restringirá o acesso do subprocessador progressivo a Dados pessoais do cliente apenas ao estritamente necessário para executar os serviços e proibirá o subprocessador de processar os Dados pessoais do cliente para qualquer outra finalidade. #### 6.4 - Divulgação de Acordos de Subprocessador. -O GitHub mantém uma lista de subprocessadores progressivos que utilizou para processar Dados Pessoais do Cliente em [https://help.github.com/articles/github-subprocessors-and-cookies/](/articles/github-subprocessors-and-cookies), incluindo as categorias de Dados Pessoais do Cliente processados, uma descrição do tipo de processamento que o subprocessador executa e a localização do seu processamento. Mediante solicitação por escrito do Cliente, o GitHub fornecerá esta lista de subprocessadores e os termos em que eles processarão os Dados pessoais do cliente. De acordo com as restrições de confidencialidade de subprocessadores, o GitHub pode remover informações confidenciais ou comercialmente confidenciais antes de fornecer a lista e os termos ao Cliente. Caso o GitHub não possa divulgar informações confidenciais ao Cliente, as Partes concordam que o GitHub fornecerá todas as informações razoavelmente possíveis relacionadas aos contratos de subprocessamento. +O GitHub mantém uma lista de subprocessadores progressivos que utilizou para processar Dados Pessoais do Cliente em [https://docs.github.com/articles/github-subprocessors-and-cookies/](/articles/github-subprocessors-and-cookies), incluindo as categorias de Dados Pessoais do Cliente processados, uma descrição do tipo de processamento que o subprocessador executa e a localização do seu processamento. Mediante solicitação por escrito do Cliente, o GitHub fornecerá esta lista de subprocessadores e os termos em que eles processarão os Dados pessoais do cliente. De acordo com as restrições de confidencialidade de subprocessadores, o GitHub pode remover informações confidenciais ou comercialmente confidenciais antes de fornecer a lista e os termos ao Cliente. Caso o GitHub não possa divulgar informações confidenciais ao Cliente, as Partes concordam que o GitHub fornecerá todas as informações razoavelmente possíveis relacionadas aos contratos de subprocessamento. #### 6.5 Objeção para subprocessadores. O GitHub fornecerá um aviso por escrito no prazo de 30 (trinta), além da remoção de qualquer subprocessador, incluindo as categorias listadas na Seção 6.4, anunciando mudanças no seu site . Se o Cliente tiver uma objeção razoável à utilização do GitHub em um novo subprocessador, deverá notificar o GitHub prontamente por escrito. Sempre que possível, o GitHub envidará esforços comercialmente razoáveis para fornecer uma solução alternativa ao Serviço afetado para evitar o processamento de dados pelo subprocessador questionável. Caso o GitHub não consiga oferecer uma solução alternativa e as Partes não resolvam o conflito em 90 (noventa) dias, o Cliente poderá rescindir o Contrato. diff --git a/translations/pt-BR/content/github/site-policy/github-enterprise-cloud-evaluation-agreement.md b/translations/pt-BR/content/github/site-policy/github-enterprise-cloud-evaluation-agreement.md index a5c9375fe2..fc67e76c46 100644 --- a/translations/pt-BR/content/github/site-policy/github-enterprise-cloud-evaluation-agreement.md +++ b/translations/pt-BR/content/github/site-policy/github-enterprise-cloud-evaluation-agreement.md @@ -10,7 +10,7 @@ OBRIGADO POR ESCOLHER O GITHUB PARA AS NECESSIDADES COMERCIAIS DE SUA EMPRESA. L ### 1. Termos de serviço corporativos -O cliente deve ter uma conta corporativa no GitHub.com para poder ter acesso de avaliação. A avaliação do Cliente do Enterprise Cloud será regida por estes termos e pelos Termos de Serviços Corporativos (encontrado em [https://docs.github.com/articles/github-corporate-terms-of-service](/articles/github-corporate-terms-of-service)) (juntamente com o "**Contrato de Avaliação**"). Entretanto, quaisquer termos suplementares associados ao [Adendo do Enterprise Cloud](https://help.github.com/articles/github-enterprise-cloud-addendum) **não se** aplicarão até o Cliente atualizar sua compra para uma assinatura paga do Enterprise Cloud.Quaisquer termos com a inicial em maiúscula não definidos neste Contrato de Avaliação são definidos nos Termos de serviço corporativos. +O cliente deve ter uma conta corporativa no GitHub.com para poder ter acesso de avaliação. A avaliação do Cliente do Enterprise Cloud será regida por estes termos e pelos Termos de Serviços Corporativos (encontrado em [https://docs.github.com/articles/github-corporate-terms-of-service](/articles/github-corporate-terms-of-service)) (juntamente com o "**Contrato de Avaliação**"). Entretanto, quaisquer termos suplementares associados ao [Adendo do Enterprise Cloud](https://docs.github.com/articles/github-enterprise-cloud-addendum) **não se** aplicarão até o Cliente atualizar sua compra para uma assinatura paga do Enterprise Cloud.Quaisquer termos com a inicial em maiúscula não definidos neste Contrato de Avaliação são definidos nos Termos de serviço corporativos. ### 2. Vigência e rescisão diff --git a/translations/pt-BR/content/github/site-policy/github-supplemental-terms-for-microsoft-volume-licensing.md b/translations/pt-BR/content/github/site-policy/github-supplemental-terms-for-microsoft-volume-licensing.md index f46c443b31..d497aef48b 100644 --- a/translations/pt-BR/content/github/site-policy/github-supplemental-terms-for-microsoft-volume-licensing.md +++ b/translations/pt-BR/content/github/site-policy/github-supplemental-terms-for-microsoft-volume-licensing.md @@ -109,7 +109,7 @@ Em algumas situações, os termos de terceiros podem ser aplicados ao uso do ser #### 2.1.5 Termos do Governo Federal do EUA. Termos do Governo Federal. -Se o cliente é dos EUA. Se o Cliente for uma agência do Governo Federal dos EUA ou que acessa ou usa qualquer parte do Serviço em instalações governamentais, a [Emenda do Governo Federal dos EUA](https://help.github.com/github/site-policy/amendment-to-github-terms-of-service-applicable-to-us-federal-government-users) se aplicará e o cliente concordará com as disposições dela. Aplica-se a alteração do Governo Federal e o Cliente concorda com suas disposições. +Se o cliente é dos EUA. Se o Cliente for uma agência do Governo Federal dos EUA ou que acessa ou usa qualquer parte do Serviço em instalações governamentais, a [Emenda do Governo Federal dos EUA](https://docs.github.com/github/site-policy/amendment-to-github-terms-of-service-applicable-to-us-federal-government-users) se aplicará e o cliente concordará com as disposições dela. Aplica-se a alteração do Governo Federal e o Cliente concorda com suas disposições. ### 2.2 Cumprimento das leis; Uso aceitável; Privacidade. diff --git a/translations/pt-BR/content/rest/overview/libraries.md b/translations/pt-BR/content/rest/overview/libraries.md index 1086cfdcd5..f143d63276 100644 --- a/translations/pt-BR/content/rest/overview/libraries.md +++ b/translations/pt-BR/content/rest/overview/libraries.md @@ -25,68 +25,123 @@ versions: ### Clojure -Library name | Repository |---|---| **Tentacles**| [Raynes/tentacles](https://github.com/Raynes/tentacles) +Library name | Repository +|---|---| +**Tentacles**| [Raynes/tentacles](https://github.com/Raynes/tentacles) ### Dart -Nome da biblioteca | Repositório |---|---| **github.dart** | [DirectMyFile/github.dart](https://github.com/DirectMyFile/github.dart) +Nome da biblioteca | Repositório +|---|---| +**github.dart** | [DirectMyFile/github.dart](https://github.com/DirectMyFile/github.dart) ### Emacs Lisp -Nome da biblioteca | Repositório |---|---| **gh.el** | [sigma/gh.el](https://github.com/sigma/gh.el) +Nome da biblioteca | Repositório +|---|---| +**gh.el** | [sigma/gh.el](https://github.com/sigma/gh.el) ### Erlang -Nome da biblioteca | Repositório |---|---| **octo-erl** | [sdepold/octo.erl](https://github.com/sdepold/octo.erl) +Nome da biblioteca | Repositório +|---|---| +**octo-erl** | [sdepold/octo.erl](https://github.com/sdepold/octo.erl) ### Go -Nome da biblioteca | Repositório |---|---| **go-github**| [google/go-github](https://github.com/google/go-github) +Nome da biblioteca | Repositório +|---|---| +**go-github**| [google/go-github](https://github.com/google/go-github) ### Haskell -Nome da biblioteca | Repositório |---|---| **haskell-github** | [fpco/Github](https://github.com/fpco/GitHub) +Nome da biblioteca | Repositório +|---|---| +**haskell-github** | [fpco/Github](https://github.com/fpco/GitHub) ### Java -Nome da biblioteca | Repositório | Mais informações |---|---|---| **GitHub Java API**| [org.eclipse.egit.github.core](https://github.com/eclipse/egit-github/tree/master/org.eclipse.egit.github.core) | É parte do [GitHub Mylyn Connector](https://github.com/eclipse/egit-github) e tem o objetivo de dar suporte a toda a API do GitHub v3. As construções estão disponíveis em [Maven Central](http://search.maven.org/#search%7Cga%7C1%7Ca%3A%22org.eclipse.egit.github.core%22). **GitHub API para Java**| [org.kohsuke.github (From github-api)](http://github-api.kohsuke.org/)|define uma representação orientada por objeto da API do GitHub. **JCabi GitHub API**|[github.jcabi.com (Personal Website)](http://github.jcabi.com)|é baseado Java7 JSON API (JSR-353), simplifica testes com uma amostra de tempo de execução do GitHub e abrange toda a API. +Nome da biblioteca | Repositório | Mais informações +|---|---|---| +**GitHub Java API**| [org.eclipse.egit.github.core](https://github.com/eclipse/egit-github/tree/master/org.eclipse.egit.github.core) | É parte do [GitHub Mylyn Connector](https://github.com/eclipse/egit-github) e tem o objetivo de dar suporte a toda a API do GitHub v3. As construções estão disponíveis em [Maven Central](http://search.maven.org/#search%7Cga%7C1%7Ca%3A%22org.eclipse.egit.github.core%22). +**GitHub API para Java**| [org.kohsuke.github (From github-api)](http://github-api.kohsuke.org/)|define uma representação orientada por objeto da API do GitHub. +**JCabi GitHub API**|[github.jcabi.com (Personal Website)](http://github.jcabi.com)|é baseado Java7 JSON API (JSR-353), simplifica testes com uma amostra de tempo de execução do GitHub e abrange toda a API. ### JavaScript -Nome da biblioteca | Repositório | |---|---| **NodeJS GitHub library**| [pksunkara/octonode](https://github.com/pksunkara/octonode) **gh3 client-side API v3 wrapper**| [k33g/gh3](https://github.com/k33g/gh3) **Github.js wrapper around the GitHub API**|[michael/github](https://github.com/michael/github) **Promise-Based CoffeeScript library for the Browser or NodeJS**|[philschatz/github-client](https://github.com/philschatz/github-client) +Nome da biblioteca | Repositório | +|---|---| +**NodeJS GitHub library**| [pksunkara/octonode](https://github.com/pksunkara/octonode) +**gh3 client-side API v3 wrapper**| [k33g/gh3](https://github.com/k33g/gh3) +**Github.js wrapper around the GitHub API**|[michael/github](https://github.com/michael/github) **Promise-Based CoffeeScript library for the Browser or NodeJS**|[philschatz/github-client](https://github.com/philschatz/github-client) ### Julia -Library name | Repository | |---|---| **GitHub.jl**|[WestleyArgentum/GitHub.jl](https://github.com/WestleyArgentum/GitHub.jl) +Library name | Repository | +|---|---| +**GitHub.jl**|[WestleyArgentum/GitHub.jl](https://github.com/WestleyArgentum/GitHub.jl) ### OCaml -Nome da biblioteca | Repositório | |---|---| **ocaml-github**|[mirage/ocaml-github](https://github.com/mirage/ocaml-github) +Nome da biblioteca | Repositório | +|---|---| +**ocaml-github**|[mirage/ocaml-github](https://github.com/mirage/ocaml-github) ### Perl -Library name | Repository | metacpan Website for the Library |---|---|---| **Pithub**|[plu/Pithub](https://github.com/plu/Pithub)|[Pithub CPAN](http://metacpan.org/module/Pithub) **Net::GitHub**|[fayland/perl-net-github](https://github.com/fayland/perl-net-github)|[Net:GitHub CPAN](https://metacpan.org/pod/Net::GitHub) +Library name | Repository | metacpan Website for the Library +|---|---|---| +**Pithub**|[plu/Pithub](https://github.com/plu/Pithub)|[Pithub CPAN](http://metacpan.org/module/Pithub) **Net::GitHub**|[fayland/perl-net-github](https://github.com/fayland/perl-net-github)|[Net:GitHub CPAN](https://metacpan.org/pod/Net::GitHub) ### PHP -Nome da biblioteca | Repositório |---|---| **GitHub PHP Client**|[tan-tan-kanarek/github-php-client](https://github.com/tan-tan-kanarek/github-php-client) **PHP GitHub API**|[KnpLabs/php-github-api](https://github.com/KnpLabs/php-github-api) **GitHub API**|[yiiext/github-api](https://github.com/yiiext/github-api) **GitHub Joomla! Package**|[joomla-framework/github-api](https://github.com/joomla-framework/github-api) **GitHub Nette Extension**|[kdyby/github](https://github.com/kdyby/github) **GitHub API Easy Access**|[milo/github-api](https://github.com/milo/github-api) **GitHub bridge for Laravel**|[GrahamCampbell/Laravel-GitHub](https://github.com/GrahamCampbell/Laravel-GitHub) **PHP7 Client & WebHook wrapper**|[FlexyProject/GitHubAPI](https://github.com/FlexyProject/GitHubAPI) +Nome da biblioteca | Repositório +|---|---| +**GitHub PHP Client**|[tan-tan-kanarek/github-php-client](https://github.com/tan-tan-kanarek/github-php-client) +**PHP GitHub API**|[KnpLabs/php-github-api](https://github.com/KnpLabs/php-github-api) +**GitHub API**|[yiiext/github-api](https://github.com/yiiext/github-api) +**GitHub Joomla! Package**|[joomla-framework/github-api](https://github.com/joomla-framework/github-api) **GitHub Nette Extension**|[kdyby/github](https://github.com/kdyby/github) +**GitHub API Easy Access**|[milo/github-api](https://github.com/milo/github-api) +**GitHub bridge for Laravel**|[GrahamCampbell/Laravel-GitHub](https://github.com/GrahamCampbell/Laravel-GitHub) +**PHP7 Client & WebHook wrapper**|[FlexyProject/GitHubAPI](https://github.com/FlexyProject/GitHubAPI) ### Python -Library name | Repository |---|---| **gidgethub**|[brettcannon/gidgethub](https://github.com/brettcannon/gidgethub) **ghapi**|[fastai/ghapi](https://github.com/fastai/ghapi) **PyGithub**|[PyGithub/PyGithub](https://github.com/PyGithub/PyGithub) **libsaas**|[duckboard/libsaas](https://github.com/ducksboard/libsaas) **github3.py**|[sigmavirus24/github3.py](https://github.com/sigmavirus24/github3.py) **sanction**|[demianbrecht/sanction](https://github.com/demianbrecht/sanction) **agithub**|[jpaugh/agithub](https://github.com/jpaugh/agithub) **octohub**|[turnkeylinux/octohub](https://github.com/turnkeylinux/octohub) **github-flask**|[github-flask (Official Website)](http://github-flask.readthedocs.org) **torngithub**|[jkeylu/torngithub](https://github.com/jkeylu/torngithub) +Library name | Repository +|---|---| +**gidgethub**|[brettcannon/gidgethub](https://github.com/brettcannon/gidgethub) +**ghapi**|[fastai/ghapi](https://github.com/fastai/ghapi) +**PyGithub**|[PyGithub/PyGithub](https://github.com/PyGithub/PyGithub) +**libsaas**|[duckboard/libsaas](https://github.com/ducksboard/libsaas) +**github3.py**|[sigmavirus24/github3.py](https://github.com/sigmavirus24/github3.py) +**sanction**|[demianbrecht/sanction](https://github.com/demianbrecht/sanction) +**agithub**|[jpaugh/agithub](https://github.com/jpaugh/agithub) +**octohub**|[turnkeylinux/octohub](https://github.com/turnkeylinux/octohub) +**github-flask**|[github-flask (Official Website)](http://github-flask.readthedocs.org) +**torngithub**|[jkeylu/torngithub](https://github.com/jkeylu/torngithub) ### Ruby -Nome da biblioteca | Repositório |---|---| **GitHub API Gem**|[peter-murach/github](https://github.com/peter-murach/github) **Ghee**|[rauhryan/ghee](https://github.com/rauhryan/ghee) +Nome da biblioteca | Repositório +|---|---| +**GitHub API Gem**|[peter-murach/github](https://github.com/peter-murach/github) +**Ghee**|[rauhryan/ghee](https://github.com/rauhryan/ghee) ### Rust -Nome da biblioteca | Repositório |---|---| **Octocrab**|[XAMPPRocky/octocrab](https://github.com/XAMPPRocky/octocrab) +Nome da biblioteca | Repositório +|---|---| +**Octocrab**|[XAMPPRocky/octocrab](https://github.com/XAMPPRocky/octocrab) ### Scala -Nome da biblioteca | Repositório |---|---| **Hubcat**|[softprops/hubcat](https://github.com/softprops/hubcat) **Github4s**|[47deg/github4s](https://github.com/47deg/github4s) +Nome da biblioteca | Repositório +|---|---| +**Hubcat**|[softprops/hubcat](https://github.com/softprops/hubcat) +**Github4s**|[47deg/github4s](https://github.com/47deg/github4s) ### Shell -Nome da biblioteca | Repositório |---|---| **ok.sh**|[whiteinge/ok.sh](https://github.com/whiteinge/ok.sh) +Nome da biblioteca | Repositório +|---|---| +**ok.sh**|[whiteinge/ok.sh](https://github.com/whiteinge/ok.sh) diff --git a/translations/pt-BR/data/ui.yml b/translations/pt-BR/data/ui.yml index 6c6b5845e9..f2260f755d 100644 --- a/translations/pt-BR/data/ui.yml +++ b/translations/pt-BR/data/ui.yml @@ -5,7 +5,7 @@ header: notices: ghae_silent_launch: GitHub AE is currently under limited release. Please contact our Sales Team to find out more. release_candidate: '# The version name is rendered before the below text via includes/header-notification.html '' is currently available as a release candidate. For more information, see "About upgrades to new releases."''' - localization_complete: Publicamos atualizações frequentes em nossa documentação, e a tradução desta página ainda pode estar em andamento. Para obter as informações mais recentes, acesse a documentação em inglês. Se houver problemas com a tradução desta página, entre em contato conosco. + localization_complete: Publicamos atualizações frequentes em nossa documentação, e a tradução desta página ainda pode estar em andamento. Para obter as informações mais recentes, acesse a documentação em inglês. Se houver problemas com a tradução desta página, entre em contato conosco. localization_in_progress: Olá! No momento, esta página ainda está sendo desenvolvida ou traduzida. Para obter as informações mais recentes, acesse a documentação em inglês. early_access: '📣 Please do not share this URL publicly. This page contains content about an early access feature.' search: diff --git a/translations/ru-RU/content/github/site-policy/github-ae-data-protection-agreement.md b/translations/ru-RU/content/github/site-policy/github-ae-data-protection-agreement.md index 1444d4681a..b893bb1210 100644 --- a/translations/ru-RU/content/github/site-policy/github-ae-data-protection-agreement.md +++ b/translations/ru-RU/content/github/site-policy/github-ae-data-protection-agreement.md @@ -328,7 +328,7 @@ Data exporter: Customer is the data exporter. However, because the data importer provides storage services and does not control the categories of data it stores, the data exporter may choose to transfer special categories of data. Consequently, the data exporter is solely responsible for ensuring that it complies with all obligations imposed by applicable laws and regulations relating to the collection and processing of any special categories of data, including obtaining the explicit consent of the data subject prior to processing sensitive personal data. -**Processing operations:** The personal data transferred will be subject to the following basic processing activities: GitHub uses personal data for the limited purposes set forth in the GitHub Privacy Statement, available at https://help.github.com/articles/github-privacy-statement/, and the “Data Processing” section of the DPA. +**Processing operations:** The personal data transferred will be subject to the following basic processing activities: GitHub uses personal data for the limited purposes set forth in the GitHub Privacy Statement, available at https://docs.github.com/articles/github-privacy-statement/, and the “Data Processing” section of the DPA. **Subcontractors:** In accordance with the DPA, the data importer may hire other companies to provide limited services on data importer’s behalf, such as providing customer support. Any such subcontractors will be permitted to obtain Customer Personal Data only to deliver the services the data importer has retained them to provide, and they are prohibited from using Customer Personal Data for any other purpose. diff --git a/translations/ru-RU/data/ui.yml b/translations/ru-RU/data/ui.yml index f29f6523f2..4b48fc7e1e 100644 --- a/translations/ru-RU/data/ui.yml +++ b/translations/ru-RU/data/ui.yml @@ -5,7 +5,7 @@ header: notices: ghae_silent_launch: GitHub AE is currently under limited release. Please contact our Sales Team to find out more. release_candidate: '# The version name is rendered before the below text via includes/header-notification.html '' is currently available as a release candidate. For more information, see "About upgrades to new releases."''' - localization_complete: We publish frequent updates to our documentation, and translation of this page may still be in progress. For the most current information, please visit the English documentation. If there's a problem with translations on this page, please let us know. + localization_complete: We publish frequent updates to our documentation, and translation of this page may still be in progress. For the most current information, please visit the English documentation. If there's a problem with translations on this page, please let us know. localization_in_progress: Hello, explorer! This page is under active development or still in translation. For the most up-to-date and accurate information, please visit our English documentation. early_access: '📣 Please do not share this URL publicly. This page contains content about an early access feature.' search: diff --git a/translations/zh-CN/content/github/getting-started-with-github/faq-about-changes-to-githubs-plans.md b/translations/zh-CN/content/github/getting-started-with-github/faq-about-changes-to-githubs-plans.md index 1f29e95815..209b194166 100644 --- a/translations/zh-CN/content/github/getting-started-with-github/faq-about-changes-to-githubs-plans.md +++ b/translations/zh-CN/content/github/getting-started-with-github/faq-about-changes-to-githubs-plans.md @@ -85,6 +85,6 @@ GitHub Community Support 包括通过我们的[社区论坛](https://github.comm ### How will this impact users and organizations in regions where U.S. government sanctions are applied? 政府制裁是否适用? -由于美国 Due to U.S. trade controls law restrictions, GitHub is unable to provide private repository services and paid services to accounts in U.S. sanctioned regions. GitHub has preserved, however, access to free public repository services. 请阅读 [GitHub 和贸易管制](https://help.github.com/github/site-policy/github-and-trade-controls)了解更多信息。 受制裁区域。 但是,GitHub 保留了对免费公共仓库服务的使用权。 请阅读 [GitHub 和贸易管制](/github/site-policy/github-and-trade-controls)了解更多信息。 +由于美国 Due to U.S. trade controls law restrictions, GitHub is unable to provide private repository services and paid services to accounts in U.S. sanctioned regions. GitHub has preserved, however, access to free public repository services. 请阅读 [GitHub 和贸易管制](https://docs.github.com/github/site-policy/github-and-trade-controls)了解更多信息。 受制裁区域。 但是,GitHub 保留了对免费公共仓库服务的使用权。 请阅读 [GitHub 和贸易管制](/github/site-policy/github-and-trade-controls)了解更多信息。 GitHub will continue advocating with U.S. regulators for the greatest possible access to free code collaboration services to developers in sanctioned regions, including free private repositories. We believe that offering those free services supports U.S. foreign policy of encouraging the free flow of information and free speech in those regions. 监管机构提倡让受制裁地区的开发者尽可能获得免费代码协作服务,包括访问免费私有仓库。 我们认为,提供这些免费服务有助于美国关于鼓励这些地区的信息自由流动和言论自由的外交政策。 关于鼓励这些市场的信息自由流动和言论自由的外交政策。 diff --git a/translations/zh-CN/content/github/site-policy/github-ae-data-protection-agreement.md b/translations/zh-CN/content/github/site-policy/github-ae-data-protection-agreement.md index 7879552159..b225166d72 100644 --- a/translations/zh-CN/content/github/site-policy/github-ae-data-protection-agreement.md +++ b/translations/zh-CN/content/github/site-policy/github-ae-data-protection-agreement.md @@ -328,7 +328,7 @@ For the purposes of Article 46 (2) of the General Data Protection Regulation (EU 但是,由于数据进口方提供存储服务,并且不控制其存储的数据类别,因此数据出口方可以选择传输特殊类别的数据。 所以,数据出口方应全权负责确保其遵守适用法律和法规规定的与收集和处理任何特殊类别数据有关的所有义务,包括在处理敏感个人数据之前获得数据主体的明确同意。 -**Processing operations:** The personal data transferred will be subject to the following basic processing activities: GitHub uses personal data for the limited purposes set forth in the GitHub Privacy Statement, available at https://help.github.com/articles/github-privacy-statement/, and the “Data Processing” section of the DPA. +**Processing operations:** The personal data transferred will be subject to the following basic processing activitiews: GitHub uses personal data for the limited purposes set forth in the GitHub Privacy Statement, available at https://docs.github.com/articles/github-privacy-statement/, and the “Data Processing” section of the DPA. **Subcontractors:** In accordance with the DPA, the data importer may hire other companies to provide limited services on data importer’s behalf, such as providing customer support. 任何此类分包商只能以提供数据进口商委托的服务为目的而获取客户个人数据,并且不得将客户个人数据用于任何其他目的。 diff --git a/translations/zh-CN/content/github/site-policy/github-data-protection-addendum.md b/translations/zh-CN/content/github/site-policy/github-data-protection-addendum.md index 886048eae4..3b58f8df28 100644 --- a/translations/zh-CN/content/github/site-policy/github-data-protection-addendum.md +++ b/translations/zh-CN/content/github/site-policy/github-data-protection-addendum.md @@ -107,7 +107,7 @@ GitHub 将根据 GitHub 安全附录第 2.3 条提供安全合规报告,并根 GitHub 不将受保护数据用于宣传第三方内容,也不向任何第三方销售受保护数据,因合并或收购而造成的数据转移除外。 #### 5.2 GitHub 隐私声明。 -“GitHub 隐私声明”公布在 [https://help.github.com/articles/github-privacy-statement/](/articles/github-privacy-statement) 上,详细说明 GitHub 的隐私和数据使用做法,包括对 cookie 的使用、争议解决流程以及 GitHub 的 GDPR 合规的进一步详情。 +“GitHub 隐私声明”公布在 [https://docs.github.com/articles/github-privacy-statement/](/articles/github-privacy-statement) 上,详细说明 GitHub 的隐私和数据使用做法,包括对 cookie 的使用、争议解决流程以及 GitHub 的 GDPR 合规的进一步详情。 ### 6. 再处理和向外传输。 diff --git a/translations/zh-CN/content/github/site-policy/github-enterprise-cloud-evaluation-agreement.md b/translations/zh-CN/content/github/site-policy/github-enterprise-cloud-evaluation-agreement.md index 7bf52a7d03..5d7f2ba12f 100644 --- a/translations/zh-CN/content/github/site-policy/github-enterprise-cloud-evaluation-agreement.md +++ b/translations/zh-CN/content/github/site-policy/github-enterprise-cloud-evaluation-agreement.md @@ -10,7 +10,7 @@ versions: ### 1. 公司服务条款 -客户必须在 GitHub.com 上拥有公司帐户才能获得评估权限。 客户对 Enterprise Cloud 的评估受这些条款和公司服务条款(见 [https://docs.github.com/articles/github-corporate-terms-of-service](/articles/github-corporate-terms-of-service))(统称为“**评估协议**”)的约束。 但是,在客户升级为付费订阅 Enterprise Cloud 之前,与 [Enterprise Cloud 附录](https://help.github.com/articles/github-enterprise-cloud-addendum)相关的任何补充条款**均不**适用。本评估协议中未定义的任何大写术语采用公司服务条款中的定义。 +客户必须在 GitHub.com 上拥有公司帐户才能获得评估权限。 客户对 Enterprise Cloud 的评估受这些条款和公司服务条款(见 [https://docs.github.com/articles/github-corporate-terms-of-service](/articles/github-corporate-terms-of-service))(统称为“**评估协议**”)的约束。 但是,在客户升级为付费订阅 Enterprise Cloud 之前,与 [Enterprise Cloud 附录](https://docs.github.com/articles/github-enterprise-cloud-addendum)相关的任何补充条款**均不**适用。本评估协议中未定义的任何大写术语采用公司服务条款中的定义。 ### 2. 期限与终止 diff --git a/translations/zh-CN/content/github/site-policy/github-supplemental-terms-for-microsoft-volume-licensing.md b/translations/zh-CN/content/github/site-policy/github-supplemental-terms-for-microsoft-volume-licensing.md index a0b08b029b..c39ec8f535 100644 --- a/translations/zh-CN/content/github/site-policy/github-supplemental-terms-for-microsoft-volume-licensing.md +++ b/translations/zh-CN/content/github/site-policy/github-supplemental-terms-for-microsoft-volume-licensing.md @@ -109,7 +109,7 @@ GitHub 保证,自首次下载之日起九十 (90) 天内,未经修改的软 #### 2.1.5 U.S. 联邦政府条款。 5. 美国联邦政府条款. -如果客户是美国 如果客户是美国联邦政府机构或者在政府部门访问或使用服务的任何部分,则[美国联邦政府修正](https://help.github.com/github/site-policy/amendment-to-github-terms-of-service-applicable-to-us-federal-government-users)适用,并且客户同意其条款。 联邦政府修正适用,并且客户同意其条款。 +如果客户是美国 如果客户是美国联邦政府机构或者在政府部门访问或使用服务的任何部分,则[美国联邦政府修正](https://docs.github.com/github/site-policy/amendment-to-github-terms-of-service-applicable-to-us-federal-government-users)适用,并且客户同意其条款。 联邦政府修正适用,并且客户同意其条款。 ### 2.2 遵守法律;可接受的使用;隐私。 diff --git a/translations/zh-CN/content/rest/overview/libraries.md b/translations/zh-CN/content/rest/overview/libraries.md index 2c64f6bf41..e34484ac7f 100644 --- a/translations/zh-CN/content/rest/overview/libraries.md +++ b/translations/zh-CN/content/rest/overview/libraries.md @@ -25,68 +25,123 @@ versions: ### Clojure -Library name | Repository |---|---| **Tentacles**| [Raynes/tentacles](https://github.com/Raynes/tentacles) +Library name | Repository +|---|---| +**Tentacles**| [Raynes/tentacles](https://github.com/Raynes/tentacles) ### Dart -Library name | Repository |---|---| **github.dart** | [DirectMyFile/github.dart](https://github.com/DirectMyFile/github.dart) +Library name | Repository +|---|---| +**github.dart** | [DirectMyFile/github.dart](https://github.com/DirectMyFile/github.dart) ### Emacs Lisp -Library name | Repository |---|---| **gh.el** | [sigma/gh.el](https://github.com/sigma/gh.el) +Library name | Repository +|---|---| +**gh.el** | [sigma/gh.el](https://github.com/sigma/gh.el) ### Erlang -Library name | Repository |---|---| **octo-erl** | [sdepold/octo.erl](https://github.com/sdepold/octo.erl) +Library name | Repository +|---|---| +**octo-erl** | [sdepold/octo.erl](https://github.com/sdepold/octo.erl) ### Go -Library name | Repository |---|---| **go-github**| [google/go-github](https://github.com/google/go-github) +Library name | Repository +|---|---| +**go-github**| [google/go-github](https://github.com/google/go-github) ### Haskell -Library name | Repository |---|---| **haskell-github** | [fpco/Github](https://github.com/fpco/GitHub) +Library name | Repository +|---|---| +**haskell-github** | [fpco/Github](https://github.com/fpco/GitHub) ### Java -Library name | Repository | More information |---|---|---| **GitHub Java API**| [org.eclipse.egit.github.core](https://github.com/eclipse/egit-github/tree/master/org.eclipse.egit.github.core) | Is part of the [GitHub Mylyn Connector](https://github.com/eclipse/egit-github) and aims to support the entire GitHub v3 API. 可在 [Maven Central](http://search.maven.org/#search%7Cga%7C1%7Ca%3A%22org.eclipse.egit.github.core%22) 中构建。 **用于 Java 的 GitHub API**| [org.kohsuke.github (From github-api)](http://github-api.kohsuke.org/)|定义面向对象的 GitHub API 表示形式。 **JCabi GitHub API**|[github.jcabi.com(个人网站)](http://github.jcabi.com)|基于 Java7 JSON API (JSR-353),简化 runtime GitHub stub 测试,涵盖整个 API。 +Library name | Repository | More information +|---|---|---| +**GitHub Java API**| [org.eclipse.egit.github.core](https://github.com/eclipse/egit-github/tree/master/org.eclipse.egit.github.core) | Is part of the [GitHub Mylyn Connector](https://github.com/eclipse/egit-github) and aims to support the entire GitHub v3 API. 可在 [Maven Central](http://search.maven.org/#search%7Cga%7C1%7Ca%3A%22org.eclipse.egit.github.core%22) 中构建。 +**用于 Java 的 GitHub API**| [org.kohsuke.github (From github-api)](http://github-api.kohsuke.org/)|定义面向对象的 GitHub API 表示形式。 +**JCabi GitHub API**|[github.jcabi.com(个人网站)](http://github.jcabi.com)|基于 Java7 JSON API (JSR-353),简化 runtime GitHub stub 测试,涵盖整个 API。 ### JavaScript -Library name | Repository | |---|---| **NodeJS GitHub library**| [pksunkara/octonode](https://github.com/pksunkara/octonode) **gh3 client-side API v3 wrapper**| [k33g/gh3](https://github.com/k33g/gh3) **Github.js wrapper around the GitHub API**|[michael/github](https://github.com/michael/github) **Promise-Based CoffeeScript library for the Browser or NodeJS**|[philschatz/github-client](https://github.com/philschatz/github-client) +Library name | Repository | +|---|---| +**NodeJS GitHub library**| [pksunkara/octonode](https://github.com/pksunkara/octonode) +**gh3 client-side API v3 wrapper**| [k33g/gh3](https://github.com/k33g/gh3) +**Github.js wrapper around the GitHub API**|[michael/github](https://github.com/michael/github) **Promise-Based CoffeeScript library for the Browser or NodeJS**|[philschatz/github-client](https://github.com/philschatz/github-client) ### Julia -Library name | Repository | |---|---| **GitHub.jl**|[WestleyArgentum/GitHub.jl](https://github.com/WestleyArgentum/GitHub.jl) +Library name | Repository | +|---|---| +**GitHub.jl**|[WestleyArgentum/GitHub.jl](https://github.com/WestleyArgentum/GitHub.jl) ### OCaml -Library name | Repository | |---|---| **ocaml-github**|[mirage/ocaml-github](https://github.com/mirage/ocaml-github) +Library name | Repository | +|---|---| +**ocaml-github**|[mirage/ocaml-github](https://github.com/mirage/ocaml-github) ### Perl -Library name | Repository | metacpan Website for the Library |---|---|---| **Pithub**|[plu/Pithub](https://github.com/plu/Pithub)|[Pithub CPAN](http://metacpan.org/module/Pithub) **Net::GitHub**|[fayland/perl-net-github](https://github.com/fayland/perl-net-github)|[Net:GitHub CPAN](https://metacpan.org/pod/Net::GitHub) +Library name | Repository | metacpan Website for the Library +|---|---|---| +**Pithub**|[plu/Pithub](https://github.com/plu/Pithub)|[Pithub CPAN](http://metacpan.org/module/Pithub) **Net::GitHub**|[fayland/perl-net-github](https://github.com/fayland/perl-net-github)|[Net:GitHub CPAN](https://metacpan.org/pod/Net::GitHub) ### PHP -Library name | Repository |---|---| **GitHub PHP Client**|[tan-tan-kanarek/github-php-client](https://github.com/tan-tan-kanarek/github-php-client) **PHP GitHub API**|[KnpLabs/php-github-api](https://github.com/KnpLabs/php-github-api) **GitHub API**|[yiiext/github-api](https://github.com/yiiext/github-api) **GitHub Joomla! Package**|[joomla-framework/github-api](https://github.com/joomla-framework/github-api) **GitHub Nette Extension**|[kdyby/github](https://github.com/kdyby/github) **GitHub API Easy Access**|[milo/github-api](https://github.com/milo/github-api) **GitHub bridge for Laravel**|[GrahamCampbell/Laravel-GitHub](https://github.com/GrahamCampbell/Laravel-GitHub) **PHP7 Client & WebHook wrapper**|[FlexyProject/GitHubAPI](https://github.com/FlexyProject/GitHubAPI) +Library name | Repository +|---|---| +**GitHub PHP Client**|[tan-tan-kanarek/github-php-client](https://github.com/tan-tan-kanarek/github-php-client) +**PHP GitHub API**|[KnpLabs/php-github-api](https://github.com/KnpLabs/php-github-api) +**GitHub API**|[yiiext/github-api](https://github.com/yiiext/github-api) +**GitHub Joomla! Package**|[joomla-framework/github-api](https://github.com/joomla-framework/github-api) **GitHub Nette Extension**|[kdyby/github](https://github.com/kdyby/github) +**GitHub API Easy Access**|[milo/github-api](https://github.com/milo/github-api) +**GitHub bridge for Laravel**|[GrahamCampbell/Laravel-GitHub](https://github.com/GrahamCampbell/Laravel-GitHub) +**PHP7 Client & WebHook wrapper**|[FlexyProject/GitHubAPI](https://github.com/FlexyProject/GitHubAPI) ### Python -Library name | Repository |---|---| **gidgethub**|[brettcannon/gidgethub](https://github.com/brettcannon/gidgethub) **ghapi**|[fastai/ghapi](https://github.com/fastai/ghapi) **PyGithub**|[PyGithub/PyGithub](https://github.com/PyGithub/PyGithub) **libsaas**|[duckboard/libsaas](https://github.com/ducksboard/libsaas) **github3.py**|[sigmavirus24/github3.py](https://github.com/sigmavirus24/github3.py) **sanction**|[demianbrecht/sanction](https://github.com/demianbrecht/sanction) **agithub**|[jpaugh/agithub](https://github.com/jpaugh/agithub) **octohub**|[turnkeylinux/octohub](https://github.com/turnkeylinux/octohub) **github-flask**|[github-flask (Official Website)](http://github-flask.readthedocs.org) **torngithub**|[jkeylu/torngithub](https://github.com/jkeylu/torngithub) +Library name | Repository +|---|---| +**gidgethub**|[brettcannon/gidgethub](https://github.com/brettcannon/gidgethub) +**ghapi**|[fastai/ghapi](https://github.com/fastai/ghapi) +**PyGithub**|[PyGithub/PyGithub](https://github.com/PyGithub/PyGithub) +**libsaas**|[duckboard/libsaas](https://github.com/ducksboard/libsaas) +**github3.py**|[sigmavirus24/github3.py](https://github.com/sigmavirus24/github3.py) +**sanction**|[demianbrecht/sanction](https://github.com/demianbrecht/sanction) +**agithub**|[jpaugh/agithub](https://github.com/jpaugh/agithub) +**octohub**|[turnkeylinux/octohub](https://github.com/turnkeylinux/octohub) +**github-flask**|[github-flask (Official Website)](http://github-flask.readthedocs.org) +**torngithub**|[jkeylu/torngithub](https://github.com/jkeylu/torngithub) ### Ruby -Library name | Repository |---|---| **GitHub API Gem**|[peter-murach/github](https://github.com/peter-murach/github) **Ghee**|[rauhryan/ghee](https://github.com/rauhryan/ghee) +Library name | Repository +|---|---| +**GitHub API Gem**|[peter-murach/github](https://github.com/peter-murach/github) +**Ghee**|[rauhryan/ghee](https://github.com/rauhryan/ghee) ### Rust -Library name | Repository |---|---| **Octocrab**|[XAMPPRocky/octocrab](https://github.com/XAMPPRocky/octocrab) +Library name | Repository +|---|---| +**Octocrab**|[XAMPPRocky/octocrab](https://github.com/XAMPPRocky/octocrab) ### Scala -Library name | Repository |---|---| **Hubcat**|[softprops/hubcat](https://github.com/softprops/hubcat) **Github4s**|[47deg/github4s](https://github.com/47deg/github4s) +Library name | Repository +|---|---| +**Hubcat**|[softprops/hubcat](https://github.com/softprops/hubcat) +**Github4s**|[47deg/github4s](https://github.com/47deg/github4s) ### Shell -Library name | Repository |---|---| **ok.sh**|[whiteinge/ok.sh](https://github.com/whiteinge/ok.sh) +Library name | Repository +|---|---| +**ok.sh**|[whiteinge/ok.sh](https://github.com/whiteinge/ok.sh) diff --git a/translations/zh-CN/content/rest/reference/teams.md b/translations/zh-CN/content/rest/reference/teams.md index 9886f75dca..86296bb3b8 100644 --- a/translations/zh-CN/content/rest/reference/teams.md +++ b/translations/zh-CN/content/rest/reference/teams.md @@ -16,7 +16,7 @@ versions: ## 讨论 -团队讨论 API 允许您获取、创建、编辑和删除团队页面上的讨论帖子。 您可以使用团队讨论进行不特定于存储库或项目的对话。 团队[组织](/rest/reference/orgs)的任何成员都可以创建和阅读公共讨论帖子。 有关详细信息,请参阅“[关于团队讨论](https://help.github.com/articles/about-team-discussions/)”。 要详细了解对讨论帖子的评论,请参阅[团队讨论评论 API](/rest/reference/teams#discussion-comments)。 此 API 仅适用于团队组织中经过身份验证的成员。 +团队讨论 API 允许您获取、创建、编辑和删除团队页面上的讨论帖子。 您可以使用团队讨论进行不特定于存储库或项目的对话。 团队[组织](/rest/reference/orgs)的任何成员都可以创建和阅读公共讨论帖子。 有关详细信息,请参阅“[关于团队讨论](https://docs.github.com/articles/about-team-discussions/)”。 要详细了解对讨论帖子的评论,请参阅[团队讨论评论 API](/rest/reference/teams#discussion-comments)。 此 API 仅适用于团队组织中经过身份验证的成员。 {% for operation in currentRestOperations %} {% if operation.subcategory == 'discussions' %}{% include rest_operation %}{% endif %} @@ -24,7 +24,7 @@ versions: ## 讨论评论 -团队讨论评论 API 允许您在[团队讨论](/rest/reference/teams#discussions)帖子上获取、 创建、编辑和删除讨论评论。 团队[组织](/rest/reference/orgs)的任何成员都可以创建和阅读公共讨论上的评论。 有关详细信息,请参阅“[关于团队讨论](https://help.github.com/articles/about-team-discussions/)”。 此 API 仅适用于团队组织中经过身份验证的成员。 +团队讨论评论 API 允许您在[团队讨论](/rest/reference/teams#discussions)帖子上获取、 创建、编辑和删除讨论评论。 团队[组织](/rest/reference/orgs)的任何成员都可以创建和阅读公共讨论上的评论。 有关详细信息,请参阅“[关于团队讨论](https://docs.github.com/articles/about-team-discussions/)”。 此 API 仅适用于团队组织中经过身份验证的成员。 {% for operation in currentRestOperations %} {% if operation.subcategory == 'discussion-comments' %}{% include rest_operation %}{% endif %} diff --git a/translations/zh-CN/data/ui.yml b/translations/zh-CN/data/ui.yml index 763fb0c90e..897926eaf6 100644 --- a/translations/zh-CN/data/ui.yml +++ b/translations/zh-CN/data/ui.yml @@ -5,7 +5,7 @@ header: notices: ghae_silent_launch: GitHub AE 目前是有限发行版。请联系我们的销售团队了解更多信息。 release_candidate: '# 版本名称是通过 includes/header-notification.html 在以下文本之前呈现:目前可用作发行版候选。更多信息请参阅“关于升级到新版本”。' - localization_complete: 我们经常发布文档更新,此页面的翻译可能仍在进行中。有关最新信息,请访问英文文档。如果此页面上的翻译有问题,请告诉我们。 + localization_complete: 我们经常发布文档更新,此页面的翻译可能仍在进行中。有关最新信息,请访问英文文档。如果此页面上的翻译有问题,请告诉我们。 localization_in_progress: 你好,探索者! 此页面正在积极开发或仍在翻译中。有关最新和最准确的信息,请访问我们的英文文档。 early_access: '📣请不要公开分享此 URL。此页包含有关早期访问功能的内容。' search: